:31) - Error al guardar imagen localmente [30389993-7b9f-4de6-ac7a-44abd33129a7](2025-07-21 16:32:31) - Error al guardar imagen localmente [de3c9fa2-e498-41d2-9dd8-8d52da0652c7](2025-07-21 16:32:31) - Error al guardar imagen localmente [52569634-b01c-4a94-8732-4a86bc217515](2025-07-21 16:32:31) - Error al guardar imagen localmente [d5207ff8-ce5d-4b8f-a775-f9606db3599a](2025-07-21 16:32:31) - Error al guardar imagen localmente [cd2abea0-1753-4af2-8b0e-e804d76d80c4](2025-07-21 16:32:31) - Error al guardar imagen localmente [3a762715-e8fd-4dc7-9dba-5ad78812b938](2025-07-21 16:32:31) - Error al guardar imagen localmente [a850bd11-0323-4ee6-9b9b-caff24b9c0d3](2025-07-21 16:32:31) - Error al guardar imagen localmente [a76f7e2c-3402-4a31-9159-113caf79e74a](2025-07-21 16:32:31) - Error al guardar imagen localmente [7a1308ca-d8ca-4b5d-a5f6-1bdfdec227af](2025-07-21 16:32:31) - Error al guardar imagen localmente [25acc7cb-a177-438f-aab4-0f5931574fa3](2025-07-21 16:32:31) - Error al guardar imagen localmente [3e413fd5-a509-4cfc-a85c-10770e6336d8](2025-07-21 16:32:31) - Error al guardar imagen localmente [c2d2ce1d-36e0-4272-9357-8ecb215eff21](2025-07-21 16:32:31) - Error al guardar imagen localmente [f35a3267-552b-473f-809b-9bf14f7ce90f](2025-07-21 16:32:31) - Error al guardar imagen localmente [4e605981-8099-4dc4-b141-93b83d309104](2025-07-21 16:32:31) - Error al guardar imagen localmente [33875973-46e6-47d9-82f3-2e7f15a0100d](2025-07-21 16:32:31) - Error al guardar imagen localmente [a885505a-8391-4017-999c-0ba4461cf884](2025-07-21 16:32:31) - Error al guardar imagen localmente [c843d5ee-c72a-4bc1-8475-5441b6bcd252](2025-07-21 16:32:31) - Error al guardar imagen localmente [c9ee19b1-8d22-4287-8a4b-8b2871a025f8](2025-07-21 16:32:31) - Error al guardar imagen localmente [4a97f8a1-31ad-44d1-8d6b-0afdd73c7f16](2025-07-21 16:32:32) - Error al guardar imagen localmente [30dc3b5f-79d8-4697-8bba-4b6d46ca4455](2025-07-21 16:32:33) - Error al guardar imagen localmente [d679c8d0-51d7-4364-ab0f-dd9afb22c86b](2025-07-21 16:32:33) - Error al guardar imagen localmente [61986b90-0678-4584-b6a1-006d2ab163ac](2025-07-21 16:32:33) - Error al guardar imagen localmente [1420098f-7c6e-45e2-bef7-7d5bdcc635ce](2025-07-21 16:32:33) - Error al guardar imagen localmente [46ae9520-bec4-4029-b7d0-87d6c43e2f68](2025-07-21 16:32:33) - Error al guardar imagen localmente [80ffadb9-f0ab-4097-ae33-d6410ea8db02](2025-07-21 16:32:33) - Error al guardar imagen localmente [de3c9fa2-e498-41d2-9dd8-8d52da0652c7](2025-07-21 16:32:33) - Error al guardar imagen localmente [30389993-7b9f-4de6-ac7a-44abd33129a7](2025-07-21 16:32:33) - Error al guardar imagen localmente [cccf617a-2597-4ad9-8777-75837142678f](2025-07-21 16:32:33) - Error al guardar imagen localmente [947c9bb4-4129-44b6-bbe2-aa0ab6787a40](2025-07-21 16:32:33) - Error al guardar imagen localmente [dd1b1361-7c29-455c-8b17-62fbd84dc9f9](2025-07-21 16:32:33) - Error al guardar imagen localmente [3a762715-e8fd-4dc7-9dba-5ad78812b938](2025-07-21 16:32:33) - Error al guardar imagen localmente [a850bd11-0323-4ee6-9b9b-caff24b9c0d3](2025-07-21 16:32:33) - Error al guardar imagen localmente [a76f7e2c-3402-4a31-9159-113caf79e74a](2025-07-21 16:32:33) - Error al guardar imagen localmente [d5207ff8-ce5d-4b8f-a775-f9606db3599a](2025-07-21 16:32:33) - Error al guardar imagen localmente [52569634-b01c-4a94-8732-4a86bc217515](2025-07-21 16:32:33) - Error al guardar imagen localmente [4e605981-8099-4dc4-b141-93b83d309104](2025-07-21 16:32:33) - Error al guardar imagen localmente [3e413fd5-a509-4cfc-a85c-10770e6336d8](2025-07-21 16:32:33) - Error al guardar imagen localmente [a885505a-8391-4017-999c-0ba4461cf884](2025-07-21 16:32:33) - Error al guardar imagen localmente [f35a3267-552b-473f-809b-9bf14f7ce90f](2025-07-21 16:32:33) - Error al guardar imagen localmente [2a3956e0-1157-4767-93cc-b74c920d8b22](2025-07-21 16:32:33) - Error al guardar imagen localmente [cd2abea0-1753-4af2-8b0e-e804d76d80c4](2025-07-21 16:32:33) - Error al guardar imagen localmente [c9ee19b1-8d22-4287-8a4b-8b2871a025f8](2025-07-21 16:32:33) - Error al guardar imagen localmente [c2d2ce1d-36e0-4272-9357-8ecb215eff21](2025-07-21 16:32:33) - Error al guardar imagen localmente [7a1308ca-d8ca-4b5d-a5f6-1bdfdec227af](2025-07-21 16:32:33) - Error al guardar imagen localmente [33875973-46e6-47d9-82f3-2e7f15a0100d](2025-07-21 16:32:33) - Error al guardar imagen localmente [c843d5ee-c72a-4bc1-8475-5441b6bcd252](2025-07-21 16:32:33) - Error al guardar imagen localmente [25acc7cb-a177-438f-aab4-0f5931574fa3](2025-07-21 16:32:33) - Error al guardar imagen localmente [4a97f8a1-31ad-44d1-8d6b-0afdd73c7f16](2025-07-21 16:32:34) - Error al guardar imagen localmente [30dc3b5f-79d8-4697-8bba-4b6d46ca4455](2025-07-21 16:32:35) - Error al guardar imagen localmente [61986b90-0678-4584-b6a1-006d2ab163ac](2025-07-21 16:32:35) - Error al guardar imagen localmente [80ffadb9-f0ab-4097-ae33-d6410ea8db02](2025-07-21 16:32:35) - Error al guardar imagen localmente [46ae9520-bec4-4029-b7d0-87d6c43e2f68](2025-07-21 16:32:35) - Error al guardar imagen localmente [cccf617a-2597-4ad9-8777-75837142678f](2025-07-21 16:32:35) - Error al guardar imagen localmente [947c9bb4-4129-44b6-bbe2-aa0ab6787a40](2025-07-21 16:32:35) - Error al guardar imagen localmente [30389993-7b9f-4de6-ac7a-44abd33129a7](2025-07-21 16:32:35) - Error al guardar imagen localmente [3a762715-e8fd-4dc7-9dba-5ad78812b938](2025-07-21 16:32:35) - Error al guardar imagen localmente [dd1b1361-7c29-455c-8b17-62fbd84dc9f9](2025-07-21 16:32:35) - Error al guardar imagen localmente [1420098f-7c6e-45e2-bef7-7d5bdcc635ce](2025-07-21 16:32:35) - Error al guardar imagen localmente [a76f7e2c-3402-4a31-9159-113caf79e74a](2025-07-21 16:32:35) - Error al guardar imagen localmente [a850bd11-0323-4ee6-9b9b-caff24b9c0d3](2025-07-21 16:32:35) - Error al guardar imagen localmente [52569634-b01c-4a94-8732-4a86bc217515](2025-07-21 16:32:35) - Error al guardar imagen localmente [d5207ff8-ce5d-4b8f-a775-f9606db3599a](2025-07-21 16:32:35) - Error al guardar imagen localmente [a885505a-8391-4017-999c-0ba4461cf884](2025-07-21 16:32:35) - Error al guardar imagen localmente [3e413fd5-a509-4cfc-a85c-10770e6336d8](2025-07-21 16:32:35) - Error al guardar imagen localmente [de3c9fa2-e498-41d2-9dd8-8d52da0652c7](2025-07-21 16:32:35) - Error al guardar imagen localmente [d679c8d0-51d7-4364-ab0f-dd9afb22c86b](2025-07-21 16:32:35) - Error al guardar imagen localmente [f35a3267-552b-473f-809b-9bf14f7ce90f](2025-07-21 16:32:35) - Error al guardar imagen localmente [4e605981-8099-4dc4-b141-93b83d309104](2025-07-21 16:32:35) - Error al guardar imagen localmente [2a3956e0-1157-4767-93cc-b74c920d8b22](2025-07-21 16:32:35) - Error al guardar imagen localmente [cd2abea0-1753-4af2-8b0e-e804d76d80c4](2025-07-21 16:32:35) - Error al guardar imagen localmente [c2d2ce1d-36e0-4272-9357-8ecb215eff21](2025-07-21 16:32:35) - Error al guardar imagen localmente [c9ee19b1-8d22-4287-8a4b-8b2871a025f8](2025-07-21 16:32:35) - Error al guardar imagen localmente [7a1308ca-d8ca-4b5d-a5f6-1bdfdec227af](2025-07-21 16:32:35) - Error al guardar imagen localmente [33875973-46e6-47d9-82f3-2e7f15a0100d](2025-07-21 16:32:35) - Error al guardar imagen localmente [c843d5ee-c72a-4bc1-8475-5441b6bcd252](2025-07-21 16:32:35) - Error al guardar imagen localmente [25acc7cb-a177-438f-aab4-0f5931574fa3](2025-07-21 16:32:35) - Error al guardar imagen localmente [4a97f8a1-31ad-44d1-8d6b-0afdd73c7f16](2025-07-21 16:32:36) - Error al guardar imagen localmente [30dc3b5f-79d8-4697-8bba-4b6d46ca4455](2025-07-21 16:32:37) - Error al guardar imagen localmente [80ffadb9-f0ab-4097-ae33-d6410ea8db02](2025-07-21 16:32:37) - Error al guardar imagen localmente [46ae9520-bec4-4029-b7d0-87d6c43e2f68](2025-07-21 16:32:37) - Error al guardar imagen localmente [cccf617a-2597-4ad9-8777-75837142678f](2025-07-21 16:32:37) - Error al guardar imagen localmente [a76f7e2c-3402-4a31-9159-113caf79e74a](2025-07-21 16:32:37) - Error al guardar imagen localmente [3a762715-e8fd-4dc7-9dba-5ad78812b938](2025-07-21 16:32:37) - Error al guardar imagen localmente [d5207ff8-ce5d-4b8f-a775-f9606db3599a](2025-07-21 16:32:37) - Error al guardar imagen localmente [52569634-b01c-4a94-8732-4a86bc217515](2025-07-21 16:32:37) - Error al guardar imagen localmente [61986b90-0678-4584-b6a1-006d2ab163ac](2025-07-21 16:32:37) - Error al guardar imagen localmente [dd1b1361-7c29-455c-8b17-62fbd84dc9f9](2025-07-21 16:32:37) - Error al guardar imagen localmente [947c9bb4-4129-44b6-bbe2-aa0ab6787a40](2025-07-21 16:32:37) - Error al guardar imagen localmente [1420098f-7c6e-45e2-bef7-7d5bdcc635ce](2025-07-21 16:32:37) - Error al guardar imagen localmente [a850bd11-0323-4ee6-9b9b-caff24b9c0d3](2025-07-21 16:32:37) - Error al guardar imagen localmente [30389993-7b9f-4de6-ac7a-44abd33129a7](2025-07-21 16:32:37) - Error al guardar imagen localmente [3e413fd5-a509-4cfc-a85c-10770e6336d8](2025-07-21 16:32:37) - Error al guardar imagen localmente [a885505a-8391-4017-999c-0ba4461cf884](2025-07-21 16:32:37) - Error al guardar imagen localmente [4e605981-8099-4dc4-b141-93b83d309104](2025-07-21 16:32:37) - Error al guardar imagen localmente [d679c8d0-51d7-4364-ab0f-dd9afb22c86b](2025-07-21 16:32:37) - Error al guardar imagen localmente [de3c9fa2-e498-41d2-9dd8-8d52da0652c7](2025-07-21 16:32:37) - Error al guardar imagen localmente [c2d2ce1d-36e0-4272-9357-8ecb215eff21](2025-07-21 16:32:37) - Error al guardar imagen localmente [2a3956e0-1157-4767-93cc-b74c920d8b22](2025-07-21 16:32:37) - Error al guardar imagen localmente [33875973-46e6-47d9-82f3-2e7f15a0100d](2025-07-21 16:32:37) - Error al guardar imagen localmente [7a1308ca-d8ca-4b5d-a5f6-1bdfdec227af](2025-07-21 16:32:37) - Error al guardar imagen localmente [c9ee19b1-8d22-4287-8a4b-8b2871a025f8](2025-07-21 16:32:37) - Error al guardar imagen localmente [25acc7cb-a177-438f-aab4-0f5931574fa3](2025-07-21 16:32:37) - Error al guardar imagen localmente [f35a3267-552b-473f-809b-9bf14f7ce90f](2025-07-21 16:32:37) - Error al guardar imagen localmente [c843d5ee-c72a-4bc1-8475-5441b6bcd252](2025-07-21 16:32:37) - Error al guardar imagen localmente [cd2abea0-1753-4af2-8b0e-e804d76d80c4](2025-07-21 16:32:37) - Error al guardar imagen localmente [4a97f8a1-31ad-44d1-8d6b-0afdd73c7f16](2025-07-21 16:32:38) - Error al guardar imagen localmente [30dc3b5f-79d8-4697-8bba-4b6d46ca4455](2025-07-21 16:32:39) - Error al guardar imagen localmente [46ae9520-bec4-4029-b7d0-87d6c43e2f68](2025-07-21 16:32:39) - Error al guardar imagen localmente [cccf617a-2597-4ad9-8777-75837142678f](2025-07-21 16:32:39) - Error al guardar imagen localmente [a76f7e2c-3402-4a31-9159-113caf79e74a](2025-07-21 16:32:39) - Error al guardar imagen localmente [d5207ff8-ce5d-4b8f-a775-f9606db3599a](2025-07-21 16:32:39) - Error al guardar imagen localmente [52569634-b01c-4a94-8732-4a86bc217515](2025-07-21 16:32:39) - Error al guardar imagen localmente [dd1b1361-7c29-455c-8b17-62fbd84dc9f9](2025-07-21 16:32:39) - Error al guardar imagen localmente [947c9bb4-4129-44b6-bbe2-aa0ab6787a40](2025-07-21 16:32:39) - Error al guardar imagen localmente [1420098f-7c6e-45e2-bef7-7d5bdcc635ce](2025-07-21 16:32:39) - Error al guardar imagen localmente [30389993-7b9f-4de6-ac7a-44abd33129a7](2025-07-21 16:32:39) - Error al guardar imagen localmente [a850bd11-0323-4ee6-9b9b-caff24b9c0d3](2025-07-21 16:32:39) - Error al guardar imagen localmente [3e413fd5-a509-4cfc-a85c-10770e6336d8](2025-07-21 16:32:39) - Error al guardar imagen localmente [80ffadb9-f0ab-4097-ae33-d6410ea8db02](2025-07-21 16:32:39) - Error al guardar imagen localmente [a885505a-8391-4017-999c-0ba4461cf884](2025-07-21 16:32:39) - Error al guardar imagen localmente [4e605981-8099-4dc4-b141-93b83d309104](2025-07-21 16:32:39) - Error al guardar imagen localmente [d679c8d0-51d7-4364-ab0f-dd9afb22c86b](2025-07-21 16:32:39) - Error al guardar imagen localmente [61986b90-0678-4584-b6a1-006d2ab163ac](2025-07-21 16:32:39) - Error al guardar imagen localmente [3a762715-e8fd-4dc7-9dba-5ad78812b938](2025-07-21 16:32:39) - Error al guardar imagen localmente [de3c9fa2-e498-41d2-9dd8-8d52da0652c7](2025-07-21 16:32:39) - Error al guardar imagen localmente [c2d2ce1d-36e0-4272-9357-8ecb215eff21](2025-07-21 16:32:39) - Error al guardar imagen localmente [2a3956e0-1157-4767-93cc-b74c920d8b22](2025-07-21 16:32:39) - Error al guardar imagen localmente [25acc7cb-a177-438f-aab4-0f5931574fa3](2025-07-21 16:32:39) - Error al guardar imagen localmente [c9ee19b1-8d22-4287-8a4b-8b2871a025f8](2025-07-21 16:32:39) - Error al guardar imagen localmente [33875973-46e6-47d9-82f3-2e7f15a0100d](2025-07-21 16:32:39) - Error al guardar imagen localmente [7a1308ca-d8ca-4b5d-a5f6-1bdfdec227af](2025-07-21 16:32:39) - Error al guardar imagen localmente [cd2abea0-1753-4af2-8b0e-e804d76d80c4](2025-07-21 16:32:39) - Error al guardar imagen localmente [f35a3267-552b-473f-809b-9bf14f7ce90f](2025-07-21 16:32:39) - Error al guardar imagen localmente [c843d5ee-c72a-4bc1-8475-5441b6bcd252](2025-07-21 16:32:39) - Error al guardar imagen localmente [4a97f8a1-31ad-44d1-8d6b-0afdd73c7f16](2025-07-21 16:32:40) - Error al guardar imagen localmente [30dc3b5f-79d8-4697-8bba-4b6d46ca4455](2025-07-21 16:32:41) - Error al guardar imagen localmente [d5207ff8-ce5d-4b8f-a775-f9606db3599a](2025-07-21 16:32:41) - Error al guardar imagen localmente [cccf617a-2597-4ad9-8777-75837142678f](2025-07-21 16:32:41) - Error al guardar imagen localmente [52569634-b01c-4a94-8732-4a86bc217515](2025-07-21 16:32:41) - Error al guardar imagen localmente [a76f7e2c-3402-4a31-9159-113caf79e74a](2025-07-21 16:32:41) - Error al guardar imagen localmente [46ae9520-bec4-4029-b7d0-87d6c43e2f68](2025-07-21 16:32:41) - Error al guardar imagen localmente [30389993-7b9f-4de6-ac7a-44abd33129a7](2025-07-21 16:32:41) - Error al guardar imagen localmente [1420098f-7c6e-45e2-bef7-7d5bdcc635ce](2025-07-21 16:32:41) - Error al guardar imagen localmente [947c9bb4-4129-44b6-bbe2-aa0ab6787a40](2025-07-21 16:32:41) - Error al guardar imagen localmente [dd1b1361-7c29-455c-8b17-62fbd84dc9f9](2025-07-21 16:32:41) - Error al guardar imagen localmente [3e413fd5-a509-4cfc-a85c-10770e6336d8](2025-07-21 16:32:41) - Error al guardar imagen localmente [a885505a-8391-4017-999c-0ba4461cf884](2025-07-21 16:32:41) - Error al guardar imagen localmente [a850bd11-0323-4ee6-9b9b-caff24b9c0d3](2025-07-21 16:32:41) - Error al guardar imagen localmente [4e605981-8099-4dc4-b141-93b83d309104](2025-07-21 16:32:41) - Error al guardar imagen localmente [de3c9fa2-e498-41d2-9dd8-8d52da0652c7](2025-07-21 16:32:41) - Error al guardar imagen localmente [3a762715-e8fd-4dc7-9dba-5ad78812b938](2025-07-21 16:32:41) - Error al guardar imagen localmente [80ffadb9-f0ab-4097-ae33-d6410ea8db02](2025-07-21 16:32:41) - Error al guardar imagen localmente [61986b90-0678-4584-b6a1-006d2ab163ac](2025-07-21 16:32:41) - Error al guardar imagen localmente [d679c8d0-51d7-4364-ab0f-dd9afb22c86b](2025-07-21 16:32:41) - Error al guardar imagen localmente [25acc7cb-a177-438f-aab4-0f5931574fa3](2025-07-21 16:32:41) - Error al guardar imagen localmente [7a1308ca-d8ca-4b5d-a5f6-1bdfdec227af](2025-07-21 16:32:41) - Error al guardar imagen localmente [c843d5ee-c72a-4bc1-8475-5441b6bcd252](2025-07-21 16:32:41) - Error al guardar imagen localmente [33875973-46e6-47d9-82f3-2e7f15a0100d](2025-07-21 16:32:41) - Error al guardar imagen localmente [cd2abea0-1753-4af2-8b0e-e804d76d80c4](2025-07-21 16:32:41) - Error al guardar imagen localmente [2a3956e0-1157-4767-93cc-b74c920d8b22](2025-07-21 16:32:41) - Error al guardar imagen localmente [c9ee19b1-8d22-4287-8a4b-8b2871a025f8](2025-07-21 16:32:41) - Error al guardar imagen localmente [c2d2ce1d-36e0-4272-9357-8ecb215eff21](2025-07-21 16:32:41) - Error al guardar imagen localmente [f35a3267-552b-473f-809b-9bf14f7ce90f](2025-07-21 16:32:41) - Error al guardar imagen localmente [4a97f8a1-31ad-44d1-8d6b-0afdd73c7f16](2025-07-21 16:32:42) - Error al guardar imagen localmente [30dc3b5f-79d8-4697-8bba-4b6d46ca4455](2025-07-21 16:32:43) - Error al guardar imagen localmente [d5207ff8-ce5d-4b8f-a775-f9606db3599a](2025-07-21 16:32:43) - Error al guardar imagen localmente [cccf617a-2597-4ad9-8777-75837142678f](2025-07-21 16:32:43) - Error al guardar imagen localmente [46ae9520-bec4-4029-b7d0-87d6c43e2f68](2025-07-21 16:32:43) - Error al guardar imagen localmente [52569634-b01c-4a94-8732-4a86bc217515](2025-07/*!-------------------------------------------------------- * Copyright (C) Microsoft Corporation. All rights reserved. *--------------------------------------------------------*/var Gm=function(e,t){return Gm=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,i){s.__proto__=i}||function(s,i){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(s[n]=i[n])},Gm(e,t)};export function __extends(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Gm(e,t);function s(){this.constructor=e}e.prototype=t===null?Object.create(t):(s.prototype=t.prototype,new s)}export var __assign=function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i=0;a--)(o=e[a])&&(r=(n<3?o(r):n>3?o(t,s,r):o(t,s))||r);return n>3&&r&&Object.defineProperty(t,s,r),r}export function __param(e,t){return function(s,i){t(s,i,e)}}export function __esDecorate(e,t,s,i,n,r){function o(k){if(k!==void 0&&typeof k!="function")throw new TypeError("Function expected");return k}for(var a=i.kind,c=a==="getter"?"get":a==="setter"?"set":"value",l=!t&&e?i.static?e:e.prototype:null,u=t||(l?Object.getOwnPropertyDescriptor(l,i.name):{}),h,d=!1,p=s.length-1;p>=0;p--){var g={};for(var v in i)g[v]=v==="access"?{}:i[v];for(var v in i.access)g.access[v]=i.access[v];g.addInitializer=function(k){if(d)throw new TypeError("Cannot add initializers after decoration has completed");r.push(o(k||null))};var w=(0,s[p])(a==="accessor"?{get:u.get,set:u.set}:u[c],g);if(a==="accessor"){if(w===void 0)continue;if(w===null||typeof w!="object")throw new TypeError("Object expected");(h=o(w.get))&&(u.get=h),(h=o(w.set))&&(u.set=h),(h=o(w.init))&&n.unshift(h)}else(h=o(w))&&(a==="field"?n.unshift(h):u[c]=h)}l&&Object.defineProperty(l,i.name,u),d=!0}export function __runInitializers(e,t,s){for(var i=arguments.length>2,n=0;n0&&r[r.length-1])&&(l[0]===6||l[0]===2)){s=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}export function __read(e,t){var s=typeof Symbol=="function"&&e[Symbol.iterator];if(!s)return e;var i=s.call(e),n,r=[],o;try{for(;(t===void 0||t-- >0)&&!(n=i.next()).done;)r.push(n.value)}catch(a){o={error:a}}finally{try{n&&!n.done&&(s=i.return)&&s.call(i)}finally{if(o)throw o.error}}return r}export function __spread(){for(var e=[],t=0;t1||c(p,v)})},g&&(n[p]=g(n[p])))}function c(p,g){try{l(i[p](g))}catch(v){d(r[0][3],v)}}function l(p){p.value instanceof __await?Promise.resolve(p.value.v).then(u,h):d(r[0][2],p)}function u(p){c("next",p)}function h(p){c("throw",p)}function d(p,g){p(g),r.shift(),r.length&&c(r[0][0],r[0][1])}}export function __asyncDelegator(e){var t,s;return t={},i("next"),i("throw",function(n){throw n}),i("return"),t[Symbol.iterator]=function(){return this},t;function i(n,r){t[n]=e[n]?function(o){return(s=!s)?{value:__await(e[n](o)),done:!1}:r?r(o):o}:r}}export function __asyncValues(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],s;return t?t.call(e):(e=typeof __values=="function"?__values(e):e[Symbol.iterator](),s={},i("next"),i("throw"),i("return"),s[Symbol.asyncIterator]=function(){return this},s);function i(r){s[r]=e[r]&&function(o){return new Promise(function(a,c){o=e[r](o),n(a,c,o.done,o.value)})}}function n(r,o,a,c){Promise.resolve(c).then(function(l){r({value:l,done:a})},o)}}export function __makeTemplateObject(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var SC=Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t};export function __importStar(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var s in e)s!=="default"&&Object.prototype.hasOwnProperty.call(e,s)&&__createBinding(t,e,s);return SC(t,e),t}export function __importDefault(e){return e&&e.__esModule?e:{default:e}}export function __classPrivateFieldGet(e,t,s,i){if(s==="a"&&!i)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return s==="m"?i:s==="a"?i.call(e):i?i.value:t.get(e)}export function __classPrivateFieldSet(e,t,s,i,n){if(i==="m")throw new TypeError("Private method is not writable");if(i==="a"&&!n)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return i==="a"?n.call(e,s):n?n.value=s:t.set(e,s),s}export function __classPrivateFieldIn(e,t){if(t===null||typeof t!="object"&&typeof t!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof e=="function"?t===e:e.has(t)}export function __addDisposableResource(e,t,s){if(t!=null){if(typeof t!="object"&&typeof t!="function")throw new TypeError("Object expected.");var i,n;if(s){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");i=t[Symbol.asyncDispose]}if(i===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");i=t[Symbol.dispose],s&&(n=i)}if(typeof i!="function")throw new TypeError("Object not disposable.");n&&(i=function(){try{n.call(this)}catch(r){return Promise.reject(r)}}),e.stack.push({value:t,dispose:i,async:s})}else s&&e.stack.push({async:!0});return t}var $C=typeof SuppressedError=="function"?SuppressedError:function(e,t,s){var i=new Error(s);return i.name="SuppressedError",i.error=e,i.suppressed=t,i};export function __disposeResources(e){function t(i){e.error=e.hasError?new $C(i,e.error,"An error was suppressed during disposal."):i,e.hasError=!0}function s(){for(;e.stack.length;){var i=e.stack.pop();try{var n=i.dispose&&i.dispose.call(i.value);if(i.async)return Promise.resolve(n).then(s,function(r){return t(r),s()})}catch(r){t(r)}}if(e.hasError)throw e.error}return s()}export default{__extends,__assign,__rest,__decorate,__param,__metadata,__awaiter,__generator,__createBinding,__exportStar,__values,__read,__spread,__spreadArrays,__spreadArray,__await,__asyncGenerator,__asyncDelegator,__asyncValues,__makeTemplateObject,__importStar,__importDefault,__classPrivateFieldGet,__classPrivateFieldSet,__classPrivateFieldIn,__addDisposableResource,__disposeResources};var IC=Object.create,Jm=Object.defineProperty,PC=Object.getOwnPropertyDescriptor,Qm=Object.getOwnPropertyNames,AC=Object.getPrototypeOf,DC=Object.prototype.hasOwnProperty,b=(e,t)=>function(){return e&&(t=(0,e[Qm(e)[0]])(e=0)),t},RC=(e,t)=>function(){return t||(0,e[Qm(e)[0]])((t={exports:{}}).exports,t),t.exports},NC=(e,t)=>{for(var s in t)Jm(e,s,{get:t[s],enumerable:!0})},CC=(e,t,s,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Qm(t))!DC.call(e,n)&&n!==s&&Jm(e,n,{get:()=>t[n],enumerable:!(i=PC(t,n))||i.enumerable});return e},Ky=(e,t,s)=>(s=e!=null?IC(AC(e)):{},CC(t||!e||!e.__esModule?Jm(s,"default",{value:e,enumerable:!0}):s,e)),e4=RC({"node_modules/minimist/index.js"(e,t){"use strict";function s(r,o){var a=r;o.slice(0,-1).forEach(function(l){a=a[l]||{}});var c=o[o.length-1];return c in a}function i(r){return typeof r=="number"||/^0x[0-9a-f]+$/i.test(r)?!0:/^[-+]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(r)}function n(r,o){return o==="constructor"&&typeof r[o]=="function"||o==="__proto__"}t.exports=function(r,o){o||(o={});var a={bools:{},strings:{},unknownFn:null};typeof o.unknown=="function"&&(a.unknownFn=o.unknown),typeof o.boolean=="boolean"&&o.boolean?a.allBools=!0:[].concat(o.boolean).filter(Boolean).forEach(function(N){a.bools[N]=!0});var c={};function l(N){return c[N].some(function(K){return a.bools[K]})}Object.keys(o.alias||{}).forEach(function(N){c[N]=[].concat(o.alias[N]),c[N].forEach(function(K){c[K]=[N].concat(c[N].filter(function(le){return K!==le}))})}),[].concat(o.string).filter(Boolean).forEach(function(N){a.strings[N]=!0,c[N]&&[].concat(c[N]).forEach(function(K){a.strings[K]=!0})});var u=o.default||{},h={_:[]};function d(N,K){return a.allBools&&/^--[^=]+$/.test(K)||a.strings[N]||a.bools[N]||c[N]}function p(N,K,le){for(var ie=N,it=0;it{const r=n[0],o=t[r];let a=i;return typeof o=="string"?a=o:(typeof o=="number"||typeof o=="boolean"||o===void 0||o===null)&&(a=String(o)),a}),r4&&(s="\uFF3B"+s.replace(/[aouei]/g,"$&$&")+"\uFF3D"),s}function m(e,t,...s){return dh(typeof e=="number"?i4(e,t):t,s)}function i4(e,t){const s=MC()?.[e];if(typeof s!="string"){if(typeof t=="string")return t;throw new Error(`!!! NLS MISSING: ${e} !!!`)}return s}function n4(e,t,...s){let i;typeof e=="number"?i=i4(e,t):i=t;const n=dh(i,s);return{value:n,original:t===i?n:dh(t,s)}}var r4,ae=b({"out-build/vs/nls.js"(){"use strict";r4=s4()==="pseudo"||typeof document<"u"&&document.location&&typeof document.location.hash=="string"&&document.location.hash.indexOf("pseudo=true")>=0}});function o4(e){switch(e){case 0:return"Web";case 1:return"Mac";case 2:return"Linux";case 3:return"Windows"}}var Kn,Ho,zo,Vo,Ym,Km,ph,a4,e1,c4,l4,Ic,Pc,t1,u4,zi,Vi,hs,s1,h4,f4,Ac,ve,js,ut,d4,p4,Ys,m4,g4,Fr,Ei,As,v4,b4,w4,y4,Hr,i1,E4,x4,k4,_C,se=b({"out-build/vs/base/common/platform.js"(){"use strict";if(ae(),Kn="en",Ho=!1,zo=!1,Vo=!1,Ym=!1,Km=!1,ph=!1,a4=!1,e1=!1,c4=!1,l4=!1,Ic=void 0,Pc=Kn,t1=Kn,u4=void 0,zi=void 0,Vi=globalThis,hs=void 0,typeof Vi.vscode<"u"&&typeof Vi.vscode.process<"u"?hs=Vi.vscode.process:typeof process<"u"&&typeof process?.versions?.node=="string"&&(hs=process),s1=typeof hs?.versions?.electron=="string",h4=s1&&hs?.type==="renderer",typeof hs=="object"){Ho=hs.platform==="win32",zo=hs.platform==="darwin",Vo=hs.platform==="linux",Ym=Vo&&!!hs.env.SNAP&&!!hs.env.SNAP_REVISION,a4=s1,c4=!!hs.env.CI||!!hs.env.BUILD_ARTIFACTSTAGINGDIRECTORY||!!hs.env.GITHUB_WORKSPACE,Ic=Kn,Pc=Kn;const e=hs.env.VSCODE_NLS_CONFIG;if(e)try{const t=JSON.parse(e);Ic=t.userLocale,t1=t.osLocale,Pc=t.resolvedLanguage||Kn,u4=t.languagePack?.translationsConfigFile}catch{}Km=!0}else typeof navigator=="object"&&!h4?(zi=navigator.userAgent,Ho=zi.indexOf("Windows")>=0,zo=zi.indexOf("Macintosh")>=0,e1=(zi.indexOf("Macintosh")>=0||zi.indexOf("iPad")>=0||zi.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,Vo=zi.indexOf("Linux")>=0,l4=zi?.indexOf("Mobi")>=0,ph=!0,Pc=s4()||Kn,Ic=navigator.language.toLowerCase(),t1=Ic):console.error("Unable to resolve platform.");(function(e){e[e.Web=0]="Web",e[e.Mac=1]="Mac",e[e.Linux=2]="Linux",e[e.Windows=3]="Windows"})(f4||(f4={})),Ac=0,zo?Ac=1:Ho?Ac=3:Vo&&(Ac=2),ve=Ho,js=zo,ut=Vo,d4=Ym,p4=Km,Ys=ph,m4=ph&&typeof Vi.importScripts=="function",g4=m4?Vi.origin:void 0,Fr=Ac,Ei=zi,As=Pc,(function(e){function t(){return As}e.value=t;function s(){return As.length===2?As==="en":As.length>=3?As[0]==="e"&&As[1]==="n"&&As[2]==="-":!1}e.isDefaultVariant=s;function i(){return As==="en"}e.isDefault=i})(v4||(v4={})),b4=typeof Vi.postMessage=="function"&&!Vi.importScripts,w4=(()=>{if(b4){const e=[];Vi.addEventListener("message",s=>{if(s.data&&s.data.vscodeScheduleAsyncWork)for(let i=0,n=e.length;i{const i=++t;e.push({id:i,callback:s}),Vi.postMessage({vscodeScheduleAsyncWork:i},"*")}}return e=>setTimeout(e)})(),(function(e){e[e.Windows=1]="Windows",e[e.Macintosh=2]="Macintosh",e[e.Linux=3]="Linux"})(y4||(y4={})),Hr=zo||e1?2:Ho?1:3,i1=!!(Ei&&Ei.indexOf("Chrome")>=0),E4=!!(Ei&&Ei.indexOf("Firefox")>=0),x4=!!(!i1&&Ei&&Ei.indexOf("Safari")>=0),k4=!!(Ei&&Ei.indexOf("Edg/")>=0),_C=!!(Ei&&Ei.indexOf("Android")>=0)}}),zr,mh,bn,Us,n1,r1,Ks=b({"out-build/vs/base/common/process.js"(){"use strict";if(se(),mh=globalThis.vscode,typeof mh<"u"&&typeof mh.process<"u"){const e=mh.process;zr={get platform(){return e.platform},get arch(){return e.arch},get env(){return e.env},cwd(){return e.cwd()}}}else typeof process<"u"&&typeof process?.versions?.node=="string"?zr={get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd(){return process.env.VSCODE_CWD||process.cwd()}}:zr={get platform(){return ve?"win32":js?"darwin":"linux"},get arch(){},get env(){return{}},cwd(){return"/"}};bn=zr.cwd,Us=zr.env,n1=zr.platform,r1=zr.arch}});function jC(e,t){if(e===null||typeof e!="object")throw new a1(t,"Object",e)}function vt(e,t){if(typeof e!="string")throw new a1(t,"string",e)}function we(e){return e===Mt||e===fs}function o1(e){return e===Mt}function wn(e){return e>=$4&&e<=P4||e>=I4&&e<=A4}function gh(e,t,s,i){let n="",r=0,o=-1,a=0,c=0;for(let l=0;l<=e.length;++l){if(l2){const u=n.lastIndexOf(s);u===-1?(n="",r=0):(n=n.slice(0,u),r=n.length-1-n.lastIndexOf(s)),o=l,a=0;continue}else if(n.length!==0){n="",r=0,o=l,a=0;continue}}t&&(n+=n.length>0?`${s}..`:"..",r=2)}else n.length>0?n+=`${s}${e.slice(o+1,l)}`:n=e.slice(o+1,l),r=l-o-1;o=l,a=0}else c===er&&a!==-1?++a:a=-1}return n}function UC(e){return e?`${e[0]==="."?"":"."}${e}`:""}function S4(e,t){jC(t,"pathObject");const s=t.dir||t.root,i=t.base||`${t.name||""}${UC(t.ext)}`;return s?s===t.root?`${s}${i}`:`${s}${e}${i}`:i}var $4,I4,P4,A4,er,Mt,fs,Bi,D4,a1,ds,bt,R4,Ie,ei,Vr,T,xi,Bo,Ft,dt,Br,TC,FC,HC,Qt,Dc,ge=b({"out-build/vs/base/common/path.js"(){"use strict";Ks(),$4=65,I4=97,P4=90,A4=122,er=46,Mt=47,fs=92,Bi=58,D4=63,a1=class extends Error{constructor(e,t,s){let i;typeof t=="string"&&t.indexOf("not ")===0?(i="must not be",t=t.replace(/^not /,"")):i="must be";const n=e.indexOf(".")!==-1?"property":"argument";let r=`The "${e}" ${n} ${i} of type ${t}`;r+=`. Received type ${typeof s}`,super(r),this.code="ERR_INVALID_ARG_TYPE"}},ds=n1==="win32",bt={resolve(...e){let t="",s="",i=!1;for(let n=e.length-1;n>=-1;n--){let r;if(n>=0){if(r=e[n],vt(r,`paths[${n}]`),r.length===0)continue}else t.length===0?r=bn():(r=Us[`=${t}`]||bn(),(r===void 0||r.slice(0,2).toLowerCase()!==t.toLowerCase()&&r.charCodeAt(2)===fs)&&(r=`${t}\\`));const o=r.length;let a=0,c="",l=!1;const u=r.charCodeAt(0);if(o===1)we(u)&&(a=1,l=!0);else if(we(u))if(l=!0,we(r.charCodeAt(1))){let h=2,d=h;for(;h2&&we(r.charCodeAt(2))&&(l=!0,a=3));if(c.length>0)if(t.length>0){if(c.toLowerCase()!==t.toLowerCase())continue}else t=c;if(i){if(t.length>0)break}else if(s=`${r.slice(a)}\\${s}`,i=l,l&&t.length>0)break}return s=gh(s,!i,"\\",we),i?`${t}\\${s}`:`${t}${s}`||"."},normalize(e){vt(e,"path");const t=e.length;if(t===0)return".";let s=0,i,n=!1;const r=e.charCodeAt(0);if(t===1)return o1(r)?"\\":e;if(we(r))if(n=!0,we(e.charCodeAt(1))){let a=2,c=a;for(;a2&&we(e.charCodeAt(2))&&(n=!0,s=3));let o=s0&&we(e.charCodeAt(t-1))&&(o+="\\"),!n&&i===void 0&&e.includes(":")){if(o.length>=2&&wn(o.charCodeAt(0))&&o.charCodeAt(1)===Bi)return`.\\${o}`;let a=e.indexOf(":");do if(a===t-1||we(e.charCodeAt(a+1)))return`.\\${o}`;while((a=e.indexOf(":",a+1))!==-1)}return i===void 0?n?`\\${o}`:o:n?`${i}\\${o}`:`${i}${o}`},isAbsolute(e){vt(e,"path");const t=e.length;if(t===0)return!1;const s=e.charCodeAt(0);return we(s)||t>2&&wn(s)&&e.charCodeAt(1)===Bi&&we(e.charCodeAt(2))},join(...e){if(e.length===0)return".";let t,s;for(let r=0;r0&&(t===void 0?t=s=o:t+=`\\${o}`)}if(t===void 0)return".";let i=!0,n=0;if(typeof s=="string"&&we(s.charCodeAt(0))){++n;const r=s.length;r>1&&we(s.charCodeAt(1))&&(++n,r>2&&(we(s.charCodeAt(2))?++n:i=!1))}if(i){for(;n=2&&(t=`\\${t.slice(n)}`)}return bt.normalize(t)},relative(e,t){if(vt(e,"from"),vt(t,"to"),e===t)return"";const s=bt.resolve(e),i=bt.resolve(t);if(s===i||(e=s.toLowerCase(),t=i.toLowerCase(),e===t))return"";if(s.length!==e.length||i.length!==t.length){const g=s.split("\\"),v=i.split("\\");g[g.length-1]===""&&g.pop(),v[v.length-1]===""&&v.pop();const w=g.length,k=v.length,x=wx?v.slice(A).join("\\"):w>x?"..\\".repeat(w-1-A)+"..":"":"..\\".repeat(w-A)+v.slice(A).join("\\")}let n=0;for(;nn&&e.charCodeAt(r-1)===fs;)r--;const o=r-n;let a=0;for(;aa&&t.charCodeAt(c-1)===fs;)c--;const l=c-a,u=ou){if(t.charCodeAt(a+d)===fs)return i.slice(a+d+1);if(d===2)return i.slice(a+d)}o>u&&(e.charCodeAt(n+d)===fs?h=d:d===2&&(h=3)),h===-1&&(h=0)}let p="";for(d=n+h+1;d<=r;++d)(d===r||e.charCodeAt(d)===fs)&&(p+=p.length===0?"..":"\\..");return a+=h,p.length>0?`${p}${i.slice(a,c)}`:(i.charCodeAt(a)===fs&&++a,i.slice(a,c))},toNamespacedPath(e){if(typeof e!="string"||e.length===0)return e;const t=bt.resolve(e);if(t.length<=2)return e;if(t.charCodeAt(0)===fs){if(t.charCodeAt(1)===fs){const s=t.charCodeAt(2);if(s!==D4&&s!==er)return`\\\\?\\UNC\\${t.slice(2)}`}}else if(wn(t.charCodeAt(0))&&t.charCodeAt(1)===Bi&&t.charCodeAt(2)===fs)return`\\\\?\\${t}`;return t},dirname(e){vt(e,"path");const t=e.length;if(t===0)return".";let s=-1,i=0;const n=e.charCodeAt(0);if(t===1)return we(n)?e:".";if(we(n)){if(s=i=1,we(e.charCodeAt(1))){let a=2,c=a;for(;a2&&we(e.charCodeAt(2))?3:2,i=s);let r=-1,o=!0;for(let a=t-1;a>=i;--a)if(we(e.charCodeAt(a))){if(!o){r=a;break}}else o=!1;if(r===-1){if(s===-1)return".";r=s}return e.slice(0,r)},basename(e,t){t!==void 0&&vt(t,"suffix"),vt(e,"path");let s=0,i=-1,n=!0,r;if(e.length>=2&&wn(e.charCodeAt(0))&&e.charCodeAt(1)===Bi&&(s=2),t!==void 0&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,a=-1;for(r=e.length-1;r>=s;--r){const c=e.charCodeAt(r);if(we(c)){if(!n){s=r+1;break}}else a===-1&&(n=!1,a=r+1),o>=0&&(c===t.charCodeAt(o)?--o===-1&&(i=r):(o=-1,i=a))}return s===i?i=a:i===-1&&(i=e.length),e.slice(s,i)}for(r=e.length-1;r>=s;--r)if(we(e.charCodeAt(r))){if(!n){s=r+1;break}}else i===-1&&(n=!1,i=r+1);return i===-1?"":e.slice(s,i)},extname(e){vt(e,"path");let t=0,s=-1,i=0,n=-1,r=!0,o=0;e.length>=2&&e.charCodeAt(1)===Bi&&wn(e.charCodeAt(0))&&(t=i=2);for(let a=e.length-1;a>=t;--a){const c=e.charCodeAt(a);if(we(c)){if(!r){i=a+1;break}continue}n===-1&&(r=!1,n=a+1),c===er?s===-1?s=a:o!==1&&(o=1):s!==-1&&(o=-1)}return s===-1||n===-1||o===0||o===1&&s===n-1&&s===i+1?"":e.slice(s,n)},format:S4.bind(null,"\\"),parse(e){vt(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return t;const s=e.length;let i=0,n=e.charCodeAt(0);if(s===1)return we(n)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(we(n)){if(i=1,we(e.charCodeAt(1))){let h=2,d=h;for(;h0&&(t.root=e.slice(0,i));let r=-1,o=i,a=-1,c=!0,l=e.length-1,u=0;for(;l>=i;--l){if(n=e.charCodeAt(l),we(n)){if(!c){o=l+1;break}continue}a===-1&&(c=!1,a=l+1),n===er?r===-1?r=l:u!==1&&(u=1):r!==-1&&(u=-1)}return a!==-1&&(r===-1||u===0||u===1&&r===a-1&&r===o+1?t.base=t.name=e.slice(o,a):(t.name=e.slice(o,r),t.base=e.slice(o,a),t.ext=e.slice(r,a))),o>0&&o!==i?t.dir=e.slice(0,o-1):t.dir=t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},R4=(()=>{if(ds){const e=/\\/g;return()=>{const t=bn().replace(e,"/");return t.slice(t.indexOf("/"))}}return()=>bn()})(),Ie={resolve(...e){let t="",s=!1;for(let i=e.length-1;i>=0&&!s;i--){const n=e[i];vt(n,`paths[${i}]`),n.length!==0&&(t=`${n}/${t}`,s=n.charCodeAt(0)===Mt)}if(!s){const i=R4();t=`${i}/${t}`,s=i.charCodeAt(0)===Mt}return t=gh(t,!s,"/",o1),s?`/${t}`:t.length>0?t:"."},normalize(e){if(vt(e,"path"),e.length===0)return".";const t=e.charCodeAt(0)===Mt,s=e.charCodeAt(e.length-1)===Mt;return e=gh(e,!t,"/",o1),e.length===0?t?"/":s?"./":".":(s&&(e+="/"),t?`/${e}`:e)},isAbsolute(e){return vt(e,"path"),e.length>0&&e.charCodeAt(0)===Mt},join(...e){if(e.length===0)return".";const t=[];for(let s=0;s0&&t.push(i)}return t.length===0?".":Ie.normalize(t.join("/"))},relative(e,t){if(vt(e,"from"),vt(t,"to"),e===t||(e=Ie.resolve(e),t=Ie.resolve(t),e===t))return"";const s=1,i=e.length,n=i-s,r=1,o=t.length-r,a=na){if(t.charCodeAt(r+l)===Mt)return t.slice(r+l+1);if(l===0)return t.slice(r+l)}else n>a&&(e.charCodeAt(s+l)===Mt?c=l:l===0&&(c=0));let u="";for(l=s+c+1;l<=i;++l)(l===i||e.charCodeAt(l)===Mt)&&(u+=u.length===0?"..":"/..");return`${u}${t.slice(r+c)}`},toNamespacedPath(e){return e},dirname(e){if(vt(e,"path"),e.length===0)return".";const t=e.charCodeAt(0)===Mt;let s=-1,i=!0;for(let n=e.length-1;n>=1;--n)if(e.charCodeAt(n)===Mt){if(!i){s=n;break}}else i=!1;return s===-1?t?"/":".":t&&s===1?"//":e.slice(0,s)},basename(e,t){t!==void 0&&vt(t,"suffix"),vt(e,"path");let s=0,i=-1,n=!0,r;if(t!==void 0&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,a=-1;for(r=e.length-1;r>=0;--r){const c=e.charCodeAt(r);if(c===Mt){if(!n){s=r+1;break}}else a===-1&&(n=!1,a=r+1),o>=0&&(c===t.charCodeAt(o)?--o===-1&&(i=r):(o=-1,i=a))}return s===i?i=a:i===-1&&(i=e.length),e.slice(s,i)}for(r=e.length-1;r>=0;--r)if(e.charCodeAt(r)===Mt){if(!n){s=r+1;break}}else i===-1&&(n=!1,i=r+1);return i===-1?"":e.slice(s,i)},extname(e){vt(e,"path");let t=-1,s=0,i=-1,n=!0,r=0;for(let o=e.length-1;o>=0;--o){const a=e[o];if(a==="/"){if(!n){s=o+1;break}continue}i===-1&&(n=!1,i=o+1),a==="."?t===-1?t=o:r!==1&&(r=1):t!==-1&&(r=-1)}return t===-1||i===-1||r===0||r===1&&t===i-1&&t===s+1?"":e.slice(t,i)},format:S4.bind(null,"/"),parse(e){vt(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return t;const s=e.charCodeAt(0)===Mt;let i;s?(t.root="/",i=1):i=0;let n=-1,r=0,o=-1,a=!0,c=e.length-1,l=0;for(;c>=i;--c){const u=e.charCodeAt(c);if(u===Mt){if(!a){r=c+1;break}continue}o===-1&&(a=!1,o=c+1),u===er?n===-1?n=c:l!==1&&(l=1):n!==-1&&(l=-1)}if(o!==-1){const u=r===0&&s?1:r;n===-1||l===0||l===1&&n===o-1&&n===r+1?t.base=t.name=e.slice(u,o):(t.name=e.slice(u,n),t.base=e.slice(u,o),t.ext=e.slice(n,o))}return r>0?t.dir=e.slice(0,r-1):s&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null},Ie.win32=bt.win32=bt,Ie.posix=bt.posix=Ie,ei=ds?bt.normalize:Ie.normalize,Vr=ds?bt.isAbsolute:Ie.isAbsolute,T=ds?bt.join:Ie.join,xi=ds?bt.resolve:Ie.resolve,Bo=ds?bt.relative:Ie.relative,Ft=ds?bt.dirname:Ie.dirname,dt=ds?bt.basename:Ie.basename,Br=ds?bt.extname:Ie.extname,TC=ds?bt.format:Ie.format,FC=ds?bt.parse:Ie.parse,HC=ds?bt.toNamespacedPath:Ie.toNamespacedPath,Qt=ds?bt.sep:Ie.sep,Dc=ds?bt.delimiter:Ie.delimiter}});function zC(e,t){const s=Object.create(null);for(const i of e){const n=t(i);let r=s[n];r||(r=s[n]=[]),r.push(i)}return s}var N4,VC,C4=b({"out-build/vs/base/common/collections.js"(){"use strict";VC=class{static{N4=Symbol.toStringTag}constructor(e,t){this.b=t,this.a=new Map,this[N4]="SetWithKey";for(const s of e)this.add(s)}get size(){return this.a.size}add(e){const t=this.b(e);return this.a.set(t,e),this}delete(e){return this.a.delete(this.b(e))}has(e){return this.a.has(this.b(e))}*entries(){for(const e of this.a.values())yield[e,e]}keys(){return this.values()}*values(){for(const e of this.a.values())yield e}clear(){this.a.clear()}forEach(e,t){this.a.forEach(s=>e.call(t,s,s,this))}[Symbol.iterator](){return this.values()}}}});function L4(e){Nc.setUnexpectedErrorHandler(e)}function O4(e){if(!e||typeof e!="object")return!1;const t=e;return t.code==="EPIPE"&&t.syscall?.toUpperCase()==="WRITE"}function Rc(e){Nc.onUnexpectedError(e)}function wt(e){yn(e)||Nc.onUnexpectedError(e)}function yn(e){return e instanceof yt?!0:e instanceof Error&&e.name===Cc&&e.message===Cc}function M4(){const e=new Error(Cc);return e.name=e.message,e}function Ue(e){return e?new Error(`Illegal argument: ${e}`):new Error("Illegal argument")}function _4(e){return e?new Error(`Illegal state: ${e}`):new Error("Illegal state")}function de(e){return e?e.message?e.message:e.stack?e.stack.split(` `)[0]:String(e):"Error"}var j4,Nc,Cc,yt,U4,En,ns,ce=b({"out-build/vs/base/common/errors.js"(){"use strict";j4=class{constructor(){this.b=[],this.a=function(e){setTimeout(()=>{throw e.stack?En.isErrorNoTelemetry(e)?new En(e.message+` `+e.stack):new Error(e.message+` `+e.stack):e},0)}}addListener(e){return this.b.push(e),()=>{this.d(e)}}c(e){this.b.forEach(t=>{t(e)})}d(e){this.b.splice(this.b.indexOf(e),1)}setUnexpectedErrorHandler(e){this.a=e}getUnexpectedErrorHandler(){return this.a}onUnexpectedError(e){this.a(e),this.c(e)}onUnexpectedExternalError(e){this.a(e)}},Nc=new j4,Cc="Canceled",yt=class extends Error{constructor(){super(Cc),this.name=this.message}},U4=class Dm extends Error{static{this.a="PendingMigrationError"}static is(t){return t instanceof Dm||t instanceof Error&&t.name===Dm.a}constructor(t){super(t),this.name=Dm.a}},En=class Ny extends Error{constructor(t){super(t),this.name="CodeExpectedError"}static fromError(t){if(t instanceof Ny)return t;const s=new Ny;return s.message=t.message,s.stack=t.stack,s}static isErrorNoTelemetry(t){return t.name==="CodeExpectedError"}},ns=class ON extends Error{constructor(t){super(t||"An unexpected bug occurred."),Object.setPrototypeOf(this,ON.prototype)}}}});function c1(e,t){const s=this;let i=!1,n;return function(){if(i)return n;if(i=!0,t)try{n=e.apply(s,arguments)}finally{t()}else n=e.apply(s,arguments);return n}}var vh=b({"out-build/vs/base/common/functional.js"(){"use strict"}});function BC(e,t,s=0,i=e.length){let n=s,r=i;for(;ni===n){if(e===t)return!0;if(!e||!t||e.length!==t.length)return!1;for(let i=0,n=e.length;is(e[i],t))}function JC(e,t){let s=0,i=e-1;for(;s<=i;){const n=(s+i)/2|0,r=t(n);if(r<0)s=n+1;else if(r>0)i=n-1;else return n}return-(s+1)}function l1(e,t,s){if(e=e|0,e>=t.length)throw new TypeError("invalid index");const i=t[Math.floor(t.length*Math.random())],n=[],r=[],o=[];for(const a of t){const c=s(a,i);c<0?n.push(a):c>0?r.push(a):o.push(a)}return e!!t)}function QC(e){let t=0;for(let s=0;s0}function qi(e,t=s=>s){const s=new Set;return e.filter(i=>{const n=t(i);return s.has(n)?!1:(s.add(n),!0)})}function T4(e,t){return e.push(t),()=>ZC(e,t)}function ZC(e,t){const s=e.indexOf(t);if(s>-1)return e.splice(s,1),t}function F4(e,t){let s;if(typeof t=="number"){let i=t;s=()=>{const n=Math.sin(i++)*179426549;return n-Math.floor(n)}}else s=Math.random;for(let i=e.length-1;i>0;i-=1){const n=Math.floor(s()*(i+1)),r=e[i];e[i]=e[n],e[n]=r}}function H4(e){return Array.isArray(e)?e:[e]}function XC(e){return e[Math.floor(Math.random()*e.length)]}function YC(e,t){return(s,i)=>t(e(s),e(i))}var u1,z4,KC,nt=b({"out-build/vs/base/common/arrays.js"(){"use strict";WC(),ce(),(function(e){function t(r){return r<0}e.isLessThan=t;function s(r){return r<=0}e.isLessThanOrEqual=s;function i(r){return r>0}e.isGreaterThan=i;function n(r){return r===0}e.isNeitherLessOrGreaterThan=n,e.greaterThan=1,e.lessThan=-1,e.neitherLessOrGreaterThan=0})(u1||(u1={})),z4=(e,t)=>e-t,KC=class Rm{static{this.empty=new Rm(t=>{})}constructor(t){this.iterate=t}forEach(t){this.iterate(s=>(t(s),!0))}toArray(){const t=[];return this.iterate(s=>(t.push(s),!0)),t}filter(t){return new Rm(s=>this.iterate(i=>t(i)?s(i):!0))}map(t){return new Rm(s=>this.iterate(i=>s(t(i))))}some(t){let s=!1;return this.iterate(i=>(s=t(i),!s)),s}findFirst(t){let s;return this.iterate(i=>t(i)?(s=i,!1):!0),s}findLast(t){let s;return this.iterate(i=>(t(i)&&(s=i),!0)),s}findLastMaxBy(t){let s,i=!0;return this.iterate(n=>((i||u1.isGreaterThan(t(n,s)))&&(i=!1,s=n),!0)),s}}}});function eL(e){return Array.isArray(e)}var V4,B4,q4,W4,Et,wh,G4,J4,Q4,qo,Z4,Zt=b({"out-build/vs/base/common/map.js"(){"use strict";W4=class{constructor(e,t){this.uri=e,this.value=t}},Et=class Ku{static{this.c=t=>t.toString()}constructor(t,s){if(this[V4]="ResourceMap",t instanceof Ku)this.d=new Map(t.d),this.e=s??Ku.c;else if(eL(t)){this.d=new Map,this.e=s??Ku.c;for(const[i,n]of t)this.set(i,n)}else this.d=new Map,this.e=t??Ku.c}set(t,s){return this.d.set(this.e(t),new W4(t,s)),this}get(t){return this.d.get(this.e(t))?.value}has(t){return this.d.has(this.e(t))}get size(){return this.d.size}clear(){this.d.clear()}delete(t){return this.d.delete(this.e(t))}forEach(t,s){typeof s<"u"&&(t=t.bind(s));for(const[i,n]of this.d)t(n.value,n.uri,this)}*values(){for(const t of this.d.values())yield t.value}*keys(){for(const t of this.d.values())yield t.uri}*entries(){for(const t of this.d.values())yield[t.uri,t.value]}*[(V4=Symbol.toStringTag,Symbol.iterator)](){for(const[,t]of this.d)yield[t.uri,t.value]}},wh=class{constructor(e,t){this[B4]="ResourceSet",!e||typeof e=="function"?this.c=new Et(e):(this.c=new Et(t),e.forEach(this.add,this))}get size(){return this.c.size}add(e){return this.c.set(e,e),this}clear(){this.c.clear()}delete(e){return this.c.delete(e)}forEach(e,t){this.c.forEach((s,i)=>e.call(t,i,i,this))}has(e){return this.c.has(e)}entries(){return this.c.entries()}keys(){return this.c.keys()}values(){return this.c.keys()}[(B4=Symbol.toStringTag,Symbol.iterator)](){return this.keys()}},(function(e){e[e.None=0]="None",e[e.AsOld=1]="AsOld",e[e.AsNew=2]="AsNew"})(G4||(G4={})),J4=class{constructor(){this[q4]="LinkedMap",this.c=new Map,this.d=void 0,this.e=void 0,this.f=0,this.g=0}clear(){this.c.clear(),this.d=void 0,this.e=void 0,this.f=0,this.g++}isEmpty(){return!this.d&&!this.e}get size(){return this.f}get first(){return this.d?.value}get last(){return this.e?.value}has(e){return this.c.has(e)}get(e,t=0){const s=this.c.get(e);if(s)return t!==0&&this.n(s,t),s.value}set(e,t,s=0){let i=this.c.get(e);if(i)i.value=t,s!==0&&this.n(i,s);else{switch(i={key:e,value:t,next:void 0,previous:void 0},s){case 0:this.l(i);break;case 1:this.k(i);break;case 2:this.l(i);break;default:this.l(i);break}this.c.set(e,i),this.f++}return this}delete(e){return!!this.remove(e)}remove(e){const t=this.c.get(e);if(t)return this.c.delete(e),this.m(t),this.f--,t.value}shift(){if(!this.d&&!this.e)return;if(!this.d||!this.e)throw new Error("Invalid list");const e=this.d;return this.c.delete(e.key),this.m(e),this.f--,e.value}forEach(e,t){const s=this.g;let i=this.d;for(;i;){if(t?e.bind(t)(i.value,i.key,this):e(i.value,i.key,this),this.g!==s)throw new Error("LinkedMap got modified during iteration.");i=i.next}}keys(){const e=this,t=this.g;let s=this.d;const i={[Symbol.iterator](){return i},next(){if(e.g!==t)throw new Error("LinkedMap got modified during iteration.");if(s){const n={value:s.key,done:!1};return s=s.next,n}else return{value:void 0,done:!0}}};return i}values(){const e=this,t=this.g;let s=this.d;const i={[Symbol.iterator](){return i},next(){if(e.g!==t)throw new Error("LinkedMap got modified during iteration.");if(s){const n={value:s.value,done:!1};return s=s.next,n}else return{value:void 0,done:!0}}};return i}entries(){const e=this,t=this.g;let s=this.d;const i={[Symbol.iterator](){return i},next(){if(e.g!==t)throw new Error("LinkedMap got modified during iteration.");if(s){const n={value:[s.key,s.value],done:!1};return s=s.next,n}else return{value:void 0,done:!0}}};return i}[(q4=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}h(e){if(e>=this.size)return;if(e===0){this.clear();return}let t=this.d,s=this.size;for(;t&&s>e;)this.c.delete(t.key),t=t.next,s--;this.d=t,this.f=s,t&&(t.previous=void 0),this.g++}j(e){if(e>=this.size)return;if(e===0){this.clear();return}let t=this.e,s=this.size;for(;t&&s>e;)this.c.delete(t.key),t=t.previous,s--;this.e=t,this.f=s,t&&(t.next=void 0),this.g++}k(e){if(!this.d&&!this.e)this.e=e;else if(this.d)e.next=this.d,this.d.previous=e;else throw new Error("Invalid list");this.d=e,this.g++}l(e){if(!this.d&&!this.e)this.d=e;else if(this.e)e.previous=this.e,this.e.next=e;else throw new Error("Invalid list");this.e=e,this.g++}m(e){if(e===this.d&&e===this.e)this.d=void 0,this.e=void 0;else if(e===this.d){if(!e.next)throw new Error("Invalid list");e.next.previous=void 0,this.d=e.next}else if(e===this.e){if(!e.previous)throw new Error("Invalid list");e.previous.next=void 0,this.e=e.previous}else{const t=e.next,s=e.previous;if(!t||!s)throw new Error("Invalid list");t.previous=s,s.next=t}e.next=void 0,e.previous=void 0,this.g++}n(e,t){if(!this.d||!this.e)throw new Error("Invalid list");if(!(t!==1&&t!==2)){if(t===1){if(e===this.d)return;const s=e.next,i=e.previous;e===this.e?(i.next=void 0,this.e=i):(s.previous=i,i.next=s),e.previous=void 0,e.next=this.d,this.d.previous=e,this.d=e,this.g++}else if(t===2){if(e===this.e)return;const s=e.next,i=e.previous;e===this.d?(s.previous=void 0,this.d=s):(s.previous=i,i.next=s),e.next=void 0,e.previous=this.e,this.e.next=e,this.e=e,this.g++}}}toJSON(){const e=[];return this.forEach((t,s)=>{e.push([s,t])}),e}fromJSON(e){this.clear();for(const[t,s]of e)this.set(t,s)}},Q4=class extends J4{constructor(e,t=1){super(),this.o=e,this.p=Math.min(Math.max(0,t),1)}get limit(){return this.o}set limit(e){this.o=e,this.q()}get ratio(){return this.p}set ratio(e){this.p=Math.min(Math.max(0,e),1),this.q()}get(e,t=2){return super.get(e,t)}peek(e){return super.get(e,0)}set(e,t){return super.set(e,t,2),this}q(){this.size>this.o&&this.r(Math.round(this.o*this.p))}},qo=class extends Q4{constructor(e,t=1){super(e,t)}r(e){this.h(e)}set(e,t){return super.set(e,t),this.q(),this}},Z4=class{constructor(){this.c=new Map}add(e,t){let s=this.c.get(e);s||(s=new Set,this.c.set(e,s)),s.add(t)}delete(e,t){const s=this.c.get(e);s&&(s.delete(t),s.size===0&&this.c.delete(e))}forEach(e,t){const s=this.c.get(e);s&&s.forEach(t)}get(e){const t=this.c.get(e);return t||new Set}}}});function h1(e,t){if(!e)throw new Error(t?`Assertion failed (${t})`:"Assertion Failed")}function f1(e,t="Unreachable"){throw new Error(t)}function d1(e,t="unexpected state"){if(!e)throw typeof t=="string"?new ns(`Assertion Failed: ${t}`):t}function X4(e){if(!e()){debugger;e(),wt(new ns("Assertion Failed"))}}var xn=b({"out-build/vs/base/common/assert.js"(){"use strict";ce()}});function ee(e){return typeof e=="string"}function tt(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function tL(e){const t=Object.getPrototypeOf(Uint8Array);return typeof e=="object"&&e instanceof t}function kn(e){return typeof e=="number"&&!isNaN(e)}function sL(e){return!!e&&typeof e[Symbol.iterator]=="function"}function Wi(e){return e===!0||e===!1}function si(e){return typeof e>"u"}function Sn(e){return!Ct(e)}function Ct(e){return si(e)||e===null}function p1(e){return d1(e!=null,"Argument is `undefined` or `null`."),e}function m1(e){if(!tt(e))return!1;for(const t in e)if(Y4.call(e,t))return!1;return!0}function yh(e){return typeof e=="function"}function iL(e,t){if(ee(t)){if(typeof e!==t)throw new Error(`argument does not match constraint: typeof ${t}`)}else if(yh(t)){try{if(e instanceof t)return}catch{}if(!Ct(e)&&e.constructor===t||t.length===1&&t.call(void 0,e)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function g1(e,t){for(const s in t)if(!(s in e))return!1;return!0}var Y4,be=b({"out-build/vs/base/common/types.js"(){"use strict";xn(),Y4=Object.prototype.hasOwnProperty}}),Gi,tr=b({"out-build/vs/base/common/iterator.js"(){"use strict";be(),(function(e){function t(C){return!!C&&typeof C=="object"&&typeof C[Symbol.iterator]=="function"}e.is=t;const s=Object.freeze([]);function i(){return s}e.empty=i;function*n(C){yield C}e.single=n;function r(C){return t(C)?C:n(C)}e.wrap=r;function o(C){return C??s}e.from=o;function*a(C){for(let j=C.length-1;j>=0;j--)yield C[j]}e.reverse=a;function c(C){return!C||C[Symbol.iterator]().next().done===!0}e.isEmpty=c;function l(C){return C[Symbol.iterator]().next().value}e.first=l;function u(C,j){let N=0;for(const K of C)if(j(K,N++))return!0;return!1}e.some=u;function h(C,j){let N=0;for(const K of C)if(!j(K,N++))return!1;return!0}e.every=h;function d(C,j){for(const N of C)if(j(N))return N}e.find=d;function*p(C,j){for(const N of C)j(N)&&(yield N)}e.filter=p;function*g(C,j){let N=0;for(const K of C)yield j(K,N++)}e.map=g;function*v(C,j){let N=0;for(const K of C)yield*j(K,N++)}e.flatMap=v;function*w(...C){for(const j of C)sL(j)?yield*j:yield j}e.concat=w;function k(C,j,N){let K=N;for(const le of C)K=j(K,le);return K}e.reduce=k;function x(C){let j=0;for(const N of C)j++;return j}e.length=x;function*A(C,j,N=C.length){for(j<-C.length&&(j=0),j<0&&(j+=C.length),N<0?N+=C.length:N>C.length&&(N=C.length);j1)throw new AggregateError(t,"Encountered errors while disposing of store");return Array.isArray(e)?[]:e}else if(e)return e.dispose(),e}function e5(...e){const t=De(()=>Ht(e));return rL(e,t),t}function De(e){return new s5(e)}function oL(e,t){return e.then(s=>(t.isDisposed?s.dispose():t.add(s),s))}var t5,Wr,aL,s5,Qe,B,Lc,Eh,H=b({"out-build/vs/base/common/lifecycle.js"(){"use strict";if(nt(),C4(),Zt(),vh(),tr(),ce(),t5=!1,Wr=null,aL=class _N{constructor(){this.b=new Map}static{this.a=0}c(t){let s=this.b.get(t);return s||(s={parent:null,source:null,isSingleton:!1,value:t,idx:_N.a++},this.b.set(t,s)),s}trackDisposable(t){const s=this.c(t);s.source||(s.source=new Error().stack)}setParent(t,s){const i=this.c(t);i.parent=s}markAsDisposed(t){this.b.delete(t)}markAsSingleton(t){this.c(t).isSingleton=!0}f(t,s){const i=s.get(t);if(i)return i;const n=t.parent?this.f(this.c(t.parent),s):t;return s.set(t,n),n}getTrackedDisposables(){const t=new Map;return[...this.b.entries()].filter(([,i])=>i.source!==null&&!this.f(i,t).isSingleton).flatMap(([i])=>i)}computeLeakingDisposables(t=10,s){let i;if(s)i=s;else{const c=new Map,l=[...this.b.values()].filter(h=>h.source!==null&&!this.f(h,c).isSingleton);if(l.length===0)return;const u=new Set(l.map(h=>h.value));if(i=l.filter(h=>!(h.parent&&u.has(h.parent))),i.length===0)throw new Error("There are cyclic diposable chains!")}if(!i)return;function n(c){function l(h,d){for(;h.length>0&&d.some(p=>typeof p=="string"?p===h[0]:h[0].match(p));)h.shift()}const u=c.source.split(` `).map(h=>h.trim().replace("at ","")).filter(h=>h!=="");return l(u,["Error",/^trackDisposable \(.*\)$/,/^DisposableTracker.trackDisposable \(.*\)$/]),u.reverse()}const r=new Z4;for(const c of i){const l=n(c);for(let u=0;u<=l.length;u++)r.add(l.slice(0,u).join(` `),c)}i.sort(YC(c=>c.idx,z4));let o="",a=0;for(const c of i.slice(0,t)){a++;const l=n(c),u=[];for(let h=0;hn(w)[h]),w=>w);delete v[l[h]];for(const[w,k]of Object.entries(v))k&&u.unshift(` - stacktraces of ${k.length} other leaks continue with ${w}`);u.unshift(d)}o+=` ==================== Leaking disposable ${a}/${i.length}: ${c.value.constructor.name} ==================== ${u.join(` `)} ============================================================ `}return i.length>t&&(o+=` ... and ${i.length-t} more leaking disposables `),{leaks:i,details:o}}},t5){const e="__is_disposable_tracked__";nL(new class{trackDisposable(t){const s=new Error("Potentially leaked disposable").stack;setTimeout(()=>{t[e]||console.log(s)},3e3)}setParent(t,s){if(t&&t!==B.None)try{t[e]=!0}catch{}}markAsDisposed(t){if(t&&t!==B.None)try{t[e]=!0}catch{}}markAsSingleton(t){}})}s5=class{constructor(e){this.a=!1,this.b=e,Wo(this)}dispose(){if(!this.a){if(!this.b)throw new Error("Unbound disposable context: Need to use an arrow function to preserve the value of this");this.a=!0,Go(this),this.b()}}},Qe=class jN{static{this.DISABLE_DISPOSED_WARNING=!1}constructor(){this.f=new Set,this.g=!1,Wo(this)}dispose(){this.g||(Go(this),this.g=!0,this.clear())}get isDisposed(){return this.g}clear(){if(this.f.size!==0)try{Ht(this.f)}finally{this.f.clear()}}add(t){if(!t||t===B.None)return t;if(t===this)throw new Error("Cannot register a disposable on itself!");return qr(t,this),this.g?jN.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this.f.add(t),t}delete(t){if(t){if(t===this)throw new Error("Cannot dispose a disposable on itself!");this.f.delete(t),t.dispose()}}deleteAndLeak(t){t&&this.f.delete(t)&&qr(t,null)}assertNotDisposed(){this.g&&wt(new ns("Object disposed"))}},B=class{static{this.None=Object.freeze({dispose(){}})}constructor(){this.B=new Qe,Wo(this),qr(this.B,this)}dispose(){Go(this),this.B.dispose()}D(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this.B.add(e)}},Lc=class{constructor(){this.b=!1,Wo(this)}get value(){return this.b?void 0:this.a}set value(e){this.b||e===this.a||(this.a?.dispose(),e&&qr(e,this),this.a=e)}clear(){this.value=void 0}dispose(){this.b=!0,Go(this),this.a?.dispose(),this.a=void 0}clearAndLeak(){const e=this.a;return this.a=void 0,e&&qr(e,null),e}},Eh=class{constructor(e=new Map){this.b=!1,this.a=e,Wo(this)}dispose(){Go(this),this.b=!0,this.clearAndDisposeAll()}clearAndDisposeAll(){if(this.a.size)try{Ht(this.a.values())}finally{this.a.clear()}}has(e){return this.a.has(e)}get size(){return this.a.size}get(e){return this.a.get(e)}set(e,t,s=!1){this.b&&console.warn(new Error("Trying to add a disposable to a DisposableMap that has already been disposed of. The added object will be leaked!").stack),s||this.a.get(e)?.dispose(),this.a.set(e,t),qr(t,this)}deleteAndDispose(e){this.a.get(e)?.dispose(),this.a.delete(e)}deleteAndLeak(e){const t=this.a.get(e);return t&&qr(t,null),this.a.delete(e),t}keys(){return this.a.keys()}values(){return this.a.values()}[Symbol.iterator](){return this.a[Symbol.iterator]()}}}}),rt,v1,i5=b({"out-build/vs/base/common/linkedList.js"(){"use strict";rt=class Nm{static{this.Undefined=new Nm(void 0)}constructor(t){this.element=t,this.next=Nm.Undefined,this.prev=Nm.Undefined}},v1=class{constructor(){this.a=rt.Undefined,this.b=rt.Undefined,this.c=0}get size(){return this.c}isEmpty(){return this.a===rt.Undefined}clear(){let e=this.a;for(;e!==rt.Undefined;){const t=e.next;e.prev=rt.Undefined,e.next=rt.Undefined,e=t}this.a=rt.Undefined,this.b=rt.Undefined,this.c=0}unshift(e){return this.d(e,!1)}push(e){return this.d(e,!0)}d(e,t){const s=new rt(e);if(this.a===rt.Undefined)this.a=s,this.b=s;else if(t){const n=this.b;this.b=s,s.prev=n,n.next=s}else{const n=this.a;this.a=s,s.next=n,n.prev=s}this.c+=1;let i=!1;return()=>{i||(i=!0,this.e(s))}}shift(){if(this.a!==rt.Undefined){const e=this.a.element;return this.e(this.a),e}}pop(){if(this.b!==rt.Undefined){const e=this.b.element;return this.e(this.b),e}}peek(){if(this.b!==rt.Undefined)return this.b.element}e(e){if(e.prev!==rt.Undefined&&e.next!==rt.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===rt.Undefined&&e.next===rt.Undefined?(this.a=rt.Undefined,this.b=rt.Undefined):e.next===rt.Undefined?(this.b=this.b.prev,this.b.next=rt.Undefined):e.prev===rt.Undefined&&(this.a=this.a.next,this.a.prev=rt.Undefined);this.c-=1}*[Symbol.iterator](){let e=this.a;for(;e!==rt.Undefined;)yield e.element,e=e.next}}}}),n5,$n,Jo=b({"out-build/vs/base/common/stopwatch.js"(){"use strict";n5=globalThis.performance.now.bind(globalThis.performance),$n=class UN{static create(t){return new UN(t)}constructor(t){this.c=t===!1?Date.now:n5,this.a=this.c(),this.b=-1}stop(){this.b=this.c()}reset(){this.a=this.c(),this.b=-1}elapsed(){return this.b!==-1?this.b-this.a:this.c()-this.a}}}});function b1(e,t){t instanceof Qe?t.add(e):Array.isArray(t)&&t.push(e)}function r5(e,t){if(t instanceof Qe)t.delete(e);else if(Array.isArray(t)){const s=t.indexOf(e);s!==-1&&t.splice(s,1)}e.dispose()}var w1,o5,F,a5,y1,c5,xh,l5,u5,h5,Oc,f5,d5,D,p5,kh,m5,E1,oe=b({"out-build/vs/base/common/event.js"(){"use strict";C4(),ce(),vh(),H(),i5(),Jo(),w1=!1,o5=!1,(function(e){e.None=()=>B.None;function t(U){if(o5){const{onDidAddListener:P}=U,L=xh.create();let O=0;U.onDidAddListener=()=>{++O===2&&(console.warn("snapshotted emitter LIKELY used public and SHOULD HAVE BEEN created with DisposableStore. snapshotted here"),L.print()),P?.()}}}function s(U,P,L){return p(U,()=>{},0,void 0,P??!0,void 0,L)}e.defer=s;function i(U){return(P,L=null,O)=>{let V=!1,re;return re=U(ke=>{if(!V)return re?re.dispose():V=!0,P.call(L,ke)},null,O),V&&re.dispose(),re}}e.once=i;function n(U,P){return e.once(e.filter(U,P))}e.onceIf=n;function r(U,P,L){return h((O,V=null,re)=>U(ke=>O.call(V,P(ke)),null,re),L)}e.map=r;function o(U,P,L){return h((O,V=null,re)=>U(ke=>{P(ke),O.call(V,ke)},null,re),L)}e.forEach=o;function a(U,P,L){return h((O,V=null,re)=>U(ke=>P(ke)&&O.call(V,ke),null,re),L)}e.filter=a;function c(U){return U}e.signal=c;function l(...U){return(P,L=null,O)=>{const V=e5(...U.map(re=>re(ke=>P.call(L,ke))));return d(V,O)}}e.any=l;function u(U,P,L,O){let V=L;return r(U,re=>(V=P(V,re),V),O)}e.reduce=u;function h(U,P){let L;const O={onWillAddFirstListener(){L=U(V.fire,V)},onDidRemoveLastListener(){L?.dispose()}};P||t(O);const V=new D(O);return P?.add(V),V.event}function d(U,P){return P instanceof Array?P.push(U):P&&P.add(U),U}function p(U,P,L=100,O=!1,V=!1,re,ke){let Ke,Se,ss,$s=0,Js;const Qs={leakWarningThreshold:re,onWillAddFirstListener(){Ke=U(ah=>{$s++,Se=P(Se,ah),O&&!ss&&(Zs.fire(Se),Se=void 0),Js=()=>{const ch=Se;Se=void 0,ss=void 0,(!O||$s>1)&&Zs.fire(ch),$s=0},typeof L=="number"?(ss&&clearTimeout(ss),ss=setTimeout(Js,L)):ss===void 0&&(ss=null,queueMicrotask(Js))})},onWillRemoveListener(){V&&$s>0&&Js?.()},onDidRemoveLastListener(){Js=void 0,Ke.dispose()}};ke||t(Qs);const Zs=new D(Qs);return ke?.add(Zs),Zs.event}e.debounce=p;function g(U,P=0,L,O){return e.debounce(U,(V,re)=>V?(V.push(re),V):[re],P,void 0,L??!0,void 0,O)}e.accumulate=g;function v(U,P,L=100,O=!0,V=!0,re,ke){let Ke,Se,ss,$s=0;const Js={leakWarningThreshold:re,onWillAddFirstListener(){Ke=U(Zs=>{$s++,Se=P(Se,Zs),ss===void 0&&(O&&(Qs.fire(Se),Se=void 0,$s=0),typeof L=="number"?ss=setTimeout(()=>{V&&$s>0&&Qs.fire(Se),Se=void 0,ss=void 0,$s=0},L):(ss=0,queueMicrotask(()=>{V&&$s>0&&Qs.fire(Se),Se=void 0,ss=void 0,$s=0})))})},onDidRemoveLastListener(){Ke.dispose()}};ke||t(Js);const Qs=new D(Js);return ke?.add(Qs),Qs.event}e.throttle=v;function w(U,P=(O,V)=>O===V,L){let O=!0,V;return a(U,re=>{const ke=O||!P(re,V);return O=!1,V=re,ke},L)}e.latch=w;function k(U,P,L){return[e.filter(U,P,L),e.filter(U,O=>!P(O),L)]}e.split=k;function x(U,P=!1,L=[],O){let V=L.slice(),re=U(Se=>{V?V.push(Se):Ke.fire(Se)});O&&O.add(re);const ke=()=>{V?.forEach(Se=>Ke.fire(Se)),V=null},Ke=new D({onWillAddFirstListener(){re||(re=U(Se=>Ke.fire(Se)),O&&O.add(re))},onDidAddFirstListener(){V&&(P?setTimeout(ke):ke())},onDidRemoveLastListener(){re&&re.dispose(),re=null}});return O&&O.add(Ke),Ke.event}e.buffer=x;function A(U,P){return(O,V,re)=>{const ke=P(new z);return U(function(Ke){const Se=ke.evaluate(Ke);Se!==_&&O.call(V,Se)},void 0,re)}}e.chain=A;const _=Symbol("HaltChainable");class z{constructor(){this.f=[]}map(P){return this.f.push(P),this}forEach(P){return this.f.push(L=>(P(L),L)),this}filter(P){return this.f.push(L=>P(L)?L:_),this}reduce(P,L){let O=L;return this.f.push(V=>(O=P(O,V),O)),this}latch(P=(L,O)=>L===O){let L=!0,O;return this.f.push(V=>{const re=L||!P(V,O);return L=!1,O=V,re?V:_}),this}evaluate(P){for(const L of this.f)if(P=L(P),P===_)break;return P}}function Ce(U,P,L=O=>O){const O=(...Ke)=>ke.fire(L(...Ke)),V=()=>U.on(P,O),re=()=>U.removeListener(P,O),ke=new D({onWillAddFirstListener:V,onDidRemoveLastListener:re});return ke.event}e.fromNodeEventEmitter=Ce;function C(U,P,L=O=>O){const O=(...Ke)=>ke.fire(L(...Ke)),V=()=>U.addEventListener(P,O),re=()=>U.removeEventListener(P,O),ke=new D({onWillAddFirstListener:V,onDidRemoveLastListener:re});return ke.event}e.fromDOMEventEmitter=C;function j(U,P){let L,O;const V=new Promise(re=>{O=i(U)(re),b1(O,P),L=()=>{r5(O,P)}});return V.cancel=L,P&&V.finally(()=>r5(O,P)),V}e.toPromise=j;function N(U,P){return U(L=>P.fire(L))}e.forward=N;function K(U,P,L){return P(L),U(O=>P(O))}e.runAndSubscribe=K;class le{constructor(P,L){this._observable=P,this.f=0,this.g=!1;const O={onWillAddFirstListener:()=>{P.addObserver(this),this._observable.reportChanges()},onDidRemoveLastListener:()=>{P.removeObserver(this)}};L||t(O),this.emitter=new D(O),L&&L.add(this.emitter)}beginUpdate(P){this.f++}handlePossibleChange(P){}handleChange(P,L){this.g=!0}endUpdate(P){this.f--,this.f===0&&(this._observable.reportChanges(),this.g&&(this.g=!1,this.emitter.fire(this._observable.get())))}}function ie(U,P){return new le(U,P).emitter.event}e.fromObservable=ie;function it(U){return(P,L,O)=>{let V=0,re=!1;const ke={beginUpdate(){V++},endUpdate(){V--,V===0&&(U.reportChanges(),re&&(re=!1,P.call(L)))},handlePossibleChange(){},handleChange(){re=!0}};U.addObserver(ke),U.reportChanges();const Ke={dispose(){U.removeObserver(ke)}};return b1(Ke,O),Ke}}e.fromObservableLight=it})(F||(F={})),a5=class Cy{static{this.all=new Set}static{this.f=0}constructor(t){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${t}_${Cy.f++}`,Cy.all.add(this)}start(t){this.g=new $n,this.listenerCount=t}stop(){if(this.g){const t=this.g.elapsed();this.durations.push(t),this.elapsedOverall+=t,this.invocationCount+=1,this.g=void 0}}},y1=-1,c5=class TN{static{this.f=1}constructor(t,s,i=(TN.f++).toString(16).padStart(3,"0")){this.j=t,this.threshold=s,this.name=i,this.h=0}dispose(){this.g?.clear()}check(t,s){const i=this.threshold;if(i<=0||s{const r=this.g.get(t.value)||0;this.g.set(t.value,r-1)}}getMostFrequentStack(){if(!this.g)return;let t,s=0;for(const[i,n]of this.g)(!t||s{if(e instanceof Oc)t(e);else for(let s=0;s0||this.g?.leakWarningThreshold?new c5(e?.onListenerError??wt,this.g?.leakWarningThreshold??y1):void 0,this.m=this.g?._profName?new a5(this.g._profName):void 0,this.z=this.g?.deliveryQueue}dispose(){if(!this.q){if(this.q=!0,this.z?.current===this&&this.z.reset(),this.w){if(w1){const e=this.w;queueMicrotask(()=>{d5(e,t=>t.stack?.print())})}this.w=void 0,this.A=0}this.g?.onDidRemoveLastListener?.(),this.j?.dispose()}}get event(){return this.u??=(e,t,s)=>{if(this.j&&this.A>this.j.threshold**2){const a=`[${this.j.name}] REFUSES to accept new listeners because it exceeded its threshold by far (${this.A} vs ${this.j.threshold})`;console.warn(a);const c=this.j.getMostFrequentStack()??["UNKNOWN stack",-1],l=new u5(`${a}. HINT: Stack shows most frequent listener (${c[1]}-times)`,c[0]);return(this.g?.onListenerError||wt)(l),B.None}if(this.q)return B.None;t&&(e=e.bind(t));const i=new Oc(e);let n,r;this.j&&this.A>=Math.ceil(this.j.threshold*.2)&&(i.stack=xh.create(),n=this.j.check(i.stack,this.A+1)),w1&&(i.stack=r??xh.create()),this.w?this.w instanceof Oc?(this.z??=new p5,this.w=[this.w,i]):this.w.push(i):(this.g?.onWillAddFirstListener?.(this),this.w=i,this.g?.onDidAddFirstListener?.(this)),this.g?.onDidAddListener?.(this),this.A++;const o=De(()=>{n?.(),this.B(i)});return b1(o,s),o},this.u}B(e){if(this.g?.onWillRemoveListener?.(this),!this.w)return;if(this.A===1){this.w=void 0,this.g?.onDidRemoveLastListener?.(this),this.A=0;return}const t=this.w,s=t.indexOf(e);if(s===-1)throw console.log("disposed?",this.q),console.log("size?",this.A),console.log("arr?",JSON.stringify(this.w)),new Error("Attempted to dispose unknown listener");this.A--,t[s]=void 0;const i=this.z.current===this;if(this.A*f5<=t.length){let n=0;for(let r=0;r0}},p5=class{constructor(){this.i=-1,this.end=0}enqueue(e,t,s){this.i=0,this.end=s,this.current=e,this.value=t}reset(){this.i=this.end,this.current=void 0,this.value=void 0}},kh=class extends D{get isPaused(){return this.f!==0}constructor(e){super(e),this.f=0,this.h=new v1,this.s=e?.merge}pause(){this.f++}resume(){if(this.f!==0&&--this.f===0)if(this.s){if(this.h.size>0){const e=Array.from(this.h);this.h.clear(),super.fire(this.s(e))}}else for(;!this.f&&this.h.size!==0;)super.fire(this.h.shift())}fire(e){this.A&&(this.f!==0?this.h.push(e):super.fire(e))}},m5=class{constructor(){this.g=!1,this.h=[],this.f=new D({onWillAddFirstListener:()=>this.j(),onDidRemoveLastListener:()=>this.k()})}get event(){return this.f.event}add(e){const t={event:e,listener:null};return this.h.push(t),this.g&&this.m(t),De(c1(()=>{this.g&&this.o(t);const i=this.h.indexOf(t);this.h.splice(i,1)}))}j(){this.g=!0,this.h.forEach(e=>this.m(e))}k(){this.g=!1,this.h.forEach(e=>this.o(e))}m(e){e.listener=e.event(t=>this.f.fire(t))}o(e){e.listener?.dispose(),e.listener=null}dispose(){this.f.dispose();for(const e of this.h)e.listener?.dispose();this.h=[]}},E1=class{constructor(){this.f=!1,this.g=F.None,this.h=B.None,this.j=new D({onDidAddFirstListener:()=>{this.f=!0,this.h=this.g(this.j.fire,this.j)},onDidRemoveLastListener:()=>{this.f=!1,this.h.dispose()}}),this.event=this.j.event}set input(e){this.g=e,this.f&&(this.h.dispose(),this.h=e(this.j.fire,this.j))}dispose(){this.h.dispose(),this.j.dispose()}}}}),x1,Te,Mc,Si,Pt=b({"out-build/vs/base/common/cancellation.js"(){"use strict";oe(),H(),x1=Object.freeze(function(e,t){const s=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(s)}}}),(function(e){function t(s){return s===e.None||s===e.Cancelled||s instanceof Mc?!0:!s||typeof s!="object"?!1:typeof s.isCancellationRequested=="boolean"&&typeof s.onCancellationRequested=="function"}e.isCancellationToken=t,e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:F.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:x1})})(Te||(Te={})),Mc=class{constructor(){this.a=!1,this.b=null}cancel(){this.a||(this.a=!0,this.b&&(this.b.fire(void 0),this.dispose()))}get isCancellationRequested(){return this.a}get onCancellationRequested(){return this.a?x1:(this.b||(this.b=new D),this.b.event)}dispose(){this.b&&(this.b.dispose(),this.b=null)}},Si=class{constructor(e){this.f=void 0,this.g=void 0,this.g=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this.f||(this.f=new Mc),this.f}cancel(){this.f?this.f instanceof Mc&&this.f.cancel():this.f=Te.Cancelled}dispose(e=!1){e&&this.cancel(),this.g?.dispose(),this.f?this.f instanceof Mc&&this.f.dispose():this.f=Te.None}}}});function cL(e){return e}var g5,lL=b({"out-build/vs/base/common/cache.js"(){"use strict";Pt(),g5=class{constructor(e,t){this.a=void 0,this.b=void 0,typeof e=="function"?(this.c=e,this.d=cL):(this.c=t,this.d=e.getCacheKey)}get(e){const t=this.d(e);return this.b!==t&&(this.b=t,this.a=this.c(e)),this.a}}}}),sr,ir,Qo=b({"out-build/vs/base/common/lazy.js"(){"use strict";(function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Running=1]="Running",e[e.Completed=2]="Completed"})(sr||(sr={})),ir=class{constructor(e){this.d=e,this.a=sr.Uninitialized}get hasValue(){return this.a===sr.Completed}get value(){if(this.a===sr.Uninitialized){this.a=sr.Running;try{this.b=this.d()}catch(e){this.c=e}finally{this.a=sr.Completed}}else if(this.a===sr.Running)throw new Error("Cannot read the value of a lazy that is being initialized");if(this.c)throw this.c;return this.b}get rawValue(){return this.b}}}});function uL(e){return!e||typeof e!="string"?!0:e.trim().length===0}function $i(e,t){return Object.keys(t).length===0?e:e.replace(E5,(s,i)=>t[i]??s)}function nr(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function hL(e,t){if(!e||!t)return e;const s=t.length;let i=0;if(s===1){const n=t.charCodeAt(0);for(;i0&&e.charCodeAt(r-1)===o;)r--;return e.substring(0,r)}let n=i;for(;n>0&&e.endsWith(t,n);)n-=s;return e.substring(0,n)}function fL(e,t,s={}){if(!e)throw new Error("Cannot create regex from empty string");t||(e=nr(e)),s.wholeWord&&(/\B/.test(e.charAt(0))||(e="\\b"+e),/\B/.test(e.charAt(e.length-1))||(e=e+"\\b"));let i="";return s.global&&(i+="g"),s.matchCase||(i+="i"),s.multiline&&(i+="m"),s.unicode&&(i+="u"),new RegExp(e,i)}function S1(e,t){return et?1:0}function $1(e,t,s=0,i=e.length,n=0,r=t.length){for(;sl)return 1}const o=i-s,a=r-n;return oa?1:0}function Sh(e,t){return Zo(e,t,0,e.length,0,t.length)}function Zo(e,t,s=0,i=e.length,n=0,r=t.length){for(;s=128||l>=128)return $1(e.toLowerCase(),t.toLowerCase(),s,i,n,r);v5(c)&&(c-=32),v5(l)&&(l-=32);const u=c-l;if(u!==0)return u}const o=i-s,a=r-n;return oa?1:0}function v5(e){return e>=97&&e<=122}function b5(e){return e>=65&&e<=90}function rr(e,t){return e.length===t.length&&Zo(e,t)===0}function I1(e,t){const s=t.length;return s<=e.length&&Zo(e,t,0,s)===0}function dL(e,t){const s=e.length,i=s-t.length;return i>=0&&Zo(e,t,i,s)===0}function pL(e){return 55296<=e&&e<=56319}function w5(e){return 56320<=e&&e<=57343}function mL(e,t){return(e-55296<<10)+(t-56320)+65536}function y5(e){return e.charAt(0).toUpperCase()+e.slice(1)}function gL(){return JSON.parse("[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129008,129008,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2192,2193,1,2250,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6862,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9775,9775,14,9784,9785,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9874,14,9876,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,118528,118573,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]")}var E5,x5,k5,S5,vL,bL,$5,wL,I5,yL,EL,P5,ht=b({"out-build/vs/base/common/strings.js"(){"use strict";lL(),Qo(),E5=/{([^}]+)}/g,x5=/(?:\x1b\[|\x9b)[=?>!]?[\d;:]*["$#'* ]?[a-zA-Z@^`{}|~]/,k5=/(?:\x1b\]|\x9d).*?(?:\x1b\\|\x07|\x9c)/,S5=/\x1b(?:[ #%\(\)\*\+\-\.\/]?[a-zA-Z0-9\|}~@])/,vL=new RegExp("(?:"+[x5.source,k5.source,S5.source].join("|")+")","g"),bL="\uFEFF",(function(e){e[e.Other=0]="Other",e[e.Prepend=1]="Prepend",e[e.CR=2]="CR",e[e.LF=3]="LF",e[e.Control=4]="Control",e[e.Extend=5]="Extend",e[e.Regional_Indicator=6]="Regional_Indicator",e[e.SpacingMark=7]="SpacingMark",e[e.L=8]="L",e[e.V=9]="V",e[e.T=10]="T",e[e.LV=11]="LV",e[e.LVT=12]="LVT",e[e.ZWJ=13]="ZWJ",e[e.Extended_Pictographic=14]="Extended_Pictographic"})($5||($5={})),wL=class eh{static{this.c=null}static getInstance(){return eh.c||(eh.c=new eh),eh.c}constructor(){this.e=gL()}getGraphemeBreakType(t){if(t<32)return t===10?3:t===13?2:4;if(t<127)return 0;const s=this.e,i=s.length/3;let n=1;for(;n<=i;)if(ts[3*n+1])n=2*n+1;else return s[3*n+2];return 0}},(function(e){e[e.zwj=8205]="zwj",e[e.emojiVariantSelector=65039]="emojiVariantSelector",e[e.enclosingKeyCap=8419]="enclosingKeyCap",e[e.space=32]="space"})(I5||(I5={})),yL=class th{static{this.c=new ir(()=>JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,1523,96,8242,96,1370,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,118002,50,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,118003,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,118004,52,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,118005,53,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,118006,54,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,118007,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,118008,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,118009,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,117974,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,117975,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71913,67,71922,67,65315,67,8557,67,8450,67,8493,67,117976,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,117977,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,117978,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,117979,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,117980,71,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,117981,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,117983,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,117984,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,118001,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,117982,108,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,117985,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,117986,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,117987,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,118000,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,117988,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,117989,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,117990,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,117991,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,117992,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,117993,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,117994,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,117995,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71910,87,71919,87,117996,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,117997,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,117998,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,71909,90,66293,90,65338,90,8484,90,8488,90,117999,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65283,35,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125,119846,109],"_default":[160,32,8211,45,65374,126,8218,44,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"cs":[65374,126,8218,44,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"es":[8211,45,65374,126,8218,44,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"fr":[65374,126,8218,44,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"it":[160,32,8211,45,65374,126,8218,44,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"ja":[8211,45,8218,44,65281,33,8216,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65292,44,65297,49,65307,59],"ko":[8211,45,65374,126,8218,44,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"pt-BR":[65374,126,8218,44,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,8218,44,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"ru":[65374,126,8218,44,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,8218,44,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"zh-hans":[160,32,65374,126,8218,44,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65297,49],"zh-hant":[8211,45,65374,126,8218,44,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89]}'))}static{this.e=new g5(t=>{const s=t.split(",");function i(h){const d=new Map;for(let p=0;p!h.startsWith("_")&&Object.hasOwn(o,h));a.length===0&&(a=["_default"]);let c;for(const h of a){const d=i(o[h]);c=r(c,d)}const l=i(o._common),u=n(l,c);return new th(u)})}static getInstance(t){return th.e.get(Array.from(t).join(","))}static{this.f=new ir(()=>Object.keys(th.c.value).filter(t=>!t.startsWith("_")))}static getLocales(){return th.f.value}constructor(t){this.g=t}isAmbiguous(t){return this.g.has(t)}containsAmbiguousCharacter(t){for(let s=0;se.length)return!1;if(s){if(!I1(e,t))return!1;if(t.length===e.length)return!0;let r=t.length;return t.charAt(t.length-1)===i&&r--,e.charAt(r)===i}return t.charAt(t.length-1)!==i&&(t+=i),e.indexOf(t)===0}function R5(e){return e>=65&&e<=90||e>=97&&e<=122}function kL(e){return ve?(e=k1(e,Qt),e.endsWith(":")&&(e+=Qt)):(e=k1(e,Qt),e||(e=Qt)),e}function N5(e){const t=ei(e);return ve?e.length>3?!1:C5(t)&&(e.length===2||t.charCodeAt(2)===92):t===Ie.sep}function C5(e,t=ve){return t?R5(e.charCodeAt(0))&&e.charCodeAt(1)===58:!1}function SL(e,t,s=8){let i="";for(let r=0;r"u")&&(typeof e.path=="string"||typeof e.path>"u")&&(typeof e.query=="string"||typeof e.query>"u")&&(typeof e.fragment=="string"||typeof e.fragment>"u")}function M5(e,t,s){let i,n=-1;for(let r=0;r=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||o===45||o===46||o===95||o===126||t&&o===47||s&&o===91||s&&o===93||s&&o===58)n!==-1&&(i+=encodeURIComponent(e.substring(n,r)),n=-1),i!==void 0&&(i+=e.charAt(r));else{i===void 0&&(i=e.substr(0,r));const a=R1[o];a!==void 0?(n!==-1&&(i+=encodeURIComponent(e.substring(n,r)),n=-1),i+=a):n===-1&&(n=r)}}return n!==-1&&(i+=encodeURIComponent(e.substring(n))),i!==void 0?i:e}function AL(e){let t;for(let s=0;s1&&e.scheme==="file"?s=`//${e.authority}${e.path}`:e.path.charCodeAt(0)===47&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&e.path.charCodeAt(2)===58?t?s=e.path.substr(1):s=e.path[1].toLowerCase()+e.path.substr(2):s=e.path,ve&&(s=s.replace(/\//g,"\\")),s}function A1(e,t){const s=t?AL:M5;let i="",{scheme:n,authority:r,path:o,query:a,fragment:c}=e;if(n&&(i+=n,i+=":"),(r||n==="file")&&(i+=ii,i+=ii),r){let l=r.indexOf("@");if(l!==-1){const u=r.substr(0,l);r=r.substr(l+1),l=u.lastIndexOf(":"),l===-1?i+=s(u,!1,!1):(i+=s(u.substr(0,l),!1,!1),i+=":",i+=s(u.substr(l+1),!1,!0)),i+="@"}r=r.toLowerCase(),l=r.lastIndexOf(":"),l===-1?i+=s(r,!1,!0):(i+=s(r.substr(0,l),!1,!0),i+=r.substr(l))}if(o){if(o.length>=3&&o.charCodeAt(0)===47&&o.charCodeAt(2)===58){const l=o.charCodeAt(1);l>=65&&l<=90&&(o=`/${String.fromCharCode(l+32)}:${o.substr(3)}`)}else if(o.length>=2&&o.charCodeAt(1)===58){const l=o.charCodeAt(0);l>=65&&l<=90&&(o=`${String.fromCharCode(l+32)}:${o.substr(2)}`)}i+=s(o,!0,!1)}return a&&(i+="?",i+=s(a,!1,!1)),c&&(i+="#",i+=t?c:M5(c,!1,!1)),i}function _5(e){try{return decodeURIComponent(e)}catch{return e.length>3?e.substr(0,3)+_5(e.substr(3)):e}}function Ph(e){return e.match(N1)?e.replace(N1,t=>_5(t)):e}var j5,U5,T5,Ze,ii,F5,y,D1,Gr,R1,N1,Q=b({"out-build/vs/base/common/uri.js"(){"use strict";ge(),se(),j5=/^\w[\w\d+.-]*$/,U5=/^\//,T5=/^\/\//,Ze="",ii="/",F5=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,y=class Cm{static isUri(t){return t instanceof Cm?!0:!t||typeof t!="object"?!1:typeof t.authority=="string"&&typeof t.fragment=="string"&&typeof t.path=="string"&&typeof t.query=="string"&&typeof t.scheme=="string"&&typeof t.fsPath=="string"&&typeof t.with=="function"&&typeof t.toString=="function"}constructor(t,s,i,n,r,o=!1){typeof t=="object"?(this.scheme=t.scheme||Ze,this.authority=t.authority||Ze,this.path=t.path||Ze,this.query=t.query||Ze,this.fragment=t.fragment||Ze):(this.scheme=IL(t,o),this.authority=s||Ze,this.path=PL(this.scheme,i||Ze),this.query=n||Ze,this.fragment=r||Ze,$L(this,o))}get fsPath(){return Ih(this,!1)}with(t){if(!t)return this;let{scheme:s,authority:i,path:n,query:r,fragment:o}=t;return s===void 0?s=this.scheme:s===null&&(s=Ze),i===void 0?i=this.authority:i===null&&(i=Ze),n===void 0?n=this.path:n===null&&(n=Ze),r===void 0?r=this.query:r===null&&(r=Ze),o===void 0?o=this.fragment:o===null&&(o=Ze),s===this.scheme&&i===this.authority&&n===this.path&&r===this.query&&o===this.fragment?this:new Gr(s,i,n,r,o)}static parse(t,s=!1){const i=F5.exec(t);return i?new Gr(i[2]||Ze,Ph(i[4]||Ze),Ph(i[5]||Ze),Ph(i[7]||Ze),Ph(i[9]||Ze),s):new Gr(Ze,Ze,Ze,Ze,Ze)}static file(t){let s=Ze;if(ve&&(t=t.replace(/\\/g,ii)),t[0]===ii&&t[1]===ii){const i=t.indexOf(ii,2);i===-1?(s=t.substring(2),t=ii):(s=t.substring(2,i),t=t.substring(i)||ii)}return new Gr("file",s,t,Ze,Ze)}static from(t,s){return new Gr(t.scheme,t.authority,t.path,t.query,t.fragment,s)}static joinPath(t,...s){if(!t.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let i;return ve&&t.scheme==="file"?i=Cm.file(bt.join(Ih(t,!0),...s)).path:i=Ie.join(t.path,...s),t.with({path:i})}toString(t=!1){return A1(this,t)}toJSON(){return this}static revive(t){if(t){if(t instanceof Cm)return t;{const s=new Gr(t);return s._formatted=t.external??null,s._fsPath=t._sep===D1?t.fsPath??null:null,s}}else return t}[Symbol.for("debug.description")](){return`URI(${this.toString()})`}},D1=ve?1:void 0,Gr=class extends y{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=Ih(this,!1)),this._fsPath}toString(e=!1){return e?A1(this,!0):(this._formatted||(this._formatted=A1(this,!1)),this._formatted)}toJSON(){const e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=D1),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}},R1={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"},N1=/(%[0-9A-Za-z][0-9A-Za-z])+/g}});function H5(e){return`${e.quality??"oss"}-${e.commit??"dev"}`}var q,Ah,Xo,z5,V5,B5,q5,W5,C1,G5,_t,DL,RL,J5,ye=b({"out-build/vs/base/common/network.js"(){"use strict";ce(),se(),ht(),Q(),ge(),(function(e){e.inMemory="inmemory",e.vscode="vscode",e.internal="private",e.walkThrough="walkThrough",e.walkThroughSnippet="walkThroughSnippet",e.http="http",e.https="https",e.file="file",e.mailto="mailto",e.untitled="untitled",e.data="data",e.command="command",e.vscodeRemote="vscode-remote",e.vscodeRemoteResource="vscode-remote-resource",e.vscodeManagedRemoteResource="vscode-managed-remote-resource",e.vscodeUserData="vscode-userdata",e.vscodeCustomEditor="vscode-custom-editor",e.vscodeNotebookCell="vscode-notebook-cell",e.vscodeNotebookCellMetadata="vscode-notebook-cell-metadata",e.vscodeNotebookCellMetadataDiff="vscode-notebook-cell-metadata-diff",e.vscodeNotebookCellOutput="vscode-notebook-cell-output",e.vscodeNotebookCellOutputDiff="vscode-notebook-cell-output-diff",e.vscodeNotebookMetadata="vscode-notebook-metadata",e.vscodeInteractiveInput="vscode-interactive-input",e.vscodeSettings="vscode-settings",e.vscodeWorkspaceTrust="vscode-workspace-trust",e.vscodeTerminal="vscode-terminal",e.vscodeChatCodeBlock="vscode-chat-code-block",e.vscodeChatCodeCompareBlock="vscode-chat-code-compare-block",e.vscodeChatEditor="vscode-chat-editor",e.vscodeChatInput="chatSessionInput",e.vscodeLocalChatSession="vscode-chat-session",e.webviewPanel="webview-panel",e.vscodeWebview="vscode-webview",e.vscodeBrowser="vscode-browser",e.extension="extension",e.vscodeFileResource="vscode-file",e.tmp="tmp",e.vsls="vsls",e.vscodeSourceControl="vscode-scm",e.commentsInput="comment",e.codeSetting="code-setting",e.outputChannel="output",e.accessibleView="accessible-view",e.chatEditingSnapshotScheme="chat-editing-snapshot-text-model",e.chatEditingModel="chat-editing-text-model",e.copilotPr="copilot-pr"})(q||(q={})),Ah="vscode-tkn",Xo="tkn",z5=class{constructor(){this.a=Object.create(null),this.b=Object.create(null),this.c=Object.create(null),this.d="http",this.e=null,this.f="/"}setPreferredWebSchema(e){this.d=e}setDelegate(e){this.e=e}setServerRootPath(e,t){this.f=Ie.join(t??"/",H5(e))}getServerRootPath(){return this.f}get g(){return Ie.join(this.f,q.vscodeRemoteResource)}set(e,t,s){this.a[e]=t,this.b[e]=s}setConnectionToken(e,t){this.c[e]=t}getPreferredWebSchema(){return this.d}rewrite(e){if(this.e)try{return this.e(e)}catch(o){return wt(o),e}const t=e.authority;let s=this.a[t];s&&s.indexOf(":")!==-1&&s.indexOf("[")===-1&&(s=`[${s}]`);const i=this.b[t],n=this.c[t];let r=`path=${encodeURIComponent(e.path)}`;return typeof n=="string"&&(r+=`&${Xo}=${encodeURIComponent(n)}`),y.from({scheme:Ys?this.d:q.vscodeRemoteResource,authority:`${s}:${i}`,path:this.g,query:r})}},V5=new z5,B5="vs/../../extensions",q5="vs/../../node_modules",W5="vs/../../node_modules.asar",C1="vscode-app",G5=class Lm{static{this.a=C1}asBrowserUri(t){const s=this.b(t);return this.uriToBrowserUri(s)}uriToBrowserUri(t){return t.scheme===q.vscodeRemote?V5.rewrite(t):t.scheme===q.file&&(p4||g4===`${q.vscodeFileResource}://${Lm.a}`)?t.with({scheme:q.vscodeFileResource,authority:t.authority||Lm.a,query:null,fragment:null}):t}asFileUri(t){const s=this.b(t);return this.uriToFileUri(s)}uriToFileUri(t){return t.scheme===q.vscodeFileResource?t.with({scheme:q.file,authority:t.authority!==Lm.a?t.authority:null,query:null,fragment:null}):t}b(t){if(y.isUri(t))return t;if(globalThis._VSCODE_FILE_ROOT){const s=globalThis._VSCODE_FILE_ROOT;if(/^\w[\w\d+.-]*:\/\//.test(s))return y.joinPath(y.parse(s,!0),t);const i=T(s,t);return y.file(i)}throw new Error("Cannot determine URI for module id!")}},_t=new G5,DL=Object.freeze({"Cache-Control":"no-cache, no-store"}),RL=Object.freeze({"Document-Policy":"include-js-call-stacks-in-crash-reports"}),(function(e){const t=new Map([["1",{"Cross-Origin-Opener-Policy":"same-origin"}],["2",{"Cross-Origin-Embedder-Policy":"require-corp"}],["3",{"Cross-Origin-Opener-Policy":"same-origin","Cross-Origin-Embedder-Policy":"require-corp"}]]);e.CoopAndCoep=Object.freeze(t.get("3"));const s="vscode-coi";function i(r){let o;typeof r=="string"?o=new URL(r).searchParams:r instanceof URL?o=r.searchParams:y.isUri(r)&&(o=new URL(r.toString(!0)).searchParams);const a=o?.get(s);if(a)return t.get(a)}e.getHeadersFromQuery=i;function n(r,o,a){if(!globalThis.crossOriginIsolated)return;const c=o&&a?"3":a?"2":"1";r instanceof URLSearchParams?r.set(s,c):r[s]=c}e.addSearchParam=n})(J5||(J5={}))}});function Pn(e){return Ih(e,!0)}var _c,Re,Dh,Q5,L1,O1,NL,CL,An,Z5,X5,ue,Y5,LL,OL,K5,M1,_1,ML,_L,e6,pt=b({"out-build/vs/base/common/resources.js"(){"use strict";In(),ye(),ge(),se(),ht(),Q(),_c=class{constructor(e){this.a=e}compare(e,t,s=!1){return e===t?0:S1(this.getComparisonKey(e,s),this.getComparisonKey(t,s))}isEqual(e,t,s=!1){return e===t?!0:!e||!t?!1:this.getComparisonKey(e,s)===this.getComparisonKey(t,s)}getComparisonKey(e,t=!1){return e.with({path:this.a(e)?e.path.toLowerCase():void 0,fragment:t?null:void 0}).toString()}ignorePathCasing(e){return this.a(e)}isEqualOrParent(e,t,s=!1){if(e.scheme===t.scheme){if(e.scheme===q.file)return ar(Pn(e),Pn(t),this.a(e))&&e.query===t.query&&(s||e.fragment===t.fragment);if(M1(e.authority,t.authority))return ar(e.path,t.path,this.a(e),"/")&&e.query===t.query&&(s||e.fragment===t.fragment)}return!1}joinPath(e,...t){return y.joinPath(e,...t)}basenameOrAuthority(e){return An(e)||e.authority}basename(e){return Ie.basename(e.path)}extname(e){return Ie.extname(e.path)}dirname(e){if(e.path.length===0)return e;let t;return e.scheme===q.file?t=y.file(Ft(Pn(e))).path:(t=Ie.dirname(e.path),e.authority&&t.length&&t.charCodeAt(0)!==47&&(console.error(`dirname("${e.toString})) resulted in a relative path`),t="/")),e.with({path:t})}normalizePath(e){if(!e.path.length)return e;let t;return e.scheme===q.file?t=y.file(ei(Pn(e))).path:t=Ie.normalize(e.path),e.with({path:t})}relativePath(e,t){if(e.scheme!==t.scheme||!M1(e.authority,t.authority))return;if(e.scheme===q.file){const n=Bo(Pn(e),Pn(t));return ve?A5(n):n}let s=e.path||"/";const i=t.path||"/";if(this.a(e)){let n=0;for(const r=Math.min(s.length,i.length);nD5(s).length&&s[s.length-1]===t}else{const s=e.path;return s.length>1&&s.charCodeAt(s.length-1)===47&&!/^[a-zA-Z]:(\/$|\\$)/.test(e.fsPath)}}removeTrailingPathSeparator(e,t=Qt){return _1(e,t)?e.with({path:e.path.substr(0,e.path.length-1)}):e}addTrailingPathSeparator(e,t=Qt){let s=!1;if(e.scheme===q.file){const i=Pn(e);s=i!==void 0&&i.length===D5(i).length&&i[i.length-1]===t}else{t="/";const i=e.path;s=i.length===1&&i.charCodeAt(i.length-1)===47}return!s&&!_1(e,t)?e.with({path:e.path+"/"}):e}},Re=new _c(()=>!1),Dh=new _c(e=>e.scheme===q.file?!ut:!0),Q5=new _c(e=>!0),L1=Re.isEqual.bind(Re),O1=Re.isEqualOrParent.bind(Re),NL=Re.getComparisonKey.bind(Re),CL=Re.basenameOrAuthority.bind(Re),An=Re.basename.bind(Re),Z5=Re.extname.bind(Re),X5=Re.dirname.bind(Re),ue=Re.joinPath.bind(Re),Y5=Re.normalizePath.bind(Re),LL=Re.relativePath.bind(Re),OL=Re.resolvePath.bind(Re),K5=Re.isAbsolutePath.bind(Re),M1=Re.isEqualAuthority.bind(Re),_1=Re.hasTrailingPathSeparator.bind(Re),ML=Re.removeTrailingPathSeparator.bind(Re),_L=Re.addTrailingPathSeparator.bind(Re),(function(e){e.META_DATA_LABEL="label",e.META_DATA_DESCRIPTION="description",e.META_DATA_SIZE="size",e.META_DATA_MIME="mime";function t(s){const i=new Map;s.path.substring(s.path.indexOf(";")+1,s.path.lastIndexOf(";")).split(";").forEach(o=>{const[a,c]=o.split(":");a&&c&&i.set(a,c)});const r=s.path.substring(0,s.path.indexOf(";"));return r&&i.set(e.META_DATA_MIME,r),i}e.parseMetaData=t})(e6||(e6={}))}}),t6,jL=b({"out-build/vs/base/common/symbols.js"(){"use strict";t6=Symbol("MicrotaskDelay")}});function j1(e){return!!e&&typeof e.then=="function"}function Dn(e){const t=new Si,s=e(t.token);let i=!1;const n=new Promise((r,o)=>{const a=t.token.onCancellationRequested(()=>{i=!0,a.dispose(),o(new yt)});Promise.resolve(s).then(c=>{a.dispose(),t.dispose(),i?K4(c)&&c.dispose():r(c)},c=>{a.dispose(),t.dispose(),o(c)})});return new class{cancel(){t.cancel(),t.dispose()}then(r,o){return n.then(r,o)}catch(r){return this.then(void 0,r)}finally(r){return n.finally(r)}}}function UL(){let e,t;return{promise:new Promise((i,n)=>{e=i,t=n}),resolve:e,reject:t}}function Jr(e,t){return t?new Promise((s,i)=>{const n=setTimeout(()=>{r.dispose(),s()},e),r=t.onCancellationRequested(()=>{clearTimeout(n),r.dispose(),i(new yt)})}):Dn(s=>Jr(e,s))}async function TL(e,t,s){let i;for(let n=0;n{if(this.b=null,this.f.token.isCancellationRequested)return;const s=this.queue(this.d);return this.d=null,s};this.b=new Promise(s=>{this.a.then(t,t).then(s)})}return new Promise((t,s)=>{this.b.then(t,s)})}return this.a=e(this.f.token),new Promise((t,s)=>{this.a.then(i=>{this.a=null,t(i)},i=>{this.a=null,s(i)})})}dispose(){this.f.cancel()}},i6=class{constructor(){this.a=Promise.resolve(null)}queue(e){return this.a=this.a.then(()=>e(),()=>e())}},n6=(e,t)=>{let s=!0;const i=setTimeout(()=>{s=!1,t()},e);return{isTriggered:()=>s,dispose:()=>{clearTimeout(i),s=!1}}},r6=e=>{let t=!0;return queueMicrotask(()=>{t&&(t=!1,e())}),{isTriggered:()=>t,dispose:()=>{t=!1}}},U1=class{constructor(e){this.defaultDelay=e,this.a=null,this.b=null,this.d=null,this.f=null,this.g=null}trigger(e,t=this.defaultDelay){this.g=e,this.h(),this.b||(this.b=new Promise((i,n)=>{this.d=i,this.f=n}).then(()=>{if(this.b=null,this.d=null,this.g){const i=this.g;return this.g=null,i()}}));const s=()=>{this.a=null,this.d?.(null)};return this.a=t===t6?r6(s):n6(t,s),this.b}isTriggered(){return!!this.a?.isTriggered()}cancel(){this.h(),this.b&&(this.f?.(new yt),this.b=null)}h(){this.a?.dispose(),this.a=null}dispose(){this.cancel()}},Qr=class{constructor(e){this.a=new U1(e),this.b=new s6}trigger(e,t){return this.a.trigger(()=>this.b.queue(e),t)}isTriggered(){return this.a.isTriggered()}cancel(){this.a.cancel()}dispose(){this.a.dispose(),this.b.dispose()}},jc=class{constructor(){this.a=!1,this.b=new Promise((e,t)=>{this.d=e})}isOpen(){return this.a}open(){this.a=!0,this.d(!0)}wait(){return this.b}},T1=class{constructor(e){this.a=0,this.b=!1,this.f=e,this.g=[],this.d=0,this.h=new D}whenIdle(){return this.size>0?F.toPromise(this.onDrained):Promise.resolve()}get onDrained(){return this.h.event}get size(){return this.a}queue(e){if(this.b)throw new Error("Object has been disposed");return this.a++,new Promise((t,s)=>{this.g.push({factory:e,c:t,e:s}),this.j()})}j(){for(;this.g.length&&this.dthis.k(),()=>this.k())}}k(){this.b||(this.d--,--this.a===0&&this.h.fire(),this.g.length>0&&this.j())}clear(){if(this.b)throw new Error("Object has been disposed");this.g.length=0,this.a=this.d}dispose(){this.b=!0,this.g.length=0,this.a=0,this.h.dispose()}},Zr=class extends T1{constructor(){super(1)}},F1=class{constructor(){this.a=new Map,this.b=new Set,this.d=void 0,this.f=0}async whenDrained(){if(this.g())return;const e=new Ko;return this.b.add(e),e.p}g(){for(const[,e]of this.a)if(e.size>0)return!1;return!0}queueSize(e,t=Re){const s=t.getComparisonKey(e);return this.a.get(s)?.size??0}queueFor(e,t,s=Re){const i=s.getComparisonKey(e);let n=this.a.get(i);if(!n){n=new Zr;const r=this.f++,o=F.once(n.onDrained)(()=>{n?.dispose(),this.a.delete(i),this.h(),this.d?.deleteAndDispose(r),this.d?.size===0&&(this.d.dispose(),this.d=void 0)});this.d||(this.d=new Eh),this.d.set(r,o),this.a.set(i,n)}return n.queue(t)}h(){this.g()&&this.j()}j(){for(const e of this.b)e.complete();this.b.clear()}dispose(){for(const[,e]of this.a)e.dispose();this.a.clear(),this.j(),this.d?.dispose()}},Yo=class{constructor(e,t){this.b=void 0,this.a=e,this.d=t,this.f=this.g.bind(this)}dispose(){this.cancel(),this.a=null}cancel(){this.isScheduled()&&(clearTimeout(this.b),this.b=void 0)}schedule(e=this.d){this.cancel(),this.b=setTimeout(this.f,e)}get delay(){return this.d}set delay(e){this.d=e}isScheduled(){return this.b!==void 0}flush(){this.isScheduled()&&(this.cancel(),this.h())}g(){this.b=void 0,this.a&&this.h()}h(){this.a?.()}},H1=class{constructor(e,t){t%1e3!==0&&console.warn(`ProcessTimeRunOnceScheduler resolution is 1s, ${t}ms is not a multiple of 1000ms.`),this.a=e,this.b=t,this.d=0,this.f=void 0,this.g=this.h.bind(this)}dispose(){this.cancel(),this.a=null}cancel(){this.isScheduled()&&(clearInterval(this.f),this.f=void 0)}schedule(e=this.b){e%1e3!==0&&console.warn(`ProcessTimeRunOnceScheduler resolution is 1s, ${e}ms is not a multiple of 1000ms.`),this.cancel(),this.d=Math.ceil(e/1e3),this.f=setInterval(this.g,1e3)}isScheduled(){return this.f!==void 0}h(){this.d--,!(this.d>0)&&(clearInterval(this.f),this.f=void 0,this.a?.())}},o6=class extends Yo{constructor(e,t){super(e,t),this.j=[]}work(e){this.j.push(e),this.isScheduled()||this.schedule()}h(){const e=this.j;this.j=[],this.a?.(e)}dispose(){this.j=[],super.dispose()}},z1=class extends B{constructor(e,t){super(),this.h=e,this.j=t,this.a=[],this.b=this.D(new Lc),this.f=!1,this.g=0}get pending(){return this.a.length}work(e){if(this.f)return!1;if(typeof this.h.maxBufferedWork=="number"){if(this.b.value){if(this.pending+e.length>this.h.maxBufferedWork)return!1}else if(this.pending+e.length-this.h.maxWorkChunkSize>this.h.maxBufferedWork)return!1}for(const s of e)this.a.push(s);const t=Date.now()-this.g;return!this.b.value&&(!this.h.waitThrottleDelayBetweenWorkUnits||t>=this.h.throttleDelay)?this.m():!this.b.value&&this.h.waitThrottleDelayBetweenWorkUnits&&this.q(Math.max(this.h.throttleDelay-t,0)),!0}m(){this.g=Date.now(),this.j(this.a.splice(0,this.h.maxWorkChunkSize)),this.a.length>0&&this.q()}q(e=this.h.throttleDelay){this.b.value=new Yo(()=>{this.b.clear(),this.m()},e),this.b.value.schedule()}dispose(){super.dispose(),this.a.length=0,this.f=!0}},(function(){const e=globalThis;typeof e.requestIdleCallback!="function"||typeof e.cancelIdleCallback!="function"?Rh=(t,s,i)=>{w4(()=>{if(n)return;const r=Date.now()+15;s(Object.freeze({didTimeout:!0,timeRemaining(){return Math.max(0,r-Date.now())}}))});let n=!1;return{dispose(){n||(n=!0)}}}:Rh=(t,s,i)=>{const n=t.requestIdleCallback(s,typeof i=="number"?{timeout:i}:void 0);let r=!1;return{dispose(){r||(r=!0,t.cancelIdleCallback(n))}}},a6=(t,s)=>Rh(globalThis,t,s)})(),c6=class{constructor(e,t){this.l=!1,this.g=()=>{try{this.m=t()}catch(s){this.o=s}finally{this.l=!0}},this.j=Rh(e,()=>this.g())}dispose(){this.j.dispose()}get value(){if(this.l||(this.j.dispose(),this.g()),this.o)throw this.o;return this.m}get isInitialized(){return this.l}},l6=class extends c6{constructor(e){super(globalThis,e)}},(function(e){e[e.Resolved=0]="Resolved",e[e.Rejected=1]="Rejected"})(u6||(u6={})),Ko=class HN{static fromPromise(t){const s=new HN;return s.settleWith(t),s}get isRejected(){return this.d?.outcome===1}get isResolved(){return this.d?.outcome===0}get isSettled(){return!!this.d}get value(){return this.d?.outcome===0?this.d?.value:void 0}constructor(){this.p=new Promise((t,s)=>{this.a=t,this.b=s})}complete(t){return this.isSettled?Promise.resolve():new Promise(s=>{this.a(t),this.d={outcome:0,value:t},s()})}error(t){return this.isSettled?Promise.resolve():new Promise(s=>{this.b(t),this.d={outcome:1,value:t},s()})}settleWith(t){return t.then(s=>this.complete(s),s=>this.error(s))}cancel(){return this.error(new yt)}},(function(e){async function t(i){let n;const r=await Promise.all(i.map(o=>o.then(a=>a,a=>{n||(n=a)})));if(typeof n<"u")throw n;return r}e.settled=t;function s(i){return new Promise(async(n,r)=>{try{await i(n,r)}catch(o){r(o)}})}e.withAsyncBody=s})(rs||(rs={})),(function(e){e[e.Initial=0]="Initial",e[e.DoneOK=1]="DoneOK",e[e.DoneError=2]="DoneError"})(h6||(h6={})),FL=class Gs{static fromArray(t){return new Gs(s=>{s.emitMany(t)})}static fromPromise(t){return new Gs(async s=>{s.emitMany(await t)})}static fromPromisesResolveOrder(t){return new Gs(async s=>{await Promise.all(t.map(async i=>s.emitOne(await i)))})}static merge(t){return new Gs(async s=>{await Promise.all(t.map(async i=>{for await(const n of i)s.emitOne(n)}))})}static{this.EMPTY=Gs.fromArray([])}constructor(t,s){this.a=0,this.b=[],this.d=null,this.f=s,this.g=new D,queueMicrotask(async()=>{const i={emitOne:n=>this.h(n),emitMany:n=>this.j(n),reject:n=>this.l(n)};try{await Promise.resolve(t(i)),this.k()}catch(n){this.l(n)}finally{i.emitOne=void 0,i.emitMany=void 0,i.reject=void 0}})}[Symbol.asyncIterator](){let t=0;return{next:async()=>{do{if(this.a===2)throw this.d;if(t(this.f?.(),{done:!0,value:void 0})}}static map(t,s){return new Gs(async i=>{for await(const n of t)i.emitOne(s(n))})}map(t){return Gs.map(this,t)}static filter(t,s){return new Gs(async i=>{for await(const n of t)s(n)&&i.emitOne(n)})}filter(t){return Gs.filter(this,t)}static coalesce(t){return Gs.filter(t,s=>!!s)}coalesce(){return Gs.coalesce(this)}static async toPromise(t){const s=[];for await(const i of t)s.push(i);return s}toPromise(){return Gs.toPromise(this)}h(t){this.a===0&&(this.b.push(t),this.g.fire())}j(t){this.a===0&&(this.b=this.b.concat(t),this.g.fire())}k(){this.a===0&&(this.a=1,this.g.fire())}l(t){this.a===0&&(this.a=2,this.d=t,this.g.fire())}},f6=class{constructor(){this.a=[],this.b=[]}get hasFinalValue(){return!!this.d}produce(e){if(this.f(),this.a.length>0){const t=this.a.shift();this.g(t,e)}else this.b.push(e)}produceFinal(e){this.f(),this.d=e;for(const t of this.a)this.g(t,e);this.a.length=0}f(){if(this.d)throw new ns("ProducerConsumer: cannot produce after final value has been set")}g(e,t){t.ok?e.complete(t.value):e.error(t.error)}consume(){if(this.b.length>0||this.d){const e=this.b.length>0?this.b.shift():this.d;return e.ok?Promise.resolve(e.value):Promise.reject(e.error)}else{const e=new Ko;return this.a.push(e),e.p}}},HL=class Ms{constructor(t,s){this.b=s,this.a=new f6,this.g={next:()=>this.a.consume(),return:()=>(this.b?.(),Promise.resolve({done:!0,value:void 0})),throw:async i=>(this.f(i),{done:!0,value:void 0})},queueMicrotask(async()=>{const i=t({emitOne:n=>this.a.produce({ok:!0,value:{done:!1,value:n}}),emitMany:n=>{for(const r of n)this.a.produce({ok:!0,value:{done:!1,value:r}})},reject:n=>this.f(n)});if(!this.a.hasFinalValue)try{await i,this.d()}catch(n){this.f(n)}})}static fromArray(t){return new Ms(s=>{s.emitMany(t)})}static fromPromise(t){return new Ms(async s=>{s.emitMany(await t)})}static fromPromisesResolveOrder(t){return new Ms(async s=>{await Promise.all(t.map(async i=>s.emitOne(await i)))})}static merge(t){return new Ms(async s=>{await Promise.all(t.map(async i=>{for await(const n of i)s.emitOne(n)}))})}static{this.EMPTY=Ms.fromArray([])}static map(t,s){return new Ms(async i=>{for await(const n of t)i.emitOne(s(n))})}static tee(t){let s,i;const n=new Ko,r=async()=>{if(!(!s||!i))try{for await(const c of t)s.emitOne(c),i.emitOne(c)}catch(c){s.reject(c),i.reject(c)}finally{n.complete()}},o=new Ms(async c=>(s=c,r(),n.p)),a=new Ms(async c=>(i=c,r(),n.p));return[o,a]}map(t){return Ms.map(this,t)}static coalesce(t){return Ms.filter(t,s=>!!s)}coalesce(){return Ms.coalesce(this)}static filter(t,s){return new Ms(async i=>{for await(const n of t)s(n)&&i.emitOne(n)})}filter(t){return Ms.filter(this,t)}d(){this.a.hasFinalValue||this.a.produceFinal({ok:!0,value:{done:!0,value:void 0}})}f(t){this.a.hasFinalValue||this.a.produceFinal({ok:!1,error:t})}[Symbol.asyncIterator](){return this.g}}}});function V1(e){return d6(e,"NFC",p6)}function zL(e){return d6(e,"NFD",m6)}function d6(e,t,s){if(!e)return e;const i=s.get(e);if(i)return i;let n;return g6.test(e)?n=e.normalize(t):n=e,s.set(e,n),n}var p6,m6,g6,VL,B1=b({"out-build/vs/base/common/normalization.js"(){"use strict";Zt(),p6=new qo(1e4),m6=new qo(1e4),g6=/[^\u0000-\u0080]/,VL=(function(){const e=new qo(1e4),t=/[\u0300-\u036f]/g;return function(s){const i=e.get(s);if(i)return i;const n=zL(s).replace(t,""),r=(n.length===s.length?n:s).toLowerCase();return e.set(s,r),r}})()}});import*as Fe from"fs";import{tmpdir as BL}from"os";import{promisify as Uc}from"util";async function v6(e,t=ea.UNLINK,s){if(N5(e))throw new Error("rimraf - will refuse to recursively delete root");return t===ea.UNLINK?q1(e):qL(e,s)}async function qL(e,t=SL(BL())){try{try{await Fe.promises.rename(e,t)}catch(s){return s.code==="ENOENT"?void 0:q1(e)}q1(t).catch(()=>{})}catch(s){if(s.code!=="ENOENT")throw s}}async function q1(e){return Fe.promises.rm(e,{recursive:!0,force:!0,maxRetries:3})}async function Nh(e,t){try{return await b6(e,t)}catch(s){if(s.code==="ENOENT"&&ve&&N5(e))try{return await b6(`${e}.`,t)}catch{}throw s}}async function b6(e,t){return GL(await(t?WL(e):Fe.promises.readdir(e)))}async function WL(e){try{return await Fe.promises.readdir(e,{withFileTypes:!0})}catch(i){i.code!=="ENOENT"&&console.warn("[node.js fs] readdir with filetypes failed with error: ",i)}const t=[],s=await Nh(e);for(const i of s){let n=!1,r=!1,o=!1;try{const a=await Fe.promises.lstat(T(e,i));n=a.isFile(),r=a.isDirectory(),o=a.isSymbolicLink()}catch(a){a.code!=="ENOENT"&&console.warn("[node.js fs] unexpected error from lstat after readdir: ",a)}t.push({name:i,isFile:()=>n,isDirectory:()=>r,isSymbolicLink:()=>o})}return t}function GL(e){return e.map(t=>typeof t=="string"?js?V1(t):t:(t.name=js?V1(t.name):t.name,t))}async function JL(e){const t=await Nh(e),s=[];for(const i of t)await ps.existsDirectory(T(e,i))&&s.push(i);return s}function QL(e,t,s){return x6.queueFor(y.file(e),()=>{const i=YL(s);return new Promise((n,r)=>XL(e,t,i,o=>o?r(o):n()))},Dh)}function ZL(e){W1=e}function XL(e,t,s,i){if(!W1)return Fe.writeFile(e,t,{mode:s.mode,flag:s.flag},i);Fe.open(e,s.flag,s.mode,(n,r)=>{if(n)return i(n);Fe.writeFile(r,t,o=>{if(o)return Fe.close(r,()=>i(o));Fe.fdatasync(r,a=>(a&&(console.warn("[node.js fs] fdatasync is now disabled for this session because it failed: ",a),ZL(!1)),Fe.close(r,c=>i(c))))})})}function YL(e){return e?{mode:typeof e.mode=="number"?e.mode:438,flag:typeof e.flag=="string"?e.flag:"w"}:{mode:438,flag:"w"}}async function KL(e,t,s=6e4){if(e!==t)try{ve&&typeof s=="number"?await w6(e,t,Date.now(),s):await Fe.promises.rename(e,t)}catch(i){if(e.toLowerCase()!==t.toLowerCase()&&i.code==="EXDEV"||e.endsWith("."))await y6(e,t,{preserveSymlinks:!1}),await v6(e,ea.MOVE);else throw i}}async function w6(e,t,s,i,n=0){try{return await Fe.promises.rename(e,t)}catch(r){if(r.code!=="EACCES"&&r.code!=="EPERM"&&r.code!=="EBUSY")throw r;if(Date.now()-s>=i)throw console.error(`[node.js fs] rename failed after ${n} retries with error: ${r}`),r;if(n===0){let o=!1;try{const{stat:a}=await ps.stat(t);a.isFile()||(o=!0)}catch{}if(o)throw r}return await Jr(Math.min(100,n*10)),w6(e,t,s,i,n+1)}}async function y6(e,t,s){return E6(e,t,{root:{source:e,target:t},options:s,handledSourcePaths:new Set})}async function E6(e,t,s){if(s.handledSourcePaths.has(e))return;s.handledSourcePaths.add(e);const{stat:i,symbolicLink:n}=await ps.stat(e);if(n){if(s.options.preserveSymlinks)try{return await sO(e,t,s)}catch{}if(n.dangling)return}return i.isDirectory()?eO(e,t,i.mode&G1,s):tO(e,t,i.mode&G1)}async function eO(e,t,s,i){await Fe.promises.mkdir(t,{recursive:!0,mode:s});const n=await Nh(e);for(const r of n)await E6(T(e,r),T(t,r),i)}async function tO(e,t,s){await Fe.promises.copyFile(e,t),await Fe.promises.chmod(t,s)}async function sO(e,t,s){let i=await Fe.promises.readlink(e);ar(i,s.root.source,!ut)&&(i=T(s.root.target,i.substr(s.root.source.length+1))),await Fe.promises.symlink(i,t)}async function iO(e){try{return await Uc(Fe.realpath)(e)}catch{const t=nO(e);return await Fe.promises.access(t,Fe.constants.R_OK),t}}function nO(e){return k1(ei(e),Qt)}var ea,ps,x6,W1,G1,xe,ms=b({"out-build/vs/base/node/pfs.js"(){"use strict";Le(),In(),B1(),ge(),se(),pt(),Q(),ht(),(function(e){e[e.UNLINK=0]="UNLINK",e[e.MOVE=1]="MOVE"})(ea||(ea={})),(function(e){async function t(n){let r;try{if(r=await Fe.promises.lstat(n),!r.isSymbolicLink())return{stat:r}}catch{}try{return{stat:await Fe.promises.stat(n),symbolicLink:r?.isSymbolicLink()?{dangling:!1}:void 0}}catch(o){if(o.code==="ENOENT"&&r)return{stat:r,symbolicLink:{dangling:!0}};if(ve&&o.code==="EACCES")try{return{stat:await Fe.promises.stat(await Fe.promises.readlink(n)),symbolicLink:{dangling:!1}}}catch(a){if(a.code==="ENOENT"&&r)return{stat:r,symbolicLink:{dangling:!0}};throw a}throw o}}e.stat=t;async function s(n){try{const{stat:r,symbolicLink:o}=await e.stat(n);return r.isFile()&&o?.dangling!==!0}catch{}return!1}e.existsFile=s;async function i(n){try{const{stat:r,symbolicLink:o}=await e.stat(n);return r.isDirectory()&&o?.dangling!==!0}catch{}return!1}e.existsDirectory=i})(ps||(ps={})),x6=new F1,W1=!0,G1=511,xe=new class{get read(){return(e,t,s,i,n)=>new Promise((r,o)=>{Fe.read(e,t,s,i,n,(a,c,l)=>a?o(a):r({bytesRead:c,buffer:l}))})}get write(){return(e,t,s,i,n)=>new Promise((r,o)=>{Fe.write(e,t,s,i,n,(a,c,l)=>a?o(a):r({bytesWritten:c,buffer:l}))})}get fdatasync(){return Uc(Fe.fdatasync)}get open(){return Uc(Fe.open)}get close(){return Uc(Fe.close)}get ftruncate(){return Uc(Fe.ftruncate)}async exists(e){try{return await Fe.promises.access(e),!0}catch{return!1}}get readdir(){return Nh}get readDirsInDir(){return JL}get writeFile(){return QL}get rm(){return v6}get rename(){return KL}get copy(){return y6}get realpath(){return iO}}}});import{promises as Rn}from"fs";async function k6({userLocale:e,osLocale:t,userDataPath:s,commit:i,nlsMetadataPath:n}){if(Nt("code/willGenerateNls"),process.env.VSCODE_DEV||e==="pseudo"||e.startsWith("en")||!i||!s)return Tc(e,t,n);try{const r=await rO(s);if(!r)return Tc(e,t,n);const o=oO(r,e);if(!o)return Tc(e,t,n);const a=r[o],c=a?.translations?.vscode;if(!a||typeof a.hash!="string"||!a.translations||typeof c!="string"||!await xe.exists(c))return Tc(e,t,n);const l=`${a.hash}.${o}`,u=T(s,"clp",l),h=T(u,i),d=T(h,"nls.messages.json"),p=T(u,"tcf.json"),g=T(u,"corrupted.info");await xe.exists(g)&&await Rn.rm(u,{recursive:!0,force:!0,maxRetries:3});const v={userLocale:e,osLocale:t,resolvedLanguage:o,defaultMessagesFile:T(n,"nls.messages.json"),languagePack:{translationsConfigFile:p,messagesFile:d,corruptMarkerFile:g},locale:e,availableLanguages:{"*":o},_languagePackId:l,_languagePackSupport:!0,_translationsConfigFile:p,_cacheRoot:u,_resolvedLanguagePackCoreLocation:h,_corruptedFile:g};if(await xe.exists(d))return aO(h).catch(()=>{}),Nt("code/didGenerateNls"),v;const[w,k,x]=await Promise.all([Rn.readFile(T(n,"nls.keys.json"),"utf-8").then(z=>JSON.parse(z)),Rn.readFile(T(n,"nls.messages.json"),"utf-8").then(z=>JSON.parse(z)),Rn.readFile(c,"utf-8").then(z=>JSON.parse(z))]),A=[];let _=0;for(const[z,Ce]of w){const C=x.contents[z];for(const j of Ce)A.push(C?.[j]||k[_]),_++}return await Rn.mkdir(h,{recursive:!0}),await Promise.all([Rn.writeFile(d,JSON.stringify(A),"utf-8"),Rn.writeFile(p,JSON.stringify(a.translations),"utf-8")]),Nt("code/didGenerateNls"),v}catch(r){console.error("Generating translation files failed.",r)}return Tc(e,t,n)}async function rO(e){const t=T(e,"languagepacks.json");try{return JSON.parse(await Rn.readFile(t,"utf-8"))}catch{return}}function oO(e,t){try{for(;t;){if(e[t])return t;const s=t.lastIndexOf("-");if(s>0)t=t.substring(0,s);else return}}catch(s){console.error("Resolving language pack configuration failed.",s)}}function Tc(e,t,s){return Nt("code/didGenerateNls"),{userLocale:e,osLocale:t,resolvedLanguage:"en",defaultMessagesFile:T(s,"nls.messages.json"),locale:e,availableLanguages:{}}}function aO(e){const t=new Date;return Rn.utimes(e,t,t)}var S6=b({"out-build/vs/base/node/nls.js"(){"use strict";ge(),vn(),ms()}}),Ch,J1=b({"out-build/vs/platform/instantiation/common/serviceCollection.js"(){"use strict";Ch=class{constructor(...e){this.a=new Map;for(const[t,s]of e)this.set(t,s)}set(e,t){const s=this.a.get(e);return this.a.set(e,t),s}has(e){return this.a.has(e)}get(e){return this.a.get(e)}}}});function Q1(e,t){return t&&(e.stack||e.stacktrace)?m(113,null,I6(e),$6(e.stack)||$6(e.stacktrace)):I6(e)}function $6(e){return Array.isArray(e)?e.join(` `):e}function I6(e){return e.code==="ERR_UNC_HOST_NOT_ALLOWED"?`${e.message}. Please update the 'security.allowedUNCHosts' setting if you want to allow this host.`:typeof e.code=="string"&&typeof e.errno=="number"&&typeof e.syscall=="string"?m(114,null,e.message):e.message||m(115,null)}function Xr(e=null,t=!1){if(!e)return m(116,null);if(Array.isArray(e)){const s=ti(e),i=Xr(s[0],t);return s.length>1?m(117,null,i,s.length):i}if(ee(e))return e;if(e.detail){const s=e.detail;if(s.error)return Q1(s.error,t);if(s.exception)return Q1(s.exception,t)}return e.stack?Q1(e,t):e.message?e.message:m(118,null)}var ta=b({"out-build/vs/base/common/errorMessage.js"(){"use strict";nt(),be(),ae()}});function Lh(e){const t=e;return t?[t.on,t.pause,t.resume,t.destroy].every(s=>typeof s=="function"):!1}function Z1(e){const t=e;return t?Lh(t.stream)&&Array.isArray(t.buffer)&&typeof t.ended=="boolean":!1}function Oh(e,t){return new D6(e,t)}function cO(e,t){const s=[];let i;for(;(i=e.read())!==null;)s.push(i);return t(s)}function lO(e,t,s){const i=[];let n;for(;(n=e.read())!==null&&i.length0?t(i):{read:()=>{if(i.length>0)return i.shift();if(typeof n<"u"){const r=n;return n=void 0,r}return e.read()}}}function P6(e,t){return new Promise((s,i)=>{const n=[];Mh(e,{onData:r=>{t&&n.push(r)},onError:r=>{t?i(r):s(void 0)},onEnd:()=>{s(t?t(n):void 0)}})})}function Mh(e,t,s){e.on("error",i=>{s?.isCancellationRequested||t.onError(i)}),e.on("end",()=>{s?.isCancellationRequested||t.onEnd()}),e.on("data",i=>{s?.isCancellationRequested||t.onData(i)})}function uO(e,t){return new Promise((s,i)=>{const n=new Qe,r=[],o=l=>{if(r.push(l),r.length>t)return n.dispose(),e.pause(),s({stream:e,buffer:r,ended:!1})},a=l=>(n.dispose(),i(l)),c=()=>(n.dispose(),s({stream:e,buffer:r,ended:!0}));n.add(De(()=>e.removeListener("error",a))),e.on("error",a),n.add(De(()=>e.removeListener("end",c))),e.on("end",c),n.add(De(()=>e.removeListener("data",o))),e.on("data",o)})}function hO(e){let t=!1;return{read:()=>t?null:(t=!0,e)}}function A6(e,t,s){const i=Oh(s);return Mh(e,{onData:n=>i.write(t.data(n)),onError:n=>i.error(t.error?t.error(n):n),onEnd:()=>i.end()}),i}var D6,Fc=b({"out-build/vs/base/common/stream.js"(){"use strict";ce(),H(),D6=class{constructor(e,t){this.e=e,this.f=t,this.a={flowing:!1,ended:!1,destroyed:!1},this.b={data:[],error:[]},this.c={data:[],error:[],end:[]},this.d=[]}pause(){this.a.destroyed||(this.a.flowing=!1)}resume(){this.a.destroyed||this.a.flowing||(this.a.flowing=!0,this.j(),this.k(),this.l())}write(e){if(!this.a.destroyed){if(this.a.flowing)this.g(e);else if(this.b.data.push(e),typeof this.f?.highWaterMark=="number"&&this.b.data.length>this.f.highWaterMark)return new Promise(t=>this.d.push(t))}}error(e){this.a.destroyed||(this.a.flowing?this.h(e):this.b.error.push(e))}end(e){this.a.destroyed||(typeof e<"u"&&this.write(e),this.a.flowing?(this.i(),this.destroy()):this.a.ended=!0)}g(e){this.c.data.slice(0).forEach(t=>t(e))}h(e){this.c.error.length===0?wt(e):this.c.error.slice(0).forEach(t=>t(e))}i(){this.c.end.slice(0).forEach(e=>e())}on(e,t){if(!this.a.destroyed)switch(e){case"data":this.c.data.push(t),this.resume();break;case"end":this.c.end.push(t),this.a.flowing&&this.l()&&this.destroy();break;case"error":this.c.error.push(t),this.a.flowing&&this.k();break}}removeListener(e,t){if(this.a.destroyed)return;let s;switch(e){case"data":s=this.c.data;break;case"end":s=this.c.end;break;case"error":s=this.c.error;break}if(s){const i=s.indexOf(t);i>=0&&s.splice(i,1)}}j(){if(this.b.data.length===0)return;if(typeof this.e=="function"){const t=this.e(this.b.data);this.g(t)}else for(const t of this.b.data)this.g(t);this.b.data.length=0;const e=[...this.d];this.d.length=0,e.forEach(t=>t())}k(){if(this.c.error.length>0){for(const e of this.b.error)this.h(e);this.b.error.length=0}}l(){return this.a.ended?(this.i(),this.c.end.length>0):!1}destroy(){this.a.destroyed||(this.a.destroyed=!0,this.a.ended=!0,this.b.data.length=0,this.b.error.length=0,this.c.data.length=0,this.c.error.length=0,this.c.end.length=0,this.d.length=0)}}}});function fO(e,t,s=0){const i=t.byteLength,n=e.byteLength;if(i===0)return 0;if(i===1)return e.indexOf(t[0],s);if(i>n-s)return-1;const r=N6.value;r.fill(t.length);for(let l=0;l>>8,e[s+2]=t,t=t>>>8,e[s+1]=t,t=t>>>8,e[s]=t}function mO(e,t){return e[t+0]<<0>>>0|e[t+1]<<8>>>0|e[t+2]<<16>>>0|e[t+3]<<24>>>0}function gO(e,t,s){e[s+0]=t&255,t=t>>>8,e[s+1]=t&255,t=t>>>8,e[s+2]=t&255,t=t>>>8,e[s+3]=t&255}function vO(e,t){return e[t]}function bO(e,t,s){e[s]=t}function wO(e){return cO(e,t=>R.concat(t))}function yO(e){return hO(e)}function Nn(e){return P6(e,t=>R.concat(t))}async function EO(e){return e.ended?R.concat(e.buffer):R.concat([...e.buffer,await Nn(e.stream)])}function xO(e){return A6(e,{data:t=>typeof t=="string"?R.fromString(t):R.wrap(t)},t=>R.concat(t))}function kO(e){return Oh(t=>R.concat(t),e)}function _h(e){let t=0,s=0,i=0;const n=new Uint8Array(Math.floor(e.length/4*3)),r=a=>{switch(s){case 3:n[i++]=t|a,s=0;break;case 2:n[i++]=t|a>>>2,t=a<<6,s=3;break;case 1:n[i++]=t|a>>>4,t=a<<4,s=2;break;default:t=a<<2,s=1}};for(let a=0;a=65&&c<=90)r(c-65);else if(c>=97&&c<=122)r(c-97+26);else if(c>=48&&c<=57)r(c-48+52);else if(c===43||c===45)r(62);else if(c===47||c===95)r(63);else{if(c===61)break;throw new SyntaxError(`Unexpected base64 character ${e[a]}`)}}const o=i;for(;s>0;)r(0);return R.wrap(n).slice(0,o)}function sa({buffer:e},t=!0,s=!1){const i=s?L6:C6;let n="";const r=e.byteLength%3;let o=0;for(;o>>2],n+=i[(a<<4|c>>>4)&63],n+=i[(c<<2|l>>>6)&63],n+=i[l&63]}if(r===1){const a=e[o+0];n+=i[a>>>2],n+=i[a<<4&63],t&&(n+="==")}else if(r===2){const a=e[o+0],c=e[o+1];n+=i[a>>>2],n+=i[(a<<4|c>>>4)&63],n+=i[c<<2&63],t&&(n+="=")}return n}function X1({buffer:e}){let t="";for(let s=0;s>>4],t+=eg[i&15]}return t}function SO(e){if(e.length%2!==0)throw new SyntaxError("Hex string must have an even length");const t=new Uint8Array(e.length>>1);for(let s=0;s>1]=R6(e,s++)<<4|R6(e,s++);return R.wrap(t)}function R6(e,t){const s=e.charCodeAt(t);if(s>=48&&s<=57)return s-48;if(s>=97&&s<=102)return s-87;if(s>=65&&s<=70)return s-55;throw new SyntaxError(`Invalid hex character at position ${t}`)}var ia,N6,Y1,K1,R,C6,L6,eg,Ne=b({"out-build/vs/base/common/buffer.js"(){"use strict";Qo(),Fc(),ia=typeof Buffer<"u",N6=new ir(()=>new Uint8Array(256)),R=class bi{static alloc(t){return ia?new bi(Buffer.allocUnsafe(t)):new bi(new Uint8Array(t))}static wrap(t){return ia&&!Buffer.isBuffer(t)&&(t=Buffer.from(t.buffer,t.byteOffset,t.byteLength)),new bi(t)}static fromString(t,s){return!(s?.dontUseNodeBuffer||!1)&&ia?new bi(Buffer.from(t)):(Y1||(Y1=new TextEncoder),new bi(Y1.encode(t)))}static fromByteArray(t){const s=bi.alloc(t.length);for(let i=0,n=t.length;i"u"){s=0;for(let r=0,o=t.length;rs===t.buffer[i])}},C6="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",L6="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",eg="0123456789abcdef"}});function na(e){return tg(e,0)}function tg(e,t){switch(typeof e){case"object":return e===null?Cn(349,t):Array.isArray(e)?IO(e,t):PO(e,t);case"string":return O6(e,t);case"boolean":return $O(e,t);case"number":return Cn(e,t);case"undefined":return Cn(937,t);default:return Cn(617,t)}}function Cn(e,t){return(t<<5)-t+e|0}function $O(e,t){return Cn(e?433:863,t)}function O6(e,t){t=Cn(149417,t);for(let s=0,i=e.length;stg(i,s),t)}function PO(e,t){return t=Cn(181387,t),Object.keys(e).sort().reduce((s,i)=>(s=O6(i,s),tg(e[i],s)),t)}function sg(e,t,s=32){const i=s-t,n=~((1<>>i)>>>0}function Hc(e,t=32){return e instanceof ArrayBuffer?X1(R.wrap(new Uint8Array(e))):(e>>>0).toString(16).padStart(t/4,"0")}var M6,AO,zc=b({"out-build/vs/base/common/hash.js"(){"use strict";Ne(),ht(),(function(e){e[e.BLOCK_SIZE=64]="BLOCK_SIZE",e[e.UNICODE_REPLACEMENT=65533]="UNICODE_REPLACEMENT"})(M6||(M6={})),AO=class zN{static{this.g=new DataView(new ArrayBuffer(320))}constructor(){this.h=1732584193,this.l=4023233417,this.m=2562383102,this.n=271733878,this.o=3285377520,this.p=new Uint8Array(67),this.q=new DataView(this.p.buffer),this.r=0,this.t=0,this.u=0,this.v=!1}update(t){const s=t.length;if(s===0)return;const i=this.p;let n=this.r,r=this.u,o,a;for(r!==0?(o=r,a=-1,r=0):(o=t.charCodeAt(0),a=0);;){let c=o;if(pL(o))if(a+1>>6,t[s++]=128|(i&63)>>>0):i<65536?(t[s++]=224|(i&61440)>>>12,t[s++]=128|(i&4032)>>>6,t[s++]=128|(i&63)>>>0):(t[s++]=240|(i&1835008)>>>18,t[s++]=128|(i&258048)>>>12,t[s++]=128|(i&4032)>>>6,t[s++]=128|(i&63)>>>0),s>=64&&(this.y(),s-=64,this.t+=64,t[0]=t[64],t[1]=t[65],t[2]=t[66]),s}digest(){return this.v||(this.v=!0,this.u&&(this.u=0,this.r=this.w(this.p,this.r,65533)),this.t+=this.r,this.x()),Hc(this.h)+Hc(this.l)+Hc(this.m)+Hc(this.n)+Hc(this.o)}x(){this.p[this.r++]=128,this.p.subarray(this.r).fill(0),this.r>56&&(this.y(),this.p.fill(0));const t=8*this.t;this.q.setUint32(56,Math.floor(t/4294967296),!1),this.q.setUint32(60,t%4294967296,!1),this.y()}y(){const t=zN.g,s=this.q;for(let h=0;h<64;h+=4)t.setUint32(h,s.getUint32(h,!1),!1);for(let h=64;h<320;h+=4)t.setUint32(h,sg(t.getUint32(h-12,!1)^t.getUint32(h-32,!1)^t.getUint32(h-56,!1)^t.getUint32(h-64,!1),1),!1);let i=this.h,n=this.l,r=this.m,o=this.n,a=this.o,c,l,u;for(let h=0;h<80;h++)h<20?(c=n&r|~n&o,l=1518500249):h<40?(c=n^r^o,l=1859775393):h<60?(c=n&r|n&o|r&o,l=2400959708):(c=n^r^o,l=3395469782),u=sg(i,5)+c+a+l+t.getUint32(h*4,!1)&4294967295,a=o,o=r,r=sg(n,30),n=i,i=u;this.h=this.h+i&4294967295,this.l=this.l+n&4294967295,this.m=this.m+r&4294967295,this.n=this.n+o&4294967295,this.o=this.o+a&4294967295}}}});function ig(...e){switch(e.length){case 1:return m(1872,null,e[0]);case 2:return m(1873,null,e[0],e[1]);case 3:return m(1874,null,e[0],e[1],e[2]);default:return}}var _6,j6,U6,ra,DO=b({"out-build/vs/platform/contextkey/common/scanner.js"(){"use strict";ce(),ae(),(function(e){e[e.LParen=0]="LParen",e[e.RParen=1]="RParen",e[e.Neg=2]="Neg",e[e.Eq=3]="Eq",e[e.NotEq=4]="NotEq",e[e.Lt=5]="Lt",e[e.LtEq=6]="LtEq",e[e.Gt=7]="Gt",e[e.GtEq=8]="GtEq",e[e.RegexOp=9]="RegexOp",e[e.RegexStr=10]="RegexStr",e[e.True=11]="True",e[e.False=12]="False",e[e.In=13]="In",e[e.Not=14]="Not",e[e.And=15]="And",e[e.Or=16]="Or",e[e.Str=17]="Str",e[e.QuotedStr=18]="QuotedStr",e[e.Error=19]="Error",e[e.EOF=20]="EOF"})(_6||(_6={})),j6=m(1875,null),U6=m(1876,null),ra=class Ly{constructor(){this.c="",this.d=0,this.e=0,this.f=[],this.g=[],this.m=/[a-zA-Z0-9_<>\-\./\\:\*\?\+\[\]\^,#@;"%\$\p{L}-]+/uy}static getLexeme(t){switch(t.type){case 0:return"(";case 1:return")";case 2:return"!";case 3:return t.isTripleEq?"===":"==";case 4:return t.isTripleEq?"!==":"!=";case 5:return"<";case 6:return"<=";case 7:return">=";case 8:return">=";case 9:return"=~";case 10:return t.lexeme;case 11:return"true";case 12:return"false";case 13:return"in";case 14:return"not";case 15:return"&&";case 16:return"||";case 17:return t.lexeme;case 18:return t.lexeme;case 19:return t.lexeme;case 20:return"EOF";default:throw _4(`unhandled token type: ${JSON.stringify(t)}; have you forgotten to add a case?`)}}static{this.a=new Set(["i","g","s","m","y","u"].map(t=>t.charCodeAt(0)))}static{this.b=new Map([["not",14],["in",13],["false",12],["true",11]])}get errors(){return this.g}reset(t){return this.c=t,this.d=0,this.e=0,this.f=[],this.g=[],this}scan(){for(;!this.r();)switch(this.d=this.e,this.i()){case 40:this.k(0);break;case 41:this.k(1);break;case 33:if(this.h(61)){const s=this.h(61);this.f.push({type:4,offset:this.d,isTripleEq:s})}else this.k(2);break;case 39:this.o();break;case 47:this.q();break;case 61:if(this.h(61)){const s=this.h(61);this.f.push({type:3,offset:this.d,isTripleEq:s})}else this.h(126)?this.k(9):this.l(ig("==","=~"));break;case 60:this.k(this.h(61)?6:5);break;case 62:this.k(this.h(61)?8:7);break;case 38:this.h(38)?this.k(15):this.l(ig("&&"));break;case 124:this.h(124)?this.k(16):this.l(ig("||"));break;case 32:case 13:case 9:case 10:case 160:break;default:this.n()}return this.d=this.e,this.k(20),Array.from(this.f)}h(t){return this.r()||this.c.charCodeAt(this.e)!==t?!1:(this.e++,!0)}i(){return this.c.charCodeAt(this.e++)}j(){return this.r()?0:this.c.charCodeAt(this.e)}k(t){this.f.push({type:t,offset:this.d})}l(t){const s=this.d,i=this.c.substring(this.d,this.e),n={type:19,offset:this.d,lexeme:i};this.g.push({offset:s,lexeme:i,additionalInfo:t}),this.f.push(n)}n(){this.m.lastIndex=this.d;const t=this.m.exec(this.c);if(t){this.e=this.d+t[0].length;const s=this.c.substring(this.d,this.e),i=Ly.b.get(s);i?this.k(i):this.f.push({type:17,lexeme:s,offset:this.d})}}o(){for(;this.j()!==39&&!this.r();)this.i();if(this.r()){this.l(j6);return}this.i(),this.f.push({type:18,lexeme:this.c.substring(this.d+1,this.e-1),offset:this.d+1})}q(){let t=this.e,s=!1,i=!1;for(;;){if(t>=this.c.length){this.e=t,this.l(U6);return}const r=this.c.charCodeAt(t);if(s)s=!1;else if(r===47&&!i){t++;break}else r===91?i=!0:r===92?s=!0:r===93&&(i=!1);t++}for(;t=this.c.length}}}});function RO(e,t,s){t[Ii.DI_TARGET]===t?t[Ii.DI_DEPENDENCIES].push({id:e,index:s}):(t[Ii.DI_DEPENDENCIES]=[{id:e,index:s}],t[Ii.DI_TARGET]=t)}function Z(e){if(Ii.serviceIds.has(e))return Ii.serviceIds.get(e);const t=function(s,i,n){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");RO(t,s,n)};return t.toString=()=>e,Ii.serviceIds.set(e,t),t}function Mq(e){return e}var Ii,cr,te=b({"out-build/vs/platform/instantiation/common/instantiation.js"(){"use strict";(function(e){e.serviceIds=new Map,e.DI_TARGET="$di$target",e.DI_DEPENDENCIES="$di$dependencies";function t(s){return s[e.DI_DEPENDENCIES]||[]}e.getServiceDependencies=t})(Ii||(Ii={})),cr=Z("instantiationService")}});function Vc(e,t){return e.cmp(t)}function jh(e,t){if(typeof e=="string"){const s=parseFloat(e);isNaN(s)||(e=s)}return typeof e=="string"||typeof e=="number"?t(e):os.INSTANCE}function T6(e){let t=null;for(let s=0,i=e.length;st?1:0}function Yr(e,t,s,i){return es?1:ti?1:0}function H6(e){return e.type===9?e.expr:[e]}var Lt,z6,V6,B6,q6,W6,G6,ng,J6,Q6,Z6,X6,Y6,zt,os,gs,Kr,oa,Uh,Th,aa,eo,ca,Bc,qc,Wc,la,K6,rg,Fh,lr,NO,Gc=b({"out-build/vs/platform/contextkey/common/contextkey.js"(){"use strict";se(),ht(),DO(),te(),ae(),ce(),Lt=new Map,Lt.set("false",!1),Lt.set("true",!0),Lt.set("isMac",js),Lt.set("isLinux",ut),Lt.set("isWindows",ve),Lt.set("isWeb",Ys),Lt.set("isMacNative",js&&!Ys),Lt.set("isEdge",k4),Lt.set("isFirefox",E4),Lt.set("isChrome",i1),Lt.set("isSafari",x4),z6=Object.prototype.hasOwnProperty,(function(e){e[e.False=0]="False",e[e.True=1]="True",e[e.Defined=2]="Defined",e[e.Not=3]="Not",e[e.Equals=4]="Equals",e[e.NotEquals=5]="NotEquals",e[e.And=6]="And",e[e.Regex=7]="Regex",e[e.NotRegex=8]="NotRegex",e[e.Or=9]="Or",e[e.In=10]="In",e[e.NotIn=11]="NotIn",e[e.Greater=12]="Greater",e[e.GreaterEquals=13]="GreaterEquals",e[e.Smaller=14]="Smaller",e[e.SmallerEquals=15]="SmallerEquals"})(V6||(V6={})),B6={regexParsingWithErrorRecovery:!0},q6=m(1852,null),W6=m(1853,null),G6=m(1854,null),ng=m(1855,null),J6=m(1856,null),Q6=m(1857,null),Z6=m(1858,null),X6=m(1859,null),Y6=class ih{static{this.c=new Error}get lexingErrors(){return this.d.errors}get parsingErrors(){return this.h}constructor(t=B6){this.k=t,this.d=new ra,this.f=[],this.g=0,this.h=[],this.v=/g|y/g}parse(t){if(t===""){this.h.push({message:q6,offset:0,lexeme:"",additionalInfo:W6});return}this.f=this.d.reset(t).scan(),this.g=0,this.h=[];try{const s=this.l();if(!this.E()){const i=this.D(),n=i.type===17?Q6:void 0;throw this.h.push({message:J6,offset:i.offset,lexeme:ra.getLexeme(i),additionalInfo:n}),ih.c}return s}catch(s){if(s!==ih.c)throw s;return}}l(){return this.m()}m(){const t=[this.o()];for(;this.y(16);){const s=this.o();t.push(s)}return t.length===1?t[0]:zt.or(...t)}o(){const t=[this.s()];for(;this.y(15);){const s=this.s();t.push(s)}return t.length===1?t[0]:zt.and(...t)}s(){if(this.y(2)){const t=this.D();switch(t.type){case 11:return this.z(),os.INSTANCE;case 12:return this.z(),gs.INSTANCE;case 0:{this.z();const s=this.l();return this.A(1,ng),s?.negate()}case 17:return this.z(),eo.create(t.lexeme);default:throw this.B("KEY | true | false | '(' expression ')'",t)}}return this.t()}t(){const t=this.D();switch(t.type){case 11:return this.z(),zt.true();case 12:return this.z(),zt.false();case 0:{this.z();const s=this.l();return this.A(1,ng),s}case 17:{const s=t.lexeme;if(this.z(),this.y(9)){const n=this.D();if(!this.k.regexParsingWithErrorRecovery){if(this.z(),n.type!==10)throw this.B("REGEX",n);const r=n.lexeme,o=r.lastIndexOf("/"),a=o===r.length-1?void 0:this.w(r.substring(o+1));let c;try{c=new RegExp(r.substring(1,o),a)}catch{throw this.B("REGEX",n)}return la.create(s,c)}switch(n.type){case 10:case 19:{const r=[n.lexeme];this.z();let o=this.D(),a=0;for(let d=0;d=0){const l=r.slice(a+1,c),u=r[c+1]==="i"?"i":"";try{o=new RegExp(l,u)}catch{throw this.B("REGEX",n)}}}if(o===null)throw this.B("REGEX",n);return la.create(s,o)}default:throw this.B("REGEX",this.D())}}if(this.y(14)){this.A(13,G6);const n=this.u();return zt.notIn(s,n)}switch(this.D().type){case 3:{this.z();const n=this.u();if(this.x().type===18)return zt.equals(s,n);switch(n){case"true":return zt.has(s);case"false":return zt.not(s);default:return zt.equals(s,n)}}case 4:{this.z();const n=this.u();if(this.x().type===18)return zt.notEquals(s,n);switch(n){case"true":return zt.not(s);case"false":return zt.has(s);default:return zt.notEquals(s,n)}}case 5:return this.z(),qc.create(s,this.u());case 6:return this.z(),Wc.create(s,this.u());case 7:return this.z(),ca.create(s,this.u());case 8:return this.z(),Bc.create(s,this.u());case 13:return this.z(),zt.in(s,this.u());default:return zt.has(s)}}case 20:throw this.h.push({message:Z6,offset:t.offset,lexeme:"",additionalInfo:X6}),ih.c;default:throw this.B(`true | false | KEY | KEY '=~' REGEX | KEY ('==' | '!=' | '<' | '<=' | '>' | '>=' | 'in' | 'not' 'in') value`,this.D())}}u(){const t=this.D();switch(t.type){case 17:case 18:return this.z(),t.lexeme;case 11:return this.z(),"true";case 12:return this.z(),"false";case 13:return this.z(),"in";default:return""}}w(t){return t.replaceAll(this.v,"")}x(){return this.f[this.g-1]}y(t){return this.C(t)?(this.z(),!0):!1}z(){return this.E()||this.g++,this.x()}A(t,s){if(this.C(t))return this.z();throw this.B(s,this.D())}B(t,s,i){const n=m(1860,null,t,ra.getLexeme(s)),r=s.offset,o=ra.getLexeme(s);return this.h.push({message:n,offset:r,lexeme:o,additionalInfo:i}),ih.c}C(t){return this.D().type===t}D(){return this.f[this.g]}E(){return this.D().type===20}},zt=class{static false(){return os.INSTANCE}static true(){return gs.INSTANCE}static has(e){return Kr.create(e)}static equals(e,t){return oa.create(e,t)}static notEquals(e,t){return aa.create(e,t)}static regex(e,t){return la.create(e,t)}static in(e,t){return Uh.create(e,t)}static notIn(e,t){return Th.create(e,t)}static not(e){return eo.create(e)}static and(...e){return rg.create(e,null,!0)}static or(...e){return Fh.create(e,null,!0)}static greater(e,t){return ca.create(e,t)}static greaterEquals(e,t){return Bc.create(e,t)}static smaller(e,t){return qc.create(e,t)}static smallerEquals(e,t){return Wc.create(e,t)}static{this.c=new Y6({regexParsingWithErrorRecovery:!1})}static deserialize(e){return e==null?void 0:this.c.parse(e)}},os=class VN{static{this.INSTANCE=new VN}constructor(){this.type=0}cmp(t){return this.type-t.type}equals(t){return t.type===this.type}substituteConstants(){return this}evaluate(t){return!1}serialize(){return"false"}keys(){return[]}map(t){return this}negate(){return gs.INSTANCE}},gs=class BN{static{this.INSTANCE=new BN}constructor(){this.type=1}cmp(t){return this.type-t.type}equals(t){return t.type===this.type}substituteConstants(){return this}evaluate(t){return!0}serialize(){return"true"}keys(){return[]}map(t){return this}negate(){return os.INSTANCE}},Kr=class qN{static create(t,s=null){const i=Lt.get(t);return typeof i=="boolean"?i?gs.INSTANCE:os.INSTANCE:new qN(t,s)}constructor(t,s){this.key=t,this.c=s,this.type=2}cmp(t){return t.type!==this.type?this.type-t.type:F6(this.key,t.key)}equals(t){return t.type===this.type?this.key===t.key:!1}substituteConstants(){const t=Lt.get(this.key);return typeof t=="boolean"?t?gs.INSTANCE:os.INSTANCE:this}evaluate(t){return!!t.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}map(t){return t.mapDefined(this.key)}negate(){return this.c||(this.c=eo.create(this.key,this)),this.c}},oa=class WN{static create(t,s,i=null){if(typeof s=="boolean")return s?Kr.create(t,i):eo.create(t,i);const n=Lt.get(t);return typeof n=="boolean"?s===(n?"true":"false")?gs.INSTANCE:os.INSTANCE:new WN(t,s,i)}constructor(t,s,i){this.c=t,this.d=s,this.f=i,this.type=4}cmp(t){return t.type!==this.type?this.type-t.type:Yr(this.c,this.d,t.c,t.d)}equals(t){return t.type===this.type?this.c===t.c&&this.d===t.d:!1}substituteConstants(){const t=Lt.get(this.c);if(typeof t=="boolean"){const s=t?"true":"false";return this.d===s?gs.INSTANCE:os.INSTANCE}return this}evaluate(t){return t.getValue(this.c)==this.d}serialize(){return`${this.c} == '${this.d}'`}keys(){return[this.c]}map(t){return t.mapEquals(this.c,this.d)}negate(){return this.f||(this.f=aa.create(this.c,this.d,this)),this.f}},Uh=class GN{static create(t,s){return new GN(t,s)}constructor(t,s){this.d=t,this.f=s,this.type=10,this.c=null}cmp(t){return t.type!==this.type?this.type-t.type:Yr(this.d,this.f,t.d,t.f)}equals(t){return t.type===this.type?this.d===t.d&&this.f===t.f:!1}substituteConstants(){return this}evaluate(t){const s=t.getValue(this.f),i=t.getValue(this.d);return Array.isArray(s)?s.includes(i):typeof i=="string"&&typeof s=="object"&&s!==null?z6.call(s,i):!1}serialize(){return`${this.d} in '${this.f}'`}keys(){return[this.d,this.f]}map(t){return t.mapIn(this.d,this.f)}negate(){return this.c||(this.c=Th.create(this.d,this.f)),this.c}},Th=class JN{static create(t,s){return new JN(t,s)}constructor(t,s){this.d=t,this.f=s,this.type=11,this.c=Uh.create(t,s)}cmp(t){return t.type!==this.type?this.type-t.type:this.c.cmp(t.c)}equals(t){return t.type===this.type?this.c.equals(t.c):!1}substituteConstants(){return this}evaluate(t){return!this.c.evaluate(t)}serialize(){return`${this.d} not in '${this.f}'`}keys(){return this.c.keys()}map(t){return t.mapNotIn(this.d,this.f)}negate(){return this.c}},aa=class QN{static create(t,s,i=null){if(typeof s=="boolean")return s?eo.create(t,i):Kr.create(t,i);const n=Lt.get(t);return typeof n=="boolean"?s===(n?"true":"false")?os.INSTANCE:gs.INSTANCE:new QN(t,s,i)}constructor(t,s,i){this.c=t,this.d=s,this.f=i,this.type=5}cmp(t){return t.type!==this.type?this.type-t.type:Yr(this.c,this.d,t.c,t.d)}equals(t){return t.type===this.type?this.c===t.c&&this.d===t.d:!1}substituteConstants(){const t=Lt.get(this.c);if(typeof t=="boolean"){const s=t?"true":"false";return this.d===s?os.INSTANCE:gs.INSTANCE}return this}evaluate(t){return t.getValue(this.c)!=this.d}serialize(){return`${this.c} != '${this.d}'`}keys(){return[this.c]}map(t){return t.mapNotEquals(this.c,this.d)}negate(){return this.f||(this.f=oa.create(this.c,this.d,this)),this.f}},eo=class ZN{static create(t,s=null){const i=Lt.get(t);return typeof i=="boolean"?i?os.INSTANCE:gs.INSTANCE:new ZN(t,s)}constructor(t,s){this.c=t,this.d=s,this.type=3}cmp(t){return t.type!==this.type?this.type-t.type:F6(this.c,t.c)}equals(t){return t.type===this.type?this.c===t.c:!1}substituteConstants(){const t=Lt.get(this.c);return typeof t=="boolean"?t?os.INSTANCE:gs.INSTANCE:this}evaluate(t){return!t.getValue(this.c)}serialize(){return`!${this.c}`}keys(){return[this.c]}map(t){return t.mapNot(this.c)}negate(){return this.d||(this.d=Kr.create(this.c,this)),this.d}},ca=class XN{static create(t,s,i=null){return jh(s,n=>new XN(t,n,i))}constructor(t,s,i){this.c=t,this.d=s,this.f=i,this.type=12}cmp(t){return t.type!==this.type?this.type-t.type:Yr(this.c,this.d,t.c,t.d)}equals(t){return t.type===this.type?this.c===t.c&&this.d===t.d:!1}substituteConstants(){return this}evaluate(t){return typeof this.d=="string"?!1:parseFloat(t.getValue(this.c))>this.d}serialize(){return`${this.c} > ${this.d}`}keys(){return[this.c]}map(t){return t.mapGreater(this.c,this.d)}negate(){return this.f||(this.f=Wc.create(this.c,this.d,this)),this.f}},Bc=class YN{static create(t,s,i=null){return jh(s,n=>new YN(t,n,i))}constructor(t,s,i){this.c=t,this.d=s,this.f=i,this.type=13}cmp(t){return t.type!==this.type?this.type-t.type:Yr(this.c,this.d,t.c,t.d)}equals(t){return t.type===this.type?this.c===t.c&&this.d===t.d:!1}substituteConstants(){return this}evaluate(t){return typeof this.d=="string"?!1:parseFloat(t.getValue(this.c))>=this.d}serialize(){return`${this.c} >= ${this.d}`}keys(){return[this.c]}map(t){return t.mapGreaterEquals(this.c,this.d)}negate(){return this.f||(this.f=qc.create(this.c,this.d,this)),this.f}},qc=class KN{static create(t,s,i=null){return jh(s,n=>new KN(t,n,i))}constructor(t,s,i){this.c=t,this.d=s,this.f=i,this.type=14}cmp(t){return t.type!==this.type?this.type-t.type:Yr(this.c,this.d,t.c,t.d)}equals(t){return t.type===this.type?this.c===t.c&&this.d===t.d:!1}substituteConstants(){return this}evaluate(t){return typeof this.d=="string"?!1:parseFloat(t.getValue(this.c))new eC(t,n,i))}constructor(t,s,i){this.c=t,this.d=s,this.f=i,this.type=15}cmp(t){return t.type!==this.type?this.type-t.type:Yr(this.c,this.d,t.c,t.d)}equals(t){return t.type===this.type?this.c===t.c&&this.d===t.d:!1}substituteConstants(){return this}evaluate(t){return typeof this.d=="string"?!1:parseFloat(t.getValue(this.c))<=this.d}serialize(){return`${this.c} <= ${this.d}`}keys(){return[this.c]}map(t){return t.mapSmallerEquals(this.c,this.d)}negate(){return this.f||(this.f=ca.create(this.c,this.d,this)),this.f}},la=class tC{static create(t,s){return new tC(t,s)}constructor(t,s){this.d=t,this.f=s,this.type=7,this.c=null}cmp(t){if(t.type!==this.type)return this.type-t.type;if(this.dt.d)return 1;const s=this.f?this.f.source:"",i=t.f?t.f.source:"";return si?1:0}equals(t){if(t.type===this.type){const s=this.f?this.f.source:"",i=t.f?t.f.source:"";return this.d===t.d&&s===i}return!1}substituteConstants(){return this}evaluate(t){const s=t.getValue(this.d);return this.f?this.f.test(s):!1}serialize(){const t=this.f?`/${this.f.source}/${this.f.flags}`:"/invalid/";return`${this.d} =~ ${t}`}keys(){return[this.d]}map(t){return t.mapRegex(this.d,this.f)}negate(){return this.c||(this.c=K6.create(this)),this.c}},K6=class Oy{static create(t){return new Oy(t)}constructor(t){this.c=t,this.type=8}cmp(t){return t.type!==this.type?this.type-t.type:this.c.cmp(t.c)}equals(t){return t.type===this.type?this.c.equals(t.c):!1}substituteConstants(){return this}evaluate(t){return!this.c.evaluate(t)}serialize(){return`!(${this.c.serialize()})`}keys(){return this.c.keys()}map(t){return new Oy(this.c.map(t))}negate(){return this.c}},rg=class Ec{static create(t,s,i){return Ec.d(t,s,i)}constructor(t,s){this.expr=t,this.c=s,this.type=6}cmp(t){if(t.type!==this.type)return this.type-t.type;if(this.expr.lengtht.expr.length)return 1;for(let s=0,i=this.expr.length;s1;){const o=n[n.length-1];if(o.type!==9)break;n.pop();const a=n.pop(),c=n.length===0,l=Fh.create(o.expr.map(u=>Ec.create([u,a],null,i)),null,c);l&&(n.push(l),n.sort(Vc))}if(n.length===1)return n[0];if(i){for(let o=0;ot.serialize()).join(" && ")}keys(){const t=[];for(const s of this.expr)t.push(...s.keys());return t}map(t){return new Ec(this.expr.map(s=>s.map(t)),null)}negate(){if(!this.c){const t=[];for(const s of this.expr)t.push(s.negate());this.c=Fh.create(t,this,!0)}return this.c}},Fh=class Uo{static create(t,s,i){return Uo.d(t,s,i)}constructor(t,s){this.expr=t,this.c=s,this.type=9}cmp(t){if(t.type!==this.type)return this.type-t.type;if(this.expr.lengtht.expr.length)return 1;for(let s=0,i=this.expr.length;st.serialize()).join(" || ")}keys(){const t=[];for(const s of this.expr)t.push(...s.keys());return t}map(t){return new Uo(this.expr.map(s=>s.map(t)),null)}negate(){if(!this.c){const t=[];for(const s of this.expr)t.push(s.negate());for(;t.length>1;){const s=t.shift(),i=t.shift(),n=[];for(const r of H6(s))for(const o of H6(i))n.push(rg.create([r,o],null,!1));t.unshift(Uo.create(n,null,!1))}this.c=Uo.create(t,this,!0)}return this.c}},lr=class Om extends Kr{static{this.d=[]}static all(){return Om.d.values()}constructor(t,s,i){super(t,null),this.f=s,typeof i=="object"?Om.d.push({...i,key:t}):i!==!0&&Om.d.push({key:t,description:i,type:s!=null?typeof s:void 0})}bindTo(t){return t.createKey(this.key,this.f)}getValue(t){return t.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(t){return oa.create(this.key,t)}notEqualsTo(t){return aa.create(this.key,t)}greater(t){return ca.create(this.key,t)}},NO=Z("contextKeyService")}});function e9(e){return kn(e)}function CO(e,t){return e!==G.Off&&e<=t}function LO(e,t,s){switch(t){case G.Trace:e.trace(s);break;case G.Debug:e.debug(s);break;case G.Info:e.info(s);break;case G.Warning:e.warn(s);break;case G.Error:e.error(s);break;case G.Off:break;default:throw new Error(`Invalid log level ${t}`)}}function ua(e,t=!1){let s="";for(let i=0;i0?" ":"")+n}return s}function og(e){if(e.verbose)return G.Trace;if(typeof e.logLevel=="string"){const t=OO(e.logLevel.toLowerCase());if(t!==void 0)return t}return Jc}function t9(e){switch(e){case G.Trace:return"trace";case G.Debug:return"debug";case G.Info:return"info";case G.Warning:return"warn";case G.Error:return"error";case G.Off:return"off"}}function OO(e){switch(e){case"trace":return G.Trace;case"debug":return G.Debug;case"info":return G.Info;case"warn":return G.Warning;case"error":return G.Error;case"critical":return G.Error;case"off":return G.Off}}var he,ha,G,Jc,Qc,s9,i9,n9,r9,o9,a9,MO,Pe=b({"out-build/vs/platform/log/common/log.js"(){"use strict";ae(),ta(),oe(),zc(),H(),Zt(),se(),pt(),be(),Q(),Gc(),te(),he=Z("logService"),ha=Z("loggerService"),(function(e){e[e.Off=0]="Off",e[e.Trace=1]="Trace",e[e.Debug=2]="Debug",e[e.Info=3]="Info",e[e.Warning=4]="Warning",e[e.Error=5]="Error"})(G||(G={})),Jc=G.Info,Qc=class extends B{constructor(){super(...arguments),this.b=Jc,this.c=this.D(new D)}get onDidChangeLogLevel(){return this.c.event}setLevel(e){this.b!==e&&(this.b=e,this.c.fire(this.b))}getLevel(){return this.b}f(e){return CO(this.b,e)}g(e){return this.B.isDisposed?!1:this.f(e)}},s9=class extends Qc{constructor(e){super(),this.h=e}f(e){return this.h||super.f(e)}trace(e,...t){this.g(G.Trace)&&this.m(G.Trace,ua([e,...t],!0))}debug(e,...t){this.g(G.Debug)&&this.m(G.Debug,ua([e,...t]))}info(e,...t){this.g(G.Info)&&this.m(G.Info,ua([e,...t]))}warn(e,...t){this.g(G.Warning)&&this.m(G.Warning,ua([e,...t]))}error(e,...t){if(this.g(G.Error))if(e instanceof Error){const s=Array.prototype.slice.call(arguments);s[0]=e.stack,this.m(G.Error,ua(s))}else this.m(G.Error,ua([e,...t]))}flush(){}},i9=class extends Qc{constructor(e=Jc,t=!0){super(),this.h=t,this.setLevel(e)}trace(e,...t){this.g(G.Trace)&&(this.h?console.log("%cTRACE","color: #888",e,...t):console.log(e,...t))}debug(e,...t){this.g(G.Debug)&&(this.h?console.log("%cDEBUG","background: #eee; color: #888",e,...t):console.log(e,...t))}info(e,...t){this.g(G.Info)&&(this.h?console.log("%c INFO","color: #33f",e,...t):console.log(e,...t))}warn(e,...t){this.g(G.Warning)&&(this.h?console.warn("%c WARN","color: #993",e,...t):console.log(e,...t))}error(e,...t){this.g(G.Error)&&(this.h?console.error("%c ERR","color: #f33",e,...t):console.error(e,...t))}flush(){}},n9=class extends Qc{constructor(e){super(),this.h=e,e.length&&this.setLevel(e[0].getLevel())}setLevel(e){for(const t of this.h)t.setLevel(e);super.setLevel(e)}trace(e,...t){for(const s of this.h)s.trace(e,...t)}debug(e,...t){for(const s of this.h)s.debug(e,...t)}info(e,...t){for(const s of this.h)s.info(e,...t)}warn(e,...t){for(const s of this.h)s.warn(e,...t)}error(e,...t){for(const s of this.h)s.error(e,...t)}flush(){for(const e of this.h)e.flush()}dispose(){for(const e of this.h)e.dispose();super.dispose()}},r9=class extends B{constructor(e,t,s){if(super(),this.j=e,this.m=t,this.b=new Et,this.f=this.D(new D),this.onDidChangeLoggers=this.f.event,this.g=this.D(new D),this.onDidChangeLogLevel=this.g.event,this.h=this.D(new D),this.onDidChangeVisibility=this.h.event,s)for(const i of s)this.b.set(i.resource,{logger:void 0,info:i})}n(e){return ee(e)?[...this.b.values()].find(t=>t.info.id===e):this.b.get(e)}getLogger(e){return this.n(e)?.logger}createLogger(e,t){const s=this.q(e),i=ee(e)?e:t?.id??na(s.toString()).toString(16);let n=this.b.get(s)?.logger;const r=t?.logLevel==="always"?G.Trace:t?.logLevel;n||(n=this.s(s,r??this.getLogLevel(s)??this.j,{...t,id:i}));const o={logger:n,info:{resource:s,id:i,logLevel:r,name:t?.name,hidden:t?.hidden,group:t?.group,extensionId:t?.extensionId,when:t?.when}};return this.registerLogger(o.info),this.b.set(s,o),n}q(e){return ee(e)?ue(this.m,`${e.replace(/[\\/:\*\?"<>\|]/g,"")}.log`):e}setLogLevel(e,t){if(y.isUri(e)){const s=e,i=t,n=this.b.get(s);n&&i!==n.info.logLevel&&(n.info.logLevel=i===this.j?void 0:i,n.logger?.setLevel(i),this.b.set(n.info.resource,n),this.g.fire([s,i]))}else{this.j=e;for(const[s,i]of this.b.entries())this.b.get(s)?.info.logLevel===void 0&&i.logger?.setLevel(this.j);this.g.fire(this.j)}}setVisibility(e,t){const s=this.n(e);s&&t!==!s.info.hidden&&(s.info.hidden=!t,this.b.set(s.info.resource,s),this.h.fire([s.info.resource,t]))}getLogLevel(e){let t;return e&&(t=this.b.get(e)?.info.logLevel),t??this.j}registerLogger(e){const t=this.b.get(e.resource);t?t.info.hidden!==e.hidden&&this.setVisibility(e.resource,!e.hidden):(this.b.set(e.resource,{info:e,logger:void 0}),this.f.fire({added:[e],removed:[]}))}deregisterLogger(e){const t=this.q(e),s=this.b.get(t);s&&(s.logger&&s.logger.dispose(),this.b.delete(t),this.f.fire({added:[],removed:[s.info]}))}*getRegisteredLoggers(){for(const e of this.b.values())yield e.info}getRegisteredLogger(e){return this.b.get(e)?.info}dispose(){this.b.forEach(e=>e.logger?.dispose()),this.b.clear(),super.dispose()}},o9=class{constructor(){this.onDidChangeLogLevel=new D().event}setLevel(e){}getLevel(){return G.Info}trace(e,...t){}debug(e,...t){}info(e,...t){}warn(e,...t){}error(e,...t){}critical(e,...t){}dispose(){}flush(){}},a9=class extends o9{},MO=new lr("logLevel",t9(G.Info))}}),He,Hh=b({"out-build/vs/platform/instantiation/common/descriptors.js"(){"use strict";He=class{constructor(e,t=[],s=!1){this.ctor=e,this.staticArguments=t,this.supportsDelayedInstantiation=s}}}});function c9(e,t=!1){let s=0;const i=e.length;let n="",r=0,o=16,a=0;function c(v){let w=0,k=0;for(;w=48&&x<=57)k=k*16+x-48;else if(x>=65&&x<=70)k=k*16+x-65+10;else if(x>=97&&x<=102)k=k*16+x-97+10;else break;s++,w++}return w=i){v+=e.substring(w,s),a=2;break}const k=e.charCodeAt(s);if(k===34){v+=e.substring(w,s),s++;break}if(k===92){if(v+=e.substring(w,s),s++,s>=i){a=2;break}switch(e.charCodeAt(s++)){case 34:v+='"';break;case 92:v+="\\";break;case 47:v+="/";break;case 98:v+="\b";break;case 102:v+="\f";break;case 110:v+=` `;break;case 114:v+="\r";break;case 116:v+=" ";break;case 117:{const A=c(4);A>=0?v+=String.fromCharCode(A):a=4;break}default:a=5}w=s;continue}if(k>=0&&k<=31)if(zh(k)){v+=e.substring(w,s),a=2;break}else a=6;s++}return v}function d(){if(n="",a=0,r=s,s>=i)return r=i,o=17;let v=e.charCodeAt(s);if(ag(v)){do s++,n+=String.fromCharCode(v),v=e.charCodeAt(s);while(ag(v));return o=15}if(zh(v))return s++,n+=String.fromCharCode(v),v===13&&e.charCodeAt(s)===10&&(s++,n+=` `),o=14;switch(v){case 123:return s++,o=1;case 125:return s++,o=2;case 91:return s++,o=3;case 93:return s++,o=4;case 58:return s++,o=6;case 44:return s++,o=5;case 34:return s++,n=h(),o=10;case 47:{const w=s-1;if(e.charCodeAt(s+1)===47){for(s+=2;s=12&&v<=15);return v}return{setPosition:l,getPosition:()=>s,scan:t?g:d,getToken:()=>o,getTokenValue:()=>n,getTokenOffset:()=>r,getTokenLength:()=>s-r,getTokenError:()=>a}}function ag(e){return e===32||e===9||e===11||e===12||e===160||e===5760||e>=8192&&e<=8203||e===8239||e===8287||e===12288||e===65279}function zh(e){return e===10||e===13||e===8232||e===8233}function fa(e){return e>=48&&e<=57}function ur(e,t=[],s=Zc.DEFAULT){let i=null,n=[];const r=[];function o(c){Array.isArray(n)?n.push(c):i!==null&&(n[i]=c)}return Vh(e,{onObjectBegin:()=>{const c={};o(c),r.push(n),n=c,i=null},onObjectProperty:c=>{i=c},onObjectEnd:()=>{n=r.pop()},onArrayBegin:()=>{const c=[];o(c),r.push(n),n=c,i=null},onArrayEnd:()=>{n=r.pop()},onLiteralValue:o,onError:(c,l,u)=>{t.push({error:c,offset:l,length:u})}},s),n[0]}function _O(e,t=[],s=Zc.DEFAULT){let i={type:"array",offset:-1,length:-1,children:[],parent:void 0};function n(c){i.type==="property"&&(i.length=c-i.offset,i=i.parent)}function r(c){return i.children.push(c),c}Vh(e,{onObjectBegin:c=>{i=r({type:"object",offset:c,length:-1,parent:i,children:[]})},onObjectProperty:(c,l,u)=>{i=r({type:"property",offset:l,length:-1,parent:i,children:[]}),i.children.push({type:"string",value:c,offset:l,length:u,parent:i})},onObjectEnd:(c,l)=>{i.length=c+l-i.offset,i=i.parent,n(c+l)},onArrayBegin:(c,l)=>{i=r({type:"array",offset:c,length:-1,parent:i,children:[]})},onArrayEnd:(c,l)=>{i.length=c+l-i.offset,i=i.parent,n(c+l)},onLiteralValue:(c,l,u)=>{r({type:da(c),offset:l,length:u,parent:i,value:c}),n(l+u)},onSeparator:(c,l,u)=>{i.type==="property"&&(c===":"?i.colonOffset=l:c===","&&n(l))},onError:(c,l,u)=>{t.push({error:c,offset:l,length:u})}},s);const a=i.children[0];return a&&delete a.parent,a}function l9(e,t){if(!e)return;let s=e;for(const i of t)if(typeof i=="string"){if(s.type!=="object"||!Array.isArray(s.children))return;let n=!1;for(const r of s.children)if(Array.isArray(r.children)&&r.children[0].value===i){s=r.children[1],n=!0;break}if(!n)return}else{const n=i;if(s.type!=="array"||n<0||!Array.isArray(s.children)||n>=s.children.length)return;s=s.children[n]}return s}function Vh(e,t,s=Zc.DEFAULT){const i=c9(e,!1);function n(N){return N?()=>N(i.getTokenOffset(),i.getTokenLength()):()=>!0}function r(N){return N?K=>N(K,i.getTokenOffset(),i.getTokenLength()):()=>!0}const o=n(t.onObjectBegin),a=r(t.onObjectProperty),c=n(t.onObjectEnd),l=n(t.onArrayBegin),u=n(t.onArrayEnd),h=r(t.onLiteralValue),d=r(t.onSeparator),p=n(t.onComment),g=r(t.onError),v=s&&s.disallowComments,w=s&&s.allowTrailingComma;function k(){for(;;){const N=i.scan();switch(i.getTokenError()){case 4:x(14);break;case 5:x(15);break;case 3:x(13);break;case 1:v||x(11);break;case 2:x(12);break;case 6:x(16);break}switch(N){case 12:case 13:v?x(10):p();break;case 16:x(1);break;case 15:case 14:break;default:return N}}}function x(N,K=[],le=[]){if(g(N),K.length+le.length>0){let ie=i.getToken();for(;ie!==17;){if(K.indexOf(ie)!==-1){k();break}else if(le.indexOf(ie)!==-1)break;ie=k()}}}function A(N){const K=i.getTokenValue();return N?h(K):a(K),k(),!0}function _(){switch(i.getToken()){case 11:{let N=0;try{N=JSON.parse(i.getTokenValue()),typeof N!="number"&&(x(2),N=0)}catch{x(2)}h(N);break}case 7:h(null);break;case 8:h(!0);break;case 9:h(!1);break;default:return!1}return k(),!0}function z(){return i.getToken()!==10?(x(3,[],[2,5]),!1):(A(!1),i.getToken()===6?(d(":"),k(),j()||x(4,[],[2,5])):x(5,[],[2,5]),!0)}function Ce(){o(),k();let N=!1;for(;i.getToken()!==2&&i.getToken()!==17;){if(i.getToken()===5){if(N||x(4,[],[]),d(","),k(),i.getToken()===2&&w)break}else N&&x(6,[],[]);z()||x(4,[],[2,5]),N=!0}return c(),i.getToken()!==2?x(7,[2],[]):k(),!0}function C(){l(),k();let N=!1;for(;i.getToken()!==4&&i.getToken()!==17;){if(i.getToken()===5){if(N||x(4,[],[]),d(","),k(),i.getToken()===4&&w)break}else N&&x(6,[],[]);j()||x(4,[],[4,5]),N=!0}return u(),i.getToken()!==4?x(8,[4],[]):k(),!0}function j(){switch(i.getToken()){case 3:return C();case 1:return Ce();case 10:return A(!0);default:return _()}}return k(),i.getToken()===17?s.allowEmptyContent?!0:(x(4,[],[]),!1):j()?(i.getToken()!==17&&x(9,[],[]),!0):(x(4,[],[]),!1)}function da(e){switch(typeof e){case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"object":{if(e){if(Array.isArray(e))return"array"}else return"null";return"object"}default:return"null"}}var u9,h9,f9,Zc,d9,hr=b({"out-build/vs/base/common/json.js"(){"use strict";(function(e){e[e.None=0]="None",e[e.UnexpectedEndOfComment=1]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=2]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=3]="UnexpectedEndOfNumber",e[e.InvalidUnicode=4]="InvalidUnicode",e[e.InvalidEscapeCharacter=5]="InvalidEscapeCharacter",e[e.InvalidCharacter=6]="InvalidCharacter"})(u9||(u9={})),(function(e){e[e.OpenBraceToken=1]="OpenBraceToken",e[e.CloseBraceToken=2]="CloseBraceToken",e[e.OpenBracketToken=3]="OpenBracketToken",e[e.CloseBracketToken=4]="CloseBracketToken",e[e.CommaToken=5]="CommaToken",e[e.ColonToken=6]="ColonToken",e[e.NullKeyword=7]="NullKeyword",e[e.TrueKeyword=8]="TrueKeyword",e[e.FalseKeyword=9]="FalseKeyword",e[e.StringLiteral=10]="StringLiteral",e[e.NumericLiteral=11]="NumericLiteral",e[e.LineCommentTrivia=12]="LineCommentTrivia",e[e.BlockCommentTrivia=13]="BlockCommentTrivia",e[e.LineBreakTrivia=14]="LineBreakTrivia",e[e.Trivia=15]="Trivia",e[e.Unknown=16]="Unknown",e[e.EOF=17]="EOF"})(h9||(h9={})),(function(e){e[e.InvalidSymbol=1]="InvalidSymbol",e[e.InvalidNumberFormat=2]="InvalidNumberFormat",e[e.PropertyNameExpected=3]="PropertyNameExpected",e[e.ValueExpected=4]="ValueExpected",e[e.ColonExpected=5]="ColonExpected",e[e.CommaExpected=6]="CommaExpected",e[e.CloseBraceExpected=7]="CloseBraceExpected",e[e.CloseBracketExpected=8]="CloseBracketExpected",e[e.EndOfFileExpected=9]="EndOfFileExpected",e[e.InvalidCommentToken=10]="InvalidCommentToken",e[e.UnexpectedEndOfComment=11]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=12]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=13]="UnexpectedEndOfNumber",e[e.InvalidUnicode=14]="InvalidUnicode",e[e.InvalidEscapeCharacter=15]="InvalidEscapeCharacter",e[e.InvalidCharacter=16]="InvalidCharacter"})(f9||(f9={})),(function(e){e.DEFAULT={allowTrailingComma:!0}})(Zc||(Zc={})),(function(e){e[e.nullCharacter=0]="nullCharacter",e[e.maxAsciiCharacter=127]="maxAsciiCharacter",e[e.lineFeed=10]="lineFeed",e[e.carriageReturn=13]="carriageReturn",e[e.lineSeparator=8232]="lineSeparator",e[e.paragraphSeparator=8233]="paragraphSeparator",e[e.nextLine=133]="nextLine",e[e.space=32]="space",e[e.nonBreakingSpace=160]="nonBreakingSpace",e[e.enQuad=8192]="enQuad",e[e.emQuad=8193]="emQuad",e[e.enSpace=8194]="enSpace",e[e.emSpace=8195]="emSpace",e[e.threePerEmSpace=8196]="threePerEmSpace",e[e.fourPerEmSpace=8197]="fourPerEmSpace",e[e.sixPerEmSpace=8198]="sixPerEmSpace",e[e.figureSpace=8199]="figureSpace",e[e.punctuationSpace=8200]="punctuationSpace",e[e.thinSpace=8201]="thinSpace",e[e.hairSpace=8202]="hairSpace",e[e.zeroWidthSpace=8203]="zeroWidthSpace",e[e.narrowNoBreakSpace=8239]="narrowNoBreakSpace",e[e.ideographicSpace=12288]="ideographicSpace",e[e.mathematicalSpace=8287]="mathematicalSpace",e[e.ogham=5760]="ogham",e[e._=95]="_",e[e.$=36]="$",e[e._0=48]="_0",e[e._1=49]="_1",e[e._2=50]="_2",e[e._3=51]="_3",e[e._4=52]="_4",e[e._5=53]="_5",e[e._6=54]="_6",e[e._7=55]="_7",e[e._8=56]="_8",e[e._9=57]="_9",e[e.a=97]="a",e[e.b=98]="b",e[e.c=99]="c",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.g=103]="g",e[e.h=104]="h",e[e.i=105]="i",e[e.j=106]="j",e[e.k=107]="k",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.p=112]="p",e[e.q=113]="q",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.v=118]="v",e[e.w=119]="w",e[e.x=120]="x",e[e.y=121]="y",e[e.z=122]="z",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.ampersand=38]="ampersand",e[e.asterisk=42]="asterisk",e[e.at=64]="at",e[e.backslash=92]="backslash",e[e.bar=124]="bar",e[e.caret=94]="caret",e[e.closeBrace=125]="closeBrace",e[e.closeBracket=93]="closeBracket",e[e.closeParen=41]="closeParen",e[e.colon=58]="colon",e[e.comma=44]="comma",e[e.dot=46]="dot",e[e.doubleQuote=34]="doubleQuote",e[e.equals=61]="equals",e[e.exclamation=33]="exclamation",e[e.greaterThan=62]="greaterThan",e[e.lessThan=60]="lessThan",e[e.minus=45]="minus",e[e.openBrace=123]="openBrace",e[e.openBracket=91]="openBracket",e[e.openParen=40]="openParen",e[e.percent=37]="percent",e[e.plus=43]="plus",e[e.question=63]="question",e[e.semicolon=59]="semicolon",e[e.singleQuote=39]="singleQuote",e[e.slash=47]="slash",e[e.tilde=126]="tilde",e[e.backspace=8]="backspace",e[e.formFeed=12]="formFeed",e[e.byteOrderMark=65279]="byteOrderMark",e[e.tab=9]="tab",e[e.verticalTab=11]="verticalTab"})(d9||(d9={}))}});function jO(e,t,s){let i,n,r,o,a;if(t){for(o=t.offset,a=o+t.length,r=o;r>0&&!Bh(e,r-1);)r--;let A=a;for(;Ao&&e.substring(_,z)!==A&&w.push({offset:_,length:z-_,content:A})}let x=v();if(x!==17){const A=d.getTokenOffset()+r,_=cg(h,i);k(_,r,A)}for(;x!==17;){let A=d.getTokenOffset()+d.getTokenLength()+r,_=v(),z="";for(;!l&&(_===12||_===13);){const C=d.getTokenOffset()+r;k(" ",A,C),A=d.getTokenOffset()+d.getTokenLength()+r,z=_===12?g():"",_=v()}if(_===2)x!==1&&(u--,z=g());else if(_===4)x!==3&&(u--,z=g());else{switch(x){case 3:case 1:u++,z=g();break;case 5:case 12:z=g();break;case 13:l?z=g():z=" ";break;case 6:z=" ";break;case 10:if(_===6){z="";break}case 7:case 8:case 9:case 11:case 2:case 4:_===12||_===13?z=" ":_!==5&&_!==17&&(p=!0);break;case 16:p=!0;break}l&&(_===12||_===13)&&(z=g())}const Ce=d.getTokenOffset()+r;k(z,A,Ce),x=_}return w}function cg(e,t){let s="";for(let i=0;i0&&(l=r.pop(),c=l9(a,r),c===void 0&&s!==void 0);)typeof l=="string"?s={[l]:s}:s=[s];if(c)if(c.type==="object"&&typeof l=="string"&&Array.isArray(c.children)){const u=l9(c,[l]);if(u!==void 0)if(s===void 0){if(!u.parent)throw new Error("Malformed AST");const h=c.children.indexOf(u.parent);let d,p=u.parent.offset+u.parent.length;if(h>0){const g=c.children[h-1];d=g.offset+g.length}else d=c.offset+1,c.children.length>1&&(p=c.children[1].offset);return pa(e,{offset:d,length:p-d,content:""},i)}else return pa(e,{offset:u.offset,length:u.length,content:JSON.stringify(s)},i);else{if(s===void 0)return[];const h=`${JSON.stringify(l)}: ${JSON.stringify(s)}`,d=n?n(c.children.map(g=>g.children[0].value)):c.children.length;let p;if(d>0){const g=c.children[d-1];p={offset:g.offset+g.length,length:0,content:","+h}}else c.children.length===0?p={offset:c.offset+1,length:0,content:h}:p={offset:c.offset+1,length:0,content:h+","};return pa(e,p,i)}}else if(c.type==="array"&&typeof l=="number"&&Array.isArray(c.children))if(s!==void 0){const u=`${JSON.stringify(s)}`;let h;if(c.children.length===0||l===0)h={offset:c.offset+1,length:0,content:c.children.length===0?u:u+","};else{const d=l===-1||l>c.children.length?c.children.length:l,p=c.children[d-1];h={offset:p.offset+p.length,length:0,content:","+u}}return pa(e,h,i)}else{const u=l,h=c.children[u];let d;if(c.children.length===1)d={offset:c.offset+1,length:c.length-2,content:""};else if(c.children.length-1===u){const p=c.children[u-1],g=p.offset+p.length,v=c.offset+c.length;d={offset:g,length:v-2-g,content:""}}else d={offset:h.offset,length:c.children[u+1].offset-h.offset,content:""};return pa(e,d,i)}else throw new Error(`Can not add ${typeof l!="number"?"index":"property"} to parent of type ${c.type}`);else return s===void 0?[]:pa(e,{offset:a?a.offset:0,length:a?a.length:0,content:JSON.stringify(s)},i)}function pa(e,t,s){let i=lg(e,t),n=t.offset,r=t.offset+t.content.length;if(t.length===0||t.content.length===0){for(;n>0&&!Bh(i,n-1);)n--;for(;r=0;c--){const l=o[c];i=lg(i,l),n=Math.min(n,l.offset),r=Math.max(r,l.offset+l.length),r+=l.content.length-l.length}const a=e.length-(i.length-r)-n;return[{offset:n,length:a,content:i.substring(n,r)}]}function lg(e,t){return e.substring(0,t.offset)+t.content+e.substring(t.offset+t.length)}function zO(e,t){const s=t.slice(0).sort((n,r)=>{const o=n.offset-r.offset;return o===0?n.length-r.length:o});let i=e.length;for(let n=s.length-1;n>=0;n--){const r=s[n];if(r.offset+r.length<=i)e=lg(e,r);else throw new Error("Overlapping edit");i=r.offset}return e}var VO=b({"out-build/vs/base/common/jsonEdit.js"(){"use strict";hr(),FO()}});function Ln(e){if(!e||typeof e!="object"||e instanceof RegExp)return e;const t=Array.isArray(e)?[]:{};return Object.entries(e).forEach(([s,i])=>{t[s]=i&&typeof i=="object"?Ln(i):i}),t}function BO(e){if(!e||typeof e!="object")return e;const t=[e];for(;t.length>0;){const s=t.shift();Object.freeze(s);for(const i in s)if(fg.call(s,i)){const n=s[i];typeof n=="object"&&!Object.isFrozen(n)&&!tL(n)&&t.push(n)}}return e}function Ji(e,t){return ug(e,t,new Set)}function ug(e,t,s){if(Ct(e))return e;const i=t(e);if(typeof i<"u")return i;if(Array.isArray(e)){const n=[];for(const r of e)n.push(ug(r,t,s));return n}if(tt(e)){if(s.has(e))throw new Error("Cannot clone recursive data-structure");s.add(e);const n={};for(const r in e)fg.call(e,r)&&(n[r]=ug(e[r],t,s));return s.delete(e),n}return e}function ma(e,t,s=!0){return tt(e)?(tt(t)&&Object.keys(t).forEach(i=>{i in e?s&&(tt(e[i])&&tt(t[i])?ma(e[i],t[i],s):e[i]=t[i]):e[i]=t[i]}),e):t}function vs(e,t){if(e===t)return!0;if(e==null||t===null||t===void 0||typeof e!=typeof t||typeof e!="object"||Array.isArray(e)!==Array.isArray(t))return!1;let s,i;if(Array.isArray(e)){if(e.length!==t.length)return!1;for(s=0;s{if(tt(i)||Array.isArray(i)){if(t.has(i))return"[Circular]";t.add(i)}return typeof i=="bigint"?`[BigInt ${i.toString()}]`:i})}function p9(e,t){const s=t.toLowerCase(),i=Object.keys(e).find(n=>n.toLowerCase()===s);return i?e[i]:e[t]}var fg,Vt=b({"out-build/vs/base/common/objects.js"(){"use strict";be(),fg=Object.prototype.hasOwnProperty}});function dg(e){const t=e;return t&&typeof t=="object"&&(!t.overrideIdentifier||typeof t.overrideIdentifier=="string")&&(!t.resource||t.resource instanceof y)}function qO(e){const t=e;return t&&typeof t=="object"&&(!t.overrideIdentifiers||Array.isArray(t.overrideIdentifiers))&&!t.overrideIdentifier&&(!t.resource||t.resource instanceof y)}function WO(e){switch(e){case 1:return"APPLICATION";case 2:return"USER";case 3:return"USER_LOCAL";case 4:return"USER_REMOTE";case 5:return"WORKSPACE";case 6:return"WORKSPACE_FOLDER";case 7:return"DEFAULT";case 8:return"MEMORY"}}function pg(e,t){const s=Object.create(null);for(const i in e)m9(s,i,e[i],t);return s}function m9(e,t,s,i){const n=t.split("."),r=n.pop();let o=e;for(let a=0;a"u"?s:r}function JO(e){return e.replace(/^\[/,"").replace(/]$/g,"").replace(/\]\[/g,", ")}var Xt,v9,Yt=b({"out-build/vs/platform/configuration/common/configuration.js"(){"use strict";xn(),be(),Q(),te(),Xt=Z("configurationService"),(function(e){e[e.APPLICATION=1]="APPLICATION",e[e.USER=2]="USER",e[e.USER_LOCAL=3]="USER_LOCAL",e[e.USER_REMOTE=4]="USER_REMOTE",e[e.WORKSPACE=5]="WORKSPACE",e[e.WORKSPACE_FOLDER=6]="WORKSPACE_FOLDER",e[e.DEFAULT=7]="DEFAULT",e[e.MEMORY=8]="MEMORY"})(v9||(v9={}))}});function QO(e){let t=!1;const s=new Map,i=new Map;if(ZO(e,u=>{if(e===u)return!0;const h=JSON.stringify(u);if(h.length<30)return!0;const d=s.get(h);if(!d){const p={schemas:[u]};return s.set(h,p),i.set(u,p),!0}return d.schemas.push(u),i.set(u,d),t=!0,!1}),s.clear(),!t)return JSON.stringify(e);let r="$defs";for(;e.hasOwnProperty(r);)r+="_";const o=[];function a(u){return JSON.stringify(u,(h,d)=>{if(d!==u){const p=i.get(d);if(p&&p.schemas.length>1)return p.id||(p.id=`_${o.length}`,o.push(p.schemas[0])),{$ref:`#/${r}/${p.id}`}}return d})}const c=a(e),l=[];for(let u=0;u{for(const l of c)ga(l)&&o.push(l)},i=(...c)=>{for(const l of c)if(ga(l))for(const u in l){const h=l[u];ga(h)&&o.push(h)}},n=(...c)=>{for(const l of c)if(Array.isArray(l))for(const u of l)ga(u)&&o.push(u)},r=c=>{if(Array.isArray(c))for(const l of c)ga(l)&&o.push(l);else ga(c)&&o.push(c)},o=[e];let a=o.pop();for(;a;)t(a)&&(s(a.additionalItems,a.additionalProperties,a.not,a.contains,a.propertyNames,a.if,a.then,a.else,a.unevaluatedItems,a.unevaluatedProperties),i(a.definitions,a.$defs,a.properties,a.patternProperties,a.dependencies,a.dependentSchemas),n(a.anyOf,a.allOf,a.oneOf,a.prefixItems),r(a.items)),a=o.pop()}var XO=b({"out-build/vs/base/common/jsonSchema.js"(){"use strict"}}),b9,as,Qi=b({"out-build/vs/platform/registry/common/platform.js"(){"use strict";xn(),be(),b9=class{constructor(){this.a=new Map}add(e,t){h1(ee(e)),h1(tt(t)),h1(!this.a.has(e),"There is already an extension with this id"),this.a.set(e,t)}knows(e){return this.a.has(e)}as(e){return this.a.get(e)||null}dispose(){this.a.forEach(e=>{yh(e.dispose)&&e.dispose()}),this.a.clear()}},as=new b9}});function w9(e){return e.length>0&&e.charAt(e.length-1)==="#"?e.substring(0,e.length-1):e}var mg,y9,E9,YO=b({"out-build/vs/platform/jsonschemas/common/jsonContributionRegistry.js"(){"use strict";oe(),XO(),H(),Qi(),mg={JSONContribution:"base.contributions.json"},y9=class extends B{constructor(){super(...arguments),this.a={},this.b={},this.c=this.D(new D),this.onDidChangeSchema=this.c.event,this.f=this.D(new D),this.onDidChangeSchemaAssociations=this.f.event}registerSchema(e,t,s){const i=w9(e);this.a[i]=t,this.c.fire(e),s&&s.add(De(()=>{delete this.a[i],this.c.fire(e)}))}registerSchemaAssociation(e,t){const s=w9(e);return this.b[s]||(this.b[s]=[]),this.b[s].includes(t)||(this.b[s].push(t),this.f.fire()),De(()=>{const i=this.b[s];if(i){const n=i.indexOf(t);n!==-1&&(i.splice(n,1),i.length===0&&delete this.b[s],this.f.fire())}})}notifySchemaChanged(e){this.c.fire(e)}getSchemaContributions(){return{schemas:this.a}}getSchemaContent(e){const t=this.a[e];return t?QO(t):void 0}hasSchemaContent(e){return!!this.a[e]}getSchemaAssociations(){return this.b}},E9=new y9,as.add(mg.JSONContribution,E9)}}),Ds,Wh,At,va=b({"out-build/vs/platform/product/common/product.js"(){"use strict";if(Ks(),Wh=globalThis.vscode,typeof Wh<"u"&&typeof Wh.context<"u"){const e=Wh.context.configuration();if(e)Ds=e.product;else throw new Error("Sandbox: unable to resolve product configuration from preload script.")}else if(globalThis._VSCODE_PRODUCT_JSON&&globalThis._VSCODE_PACKAGE_JSON){if(Ds=globalThis._VSCODE_PRODUCT_JSON,Us.VSCODE_DEV&&Object.assign(Ds,{nameShort:`${Ds.nameShort} Dev`,nameLong:`${Ds.nameLong} Dev`,dataFolderName:`${Ds.dataFolderName}-dev`,serverDataFolderName:Ds.serverDataFolderName?`${Ds.serverDataFolderName}-dev`:void 0}),!Ds.version){const e=globalThis._VSCODE_PACKAGE_JSON;Object.assign(Ds,{version:e.version})}}else Ds={nameShort:"Code",nameLong:"Visual Studio Code",applicationName:"code",win32x64AppId:"{{EA457B21-F73E-494C-ACAB-524FDE069978}",win32arm64AppId:"{{A5270FC5-65AD-483E-AC30-2C276B63D0AC}",win32x64UserAppId:"{{771FD6B0-FA20-440A-A002-3B3BAC16DC50}",win32arm64UserAppId:"{{D9E514E7-1A56-452D-9337-2990C0DC4310}",win32NameVersion:"Microsoft Visual Studio Code",win32DirName:"Microsoft VS Code",win32SetupExeBasename:"VSCodeSetup",win32AppUserModelId:"Microsoft.VisualStudioCode",win32ShellNameShort:"Code",win32MutexName:"vscode",win32RegValueName:"VSCode",win32VersionedUpdate:!0,darwinCredits:"resources/darwin/Credits.rtf",darwinBundleIdentifier:"com.microsoft.VSCode",darwinProfileUUID:"EBAE60D6-C8A2-4419-92FF-24F8AD5077AB",darwinProfilePayloadUUID:"C6B5723A-6539-4F31-8A4E-3CC96E51F48C",darwinExecutable:"VSCode",linuxIconName:"vscode",licenseFileName:"LICENSE.rtf",licenseName:"Multiple, see https://code.visualstudio.com/license",serverGreeting:[],serverLicense:["*","* Visual Studio Code Server","*","* By using the software, you agree to","* the Visual Studio Code Server License Terms (https://aka.ms/vscode-server-license) and","* the Microsoft Privacy Statement (https://privacy.microsoft.com/en-US/privacystatement).","*"],serverLicensePrompt:"Do you accept the terms in the License Agreement (Y/n)?",serverApplicationName:"code-server",urlProtocol:"vscode",dataFolderName:".vscode",serverDataFolderName:".vscode-server",downloadUrl:"https://code.visualstudio.com",updateUrl:"https://update.code.visualstudio.com",webUrl:"https://vscode.dev",webEndpointUrl:"https://main.vscode-cdn.net",webEndpointUrlTemplate:"https://{{uuid}}.vscode-cdn.net/{{quality}}/{{commit}}",nlsCoreBaseUrl:"https://www.vscode-unpkg.net/nls/",webviewContentExternalBaseUrlTemplate:"https://{{uuid}}.vscode-cdn.net/{{quality}}/{{commit}}/out/vs/workbench/contrib/webview/browser/pre/",quality:"stable",extensionsGallery:{nlsBaseUrl:"https://www.vscode-unpkg.net/_lp/",serviceUrl:"https://marketplace.visualstudio.com/_apis/public/gallery",itemUrl:"https://marketplace.visualstudio.com/items",publisherUrl:"https://marketplace.visualstudio.com/publishers",resourceUrlTemplate:"https://{publisher}.vscode-unpkg.net/{publisher}/{name}/{version}/{path}",extensionUrlTemplate:"https://www.vscode-unpkg.net/_gallery/{publisher}/{name}/latest",controlUrl:"https://main.vscode-cdn.net/extensions/marketplace.json",mcpUrl:"https://main.vscode-cdn.net/mcp/servers.json",accessSKUs:["copilot_enterprise_seat","copilot_enterprise_seat_quota","copilot_enterprise_seat_multi_quota","copilot_enterprise_seat_assignment","copilot_enterprise_seat_assignment_quota","copilot_enterprise_seat_assignment_multi_quota","copilot_enterprise_trial_seat","copilot_enterprise_trial_seat_quota","copilot_for_business_seat","copilot_for_business_seat_quota","copilot_for_business_seat_multi_quota","copilot_for_business_seat_assignment","copilot_for_business_seat_assignment_quota","copilot_for_business_seat_assignment_multi_quota","copilot_for_business_trial_seat","copilot_for_business_trial_seat_quota"]},mcpGallery:{serviceUrl:"https://api.mcp.github.com",itemWebUrl:"https://github.com/mcp/{name}",publisherUrl:"https://github.com/{name}",supportUrl:"https://support.github.com",privacyPolicyUrl:"https://docs.github.com/site-policy/privacy-policies/github-general-privacy-statement",termsOfServiceUrl:"https://docs.github.com/site-policy/github-terms/github-terms-of-service",reportUrl:"https://docs.github.com/communities/maintaining-your-safety-on-github/reporting-abuse-or-spam"},extensionProperties:{"github.copilot-chat":{hasPrereleaseVersion:!1,excludeVersionRange:"<=0.16.1"},"github.copilot":{hasPrereleaseVersion:!0}},extensionsForceVersionByQuality:["github.copilot-chat","github.copilot"],profileTemplatesUrl:"https://main.vscode-cdn.net/core/profile-templates.json",extensionPublisherOrgs:["microsoft"],trustedExtensionPublishers:["microsoft","github","openai"],extensionRecommendations:{"ms-dotnettools.csdevkit":{onFileOpen:[{pathGlob:"{**/*.cs,**/global.json,**/*.csproj,**/*.cshtml,**/*.sln}",important:!0},{languages:["csharp"],important:!0},{pathGlob:"{**/project.json,**/appsettings.json}"}]},"ms-python.python":{onFileOpen:[{pathGlob:"{**/*.py}",important:!0},{languages:["python"],important:!0},{pathGlob:"{**/*.ipynb}"}]},"ms-toolsai.jupyter":{onFileOpen:[{pathGlob:"{**/*.py}",contentPattern:"^#\\s*%%$",important:!0,whenInstalled:["ms-python.python"]},{pathGlob:"{**/*.ipynb}"}]},"ms-toolsai.datawrangler":{onFileOpen:[{pathGlob:"{**/*.ipynb}",contentPattern:"import\\s*pandas|from\\s*pandas",whenInstalled:["ms-toolsai.jupyter"]}]},"golang.Go":{onFileOpen:[{pathGlob:"**/*.go",important:!0},{languages:["go"],important:!0}]},"vscjava.vscode-java-pack":{onFileOpen:[{pathGlob:"{**/*.java}",important:!0,whenNotInstalled:["ASF.apache-netbeans-java","Oracle.oracle-java"]},{languages:["java"],important:!0,whenNotInstalled:["ASF.apache-netbeans-java","Oracle.oracle-java"]}]},"ms-vscode.PowerShell":{onFileOpen:[{pathGlob:"{**/*.ps1,**/*.psd1,**/*.psm1}",important:!0},{languages:["powershell"],important:!0},{pathGlob:"{**/*.ps.config,**/*.ps1.config}"}]},"ms-toolsai.prompty":{onFileOpen:[{pathGlob:"{**/*.prompty}",important:!1}]},"quantum.qsharp-lang-vscode":{onFileOpen:[{pathGlob:"{**/*.qs,**/*.qsc,**/*.qasm}",important:!0}]},"typespec.typespec-vscode":{onFileOpen:[{pathGlob:"{**/*.tsp,**/tspconfig.yaml}",important:!0}]},"ms-vscode.cpptools-extension-pack":{onFileOpen:[{pathGlob:"{**/*.c,**/*.cpp,**/*.cc,**/.cxx,**/*.hh,**/*.hpp,**/*.hxx,**/*.h}",important:!0,whenNotInstalled:["llvm-vs-code-extensions.vscode-clangd"]},{languages:["c","cpp"],important:!0,whenNotInstalled:["llvm-vs-code-extensions.vscode-clangd"]}]},"ms-azuretools.vscode-containers":{onFileOpen:[{pathGlob:"{**/dockerfile,**/Dockerfile,**/docker-compose.yml,**/docker-compose.*.yml}",important:!0,whenNotInstalled:["ms-azuretools.vscode-docker"]},{languages:["dockerfile"],important:!0,whenNotInstalled:["ms-azuretools.vscode-docker"]},{pathGlob:"{**/*.cs,**/project.json,**/global.json,**/*.csproj,**/*.cshtml,**/*.sln,**/appsettings.json,**/*.py,**/*.ipynb,**/*.js,**/*.ts,**/package.json}",whenNotInstalled:["ms-azuretools.vscode-docker"]}]},"vue.volar":{onFileOpen:[{pathGlob:"{**/*.vue}",important:!0},{languages:["vue"],important:!0}]},"ms-vscode.makefile-tools":{onFileOpen:[{pathGlob:"{**/makefile,**/Makefile}",important:!0},{languages:["makefile"],important:!0}]},"ms-vscode.cmake-tools":{onFileOpen:[{pathGlob:"{**/CMakeLists.txt}",important:!0}]},"ms-azure-devops.azure-pipelines":{onFileOpen:[{pathGlob:"{**/azure-pipelines.yaml}",important:!0}]},"msazurermtools.azurerm-vscode-tools":{onFileOpen:[{pathGlob:"{**/azuredeploy.json}",important:!0}]},"ms-vscode-remote.remote-containers":{onFileOpen:[{pathGlob:"{**/devcontainer.json}",important:!0}]},"ms-azuretools.vscode-bicep":{onFileOpen:[{pathGlob:"{**/*.bicep}",important:!0,whenNotInstalled:["ms-azuretools.rad-vscode-bicep"]}]},"svelte.svelte-vscode":{onFileOpen:[{pathGlob:"{**/*.svelte}",important:!0}]},"ms-vscode.vscode-github-issue-notebooks":{onFileOpen:[{pathGlob:"{**/*.github-issues}",important:!0}]},"ms-playwright.playwright":{onFileOpen:[{pathGlob:"{**/*playwright*.config.ts,**/*playwright*.config.js,**/*playwright*.config.mjs}",important:!0}]},"vscjava.vscode-gradle":{onFileOpen:[{pathGlob:"{**/gradlew,**/gradlew.bat,**/build.gradle,**/build.gradle.kts,**/settings.gradle,**/settings.gradle.kts}",important:!0}]},"REditorSupport.r":{onFileOpen:[{pathGlob:"{**/*.r}",important:!0},{languages:["r"],important:!0}]},"firefox-devtools.vscode-firefox-debug":{onFileOpen:[{pathGlob:"{**/*.ts,**/*.tsx,**/*.js,**/*.jsx,**/*.es6,**/.babelrc}"}]},"ms-edgedevtools.vscode-edge-devtools":{onFileOpen:[{pathGlob:"{**/*.ts,**/*.tsx,**/*.js,**/*.css,**/*.html}"}]},"Ionide.Ionide-fsharp":{onFileOpen:[{pathGlob:"{**/*.fsx,**/*.fsi,**/*.fs,**/*.ml,**/*.mli}"}]},"dbaeumer.vscode-eslint":{onFileOpen:[{pathGlob:"{**/*.js,**/*.jsx,**/*.es6,**/.eslintrc.*,**/.eslintrc,**/.babelrc,**/jsconfig.json}"}]},"bmewburn.vscode-intelephense-client":{onFileOpen:[{pathGlob:"{**/*.php,**/php.ini}"}]},"xdebug.php-debug":{onFileOpen:[{pathGlob:"{**/*.php,**/php.ini}"}]},"rust-lang.rust-analyzer":{onFileOpen:[{pathGlob:"{**/*.rs,**/*.rslib}"}]},"DavidAnson.vscode-markdownlint":{onFileOpen:[{pathGlob:"{**/*.md}"}]},"EditorConfig.EditorConfig":{onFileOpen:[{pathGlob:"{**/.editorconfig}"}]},"HookyQR.beautify":{onFileOpen:[{pathGlob:"{**/.jsbeautifyrc}"}]},"donjayamanne.githistory":{onFileOpen:[{pathGlob:"{**/.gitignore,**/.git}"}]},"eamodio.gitlens":{onFileOpen:[{pathGlob:"{**/.gitignore,**/.git}"}]},"Shopify.ruby-lsp":{onFileOpen:[{pathGlob:"{**/*.rb,**/*.erb,**/*.reek,**/.fasterer.yml,**/ruby-lint.yml,**/.rubocop.yml}"}]},"swiftlang.swift-vscode":{onFileOpen:[{pathGlob:"{**/*.swift,**/*.swiftinterface}",important:!0}]},"DotJoshJohnson.xml":{onFileOpen:[{pathGlob:"{**/*.xml}"}]},"stylelint.vscode-stylelint":{onFileOpen:[{pathGlob:"{**/.stylelintrc,**/stylelint.config.js}"}]},"ms-mssql.mssql":{onFileOpen:[{pathGlob:"{**/*.sql}"}]},"mtxr.sqltools":{onFileOpen:[{pathGlob:"{**/*.sql}"}]},"usqlextpublisher.usql-vscode-ext":{onFileOpen:[{pathGlob:"{**/*.usql}"}]},"ms-vscode.sublime-keybindings":{onFileOpen:[{pathGlob:"{**/.sublime-project,**/.sublime-workspace}"}]},"k--kato.intellij-idea-keybindings":{onFileOpen:[{pathGlob:"{**/.idea}"}]},"christian-kohler.npm-intellisense":{onFileOpen:[{pathGlob:"{**/package.json}"}]},"cake-build.cake-vscode":{onFileOpen:[{pathGlob:"{**/build.cake}"}]},"Angular.ng-template":{onFileOpen:[{pathGlob:"{**/.angular-cli.json,**/angular.json,**/*.ng.html,**/*.ng,**/*.ngml}"}]},"vscjava.vscode-maven":{onFileOpen:[{pathGlob:"**/pom.xml"}]},"ms-azuretools.vscode-azureterraform":{onFileOpen:[{pathGlob:"**/*.tf"}]},"HashiCorp.terraform":{onFileOpen:[{pathGlob:"**/*.tf"}]},"vsciot-vscode.vscode-arduino":{onFileOpen:[{pathGlob:"**/*.ino"}]},"ms-kubernetes-tools.vscode-kubernetes-tools":{onFileOpen:[{pathGlob:"{**/Chart.yaml}"}]},"Oracle.oracledevtools":{onFileOpen:[{pathGlob:"{**/*.sql}"}]},"betterthantomorrow.calva":{onFileOpen:[{pathGlob:"{**/*.clj,**/*.cljs}"}]},"vmware.vscode-boot-dev-pack":{onFileOpen:[{pathGlob:"{**/application.properties}"}]},"GitHub.copilot":{onFileOpen:[{pathGlob:"{**/*.ts,**/*.tsx,**/*.js,**/*.jsx,**/*.py,**/*.go,**/*.rb,**/*.html,**/*.css,**/*.php,**/*.cpp,**/*.vue,**/*.c,**/*.sql,**/*.java,**/*.cs,**/*.rs,**/*.dart,**/*.ps,**/*.ps1,**/*.tex}"}],onSettingsEditorOpen:{descriptionOverride:"GitHub Copilot is an AI pair programmer tool that helps you write code faster and smarter."}},"GitHub.vscode-github-actions":{onFileOpen:[{pathGlob:"{**/.github/workflows/*.yml}",important:!0}]},"circleci.circleci":{onFileOpen:[{pathGlob:"{**/.circleci/config.yml}"}]},"mechatroner.rainbow-csv":{onFileOpen:[{pathGlob:"**/*.csv",important:!0}]},"tomoki1207.pdf":{onFileOpen:[{pathGlob:"**/*.pdf",important:!0}]},"Redis.redis-for-vscode":{onFileOpen:[{pathGlob:"{**/redis.*,**/redis-server.*,**/redis_*,**/redisinsight.*}",important:!0}]},"SonarSource.sonarlint-vscode":{onFileOpen:[{pathGlob:"{**/sonar-project.properties,**/sonarcloud.properties,**/sonarlint.*}",important:!0}]}},keymapExtensionTips:["vscodevim.vim","ms-vscode.sublime-keybindings","ms-vscode.atom-keybindings","ms-vscode.brackets-keybindings","ms-vscode.vs-keybindings","ms-vscode.notepadplusplus-keybindings","k--kato.intellij-idea-keybindings","lfs.vscode-emacs-friendly","alphabotsec.vscode-eclipse-keybindings","alefragnani.delphi-keybindings"],languageExtensionTips:["ms-python.python","ms-vscode.cpptools-extension-pack","ms-dotnettools.csdevkit","ms-toolsai.jupyter","vscjava.vscode-java-pack","ecmel.vscode-html-css","vue.volar","bmewburn.vscode-intelephense-client","dsznajder.es7-react-js-snippets","golang.go","ms-vscode.powershell","dart-code.dart-code","rust-lang.rust-analyzer","Shopify.ruby-lsp","GitHub.copilot"],configBasedExtensionTips:{git:{configPath:".git/config",configName:"Git",recommendations:{"github.vscode-pull-request-github":{name:"GitHub Pull Request",contentPattern:"^\\s*url\\s*=\\s*https:\\/\\/github\\.com.*$"},"eamodio.gitlens":{name:"GitLens"}}},devContainer:{configPath:".devcontainer/devcontainer.json",configName:"Dev Container",recommendations:{"ms-vscode-remote.remote-containers":{name:"Dev Containers",important:!0}}},maven:{configPath:"pom.xml",configName:"Maven",recommendations:{"vscjava.vscode-java-pack":{name:"Java",important:!0,isExtensionPack:!0,whenNotInstalled:["ASF.apache-netbeans-java","Oracle.oracle-java"]},"vmware.vscode-boot-dev-pack":{name:"Spring Boot Extension Pack",isExtensionPack:!0}}},gradle:{configPath:"build.gradle",configName:"Gradle",recommendations:{"vscjava.vscode-java-pack":{name:"Java",important:!0,isExtensionPack:!0,whenNotInstalled:["ASF.apache-netbeans-java","Oracle.oracle-java"]}}},"github-pull-request":{configPath:".vscode/.github-pull-request.rec",configName:"GitHub",configScheme:"vscode-vfs",recommendations:{"github.vscode-pull-request-github":{name:"GitHub Pull Request",important:!0}}},"pyproject-formatter":{configPath:"pyproject.toml",configName:"Python Formatter",recommendations:{"ms-python.black-formatter":{name:"Black Formatter",contentPattern:'(^\\s*\\[\\[?\\s*"?tool"?\\s*\\.\\s*"?black"?\\s*[\\].])|("black\\s*["[(<=>!~;@])'},"ms-python.autopep8":{name:"Autopep8",contentPattern:'(^\\s*\\[\\[?\\s*"?tool"?\\s*\\.\\s*"?autopep8"?\\s*[\\].])|("autopep8\\s*["[(<=>!~;@])'}}},"pep8-formatter":{configPath:".pep8",configName:"Python Formatter",recommendations:{"ms-python.autopep8":{name:"Autopep8"}}},"python-setup-cgf-formatter":{configPath:"setup.cfg",configName:"Python Formatter",recommendations:{"ms-python.autopep8":{name:"Autopep8",contentPattern:"^\\[pep8\\]"}}},"tox-ini-formatter":{configPath:"tox.ini",configName:"Python Formatter",recommendations:{"ms-python.autopep8":{name:"Autopep8",contentPattern:"^\\[pep8\\]"}}},"pyproject-linter":{configPath:"pyproject.toml",configName:"Python Linter",recommendations:{"ms-python.pylint":{name:"Pylint",contentPattern:'(^\\s*\\[\\[?\\s*"?tool"?\\s*\\.\\s*"?pylint"?\\s*[\\].])|("pylint\\s*["[(<=>!~;@])'},"charliermarsh.ruff":{name:"Ruff",contentPattern:'(^\\s*\\[\\[?\\s*"?tool"?\\s*\\.\\s*"?ruff"?\\s*[\\].])|("ruff\\s*["[(<=>!~;@])'},"ms-python.mypy-type-checker":{name:"Mypy Type Checker",contentPattern:'(^\\s*\\[\\[?\\s*"?tool"?\\s*\\.\\s*"?mypy"?\\s*[\\].])|("mypy\\s*["[(<=>!~;@])'},"ms-python.flake8":{name:"Flake8",contentPattern:'(^\\s*\\[\\[?\\s*"?tool"?\\s*\\.\\s*"?flake8"?\\s*[\\].])|("flake8\\s*["[(<=>!~;@])'}}},".pylintrc-linter":{configPath:".pylintrc",configName:"Python Linter",recommendations:{"ms-python.pylint":{name:"Pylint"}}},"pylintrc-linter":{configPath:"pylintrc",configName:"Python Linter",recommendations:{"ms-python.pylint":{name:"Pylint"}}},"mypy-ini-linter":{configPath:".mypy.ini",configName:"Python Linter",recommendations:{"ms-python.mypy-type-checker":{name:"Mypy Type Checker"}}},"tox-ini-linter":{configPath:"tox.ini",configName:"Python Linter",recommendations:{"ms-python.flake8":{name:"Flake8",contentPattern:"^\\[flake8\\]"}}},".flake8-linter":{configPath:".flake8",configName:"Python Linter",recommendations:{"ms-python.flake8":{name:"Flake8"}}},"python-setup-cgf-linter":{configPath:"setup.cfg",configName:"Python Linter",recommendations:{"ms-python.flake8":{name:"Flake8",contentPattern:"^\\[flake8\\]"}}}},exeBasedExtensionTips:{az:{friendlyName:"Azure CLI",windowsPath:"%ProgramFiles(x86)%\\Microsoft SDKs\\Azure\\CLI2\\wbin\\az.cmd",recommendations:{"ms-vscode.vscode-node-azure-pack":{name:"Azure Tools"},"ms-azuretools.vscode-azure-github-copilot":{name:"GitHub Copilot for Azure"}}},azd:{friendlyName:"Azure Dev CLI",windowsPath:"%USERPROFILE%\\AppData\\Local\\Programs\\Azure Dev CLI\\azd.exe",recommendations:{"ms-vscode.vscode-node-azure-pack":{name:"Azure Tools"},"ms-azuretools.vscode-azure-github-copilot":{name:"GitHub Copilot for Azure"}}},"azd-user":{friendlyName:"Azure Dev CLI",windowsPath:"%ProgramFiles%\\Azure Dev CLI\\azd.exe",recommendations:{"ms-vscode.vscode-node-azure-pack":{name:"Azure Tools"},"ms-azuretools.vscode-azure-github-copilot":{name:"GitHub Copilot for Azure"}}},"azure-powershell":{friendlyName:"Azure PowerShell",windowsPath:"%USERPROFILE%\\.Azure",recommendations:{"ms-vscode.vscode-node-azure-pack":{name:"Azure Tools"}}},heroku:{friendlyName:"Heroku CLI",windowsPath:"%ProgramFiles%\\Heroku\\bin\\heroku.cmd",recommendations:{"ms-azuretools.vscode-azureappservice":{name:"Azure App Service"},"pkosta2005.heroku-command":{name:"heroku-cli"}}},mongo:{friendlyName:"Mongo",windowsPath:"%ProgramFiles%\\MongoDB\\Server\\3.6\\bin\\mongod.exe",recommendations:{"ms-azuretools.vscode-cosmosdb":{name:"Azure Databases"}}},serverless:{friendlyName:"Serverless framework",windowsPath:"%APPDATA%\\npm\\serverless.cmd",recommendations:{"ms-azuretools.vscode-azurefunctions":{name:"Azure Functions"}}},func:{friendlyName:"Azure Function SDK",windowsPath:"%APPDATA%\\npm\\func.cmd",recommendations:{"ms-azuretools.vscode-azurefunctions":{name:"Azure Functions"}}},mysql:{friendlyName:"MySQL",windowsPath:"%ProgramFiles%\\MySQL\\MySQL Server 8.0\\bin\\mysqld.exe",recommendations:{"mtxr.sqltools":{name:"SQLTools"}}},postgres:{friendlyName:"PostgreSQL",windowsPath:"%ProgramFiles%\\PostgreSQL\\11\\bin\\psql.exe",recommendations:{"ms-ossdata.vscode-postgresql":{name:"PostgreSQL"},"mtxr.sqltools":{name:"SQLTools"}}},sqlcmd:{friendlyName:"SQL CLI",recommendations:{"ms-mssql.mssql":{name:"SQL Server (mssql)"}}},now:{friendlyName:"Now CLI",windowsPath:"%APPDATA%\\npm\\now.cmd",recommendations:{"ms-azuretools.vscode-azureappservice":{name:"Azure App Service"},"ms-azuretools.vscode-containers":{name:"Docker"}}},docker:{friendlyName:"Docker",windowsPath:"%ProgramFiles%\\Docker\\Docker\\Resources\\bin\\docker.exe",recommendations:{"ms-azuretools.vscode-containers":{name:"Docker",important:!0,whenNotInstalled:["ms-azuretools.vscode-docker"]},"ms-vscode-remote.remote-containers":{name:"Dev Containers",important:!0},"ms-kubernetes-tools.vscode-kubernetes-tools":{name:"Kubernetes"}}},kubectl:{friendlyName:"Kubernetes",windowsPath:"%ProgramFiles%\\Docker\\Docker\\Resources\\bin\\kubectl.exe",recommendations:{"ms-azuretools.vscode-containers":{name:"Docker"},"ms-kubernetes-tools.vscode-kubernetes-tools":{name:"Kubernetes"},"ms-vscode-remote.remote-containers":{name:"Dev Containers"}}},ng:{friendlyName:"Angular CLI",windowsPath:"%APPDATA%\\npmexit\\ng.cmd",recommendations:{"johnpapa.Angular2":{name:"Angular Snippets"}}},"create-react-app":{friendlyName:"Create React App",windowsPath:"%APPDATA%\\npm\\create-react-app.cmd",recommendations:{"msjsdiag.vscode-react-native":{name:"React Native Tools"}}},"react-native":{friendlyName:"React Native",windowsPath:"%APPDATA%\\npm\\react-native-cli",recommendations:{"msjsdiag.vscode-react-native":{name:"React Native Tools"}}},p4:{friendlyName:"Perforce",recommendations:{"slevesque.perforce":{name:"Perforce for VS Code"}}},hg:{friendlyName:"Mercurial",recommendations:{"mrcrowl.hg":{name:"Hg"}}},git:{friendlyName:"Git",windowsPath:"%ProgramFiles%\\Git\\git-bash.exe",recommendations:{"eamodio.gitlens":{name:"GitLens"}}},svn:{friendlyName:"Subversion",windowsPath:"%ProgramFiles%\\TortoiseSVN\\bin\\TortoiseProc.exe",recommendations:{"johnstoncode.svn-scm":{name:"SVN"}}},subl:{friendlyName:"Sublime",windowsPath:"%ProgramFiles%\\Sublime Text3\\sublime_text.exe",recommendations:{"ms-vscode.sublime-keybindings":{name:"Sublime Text Keymap and Settings Importer"}}},atom:{friendlyName:"Atom",windowsPath:"%USERPROFILE%\\AppData\\Local\\atom\\bin\\atom.cmd",recommendations:{"ms-vscode.atom-keybindings":{name:"Atom Keymap"}}},brackets:{friendlyName:"Brackets",windowsPath:"%ProgramFiles(x86)%\\Brackets\\Brackets.exe",recommendations:{"ms-vscode.brackets-keybindings":{name:"Brackets Keymap"}}},notepadplusplus:{friendlyName:"Notepad++",windowsPath:"%ProgramFiles%\\Notepad++\\Notepad++.exe",recommendations:{"ms-vscode.notepadplusplus-keybindings":{name:"Notepad++ keymap"}}},vi:{friendlyName:"VIM",windowsPath:"%ProgramFiles(x86)%\\Vim\\vim80\\gvim.exe",recommendations:{"vscodevim.vim":{name:"Vim"}}},mvn:{friendlyName:"Maven",recommendations:{"vscjava.vscode-java-pack":{name:"Java",important:!0,isExtensionPack:!0,whenNotInstalled:["ASF.apache-netbeans-java","Oracle.oracle-java"]}}},gradle:{friendlyName:"Gradle",recommendations:{"vscjava.vscode-java-pack":{name:"Java",important:!0,isExtensionPack:!0,whenNotInstalled:["ASF.apache-netbeans-java","Oracle.oracle-java"]}}},ollama:{friendlyName:"Ollama",windowsPath:"%USERPROFILE%\\AppData\\Local\\Programs\\Ollama\\ollama.exe",recommendations:{"ms-windows-ai-studio.windows-ai-studio":{name:"AI Toolkit for Visual Studio Code"}}},"Microsoft Edge":{friendlyName:"Microsoft Edge",windowsPath:"%USERPROFILE%\\AppData\\Local\\Microsoft\\Edge\\Application\\msedge.exe",recommendations:{"ms-edgedevtools.vscode-edge-devtools":{name:"Microsoft Edge Developer Tools"}}},"Microsoft Edge Dev":{friendlyName:"Microsoft Edge Dev",windowsPath:"%USERPROFILE%\\AppData\\Local\\Microsoft\\Edge Dev\\Application\\msedge.exe",recommendations:{"ms-edgedevtools.vscode-edge-devtools":{name:"Microsoft Edge Developer Tools"}}},"Microsoft Edge Beta":{friendlyName:"Microsoft Edge Beta",windowsPath:"%USERPROFILE%\\AppData\\Local\\Microsoft\\Edge Beta\\Application\\msedge.exe",recommendations:{"ms-edgedevtools.vscode-edge-devtools":{name:"Microsoft Edge Developer Tools"}}},"Microsoft Edge Canary":{friendlyName:"Microsoft Edge Canary",windowsPath:"%USERPROFILE%\\AppData\\Local\\Microsoft\\Edge SxS\\Application\\msedge.exe",recommendations:{"ms-edgedevtools.vscode-edge-devtools":{name:"Microsoft Edge Developer Tools"}}},"Mozilla Firefox (x86)":{friendlyName:"Mozilla Firefox",windowsPath:"%ProgramFiles(x86)%\\Mozilla Firefox\\firefox.exe",recommendations:{"firefox-devtools.vscode-firefox-debug":{name:"Debugger for Firefox"}}},"Mozilla Firefox Developer Edition (x86)":{friendlyName:"Mozilla Firefox Developer Edition",windowsPath:"%ProgramFiles(x86)%\\Firefox Developer Edition\\firefox.exe",recommendations:{"firefox-devtools.vscode-firefox-debug":{name:"Debugger for Firefox"}}},"Mozilla Firefox":{friendlyName:"Mozilla Firefox",windowsPath:"%ProgramFiles%\\Mozilla Firefox\\firefox.exe",recommendations:{"firefox-devtools.vscode-firefox-debug":{name:"Debugger for Firefox"}}},"Mozilla Firefox Developer Edition":{friendlyName:"Mozilla Firefox Developer Edition",windowsPath:"%ProgramFiles%\\Firefox Developer Edition\\firefox.exe",recommendations:{"firefox-devtools.vscode-firefox-debug":{name:"Debugger for Firefox"}}},cordova:{friendlyName:"Cordova",windowsPath:"%APPDATA%\\npm\\cordova",recommendations:{"msjsdiag.cordova-tools":{name:"Cordova Tools"}}},gcloud:{friendlyName:"Google GCloud CLI",windowsPath:"%ProgramFiles(x86)%\\Google\\Cloud SDK\\google-cloud-sdk\\bin\\gcloud.cmd",recommendations:{"GoogleCloudTools.cloudcode":{name:"Cloud Code"}}},skaffold:{friendlyName:"Skaffold Code to Cluster",recommendations:{"ms-azuretools.vscode-containers":{name:"Docker"},"ms-kubernetes-tools.vscode-kubernetes-tools":{name:"Kubernetes"}}},minikube:{friendlyName:"MiniKube Local Kubernetes Cluster",recommendations:{"ms-azuretools.vscode-containers":{name:"Docker"},"ms-kubernetes-tools.vscode-kubernetes-tools":{name:"Kubernetes"},"ms-vscode-remote.remote-containers":{name:"Dev Containers"}}},podman:{friendlyName:"Podman",recommendations:{"ms-vscode-remote.remote-containers":{name:"Dev Containers"}}},wsl:{friendlyName:"Windows Subsystem for Linux (WSL)",windowsPath:"%WINDIR%\\system32\\lxss\\LxssManager.dll",recommendations:{"ms-vscode-remote.remote-wsl":{name:"WSL"}}}},webExtensionTips:["tyriar.luna-paint","codespaces-contrib.codeswing","ms-vscode.vscode-github-issue-notebooks","esbenp.prettier-vscode","hediet.vscode-drawio"],virtualWorkspaceExtensionTips:{"vscode-vfs":{friendlyName:"Remote Repositories",extensionId:"ms-vscode.remote-repositories",startEntry:{helpLink:"https://aka.ms/vscode-remote/remote-repositories",startConnectLabel:"Remote Repository",startCommand:"remoteHub.continueOn.openRepository",priority:5}}},remoteExtensionTips:{wsl:{friendlyName:"WSL",extensionId:"ms-vscode-remote.remote-wsl",supportedPlatforms:["Windows","Web"],startEntry:{helpLink:"https://aka.ms/vscode-remote/wsl",startConnectLabel:"WSL",startCommand:"remote-wsl.connect",priority:3}},"ssh-remote":{friendlyName:"Remote - SSH",extensionId:"ms-vscode-remote.remote-ssh",supportedPlatforms:["Windows","Linux","Mac"],startEntry:{helpLink:"https://aka.ms/vscode-remote/ssh",startConnectLabel:"SSH ",startCommand:"opensshremotes.openEmptyWindowInCurrentWindow",priority:1}},"dev-container":{friendlyName:"Dev Containers",extensionId:"ms-vscode-remote.remote-containers",supportedPlatforms:["Windows","Linux","Mac"],startEntry:{helpLink:"https://aka.ms/vscode-remote/containers",startConnectLabel:"Dev Container",startCommand:"remote-containers.reopenInContainer",priority:2}},"attached-container":{friendlyName:"Dev Containers",extensionId:"ms-vscode-remote.remote-containers"},codespaces:{friendlyName:"GitHub Codespaces",extensionId:"github.codespaces",startEntry:{helpLink:"https://aka.ms/vscode-remote-codespaces",startConnectLabel:"GitHub Codespace ",startCommand:"github.codespaces.connect",priority:4}},tunnel:{friendlyName:"Remote - Tunnels",extensionId:"ms-vscode.remote-server",startEntry:{helpLink:"https://aka.ms/remote-tunnels-doc",startConnectLabel:"Tunnel",startCommand:"remote-tunnels.connectCurrentWindowToTunnel",priority:0}},amlext:{friendlyName:"Azure Machine Learning",extensionId:"ms-toolsai.vscode-ai-remote"}},commandPaletteSuggestedCommandIds:["workbench.action.files.openFile","workbench.action.files.openFileFolder","workbench.action.files.openFolder","workbench.action.remote.showMenu","editor.action.formatDocument","editor.action.commentLine","workbench.action.tasks.runTask","workbench.action.openSettings2","workbench.action.selectTheme","workbench.action.openWalkthrough","workbench.action.openIssueReporter"],extensionKeywords:{md:["Markdown"],js:["JavaScript"],jsx:["JavaScript"],es6:["JavaScript"],html:["Html"],ts:["TypeScript"],tsx:["TypeScript"],css:["CSS"],scss:["SASS"],txt:["Text"],php:["PHP"],php3:["PHP"],php4:["PHP"],ph3:["PHP"],ph4:["PHP"],xml:["XML"],py:["Python"],pyc:["Python"],pyd:["Python"],pyo:["Python"],pyw:["Python"],pyz:["Python"],java:["Java"],class:["Java"],jar:["Java"],c:["c","objective c","objective-c"],m:["objective c","objective-c"],mm:["objective c","objective-c"],cpp:["cpp","c plus plus","c","c++"],cc:["cpp","c plus plus","c","c++"],cxx:["cpp","c plus plus","c++"],hh:["cpp","c plus plus","c++"],hpp:["cpp","c++"],h:["cpp","c plus plus","c++","c","objective c","objective-c"],sql:["sql"],sh:["bash"],bash:["bash"],zsh:["bash","zshell"],cs:["c#","csharp"],csproj:["c#","csharp"],sln:["c#","csharp"],go:["go"],sty:["latex"],tex:["latex"],ps:["powershell"],ps1:["powershell"],rs:["rust"],rslib:["rust"],hs:["haskell"],lhs:["haskell"],scm:["scheme"],ss:["scheme"],clj:["clojure"],cljs:["clojure"],cljc:["clojure"],edn:["clojure"],erl:["erlang"],hrl:["erlang"],scala:["scala"],sc:["scala"],pl:["perl"],pm:["perl"],t:["perl"],pod:["perl"],groovy:["groovy"],swift:["swift"],rb:["ruby"],rbw:["ruby"],jl:["julia"],f:["fortran"],for:["fortran"],f90:["fortran"],f95:["fortran"],coffee:["CoffeeScript"],litcoffee:["CoffeeScript"],yaml:["yaml"],yml:["yaml"],dart:["dart"],json:["json"]},extensionAllowedBadgeProviders:["api.travis-ci.com","app.fossa.io","badge.buildkite.com","badge.fury.io","badgen.net","badges.frapsoft.com","badges.gitter.im","cdn.travis-ci.com","ci.appveyor.com","circleci.com","cla.opensource.microsoft.com","codacy.com","codeclimate.com","codecov.io","coveralls.io","david-dm.org","deepscan.io","dev.azure.com","docs.rs","flat.badgen.net","gitlab.com","godoc.org","goreportcard.com","img.shields.io","isitmaintained.com","marketplace.visualstudio.com","nodesecurity.io","opencollective.com","snyk.io","travis-ci.com","travis-ci.org","visualstudio.com","vsmarketplacebadge.apphb.com"],extensionAllowedBadgeProvidersRegex:["^https:\\/\\/github\\.com\\/[^/]+\\/[^/]+\\/(actions\\/)?workflows\\/.*badge\\.svg"],crashReporter:{productName:"VSCode",companyName:"Microsoft"},appCenter:{"win32-x64":"appcenter://code?aid=a4e3233c-699c-46ec-b4f4-9c2a77254662","win32-arm64":"appcenter://code?aid=3712d786-7cc8-4f11-8b08-cc12eab6d4f7","linux-x64":"appcenter://code?aid=fba07a4d-84bd-4fc8-a125-9640fc8ce171",darwin:"appcenter://code?aid=860d6632-f65b-490b-85a8-3e72944f7774","darwin-arm64":"appcenter://code?aid=be71415d-3893-4ae5-b453-e537b9668a10","darwin-universal":"appcenter://code?aid=de75e3cc-e22f-4f42-a03f-1409c21d8af8"},enableTelemetry:!0,aiConfig:{ariaKey:"5bbf946d11a54f6783919c455abaddaf-fd62977b-c92d-4714-a45d-649d06980372-7168"},msftInternalDomains:["redmond.corp.microsoft.com","northamerica.corp.microsoft.com","fareast.corp.microsoft.com","ntdev.corp.microsoft.com","wingroup.corp.microsoft.com","southpacific.corp.microsoft.com","wingroup.windeploy.ntdev.microsoft.com","ddnet.microsoft.com","europe.corp.microsoft.com"],documentationUrl:"https://go.microsoft.com/fwlink/?LinkID=533484#vscode",serverDocumentationUrl:"https://aka.ms/vscode-server-doc",releaseNotesUrl:"https://go.microsoft.com/fwlink/?LinkID=533483#vscode",keyboardShortcutsUrlMac:"https://go.microsoft.com/fwlink/?linkid=832143",keyboardShortcutsUrlLinux:"https://go.microsoft.com/fwlink/?linkid=832144",keyboardShortcutsUrlWin:"https://go.microsoft.com/fwlink/?linkid=832145",introductoryVideosUrl:"https://go.microsoft.com/fwlink/?linkid=832146",tipsAndTricksUrl:"https://go.microsoft.com/fwlink/?linkid=852118",newsletterSignupUrl:"https://www.research.net/r/vsc-newsletter",youTubeUrl:"https://aka.ms/vscode-youtube",requestFeatureUrl:"https://go.microsoft.com/fwlink/?LinkID=533482",reportIssueUrl:"https://github.com/Microsoft/vscode/issues/new",reportMarketplaceIssueUrl:"https://github.com/microsoft/vsmarketplace/issues/new",licenseUrl:"https://go.microsoft.com/fwlink/?LinkID=533485",serverLicenseUrl:"https://aka.ms/vscode-server-license",privacyStatementUrl:"https://go.microsoft.com/fwlink/?LinkId=521839",showTelemetryOptOut:!0,npsSurveyUrl:"https://aka.ms/vscode-nps",checksumFailMoreInfoUrl:"https://go.microsoft.com/fwlink/?LinkId=828886",electronRepository:"Microsoft/vscode-electron-prebuilt",nodejsRepository:"Microsoft/vscode-node",settingsSearchUrl:"https://bingsettingssearch.trafficmanager.net/api/Search",surveys:[{surveyId:"cpp.1",surveyUrl:"https://www.research.net/r/VBVV6C6",languageId:"cpp",editCount:10,userProbability:.15},{surveyId:"java.2",surveyUrl:"https://www.research.net/r/vscodejava",languageId:"java",editCount:10,userProbability:.3},{surveyId:"javascript.1",surveyUrl:"https://www.research.net/r/vscode-js",languageId:"javascript",editCount:10,userProbability:.05},{surveyId:"typescript.1",surveyUrl:"https://www.research.net/r/vscode-ts",languageId:"typescript",editCount:10,userProbability:.05},{surveyId:"csharp.1",surveyUrl:"https://www.research.net/r/8KGJ9V8",languageId:"csharp",editCount:10,userProbability:.1}],extensionsEnabledWithApiProposalVersion:["GitHub.copilot-chat","ms-vscode.vscode-commander","ms-vscode.vscode-copilot-vision","GitHub.vscode-pull-request-github"],extensionEnabledApiProposals:{"mrleemurray.theme-2026":["css"],"ms-azuretools.vscode-containers":["authenticationChallenges"],"ms-azuretools.vscode-azureresourcegroups":["authenticationChallenges"],"ms-azuretools.vscode-azure-github-copilot":["authenticationChallenges"],"ms-azuretools.vscode-dev-azurecloudshell":["contribEditSessions","authenticationChallenges"],"ms-toolsai.vscode-ai":["authenticationChallenges"],"TeamsDevApp.vscode-ai-foundry":["authenticationChallenges"],"ms-vscode.vscode-selfhost-test-provider":["testObserver","testRelatedCode"],"VisualStudioExptTeam.vscodeintellicode-completions":["inlineCompletionsAdditions"],"ms-vsliveshare.vsliveshare":["contribMenuBarHome","contribShareMenu","contribStatusBarItems","diffCommand","documentFiltersExclusive","fileSearchProvider","findTextInFiles","notebookLiveShare","terminalDimensions","terminalDataWriteEvent","textSearchProvider"],"ms-vscode.js-debug":["portsAttributes","findTextInFiles","workspaceTrust","tunnels"],"ms-toolsai.vscode-ai-remote":["resolvers","authenticationChallenges"],"ms-python.python":["codeActionAI","contribEditorContentMenu","quickPickSortByLabel","portsAttributes","testObserver","quickPickItemTooltip","terminalDataWriteEvent","terminalExecuteCommandEvent","notebookReplDocument","notebookVariableProvider","terminalShellEnv"],"ms-python.vscode-python-envs":["terminalShellEnv","terminalDataWriteEvent"],"ms-dotnettools.dotnet-interactive-vscode":["notebookMessaging"],"GitHub.codespaces":["contribEditSessions","contribMenuBarHome","contribRemoteHelp","contribViewsRemote","resolvers","tunnels","terminalDataWriteEvent","treeViewReveal","notebookKernelSource"],"ms-vscode.azure-repos":["extensionRuntime","fileSearchProvider","textSearchProvider"],"ms-vscode.remote-repositories":["canonicalUriProvider","contribEditSessions","contribRemoteHelp","contribMenuBarHome","contribViewsRemote","contribViewsWelcome","contribShareMenu","documentFiltersExclusive","editSessionIdentityProvider","extensionRuntime","fileSearchProvider","quickPickSortByLabel","workspaceTrust","shareProvider","scmActionButton","scmSelectedProvider","scmValidation","textSearchProvider","timeline"],"ms-vscode-remote.remote-wsl":["resolvers","contribRemoteHelp","contribViewsRemote","telemetry"],"ms-vscode-remote.remote-ssh":["resolvers","tunnels","terminalDataWriteEvent","contribRemoteHelp","contribViewsRemote","telemetry"],"ms-vscode.remote-server":["resolvers","tunnels","contribViewsWelcome"],"ms-vscode.remote-explorer":["contribRemoteHelp","contribViewsRemote","extensionsAny"],"ms-vscode-remote.remote-containers":["contribEditSessions","resolvers","portsAttributes","tunnels","workspaceTrust","terminalDimensions","contribRemoteHelp","contribViewsRemote"],"ms-vscode.js-debug-nightly":["portsAttributes","findTextInFiles","workspaceTrust","tunnels"],"ms-vscode.lsif-browser":["documentFiltersExclusive"],"ms-vscode.vscode-speech":["speech"],"GitHub.vscode-pull-request-github":["activeComment","chatContextProvider","chatParticipantAdditions","chatParticipantPrivate","chatSessionsProvider","codiconDecoration","codeActionRanges","commentingRangeHint","commentReactor","commentReveal","commentsDraftState","commentThreadApplicability","contribAccessibilityHelpContent","contribCommentEditorActionsMenu","contribCommentPeekContext","contribCommentThreadAdditionalMenu","contribCommentsViewThreadMenus","contribEditorContentMenu","contribMultiDiffEditorMenus","contribShareMenu","diffCommand","languageModelToolResultAudience","markdownAlertSyntax","quickDiffProvider","remoteCodingAgents","shareProvider","tabInputMultiDiff","tabInputTextMerge","tokenInformation","treeItemMarkdownLabel","treeViewMarkdownMessage"],"GitHub.copilot":["inlineCompletionsAdditions","devDeviceId"],"GitHub.copilot-nightly":["inlineCompletionsAdditions","devDeviceId"],"GitHub.copilot-chat":["interactive","terminalDataWriteEvent","terminalExecuteCommandEvent","terminalSelection","terminalQuickFixProvider","chatParticipantAdditions","defaultChatParticipant","embeddings","chatProvider","mappedEditsProvider","aiRelatedInformation","aiSettingsSearch","codeActionAI","findTextInFiles","findTextInFiles2","textSearchProvider","textSearchProvider2","activeComment","commentReveal","contribSourceControlInputBoxMenu","contribCommentEditorActionsMenu","contribCommentThreadAdditionalMenu","contribCommentsViewThreadMenus","contribChatEditorInlineGutterMenu","extensionAffinity","newSymbolNamesProvider","findFiles2","chatReferenceDiagnostic","extensionsAny","authLearnMore","testObserver","aiTextSearchProvider","documentFiltersExclusive","chatParticipantPrivate","contribDebugCreateConfiguration","inlineCompletionsAdditions","chatReferenceBinaryData","languageModelSystem","languageModelCapabilities","languageModelThinkingPart","languageModelToolSupportsModel","chatStatusItem","taskProblemMatcherStatus","contribLanguageModelToolSets","textDocumentChangeReason","resolvers","taskExecutionTerminal","dataChannels","chatSessionsProvider","devDeviceId","contribEditorContentMenu","tokenInformation","chatPromptFiles","mcpServerDefinitions","tabInputMultiDiff","workspaceTrust"],"GitHub.remotehub":["contribRemoteHelp","contribMenuBarHome","contribViewsRemote","contribViewsWelcome","documentFiltersExclusive","extensionRuntime","fileSearchProvider","quickPickSortByLabel","workspaceTrust","scmSelectedProvider","scmValidation","textSearchProvider","timeline"],"ms-python.vscode-pylance":["terminalShellEnv","portsAttributes","codeActionAI"],"ms-python.debugpy":["contribViewsWelcome","debugVisualization","portsAttributes"],"ms-toolsai.jupyter-renderers":["contribNotebookStaticPreloads"],"ms-toolsai.jupyter":["notebookDeprecated","notebookMessaging","notebookMime","portsAttributes","quickPickSortByLabel","notebookKernelSource","interactiveWindow","notebookControllerAffinityHidden","contribNotebookStaticPreloads","quickPickItemTooltip","notebookExecution","notebookCellExecution","notebookVariableProvider","notebookReplDocument"],"donjayamanne.kusto":["notebookVariableProvider"],"ms-toolsai.tensorboard":["portsAttributes"],"dbaeumer.vscode-eslint":[],"ms-vscode.azure-sphere-tools-ui":["tunnels"],"ms-azuretools.vscode-azureappservice":["terminalDataWriteEvent"],"ms-vscode.anycode":["extensionsAny"],"ms-vscode.cpptools":["terminalDataWriteEvent","chatParticipantAdditions"],"vscjava.vscode-java-pack":[],"ms-dotnettools.csdevkit":["inlineCompletionsAdditions"],"ms-dotnettools.vscodeintellicode-csharp":["inlineCompletionsAdditions"],"microsoft-IsvExpTools.powerplatform-vscode":["fileSearchProvider","textSearchProvider"],"microsoft-IsvExpTools.powerplatform-vscode-preview":["fileSearchProvider","textSearchProvider"],"TeamsDevApp.ms-teams-vscode-extension":["chatParticipantAdditions","languageModelSystem"],"ms-toolsai.datawrangler":[],"ms-vscode.vscode-commander":[],"ms-vscode.vscode-websearchforcopilot":[],"ms-vscode.vscode-copilot-vision":["chatReferenceBinaryData","codeActionAI"],"ms-autodev.vscode-autodev":["chatParticipantAdditions"],"vscjava.vscode-java-upgrade":["chatParticipantAdditions","chatParticipantPrivate"],"FoundryLocal.foundry-local-chat":["chatProvider"],"Microsoft.foundry-local-chat":["chatProvider"],"ms-wmcp.windows-mcp-server-extension":["mcpToolDefinitions"],"openai.chatgpt":["languageModelProxy","chatSessionsProvider"]},tasConfig:{endpoint:"https://default.exp-tas.com/vscode/ab",telemetryEventName:"query-expfeature",assignmentContextTelemetryPropertyName:"abexp.assignmentcontext"},extensionKind:{"Shan.code-settings-sync":["ui"],"shalldie.background":["ui"],"techer.open-in-browser":["ui"],"CoenraadS.bracket-pair-colorizer-2":["ui"],"CoenraadS.bracket-pair-colorizer":["ui","workspace"],"hiro-sun.vscode-emacs":["ui","workspace"],"hnw.vscode-auto-open-markdown-preview":["ui","workspace"],"wayou.vscode-todo-highlight":["ui","workspace"],"aaron-bond.better-comments":["ui","workspace"],"vscodevim.vim":["ui"],"ollyhayes.colmak-vim":["ui"]},extensionPointExtensionKind:{typescriptServerPlugins:["workspace"]},extensionSyncedKeys:{"ritwickdey.liveserver":["liveServer.setup.version"]},extensionVirtualWorkspacesSupport:{"esbenp.prettier-vscode":{default:!1},"msjsdiag.debugger-for-chrome":{default:!1},"redhat.java":{default:!1},"HookyQR.beautify":{default:!1},"ritwickdey.LiveServer":{default:!1},"VisualStudioExptTeam.vscodeintellicode":{default:!1},"octref.vetur":{default:!1},"formulahendry.code-runner":{default:!1},"xdebug.php-debug":{default:!1},"ms-mssql.mssql":{default:!1},"christian-kohler.path-intellisense":{default:!1},"eg2.tslint":{default:!1},"eg2.vscode-npm-script":{default:!1},"donjayamanne.githistory":{default:!1},"Zignd.html-css-class-completion":{default:!1},"christian-kohler.npm-intellisense":{default:!1},"EditorConfig.EditorConfig":{default:!1},"austin.code-gnu-global":{default:!1},"johnpapa.Angular2":{default:!1},"ms-vscode.vscode-typescript-tslint-plugin":{default:!1},"DotJoshJohnson.xml":{default:!1},"techer.open-in-browser":{default:!1},"tht13.python":{default:!1},"bmewburn.vscode-intelephense-client":{default:!1},"Angular.ng-template":{default:!1},"xdebug.php-pack":{default:!1},"dbaeumer.jshint":{default:!1},"yzhang.markdown-all-in-one":{default:!1},"Dart-Code.flutter":{default:!1},"streetsidesoftware.code-spell-checker":{default:!1},"rebornix.Ruby":{default:!1},"ms-vscode.sublime-keybindings":{default:!1},"mitaki28.vscode-clang":{default:!1},"steoates.autoimport":{default:!1},"donjayamanne.python-extension-pack":{default:!1},"shd101wyy.markdown-preview-enhanced":{default:!1},"mikestead.dotenv":{default:!1},"pranaygp.vscode-css-peek":{default:!1},"ikappas.phpcs":{default:!1},"platformio.platformio-ide":{default:!1},"jchannon.csharpextensions":{default:!1},"gruntfuggly.todo-tree":{default:!1}},linkProtectionTrustedDomains:["https://*.visualstudio.com","https://*.microsoft.com","https://aka.ms","https://*.gallerycdn.vsassets.io","https://*.github.com","https://login.microsoftonline.com","https://*.vscode.dev","https://*.github.dev","https://gh.io","https://portal.azure.com","https://raw.githubusercontent.com","https://private-user-images.githubusercontent.com","https://avatars.githubusercontent.com","https://auth.openai.com"],trustedExtensionAuthAccess:{github:["vscode.github","github.remotehub","ms-vscode.remote-server","github.vscode-pull-request-github","github.codespaces","github.copilot","github.copilot-chat","ms-vsliveshare.vsliveshare","ms-azuretools.vscode-azure-github-copilot"],"github-enterprise":["vscode.github","github.remotehub","ms-vscode.remote-server","github.vscode-pull-request-github","github.codespaces","github.copilot","github.copilot-chat","ms-vsliveshare.vsliveshare","ms-azuretools.vscode-azure-github-copilot"],microsoft:["github.copilot-chat","ms-vscode.azure-repos","ms-vscode.remote-server","ms-vsliveshare.vsliveshare","ms-azuretools.vscode-azure-github-copilot","ms-azuretools.vscode-azureresourcegroups","ms-azuretools.vscode-dev-azurecloudshell","ms-edu.vscode-learning","ms-toolsai.vscode-ai","ms-toolsai.vscode-ai-remote"],"microsoft-sovereign-cloud":["ms-vscode.azure-repos","ms-vscode.remote-server","ms-vsliveshare.vsliveshare","ms-azuretools.vscode-azure-github-copilot","ms-azuretools.vscode-azureresourcegroups","ms-azuretools.vscode-dev-azurecloudshell","ms-edu.vscode-learning","ms-toolsai.vscode-ai","ms-toolsai.vscode-ai-remote"],"__GitHub.copilot-chat":["ms-azuretools.vscode-azure-github-copilot","github.vscode-pull-request-github"]},trustedExtensionProtocolHandlers:["vscode.git","vscode.github-authentication","vscode.microsoft-authentication","github.vscode-pull-request-github"],authClientIdMetadataUrl:"https://vscode.dev/oauth/client-metadata.json",inheritAuthAccountPreference:{"github.copilot":["github.copilot-chat"]},auth:{loginUrl:"https://login.microsoftonline.com/common/oauth2/authorize",tokenUrl:"https://login.microsoftonline.com/common/oauth2/token",redirectUrl:"https://vscode-redirect.azurewebsites.net/",clientId:"aebc6443-996d-45c2-90f0-388ff96faa56"},"configurationSync.store":{url:"https://vscode-sync.trafficmanager.net/",stableUrl:"https://vscode-sync.trafficmanager.net/",insidersUrl:"https://vscode-sync-insiders.trafficmanager.net/",canSwitch:!1,authenticationProviders:{github:{scopes:["user:email"]},microsoft:{scopes:["openid","profile","email","offline_access"]}}},"editSessions.store":{url:"https://vscode-sync.trafficmanager.net/",authenticationProviders:{microsoft:{scopes:["openid","profile","email","offline_access"]},github:{scopes:["user:email"]}}},tunnelServerQualities:{stable:{serverApplicationName:"code-server"},exploration:{serverApplicationName:"code-server-exploration"},insider:{serverApplicationName:"code-server-insiders"}},tunnelApplicationName:"code-tunnel",tunnelApplicationConfig:{editorWebUrl:"https://vscode.dev",extension:{friendlyName:"Remote - Tunnels",extensionId:"ms-vscode.remote-server"},authenticationProviders:{github:{scopes:["user:email","read:org"]},microsoft:{scopes:["46da2f7e-b5ef-422a-88d4-2a7f9de6a0b2/.default","profile","openid"]}}},win32TunnelServiceMutex:"vscode-tunnelservice",win32TunnelMutex:"vscode-tunnel",commonlyUsedSettings:["editor.fontSize","editor.formatOnSave","files.autoSave","GitHub.copilot.manageExtension","editor.defaultFormatter","editor.fontFamily","editor.wordWrap","files.exclude","workbench.colorTheme","editor.tabSize","editor.mouseWheelZoom","editor.formatOnPaste"],aiGeneratedWorkspaceTrust:{title:"This workspace was generated by GitHub Copilot",checkboxText:"Trust the contents of all files in this workspace",trustOption:"Yes, I trust the contents",dontTrustOption:"No, I don't trust the contents",startupTrustRequestLearnMore:"If you don't trust the contents of the files generated by GitHub Copilot, we recommend continuing in restricted mode. See [our docs](https://aka.ms/vscode-workspace-trust) to learn more. "},defaultChatAgent:{extensionId:"GitHub.copilot",chatExtensionId:"GitHub.copilot-chat",chatExtensionOutputId:"GitHub.copilot-chat.GitHub Copilot Chat.log",documentationUrl:"https://aka.ms/github-copilot-overview",termsStatementUrl:"https://aka.ms/github-copilot-terms-statement",privacyStatementUrl:"https://aka.ms/github-copilot-privacy-statement",skusDocumentationUrl:"https://aka.ms/github-copilot-plans",publicCodeMatchesUrl:"https://aka.ms/github-copilot-match-public-code",manageSettingsUrl:"https://aka.ms/github-copilot-settings",managePlanUrl:"https://aka.ms/github-copilot-manage-plan",manageOverageUrl:"https://aka.ms/github-copilot-manage-overage",upgradePlanUrl:"https://aka.ms/github-copilot-upgrade-plan",signUpUrl:"https://aka.ms/github-sign-up",provider:{default:{id:"github",name:"GitHub"},enterprise:{id:"github-enterprise",name:"GHE.com"},google:{id:"google",name:"Google"},apple:{id:"apple",name:"Apple"}},providerUriSetting:"github-enterprise.uri",providerScopes:[["read:user","user:email","repo","workflow"],["user:email"],["read:user"]],entitlementUrl:"https://api.github.com/copilot_internal/user",entitlementSignupLimitedUrl:"https://api.github.com/copilot_internal/subscribe_limited_user",chatQuotaExceededContext:"github.copilot.chat.quotaExceeded",completionsQuotaExceededContext:"github.copilot.completions.quotaExceeded",walkthroughCommand:"github.copilot.open.walkthrough",completionsMenuCommand:"github.copilot.toggleStatusMenu",completionsRefreshTokenCommand:"github.copilot.signIn",chatRefreshTokenCommand:"github.copilot.refreshToken",generateCommitMessageCommand:"github.copilot.git.generateCommitMessage",resolveMergeConflictsCommand:"github.copilot.git.resolveMergeConflicts",completionsAdvancedSetting:"github.copilot.advanced",completionsEnablementSetting:"github.copilot.enable",nextEditSuggestionsSetting:"github.copilot.nextEditSuggestions.enabled",tokenEntitlementUrl:"https://api.github.com/copilot_internal/v2/token",mcpRegistryDataUrl:"https://api.github.com/copilot/mcp_registry"},chatParticipantRegistry:"https://main.vscode-cdn.net/extensions/chat.json",remoteDefaultExtensionsIfInstalledLocally:["GitHub.copilot","GitHub.copilot-chat","GitHub.vscode-pull-request-github"],extensionConfigurationPolicy:{"github.copilot.nextEditSuggestions.enabled":{name:"CopilotNextEditSuggestions",minimumVersion:"1.99"},"github.copilot.chat.reviewSelection.enabled":{name:"CopilotReviewSelection",minimumVersion:"1.104"},"github.copilot.chat.reviewAgent.enabled":{name:"CopilotReviewAgent",minimumVersion:"1.104"}},win32ContextMenu:{x64:{clsid:"1C6DF0C0-192A-4451-BE36-6A59A86A692E"},arm64:{clsid:"F5EA5883-1DA8-4A05-864A-D5DE2D2B2854"}},chatSessionRecommendations:[{extensionId:"openai.chatgpt",extensionName:"Codex - OpenAI's coding agent",displayName:"Codex Agent",name:"codex",description:"Codex is OpenAI's coding agent that helps you write, review, and ship code faster.",postInstallCommand:"chatgpt.newCodexPanel"},{extensionId:"GitHub.copilot-chat",extensionName:"GitHub Copilot Chat",displayName:"Background Agent",name:"cli",description:"Delegate tasks to a background agent.",postInstallCommand:"workbench.action.chat.openNewSessionSidebar.copilotcli"},{extensionId:"GitHub.copilot-chat",extensionName:"GitHub Copilot Chat",displayName:"Cloud Agent",name:"cloud",description:"Delegate tasks to the GitHub Copilot Cloud Agent. The agent works asynchronously in the cloud to implement changes, iterates via chat, and can create or update pull requests as needed.",postInstallCommand:"workbench.action.chat.openNewSessionSidebar.copilot-cloud-agent"}],builtInExtensions:[{name:"ms-vscode.js-debug-companion",version:"1.1.3",sha256:"7380a890787452f14b2db7835dfa94de538caf358ebc263f9d46dd68ac52de93",repo:"https://github.com/microsoft/vscode-js-debug-companion",metadata:{id:"99cb0b7f-7354-4278-b8da-6cc79972169d",publisherId:{publisherId:"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee",publisherName:"ms-vscode",displayName:"Microsoft",flags:"verified"},publisherDisplayName:"Microsoft"}},{name:"ms-vscode.js-debug",version:"1.105.0",sha256:"0c45b90342e8aafd4ff2963b4006de64208ca58c2fd01fea7a710fe61dcfd12a",repo:"https://github.com/microsoft/vscode-js-debug",metadata:{id:"25629058-ddac-4e17-abba-74678e126c5d",publisherId:{publisherId:"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee",publisherName:"ms-vscode",displayName:"Microsoft",flags:"verified"},publisherDisplayName:"Microsoft"}},{name:"ms-vscode.vscode-js-profile-table",version:"1.0.10",sha256:"7361748ddf9fd09d8a2ed1f2a2d7376a2cf9aae708692820b799708385c38e08",repo:"https://github.com/microsoft/vscode-js-profile-visualizer",metadata:{id:"7e52b41b-71ad-457b-ab7e-0620f1fc4feb",publisherId:{publisherId:"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee",publisherName:"ms-vscode",displayName:"Microsoft",flags:"verified"},publisherDisplayName:"Microsoft"}}],version:"1.109.2",commit:"591199df409fbf59b4b52d5ad4ee0470152a9b31",date:"2026-02-10T20:18:23.520Z"},Object.keys(Ds).length===0&&Object.assign(Ds,{version:"1.104.0-dev",nameShort:"Code - OSS Dev",nameLong:"Code - OSS Dev",applicationName:"code-oss",dataFolderName:".vscode-oss",urlProtocol:"code-oss",reportIssueUrl:"https://github.com/microsoft/vscode/issues/new",licenseName:"MIT",licenseUrl:"https://github.com/microsoft/vscode/blob/main/LICENSE.txt",serverLicenseUrl:"https://github.com/microsoft/vscode/blob/main/LICENSE.txt",defaultChatAgent:{extensionId:"GitHub.copilot",chatExtensionId:"GitHub.copilot-chat",provider:{default:{id:"github",name:"GitHub"},enterprise:{id:"github-enterprise",name:"GitHub Enterprise"}},providerScopes:[]}});At=Ds}});function Xc(e){const t=[];if(Zi.test(e)){let s=vg.exec(e);for(;s?.length;){const i=s[1].trim();i&&t.push(i),s=vg.exec(e)}}return qi(t)}function KO(e){return e.reduce((t,s)=>`${t}[${s}]`,"")}function eM(e){switch(Array.isArray(e)?e[0]:e){case"boolean":return!1;case"integer":case"number":return 0;case"string":return"";case"array":return[];case"object":return{};default:return null}}function tM(e,t,s){return e.trim()?Zi.test(e)?m(1848,null,e):rl.getConfigurationProperties()[e]!==void 0&&(!s||!$9.has(s.toLowerCase()))?m(1849,null,e):t.policy?.name&&rl.getPolicyConfigurations().get(t.policy?.name)!==void 0?m(1850,null,e,t.policy?.name,rl.getPolicyConfigurations().get(t.policy?.name)):null:m(1847,null)}var x9,ni,k9,Yc,Kc,el,tl,sl,il,ba,fr,nl,S9,gg,vg,On,Zi,rl,$9,to=b({"out-build/vs/platform/configuration/common/configurationRegistry.js"(){"use strict";nt(),oe(),be(),ae(),Yt(),YO(),Qi(),H(),va(),(function(e){e.Multiline="multilineText",e.Singleline="singlelineText"})(x9||(x9={})),ni={Configuration:"base.contributions.configuration"},(function(e){e[e.APPLICATION=1]="APPLICATION",e[e.MACHINE=2]="MACHINE",e[e.APPLICATION_MACHINE=3]="APPLICATION_MACHINE",e[e.WINDOW=4]="WINDOW",e[e.RESOURCE=5]="RESOURCE",e[e.LANGUAGE_OVERRIDABLE=6]="LANGUAGE_OVERRIDABLE",e[e.MACHINE_OVERRIDABLE=7]="MACHINE_OVERRIDABLE"})(k9||(k9={})),Yc={properties:{},patternProperties:{}},Kc={properties:{},patternProperties:{}},el={properties:{},patternProperties:{}},tl={properties:{},patternProperties:{}},sl={properties:{},patternProperties:{}},il={properties:{},patternProperties:{}},ba={properties:{},patternProperties:{}},fr="vscode://schemas/settings/resourceLanguage",nl=as.as(mg.JSONContribution),S9=class extends B{constructor(){super(),this.a=[],this.n=new Set,this.q=this.D(new D),this.onDidSchemaChange=this.q.event,this.r=this.D(new D),this.onDidUpdateConfiguration=this.r.event,this.b=new Map,this.c={id:"defaultOverrides",title:m(1841,null),properties:{}},this.f=[this.c],this.m={properties:{},patternProperties:{},additionalProperties:!0,allowTrailingCommas:!0,allowComments:!0},this.g={},this.h=new Map,this.j={},nl.registerSchema(fr,this.m),this.N()}registerConfiguration(e,t=!0){return this.registerConfigurations([e],t),e}registerConfigurations(e,t=!0){const s=new Set;this.F(e,t,s),nl.registerSchema(fr,this.m),this.q.fire(),this.r.fire({properties:s})}deregisterConfigurations(e){const t=new Set;this.G(e,t),nl.registerSchema(fr,this.m),this.q.fire(),this.r.fire({properties:t})}updateConfigurations({add:e,remove:t}){const s=new Set;this.G(t,s),this.F(e,!1,s),nl.registerSchema(fr,this.m),this.q.fire(),this.r.fire({properties:s})}registerDefaultConfigurations(e){const t=new Set;this.s(e,t),this.q.fire(),this.r.fire({properties:t,defaultsOverrides:!0})}s(e,t){this.a.push(...e);const s=[];for(const{overrides:i,source:n}of e)for(const r in i){t.add(r);const o=this.b.get(r)??this.b.set(r,{configurationDefaultOverrides:[]}).get(r),a=i[r];if(o.configurationDefaultOverrides.push({value:a,source:n}),Zi.test(r)){const c=this.y(r,a,n,o.configurationDefaultOverrideValue);if(!c)continue;o.configurationDefaultOverrideValue=c,this.w(r,c,n),s.push(...Xc(r))}else{const c=this.z(r,a,n,o.configurationDefaultOverrideValue);if(!c)continue;o.configurationDefaultOverrideValue=c;const l=this.g[r];l&&(this.O(r,l),this.J(r,l))}}this.C(s)}deregisterDefaultConfigurations(e){const t=new Set;this.u(e,t),this.q.fire(),this.r.fire({properties:t,defaultsOverrides:!0})}u(e,t){for(const s of e){const i=this.a.indexOf(s);i!==-1&&this.a.splice(i,1)}for(const{overrides:s,source:i}of e)for(const n in s){const r=this.b.get(n);if(!r)continue;const o=r.configurationDefaultOverrides.findIndex(a=>i?a.source?.id===i.id:a.value===s[n]);if(o!==-1){if(r.configurationDefaultOverrides.splice(o,1),r.configurationDefaultOverrides.length===0&&this.b.delete(n),Zi.test(n)){let a;for(const c of r.configurationDefaultOverrides)a=this.y(n,c.value,c.source,a);a&&!m1(a.value)?(r.configurationDefaultOverrideValue=a,this.w(n,a,i)):(this.b.delete(n),delete this.g[n],delete this.c.properties[n])}else{let a;for(const l of r.configurationDefaultOverrides)a=this.z(n,l.value,l.source,a);r.configurationDefaultOverrideValue=a;const c=this.g[n];c&&(this.O(n,c),this.J(n,c))}t.add(n)}}this.M()}w(e,t,s){const i={section:{id:this.c.id,title:this.c.title,order:this.c.order,extensionInfo:this.c.extensionInfo},type:"object",default:t.value,description:m(1842,null,JO(e)),$ref:fr,defaultDefaultValue:t.value,source:s,defaultValueSource:s};this.g[e]=i,this.c.properties[e]=i}y(e,t,s,i){const n=i?.value||{},r=i?.source??new Map;if(!(r instanceof Map)){console.error("objectConfigurationSources is not a Map");return}for(const o of Object.keys(t)){const a=t[o];if(tt(a)&&(si(n[o])||tt(n[o]))){if(n[o]={...n[o]??{},...a},s)for(const l in a)r.set(`${o}.${l}`,s)}else n[o]=a,s?r.set(o,s):r.delete(o)}return{value:n,source:r}}z(e,t,s,i){const n=this.g[e],r=i?.value??n?.defaultDefaultValue;let o=s;if(tt(t)&&(n!==void 0&&n.type==="object"||n===void 0&&(si(r)||tt(r)))){if(o=i?.source??new Map,!(o instanceof Map)){console.error("defaultValueSource is not a Map");return}for(const c in t)s&&o.set(`${e}.${c}`,s);t={...tt(r)?r:{},...t}}return{value:t,source:o}}deltaConfiguration(e){let t=!1;const s=new Set;e.removedDefaults&&(this.u(e.removedDefaults,s),t=!0),e.addedDefaults&&(this.s(e.addedDefaults,s),t=!0),e.removedConfigurations&&this.G(e.removedConfigurations,s),e.addedConfigurations&&this.F(e.addedConfigurations,!1,s),this.q.fire(),this.r.fire({properties:s,defaultsOverrides:t})}notifyConfigurationSchemaUpdated(...e){this.q.fire()}registerOverrideIdentifiers(e){this.C(e),this.q.fire()}C(e){for(const t of e)this.n.add(t);this.M()}F(e,t,s){e.forEach(i=>{this.H(i,t,i.extensionInfo,i.restrictedProperties,void 0,s),this.f.push(i),this.I(i)})}G(e,t){const s=i=>{if(i.properties)for(const n in i.properties){t.add(n);const r=this.g[n];r?.policy?.name&&this.h.delete(r.policy.name),delete this.g[n],this.L(n,i.properties[n])}i.allOf?.forEach(n=>s(n))};for(const i of e){s(i);const n=this.f.indexOf(i);n!==-1&&this.f.splice(n,1)}}H(e,t=!0,s,i,n=4,r){n=Ct(e.scope)?n:e.scope;const o=e.properties;if(o)for(const c in o){const l=o[c];if(l.section={id:e.id,title:e.title,order:e.order,extensionInfo:e.extensionInfo},t&&tM(c,l,s?.id)){delete o[c];continue}l.source=s,l.defaultDefaultValue=o[c].default,this.O(c,l),Zi.test(c)?l.scope=void 0:(l.scope=Ct(l.scope)?n:l.scope,l.restricted=Ct(l.restricted)?!!i?.includes(c):l.restricted),l.experiment?l.tags?.some(d=>d.toLowerCase()==="onexp")||(l.tags=l.tags??[],l.tags.push("onExP")):l.tags?.some(d=>d.toLowerCase()==="onexp")&&(console.error(`Invalid tag 'onExP' found for property '${c}'. Please use 'experiment' property instead.`),l.experiment={mode:"startup"});const u=o[c].hasOwnProperty("included")&&!o[c].included,h=o[c].policy?.name;u?(this.j[c]=o[c],h&&(this.h.set(h,c),r.add(c)),delete o[c]):(r.add(c),h&&this.h.set(h,c),this.g[c]=o[c],!o[c].deprecationMessage&&o[c].markdownDeprecationMessage&&(o[c].deprecationMessage=o[c].markdownDeprecationMessage))}const a=e.allOf;if(a)for(const c of a)this.H(c,t,s,i,n,r)}getConfigurations(){return this.f}getConfigurationProperties(){return this.g}getPolicyConfigurations(){return this.h}getExcludedConfigurationProperties(){return this.j}getRegisteredDefaultConfigurations(){return[...this.a]}getConfigurationDefaultsOverrides(){const e=new Map;for(const[t,s]of this.b)s.configurationDefaultOverrideValue&&e.set(t,s.configurationDefaultOverrideValue);return e}I(e){const t=s=>{const i=s.properties;if(i)for(const r in i)this.J(r,i[r]);s.allOf?.forEach(t)};t(e)}J(e,t){switch(Yc.properties[e]=t,t.scope){case 1:Kc.properties[e]=t;break;case 2:tl.properties[e]=t;break;case 3:el.properties[e]=t;break;case 7:sl.properties[e]=t;break;case 4:il.properties[e]=t;break;case 5:ba.properties[e]=t;break;case 6:ba.properties[e]=t,this.m.properties[e]=t;break}}L(e,t){switch(delete Yc.properties[e],t.scope){case 1:delete Kc.properties[e];break;case 2:delete tl.properties[e];break;case 3:delete el.properties[e];break;case 7:delete sl.properties[e];break;case 4:delete il.properties[e];break;case 5:case 6:delete ba.properties[e],delete this.m.properties[e];break}}M(){for(const e of this.n.values()){const t=`[${e}]`,s={type:"object",description:m(1843,null),errorMessage:m(1844,null),$ref:fr};this.O(t,s),Yc.properties[t]=s,Kc.properties[t]=s,el.properties[t]=s,tl.properties[t]=s,sl.properties[t]=s,il.properties[t]=s,ba.properties[t]=s}}N(){const e={type:"object",description:m(1845,null),errorMessage:m(1846,null),$ref:fr};Yc.patternProperties[On]=e,Kc.patternProperties[On]=e,el.patternProperties[On]=e,tl.patternProperties[On]=e,sl.patternProperties[On]=e,il.patternProperties[On]=e,ba.patternProperties[On]=e,this.q.fire()}O(e,t){const s=this.b.get(e)?.configurationDefaultOverrideValue;let i,n;s&&(!t.disallowConfigurationDefault||!s.source)&&(i=s.value,n=s.source),si(i)&&(i=t.defaultDefaultValue,n=void 0),si(i)&&(i=eM(t.type)),t.default=i,t.defaultValueSource=n}},gg="\\[([^\\]]+)\\]",vg=new RegExp(gg,"g"),On=`^(${gg})+$`,Zi=new RegExp(On),rl=new S9,as.add(ni.Configuration,rl),$9=new Set(At.defaultChatAgent?[At.defaultChatAgent.extensionId,At.defaultChatAgent.chatExtensionId].map(e=>e.toLowerCase()):[])}});function ol(e){return Object.isFrozen(e)?e:BO(e)}function dr(e,t){const{added:s,removed:i,updated:n}=I9(t?.rawConfiguration,e?.rawConfiguration),r=[],o=e?.getAllOverrideIdentifiers()||[],a=t?.getAllOverrideIdentifiers()||[];if(t){const c=a.filter(l=>!o.includes(l));for(const l of c)r.push([l,t.getKeysForOverrideIdentifier(l)])}if(e){const c=o.filter(l=>!a.includes(l));for(const l of c)r.push([l,e.getKeysForOverrideIdentifier(l)])}if(t&&e){for(const c of o)if(a.includes(c)){const l=I9({contents:e.getOverrideValue(void 0,c)||{},keys:e.getKeysForOverrideIdentifier(c)},{contents:t.getOverrideValue(void 0,c)||{},keys:t.getKeysForOverrideIdentifier(c)});r.push([c,[...l.added,...l.removed,...l.updated]])}}return{added:s,removed:i,updated:n,overrides:r}}function I9(e,t){const s=e?t?e.keys.filter(r=>t.keys.indexOf(r)===-1):[...e.keys]:[],i=t?e?t.keys.filter(r=>e.keys.indexOf(r)===-1):[...t.keys]:[],n=[];if(e&&t){for(const r of t.keys)if(e.keys.indexOf(r)!==-1){const o=qh(t.contents,r),a=qh(e.contents,r);vs(o,a)||n.push(r)}}return{added:s,removed:i,updated:n}}var xt,bg,P9,A9,Gh,D9,R9=b({"out-build/vs/platform/configuration/common/configurationModels.js"(){"use strict";nt(),oe(),hr(),H(),Zt(),Vt(),be(),Q(),Yt(),to(),Qi(),xt=class Mr{static createEmptyModel(t){return new Mr({},[],[],void 0,t)}constructor(t,s,i,n,r){this.b=t,this.c=s,this.d=i,this.f=n,this.g=r,this.a=new Map}get rawConfiguration(){if(!this.h)if(this.f){const t=(Array.isArray(this.f)?this.f:[this.f]).map(s=>{if(s instanceof Mr)return s;const i=new bg("",this.g);return i.parseRaw(s),i.configurationModel});this.h=t.reduce((s,i)=>i===s?i:s.merge(i),t[0])}else this.h=this;return this.h}get contents(){return this.b}get overrides(){return this.d}get keys(){return this.c}get raw(){if(this.f&&!(Array.isArray(this.f)&&this.f.every(t=>t instanceof Mr)))return this.f}isEmpty(){return this.c.length===0&&Object.keys(this.b).length===0&&this.d.length===0}getValue(t){return t?qh(this.contents,t):this.contents}inspect(t,s){const i=this;return{get value(){return ol(i.rawConfiguration.getValue(t))},get override(){return s?ol(i.rawConfiguration.getOverrideValue(t,s)):void 0},get merged(){return ol(s?i.rawConfiguration.override(s).getValue(t):i.rawConfiguration.getValue(t))},get overrides(){const n=[];for(const{contents:r,identifiers:o,keys:a}of i.rawConfiguration.overrides){const c=new Mr(r,a,[],void 0,i.g).getValue(t);c!==void 0&&n.push({identifiers:o,value:c})}return n.length?ol(n):void 0}}}getOverrideValue(t,s){const i=this.k(s);return i?t?qh(i,t):i:void 0}getKeysForOverrideIdentifier(t){const s=[];for(const i of this.overrides)i.identifiers.includes(t)&&s.push(...i.keys);return qi(s)}getAllOverrideIdentifiers(){const t=[];for(const s of this.overrides)t.push(...s.identifiers);return qi(t)}override(t){let s=this.a.get(t);return s||(s=this.i(t),this.a.set(t,s)),s}merge(...t){const s=Ln(this.contents),i=Ln(this.overrides),n=[...this.keys],r=this.f?Array.isArray(this.f)?[...this.f]:[this.f]:[this];for(const o of t)if(r.push(...o.f?Array.isArray(o.f)?o.f:[o.f]:[o]),!o.isEmpty()){this.j(s,o.contents);for(const a of o.overrides){const[c]=i.filter(l=>ki(l.identifiers,a.identifiers));c?(this.j(c.contents,a.contents),c.keys.push(...a.keys),c.keys=qi(c.keys)):i.push(Ln(a))}for(const a of o.keys)n.indexOf(a)===-1&&n.push(a)}return new Mr(s,n,i,!r.length||r.every(o=>o instanceof Mr)?void 0:r,this.g)}i(t){const s=this.k(t);if(!s||typeof s!="object"||!Object.keys(s).length)return this;const i={};for(const n of qi([...Object.keys(this.contents),...Object.keys(s)])){let r=this.contents[n];const o=s[n];o&&(typeof r=="object"&&typeof o=="object"?(r=Ln(r),this.j(r,o)):r=o),i[n]=r}return new Mr(i,this.keys,this.overrides,void 0,this.g)}j(t,s){for(const i of Object.keys(s)){if(i in t&&tt(t[i])&&tt(s[i])){this.j(t[i],s[i]);continue}t[i]=Ln(s[i])}}k(t){let s=null,i=null;const n=r=>{r&&(i?this.j(i,r):i=Ln(r))};for(const r of this.overrides)r.identifiers.length===1&&r.identifiers[0]===t?s=r.contents:r.identifiers.includes(t)&&n(r.contents);return n(s),i}toJSON(){return{contents:this.contents,overrides:this.overrides,keys:this.keys}}addValue(t,s){this.l(t,s,!0)}setValue(t,s){this.l(t,s,!1)}removeValue(t){const s=this.keys.indexOf(t);s!==-1&&(this.keys.splice(s,1),GO(this.contents,t),Zi.test(t)&&this.overrides.splice(this.overrides.findIndex(i=>ki(i.identifiers,Xc(t))),1))}l(t,s,i){if(m9(this.contents,t,s,n=>this.g.error(n)),i=i||this.keys.indexOf(t)===-1,i&&this.keys.push(t),Zi.test(t)){const n=this.contents[t],r=Xc(t),o={identifiers:r,keys:Object.keys(n),contents:pg(n,c=>this.g.error(c))},a=this.overrides.findIndex(c=>ki(c.identifiers,r));a!==-1?this.overrides[a]=o:this.overrides.push(o)}}},bg=class{constructor(e,t){this.f=e,this.g=t,this.a=null,this.b=null,this.c=[],this.d=[]}get configurationModel(){return this.b||xt.createEmptyModel(this.g)}get restrictedConfigurations(){return this.c}get errors(){return this.d}parse(e,t){if(!Ct(e)){const s=this.h(e);this.parseRaw(s,t)}}reparse(e){this.a&&this.parseRaw(this.a,e)}parseRaw(e,t){this.a=e;const{contents:s,keys:i,overrides:n,restricted:r,hasExcludedProperties:o}=this.i(e,t);this.b=new xt(s,i,n,o?[e]:void 0,this.g),this.c=r||[]}h(e){let t={},s=null,i=[];const n=[],r=[];function o(c){Array.isArray(i)?i.push(c):s!==null&&(i[s]=c)}const a={onObjectBegin:()=>{const c={};o(c),n.push(i),i=c,s=null},onObjectProperty:c=>{s=c},onObjectEnd:()=>{i=n.pop()},onArrayBegin:()=>{const c=[];o(c),n.push(i),i=c,s=null},onArrayEnd:()=>{i=n.pop()},onLiteralValue:o,onError:(c,l,u)=>{r.push({error:c,offset:l,length:u})}};if(e)try{Vh(e,a),t=i[0]||{}}catch(c){this.g.error(`Error while parsing settings file ${this.f}: ${c}`),this.d=[c]}return t}i(e,t){const s=as.as(ni.Configuration),i=s.getConfigurationProperties(),n=s.getExcludedConfigurationProperties(),r=this.j(e,i,n,!0,t);e=r.raw;const o=pg(e,l=>this.g.error(`Conflict in settings file ${this.f}: ${l}`)),a=Object.keys(e),c=this.m(e,l=>this.g.error(`Conflict in settings file ${this.f}: ${l}`));return{contents:o,keys:a,overrides:c,restricted:r.restricted,hasExcludedProperties:r.hasExcludedProperties}}j(e,t,s,i,n){let r=!1;if(!n?.scopes&&!n?.skipRestricted&&!n?.skipUnregistered&&!n?.exclude?.length)return{raw:e,restricted:[],hasExcludedProperties:r};const o={},a=[];for(const c in e)if(Zi.test(c)&&i){const l=this.j(e[c],t,s,!1,n);o[c]=l.raw,r=r||l.hasExcludedProperties,a.push(...l.restricted)}else{const l=t[c];l?.restricted&&a.push(c),this.l(c,l,s,n)?o[c]=e[c]:r=!0}return{raw:o,restricted:a,hasExcludedProperties:r}}l(e,t,s,i){if(i.exclude?.includes(e))return!1;if(i.include?.includes(e))return!0;if(i.skipRestricted&&t?.restricted||i.skipUnregistered&&!t)return!1;const n=t??s[e],r=n?typeof n.scope<"u"?n.scope:4:void 0;return r===void 0||i.scopes===void 0?!0:i.scopes.includes(r)}m(e,t){const s=[];for(const i of Object.keys(e))if(Zi.test(i)){const n={},r=e[i];for(const o in r)n[o]=r[o];s.push({identifiers:Xc(i),keys:Object.keys(n),contents:pg(n,t)})}return s}},P9=class extends B{constructor(e,t,s,i,n){super(),this.c=e,this.f=t,this.g=i,this.h=n,this.b=this.D(new D),this.onDidChange=this.b.event,this.a=new bg(this.c.toString(),n),this.D(this.g.watch(s.dirname(this.c))),this.D(this.g.watch(this.c)),this.D(F.any(F.filter(this.g.onDidFilesChange,r=>r.contains(this.c)),F.filter(this.g.onDidRunOperation,r=>(r.isOperation(0)||r.isOperation(3)||r.isOperation(1)||r.isOperation(4))&&s.isEqual(r.resource,e)))(()=>this.b.fire()))}async loadConfiguration(){try{const e=await this.g.readFile(this.c);return this.a.parse(e.value.toString()||"{}",this.f),this.a.configurationModel}catch{return xt.createEmptyModel(this.h)}}reparse(e){return e&&(this.f=e),this.a.reparse(this.f),this.a.configurationModel}getRestrictedSettings(){return this.a.restrictedConfigurations}},A9=class{constructor(e,t,s,i,n,r,o,a,c,l,u,h,d){this.a=e,this.b=t,this.c=s,this.overrideIdentifiers=i,this.d=n,this.f=r,this.g=o,this.h=a,this.i=c,this.j=l,this.k=u,this.l=h,this.m=d}get value(){return ol(this.c)}n(e){return e?.value!==void 0||e?.override!==void 0||e?.overrides!==void 0?e:void 0}get q(){return this.p||(this.p=this.d.inspect(this.a,this.b.overrideIdentifier)),this.p}get defaultValue(){return this.q.merged}get default(){return this.n(this.q)}get s(){return this.r===void 0&&(this.r=this.f?this.f.inspect(this.a):null),this.r}get policyValue(){return this.s?.merged}get policy(){return this.s?.value!==void 0?{value:this.s.value}:void 0}get u(){return this.t===void 0&&(this.t=this.g?this.g.inspect(this.a):null),this.t}get applicationValue(){return this.u?.merged}get application(){return this.n(this.u)}get w(){return this.v||(this.v=this.h.inspect(this.a,this.b.overrideIdentifier)),this.v}get userValue(){return this.w.merged}get user(){return this.n(this.w)}get y(){return this.x||(this.x=this.i.inspect(this.a,this.b.overrideIdentifier)),this.x}get userLocalValue(){return this.y.merged}get userLocal(){return this.n(this.y)}get A(){return this.z||(this.z=this.j.inspect(this.a,this.b.overrideIdentifier)),this.z}get userRemoteValue(){return this.A.merged}get userRemote(){return this.n(this.A)}get D(){return this.B===void 0&&(this.B=this.k?this.k.inspect(this.a,this.b.overrideIdentifier):null),this.B}get workspaceValue(){return this.D?.merged}get workspace(){return this.n(this.D)}get F(){return this.E===void 0&&(this.E=this.l?this.l.inspect(this.a,this.b.overrideIdentifier):null),this.E}get workspaceFolderValue(){return this.F?.merged}get workspaceFolder(){return this.n(this.F)}get H(){return this.G===void 0&&(this.G=this.m.inspect(this.a,this.b.overrideIdentifier)),this.G}get memoryValue(){return this.H.merged}get memory(){return this.n(this.H)}},Gh=class sC{constructor(t,s,i,n,r,o,a,c,l,u){this.j=t,this.l=s,this.m=i,this.n=n,this.p=r,this.q=o,this.r=a,this.s=c,this.t=l,this.u=u,this.h=null,this.i=new Et,this.v=null}getValue(t,s,i){return this.w(t,s,i).getValue(t)}updateValue(t,s,i={}){let n;i.resource?(n=this.t.get(i.resource),n||(n=xt.createEmptyModel(this.u),this.t.set(i.resource,n))):n=this.s,s===void 0?n.removeValue(t):n.setValue(t,s),i.resource||(this.h=null)}inspect(t,s,i){const n=this.w(t,s,i),r=this.A(s.resource,i),o=s.resource?this.t.get(s.resource)||this.s:this.s,a=new Set;for(const c of n.overrides)for(const l of c.identifiers)n.getOverrideValue(t,l)!==void 0&&a.add(l);return new A9(t,s,n.getValue(t),a.size?[...a]:void 0,this.j,this.l.isEmpty()?void 0:this.l,this.applicationConfiguration.isEmpty()?void 0:this.applicationConfiguration,this.userConfiguration,this.localUserConfiguration,this.remoteUserConfiguration,i?this.q:void 0,r||void 0,o)}keys(t){const s=this.A(void 0,t);return{default:this.j.keys.slice(0),policy:this.l.keys.slice(0),user:this.userConfiguration.keys.slice(0),workspace:this.q.keys.slice(0),workspaceFolder:s?s.keys.slice(0):[]}}updateDefaultConfiguration(t){this.j=t,this.h=null,this.i.clear()}updatePolicyConfiguration(t){this.l=t}updateApplicationConfiguration(t){this.m=t,this.h=null,this.i.clear()}updateLocalUserConfiguration(t){this.n=t,this.v=null,this.h=null,this.i.clear()}updateRemoteUserConfiguration(t){this.p=t,this.v=null,this.h=null,this.i.clear()}updateWorkspaceConfiguration(t){this.q=t,this.h=null,this.i.clear()}updateFolderConfiguration(t,s){this.r.set(t,s),this.i.delete(t)}deleteFolderConfiguration(t){this.folderConfigurations.delete(t),this.i.delete(t)}compareAndUpdateDefaultConfiguration(t,s){const i=[];if(!s){const{added:n,updated:r,removed:o}=dr(this.j,t);s=[...n,...r,...o]}for(const n of s)for(const r of Xc(n)){const o=this.j.getKeysForOverrideIdentifier(r),a=t.getKeysForOverrideIdentifier(r),c=[...a.filter(l=>o.indexOf(l)===-1),...o.filter(l=>a.indexOf(l)===-1),...o.filter(l=>!vs(this.j.override(r).getValue(l),t.override(r).getValue(l)))];i.push([r,c])}return this.updateDefaultConfiguration(t),{keys:s,overrides:i}}compareAndUpdatePolicyConfiguration(t){const{added:s,updated:i,removed:n}=dr(this.l,t),r=[...s,...i,...n];return r.length&&this.updatePolicyConfiguration(t),{keys:r,overrides:[]}}compareAndUpdateApplicationConfiguration(t){const{added:s,updated:i,removed:n,overrides:r}=dr(this.applicationConfiguration,t),o=[...s,...i,...n];return o.length&&this.updateApplicationConfiguration(t),{keys:o,overrides:r}}compareAndUpdateLocalUserConfiguration(t){const{added:s,updated:i,removed:n,overrides:r}=dr(this.localUserConfiguration,t),o=[...s,...i,...n];return o.length&&this.updateLocalUserConfiguration(t),{keys:o,overrides:r}}compareAndUpdateRemoteUserConfiguration(t){const{added:s,updated:i,removed:n,overrides:r}=dr(this.remoteUserConfiguration,t),o=[...s,...i,...n];return o.length&&this.updateRemoteUserConfiguration(t),{keys:o,overrides:r}}compareAndUpdateWorkspaceConfiguration(t){const{added:s,updated:i,removed:n,overrides:r}=dr(this.workspaceConfiguration,t),o=[...s,...i,...n];return o.length&&this.updateWorkspaceConfiguration(t),{keys:o,overrides:r}}compareAndUpdateFolderConfiguration(t,s){const i=this.folderConfigurations.get(t),{added:n,updated:r,removed:o,overrides:a}=dr(i,s),c=[...n,...r,...o];return(c.length||!i)&&this.updateFolderConfiguration(t,s),{keys:c,overrides:a}}compareAndDeleteFolderConfiguration(t){const s=this.folderConfigurations.get(t);if(!s)throw new Error("Unknown folder");this.deleteFolderConfiguration(t);const{added:i,updated:n,removed:r,overrides:o}=dr(s,void 0);return{keys:[...i,...n,...r],overrides:o}}get defaults(){return this.j}get applicationConfiguration(){return this.m}get userConfiguration(){if(!this.v)if(this.p.isEmpty())this.v=this.n;else{const t=this.n.merge(this.p);this.v=new xt(t.contents,t.keys,t.overrides,void 0,this.u)}return this.v}get localUserConfiguration(){return this.n}get remoteUserConfiguration(){return this.p}get workspaceConfiguration(){return this.q}get folderConfigurations(){return this.r}w(t,s,i){let n=this.x(s,i);if(s.overrideIdentifier&&(n=n.override(s.overrideIdentifier)),!this.l.isEmpty()&&this.l.getValue(t)!==void 0){n=n.merge();for(const r of this.l.keys)n.setValue(r,this.l.getValue(r))}return n}x({resource:t},s){let i=this.y();if(s&&t){const n=s.getFolder(t);n&&(i=this.z(n.uri)||i);const r=this.t.get(t);r&&(i=i.merge(r))}return i}y(){return this.h||(this.h=this.j.merge(this.applicationConfiguration,this.userConfiguration,this.q,this.s)),this.h}z(t){let s=this.i.get(t);if(!s){const i=this.y(),n=this.r.get(t);n?(s=i.merge(n),this.i.set(t,s)):s=i}return s}A(t,s){if(s&&t){const i=s.getFolder(t);if(i)return this.r.get(i.uri)}}toData(){return{defaults:{contents:this.j.contents,overrides:this.j.overrides,keys:this.j.keys},policy:{contents:this.l.contents,overrides:this.l.overrides,keys:this.l.keys},application:{contents:this.applicationConfiguration.contents,overrides:this.applicationConfiguration.overrides,keys:this.applicationConfiguration.keys,raw:Array.isArray(this.applicationConfiguration.raw)?void 0:this.applicationConfiguration.raw},userLocal:{contents:this.localUserConfiguration.contents,overrides:this.localUserConfiguration.overrides,keys:this.localUserConfiguration.keys,raw:Array.isArray(this.localUserConfiguration.raw)?void 0:this.localUserConfiguration.raw},userRemote:{contents:this.remoteUserConfiguration.contents,overrides:this.remoteUserConfiguration.overrides,keys:this.remoteUserConfiguration.keys,raw:Array.isArray(this.remoteUserConfiguration.raw)?void 0:this.remoteUserConfiguration.raw},workspace:{contents:this.q.contents,overrides:this.q.overrides,keys:this.q.keys},folders:[...this.r.keys()].reduce((t,s)=>{const{contents:i,overrides:n,keys:r}=this.r.get(s);return t.push([s,{contents:i,overrides:n,keys:r}]),t},[])}}allKeys(){const t=new Set;return this.j.keys.forEach(s=>t.add(s)),this.userConfiguration.keys.forEach(s=>t.add(s)),this.q.keys.forEach(s=>t.add(s)),this.r.forEach(s=>s.keys.forEach(i=>t.add(i))),[...t.values()]}B(){const t=new Set;return this.j.getAllOverrideIdentifiers().forEach(s=>t.add(s)),this.userConfiguration.getAllOverrideIdentifiers().forEach(s=>t.add(s)),this.q.getAllOverrideIdentifiers().forEach(s=>t.add(s)),this.r.forEach(s=>s.getAllOverrideIdentifiers().forEach(i=>t.add(i))),[...t.values()]}D(t){const s=new Set;return this.j.getKeysForOverrideIdentifier(t).forEach(i=>s.add(i)),this.userConfiguration.getKeysForOverrideIdentifier(t).forEach(i=>s.add(i)),this.q.getKeysForOverrideIdentifier(t).forEach(i=>s.add(i)),this.r.forEach(i=>i.getKeysForOverrideIdentifier(t).forEach(n=>s.add(n))),[...s.values()]}static parse(t,s){const i=this.E(t.defaults,s),n=this.E(t.policy,s),r=this.E(t.application,s),o=this.E(t.userLocal,s),a=this.E(t.userRemote,s),c=this.E(t.workspace,s),l=t.folders.reduce((u,h)=>(u.set(y.revive(h[0]),this.E(h[1],s)),u),new Et);return new sC(i,n,r,o,a,c,l,xt.createEmptyModel(s),new Et,s)}static E(t,s){return new xt(t.contents,t.keys,t.overrides,t.raw,s)}},D9=class{constructor(e,t,s,i,n){this.change=e,this.f=t,this.g=s,this.h=i,this.i=n,this.a=` `,this.b=this.a.charCodeAt(0),this.c=46,this.affectedKeys=new Set,this.j=void 0;for(const r of e.keys)this.affectedKeys.add(r);for(const[,r]of e.overrides)for(const o of r)this.affectedKeys.add(o);this.d=this.a;for(const r of this.affectedKeys)this.d+=r+this.a}get previousConfiguration(){return!this.j&&this.f&&(this.j=Gh.parse(this.f.data,this.i)),this.j}affectsConfiguration(e,t){const s=this.a+e,i=this.d.indexOf(s);if(i<0)return!1;const n=i+s.length;if(n>=this.d.length)return!1;const r=this.d.charCodeAt(n);if(r!==this.b&&r!==this.c)return!1;if(t){const o=this.previousConfiguration?this.previousConfiguration.getValue(e,t,this.f?.workspace):void 0,a=this.g.getValue(e,t,this.h);return!vs(o,a)}return!0}}}}),N9,Jh,Qh=b({"out-build/vs/platform/policy/common/policy.js"(){"use strict";oe(),tr(),H(),te(),N9=Z("policy"),Jh=class{constructor(){this.onDidChange=F.None,this.policyDefinitions={}}async updatePolicyDefinitions(){return{}}getPolicyValue(){}serialize(){}}}}),C9,L9,Zh,sM=b({"out-build/vs/platform/configuration/common/configurations.js"(){"use strict";nt(),oe(),H(),Vt(),be(),R9(),to(),Pe(),Qh(),Qi(),ce(),hr(),C9=class extends B{get configurationModel(){return this.b}constructor(e){super(),this.c=e,this.a=this.D(new D),this.onDidChangeConfiguration=this.a.event,this.b=xt.createEmptyModel(e)}async initialize(){return this.h(),this.D(as.as(ni.Configuration).onDidUpdateConfiguration(({properties:e,defaultsOverrides:t})=>this.f(Array.from(e),t))),this.configurationModel}reload(){return this.h(),this.configurationModel}f(e,t){this.j(e,as.as(ni.Configuration).getConfigurationProperties()),this.a.fire({defaults:this.configurationModel,properties:e})}g(){return{}}h(){this.b=xt.createEmptyModel(this.c);const e=as.as(ni.Configuration).getConfigurationProperties();this.j(Object.keys(e),e)}j(e,t){const s=this.g();for(const i of e){const n=s[i],r=t[i];n!==void 0?this.b.setValue(i,n):r?this.b.setValue(i,Ln(r.default)):this.b.removeValue(i)}}},L9=class{constructor(){this.onDidChangeConfiguration=F.None,this.configurationModel=xt.createEmptyModel(new a9)}async initialize(){return this.configurationModel}},Zh=class extends B{get configurationModel(){return this.c}constructor(t,s,i){super(),this.f=t,this.g=s,this.h=i,this.a=this.D(new D),this.onDidChangeConfiguration=this.a.event,this.c=xt.createEmptyModel(this.h),this.b=as.as(ni.Configuration)}async initialize(){return this.h.trace("PolicyConfiguration#initialize"),this.n(await this.j(this.f.configurationModel.keys),!1),this.n(await this.j(Object.keys(this.b.getExcludedConfigurationProperties())),!1),this.D(this.g.onDidChange(t=>this.m(t))),this.D(this.f.onDidChangeConfiguration(async({properties:t})=>this.n(await this.j(t),!0))),this.c}async j(t){this.h.trace("PolicyConfiguration#updatePolicyDefinitions",t);const s={},i=[],n=this.b.getConfigurationProperties(),r=this.b.getExcludedConfigurationProperties();for(const o of t){const a=n[o]??r[o];if(!a){i.push(o);continue}if(a.policy){if(a.type!=="string"&&a.type!=="number"&&a.type!=="array"&&a.type!=="object"&&a.type!=="boolean"){this.h.warn(`Policy ${a.policy.name} has unsupported type ${a.type}`);continue}const{value:c}=a.policy;i.push(o),s[a.policy.name]={type:a.type==="number"?"number":a.type==="boolean"?"boolean":"string",value:c}}}return m1(s)||await this.g.updatePolicyDefinitions(s),i}m(t){this.h.trace("PolicyConfiguration#onDidChangePolicies",t);const s=this.b.getPolicyConfigurations(),i=ti(t.map(n=>s.get(n)));this.n(i,!0)}n(t,s){this.h.trace("PolicyConfiguration#update",t);const i=this.b.getConfigurationProperties(),n=this.b.getExcludedConfigurationProperties(),r=[],o=this.c.isEmpty();for(const a of t){const c=i[a]??n[a],l=c?.policy?.name;if(l){let u=this.g.getPolicyValue(l);if(ee(u)&&c.type!=="string")try{u=this.q(u)}catch(h){this.h.error(`Error parsing policy value ${l}:`,de(h));continue}(o?u!==void 0:!vs(this.c.getValue(a),u))&&r.push([a,u])}else this.c.getValue(a)!==void 0&&r.push([a,void 0])}if(r.length){this.h.trace("PolicyConfiguration#changed",r);const a=this.c;this.c=xt.createEmptyModel(this.h);for(const c of a.keys)this.c.setValue(c,a.getValue(c));for(const[c,l]of r)l===void 0?this.c.removeValue(c):this.c.setValue(c,l);s&&this.a.fire(this.c)}}q(t){let s={},i=null,n=[];const r=[],o=[];function a(l){if(Array.isArray(n))n.push(l);else if(i!==null){if(n[i]!==void 0)throw new Error(`Duplicate property found: ${i}`);n[i]=l}}if(t&&(Vh(t,{onObjectBegin:()=>{const l={};a(l),r.push(n),n=l,i=null},onObjectProperty:l=>{i=l},onObjectEnd:()=>{n=r.pop()},onArrayBegin:()=>{const l=[];a(l),r.push(n),n=l,i=null},onArrayEnd:()=>{n=r.pop()},onLiteralValue:a,onError:(l,u,h)=>{o.push({error:l,offset:u,length:h})}}),s=n[0]||s),o.length>0)throw new Error(o.map(l=>de(l.error)).join(` `));return s}},Zh=__decorate([__param(1,N9),__param(2,he)],Zh)}}),wg,O9,M9=b({"out-build/vs/platform/configuration/common/configurationService.js"(){"use strict";nt(),Le(),Ne(),oe(),hr(),VO(),H(),Zt(),Vt(),se(),pt(),Yt(),R9(),to(),sM(),Qh(),wg=class extends B{constructor(e,t,s,i){super(),this.m=e,this.n=i,this.h=this.D(new D),this.onDidChangeConfiguration=this.h.event,this.b=this.D(new C9(i)),this.c=s instanceof Jh?new L9:this.D(new Zh(this.b,s,i)),this.f=this.D(new P9(this.m,{},Dh,t,i)),this.a=new Gh(this.b.configurationModel,this.c.configurationModel,xt.createEmptyModel(i),xt.createEmptyModel(i),xt.createEmptyModel(i),xt.createEmptyModel(i),new Et,xt.createEmptyModel(i),new Et,i),this.j=new O9(e,t,this),this.g=this.D(new Yo(()=>this.reloadConfiguration(),50)),this.D(this.b.onDidChangeConfiguration(({defaults:n,properties:r})=>this.r(n,r))),this.D(this.c.onDidChangeConfiguration(n=>this.s(n))),this.D(this.f.onDidChange(()=>this.g.schedule()))}async initialize(){const[e,t,s]=await Promise.all([this.b.initialize(),this.c.initialize(),this.f.loadConfiguration()]);this.a=new Gh(e,t,xt.createEmptyModel(this.n),s,xt.createEmptyModel(this.n),xt.createEmptyModel(this.n),new Et,xt.createEmptyModel(this.n),new Et,this.n)}getConfigurationData(){return this.a.toData()}getValue(e,t){const s=typeof e=="string"?e:void 0,i=dg(e)?e:dg(t)?t:{};return this.a.getValue(s,i,void 0)}async updateValue(e,t,s,i,n){const r=qO(s)?s:dg(s)?{resource:s.resource,overrideIdentifiers:s.overrideIdentifier?[s.overrideIdentifier]:void 0}:void 0,o=r?i:s;if(o!==void 0&&o!==3&&o!==2)throw new Error(`Unable to write ${e} to target ${o}.`);r?.overrideIdentifiers&&(r.overrideIdentifiers=qi(r.overrideIdentifiers),r.overrideIdentifiers=r.overrideIdentifiers.length?r.overrideIdentifiers:void 0);const a=this.inspect(e,{resource:r?.resource,overrideIdentifier:r?.overrideIdentifiers?r.overrideIdentifiers[0]:void 0});if(a.policyValue!==void 0)throw new Error(`Unable to write ${e} because it is configured in system policy.`);if(vs(t,a.defaultValue)&&(t=void 0),r?.overrideIdentifiers?.length&&r.overrideIdentifiers.length>1){const l=r.overrideIdentifiers.sort(),u=this.a.localUserConfiguration.overrides.find(h=>ki([...h.identifiers].sort(),l));u&&(r.overrideIdentifiers=u.identifiers)}const c=r?.overrideIdentifiers?.length?[KO(r.overrideIdentifiers),e]:[e];await this.j.write(c,t),await this.reloadConfiguration()}inspect(e,t={}){return this.a.inspect(e,t,void 0)}keys(){return this.a.keys(void 0)}async reloadConfiguration(){const e=await this.f.loadConfiguration();this.q(e)}q(e){const t=this.a.toData(),s=this.a.compareAndUpdateLocalUserConfiguration(e);this.t(s,t,2)}r(e,t){const s=this.a.toData(),i=this.a.compareAndUpdateDefaultConfiguration(e,t);this.t(i,s,7)}s(e){const t=this.a.toData(),s=this.a.compareAndUpdatePolicyConfiguration(e);this.t(s,t,7)}t(e,t,s){const i=new D9(e,{data:t},this.a,void 0,this.n);i.source=s,this.h.fire(i)}},O9=class{constructor(e,t,s){this.b=e,this.c=t,this.d=s,this.a=new Zr}write(e,t){return this.a.queue(()=>this.e(e,t))}async e(e,t){let s;try{s=(await this.c.readFile(this.b)).value.toString()}catch(r){if(r.fileOperationResult===1)s="{}";else throw r}const i=[];if(ur(s,i,{allowTrailingComma:!0,allowEmptyContent:!0}),i.length>0)throw new Error("Unable to write into the settings file. Please open the file to correct errors/warnings in the file and try again.");const n=this.f(s,e,t);s=zO(s,n),await this.c.writeFile(this.b,R.fromString(s))}f(e,t,s){const{tabSize:i,insertSpaces:n,eol:r}=this.h;if(!t.length){const o=JSON.stringify(s,null,n?" ".repeat(i):" ");return[{content:o,length:o.length,offset:0}]}return HO(e,t,s,{tabSize:i,insertSpaces:n,eol:r})}get h(){if(!this.g){let e=Hr===3||Hr===2?` `:`\r `;const t=this.d.getValue("files.eol",{overrideIdentifier:"jsonc"});t&&typeof t=="string"&&t!=="auto"&&(e=t),this.g={eol:e,insertSpaces:!!this.d.getValue("editor.insertSpaces",{overrideIdentifier:"jsonc"}),tabSize:this.d.getValue("editor.tabSize",{overrideIdentifier:"jsonc"})}}return this.g}}}});function yg(e){return e.res.statusCode&&e.res.statusCode>=200&&e.res.statusCode<300||e.res.statusCode===1223}function iM(e){return!!e.res.statusCode&&e.res.statusCode>=400&&e.res.statusCode<500}function nM(e){return!!e.res.statusCode&&e.res.statusCode>=500&&e.res.statusCode<600}function _9(e){return e.res.statusCode===204}async function j9(e){return _9(e)?null:(await Nn(e.stream)).toString()}async function so(e){if(!yg(e))throw new Error("Server returned "+e.res.statusCode);return j9(e)}async function wa(e){if(!yg(e))throw new Error("Server returned "+e.res.statusCode);if(_9(e))return null;const s=(await Nn(e.stream)).toString();try{return JSON.parse(s)}catch(i){throw i.message+=`: `+s,i}}function rM(e=!0,t=!0){if(xg===e&&kg===t)return;xg=e,kg=t;const s=as.as(ni.Configuration),i=Xh;Xh=[{id:"http",order:15,title:m(2295,null),type:"object",scope:2,properties:{"http.useLocalProxyConfiguration":{type:"boolean",default:t,markdownDescription:m(2296,null),restricted:!0}}},{id:"http",order:15,title:m(2297,null),type:"object",scope:1,properties:{"http.electronFetch":{type:"boolean",default:!1,description:m(2298,null),restricted:!0}}},{id:"http",order:15,title:m(2299,null),type:"object",scope:e?1:2,properties:{"http.proxy":{type:"string",pattern:"^(https?|socks|socks4a?|socks5h?)://([^:]*(:[^@]*)?@)?([^:]+|\\[[:0-9a-fA-F]+\\])(:\\d+)?/?$|^$",markdownDescription:m(2300,null,"`#http.useLocalProxyConfiguration#`"),restricted:!0},"http.proxyStrictSSL":{type:"boolean",default:!0,markdownDescription:m(2301,null,"`#http.useLocalProxyConfiguration#`"),restricted:!0},"http.proxyKerberosServicePrincipal":{type:"string",markdownDescription:m(2302,null,"`#http.useLocalProxyConfiguration#`"),restricted:!0},"http.noProxy":{type:"array",items:{type:"string"},markdownDescription:m(2303,null,"`#http.useLocalProxyConfiguration#`"),restricted:!0},"http.proxyAuthorization":{type:["null","string"],default:null,markdownDescription:m(2304,null,"`#http.useLocalProxyConfiguration#`"),restricted:!0},"http.proxySupport":{type:"string",enum:["off","on","fallback","override"],enumDescriptions:[m(2305,null),m(2306,null),m(2307,null),m(2308,null)],default:"override",markdownDescription:m(2309,null,"`#http.useLocalProxyConfiguration#`"),restricted:!0},"http.systemCertificates":{type:"boolean",default:!0,markdownDescription:m(2310,null,"`#http.useLocalProxyConfiguration#`"),restricted:!0},"http.systemCertificatesNode":{type:"boolean",tags:["experimental"],default:Eg,markdownDescription:m(2311,null,"`#http.useLocalProxyConfiguration#`"),restricted:!0,experiment:{mode:"auto"}},"http.experimental.systemCertificatesV2":{type:"boolean",tags:["experimental"],default:!1,markdownDescription:m(2312,null,"`#http.useLocalProxyConfiguration#`"),restricted:!0},"http.fetchAdditionalSupport":{type:"boolean",default:!0,markdownDescription:m(2313,null,"`#http.useLocalProxyConfiguration#`","`#http.proxySupport#`","`#http.systemCertificates#`"),restricted:!0},"http.experimental.networkInterfaceCheckInterval":{type:"number",default:300,minimum:-1,tags:["experimental"],markdownDescription:m(2314,null,"`#http.useLocalProxyConfiguration#`"),restricted:!0,experiment:{mode:"auto"}}}}],s.updateConfigurations({add:Xh,remove:i})}var Xi,U9,T9,Eg,Xh,xg,kg,io=b({"out-build/vs/platform/request/common/request.js"(){"use strict";Ne(),ce(),H(),ae(),to(),te(),Qi(),Xi=Z("requestService"),U9=class{constructor(e){this.b=e}toJSON(){if(!this.a){const e=Object.create(null);for(const t in this.b)t.toLowerCase()==="authorization"||t.toLowerCase()==="proxy-authorization"?e[t]="*****":e[t]=this.b[t];this.a=e}return this.a}},T9=class extends B{constructor(e){super(),this.b=e,this.a=0}async c(e,t){const s=`#${++this.a}: ${e.url}`;this.b.trace(`${s} - begin`,e.type,new U9(e.headers??{}));try{const i=await t();return this.b.trace(`${s} - end`,e.type,i.res.statusCode,i.res.headers),i}catch(i){throw this.b.error(`${s} - error`,e.type,de(i)),i}}},Eg=!1,Xh=[],xg=void 0,kg=void 0,rM()}}),Kt,ri,Bt=b({"out-build/vs/platform/environment/common/environment.js"(){"use strict";te(),Kt=Z("environmentService"),ri=Kt}});function oM(e){return F9.test(e)}var F9,Ge,jt=b({"out-build/vs/base/common/uuid.js"(){"use strict";F9=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i,Ge=(function(){if(typeof crypto.randomUUID=="function")return crypto.randomUUID.bind(crypto);const e=new Uint8Array(16),t=[];for(let s=0;s<256;s++)t.push(s.toString(16).padStart(2,"0"));return function(){crypto.getRandomValues(e),e[6]=e[6]&15|64,e[8]=e[8]&63|128;let i=0,n="";return n+=t[e[i++]],n+=t[e[i++]],n+=t[e[i++]],n+=t[e[i++]],n+="-",n+=t[e[i++]],n+=t[e[i++]],n+="-",n+=t[e[i++]],n+=t[e[i++]],n+="-",n+=t[e[i++]],n+=t[e[i++]],n+="-",n+=t[e[i++]],n+=t[e[i++]],n+=t[e[i++]],n+=t[e[i++]],n+=t[e[i++]],n+=t[e[i++]],n}})()}});import*as H9 from"os";function aM({useAlternateBitness:e=!1}={}){return e?al===0?process.env["ProgramFiles(x86)"]||null:ya===0&&process.env.ProgramW6432||null:process.env.ProgramFiles||null}async function Yh({useAlternateBitness:e=!1,findPreview:t=!1}={}){const s=aM({useAlternateBitness:e});if(!s)return null;const i=T(s,"PowerShell");if(!await ps.existsDirectory(i))return null;let n=-1,r=null;for(const c of await xe.readdir(i)){let l=-1;if(t){const h=c.indexOf("-");if(h<0)continue;const d=c.substring(0,h);if(!Sg.test(d)||c.substring(h+1)!=="preview")continue;l=parseInt(d,10)}else{if(!Sg.test(c))continue;l=parseInt(c,10)}if(l<=n)continue;const u=T(i,c,"pwsh.exe");await ps.existsFile(u)&&(r=u,n=l)}if(!r)return null;const o=s.includes("x86")?" (x86)":"",a=t?" Preview":"";return new Ea(r,`PowerShell${a}${o}`,!0)}async function z9({findPreview:e}={}){if(!process.env.LOCALAPPDATA)return null;const t=T(process.env.LOCALAPPDATA,"Microsoft","WindowsApps");if(!await ps.existsDirectory(t))return null;const{pwshMsixDirRegex:s,pwshMsixName:i}=e?{pwshMsixDirRegex:q9,pwshMsixName:"PowerShell Preview (Store)"}:{pwshMsixDirRegex:B9,pwshMsixName:"PowerShell (Store)"};for(const n of await xe.readdir(t))if(s.test(n)){const r=T(t,n,"pwsh.exe");return new Ea(r,i)}return null}function cM(){const e=T(H9.homedir(),".dotnet","tools","pwsh.exe");return new Ea(e,".NET Core PowerShell Global Tool")}function lM(){const e=T(H9.homedir(),"scoop","apps"),t=T(e,"pwsh","current","pwsh.exe");return new Ea(t,"PowerShell (Scoop)")}function uM(){const e=T(process.env.windir,al===1&&ya!==1?"SysNative":"System32","WindowsPowerShell","v1.0","powershell.exe");return new Ea(e,"Windows PowerShell",!0)}async function*hM(){let e=await Yh();e&&(yield e),e=await Yh({useAlternateBitness:!0}),e&&(yield e),e=await z9(),e&&(yield e),e=cM(),e&&(yield e),e=await Yh({findPreview:!0}),e&&(yield e),e=await z9({findPreview:!0}),e&&(yield e),e=await Yh({useAlternateBitness:!0,findPreview:!0}),e&&(yield e),e=await lM(),e&&(yield e),e=uM(),e&&(yield e)}async function*V9(){for await(const e of hM())await e.exists()&&(yield e)}async function fM(){for await(const e of V9())return e;return null}var Sg,B9,q9,W9,al,ya,Ea,G9=b({"out-build/vs/base/node/powershell.js"(){"use strict";switch(ge(),ms(),Sg=/^\d+$/,B9=/^Microsoft.PowerShell_.*/,q9=/^Microsoft.PowerShellPreview_.*/,(function(e){e[e.x64=0]="x64",e[e.x86=1]="x86",e[e.ARM=2]="ARM"})(W9||(W9={})),process.arch){case"ia32":al=1;break;case"arm":case"arm64":al=2;break;default:al=0;break}process.env.PROCESSOR_ARCHITEW6432?ya=process.env.PROCESSOR_ARCHITEW6432==="ARM64"?2:0:process.env.PROCESSOR_ARCHITECTURE==="ARM64"?ya=2:process.env.PROCESSOR_ARCHITECTURE==="X86"?ya=1:ya=0,Ea=class{constructor(e,t,s){this.exePath=e,this.displayName=t,this.a=s}async exists(){return this.a===void 0&&(this.a=await ps.existsFile(this.exePath)),this.a}}}});function dM(e,...t){const s=t.reduce((r,o)=>(r[o]=!0,r),{}),i=[/^ELECTRON_.+$/,/^VSCODE_(?!(PORTABLE|SHELL_LOGIN|ENV_REPLACE|ENV_APPEND|ENV_PREPEND)).+$/,/^SNAP(|_.*)$/,/^GDK_PIXBUF_.+$/];Object.keys(e).filter(r=>!s[r]).forEach(r=>{for(let o=0;o{if(o&&console.error(o),s=!1,t.length>0){const a=t.slice(0);t=[],a.forEach(c=>i(c))}})||ve)&&(s=!0)};return{send:i}}async function gM(e){if(await xe.exists(e)){let t;try{t=await X9.stat(e)}catch(s){s.message.startsWith("EACCES")&&(t=await X9.lstat(e))}return t?!t.isDirectory():!1}return!1}async function Y9(e,t,s,i=Us,n=gM){if(Vr(e))return await n(e)?e:void 0;if(t===void 0&&(t=bn()),Ft(e)!=="."){const c=T(t,e);return await n(c)?c:void 0}const o=p9(i,"PATH");if(s===void 0&&ee(o)&&(s=o.split(Dc)),s===void 0||s.length===0){const c=T(t,e);return await n(c)?c:void 0}for(const c of s){let l;if(Vr(c)?l=T(c,e):l=T(t,c,e),ve){const h=(p9(i,"PATHEXT")||".COM;.EXE;.BAT;.CMD").split(";").map(async d=>{const p=l+d;return await n(p)?p:void 0});for(const d of h){const p=await d;if(p)return p}}if(await n(l))return l}const a=T(t,e);return await n(a)?a:void 0}var $g=b({"out-build/vs/base/node/processes.js"(){"use strict";Vt(),ge(),se(),Ks(),Kh(),be(),ms(),ye()}});import{userInfo as vM}from"os";async function K9(e,t){return e===1?ve?wM():pM(t):bM(e,t)}function bM(e,t){if(ut&&e===2||js&&e===3)return"/bin/bash";if(!ef){let s;if(ve)s="/bin/bash";else{if(s=t.SHELL,!s)try{s=vM().shell}catch{}s||(s="sh"),s==="/bin/false"&&(s="/bin/bash")}ef=s}return ef}async function wM(){return tf||(tf=(await fM()).exePath),tf}var ef,tf,e7=b({"out-build/vs/base/node/shell.js"(){"use strict";se(),G9(),$g(),ef=null,tf=null}});function t7(e,t,s=o7){const i=e.find((d,p)=>d.length>0&&d[0]!=="-"&&t.hasOwnProperty(d)&&t[d].type==="subcommand"),n={},r=["_"],o=[],a={};let c;for(const d in t){const p=t[d];p.type==="subcommand"?d===i&&(c=p):(p.alias&&(n[d]=p.alias),p.type==="string"||p.type==="string[]"?(r.push(d),p.deprecates&&r.push(...p.deprecates)):p.type==="boolean"&&(o.push(d),p.deprecates&&o.push(...p.deprecates)),p.global&&(a[d]=p))}if(c&&i){const d=a;for(const w in c.options)d[w]=c.options[w];const p=e.filter(w=>w!==i),g=s.getSubcommandReporter?s.getSubcommandReporter(i):void 0,v=t7(p,d,g);return{[i]:v,_:[]}}const l=(0,n7.default)(e,{string:r,boolean:o,alias:n}),u={},h=l;u._=l._.map(d=>String(d)).filter(d=>d.length>0),delete h._;for(const d in t){const p=t[d];if(p.type==="subcommand")continue;p.alias&&delete h[p.alias];let g=h[d];if(p.deprecates)for(const v of p.deprecates)h.hasOwnProperty(v)&&(g||(g=h[v],g&&s.onDeprecatedOption(v,p.deprecationMessage||m(1947,null,d))),delete h[v]);if(typeof g<"u"){if(p.type==="string[]"){if(Array.isArray(g)||(g=[g]),!p.allowEmptyValue){const v=g.filter(w=>w.length>0);v.length!==g.length&&(s.onEmptyValue(d),g=v.length>0?v:void 0)}}else p.type==="string"&&(Array.isArray(g)?(g=g.pop(),s.onMultipleValues(d,g)):!g&&!p.allowEmptyValue&&(s.onEmptyValue(d),g=void 0));u[d]=g,p.deprecationMessage&&s.onDeprecatedOption(d,p.deprecationMessage)}delete h[d]}for(const d in h)s.onUnknownOption(d);return u}function yM(e,t){let s="";return t.args&&(Array.isArray(t.args)?s=` <${t.args.join("> <")}>`:s=` <${t.args}>`),t.alias?`-${t.alias} --${e}${s}`:`--${e}${s}`}function EM(e,t){const s=[];for(const i in e){const n=e[i],r=yM(i,n);s.push([r,n.description])}return s7(s,t)}function s7(e,t){const i=e.reduce((o,a)=>Math.max(o,a[0].length),12)+2+1;if(t-i<25)return e.reduce((o,a)=>o.concat([` ${a[0]}`,` ${a[1]}`]),[]);const n=t-i-1,r=[];for(const o of e){const a=o[0],c=xM(o[1],n),l=i7(i-a.length-2);r.push(" "+a+l+c[0]);for(let u=1;u[h.command,h.description]),r)),c.push("")),c.join(` `)}function SM(e,t){let s;return ve?t?s=`echo Hello World | ${e} chat -`:s=`echo Hello World | ${e} -`:t?s=`ps aux | grep code | ${e} chat -`:s=`ps aux | grep code | ${e} -`,m(1953,null,s)}function $M(e,t){return`${e||m(1954,null)} ${t||m(1955,null)} ${process.arch}`}var n7,r7,Je,o7,sf=b({"out-build/vs/platform/environment/node/argv.js"(){"use strict";n7=Ky(e4(),1),se(),ae(),r7={o:m(1895,null),e:m(1896,null),t:m(1897,null),m:m(1898,null)},Je={chat:{type:"subcommand",description:"Pass in a prompt to run in a chat session in the current working directory.",options:{_:{type:"string[]",description:m(1899,null)},mode:{type:"string",cat:"o",alias:"m",args:"mode",description:m(1900,null)},"add-file":{type:"string[]",cat:"o",alias:"a",args:"path",description:m(1901,null)},maximize:{type:"boolean",cat:"o",description:m(1902,null)},"reuse-window":{type:"boolean",cat:"o",alias:"r",description:m(1903,null)},"new-window":{type:"boolean",cat:"o",alias:"n",description:m(1904,null)},profile:{type:"string",cat:"o",args:"profileName",description:m(1905,null)},help:{type:"boolean",alias:"h",description:m(1906,null)}}},"serve-web":{type:"subcommand",description:"Run a server that displays the editor UI in browsers.",options:{"cli-data-dir":{type:"string",args:"dir",description:m(1907,null)},"disable-telemetry":{type:"boolean"},"telemetry-level":{type:"string"}}},tunnel:{type:"subcommand",description:"Make the current machine accessible from vscode.dev or other machines through a secure tunnel.",options:{"cli-data-dir":{type:"string",args:"dir",description:m(1908,null)},"disable-telemetry":{type:"boolean"},"telemetry-level":{type:"string"},user:{type:"subcommand",options:{login:{type:"subcommand",options:{provider:{type:"string"},"access-token":{type:"string"}}}}}}},diff:{type:"boolean",cat:"o",alias:"d",args:["file","file"],description:m(1909,null)},merge:{type:"boolean",cat:"o",alias:"m",args:["path1","path2","base","result"],description:m(1910,null)},add:{type:"boolean",cat:"o",alias:"a",args:"folder",description:m(1911,null)},remove:{type:"boolean",cat:"o",args:"folder",description:m(1912,null)},goto:{type:"boolean",cat:"o",alias:"g",args:"file:line[:character]",description:m(1913,null)},"new-window":{type:"boolean",cat:"o",alias:"n",description:m(1914,null)},"reuse-window":{type:"boolean",cat:"o",alias:"r",description:m(1915,null)},wait:{type:"boolean",cat:"o",alias:"w",description:m(1916,null)},waitMarkerFilePath:{type:"string"},locale:{type:"string",cat:"o",args:"locale",description:m(1917,null)},"user-data-dir":{type:"string",cat:"o",args:"dir",description:m(1918,null)},profile:{type:"string",cat:"o",args:"profileName",description:m(1919,null)},help:{type:"boolean",cat:"o",alias:"h",description:m(1920,null)},"extensions-dir":{type:"string",deprecates:["extensionHomePath"],cat:"e",args:"dir",description:m(1921,null)},"extensions-download-dir":{type:"string"},"builtin-extensions-dir":{type:"string"},"list-extensions":{type:"boolean",cat:"e",description:m(1922,null)},"show-versions":{type:"boolean",cat:"e",description:m(1923,null)},category:{type:"string",allowEmptyValue:!0,cat:"e",description:m(1924,null),args:"category"},"install-extension":{type:"string[]",cat:"e",args:"ext-id | path",description:m(1925,null)},"pre-release":{type:"boolean",cat:"e",description:m(1926,null)},"uninstall-extension":{type:"string[]",cat:"e",args:"ext-id",description:m(1927,null)},"update-extensions":{type:"boolean",cat:"e",description:m(1928,null)},"enable-proposed-api":{type:"string[]",allowEmptyValue:!0,cat:"e",args:"ext-id",description:m(1929,null)},"add-mcp":{type:"string[]",cat:"m",args:"json",description:m(1930,null)},version:{type:"boolean",cat:"t",alias:"v",description:m(1931,null)},verbose:{type:"boolean",cat:"t",global:!0,description:m(1932,null)},log:{type:"string[]",cat:"t",args:"level",global:!0,description:m(1933,null)},status:{type:"boolean",alias:"s",cat:"t",description:m(1934,null)},"prof-startup":{type:"boolean",cat:"t",description:m(1935,null)},"prof-append-timers":{type:"string"},"prof-duration-markers":{type:"string[]"},"prof-duration-markers-file":{type:"string"},"no-cached-data":{type:"boolean"},"prof-startup-prefix":{type:"string"},"prof-v8-extensions":{type:"boolean"},"disable-extensions":{type:"boolean",deprecates:["disableExtensions"],cat:"t",description:m(1936,null)},"disable-extension":{type:"string[]",cat:"t",args:"ext-id",description:m(1937,null)},sync:{type:"string",cat:"t",description:m(1938,null),args:["on | off"]},"inspect-extensions":{type:"string",allowEmptyValue:!0,deprecates:["debugPluginHost"],args:"port",cat:"t",description:m(1939,null)},"inspect-brk-extensions":{type:"string",allowEmptyValue:!0,deprecates:["debugBrkPluginHost"],args:"port",cat:"t",description:m(1940,null)},"disable-lcd-text":{type:"boolean",cat:"t",description:m(1941,null)},"disable-gpu":{type:"boolean",cat:"t",description:m(1942,null)},"disable-chromium-sandbox":{type:"boolean",cat:"t",description:m(1943,null)},sandbox:{type:"boolean"},"locate-shell-integration-path":{type:"string",cat:"t",args:["shell"],description:m(1944,null)},telemetry:{type:"boolean",cat:"t",description:m(1945,null)},remote:{type:"string",allowEmptyValue:!0},"folder-uri":{type:"string[]",cat:"o",args:"uri"},"file-uri":{type:"string[]",cat:"o",args:"uri"},"locate-extension":{type:"string[]"},extensionDevelopmentPath:{type:"string[]"},extensionDevelopmentKind:{type:"string[]"},extensionTestsPath:{type:"string"},extensionEnvironment:{type:"string"},debugId:{type:"string"},debugRenderer:{type:"boolean"},"inspect-ptyhost":{type:"string",allowEmptyValue:!0},"inspect-brk-ptyhost":{type:"string",allowEmptyValue:!0},"inspect-search":{type:"string",deprecates:["debugSearch"],allowEmptyValue:!0},"inspect-brk-search":{type:"string",deprecates:["debugBrkSearch"],allowEmptyValue:!0},"inspect-sharedprocess":{type:"string",allowEmptyValue:!0},"inspect-brk-sharedprocess":{type:"string",allowEmptyValue:!0},"export-default-configuration":{type:"string"},"export-policy-data":{type:"string",allowEmptyValue:!0},"install-source":{type:"string"},"enable-smoke-test-driver":{type:"boolean"},logExtensionHostCommunication:{type:"boolean"},"skip-release-notes":{type:"boolean"},"skip-welcome":{type:"boolean"},"disable-telemetry":{type:"boolean"},"disable-updates":{type:"boolean"},transient:{type:"boolean",cat:"t",description:m(1946,null)},"use-inmemory-secretstorage":{type:"boolean",deprecates:["disable-keytar"]},"password-store":{type:"string"},"disable-workspace-trust":{type:"boolean"},"disable-crash-reporter":{type:"boolean"},"crash-reporter-directory":{type:"string"},"crash-reporter-id":{type:"string"},"skip-add-to-recently-opened":{type:"boolean"},"open-url":{type:"boolean"},"file-write":{type:"boolean"},"file-chmod":{type:"boolean"},"install-builtin-extension":{type:"string[]"},force:{type:"boolean"},"do-not-sync":{type:"boolean"},"do-not-include-pack-dependencies":{type:"boolean"},trace:{type:"boolean"},"trace-memory-infra":{type:"boolean"},"trace-category-filter":{type:"string"},"trace-options":{type:"string"},"preserve-env":{type:"boolean"},"force-user-env":{type:"boolean"},"force-disable-user-env":{type:"boolean"},"open-devtools":{type:"boolean"},"disable-gpu-sandbox":{type:"boolean"},logsPath:{type:"string"},"__enable-file-policy":{type:"boolean"},editSessionId:{type:"string"},continueOn:{type:"string"},"enable-coi":{type:"boolean"},"unresponsive-sample-interval":{type:"string"},"unresponsive-sample-period":{type:"string"},"enable-rdp-display-tracking":{type:"boolean"},"disable-layout-restore":{type:"boolean"},"disable-experiments":{type:"boolean"},"no-proxy-server":{type:"boolean"},"no-sandbox":{type:"boolean",alias:"sandbox"},"proxy-server":{type:"string"},"proxy-bypass-list":{type:"string"},"proxy-pac-url":{type:"string"},"js-flags":{type:"string"},inspect:{type:"string",allowEmptyValue:!0},"inspect-brk":{type:"string",allowEmptyValue:!0},nolazy:{type:"boolean"},"force-device-scale-factor":{type:"string"},"force-renderer-accessibility":{type:"boolean"},"ignore-certificate-errors":{type:"boolean"},"allow-insecure-localhost":{type:"boolean"},"log-net-log":{type:"string"},vmodule:{type:"string"},_urls:{type:"string[]"},"disable-dev-shm-usage":{type:"boolean"},"profile-temp":{type:"boolean"},"ozone-platform":{type:"string"},"enable-tracing":{type:"string"},"trace-startup-format":{type:"string"},"trace-startup-file":{type:"string"},"trace-startup-duration":{type:"string"},"xdg-portal-required-version":{type:"string"},_:{type:"string[]"}},o7={onUnknownOption:()=>{},onMultipleValues:()=>{},onEmptyValue:()=>{},onDeprecatedOption:()=>{}}}});import"assert";function a7(e){return e.VSCODE_CLI==="1"}var IM=b({"out-build/vs/platform/environment/node/argvHelper.js"(){"use strict";ae(),sf()}});function PM(e,t,s){return Math.min(Math.max(e,t),s)}var AM=b({"out-build/vs/base/common/numbers.js"(){"use strict";xn()}});import{spawn as DM}from"child_process";async function Ig(e,t,s,i){return s["force-disable-user-env"]?(t.trace("resolveShellEnv(): skipped (--force-disable-user-env)"),{}):ve?(t.trace("resolveShellEnv(): skipped (Windows)"),{}):a7(i)&&!s["force-user-env"]?(t.trace("resolveShellEnv(): skipped (VSCODE_CLI is set)"),{}):(a7(i)?t.trace("resolveShellEnv(): running (--force-user-env)"):t.trace("resolveShellEnv(): running (macOS/Linux)"),nf||(nf=rs.withAsyncBody(async(n,r)=>{const o=new Si;let a=1e4;const c=e.getValue("application.shellEnvironmentResolutionTimeout");typeof c=="number"&&(a=PM(c,1,120)*1e3);const l=setTimeout(()=>{o.dispose(!0),r(new Error(m(2315,null)))},a);try{n(await RM(t,o.token))}catch(u){!yn(u)&&!o.token.isCancellationRequested?r(new Error(m(2316,null,Xr(u)))):n({})}finally{clearTimeout(l),o.dispose()}})),nf)}async function RM(e,t){const s=process.env.ELECTRON_RUN_AS_NODE;e.trace("getUnixShellEnvironment#runAsNode",s);const i=process.env.ELECTRON_NO_ATTACH_CONSOLE;e.trace("getUnixShellEnvironment#noAttach",i);const n=Ge().replace(/-/g,"").substr(0,12),r=new RegExp(n+"({.*})"+n),o={...process.env,ELECTRON_RUN_AS_NODE:"1",ELECTRON_NO_ATTACH_CONSOLE:"1",VSCODE_RESOLVING_ENVIRONMENT:"1"};e.trace("getUnixShellEnvironment#env",o);const a=await K9(Hr,o);return e.trace("getUnixShellEnvironment#shell",a),new Promise((c,l)=>{if(t.isCancellationRequested)return l(new yt);const u=dt(a);let h,d;const p="";/^(?:pwsh|powershell)(?:-preview)?$/.test(u)?(h=`& '${process.execPath}' ${p} -p '''${n}'' + JSON.stringify(process.env) + ''${n}'''`,d=["-Login","-Command"]):u==="nu"?(h=`^'${process.execPath}' ${p} -p '"${n}" + JSON.stringify(process.env) + "${n}"'`,d=["-i","-l","-c"]):u==="xonsh"?(h=`import os, json; print("${n}", json.dumps(dict(os.environ)), "${n}")`,d=["-i","-l","-c"]):(h=`'${process.execPath}' ${p} -p '"${n}" + JSON.stringify(process.env) + "${n}"'`,u==="tcsh"||u==="csh"?d=["-ic"]:d=["-i","-l","-c"]),e.trace("getUnixShellEnvironment#spawn",JSON.stringify(d),h);const g=DM(a,[...d,h],{detached:!0,stdio:["ignore","pipe","pipe"],env:o});t.onCancellationRequested(()=>(g.kill(),l(new yt))),g.on("error",k=>{e.error("getUnixShellEnvironment#errorChildProcess",Xr(k)),l(k)});const v=[];g.stdout.on("data",k=>v.push(k));const w=[];g.stderr.on("data",k=>w.push(k)),g.on("close",(k,x)=>{const A=Buffer.concat(v).toString("utf8");e.trace("getUnixShellEnvironment#raw",A);const _=Buffer.concat(w).toString("utf8");if(_.trim()&&e.trace("getUnixShellEnvironment#stderr",_),k||x)return l(new Error(m(2317,null,k,x)));const z=r.exec(A),Ce=z?z[1]:"{}";try{const C=JSON.parse(Ce);s?C.ELECTRON_RUN_AS_NODE=s:delete C.ELECTRON_RUN_AS_NODE,i?C.ELECTRON_NO_ATTACH_CONSOLE=i:delete C.ELECTRON_NO_ATTACH_CONSOLE,delete C.VSCODE_RESOLVING_ENVIRONMENT,delete C.XDG_RUNTIME_DIR,e.trace("getUnixShellEnvironment#result",C),c(C)}catch(C){e.error("getUnixShellEnvironment#errorCaught",Xr(C)),l(C)}})})}var nf,Pg=b({"out-build/vs/platform/shell/node/shellEnv.js"(){"use strict";ge(),ae(),Pt(),ta(),ce(),se(),jt(),e7(),IM(),Le(),AM(),nf=void 0}});import{parse as c7}from"url";function NM(e,t){return e.protocol==="http:"?t.HTTP_PROXY||t.http_proxy||null:e.protocol==="https:"&&(t.HTTPS_PROXY||t.https_proxy||t.HTTP_PROXY||t.http_proxy)||null}async function CM(e,t,s={}){const i=c7(e),n=s.proxyUrl||NM(i,t);if(!n)return null;const r=c7(n);if(!/^https?:$/.test(r.protocol||""))return null;const o={host:r.hostname||"",port:(r.port?+r.port:0)||(r.protocol==="https"?443:80),auth:r.auth,rejectUnauthorized:Wi(s.strictSSL)?s.strictSSL:!0};if(i.protocol==="http:"){const{default:a}=await import("http-proxy-agent");return new a.HttpProxyAgent(n,o)}else{const{default:a}=await import("https-proxy-agent");return new a.HttpsProxyAgent(n,o)}}var LM=b({"out-build/vs/platform/request/node/proxy.js"(){"use strict";be()}});import{parse as l7}from"url";import{createGunzip as OM}from"zlib";function MM(e){if(e instanceof Error){const t=e.code;return!!t&&h7.has(t)}return!1}async function _M(e,t,s,i){const n=await import("kerberos"),r=n.default||n,o=new URL(e),a=t||(process.platform==="win32"?`HTTP/${o.hostname}`:`HTTP@${o.hostname}`);return s.debug(`${i} Kerberos authentication lookup`,`proxyURL:${o}`,`spn:${a}`),(await r.initializeClient(a)).step("")}async function jM(e){return(l7(e.url).protocol==="https:"?await import("https"):await import("http")).request}async function u7(e,t){let i;const n=f7.test(e.type||"GET");for(let r=1;r<=3;r++)try{return await UM(e,t)}catch(o){if(i=o,o instanceof yt||!n||!MM(o)||r===3)throw o;await Jr(100*r,t)}throw i}async function UM(e,t){return rs.withAsyncBody(async(s,i)=>{const n=l7(e.url),r=e.getRawRequest?e.getRawRequest(e):await jM(e),o={hostname:n.hostname,port:n.port?parseInt(n.port):n.protocol==="https:"?443:80,protocol:n.protocol,path:n.path,method:e.type||"GET",headers:e.headers,agent:e.agent,rejectUnauthorized:Wi(e.strictSSL)?e.strictSSL:!0};e.user&&e.password&&(o.auth=e.user+":"+e.password),e.disableCache&&(o.cache="no-store");const a=r(o,l=>{const u=kn(e.followRedirects)?e.followRedirects:3;if(l.statusCode&&l.statusCode>=300&&l.statusCode<400&&u>0&&l.headers.location)u7({...e,url:l.headers.location,followRedirects:u-1},t).then(s,i);else{let h=l;!e.isChromiumNetwork&&l.headers["content-encoding"]==="gzip"&&(h=l.pipe(OM())),s({res:l,stream:xO(h)})}});if(a.on("error",i),e.timeout)if(e.isChromiumNetwork){const l=setTimeout(()=>{a.abort(),i(new Error(`Request timeout after ${e.timeout}ms`))},e.timeout);a.on("response",()=>clearTimeout(l)),a.on("error",()=>clearTimeout(l)),a.on("abort",()=>clearTimeout(l))}else a.setTimeout(e.timeout);e.isChromiumNetwork&&a.removeHeader("Content-Length"),e.data&&typeof e.data=="string"&&a.write(e.data),a.end();const c=t.onCancellationRequested(()=>{c.dispose(),a.abort(),i(new yt)});a.on("response",()=>c.dispose()),a.on("error",()=>c.dispose())})}var h7,f7,cl,d7=b({"out-build/vs/platform/request/node/requestService.js"(){"use strict";Le(),Ne(),ce(),be(),Yt(),Bt(),Pg(),Pe(),io(),LM(),h7=new Set(["EAI_AGAIN","ECONNREFUSED","EHOSTDOWN","EHOSTUNREACH","ENETDOWN","ENETUNREACH","EPROTO"]),f7=/^(GET|HEAD|OPTIONS)$/i,cl=class extends T9{constructor(t,s,i,n){super(n),this.m=t,this.n=s,this.q=i,this.r(),this.D(s.onDidChangeConfiguration(r=>{r.affectsConfiguration("http")&&this.r()}))}r(){this.f=this.s("http.proxy"),this.g=!!this.s("http.proxyStrictSSL"),this.h=this.s("http.proxyAuthorization")}async request(t,s){const{f:i,g:n}=this;let r;try{r=await Ig(this.n,this.b,this.q.args,process.env)}catch(c){this.j||(this.j=!0,this.b.error("resolving shell environment failed",de(c)))}const o={...process.env,...r},a=t.agent?t.agent:await CM(t.url||"",o,{proxyUrl:i,strictSSL:n});return t.agent=a,t.strictSSL=n,this.h&&(t.headers={...t.headers||{},"Proxy-Authorization":this.h}),this.c(t,()=>u7(t,s))}async resolveProxy(t){}async lookupAuthorization(t){}async lookupKerberosAuthorization(t){try{const s=this.s("http.proxyKerberosServicePrincipal");return"Negotiate "+await _M(t,s,this.b,"RequestService#lookupKerberosAuthorization")}catch(s){this.b.debug("RequestService#lookupKerberosAuthorization Kerberos authentication failed",s);return}}async loadCertificates(){return(await import("@vscode/proxy-agent")).loadSystemCertificates({loadSystemCertificatesFromNode:()=>this.s("http.systemCertificatesNode",Eg),log:this.b})}s(t,s){if(this.m==="remote")return this.n.getValue(t);const i=this.n.inspect(t);return i.userLocalValue??i.defaultValue??s}},cl=__decorate([__param(1,Xt),__param(2,ri),__param(3,he)],cl)}});function TM(e){if(!e)return;const t=e.indexOf("+");return t<0?e:e.substr(0,t)}var p7=b({"out-build/vs/platform/remote/common/remoteHosts.js"(){"use strict";ye()}});function FM(e){if(Fr===2&&/^penguin(\.|$)/i.test(e))return"chromebook"}function HM(e,t,s,i,n,r,o,a,c,l,u){const h=Object.create(null);h["common.machineId"]=r,h["common.sqmId"]=o,h["common.devDeviceId"]=a,h.sessionID=Ge()+Date.now(),h.commitHash=i,h.version=n,h["common.releaseDate"]=l,h["common.platformVersion"]=(e||"").replace(/^(\d+)(\.\d+)?(\.\d+)?(.*)/,"$1$2$3"),h["common.platform"]=o4(Fr),h["common.nodePlatform"]=n1,h["common.nodeArch"]=s,h["common.product"]=u||"desktop",c&&(h["common.msftInternal"]=c);let d=0;const p=Date.now();Object.defineProperties(h,{timestamp:{get:()=>new Date,enumerable:!0},"common.timesincesessionstart":{get:()=>Date.now()-p,enumerable:!0},"common.sequence":{get:()=>d++,enumerable:!0}}),d4&&(h["common.snap"]="true");const g=FM(t);return g&&(h["common.platformDetail"]=g),h}function zM(e){const t=Us.USERDNSDOMAIN;if(!t)return!1;const s=t.toLowerCase();return e.some(i=>s===i)}var m7=b({"out-build/vs/platform/telemetry/common/commonProperties.js"(){"use strict";se(),Ks(),jt()}}),bs,VM,g7,ll,Ag,rf,v7,b7,oi=b({"out-build/vs/platform/telemetry/common/telemetry.js"(){"use strict";te(),bs=Z("telemetryService"),VM=Z("customEndpointTelemetryService"),g7="telemetry",ll="telemetry.telemetryLevel",Ag="telemetry.enableCrashReporter",rf="telemetry.enableTelemetry",(function(e){e[e.NONE=0]="NONE",e[e.CRASH=1]="CRASH",e[e.ERROR=2]="ERROR",e[e.USAGE=3]="USAGE"})(v7||(v7={})),(function(e){e.OFF="off",e.CRASH="crash",e.ERROR="error",e.ON="all"})(b7||(b7={}))}});function w7(e,t){return!t.isBuilt&&!t.disableTelemetry?!0:!(t.disableTelemetry||!e.enableTelemetry)}function y7(e,t){return t.extensionTestsLocationURI?!0:!(t.isBuilt||t.disableTelemetry||e.enableTelemetry&&e.aiConfig?.ariaKey)}function E7(e){const t=e.getValue(ll),s=e.getValue(Ag);if(e.getValue(rf)===!1||s===!1)return 0;switch(t??"all"){case"all":return 3;case"error":return 2;case"crash":return 1;case"off":return 0}}function x7(e){const t={},s={},i={};k7(e,i);for(let n in i){n=n.length>150?n.substr(n.length-149):n;const r=i[n];typeof r=="number"?s[n]=r:typeof r=="boolean"?s[n]=r?1:0:typeof r=="string"?(r.length>8192&&console.warn(`Telemetry property: ${n} has been trimmed to 8192, the original length is ${r.length}`),t[n]=r.substring(0,8191)):typeof r<"u"&&r!==null&&(t[n]=String(r))}return{properties:t,measurements:s}}function BM(e,t){if(!e)return"none";const s=TM(e),i=t?.remoteExtensionTips;if(i&&Object.prototype.hasOwnProperty.call(i,s))return s;const n=t?.virtualWorkspaceExtensionTips;return n&&Object.prototype.hasOwnProperty.call(n,s)?s:"other"}function k7(e,t,s=0,i){if(!e||typeof e!="object"&&typeof e!="function")return;const n=e;for(const r of Object.getOwnPropertyNames(n)){const o=n[r],a=i?i+r:r;Array.isArray(o)?t[a]=hg(o):o instanceof Date?t[a]=o.toISOString():tt(o)?s<2?k7(o,t,s+1,a+"."):t[a]=hg(o):t[a]=o}}function qM(e,t){const s=e.msftInternalDomains||[],i=t.getValue("telemetry.internalTesting");return zM(s)||i}function WM(e){return[e.appRoot,e.extensionsPath,e.userHome.fsPath,e.tmpDir.fsPath,e.userDataPath]}function GM(e,t){if(!e||!e.includes("/")&&!e.includes("\\"))return e;let s=e;const i=[];for(const a of t)for(;;){const c=a.exec(e);if(!c)break;i.push([c.index,a.lastIndex])}const n=/^[\\\/]?(node_modules|node_modules\.asar)[\\\/]/,r=/(file:\/\/)?([a-zA-Z]:(\\\\|\\|\/)|(\\\\|\\|\/))?([\w-\._]+(\\\\|\\|\/))+[\w-\._]*/g;let o=0;for(s="";;){const a=r.exec(e);if(!a)break;const c=i.some(([l,u])=>a.index",o=r.lastIndex)}return o`;return e}function Dg(e,t){return e?Ji(e,s=>{if(s instanceof xa||Object.hasOwnProperty.call(s,"isTrustedTelemetryValue"))return s.value;if(typeof s=="string"){let i=s.replaceAll("%20"," ");i=GM(i,t);for(const n of t)i=i.replace(n,"");return i=JM(i),i}}):{}}var xa,Rg,S7,Ng,Cg,$7,Pi=b({"out-build/vs/platform/telemetry/common/telemetryUtils.js"(){"use strict";Vt(),be(),ae(),p7(),m7(),oi(),xa=class{constructor(e){this.value=e,this.isTrustedTelemetryValue=!0}},Rg=class{constructor(){this.telemetryLevel=0,this.sessionId="someValue.sessionId",this.machineId="someValue.machineId",this.sqmId="someValue.sqmId",this.devDeviceId="someValue.devDeviceId",this.firstSessionDate="someValue.firstSessionDate",this.sendErrorTelemetry=!1}publicLog(){}publicLog2(){}publicLogError(){}publicLogError2(){}setExperimentProperty(){}},S7=new Rg,Ng="telemetry",Cg={id:Ng,name:m(2343,null)},$7={log:()=>null,flush:()=>Promise.resolve(void 0)}}}),Yi,QM,I7=b({"out-build/vs/base/common/policy.js"(){"use strict";ae(),(function(e){e.Extensions="Extensions",e.IntegratedTerminal="IntegratedTerminal",e.InteractiveSession="InteractiveSession",e.Telemetry="Telemetry",e.Update="Update"})(Yi||(Yi={})),QM={[Yi.Extensions]:{name:{key:"extensionsConfigurationTitle",value:m(148,null)}},[Yi.IntegratedTerminal]:{name:{key:"terminalIntegratedConfigurationTitle",value:m(149,null)}},[Yi.InteractiveSession]:{name:{key:"interactiveSessionConfigurationTitle",value:m(150,null)}},[Yi.Telemetry]:{name:{key:"telemetryConfigurationTitle",value:m(151,null)}},[Yi.Update]:{name:{key:"updateConfigurationTitle",value:m(152,null)}}}}});function P7(e){switch(e){case"win32-x64":return"Windows 64 bit";case"win32-arm64":return"Windows ARM";case"linux-x64":return"Linux 64 bit";case"linux-arm64":return"Linux ARM 64";case"linux-armhf":return"Linux ARM";case"alpine-x64":return"Alpine Linux 64 bit";case"alpine-arm64":return"Alpine ARM 64";case"darwin-x64":return"Mac";case"darwin-arm64":return"Mac Silicon";case"web":return"Web";case"universal":return"universal";case"unknown":return"unknown";case"undefined":return"undefined"}}function ZM(e){switch(e){case"win32-x64":return"win32-x64";case"win32-arm64":return"win32-arm64";case"linux-x64":return"linux-x64";case"linux-arm64":return"linux-arm64";case"linux-armhf":return"linux-armhf";case"alpine-x64":return"alpine-x64";case"alpine-arm64":return"alpine-arm64";case"darwin-x64":return"darwin-x64";case"darwin-arm64":return"darwin-arm64";case"web":return"web";case"universal":return"universal";default:return"unknown"}}function A7(e,t){switch(e){case 3:return t==="x64"?"win32-x64":t==="arm64"?"win32-arm64":"unknown";case 2:return t==="x64"?"linux-x64":t==="arm64"?"linux-arm64":t==="arm"?"linux-armhf":"unknown";case"alpine":return t==="x64"?"alpine-x64":t==="arm64"?"alpine-arm64":"unknown";case 1:return t==="x64"?"darwin-x64":t==="arm64"?"darwin-arm64":"unknown";case 0:return"web"}}function ul(e,t){return t==="web"&&!e.includes("web")}function Lg(e,t,s){return ul(t,s)?!1:e==="undefined"||e==="universal"?!0:e==="unknown"?!1:e===s}function XM(e){const t=e;return!!t&&typeof t=="object"&&typeof t.id=="string"&&(!t.uuid||typeof t.uuid=="string")}async function Og(e,t){let s;try{s=await t.resolve(e)}catch(i){if(i.fileOperationResult===1)return 0;throw i}return s.children?(await Promise.all(s.children.map(n=>Og(n.resource,t)))).reduce((n,r)=>n+r,0):s.size??0}function YM(e,t){return e?t?.capabilities.signing?.allPrivateRepositorySigned===!0:t?.capabilities.signing?.allPublicRepositorySigned===!0}var D7,of,R7,Mg,N7,C7,L7,O7,M7,_7,j7,U7,Ai,T7,Ki,F7,Dt,ot,af,KM,e_,Mn,t_,s_,hl,H7,z7,Rs=b({"out-build/vs/platform/extensionManagement/common/extensionManagement.js"(){"use strict";I7(),ae(),to(),te(),Qi(),D7="^([a-z0-9A-Z][a-z0-9-A-Z]*)\\.([a-z0-9A-Z][a-z0-9-A-Z]*)$",of=new RegExp(D7),R7="__web_extension",Mg="extensionInstallSource",N7="dependecyOrPackExtensionInstall",C7="clientTargetPlatform",(function(e){e.COMMAND="command",e.SETTINGS_SYNC="settingsSync"})(L7||(L7={})),(function(e){e.NoneOrRelevance="NoneOrRelevance",e.LastUpdatedDate="LastUpdatedDate",e.Title="Title",e.PublisherName="PublisherName",e.InstallCount="InstallCount",e.PublishedDate="PublishedDate",e.AverageRating="AverageRating",e.WeightedRating="WeightedRating"})(O7||(O7={})),(function(e){e[e.Default=0]="Default",e[e.Ascending=1]="Ascending",e[e.Descending=2]="Descending"})(M7||(M7={})),(function(e){e.Category="Category",e.ExtensionId="ExtensionId",e.ExtensionName="ExtensionName",e.ExcludeWithFlags="ExcludeWithFlags",e.Featured="Featured",e.SearchText="SearchText",e.Tag="Tag",e.Target="Target"})(_7||(_7={})),(function(e){e.Install="install",e.Uninstall="uninstall"})(j7||(j7={})),(function(e){e[e.None=1]="None",e[e.Install=2]="Install",e[e.Update=3]="Update",e[e.Migrate=4]="Migrate"})(U7||(U7={})),Ai=Z("extensionGalleryService"),(function(e){e.Timeout="Timeout",e.Cancelled="Cancelled",e.ClientError="ClientError",e.ServerError="ServerError",e.Failed="Failed",e.DownloadFailedWriting="DownloadFailedWriting",e.Offline="Offline"})(T7||(T7={})),Ki=class extends Error{constructor(e,t){super(e),this.code=t,this.name=t}},(function(e){e.NotFound="NotFound",e.Unsupported="Unsupported",e.Deprecated="Deprecated",e.Malicious="Malicious",e.Incompatible="Incompatible",e.IncompatibleApi="IncompatibleApi",e.IncompatibleTargetPlatform="IncompatibleTargetPlatform",e.ReleaseVersionNotFound="ReleaseVersionNotFound",e.Invalid="Invalid",e.Download="Download",e.DownloadSignature="DownloadSignature",e.DownloadFailedWriting="DownloadFailedWriting",e.UpdateMetadata="UpdateMetadata",e.Extract="Extract",e.Scanning="Scanning",e.ScanningExtension="ScanningExtension",e.ReadRemoved="ReadRemoved",e.UnsetRemoved="UnsetRemoved",e.Delete="Delete",e.Rename="Rename",e.IntializeDefaultProfile="IntializeDefaultProfile",e.AddToProfile="AddToProfile",e.InstalledExtensionNotFound="InstalledExtensionNotFound",e.PostInstall="PostInstall",e.CorruptZip="CorruptZip",e.IncompleteZip="IncompleteZip",e.PackageNotSigned="PackageNotSigned",e.SignatureVerificationInternal="SignatureVerificationInternal",e.SignatureVerificationFailed="SignatureVerificationFailed",e.NotAllowed="NotAllowed",e.Gallery="Gallery",e.Cancelled="Cancelled",e.Unknown="Unknown",e.Internal="Internal"})(F7||(F7={})),(function(e){e.NotSigned="NotSigned",e.Success="Success",e.RequiredArgumentMissing="RequiredArgumentMissing",e.InvalidArgument="InvalidArgument",e.PackageIsUnreadable="PackageIsUnreadable",e.UnhandledException="UnhandledException",e.SignatureManifestIsMissing="SignatureManifestIsMissing",e.SignatureManifestIsUnreadable="SignatureManifestIsUnreadable",e.SignatureIsMissing="SignatureIsMissing",e.SignatureIsUnreadable="SignatureIsUnreadable",e.CertificateIsUnreadable="CertificateIsUnreadable",e.SignatureArchiveIsUnreadable="SignatureArchiveIsUnreadable",e.FileAlreadyExists="FileAlreadyExists",e.SignatureArchiveIsInvalidZip="SignatureArchiveIsInvalidZip",e.SignatureArchiveHasSameSignatureFile="SignatureArchiveHasSameSignatureFile",e.PackageIntegrityCheckFailed="PackageIntegrityCheckFailed",e.SignatureIsInvalid="SignatureIsInvalid",e.SignatureManifestIsInvalid="SignatureManifestIsInvalid",e.SignatureIntegrityCheckFailed="SignatureIntegrityCheckFailed",e.EntryIsMissing="EntryIsMissing",e.EntryIsTampered="EntryIsTampered",e.Untrusted="Untrusted",e.CertificateRevoked="CertificateRevoked",e.SignatureIsNotValid="SignatureIsNotValid",e.UnknownError="UnknownError",e.PackageIsInvalidZip="PackageIsInvalidZip",e.SignatureArchiveHasTooManyEntries="SignatureArchiveHasTooManyEntries"})(Dt||(Dt={})),ot=class extends Error{constructor(e,t){super(e),this.code=t,this.name=t}},af=Z("extensionManagementService"),KM=Z("IGlobalExtensionEnablementService"),e_=Z("IExtensionTipsService"),Mn=Z("IAllowedExtensionsService"),t_=n4(2e3,"Extensions"),s_=n4(2001,"Preferences"),hl="extensions.allowed",H7="extensions.verifySignature",z7="extensions.requestTimeout",as.as(ni.Configuration).registerConfiguration({id:"extensions",order:30,title:m(1983,null),type:"object",properties:{[hl]:{type:"object",markdownDescription:m(1984,null),default:"*",defaultSnippets:[{body:{},description:m(1985,null)},{body:{"*":!0},description:m(1986,null)}],scope:1,policy:{name:"AllowedExtensions",category:Yi.Extensions,minimumVersion:"1.96",localization:{description:{key:"extensions.allowed.policy",value:m(1987,null)}}},additionalProperties:!1,patternProperties:{"([a-z0-9A-Z][a-z0-9-A-Z]*)\\.([a-z0-9A-Z][a-z0-9-A-Z]*)$":{anyOf:[{type:["boolean","string"],enum:[!0,!1,"stable"],description:m(1988,null),enumDescriptions:[m(1989,null),m(1990,null),m(1991,null)]},{type:"array",items:{type:"string"},description:m(1992,null)}]},"([a-z0-9A-Z][a-z0-9-A-Z]*)$":{type:["boolean","string"],enum:[!0,!1,"stable"],description:m(1993,null),enumDescriptions:[m(1994,null),m(1995,null),m(1996,null)]},"\\*":{type:"boolean",enum:[!0,!1],description:m(1997,null),enumDescriptions:[m(1998,null),m(1999,null)]}}}}})}}),fl,Ee,i_,n_,V7,r_,o_,a_,c_,l_,u_,h_,ka,B7,f_,d_,q7,p_,m_,g_,_g,v_,b_,w_,y_,E_,x_,k_,W7,S_,$_,I_,P_,A_,D_,R_,N_,C_,L_,no=b({"out-build/vs/base/common/semver/semver.js"(){"use strict";fl={},Ee={exports:fl},(function(e,t){if(typeof fl=="object"&&typeof Ee=="object")Ee.exports=t();else if(typeof define=="function"&&define.amd)define([],t);else{var s=t();for(var i in s)(typeof fl=="object"?fl:e)[i]=s[i]}})(typeof self<"u"?self:void 0,(function(){return(function(e){var t={};function s(i){if(t[i])return t[i].exports;var n=t[i]={i,l:!1,exports:{}};return e[i].call(n.exports,n,n.exports,s),n.l=!0,n.exports}return s.m=e,s.c=t,s.d=function(i,n,r){s.o(i,n)||Object.defineProperty(i,n,{enumerable:!0,get:r})},s.r=function(i){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},s.t=function(i,n){if(1&n&&(i=s(i)),8&n||4&n&&typeof i=="object"&&i&&i.__esModule)return i;var r=Object.create(null);if(s.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:i}),2&n&&typeof i!="string")for(var o in i)s.d(r,o,function(a){return i[a]}.bind(null,o));return r},s.n=function(i){var n=i&&i.__esModule?function(){return i.default}:function(){return i};return s.d(n,"a",n),n},s.o=function(i,n){return Object.prototype.hasOwnProperty.call(i,n)},s.p="",s(s.s=0)})([function(e,t,s){(function(i){var n;t=e.exports=_e,n=typeof i=="object"&&i.env&&i.env.NODE_DEBUG&&/\bsemver\b/i.test(i.env.NODE_DEBUG)?function(){var E=Array.prototype.slice.call(arguments,0);E.unshift("SEMVER"),console.log.apply(console,E)}:function(){},t.SEMVER_SPEC_VERSION="2.0.0";var r=256,o=Number.MAX_SAFE_INTEGER||9007199254740991,a=t.re=[],c=t.src=[],l=0,u=l++;c[u]="0|[1-9]\\d*";var h=l++;c[h]="[0-9]+";var d=l++;c[d]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";var p=l++;c[p]="("+c[u]+")\\.("+c[u]+")\\.("+c[u]+")";var g=l++;c[g]="("+c[h]+")\\.("+c[h]+")\\.("+c[h]+")";var v=l++;c[v]="(?:"+c[u]+"|"+c[d]+")";var w=l++;c[w]="(?:"+c[h]+"|"+c[d]+")";var k=l++;c[k]="(?:-("+c[v]+"(?:\\."+c[v]+")*))";var x=l++;c[x]="(?:-?("+c[w]+"(?:\\."+c[w]+")*))";var A=l++;c[A]="[0-9A-Za-z-]+";var _=l++;c[_]="(?:\\+("+c[A]+"(?:\\."+c[A]+")*))";var z=l++,Ce="v?"+c[p]+c[k]+"?"+c[_]+"?";c[z]="^"+Ce+"$";var C="[v=\\s]*"+c[g]+c[x]+"?"+c[_]+"?",j=l++;c[j]="^"+C+"$";var N=l++;c[N]="((?:<|>)?=?)";var K=l++;c[K]=c[h]+"|x|X|\\*";var le=l++;c[le]=c[u]+"|x|X|\\*";var ie=l++;c[ie]="[v=\\s]*("+c[le]+")(?:\\.("+c[le]+")(?:\\.("+c[le]+")(?:"+c[k]+")?"+c[_]+"?)?)?";var it=l++;c[it]="[v=\\s]*("+c[K]+")(?:\\.("+c[K]+")(?:\\.("+c[K]+")(?:"+c[x]+")?"+c[_]+"?)?)?";var U=l++;c[U]="^"+c[N]+"\\s*"+c[ie]+"$";var P=l++;c[P]="^"+c[N]+"\\s*"+c[it]+"$";var L=l++;c[L]="(?:^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])";var O=l++;c[O]="(?:~>?)";var V=l++;c[V]="(\\s*)"+c[O]+"\\s+",a[V]=new RegExp(c[V],"g");var re=l++;c[re]="^"+c[O]+c[ie]+"$";var ke=l++;c[ke]="^"+c[O]+c[it]+"$";var Ke=l++;c[Ke]="(?:\\^)";var Se=l++;c[Se]="(\\s*)"+c[Ke]+"\\s+",a[Se]=new RegExp(c[Se],"g");var ss=l++;c[ss]="^"+c[Ke]+c[ie]+"$";var $s=l++;c[$s]="^"+c[Ke]+c[it]+"$";var Js=l++;c[Js]="^"+c[N]+"\\s*("+C+")$|^$";var Qs=l++;c[Qs]="^"+c[N]+"\\s*("+Ce+")$|^$";var Zs=l++;c[Zs]="(\\s*)"+c[N]+"\\s*("+C+"|"+c[ie]+")",a[Zs]=new RegExp(c[Zs],"g");var ah=l++;c[ah]="^\\s*("+c[ie]+")\\s+-\\s+("+c[ie]+")\\s*$";var ch=l++;c[ch]="^\\s*("+c[it]+")\\s+-\\s+("+c[it]+")\\s*$";var Qy=l++;c[Qy]="(<|>)?=?\\s*\\*";for(var Ur=0;Ur<35;Ur++)n(Ur,c[Ur]),a[Ur]||(a[Ur]=new RegExp(c[Ur]));function Tr(E,$){if(E instanceof _e)return E;if(typeof E!="string"||E.length>r||!($?a[j]:a[z]).test(E))return null;try{return new _e(E,$)}catch{return null}}function _e(E,$){if(E instanceof _e){if(E.loose===$)return E;E=E.version}else if(typeof E!="string")throw new TypeError("Invalid Version: "+E);if(E.length>r)throw new TypeError("version is longer than "+r+" characters");if(!(this instanceof _e))return new _e(E,$);n("SemVer",E,$),this.loose=$;var I=E.trim().match($?a[j]:a[z]);if(!I)throw new TypeError("Invalid Version: "+E);if(this.raw=E,this.major=+I[1],this.minor=+I[2],this.patch=+I[3],this.major>o||this.major<0)throw new TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw new TypeError("Invalid patch version");I[4]?this.prerelease=I[4].split(".").map((function(X){if(/^[0-9]+$/.test(X)){var fe=+X;if(fe>=0&&fe=0;)typeof this.prerelease[I]=="number"&&(this.prerelease[I]++,I=-2);I===-1&&this.prerelease.push(0)}$&&(this.prerelease[0]===$?isNaN(this.prerelease[1])&&(this.prerelease=[$,0]):this.prerelease=[$,0]);break;default:throw new Error("invalid increment argument: "+E)}return this.format(),this.raw=this.version,this},t.inc=function(E,$,I,X){typeof I=="string"&&(X=I,I=void 0);try{return new _e(E,I).inc($,X).version}catch{return null}},t.diff=function(E,$){if(Vm(E,$))return null;var I=Tr(E),X=Tr($);if(I.prerelease.length||X.prerelease.length){for(var fe in I)if((fe==="major"||fe==="minor"||fe==="patch")&&I[fe]!==X[fe])return"pre"+fe;return"prerelease"}for(var fe in I)if((fe==="major"||fe==="minor"||fe==="patch")&&I[fe]!==X[fe])return fe},t.compareIdentifiers=Fo;var Zy=/^[0-9]+$/;function Fo(E,$){var I=Zy.test(E),X=Zy.test($);return I&&X&&(E=+E,$=+$),I&&!X?-1:X&&!I?1:E<$?-1:E>$?1:0}function gn(E,$,I){return new _e(E,I).compare(new _e($,I))}function lh(E,$,I){return gn(E,$,I)>0}function uh(E,$,I){return gn(E,$,I)<0}function Vm(E,$,I){return gn(E,$,I)===0}function Xy(E,$,I){return gn(E,$,I)!==0}function Bm(E,$,I){return gn(E,$,I)>=0}function qm(E,$,I){return gn(E,$,I)<=0}function hh(E,$,I,X){var fe;switch($){case"===":typeof E=="object"&&(E=E.version),typeof I=="object"&&(I=I.version),fe=E===I;break;case"!==":typeof E=="object"&&(E=E.version),typeof I=="object"&&(I=I.version),fe=E!==I;break;case"":case"=":case"==":fe=Vm(E,I,X);break;case"!=":fe=Xy(E,I,X);break;case">":fe=lh(E,I,X);break;case">=":fe=Bm(E,I,X);break;case"<":fe=uh(E,I,X);break;case"<=":fe=qm(E,I,X);break;default:throw new TypeError("Invalid operator: "+$)}return fe}function Xs(E,$){if(E instanceof Xs){if(E.loose===$)return E;E=E.value}if(!(this instanceof Xs))return new Xs(E,$);n("comparator",E,$),this.loose=$,this.parse(E),this.semver===kc?this.value="":this.value=this.operator+this.semver.version,n("comp",this)}t.rcompareIdentifiers=function(E,$){return Fo($,E)},t.major=function(E,$){return new _e(E,$).major},t.minor=function(E,$){return new _e(E,$).minor},t.patch=function(E,$){return new _e(E,$).patch},t.compare=gn,t.compareLoose=function(E,$){return gn(E,$,!0)},t.rcompare=function(E,$,I){return gn($,E,I)},t.sort=function(E,$){return E.sort((function(I,X){return t.compare(I,X,$)}))},t.rsort=function(E,$){return E.sort((function(I,X){return t.rcompare(I,X,$)}))},t.gt=lh,t.lt=uh,t.eq=Vm,t.neq=Xy,t.gte=Bm,t.lte=qm,t.cmp=hh,t.Comparator=Xs;var kc={};function gt(E,$){if(E instanceof gt)return E.loose===$?E:new gt(E.raw,$);if(E instanceof Xs)return new gt(E.value,$);if(!(this instanceof gt))return new gt(E,$);if(this.loose=$,this.raw=E,this.set=E.split(/\s*\|\|\s*/).map((function(I){return this.parseRange(I.trim())}),this).filter((function(I){return I.length})),!this.set.length)throw new TypeError("Invalid SemVer Range: "+E);this.format()}function us(E){return!E||E.toLowerCase()==="x"||E==="*"}function xC(E,$,I,X,fe,Tt,je,Is,$t,is,Hi,It,Gt){return(($=us(I)?"":us(X)?">="+I+".0.0":us(fe)?">="+I+"."+X+".0":">="+$)+" "+(Is=us($t)?"":us(is)?"<"+(+$t+1)+".0.0":us(Hi)?"<"+$t+"."+(+is+1)+".0":It?"<="+$t+"."+is+"."+Hi+"-"+It:"<="+Is)).trim()}function kC(E,$){for(var I=0;I0){var X=E[I].semver;if(X.major===$.major&&X.minor===$.minor&&X.patch===$.patch)return!0}return!1}return!0}function fh(E,$,I){try{$=new gt($,I)}catch{return!1}return $.test(E)}function Wm(E,$,I,X){var fe,Tt,je,Is,$t;switch(E=new _e(E,X),$=new gt($,X),I){case">":fe=lh,Tt=qm,je=uh,Is=">",$t=">=";break;case"<":fe=uh,Tt=Bm,je=lh,Is="<",$t="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(fh(E,$,X))return!1;for(var is=0;is<$.set.length;++is){var Hi=$.set[is],It=null,Gt=null;if(Hi.forEach((function(Ps){Ps.semver===kc&&(Ps=new Xs(">=0.0.0")),It=It||Ps,Gt=Gt||Ps,fe(Ps.semver,It.semver,X)?It=Ps:je(Ps.semver,Gt.semver,X)&&(Gt=Ps)})),It.operator===Is||It.operator===$t||(!Gt.operator||Gt.operator===Is)&&Tt(E,Gt.semver)||Gt.operator===$t&&je(E,Gt.semver))return!1}return!0}Xs.prototype.parse=function(E){var $=this.loose?a[Js]:a[Qs],I=E.match($);if(!I)throw new TypeError("Invalid comparator: "+E);this.operator=I[1],this.operator==="="&&(this.operator=""),I[2]?this.semver=new _e(I[2],this.loose):this.semver=kc},Xs.prototype.toString=function(){return this.value},Xs.prototype.test=function(E){return n("Comparator.test",E,this.loose),this.semver===kc||(typeof E=="string"&&(E=new _e(E,this.loose)),hh(E,this.operator,this.semver,this.loose))},Xs.prototype.intersects=function(E,$){if(!(E instanceof Xs))throw new TypeError("a Comparator is required");var I;if(this.operator==="")return I=new gt(E.value,$),fh(this.value,I,$);if(E.operator==="")return I=new gt(this.value,$),fh(E.semver,I,$);var X=!(this.operator!==">="&&this.operator!==">"||E.operator!==">="&&E.operator!==">"),fe=!(this.operator!=="<="&&this.operator!=="<"||E.operator!=="<="&&E.operator!=="<"),Tt=this.semver.version===E.semver.version,je=!(this.operator!==">="&&this.operator!=="<="||E.operator!==">="&&E.operator!=="<="),Is=hh(this.semver,"<",E.semver,$)&&(this.operator===">="||this.operator===">")&&(E.operator==="<="||E.operator==="<"),$t=hh(this.semver,">",E.semver,$)&&(this.operator==="<="||this.operator==="<")&&(E.operator===">="||E.operator===">");return X||fe||Tt&&je||Is||$t},t.Range=gt,gt.prototype.format=function(){return this.range=this.set.map((function(E){return E.join(" ").trim()})).join("||").trim(),this.range},gt.prototype.toString=function(){return this.range},gt.prototype.parseRange=function(E){var $=this.loose;E=E.trim(),n("range",E,$);var I=$?a[ch]:a[ah];E=E.replace(I,xC),n("hyphen replace",E),E=E.replace(a[Zs],"$1$2$3"),n("comparator trim",E,a[Zs]),E=(E=(E=E.replace(a[V],"$1~")).replace(a[Se],"$1^")).split(/\s+/).join(" ");var X=$?a[Js]:a[Qs],fe=E.split(" ").map((function(Tt){return(function(je,Is){return n("comp",je),je=(function($t,is){return $t.trim().split(/\s+/).map((function(Hi){return(function(It,Gt){n("caret",It,Gt);var Ps=Gt?a[$s]:a[ss];return It.replace(Ps,(function(yi,pe,$e,et,lt){var Jt;return n("caret",It,yi,pe,$e,et,lt),us(pe)?Jt="":us($e)?Jt=">="+pe+".0.0 <"+(+pe+1)+".0.0":us(et)?Jt=pe==="0"?">="+pe+"."+$e+".0 <"+pe+"."+(+$e+1)+".0":">="+pe+"."+$e+".0 <"+(+pe+1)+".0.0":lt?(n("replaceCaret pr",lt),lt.charAt(0)!=="-"&&(lt="-"+lt),Jt=pe==="0"?$e==="0"?">="+pe+"."+$e+"."+et+lt+" <"+pe+"."+$e+"."+(+et+1):">="+pe+"."+$e+"."+et+lt+" <"+pe+"."+(+$e+1)+".0":">="+pe+"."+$e+"."+et+lt+" <"+(+pe+1)+".0.0"):(n("no pr"),Jt=pe==="0"?$e==="0"?">="+pe+"."+$e+"."+et+" <"+pe+"."+$e+"."+(+et+1):">="+pe+"."+$e+"."+et+" <"+pe+"."+(+$e+1)+".0":">="+pe+"."+$e+"."+et+" <"+(+pe+1)+".0.0"),n("caret return",Jt),Jt}))})(Hi,is)})).join(" ")})(je,Is),n("caret",je),je=(function($t,is){return $t.trim().split(/\s+/).map((function(Hi){return(function(It,Gt){var Ps=Gt?a[ke]:a[re];return It.replace(Ps,(function(yi,pe,$e,et,lt){var Jt;return n("tilde",It,yi,pe,$e,et,lt),us(pe)?Jt="":us($e)?Jt=">="+pe+".0.0 <"+(+pe+1)+".0.0":us(et)?Jt=">="+pe+"."+$e+".0 <"+pe+"."+(+$e+1)+".0":lt?(n("replaceTilde pr",lt),lt.charAt(0)!=="-"&&(lt="-"+lt),Jt=">="+pe+"."+$e+"."+et+lt+" <"+pe+"."+(+$e+1)+".0"):Jt=">="+pe+"."+$e+"."+et+" <"+pe+"."+(+$e+1)+".0",n("tilde return",Jt),Jt}))})(Hi,is)})).join(" ")})(je,Is),n("tildes",je),je=(function($t,is){return n("replaceXRanges",$t,is),$t.split(/\s+/).map((function(Hi){return(function(It,Gt){It=It.trim();var Ps=Gt?a[P]:a[U];return It.replace(Ps,(function(yi,pe,$e,et,lt,Jt){n("xRange",It,yi,pe,$e,et,lt,Jt);var Yy=us($e),Sc=Yy||us(et),$c=Sc||us(lt);return pe==="="&&$c&&(pe=""),Yy?yi=pe===">"||pe==="<"?"<0.0.0":"*":pe&&$c?(Sc&&(et=0),$c&&(lt=0),pe===">"?(pe=">=",Sc?($e=+$e+1,et=0,lt=0):$c&&(et=+et+1,lt=0)):pe==="<="&&(pe="<",Sc?$e=+$e+1:et=+et+1),yi=pe+$e+"."+et+"."+lt):Sc?yi=">="+$e+".0.0 <"+(+$e+1)+".0.0":$c&&(yi=">="+$e+"."+et+".0 <"+$e+"."+(+et+1)+".0"),n("xRange return",yi),yi}))})(Hi,is)})).join(" ")})(je,Is),n("xrange",je),je=(function($t,is){return n("replaceStars",$t,is),$t.trim().replace(a[Qy],"")})(je,Is),n("stars",je),je})(Tt,$)})).join(" ").split(/\s+/);return this.loose&&(fe=fe.filter((function(Tt){return!!Tt.match(X)}))),fe=fe.map((function(Tt){return new Xs(Tt,$)}))},gt.prototype.intersects=function(E,$){if(!(E instanceof gt))throw new TypeError("a Range is required");return this.set.some((function(I){return I.every((function(X){return E.set.some((function(fe){return fe.every((function(Tt){return X.intersects(Tt,$)}))}))}))}))},t.toComparators=function(E,$){return new gt(E,$).set.map((function(I){return I.map((function(X){return X.value})).join(" ").trim().split(" ")}))},gt.prototype.test=function(E){if(!E)return!1;typeof E=="string"&&(E=new _e(E,this.loose));for(var $=0;$",I)},t.outside=Wm,t.prerelease=function(E,$){var I=Tr(E,$);return I&&I.prerelease.length?I.prerelease:null},t.intersects=function(E,$,I){return E=new gt(E,I),$=new gt($,I),E.intersects($)},t.coerce=function(E){if(E instanceof _e)return E;if(typeof E!="string")return null;var $=E.match(a[L]);return $==null?null:Tr(($[1]||"0")+"."+($[2]||"0")+"."+($[3]||"0"))}}).call(this,s(1))},function(e,t){var s,i,n=e.exports={};function r(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(w){if(s===setTimeout)return setTimeout(w,0);if((s===r||!s)&&setTimeout)return s=setTimeout,setTimeout(w,0);try{return s(w,0)}catch{try{return s.call(null,w,0)}catch{return s.call(this,w,0)}}}(function(){try{s=typeof setTimeout=="function"?setTimeout:r}catch{s=r}try{i=typeof clearTimeout=="function"?clearTimeout:o}catch{i=o}})();var c,l=[],u=!1,h=-1;function d(){u&&c&&(u=!1,c.length?l=c.concat(l):h=-1,l.length&&p())}function p(){if(!u){var w=a(d);u=!0;for(var k=l.length;k;){for(c=l,l=[];++h1)for(var x=1;x0:!1}function __(e){return e.map(t=>{const[s,i]=t.split("@");return{proposalName:s,version:i?parseInt(i):void 0}})}function j_(e){return e.map(t=>t.split("@")[0])}var jg,Z7,Ug,X7,Y7,K7,Di,Tg,U_,ai=b({"out-build/vs/platform/extensions/common/extensions.js"(){"use strict";ht(),te(),p7(),jg="extensions.user.cache",Z7="extensions.builtin.cache",Ug="undefined_publisher",X7=["AI","Azure","Chat","Data Science","Debuggers","Extension Packs","Education","Formatters","Keymaps","Language Packs","Linters","Machine Learning","Notebooks","Programming Languages","SCM Providers","Snippets","Testing","Themes","Visualization","Other"],(function(e){e[e.System=0]="System",e[e.User=1]="User"})(Y7||(Y7={})),(function(e){e.WIN32_X64="win32-x64",e.WIN32_ARM64="win32-arm64",e.LINUX_X64="linux-x64",e.LINUX_ARM64="linux-arm64",e.LINUX_ARMHF="linux-armhf",e.ALPINE_X64="alpine-x64",e.ALPINE_ARM64="alpine-arm64",e.DARWIN_X64="darwin-x64",e.DARWIN_ARM64="darwin-arm64",e.WEB="web",e.UNIVERSAL="universal",e.UNKNOWN="unknown",e.UNDEFINED="undefined"})(K7||(K7={})),Di=class{constructor(e){this.value=e,this._lower=e.toLowerCase()}static equals(e,t){if(typeof e>"u"||e===null)return typeof t>"u"||t===null;if(typeof t>"u"||t===null)return!1;if(typeof e=="string"||typeof t=="string"){const s=typeof e=="string"?e:e.value,i=typeof t=="string"?t:t.value;return rr(s,i)}return e._lower===t._lower}static toKey(e){return typeof e=="string"?e.toLowerCase():e._lower}},Tg=class{constructor(){this.c=new Map}clear(){this.c.clear()}delete(e){this.c.delete(Di.toKey(e))}get(e){return this.c.get(Di.toKey(e))}has(e){return this.c.has(Di.toKey(e))}set(e,t){this.c.set(Di.toKey(e),t)}values(){return this.c.values()}forEach(e){this.c.forEach(e)}[Symbol.iterator](){return this.c[Symbol.iterator]()}},U_=Z("IBuiltinExtensionsScannerService")}});function me(e,t){return e.uuid&&t.uuid?e.uuid===t.uuid:e.id===t.id?!0:Sh(e.id,t.id)===0}function Fg(e){const t=i8.exec(e);return t&&t[1]?[lf(t[1]),t[2]]:[lf(e),void 0]}function Hg(e,t){return`${e}.${t}`}function lf(e){return e.toLowerCase()}function en(e,t){return lf(Hg(e??Ug,t))}function e8(e,t){const s=[],i=n=>{for(const r of s)if(r.some(o=>me(t(o),t(n))))return r;return null};for(const n of e){const r=i(n);r?r.push(n):s.push([n])}return s}function T_(e){return{id:e.identifier.id,name:e.manifest.name,galleryId:null,publisherId:e.publisherId,publisherName:e.manifest.publisher,publisherDisplayName:e.publisherDisplayName,dependencies:e.manifest.extensionDependencies&&e.manifest.extensionDependencies.length>0}}function zg(e){return{id:new xa(e.identifier.id),name:new xa(e.name),extensionVersion:e.version,galleryId:e.identifier.uuid,publisherId:e.publisherId,publisherName:e.publisher,publisherDisplayName:e.publisherDisplayName,isPreReleaseVersion:e.properties.isPreReleaseVersion,dependencies:!!(e.properties.dependencies&&e.properties.dependencies.length>0),isSigned:e.isSigned,...e.telemetryData}}async function F_(e,t){if(!ut)return!1;let s;try{s=(await e.readFile(y.file("/etc/os-release"))).value.toString()}catch{try{s=(await e.readFile(y.file("/usr/lib/os-release"))).value.toString()}catch(n){t.debug("Error while getting the os-release file.",de(n))}}return!!s&&(s.match(/^ID=([^\u001b\r\n]*)/m)||[])[1]==="alpine"}async function t8(e,t){const s=await F_(e,t),i=A7(s?"alpine":Fr,r1);return t.debug("ComputeTargetPlatform:",i),i}function H_(e,t){return z_(e,t)!==void 0}function z_(e,t){return t.find(({extensionOrPublisher:s})=>ee(s)?Sh(e.id.split(".")[0],s)===0:me(e,s))}var s8,ws,i8,V_,Ri=b({"out-build/vs/platform/extensionManagement/common/extensionManagementUtil.js"(){"use strict";ht(),Rs(),ai(),se(),Q(),ce(),Ks(),Pi(),be(),s8=/^([^.]+\..+)-(\d+\.\d+\.\d+)(-(.+))?$/,ws=class Mm{static create(t){const s=t.manifest?t.manifest.version:t.version,i=t.manifest?t.targetPlatform:t.properties.targetPlatform;return new Mm(t.identifier,s,i)}static parse(t){const s=s8.exec(t);return s&&s[1]&&s[2]?new Mm({id:s[1]},s[2],s[4]||void 0):null}constructor(t,s,i="undefined"){this.identifier=t,this.version=s,this.targetPlatform=i,this.id=t.id}toString(){return`${this.id}-${this.version}${this.targetPlatform!=="undefined"?`-${this.targetPlatform}`:""}`}equals(t){return t instanceof Mm?me(this,t)&&this.version===t.version&&this.targetPlatform===t.targetPlatform:!1}},i8=/^([^.]+\..+)@((prerelease)|(\d+\.\d+\.\d+(-.*)?))$/,V_=new Di("pprice.better-merge")}}),dl,Xe,uf=b({"out-build/vs/base/common/severity.js"(){"use strict";ht(),(function(e){e[e.Ignore=0]="Ignore",e[e.Info=1]="Info",e[e.Warning=2]="Warning",e[e.Error=3]="Error"})(dl||(dl={})),(function(e){const t="error",s="warning",i="warn",n="info",r="ignore";function o(c){return c?rr(t,c)?e.Error:rr(s,c)||rr(i,c)?e.Warning:rr(n,c)?e.Info:e.Ignore:e.Ignore}e.fromValue=o;function a(c){switch(c){case e.Error:return t;case e.Warning:return s;case e.Info:return n;default:return r}}e.toString=a})(dl||(dl={})),Xe=dl}}),n8,r8,B_=b({"out-build/vs/platform/extensions/common/extensionsApiProposals.js"(){"use strict";n8={activeComment:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.activeComment.d.ts"},agentSessionsWorkspace:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.agentSessionsWorkspace.d.ts"},aiRelatedInformation:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.aiRelatedInformation.d.ts"},aiSettingsSearch:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.aiSettingsSearch.d.ts"},aiTextSearchProvider:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.aiTextSearchProvider.d.ts",version:2},authIssuers:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.authIssuers.d.ts"},authLearnMore:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.authLearnMore.d.ts"},authProviderSpecific:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.authProviderSpecific.d.ts"},authSession:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.authSession.d.ts"},authenticationChallenges:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.authenticationChallenges.d.ts"},canonicalUriProvider:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.canonicalUriProvider.d.ts"},chatContextProvider:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.chatContextProvider.d.ts"},chatOutputRenderer:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.chatOutputRenderer.d.ts"},chatParticipantAdditions:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts"},chatParticipantPrivate:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts",version:12},chatPromptFiles:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.chatPromptFiles.d.ts",version:1},chatProvider:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.chatProvider.d.ts",version:4},chatReferenceBinaryData:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.chatReferenceBinaryData.d.ts"},chatReferenceDiagnostic:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.chatReferenceDiagnostic.d.ts"},chatSessionsProvider:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.chatSessionsProvider.d.ts",version:3},chatStatusItem:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.chatStatusItem.d.ts"},chatTab:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.chatTab.d.ts"},codeActionAI:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.codeActionAI.d.ts"},codeActionRanges:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.codeActionRanges.d.ts"},codiconDecoration:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.codiconDecoration.d.ts"},commentReactor:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.commentReactor.d.ts"},commentReveal:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.commentReveal.d.ts"},commentThreadApplicability:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.commentThreadApplicability.d.ts"},commentingRangeHint:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.commentingRangeHint.d.ts"},commentsDraftState:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.commentsDraftState.d.ts"},contribAccessibilityHelpContent:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.contribAccessibilityHelpContent.d.ts"},contribChatEditorInlineGutterMenu:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.contribChatEditorInlineGutterMenu.d.ts"},contribCommentEditorActionsMenu:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.contribCommentEditorActionsMenu.d.ts"},contribCommentPeekContext:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.contribCommentPeekContext.d.ts"},contribCommentThreadAdditionalMenu:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.contribCommentThreadAdditionalMenu.d.ts"},contribCommentsViewThreadMenus:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.contribCommentsViewThreadMenus.d.ts"},contribDebugCreateConfiguration:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.contribDebugCreateConfiguration.d.ts"},contribDiffEditorGutterToolBarMenus:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.contribDiffEditorGutterToolBarMenus.d.ts"},contribEditSessions:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.contribEditSessions.d.ts"},contribEditorContentMenu:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.contribEditorContentMenu.d.ts"},contribLabelFormatterWorkspaceTooltip:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.contribLabelFormatterWorkspaceTooltip.d.ts"},contribLanguageModelToolSets:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.contribLanguageModelToolSets.d.ts"},contribMenuBarHome:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.contribMenuBarHome.d.ts"},contribMergeEditorMenus:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.contribMergeEditorMenus.d.ts"},contribMultiDiffEditorMenus:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.contribMultiDiffEditorMenus.d.ts"},contribNotebookStaticPreloads:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.contribNotebookStaticPreloads.d.ts"},contribRemoteHelp:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.contribRemoteHelp.d.ts"},contribShareMenu:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.contribShareMenu.d.ts"},contribSourceControlArtifactGroupMenu:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.contribSourceControlArtifactGroupMenu.d.ts"},contribSourceControlArtifactMenu:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.contribSourceControlArtifactMenu.d.ts"},contribSourceControlHistoryItemMenu:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.contribSourceControlHistoryItemMenu.d.ts"},contribSourceControlHistoryTitleMenu:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.contribSourceControlHistoryTitleMenu.d.ts"},contribSourceControlInputBoxMenu:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.contribSourceControlInputBoxMenu.d.ts"},contribSourceControlTitleMenu:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.contribSourceControlTitleMenu.d.ts"},contribStatusBarItems:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.contribStatusBarItems.d.ts"},contribViewContainerTitle:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.contribViewContainerTitle.d.ts"},contribViewsRemote:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.contribViewsRemote.d.ts"},contribViewsWelcome:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.contribViewsWelcome.d.ts"},css:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.css.d.ts"},customEditorMove:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.customEditorMove.d.ts"},dataChannels:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.dataChannels.d.ts"},debugVisualization:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.debugVisualization.d.ts"},defaultChatParticipant:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.defaultChatParticipant.d.ts",version:4},devDeviceId:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.devDeviceId.d.ts"},diffCommand:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.diffCommand.d.ts"},diffContentOptions:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.diffContentOptions.d.ts"},documentFiltersExclusive:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.documentFiltersExclusive.d.ts"},editSessionIdentityProvider:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.editSessionIdentityProvider.d.ts"},editorHoverVerbosityLevel:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.editorHoverVerbosityLevel.d.ts"},editorInsets:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.editorInsets.d.ts"},embeddings:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.embeddings.d.ts"},envIsAppPortable:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.envIsAppPortable.d.ts"},extensionAffinity:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.extensionAffinity.d.ts"},extensionRuntime:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.extensionRuntime.d.ts"},extensionsAny:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.extensionsAny.d.ts"},externalUriOpener:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.externalUriOpener.d.ts"},fileSearchProvider:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.fileSearchProvider.d.ts"},fileSearchProvider2:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.fileSearchProvider2.d.ts"},findFiles2:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.findFiles2.d.ts",version:2},findTextInFiles:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.findTextInFiles.d.ts"},findTextInFiles2:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.findTextInFiles2.d.ts"},fsChunks:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.fsChunks.d.ts"},inlineCompletionsAdditions:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.inlineCompletionsAdditions.d.ts"},interactive:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.interactive.d.ts"},interactiveWindow:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.interactiveWindow.d.ts"},ipc:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.ipc.d.ts"},languageModelCapabilities:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.languageModelCapabilities.d.ts"},languageModelProxy:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.languageModelProxy.d.ts"},languageModelSystem:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.languageModelSystem.d.ts"},languageModelThinkingPart:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.languageModelThinkingPart.d.ts",version:1},languageModelToolResultAudience:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.languageModelToolResultAudience.d.ts"},languageModelToolSupportsModel:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.languageModelToolSupportsModel.d.ts",version:1},languageStatusText:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.languageStatusText.d.ts"},mappedEditsProvider:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.mappedEditsProvider.d.ts"},markdownAlertSyntax:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.markdownAlertSyntax.d.ts"},mcpServerDefinitions:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.mcpServerDefinitions.d.ts"},mcpToolDefinitions:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.mcpToolDefinitions.d.ts"},multiDocumentHighlightProvider:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.multiDocumentHighlightProvider.d.ts"},nativeWindowHandle:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.nativeWindowHandle.d.ts"},newSymbolNamesProvider:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.newSymbolNamesProvider.d.ts"},notebookCellExecution:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.notebookCellExecution.d.ts"},notebookControllerAffinityHidden:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.notebookControllerAffinityHidden.d.ts"},notebookDeprecated:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.notebookDeprecated.d.ts"},notebookExecution:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.notebookExecution.d.ts"},notebookKernelSource:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.notebookKernelSource.d.ts"},notebookLiveShare:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.notebookLiveShare.d.ts"},notebookMessaging:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.notebookMessaging.d.ts"},notebookMime:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.notebookMime.d.ts"},notebookReplDocument:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.notebookReplDocument.d.ts"},notebookVariableProvider:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.notebookVariableProvider.d.ts"},portsAttributes:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.portsAttributes.d.ts"},profileContentHandlers:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.profileContentHandlers.d.ts"},quickDiffProvider:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.quickDiffProvider.d.ts"},quickPickItemTooltip:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.quickPickItemTooltip.d.ts"},quickPickSortByLabel:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.quickPickSortByLabel.d.ts"},remoteCodingAgents:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.remoteCodingAgents.d.ts"},resolvers:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.resolvers.d.ts"},scmActionButton:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.scmActionButton.d.ts"},scmArtifactProvider:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.scmArtifactProvider.d.ts"},scmHistoryProvider:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.scmHistoryProvider.d.ts"},scmMultiDiffEditor:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.scmMultiDiffEditor.d.ts"},scmProviderOptions:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.scmProviderOptions.d.ts"},scmSelectedProvider:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.scmSelectedProvider.d.ts"},scmTextDocument:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.scmTextDocument.d.ts"},scmValidation:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.scmValidation.d.ts"},shareProvider:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.shareProvider.d.ts"},speech:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.speech.d.ts"},statusBarItemTooltip:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.statusBarItemTooltip.d.ts"},tabInputMultiDiff:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.tabInputMultiDiff.d.ts"},tabInputTextMerge:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.tabInputTextMerge.d.ts"},taskExecutionTerminal:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.taskExecutionTerminal.d.ts"},taskPresentationGroup:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.taskPresentationGroup.d.ts"},taskProblemMatcherStatus:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.taskProblemMatcherStatus.d.ts"},telemetry:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.telemetry.d.ts"},terminalCompletionProvider:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.terminalCompletionProvider.d.ts"},terminalDataWriteEvent:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.terminalDataWriteEvent.d.ts"},terminalDimensions:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.terminalDimensions.d.ts"},terminalExecuteCommandEvent:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.terminalExecuteCommandEvent.d.ts"},terminalQuickFixProvider:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.terminalQuickFixProvider.d.ts"},terminalSelection:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.terminalSelection.d.ts"},terminalShellEnv:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.terminalShellEnv.d.ts"},testObserver:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.testObserver.d.ts"},testRelatedCode:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.testRelatedCode.d.ts"},textDocumentChangeReason:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.textDocumentChangeReason.d.ts"},textEditorDiffInformation:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.textEditorDiffInformation.d.ts"},textSearchComplete2:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.textSearchComplete2.d.ts"},textSearchProvider:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.textSearchProvider.d.ts"},textSearchProvider2:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.textSearchProvider2.d.ts"},timeline:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.timeline.d.ts"},tokenInformation:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.tokenInformation.d.ts"},toolProgress:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.toolProgress.d.ts"},treeItemMarkdownLabel:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.treeItemMarkdownLabel.d.ts"},treeViewActiveItem:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.treeViewActiveItem.d.ts"},treeViewMarkdownMessage:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.treeViewMarkdownMessage.d.ts"},treeViewReveal:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.treeViewReveal.d.ts"},tunnelFactory:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.tunnelFactory.d.ts"},tunnels:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.tunnels.d.ts"},valueSelectionInQuickPick:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.valueSelectionInQuickPick.d.ts"},workspaceTrust:{proposal:"https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.workspaceTrust.d.ts"}},r8=Object.freeze(n8)}});function q_(e){return e=e.trim(),e==="*"||Jg.test(e)}function Vg(e){if(!q_(e))return null;if(e=e.trim(),e==="*")return{hasCaret:!1,hasGreaterEquals:!1,majorBase:0,majorMustEqual:!1,minorBase:0,minorMustEqual:!1,patchBase:0,patchMustEqual:!1,preRelease:null};const t=e.match(Jg);return t?{hasCaret:t[1]==="^",hasGreaterEquals:t[1]===">=",majorBase:t[2]==="x"?0:parseInt(t[2],10),majorMustEqual:t[2]!=="x",minorBase:t[4]==="x"?0:parseInt(t[4],10),minorMustEqual:t[4]!=="x",patchBase:t[6]==="x"?0:parseInt(t[6],10),patchMustEqual:t[6]!=="x",preRelease:t[8]||null}:null}function Bg(e){if(!e)return null;const t=e.majorBase,s=e.majorMustEqual,i=e.minorBase;let n=e.minorMustEqual;const r=e.patchBase;let o=e.patchMustEqual;e.hasCaret&&(t===0||(n=!1),o=!1);let a=0;if(e.preRelease){const c=a8.exec(e.preRelease);if(c){const[,l,u,h,d,p]=c;a=Date.UTC(Number(l),Number(u)-1,Number(h),Number(d)||0,Number(p)||0)}}return{majorBase:t,majorMustEqual:s,minorBase:i,minorMustEqual:n,patchBase:r,patchMustEqual:o,isMinimum:e.hasGreaterEquals,notBefore:a}}function W_(e,t,s){let i;typeof e=="string"?i=Bg(Vg(e)):i=e;let n;t instanceof Date?n=t.getTime():typeof t=="string"&&(n=new Date(t).getTime());let r;if(typeof s=="string"?r=Bg(Vg(s)):r=s,!i||!r)return!1;const o=i.majorBase,a=i.minorBase,c=i.patchBase;let l=r.majorBase,u=r.minorBase,h=r.patchBase;const d=r.notBefore;let p=r.majorMustEqual,g=r.minorMustEqual,v=r.patchMustEqual;return r.isMinimum?o>l?!0:ou?!0:a=h:(o===1&&l===0&&(!p||!g||!v)&&(l=1,u=0,h=0,p=!0,g=!1,v=!1),ol?!p:au?!g:ch?!v:!(n&&n"u"&&typeof i.browser>"u")return o.push([Xe.Error,m(2061,null,"activationEvents","main","browser")]),o}if(typeof i.extensionKind<"u"&&typeof i.main>"u"&&o.push([Xe.Warning,m(2062,null,"extensionKind")]),typeof i.main<"u"){if(typeof i.main!="string")return o.push([Xe.Error,m(2063,null,"main")]),o;{const l=ue(s,i.main);O1(l,s)||o.push([Xe.Warning,m(2064,null,l.path,s.path)])}}if(typeof i.browser<"u"){if(typeof i.browser!="string")return o.push([Xe.Error,m(2065,null,"browser")]),o;{const l=ue(s,i.browser);O1(l,s)||o.push([Xe.Warning,m(2066,null,l.path,s.path)])}}if(!V7(i.version))return o.push([Xe.Error,m(2067,null)]),o;const a=[];if(!J_(e,t,i,n,a))for(const l of a)o.push([Xe.Error,l]);if(r&&i.enabledApiProposals?.length){const l=[];if(!Wg([...i.enabledApiProposals],l))for(const u of l)o.push([Xe.Error,u])}return o}function J_(e,t,s,i,n){return i||typeof s.main>"u"&&typeof s.browser>"u"?!0:o8(e,t,s.engines.vscode,n)}function qg(e,t,s){return e==="*"||o8(t,s,e)}function Wg(e,t){if(e.length===0)return!0;const s=Array.isArray(t)?t:void 0,i=(Array.isArray(t)?void 0:t)??r8,n=[],r=__(e);for(const{proposalName:o,version:a}of r){if(!a)continue;i[o]?.version!==a&&n.push(o)}return n.length?(s&&(n.length===1?s.push(m(2068,null,n[0])):s.push(m(2069,null,n.slice(0,n.length-1).map(o=>`'${o}'`).join(", "),n[n.length-1]))),!1):!0}function o8(e,t,s,i=[]){const n=Bg(Vg(s));if(!n)return i.push(m(2070,null,s)),!1;if(n.majorBase===0){if(!n.majorMustEqual||!n.minorMustEqual)return i.push(m(2071,null,s)),!1}else if(!n.majorMustEqual)return i.push(m(2072,null,s)),!1;return W_(e,t,n)?!0:(i.push(m(2073,null,e,s)),!1)}function Gg(e){if(!Array.isArray(e))return!1;for(let t=0,s=e.length;t=)?((\d+)|x)\.((\d+)|x)\.((\d+)|x)(\-.*)?$/,a8=/^-(\d{4})(\d{2})(\d{2})(\d{2})?(\d{2})?$/}}),c8,l8,Qg,u8,h8,pr,pl,f8,Sa,ff=b({"out-build/vs/base/common/ternarySearchTree.js"(){"use strict";nt(),xn(),ht(),c8=class{constructor(){this.b="",this.c=0}reset(e){return this.b=e,this.c=0,this}next(){return this.c+=1,this}hasNext(){return this.c=0;t--,this.c--){const s=this.b.charCodeAt(t);if(!(s===47||this.f&&s===92))break}return this.next()}hasNext(){return this.e!1,s=()=>!1){return new nh(new h8(t,s))}static forPaths(t=!1){return new nh(new Qg(void 0,!t))}static forStrings(){return new nh(new c8)}static forConfigKeys(){return new nh(new l8)}constructor(t){this.b=t}clear(){this.c=void 0}fill(t,s){if(s){const i=s.slice(0);F4(i);for(const n of i)this.set(n,t)}else{const i=t.slice(0);F4(i);for(const n of i)this.set(n[0],n[1])}}set(t,s){const i=this.b.reset(t);let n;this.c||(this.c=new pl,this.c.segment=i.value());const r=[];for(n=this.c;;){const a=i.cmp(n.segment);if(a>0)n.left||(n.left=new pl,n.left.segment=i.value()),r.push([-1,n]),n=n.left;else if(a<0)n.right||(n.right=new pl,n.right.segment=i.value()),r.push([1,n]),n=n.right;else if(i.hasNext())i.next(),n.mid||(n.mid=new pl,n.mid.segment=i.value()),r.push([0,n]),n=n.mid;else break}const o=pr.unwrap(n.value);n.value=pr.wrap(s),n.key=t;for(let a=r.length-1;a>=0;a--){const c=r[a][1];c.updateHeight();const l=c.balanceFactor();if(l<-1||l>1){const u=r[a][0],h=r[a+1][0];if(u===1&&h===1)r[a][1]=c.rotateLeft();else if(u===-1&&h===-1)r[a][1]=c.rotateRight();else if(u===1&&h===-1)c.right=r[a+1][1]=r[a+1][1].rotateRight(),r[a][1]=c.rotateLeft();else if(u===-1&&h===1)c.left=r[a+1][1]=r[a+1][1].rotateLeft(),r[a][1]=c.rotateRight();else throw new Error;if(a>0)switch(r[a-1][0]){case-1:r[a-1][1].left=r[a][1];break;case 1:r[a-1][1].right=r[a][1];break;case 0:r[a-1][1].mid=r[a][1];break}else this.c=r[0][1]}}return o}get(t){return pr.unwrap(this.d(t)?.value)}d(t){const s=this.b.reset(t);let i=this.c;for(;i;){const n=s.cmp(i.segment);if(n>0)i=i.left;else if(n<0)i=i.right;else if(s.hasNext())s.next(),i=i.mid;else break}return i}has(t){const s=this.d(t);return!(s?.value===void 0&&s?.mid===void 0)}delete(t){return this.e(t,!1)}deleteSuperstr(t){return this.e(t,!0)}e(t,s){const i=this.b.reset(t),n=[];let r=this.c;for(;r;){const o=i.cmp(r.segment);if(o>0)n.push([-1,r]),r=r.left;else if(o<0)n.push([1,r]),r=r.right;else if(i.hasNext())i.next(),n.push([0,r]),r=r.mid;else break}if(r){if(s?(r.left=void 0,r.mid=void 0,r.right=void 0,r.height=1):(r.key=void 0,r.value=void 0),!r.mid&&!r.value)if(r.left&&r.right){const o=[[1,r]],a=this.f(r.right,o);if(a.key){r.key=a.key,r.value=a.value,r.segment=a.segment;const c=a.right;if(o.length>1){const[u,h]=o[o.length-1];switch(u){case-1:h.left=c;break;case 0:d1(!1);case 1:d1(!1)}}else r.right=c;const l=this.g(o);if(n.length>0){const[u,h]=n[n.length-1];switch(u){case-1:h.left=l;break;case 0:h.mid=l;break;case 1:h.right=l;break}}else this.c=l}}else{const o=r.left??r.right;if(n.length>0){const[a,c]=n[n.length-1];switch(a){case-1:c.left=o;break;case 0:c.mid=o;break;case 1:c.right=o;break}}else this.c=o}this.c=this.g(n)??this.c}}f(t,s){for(;t.left;)s.push([-1,t]),t=t.left;return t}g(t){for(let s=t.length-1;s>=0;s--){const i=t[s][1];i.updateHeight();const n=i.balanceFactor();if(n>1?(i.right.balanceFactor()>=0||(i.right=i.right.rotateRight()),t[s][1]=i.rotateLeft()):n<-1&&(i.left.balanceFactor()<=0||(i.left=i.left.rotateLeft()),t[s][1]=i.rotateRight()),s>0)switch(t[s-1][0]){case-1:t[s-1][1].left=t[s][1];break;case 1:t[s-1][1].right=t[s][1];break;case 0:t[s-1][1].mid=t[s][1];break}else return t[0][1]}}findSubstr(t){const s=this.b.reset(t);let i=this.c,n;for(;i;){const r=s.cmp(i.segment);if(r>0)i=i.left;else if(r<0)i=i.right;else if(s.hasNext())s.next(),n=pr.unwrap(i.value)||n,i=i.mid;else break}return i&&pr.unwrap(i.value)||n}findSuperstr(t){return this.h(t,!1)}h(t,s){const i=this.b.reset(t);let n=this.c;for(;n;){const r=i.cmp(n.segment);if(r>0)n=n.left;else if(r<0)n=n.right;else if(i.hasNext())i.next(),n=n.mid;else return n.mid?this.j(n.mid):s?pr.unwrap(n.value):void 0}}hasElementOrSubtree(t){return this.h(t,!0)!==void 0}forEach(t){for(const[s,i]of this)t(i,s)}*[Symbol.iterator](){yield*this.j(this.c)}j(t){const s=[];return this.l(t,s),s[Symbol.iterator]()}l(t,s){t&&(t.left&&this.l(t.left,s),t.value!==void 0&&s.push([t.key,pr.unwrap(t.value)]),t.mid&&this.l(t.mid,s),t.right&&this.l(t.right,s))}_isBalanced(){const t=s=>{if(!s)return!0;const i=s.balanceFactor();return i<-1||i>1?!1:t(s.left)&&t(s.right)};return t(this.c)}}}});function $a(e){return e.create===!0}function ci(e){return!!(e.capabilities&2)}function Q_(e){return!!(e.capabilities&524288)}function d8(e){return!!(e.capabilities&8)}function Z_(e){return!!(e.capabilities&131072)}function X_(e){return!!(e.capabilities&262144)}function mr(e){return!!(e.capabilities&4)}function Zg(e){return!!(e.capabilities&16)}function Xg(e){return ci(e)?!!(e.capabilities&16384):!1}function p8(e){return ci(e)?!!(e.capabilities&32768):!1}function Y_(e){return!!(e.capabilities&65536)}function _n(e,t){return pf.create(e,t)}function ro(e){return e||_n(m(2088,null),ne.Unknown)}function m8(e,t){return e.name=t?`${t} (FileSystemError)`:"FileSystemError",e}function df(e){if(!e)return ne.Unknown;if(e instanceof pf)return e.code;const t=/^(.+) \(FileSystemError\)$/.exec(e.name);if(!t)return ne.Unknown;switch(t[1]){case ne.FileExists:return ne.FileExists;case ne.FileIsADirectory:return ne.FileIsADirectory;case ne.FileNotADirectory:return ne.FileNotADirectory;case ne.FileNotFound:return ne.FileNotFound;case ne.FileTooLarge:return ne.FileTooLarge;case ne.FileWriteLocked:return ne.FileWriteLocked;case ne.NoPermissions:return ne.NoPermissions;case ne.Unavailable:return ne.Unavailable}return ne.Unknown}function kt(e){if(e instanceof qt)return e.fileOperationResult;switch(df(e)){case ne.FileNotFound:return 1;case ne.FileIsADirectory:return 0;case ne.FileNotADirectory:return 9;case ne.FileWriteLocked:return 5;case ne.NoPermissions:return 6;case ne.FileExists:return 4;case ne.FileTooLarge:return 7;default:return 10}}function K_(e,t,s){return!e||!t||e===t||t.length>e.length?!1:(t.charAt(t.length-1)!==Qt&&(t+=Qt),s?I1(e,t):e.indexOf(t)===0)}function g8(e){if(!(typeof e.size!="number"||typeof e.mtime!="number"))return e.mtime.toString(29)+e.size.toString(31)}var st,Ns,gr,v8,b8,ne,pf,w8,oo,y8,E8,qt,mf,gf,x8,k8,vf,ao,Be=b({"out-build/vs/platform/files/common/files.js"(){"use strict";ff(),ge(),ht(),be(),Q(),ae(),te(),se(),ye(),Qo(),st=Z("fileService"),(function(e){e[e.Unknown=0]="Unknown",e[e.File=1]="File",e[e.Directory=2]="Directory",e[e.SymbolicLink=64]="SymbolicLink"})(Ns||(Ns={})),(function(e){e[e.Readonly=1]="Readonly",e[e.Locked=2]="Locked",e[e.Executable=4]="Executable"})(gr||(gr={})),(function(e){e[e.UPDATED=2]="UPDATED",e[e.ADDED=4]="ADDED",e[e.DELETED=8]="DELETED"})(v8||(v8={})),(function(e){e[e.None=0]="None",e[e.FileReadWrite=2]="FileReadWrite",e[e.FileOpenReadWriteClose=4]="FileOpenReadWriteClose",e[e.FileReadStream=16]="FileReadStream",e[e.FileFolderCopy=8]="FileFolderCopy",e[e.PathCaseSensitive=1024]="PathCaseSensitive",e[e.Readonly=2048]="Readonly",e[e.Trash=4096]="Trash",e[e.FileWriteUnlock=8192]="FileWriteUnlock",e[e.FileAtomicRead=16384]="FileAtomicRead",e[e.FileAtomicWrite=32768]="FileAtomicWrite",e[e.FileAtomicDelete=65536]="FileAtomicDelete",e[e.FileClone=131072]="FileClone",e[e.FileRealpath=262144]="FileRealpath",e[e.FileAppend=524288]="FileAppend"})(b8||(b8={})),(function(e){e.FileExists="EntryExists",e.FileNotFound="EntryNotFound",e.FileNotADirectory="EntryNotADirectory",e.FileIsADirectory="EntryIsADirectory",e.FileExceedsStorageQuota="EntryExceedsStorageQuota",e.FileTooLarge="EntryTooLarge",e.FileWriteLocked="EntryWriteLocked",e.NoPermissions="NoPermissions",e.Unavailable="Unavailable",e.Unknown="Unknown"})(ne||(ne={})),pf=class iC extends Error{static create(t,s){const i=new iC(t.toString(),s);return m8(i,s),i}constructor(t,s){super(t),this.code=s}},(function(e){e[e.CREATE=0]="CREATE",e[e.DELETE=1]="DELETE",e[e.MOVE=2]="MOVE",e[e.COPY=3]="COPY",e[e.WRITE=4]="WRITE"})(w8||(w8={})),oo=class{constructor(e,t,s){this.resource=e,this.operation=t,this.target=s}isOperation(e){return this.operation===e}},(function(e){e[e.UPDATED=0]="UPDATED",e[e.ADDED=1]="ADDED",e[e.DELETED=2]="DELETED"})(y8||(y8={})),E8=class _m{static{this.a=null}constructor(t,s){this.c=s,this.b=void 0,this.d=new ir(()=>{const i=Sa.forUris(()=>this.c);return i.fill(this.rawAdded.map(n=>[n,!0])),i}),this.f=new ir(()=>{const i=Sa.forUris(()=>this.c);return i.fill(this.rawUpdated.map(n=>[n,!0])),i}),this.g=new ir(()=>{const i=Sa.forUris(()=>this.c);return i.fill(this.rawDeleted.map(n=>[n,!0])),i}),this.rawAdded=[],this.rawUpdated=[],this.rawDeleted=[];for(const i of t){switch(i.type){case 1:this.rawAdded.push(i.resource);break;case 0:this.rawUpdated.push(i.resource);break;case 2:this.rawDeleted.push(i.resource);break}this.b!==_m.a&&(typeof i.cId=="number"?this.b===void 0?this.b=i.cId:this.b!==i.cId&&(this.b=_m.a):this.b!==void 0&&(this.b=_m.a))}}contains(t,...s){return this.h(t,{includeChildren:!1},...s)}affects(t,...s){return this.h(t,{includeChildren:!0},...s)}h(t,s,...i){if(!t)return!1;const n=i.length>0;return!!((!n||i.includes(1))&&(this.d.value.get(t)||s.includeChildren&&this.d.value.findSuperstr(t))||(!n||i.includes(0))&&(this.f.value.get(t)||s.includeChildren&&this.f.value.findSuperstr(t))||(!n||i.includes(2))&&(this.g.value.findSubstr(t)||s.includeChildren&&this.g.value.findSuperstr(t)))}gotAdded(){return this.rawAdded.length>0}gotDeleted(){return this.rawDeleted.length>0}gotUpdated(){return this.rawUpdated.length>0}correlates(t){return this.b===t}hasCorrelation(){return typeof this.b=="number"}},qt=class extends Error{constructor(e,t,s){super(e),this.fileOperationResult=t,this.options=s}},mf=class extends qt{constructor(e,t,s,i){super(e,t,i),this.fileOperationResult=t,this.size=s}},gf=class extends qt{constructor(e,t,s){super(e,2,s),this.stat=t}},(function(e){e[e.FILE_IS_DIRECTORY=0]="FILE_IS_DIRECTORY",e[e.FILE_NOT_FOUND=1]="FILE_NOT_FOUND",e[e.FILE_NOT_MODIFIED_SINCE=2]="FILE_NOT_MODIFIED_SINCE",e[e.FILE_MODIFIED_SINCE=3]="FILE_MODIFIED_SINCE",e[e.FILE_MOVE_CONFLICT=4]="FILE_MOVE_CONFLICT",e[e.FILE_WRITE_LOCKED=5]="FILE_WRITE_LOCKED",e[e.FILE_PERMISSION_DENIED=6]="FILE_PERMISSION_DENIED",e[e.FILE_TOO_LARGE=7]="FILE_TOO_LARGE",e[e.FILE_INVALID_PATH=8]="FILE_INVALID_PATH",e[e.FILE_NOT_DIRECTORY=9]="FILE_NOT_DIRECTORY",e[e.FILE_OTHER_ERROR=10]="FILE_OTHER_ERROR"})(x8||(x8={})),(function(e){e[e.FILE=0]="FILE",e[e.FOLDER=1]="FOLDER",e[e.ROOT_FOLDER=2]="ROOT_FOLDER"})(k8||(k8={})),vf="",ao=class Ss{static{this.KB=1024}static{this.MB=Ss.KB*Ss.KB}static{this.GB=Ss.MB*Ss.KB}static{this.TB=Ss.GB*Ss.KB}static formatSize(t){return kn(t)||(t=0),t200)return e;if(typeof e=="object"){switch(e.$mid){case 1:return y.revive(e);case 2:return new RegExp(e.source,e.flags);case 17:return new Date(e.source)}if(e instanceof R||e instanceof Uint8Array)return e;if(Array.isArray(e))for(let s=0;sthis.t(t)))}t(t){this.b.pause();try{t.changed?.forEach((s,i)=>this.u(i,s)),t.deleted?.forEach(s=>this.u(s,void 0))}finally{this.b.resume()}}u(t,s){if(this.c===Ni.Closed)return;let i=!1;Ct(s)?i=this.f.delete(t):this.f.get(t)!==s&&(this.f.set(t,s),i=!0),i&&this.b.fire({key:t,external:!0})}get items(){return this.f}get size(){return this.f.size}async init(){this.c===Ni.None&&(this.c=Ni.Initialized,this.r.hint!==gl.STORAGE_DOES_NOT_EXIST&&(this.f=await this.q.getItems()))}get(t,s){const i=this.f.get(t);return Ct(i)?s:i}getBoolean(t,s){const i=this.get(t);return Ct(i)?s:i==="true"}getNumber(t,s){const i=this.get(t);return Ct(i)?s:parseInt(i,10)}getObject(t,s){const i=this.get(t);return Ct(i)?s:S8(i)}async set(t,s,i=!1){if(this.c===Ni.Closed)return;if(Ct(s))return this.delete(t,i);const n=tt(s)||Array.isArray(s)?nj(s):String(s);if(this.f.get(t)!==n)return this.f.set(t,n),this.j.set(t,n),this.h.delete(t),this.b.fire({key:t,external:i}),this.C()}async delete(t,s=!1){if(!(this.c===Ni.Closed||!this.f.delete(t)))return this.h.has(t)||this.h.add(t),this.j.delete(t),this.b.fire({key:t,external:s}),this.C()}async optimize(){if(this.c!==Ni.Closed)return await this.flush(0),this.q.optimize()}async close(){return this.m||(this.m=this.w()),this.m}async w(){this.c=Ni.Closed;try{await this.C(0)}catch{}await this.q.close(()=>this.f)}get y(){return this.j.size>0||this.h.size>0}async z(){if(!this.y)return;const t={insert:this.j,delete:this.h};return this.h=new Set,this.j=new Map,this.q.updateItems(t).finally(()=>{if(!this.y)for(;this.n.length;)this.n.pop()?.()})}async flush(t){if(!(this.c===Ni.Closed||this.m))return this.C(t)}async C(t){return this.r.hint===gl.STORAGE_IN_MEMORY?this.z():this.g.trigger(()=>this.z(),t)}async whenFlushed(){if(this.y)return new Promise(t=>this.n.push(t))}isInMemory(){return this.r.hint===gl.STORAGE_IN_MEMORY}}}});function cj(e){const t=e;return typeof t?.id=="string"&&y.isUri(t.uri)}function lj(e){const t=e;return typeof t?.id=="string"&&y.isUri(t.configPath)}function uj(e){return(typeof e=="string"?Br(e):Z5(e))===P8}var $8,I8,Yg,P8,hj,Kg=b({"out-build/vs/platform/workspace/common/workspace.js"(){"use strict";ae(),ge(),ff(),pt(),Q(),te(),ye(),$8=Z("contextService"),(function(e){e[e.EMPTY=1]="EMPTY",e[e.FOLDER=2]="FOLDER",e[e.WORKSPACE=3]="WORKSPACE"})(I8||(I8={})),Yg="code-workspace",P8=`.${Yg}`,hj=[{name:m(2778,null),extensions:[Yg]}]}}),mt,ys=b({"out-build/vs/platform/uriIdentity/common/uriIdentity.js"(){"use strict";te(),mt=Z("IUriIdentityService")}});function fj(e){const t=e;return!!(t&&typeof t=="object"&&typeof t.id=="string"&&typeof t.isDefault=="boolean"&&typeof t.name=="string"&&y.isUri(t.location)&&y.isUri(t.globalStorageHome)&&y.isUri(t.settingsResource)&&y.isUri(t.keybindingsResource)&&y.isUri(t.tasksResource)&&y.isUri(t.snippetsHome)&&y.isUri(t.promptsHome)&&y.isUri(t.extensionsResource)&&y.isUri(t.mcpResource))}function A8(e,t){return{id:e.id,isDefault:e.isDefault,name:e.name,icon:e.icon,location:y.revive(e.location).with({scheme:t}),globalStorageHome:y.revive(e.globalStorageHome).with({scheme:t}),settingsResource:y.revive(e.settingsResource).with({scheme:t}),keybindingsResource:y.revive(e.keybindingsResource).with({scheme:t}),tasksResource:y.revive(e.tasksResource).with({scheme:t}),snippetsHome:y.revive(e.snippetsHome).with({scheme:t}),promptsHome:y.revive(e.promptsHome).with({scheme:t}),extensionsResource:y.revive(e.extensionsResource).with({scheme:t}),mcpResource:y.revive(e.mcpResource).with({scheme:t}),cacheHome:y.revive(e.cacheHome).with({scheme:t}),useDefaultFlags:e.useDefaultFlags,isTransient:e.isTransient,workspaces:e.workspaces?.map(s=>y.revive(s))}}function bf(e,t,s,i,n,r){return{id:e,name:t,location:s,isDefault:!1,icon:n?.icon,globalStorageHome:r&&n?.useDefaultFlags?.globalState?r.globalStorageHome:ue(s,"globalStorage"),settingsResource:r&&n?.useDefaultFlags?.settings?r.settingsResource:ue(s,"settings.json"),keybindingsResource:r&&n?.useDefaultFlags?.keybindings?r.keybindingsResource:ue(s,"keybindings.json"),tasksResource:r&&n?.useDefaultFlags?.tasks?r.tasksResource:ue(s,"tasks.json"),snippetsHome:r&&n?.useDefaultFlags?.snippets?r.snippetsHome:ue(s,"snippets"),promptsHome:r&&n?.useDefaultFlags?.prompts?r.promptsHome:ue(s,"prompts"),extensionsResource:r&&n?.useDefaultFlags?.extensions?r.extensionsResource:ue(s,"extensions.json"),mcpResource:r&&n?.useDefaultFlags?.mcp?r.mcpResource:ue(s,"mcp.json"),cacheHome:ue(i,e),useDefaultFlags:n?.useDefaultFlags,isTransient:n?.transient,workspaces:n?.workspaces}}var D8,Ts,wf,Fs=b({"out-build/vs/platform/userDataProfile/common/userDataProfile.js"(){"use strict";zc(),oe(),H(),pt(),Q(),ae(),Bt(),Be(),te(),Pe(),Kg(),ys(),Le(),jt(),ht(),be(),(function(e){e.Settings="settings",e.Keybindings="keybindings",e.Snippets="snippets",e.Prompts="prompts",e.Tasks="tasks",e.Extensions="extensions",e.GlobalState="globalState",e.Mcp="mcp"})(D8||(D8={})),Ts=Z("IUserDataProfilesService"),wf=class extends B{static{this.b="userDataProfiles"}static{this.c="profileAssociations"}get defaultProfile(){return this.profiles[0]}get profiles(){return[...this.z.profiles,...this.q.profiles]}constructor(t,s,i,n){super(),this.r=t,this.s=s,this.t=i,this.u=n,this.g=this.D(new D),this.onDidChangeProfiles=this.g.event,this.h=this.D(new D),this.onWillCreateProfile=this.h.event,this.j=this.D(new D),this.onWillRemoveProfile=this.j.event,this.m=this.D(new D),this.onDidResetWorkspaces=this.m.event,this.n=new Map,this.q={profiles:[],emptyWindows:new Map},this.profilesHome=ue(this.r.userRoamingDataHome,"profiles"),this.f=ue(this.r.cacheHome,"CachedProfilesData")}init(){this.y=void 0}get z(){if(!this.y){const t=this.F(),s=[t];try{for(const n of this.O()){if(this.C(n)){this.u.warn("Skipping the invalid stored profile",n.location||n.name);continue}const r=An(n.location);s.push(bf(r,n.name,n.location,this.f,{icon:n.icon,useDefaultFlags:n.useDefaultFlags},t))}}catch(n){this.u.error(n)}const i=new Map;if(s.length)try{const n=this.Q();if(n.workspaces)for(const[r,o]of Object.entries(n.workspaces)){const a=y.parse(r),c=s.find(l=>l.id===o);if(c){const l=c.workspaces?c.workspaces.slice(0):[];l.push(a),c.workspaces=l}}if(n.emptyWindows)for(const[r,o]of Object.entries(n.emptyWindows)){const a=s.find(c=>c.id===o);a&&i.set(r,a)}}catch(n){this.u.error(n)}this.y={profiles:s,emptyWindows:i}}return this.y}C(t){return!!(!t.name||!ee(t.name)||!t.location||t.isSystem||this.t.extUri.basename(this.t.extUri.dirname(t.location))==="builtin")}F(){const t=bf("__default__profile__",m(2731,null),this.r.userRoamingDataHome,this.f);return{...t,extensionsResource:this.S()??t.extensionsResource,isDefault:!0}}async createTransientProfile(t){const s="Temp",i=new RegExp(`${nr(s)}\\s(\\d+)`);let n=0;for(const o of this.profiles){const a=i.exec(o.name),c=a?parseInt(a[1]):0;n=c>n?c:n}const r=`${s} ${n+1}`;return this.createProfile(na(Ge()).toString(16),r,{transient:!0},t)}async createNamedProfile(t,s,i){return this.createProfile(na(Ge()).toString(16),t,s,i)}async createProfile(t,s,i,n){return await this.G(t,s,i,n)}async G(t,s,i,n){if(!ee(s)||!s)throw new Error("Name of the profile is mandatory and must be of type `string`");let r=this.n.get(s);return r||(r=(async()=>{try{if(this.profiles.find(u=>u.id===t||!u.isTransient&&!i?.transient&&u.name===s))throw new Error(`Profile with ${s} name already exists`);const a=n?this.H(n):void 0;y.isUri(a)&&(i={...i,workspaces:[a]});const c=bf(t,s,this.t.extUri.joinPath(this.profilesHome,t),this.f,i,this.defaultProfile);await this.s.createFolder(c.location);const l=[];return this.h.fire({profile:c,join(u){l.push(u)}}),await rs.settled(l),a&&!y.isUri(a)&&this.M(a,c,!!c.isTransient),this.J([c],[],[]),c}finally{this.n.delete(s)}})(),this.n.set(s,r)),r}async updateProfile(t,s){const i=[];for(const r of this.profiles){let o;if(t.id===r.id)r.isDefault?s.workspaces&&(o=r,o.workspaces=s.workspaces):o=bf(r.id,s.name??r.name,r.location,this.f,{icon:s.icon===null?void 0:s.icon??r.icon,transient:s.transient??r.isTransient,useDefaultFlags:s.useDefaultFlags??r.useDefaultFlags,workspaces:s.workspaces??r.workspaces},this.defaultProfile);else if(s.workspaces){const a=r.workspaces?.filter(c=>!s.workspaces?.some(l=>this.t.extUri.isEqual(c,l)));r.workspaces?.length!==a?.length&&(o=r,o.workspaces=a)}o&&i.push(o)}if(!i.length)throw t.isDefault?new Error("Cannot update default profile"):new Error(`Profile '${t.name}' does not exist`);this.J([],[],i);const n=this.profiles.find(r=>r.id===t.id);if(!n)throw new Error(`Profile '${t.name}' was not updated`);return n}async removeProfile(t){if(t.isDefault)throw new Error("Cannot remove default profile");const s=this.profiles.find(n=>n.id===t.id);if(!s)throw new Error(`Profile '${t.name}' does not exist`);const i=[];this.j.fire({profile:s,join(n){i.push(n)}});try{await Promise.allSettled(i)}catch(n){this.u.error(n)}this.J([],[s],[]);try{await this.s.del(s.cacheHome,{recursive:!0})}catch(n){kt(n)!==1&&this.u.error(n)}}async setProfileForWorkspace(t,s){const i=this.profiles.find(r=>r.id===s.id);if(!i)throw new Error(`Profile '${s.name}' does not exist`);const n=this.H(t);if(y.isUri(n)){const r=i.workspaces?[...i.workspaces]:[];r.some(o=>this.t.extUri.isEqual(o,n))||(r.push(n),await this.updateProfile(i,{workspaces:r}))}else this.M(n,i,!1),this.N(this.profiles)}unsetWorkspace(t,s=!1){const i=this.H(t);if(y.isUri(i)){const n=this.getProfileForWorkspace(t);n&&this.updateProfile(n,{workspaces:n.workspaces?.filter(r=>!this.t.extUri.isEqual(r,i))})}else this.M(i,void 0,s),this.N(this.profiles)}async resetWorkspaces(){this.q.emptyWindows.clear(),this.z.emptyWindows.clear();for(const t of this.profiles)t.workspaces=void 0;this.J([],[],this.profiles),this.m.fire()}async cleanUp(){try{if(await this.s.exists(this.profilesHome)){const t=this.t.extUri.joinPath(this.profilesHome,"builtin");if(await this.s.exists(t))try{await this.s.del(t,{recursive:!0})}catch(i){this.u.error(i)}const s=await this.s.resolve(this.profilesHome);await Promise.all((s.children||[]).filter(i=>i.isDirectory&&this.profiles.every(n=>!this.t.extUri.isEqual(n.location,i.resource))).map(i=>this.s.del(i.resource,{recursive:!0})))}}catch(t){this.u.error("Error deleting redundant profile folders",t)}try{const t=this.O(),s=[];for(const i of this.O())this.C(i)?this.u.warn(`Invalid user data profile found: ${i.name}`):s.push(i);t.length!==s.length&&this.P(s)}catch(t){this.u.error("Error removing invalid stored profiles",t)}}async cleanUpTransientProfiles(){const t=this.q.profiles.filter(s=>!this.I(s));await Promise.allSettled(t.map(s=>this.removeProfile(s)))}getProfileForWorkspace(t){const s=this.H(t);return y.isUri(s)?this.profiles.find(i=>i.workspaces?.some(n=>this.t.extUri.isEqual(n,s))):this.z.emptyWindows.get(s)??this.q.emptyWindows.get(s)}H(t){return cj(t)?t.uri:lj(t)?t.configPath:t.id}I(t){return!!(t.workspaces?.length||[...this.z.emptyWindows.values()].some(s=>this.t.extUri.isEqual(s.location,t.location))||[...this.q.emptyWindows.values()].some(s=>this.t.extUri.isEqual(s.location,t.location)))}J(t,s,i,n=!1){const r=[...this.profiles,...t],o=this.q.profiles;this.q.profiles=[];const a=[];for(let c of r){if(s.some(l=>c.id===l.id)){for(const l of[...this.z.emptyWindows.keys()])c.id===this.z.emptyWindows.get(l)?.id&&this.z.emptyWindows.delete(l);continue}if(!c.isDefault){c=i.find(u=>c.id===u.id)??c;const l=o.find(u=>c.id===u.id);if(c.isTransient)this.q.profiles.push(c);else if(l){for(const[u,h]of this.q.emptyWindows.entries())if(c.id===h.id){this.q.emptyWindows.delete(u),this.z.emptyWindows.set(u,c);break}}}c.workspaces?.length===0&&(c.workspaces=void 0),a.push(c)}this.N(a),n||this.L(t,s,i)}L(t,s,i){this.g.fire({added:t,removed:s,updated:i,all:this.profiles})}M(t,s,i){i=s?.isTransient?!0:i,i?s?this.q.emptyWindows.set(t,s):this.q.emptyWindows.delete(t):(this.q.emptyWindows.delete(t),s?this.z.emptyWindows.set(t,s):this.z.emptyWindows.delete(t))}N(t){const s=[],i={},n={};for(const r of t)if(!r.isTransient&&(r.isDefault||s.push({location:r.location,name:r.name,icon:r.icon,useDefaultFlags:r.useDefaultFlags}),r.workspaces))for(const o of r.workspaces)i[o.toString()]=r.id;for(const[r,o]of this.z.emptyWindows.entries())n[r.toString()]=o.id;this.R({workspaces:i,emptyWindows:n}),this.P(s),this.y=void 0}O(){return[]}P(t){throw new Error("not implemented")}Q(){return{}}R(t){throw new Error("not implemented")}S(){}},wf=__decorate([__param(0,Kt),__param(1,st),__param(2,mt),__param(3,he)],wf)}});function dj(e){const t=e.get(vl);if(t)try{return JSON.parse(t)}catch{}return Object.create(null)}function R8(e){return e.isDefault||!!e.useDefaultFlags?.globalState}async function pj(e,t,s,i,n,r){const o=v=>{try{return JSON.parse(v)}catch{return v}},a=new Map,c=new Map;e.forEach((v,w)=>{a.set(w,v),c.set(w,o(v))});const l=new Map,u=new Map;t.forEach((v,w)=>{l.set(w,v),u.set(w,o(v))});const h=new Map,d=new Map;s.forEach((v,w)=>{h.set(w,v),d.set(w,o(v))}),console.group(i!==n?`Storage: Application (path: ${i})`:`Storage: Application & Profile (path: ${i}, default profile)`);const p=[];if(a.forEach((v,w)=>{p.push({key:w,value:v})}),console.table(p),console.groupEnd(),console.log(c),i!==n){console.group(`Storage: Profile (path: ${n}, profile specific)`);const v=[];l.forEach((w,k)=>{v.push({key:k,value:w})}),console.table(v),console.groupEnd(),console.log(u)}console.group(`Storage: Workspace (path: ${r})`);const g=[];h.forEach((v,w)=>{g.push({key:w,value:v})}),console.table(g),console.groupEnd(),console.log(d)}var N8,vl,C8,Ia,L8,O8,mj,gj=b({"out-build/vs/platform/storage/common/storage.js"(){"use strict";Le(),oe(),H(),vn(),be(),aj(),te(),Fs(),N8="__$__isNewStorageMarker",vl="__$__targetStorageMarker",C8=Z("storageService"),(function(e){e[e.NONE=0]="NONE",e[e.SHUTDOWN=1]="SHUTDOWN"})(Ia||(Ia={})),(function(e){e[e.APPLICATION=-1]="APPLICATION",e[e.PROFILE=0]="PROFILE",e[e.WORKSPACE=1]="WORKSPACE"})(L8||(L8={})),(function(e){e[e.USER=0]="USER",e[e.MACHINE=1]="MACHINE"})(O8||(O8={})),mj=class rC extends B{static{this.a=60*1e3}constructor(t={flushInterval:rC.a}){super(),this.b=this.D(new kh),this.f=this.D(new kh),this.onDidChangeTarget=this.f.event,this.g=this.D(new D),this.onWillSaveState=this.g.event,this.m=this.D(new Lc),this.z=void 0,this.F=void 0,this.H=void 0,this.j=this.D(new Yo(()=>this.n(),t.flushInterval))}onDidChangeValue(t,s,i){return F.filter(this.b.event,n=>n.scope===t&&(s===void 0||n.key===s),i)}n(){this.m.value=a6(()=>{this.q()&&this.flush(),this.j.schedule()})}q(){return!0}r(){Ht([this.m,this.j])}initialize(){return this.h||(this.h=(async()=>{Nt("code/willInitStorage");try{await this.O()}finally{Nt("code/didInitStorage")}this.j.schedule()})()),this.h}t(t,s){const{key:i,external:n}=s;if(i===vl){switch(t){case-1:this.H=void 0;break;case 0:this.F=void 0;break;case 1:this.z=void 0;break}this.f.fire({scope:t})}else this.b.fire({scope:t,key:i,target:this.J(t)[i],external:n})}u(t){this.g.fire({reason:t})}get(t,s,i){return this.P(s)?.get(t,i)}getBoolean(t,s,i){return this.P(s)?.getBoolean(t,i)}getNumber(t,s,i){return this.P(s)?.getNumber(t,i)}getObject(t,s,i){return this.P(s)?.getObject(t,i)}storeAll(t,s){this.w(()=>{for(const i of t)this.store(i.key,i.value,i.scope,i.target,s)})}store(t,s,i,n,r=!1){if(Ct(s)){this.remove(t,i,r);return}this.w(()=>{this.y(t,i,n),this.P(i)?.set(t,s,r)})}remove(t,s,i=!1){this.w(()=>{this.y(t,s,void 0),this.P(s)?.delete(t,i)})}w(t){this.b.pause(),this.f.pause();try{t()}finally{this.b.resume(),this.f.resume()}}keys(t,s){const i=[],n=this.J(t);for(const r of Object.keys(n))n[r]===s&&i.push(r);return i}y(t,s,i,n=!1){const r=this.J(s);typeof i=="number"?r[t]!==i&&(r[t]=i,this.P(s)?.set(vl,JSON.stringify(r),n)):typeof r[t]=="number"&&(delete r[t],this.P(s)?.set(vl,JSON.stringify(r),n))}get C(){return this.z||(this.z=this.L(1)),this.z}get G(){return this.F||(this.F=this.L(0)),this.F}get I(){return this.H||(this.H=this.L(-1)),this.H}J(t){switch(t){case-1:return this.I;case 0:return this.G;default:return this.C}}L(t){const s=this.P(t);return s?dj(s):Object.create(null)}isNew(t){return this.getBoolean(N8,t)===!0}async flush(t=Ia.NONE){this.g.fire({reason:t});const s=this.P(-1),i=this.P(0),n=this.P(1);switch(t){case Ia.NONE:await rs.settled([s?.whenFlushed()??Promise.resolve(),i?.whenFlushed()??Promise.resolve(),n?.whenFlushed()??Promise.resolve()]);break;case Ia.SHUTDOWN:await rs.settled([s?.flush(0)??Promise.resolve(),i?.flush(0)??Promise.resolve(),n?.flush(0)??Promise.resolve()]);break}}async log(){const t=this.P(-1)?.items??new Map,s=this.P(0)?.items??new Map,i=this.P(1)?.items??new Map;return pj(t,s,i,this.Q(-1)??"",this.Q(0)??"",this.Q(1)??"")}async optimize(t){return await this.flush(),this.P(t)?.optimize()}async switch(t,s){return this.u(Ia.NONE),fj(t)?this.R(t,s):this.S(t,s)}M(t,s){return!(t.id===s.id||R8(s)&&R8(t))}N(t,s,i){this.w(()=>{const n=new Set;for(const[r,o]of t)n.add(r),s.get(r)!==o&&this.t(i,{key:r,external:!0});for(const[r]of s.items)n.has(r)||this.t(i,{key:r,external:!0})})}}}});function Pa(e,t){const[s,i]=t.split("/");for(const n of e.resources){const[r,o]=n.type.split("/");if(r===s){if(!i||o===i)return n.id;break}}}var M8,_8,j8,co,yf=b({"out-build/vs/platform/extensionManagement/common/extensionGalleryManifest.js"(){"use strict";te(),(function(e){e.ExtensionQueryService="ExtensionQueryService",e.ExtensionLatestVersionUri="ExtensionLatestVersionUriTemplate",e.ExtensionStatisticsUri="ExtensionStatisticsUriTemplate",e.PublisherViewUri="PublisherViewUriTemplate",e.ExtensionDetailsViewUri="ExtensionDetailsViewUriTemplate",e.ExtensionRatingViewUri="ExtensionRatingViewUriTemplate",e.ExtensionResourceUri="ExtensionResourceUriTemplate",e.ContactSupportUri="ContactSupportUri"})(M8||(M8={})),(function(e){e.None="None",e.IncludeVersions="IncludeVersions",e.IncludeFiles="IncludeFiles",e.IncludeCategoryAndTags="IncludeCategoryAndTags",e.IncludeSharedAccounts="IncludeSharedAccounts",e.IncludeVersionProperties="IncludeVersionProperties",e.ExcludeNonValidated="ExcludeNonValidated",e.IncludeInstallationTargets="IncludeInstallationTargets",e.IncludeAssetUri="IncludeAssetUri",e.IncludeStatistics="IncludeStatistics",e.IncludeLatestVersionOnly="IncludeLatestVersionOnly",e.Unpublished="Unpublished",e.IncludeNameConflictInfo="IncludeNameConflictInfo",e.IncludeLatestPrereleaseAndStableVersionOnly="IncludeLatestPrereleaseAndStableVersionOnly"})(_8||(_8={})),(function(e){e.Available="available",e.RequiresSignIn="requiresSignIn",e.AccessDenied="accessDenied",e.Unavailable="unavailable"})(j8||(j8={})),co=Z("IExtensionGalleryManifestService")}});function e0(e,t){const s=(e||[]).filter(i=>i.statisticName===t)[0];return s?s.value:0}function vj(e){const t="Microsoft.VisualStudio.Code.Translation.";return e.files.filter(i=>i.assetType.indexOf(t)===0).reduce((i,n)=>{const r=Ci(e,n.assetType);return r&&i.push([n.assetType.substring(t.length),r]),i},[])}function bj(e){if(e.properties){const t=e.properties.filter(n=>n.key===Ot.Repository),s=new RegExp("((git|ssh|http(s)?)|(git@[\\w.]+))(:(//)?)([\\w.@:/\\-~]+)(.git)(/)?"),i=t.filter(n=>s.test(n.value))[0];return i?{uri:i.value,fallbackUri:i.value}:null}return Ci(e,Ot.Repository)}function wj(e){return{uri:`${e.fallbackAssetUri}/${Ot.VSIX}?redirect=true${e.targetPlatform?`&targetPlatform=${e.targetPlatform}`:""}`,fallbackUri:`${e.fallbackAssetUri}/${Ot.VSIX}${e.targetPlatform?`?targetPlatform=${e.targetPlatform}`:""}`}}function Ci(e,t){return e.files.filter(i=>i.assetType===t)[0]?{uri:`${e.assetUri}/${t}${e.targetPlatform?`?targetPlatform=${e.targetPlatform}`:""}`,fallbackUri:`${e.fallbackAssetUri}/${t}${e.targetPlatform?`?targetPlatform=${e.targetPlatform}`:""}`}:null}function U8(e,t){const s=e.properties?e.properties.filter(n=>n.key===t):[],i=s.length>0&&s[0].value;return i?i.split(",").map(n=>lf(n)):[]}function Ef(e){const t=e.properties?e.properties.filter(s=>s.key===ui.Engine):[];return t.length>0&&t[0].value||""}function yj(e,t){e.properties=e.properties??[],e.properties.push({key:ui.Engine,value:t})}function Aa(e){const t=e.properties?e.properties.filter(s=>s.key===ui.PreRelease):[];return t.length>0&&t[0].value==="true"}function T8(e,t){return t.extensionProperties?.[e.toLowerCase()]?.hasPrereleaseVersion}function Ej(e,t){return t.extensionProperties?.[e.toLowerCase()]?.excludeVersionRange}function xj(e){const t=e.properties?e.properties.filter(s=>s.key===ui.Private):[];return t.length>0&&t[0].value==="true"}function kj(e){const t=e.properties?e.properties.filter(s=>s.key===ui.ExecutesCode):[];return t.length>0?t[0].value==="true":void 0}function t0(e){const t=e.properties?e.properties.filter(i=>i.key===ui.EnabledApiProposals):[],s=t.length>0&&t[0].value||"";return s?s.split(","):[]}function Sj(e){const t=e.properties?e.properties.filter(i=>i.key===ui.LocalizedLanguages):[],s=t.length>0&&t[0].value||"";return s?s.split(","):[]}function $j(e){return e.properties?.find(t=>t.key===ui.SponsorLink)?.value}function Ij(e){return e.properties?.find(t=>t.key===ui.SupportLink)?.value}function Pj(e){return e.indexOf("preview")!==-1}function lo(e){return e.targetPlatform?ZM(e.targetPlatform):"undefined"}function xf(e){const t=qi(e.versions.map(lo)),s=!!e.tags?.includes(R7),i=t.indexOf("web");return s?i===-1&&t.push("web"):i!==-1&&t.splice(i,1),t}function F8(e,t){for(let s=0;s0&&e[n-1].version===i.version;)n--;n!==s&&(e.splice(s,1),e.splice(n,0,i))}}return e}function Aj(e,t,s){const i=[];let n=-1,r=-1;for(const o of e){const a=lo(o);if(!Lg(a,s,t)){i.push(o);continue}Aa(o)?n===-1?(n=i.length,i.push(o)):a===t&&i[n].version===o.version&&(i[n]=o):r===-1?(r=i.length,i.push(o)):a===t&&i[r].version===o.version&&(i[r]=o)}return i}function H8(e,t,s){e.telemetryData={index:t,querySource:s,queryActivityId:e.queryContext?.[wl]}}function s0(e,t,s,i,n,r){const o=e.versions[0],a={manifest:Ci(t,Ot.Manifest),readme:Ci(t,Ot.Details),changelog:Ci(t,Ot.Changelog),license:Ci(t,Ot.License),repository:bj(t),download:wj(t),icon:Ci(t,Ot.Icon),signature:Ci(t,Ot.Signature),coreTranslations:vj(t)},c=Pa(i,e.linkType??"ExtensionDetailsViewUriTemplate"),l=Pa(i,e.publisher.linkType??"PublisherViewUriTemplate"),u=Pa(i,e.ratingLinkType??"ExtensionRatingViewUriTemplate"),h=en(e.publisher.publisherName,e.extensionName);return{type:"gallery",identifier:{id:h,uuid:e.extensionId},name:e.extensionName,version:t.version,displayName:e.displayName,publisherId:e.publisher.publisherId,publisher:e.publisher.publisherName,publisherDisplayName:e.publisher.displayName,publisherDomain:e.publisher.domain?{link:e.publisher.domain,verified:!!e.publisher.isDomainVerified}:void 0,publisherSponsorLink:$j(o),description:e.shortDescription??"",installCount:e0(e.statistics,"install"),rating:e0(e.statistics,"averagerating"),ratingCount:e0(e.statistics,"ratingcount"),categories:e.categories||[],tags:e.tags||[],releaseDate:Date.parse(e.releaseDate),lastUpdated:Date.parse(e.lastUpdated),allTargetPlatforms:s,assets:a,properties:{dependencies:U8(t,ui.Dependency),extensionPack:U8(t,ui.ExtensionPack),engine:Ef(t),enabledApiProposals:t0(t),localizedLanguages:Sj(t),targetPlatform:lo(t),isPreReleaseVersion:Aa(t),executesCode:kj(t)},hasPreReleaseVersion:T8(h,n)??Aa(o),hasReleaseVersion:!0,private:xj(o),preview:Pj(e.flags),isSigned:!!a.signature,queryContext:r,supportLink:Ij(o),detailsLink:c?$i(c,{publisher:e.publisher.publisherName,name:e.extensionName}):void 0,publisherLink:l?$i(l,{publisher:e.publisher.publisherName}):void 0,ratingLink:u?$i(u,{publisher:e.publisher.publisherName,name:e.extensionName}):void 0}}var bl,wl,kf,Sf,$f,Ot,ui,z8,V8,B8,yl,El,i0,xl,q8=b({"out-build/vs/platform/extensionManagement/common/extensionGalleryService.js"(){"use strict";nt(),Pt(),no(),ce(),se(),Ks(),be(),Q(),O_(),Yt(),Bt(),Rs(),Ri(),hf(),Be(),Pe(),es(),io(),ij(),gj(),oi(),Jo(),ht(),yf(),Pi(),bl=Ys?"web":A7(Fr,r1),wl="X-Market-Search-Activity-Id",kf="Activityid",Sf="Server",$f="X-Vss-E2eid",Ot={Icon:"Microsoft.VisualStudio.Services.Icons.Default",Details:"Microsoft.VisualStudio.Services.Content.Details",Changelog:"Microsoft.VisualStudio.Services.Content.Changelog",Manifest:"Microsoft.VisualStudio.Code.Manifest",VSIX:"Microsoft.VisualStudio.Services.VSIXPackage",License:"Microsoft.VisualStudio.Services.Content.License",Repository:"Microsoft.VisualStudio.Services.Links.Source",Signature:"Microsoft.VisualStudio.Services.VsixSignature"},ui={Dependency:"Microsoft.VisualStudio.Code.ExtensionDependencies",ExtensionPack:"Microsoft.VisualStudio.Code.ExtensionPack",Engine:"Microsoft.VisualStudio.Code.Engine",PreRelease:"Microsoft.VisualStudio.Code.PreRelease",EnabledApiProposals:"Microsoft.VisualStudio.Code.EnabledApiProposals",LocalizedLanguages:"Microsoft.VisualStudio.Code.LocalizedLanguages",WebExtension:"Microsoft.VisualStudio.Code.WebExtension",SponsorLink:"Microsoft.VisualStudio.Code.SponsorLink",SupportLink:"Microsoft.VisualStudio.Services.Links.Support",ExecutesCode:"Microsoft.VisualStudio.Code.ExecutesCode",Private:"PrivateMarketplace"},z8=10,V8={pageNumber:1,pageSize:z8,sortBy:"NoneOrRelevance",sortOrder:0,flags:[],criteria:[],assetTypes:[]},(function(e){e[e.Release=0]="Release",e[e.Prerelease=1]="Prerelease",e[e.Latest=2]="Latest"})(B8||(B8={})),yl=class _r{constructor(t=V8){this.d=t}get pageNumber(){return this.d.pageNumber}get pageSize(){return this.d.pageSize}get sortBy(){return this.d.sortBy}get sortOrder(){return this.d.sortOrder}get flags(){return this.d.flags}get criteria(){return this.d.criteria}get assetTypes(){return this.d.assetTypes}get source(){return this.d.source}get searchText(){const t=this.d.criteria.filter(s=>s.filterType==="SearchText")[0];return t&&t.value?t.value:""}withPage(t,s=this.d.pageSize){return new _r({...this.d,pageNumber:t,pageSize:s})}withFilter(t,...s){const i=[...this.d.criteria,...s.length?s.map(n=>({filterType:t,value:n})):[{filterType:t}]];return new _r({...this.d,criteria:i})}withSortBy(t){return new _r({...this.d,sortBy:t})}withSortOrder(t){return new _r({...this.d,sortOrder:t})}withFlags(...t){return new _r({...this.d,flags:qi(t)})}withAssetTypes(...t){return new _r({...this.d,assetTypes:t})}withSource(t){return new _r({...this.d,source:t})}},El=class{constructor(t,s,i,n,r,o,a,c,l,u){this.k=s,this.l=i,this.n=n,this.o=r,this.q=o,this.u=a,this.w=c,this.x=l,this.y=u,this.d=a.extensionsGallery?.controlUrl,this.g=a.extensionsGallery?.extensionUrlTemplate,this.j=a.extensionsEnabledWithApiProposalVersion?.map(h=>h.toLowerCase())??[],this.h=sj(a.version,a,this.n,this.w,this.q,t,this.o)}isEnabled(){return this.y.extensionGalleryManifestStatus==="available"}async getExtensions(t,s,i){const n=await this.y.getExtensionGalleryManifest();if(!n)throw new Error("No extension gallery service configured.");const r=Te.isCancellationToken(s)?{}:s,o=Te.isCancellationToken(s)?s:i,a=this.z(n),c=a?await this.B(t,r,a,n,o):await this.A(t,r,n,o),l=c.map(h=>h.identifier.uuid),u=[];for(const h of t)h.uuid&&!l.includes(h.uuid)&&u.push({...h,uuid:void 0});if(u.length){this.o.publicLog2("galleryService:additionalQueryByName",{count:u.length});const h=await this.A(u,r,n,o);c.push(...h)}return c}z(t){const s=Pa(t,"ExtensionLatestVersionUriTemplate");if(s)return{uri:s,fallback:this.g}}async A(t,s,i,n){const r=[],o=[],a=[],c=[];let l=!0;for(const d of t)d.uuid?o.push(d.uuid):r.push(d.id),d.version?c.push({id:d.id,uuid:d.uuid,version:d.version}):a.push({id:d.id,uuid:d.uuid,includePreRelease:!!d.preRelease}),l=l&&!!d.hasPreRelease&&!d.preRelease;if(!o.length&&!r.length)return[];let u=new yl().withPage(1,t.length);o.length&&(u=u.withFilter("ExtensionId",...o)),r.length&&(u=u.withFilter("ExtensionName",...r)),s.queryAllVersions&&(u=u.withFlags(...u.flags,"IncludeVersions")),s.source&&(u=u.withSource(s.source));const{extensions:h}=await this.I(u,{targetPlatform:s.targetPlatform??bl,includePreRelease:a,versions:c,compatible:!!s.compatible,productVersion:s.productVersion??{version:this.u.version,date:this.u.date},isQueryForReleaseVersionFromPreReleaseVersion:l},i,n);return s.source&&h.forEach((d,p)=>H8(d,p,s.source)),h}async B(t,s,i,n,r){const o=[],a=[],c=[];for(const l of t)of.test(l.id)&&(l.version?a.push(l):c.push(l));if(await Promise.all(c.map(async l=>{let u;try{u=await this.C(l,s,i,n,r),ee(u)?(this.o.publicLog2("galleryService:fallbacktoquery",{extension:l.id,preRelease:!!l.preRelease,compatible:!!s.compatible,errorCode:u}),a.push(l)):o.push(u)}catch(h){if(h instanceof Ki)switch(h.code){case"Offline":case"Cancelled":case"Timeout":throw h}this.l.error(`Error while getting the latest version for the extension ${l.id}.`,de(h)),this.o.publicLog2("galleryService:fallbacktoquery",{extension:l.id,preRelease:!!l.preRelease,compatible:!!s.compatible,errorCode:h instanceof Ki?h.code:"Unknown"}),a.push(l)}})),a.length){const l=await this.A(a,s,n,r);o.push(...l)}return o}async C(t,s,i,n,r){const o=await this.N(t,i,r);if(!o)return"NOT_FOUND";const a=xf(o),c=await this.D(o,o.versions,t,s,a);return c?s0(o,c,a,n,this.u):"NOT_COMPATIBLE"}async D(t,s,i,n,r){const o=n.targetPlatform??bl,a=Aj(s,o,r),c=await this.J(t,a,{targetPlatform:o,compatible:!!n.compatible,productVersion:n.productVersion??{version:this.u.version,date:this.u.date},version:i.preRelease?1:0},r);if(!i.preRelease)return c;const l=c,u=await this.J(t,a,{targetPlatform:o,compatible:!!n.compatible,productVersion:n.productVersion??{version:this.u.version,date:this.u.date},version:0},r);if(l&&u)return ka(u.version,l.version)?u:l;if(n.compatible){if(u){const h=await this.J(t,a,{targetPlatform:o,compatible:!1,productVersion:n.productVersion??{version:this.u.version,date:this.u.date},version:1},r);if(!h||ka(u.version,h.version))return u}return l}return l??u??null}async getCompatibleExtension(t,s,i,n={version:this.u.version,date:this.u.date}){return ul(t.allTargetPlatforms,i)?null:await this.isExtensionCompatible(t,s,i)?t:this.x.isAllowed({id:t.identifier.id,publisherDisplayName:t.publisherDisplayName})!==!0?null:(await this.getExtensions([{...t.identifier,preRelease:s,hasPreRelease:t.hasPreReleaseVersion}],{compatible:!0,productVersion:n,queryAllVersions:!0,targetPlatform:i},Te.None))[0]??null}async isExtensionCompatible(t,s,i,n={version:this.u.version,date:this.u.date}){return this.E({id:t.identifier.id,version:t.version,isPreReleaseVersion:t.properties.isPreReleaseVersion,targetPlatform:t.properties.targetPlatform,manifestAsset:t.assets.manifest,engine:t.properties.engine,enabledApiProposals:t.properties.enabledApiProposals},{targetPlatform:i,compatible:!0,productVersion:n,version:s?2:0},t.publisherDisplayName,t.allTargetPlatforms)}async E(t,{targetPlatform:s,compatible:i,productVersion:n,version:r},o,a){const c=T8(t.id,this.u),l=Ej(t.id,this.u);if(t.isPreReleaseVersion&&c===!1||l&&W7(t.version,l))return!1;if(ee(r)){if(t.version!==r)return!1}else if((r===0||r===1)&&t.isPreReleaseVersion!==(r===1))return!1;return!(s&&!Lg(t.targetPlatform,a,s)||i&&(this.x.isAllowed({id:t.id,publisherDisplayName:o,version:t.version,prerelease:t.isPreReleaseVersion,targetPlatform:t.targetPlatform})!==!0||!this.F(t.id,t.enabledApiProposals)||!await this.G(t.id,t.version,t.engine,t.manifestAsset,n)))}F(t,s){return!s||!this.j.includes(t.toLowerCase())?!0:Wg(s)}async G(t,s,i,n,r){if(!i)try{i=await this.H(t,s,n)}catch(o){return this.l.error(`Error while getting the engine for the version ${s}.`,de(o)),!1}return i?qg(i,r.version,r.date):(this.l.error(`Missing engine for the extension ${t} with version ${s}`),!1)}async H(t,s,i){if(!i){this.l.error(`Missing engine and manifest asset for the extension ${t} with version ${s}`);return}try{this.o.publicLog2("galleryService:engineFallback",{extension:t,extensionVersion:s});const n={"Accept-Encoding":"gzip"},r=await this.Q(t,i,Ot.Manifest,s,{headers:n}),o=await wa(r);if(!o){this.l.error(`Manifest was not found for the extension ${t} with version ${s}`);return}return o.engines.vscode}catch(n){this.l.error(`Error while getting the engine for the version ${s}.`,de(n));return}}async query(t,s){const i=await this.y.getExtensionGalleryManifest();if(!i)throw new Error("No extension gallery service configured.");let n=t.text||"";const r=t.pageSize??50;let o=new yl().withPage(1,r);n?(n=n.replace(/\bcategory:("([^"]*)"|([^"]\S*))(\s+|\b|$)/g,(h,d,p)=>(o=o.withFilter("Category",p||d),"")),n=n.replace(/\btag:("([^"]*)"|([^"]\S*))(\s+|\b|$)/g,(h,d,p)=>(o=o.withFilter("Tag",p||d),"")),n=n.replace(/\bfeatured(\s+|\b|$)/g,()=>(o=o.withFilter("Featured"),"")),n=n.trim(),n&&(n=n.length<200?n:n.substring(0,200),o=o.withFilter("SearchText",n)),i.capabilities.extensionQuery.sorting?.some(h=>h.name==="NoneOrRelevance")&&(o=o.withSortBy("NoneOrRelevance"))):i.capabilities.extensionQuery.sorting?.some(h=>h.name==="InstallCount")&&(o=o.withSortBy("InstallCount")),t.sortBy&&i.capabilities.extensionQuery.sorting?.some(h=>h.name===t.sortBy)&&(o=o.withSortBy(t.sortBy)),typeof t.sortOrder=="number"&&(o=o.withSortOrder(t.sortOrder)),t.source&&(o=o.withSource(t.source));const a=async(h,d)=>{const{extensions:p,total:g}=await this.I(h,{targetPlatform:bl,compatible:!1,includePreRelease:!!t.includePreRelease,productVersion:t.productVersion??{version:this.u.version,date:this.u.date}},i,d),v=[];let w;for(let k=0;k{if(d.isCancellationRequested)throw new yt;const{extensions:p}=await a(o.withPage(h+1),d);return p};return{firstPage:c,total:l,pageSize:o.pageSize,getPage:u}}async I(t,s,i,n){const r=t.flags;t.flags.includes("IncludeLatestVersionOnly")&&t.flags.includes("IncludeVersions")&&(t=t.withFlags(...t.flags.filter(d=>d!=="IncludeVersions"))),!t.flags.includes("IncludeLatestVersionOnly")&&!t.flags.includes("IncludeVersions")&&(t=t.withFlags(...t.flags,"IncludeLatestVersionOnly")),(s.versions?.length||s.isQueryForReleaseVersionFromPreReleaseVersion)&&(t=t.withFlags(...t.flags.filter(d=>d!=="IncludeLatestVersionOnly"),"IncludeVersions")),t=t.withFlags(...t.flags,"IncludeAssetUri","IncludeCategoryAndTags","IncludeFiles","IncludeStatistics","IncludeVersionProperties");const{galleryExtensions:o,total:a,context:c}=await this.L(t,i,n);if(!t.flags.includes("IncludeLatestVersionOnly")){const d=[];for(const p of o){const g=xf(p),v={id:en(p.publisher.publisherName,p.extensionName),uuid:p.extensionId},w=Wi(s.includePreRelease)?s.includePreRelease:!!s.includePreRelease.find(x=>me(x,v))?.includePreRelease,k=await this.J(p,p.versions,{compatible:s.compatible,targetPlatform:s.targetPlatform,productVersion:s.productVersion,version:s.versions?.find(x=>me(x,v))?.version??(w?2:0)},g);k&&d.push(s0(p,k,g,i,this.u,c))}return{extensions:d,total:a}}const u=[],h=new Map;for(let d=0;dme(A,g))?.includePreRelease,w=xf(p);if(s.compatible&&(ul(w,s.targetPlatform)||this.x.isAllowed({id:g.id,publisherDisplayName:p.publisher.displayName})!==!0))continue;const k=await this.J(p,p.versions,{compatible:s.compatible,targetPlatform:s.targetPlatform,productVersion:s.productVersion,version:s.versions?.find(A=>me(A,g))?.version??(v?2:0)},w),x=k?s0(p,k,w,i,this.u,c):null;!x||x.properties.isPreReleaseVersion&&(!v||!x.hasReleaseVersion)||!x.properties.isPreReleaseVersion&&x.properties.targetPlatform!==s.targetPlatform&&x.hasPreReleaseVersion?h.set(p.extensionId,d):u.push([d,x])}if(h.size){const d=new $n,p=new yl().withFlags(...r.filter(v=>v!=="IncludeLatestVersionOnly"),"IncludeVersions").withPage(1,h.size).withFilter("ExtensionId",...h.keys()),{extensions:g}=await this.I(p,s,i,n);this.o.publicLog2("galleryService:additionalQuery",{duration:d.elapsed(),count:h.size});for(const v of g){const w=h.get(v.identifier.uuid);u.push([w,v])}}return{extensions:u.sort((d,p)=>d[0]-p[0]).map(([,d])=>d),total:a}}async J(t,s,i,n){const r={id:en(t.publisher.publisherName,t.extensionName),uuid:t.extensionId},o=F8(s,i.targetPlatform);if(i.compatible&&ul(n,i.targetPlatform))return null;const a=ee(i.version)?i.version:void 0;for(let c=0;cp.name==="Unpublished");r&&(t=t.withFilter("ExcludeWithFlags",String(r.value)));const o=JSON.stringify({filters:[{criteria:t.criteria.reduce((p,g)=>{const v=s.capabilities.extensionQuery.filtering?.find(w=>w.name===g.filterType);return v&&p.push({filterType:v.value,value:g.value}),p},[]),pageNumber:t.pageNumber,pageSize:t.pageSize,sortBy:s.capabilities.extensionQuery.sorting?.find(p=>p.name===t.sortBy)?.value,sortOrder:t.sortOrder}],assetTypes:t.assetTypes,flags:t.flags.reduce((p,g)=>{const v=s.capabilities.extensionQuery.flags?.find(w=>w.name===g);return v&&(p|=v.value),p},0)}),c={...await this.h,"Content-Type":"application/json",Accept:"application/json;api-version=3.0-preview.1","Accept-Encoding":"gzip","Content-Length":String(o.length)},l=new $n;let u,h,d=0;try{if(u=await this.k.request({type:"POST",url:n,data:o,headers:c},i),u.res.statusCode&&u.res.statusCode>=400&&u.res.statusCode<500)return{galleryExtensions:[],total:d};const p=await wa(u);if(p){const g=p.results[0],v=g.extensions,w=g.resultMetadata&&g.resultMetadata.filter(k=>k.metadataType==="ResultCount")[0];return d=w&&w.metadataItems.filter(k=>k.name==="TotalCount")[0].count||0,{galleryExtensions:v,total:d,context:u.res.headers.activityid?{[wl]:u.res.headers.activityid}:{}}}return{galleryExtensions:[],total:d}}catch(p){if(yn(p))throw h="Cancelled",p;{const g=de(p);throw h=G7(p)?"Offline":g.startsWith("XHR timeout")?"Timeout":"Failed",new Ki(g,h)}}finally{this.o.publicLog2("galleryService:query",{filterTypes:t.criteria.map(p=>p.filterType),flags:t.flags,sortBy:t.sortBy,sortOrder:String(t.sortOrder),pageNumber:String(t.pageNumber),source:t.source,searchTextLength:t.searchText.length,requestBodySize:String(o.length),duration:l.elapsed(),success:!!u&&yg(u),responseBodySize:u?.res.headers["Content-Length"],statusCode:u?String(u.res.statusCode):void 0,errorCode:h,count:String(d),server:this.M(u?.res.headers,Sf),activityId:this.M(u?.res.headers,kf),endToEndId:this.M(u?.res.headers,$f)})}}M(t,s){const i=t?.[s.toLowerCase()],n=Array.isArray(i)?i[0]:i;return n?new xa(n):void 0}async N(t,s,i){const[n,r]=t.id.split(".");let o;try{const a=y.parse($i(s.uri,{publisher:n,name:r}));return await this.O(t.id,a,i)}catch(a){if(a instanceof Ki)switch(o=a.code,a.code){case"Offline":case"Cancelled":case"Timeout":case"ClientError":throw a}else o="Unknown";if(!s.fallback)throw a}finally{this.o.publicLog2("galleryService:getmarketplacelatest",{extension:t.id,errorCode:o})}this.l.error(`Error while getting the latest version for the extension ${t.id} from ${s.uri}. Trying the fallback ${s.fallback}`,o);try{const a=y.parse($i(s.fallback,{publisher:n,name:r}));return await this.O(t.id,a,i)}catch(a){throw o=a instanceof Ki?a.code:"Unknown",a}finally{this.o.publicLog2("galleryService:fallbacktounpkg",{extension:t.id,errorCode:o})}}async O(t,s,i){let n,r;const o=new $n;try{const c={...await this.h,"Content-Type":"application/json",Accept:"application/json;api-version=7.2-preview","Accept-Encoding":"gzip"};if(n=await this.k.request({type:"GET",url:s.toString(!0),headers:c,timeout:this.R()},i),n.res.statusCode===404)return r="NotFound",null;if(n.res.statusCode&&n.res.statusCode!==200)throw new Error("Unexpected HTTP response: "+n.res.statusCode);const l=await wa(n);return l||(r="NoData"),l}catch(a){let c;throw yn(a)?c="Cancelled":G7(a)?c="Offline":de(a).startsWith("XHR timeout")?c="Timeout":n&&iM(n)?c="ClientError":n&&nM(n)?c="ServerError":c="Failed",r=c,new Ki(a,c)}finally{this.o.publicLog2("galleryService:getLatest",{extension:t,host:s.authority,duration:o.elapsed(),errorCode:r,statusCode:n?.res.statusCode&&n?.res.statusCode!==200?`${n.res.statusCode}`:void 0,server:this.M(n?.res.headers,Sf),activityId:this.M(n?.res.headers,kf),endToEndId:this.M(n?.res.headers,$f)})}}async reportStatistic(t,s,i,n){if(Ys){this.l.info("ExtensionGalleryService#reportStatistic: Skipped in web");return}const r=await this.y.getExtensionGalleryManifest();if(!r)return;const o=Pa(r,"ExtensionStatisticsUriTemplate");if(!o)return;const a=$i(o,{publisher:t,name:s,version:i,statTypeName:n}),u={...await this.h,Accept:"*/*;api-version=4.0-preview.1"};try{await this.k.request({type:"POST",url:a,headers:u},Te.None)}catch{}}async download(t,s,i){this.l.trace("ExtensionGalleryService#download",t.identifier.id);const n=zg(t),r=new Date().getTime(),o=i===2?"install":i===3?"update":"",a=o?{uri:`${t.assets.download.uri}${y.parse(t.assets.download.uri).query?"&":"?"}${o}=true`,fallbackUri:`${t.assets.download.fallbackUri}${y.parse(t.assets.download.fallbackUri).query?"&":"?"}${o}=true`}:t.assets.download,c=t.queryContext?.[wl],l=c&&typeof c=="string"?{[wl]:c}:void 0,u=await this.Q(t.identifier.id,a,Ot.VSIX,t.version,l?{headers:l}:void 0);try{await this.q.writeFile(s,u.stream)}catch(h){try{await this.q.del(s)}catch(d){this.l.warn(`Error while deleting the file ${s.toString()}`,de(d))}throw new Ki(de(h),"DownloadFailedWriting")}this.o.publicLog("galleryService:downloadVSIX",{...n,duration:new Date().getTime()-r})}async downloadSignatureArchive(t,s){if(!t.assets.signature)throw new Error("No signature asset found");this.l.trace("ExtensionGalleryService#downloadSignatureArchive",t.identifier.id);const i=await this.Q(t.identifier.id,t.assets.signature,Ot.Signature,t.version);try{await this.q.writeFile(s,i.stream)}catch(n){try{await this.q.del(s)}catch(r){this.l.warn(`Error while deleting the file ${s.toString()}`,de(r))}throw new Ki(de(n),"DownloadFailedWriting")}}async getReadme(t,s){if(t.assets.readme){const i=await this.Q(t.identifier.id,t.assets.readme,Ot.Details,t.version,{},s);return await so(i)||""}return""}async getManifest(t,s){if(t.assets.manifest){const i=await this.Q(t.identifier.id,t.assets.manifest,Ot.Manifest,t.version,{},s),n=await so(i);return n?JSON.parse(n):null}return null}async getCoreTranslation(t,s){const i=t.assets.coreTranslations.filter(n=>n[0]===s.toUpperCase())[0];if(i){const n=await this.Q(t.identifier.id,i[1],i[0],t.version),r=await so(n);return r?JSON.parse(r):null}return null}async getChangelog(t,s){if(t.assets.changelog){const i=await this.Q(t.identifier.id,t.assets.changelog,Ot.Changelog,t.version,{},s);return await so(i)||""}return""}async getAllVersions(t){return this.P(t)}async getAllCompatibleVersions(t,s,i){return this.P(t,{version:s?2:0,targetPlatform:i})}async P(t,s){const i=await this.y.getExtensionGalleryManifest();if(!i)throw new Error("No extension gallery service configured.");let n=new yl().withFlags("IncludeVersions","IncludeCategoryAndTags","IncludeFiles","IncludeVersionProperties").withPage(1,1);t.uuid?n=n.withFilter("ExtensionId",t.uuid):n=n.withFilter("ExtensionName",t.id);const{galleryExtensions:r}=await this.L(n,i,Te.None);if(!r.length)return[];const o=xf(r[0]);if(s&&ul(o,s.targetPlatform))return[];const a=[],c={version:this.u.version,date:this.u.date};await Promise.all(r[0].versions.map(async h=>{try{await this.E({id:t.id,version:h.version,isPreReleaseVersion:Aa(h),targetPlatform:lo(h),engine:Ef(h),manifestAsset:Ci(h,Ot.Manifest),enabledApiProposals:t0(h)},{compatible:!!s,productVersion:c,targetPlatform:s?.targetPlatform,version:s?.version??h.version},r[0].publisher.displayName,o)&&a.push(h)}catch{}}));const l=[],u=new Map;for(const h of F8(a,s?.targetPlatform??bl)){const d=u.get(h.version),p=d!==void 0?l[d]:void 0,g=lo(h);p?p.targetPlatforms.push(g):(u.set(h.version,l.length),l.push({version:h.version,date:h.lastUpdated,isPreReleaseVersion:Aa(h),targetPlatforms:[g]}))}return l}async Q(t,s,i,n,r={},o=Te.None){const a=await this.h,c={type:"GET"},l={...a,...r.headers||{}};r={...r,...c,headers:l};const u=s.uri,h=s.fallbackUri,d={...r,url:u,timeout:this.R()};let p;try{if(p=await this.k.request(d,o),p.res.statusCode===200)return p;const g=await so(p);throw new Error(`Expected 200, got back ${p.res.statusCode} instead. ${g}`)}catch(g){if(yn(g))throw g;const v=de(g);this.o.publicLog2("galleryService:cdnFallback",{extension:t,assetType:i,message:v,extensionVersion:n,server:this.M(p?.res.headers,Sf),activityId:this.M(p?.res.headers,kf),endToEndId:this.M(p?.res.headers,$f)});const w={...r,url:h,timeout:this.R()};return this.k.request(w,o)}}async getExtensionsControlManifest(){if(!await this.y.getExtensionGalleryManifest())throw new Error("No extension gallery service configured.");if(!this.d)return{malicious:[],deprecated:{},search:[],autoUpdate:{}};const s=await this.k.request({type:"GET",url:this.d,timeout:this.R()},Te.None);if(s.res.statusCode!==200)throw new Error("Could not get extensions report.");const i=await wa(s),n=[],r={},o=[],a=i?.autoUpdate??{};if(i){for(const c of i.malicious){if(!ee(c))continue;const l=of.test(c)?{id:c}:c;n.push({extensionOrPublisher:l,learnMoreLink:i.learnMoreLinks?.[c]})}if(i.migrateToPreRelease)for(const[c,l]of Object.entries(i.migrateToPreRelease))(!l.engine||qg(l.engine,this.u.version,this.u.date))&&(r[c.toLowerCase()]={disallowInstall:!0,extension:{id:l.id,displayName:l.displayName,autoMigrate:{storage:!!l.migrateStorage},preRelease:!0}});if(i.deprecated)for(const[c,l]of Object.entries(i.deprecated))l&&(r[c.toLowerCase()]=Wi(l)?{}:l);if(i.search)for(const c of i.search)o.push(c)}return r[this.u.defaultChatAgent.extensionId.toLowerCase()]={disallowInstall:!0,extension:{id:this.u.defaultChatAgent.chatExtensionId,displayName:"GitHub Copilot Chat",autoMigrate:{storage:!1,donotDisable:!0},preRelease:this.u.quality!=="stable"}},{malicious:n,deprecated:r,search:o,autoUpdate:a}}R(){const t=this.w.getValue(z7);return kn(t)&&t>=0?t:6e4}},El=__decorate([__param(1,Xi),__param(2,he),__param(3,Kt),__param(4,bs),__param(5,st),__param(6,ft),__param(7,Xt),__param(8,Mn),__param(9,co)],El),i0=class extends El{constructor(t,s,i,n,r,o,a,c,l,u){super(t,s,i,n,r,o,a,c,l,u)}},i0=__decorate([__param(0,C8),__param(1,Xi),__param(2,he),__param(3,Kt),__param(4,bs),__param(5,st),__param(6,ft),__param(7,Xt),__param(8,Mn),__param(9,co)],i0),xl=class extends El{constructor(t,s,i,n,r,o,a,c,l){super(void 0,t,s,i,n,r,o,a,c,l)}},xl=__decorate([__param(0,Xi),__param(1,he),__param(2,Kt),__param(3,bs),__param(4,st),__param(5,ft),__param(6,Xt),__param(7,Mn),__param(8,co)],xl)}});import{createWriteStream as W8,promises as G8}from"fs";function Dj(e){const t=e.externalFileAttributes>>16||33188;return[448,56,7].map(s=>t&s).reduce((s,i)=>s+i,t&61440)}function J8(e){if(e instanceof kl)return e;let t;return Y8.test(e.message)&&(t="CorruptZip"),new kl(t,e)}function Rj(e,t,s,i,n,r){const o=Ft(t),a=T(i,o);if(!a.startsWith(i))return Promise.reject(new Error(m(153,null,t)));const c=T(i,t);let l;return r.onCancellationRequested(()=>{l?.destroy()}),Promise.resolve(G8.mkdir(a,{recursive:!0})).then(()=>new Promise((u,h)=>{if(!r.isCancellationRequested)try{l=W8(c,{mode:s}),l.once("close",()=>u()),l.once("error",h),e.once("error",h),e.pipe(l)}catch(d){h(d)}}))}function Nj(e,t,s,i){let n=Dn(()=>Promise.resolve()),r=0;const o=i.onCancellationRequested(()=>{n.cancel(),e.close()});return new Promise((a,c)=>{const l=new i6,u=h=>{h.isCancellationRequested||(r++,e.readEntry())};e.once("error",c),e.once("close",()=>n.then(()=>{i.isCancellationRequested||e.entryCount===r?a():c(new kl("Incomplete",new Error(m(154,null,r,e.entryCount))))},c)),e.readEntry(),e.on("entry",h=>{if(i.isCancellationRequested)return;if(!s.sourcePathRegex.test(h.fileName)){u(i);return}const d=h.fileName.replace(s.sourcePathRegex,"");if(/\/$/.test(d)){const v=T(t,d);n=Dn(w=>G8.mkdir(v,{recursive:!0}).then(()=>u(w)).then(void 0,c));return}const p=Z8(e,h),g=Dj(h);n=Dn(v=>l.queue(()=>p.then(w=>Rj(w,d,g,t,s,v).then(()=>u(v)))).then(null,c))})}).finally(()=>o.dispose())}async function Q8(e,t=!1){const{open:s}=await import("yauzl");return new Promise((i,n)=>{s(e,t?{lazyEntries:!0}:void 0,(r,o)=>{r?n(J8(r)):i(p1(o))})})}function Z8(e,t){return new Promise((s,i)=>{e.openReadStream(t,(n,r)=>{n?i(J8(n)):s(p1(r))})})}async function Cj(e,t){const{ZipFile:s}=await import("yazl");return new Promise((i,n)=>{const r=new s;t.forEach(a=>{a.contents?r.addBuffer(typeof a.contents=="string"?Buffer.from(a.contents,"utf8"):a.contents,a.path):a.localPath&&r.addFile(a.localPath,a.path)}),r.end();const o=W8(e);r.outputStream.pipe(o),r.outputStream.once("error",n),o.once("error",n),o.once("finish",()=>i(e))})}function Lj(e,t,s={},i){const n=new RegExp(s.sourcePath?`^${s.sourcePath}`:"");let r=Q8(e,!0);return s.overwrite&&(r=r.then(o=>xe.rm(t).then(()=>o))),r.then(o=>Nj(o,t,{sourcePathRegex:n},i))}function Oj(e,t){return Q8(e).then(s=>new Promise((i,n)=>{s.on("entry",r=>{r.fileName===t&&Z8(s,r).then(o=>i(o),o=>n(o))}),s.once("close",()=>n(new Error(m(155,null,t))))}))}function X8(e,t){return Oj(e,t).then(s=>new Promise((i,n)=>{const r=[];s.once("error",n),s.on("data",o=>r.push(o)),s.on("end",()=>i(Buffer.concat(r)))}))}var n0,Y8,kl,r0=b({"out-build/vs/base/node/zip.js"(){"use strict";Le(),ge(),be(),ms(),ae(),n0="end of central directory record signature not found",Y8=new RegExp(n0),kl=class extends Error{constructor(e,t){let s=t.message;e==="CorruptZip"&&(s=`Corrupt ZIP: ${s}`),super(s),this.type=e,this.cause=t}}}}),If,o0=b({"out-build/vs/platform/download/common/download.js"(){"use strict";te(),If=Z("downloadService")}}),Mj,K8,eE,tE,_j,jj,Uj,Tj,Fj=b({"out-build/vs/base/common/naturalLanguage/korean.js"(){"use strict";Mj=new Uint32Array(10),(function(e){e[e.InitialConsonant=4352]="InitialConsonant",e[e.Vowel=4449]="Vowel",e[e.FinalConsonant=4520]="FinalConsonant",e[e.CompatibilityJamo=12593]="CompatibilityJamo"})(K8||(K8={})),(function(e){e[e.NUL=0]="NUL",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.a=97]="a",e[e.b=98]="b",e[e.c=99]="c",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.g=103]="g",e[e.h=104]="h",e[e.i=105]="i",e[e.j=106]="j",e[e.k=107]="k",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.p=112]="p",e[e.q=113]="q",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.v=118]="v",e[e.w=119]="w",e[e.x=120]="x",e[e.y=121]="y",e[e.z=122]="z"})(eE||(eE={})),(function(e){e[e.fa=24934]="fa",e[e.fg=26470]="fg",e[e.fq=29030]="fq",e[e.fr=29286]="fr",e[e.ft=29798]="ft",e[e.fv=30310]="fv",e[e.fx=30822]="fx",e[e.hk=27496]="hk",e[e.hl=27752]="hl",e[e.ho=28520]="ho",e[e.ml=27757]="ml",e[e.nj=27246]="nj",e[e.nl=27758]="nl",e[e.np=28782]="np",e[e.qt=29809]="qt",e[e.rt=29810]="rt",e[e.sg=26483]="sg",e[e.sw=30579]="sw"})(tE||(tE={})),_j=new Uint8Array([114,82,115,101,69,102,97,113,81,116,84,100,119,87,99,122,120,118,103]),jj=new Uint16Array([107,111,105,79,106,112,117,80,104,27496,28520,27752,121,110,27246,28782,27758,98,109,27757,108]),Uj=new Uint16Array([114,82,29810,115,30579,26483,101,102,29286,24934,29030,29798,30822,30310,26470,97,113,29809,116,84,100,119,99,122,120,118,103]),Tj=new Uint16Array([114,82,29810,115,30579,26483,101,69,102,29286,24934,29030,29798,30822,30310,26470,97,113,81,29809,116,84,100,119,87,99,122,120,118,103,107,111,105,79,106,112,117,80,104,27496,28520,27752,121,110,27246,28782,27758,98,109,27757,108])}});function sE(...e){return function(t,s){for(let i=0,n=e.length;i0?[{start:0,end:t.length}]:[]:null}function Hj(e,t){if(e.length>t.length)return null;const s=t.toLowerCase().indexOf(e.toLowerCase());return s===-1?null:[{start:s,end:s+e.length}]}function zj(e,t){return e.length>t.length?null:a0(e.toLowerCase(),t.toLowerCase(),0,0)}function a0(e,t,s,i){if(s===e.length)return[];if(i===t.length)return null;if(e[s]===t[i]){let n=null;return(n=a0(e,t,s+1,i+1))?rE({start:i,end:i+1},n):null}return a0(e,t,s,i+1)}function c0(e){return 97<=e&&e<=122}function Pf(e){return 65<=e&&e<=90}function l0(e){return 48<=e&&e<=57}function Vj(e){return e===32||e===9||e===10||e===13}function nE(e){return c0(e)||Pf(e)||l0(e)}function rE(e,t){return t.length===0?t=[e]:e.end===t[0].start?t[0].start=e.start:t.unshift(e),t}function oE(e,t){for(let s=t;s0&&!nE(e.charCodeAt(s-1)))return s}return e.length}function u0(e,t,s,i){if(s===e.length)return[];if(i===t.length)return null;if(e[s]!==t[i].toLowerCase())return null;{let n=null,r=i+1;for(n=u0(e,t,s+1,i+1);!n&&(r=oE(t,r)).6}function Wj(e){const{upperPercent:t,lowerPercent:s,alphaPercent:i,numericPercent:n}=e;return s>.2&&t<.8&&i>.6&&n<.2}function Gj(e){let t=0,s=0,i=0,n=0;for(let r=0;r60&&(t=t.substring(0,60));const s=Bj(t);if(!Wj(s)){if(!qj(s))return null;t=t.toLowerCase()}let i=null,n=0;for(e=e.toLowerCase();n`'\"-/;:,.?!".split("").forEach(e=>lE.add(e.charCodeAt(0))),Qj=sE(f0,aE,Hj),Zj=sE(f0,aE,zj),Xj=new qo(1e4),Sl=128,Yj=cE(2*Sl),Kj=cE(2*Sl),eU=h0(),tU=h0(),sU=h0(),(function(e){e[e.Diag=1]="Diag",e[e.Left=2]="Left",e[e.LeftLeft=3]="LeftLeft"})(uE||(uE={})),(function(e){e.Default=[-100,0];function t(s){return!s||s.length===2&&s[0]===-100&&s[1]===0}e.isDefault=t})(hE||(hE={})),iU=class{static{this.default={boostFullMatch:!0,firstMatchCanBeWeak:!1}}constructor(e,t){this.firstMatchCanBeWeak=e,this.boostFullMatch=t}}}});function f(e,t){if(ee(t)){const s=d0[t];if(s===void 0)throw new Error(`${e} references an unknown codicon: ${t}`);t=s}return d0[e]=t,{id:e}}var d0,fE=b({"out-build/vs/base/common/codiconsUtil.js"(){"use strict";be(),d0=Object.create(null)}}),dE,rU=b({"out-build/vs/base/common/codiconsLibrary.js"(){"use strict";fE(),dE={add:f("add",6e4),plus:f("plus",6e4),gistNew:f("gist-new",6e4),repoCreate:f("repo-create",6e4),lightbulb:f("lightbulb",60001),lightBulb:f("light-bulb",60001),repo:f("repo",60002),repoDelete:f("repo-delete",60002),gistFork:f("gist-fork",60003),repoForked:f("repo-forked",60003),gitPullRequest:f("git-pull-request",60004),gitPullRequestAbandoned:f("git-pull-request-abandoned",60004),recordKeys:f("record-keys",60005),keyboard:f("keyboard",60005),tag:f("tag",60006),gitPullRequestLabel:f("git-pull-request-label",60006),tagAdd:f("tag-add",60006),tagRemove:f("tag-remove",60006),person:f("person",60007),personFollow:f("person-follow",60007),personOutline:f("person-outline",60007),personFilled:f("person-filled",60007),sourceControl:f("source-control",60008),mirror:f("mirror",60009),mirrorPublic:f("mirror-public",60009),star:f("star",60010),starAdd:f("star-add",60010),starDelete:f("star-delete",60010),starEmpty:f("star-empty",60010),comment:f("comment",60011),commentAdd:f("comment-add",60011),alert:f("alert",60012),warning:f("warning",60012),search:f("search",60013),searchSave:f("search-save",60013),logOut:f("log-out",60014),signOut:f("sign-out",60014),logIn:f("log-in",60015),signIn:f("sign-in",60015),eye:f("eye",60016),eyeUnwatch:f("eye-unwatch",60016),eyeWatch:f("eye-watch",60016),circleFilled:f("circle-filled",60017),primitiveDot:f("primitive-dot",60017),closeDirty:f("close-dirty",60017),debugBreakpoint:f("debug-breakpoint",60017),debugBreakpointDisabled:f("debug-breakpoint-disabled",60017),debugHint:f("debug-hint",60017),terminalDecorationSuccess:f("terminal-decoration-success",60017),primitiveSquare:f("primitive-square",60018),edit:f("edit",60019),pencil:f("pencil",60019),info:f("info",60020),issueOpened:f("issue-opened",60020),gistPrivate:f("gist-private",60021),gitForkPrivate:f("git-fork-private",60021),lock:f("lock",60021),mirrorPrivate:f("mirror-private",60021),close:f("close",60022),removeClose:f("remove-close",60022),x:f("x",60022),repoSync:f("repo-sync",60023),sync:f("sync",60023),clone:f("clone",60024),desktopDownload:f("desktop-download",60024),beaker:f("beaker",60025),microscope:f("microscope",60025),vm:f("vm",60026),deviceDesktop:f("device-desktop",60026),file:f("file",60027),more:f("more",60028),ellipsis:f("ellipsis",60028),kebabHorizontal:f("kebab-horizontal",60028),mailReply:f("mail-reply",60029),reply:f("reply",60029),organization:f("organization",60030),organizationFilled:f("organization-filled",60030),organizationOutline:f("organization-outline",60030),newFile:f("new-file",60031),fileAdd:f("file-add",60031),newFolder:f("new-folder",60032),fileDirectoryCreate:f("file-directory-create",60032),trash:f("trash",60033),trashcan:f("trashcan",60033),history:f("history",60034),clock:f("clock",60034),folder:f("folder",60035),fileDirectory:f("file-directory",60035),symbolFolder:f("symbol-folder",60035),logoGithub:f("logo-github",60036),markGithub:f("mark-github",60036),github:f("github",60036),terminal:f("terminal",60037),console:f("console",60037),repl:f("repl",60037),zap:f("zap",60038),symbolEvent:f("symbol-event",60038),error:f("error",60039),stop:f("stop",60039),variable:f("variable",60040),symbolVariable:f("symbol-variable",60040),array:f("array",60042),symbolArray:f("symbol-array",60042),symbolModule:f("symbol-module",60043),symbolPackage:f("symbol-package",60043),symbolNamespace:f("symbol-namespace",60043),symbolObject:f("symbol-object",60043),symbolMethod:f("symbol-method",60044),symbolFunction:f("symbol-function",60044),symbolConstructor:f("symbol-constructor",60044),symbolBoolean:f("symbol-boolean",60047),symbolNull:f("symbol-null",60047),symbolNumeric:f("symbol-numeric",60048),symbolNumber:f("symbol-number",60048),symbolStructure:f("symbol-structure",60049),symbolStruct:f("symbol-struct",60049),symbolParameter:f("symbol-parameter",60050),symbolTypeParameter:f("symbol-type-parameter",60050),symbolKey:f("symbol-key",60051),symbolText:f("symbol-text",60051),symbolReference:f("symbol-reference",60052),goToFile:f("go-to-file",60052),symbolEnum:f("symbol-enum",60053),symbolValue:f("symbol-value",60053),symbolRuler:f("symbol-ruler",60054),symbolUnit:f("symbol-unit",60054),activateBreakpoints:f("activate-breakpoints",60055),archive:f("archive",60056),arrowBoth:f("arrow-both",60057),arrowDown:f("arrow-down",60058),arrowLeft:f("arrow-left",60059),arrowRight:f("arrow-right",60060),arrowSmallDown:f("arrow-small-down",60061),arrowSmallLeft:f("arrow-small-left",60062),arrowSmallRight:f("arrow-small-right",60063),arrowSmallUp:f("arrow-small-up",60064),arrowUp:f("arrow-up",60065),bell:f("bell",60066),bold:f("bold",60067),book:f("book",60068),bookmark:f("bookmark",60069),debugBreakpointConditionalUnverified:f("debug-breakpoint-conditional-unverified",60070),debugBreakpointConditional:f("debug-breakpoint-conditional",60071),debugBreakpointConditionalDisabled:f("debug-breakpoint-conditional-disabled",60071),debugBreakpointDataUnverified:f("debug-breakpoint-data-unverified",60072),debugBreakpointData:f("debug-breakpoint-data",60073),debugBreakpointDataDisabled:f("debug-breakpoint-data-disabled",60073),debugBreakpointLogUnverified:f("debug-breakpoint-log-unverified",60074),debugBreakpointLog:f("debug-breakpoint-log",60075),debugBreakpointLogDisabled:f("debug-breakpoint-log-disabled",60075),briefcase:f("briefcase",60076),broadcast:f("broadcast",60077),browser:f("browser",60078),bug:f("bug",60079),calendar:f("calendar",60080),caseSensitive:f("case-sensitive",60081),check:f("check",60082),checklist:f("checklist",60083),chevronDown:f("chevron-down",60084),chevronLeft:f("chevron-left",60085),chevronRight:f("chevron-right",60086),chevronUp:f("chevron-up",60087),chromeClose:f("chrome-close",60088),chromeMaximize:f("chrome-maximize",60089),chromeMinimize:f("chrome-minimize",60090),chromeRestore:f("chrome-restore",60091),circleOutline:f("circle-outline",60092),circle:f("circle",60092),debugBreakpointUnverified:f("debug-breakpoint-unverified",60092),terminalDecorationIncomplete:f("terminal-decoration-incomplete",60092),circleSlash:f("circle-slash",60093),circuitBoard:f("circuit-board",60094),clearAll:f("clear-all",60095),clippy:f("clippy",60096),closeAll:f("close-all",60097),cloudDownload:f("cloud-download",60098),cloudUpload:f("cloud-upload",60099),code:f("code",60100),collapseAll:f("collapse-all",60101),colorMode:f("color-mode",60102),commentDiscussion:f("comment-discussion",60103),creditCard:f("credit-card",60105),dash:f("dash",60108),dashboard:f("dashboard",60109),database:f("database",60110),debugContinue:f("debug-continue",60111),debugDisconnect:f("debug-disconnect",60112),debugPause:f("debug-pause",60113),debugRestart:f("debug-restart",60114),debugStart:f("debug-start",60115),debugStepInto:f("debug-step-into",60116),debugStepOut:f("debug-step-out",60117),debugStepOver:f("debug-step-over",60118),debugStop:f("debug-stop",60119),debug:f("debug",60120),deviceCameraVideo:f("device-camera-video",60121),deviceCamera:f("device-camera",60122),deviceMobile:f("device-mobile",60123),diffAdded:f("diff-added",60124),diffIgnored:f("diff-ignored",60125),diffModified:f("diff-modified",60126),diffRemoved:f("diff-removed",60127),diffRenamed:f("diff-renamed",60128),diff:f("diff",60129),diffSidebyside:f("diff-sidebyside",60129),discard:f("discard",60130),editorLayout:f("editor-layout",60131),emptyWindow:f("empty-window",60132),exclude:f("exclude",60133),extensions:f("extensions",60134),eyeClosed:f("eye-closed",60135),fileBinary:f("file-binary",60136),fileCode:f("file-code",60137),fileMedia:f("file-media",60138),filePdf:f("file-pdf",60139),fileSubmodule:f("file-submodule",60140),fileSymlinkDirectory:f("file-symlink-directory",60141),fileSymlinkFile:f("file-symlink-file",60142),fileZip:f("file-zip",60143),files:f("files",60144),filter:f("filter",60145),flame:f("flame",60146),foldDown:f("fold-down",60147),foldUp:f("fold-up",60148),fold:f("fold",60149),folderActive:f("folder-active",60150),folderOpened:f("folder-opened",60151),gear:f("gear",60152),gift:f("gift",60153),gistSecret:f("gist-secret",60154),gist:f("gist",60155),gitCommit:f("git-commit",60156),gitCompare:f("git-compare",60157),compareChanges:f("compare-changes",60157),gitMerge:f("git-merge",60158),githubAction:f("github-action",60159),githubAlt:f("github-alt",60160),globe:f("globe",60161),grabber:f("grabber",60162),graph:f("graph",60163),gripper:f("gripper",60164),heart:f("heart",60165),home:f("home",60166),horizontalRule:f("horizontal-rule",60167),hubot:f("hubot",60168),inbox:f("inbox",60169),issueReopened:f("issue-reopened",60171),issues:f("issues",60172),italic:f("italic",60173),jersey:f("jersey",60174),json:f("json",60175),bracket:f("bracket",60175),kebabVertical:f("kebab-vertical",60176),key:f("key",60177),law:f("law",60178),lightbulbAutofix:f("lightbulb-autofix",60179),linkExternal:f("link-external",60180),link:f("link",60181),listOrdered:f("list-ordered",60182),listUnordered:f("list-unordered",60183),liveShare:f("live-share",60184),loading:f("loading",60185),location:f("location",60186),mailRead:f("mail-read",60187),mail:f("mail",60188),markdown:f("markdown",60189),megaphone:f("megaphone",60190),mention:f("mention",60191),milestone:f("milestone",60192),gitPullRequestMilestone:f("git-pull-request-milestone",60192),mortarBoard:f("mortar-board",60193),move:f("move",60194),multipleWindows:f("multiple-windows",60195),mute:f("mute",60196),noNewline:f("no-newline",60197),note:f("note",60198),octoface:f("octoface",60199),openPreview:f("open-preview",60200),package:f("package",60201),paintcan:f("paintcan",60202),pin:f("pin",60203),play:f("play",60204),run:f("run",60204),plug:f("plug",60205),preserveCase:f("preserve-case",60206),preview:f("preview",60207),project:f("project",60208),pulse:f("pulse",60209),question:f("question",60210),quote:f("quote",60211),radioTower:f("radio-tower",60212),reactions:f("reactions",60213),references:f("references",60214),refresh:f("refresh",60215),regex:f("regex",60216),remoteExplorer:f("remote-explorer",60217),remote:f("remote",60218),remove:f("remove",60219),replaceAll:f("replace-all",60220),replace:f("replace",60221),repoClone:f("repo-clone",60222),repoForcePush:f("repo-force-push",60223),repoPull:f("repo-pull",60224),repoPush:f("repo-push",60225),report:f("report",60226),requestChanges:f("request-changes",60227),rocket:f("rocket",60228),rootFolderOpened:f("root-folder-opened",60229),rootFolder:f("root-folder",60230),rss:f("rss",60231),ruby:f("ruby",60232),saveAll:f("save-all",60233),saveAs:f("save-as",60234),save:f("save",60235),screenFull:f("screen-full",60236),screenNormal:f("screen-normal",60237),searchStop:f("search-stop",60238),server:f("server",60240),settingsGear:f("settings-gear",60241),settings:f("settings",60242),shield:f("shield",60243),smiley:f("smiley",60244),sortPrecedence:f("sort-precedence",60245),splitHorizontal:f("split-horizontal",60246),splitVertical:f("split-vertical",60247),squirrel:f("squirrel",60248),starFull:f("star-full",60249),starHalf:f("star-half",60250),symbolClass:f("symbol-class",60251),symbolColor:f("symbol-color",60252),symbolConstant:f("symbol-constant",60253),symbolEnumMember:f("symbol-enum-member",60254),symbolField:f("symbol-field",60255),symbolFile:f("symbol-file",60256),symbolInterface:f("symbol-interface",60257),symbolKeyword:f("symbol-keyword",60258),symbolMisc:f("symbol-misc",60259),symbolOperator:f("symbol-operator",60260),symbolProperty:f("symbol-property",60261),wrench:f("wrench",60261),wrenchSubaction:f("wrench-subaction",60261),symbolSnippet:f("symbol-snippet",60262),tasklist:f("tasklist",60263),telescope:f("telescope",60264),textSize:f("text-size",60265),threeBars:f("three-bars",60266),thumbsdown:f("thumbsdown",60267),thumbsup:f("thumbsup",60268),tools:f("tools",60269),triangleDown:f("triangle-down",60270),triangleLeft:f("triangle-left",60271),triangleRight:f("triangle-right",60272),triangleUp:f("triangle-up",60273),twitter:f("twitter",60274),unfold:f("unfold",60275),unlock:f("unlock",60276),unmute:f("unmute",60277),unverified:f("unverified",60278),verified:f("verified",60279),versions:f("versions",60280),vmActive:f("vm-active",60281),vmOutline:f("vm-outline",60282),vmRunning:f("vm-running",60283),watch:f("watch",60284),whitespace:f("whitespace",60285),wholeWord:f("whole-word",60286),window:f("window",60287),wordWrap:f("word-wrap",60288),zoomIn:f("zoom-in",60289),zoomOut:f("zoom-out",60290),listFilter:f("list-filter",60291),listFlat:f("list-flat",60292),listSelection:f("list-selection",60293),selection:f("selection",60293),listTree:f("list-tree",60294),debugBreakpointFunctionUnverified:f("debug-breakpoint-function-unverified",60295),debugBreakpointFunction:f("debug-breakpoint-function",60296),debugBreakpointFunctionDisabled:f("debug-breakpoint-function-disabled",60296),debugStackframeActive:f("debug-stackframe-active",60297),circleSmallFilled:f("circle-small-filled",60298),debugStackframeDot:f("debug-stackframe-dot",60298),terminalDecorationMark:f("terminal-decoration-mark",60298),debugStackframe:f("debug-stackframe",60299),debugStackframeFocused:f("debug-stackframe-focused",60299),debugBreakpointUnsupported:f("debug-breakpoint-unsupported",60300),symbolString:f("symbol-string",60301),debugReverseContinue:f("debug-reverse-continue",60302),debugStepBack:f("debug-step-back",60303),debugRestartFrame:f("debug-restart-frame",60304),debugAlt:f("debug-alt",60305),callIncoming:f("call-incoming",60306),callOutgoing:f("call-outgoing",60307),menu:f("menu",60308),expandAll:f("expand-all",60309),feedback:f("feedback",60310),gitPullRequestReviewer:f("git-pull-request-reviewer",60310),groupByRefType:f("group-by-ref-type",60311),ungroupByRefType:f("ungroup-by-ref-type",60312),account:f("account",60313),gitPullRequestAssignee:f("git-pull-request-assignee",60313),bellDot:f("bell-dot",60314),debugConsole:f("debug-console",60315),library:f("library",60316),output:f("output",60317),runAll:f("run-all",60318),syncIgnored:f("sync-ignored",60319),pinned:f("pinned",60320),githubInverted:f("github-inverted",60321),serverProcess:f("server-process",60322),serverEnvironment:f("server-environment",60323),pass:f("pass",60324),issueClosed:f("issue-closed",60324),stopCircle:f("stop-circle",60325),playCircle:f("play-circle",60326),record:f("record",60327),debugAltSmall:f("debug-alt-small",60328),vmConnect:f("vm-connect",60329),cloud:f("cloud",60330),merge:f("merge",60331),export:f("export",60332),graphLeft:f("graph-left",60333),magnet:f("magnet",60334),notebook:f("notebook",60335),redo:f("redo",60336),checkAll:f("check-all",60337),pinnedDirty:f("pinned-dirty",60338),passFilled:f("pass-filled",60339),circleLargeFilled:f("circle-large-filled",60340),circleLarge:f("circle-large",60341),circleLargeOutline:f("circle-large-outline",60341),combine:f("combine",60342),gather:f("gather",60342),table:f("table",60343),variableGroup:f("variable-group",60344),typeHierarchy:f("type-hierarchy",60345),typeHierarchySub:f("type-hierarchy-sub",60346),typeHierarchySuper:f("type-hierarchy-super",60347),gitPullRequestCreate:f("git-pull-request-create",60348),runAbove:f("run-above",60349),runBelow:f("run-below",60350),notebookTemplate:f("notebook-template",60351),debugRerun:f("debug-rerun",60352),workspaceTrusted:f("workspace-trusted",60353),workspaceUntrusted:f("workspace-untrusted",60354),workspaceUnknown:f("workspace-unknown",60355),terminalCmd:f("terminal-cmd",60356),terminalDebian:f("terminal-debian",60357),terminalLinux:f("terminal-linux",60358),terminalPowershell:f("terminal-powershell",60359),terminalTmux:f("terminal-tmux",60360),terminalUbuntu:f("terminal-ubuntu",60361),terminalBash:f("terminal-bash",60362),arrowSwap:f("arrow-swap",60363),copy:f("copy",60364),personAdd:f("person-add",60365),filterFilled:f("filter-filled",60366),wand:f("wand",60367),debugLineByLine:f("debug-line-by-line",60368),inspect:f("inspect",60369),layers:f("layers",60370),layersDot:f("layers-dot",60371),layersActive:f("layers-active",60372),compass:f("compass",60373),compassDot:f("compass-dot",60374),compassActive:f("compass-active",60375),azure:f("azure",60376),issueDraft:f("issue-draft",60377),gitPullRequestClosed:f("git-pull-request-closed",60378),gitPullRequestDraft:f("git-pull-request-draft",60379),debugAll:f("debug-all",60380),debugCoverage:f("debug-coverage",60381),runErrors:f("run-errors",60382),folderLibrary:f("folder-library",60383),debugContinueSmall:f("debug-continue-small",60384),beakerStop:f("beaker-stop",60385),graphLine:f("graph-line",60386),graphScatter:f("graph-scatter",60387),pieChart:f("pie-chart",60388),bracketDot:f("bracket-dot",60389),bracketError:f("bracket-error",60390),lockSmall:f("lock-small",60391),azureDevops:f("azure-devops",60392),verifiedFilled:f("verified-filled",60393),newline:f("newline",60394),layout:f("layout",60395),layoutActivitybarLeft:f("layout-activitybar-left",60396),layoutActivitybarRight:f("layout-activitybar-right",60397),layoutPanelLeft:f("layout-panel-left",60398),layoutPanelCenter:f("layout-panel-center",60399),layoutPanelJustify:f("layout-panel-justify",60400),layoutPanelRight:f("layout-panel-right",60401),layoutPanel:f("layout-panel",60402),layoutSidebarLeft:f("layout-sidebar-left",60403),layoutSidebarRight:f("layout-sidebar-right",60404),layoutStatusbar:f("layout-statusbar",60405),layoutMenubar:f("layout-menubar",60406),layoutCentered:f("layout-centered",60407),target:f("target",60408),indent:f("indent",60409),recordSmall:f("record-small",60410),errorSmall:f("error-small",60411),terminalDecorationError:f("terminal-decoration-error",60411),arrowCircleDown:f("arrow-circle-down",60412),arrowCircleLeft:f("arrow-circle-left",60413),arrowCircleRight:f("arrow-circle-right",60414),arrowCircleUp:f("arrow-circle-up",60415),layoutSidebarRightOff:f("layout-sidebar-right-off",60416),layoutPanelOff:f("layout-panel-off",60417),layoutSidebarLeftOff:f("layout-sidebar-left-off",60418),blank:f("blank",60419),heartFilled:f("heart-filled",60420),map:f("map",60421),mapHorizontal:f("map-horizontal",60421),foldHorizontal:f("fold-horizontal",60421),mapFilled:f("map-filled",60422),mapHorizontalFilled:f("map-horizontal-filled",60422),foldHorizontalFilled:f("fold-horizontal-filled",60422),circleSmall:f("circle-small",60423),bellSlash:f("bell-slash",60424),bellSlashDot:f("bell-slash-dot",60425),commentUnresolved:f("comment-unresolved",60426),gitPullRequestGoToChanges:f("git-pull-request-go-to-changes",60427),gitPullRequestNewChanges:f("git-pull-request-new-changes",60428),searchFuzzy:f("search-fuzzy",60429),commentDraft:f("comment-draft",60430),send:f("send",60431),sparkle:f("sparkle",60432),insert:f("insert",60433),mic:f("mic",60434),thumbsdownFilled:f("thumbsdown-filled",60435),thumbsupFilled:f("thumbsup-filled",60436),coffee:f("coffee",60437),snake:f("snake",60438),game:f("game",60439),vr:f("vr",60440),chip:f("chip",60441),piano:f("piano",60442),music:f("music",60443),micFilled:f("mic-filled",60444),repoFetch:f("repo-fetch",60445),copilot:f("copilot",60446),lightbulbSparkle:f("lightbulb-sparkle",60447),robot:f("robot",60448),sparkleFilled:f("sparkle-filled",60449),diffSingle:f("diff-single",60450),diffMultiple:f("diff-multiple",60451),surroundWith:f("surround-with",60452),share:f("share",60453),gitStash:f("git-stash",60454),gitStashApply:f("git-stash-apply",60455),gitStashPop:f("git-stash-pop",60456),vscode:f("vscode",60457),vscodeInsiders:f("vscode-insiders",60458),codeOss:f("code-oss",60459),runCoverage:f("run-coverage",60460),runAllCoverage:f("run-all-coverage",60461),coverage:f("coverage",60462),githubProject:f("github-project",60463),mapVertical:f("map-vertical",60464),foldVertical:f("fold-vertical",60464),mapVerticalFilled:f("map-vertical-filled",60465),foldVerticalFilled:f("fold-vertical-filled",60465),goToSearch:f("go-to-search",60466),percentage:f("percentage",60467),sortPercentage:f("sort-percentage",60467),attach:f("attach",60468),goToEditingSession:f("go-to-editing-session",60469),editSession:f("edit-session",60470),codeReview:f("code-review",60471),copilotWarning:f("copilot-warning",60472),python:f("python",60473),copilotLarge:f("copilot-large",60474),copilotWarningLarge:f("copilot-warning-large",60475),keyboardTab:f("keyboard-tab",60476),copilotBlocked:f("copilot-blocked",60477),copilotNotConnected:f("copilot-not-connected",60478),flag:f("flag",60479),lightbulbEmpty:f("lightbulb-empty",60480),symbolMethodArrow:f("symbol-method-arrow",60481),copilotUnavailable:f("copilot-unavailable",60482),repoPinned:f("repo-pinned",60483),keyboardTabAbove:f("keyboard-tab-above",60484),keyboardTabBelow:f("keyboard-tab-below",60485),gitPullRequestDone:f("git-pull-request-done",60486),mcp:f("mcp",60487),extensionsLarge:f("extensions-large",60488),layoutPanelDock:f("layout-panel-dock",60489),layoutSidebarLeftDock:f("layout-sidebar-left-dock",60490),layoutSidebarRightDock:f("layout-sidebar-right-dock",60491),copilotInProgress:f("copilot-in-progress",60492),copilotError:f("copilot-error",60493),copilotSuccess:f("copilot-success",60494),chatSparkle:f("chat-sparkle",60495),searchSparkle:f("search-sparkle",60496),editSparkle:f("edit-sparkle",60497),copilotSnooze:f("copilot-snooze",60498),sendToRemoteAgent:f("send-to-remote-agent",60499),commentDiscussionSparkle:f("comment-discussion-sparkle",60500),chatSparkleWarning:f("chat-sparkle-warning",60501),chatSparkleError:f("chat-sparkle-error",60502),collection:f("collection",60503),newCollection:f("new-collection",60504),thinking:f("thinking",60505),build:f("build",60506),commentDiscussionQuote:f("comment-discussion-quote",60507),cursor:f("cursor",60508),eraser:f("eraser",60509),fileText:f("file-text",60510),quotes:f("quotes",60512),rename:f("rename",60513),runWithDeps:f("run-with-deps",60514),debugConnected:f("debug-connected",60515),strikethrough:f("strikethrough",60516),openInProduct:f("open-in-product",60517),indexZero:f("index-zero",60518),agent:f("agent",60519),editCode:f("edit-code",60520),repoSelected:f("repo-selected",60521),skip:f("skip",60522),mergeInto:f("merge-into",60523),gitBranchChanges:f("git-branch-changes",60524),gitBranchStagedChanges:f("git-branch-staged-changes",60525),gitBranchConflicts:f("git-branch-conflicts",60526),gitBranch:f("git-branch",60527),gitBranchCreate:f("git-branch-create",60527),gitBranchDelete:f("git-branch-delete",60527),searchLarge:f("search-large",60528),terminalGitBash:f("terminal-git-bash",60529),windowActive:f("window-active",60530),forward:f("forward",60531),download:f("download",60532),clockface:f("clockface",60533),unarchive:f("unarchive",60534),sessionInProgress:f("session-in-progress",60535),collectionSmall:f("collection-small",60536),vmSmall:f("vm-small",60537),cloudSmall:f("cloud-small",60538),addSmall:f("add-small",60539),removeSmall:f("remove-small",60540),worktreeSmall:f("worktree-small",60541),worktree:f("worktree",60542),screenCut:f("screen-cut",60543),ask:f("ask",60544),openai:f("openai",60545),claude:f("claude",60546)}}});function pE(){return Object.values(M)}var mE,M,Da=b({"out-build/vs/base/common/codicons.js"(){"use strict";fE(),rU(),mE={dialogError:f("dialog-error","error"),dialogWarning:f("dialog-warning","warning"),dialogInfo:f("dialog-info","info"),dialogClose:f("dialog-close","close"),treeItemExpanded:f("tree-item-expanded","chevron-down"),treeFilterOnTypeOn:f("tree-filter-on-type-on","list-filter"),treeFilterOnTypeOff:f("tree-filter-on-type-off","list-selection"),treeFilterClear:f("tree-filter-clear","close"),treeItemLoading:f("tree-item-loading","loading"),menuSelection:f("menu-selection","check"),menuSubmenu:f("menu-submenu","chevron-right"),menuBarMore:f("menubar-more","more"),scrollbarButtonLeft:f("scrollbar-button-left","triangle-left"),scrollbarButtonRight:f("scrollbar-button-right","triangle-right"),scrollbarButtonUp:f("scrollbar-button-up","triangle-up"),scrollbarButtonDown:f("scrollbar-button-down","triangle-down"),toolBarMore:f("toolbar-more","more"),quickInputBack:f("quick-input-back","arrow-left"),dropDownButton:f("drop-down-button",60084),symbolCustomColor:f("symbol-customcolor",60252),exportIcon:f("export",60332),workspaceUnspecified:f("workspace-unspecified",60355),newLine:f("newline",60394),thumbsDownFilled:f("thumbsdown-filled",60435),thumbsUpFilled:f("thumbsup-filled",60436),gitFetch:f("git-fetch",60445),lightbulbSparkleAutofix:f("lightbulb-sparkle-autofix",60447),debugBreakpointPending:f("debug-breakpoint-pending",60377)},M={...dE,...mE}}}),p0,tn,Af=b({"out-build/vs/base/common/themables.js"(){"use strict";Da(),(function(e){function t(s){return!!s&&typeof s=="object"&&typeof s.id=="string"}e.isThemeColor=t})(p0||(p0={})),(function(e){e.iconNameSegment="[A-Za-z0-9]+",e.iconNameExpression="[A-Za-z0-9-]+",e.iconModifierExpression="~[A-Za-z]+",e.iconNameCharacter="[A-Za-z0-9~-]";const t=new RegExp(`^(${e.iconNameExpression})(${e.iconModifierExpression})?$`);function s(g){const v=t.exec(g.id);if(!v)return s(M.error);const[,w,k]=v,x=["codicon","codicon-"+w];return k&&x.push("codicon-modifier-"+k.substring(1)),x}e.asClassNameArray=s;function i(g){return s(g).join(" ")}e.asClassName=i;function n(g){return"."+s(g).join(".")}e.asCSSSelector=n;function r(g){return!!g&&typeof g=="object"&&typeof g.id=="string"&&(typeof g.color>"u"||p0.isThemeColor(g.color))}e.isThemeIcon=r;const o=new RegExp(`^\\$\\((${e.iconNameExpression}(?:${e.iconModifierExpression})?)\\)$`);function a(g){const v=o.exec(g);if(!v)return;const[,w]=v;return{id:w}}e.fromString=a;function c(g){return{id:g}}e.fromId=c;function l(g,v){let w=g.id;const k=w.lastIndexOf("~");return k!==-1&&(w=w.substring(0,k)),v&&(w=`${w}~${v}`),{id:w}}e.modify=l;function u(g){const v=g.id.lastIndexOf("~");if(v!==-1)return g.id.substring(v+1)}e.getModifier=u;function h(g,v){return g.id===v.id&&g.color?.id===v.color?.id}e.isEqual=h;function d(g){return g?.id===M.file.id}e.isFile=d;function p(g){return g?.id===M.folder.id}e.isFolder=p})(tn||(tn={}))}});function oU(e){return e.replace(gE,(t,s)=>s?t:`\\${t}`)}var Df,gE,aU,cU,lU,uU=b({"out-build/vs/base/common/iconLabels.js"(){"use strict";nU(),ht(),Af(),Df=new RegExp(`\\$\\(${tn.iconNameExpression}(?:${tn.iconModifierExpression})?\\)`,"g"),gE=new RegExp(`(\\\\)?${Df.source}`,"g"),aU=new RegExp(`\\\\${Df.source}`,"g"),cU=new RegExp(`(\\s)?(\\\\)?${Df.source}(\\s)?`,"g"),lU=new RegExp(`\\$\\(${tn.iconNameCharacter}+\\)`,"g")}});function $l(e){return e instanceof Hs?!0:e&&typeof e=="object"?typeof e.value=="string"&&(typeof e.isTrusted=="boolean"||typeof e.isTrusted=="object"||e.isTrusted===void 0)&&(typeof e.supportThemeIcons=="boolean"||e.supportThemeIcons===void 0)&&(typeof e.supportAlertSyntax=="boolean"||e.supportAlertSyntax===void 0):!1}function hU(e){return e.replace(/[\\`*_{}[\]()#+\-!~]/g,"\\$&")}function fU(e,t){const s=e.match(/^`+/gm)?.reduce((n,r)=>n.length>r.length?n:r).length??0,i=s>=3?s+1:3;return[`${"`".repeat(i)}${t}`,e,`${"`".repeat(i)}`].join(` `)}function dU(e){const t=[],s=e.split("|").map(n=>n.trim());e=s[0];const i=s[1];if(i){const n=/height=(\d+)/.exec(i),r=/width=(\d+)/.exec(i),o=n?n[1]:"",a=r?r[1]:"",c=isFinite(parseInt(a)),l=isFinite(parseInt(o));c&&t.push(`width="${a}"`),l&&t.push(`height="${o}"`)}return{href:e,dimensions:t}}function vE(e,...t){return y.from({scheme:q.command,path:e,query:t.length?encodeURIComponent(JSON.stringify(t)):void 0})}var bE,Hs,uo=b({"out-build/vs/base/common/htmlContent.js"(){"use strict";ce(),uU(),ye(),pt(),ht(),Q(),(function(e){e[e.Paragraph=0]="Paragraph",e[e.Break=1]="Break"})(bE||(bE={})),Hs=class oC{static lift(t){const s=new oC(t.value,t);return s.uris=t.uris,s.baseUri=t.baseUri?y.revive(t.baseUri):void 0,s}constructor(t="",s=!1){if(this.value=t,typeof this.value!="string")throw Ue("value");typeof s=="boolean"?(this.isTrusted=s,this.supportThemeIcons=!1,this.supportHtml=!1,this.supportAlertSyntax=!1):(this.isTrusted=s.isTrusted??void 0,this.supportThemeIcons=s.supportThemeIcons??!1,this.supportHtml=s.supportHtml??!1,this.supportAlertSyntax=s.supportAlertSyntax??!1)}appendText(t,s=0){return this.value+=hU(this.supportThemeIcons?oU(t):t).replace(/([ \t]+)/g,(i,n)=>" ".repeat(n.length)).replace(/\>/gm,"\\>").replace(/\n/g,s===1?`\\ `:` `),this}appendMarkdown(t){return this.value+=t,this}appendCodeblock(t,s){return this.value+=` ${fU(s,t)} `,this}appendLink(t,s,i){return this.value+="[",this.value+=this.c(s,"]"),this.value+="](",this.value+=this.c(String(t),")"),i&&(this.value+=` "${this.c(this.c(i,'"'),")")}"`),this.value+=")",this}c(t,s){const i=new RegExp(nr(s),"g");return t.replace(i,(n,r)=>t.charAt(r-1)!=="\\"?`\\${n}`:n)}}}});function St(e,t){if(e instanceof ot)return e;let s;return e instanceof Ki?s=new ot(e.message,e.code==="DownloadFailedWriting"?"DownloadFailedWriting":"Gallery"):s=new ot(e.message,yn(e)?"Cancelled":t??"Internal"),s.stack=e.stack,s}function m0(e,t,{extensionData:s,verificationStatus:i,duration:n,error:r,source:o,durationSinceUpdate:a}){e.publicLog(t,{...s,source:o,duration:n,durationSinceUpdate:a,success:!r,errorcode:r?.code,verificationStatus:i===Dt.Success?"Verified":i??"Unverified"})}var Rf,Nf,g0,Cf=b({"out-build/vs/platform/extensionManagement/common/abstractExtensionManagementService.js"(){"use strict";nt(),Le(),Pt(),ce(),oe(),H(),Zt(),se(),Q(),ae(),Rs(),Ri(),ai(),hf(),Pe(),es(),oi(),ys(),Fs(),uo(),Rf=class extends B{constructor(t,s){super(),this.g=t,this.h=s,this.preferPreReleases=this.g.quality!=="stable"}async canInstall(t){const s=this.h.isAllowed({id:t.identifier.id,publisherDisplayName:t.publisherDisplayName});if(s!==!0)return new Hs(m(1962,null,s.value));if(!await this.j(t)){const i=Ys?"https://aka.ms/vscode-web-extensions-guide":"https://aka.ms/vscode-platform-specific-extensions";return new Hs(`${m(1963,null,t.displayName??t.identifier.id,this.g.nameLong,P7(await this.getTargetPlatform()))} [${m(1964,null)}](${i})`)}return!0}async j(t){const s=await this.getTargetPlatform();return t.allTargetPlatforms.some(i=>Lg(i,t.allTargetPlatforms,s))}},Rf=__decorate([__param(0,ft),__param(1,Mn)],Rf),Nf=class extends Rf{get onInstallExtension(){return this.t.event}get onDidInstallExtensions(){return this.u.event}get onUninstallExtension(){return this.w.event}get onDidUninstallExtension(){return this.y.event}get onDidUpdateExtensionMetadata(){return this.z.event}constructor(t,s,i,n,r,o,a){super(r,o),this.F=t,this.G=s,this.H=i,this.I=n,this.J=a,this.n=0,this.q=new Map,this.s=new Map,this.t=this.D(new D),this.u=this.D(new D),this.w=this.D(new D),this.y=this.D(new D),this.z=this.D(new D),this.C=[],this.D(De(()=>{this.q.forEach(({task:c})=>c.cancel()),this.s.forEach(c=>c.cancel()),this.q.clear(),this.s.clear()}))}async installFromGallery(t,s={}){try{const n=(await this.installGalleryExtensions([{extension:t,options:s}])).find(({identifier:r})=>me(r,t.identifier));if(n?.local)return n?.local;throw n?.error?n.error:new ot(`Unknown error while installing extension ${t.identifier.id}`,"Unknown")}catch(i){throw St(i)}}async installGalleryExtensions(t){if(!this.F.isEnabled())throw new ot(m(1965,null),"NotAllowed");const s=[],i=[];return await Promise.allSettled(t.map(async({extension:n,options:r})=>{try{const o=await this.Q(n,!!r?.installGivenVersion,!!r?.installPreReleaseVersion,r.productVersion??{version:this.g.version,date:this.g.date});i.push({...o,options:r})}catch(o){s.push({identifier:n.identifier,operation:2,source:n,error:o,profileLocation:r.profileLocation??this.$()})}})),i.length&&s.push(...await this.L(i)),s}async uninstall(t,s){return this.I.trace("ExtensionManagementService#uninstall",t.identifier.id),this.uninstallExtensions([{extension:t,options:s}])}async toggleApplicationScope(t,s){if(Q7(t.manifest)||t.isBuiltin)return t;if(t.isApplicationScoped){let i=await this.updateMetadata(t,{isApplicationScoped:!1},this.J.defaultProfile.extensionsResource);this.H.extUri.isEqual(s,this.J.defaultProfile.extensionsResource)||(i=await this.cb(t,this.J.defaultProfile.extensionsResource,s));for(const n of this.J.profiles){const r=(await this.getInstalled(1,n.extensionsResource)).find(o=>me(o.identifier,t.identifier));r?this.z.fire({local:r,profileLocation:n.extensionsResource}):this.y.fire({identifier:t.identifier,profileLocation:n.extensionsResource})}return i}else{const i=this.H.extUri.isEqual(s,this.J.defaultProfile.extensionsResource)?await this.updateMetadata(t,{isApplicationScoped:!0},this.J.defaultProfile.extensionsResource):await this.cb(t,s,this.J.defaultProfile.extensionsResource,{isApplicationScoped:!0});return this.u.fire([{identifier:i.identifier,operation:2,local:i,profileLocation:this.J.defaultProfile.extensionsResource,applicationScoped:!0}]),i}}getExtensionsControlManifest(){const t=new Date().getTime();return(!this.m||t-this.n>1e3*60*5)&&(this.m=this.Z(),this.n=t),this.m}registerParticipant(t){this.C.push(t)}async resetPinnedStateForAllUserExtensions(t){try{await this.O(this.J.profiles.map(async s=>{const i=await this.getInstalled(1,s.extensionsResource);await this.O(i.map(async n=>{n.pinned!==t&&await this.updateMetadata(n,{pinned:t},s.extensionsResource)}))}))}catch(s){throw this.I.error("Error while resetting pinned state for all user extensions",de(s)),s}}async L(t){const s=new Map,i=new Map,n=[],r=(c,l)=>`${ws.create(c).toString()}-${l.toString()}`,o=(c,l,u,h)=>{let d;if(!y.isUri(l)){if(i.has(`${l.identifier.id.toLowerCase()}-${u.profileLocation.toString()}`))return;const v=this.q.get(r(l,u.profileLocation));if(v){if(h&&this.N(h,v.task)){const w=v.task.identifier;this.I.info("Waiting for already requested installing extension",w.id,h.identifier.id,u.profileLocation.toString()),v.waitingTasks.push(h),n.push(F.toPromise(F.filter(this.onDidInstallExtensions,k=>k.some(x=>me(x.identifier,w)))).then(k=>{this.I.info("Finished waiting for already requested installing extension",w.id,h.identifier.id,u.profileLocation.toString());const x=k.find(A=>me(A.identifier,w));if(!x?.local)throw new Error(`Extension ${w.id} is not installed`);return x.local}))}return}d=this.s.get(this.S(l.identifier,u.profileLocation))}const p=this.ab(c,l,u),g=`${en(c.publisher,c.name)}-${u.profileLocation.toString()}`;i.set(g,{task:p,root:h,uninstallTaskToWaitFor:d}),this.t.fire({identifier:p.identifier,source:l,profileLocation:u.profileLocation}),this.I.info("Installing extension:",p.identifier.id,u),y.isUri(l)||this.q.set(r(l,u.profileLocation),{task:p,waitingTasks:[]})};try{for(const{manifest:l,extension:u,options:h}of t){const d=h.isApplicationScoped||h.isBuiltin||Q7(l),p={...h,isApplicationScoped:d,profileLocation:d?this.J.defaultProfile.extensionsResource:h.profileLocation??this.$(),productVersion:h.productVersion??{version:this.g.version,date:this.g.date}},g=y.isUri(u)?void 0:this.q.get(r(u,p.profileLocation));g?(this.I.info("Extension is already requested to install",g.task.identifier.id,p.profileLocation.toString()),n.push(g.task.waitUntilTaskIsFinished())):o(l,u,p,void 0)}await Promise.all([...i.values()].map(async({task:l})=>{if(l.options.donotIncludePackAndDependencies)this.I.info("Installing the extension without checking dependencies and pack",l.identifier.id);else try{let u=this.preferPreReleases;l.options.installPreReleaseVersion?u=!0:!y.isUri(l.source)&&l.source.hasPreReleaseVersion&&(u=!1);const h=await this.getInstalled(void 0,l.options.profileLocation,l.options.productVersion),d=await this.P(l.identifier,l.manifest,u,l.options.productVersion,h),p={...l.options,pinned:!1,installGivenVersion:!1,context:{...l.options.context,[N7]:!0}};for(const{gallery:g,manifest:v}of qi(d,({gallery:w})=>w.identifier.id)){const w=h.find(k=>me(k.identifier,g.identifier));w&&w.isApplicationScoped===!!p.isApplicationScoped||o(v,g,p,l)}}catch(u){if(y.isUri(l.source))bh(l.manifest.extensionDependencies)&&this.I.warn("Cannot install dependencies of extension:",l.identifier.id,u.message),bh(l.manifest.extensionPack)&&this.I.warn("Cannot install packed extensions of extension:",l.identifier.id,u.message);else throw this.I.error("Error while preparing to install dependencies and extension packs of the extension:",l.identifier.id),u}}));const c=await this.M([...i.values()].map(({task:l})=>l));for(const[l,u]of c)o(u.manifest,u.source,{...u.options,profileLocation:l},void 0);await this.O([...i.entries()].map(async([l,{task:u,uninstallTaskToWaitFor:h}])=>{const d=new Date().getTime();let p;try{if(h){this.I.info("Waiting for existing uninstall task to complete before installing",u.identifier.id);try{await h.waitUntilTaskIsFinished(),this.I.info("Finished waiting for uninstall task, proceeding with install",u.identifier.id)}catch(g){this.I.info("Uninstall task failed, proceeding with install anyway",u.identifier.id,de(g))}}p=await u.run(),await this.O(this.C.map(g=>g.postInstall(p,u.source,u.options,Te.None)),"PostInstall")}catch(g){const v=St(g);throw y.isUri(u.source)||m0(this.G,u.operation===3?"extensionGallery:update":"extensionGallery:install",{extensionData:zg(u.source),error:v,source:u.options.context?.[Mg]}),s.set(l,{error:v,identifier:u.identifier,operation:u.operation,source:u.source,context:u.options.context,profileLocation:u.options.profileLocation,applicationScoped:u.options.isApplicationScoped}),this.I.error("Error while installing the extension",u.identifier.id,de(v),u.options.profileLocation.toString()),v}if(!y.isUri(u.source)){const g=u.operation===3,v=g?void 0:(new Date().getTime()-u.source.lastUpdated)/1e3;m0(this.G,g?"extensionGallery:update":"extensionGallery:install",{extensionData:zg(u.source),verificationStatus:u.verificationStatus,duration:new Date().getTime()-d,durationSinceUpdate:v,source:u.options.context?.[Mg]})}s.set(l,{local:p,identifier:u.identifier,operation:u.operation,source:u.source,context:u.options.context,profileLocation:u.options.profileLocation,applicationScoped:p.isApplicationScoped})})),n.length&&await this.O(n)}catch(c){const l=(d,p,g)=>{const v=[];d.manifest.extensionDependencies?.length&&v.push(...d.manifest.extensionDependencies),d.manifest.extensionPack?.length&&v.push(...d.manifest.extensionPack);for(const w of v){if(g.includes(w.toLowerCase()))continue;g.push(w.toLowerCase());const k=s.get(`${w.toLowerCase()}-${p.toString()}`);k?.local&&(g=l(k.local,p,g))}return g},u=d=>({identifier:d.identifier,operation:2,source:d.source,context:d.options.context,profileLocation:d.options.profileLocation,error:c}),h=[];for(const[d,{task:p,root:g}]of i){const v=s.get(d);v?v.local&&g&&!s.get(`${g.identifier.id.toLowerCase()}-${p.options.profileLocation.toString()}`)?.local&&(h.push(this.bb(v.local,{versionOnly:!0,profileLocation:p.options.profileLocation})),s.set(d,u(p))):(p.cancel(),s.set(d,u(p)))}for(const[d,{task:p}]of i){const g=s.get(d);if(!g?.local||p.options.donotIncludePackAndDependencies)continue;l(g.local,p.options.profileLocation,[g.local.identifier.id.toLowerCase()]).slice(1).some(w=>i.has(`${w.toLowerCase()}-${p.options.profileLocation.toString()}`)&&!s.get(`${w.toLowerCase()}-${p.options.profileLocation.toString()}`)?.local)&&(h.push(this.bb(g.local,{versionOnly:!0,profileLocation:p.options.profileLocation})),s.set(d,u(p)))}h.length&&await Promise.allSettled(h.map(async d=>{try{await d.run(),this.I.info("Rollback: Uninstalled extension",d.extension.identifier.id)}catch(p){this.I.warn("Rollback: Error while uninstalling extension",d.extension.identifier.id,de(p))}}))}finally{for(const{task:c}of i.values())c.source&&!y.isUri(c.source)&&this.q.delete(r(c.source,c.options.profileLocation))}const a=[...s.values()];for(const c of a)c.local&&this.I.info("Extension installed successfully:",c.identifier.id,c.profileLocation.toString());return this.u.fire(a),a}async M(t){const s=[],i=new Et;for(const n of t)if(!(n.operation!==3||n.options.isApplicationScoped||n.options.pinned||n.options.installGivenVersion||y.isUri(n.source)))for(const r of this.J.profiles){if(this.H.extUri.isEqual(r.extensionsResource,n.options.profileLocation))continue;let o=i.get(r.extensionsResource);o||(o=await this.getInstalled(1,r.extensionsResource),i.set(r.extensionsResource,o));const a=o.find(c=>me(c.identifier,n.identifier));a&&!a.pinned&&s.push([r.extensionsResource,n])}return s}N(t,s){for(const[,{task:i,waitingTasks:n}]of this.q.entries())if(i===t&&(n.includes(s)||n.some(r=>this.N(r,s)))||i===s&&n[0]&&!this.N(t,n[0]))return!1;return!0}async O(t,s){const i=[],n=[],r=await Promise.allSettled(t);for(const a of r)a.status==="fulfilled"?i.push(a.value):n.push(St(a.reason,s));if(!n.length)return i;if(n.length===1)throw n[0];let o=new ot("","Unknown");for(const a of n)o=new ot(o.message?`${o.message}, ${a.message}`:a.message,a.code!=="Unknown"&&a.code!=="Internal"?a.code:o.code);throw o}async P(t,s,i,n,r){if(!this.F.isEnabled())return[];const o=[],a=[],c=async(l,u)=>{o.push(l);const h=u.extensionDependencies?u.extensionDependencies.filter(p=>!r.some(g=>me(g.identifier,{id:p}))):[],d=[...h];if(u.extensionPack){const p=r.find(g=>me(g.identifier,l));for(const g of u.extensionPack)p&&p.manifest.extensionPack&&p.manifest.extensionPack.some(v=>me({id:v},{id:g}))||d.every(v=>!me({id:v},{id:g}))&&d.push(g)}if(d.length){const p=d.filter(g=>o.every(v=>!me(v,{id:g})));if(p.length){const g=await this.F.getExtensions(p.map(v=>({id:v,preRelease:i})),Te.None);for(const v of g){if(o.find(x=>me(x,v.identifier)))continue;const w=h.some(x=>me({id:x},v.identifier));let k;try{k=await this.Q(v,!1,i,n)}catch(x){if(w)throw x;this.I.info("Skipping the packed extension as it cannot be installed",v.identifier.id,de(x));continue}a.push({gallery:k.extension,manifest:k.manifest}),await c(k.extension.identifier,k.manifest)}}}};return await c(t,s),a}async Q(t,s,i,n){let r;const o=await this.getExtensionsControlManifest();if(H_(t.identifier,o.malicious))throw new ot(m(1966,null,t.identifier.id),"Malicious");const a=o.deprecated[t.identifier.id.toLowerCase()];if(a?.extension?.autoMigrate){if(this.I.info(`The '${t.identifier.id}' extension is deprecated, fetching the compatible '${a.extension.id}' extension instead.`),r=(await this.F.getExtensions([{id:a.extension.id,preRelease:a.extension.preRelease}],{targetPlatform:await this.getTargetPlatform(),compatible:!0,productVersion:n},Te.None))[0],!r)throw new ot(m(1967,null,t.identifier.id,a.extension.id),"Deprecated")}else{if(await this.canInstall(t)!==!0){const l=await this.getTargetPlatform();throw new ot(m(1968,null,t.identifier.id,this.g.nameLong,P7(l)),"IncompatibleTargetPlatform")}if(r=await this.R(t,s,i,n),!r){const l=[];throw Wg(t.properties.enabledApiProposals??[],l)?!i&&t.hasPreReleaseVersion&&t.properties.isPreReleaseVersion&&(await this.F.getExtensions([t.identifier],Te.None))[0]?new ot(m(1970,null,t.displayName??t.identifier.id),"ReleaseVersionNotFound"):new ot(m(1971,null,t.identifier.id,this.g.nameLong,this.g.version),"Incompatible"):new ot(m(1969,null,t.displayName??t.identifier.id,l[0]),"IncompatibleApi")}}this.I.info("Getting Manifest...",r.identifier.id);const c=await this.F.getManifest(r,Te.None);if(c===null)throw new ot(`Missing manifest for extension ${r.identifier.id}`,"Invalid");if(c.version!==r.version)throw new ot(`Cannot install '${r.identifier.id}' extension because of version mismatch in Marketplace`,"Invalid");return{extension:r,manifest:c}}async R(t,s,i,n){const r=await this.getTargetPlatform();let o=null;return!s&&t.hasPreReleaseVersion&&t.properties.isPreReleaseVersion!==i&&(o=(await this.F.getExtensions([{...t.identifier,preRelease:i}],{targetPlatform:r,compatible:!0,productVersion:n},Te.None))[0]||null),!o&&await this.F.isExtensionCompatible(t,i,r,n)&&(o=t),o||(s?o=(await this.F.getExtensions([{...t.identifier,version:t.version}],{targetPlatform:r,compatible:!0,productVersion:n},Te.None))[0]||null:o=await this.F.getCompatibleExtension(t,i,r,n)),o}S(t,s,i){return`${t.id.toLowerCase()}${i?`-${i}`:""}@${s.toString()}`}async uninstallExtensions(t){const s=(h,d)=>this.S(h.identifier,d.profileLocation,d.versionOnly?h.manifest.version:void 0),i=(h,d)=>{let p;for(const{task:v}of this.q.values())if(!(v.source instanceof y)&&me(v.identifier,h.identifier)&&this.H.extUri.isEqual(v.options.profileLocation,d.profileLocation)){p=v;break}const g=this.bb(h,d);this.s.set(s(g.extension,d),g),this.I.info("Uninstalling extension from the profile:",`${h.identifier.id}@${h.manifest.version}`,d.profileLocation.toString()),this.w.fire({identifier:h.identifier,profileLocation:d.profileLocation,applicationScoped:h.isApplicationScoped}),r.push({task:g,installTaskToWaitFor:p})},n=(h,d,p)=>{p?this.I.error("Failed to uninstall extension from the profile:",`${h.identifier.id}@${h.manifest.version}`,d.profileLocation.toString(),p.message):this.I.info("Successfully uninstalled extension from the profile",`${h.identifier.id}@${h.manifest.version}`,d.profileLocation.toString()),m0(this.G,"extensionGallery:uninstall",{extensionData:T_(h),error:p}),this.y.fire({identifier:h.identifier,error:p?.code,profileLocation:d.profileLocation,applicationScoped:h.isApplicationScoped})},r=[],o=[],a=[],c=[],l=new Et,u=async h=>{let d=l.get(h);return d||l.set(h,d=await this.getInstalled(1,h)),d};for(const{extension:h,options:d}of t){const p={...d,profileLocation:h.isApplicationScoped?this.J.defaultProfile.extensionsResource:d?.profileLocation??this.$()},g=this.s.get(s(h,p));if(g?(this.I.info("Extensions is already requested to uninstall",h.identifier.id),a.push(g.waitUntilTaskIsFinished())):i(h,p),p.remove||h.isApplicationScoped){p.remove&&c.push(h);for(const v of this.J.profiles){if(this.H.extUri.isEqual(v.extensionsResource,p.profileLocation))continue;const k=(await u(v.extensionsResource)).find(x=>me(x.identifier,h.identifier));if(k){const x={...p,profileLocation:v.extensionsResource},A=this.s.get(s(k,x));A?(this.I.info("Extensions is already requested to uninstall",k.identifier.id),a.push(A.waitUntilTaskIsFinished())):i(k,x)}}}}try{for(const{task:h}of r.slice(0)){const d=await u(h.options.profileLocation);if(h.options.donotIncludePack)this.I.info("Uninstalling the extension without including packed extension",`${h.extension.identifier.id}@${h.extension.manifest.version}`);else{const p=this.X(h.extension,d);for(const g of p)this.s.has(s(g,h.options))?this.I.info("Extensions is already requested to uninstall",g.identifier.id):i(g,h.options)}h.options.donotCheckDependents?this.I.info("Uninstalling the extension without checking dependents",`${h.extension.identifier.id}@${h.extension.manifest.version}`):this.U(r.map(({task:p})=>p.extension),d,h.extension)}await this.O(r.map(async({task:h,installTaskToWaitFor:d})=>{try{if(d){this.I.info("Waiting for existing install task to complete before uninstalling",h.extension.identifier.id);try{await d.waitUntilTaskIsFinished(),this.I.info("Finished waiting for install task, proceeding with uninstall",h.extension.identifier.id)}catch(p){this.I.info("Install task failed, proceeding with uninstall anyway",h.extension.identifier.id,de(p))}}if(await h.run(),await this.O(this.C.map(p=>p.postUninstall(h.extension,h.options,Te.None))),h.extension.identifier.uuid&&!Ys)try{await this.F.reportStatistic(h.extension.manifest.publisher,h.extension.manifest.name,h.extension.manifest.version,"uninstall")}catch{}}catch(p){const g=St(p);throw n(h.extension,h.options,g),g}finally{o.push(h)}})),a.length&&await this.O(a);for(const{task:h}of r)n(h.extension,h.options);c.length&&await this.O(c.map(h=>this.fb(h)))}catch(h){const d=St(h);for(const{task:p}of r){try{p.cancel()}catch{}o.includes(p)||n(p.extension,p.options,d)}throw d}finally{for(const{task:h}of r)this.s.delete(s(h.extension,h.options))||this.I.warn("Uninstallation task is not found in the cache",h.extension.identifier.id)}}U(t,s,i){for(const n of t){const r=this.Y(n,s);if(r.length){const o=r.filter(a=>!t.some(c=>me(c.identifier,a.identifier)));if(o.length)throw new Error(this.W(n,o,i))}}}W(t,s,i){return i===t?s.length===1?m(1972,null,i.manifest.displayName||i.manifest.name,s[0].manifest.displayName||s[0].manifest.name):s.length===2?m(1973,null,i.manifest.displayName||i.manifest.name,s[0].manifest.displayName||s[0].manifest.name,s[1].manifest.displayName||s[1].manifest.name):m(1974,null,i.manifest.displayName||i.manifest.name,s[0].manifest.displayName||s[0].manifest.name,s[1].manifest.displayName||s[1].manifest.name):s.length===1?m(1975,null,i.manifest.displayName||i.manifest.name,t.manifest.displayName||t.manifest.name,s[0].manifest.displayName||s[0].manifest.name):s.length===2?m(1976,null,i.manifest.displayName||i.manifest.name,t.manifest.displayName||t.manifest.name,s[0].manifest.displayName||s[0].manifest.name,s[1].manifest.displayName||s[1].manifest.name):m(1977,null,i.manifest.displayName||i.manifest.name,t.manifest.displayName||t.manifest.name,s[0].manifest.displayName||s[0].manifest.name,s[1].manifest.displayName||s[1].manifest.name)}X(t,s,i=[]){if(i.indexOf(t)!==-1)return[];if(me(t.identifier,{id:this.g.defaultChatAgent.extensionId}))return[];i.push(t);const n=t.manifest.extensionPack?t.manifest.extensionPack:[];if(n.length){const r=s.filter(a=>!a.isBuiltin&&n.some(c=>me({id:c},a.identifier))),o=[];for(const a of r)o.push(...this.X(a,s,i));return[...r,...o]}return[]}Y(t,s){return s.filter(i=>i.manifest.extensionDependencies&&i.manifest.extensionDependencies.some(n=>me({id:n},t.identifier)))}async Z(){try{return this.I.trace("ExtensionManagementService.updateControlCache"),await this.F.getExtensionsControlManifest()}catch(t){return this.I.trace("ExtensionManagementService.refreshControlCache - failed to get extension control manifest",de(t)),{malicious:[],deprecated:{},search:[]}}}},Nf=__decorate([__param(0,Ai),__param(1,bs),__param(2,mt),__param(3,he),__param(4,ft),__param(5,Mn),__param(6,Ts)],Nf),g0=class{constructor(){this.d=new jc}async waitUntilTaskIsFinished(){return await this.d.wait(),this.g}run(){return this.g||(this.g=Dn(e=>this.h(e))),this.d.open(),this.g}cancel(){this.g||(this.g=Dn(e=>new Promise((t,s)=>{const i=e.onCancellationRequested(()=>{i.dispose(),s(new yt)})})),this.d.open()),this.g.cancel()}}}});function wE(e){const t=e;return tt(t)&&XM(t.identifier)&&(pU(t.location)||ee(t.location)&&!!t.location)&&(si(t.relativeLocation)||ee(t.relativeLocation))&&!!t.version&&ee(t.version)}function pU(e){if(!e)return!1;const t=e;return typeof t?.path=="string"&&typeof t?.scheme=="string"}var yE,Il,sn,Lf,Ra=b({"out-build/vs/platform/extensionManagement/common/extensionsProfileScannerService.js"(){"use strict";Le(),Ne(),H(),oe(),Zt(),Q(),Rs(),Ri(),Be(),te(),Pe(),Fs(),ys(),be(),ce(),(function(e){e.ERROR_PROFILE_NOT_FOUND="ERROR_PROFILE_NOT_FOUND",e.ERROR_INVALID_CONTENT="ERROR_INVALID_CONTENT"})(yE||(yE={})),Il=class extends Error{constructor(e,t){super(e),this.code=t}},sn=Z("IExtensionsProfileScannerService"),Lf=class extends B{constructor(t,s,i,n,r){super(),this.j=t,this.m=s,this.n=i,this.q=n,this.r=r,this.b=this.D(new D),this.onAddExtensions=this.b.event,this.c=this.D(new D),this.onDidAddExtensions=this.c.event,this.f=this.D(new D),this.onRemoveExtensions=this.f.event,this.g=this.D(new D),this.onDidRemoveExtensions=this.g.event,this.h=new Et}scanProfileExtensions(t,s){return this.s(t,void 0,s)}async addExtensionsToProfile(t,s,i){const n=[],r=[];try{return await this.s(s,o=>{const a=[];if(i)a.push(...o);else for(const c of o)t.some(([l])=>me(l.identifier,c.identifier)&&l.manifest.version!==c.version)?n.push(c):a.push(c);for(const[c,l]of t){const u=a.findIndex(d=>me(d.identifier,c.identifier)&&d.version===c.manifest.version),h={identifier:c.identifier,version:c.manifest.version,location:c.location,metadata:l};u===-1?(r.push(h),a.push(h)):a.splice(u,1,h)}return r.length&&this.b.fire({extensions:r,profileLocation:s}),n.length&&this.f.fire({extensions:n,profileLocation:s}),a}),r.length&&this.c.fire({extensions:r,profileLocation:s}),n.length&&this.g.fire({extensions:n,profileLocation:s}),r}catch(o){throw r.length&&this.c.fire({extensions:r,error:o,profileLocation:s}),n.length&&this.g.fire({extensions:n,error:o,profileLocation:s}),o}}async updateMetadata(t,s){const i=[];return await this.s(s,n=>{const r=[];for(const o of n){const a=t.find(([c])=>me({id:c.identifier.id},{id:o.identifier.id})&&c.manifest.version===o.version);a&&(o.metadata={...o.metadata,...a[1]},i.push(o)),r.push(o)}return r}),i}async removeExtensionsFromProfile(t,s){const i=[];try{await this.s(s,n=>{const r=[];for(const o of n)t.some(a=>me(o.identifier,a))?i.push(o):r.push(o);return i.length&&this.f.fire({extensions:i,profileLocation:s}),r}),i.length&&this.g.fire({extensions:i,profileLocation:s})}catch(n){throw i.length&&this.g.fire({extensions:i,error:n,profileLocation:s}),n}}async s(t,s,i){return this.C(t).queue(async()=>{let n=[],r;try{const o=await this.m.readFile(t);r=JSON.parse(o.value.toString().trim()||"[]")}catch(o){if(kt(o)!==1)throw o;if(this.q.extUri.isEqual(t,this.n.defaultProfile.extensionsResource)&&(r=await this.z()),!r&&i?.bailOutWhenFileNotFound)throw new Il(de(o),"ERROR_PROFILE_NOT_FOUND")}if(r){Array.isArray(r)||this.t(t);let o=!1;for(const a of r){wE(a)||this.t(t);let c;if(ee(a.relativeLocation)&&a.relativeLocation)c=this.w(a.relativeLocation);else if(ee(a.location)){this.r.warn(`Extensions profile: Ignoring extension with invalid location: ${a.location}`);continue}else{c=y.revive(a.location);const u=this.u(c);u&&(o=!0,a.relativeLocation=u)}si(a.metadata?.hasPreReleaseVersion)&&a.metadata?.preRelease&&(o=!0,a.metadata.hasPreReleaseVersion=!0);const l=a.metadata?.id??a.identifier.uuid;n.push({identifier:l?{id:a.identifier.id,uuid:l}:{id:a.identifier.id},location:c,version:a.version,metadata:a.metadata})}o&&await this.m.writeFile(t,R.fromString(JSON.stringify(r)))}if(s){n=s(n);const o=n.map(a=>({identifier:a.identifier,version:a.version,location:a.location.toJSON(),relativeLocation:this.u(a.location),metadata:a.metadata}));await this.m.writeFile(t,R.fromString(JSON.stringify(o)))}return n})}t(t){throw new Il(`Invalid extensions content in ${t.toString()}`,"ERROR_INVALID_CONTENT")}u(t){return this.q.extUri.isEqual(this.q.extUri.dirname(t),this.j)?this.q.extUri.basename(t):void 0}w(t){return this.q.extUri.joinPath(this.j,t)}async z(){return this.y||(this.y=(async()=>{const t=this.q.extUri.joinPath(this.n.defaultProfile.location,"extensions.json"),s=this.q.extUri.joinPath(this.j,".init-default-profile-extensions");let i;try{i=(await this.m.readFile(t)).value.toString()}catch(r){if(kt(r)===1)return;throw r}this.r.info("Migrating extensions from old default profile location",t.toString());let n;try{const r=JSON.parse(i);Array.isArray(r)&&r.every(o=>wE(o))?n=r:this.r.warn("Skipping migrating from old default profile locaiton: Found invalid data",r)}catch(r){this.r.error(r)}if(n)try{await this.m.createFile(this.n.defaultProfile.extensionsResource,R.fromString(JSON.stringify(n)),{overwrite:!1}),this.r.info("Migrated extensions from old default profile location to new location",t.toString(),this.n.defaultProfile.extensionsResource.toString())}catch(r){if(kt(r)===3)this.r.info("Migration from old default profile location to new location is done by another window",t.toString(),this.n.defaultProfile.extensionsResource.toString());else throw r}try{await this.m.del(t)}catch(r){kt(r)!==1&&this.r.error(r)}try{await this.m.del(s)}catch(r){kt(r)!==1&&this.r.error(r)}return n})()),this.y}C(t){let s=this.h.get(t);return s||(s=new Zr,this.h.set(t,s)),s}},Lf=__decorate([__param(1,st),__param(2,Ts),__param(3,mt),__param(4,he)],Lf)}});function v0(e){switch(e){case 1:return m(119,null);case 2:return m(120,null);case 3:return m(121,null);case 4:return m(122,null);case 5:return m(123,null);case 6:return m(124,null);case 7:return m(125,null);case 8:return m(126,null);case 9:return m(127,null);default:return""}}var mU=b({"out-build/vs/base/common/jsonErrorMessages.js"(){"use strict";ae()}});function gU(e,t,s,i){try{vU(e,t,s,i)}catch(n){e.error(n?.message??n)}return t}function vU(e,t,s,i){const n=(r,o,a)=>{const c=r[o];if(ee(c)){const l=c,u=l.length;if(u>1&&l[0]==="%"&&l[u-1]==="%"){const h=l.substr(1,u-2);let d=s[h];d===void 0&&i&&(d=i[h]);const p=typeof d=="string"?d:d?.message,g=i?.[h],v=typeof g=="string"?g:g?.message;if(!p){v||e.warn(`[${t.name}]: ${m(2034,null,h)}`);return}if(a&&(o==="title"||o==="category")&&v&&v!==p){const w={value:p,original:v};r[o]=w}else r[o]=p}}else if(tt(c))for(const l in c)c.hasOwnProperty(l)&&(l==="commands"?n(c,l,!0):n(c,l,a));else if(Array.isArray(c))for(let l=0;lthis.g.fire(0))),this.D(this.j.onDidChangeCache(()=>this.g.fire(1)))}F(){return this.C||(this.C=t8(this.s,this.t)),this.C}async scanAllExtensions(t,s){const[i,n]=await Promise.all([this.scanSystemExtensions(t),this.scanUserExtensions(s)]);return this.J(i,n,[],await this.F(),!0)}async scanSystemExtensions(t){const s=[];s.push(this.L(t.language)),s.push(this.M(t.language,!!t.checkControlFile));const[i,n]=await Promise.all(s);return this.I([...i,...n],0,{pickLatest:!1})}async scanUserExtensions(t){this.t.trace("Started scanning user extensions",t.profileLocation);const s=this.y.extUri.isEqual(t.profileLocation,this.q.defaultProfile.extensionsResource)?{bailOutWhenFileNotFound:!0}:void 0,i=await this.O(t.profileLocation,!0,1,t.language,!0,s,t.productVersion??this.Q()),n=t.useCache&&!i.devMode?this.j:this.m;let r;try{r=await n.scanExtensions(i)}catch(o){if(o instanceof Il&&o.code==="ERROR_PROFILE_NOT_FOUND")await this.H(),r=await n.scanExtensions(i);else throw o}return r=await this.I(r,1,{includeInvalid:t.includeInvalid,pickLatest:!0}),this.t.trace("Scanned user extensions:",r.length),r}async scanAllUserExtensions(t={includeInvalid:!0,includeAllVersions:!0}){const s=await this.O(this.userExtensionsLocation,!1,1,void 0,!0,void 0,this.Q()),i=await this.m.scanExtensions(s);return this.I(i,1,{includeAllVersions:t.includeAllVersions,includeInvalid:t.includeInvalid})}async scanExtensionsUnderDevelopment(t,s){if(this.u.isExtensionDevelopment&&this.u.extensionDevelopmentLocationURI){const i=(await Promise.all(this.u.extensionDevelopmentLocationURI.filter(n=>n.scheme===q.file).map(async n=>{const r=await this.O(n,!1,1,s.language,!1,void 0,this.Q());return(await this.m.scanOneOrMultipleExtensions(r)).map(a=>(a.type=t.find(c=>me(c.identifier,a.identifier))?.type??a.type,this.m.validate(a,r)))}))).flat();return this.I(i,"development",{includeInvalid:s.includeInvalid,pickLatest:!0})}return[]}async scanExistingExtension(t,s,i){const n=await this.O(t,!1,s,i.language,!0,void 0,this.Q()),r=await this.m.scanExtension(n);return!r||!i.includeInvalid&&!r.isValid?null:r}async scanOneOrMultipleExtensions(t,s,i){const n=await this.O(t,!1,s,i.language,!0,void 0,this.Q()),r=await this.m.scanOneOrMultipleExtensions(n);return this.I(r,s,{includeInvalid:i.includeInvalid,pickLatest:!0})}async scanMultipleExtensions(t,s,i){const n=[];return await Promise.all(t.map(async r=>{const o=await this.scanOneOrMultipleExtensions(r,s,i);n.push(...o)})),this.I(n,s,{includeInvalid:i.includeInvalid,pickLatest:!0})}async updateManifestMetadata(t,s){const i=ue(t,"package.json"),n=(await this.s.readFile(i)).value.toString(),r=JSON.parse(n);r.__metadata={...r.__metadata,...s},await this.s.writeFile(ue(t,"package.json"),R.fromString(JSON.stringify(r,null," ")))}async initializeDefaultProfileExtensions(){try{await this.r.scanProfileExtensions(this.q.defaultProfile.extensionsResource,{bailOutWhenFileNotFound:!0})}catch(t){if(t instanceof Il&&t.code==="ERROR_PROFILE_NOT_FOUND")await this.H();else throw t}}async H(){return this.G||(this.G=(async()=>{try{this.t.info("Started initializing default profile extensions in extensions installation folder.",this.userExtensionsLocation.toString());const t=await this.scanAllUserExtensions({includeInvalid:!0});if(t.length)await this.r.addExtensionsToProfile(t.map(s=>[s,s.metadata]),this.q.defaultProfile.extensionsResource);else try{await this.s.createFile(this.q.defaultProfile.extensionsResource,R.fromString(JSON.stringify([])))}catch(s){kt(s)!==1&&this.t.warn("Failed to create default profile extensions manifest in extensions installation folder.",this.userExtensionsLocation.toString(),de(s))}this.t.info("Completed initializing default profile extensions in extensions installation folder.",this.userExtensionsLocation.toString())}catch(t){this.t.error(t)}finally{this.G=void 0}})()),this.G}async I(t,s,i={}){return i.includeAllVersions||(t=this.J(s===0?t:void 0,s===1?t:void 0,s==="development"?t:void 0,await this.F(),!!i.pickLatest)),i.includeInvalid||(t=t.filter(n=>n.isValid)),t.sort((n,r)=>{const o=dt(n.location.fsPath),a=dt(r.location.fsPath);return oa?1:0})}J(t,s,i,n,r){const o=(c,l,u)=>{if(!u){if(c.metadata?.isApplicationScoped&&!l.metadata?.isApplicationScoped)return!1;if(!c.metadata?.isApplicationScoped&&l.metadata?.isApplicationScoped)return!0}if(c.isValid&&!l.isValid)return!1;if(c.isValid===l.isValid){if(r&&ka(c.manifest.version,l.manifest.version))return this.t.debug(`Skipping extension ${l.location.path} with lower version ${l.manifest.version} in favour of ${c.location.path} with version ${c.manifest.version}`),!1;if(q7(c.manifest.version,l.manifest.version)){if(c.type===0)return this.t.debug(`Skipping extension ${l.location.path} in favour of system extension ${c.location.path} with same version`),!1;if(c.targetPlatform===n)return this.t.debug(`Skipping extension ${l.location.path} from different target platform ${l.targetPlatform}`),!1}}return u?this.t.warn(`Overwriting user extension ${c.location.path} with ${l.location.path}.`):this.t.debug(`Overwriting user extension ${c.location.path} with ${l.location.path}.`),!0},a=new Tg;return t?.forEach(c=>{const l=a.get(c.identifier.id);(!l||o(l,c,!1))&&a.set(c.identifier.id,c)}),s?.forEach(c=>{const l=a.get(c.identifier.id);if(!l&&t&&c.type===0){this.t.debug(`Skipping obsolete system extension ${c.location.path}.`);return}(!l||o(l,c,!1))&&a.set(c.identifier.id,c)}),i?.forEach(c=>{const l=a.get(c.identifier.id);(!l||o(l,c,!0))&&a.set(c.identifier.id,c),a.set(c.identifier.id,c)}),[...a.values()]}async L(t){this.t.trace("Started scanning system extensions");const s=await this.O(this.systemExtensionsLocation,!1,0,t,!0,void 0,this.Q()),n=await(s.devMode?this.m:this.h).scanExtensions(s);return this.t.trace("Scanned system extensions:",n.length),n}async M(t,s){const i=this.u.isBuilt?[]:this.w.builtInExtensions;if(!i?.length)return[];this.t.trace("Started scanning dev system extensions");const n=s?await this.N():{},r=[],o=y.file(ei(T(_t.asFileUri("").fsPath,"..",".build","builtInExtensions")));for(const c of i){const l=n[c.name]||"marketplace";switch(l){case"disabled":break;case"marketplace":r.push(ue(o,c.name));break;default:r.push(y.file(l));break}}const a=await Promise.all(r.map(async c=>this.m.scanExtension(await this.O(c,!1,0,t,!0,void 0,this.Q()))));return this.t.trace("Scanned dev system extensions:",a.length),ti(a)}async N(){try{const t=await this.s.readFile(this.n);return JSON.parse(t.value.toString())}catch{return{}}}async O(t,s,i,n,r,o,a){const c=await this.f(n??As),l=await this.P(t),u=s&&!this.y.extUri.isEqual(t,this.q.defaultProfile.extensionsResource)?this.q.defaultProfile.extensionsResource:void 0,h=u?await this.P(u):void 0;return new Na(t,l,u,h,s,o,i,r,a.version,a.date,this.w.commit,!this.u.isBuilt,n,c)}async P(t){try{const s=await this.s.stat(t);if(typeof s.mtime=="number")return s.mtime}catch{}}Q(){return{version:this.w.version,date:this.w.date}}},Mf=__decorate([__param(4,Ts),__param(5,sn),__param(6,st),__param(7,he),__param(8,Kt),__param(9,ft),__param(10,mt),__param(11,cr)],Mf),Na=class{constructor(e,t,s,i,n,r,o,a,c,l,u,h,d,p){this.location=e,this.mtime=t,this.applicationExtensionslocation=s,this.applicationExtensionslocationMtime=i,this.profile=n,this.profileScanOptions=r,this.type=o,this.validate=a,this.productVersion=c,this.productDate=l,this.productCommit=u,this.devMode=h,this.language=d,this.translations=p}static createNlsConfiguration(e){return{language:e.language,pseudo:e.language==="pseudo",devMode:e.devMode,translations:e.translations}}static equals(e,t){return L1(e.location,t.location)&&e.mtime===t.mtime&&L1(e.applicationExtensionslocation,t.applicationExtensionslocation)&&e.applicationExtensionslocationMtime===t.applicationExtensionslocationMtime&&e.profile===t.profile&&vs(e.profileScanOptions,t.profileScanOptions)&&e.type===t.type&&e.validate===t.validate&&e.productVersion===t.productVersion&&e.productDate===t.productDate&&e.productCommit===t.productCommit&&e.devMode===t.devMode&&e.language===t.language&&b0.equals(e.translations,t.translations)}},Pl=class extends B{constructor(t,s,i,n,r,o){super(),this.g=t,this.h=s,this.j=i,this.m=r,this.n=o,this.f=n.extensionsEnabledWithApiProposalVersion?.map(a=>a.toLowerCase())??[]}async scanExtensions(t){return t.profile?this.r(t):this.q(t)}async q(t){const s=await this.j.resolve(t.location);if(!s.children?.length)return[];const i=await Promise.all(s.children.map(async n=>{if(!n.isDirectory||t.type===1&&An(n.resource).indexOf(".")===0)return null;const r=new Na(n.resource,t.mtime,t.applicationExtensionslocation,t.applicationExtensionslocationMtime,t.profile,t.profileScanOptions,t.type,t.validate,t.productVersion,t.productDate,t.productCommit,t.devMode,t.language,t.translations);return this.scanExtension(r)}));return ti(i).sort((n,r)=>n.location.path!0,t);if(t.applicationExtensionslocation&&!this.h.extUri.isEqual(t.location,t.applicationExtensionslocation)){s=s.filter(n=>!n.metadata?.isApplicationScoped);const i=await this.s(t.applicationExtensionslocation,n=>!!n.metadata?.isBuiltin||!!n.metadata?.isApplicationScoped,t);s.push(...i)}return s}async s(t,s,i){const n=await this.g.scanProfileExtensions(t,i.profileScanOptions);if(!n.length)return[];const r=await Promise.all(n.map(async o=>{if(s(o)){const a=new Na(o.location,i.mtime,i.applicationExtensionslocation,i.applicationExtensionslocationMtime,i.profile,i.profileScanOptions,i.type,i.validate,i.productVersion,i.productDate,i.productCommit,i.devMode,i.language,i.translations);return this.scanExtension(a,o)}return null}));return ti(r)}async scanOneOrMultipleExtensions(t){try{if(await this.j.exists(ue(t.location,"package.json"))){const s=await this.scanExtension(t);return s?[s]:[]}else return await this.scanExtensions(t)}catch(s){return this.n.error(`Error scanning extensions at ${t.location.path}:`,de(s)),[]}}async scanExtension(t,s){const i=[];let n=!0,r;try{r=await this.t(t.location)}catch(d){if(s){i.push([Xe.Error,de(d)]),n=!1;const[p,g]=s.identifier.id.split(".");r={name:g,publisher:p,version:s.version,engines:{vscode:""}}}else return t.type!==0&&this.n.error(d),null}r.publisher||(r.publisher=Ug);let o;s?o={...s.metadata,size:r.__metadata?.size}:r.__metadata&&(o={installedTimestamp:r.__metadata.installedTimestamp,size:r.__metadata.size,targetPlatform:r.__metadata.targetPlatform}),delete r.__metadata;const a=en(r.publisher,r.name),c=o?.id?{id:a,uuid:o.id}:{id:a},l=o?.isSystem?0:t.type,u=l===0||!!o?.isBuiltin;try{r=await this.u(t.location,r,Na.createNlsConfiguration(t))}catch(d){this.n.warn("Failed to translate manifest",de(d))}let h={type:l,identifier:c,manifest:r,location:t.location,isBuiltin:u,targetPlatform:o?.targetPlatform??"undefined",publisherDisplayName:o?.publisherDisplayName,metadata:o,isValid:n,validations:i,preRelease:!!o?.preRelease};return t.validate&&(h=this.validate(h,t)),r.enabledApiProposals&&(!this.m.isBuilt||this.f.includes(a.toLowerCase()))&&(r.originalEnabledApiProposals=r.enabledApiProposals,r.enabledApiProposals=j_([...r.enabledApiProposals])),h}validate(t,s){let i=t.isValid;const n=this.m.isBuilt&&this.f.includes(t.identifier.id.toLowerCase()),r=G_(s.productVersion,s.productDate,s.location,t.manifest,t.isBuiltin,n);for(const[o,a]of r)o===Xe.Error&&(i=!1,this.n.error(this.C(s.location,a)));return t.isValid=i,t.validations=[...t.validations,...r],t}async t(t){const s=ue(t,"package.json");let i;try{i=(await this.j.readFile(s)).value.toString()}catch(r){throw kt(r)!==1&&this.n.error(this.C(t,m(2035,null,s.path,r.message))),r}let n;try{n=JSON.parse(i)}catch(r){const o=[];ur(i,o);for(const a of o)this.n.error(this.C(t,m(2036,null,s.path,a.offset,a.length,v0(a.error))));throw r}if(da(n)!=="object"){const r=this.C(t,m(2037,null,s.path));throw this.n.error(r),new Error(r)}return n}async u(t,s,i){const n=await this.w(t,s,i);if(n)try{const r=[],o=await this.y(n.default,r);if(r.length>0)return r.forEach(c=>{this.n.error(this.C(t,m(2038,null,n.default?.path,v0(c.error))))}),s;if(da(n)!=="object")return this.n.error(this.C(t,m(2039,null,n.default?.path))),s;const a=n.values||Object.create(null);return gU(this.n,s,a,o)}catch{}return s}async w(t,s,i){const n=ue(t,"package.nls.json"),r=(l,u)=>{u.forEach(h=>{this.n.error(this.C(t,m(2040,null,l?.path,v0(h.error))))})},o=l=>{this.n.error(this.C(t,m(2041,null,l?.path)))},a=`${s.publisher}.${s.name}`,c=i.translations[a];if(c)try{const l=y.file(c),u=(await this.j.readFile(l)).value.toString(),h=[],d=ur(u,h);return h.length>0?(r(l,h),{values:void 0,default:n}):da(d)!=="object"?(o(l),{values:void 0,default:n}):{values:d.contents?d.contents.package:void 0,default:n}}catch{return{values:void 0,default:n}}else{if(!await this.j.exists(n))return;let u;try{u=await this.z(t,i)}catch{return}if(!u.localized)return{values:void 0,default:u.original};try{const h=(await this.j.readFile(u.localized)).value.toString(),d=[],p=ur(h,d);return d.length>0?(r(u.localized,d),{values:void 0,default:u.original}):da(p)!=="object"?(o(u.localized),{values:void 0,default:u.original}):{values:p,default:u.original}}catch{return{values:void 0,default:u.original}}}}async y(t,s){if(t)try{const i=(await this.j.readFile(t)).value.toString();return ur(i,s)}catch{}}z(t,s){return new Promise((i,n)=>{const r=o=>{const a=ue(t,`package.nls.${o}.json`);this.j.exists(a).then(c=>{c&&i({localized:a,original:ue(t,"package.nls.json")});const l=o.lastIndexOf("-");l===-1?i({localized:ue(t,"package.nls.json"),original:null}):(o=o.substring(0,l),r(o))})};if(s.devMode||s.pseudo||!s.language)return i({localized:ue(t,"package.nls.json"),original:null});r(s.language)})}C(t,s){return`[${t.path}]: ${s}`}},Pl=__decorate([__param(0,sn),__param(1,mt),__param(2,st),__param(3,ft),__param(4,Kt),__param(5,he)],Pl),Al=class extends Pl{constructor(t,s,i,n,r,o,a,c){super(i,n,r,o,a,c),this.I=t,this.J=s,this.G=this.D(new Qr(3e3)),this.H=this.D(new D),this.onDidChangeCache=this.H.event}async scanExtensions(t){const s=this.O(t),i=await this.L(s);if(this.F=t,i&&i.input&&Na.equals(i.input,this.F))return this.n.debug("Using cached extensions scan result",t.type===0?"system":"user",t.location.toString()),this.G.trigger(()=>this.N()),i.result.map(r=>(r.location=y.revive(r.location),r));const n=await super.scanExtensions(t);return await this.M(s,{input:t,result:n}),n}async L(t){try{const s=await this.j.readFile(t),i=JSON.parse(s.value.toString());return{result:i.result,input:li(i.input)}}catch(s){kt(s)!==1&&this.n.debug("Error while reading the extension cache file:",t.path,de(s))}return null}async M(t,s){try{await this.j.writeFile(t,R.fromString(JSON.stringify(s)))}catch(i){this.n.debug("Error while writing the extension cache file:",t.path,de(i))}}async N(){if(!this.F)return;const t=this.O(this.F),s=await this.L(t);if(!s)return;const i=s.result,n=JSON.parse(JSON.stringify(await super.scanExtensions(this.F)));if(!vs(n,i))try{this.n.info("Invalidating Cache",i,n),await this.j.del(t),this.H.fire()}catch(r){this.n.error(r)}}O(t){const s=this.P(t);return this.h.extUri.joinPath(s.cacheHome,t.type===0?Z7:jg)}P(t){return t.type===0?this.J.defaultProfile:t.profile?this.h.extUri.isEqual(t.location,this.I.extensionsResource)?this.I:this.J.profiles.find(s=>this.h.extUri.isEqual(t.location,s.extensionsResource))??this.I:this.J.defaultProfile}},Al=__decorate([__param(1,Ts),__param(2,sn),__param(3,mt),__param(4,st),__param(5,ft),__param(6,Kt),__param(7,he)],Al)}});function w0(e){let t="Extract";return e instanceof kl&&(e.type==="CorruptZip"?t="CorruptZip":e.type==="Incomplete"&&(t="IncompleteZip")),St(e,t)}async function y0(e){let t;try{t=await X8(e,"extension/package.json")}catch(s){throw w0(s)}try{return JSON.parse(t.toString("utf8"))}catch{throw new ot(m(2052,null),"Invalid")}}var EE=b({"out-build/vs/platform/extensionManagement/node/extensionManagementUtil.js"(){"use strict";r0(),ae(),Cf(),Rs()}}),_f,Rl,E0=b({"out-build/vs/platform/extensionManagement/node/extensionSignatureVerificationService.js"(){"use strict";ce(),be(),te(),Pe(),oi(),Rs(),_f=Z("IExtensionSignatureVerificationService"),Rl=class{constructor(t,s){this.b=t,this.c=s}d(){return this.a||(this.a=this.f()),this.a}async f(){return import("@vscode/vsce-sign")}async verify(t,s,i,n,r){let o;try{o=await this.d()}catch(u){this.b.error("Could not load vsce-sign module",de(u)),this.b.info(`Extension signature verification is not done: ${t}`);return}const a=new Date().getTime();let c;try{this.b.trace(`Verifying extension signature for ${t}...`),c=await o.verify(i,n,this.b.getLevel()===G.Trace)}catch(u){c={code:Dt.UnknownError,didExecute:!1,output:de(u)}}const l=new Date().getTime()-a;return this.b.info(`Extension signature verification result for ${t}: ${c.code}. ${Sn(c.internalCode)?`Internal Code: ${c.internalCode}. `:""}Executed: ${c.didExecute}. Duration: ${l}ms.`),this.b.trace(`Extension signature verification output for ${t}: ${c.output}`),this.c.publicLog2("extensionsignature:verification",{extensionId:t,extensionVersion:s,code:c.code,internalCode:c.internalCode,duration:l,didExecute:c.didExecute,clientTargetPlatform:r}),{code:c.code}}},Rl=__decorate([__param(0,he),__param(1,bs)],Rl)}}),jf,Uf,wU=b({"out-build/vs/platform/extensionManagement/node/extensionDownloader.js"(){"use strict";Le(),ce(),H(),ye(),pt(),no(),jt(),ms(),r0(),Bt(),Cf(),Rs(),Ri(),EE(),E0(),Be(),Pe(),oi(),ys(),Uf=class extends B{static{jf=this}static{this.c=".sigzip"}constructor(t,s,i,n,r,o,a){super(),this.j=s,this.m=i,this.n=n,this.q=r,this.r=o,this.t=a,this.extensionsDownloadDir=t.extensionsDownloadLocation,this.f=o.extUri.joinPath(t.extensionsDownloadLocation,".trash"),this.g=20,this.h=this.F()}async download(t,s,i,n){await this.h;const r=await this.u(t,s);if(!i)return{location:r,verificationStatus:void 0};if(!t.isSigned)return{location:r,verificationStatus:Dt.NotSigned};let o;try{o=await this.w(t);const a=(await this.n.verify(t.identifier.id,t.version,r.fsPath,o.fsPath,n))?.code;if(a===Dt.PackageIsInvalidZip||a===Dt.SignatureArchiveIsInvalidZip){try{await this.delete(r)}catch(c){this.t.error(c)}throw new ot(n0,"CorruptZip")}return{location:r,verificationStatus:a}}catch(a){try{await this.delete(r)}catch(c){this.t.error(c)}throw a}finally{if(o)try{await this.delete(o)}catch(a){this.t.error(a)}}}async u(t,s){try{const i=ue(this.extensionsDownloadDir,this.G(t)),n=await this.z(t,"vsix",async()=>{await this.y(t,i,r=>this.m.download(t,r,s));try{await this.C(i.fsPath,"extension/package.json")}catch(r){try{await this.j.del(i)}catch(o){this.t.warn(`Error while deleting: ${i.path}`,de(o))}throw r}},2);return n>1&&this.q.publicLog2("extensiongallery:downloadvsix:retry",{extensionId:t.identifier.id,attempts:n}),i}catch(i){throw St(i,"Download")}}async w(t){try{const s=ue(this.extensionsDownloadDir,`${this.G(t)}${jf.c}`),i=await this.z(t,"sigzip",async()=>{await this.m.downloadSignatureArchive(t,s);try{await this.C(s.fsPath,".signature.p7s")}catch(n){try{await this.j.del(s)}catch(r){this.t.warn(`Error while deleting: ${s.path}`,de(r))}throw n}},2);return i>1&&this.q.publicLog2("extensiongallery:downloadsigzip:retry",{extensionId:t.identifier.id,attempts:i}),s}catch(s){throw St(s,"DownloadSignature")}}async y(t,s,i){if(await this.j.exists(s))return;if(s.scheme!==q.file){await i(s);return}const n=ue(this.extensionsDownloadDir,`.${Ge()}`);try{await i(n)}catch(r){try{await this.j.del(n)}catch{}throw r}try{await xe.rename(n.fsPath,s.fsPath,120*1e3)}catch(r){try{await this.j.del(n)}catch{}let o=!1;try{o=await this.j.exists(s)}catch{}if(o)this.t.info("Rename failed because the file was downloaded by another source. So ignoring renaming.",t.identifier.id,s.path);else throw this.t.info(`Rename failed because of ${de(r)}. Deleted the file from downloaded location`,n.path),r}}async z(t,s,i,n){let r=1;for(;;)try{return await i(),r}catch(o){if(r++>n)throw o;this.t.warn(`Failed downloading ${s}. ${de(o)}. Retry again...`,t.identifier.id)}}async C(t,s){try{await X8(t,s)}catch(i){throw w0(i)}}async delete(t){await this.h;const s=this.r.extUri.relativePath(this.extensionsDownloadDir,t);s?await this.j.move(t,this.r.extUri.joinPath(this.f,s),!0):await this.j.del(t)}async F(){try{if(!await this.j.exists(this.extensionsDownloadDir)){this.t.trace("Extension VSIX downloads cache dir does not exist");return}try{await this.j.del(this.f,{recursive:!0})}catch(s){kt(s)!==1&&this.t.error(s)}const t=await this.j.resolve(this.extensionsDownloadDir,{resolveMetadata:!0});if(t.children){const s=[],i=[],n=[];for(const a of t.children)if(a.name.endsWith(jf.c))n.push(a.resource);else{const c=ws.parse(a.name);c&&i.push([c,a])}const r=e8(i,([a])=>a),o=[];for(const a of r)a.sort((c,l)=>_g(c[0].version,l[0].version)),s.push(...a.slice(1).map(c=>c[1].resource)),o.push(a[0][1]);o.sort((a,c)=>a.mtime-c.mtime),s.push(...o.slice(0,Math.max(0,o.length-this.g)).map(a=>a.resource)),s.push(...n),await rs.settled(s.map(a=>(this.t.trace("Deleting from cache",a.path),this.j.del(a))))}}catch(t){this.t.error(t)}}G(t){return ws.create(t).toString().toLowerCase()}},Uf=jf=__decorate([__param(0,ri),__param(1,st),__param(2,Ai),__param(3,_f),__param(4,bs),__param(5,mt),__param(6,he)],Uf)}});import{fork as yU}from"child_process";var Tf,EU=b({"out-build/vs/platform/extensionManagement/node/extensionLifecycle.js"(){"use strict";Le(),ta(),oe(),H(),ye(),ge(),ms(),Pe(),Fs(),Tf=class extends B{constructor(t,s){super(),this.b=t,this.f=s,this.a=new T1(5)}async postUninstall(t){const s=this.g(t,"uninstall");s&&(this.f.info(t.identifier.id,t.manifest.version,"Running post uninstall script"),await this.a.queue(async()=>{try{await this.h(s.script,"uninstall",s.args,!0,t),this.f.info("Finished running post uninstall script",t.identifier.id,t.manifest.version)}catch(i){this.f.error("Failed to run post uninstall script",t.identifier.id,t.manifest.version),this.f.error(i)}}));try{await xe.rm(this.m(t))}catch(i){this.f.error("Error while removing extension storage path",t.identifier.id),this.f.error(i)}}g(t,s){const i=`vscode:${s}`;if(t.location.scheme===q.file&&t.manifest&&t.manifest.scripts&&typeof t.manifest.scripts[i]=="string"){const n=t.manifest.scripts[i].split(" ");return n.length<2||n[0]!=="node"||!n[1]?(this.f.warn(t.identifier.id,t.manifest.version,`${i} should be a node script`),null):{script:T(t.location.fsPath,n[1]),args:n.slice(2)||[]}}return null}h(t,s,i,n,r){return new Promise((o,a)=>{const c=this.j(t,s,i,r);let l;const u=h=>{l&&(clearTimeout(l),l=null),h?a(h):o(void 0)};c.on("error",h=>{u(Xr(h)||"Unknown")}),c.on("exit",(h,d)=>{u(h?`post-${s} process exited with code ${h}`:void 0)}),n&&(l=setTimeout(()=>{l=null,c.kill(),a("timed out")},5e3))})}j(t,s,i,n){const r={silent:!0,execArgv:void 0},o=yU(t,[`--type=extension-post-${s}`,...i],r);o.stdout.setEncoding("utf8"),o.stderr.setEncoding("utf8");const a=F.fromNodeEventEmitter(o.stdout,"data"),c=F.fromNodeEventEmitter(o.stderr,"data");this.D(a(h=>this.f.info(n.identifier.id,n.manifest.version,`post-${s}`,h))),this.D(c(h=>this.f.error(n.identifier.id,n.manifest.version,`post-${s}`,h)));const l=F.any(F.map(a,h=>({data:`%c${h}`,format:[""]}),this.B),F.map(c,h=>({data:`%c${h}`,format:["color: red"]}),this.B));return F.debounce(l,(h,d)=>h?{data:h.data+d.data,format:[...h.format,...d.format]}:{data:d.data,format:d.format},100,void 0,void 0,void 0,this.B)(h=>{console.group(n.identifier.id),console.log(h.data,...h.format),console.groupEnd()}),o}m(t){return T(this.b.defaultProfile.globalStorageHome.fsPath,t.identifier.id.toLowerCase())}},Tf=__decorate([__param(0,Ts),__param(1,he)],Tf)}}),xE,xU=b({"out-build/vs/platform/extensionManagement/node/extensionsManifestCache.js"(){"use strict";H(),ai(),Be(),xE=class extends B{constructor(e,t,s,i,n){super(),this.a=e,this.b=t,this.c=s,this.f=n,this.D(i.onDidInstallExtensions(r=>this.g(r))),this.D(i.onDidUninstallExtension(r=>this.h(r)))}g(e){for(const t of e)t.local&&this.invalidate(t.profileLocation)}h(e){e.error||this.invalidate(e.profileLocation)}async invalidate(e){if(e)for(const t of this.a.profiles)this.c.extUri.isEqual(t.extensionsResource,e)&&await this.j(t);else await this.j(this.a.defaultProfile)}async j(e){try{await this.b.del(this.c.extUri.joinPath(e.cacheHome,jg))}catch(t){kt(t)!==1&&this.f.error(t)}}}}}),kE,kU=b({"out-build/vs/platform/extensionManagement/node/extensionsWatcher.js"(){"use strict";ce(),oe(),H(),Zt(),Ri(),ai(),kE=class extends B{constructor(e,t,s,i,n,r,o){super(),this.f=e,this.g=t,this.h=s,this.j=i,this.m=n,this.n=r,this.q=o,this.a=this.D(new D),this.onDidChangeExtensionsByAnotherSource=this.a.event,this.b=new Map,this.c=this.D(new Eh),this.r().then(null,a=>o.error("Error while initializing Extensions Watcher",de(a)))}async r(){await this.g.initializeDefaultProfileExtensions(),await this.t(this.h.profiles),this.s(),await this.H()}s(){this.D(this.h.onDidChangeProfiles(e=>this.t(e.added))),this.D(this.j.onAddExtensions(e=>this.u(e))),this.D(this.j.onDidAddExtensions(e=>this.w(e))),this.D(this.j.onRemoveExtensions(e=>this.y(e))),this.D(this.j.onDidRemoveExtensions(e=>this.z(e))),this.D(this.n.onDidFilesChange(e=>this.C(e)))}async t(e){try{e.length&&await Promise.all(e.map(t=>(this.c.set(t.id,e5(this.n.watch(this.m.extUri.dirname(t.extensionsResource)),this.n.watch(t.extensionsResource))),this.G(t.extensionsResource))))}catch(t){throw this.q.error(t),t}}async u(e){for(const t of e.extensions)this.I(this.L(t.identifier,t.version),e.profileLocation)}async w(e){for(const t of e.extensions){const s=this.L(t.identifier,t.version);e.error?this.J(s,e.profileLocation):this.I(s,e.profileLocation)}}async y(e){for(const t of e.extensions)this.J(this.L(t.identifier,t.version),e.profileLocation)}async z(e){const t=[],s=[];for(const i of e.extensions){const n=this.L(i.identifier,i.version);e.error?this.I(n,e.profileLocation):(this.J(n,e.profileLocation),this.b.has(n)||(this.q.debug("Extension is removed from all profiles",i.identifier.id,i.version),s.push(this.f.scanInstalledExtensionAtLocation(i.location).then(r=>{r?t.push(r):this.q.info("Extension not found at the location",i.location.toString())},r=>this.q.error(r)))))}try{await Promise.all(s),t.length&&await this.H(t)}catch(i){this.q.error(i)}}C(e){for(const t of this.h.profiles)e.contains(t.extensionsResource,0,1)&&this.F(t.extensionsResource)}async F(e){const t=[],s=[],i=await this.j.scanProfileExtensions(e),n=new Set,r=new Set;for(const[o,a]of this.b)a.has(e)&&r.add(o);for(const o of i){const a=this.L(o.identifier,o.version);n.add(a),r.has(a)||(t.push(o.identifier),this.I(a,e))}for(const o of r)if(!n.has(o)){const a=this.M(o);a&&(s.push(a.identifier),this.J(o,e))}(t.length||s.length)&&this.a.fire({added:t.length?{extensions:t,profileLocation:e}:void 0,removed:s.length?{extensions:s,profileLocation:e}:void 0})}async G(e){const t=await this.j.scanProfileExtensions(e);for(const s of t)this.I(this.L(s.identifier,s.version),e)}async H(e){e||(e=(await this.f.scanAllUserInstalledExtensions()).filter(s=>!this.b.has(this.L(s.identifier,s.manifest.version)))),e.length&&await this.f.deleteExtensions(...e)}I(e,t){let s=this.b.get(e);s||this.b.set(e,s=new wh(i=>this.m.extUri.getComparisonKey(i))),s.add(t)}J(e,t){const s=this.b.get(e);s&&s.delete(t),s?.size||this.b.delete(e)}L(e,t){return`${Di.toKey(e.id)}@${t}`}M(e){const[t,s]=Fg(e);return s?{identifier:{id:t},version:s}:void 0}}}});import*as SU from"fs";var Ff,Hf,Nl,zf,Vf,SE,$E=b({"out-build/vs/platform/extensionManagement/node/extensionManagementService.js"(){"use strict";Le(),Ne(),ce(),oe(),zc(),H(),Zt(),ye(),ge(),pt(),no(),be(),Q(),jt(),ms(),r0(),ae(),o0(),Bt(),Cf(),Rs(),Ri(),Ra(),Dl(),wU(),EU(),EE(),xU(),kU(),hf(),Be(),te(),Pe(),es(),oi(),ys(),Fs(),Yt(),yf(),Ff=af,Hf=".vsctmp",Nl=class extends Nf{constructor(t,s,i,n,r,o,a,c,l,u,h,d,p,g,v){super(t,s,g,i,d,p,v),this.kb=n,this.lb=r,this.mb=o,this.nb=a,this.ob=c,this.pb=l,this.qb=u,this.rb=h,this.jb=new Map,this.Gb=new wh;const w=this.D(c.createInstance(Tf));this.gb=this.D(c.createInstance(zf,x=>w.postUninstall(x))),this.hb=this.D(new xE(v,l,g,this,this.I)),this.ib=this.D(c.createInstance(Uf));const k=this.D(new kE(this,this.lb,v,o,g,l,i));this.D(k.onDidChangeExtensionsByAnotherSource(x=>this.Fb(x))),this.Hb()}getTargetPlatform(){return this.sb||(this.sb=t8(this.pb,this.I)),this.sb}async zip(t){this.I.trace("ExtensionManagementService#zip",t.identifier.id);const s=await this.Eb(t),i=await Cj(ue(this.ib.extensionsDownloadDir,Ge()).fsPath,s);return y.file(i)}async getManifest(t){const{location:s,cleanup:i}=await this.xb(t),n=xi(s.fsPath);try{return await y0(n)}finally{await i()}}getInstalled(t,s=this.J.defaultProfile.extensionsResource,i={version:this.g.version,date:this.g.date},n){return this.gb.scanExtensions(t??null,s,i,n)}scanAllUserInstalledExtensions(){return this.gb.scanAllUserExtensions()}scanInstalledExtensionAtLocation(t){return this.gb.scanUserExtensionAtLocation(t)}async install(t,s={}){this.I.trace("ExtensionManagementService#install",t.toString());const{location:i,cleanup:n}=await this.xb(t);try{const r=await y0(xi(i.fsPath)),o=en(r.publisher,r.name);if(r.engines&&r.engines.vscode&&!qg(r.engines.vscode,this.g.version,this.g.date))throw new Error(m(2042,null,o,this.g.version));const a=this.h.isAllowed({id:o,version:r.version,publisherDisplayName:void 0});if(a!==!0)throw new Error(m(2043,null,a.value));const l=(await this.L([{manifest:r,extension:i,options:s}])).find(({identifier:u})=>me(u,{id:o}));if(l?.local)return l.local;throw l?.error?l.error:St(new Error(`Unknown error while installing extension ${o}`))}finally{await n()}}async installFromLocation(t,s){this.I.trace("ExtensionManagementService#installFromLocation",t.toString());const i=await this.gb.scanUserExtensionAtLocation(t);if(!i||!i.manifest.name||!i.manifest.version)throw new Error(`Cannot find a valid extension from the location ${t.toString()}`);return await this.Jb([[i,{source:"resource"}]],s),this.I.info("Successfully installed extension",i.identifier.id,s.toString()),i}async installExtensionsFromProfile(t,s,i){this.I.trace("ExtensionManagementService#installExtensionsFromProfile",t,s.toString(),i.toString());const n=(await this.getInstalled(1,s)).filter(r=>t.some(o=>me(o,r.identifier)));if(n.length){const r=await Promise.all(n.map(o=>this.gb.scanMetadata(o,s)));await this.Jb(n.map((o,a)=>[o,r[a]]),i),this.I.info("Successfully installed extensions",n.map(o=>o.identifier.id),i.toString())}return n}async updateMetadata(t,s,i){return this.I.trace("ExtensionManagementService#updateMetadata",t.identifier.id),s.isPreReleaseVersion&&(s.preRelease=!0,s.hasPreReleaseVersion=!0),s.isMachineScoped===!1&&(s.isMachineScoped=void 0),s.isBuiltin===!1&&(s.isBuiltin=void 0),s.pinned===!1&&(s.pinned=void 0),t=await this.gb.updateMetadata(t,s,i),this.hb.invalidate(i),this.z.fire({local:t,profileLocation:i}),t}fb(t){return this.gb.deleteExtension(t,"remove")}cb(t,s,i,n){return this.gb.copyExtension(t,s,i,n)}db(t,s,i,n){return this.gb.moveExtension(t,s,i,n)}eb(t,s){return this.gb.removeExtension(t.identifier,s)}copyExtensions(t,s){return this.gb.copyExtensions(t,s,{version:this.g.version,date:this.g.date})}deleteExtensions(...t){return this.gb.setExtensionsForRemoval(...t)}async cleanUp(){this.I.trace("ExtensionManagementService#cleanUp");try{await this.gb.cleanUp()}catch(t){this.I.error(t)}}async download(t,s,i){const{location:n}=await this.Cb(t,s,!i);return n}async xb(t){if(t.scheme===q.file)return{location:t,async cleanup(){}};this.I.trace("Downloading extension from",t.toString());const s=ue(this.ib.extensionsDownloadDir,Ge());return await this.nb.download(t,s),this.I.info("Downloaded extension to",s.toString()),{location:s,cleanup:async()=>{try{await this.pb.del(s)}catch(n){this.I.error(n)}}}}$(){return this.J.defaultProfile.extensionsResource}ab(t,s,i){const n=s instanceof y?new ws({id:en(t.publisher,t.name)},t.version):ws.create(s);return this.ob.createInstance(Vf,n,t,s,i,(r,o)=>{if(s instanceof y)return this.Db(n,s,i,o);let a=this.jb.get(n.toString());return a||(this.jb.set(n.toString(),a=this.Bb(n,s,r,i,o)),a.finally(()=>this.jb.delete(n.toString()))),a},this.gb)}bb(t,s){return new SE(t,s,this.mb)}async Bb(t,s,i,n,r){const{verificationStatus:o,location:a}=await this.Cb(s,i,!n.donotVerifySignature,n.context?.[C7]);try{if(r.isCancellationRequested)throw new yt;const c=await y0(a.fsPath);if(!new ws(s.identifier,s.version).equals(new ws({id:en(c.publisher,c.name)},c.version)))throw new ot(m(2044,null,s.identifier.id),"Invalid");const l=await this.gb.extractUserExtension(t,a.fsPath,!1,r);if(o!==Dt.Success&&this.kb.isBuilt)try{await this.ib.delete(a)}catch(u){this.I.warn("Error while deleting the downloaded file",a.toString(),de(u))}return{local:l,verificationStatus:o}}catch(c){try{await this.ib.delete(a)}catch(l){this.I.warn("Error while deleting the downloaded file",a.toString(),de(l))}throw St(c)}}async Cb(t,s,i,n){if(i){const c=this.qb.getValue(H7);i=Wi(c)?c:!0}const{location:r,verificationStatus:o}=await this.ib.download(t,s,i,n),a=YM(t.private,await this.rb.getExtensionGalleryManifest());if(o!==Dt.Success&&!(o===Dt.NotSigned&&!a)&&i&&this.kb.isBuilt&&await this.getTargetPlatform()!=="linux-armhf"){try{await this.ib.delete(r)}catch(c){this.I.warn("Error while deleting the downloaded file",r.toString(),de(c))}if(!o)throw new ot(m(2045,null),"SignatureVerificationInternal");switch(o){case Dt.PackageIntegrityCheckFailed:case Dt.SignatureIsInvalid:case Dt.SignatureManifestIsInvalid:case Dt.SignatureIntegrityCheckFailed:case Dt.EntryIsMissing:case Dt.EntryIsTampered:case Dt.Untrusted:case Dt.CertificateRevoked:case Dt.SignatureIsNotValid:case Dt.SignatureArchiveHasTooManyEntries:case Dt.NotSigned:throw new ot(m(2046,null,o),"SignatureVerificationFailed")}throw new ot(m(2047,null,o),"SignatureVerificationInternal")}return{location:r,verificationStatus:o}}async Db(t,s,i,n){return{local:await this.gb.extractUserExtension(t,xi(s.fsPath),Wi(i.keepExisting)?!i.keepExisting:!0,n)}}async Eb(t){const s=async n=>{let r=await xe.readdir(n);r=r.map(c=>T(n,c));const o=await Promise.all(r.map(c=>SU.promises.stat(c)));let a=Promise.resolve([]);return o.forEach((c,l)=>{const u=r[l];c.isFile()&&(a=a.then(h=>[...h,u])),c.isDirectory()&&(a=a.then(h=>s(u).then(d=>[...h,...d])))}),a};return(await s(t.location.fsPath)).map(n=>({path:`extension/${Bo(t.location.fsPath,n)}`,localPath:n}))}async Fb({added:t,removed:s}){if(s){const i=t&&this.H.extUri.isEqual(s.profileLocation,t.profileLocation)?s.extensions.filter(n=>t.extensions.every(r=>!me(r,n))):s.extensions;for(const n of i)this.I.info("Extensions removed from another source",n.id,s.profileLocation.toString()),this.y.fire({identifier:n,profileLocation:s.profileLocation})}if(t){const n=(await this.getInstalled(1,t.profileLocation)).filter(r=>t.extensions.some(o=>me(o,r.identifier)));this.u.fire(n.map(r=>(this.I.info("Extensions added from another source",r.identifier.id,t.profileLocation.toString()),{identifier:r.identifier,local:r,profileLocation:t.profileLocation,operation:1})))}}async Hb(){this.D(this.gb.onExtract(s=>this.Gb.add(s)));const t=await this.pb.resolve(this.lb.userExtensionsLocation);for(const s of t.children??[])s.isDirectory&&this.Gb.add(s.resource);this.D(this.pb.watch(this.lb.userExtensionsLocation)),this.D(this.pb.onDidFilesChange(s=>this.Ib(s)))}async Ib(t){if(!t.affects(this.lb.userExtensionsLocation,1))return;const s=[];for(const i of t.rawAdded){if(this.Gb.has(i)||!this.H.extUri.isEqual(this.H.extUri.dirname(i),this.lb.userExtensionsLocation)||this.H.extUri.isEqual(i,this.H.extUri.joinPath(this.lb.userExtensionsLocation,".obsolete"))||this.H.extUri.basename(i).startsWith(".")||this.H.extUri.basename(i).endsWith(Hf))continue;try{if(!(await this.pb.stat(i)).isDirectory)continue}catch(r){kt(r)!==1&&this.I.error(r);continue}const n=await this.gb.scanUserExtensionAtLocation(i);n&&n.installedTimestamp===void 0&&(this.Gb.add(i),s.push(n))}s.length&&(await this.Jb(s.map(i=>[i,void 0]),this.J.defaultProfile.extensionsResource),this.I.info("Added extensions to default profile from external source",s.map(i=>i.identifier.id)))}async Jb(t,s){const i=t.map(n=>n[0]);await this.gb.unsetExtensionsForRemoval(...i.map(n=>ws.create(n))),await this.mb.addExtensionsToProfile(t,s),this.u.fire(i.map(n=>({local:n,identifier:n.identifier,operation:1,profileLocation:s})))}},Nl=__decorate([__param(0,Ai),__param(1,bs),__param(2,he),__param(3,ri),__param(4,ho),__param(5,sn),__param(6,If),__param(7,cr),__param(8,st),__param(9,Xt),__param(10,co),__param(11,ft),__param(12,Mn),__param(13,mt),__param(14,Ts)],Nl),zf=class extends B{constructor(t,s,i,n,r,o,a){super(),this.n=t,this.q=s,this.s=i,this.t=n,this.u=r,this.w=o,this.y=a,this.h=this.D(new D),this.onExtract=this.h.event,this.j=new Et,this.m=new Et,this.c=ue(this.s.userExtensionsLocation,".obsolete"),this.g=new Zr}async cleanUp(){await this.L(),await this.J(),await this.I()}async scanExtensions(t,s,i,n){try{const r=s.with({query:n}),o={includeInvalid:!0,profileLocation:s,productVersion:i,language:n};let a=[];if(t===null||t===0){let c=this.j.get(r);c||(c=this.s.scanAllExtensions({language:n},o).finally(()=>this.j.delete(r)),this.j.set(r,c)),a.push(...await c)}else if(t===1){let c=this.m.get(r);c||(c=this.s.scanUserExtensions(o).finally(()=>this.m.delete(r)),this.m.set(r,c)),a.push(...await c)}return a=t!==null?a.filter(c=>c.type===t):a,await Promise.all(a.map(c=>this.H(c)))}catch(r){throw St(r,"Scanning")}}async scanAllUserExtensions(){try{const t=await this.s.scanAllUserExtensions();return await Promise.all(t.map(s=>this.H(s)))}catch(t){throw St(t,"Scanning")}}async scanUserExtensionAtLocation(t){try{const s=await this.s.scanExistingExtension(t,1,{includeInvalid:!0});if(s)return await this.H(s)}catch(s){this.y.error(s)}return null}async extractUserExtension(t,s,i,n){const r=t.toString(),o=y.file(T(this.s.userExtensionsLocation.fsPath,`.${Ge()}`)),a=y.file(T(this.s.userExtensionsLocation.fsPath,r));if(await this.q.exists(a)){if(!i)try{return await this.scanLocalExtension(a,1)}catch(c){this.y.warn(`Error while scanning the existing extension at ${a.path}. Deleting the existing extension and extracting it.`,de(c))}try{await this.C(t.id,a,"removeExisting")}catch{throw new ot(m(2048,null,a.fsPath,t.id),"Delete")}}try{if(n.isCancellationRequested)throw new yt;try{this.y.trace(`Started extracting the extension from ${s} to ${a.fsPath}`),await Lj(s,o.fsPath,{sourcePath:"extension",overwrite:!0},n),this.y.info(`Extracted extension to ${a}:`,t.id)}catch(l){throw w0(l)}const c={installedTimestamp:Date.now(),targetPlatform:t.targetPlatform};try{c.size=await Og(o,this.q)}catch(l){this.y.warn(`Error while getting the size of the extracted extension : ${o.fsPath}`,de(l))}try{await this.s.updateManifestMetadata(o,c)}catch(l){throw this.w.publicLog2("extension:extract",{extensionId:t.id,code:`${kt(l)}`}),St(l,"UpdateMetadata")}if(n.isCancellationRequested)throw new yt;try{this.y.trace(`Started renaming the extension from ${o.fsPath} to ${a.fsPath}`),await this.G(o.fsPath,a.fsPath),this.y.info("Renamed to",a.fsPath)}catch(l){if(l.code==="ENOTEMPTY"){this.y.info("Rename failed because extension was installed by another source. So ignoring renaming.",t.id);try{await this.q.del(o,{recursive:!0})}catch{}}else throw this.y.info(`Rename failed because of ${de(l)}. Deleted from extracted location`,o),l}this.h.fire(a)}catch(c){try{await this.q.del(o,{recursive:!0})}catch{}throw c}return this.scanLocalExtension(a,1)}async scanMetadata(t,s){return(await this.z(t,s))?.metadata}async z(t,s){return(await this.t.scanProfileExtensions(s)).find(n=>me(n.identifier,t.identifier))}async updateMetadata(t,s,i){try{await this.t.updateMetadata([[t,s]],i)}catch(n){throw this.w.publicLog2("extension:extract",{extensionId:t.identifier.id,code:`${kt(n)}`,isProfile:!!i}),St(n,"UpdateMetadata")}return this.scanLocalExtension(t.location,t.type,i)}async setExtensionsForRemoval(...t){const s=[];for(const n of t)await this.q.exists(n.location)&&s.push(n);const i=s.map(n=>ws.create(n));await this.F(n=>i.forEach(r=>{n[r.toString()]=!0,this.y.info("Marked extension as removed",r.toString())}))}async unsetExtensionsForRemoval(...t){try{const s=[];return await this.F(i=>t.forEach(n=>{i[n.toString()]?(s.push(!0),delete i[n.toString()]):s.push(!1)})),s}catch(s){throw St(s,"UnsetRemoved")}}async deleteExtension(t,s){this.u.extUri.isEqualOrParent(t.location,this.s.userExtensionsLocation)&&(await this.C(t.identifier.id,t.location,s),await this.unsetExtensionsForRemoval(ws.create(t)))}async copyExtension(t,s,i,n){const r=await this.z(t,s),o=await this.z(t,i);if(n={...r?.metadata,...n},o)if(this.u.extUri.isEqual(o.location,t.location))await this.t.updateMetadata([[t,{...o.metadata,...n}]],i);else{const a=await this.scanLocalExtension(o.location,t.type,i);await this.t.removeExtensionsFromProfile([a.identifier],i),await this.t.addExtensionsToProfile([[t,{...o.metadata,...n}]],i)}else await this.t.addExtensionsToProfile([[t,n]],i);return this.scanLocalExtension(t.location,t.type,i)}async moveExtension(t,s,i,n){const r=await this.z(t,s),o=await this.z(t,i);if(n={...r?.metadata,...n},o)if(this.u.extUri.isEqual(o.location,t.location))await this.t.updateMetadata([[t,{...o.metadata,...n}]],i);else{const a=await this.scanLocalExtension(o.location,t.type,i);await this.removeExtension(a.identifier,i),await this.t.addExtensionsToProfile([[t,{...o.metadata,...n}]],i)}else await this.t.addExtensionsToProfile([[t,n]],i),r&&await this.removeExtension(r.identifier,s);return this.scanLocalExtension(t.location,t.type,i)}async removeExtension(t,s){await this.t.removeExtensionsFromProfile([t],s)}async copyExtensions(t,s,i){const n=await this.scanExtensions(1,t,i),r=await Promise.all(n.filter(o=>!o.isApplicationScoped).map(async o=>[o,await this.scanMetadata(o,t)]));await this.t.addExtensionsToProfile(r,s)}async C(t,s,i){this.y.trace(`Deleting ${i} extension from disk`,t,s.fsPath);const n=this.u.extUri.joinPath(this.u.extUri.dirname(s),`${this.u.extUri.basename(s)}.${na(Ge()).toString(16)}${Hf}`);await this.G(s.fsPath,n.fsPath),await this.q.del(n,{recursive:!0}),this.y.info(`Deleted ${i} extension from disk`,t,s.fsPath)}F(t){return this.g.queue(async()=>{let s;try{s=(await this.q.readFile(this.c,"utf8")).value.toString()}catch(n){if(kt(n)!==1)throw n}let i={};if(s)try{i=JSON.parse(s)}catch{}if(t)if(t(i),Object.keys(i).length)await this.q.writeFile(this.c,R.fromString(JSON.stringify(i)));else try{await this.q.del(this.c)}catch(n){if(kt(n)!==1)throw n}return i})}async G(t,s){try{await xe.rename(t,s,120*1e3)}catch(i){throw St(i,"Rename")}}async scanLocalExtension(t,s,i){try{if(i){const r=(await this.s.scanUserExtensions({profileLocation:i})).find(o=>this.u.extUri.isEqual(o.location,t));if(r)return await this.H(r)}else{const n=await this.s.scanExistingExtension(t,s,{includeInvalid:!0});if(n)return await this.H(n)}throw new ot(m(2049,null,t.path),"ScanningExtension")}catch(n){throw St(n,"ScanningExtension")}}async H(t){let s;try{s=await this.q.resolve(t.location)}catch{}let i,n;return s?.children&&(i=s.children.find(({name:r})=>/^readme(\.txt|\.md|)$/i.test(r))?.resource,n=s.children.find(({name:r})=>/^changelog(\.txt|\.md|)$/i.test(r))?.resource),{identifier:t.identifier,type:t.type,isBuiltin:t.isBuiltin||!!t.metadata?.isBuiltin,location:t.location,manifest:t.manifest,targetPlatform:t.targetPlatform,validations:t.validations,isValid:t.isValid,readmeUrl:i,changelogUrl:n,publisherDisplayName:t.metadata?.publisherDisplayName,publisherId:t.metadata?.publisherId||null,isApplicationScoped:!!t.metadata?.isApplicationScoped,isMachineScoped:!!t.metadata?.isMachineScoped,isPreReleaseVersion:!!t.metadata?.isPreReleaseVersion,hasPreReleaseVersion:!!t.metadata?.hasPreReleaseVersion,preRelease:t.preRelease,installedTimestamp:t.metadata?.installedTimestamp,updated:!!t.metadata?.updated,pinned:!!t.metadata?.pinned,private:!!t.metadata?.private,isWorkspaceScoped:!1,source:t.metadata?.source??(t.identifier.uuid?"gallery":"vsix"),size:t.metadata?.size??0}}async I(){const t=await this.s.scanAllUserExtensions();await Promise.all(t.map(async s=>{if(Sn(s.metadata?.installedTimestamp)&&si(s.metadata?.size)){const i=await Og(s.location,this.q);await this.s.updateManifestMetadata(s.location,{size:i})}}))}async J(){let t;try{t=await this.F()}catch(r){throw St(r,"ReadRemoved")}if(Object.keys(t).length===0){this.y.debug("No extensions are marked as removed.");return}this.y.debug("Deleting extensions marked as removed:",Object.keys(t));const s=await this.scanAllUserExtensions(),i=new Set;for(const r of s)t[ws.create(r).toString()]||i.add(r.identifier.id.toLowerCase());try{const r=e8(s,o=>o.identifier);await rs.settled(r.map(async o=>{const a=o.sort((c,l)=>_g(c.manifest.version,l.manifest.version))[0];i.has(a.identifier.id.toLowerCase())||await this.n(a)}))}catch(r){this.y.error(r)}const n=s.filter(r=>r.installedTimestamp&&t[ws.create(r).toString()]);await Promise.allSettled(n.map(r=>this.deleteExtension(r,"marked for removal")))}async L(){this.y.trace("ExtensionManagementService#removeTempDeleteFolders");let t;try{t=await this.q.resolve(this.s.userExtensionsLocation)}catch(s){kt(s)!==1&&this.y.error(s);return}if(t?.children)try{await Promise.allSettled(t.children.map(async s=>{if(!(!s.isDirectory||!s.name.endsWith(Hf))){this.y.trace("Deleting the temporarily deleted folder",s.resource.toString());try{await this.q.del(s.resource,{recursive:!0}),this.y.trace("Deleted the temporarily deleted folder",s.resource.toString())}catch(i){kt(i)!==1&&this.y.error(i)}}}))}catch{}}},zf=__decorate([__param(1,st),__param(2,ho),__param(3,sn),__param(4,mt),__param(5,bs),__param(6,he)],zf),Vf=class extends g0{get operation(){return this.options.operation??this.j}get verificationStatus(){return this.k}constructor(t,s,i,n,r,o,a,c,l,u,h,d){super(),this.l=t,this.manifest=s,this.source=i,this.options=n,this.m=r,this.n=o,this.o=a,this.p=c,this.q=l,this.s=u,this.t=h,this.u=d,this.j=2,this.identifier=this.l.identifier}async h(t){const i=(await this.n.scanExtensions(1,this.options.profileLocation,this.options.productVersion)).find(a=>me(a.identifier,this.identifier));i&&(this.j=3);const n={isApplicationScoped:this.options.isApplicationScoped||i?.isApplicationScoped,isMachineScoped:this.options.isMachineScoped||i?.isMachineScoped,isBuiltin:this.options.isBuiltin||i?.isBuiltin,isSystem:i?.type===0?!0:void 0,installedTimestamp:Date.now(),pinned:this.options.installGivenVersion?!0:this.options.pinned??i?.pinned,source:this.source instanceof y?"vsix":"gallery"};let r;if(this.source instanceof y){if(i&&this.l.equals(new ws(i.identifier,i.manifest.version)))try{await this.n.deleteExtension(i,"existing")}catch{throw new Error(m(2050,null,this.manifest.displayName||this.manifest.name))}const a=await this.w(this.l);if(a)try{await this.n.deleteExtension(a,"existing")}catch{throw new Error(m(2051,null,this.manifest.displayName||this.manifest.name))}}else{if(n.id=this.source.identifier.uuid,n.publisherId=this.source.publisherId,n.publisherDisplayName=this.source.publisherDisplayName,n.targetPlatform=this.source.properties.targetPlatform,n.updated=!!i,n.private=this.source.private,n.isPreReleaseVersion=this.source.properties.isPreReleaseVersion,n.hasPreReleaseVersion=i?.hasPreReleaseVersion||this.source.properties.isPreReleaseVersion,n.preRelease=Wi(this.options.preRelease)?this.options.preRelease:this.options.installPreReleaseVersion||this.source.properties.isPreReleaseVersion||i?.preRelease,i&&i.type!==0&&i.manifest.version===this.source.version)return this.n.updateMetadata(i,n,this.options.profileLocation);r=await this.w(this.l)}if(t.isCancellationRequested)throw St(new yt);if(!r){const a=await this.m(this.operation,t);r=a.local,this.k=a.verificationStatus}if(this.o.extUri.isEqual(this.q.defaultProfile.extensionsResource,this.options.profileLocation))try{await this.s.initializeDefaultProfileExtensions()}catch(a){throw St(a,"IntializeDefaultProfile")}if(t.isCancellationRequested)throw St(new yt);try{await this.t.addExtensionsToProfile([[r,n]],this.options.profileLocation,!r.isValid)}catch(a){throw St(a,"AddToProfile")}const o=await this.n.scanLocalExtension(r.location,1,this.options.profileLocation);if(!o)throw new ot("Cannot find the installed extension","InstalledExtensionNotFound");return this.source instanceof y&&this.x(r,t),o}async w(t){const[s]=await this.n.unsetExtensionsForRemoval(t);if(s)return this.u.info("Removed the extension from removed list:",t.id),(await this.n.scanAllUserExtensions()).find(n=>ws.create(n).equals(t))}async x(t,s){try{let[i]=await this.p.getExtensions([{id:t.identifier.id,version:t.manifest.version}],s);if(i||([i]=await this.p.getExtensions([{id:t.identifier.id}],s)),i){const n={id:i.identifier.uuid,publisherDisplayName:i.publisherDisplayName,publisherId:i.publisherId,isPreReleaseVersion:i.properties.isPreReleaseVersion,hasPreReleaseVersion:t.hasPreReleaseVersion||i.properties.isPreReleaseVersion,preRelease:i.properties.isPreReleaseVersion||this.options.installPreReleaseVersion};await this.n.updateMetadata(t,n,this.options.profileLocation)}}catch{}}},Vf=__decorate([__param(6,mt),__param(7,Ai),__param(8,Ts),__param(9,ho),__param(10,sn),__param(11,he)],Vf),SE=class extends g0{constructor(e,t,s){super(),this.extension=e,this.options=t,this.j=s}h(e){return this.j.removeExtensionsFromProfile([this.extension.identifier],this.options.profileLocation)}}}}),IE,x0,$U=b({"out-build/vs/platform/instantiation/common/graph.js"(){"use strict";IE=class{constructor(e,t){this.key=e,this.data=t,this.incoming=new Map,this.outgoing=new Map}},x0=class{constructor(e){this.b=e,this.a=new Map}roots(){const e=[];for(const t of this.a.values())t.outgoing.size===0&&e.push(t);return e}insertEdge(e,t){const s=this.lookupOrInsertNode(e),i=this.lookupOrInsertNode(t);s.outgoing.set(i.key,i),i.incoming.set(s.key,s)}removeNode(e){const t=this.b(e);this.a.delete(t);for(const s of this.a.values())s.outgoing.delete(t),s.incoming.delete(t)}lookupOrInsertNode(e){const t=this.b(e);let s=this.a.get(t);return s||(s=new IE(t,e),this.a.set(t,s)),s}lookup(e){return this.a.get(this.b(e))}isEmpty(){return this.a.size===0}toString(){const e=[];for(const[t,s]of this.a)e.push(`${t} (-> incoming)[${[...s.incoming.keys()].join(", ")}] (outgoing ->)[${[...s.outgoing.keys()].join(",")}] `);return e.join(` `)}findCycleSlow(){for(const[e,t]of this.a){const s=new Set([e]),i=this.c(t,s);if(i)return i}}c(e,t){for(const[s,i]of e.outgoing){if(t.has(s))return[...t,s].join(" -> ");t.add(s);const n=this.c(i,t);if(n)return n;t.delete(s)}}}}}),PE,k0,S0,AE,Bf,DE=b({"out-build/vs/platform/instantiation/common/instantiationService.js"(){"use strict";Le(),ce(),H(),Hh(),$U(),te(),J1(),i5(),PE=!1,k0=class extends Error{constructor(e){super("cyclic dependency between services"),this.message=e.findCycleSlow()??`UNABLE to detect cycle, dumping graph: ${e.toString()}`}},S0=class _y{constructor(t=new Ch,s=!1,i,n=PE){this.i=t,this.j=s,this.k=i,this.l=n,this.f=!1,this.g=new Set,this.h=new Set,this.t=new Set,this.i.set(cr,this),this._globalGraph=n?i?._globalGraph??new x0(r=>r):void 0}dispose(){if(!this.f){this.f=!0,Ht(this.h),this.h.clear();for(const t of this.g)K4(t)&&t.dispose();this.g.clear()}}m(){if(this.f)throw new Error("InstantiationService has been disposed")}createChild(t,s){this.m();const i=this,n=new class extends _y{dispose(){i.h.delete(n),super.dispose()}}(t,this.j,this,this.l);return this.h.add(n),s?.add(n),n}invokeFunction(t,...s){this.m();const i=Bf.traceInvocation(this.l,t);let n=!1;try{return t({get:o=>{if(n)throw _4("service accessor is only valid during the invocation of its target method");const a=this.s(o,i);return a||this.y(`[invokeFunction] unknown service '${o}'`,!1),a}},...s)}finally{n=!0,i.stop()}}createInstance(t,...s){this.m();let i,n;return t instanceof He?(i=Bf.traceCreation(this.l,t.ctor),n=this.o(t.ctor,t.staticArguments.concat(s),i)):(i=Bf.traceCreation(this.l,t),n=this.o(t,s,i)),i.stop(),n}o(t,s=[],i){const n=Ii.getServiceDependencies(t).sort((a,c)=>a.index-c.index),r=[];for(const a of n){const c=this.s(a.id,i);c||this.y(`[createInstance] ${t.name} depends on UNKNOWN service ${a.id}.`,!1),r.push(c)}const o=n.length>0?n[0].index:s.length;if(s.length!==o){console.trace(`[createInstance] First service dependency of ${t.name} at position ${o+1} conflicts with ${s.length} static arguments`);const a=o-s.length;a>0?s=s.concat(new Array(a)):s=s.slice(0,o)}return Reflect.construct(t,s.concat(r))}q(t,s){if(this.i.get(t)instanceof He)this.i.set(t,s);else if(this.k)this.k.q(t,s);else throw new Error("illegalState - setting UNKNOWN service instance")}r(t){const s=this.i.get(t);return!s&&this.k?this.k.r(t):s}s(t,s){this._globalGraph&&this.c&&this._globalGraph.insertEdge(this.c,String(t));const i=this.r(t);return i instanceof He?this.u(t,i,s.branch(t,!0)):(s.branch(t,!1),i)}u(t,s,i){if(this.t.has(t))throw new Error(`illegal state - RECURSIVELY instantiating service '${t}'`);this.t.add(t);try{return this.v(t,s,i)}finally{this.t.delete(t)}}v(t,s,i){const n=new x0(c=>c.id.toString());let r=0;const o=[{id:t,desc:s,_trace:i}],a=new Set;for(;o.length;){const c=o.pop();if(!a.has(String(c.id))){if(a.add(String(c.id)),n.lookupOrInsertNode(c),r++>1e3)throw new k0(n);for(const l of Ii.getServiceDependencies(c.desc.ctor)){const u=this.r(l.id);if(u||this.y(`[createInstance] ${t} depends on ${l.id} which is NOT registered.`,!0),this._globalGraph?.insertEdge(String(c.id),String(l.id)),u instanceof He){const h={id:l.id,desc:u,_trace:c._trace.branch(l.id,!0)};n.insertEdge(c,h),o.push(h)}}}}for(;;){const c=n.roots();if(c.length===0){if(!n.isEmpty())throw new k0(n);break}for(const{data:l}of c){if(this.r(l.id)instanceof He){const h=this.w(l.id,l.desc.ctor,l.desc.staticArguments,l.desc.supportsDelayedInstantiation,l._trace);this.q(l.id,h)}n.removeNode(l)}}return this.r(t)}w(t,s,i=[],n,r){if(this.i.get(t)instanceof He)return this.x(t,s,i,n,r,this.g);if(this.k)return this.k.w(t,s,i,n,r);throw new Error(`illegalState - creating UNKNOWN service instance ${s.name}`)}x(t,s,i=[],n,r,o){if(n){const a=new _y(void 0,this.j,this,this.l);a.c=String(t);const c=new Map,l=new l6(()=>{const u=a.o(s,i,r);for(const[h,d]of c){const p=u[h];if(typeof p=="function")for(const g of d)g.disposable=p.apply(u,g.listener)}return c.clear(),o.add(u),u});return new Proxy(Object.create(null),{get(u,h){if(!l.isInitialized&&typeof h=="string"&&(h.startsWith("onDid")||h.startsWith("onWill"))){let g=c.get(h);return g||(g=new v1,c.set(h,g)),(w,k,x)=>{if(l.isInitialized)return l.value[h](w,k,x);{const A={listener:[w,k,x],disposable:void 0},_=g.push(A);return De(()=>{_(),A.disposable?.dispose()})}}}if(h in u)return u[h];const d=l.value;let p=d[h];return typeof p!="function"||(p=p.bind(d),u[h]=p),p},set(u,h,d){return l.value[h]=d,!0},getPrototypeOf(u){return s.prototype}})}else{const a=this.o(s,i,r);return o.add(a),a}}y(t,s){if(s&&console.warn(t),this.j)throw new Error(t)}},(function(e){e[e.None=0]="None",e[e.Creation=1]="Creation",e[e.Invocation=2]="Invocation",e[e.Branch=3]="Branch"})(AE||(AE={})),Bf=class pn{static{this.all=new Set}static{this.c=new class extends pn{constructor(){super(0,null)}stop(){}branch(){return this}}}static traceInvocation(t,s){return t?new pn(2,s.name||new Error().stack.split(` `).slice(3,4).join(` `)):pn.c}static traceCreation(t,s){return t?new pn(1,s.name):pn.c}static{this.f=0}constructor(t,s){this.type=t,this.name=s,this.g=Date.now(),this.h=[]}branch(t,s){const i=new pn(3,t.toString());return this.h.push([t,s,i]),i}stop(){const t=Date.now()-this.g;pn.f+=t;let s=!1;function i(r,o){const a=[],c=new Array(r+1).join(" ");for(const[l,u,h]of o.h)if(u&&h){s=!0,a.push(`${c}CREATES -> ${l}`);const d=i(r+1,h);d&&a.push(d)}else a.push(`${c}uses -> ${l}`);return a.join(` `)}const n=[`${this.type===1?"CREATE":"CALL"} ${this.name}`,`${i(1,this)}`,`DONE, took ${t.toFixed(2)}ms (grand total ${pn.f.toFixed(2)}ms)`];(t>2||s)&&pn.all.add(n.join(` `))}}}});async function RE(e,t,s,i,n,r){let o;try{await IU(e,t,s,i,n,r)}catch(a){o=a}finally{o&&n.errorTransformer&&(o=n.errorTransformer(o)),typeof o<"u"&&s.error(o),s.end()}}async function IU(e,t,s,i,n,r){$0(r);const o=await e.open(t,{create:!1});try{$0(r);let a=0,c=0,l=n&&typeof n.length=="number"?n.length:void 0,u=R.alloc(Math.min(n.bufferSize,typeof l=="number"?l:n.bufferSize)),h=n&&typeof n.position=="number"?n.position:0,d=0;do c=await e.read(o,h,u.buffer,d,u.byteLength-d),h+=c,d+=c,a+=c,typeof l=="number"&&(l-=c),d===u.byteLength&&(await s.write(i(u)),u=R.alloc(Math.min(n.bufferSize,typeof l=="number"?l:n.bufferSize)),d=0);while(c>0&&(typeof l!="number"||l>0)&&$0(r)&&PU(a,n));if(d>0){let p=d;typeof l=="number"&&(p=Math.min(d,l)),s.write(i(u.slice(0,p)))}}catch(a){throw ro(a)}finally{await e.close(o)}}function $0(e){if(e.isCancellationRequested)throw M4();return!0}function PU(e,t){if(typeof t?.limits?.size=="number"&&e>t.limits.size)throw _n(m(2122,null),ne.FileTooLarge);return!0}var NE=b({"out-build/vs/platform/files/common/io.js"(){"use strict";Ne(),ce(),ae(),Be()}}),I0,Cl,CE=b({"out-build/vs/platform/files/common/fileService.js"(){"use strict";nt(),Le(),Ne(),Pt(),oe(),zc(),tr(),H(),ff(),ye(),vn(),pt(),Fc(),ae(),Be(),NE(),Pe(),ce(),Cl=class extends B{static{I0=this}constructor(t){super(),this.b=t,this.a=256*1024,this.c=this.D(new D),this.onDidChangeFileSystemProviderRegistrations=this.c.event,this.f=this.D(new D),this.onWillActivateFileSystemProvider=this.f.event,this.g=this.D(new D),this.onDidChangeFileSystemProviderCapabilities=this.g.event,this.h=new Map,this.q=this.D(new D),this.onDidRunOperation=this.q.event,this.Y=this.D(new D),this.Z=this.D(new D),this.onDidFilesChange=this.Z.event,this.$=this.D(new D),this.onDidWatchError=this.$.event,this.ab=new Map,this.db=this.D(new F1)}registerProvider(t,s){if(this.h.has(t))throw new Error(`A filesystem provider for the scheme '${t}' is already registered.`);Nt(`code/registerFilesystem/${t}`);const i=new Qe;return this.h.set(t,s),this.c.fire({added:!0,scheme:t,provider:s}),i.add(s.onDidChangeFile(n=>{const r=new E8(n,!this.U(s));this.Y.fire(r),r.hasCorrelation()||this.Z.fire(r)})),typeof s.onDidWatchError=="function"&&i.add(s.onDidWatchError(n=>this.$.fire(new Error(n)))),i.add(s.onDidChangeCapabilities(()=>this.g.fire({provider:s,scheme:t}))),De(()=>{this.c.fire({added:!1,scheme:t,provider:s}),this.h.delete(t),Ht(i)})}getProvider(t){return this.h.get(t)}async activateProvider(t){const s=[];this.f.fire({scheme:t,join(i){s.push(i)}}),!this.h.has(t)&&await rs.settled(s)}async canHandleResource(t){return await this.activateProvider(t.scheme),this.hasProvider(t)}hasProvider(t){return this.h.has(t.scheme)}hasCapability(t,s){const i=this.h.get(t.scheme);return!!(i&&i.capabilities&s)}listCapabilities(){return Gi.map(this.h,([t,s])=>({scheme:t,capabilities:s.capabilities}))}async j(t){if(!K5(t))throw new qt(m(2094,null,this.tb(t)),8);await this.activateProvider(t.scheme);const s=this.h.get(t.scheme);if(!s){const i=new En;throw i.message=m(2095,null,t.toString()),i}return s}async m(t){const s=await this.j(t);if(mr(s)||ci(s)||Zg(s))return s;throw new Error(`Filesystem provider for scheme '${t.scheme}' neither has FileReadWrite, FileReadStream nor FileOpenReadWriteClose capability which is needed for the read operation.`)}async n(t){const s=await this.j(t);if(mr(s)||ci(s))return s;throw new Error(`Filesystem provider for scheme '${t.scheme}' neither has FileReadWrite nor FileOpenReadWriteClose capability which is needed for the write operation.`)}async resolve(t,s){try{return await this.r(t,s)}catch(i){throw df(i)===ne.FileNotFound?new qt(m(2096,null,this.tb(t)),1):ro(i)}}async r(t,s){const i=await this.j(t),n=this.U(i),r=s?.resolveTo,o=s?.resolveSingleChildDescendants,a=s?.resolveMetadata,c=await i.stat(t);let l;return this.s(i,t,c,void 0,!!a,(u,h)=>(l||(l=Sa.forUris(()=>!n),l.set(t,!0),r&&l.fill(!0,r)),l.get(u.resource)||l.findSuperstr(u.resource.with({query:null,fragment:null}))?!0:u.isDirectory&&o?h===1:!1))}async s(t,s,i,n,r,o){const{providerExtUri:a}=this.S(t),c={resource:s,name:a.basename(s),isFile:(i.type&Ns.File)!==0,isDirectory:(i.type&Ns.Directory)!==0,isSymbolicLink:(i.type&Ns.SymbolicLink)!==0,mtime:i.mtime,ctime:i.ctime,size:i.size,readonly:!!((i.permissions??0)&gr.Readonly)||!!(t.capabilities&2048),locked:!!((i.permissions??0)&gr.Locked),executable:!!((i.permissions??0)&gr.Executable),etag:g8({mtime:i.mtime,size:i.size}),children:void 0};if(c.isDirectory&&o(c,n)){try{const l=await t.readdir(s),u=await rs.settled(l.map(async([h,d])=>{try{const p=a.joinPath(s,h),g=r?await t.stat(p):{type:d};return await this.s(t,p,g,l.length,r,o)}catch(p){return this.b.trace(p),null}}));c.children=ti(u)}catch(l){this.b.trace(l),c.children=[]}return c}return c}async resolveAll(t){return rs.settled(t.map(async s=>{try{return{stat:await this.r(s.resource,s.options),success:!0}}catch(i){return this.b.trace(i),{stat:void 0,success:!1}}}))}async stat(t){const s=await this.j(t),i=await s.stat(t);return this.s(s,t,i,void 0,!0,()=>!1)}async realpath(t){const s=await this.j(t);if(X_(s)){const i=await s.realpath(t);return t.with({path:i})}}async exists(t){const s=await this.j(t);try{return!!await s.stat(t)}catch{return!1}}async canCreateFile(t,s){try{await this.t(t,s)}catch(i){return i}return!0}async t(t,s){if(!s?.overwrite&&await this.exists(t))throw new qt(m(2097,null,this.tb(t)),3,s)}async createFile(t,s=R.fromString(""),i){await this.t(t,i);const n=await this.writeFile(t,s);return this.q.fire(new oo(t,0,n)),n}async writeFile(t,s,i){const n=this.rb(await this.n(t),t),{providerExtUri:r}=this.S(n);let o=i;if(p8(n)&&!o?.atomic){const a=n.enforceAtomicWriteFile?.(t);a&&(o={...i,atomic:a})}try{let{stat:a,buffer:c}=await this.w(n,t,s,o);a||await this.W(n,r.dirname(t)),c||(c=await this.u(n,s)),!mr(n)||ci(n)&&c instanceof R||ci(n)&&p8(n)&&o?.atomic?await this.ib(n,t,o,c):await this.eb(n,t,o,c instanceof R?yO(c):c),this.q.fire(new oo(t,4))}catch(a){throw new qt(m(2098,null,this.tb(t),ro(a).toString()),kt(a),o)}return this.resolve(t,{resolveMetadata:!0})}async u(t,s){let i;if(ci(t)&&!(s instanceof R))if(Lh(s)){const n=await uO(s,3);n.ended?i=R.concat(n.buffer):i=n}else i=lO(s,n=>R.concat(n),3);else i=s;return i}async w(t,s,i,n){const r=!!n?.unlock;if(r&&!(t.capabilities&8192))throw new Error(m(2099,null,this.tb(s)));if(n?.append&&!Q_(t))throw new qt(m(2100,null,this.tb(s)),6);if(!!n?.atomic){if(!(t.capabilities&32768))throw new Error(m(2101,null,this.tb(s)));if(!(t.capabilities&2))throw new Error(m(2102,null,this.tb(s)));if(r)throw new Error(m(2103,null,this.tb(s)))}let a;try{a=await t.stat(s)}catch{return Object.create(null)}if((a.type&Ns.Directory)!==0)throw new qt(m(2104,null,this.tb(s)),0,n);this.sb(s,a);let c;if(typeof n?.mtime=="number"&&typeof n.etag=="string"&&n.etag!==vf&&typeof a.mtime=="number"&&typeof a.size=="number"&&n.mtime{this.db.queueFor(s,async()=>{try{const a=await this.C(t,s,i,n);r(a)}catch(a){o(a)}},this.S(t).providerExtUri)})}async C(t,s,i,n){const r=await this.F(t,s,{...i,preferUnbuffered:!0},n);return{...r,value:await Nn(r.value)}}async readFileStream(t,s,i){const n=await this.m(t);return this.F(n,t,s,i)}async F(t,s,i,n){const r=new Si(n);let o=i;Xg(t)&&t.enforceAtomicReadFile?.(s)&&(o={...i,atomic:!0});const a=this.L(s,o).then(l=>l,l=>{throw r.dispose(!0),l});let c;try{return typeof o?.etag=="string"&&o.etag!==vf&&await a,o?.atomic&&Xg(t)||!(mr(t)||Zg(t))||ci(t)&&o?.preferUnbuffered?c=this.J(t,s,o):Zg(t)?c=this.H(t,s,r.token,o):c=this.I(t,s,r.token,o),c.on("end",()=>r.dispose()),c.on("error",()=>r.dispose()),{...await a,value:c}}catch(l){throw c&&await P6(c),this.G(l,s,o)}}G(t,s,i){const n=m(2106,null,this.tb(s),ro(t).toString());return t instanceof gf?new gf(n,t.stat,i):t instanceof mf?new mf(n,t.fileOperationResult,t.size,t.options):new qt(n,kt(t),i)}H(t,s,i,n=Object.create(null)){const r=t.readFileStream(s,n,i);return A6(r,{data:o=>o instanceof R?o:R.wrap(o),error:o=>this.G(o,s,n)},o=>R.concat(o))}I(t,s,i,n=Object.create(null)){const r=kO();return RE(t,s,r,o=>o,{...n,bufferSize:this.a,errorTransformer:o=>this.G(o,s,n)},i),r}J(t,s,i){const n=Oh(r=>R.concat(r));return(async()=>{try{let r;i?.atomic&&Xg(t)?r=await t.readFile(s,{atomic:!0}):r=await t.readFile(s),typeof i?.position=="number"&&(r=r.slice(i.position)),typeof i?.length=="number"&&(r=r.slice(0,i.length)),this.M(s,r.byteLength,i),n.end(R.wrap(r))}catch(r){n.error(r),n.end()}})(),n}async L(t,s){const i=await this.resolve(t,{resolveMetadata:!0});if(i.isDirectory)throw new qt(m(2107,null,this.tb(t)),0,s);if(typeof s?.etag=="string"&&s.etag!==vf&&s.etag===i.etag)throw new gf(m(2108,null),i,s);return this.M(t,i.size,s),i}M(t,s,i){if(typeof i?.limits?.size=="number"&&s>i.limits.size)throw new mf(m(2109,null,this.tb(t)),7,s,i)}async canMove(t,s,i){return this.N(t,s,"move",i)}async canCopy(t,s,i){return this.N(t,s,"copy",i)}async N(t,s,i,n){if(t.toString()!==s.toString())try{const r=i==="move"?this.rb(await this.n(t),t):await this.m(t),o=this.rb(await this.n(s),s);await this.R(r,t,o,s,i,n)}catch(r){return r}return!0}async move(t,s,i){const n=this.rb(await this.n(t),t),r=this.rb(await this.n(s),s),o=await this.O(n,t,r,s,"move",!!i),a=await this.resolve(s,{resolveMetadata:!0});return this.q.fire(new oo(t,o==="move"?2:3,a)),a}async copy(t,s,i){const n=await this.m(t),r=this.rb(await this.n(s),s),o=await this.O(n,t,r,s,"copy",!!i),a=await this.resolve(s,{resolveMetadata:!0});return this.q.fire(new oo(t,o==="copy"?3:2,a)),a}async O(t,s,i,n,r,o){if(s.toString()===n.toString())return r;const{exists:a,isSameResourceWithDifferentPathCase:c}=await this.R(t,s,i,n,r,o);if(a&&!c&&o&&await this.del(n,{recursive:!0}),await this.W(i,this.S(i).providerExtUri.dirname(n)),r==="copy"){if(t===i&&d8(t))await t.copy(s,n,{overwrite:o});else{const l=await this.resolve(s);l.isDirectory?await this.Q(t,l,i,n):await this.P(t,s,i,n)}return r}else return t===i?(await t.rename(s,n,{overwrite:o}),r):(await this.O(t,s,i,n,"copy",o),await this.del(s,{recursive:!0}),"copy")}async P(t,s,i,n){if(mr(t)&&mr(i))return this.kb(t,s,i,n);if(mr(t)&&ci(i))return this.qb(t,s,i,n);if(ci(t)&&mr(i))return this.ob(t,s,i,n);if(ci(t)&&ci(i))return this.mb(t,s,i,n)}async Q(t,s,i,n){await i.mkdir(n),Array.isArray(s.children)&&await rs.settled(s.children.map(async r=>{const o=this.S(i).providerExtUri.joinPath(n,r.name);return r.isDirectory?this.Q(t,await this.resolve(r.resource),i,o):this.P(t,r.resource,i,o)}))}async R(t,s,i,n,r,o){let a=!1;if(t===i){const{providerExtUri:l,isPathCaseSensitive:u}=this.S(t);if(u||(a=l.isEqual(s,n)),a&&r==="copy")throw new Error(m(2110,null,this.tb(s),this.tb(n)));if(!a&&l.isEqualOrParent(n,s))throw new Error(m(2111,null,this.tb(s),this.tb(n)))}const c=await this.exists(n);if(c&&!a){if(!o)throw new qt(m(2112,null,this.tb(s),this.tb(n)),4);if(t===i){const{providerExtUri:l}=this.S(t);if(l.isEqualOrParent(s,n))throw new Error(m(2113,null,this.tb(s),this.tb(n)))}}return{exists:c,isSameResourceWithDifferentPathCase:a}}S(t){const s=this.U(t);return{providerExtUri:s?Re:Q5,isPathCaseSensitive:s}}U(t){return!!(t.capabilities&1024)}async createFolder(t){const s=this.rb(await this.j(t),t);await this.W(s,t);const i=await this.resolve(t,{resolveMetadata:!0});return this.q.fire(new oo(t,0,i)),i}async W(t,s){const i=[],{providerExtUri:n}=this.S(t);for(;!n.isEqual(s,n.dirname(s));)try{if(((await t.stat(s)).type&Ns.Directory)===0)throw new Error(m(2114,null,this.tb(s)));break}catch(r){if(df(r)!==ne.FileNotFound)throw r;i.push(n.basename(s)),s=n.dirname(s)}for(let r=i.length-1;r>=0;r--){s=n.joinPath(s,i[r]);try{await t.mkdir(s)}catch(o){if(df(o)!==ne.FileExists)throw o}}}async canDelete(t,s){try{await this.X(t,s)}catch(i){return i}return!0}async X(t,s){const i=this.rb(await this.j(t),t),n=!!s?.useTrash;if(n&&!(i.capabilities&4096))throw new Error(m(2115,null,this.tb(t)));const r=s?.atomic;if(r&&!(i.capabilities&65536))throw new Error(m(2116,null,this.tb(t)));if(n&&r)throw new Error(m(2117,null,this.tb(t)));let o;try{o=await i.stat(t)}catch{}if(o)this.sb(t,o);else throw new qt(m(2118,null,this.tb(t)),1);if(!!!s?.recursive){const c=await this.resolve(t);if(c.isDirectory&&Array.isArray(c.children)&&c.children.length>0)throw new Error(m(2119,null,this.tb(t)))}return i}async del(t,s){const i=await this.X(t,s);let n=s;if(Y_(i)&&!n?.atomic){const c=i.enforceAtomicDelete?.(t);c&&(n={...s,atomic:c})}const r=!!n?.useTrash,o=!!n?.recursive,a=n?.atomic??!1;await i.delete(t,{recursive:o,useTrash:r,atomic:a}),this.q.fire(new oo(t,1))}async cloneFile(t,s){const i=await this.j(t),n=this.rb(await this.n(s),s);if(!(i===n&&this.S(i).providerExtUri.isEqual(t,s)))return i===n&&Z_(i)?i.cloneFile(t,s):(await this.W(n,this.S(n).providerExtUri.dirname(s)),i===n&&d8(i)?this.db.queueFor(t,()=>i.copy(t,s,{overwrite:!0}),this.S(i).providerExtUri):this.db.queueFor(t,()=>this.P(i,t,n,s),this.S(i).providerExtUri))}static{this.bb=0}createWatcher(t,s){return this.watch(t,{...s,correlationId:I0.bb++})}watch(t,s={recursive:!1,excludes:[]}){const i=new Qe;let n=!1,r=()=>{n=!0};i.add(De(()=>r())),(async()=>{try{const a=await this.cb(t,s);n?Ht(a):r=()=>Ht(a)}catch(a){this.b.error(a)}})();const o=s.correlationId;if(typeof o=="number"){const a=i.add(new D);return i.add(this.Y.event(l=>{l.correlates(o)&&a.fire(l)})),{onDidChange:a.event,dispose:()=>i.dispose()}}return i}async cb(t,s){const i=await this.j(t),n=na([this.S(i).providerExtUri.getComparisonKey(t),s]);let r=this.ab.get(n);return r||(r={count:0,disposable:i.watch(t,s)},this.ab.set(n,r)),r.count+=1,De(()=>{r&&(r.count--,r.count===0&&(Ht(r.disposable),this.ab.delete(n)))})}dispose(){super.dispose();for(const[,t]of this.ab)Ht(t.disposable);this.ab.clear()}async eb(t,s,i,n){return this.db.queueFor(s,async()=>{const r=await t.open(s,{create:!0,unlock:i?.unlock??!1,append:i?.append??!1});try{Lh(n)||Z1(n)?await this.fb(t,r,n):await this.gb(t,r,n)}catch(o){throw ro(o)}finally{await t.close(r)}},this.S(t).providerExtUri)}async fb(t,s,i){let n=0,r;if(Z1(i)){if(i.buffer.length>0){const o=R.concat(i.buffer);await this.hb(t,s,o,o.byteLength,n,0),n+=o.byteLength}if(i.ended)return;r=i.stream}else r=i;return new Promise((o,a)=>{Mh(r,{onData:async c=>{r.pause();try{await this.hb(t,s,c,c.byteLength,n,0)}catch(l){return a(l)}n+=c.byteLength,setTimeout(()=>r.resume())},onError:c=>a(c),onEnd:()=>o()})})}async gb(t,s,i){let n=0,r;for(;(r=i.read())!==null;)await this.hb(t,s,r,r.byteLength,n,0),n+=r.byteLength}async hb(t,s,i,n,r,o){let a=0;for(;athis.jb(t,s,i,n),this.S(t).providerExtUri)}async jb(t,s,i,n){let r;n instanceof R?r=n:Lh(n)?r=await Nn(n):Z1(n)?r=await EO(n):r=wO(n),await t.writeFile(s,r.buffer,{create:!0,overwrite:!0,unlock:i?.unlock??!1,atomic:i?.atomic??!1,append:i?.append??!1})}async kb(t,s,i,n){return this.db.queueFor(n,()=>this.lb(t,s,i,n),this.S(i).providerExtUri)}async lb(t,s,i,n){let r,o;try{r=await t.open(s,{create:!1}),o=await i.open(n,{create:!0,unlock:!1});const a=R.alloc(this.a);let c=0,l=0,u=0;do u=await t.read(r,c,a.buffer,l,a.byteLength-l),await this.hb(i,o,a,u,c,l),c+=u,l+=u,l===a.byteLength&&(l=0);while(u>0)}catch(a){throw ro(a)}finally{await rs.settled([typeof r=="number"?t.close(r):Promise.resolve(),typeof o=="number"?i.close(o):Promise.resolve()])}}async mb(t,s,i,n){return this.db.queueFor(n,()=>this.nb(t,s,i,n),this.S(i).providerExtUri)}async nb(t,s,i,n){return i.writeFile(n,await t.readFile(s),{create:!0,overwrite:!0,unlock:!1,atomic:!1})}async ob(t,s,i,n){return this.db.queueFor(n,()=>this.pb(t,s,i,n),this.S(i).providerExtUri)}async pb(t,s,i,n){const r=await i.open(n,{create:!0,unlock:!1});try{const o=await t.readFile(s);await this.hb(i,r,R.wrap(o),o.byteLength,0,0)}catch(o){throw ro(o)}finally{await i.close(r)}}async qb(t,s,i,n){const r=await Nn(this.I(t,s,Te.None));await this.ib(i,n,void 0,r)}rb(t,s){if(t.capabilities&2048)throw new qt(m(2120,null,this.tb(s)),6);return t}sb(t,s){if((s.permissions??0)&gr.Readonly)throw new qt(m(2121,null,this.tb(t)),6)}tb(t){return t.scheme===q.file?t.fsPath:t.toString(!0)}},Cl=I0=__decorate([__param(0,he)],Cl)}});function LE(e,t){switch(e){case 0:return"";case 1:return`${Ol}*?`;default:return`(?:${Ll}|${Ol}+${Ll}${t?`|${Ll}${Ol}+`:""})*?`}}function OE(e,t){if(!e)return[];const s=[];let i=!1,n=!1,r="";for(const o of e){switch(o){case t:if(!i&&!n){s.push(r),r="";continue}break;case"{":i=!0;break;case"}":i=!1;break;case"[":n=!0;break;case"]":n=!1;break}r+=o}return r&&s.push(r),s}function ME(e){if(!e)return"";let t="";const s=OE(e,D0);if(s.every(i=>i===Ca))t=".*";else{let i=!1;s.forEach((n,r)=>{if(n===Ca){if(i)return;t+=LE(2,r===s.length-1)}else{let o=!1,a="",c=!1,l="";for(const u of n){if(u!=="}"&&o){a+=u;continue}if(c&&(u!=="]"||!l)){let h;u==="-"?h=u:(u==="^"||u==="!")&&!l?h="^":u===D0?h="":h=nr(u),l+=h;continue}switch(u){case"{":o=!0;continue;case"[":c=!0;continue;case"}":{const d=`(?:${OE(a,",").map(p=>ME(p)).join("|")})`;t+=d,o=!1,a="";break}case"]":{t+="["+l+"]",c=!1,l="";break}case"?":t+=Ol;continue;case"*":t+=LE(1);continue;default:t+=nr(u)}}rc===l,endsWith:i?dL:(c,l)=>c.endsWith(l),isEqualOrParent:(c,l)=>ar(c,l,!ut||i)},r=`${i?s.toLowerCase():s}_${!!t.trimForExclusions}_${i}`;let o=R0.get(r);if(o)return _E(o,e,n);let a;return HE.test(s)?o=AU(s.substring(4),s,n):(a=zE.exec(A0(s,n)))?o=DU(a[1],s,n):(t.trimForExclusions?BE:VE).test(s)?o=RU(s,n):(a=qE.exec(A0(s,n)))?o=jE(a[1].substring(1),s,!0,n):(a=WE.exec(A0(s,n)))?o=jE(a[1],s,!1,n):o=NU(s,n),R0.set(r,o),_E(o,e,n)}function _E(e,t,s){if(typeof t=="string")return e;const i=function(n,r){return s.isEqualOrParent(n,t.base)?e(hL(n.substring(t.base.length),Qt),r):null};return i.allBasenames=e.allBasenames,i.allPaths=e.allPaths,i.basenames=e.basenames,i.patterns=e.patterns,i}function A0(e,t){return t.trimForExclusions&&e.endsWith("/**")?e.substring(0,e.length-2):e}function AU(e,t,s){return function(i,n){return typeof i=="string"&&s.endsWith(i,e)?t:null}}function DU(e,t,s){const i=`/${e}`,n=`\\${e}`,r=function(a,c){return typeof a!="string"?null:c?s.equals(c,e)?t:null:s.equals(a,e)||s.endsWith(a,i)||s.endsWith(a,n)?t:null},o=[e];return r.basenames=o,r.patterns=[t],r.allBasenames=o,r}function RU(e,t){const s=UE(e.slice(1,-1).split(",").map(a=>P0(a,t)).filter(a=>a!==Li),e),i=s.length;if(!i)return Li;if(i===1)return s[0];const n=function(a,c){for(let l=0,u=s.length;l!!a.allBasenames);r&&(n.allBasenames=r.allBasenames);const o=s.reduce((a,c)=>c.allPaths?a.concat(c.allPaths):a,[]);return o.length&&(n.allPaths=o),n}function jE(e,t,s,i){const n=Qt===Ie.sep,r=n?e:e.replace(FE,Qt),o=Qt+r,a=Ie.sep+e;let c;return s?c=function(l,u){return typeof l=="string"&&(i.equals(l,r)||i.endsWith(l,o)||!n&&(i.equals(l,e)||i.endsWith(l,a)))?t:null}:c=function(l,u){return typeof l=="string"&&(i.equals(l,r)||!n&&i.equals(l,e))?t:null},c.allPaths=[(s?"*/":"./")+e],c}function NU(e,t){try{const s=new RegExp(`^${ME(e)}$`,t.ignoreCase?"i":void 0);return function(i){return s.lastIndex=0,typeof i=="string"&&s.test(i)?e:null}}catch{return Li}}function CU(e,t={}){if(!e)return N0;if(typeof e=="string"||LU(e)){const s=P0(e,t);if(s===Li)return N0;const i=function(n,r){return!!s(n,r)};return s.allBasenames&&(i.allBasenames=s.allBasenames),s.allPaths&&(i.allPaths=s.allPaths),i}return OU(e,t)}function LU(e){const t=e;return t?typeof t.base=="string"&&typeof t.pattern=="string":!1}function OU(e,t){const s=UE(Object.getOwnPropertyNames(e).map(a=>MU(a,e[a],t)).filter(a=>a!==Li)),i=s.length;if(!i)return Li;if(!s.some(a=>!!a.requiresSiblings)){if(i===1)return s[0];const a=function(u,h){let d;for(let p=0,g=s.length;p{for(const p of d){const g=await p;if(typeof g=="string")return g}return null})():null},c=s.find(u=>!!u.allBasenames);c&&(a.allBasenames=c.allBasenames);const l=s.reduce((u,h)=>h.allPaths?u.concat(h.allPaths):u,[]);return l.length&&(a.allPaths=l),a}const n=function(a,c,l){let u,h;for(let d=0,p=s.length;d{for(const d of h){const p=await d;if(typeof p=="string")return p}return null})():null},r=s.find(a=>!!a.allBasenames);r&&(n.allBasenames=r.allBasenames);const o=s.reduce((a,c)=>c.allPaths?a.concat(c.allPaths):a,[]);return o.length&&(n.allPaths=o),n}function MU(e,t,s){if(t===!1)return Li;const i=P0(e,s);if(i===Li)return Li;if(typeof t=="boolean")return i;if(t){const n=t.when;if(typeof n=="string"){const r=(o,a,c,l)=>{if(!l||!i(o,a))return null;const u=n.replace("$(basename)",()=>c),h=l(u);return j1(h)?h.then(d=>d?e:null):h?e:null};return r.requiresSiblings=!0,r}}return i}function UE(e,t){const s=e.filter(a=>!!a.basenames);if(s.length<2)return e;const i=s.reduce((a,c)=>{const l=c.basenames;return l?a.concat(l):a},[]);let n;if(t){n=[];for(let a=0,c=i.length;a{const l=c.patterns;return l?a.concat(l):a},[]);const r=function(a,c){if(typeof a!="string")return null;if(!c){let u;for(u=a.length;u>0;u--){const h=a.charCodeAt(u-1);if(h===47||h===92)break}c=a.substring(u)}const l=i.indexOf(c);return l!==-1?n[l]:null};r.basenames=i,r.patterns=n,r.allBasenames=i;const o=e.filter(a=>!a.basenames);return o.push(r),o}function TE(e,t){return ki(e,t,(s,i)=>typeof s=="string"&&typeof i=="string"?s===i:typeof s!="string"&&typeof i!="string"?s.base===i.base&&s.pattern===i.pattern:!1)}var Ca,D0,Ll,Ol,FE,HE,zE,VE,BE,qE,WE,R0,N0,Li,C0=b({"out-build/vs/base/common/glob.js"(){"use strict";nt(),Le(),In(),Zt(),ge(),se(),ht(),Ca="**",D0="/",Ll="[/\\\\]",Ol="[^/\\\\]",FE=/\//g,HE=/^\*\*\/\*\.[\w\.-]+$/,zE=/^\*\*\/([\w\.-]+)\/?$/,VE=/^{\*\*\/\*?[\w\.-]+\/?(,\*\*\/\*?[\w\.-]+\/?)*}$/,BE=/^{\*\*\/\*?[\w\.-]+(\/(\*\*)?)?(,\*\*\/\*?[\w\.-]+(\/(\*\*)?)?)*}$/,qE=/^\*\*((\/[\w\.-]+)+)\/?$/,WE=/^([\w\.-]+(\/[\w\.-]+)*)\/?$/,R0=new qo(1e4),N0=function(){return!1},Li=function(){return null}}});function GE(e){return typeof e.correlationId=="number"}function _U(e){return e.recursive===!0}function JE(e){return e.map(t=>({type:t.type,resource:y.revive(t.resource),cId:t.cId}))}function jU(e){const t=new YE;for(const s of e)t.processEvent(s);return t.coalesce()}function UU(e,t){return typeof t=="string"&&!t.startsWith(Ca)&&!Vr(t)?{base:e,pattern:t}:t}function QE(e,t,s){const i=[];for(const n of t)i.push(CU(UU(e,n),{ignoreCase:s}));return i}function TU(e,t){if(typeof t=="number")switch(e.type){case 1:return(t&4)===0;case 2:return(t&8)===0;case 0:return(t&2)===0}return!1}function FU(e){if(typeof e=="number"){const t=[];return e&4&&t.push("Added"),e&8&&t.push("Deleted"),e&2&&t.push("Updated"),t.length===0?"":`[${t.join(", ")}]`}return""}var L0,ZE,XE,YE,La=b({"out-build/vs/platform/files/common/watcher.js"(){"use strict";C0(),H(),ge(),se(),Q(),Be(),L0=class aC extends B{static{this.a=5}constructor(t,s,i,n){super(),this.h=t,this.j=s,this.m=i,this.n=n,this.c=this.D(new Lc),this.f=void 0,this.g=0}r(){const t=new Qe;this.c.value=t,this.b=this.q(t),this.b.setVerboseLogging(this.m),t.add(this.b.onDidChangeFile(s=>this.h(s))),t.add(this.b.onDidLogMessage(s=>this.j(s))),t.add(this.b.onDidError(s=>this.s(s.error,s.request)))}s(t,s){this.t(t,s)?this.gs.type!==2?(e.push(s),!1):!0).sort((s,i)=>s.resource.fsPath.length-i.resource.fsPath.length).filter(s=>t.some(i=>K_(s.resource.fsPath,i,!ut))?!1:(t.push(s.resource.fsPath),!0)).concat(e)}}}}),KE,HU=b({"out-build/vs/platform/files/common/diskFileSystemProvider.js"(){"use strict";nt(),Le(),ce(),oe(),In(),H(),ge(),La(),Pe(),KE=class extends B{constructor(e,t){super(),this.a=e,this.b=t,this.c=this.D(new D),this.onDidChangeFile=this.c.event,this.g=this.D(new D),this.onDidWatchError=this.g.event,this.m=[],this.n=this.D(new Qr(this.h(this.m.length))),this.y=[],this.z=this.D(new Qr(this.h(this.y.length)))}watch(e,t){return t.recursive||this.b?.watcher?.forceUniversal?this.q(e,t):this.C(e,t)}h(e){return e>200?500:0}q(e,t){const s=this.r(e,t),i=T4(this.m,s);return this.s(),De(()=>{i(),this.s()})}r(e,t){const s={path:this.M(e),excludes:t.excludes,includes:t.includes,recursive:t.recursive,filter:t.filter,correlationId:t.correlationId};if(_U(s)){const i=this.b?.watcher?.recursive?.usePolling;i===!0?s.pollingInterval=this.b?.watcher?.recursive?.pollingInterval??5e3:Array.isArray(i)&&i.includes(s.path)&&(s.pollingInterval=this.b?.watcher?.recursive?.pollingInterval??5e3)}return s}s(){this.n.trigger(()=>this.t(),this.h(this.m.length)).catch(e=>wt(e))}t(){return this.j||(this.j=this.D(this.u(e=>this.c.fire(JE(e)),e=>this.I(e),this.a.getLevel()===G.Trace)),this.D(this.a.onDidChangeLogLevel(()=>{this.j?.setVerboseLogging(this.a.getLevel()===G.Trace)}))),this.j.watch(this.m)}C(e,t){const s={path:this.M(e),excludes:t.excludes,includes:t.includes,recursive:!1,filter:t.filter,correlationId:t.correlationId},i=T4(this.y,s);return this.F(),De(()=>{i(),this.F()})}F(){this.z.trigger(()=>this.G(),this.h(this.y.length)).catch(e=>wt(e))}G(){return this.w||(this.w=this.D(this.H(e=>this.c.fire(JE(e)),e=>this.I(e),this.a.getLevel()===G.Trace)),this.D(this.a.onDidChangeLogLevel(()=>{this.w?.setVerboseLogging(this.a.getLevel()===G.Trace)}))),this.w.watch(this.y)}I(e){e.type==="error"&&this.g.fire(e.message),this.J(e)}J(e){this.a[e.type](e.message)}L(e){return ei(e.fsPath)}M(e){const t=this.L(e);return kL(t)}}}}),zU=b({"out-build/vs/base/common/decorators/cancelPreviousCalls.js"(){"use strict";be(),H(),Pt()}});function Ae(e,t,s){let i=null,n=null;if(typeof s.value=="function"?(i="value",n=s.value,n.length!==0&&console.warn("Memoize should only be used in functions with zero parameters")):typeof s.get=="function"&&(i="get",n=s.get),!n)throw new Error("not supported");const r=`$memoize$${t}`;s[i]=function(...o){return this.hasOwnProperty(r)||Object.defineProperty(this,r,{configurable:!1,enumerable:!1,writable:!1,value:n.apply(this,o)}),this[r]}}var O0=b({"out-build/vs/base/common/decorators.js"(){"use strict";zU()}});function Oa(e){switch(e){case 100:return"req";case 101:return"cancel";case 102:return"subscribe";case 103:return"unsubscribe"}}function qf(e){switch(e){case 200:return"init";case 201:return"reply:";case 202:case 203:return"replyErr:";case 204:return"event:"}}function Ma(e){let t=0;for(let s=0;;s+=7){const i=e.read(1);if(t|=(i.buffer[0]&127)<>>7)s++;const i=R.alloc(s);for(let n=0;t!==0;n++)i.buffer[n]=t&127,t=t>>>7,t>0&&(i.buffer[n]|=128);e.write(i)}function vr(e){const t=R.alloc(1);return t.writeUInt8(e,0),t}function Ml(e,t){if(typeof t>"u")e.write(br.Undefined);else if(typeof t=="string"){const s=R.fromString(t);e.write(br.String),_a(e,s.byteLength),e.write(s)}else if(R.isNativeBuffer(t)){const s=R.wrap(t);e.write(br.Buffer),_a(e,s.byteLength),e.write(s)}else if(t instanceof R)e.write(br.VSBuffer),_a(e,t.byteLength),e.write(t);else if(Array.isArray(t)){e.write(br.Array),_a(e,t.length);for(const s of t)Ml(e,s)}else if(typeof t=="number"&&(t|0)===t)e.write(br.Uint),_a(e,t);else{const s=R.fromString(JSON.stringify(t));e.write(br.Object),_a(e,s.byteLength),e.write(s)}}function ja(e){switch(e.read(1).readUInt8(0)){case cs.Undefined:return;case cs.String:return e.read(Ma(e)).toString();case cs.Buffer:return e.read(Ma(e)).buffer;case cs.VSBuffer:return e.read(Ma(e));case cs.Array:{const s=Ma(e),i=[];for(let n=0;nn.call(t,s,i))},listen(t,s){const i=new E1;return e.then(n=>i.input=n.listen(t,s)),i.event}}}function VU(e){let t=!1;return{call(s,i,n){return t?e.call(s,i,n):Jr(0).then(()=>t=!0).then(()=>e.call(s,i,n))},listen(s,i){if(t)return e.listen(s,i);const n=new E1;return Jr(0).then(()=>t=!0).then(()=>n.input=e.listen(s,i)),n.event}}}var tx,sx,fo,ix,Wf,M0,cs,br,nx,rx,Gf,ox,ax,_l,Ua=b({"out-build/vs/base/parts/ipc/common/ipc.js"(){"use strict";nt(),Le(),Ne(),Pt(),O0(),ce(),oe(),vh(),H(),ml(),ht(),be(),(function(e){e[e.Promise=100]="Promise",e[e.PromiseCancel=101]="PromiseCancel",e[e.EventListen=102]="EventListen",e[e.EventDispose=103]="EventDispose"})(tx||(tx={})),(function(e){e[e.Initialize=200]="Initialize",e[e.PromiseSuccess=201]="PromiseSuccess",e[e.PromiseError=202]="PromiseError",e[e.PromiseErrorObj=203]="PromiseErrorObj",e[e.EventFire=204]="EventFire"})(sx||(sx={})),(function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Idle=1]="Idle"})(fo||(fo={})),ix=vr(0),Wf=class{constructor(e){this.b=e,this.a=0}read(e){const t=this.b.slice(this.a,this.a+e);return this.a+=t.byteLength,t}},M0=class{constructor(){this.a=[]}get buffer(){return R.concat(this.a)}write(e){this.a.push(e)}},(function(e){e[e.Undefined=0]="Undefined",e[e.String=1]="String",e[e.Buffer=2]="Buffer",e[e.VSBuffer=3]="VSBuffer",e[e.Array=4]="Array",e[e.Object=5]="Object",e[e.Int=6]="Int"})(cs||(cs={})),br={Undefined:vr(cs.Undefined),String:vr(cs.String),Buffer:vr(cs.Buffer),VSBuffer:vr(cs.VSBuffer),Array:vr(cs.Array),Object:vr(cs.Object),Uint:vr(cs.Int)},nx=class{constructor(e,t,s=null,i=1e3){this.h=e,this.j=t,this.k=s,this.l=i,this.b=new Map,this.d=new Map,this.g=new Map,this.f=this.h.onMessage(n=>this.q(n)),this.m({type:200})}registerChannel(e,t){this.b.set(e,t),setTimeout(()=>this.w(e),0)}m(e){switch(e.type){case 200:{const t=this.o([e.type]);this.k?.logOutgoing(t,0,1,qf(e.type));return}case 201:case 202:case 204:case 203:{const t=this.o([e.type,e.id],e.data);this.k?.logOutgoing(t,e.id,1,qf(e.type),e.data);return}}}o(e,t=void 0){const s=new M0;return Ml(s,e),Ml(s,t),this.p(s.buffer)}p(e){try{return this.h.send(e),e.byteLength}catch{return 0}}q(e){const t=new Wf(e),s=ja(t),i=ja(t),n=s[0];switch(n){case 100:return this.k?.logIncoming(e.byteLength,s[1],1,`${Oa(n)}: ${s[2]}.${s[3]}`,i),this.s({type:n,id:s[1],channelName:s[2],name:s[3],arg:i});case 102:return this.k?.logIncoming(e.byteLength,s[1],1,`${Oa(n)}: ${s[2]}.${s[3]}`,i),this.t({type:n,id:s[1],channelName:s[2],name:s[3],arg:i});case 101:return this.k?.logIncoming(e.byteLength,s[1],1,`${Oa(n)}`),this.u({type:n,id:s[1]});case 103:return this.k?.logIncoming(e.byteLength,s[1],1,`${Oa(n)}`),this.u({type:n,id:s[1]})}}s(e){const t=this.b.get(e.channelName);if(!t){this.v(e);return}const s=new Si;let i;try{i=t.call(this.j,e.name,e.arg,s.token)}catch(o){i=Promise.reject(o)}const n=e.id;i.then(o=>{this.m({id:n,data:o,type:201})},o=>{o instanceof Error?this.m({id:n,data:{message:o.message,name:o.name,stack:o.stack?o.stack.split(` `):void 0},type:202}):this.m({id:n,data:o,type:203})}).finally(()=>{r.dispose(),this.d.delete(e.id)});const r=De(()=>s.cancel());this.d.set(e.id,r)}t(e){const t=this.b.get(e.channelName);if(!t){this.v(e);return}const s=e.id,n=t.listen(this.j,e.name,e.arg)(r=>this.m({id:s,data:r,type:204}));this.d.set(e.id,n)}u(e){const t=this.d.get(e.id);t&&(t.dispose(),this.d.delete(e.id))}v(e){let t=this.g.get(e.channelName);t||(t=[],this.g.set(e.channelName,t));const s=setTimeout(()=>{console.error(`Unknown channel: ${e.channelName}`),e.type===100&&this.m({id:e.id,data:{name:"Unknown channel",message:`Channel name '${e.channelName}' timed out after ${this.l}ms`,stack:void 0},type:202})},this.l);t.push({request:e,timeoutTimer:s})}w(e){const t=this.g.get(e);if(t){for(const s of t)switch(clearTimeout(s.timeoutTimer),s.request.type){case 100:this.s(s.request);break;case 102:this.t(s.request);break}this.g.delete(e)}}dispose(){this.f&&(this.f.dispose(),this.f=null),Ht(this.d.values()),this.d.clear()}},(function(e){e[e.LocalSide=0]="LocalSide",e[e.OtherSide=1]="OtherSide"})(rx||(rx={})),Gf=class{constructor(e,t=null){this.l=e,this.a=!1,this.b=fo.Uninitialized,this.d=new Set,this.f=new Map,this.g=0,this.k=new D,this.onDidInitialize=this.k.event,this.h=this.l.onMessage(s=>this.s(s)),this.j=t}getChannel(e){const t=this;return{call(s,i,n){return t.a?Promise.reject(new yt):t.m(e,s,i,n)},listen(s,i){return t.a?F.None:t.o(e,s,i)}}}m(e,t,s,i=Te.None){const n=this.g++,o={id:n,type:100,channelName:e,name:t,arg:s};if(i.isCancellationRequested)return Promise.reject(new yt);let a,c;return new Promise((u,h)=>{if(i.isCancellationRequested)return h(new yt);const d=()=>{const v=w=>{switch(w.type){case 201:this.f.delete(n),u(w.data);break;case 202:{this.f.delete(n);const k=new Error(w.data.message);k.stack=Array.isArray(w.data.stack)?w.data.stack.join(` `):w.data.stack,k.name=w.data.name,h(k);break}case 203:this.f.delete(n),h(w.data);break}};this.f.set(n,v),this.p(o)};let p=null;this.b===fo.Idle?d():(p=Dn(v=>this.u()),p.then(()=>{p=null,d()}));const g=()=>{p?(p.cancel(),p=null):this.p({id:n,type:101}),h(new yt)};a=i.onCancellationRequested(g),c={dispose:c1(()=>{g(),a.dispose()})},this.d.add(c)}).finally(()=>{a?.dispose(),this.d.delete(c)})}o(e,t,s){const i=this.g++,r={id:i,type:102,channelName:e,name:t,arg:s};let o=null;const a=new D({onWillAddFirstListener:()=>{const l=()=>{this.d.add(a),this.p(r)};this.b===fo.Idle?l():(o=Dn(u=>this.u()),o.then(()=>{o=null,l()}))},onDidRemoveLastListener:()=>{o?(o.cancel(),o=null):(this.d.delete(a),this.p({id:i,type:103})),this.f.delete(i)}}),c=l=>a.fire(l.data);return this.f.set(i,c),a.event}p(e){switch(e.type){case 100:case 102:{const t=this.q([e.type,e.id,e.channelName,e.name],e.arg);this.j?.logOutgoing(t,e.id,0,`${Oa(e.type)}: ${e.channelName}.${e.name}`,e.arg);return}case 101:case 103:{const t=this.q([e.type,e.id]);this.j?.logOutgoing(t,e.id,0,Oa(e.type));return}}}q(e,t=void 0){const s=new M0;return Ml(s,e),Ml(s,t),this.r(s.buffer)}r(e){try{return this.l.send(e),e.byteLength}catch{return 0}}s(e){const t=new Wf(e),s=ja(t),i=ja(t),n=s[0];switch(n){case 200:return this.j?.logIncoming(e.byteLength,0,0,qf(n)),this.t({type:s[0]});case 201:case 202:case 204:case 203:return this.j?.logIncoming(e.byteLength,s[1],0,qf(n),i),this.t({type:s[0],id:s[1],data:i})}}t(e){if(e.type===200){this.b=fo.Idle,this.k.fire();return}this.f.get(e.id)?.(e)}get onDidInitializePromise(){return F.toPromise(this.onDidInitialize)}u(){return this.b===fo.Idle?Promise.resolve():this.onDidInitializePromise}dispose(){this.a=!0,this.h&&(this.h.dispose(),this.h=null),Ht(this.d.values()),this.d.clear()}},__decorate([Ae],Gf.prototype,"onDidInitializePromise",null),ox=class{get connections(){const e=[];return this.f.forEach(t=>e.push(t)),e}constructor(e,t,s){this.a=new Map,this.f=new Set,this.g=new D,this.onDidAddConnection=this.g.event,this.h=new D,this.onDidRemoveConnection=this.h.event,this.j=new Qe,this.j.add(e(({protocol:i,onDidClientDisconnect:n})=>{const r=F.once(i.onMessage);this.j.add(r(o=>{const a=new Wf(o),c=ja(a),l=new nx(i,c,t,s),u=new Gf(i,t);this.a.forEach((d,p)=>l.registerChannel(p,d));const h={channelServer:l,channelClient:u,ctx:c};this.f.add(h),this.g.fire(h),this.j.add(n(()=>{l.dispose(),u.dispose(),this.f.delete(h),this.h.fire(h)}))}))}))}getChannel(e,t){const s=this;return{call(i,n,r){let o;if(yh(t)){const c=XC(s.connections.filter(t));o=c?Promise.resolve(c):F.toPromise(F.filter(s.onDidAddConnection,t))}else o=t.routeCall(s,i,n);const a=o.then(c=>c.channelClient.getChannel(e));return ex(a).call(i,n,r)},listen(i,n){if(yh(t))return s.k(e,t,i,n);const r=t.routeEvent(s,i,n).then(o=>o.channelClient.getChannel(e));return ex(r).listen(i,n)}}}k(e,t,s,i){const n=this;let r;const o=new D({onWillAddFirstListener:()=>{r=new Qe;const a=new m5,c=new Map,l=h=>{const p=h.channelClient.getChannel(e).listen(s,i),g=a.add(p);c.set(h,g)},u=h=>{const d=c.get(h);d&&(d.dispose(),c.delete(h))};n.connections.filter(t).forEach(l),F.filter(n.onDidAddConnection,t)(l,void 0,r),n.onDidRemoveConnection(u,void 0,r),a.event(o.fire,o,r),r.add(a)},onDidRemoveLastListener:()=>{r?.dispose(),r=void 0}});return n.j.add(o),o.event}registerChannel(e,t){this.a.set(e,t);for(const s of this.f)s.channelServer.registerChannel(e,t)}dispose(){this.j.dispose();for(const e of this.f)e.channelClient.dispose(),e.channelServer.dispose();this.f.clear(),this.a.clear(),this.g.dispose(),this.h.dispose()}},ax=class{constructor(e){this.a=e}routeCall(e){return this.b(e)}routeEvent(e){return this.b(e)}async b(e){for(const t of e.connections)if(await Promise.resolve(this.a(t.ctx)))return Promise.resolve(t);return await F.toPromise(e.onDidAddConnection),await this.b(e)}},(function(e){function t(r,o,a){const c=r,l=a?.disableMarshalling,u=new Map;for(const h in c)i(h)&&u.set(h,F.buffer(c[h],!0,void 0,o));return new class{listen(h,d,p){const g=u.get(d);if(g)return g;const v=c[d];if(typeof v=="function"){if(n(d))return v.call(c,p);if(i(d))return u.set(d,F.buffer(c[d],!0,void 0,o)),u.get(d)}throw new En(`Event not found: ${d}`)}call(h,d,p){const g=c[d];if(typeof g=="function"){if(!l&&Array.isArray(p))for(let w=0;wn.call(t,s,c)),o=i.onCancellationRequested(()=>r.cancel()),a=De(()=>r.cancel());return this.c.add(a),r.finally(()=>{o.dispose(),this.c.delete(a),this.c.size===0&&this.b&&this.b.trigger(()=>this.o())}),r}l(e,t,s){if(!this.b)return F.None;this.b.cancel();let i;const n=new D({onWillAddFirstListener:()=>{i=this.n(e).listen(t,s)(n.fire,n),this.c.add(i)},onDidRemoveLastListener:()=>{this.c.delete(i),i.dispose(),this.c.size===0&&this.b&&this.b.trigger(()=>this.o())}});return n.event}get m(){if(!this.f){const e=this.j.args||[],t=Object.create(null);t.env={...Ln(process.env),VSCODE_PARENT_PID:String(process.pid)},this.j.env&&(t.env={...t.env,...this.j.env}),this.j.freshExecArgv&&(t.execArgv=[]),typeof this.j.debug=="number"&&(t.execArgv=["--nolazy","--inspect="+this.j.debug]),typeof this.j.debugBrk=="number"&&(t.execArgv=["--nolazy","--inspect-brk="+this.j.debugBrk]),t.execArgv===void 0&&(t.execArgv=process.execArgv.filter(u=>!/^--inspect(-brk)?=/.test(u)).filter(u=>!u.startsWith("--vscode-"))),J9(t.env),this.d=QU(this.i,e,t);const s=new D,n=F.fromNodeEventEmitter(this.d,"message",u=>u)(u=>{if(BU(u)){GU(u,`IPC Library: ${this.j.serverName}`);return}s.fire(R.wrap(Buffer.from(u,"base64")))}),r=this.j.useQueue?mM(this.d):this.d,o=u=>this.d?.connected&&r.send(u.buffer.toString("base64")),a=s.event,c={send:o,onMessage:a};this.f=new Gf(c);const l=()=>this.o();process.once("exit",l),this.d.on("error",u=>console.warn('IPC "'+this.j.serverName+'" errored with '+u)),this.d.on("exit",(u,h)=>{process.removeListener("exit",l),n.dispose(),this.c.forEach(d=>Ht(d)),this.c.clear(),u!==0&&h!=="SIGTERM"&&console.warn('IPC "'+this.j.serverName+'" crashed with exit code '+u+" and signal "+h),this.b?.cancel(),this.o(),this.h.fire({code:u,signal:h})})}return this.f}n(e){let t=this.g.get(e);return t||(t=this.m.getChannel(e),this.g.set(e,t)),t}o(){this.f&&(this.d&&(this.d.kill(),this.d=null),this.f=null,this.g.clear())}dispose(){this.h.dispose(),this.b?.cancel(),this.b=void 0,this.o(),this.c.clear()}}}}),lx,ZU=b({"out-build/vs/platform/files/node/watcher/watcherClient.js"(){"use strict";ye(),Ua(),cx(),La(),lx=class extends XE{constructor(e,t,s){super(e,t,s),this.r()}q(e){const t=e.add(new _0(_t.asFileUri("bootstrap-fork").fsPath,{serverName:"File Watcher",args:["--type=fileWatcher"],env:{VSCODE_ESM_ENTRYPOINT:"vs/platform/files/node/watcher/watcherMain",VSCODE_PIPE_LOGGING:"true",VSCODE_VERBOSE_LOGGING:"true"}}));return e.add(t.onDidProcessExit(({code:s,signal:i})=>this.s(`terminated by itself with code ${s}, signal: ${i} (ETERM)`))),_l.toService(VU(t.getChannel("watcher")))}}}});import{watchFile as XU,unwatchFile as YU}from"fs";var ux,KU=b({"out-build/vs/platform/files/node/watcher/baseWatcher.js"(){"use strict";H(),La(),oe(),Q(),Le(),zc(),ce(),ux=class extends B{constructor(){super(),this.a=this.D(new D),this.onDidChangeFile=this.a.event,this.b=this.D(new D),this.onDidLogMessage=this.b.event,this.c=this.D(new D),this.f=this.c.event,this.g=new Map,this.h=new Map,this.j=this.D(new Eh),this.m=new Set,this.n=this.D(new Qr(this.w())),this.q=5007,this.r=new Ko,this.R=!1,this.D(this.f(e=>this.y({id:this.t(e),correlationId:this.s(e)?e.correlationId:void 0,path:e.path})))}s(e){return GE(e)}t(e){return this.s(e)?e.correlationId:na(e)}async watch(e){this.r.isSettled||this.r.complete(),this.r=new Ko;try{this.g.clear(),this.h.clear();for(const t of e)this.s(t)?this.g.set(t.correlationId,t):this.h.set(this.t(t),t);for(const[t]of this.j)!this.h.has(t)&&!this.g.has(t)&&(this.j.deleteAndDispose(t),this.m.delete(t));return await this.u(!1)}finally{this.r.complete()}}u(e){const t=[];for(const[s,i]of[...this.h,...this.g])this.j.has(s)||t.push(i);return this.n.trigger(()=>this.N(t),e?this.w():0).catch(s=>wt(s))}w(){return 800}isSuspended(e){const t=this.t(e);return this.m.has(t)?"polling":this.j.has(t)}async y(e){if(this.j.has(e.id))return;const t=new Qe;this.j.set(e.id,t),await this.r.p,!t.isDisposed&&(this.C(e,t),this.u(!0))}z(e){this.j.deleteAndDispose(e.id),this.m.delete(e.id),this.u(!1)}C(e,t){this.F(e,t)?(this.P(`reusing an existing recursive watcher to monitor ${e.path}`),this.m.delete(e.id)):(this.G(e,t),this.m.add(e.id))}F(e,t){const s=this.O?.subscribe(e.path,(i,n)=>{t.isDisposed||(i?this.C(e,t):n?.type===1&&this.H(e))});return s?(t.add(s),!0):!1}G(e,t){let s=!1;const i=(n,r)=>{if(t.isDisposed)return;const o=this.I(n),a=this.I(r),c=s;s=o,!o&&(a||c)&&this.H(e)};this.P(`starting fs.watchFile() on ${e.path} (correlationId: ${e.correlationId})`);try{XU(e.path,{persistent:!1,interval:this.q},i)}catch(n){this.Q(`fs.watchFile() failed with error ${n} on path ${e.path} (correlationId: ${e.correlationId})`)}t.add(De(()=>{this.P(`stopping fs.watchFile() on ${e.path} (correlationId: ${e.correlationId})`);try{YU(e.path,i)}catch(n){this.Q(`fs.unwatchFile() failed with error ${n} on path ${e.path} (correlationId: ${e.correlationId})`)}}))}H(e){this.P(`detected ${e.path} exists again, resuming watcher (correlationId: ${e.correlationId})`);const t={resource:y.file(e.path),type:1,cId:e.correlationId};this.a.fire([t]),this.J(t,e),this.z(e)}I(e){return e.ctimeMs===0&&e.ino===0}async stop(){this.j.clearAndDisposeAll(),this.m.clear()}J(e,t){if(this.R){const s=` >> normalized ${e.type===1?"[ADDED]":e.type===2?"[DELETED]":"[CHANGED]"} ${e.resource.fsPath}`;this.L(s,t)}}L(e,t){this.R&&this.P(`${e}${typeof t.correlationId=="number"?` <${t.correlationId}> `:""}`)}M(e){return`${e.path} (excludes: ${e.excludes.length>0?e.excludes:""}, includes: ${e.includes&&e.includes.length>0?JSON.stringify(e.includes):""}, filter: ${FU(e.filter)}, correlationId: ${typeof e.correlationId=="number"?e.correlationId:""})`}async setVerboseLogging(e){this.R=e}}}});import{watch as eT,promises as tT}from"fs";var hx,sT=b({"out-build/vs/platform/files/node/watcher/nodejs/nodejsWatcherLib.js"(){"use strict";Le(),Pt(),In(),H(),B1(),ge(),se(),pt(),Q(),ms(),La(),Qo(),hx=class jm extends B{static{this.a=100}static{this.b=75}get isReusingRecursiveWatcher(){return this.q}get failed(){return this.r}constructor(t,s,i,n,r,o){super(),this.s=t,this.t=s,this.u=i,this.w=n,this.y=r,this.z=o,this.c=this.D(new z1({maxWorkChunkSize:100,throttleDelay:200,maxBufferedWork:1e4},c=>this.u(c))),this.f=this.D(new o6(c=>this.M(c),jm.b)),this.m=new Si,this.n=new ir(async()=>{let c=this.s.path;try{c=await xe.realpath(this.s.path),this.s.path!==c&&this.Q(`correcting a path to watch that seems to be a symbolic link (original: ${this.s.path}, real: ${c})`)}catch{}return c}),this.q=!1,this.r=!1;const a=!ut;this.g=QE(this.s.path,this.s.excludes,a),this.h=this.s.includes?QE(this.s.path,this.s.includes,a):void 0,this.j=GE(this.s)?this.s.filter:void 0,this.ready=this.C()}async C(){try{const t=await tT.stat(this.s.path);if(this.m.token.isCancellationRequested)return;this.D(await this.G(t.isDirectory()))}catch(t){t.code!=="ENOENT"?this.O(t):this.Q(`ignoring a path for watching who's stat info failed to resolve: ${this.s.path} (error: ${t})`),this.F()}}F(){this.r=!0,this.w?.()}async G(t){const s=new Qe;return this.H(t,s)?(this.Q(`reusing an existing recursive watcher for ${this.s.path}`),this.q=!0):(this.q=!1,await this.I(t,s)),s}H(t,s){if(t)return!1;const i=y.file(this.s.path),n=this.t?.subscribe(this.s.path,async(r,o)=>{s.isDisposed||(r?await oL(this.G(t),s):o&&(typeof o.cId=="number"||typeof this.s.correlationId=="number")&&this.L({resource:i,type:o.type,cId:this.s.correlationId},!0))});return n?(s.add(n),!0):!1}async I(t,s){const i=await this.n.value;if(this.m.token.isCancellationRequested)return;if(js&&ar(i,"/Volumes/",!0)){this.O(`Refusing to watch ${i} for changes using fs.watch() for possibly being a network share where watching is unreliable and unstable.`);return}const n=new Si(this.m.token);s.add(De(()=>n.dispose(!0)));const r=new Qe;s.add(r);try{const o=y.file(this.s.path),a=dt(i),c=eT(i);r.add(De(()=>{c.removeAllListeners(),c.close()})),this.Q(`Started watching: '${i}'`);const l=new Set;if(t)try{for(const h of await xe.readdir(i))l.add(h)}catch(h){this.O(h)}if(n.token.isCancellationRequested)return;const u=new Map;r.add(De(()=>{for(const[,h]of u)h.dispose();u.clear()})),c.on("error",(h,d)=>{n.token.isCancellationRequested||(this.O(`Failed to watch ${i} for changes using fs.watch() (${h}, ${d})`),this.F())}),c.on("change",(h,d)=>{if(n.token.isCancellationRequested)return;this.z&&this.R(`[raw] ["${h}"] ${d}`);let p="";if(d&&(p=d.toString(),js&&(p=V1(p))),!(!p||h!=="change"&&h!=="rename"))if(t)if(h==="rename"){u.get(p)?.dispose();const g=setTimeout(async()=>{if(u.delete(p),$h(p,a,!ut)&&!await xe.exists(i)){this.J(o);return}if(n.token.isCancellationRequested)return;const v=await this.N(T(i,p));if(n.token.isCancellationRequested)return;let w;v?l.has(p)?w=0:(w=1,l.add(p)):(l.delete(p),w=2),this.L({resource:ue(o,p),type:w,cId:this.s.correlationId})},jm.a);u.set(p,De(()=>clearTimeout(g)))}else{let g;l.has(p)?g=0:(g=1,l.add(p)),this.L({resource:ue(o,p),type:g,cId:this.s.correlationId})}else if(h==="rename"||!$h(p,a,!ut)){const g=setTimeout(async()=>{const v=await xe.exists(i);n.token.isCancellationRequested||(v?(this.L({resource:o,type:0,cId:this.s.correlationId},!0),r.add(await this.G(!1))):this.J(o))},jm.a);r.clear(),r.add(De(()=>clearTimeout(g)))}else this.L({resource:o,type:0,cId:this.s.correlationId},!0)})}catch(o){if(n.token.isCancellationRequested)return;this.O(`Failed to watch ${i} for changes using fs.watch() (${o.toString()})`),this.F()}}J(t){this.P("Watcher shutdown because watched path got deleted"),this.L({resource:t,type:2,cId:this.s.correlationId},!0),this.f.flush(),this.F()}L(t,s=!1){this.m.token.isCancellationRequested||(this.z&&this.R(`${t.type===1?"[ADDED]":t.type===2?"[DELETED]":"[CHANGED]"} ${t.resource.fsPath}`),!s&&this.g.some(i=>i(t.resource.fsPath))?this.z&&this.R(` >> ignored (excluded) ${t.resource.fsPath}`):!s&&this.h&&this.h.length>0&&!this.h.some(i=>i(t.resource.fsPath))?this.z&&this.R(` >> ignored (not included) ${t.resource.fsPath}`):this.f.work(t))}M(t){const s=jU(t),i=[];for(const r of s){if(TU(r,this.j)){this.z&&this.R(` >> ignored (filtered) ${r.resource.fsPath}`);continue}i.push(r)}if(i.length===0)return;if(this.z)for(const r of i)this.R(` >> normalized ${r.type===1?"[ADDED]":r.type===2?"[DELETED]":"[CHANGED]"} ${r.resource.fsPath}`);this.c.work(i)?this.c.pending>0&&this.Q(`started throttling events due to large amount of file change events at once (pending: ${this.c.pending}, most recent change: ${i[0].resource.fsPath}). Use 'files.watcherExclude' setting to exclude folders with lots of changing files (e.g. compilation output).`):this.P(`started ignoring events due to too many file change events at once (incoming: ${i.length}, most recent change: ${i[0].resource.fsPath}). Use 'files.watcherExclude' setting to exclude folders with lots of changing files (e.g. compilation output).`)}async N(t){if(ut)return xe.exists(t);try{const s=dt(t);return(await xe.readdir(Ft(t))).some(n=>n===s)}catch(s){return this.Q(s),!1}}setVerboseLogging(t){this.z=t}O(t){this.m.token.isCancellationRequested||this.y?.({type:"error",message:`[File Watcher (node.js)] ${t}`})}P(t){this.m.token.isCancellationRequested||this.y?.({type:"warn",message:`[File Watcher (node.js)] ${t}`})}Q(t){!this.m.token.isCancellationRequested&&this.z&&this.y?.({type:"trace",message:`[File Watcher (node.js)] ${t}`})}R(t){!this.m.token.isCancellationRequested&&this.z&&this.Q(`${t}${typeof this.s.correlationId=="number"?` <${this.s.correlationId}> `:""}`)}dispose(){this.m.dispose(!0),super.dispose()}}}}),fx,iT=b({"out-build/vs/platform/files/node/watcher/nodejs/nodejsWatcher.js"(){"use strict";oe(),C0(),KU(),se(),sT(),Le(),H(),fx=class extends ux{get watchers(){return this.S.values()}constructor(e){super(),this.O=e,this.onDidError=F.None,this.S=new Map,this.U=this.D(new Lc)}async N(e){e=this.cb(e);const t=[],s=new Set(Array.from(this.watchers));for(const i of e){const n=this.S.get(this.Z(i));n&&TE(n.request.excludes,i.excludes)&&TE(n.request.includes,i.includes)?s.delete(n):t.push(i)}t.length&&this.P(`Request to start watching: ${t.map(i=>this.M(i)).join(",")}`),s.size&&this.P(`Request to stop watching: ${Array.from(s).map(i=>this.M(i.request)).join(",")}`),this.U.clear();for(const i of s)this.bb(i);this.Y().work(t)}Y(){return this.U.value=new z1({maxWorkChunkSize:100,throttleDelay:100,maxBufferedWork:Number.MAX_VALUE},e=>{for(const t of e)this.ab(t)}),this.U.value}Z(e){return typeof e.correlationId=="number"?e.correlationId:this.$(e.path)}$(e){return ut?e:e.toLowerCase()}ab(e){const t=new hx(e,this.O,i=>this.a.fire(i),()=>this.c.fire(e),i=>this.b.fire(i),this.R),s={request:e,instance:t};this.S.set(this.Z(e),s)}async stop(){await super.stop();for(const e of this.watchers)this.bb(e)}bb(e){this.P("stopping file watcher",e),this.S.delete(this.Z(e.request)),e.instance.dispose()}cb(e){const t=new Map;for(const s of e){let i=t.get(s.correlationId);i||(i=new Map,t.set(s.correlationId,i));const n=this.$(s.path);i.has(n)&&this.P(`ignoring a request for watching who's path is already watched: ${this.M(s)}`),i.set(n,s)}return Array.from(t.values()).flatMap(s=>Array.from(s.values()))}async setVerboseLogging(e){super.setVerboseLogging(e);for(const t of this.watchers)t.instance.setVerboseLogging(e)}P(e,t){this.R&&this.b.fire({type:"trace",message:this.fb(e,t)})}Q(e){this.b.fire({type:"warn",message:this.fb(e)})}fb(e,t){return t?`[File Watcher (node.js)] ${e} (${this.M(t.request)})`:`[File Watcher (node.js)] ${e}`}}}}),dx,nT=b({"out-build/vs/platform/files/node/watcher/nodejs/nodejsClient.js"(){"use strict";La(),iT(),dx=class extends ZE{constructor(e,t,s){super(e,t,s),this.r()}q(e){return e.add(new fx(void 0))}}}});import{constants as j0,promises as po}from"fs";var jl,Jf=b({"out-build/vs/platform/files/node/diskFileSystemProvider.js"(){"use strict";Le(),Zt(),Ne(),oe(),In(),H(),ge(),se(),pt(),Fc(),ms(),ae(),Be(),NE(),HU(),ZU(),nT(),jl=class rh extends KE{constructor(){super(...arguments),this.onDidChangeCapabilities=F.None,this.R=new Et(t=>Dh.getComparisonKey(t)),this.Z=new Map,this.$=new Map,this.ab=new Map}static{this.N=!1}get capabilities(){return this.O||(this.O=1040414,ut&&(this.O|=1024)),this.O}async stat(t){try{const{stat:s,symbolicLink:i}=await ps.stat(this.L(t));let n;return(s.mode&128)===0&&(n=gr.Locked),(s.mode&j0.S_IXUSR||s.mode&j0.S_IXGRP||s.mode&j0.S_IXOTH)&&(n=(n??0)|gr.Executable),{type:this.Q(s,i),ctime:s.birthtime.getTime(),mtime:s.mtime.getTime(),size:s.size,permissions:n}}catch(s){throw this.jb(s)}}async P(t){try{return await this.stat(t)}catch{return}}async realpath(t){const s=this.L(t);return xe.realpath(s)}async readdir(t){try{const s=await xe.readdir(this.L(t),{withFileTypes:!0}),i=[];return await Promise.all(s.map(async n=>{try{let r;n.isSymbolicLink()?r=(await this.stat(ue(t,n.name))).type:r=this.Q(n),i.push([n.name,r])}catch(r){this.a.trace(r)}})),i}catch(s){throw this.jb(s)}}Q(t,s){let i;return s?.dangling?i=Ns.Unknown:t.isFile()?i=Ns.File:t.isDirectory()?i=Ns.Directory:i=Ns.Unknown,s&&(i|=Ns.SymbolicLink),i}async S(t){const s=this.L(t);this.U(`[Disk FileSystemProvider]: createResourceLock() - request to acquire resource lock (${s})`);let i;for(;i=this.R.get(t);)this.U(`[Disk FileSystemProvider]: createResourceLock() - waiting for resource lock to be released (${s})`),await i.wait();const n=new jc;return this.R.set(t,n),this.U(`[Disk FileSystemProvider]: createResourceLock() - new resource lock created (${s})`),De(()=>{this.U(`[Disk FileSystemProvider]: createResourceLock() - resource lock dispose() (${s})`),this.R.get(t)===n&&(this.U(`[Disk FileSystemProvider]: createResourceLock() - resource lock removed from resource-lock map (${s})`),this.R.delete(t)),this.U(`[Disk FileSystemProvider]: createResourceLock() - resource lock barrier open() (${s})`),n.open()})}async readFile(t,s){let i;try{s?.atomic&&(this.U(`[Disk FileSystemProvider]: atomic read operation started (${this.L(t)})`),i=await this.S(t));const n=this.L(t);return await po.readFile(n)}catch(n){throw this.jb(n)}finally{i?.dispose()}}U(t){rh.N&&this.a.trace(t)}readFileStream(t,s,i){const n=Oh(r=>R.concat(r.map(o=>R.wrap(o))).buffer);return RE(this,t,n,r=>r.buffer,{...s,bufferSize:256*1024},i),n}async writeFile(t,s,i){return i?.atomic!==!1&&i?.atomic?.postfix&&await this.W(t)?this.X(t,ue(X5(t),`${An(t)}${i.atomic.postfix}`),s,i):this.Y(t,s,i)}async W(t){try{const s=this.L(t),{symbolicLink:i}=await ps.stat(s);if(i)return!1}catch{}return!0}async X(t,s,i,n){const r=new Qe;try{r.add(await this.S(t)),r.add(await this.S(s)),await this.Y(s,i,{...n,create:!0,overwrite:!0},!0);try{await this.rename(s,t,{overwrite:!0})}catch(o){try{await this.delete(s,{recursive:!1,useTrash:!1,atomic:!1})}catch{}throw o}}finally{r.dispose()}}async Y(t,s,i,n){let r;try{const o=this.L(t);if(!i.create||!i.overwrite){if(await xe.exists(o)){if(!i.overwrite)throw _n(m(2125,null),ne.FileExists)}else if(!i.create)throw _n(m(2126,null),ne.FileNotFound)}r=await this.open(t,{create:!0,append:i.append,unlock:i.unlock},n),await this.write(r,0,s,0,s.byteLength)}catch(o){throw await this.kb(t,o)}finally{typeof r=="number"&&await this.close(r)}}static{this.bb=!0}static configureFlushOnWrite(t){rh.bb=t}async open(t,s,i){const n=this.L(t);let r;$a(s)&&!i&&(r=await this.S(t));let o;try{if($a(s)&&s.unlock)try{const{stat:a}=await ps.stat(n);a.mode&128||await po.chmod(n,a.mode|128)}catch(a){a.code!=="ENOENT"&&this.a.trace(a)}if(ve&&$a(s)&&!s.append)try{o=await xe.open(n,"r+"),await xe.ftruncate(o,0)}catch(a){if(a.code!=="ENOENT"&&this.a.trace(a),typeof o=="number"){try{await xe.close(o)}catch(c){this.a.trace(c)}o=void 0}}typeof o!="number"&&(o=await xe.open(n,$a(s)?s.append?"a":"w":"r"))}catch(a){throw r?.dispose(),$a(s)?await this.kb(t,a):this.jb(a)}if(this.Z.set(o,0),$a(s)&&this.ab.set(o,t),r){const a=this.$.get(o);this.U(`[Disk FileSystemProvider]: open() - storing lock for handle ${o} (${n})`),this.$.set(o,r),a&&(this.U(`[Disk FileSystemProvider]: open() - disposing a previous lock that was still stored on same handle ${o} (${n})`),a.dispose())}return o}async close(t){const s=this.$.get(t);try{if(this.Z.delete(t),this.ab.delete(t)&&rh.bb)try{await xe.fdatasync(t)}catch(i){rh.configureFlushOnWrite(!1),this.a.error(i)}return await xe.close(t)}catch(i){throw this.jb(i)}finally{s&&(this.$.get(t)===s&&(this.U(`[Disk FileSystemProvider]: close() - resource lock removed from handle-lock map ${t}`),this.$.delete(t)),this.U(`[Disk FileSystemProvider]: close() - disposing lock for handle ${t}`),s.dispose())}}async read(t,s,i,n,r){const o=this.cb(t,s);let a=null;try{a=(await xe.read(t,i,n,r,o)).bytesRead}catch(c){throw this.jb(c)}finally{this.db(t,o,a)}return a}cb(t,s){return s===this.Z.get(t)?null:s}db(t,s,i){const n=this.Z.get(t);typeof n=="number"&&(typeof s=="number"||(typeof i=="number"?this.Z.set(t,n+i):this.Z.delete(t)))}async write(t,s,i,n,r){return TL(()=>this.eb(t,s,i,n,r),100,3)}async eb(t,s,i,n,r){const o=this.cb(t,s);let a=null;try{a=(await xe.write(t,i,n,r,o)).bytesWritten}catch(c){throw await this.kb(this.ab.get(t),c)}finally{this.db(t,o,a)}return a}async mkdir(t){try{await po.mkdir(this.L(t))}catch(s){throw this.jb(s)}}async delete(t,s){try{const i=this.L(t);if(s.recursive){let n;s?.atomic!==!1&&s.atomic.postfix&&(n=T(Ft(i),`${dt(i)}${s.atomic.postfix}`)),await xe.rm(i,ea.MOVE,n)}else try{await po.unlink(i)}catch(n){if(n.code==="EPERM"||n.code==="EISDIR"){let r=!1;try{const{stat:o,symbolicLink:a}=await ps.stat(i);r=o.isDirectory()&&!a}catch{}if(r)await po.rmdir(i);else throw n}else throw n}}catch(i){throw this.jb(i)}}async rename(t,s,i){const n=this.L(t),r=this.L(s);if(n!==r)try{await this.fb(t,s,"move",i.overwrite),await xe.rename(n,r)}catch(o){throw(o.code==="EINVAL"||o.code==="EBUSY"||o.code==="ENAMETOOLONG")&&(o=new Error(m(2127,null,dt(n),dt(Ft(r)),o.toString()))),this.jb(o)}}async copy(t,s,i){const n=this.L(t),r=this.L(s);if(n!==r)try{await this.fb(t,s,"copy",i.overwrite),await xe.copy(n,r,{preserveSymlinks:!0})}catch(o){throw(o.code==="EINVAL"||o.code==="EBUSY"||o.code==="ENAMETOOLONG")&&(o=new Error(m(2128,null,dt(n),dt(Ft(r)),o.toString()))),this.jb(o)}}async fb(t,s,i,n){const r=this.L(t),o=this.L(s);let a=!1;if(this.capabilities&1024||(a=$h(r,o,!0)),a){if(i==="copy")throw _n(m(2129,null),ne.FileExists);if(i==="move")return}const l=await this.P(t);if(!l)throw _n(m(2130,null),ne.FileNotFound);const u=await this.P(s);if(u){if(!n)throw _n(m(2131,null),ne.FileExists);(l.type&Ns.File)!==0&&(u.type&Ns.File)!==0||await this.delete(s,{recursive:!0,useTrash:!1,atomic:!1})}}async cloneFile(t,s){return this.gb(t,s,!1)}async gb(t,s,i){const n=this.L(t),r=this.L(s),o=!!(this.capabilities&1024);if($h(n,r,!o))return;const a=new Qe;try{a.add(await this.S(t)),a.add(await this.S(s)),i&&await po.mkdir(Ft(r),{recursive:!0}),await po.copyFile(n,r)}catch(c){if(c.code==="ENOENT"&&!i)return this.gb(t,s,!0);throw this.jb(c)}finally{a.dispose()}}u(t,s,i){return new lx(n=>t(n),n=>s(n),i)}H(t,s,i){return new dx(n=>t(n),n=>s(n),i)}jb(t){if(t instanceof pf)return t;let s=t,i;switch(t.code){case"ENOENT":i=ne.FileNotFound;break;case"EISDIR":i=ne.FileIsADirectory;break;case"ENOTDIR":i=ne.FileNotADirectory;break;case"EEXIST":i=ne.FileExists;break;case"EPERM":case"EACCES":i=ne.NoPermissions;break;case"ERR_UNC_HOST_NOT_ALLOWED":s=`${t.message}. Please update the 'security.allowedUNCHosts' setting if you want to allow this host.`,i=ne.Unknown;break;default:i=ne.Unknown}return _n(s,i)}async kb(t,s){let i=this.jb(s);if(t&&i.code===ne.NoPermissions)try{const{stat:n}=await ps.stat(this.L(t));n.mode&128||(i=_n(s,ne.FileWriteLocked))}catch(n){this.a.trace(n)}return i}}}});function rT(e){return e.getFullYear()+"-"+String(e.getMonth()+1).padStart(2,"0")+"-"+String(e.getDate()).padStart(2,"0")+"T"+String(e.getHours()).padStart(2,"0")+":"+String(e.getMinutes()).padStart(2,"0")+":"+String(e.getSeconds()).padStart(2,"0")+"."+(e.getMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"}var px,mx,Qf,oT,aT,cT,lT=b({"out-build/vs/base/common/date.js"(){"use strict";ae(),Qo(),se(),px=60,mx=px*60,Qf=mx*24,oT=Qf*7,aT=Qf*30,cT=Qf*365}});function uT(e,t){return gx(e["inspect-extensions"],e["inspect-brk-extensions"],5870,t,e.debugId,e.extensionEnvironment)}function gx(e,t,s,i,n,r){const a=Number(t||e)||(i?null:s),c=a?!!t:!1;let l;if(r)try{l=JSON.parse(r)}catch{}return{port:a,break:c,debugId:n,env:l}}var U0,Oe,hT=b({"out-build/vs/platform/environment/common/environmentService.js"(){"use strict";lT(),O0(),ye(),ge(),Ks(),pt(),Q(),U0=/^([^.]+\..+)[:=](.+)$/,Oe=class{get appRoot(){return Ft(_t.asFileUri("").fsPath)}get userHome(){return y.file(this.b.homeDir)}get userDataPath(){return this.b.userDataDir}get appSettingsHome(){return y.file(T(this.userDataPath,"User"))}get tmpDir(){return y.file(this.b.tmpDir)}get cacheHome(){return y.file(this.userDataPath)}get stateResource(){return ue(this.appSettingsHome,"globalStorage","storage.json")}get userRoamingDataHome(){return this.appSettingsHome.with({scheme:q.vscodeUserData})}get userDataSyncHome(){return ue(this.appSettingsHome,"sync")}get logsHome(){if(!this.args.logsPath){const e=rT(new Date).replace(/-|:|\.\d+Z$/g,"");this.args.logsPath=T(this.userDataPath,"logs",e)}return y.file(this.args.logsPath)}get sync(){return this.args.sync}get workspaceStorageHome(){return ue(this.appSettingsHome,"workspaceStorage")}get localHistoryHome(){return ue(this.appSettingsHome,"History")}get keyboardLayoutResource(){return ue(this.userRoamingDataHome,"keyboardLayout.json")}get argvResource(){const e=Us.VSCODE_PORTABLE;return e?y.file(T(e,"argv.json")):ue(this.userHome,this.c.dataFolderName,"argv.json")}get isExtensionDevelopment(){return!!this.args.extensionDevelopmentPath}get untitledWorkspacesHome(){return y.file(T(this.userDataPath,"Workspaces"))}get builtinWorkbenchModesHome(){return ue(y.file(this.appRoot),"resources","workbenchModes")}get builtinExtensionsPath(){const e=this.args["builtin-extensions-dir"];return e?xi(e):ei(T(_t.asFileUri("").fsPath,"..","extensions"))}get extensionsDownloadLocation(){const e=this.args["extensions-download-dir"];return e?y.file(xi(e)):y.file(T(this.userDataPath,"CachedExtensionVSIXs"))}get extensionsPath(){const e=this.args["extensions-dir"];if(e)return xi(e);const t=Us.VSCODE_EXTENSIONS;if(t)return t;const s=Us.VSCODE_PORTABLE;return s?T(s,"extensions"):ue(this.userHome,this.c.dataFolderName,"extensions").fsPath}get extensionDevelopmentLocationURI(){const e=this.args.extensionDevelopmentPath;if(Array.isArray(e))return e.map(t=>/^[^:/?#]+?:\/\//.test(t)?y.parse(t):y.file(ei(t)))}get extensionDevelopmentKind(){return this.args.extensionDevelopmentKind?.map(e=>e==="ui"||e==="workspace"||e==="web"?e:"workspace")}get extensionTestsLocationURI(){const e=this.args.extensionTestsPath;if(e)return/^[^:/?#]+?:\/\//.test(e)?y.parse(e):y.file(ei(e))}get disableExtensions(){if(this.args["disable-extensions"])return!0;const e=this.args["disable-extension"];if(e){if(typeof e=="string")return[e];if(Array.isArray(e)&&e.length>0)return e}return!1}get debugExtensionHost(){return uT(this.args,this.isBuilt)}get debugRenderer(){return!!this.args.debugRenderer}get isBuilt(){return!Us.VSCODE_DEV}get verbose(){return!!this.args.verbose}get logLevel(){return this.args.log?.find(e=>!U0.test(e))}get extensionLogLevel(){const e=[];for(const t of this.args.log||[]){const s=U0.exec(t);s?.[1]&&s[2]&&e.push([s[1],s[2]])}return e.length?e:void 0}get serviceMachineIdResource(){return ue(y.file(this.userDataPath),"machineid")}get crashReporterId(){return this.args["crash-reporter-id"]}get crashReporterDirectory(){return this.args["crash-reporter-directory"]}get disableTelemetry(){return!!this.args["disable-telemetry"]}get disableExperiments(){return!!this.args["disable-experiments"]}get disableWorkspaceTrust(){return!!this.args["disable-workspace-trust"]}get useInMemorySecretStorage(){return!!this.args["use-inmemory-secretstorage"]}get policyFile(){if(this.args["__enable-file-policy"]){const e=Us.VSCODE_PORTABLE;return e?y.file(T(e,"policy.json")):ue(this.userHome,this.c.dataFolderName,"policy.json")}}get agentSessionsWorkspace(){return ue(this.appSettingsHome,"agent-sessions.code-workspace")}get editSessionId(){return this.args.editSessionId}get exportPolicyData(){return this.args["export-policy-data"]}get continueOn(){return this.args.continueOn}set continueOn(e){this.args.continueOn=e}get args(){return this.a}constructor(e,t,s){this.a=e,this.b=t,this.c=s}},__decorate([Ae],Oe.prototype,"appRoot",null),__decorate([Ae],Oe.prototype,"userHome",null),__decorate([Ae],Oe.prototype,"userDataPath",null),__decorate([Ae],Oe.prototype,"appSettingsHome",null),__decorate([Ae],Oe.prototype,"tmpDir",null),__decorate([Ae],Oe.prototype,"cacheHome",null),__decorate([Ae],Oe.prototype,"stateResource",null),__decorate([Ae],Oe.prototype,"userRoamingDataHome",null),__decorate([Ae],Oe.prototype,"userDataSyncHome",null),__decorate([Ae],Oe.prototype,"sync",null),__decorate([Ae],Oe.prototype,"workspaceStorageHome",null),__decorate([Ae],Oe.prototype,"localHistoryHome",null),__decorate([Ae],Oe.prototype,"keyboardLayoutResource",null),__decorate([Ae],Oe.prototype,"argvResource",null),__decorate([Ae],Oe.prototype,"isExtensionDevelopment",null),__decorate([Ae],Oe.prototype,"untitledWorkspacesHome",null),__decorate([Ae],Oe.prototype,"builtinWorkbenchModesHome",null),__decorate([Ae],Oe.prototype,"builtinExtensionsPath",null),__decorate([Ae],Oe.prototype,"extensionsDownloadLocation",null),__decorate([Ae],Oe.prototype,"extensionsPath",null),__decorate([Ae],Oe.prototype,"extensionDevelopmentLocationURI",null),__decorate([Ae],Oe.prototype,"extensionDevelopmentKind",null),__decorate([Ae],Oe.prototype,"extensionTestsLocationURI",null),__decorate([Ae],Oe.prototype,"debugExtensionHost",null),__decorate([Ae],Oe.prototype,"logLevel",null),__decorate([Ae],Oe.prototype,"extensionLogLevel",null),__decorate([Ae],Oe.prototype,"serviceMachineIdResource",null),__decorate([Ae],Oe.prototype,"disableTelemetry",null),__decorate([Ae],Oe.prototype,"disableExperiments",null),__decorate([Ae],Oe.prototype,"disableWorkspaceTrust",null),__decorate([Ae],Oe.prototype,"useInMemorySecretStorage",null),__decorate([Ae],Oe.prototype,"policyFile",null),__decorate([Ae],Oe.prototype,"agentSessionsWorkspace",null)}});import{homedir as vx}from"os";import{resolve as fT,isAbsolute as dT,join as Fa}from"path";function pT(e,t){const s=mT(e,t),i=[s];return dT(s)||i.unshift(bx),fT(...i)}function mT(e,t){process.env.VSCODE_DEV&&(t="code-oss-dev");const s=process.env.VSCODE_PORTABLE;if(s)return Fa(s,"user-data");let i=process.env.VSCODE_APPDATA;if(i)return Fa(i,t);const n=e["user-data-dir"];if(n)return n;switch(process.platform){case"win32":if(i=process.env.APPDATA,!i){const r=process.env.USERPROFILE;if(typeof r!="string")throw new Error("Windows: Unexpected undefined %USERPROFILE% environment variable");i=Fa(r,"AppData","Roaming")}break;case"darwin":i=Fa(vx(),"Library","Application Support");break;case"linux":i=process.env.XDG_CONFIG_HOME||Fa(vx(),".config");break;default:throw new Error("Platform not supported")}return Fa(i,t)}var bx,gT=b({"out-build/vs/platform/environment/node/userDataPath.js"(){"use strict";bx=process.env.VSCODE_CWD||process.cwd()}});import{homedir as vT,tmpdir as bT}from"os";function wT(e,t){return gx(e["inspect-ptyhost"],e["inspect-brk-ptyhost"],5877,t,e.extensionEnvironment)}var wx,yx=b({"out-build/vs/platform/environment/node/environmentService.js"(){"use strict";hT(),gT(),wx=class extends Oe{constructor(e,t){super(e,{homeDir:vT(),tmpDir:bT(),userDataDir:pT(e,t.nameShort)},t)}}}});function yT(e,t){if(typeof e!="string"||e.trim().length===0)return console.log(`[reconnection-grace-time] No CLI argument provided, using default: ${t}ms (${Math.floor(t/1e3)}s)`),t;const s=Number(e);if(!isFinite(s)||s<0)return console.log(`[reconnection-grace-time] Invalid value '${e}', using default: ${t}ms (${Math.floor(t/1e3)}s)`),t;const i=Math.floor(s*1e3);return!isFinite(i)||i>Number.MAX_SAFE_INTEGER?(console.log(`[reconnection-grace-time] Value too large '${e}', using default: ${t}ms (${Math.floor(t/1e3)}s)`),t):(console.log(`[reconnection-grace-time] Parsed CLI argument: ${s}s -> ${i}ms`),i)}var T0,Ul,mo,Ha=b({"out-build/vs/server/node/serverEnvironmentService.js"(){"use strict";ae(),yx(),sf(),te(),Bt(),O0(),Q(),pt(),ge(),T0={host:{type:"string",cat:"o",args:"ip-address",description:m(2793,null)},port:{type:"string",cat:"o",args:"port | port range",description:m(2794,null)},"socket-path":{type:"string",cat:"o",args:"path",description:m(2795,null)},"server-base-path":{type:"string",cat:"o",args:"path",description:m(2796,null)},"connection-token":{type:"string",cat:"o",args:"token",deprecates:["connectionToken"],description:m(2797,null)},"connection-token-file":{type:"string",cat:"o",args:"path",deprecates:["connection-secret","connectionTokenFile"],description:m(2798,null)},"without-connection-token":{type:"boolean",cat:"o",description:m(2799,null)},"disable-websocket-compression":{type:"boolean"},"print-startup-performance":{type:"boolean"},"print-ip-address":{type:"boolean"},"accept-server-license-terms":{type:"boolean",cat:"o",description:m(2800,null)},"server-data-dir":{type:"string",cat:"o",description:m(2801,null)},"telemetry-level":{type:"string",cat:"o",args:"level",description:m(2802,null)},"user-data-dir":Je["user-data-dir"],"enable-smoke-test-driver":Je["enable-smoke-test-driver"],"disable-telemetry":Je["disable-telemetry"],"disable-experiments":Je["disable-experiments"],"disable-workspace-trust":Je["disable-workspace-trust"],"file-watcher-polling":{type:"string",deprecates:["fileWatcherPolling"]},log:Je.log,logsPath:Je.logsPath,"force-disable-user-env":Je["force-disable-user-env"],"enable-proposed-api":Je["enable-proposed-api"],folder:{type:"string",deprecationMessage:"No longer supported. Folder needs to be provided in the browser URL or with `default-folder`."},workspace:{type:"string",deprecationMessage:"No longer supported. Workspace needs to be provided in the browser URL or with `default-workspace`."},"default-folder":{type:"string",description:m(2803,null)},"default-workspace":{type:"string",description:m(2804,null)},"enable-sync":{type:"boolean"},"github-auth":{type:"string"},"use-test-resolver":{type:"boolean"},"extensions-dir":Je["extensions-dir"],"extensions-download-dir":Je["extensions-download-dir"],"builtin-extensions-dir":Je["builtin-extensions-dir"],"install-extension":Je["install-extension"],"install-builtin-extension":Je["install-builtin-extension"],"update-extensions":Je["update-extensions"],"uninstall-extension":Je["uninstall-extension"],"list-extensions":Je["list-extensions"],"locate-extension":Je["locate-extension"],"show-versions":Je["show-versions"],category:Je.category,force:Je.force,"do-not-sync":Je["do-not-sync"],"do-not-include-pack-dependencies":Je["do-not-include-pack-dependencies"],"pre-release":Je["pre-release"],"start-server":{type:"boolean",cat:"e",description:m(2805,null)},"enable-remote-auto-shutdown":{type:"boolean"},"remote-auto-shutdown-without-delay":{type:"boolean"},"inspect-ptyhost":{type:"string",allowEmptyValue:!0},"use-host-proxy":{type:"boolean"},"without-browser-env-var":{type:"boolean"},"reconnection-grace-time":{type:"string",cat:"o",args:"seconds",description:m(2806,null)},help:Je.help,version:Je.version,"locate-shell-integration-path":Je["locate-shell-integration-path"],compatibility:{type:"string"},_:Je._},Ul=Kt,mo=class extends wx{get userRoamingDataHome(){return this.appSettingsHome}get machineSettingsResource(){return ue(y.file(T(this.userDataPath,"Machine")),"settings.json")}get mcpResource(){return ue(y.file(T(this.userDataPath,"User")),"mcp.json")}get args(){return super.args}get reconnectionGraceTime(){return yT(this.args["reconnection-grace-time"],108e5)}},__decorate([Ae],mo.prototype,"userRoamingDataHome",null),__decorate([Ae],mo.prototype,"machineSettingsResource",null),__decorate([Ae],mo.prototype,"mcpResource",null),__decorate([Ae],mo.prototype,"reconnectionGraceTime",null)}}),Ex,F0,Tl,xx=b({"out-build/vs/platform/extensionManagement/common/extensionManagementCLI.js"(){"use strict";Pt(),ce(),ye(),pt(),no(),Q(),ae(),Rs(),Ri(),ai(),es(),Ex=e=>m(2002,null,e),F0=m(2003,null,"ms-dotnettools.csharp"),Tl=class{constructor(t,s,i,n,r){this.a=t,this.b=s,this.d=i,this.f=n,this.g=r,this.a=this.a.map(o=>o.toLowerCase())}get h(){}async listExtensions(t,s,i){let n=await this.d.getInstalled(1,i);const r=X7.map(a=>a.toLowerCase());if(s&&s!==""){if(r.indexOf(s.toLowerCase())<0){this.b.info("Invalid category please enter a valid category. To list valid categories run --category without a category specified");return}n=n.filter(a=>a.manifest.categories?a.manifest.categories.map(l=>l.toLowerCase()).indexOf(s.toLowerCase())>-1:!1)}else if(s===""){this.b.info("Possible Categories: "),r.forEach(a=>{this.b.info(a)});return}this.h&&this.b.info(m(2004,null,this.h)),n=n.sort((a,c)=>a.identifier.id.localeCompare(c.identifier.id));let o;for(const a of n)o!==a.identifier.id&&(o=a.identifier.id,this.b.info(t?`${o}@${a.manifest.version}`:o))}async installExtensions(t,s,i,n){const r=[];try{t.length&&this.b.info(this.h?m(2005,null,this.h):m(2006,null));const o=[],a=[],c=(u,h,d)=>{this.a?.some(p=>p===u.toLowerCase())&&(h=this.g.quality!=="stable"?"prerelease":void 0),a.push({id:u,version:h!=="prerelease"?h:void 0,installOptions:{...i,isBuiltin:d,installPreReleaseVersion:h==="prerelease"||i.installPreReleaseVersion}})};for(const u of t)if(u instanceof y)o.push({vsix:u,installOptions:i});else{const[h,d]=Fg(u);c(h,d,!1)}for(const u of s)if(u instanceof y)o.push({vsix:u,installOptions:{...i,isBuiltin:!0,donotIncludePackAndDependencies:!0}});else{const[h,d]=Fg(u);c(h,d,!0)}const l=await this.d.getInstalled(void 0,i.profileLocation);if(o.length&&await Promise.all(o.map(async({vsix:u,installOptions:h})=>{try{await this.k(u,h,n,l)}catch(d){this.b.error(d),r.push(u.toString())}})),a.length){const u=await this.j(a,l,n);r.push(...u)}}catch(o){throw this.b.error(m(2007,null,de(o))),o}if(r.length)throw new Error(m(2008,null,r.join(", ")))}async updateExtensions(t){const s=await this.d.getInstalled(1,t),i=[];for(const a of s)a.identifier.uuid&&i.push({...a.identifier,preRelease:a.preRelease});this.b.trace(m(2009,null,i.length));const n=await this.f.getExtensions(i,{compatible:!0},Te.None),r=[];for(const a of n)for(const c of s)me(c.identifier,a.identifier)&&ka(a.version,c.manifest.version)&&r.push({extension:a,options:{operation:3,installPreReleaseVersion:c.preRelease,profileLocation:t,isApplicationScoped:c.isApplicationScoped}});if(!r.length){this.b.info(m(2010,null));return}this.b.info(m(2011,null,r.map(a=>a.extension.identifier.id).join(", ")));const o=await this.d.installGalleryExtensions(r);for(const a of o)a.error?this.b.error(m(2012,null,a.identifier.id,de(a.error))):this.b.info(m(2013,null,a.identifier.id,a.local?.manifest.version))}async j(t,s,i){if(t=t.filter(a=>{const{id:c,version:l,installOptions:u}=a,h=s.find(d=>me(d.identifier,{id:c}));if(h){if(!i&&(!l||l==="prerelease"&&h.preRelease))return this.b.info(m(2014,null,c,h.manifest.version,c)),!1;if(l&&h.manifest.version===l)return this.b.info(m(2015,null,`${c}@${l}`)),!1;h.preRelease&&l!=="prerelease"&&(u.preRelease=!1)}return!0}),!t.length)return[];const n=[],r=[],o=await this.l(t);if(await Promise.all(t.map(async({id:a,version:c,installOptions:l})=>{const u=o.get(a.toLowerCase());if(!u){this.b.error(`${Ex(c?`${a}@${c}`:a)} ${F0}`),n.push(a);return}try{const d=await this.f.getManifest(u,Te.None);if(d&&!this.m(d))return}catch(d){this.b.error(d.message||d.stack||d),n.push(a);return}const h=s.find(d=>me(d.identifier,u.identifier));if(h){if(u.version===h.manifest.version){this.b.info(m(2016,null,c?`${a}@${c}`:a));return}this.b.info(m(2017,null,a,u.version))}l.isBuiltin?this.b.info(c?m(2018,null,a,c):m(2019,null,a)):this.b.info(c?m(2020,null,a,c):m(2021,null,a)),r.push({extension:u,options:{...l,installGivenVersion:!!c,isApplicationScoped:l.isApplicationScoped||h?.isApplicationScoped}})})),r.length){const a=await this.d.installGalleryExtensions(r);for(const c of a)c.error?(this.b.error(m(2022,null,c.identifier.id,de(c.error))),n.push(c.identifier.id)):this.b.info(m(2023,null,c.identifier.id,c.local?.manifest.version))}return n}async k(t,s,i,n){const r=await this.d.getManifest(t);if(!r)throw new Error("Invalid vsix");if(await this.n(r,i,s.profileLocation,n))try{await this.d.install(t,{...s,installGivenVersion:!0}),this.b.info(m(2024,null,An(t)))}catch(a){if(yn(a))this.b.info(m(2025,null,An(t)));else throw a}}async l(t){const s=new Map,i=t.some(o=>o.installOptions.installPreReleaseVersion),n=await this.d.getTargetPlatform(),r=[];for(const o of t)of.test(o.id)&&r.push({...o,preRelease:i});if(r.length){const o=await this.f.getExtensions(r,{targetPlatform:n},Te.None);for(const a of o)s.set(a.identifier.id.toLowerCase(),a)}return s}m(t){return!0}async n(t,s,i,n){if(!s){const r={id:en(t.publisher,t.name)},o=n.find(a=>me(r,a.identifier)&&ka(a.manifest.version,t.version));if(o)return this.b.info(m(2026,null,o.identifier.id,o.manifest.version,t.version)),!1}return this.m(t)}async uninstallExtensions(t,s,i){const n=async o=>{if(o instanceof y){const a=await this.d.getManifest(o);return Hg(a.publisher,a.name)}return o},r=[];for(const o of t){const a=await n(o),l=(await this.d.getInstalled(void 0,i)).filter(u=>me(u.identifier,{id:a}));if(!l.length)throw new Error(`${this.o(a)} ${F0}`);if(l.some(u=>u.type===0)){this.b.info(m(2027,null,a));return}if(!s&&l.some(u=>u.isBuiltin)){this.b.info(m(2028,null,a));return}this.b.info(m(2029,null,a));for(const u of l)await this.d.uninstall(u,{profileLocation:i}),r.push(u);this.h?this.b.info(m(2030,null,a,this.h)):this.b.info(m(2031,null,a))}}async locateExtension(t){const s=await this.d.getInstalled();t.forEach(i=>{s.forEach(n=>{if(n.identifier.id===i&&n.location.scheme===q.file){this.b.info(n.location.fsPath);return}})})}o(t){return this.h?m(2032,null,t,this.h):m(2033,null,t)}},Tl=__decorate([__param(2,af),__param(3,Ai),__param(4,ft)],Tl)}});function ET(e){return e.tags.find(t=>t.startsWith("lp-"))?.split("lp-")[1]}var Zf,Xf,H0=b({"out-build/vs/platform/languagePacks/common/languagePacks.js"(){"use strict";Pt(),H(),se(),ae(),Rs(),te(),Zf=Z("languagePackService"),Xf=class extends B{constructor(t){super(),this.c=t}async getAvailableLanguages(){const t=new Si;setTimeout(()=>t.cancel(),1e3);let s;try{s=await this.c.query({text:'category:"language packs"',pageSize:20},t.token)}catch{return[]}const n=s.firstPage.filter(r=>r.properties.localizedLanguages?.length&&r.tags.some(o=>o.startsWith("lp-"))).map(r=>{const o=r.properties.localizedLanguages?.[0],a=ET(r);return{...this.f(a,o,r),extensionId:r.identifier.id,galleryExtension:r}});return n.push(this.f("en","English")),n}f(t,s,i){const n=s??t;let r;if(n!==t&&(r=`(${t})`),t.toLowerCase()===As.toLowerCase()&&(r??="",r+=m(2143,null)),i?.installCount){r??="";const o=i.installCount;let a;o>1e6?a=`${Math.floor(o/1e5)/10}M`:o>1e3?a=`${Math.floor(o/1e3)}K`:a=String(o),r+=` $(cloud-download) ${a}`}return{id:t,label:n,description:r}}},Xf=__decorate([__param(0,Ai)],Xf)}});import*as xT from"fs";import{createHash as kT}from"crypto";function ST(e){if(typeof e.languageId!="string"||!Array.isArray(e.translations)||e.translations.length===0)return!1;for(const t of e.translations)if(typeof t.id!="string"||typeof t.path!="string")return!1;return!(e.languageName&&typeof e.languageName!="string"||e.localizedLanguageName&&typeof e.localizedLanguageName!="string")}var Fl,Yf,kx=b({"out-build/vs/platform/languagePacks/node/languagePacks.js"(){"use strict";nt(),Le(),H(),ye(),ge(),ms(),Bt(),Rs(),Ri(),Pe(),H0(),Q(),Fl=class extends Xf{constructor(t,s,i,n){super(i),this.h=t,this.j=n,this.g=this.D(new Yf(s,n)),this.h.registerParticipant({postInstall:async r=>this.m(r),postUninstall:async r=>this.n(r)})}async getBuiltInExtensionTranslationsUri(t,s){const n=(await this.g.getLanguagePacks())[s];if(!n){this.j.warn(`No language pack found for ${s}`);return}const r=n.translations[t];return r?y.file(r):void 0}async getInstalledLanguages(){const t=await this.g.getLanguagePacks(),s=Object.keys(t).map(i=>{const n=t[i];return{...this.f(i,n.label),extensionId:n.extensions[0].extensionIdentifier.id}});return s.push(this.f("en","English")),s.sort((i,n)=>i.label.localeCompare(n.label)),s}async m(t){t&&t.manifest&&t.manifest.contributes&&t.manifest.contributes.localizations&&t.manifest.contributes.localizations.length&&(this.j.info("Adding language packs from the extension",t.identifier.id),await this.update())}async n(t){const s=await this.g.getLanguagePacks();Object.keys(s).some(i=>s[i]&&s[i].extensions.some(n=>me(n.extensionIdentifier,t.identifier)))&&(this.j.info("Removing language packs from the extension",t.identifier.id),await this.update())}async update(){const[t,s]=await Promise.all([this.g.getLanguagePacks(),this.h.getInstalled()]),i=await this.g.update(s);return!ki(Object.keys(t),Object.keys(i))}},Fl=__decorate([__param(0,af),__param(1,ri),__param(2,Ai),__param(3,he)],Fl),Yf=class extends B{constructor(t,s){super(),this.j=s,this.c={},this.f=T(t.userDataPath,"languagepacks.json"),this.g=new Zr}getLanguagePacks(){return this.g.size||!this.h?this.r().then(()=>this.c):Promise.resolve(this.c)}update(t){return this.r(s=>{Object.keys(s).forEach(i=>delete s[i]),this.m(s,...t)}).then(()=>this.c)}m(t,...s){for(const i of s)i&&i.manifest&&i.manifest.contributes&&i.manifest.contributes.localizations&&i.manifest.contributes.localizations.length&&this.n(t,i);Object.keys(t).forEach(i=>this.q(t[i]))}n(t,s){const i=s.identifier,n=s.manifest.contributes&&s.manifest.contributes.localizations?s.manifest.contributes.localizations:[];for(const r of n)if(s.location.scheme===q.file&&ST(r)){let o=t[r.languageId];o||(o={hash:"",extensions:[],translations:{},label:r.localizedLanguageName??r.languageName},t[r.languageId]=o);const a=o.extensions.filter(c=>me(c.extensionIdentifier,i))[0];a?a.version=s.manifest.version:o.extensions.push({extensionIdentifier:i,version:s.manifest.version});for(const c of r.translations)o.translations[c.id]=T(s.location.fsPath,c.path)}}q(t){if(t){const s=kT("md5");for(const i of t.extensions)s.update(i.extensionIdentifier.uuid||i.extensionIdentifier.id).update(i.version);t.hash=s.digest("hex")}}r(t=()=>null){return this.g.queue(()=>{let s=null;return xT.promises.readFile(this.f,"utf8").then(void 0,i=>i.code==="ENOENT"?Promise.resolve("{}"):Promise.reject(i)).then(i=>{try{return JSON.parse(i)}catch{return{}}}).then(i=>(s=t(i),i)).then(i=>{for(const r of Object.keys(i))i[r]||delete i[r];this.c=i,this.h=!0;const n=JSON.stringify(this.c);return this.j.debug("Writing language packs",n),xe.writeFile(this.f,n)}).then(()=>s,i=>this.j.error(i))})}},Yf=__decorate([__param(0,ri),__param(1,he)],Yf)}}),Kf,$T=b({"out-build/vs/platform/download/common/downloadService.js"(){"use strict";Pt(),ye(),Be(),io(),Kf=class{constructor(t,s){this.a=t,this.b=s}async download(t,s,i=Te.None){if(t.scheme===q.file||t.scheme===q.vscodeRemote){await this.b.copy(t,s);return}const n={type:"GET",url:t.toString(!0)},r=await this.a.request(n,i);if(r.res.statusCode===200)await this.b.writeFile(s,r.stream);else{const o=await so(r);throw new Error(`Expected 200, got back ${r.res.statusCode} instead. ${o}`)}}},Kf=__decorate([__param(0,Xi),__param(1,st)],Kf)}});function z0(e,t,s){t instanceof He||(t=new He(t,[],!!s)),Sx.push([e,t])}var Sx,$x,V0=b({"out-build/vs/platform/instantiation/common/extensions.js"(){"use strict";Hh(),Sx=[],(function(e){e[e.Eager=0]="Eager",e[e.Delayed=1]="Delayed"})($x||($x={}))}}),B0,za,Ix=b({"out-build/vs/platform/uriIdentity/common/uriIdentityService.js"(){"use strict";ys(),Q(),V0(),Be(),pt(),oe(),H(),nt(),B0=class jy{static{this._clock=0}constructor(t){this.uri=t,this.time=jy._clock++}touch(){return this.time=jy._clock++,this}},za=class{constructor(t){this.g=t,this.c=new Qe,this.f=2**16;const s=new Map,i=n=>{let r=s.get(n.scheme);return r===void 0&&(r=t.hasProvider(n)&&!this.g.hasCapability(n,1024),s.set(n.scheme,r)),r};this.c.add(F.any(t.onDidChangeFileSystemProviderRegistrations,t.onDidChangeFileSystemProviderCapabilities)(n=>{if(s.get(n.scheme)===void 0)return;s.delete(n.scheme);const o=i(y.from({scheme:n.scheme}));if(o!==o)for(const[a,c]of this.d.entries())c.uri.scheme===n.scheme&&this.d.delete(a)})),this.extUri=new _c(i),this.d=new Map}dispose(){this.c.dispose(),this.d.clear()}asCanonicalUri(t){this.g.hasProvider(t)&&(t=Y5(t));const s=this.extUri.getComparisonKey(t,!0),i=this.d.get(s);return i?i.touch().uri.with({fragment:t.fragment}):(this.d.set(s,new B0(t)),this.h(),t)}h(){if(this.d.sizei.time),s=l1(Math.floor(t.length/2),t,(i,n)=>i-n);for(const[i,n]of this.d.entries())n.time<=s?this.d.delete(i):n.time=0}},za=__decorate([__param(0,st)],za),z0(mt,za,1)}});async function Px(e,t){if(!At.commit||!await xe.exists(W0))return{userLocale:"en",osLocale:"en",resolvedLanguage:"en",defaultMessagesFile:W0,locale:"en",availableLanguages:{}};const s=`${e}||${t}`;let i=G0.get(s);return i||(i=k6({userLocale:e,osLocale:e,commit:At.commit,userDataPath:t,nlsMetadataPath:q0}),G0.set(s,i)),i}var q0,W0,G0,Ax=b({"out-build/vs/server/node/remoteLanguagePacks.js"(){"use strict";ye(),ge(),S6(),ms(),va(),q0=T(_t.asFileUri("").fsPath),W0=T(q0,"nls.messages.json"),G0=new Map}}),Hl,Dx=b({"out-build/vs/server/node/extensionsScannerService.js"(){"use strict";pt(),Q(),Bt(),Ra(),Dl(),Be(),te(),Pe(),es(),ys(),Fs(),Ax(),Hl=class extends Mf{constructor(t,s,i,n,r,o,a,c){super(y.file(r.builtinExtensionsPath),y.file(r.extensionsPath),ue(r.userHome,".vscode-oss-dev","extensions","control.json"),t.defaultProfile,t,s,i,n,r,o,a,c),this.R=r}async f(t){const s=await Px(t,this.R.userDataPath);if(s.languagePack)try{const i=await this.s.readFile(y.file(s.languagePack.translationsConfigFile));return JSON.parse(i.value.toString())}catch{}return Object.create(null)}},Hl=__decorate([__param(0,Ts),__param(1,sn),__param(2,st),__param(3,he),__param(4,ri),__param(5,ft),__param(6,mt),__param(7,cr)],Hl)}}),Rx,Nx,IT=b({"out-build/vs/platform/state/node/state.js"(){"use strict";te(),Rx=Z("stateReadService"),Nx=Z("stateService")}}),Cx,Lx,ed,Ox,PT=b({"out-build/vs/platform/state/node/stateService.js"(){"use strict";Le(),Ne(),H(),be(),Bt(),Be(),Pe(),(function(e){e[e.IMMEDIATE=0]="IMMEDIATE",e[e.DELAYED=1]="DELAYED"})(Cx||(Cx={})),Lx=class extends B{constructor(e,t,s,i){super(),this.h=e,this.j=s,this.m=i,this.a=Object.create(null),this.b="",this.f=void 0,this.g=void 0,this.c=this.D(new Qr(t===0?0:100))}init(){return this.f||(this.f=this.n()),this.f}async n(){try{this.b=(await this.m.readFile(this.h)).value.toString(),this.a=JSON.parse(this.b)}catch(e){e.fileOperationResult!==1&&this.j.error(e)}}getItem(e,t){const s=this.a[e];return Ct(s)?t:s}setItem(e,t){this.setItems([{key:e,data:t}])}setItems(e){let t=!1;for(const{key:s,data:i}of e)this.a[s]!==i&&(Ct(i)?si(this.a[s])||(this.a[s]=void 0,t=!0):(this.a[s]=i,t=!0));t&&this.q()}removeItem(e){si(this.a[e])||(this.a[e]=void 0,this.q())}async q(){if(!this.g)return this.c.trigger(()=>this.r())}async r(){if(!this.f)return;await this.f;const e=JSON.stringify(this.a,null,4);if(e!==this.b)try{await this.m.writeFile(this.h,R.fromString(e),{atomic:{postfix:".vsctmp"}}),this.b=e}catch(t){this.j.error(t)}}async close(){return this.g||(this.g=this.c.trigger(()=>this.r(),0)),this.g}},ed=class extends B{constructor(t,s,i,n){super(),this.a=this.D(new Lx(s.stateResource,t,i,n))}async init(){await this.a.init()}getItem(t,s){return this.a.getItem(t,s)}},ed=__decorate([__param(1,Kt),__param(2,he),__param(3,st)],ed),Ox=class extends ed{setItem(e,t){this.a.setItem(e,t)}setItems(e){this.a.setItems(e)}removeItem(e){this.a.removeItem(e)}close(){return this.a.close()}}}}),td,Va,sd,id,zl,Mx=b({"out-build/vs/platform/userDataProfile/node/userDataProfile.js"(){"use strict";Q(),Bt(),Be(),Pe(),IT(),ys(),Fs(),be(),PT(),sd=td=class extends wf{constructor(t,s,i,n,r){super(i,n,s,r),this.a=t,this.U=i}O(){return this.a.getItem(td.b,[]).map(s=>({...s,location:ee(s.location)?this.t.extUri.joinPath(this.profilesHome,s.location):y.revive(s.location)}))}Q(){return this.a.getItem(td.c,{})}S(){return this.t.extUri.joinPath(y.file(this.U.extensionsPath).with({scheme:this.profilesHome.scheme}),"extensions.json")}},sd=td=__decorate([__param(0,Rx),__param(1,mt),__param(2,ri),__param(3,st),__param(4,he)],sd),id=Va=class extends sd{constructor(t,s,i,n,r){super(t,s,i,n,r),this.Z=t}P(t){t.length?this.Z.setItem(Va.b,t.map(s=>({...s,location:this.t.extUri.relativePath(this.profilesHome,s.location)}))):this.Z.removeItem(Va.b)}R(t){t.emptyWindows||t.workspaces?this.Z.setItem(Va.c,t):this.Z.removeItem(Va.c)}},id=Va=__decorate([__param(0,Nx),__param(1,mt),__param(2,ri),__param(3,st),__param(4,he)],id),zl=class extends id{constructor(t,s,i,n){super(new Ox(0,s,n,i),t,s,i,n)}async init(){return await this.Z.init(),super.init()}},zl=__decorate([__param(0,mt),__param(1,ri),__param(2,st),__param(3,he)],zl)}}),Vl,_x=b({"out-build/vs/platform/extensionManagement/node/extensionsProfileScannerService.js"(){"use strict";Pe(),Fs(),ys(),Ra(),Be(),Bt(),Q(),Vl=class extends Lf{constructor(t,s,i,n,r){super(y.file(t.extensionsPath),s,i,n,r)}},Vl=__decorate([__param(0,ri),__param(1,st),__param(2,Ts),__param(3,mt),__param(4,he)],Vl)}}),J0,jx=b({"out-build/vs/platform/log/common/logService.js"(){"use strict";H(),Pe(),J0=class extends B{constructor(e,t=[]){super(),this.a=new n9([e,...t]),this.D(e.onDidChangeLogLevel(s=>this.setLevel(s)))}get onDidChangeLogLevel(){return this.a.onDidChangeLogLevel}setLevel(e){this.a.setLevel(e)}getLevel(){return this.a.getLevel()}trace(e,...t){this.a.trace(e,...t)}debug(e,...t){this.a.debug(e,...t)}info(e,...t){this.a.info(e,...t)}warn(e,...t){this.a.warn(e,...t)}error(e,...t){this.a.error(e,...t)}flush(){this.a.flush()}}}});async function AT(e,t,s,i,n){try{const r=await import("@vscode/spdlog");r.setFlushOn(jn.Trace);const o=await r.createAsyncRotatingLogger(e,t,s,i);return n?o.clearFormatters():o.setPattern("%Y-%m-%d %H:%M:%S.%e [%l] %v"),o}catch(r){console.error(r)}return null}function Ux(e,t,s){switch(t){case G.Trace:e.trace(s);break;case G.Debug:e.debug(s);break;case G.Info:e.info(s);break;case G.Warning:e.warn(s);break;case G.Error:e.error(s);break;case G.Off:break;default:throw new Error(`Invalid log level ${t}`)}}function Tx(e,t){switch(t){case G.Trace:e.setLevel(jn.Trace);break;case G.Debug:e.setLevel(jn.Debug);break;case G.Info:e.setLevel(jn.Info);break;case G.Warning:e.setLevel(jn.Warning);break;case G.Error:e.setLevel(jn.Error);break;case G.Off:e.setLevel(jn.Off);break;default:throw new Error(`Invalid log level ${t}`)}}var jn,Fx,DT=b({"out-build/vs/platform/log/node/spdlogLog.js"(){"use strict";Be(),Pe(),(function(e){e[e.Trace=0]="Trace",e[e.Debug=1]="Debug",e[e.Info=2]="Info",e[e.Warning=3]="Warning",e[e.Error=4]="Error",e[e.Critical=5]="Critical",e[e.Off=6]="Off"})(jn||(jn={})),Fx=class extends s9{constructor(e,t,s,i,n){super(),this.n=[],this.setLevel(n),this.q=this.s(e,t,s,i),this.D(this.onDidChangeLogLevel(r=>{this.r&&Tx(this.r,r)}))}async s(e,t,s,i){const n=s?6:1,r=30/n*ao.MB,o=await AT(e,t,r,n,i);if(o){this.r=o,Tx(this.r,this.getLevel());for(const{level:a,message:c}of this.n)Ux(this.r,a,c);this.n=[]}}m(e,t){this.r?Ux(this.r,e,t):this.getLevel()<=e&&this.n.push({level:e,message:t})}flush(){this.r?this.u():this.q.then(()=>this.u())}dispose(){this.r?this.w():this.q.then(()=>this.w()),super.dispose()}u(){this.r&&this.r.flush()}w(){this.r&&(this.r.drop(),this.r=void 0)}}}}),Q0,Hx=b({"out-build/vs/platform/log/node/loggerService.js"(){"use strict";jt(),Pe(),DT(),Q0=class extends r9{s(e,t,s){return new Fx(Ge(),e.fsPath,!s?.donotRotate,!!s?.donotUseFormatters,t)}}}});function RT(){return process.uncHostAllowlist}function Z0(e){if(process.platform!=="win32")return;const t=RT();if(t)if(typeof e=="string")t.add(e.toLowerCase());else for(const s of NT(e))Z0(s)}function NT(e){const t=new Set;if(Array.isArray(e))for(const s of e)typeof s=="string"&&t.add(s);return Array.from(t)}function zx(){process.platform==="win32"&&(process.restrictUNCAccess=!1)}var Vx=b({"out-build/vs/base/node/unc.js"(){"use strict"}});function CT(e){return e.type==="gallery"}function LT(e){return e.type===1||e.type===0}var Bx,Bl,qx=b({"out-build/vs/platform/extensionManagement/common/allowedExtensionsService.js"(){"use strict";H(),ae(),Rs(),es(),uo(),Yt(),be(),oe(),Bx=/^(?\d+\.\d+\.\d+(-.*)?)(@(?.+))?$/,Bl=class extends B{get allowedExtensionsConfigValue(){return this.b}constructor(t,s){super(),this.f=s,this.c=this.D(new D),this.onDidChangeAllowedExtensionsConfigValue=this.c.event,this.a=t.extensionPublisherOrgs?.map(i=>i.toLowerCase())??[],this.b=this.g(),this.D(this.f.onDidChangeConfiguration(i=>{i.affectsConfiguration(hl)&&(this.b=this.g(),this.c.fire())}))}g(){const t=this.f.getValue(hl);if(!tt(t)||Array.isArray(t))return;const s=Object.entries(t).map(([i,n])=>[i.toLowerCase(),n]);if(!(s.length===1&&s[0][0]==="*"&&s[0][1]===!0))return Object.fromEntries(s)}isAllowed(t){if(!this.b)return!0;let s,i,n,r,o,a;CT(t)?(s=t.identifier.id.toLowerCase(),i=t.version,r=t.properties.isPreReleaseVersion,o=t.publisher.toLowerCase(),a=t.publisherDisplayName.toLowerCase(),n=t.properties.targetPlatform):LT(t)?(s=t.identifier.id.toLowerCase(),i=t.manifest.version,r=t.preRelease,o=t.manifest.publisher.toLowerCase(),a=t.publisherDisplayName?.toLowerCase(),n=t.targetPlatform):(s=t.id.toLowerCase(),i=t.version??"*",n=t.targetPlatform??"universal",r=t.prerelease??!1,o=t.id.substring(0,t.id.indexOf(".")).toLowerCase(),a=t.publisherDisplayName?.toLowerCase());const c=vE("workbench.action.openSettings",{query:`@id:${hl}`}).toString(),l=this.b[s],u=new Hs(m(1978,null,c));if(!si(l))return Wi(l)?l?!0:u:l==="stable"&&r?new Hs(m(1979,null,c)):i!=="*"&&Array.isArray(l)&&!l.some(p=>{const g=Bx.exec(p);if(g&&g.groups){const{platform:v,version:w}=g.groups;return!(w!==i||n!=="universal"&&v&&n!==v)}return!1})?new Hs(m(1980,null,i,c)):!0;const h=a&&this.a.includes(a)?a:o,d=this.b[h];return si(d)?this.b["*"]===!0?!0:u:Wi(d)?d?!0:new Hs(m(1981,null,h,c)):d==="stable"&&r?new Hs(m(1982,null,h,c)):!0}},Bl=__decorate([__param(0,ft),__param(1,Xt)],Bl)}}),ql,Wx=b({"out-build/vs/platform/extensionManagement/common/extensionGalleryManifestService.js"(){"use strict";oe(),H(),es(),ql=class extends B{get extensionGalleryManifestStatus(){return this.a.extensionsGallery?.serviceUrl?"available":"unavailable"}constructor(t){super(),this.a=t,this.onDidChangeExtensionGalleryManifest=F.None,this.onDidChangeExtensionGalleryManifestStatus=F.None}async getExtensionGalleryManifest(){const t=this.a.extensionsGallery;if(!t?.serviceUrl)return null;const s=[{id:`${t.serviceUrl}/extensionquery`,type:"ExtensionQueryService"},{id:`${t.serviceUrl}/vscode/{publisher}/{name}/latest`,type:"ExtensionLatestVersionUriTemplate"},{id:`${t.serviceUrl}/publishers/{publisher}/extensions/{name}/{version}/stats?statType={statTypeName}`,type:"ExtensionStatisticsUriTemplate"}];return t.publisherUrl&&s.push({id:`${t.publisherUrl}/{publisher}`,type:"PublisherViewUriTemplate"}),t.itemUrl&&(s.push({id:`${t.itemUrl}?itemName={publisher}.{name}`,type:"ExtensionDetailsViewUriTemplate"}),s.push({id:`${t.itemUrl}?itemName={publisher}.{name}&ssr=false#review-details`,type:"ExtensionRatingViewUriTemplate"})),t.resourceUrlTemplate&&s.push({id:t.resourceUrlTemplate,type:"ExtensionResourceUriTemplate"}),{version:"",resources:s,capabilities:{extensionQuery:{filtering:[{name:"Tag",value:1},{name:"ExtensionId",value:4},{name:"Category",value:5},{name:"ExtensionName",value:7},{name:"Target",value:8},{name:"Featured",value:9},{name:"SearchText",value:10},{name:"ExcludeWithFlags",value:12}],sorting:[{name:"NoneOrRelevance",value:0},{name:"LastUpdatedDate",value:1},{name:"Title",value:2},{name:"PublisherName",value:3},{name:"InstallCount",value:4},{name:"AverageRating",value:6},{name:"PublishedDate",value:10},{name:"WeightedRating",value:12}],flags:[{name:"None",value:0},{name:"IncludeVersions",value:1},{name:"IncludeFiles",value:2},{name:"IncludeCategoryAndTags",value:4},{name:"IncludeSharedAccounts",value:8},{name:"IncludeVersionProperties",value:16},{name:"ExcludeNonValidated",value:32},{name:"IncludeInstallationTargets",value:64},{name:"IncludeAssetUri",value:128},{name:"IncludeStatistics",value:256},{name:"IncludeLatestVersionOnly",value:512},{name:"Unpublished",value:4096},{name:"IncludeNameConflictInfo",value:32768},{name:"IncludeLatestPrereleaseAndStableVersionOnly",value:65536}]},signing:{allPublicRepositorySigned:!0}}}}},ql=__decorate([__param(0,ft)],ql)}});function Gx(e){setTimeout(()=>process.exit(e),0)}async function OT(e,t,s){if(e.help){const n=At.serverApplicationName+(ve?".cmd":"");console.log(kM(At.nameLong,n,At.version,s,{noInputFiles:!0,noPipe:!0}));return}if(e.version){console.log($M(At.version,At.commit));return}const i=new Jx(e,t);try{await i.run(),Gx(0)}catch{Gx(1)}finally{i.dispose()}}var Jx,MT=b({"out-build/vs/server/node/remoteExtensionHostAgentCli.js"(){"use strict";J1(),Pe(),Hh(),M9(),Yt(),io(),d7(),Pi(),oi(),Rs(),q8(),$E(),E0(),DE(),va(),H(),CE(),Jf(),ye(),Be(),es(),Ha(),xx(),H0(),kx(),ce(),Q(),ge(),Ks(),$T(),o0(),ys(),Ix(),sf(),se(),Dl(),Dx(),Fs(),Ra(),Qh(),Mx(),_x(),jx(),Hx(),ae(),Vx(),qx(),yf(),Wx(),Jx=class extends B{constructor(e,t){super(),this.a=e,this.b=t,this.c()}c(){process.once("exit",()=>this.dispose())}async run(){const e=await this.f();await e.invokeFunction(async t=>{const s=t.get(Xt),i=t.get(he),n=t.get(ft);ve&&(s.getValue("security.restrictUNCAccess")===!1?zx():Z0(s.getValue("security.allowedUNCHosts")));try{await this.g(e.createInstance(Tl,n.extensionsForceVersionByQuality??[],new i9(i.getLevel(),!1)))}catch(r){throw i.error(r),console.error(de(r)),r}})}async f(){const e=new Ch,t={_serviceBrand:void 0,...At};e.set(ft,t);const s=new mo(this.a,t);e.set(Ul,s);const i=new Q0(og(s),s.logsHome);e.set(ha,i);const n=new J0(this.D(i.createLogger("remoteCLI",{name:m(2792,null)})));e.set(he,n),n.trace(`Remote configuration data at ${this.b}`),n.trace("process arguments:",this.a);const r=this.D(new Cl(n));e.set(st,r),r.registerProvider(q.file,this.D(new jl(n)));const o=new za(r);e.set(mt,o);const a=this.D(new zl(o,s,r,n));e.set(Ts,a);const c=this.D(new wg(a.defaultProfile.settingsResource,r,new Jh,n));return e.set(Xt,c),await Promise.all([c.initialize(),a.init()]),e.set(Xi,new He(cl,["remote"])),e.set(If,new He(Kf)),e.set(bs,S7),e.set(co,new He(ql)),e.set(Ai,new He(xl)),e.set(sn,new He(Vl)),e.set(ho,new He(Hl)),e.set(_f,new He(Rl)),e.set(Mn,new He(Bl)),e.set(Ff,new He(Nl)),e.set(Zf,new He(Fl)),new S0(e)}async g(e){if(this.a["list-extensions"])return e.listExtensions(!!this.a["show-versions"],this.a.category);if(this.a["install-extension"]||this.a["install-builtin-extension"]){const t={isMachineScoped:!!this.a["do-not-sync"],installPreReleaseVersion:!!this.a["pre-release"],donotIncludePackAndDependencies:!!this.a["do-not-include-pack-dependencies"]};return e.installExtensions(this.h(this.a["install-extension"]||[]),this.h(this.a["install-builtin-extension"]||[]),t,!!this.a.force)}else{if(this.a["uninstall-extension"])return e.uninstallExtensions(this.h(this.a["uninstall-extension"]),!!this.a.force);if(this.a["update-extensions"])return e.updateExtensions();if(this.a["locate-extension"])return e.locateExtension(this.a["locate-extension"])}}h(e){return e.map(t=>/\.vsix$/i.test(t)?y.file(Vr(t)?t:T(bn(),t)):t)}}}});import{constants as _T,promises as jT}from"fs";import{createInterface as UT}from"readline";async function TT(e){if(js||ve)return;let t;for(const s of["/etc/os-release","/usr/lib/os-release","/etc/lsb-release"])try{t=await jT.open(s,_T.R_OK);break}catch{}if(!t){e("Unable to retrieve release information from known identifier paths.");return}try{const s=new Set(["ID","DISTRIB_ID","ID_LIKE","VERSION_ID","DISTRIB_RELEASE"]),i={id:"unknown"};for await(const n of UT({input:t.createReadStream(),crlfDelay:1/0})){if(!n.includes("="))continue;const r=n.split("=")[0].toUpperCase().trim();if(s.has(r)){const o=n.split("=")[1].replace(/"/g,"").toLowerCase().trim();r==="ID"||r==="DISTRIB_ID"?i.id=o:r==="ID_LIKE"?i.id_like=o:(r==="VERSION_ID"||r==="DISTRIB_RELEASE")&&(i.version_id=o)}}return i}catch(s){e(s)}}var FT=b({"out-build/vs/base/node/osReleaseInfo.js"(){"use strict";se()}});import*as HT from"net";function zT(e,t,s,i=1){let n=!1;return new Promise(r=>{const o=setTimeout(()=>{if(!n)return n=!0,r(0)},s);X0(e,t,i,a=>{if(!n)return n=!0,clearTimeout(o),r(a)})})}function X0(e,t,s,i){if(t===0)return i(0);const n=new HT.Socket;n.once("connect",()=>(Qx(n),X0(e+s,t-1,s,i))),n.once("data",()=>{}),n.once("error",r=>(Qx(n),r.code!=="ECONNREFUSED"?X0(e+s,t-1,s,i):i(e))),n.connect(e,"127.0.0.1")}function Qx(e){try{e.removeAllListeners("connect"),e.removeAllListeners("error"),e.end(),e.destroy(),e.unref()}catch(t){console.error(t)}}var VT=b({"out-build/vs/base/node/ports.js"(){"use strict"}});function wr(){return nd||(nd=R.alloc(0)),nd}function Zx(e){switch(e){case 0:return"None";case 1:return"Regular";case 2:return"Control";case 3:return"Ack";case 5:return"Disconnect";case 6:return"ReplayRequest";case 7:return"PauseWriting";case 8:return"ResumeWriting";case 9:return"KeepAlive"}}var Xx,Y0,Yx,nd,K0,Kx,e2,Oi,ev,tv,Ba,t2,s2,i2,n2,r2=b({"out-build/vs/base/parts/ipc/common/ipc.net.js"(){"use strict";Ne(),oe(),H(),Ua(),(function(e){e.Created="created",e.Read="read",e.Write="write",e.Open="open",e.Error="error",e.Close="close",e.BrowserWebSocketBlobReceived="browserWebSocketBlobReceived",e.NodeEndReceived="nodeEndReceived",e.NodeEndSent="nodeEndSent",e.NodeDrainBegin="nodeDrainBegin",e.NodeDrainEnd="nodeDrainEnd",e.zlibInflateError="zlibInflateError",e.zlibInflateData="zlibInflateData",e.zlibInflateInitialWrite="zlibInflateInitialWrite",e.zlibInflateInitialFlushFired="zlibInflateInitialFlushFired",e.zlibInflateWrite="zlibInflateWrite",e.zlibInflateFlushFired="zlibInflateFlushFired",e.zlibDeflateError="zlibDeflateError",e.zlibDeflateData="zlibDeflateData",e.zlibDeflateWrite="zlibDeflateWrite",e.zlibDeflateFlushFired="zlibDeflateFlushFired",e.WebSocketNodeSocketWrite="webSocketNodeSocketWrite",e.WebSocketNodeSocketPeekedHeader="webSocketNodeSocketPeekedHeader",e.WebSocketNodeSocketReadHeader="webSocketNodeSocketReadHeader",e.WebSocketNodeSocketReadData="webSocketNodeSocketReadData",e.WebSocketNodeSocketUnmaskedData="webSocketNodeSocketUnmaskedData",e.WebSocketNodeSocketDrainBegin="webSocketNodeSocketDrainBegin",e.WebSocketNodeSocketDrainEnd="webSocketNodeSocketDrainEnd",e.ProtocolHeaderRead="protocolHeaderRead",e.ProtocolMessageRead="protocolMessageRead",e.ProtocolHeaderWrite="protocolHeaderWrite",e.ProtocolMessageWrite="protocolMessageWrite",e.ProtocolWrite="protocolWrite"})(Xx||(Xx={})),(function(e){e.enableDiagnostics=!1,e.records=[];const t=new WeakMap;let s=0;function i(r,o){if(!t.has(r)){const a=String(++s);t.set(r,a)}return t.get(r)}function n(r,o,a,c){if(!e.enableDiagnostics)return;const l=i(r,o);if(c instanceof R||c instanceof Uint8Array||c instanceof ArrayBuffer||ArrayBuffer.isView(c)){const u=R.alloc(c.byteLength);u.set(c),e.records.push({timestamp:Date.now(),id:l,label:o,type:a,buff:u})}else e.records.push({timestamp:Date.now(),id:l,label:o,type:a,data:c})}e.traceSocketEvent=n})(Y0||(Y0={})),(function(e){e[e.NodeSocketCloseEvent=0]="NodeSocketCloseEvent",e[e.WebSocketCloseEvent=1]="WebSocketCloseEvent"})(Yx||(Yx={})),nd=null,K0=class{get byteLength(){return this.b}constructor(){this.a=[],this.b=0}acceptChunk(e){this.a.push(e),this.b+=e.byteLength}read(e){return this.c(e,!0)}peek(e){return this.c(e,!1)}c(e,t){if(e===0)return wr();if(e>this.b)throw new Error("Cannot read so many bytes!");if(this.a[0].byteLength===e){const r=this.a[0];return t&&(this.a.shift(),this.b-=e),r}if(this.a[0].byteLength>e){const r=this.a[0].slice(0,e);return t&&(this.a[0]=this.a[0].slice(e),this.b-=e),r}const s=R.alloc(e);let i=0,n=0;for(;e>0;){const r=this.a[n];if(r.byteLength>e){const o=r.slice(0,e);s.set(o,i),i+=e,t&&(this.a[n]=r.slice(e),this.b-=e),e-=e}else s.set(r,i),i+=r.byteLength,t?(this.a.shift(),this.b-=r.byteLength):n++,e-=r.byteLength}return s}},(function(e){e[e.None=0]="None",e[e.Regular=1]="Regular",e[e.Control=2]="Control",e[e.Ack=3]="Ack",e[e.Disconnect=5]="Disconnect",e[e.ReplayRequest=6]="ReplayRequest",e[e.Pause=7]="Pause",e[e.Resume=8]="Resume",e[e.KeepAlive=9]="KeepAlive"})(Kx||(Kx={})),(function(e){e[e.HeaderLength=13]="HeaderLength",e[e.AcknowledgeTime=2e3]="AcknowledgeTime",e[e.TimeoutTime=2e4]="TimeoutTime",e[e.ReconnectionGraceTime=108e5]="ReconnectionGraceTime",e[e.ReconnectionShortGraceTime=3e5]="ReconnectionShortGraceTime",e[e.KeepAliveSendTime=5e3]="KeepAliveSendTime"})(e2||(e2={})),Oi=class{constructor(e,t,s,i){this.type=e,this.id=t,this.ack=s,this.data=i,this.writtenTime=0}get size(){return this.data.byteLength}},ev=class extends B{constructor(e){super(),this.f=this.D(new D),this.onMessage=this.f.event,this.g={readHead:!0,readLen:13,messageType:0,id:0,ack:0},this.a=e,this.b=!1,this.c=new K0,this.D(this.a.onData(t=>this.acceptChunk(t))),this.lastReadTime=Date.now()}acceptChunk(e){if(!(!e||e.byteLength===0))for(this.lastReadTime=Date.now(),this.c.acceptChunk(e);this.c.byteLength>=this.g.readLen;){const t=this.c.read(this.g.readLen);if(this.g.readHead)this.g.readHead=!1,this.g.readLen=t.readUInt32BE(9),this.g.messageType=t.readUInt8(0),this.g.id=t.readUInt32BE(1),this.g.ack=t.readUInt32BE(5),this.a.traceSocketEvent("protocolHeaderRead",{messageType:Zx(this.g.messageType),id:this.g.id,ack:this.g.ack,messageSize:this.g.readLen});else{const s=this.g.messageType,i=this.g.id,n=this.g.ack;if(this.g.readHead=!0,this.g.readLen=13,this.g.messageType=0,this.g.id=0,this.g.ack=0,this.a.traceSocketEvent("protocolMessageRead",t),this.f.fire(new Oi(s,i,n,t)),this.b)break}}}readEntireBuffer(){return this.c.read(this.c.byteLength)}dispose(){this.b=!0,super.dispose()}},tv=class{constructor(e){this.k=null,this.a=!1,this.b=!1,this.c=e,this.d=[],this.f=0,this.lastWriteTime=0}dispose(){try{this.flush()}catch{}this.a=!0}drain(){return this.flush(),this.c.drain()}flush(){this.m()}pause(){this.b=!0}resume(){this.b=!1,this.l()}write(e){if(this.a)return;e.writtenTime=Date.now(),this.lastWriteTime=Date.now();const t=R.alloc(13);t.writeUInt8(e.type,0),t.writeUInt32BE(e.id,1),t.writeUInt32BE(e.ack,5),t.writeUInt32BE(e.data.byteLength,9),this.c.traceSocketEvent("protocolHeaderWrite",{messageType:Zx(e.type),id:e.id,ack:e.ack,messageSize:e.data.byteLength}),this.c.traceSocketEvent("protocolMessageWrite",e.data),this.j(t,e.data)}g(e,t){const s=this.f===0;return this.d.push(e,t),this.f+=e.byteLength+t.byteLength,s}h(){const e=R.concat(this.d,this.f);return this.d.length=0,this.f=0,e}j(e,t){this.g(e,t)&&this.l()}l(){this.k||(this.k=setTimeout(()=>{this.k=null,this.m()}))}m(){if(this.f===0||this.b)return;const e=this.h();this.c.traceSocketEvent("protocolWrite",{byteLength:e.byteLength}),this.c.write(e)}},Ba=class{constructor(){this.b=!1,this.c=!1,this.d=[],this.a=new D({onWillAddFirstListener:()=>{this.b=!0,queueMicrotask(()=>this.f())},onDidRemoveLastListener:()=>{this.b=!1}}),this.event=this.a.event}f(){if(!this.c){for(this.c=!0;this.b&&this.d.length>0;)this.a.fire(this.d.shift());this.c=!1}}fire(e){this.b?this.d.length>0?this.d.push(e):this.a.fire(e):this.d.push(e)}flushBuffer(){this.d=[]}},t2=class{constructor(e){this.data=e,this.next=null}},s2=class{constructor(){this.a=null,this.b=null}length(){let e=0,t=this.a;for(;t;)t=t.next,e++;return e}peek(){return this.a?this.a.data:null}toArray(){const e=[];let t=0,s=this.a;for(;s;)e[t++]=s.data,s=s.next;return e}pop(){if(this.a){if(this.a===this.b){this.a=null,this.b=null;return}this.a=this.a.next}}push(e){const t=new t2(e);if(!this.a){this.a=t,this.b=t;return}this.b.next=t,this.b=t}},i2=class mn{static{this.a=10}static{this.b=null}static getInstance(){return mn.b||(mn.b=new mn),mn.b}constructor(){this.c=[];const t=Date.now();for(let s=0;s{for(let s=mn.a;s>=1;s--)this.c[s]=this.c[s-1];this.c[0]=Date.now()},1e3)}d(){const t=Date.now(),s=(1+mn.a)*1e3;let i=0;for(let n=0;n=.5}},n2=class{get unacknowledgedCount(){return this.d-this.f}constructor(e){this.v=new Ba,this.onControlMessage=this.v.event,this.w=new Ba,this.onMessage=this.w.event,this.x=new Ba,this.onDidDispose=this.x.event,this.y=new Ba,this.onSocketClose=this.y.event,this.z=new Ba,this.onSocketTimeout=this.z.event,this.t=e.loadEstimator??i2.getInstance(),this.u=e.sendKeepAlive??!0,this.a=!1,this.c=new s2,this.d=0,this.f=0,this.g=null,this.h=0,this.j=0,this.k=0,this.l=null,this.n=0,this.o=Date.now(),this.s=new Qe,this.p=e.socket,this.q=this.s.add(new tv(this.p)),this.r=this.s.add(new ev(this.p)),this.s.add(this.r.onMessage(t=>this.A(t))),this.s.add(this.p.onClose(t=>this.y.fire(t))),e.initialChunk&&this.r.acceptChunk(e.initialChunk),this.u?this.m=setInterval(()=>{this.E()},5e3):this.m=null}dispose(){this.g&&(clearTimeout(this.g),this.g=null),this.l&&(clearTimeout(this.l),this.l=null),this.m&&(clearInterval(this.m),this.m=null),this.s.dispose()}drain(){return this.q.drain()}sendDisconnect(){if(!this.b){this.b=!0;const e=new Oi(5,0,0,wr());this.q.write(e),this.q.flush()}}sendPause(){const e=new Oi(7,0,0,wr());this.q.write(e)}sendResume(){const e=new Oi(8,0,0,wr());this.q.write(e)}pauseSocketWriting(){this.q.pause()}getSocket(){return this.p}getMillisSinceLastIncomingData(){return Date.now()-this.r.lastReadTime}beginAcceptReconnection(e,t){this.a=!0,this.s.dispose(),this.s=new Qe,this.v.flushBuffer(),this.y.flushBuffer(),this.z.flushBuffer(),this.p.dispose(),this.n=0,this.o=Date.now(),this.p=e,this.q=this.s.add(new tv(this.p)),this.r=this.s.add(new ev(this.p)),this.s.add(this.r.onMessage(s=>this.A(s))),this.s.add(this.p.onClose(s=>this.y.fire(s))),this.r.acceptChunk(t)}endAcceptReconnection(){this.a=!1,this.j=this.h;const e=new Oi(3,0,this.j,wr());this.q.write(e);const t=this.c.toArray();for(let s=0,i=t.length;sthis.f){this.f=e.ack;do{const t=this.c.peek();if(t&&t.id<=e.ack)this.c.pop();else break}while(!0)}switch(e.type){case 0:break;case 1:{if(e.id>this.h)if(e.id!==this.h+1){const t=Date.now();t-this.n>1e4&&(this.n=t,this.q.write(new Oi(6,0,0,wr())))}else this.h=e.id,this.k=Date.now(),this.B(),this.w.fire(e.data);break}case 2:{this.v.fire(e.data);break}case 3:break;case 5:{this.x.fire();break}case 6:{const t=this.c.toArray();for(let s=0,i=t.length;s=2e3){this.D();return}this.l=setTimeout(()=>{this.l=null,this.B()},2e3-e+5)}C(){if(this.d<=this.f||this.g||this.a)return;const e=this.c.peek(),t=Date.now()-e.writtenTime,s=Date.now()-this.r.lastReadTime,i=Date.now()-this.o;if(t>=2e4&&s>=2e4&&i>=2e4&&!this.t.hasHighLoad()){this.o=Date.now(),this.z.fire({unacknowledgedMsgCount:this.c.length(),timeSinceOldestUnacknowledgedMsg:t,timeSinceLastReceivedSomeData:s});return}const n=Math.max(2e4-t,2e4-s,2e4-i,500);this.g=setTimeout(()=>{this.g=null,this.C()},n)}D(){if(this.h<=this.j)return;this.j=this.h;const e=new Oi(3,0,this.j,wr());this.q.write(e)}E(){this.j=this.h;const e=new Oi(9,0,this.j,wr());this.q.write(e)}}}});import{createHash as BT}from"crypto";import"net";import{tmpdir as qT}from"os";import{createDeflateRaw as WT,createInflateRaw as GT}from"zlib";function JT(e,t,{debugLabel:s,skipWebSocketFrames:i=!1,disableWebSocketCompression:n=!1,enableMessageSplitting:r=!0}){if(e.headers.upgrade===void 0||e.headers.upgrade.toLowerCase()!=="websocket"){t.end("HTTP/1.1 400 Bad Request");return}const o=e.headers["sec-websocket-key"],a=BT("sha1");a.update(o+"258EAFA5-E914-47DA-95CA-C5AB0DC85B11");const l=["HTTP/1.1 101 Switching Protocols","Upgrade: websocket","Connection: Upgrade",`Sec-WebSocket-Accept: ${a.digest("base64")}`];let u=!1;if(!i&&!n&&e.headers["sec-websocket-extensions"]){const h=Array.isArray(e.headers["sec-websocket-extensions"])?e.headers["sec-websocket-extensions"]:[e.headers["sec-websocket-extensions"]];for(const d of h)if(!/\b((server_max_window_bits)|(server_no_context_takeover)|(client_no_context_takeover))\b/.test(d)){if(/\b(permessage-deflate)\b/.test(d)){u=!0,l.push("Sec-WebSocket-Extensions: permessage-deflate");break}if(/\b(x-webkit-deflate-frame)\b/.test(d)){u=!0,l.push("Sec-WebSocket-Extensions: x-webkit-deflate-frame");break}}}return t.write(l.join(`\r `)+`\r \r `),t.setTimeout(0),t.setNoDelay(!0),i?new qa(t,s):new l2(new qa(t,s),u,null,!0,r)}function QT(e,t){if(t===0)return;const s=e.byteLength>>>2;for(let c=0;c>>24&255,o=t>>>16&255,a=t>>>8&255;n>=1&&e.writeUInt8(e.readUInt8(i)^r,i),n>=2&&e.writeUInt8(e.readUInt8(i+1)^o,i+1),n>=3&&e.writeUInt8(e.readUInt8(i+2)^a,i+2)}function sv(){const e=Ge();if(process.platform==="win32")return`\\\\.\\pipe\\vscode-ipc-${e}-sock`;const t=process.platform!=="darwin"&&iv?iv:qT(),s=T(t,`vscode-ipc-${e}.sock`);return ZT(s),s}function ZT(e){const t=d2[Fr];typeof t=="number"&&e.length>=t&&console.warn(`WARNING: IPC handle "${e}" is longer than ${t} chars, try a shorter --user-data-dir`)}var o2,qa,a2,c2,l2,u2,h2,f2,iv,d2,rd=b({"out-build/vs/base/parts/ipc/node/ipc.net.js"(){"use strict";Ne(),ce(),oe(),H(),ge(),se(),jt(),Ua(),r2(),o2=3e4,qa=class{traceSocketEvent(e,t){Y0.traceSocketEvent(this.socket,this.debugLabel,e,t)}constructor(e,t=""){this.d=!0,this.debugLabel=t,this.socket=e,this.traceSocketEvent("created",{type:"NodeSocket"}),this.a=i=>{if(this.traceSocketEvent("error",{code:i?.code,message:i?.message}),i){if(i.code==="EPIPE")return;wt(i)}},this.socket.on("error",this.a);let s;this.b=i=>{this.traceSocketEvent("close",{hadError:i}),this.d=!1,s&&clearTimeout(s)},this.socket.on("close",this.b),this.c=()=>{this.traceSocketEvent("nodeEndReceived"),this.d=!1,s=setTimeout(()=>e.destroy(),o2)},this.socket.on("end",this.c)}dispose(){this.socket.off("error",this.a),this.socket.off("close",this.b),this.socket.off("end",this.c),this.socket.destroy()}onData(e){const t=s=>{this.traceSocketEvent("read",s),e(R.wrap(s))};return this.socket.on("data",t),{dispose:()=>this.socket.off("data",t)}}onClose(e){const t=s=>{e({type:0,hadError:s,error:void 0})};return this.socket.on("close",t),{dispose:()=>this.socket.off("close",t)}}onEnd(e){const t=()=>{e()};return this.socket.on("end",t),{dispose:()=>this.socket.off("end",t)}}write(e){if(!(this.socket.destroyed||!this.d))try{this.traceSocketEvent("write",e),this.socket.write(e.buffer,t=>{if(t){if(t.code==="EPIPE")return;wt(t)}})}catch(t){if(t.code==="EPIPE")return;wt(t)}}end(){this.traceSocketEvent("nodeEndSent"),this.socket.end()}drain(){return this.traceSocketEvent("nodeDrainBegin"),new Promise((e,t)=>{if(this.socket.bufferSize===0){this.traceSocketEvent("nodeDrainEnd"),e();return}const s=()=>{this.socket.off("close",s),this.socket.off("end",s),this.socket.off("error",s),this.socket.off("timeout",s),this.socket.off("drain",s),this.traceSocketEvent("nodeDrainEnd"),e()};this.socket.on("close",s),this.socket.on("end",s),this.socket.on("error",s),this.socket.on("timeout",s),this.socket.on("drain",s)})}},(function(e){e[e.MinHeaderByteSize=2]="MinHeaderByteSize",e[e.MaxWebSocketMessageLength=262144]="MaxWebSocketMessageLength"})(a2||(a2={})),(function(e){e[e.PeekHeader=1]="PeekHeader",e[e.ReadHeader=2]="ReadHeader",e[e.ReadBody=3]="ReadBody",e[e.Fin=4]="Fin"})(c2||(c2={})),l2=class extends B{get permessageDeflate(){return this.a.permessageDeflate}get recordedInflateBytes(){return this.a.recordedInflateBytes}traceSocketEvent(e,t){this.socket.traceSocketEvent(e,t)}constructor(e,t,s,i,n=!0){super(),this.c=this.D(new D),this.f=this.D(new D),this.h=!1,this.j={state:1,readLen:2,fin:0,compressed:!1,firstFrameOfMessage:!0,mask:0,opcode:0},this.socket=e,this.g=n?262144:1/0,this.traceSocketEvent("created",{type:"WebSocketNodeSocket",permessageDeflate:t,inflateBytesLength:s?.byteLength||0,recordInflateBytes:i}),this.a=this.D(new u2(this,t,s,i,this.c,(r,o)=>this.m(r,o))),this.D(this.a.onError(r=>{console.error(r),wt(r),this.f.fire({type:0,hadError:!0,error:r})})),this.b=new K0,this.D(this.socket.onData(r=>this.n(r))),this.D(this.socket.onClose(async r=>{this.a.isProcessingReadQueue()&&await F.toPromise(this.a.onDidFinishProcessingReadQueue),this.f.fire(r)}))}dispose(){this.a.isProcessingWriteQueue()?this.D(this.a.onDidFinishProcessingWriteQueue(()=>{this.dispose()})):(this.socket.dispose(),super.dispose())}onData(e){return this.c.event(e)}onClose(e){return this.f.event(e)}onEnd(e){return this.socket.onEnd(e)}write(e){let t=0;for(;t>>8&255,++a),n.writeUInt8(e.byteLength>>>0&255,++a)}else{n.writeUInt8(127,1);let a=1;n.writeUInt8(0,++a),n.writeUInt8(0,++a),n.writeUInt8(0,++a),n.writeUInt8(0,++a),n.writeUInt8(e.byteLength>>>24&255,++a),n.writeUInt8(e.byteLength>>>16&255,++a),n.writeUInt8(e.byteLength>>>8&255,++a),n.writeUInt8(e.byteLength>>>0&255,++a)}this.socket.write(R.concat([n,e]))}end(){this.h=!0,this.socket.end()}n(e){if(e.byteLength!==0){for(this.b.acceptChunk(e);this.b.byteLength>=this.j.readLen;)if(this.j.state===1){const t=this.b.peek(this.j.readLen),s=t.readUInt8(0),i=(s&128)>>>7,n=(s&64)>>>6,r=s&15,o=t.readUInt8(1),a=(o&128)>>>7,c=o&127;this.j.state=2,this.j.readLen=2+(a?4:0)+(c===126?2:0)+(c===127?8:0),this.j.fin=i,this.j.firstFrameOfMessage&&(this.j.compressed=!!n),this.j.firstFrameOfMessage=!!i,this.j.mask=0,this.j.opcode=r,this.traceSocketEvent("webSocketNodeSocketPeekedHeader",{headerSize:this.j.readLen,compressed:this.j.compressed,fin:this.j.fin,opcode:this.j.opcode})}else if(this.j.state===2){const t=this.b.read(this.j.readLen),s=t.readUInt8(1),i=(s&128)>>>7;let n=s&127,r=1;n===126?n=t.readUInt8(++r)*2**8+t.readUInt8(++r):n===127&&(n=t.readUInt8(++r)*0+t.readUInt8(++r)*0+t.readUInt8(++r)*0+t.readUInt8(++r)*0+t.readUInt8(++r)*2**24+t.readUInt8(++r)*2**16+t.readUInt8(++r)*2**8+t.readUInt8(++r));let o=0;i&&(o=t.readUInt8(++r)*2**24+t.readUInt8(++r)*2**16+t.readUInt8(++r)*2**8+t.readUInt8(++r)),this.j.state=3,this.j.readLen=n,this.j.mask=o,this.traceSocketEvent("webSocketNodeSocketPeekedHeader",{bodySize:this.j.readLen,compressed:this.j.compressed,fin:this.j.fin,mask:this.j.mask,opcode:this.j.opcode})}else if(this.j.state===3){const t=this.b.read(this.j.readLen);this.traceSocketEvent("webSocketNodeSocketReadData",t),QT(t,this.j.mask),this.traceSocketEvent("webSocketNodeSocketUnmaskedData",t),this.j.state=1,this.j.readLen=2,this.j.mask=0,this.j.opcode<=2?this.a.acceptFrame(t,this.j.compressed,!!this.j.fin):this.j.opcode===9&&this.a.writeMessage(t,{compressed:!1,opcode:10})}}}async drain(){this.traceSocketEvent("webSocketNodeSocketDrainBegin"),this.a.isProcessingWriteQueue()&&await F.toPromise(this.a.onDidFinishProcessingWriteQueue),await this.socket.drain(),this.traceSocketEvent("webSocketNodeSocketDrainEnd")}},u2=class extends B{get permessageDeflate(){return!!(this.b&&this.c)}get recordedInflateBytes(){return this.b?this.b.recordedInflateBytes:R.alloc(0)}constructor(e,t,s,i,n,r){super(),this.m=e,this.n=n,this.q=r,this.a=this.D(new D),this.onError=this.a.event,this.f=[],this.g=[],this.h=this.D(new D),this.onDidFinishProcessingReadQueue=this.h.event,this.j=this.D(new D),this.onDidFinishProcessingWriteQueue=this.j.event,this.r=!1,this.u=!1,t?(this.b=this.D(new h2(this.m,i,s,{windowBits:15})),this.c=this.D(new f2(this.m,{windowBits:15})),this.D(this.b.onError(o=>this.a.fire(o))),this.D(this.c.onError(o=>this.a.fire(o)))):(this.b=null,this.c=null)}writeMessage(e,t){this.f.push({data:e,options:t}),this.s()}async s(){if(!this.r){for(this.r=!0;this.f.length>0;){const{data:e,options:t}=this.f.shift();if(this.c&&t.compressed){const s=await this.t(this.c,e);this.q(s,t)}else this.q(e,{...t,compressed:!1})}this.r=!1,this.j.fire()}}isProcessingWriteQueue(){return this.r}t(e,t){return new Promise((s,i)=>{e.write(t),e.flush(n=>s(n))})}acceptFrame(e,t,s){this.g.push({data:e,isCompressed:t,isLastFrameOfMessage:s}),this.w()}async w(){if(!this.u){for(this.u=!0;this.g.length>0;){const e=this.g.shift();if(this.b&&e.isCompressed){const t=await this.y(this.b,e.data,e.isLastFrameOfMessage);this.n.fire(t)}else this.n.fire(e.data)}this.u=!1,this.h.fire()}}isProcessingReadQueue(){return this.u}y(e,t,s){return new Promise((i,n)=>{e.write(t),s&&e.write(R.fromByteArray([0,0,255,255])),e.flush(r=>i(r))})}},h2=class extends B{get recordedInflateBytes(){return this.h?R.concat(this.c):R.alloc(0)}constructor(e,t,s,i){super(),this.g=e,this.h=t,this.a=this.D(new D),this.onError=this.a.event,this.c=[],this.f=[],this.b=GT(i),this.b.on("error",n=>{this.g.traceSocketEvent("zlibInflateError",{message:n?.message,code:n?.code}),this.a.fire(n)}),this.b.on("data",n=>{this.g.traceSocketEvent("zlibInflateData",n),this.f.push(R.wrap(n))}),s&&(this.g.traceSocketEvent("zlibInflateInitialWrite",s.buffer),this.b.write(s.buffer),this.b.flush(()=>{this.g.traceSocketEvent("zlibInflateInitialFlushFired"),this.f.length=0}))}write(e){this.h&&this.c.push(e.clone()),this.g.traceSocketEvent("zlibInflateWrite",e),this.b.write(e.buffer)}flush(e){this.b.flush(()=>{this.g.traceSocketEvent("zlibInflateFlushFired");const t=R.concat(this.f);this.f.length=0,e(t)})}},f2=class extends B{constructor(e,t){super(),this.f=e,this.a=this.D(new D),this.onError=this.a.event,this.c=[],this.b=WT({windowBits:15}),this.b.on("error",s=>{this.f.traceSocketEvent("zlibDeflateError",{message:s?.message,code:s?.code}),this.a.fire(s)}),this.b.on("data",s=>{this.f.traceSocketEvent("zlibDeflateData",s),this.c.push(R.wrap(s))})}write(e){this.f.traceSocketEvent("zlibDeflateWrite",e.buffer),this.b.write(e.buffer)}flush(e){this.b.flush(2,()=>{this.f.traceSocketEvent("zlibDeflateFlushFired");let t=R.concat(this.c);this.c.length=0,t=t.slice(0,t.byteLength-4),e(t)})}},iv=process.env.XDG_RUNTIME_DIR,d2={2:107,1:103}}}),nv,p2,m2=b({"out-build/vs/server/node/extensionHostStatusService.js"(){"use strict";te(),nv=Z("extensionHostStatusService"),p2=class{constructor(){this.a=new Map}setExitInfo(e,t){this.a.set(e,t)}getExitInfo(e){return this.a.get(e)||null}}}});function XT(e){delete e[rv.ENV_KEY],delete e[ov.ENV_KEY],delete e[b2.ENV_KEY]}function g2(e,t){XT(t),e.serialize(t)}var v2,rv,ov,b2,YT=b({"out-build/vs/workbench/services/extensions/common/extensionHostEnv.js"(){"use strict";(function(e){e[e.IPC=1]="IPC",e[e.Socket=2]="Socket",e[e.MessagePort=3]="MessagePort"})(v2||(v2={})),rv=class cC{static{this.ENV_KEY="VSCODE_EXTHOST_IPC_HOOK"}constructor(t){this.pipeName=t,this.type=1}serialize(t){t[cC.ENV_KEY]=this.pipeName}},ov=class lC{constructor(){this.type=2}static{this.ENV_KEY="VSCODE_EXTHOST_WILL_SEND_SOCKET"}serialize(t){t[lC.ENV_KEY]="1"}},b2=class uC{constructor(){this.type=3}static{this.ENV_KEY="VSCODE_WILL_SEND_MESSAGE_PORT"}serialize(t){t[uC.ENV_KEY]="1"}}}});import*as KT from"child_process";import*as eF from"net";async function w2(e={},t,s,i,n,r){const o=await Px(s,i.userDataPath);let a={};if(t)try{a=await Ig(r,n,i.args,process.env)}catch(p){n.error("ExtensionHostConnection#buildUserEnvironment resolving shell environment failed",p)}const l={...process.env,...a,VSCODE_ESM_ENTRYPOINT:"vs/workbench/api/node/extensionHostProcess",VSCODE_HANDLES_UNCAUGHT_ERRORS:"true",VSCODE_NLS_CONFIG:JSON.stringify(o),...e},u=i.isBuilt?T(i.appRoot,"bin"):T(i.appRoot,"resources","server","bin-dev"),h=T(u,"remote-cli");let d=tF(l,"PATH");return d?d=h+Dc+d:d=h,sF(l,"PATH",d),i.args["without-browser-env-var"]||(l.BROWSER=T(u,"helpers",ve?"browser.cmd":"browser.sh")),l.VSCODE_RECONNECTION_GRACE_TIME=String(i.reconnectionGraceTime),n.trace(`[reconnection-grace-time] Setting VSCODE_RECONNECTION_GRACE_TIME env var for extension host: ${i.reconnectionGraceTime}ms (${Math.floor(i.reconnectionGraceTime/1e3)}s)`),iF(l),l}function tF(e,t){const s=Object.keys(e).filter(n=>n.toLowerCase()===t.toLowerCase()),i=s.length>0?s[0]:t;return e[i]}function sF(e,t,s){const i=Object.keys(e).filter(r=>r.toLowerCase()===t.toLowerCase()),n=i.length>0?i[0]:t;e[n]=s}function iF(e){for(const t of Object.keys(e))e[t]===null&&delete e[t]}var av,od,y2=b({"out-build/vs/server/node/extensionHostConnection.js"(){"use strict";Ne(),oe(),H(),ye(),ge(),se(),Kh(),rd(),Yt(),Pe(),Pg(),m2(),Ax(),Ha(),YT(),av=class{constructor(e,t){this.socket=e,this.initialDataChunk=t}socketDrain(){return this.socket.drain()}toIExtHostSocketMessage(){let e,t,s;return this.socket instanceof qa?(e=!0,t=!1,s=R.alloc(0)):(e=!1,t=this.socket.permessageDeflate,s=this.socket.recordedInflateBytes),{type:"VSCODE_EXTHOST_IPC_SOCKET",initialDataChunk:this.initialDataChunk.buffer.toString("base64"),skipWebSocketFrames:e,permessageDeflate:t,inflateBytes:s.buffer.toString("base64")}}},od=class extends B{constructor(t,s,i,n,r,o,a,c){super(),this.m=t,this.n=r,this.q=o,this.r=a,this.s=c,this.b=new D,this.onClose=this.b.event,this.c=!ve||!this.n.args["socket-path"],this.f=!1,this.g=s,this.h=null,this.j=new av(i,n),this.u("New connection established.")}dispose(){this.C(),super.dispose()}get t(){return`[${this.g}][${this.m.substr(0,8)}][ExtensionHostConnection] `}u(t){this.q.info(`${this.t}${t}`)}w(t){this.q.error(`${this.t}${t}`)}async y(t,s){const i=new Qe;i.add(s.socket),i.add(De(()=>{t.destroy()}));const n=()=>{i.dispose()};i.add(s.socket.onEnd(n)),i.add(s.socket.onClose(n)),i.add(F.fromNodeEventEmitter(t,"end")(n)),i.add(F.fromNodeEventEmitter(t,"close")(n)),i.add(F.fromNodeEventEmitter(t,"error")(n)),i.add(s.socket.onData(r=>t.write(r.buffer))),i.add(F.fromNodeEventEmitter(t,"data")(r=>{s.socket.write(R.wrap(r))})),s.initialDataChunk.byteLength>0&&t.write(s.initialDataChunk.buffer)}async z(t,s){await s.socketDrain();const i=s.toIExtHostSocketMessage();let n;s.socket instanceof qa?n=s.socket.socket:n=s.socket.socket.socket,t.send(i,n)}shortenReconnectionGraceTimeIfNecessary(){if(!this.h)return;const t={type:"VSCODE_EXTHOST_IPC_REDUCE_GRACE_TIME"};this.h.send(t)}acceptReconnection(t,s,i){this.g=t,this.u("The client has reconnected.");const n=new av(s,i);if(!this.h){this.j=n;return}this.z(this.h,n)}C(){this.f||(this.f=!0,this.j&&(this.j.socket.end(),this.j=null),this.h&&(this.h.kill(),this.h=null),this.b.fire(void 0))}async start(t){try{let s=process.execArgv?process.execArgv.filter(h=>!/^--inspect(-brk)?=/.test(h)):[];t.port&&!process.pkg&&(s=[`--inspect${t.break?"-brk":""}=${t.port}`,"--experimental-network-inspection"]);const i=await w2(t.env,!0,t.language,this.n,this.q,this.s);J9(i);let n;if(this.c)g2(new ov,i),n=null;else{const{namedPipeServer:h,pipeName:d}=await this.F();g2(new rv(d),i),n=h}const r={env:i,execArgv:s,silent:!0};r.execArgv.unshift("--dns-result-order=ipv4first");const o=["--type=extensionHost","--transformURIs"],a=this.n.args["use-host-proxy"];o.push(`--useHostProxy=${a?"true":"false"}`),this.s.getValue("extensions.supportNodeGlobalNavigator")&&o.push("--supportGlobalNavigator"),this.h=KT.fork(_t.asFileUri("bootstrap-fork").fsPath,o,r);const c=this.h.pid;this.u(`<${c}> Launched Extension Host Process.`),this.h.stdout.setEncoding("utf8"),this.h.stderr.setEncoding("utf8");const l=F.fromNodeEventEmitter(this.h.stdout,"data"),u=F.fromNodeEventEmitter(this.h.stderr,"data");if(this.D(l(h=>this.u(`<${c}> ${h}`))),this.D(u(h=>this.u(`<${c}> ${h}`))),this.h.on("error",h=>{this.w(`<${c}> Extension Host Process had an error`),this.q.error(h),this.C()}),this.h.on("exit",(h,d)=>{this.r.setExitInfo(this.m,{code:h,signal:d}),this.u(`<${c}> Extension Host Process exited with code: ${h}, signal: ${d}.`),this.C()}),n)n.on("connection",h=>{n.close(),this.y(h,this.j)});else{const h=d=>{d.type==="VSCODE_EXTHOST_IPC_READY"&&(this.h.removeListener("message",h),this.z(this.h,this.j),this.j=null)};this.h.on("message",h)}}catch(s){console.error("ExtensionHostConnection errored"),s&&console.error(s)}}F(){return new Promise((t,s)=>{const i=sv(),n=eF.createServer();n.on("error",s),n.listen(i,()=>{n?.removeListener("error",s),t({pipeName:i,namedPipeServer:n})})})}},od=__decorate([__param(4,Ul),__param(5,he),__param(6,nv),__param(7,Xt)],od)}});function ad(e){let t=0,s=0,i=0;e>=1e3&&(i=Math.floor(e/1e3),e-=i*1e3),i>=60&&(s=Math.floor(i/60),i-=s*60),s>=60&&(t=Math.floor(s/60),s-=t*60);const n=t?`${t}h`:"",r=s?`${s}m`:"",o=i?`${i}s`:"",a=e?`${e}ms`:"";return`${n}${r}${o}${a}`}var E2,nF=b({"out-build/vs/server/node/remoteExtensionManagement.js"(){"use strict";oe(),Le(),E2=class{constructor(e,t,s,i,n){this.i=e,this.j=t,this.a=new D,this.onClose=this.a.event,this.b=n;const r=3e5;this.c=n>0?Math.min(r,n):0,this.d=s,this.protocol=i,this.e=!1,this.f=new H1(()=>{this.k(`The reconnection grace time of ${ad(this.b)} has expired, so the connection will be disposed.`),this.l()},this.b),this.g=new H1(()=>{this.k(`The reconnection short grace time of ${ad(this.c)} has expired, so the connection will be disposed.`),this.l()},this.c),this.protocol.onDidDispose(()=>{this.k("The client has disconnected gracefully, so the connection will be disposed."),this.l()}),this.protocol.onSocketClose(()=>{this.k(`The client has disconnected, will wait for reconnection ${ad(this.b)} before disposing...`),this.f.schedule()}),this.k("New connection established.")}k(e){this.i.info(`[${this.d}][${this.j.substr(0,8)}][ManagementConnection] ${e}`)}shortenReconnectionGraceTimeIfNecessary(){this.g.isScheduled()||this.f.isScheduled()&&(this.k(`Another client has connected, will shorten the wait for reconnection ${ad(this.c)} before disposing...`),this.g.schedule())}l(){if(this.e)return;this.e=!0,this.f.dispose(),this.g.dispose();const e=this.protocol.getSocket();this.protocol.sendDisconnect(),this.protocol.dispose(),e.end(),this.a.fire(void 0)}acceptReconnection(e,t,s){this.d=e,this.k("The client has reconnected."),this.f.cancel(),this.g.cancel(),this.protocol.beginAcceptReconnection(t,s),this.protocol.endAcceptReconnection()}}}});import*as rF from"cookie";import*as x2 from"fs";async function oF(e,t){const s=e["without-connection-token"],i=e["connection-token"],n=e["connection-token-file"];if(s)return typeof i<"u"||typeof n<"u"?new go("Please do not use the argument '--connection-token' or '--connection-token-file' at the same time as '--without-connection-token'."):new S2;if(typeof n<"u"){if(typeof i<"u")return new go("Please do not use the argument '--connection-token' at the same time as '--connection-token-file'.");let r;try{r=x2.readFileSync(n).toString().replace(/\r?\n$/,"")}catch{return new go(`Unable to read the connection token file at '${n}'.`)}return cd.test(r)?new ld(r):new go(`The connection token defined in '${n} does not adhere to the characters 0-9, a-z, A-Z, _, or -.`)}return typeof i<"u"?cd.test(i)?new ld(i):new go(`The connection token '${i} does not adhere to the characters 0-9, a-z, A-Z or -.`):new ld(await t())}async function aF(e){return oF(e,async()=>{if(!e["user-data-dir"])return Ge();const s=T(e["user-data-dir"],"token");try{const r=(await x2.promises.readFile(s)).toString().replace(/\r?\n$/,"");if(cd.test(r))return r}catch{}const i=Ge();try{await xe.writeFile(s,i,{mode:384})}catch{}return i})}function cF(e,t,s){if(e.validate(s.query[Xo]))return!0;const i=rF.parse(t.headers.cookie||"");return e.validate(i[Ah])}var cd,k2,S2,ld,go,lF=b({"out-build/vs/server/node/serverConnectionToken.js"(){"use strict";ge(),jt(),ye(),ms(),cd=/^[0-9A-Za-z_-]+$/,(function(e){e[e.None=0]="None",e[e.Optional=1]="Optional",e[e.Mandatory=2]="Mandatory"})(k2||(k2={})),S2=class{constructor(){this.type=0}validate(e){return!0}},ld=class{constructor(e){this.value=e,this.type=2}validate(e){return e===this.value}},go=class{constructor(e){this.message=e}}}});import{networkInterfaces as uF}from"os";function hF(e){const t=e.replace(/\-/g,":").toLowerCase();return!$2.has(t)}function fF(){const e=uF();for(const t in e){const s=e[t];if(s){for(const{mac:i}of s)if(hF(i))return i}}throw new Error("Unable to retrieve mac address (unexpected format)")}var $2,dF=b({"out-build/vs/base/node/macAddress.js"(){"use strict";$2=new Set(["00:00:00:00:00:00","ff:ff:ff:ff:ff:ff","ac:de:48:00:11:22"])}});import{networkInterfaces as pF}from"os";async function mF(e){return lv||(lv=(async()=>await gF(e)||Ge())()),lv}async function gF(e){try{const t=await import("crypto"),s=fF();return t.createHash("sha256").update(s,"utf8").digest("hex")}catch(t){e(t);return}}async function vF(e){if(ve){const t=await import("@vscode/windows-registry");try{return t.GetStringRegKey("HKEY_LOCAL_MACHINE",I2,"MachineId")||""}catch(s){return e(s),""}}return""}async function bF(e){try{return await(await import("@vscode/deviceid")).getDeviceId()}catch(t){return e(t),Ge()}}var cv,lv,I2,P2=b({"out-build/vs/base/node/id.js"(){"use strict";ff(),jt(),dF(),se(),cv=new class{c(e){return this.a||(this.a=Sa.forStrings(),this.a.set("00-50-56",!0),this.a.set("00-0C-29",!0),this.a.set("00-05-69",!0),this.a.set("00-03-FF",!0),this.a.set("00-1C-42",!0),this.a.set("00-16-3E",!0),this.a.set("08-00-27",!0),this.a.set("00:50:56",!0),this.a.set("00:0C:29",!0),this.a.set("00:05:69",!0),this.a.set("00:03:FF",!0),this.a.set("00:1C:42",!0),this.a.set("00:16:3E",!0),this.a.set("08:00:27",!0)),!!this.a.findSubstr(e)}value(){if(this.b===void 0){let e=0,t=0;const s=pF();for(const i in s){const n=s[i];if(n)for(const{mac:r,internal:o}of n)o||(t+=1,this.c(r.toUpperCase())&&(e+=1))}this.b=t>0?e/t:0}return this.b}},I2="Software\\Microsoft\\SQMClient"}}),uv,wF=b({"out-build/vs/platform/debug/common/extensionHostDebugIpc.js"(){"use strict";oe(),H(),uv=class{constructor(){this.a=new D,this.b=new D,this.c=new D,this.d=new D}static{this.ChannelName="extensionhostdebugservice"}call(e,t,s){switch(t){case"close":return Promise.resolve(this.a.fire({sessionId:s[0]}));case"reload":return Promise.resolve(this.b.fire({sessionId:s[0]}));case"terminate":return Promise.resolve(this.c.fire({sessionId:s[0]}));case"attach":return Promise.resolve(this.d.fire({sessionId:s[0],port:s[1],subId:s[2]}))}throw new Error("Method not implemented.")}listen(e,t,s){switch(t){case"close":return this.a.event;case"reload":return this.b.event;case"terminate":return this.c.event;case"attach":return this.d.event}throw new Error("Method not implemented.")}}}}),A2,yF=b({"out-build/vs/platform/download/common/downloadIpc.js"(){"use strict";Q(),A2=class{constructor(e,t){this.a=e,this.b=t}async download(e,t){const s=this.b();s&&(e=s.transformOutgoingURI(e),t=s.transformOutgoingURI(t)),await this.a.call("download",[e,t])}}}});function D2(e){return e.toJSON()}function R2(e,t,s){if(!e||s>200)return null;if(typeof e=="object"){if(e instanceof y)return t.transformOutgoing(e);for(const i in e)if(Object.hasOwnProperty.call(e,i)){const n=R2(e[i],t,s+1);n!==null&&(e[i]=n)}}return null}function Un(e,t){const s=R2(e,t,0);return s===null?e:s}function hv(e,t,s,i){if(!e||i>200)return null;if(typeof e=="object"){if(e.$mid===1)return s?y.revive(t.transformIncoming(e)):t.transformIncoming(e);if(e instanceof R)return null;for(const n in e)if(Object.hasOwnProperty.call(e,n)){const r=hv(e[n],t,s,i+1);r!==null&&(e[n]=r)}}return null}function N2(e,t){const s=hv(e,t,!1,0);return s===null?e:s}function ud(e,t){const s=hv(e,t,!0,0);return s===null?e:s}var C2,Wl,vo=b({"out-build/vs/base/common/uriIpc.js"(){"use strict";Ne(),Q(),C2=class{constructor(e){this.a=e}transformIncoming(e){const t=this.a.transformIncoming(e);return t===e?e:D2(y.from(t))}transformOutgoing(e){const t=this.a.transformOutgoing(e);return t===e?e:D2(y.from(t))}transformOutgoingURI(e){const t=this.a.transformOutgoing(e);return t===e?e:y.from(t)}transformOutgoingScheme(e){return this.a.transformOutgoingScheme(e)}},Wl=new class{transformIncoming(e){return e}transformOutgoing(e){return e}transformOutgoingURI(e){return e}transformOutgoingScheme(e){return e}}}});function Mi(e,t){return e?y.revive(t?t.transformIncoming(e):e):void 0}function Wa(e,t){return t?t.transformOutgoingURI(e):e}function Gl(e,t){t=t||Wl;const s=e.manifest;return{...ud({...e,manifest:void 0},t),manifest:s}}function Jl(e,t){return e?.profileLocation?ud(e,t??Wl):e}function Ql(e,t){return t?Ji(e,s=>s instanceof y?t.transformOutgoingURI(s):void 0):e}var L2,EF=b({"out-build/vs/platform/extensionManagement/common/extensionManagementIpc.js"(){"use strict";oe(),Vt(),Q(),vo(),Cf(),se(),L2=class{constructor(e,t){this.a=e,this.b=t,this.onInstallExtension=F.buffer(e.onInstallExtension,!0),this.onDidInstallExtensions=F.buffer(e.onDidInstallExtensions,!0),this.onUninstallExtension=F.buffer(e.onUninstallExtension,!0),this.onDidUninstallExtension=F.buffer(e.onDidUninstallExtension,!0),this.onDidUpdateExtensionMetadata=F.buffer(e.onDidUpdateExtensionMetadata,!0)}listen(e,t){const s=this.b(e);switch(t){case"onInstallExtension":return F.map(this.onInstallExtension,i=>({...i,profileLocation:i.profileLocation?Wa(i.profileLocation,s):i.profileLocation}));case"onDidInstallExtensions":return F.map(this.onDidInstallExtensions,i=>i.map(n=>({...n,local:n.local?Ql(n.local,s):n.local,profileLocation:n.profileLocation?Wa(n.profileLocation,s):n.profileLocation})));case"onUninstallExtension":return F.map(this.onUninstallExtension,i=>({...i,profileLocation:i.profileLocation?Wa(i.profileLocation,s):i.profileLocation}));case"onDidUninstallExtension":return F.map(this.onDidUninstallExtension,i=>({...i,profileLocation:i.profileLocation?Wa(i.profileLocation,s):i.profileLocation}));case"onDidUpdateExtensionMetadata":return F.map(this.onDidUpdateExtensionMetadata,i=>({local:Ql(i.local,s),profileLocation:Wa(i.profileLocation,s)}))}throw new Error("Invalid listen")}async call(e,t,s){const i=this.b(e);switch(t){case"zip":{const n=Gl(s[0],i),r=await this.a.zip(n);return Wa(r,i)}case"install":return this.a.install(Mi(s[0],i),Jl(s[1],i));case"installFromLocation":return this.a.installFromLocation(Mi(s[0],i),Mi(s[1],i));case"installExtensionsFromProfile":return this.a.installExtensionsFromProfile(s[0],Mi(s[1],i),Mi(s[2],i));case"getManifest":return this.a.getManifest(Mi(s[0],i));case"getTargetPlatform":return this.a.getTargetPlatform();case"installFromGallery":return this.a.installFromGallery(s[0],Jl(s[1],i));case"installGalleryExtensions":{const n=s[0];return this.a.installGalleryExtensions(n.map(({extension:r,options:o})=>({extension:r,options:Jl(o,i)??{}})))}case"uninstall":return this.a.uninstall(Gl(s[0],i),Jl(s[1],i));case"uninstallExtensions":{const n=s[0];return this.a.uninstallExtensions(n.map(({extension:r,options:o})=>({extension:Gl(r,i),options:Jl(o,i)})))}case"getInstalled":return(await this.a.getInstalled(s[0],Mi(s[1],i),s[2],s[3])).map(r=>Ql(r,i));case"toggleApplicationScope":{const n=await this.a.toggleApplicationScope(Gl(s[0],i),Mi(s[1],i));return Ql(n,i)}case"copyExtensions":return this.a.copyExtensions(Mi(s[0],i),Mi(s[1],i));case"updateMetadata":{const n=await this.a.updateMetadata(Gl(s[0],i),s[1],Mi(s[2],i));return Ql(n,i)}case"resetPinnedStateForAllUserExtensions":return this.a.resetPinnedStateForAllUserExtensions(s[0]);case"getExtensionsControlManifest":return this.a.getExtensionsControlManifest();case"download":return this.a.download(s[0],s[1],s[2]);case"cleanUp":return this.a.cleanUp()}throw new Error("Invalid call")}}}}),O2,xF=b({"out-build/vs/platform/request/common/requestIpc.js"(){"use strict";Ne(),Pt(),O2=class{constructor(e){this.a=e}listen(e,t){throw new Error("Invalid listen")}call(e,t,s,i=Te.None){switch(t){case"request":return this.a.request(s[0],i).then(async({res:n,stream:r})=>{const o=await Nn(r);return[{statusCode:n.statusCode,headers:n.headers},o]});case"resolveProxy":return this.a.resolveProxy(s[0]);case"lookupAuthorization":return this.a.lookupAuthorization(s[0]);case"lookupKerberosAuthorization":return this.a.lookupKerberosAuthorization(s[0]);case"loadCertificates":return this.a.loadCertificates()}throw new Error("Invalid call")}}}}),fv,M2,kF=b({"out-build/vs/platform/telemetry/common/errorTelemetry.js"(){"use strict";nt(),ce(),H(),Vt(),Be(),(function(e){function t(s,i){return s.callstacki.callstack?1:0}e.compare=t})(fv||(fv={})),M2=class hC{static{this.ERROR_FLUSH_TIMEOUT=5*1e3}constructor(t,s=hC.ERROR_FLUSH_TIMEOUT){this.f=void 0,this.g=[],this.h=new Qe,this.c=t,this.d=s;const i=Nc.addListener(n=>this.j(n));this.h.add(De(i)),this.i()}dispose(){clearTimeout(this.f),this.l(),this.h.dispose()}i(){}j(t){if(!t||t.code||(t.detail&&t.detail.stack&&(t=t.detail),En.isErrorNoTelemetry(t)||t instanceof qt||U4.is(t)||typeof t?.message=="string"&&t.message.includes("Unable to read file")))return;const s=Array.isArray(t.stack)?t.stack.join(` `):t.stack,i=t.message?t.message:hg(t);s&&this.k({msg:i,callstack:s})}k(t){const s=GC(this.g,t,fv.compare);s<0?(t.count=1,this.g.splice(~s,0,t)):(this.g[s].count||(this.g[s].count=0),this.g[s].count+=1),this.f===void 0&&(this.f=setTimeout(()=>{this.l(),this.f=void 0},this.d))}l(){for(const t of this.g)this.c.publicLogError2("UnhandledError",t);this.g.length=0}}}}),_2,SF=b({"out-build/vs/platform/telemetry/node/errorTelemetry.js"(){"use strict";ce(),kF(),_2=class extends M2{i(){L4(t=>console.error(t));const e=[];process.on("unhandledRejection",(t,s)=>{e.push(s),setTimeout(()=>{const i=e.indexOf(s);i>=0&&s.catch(n=>{e.splice(i,1),yn(n)||(console.warn(`rejected promise not handled within 1 second: ${n}`),n.stack&&console.warn(`stack trace: ${n.stack}`),t&&wt(t))})},1e3)}),process.on("rejectionHandled",t=>{const s=e.indexOf(t);s>=0&&e.splice(s,1)}),process.on("uncaughtException",t=>{O4(t)||wt(t)})}}}}),j2,U2,T2,F2,H2,z2,Zl,V2,B2,Es,q2,W2,G2,J2,Q2,Z2,X2,Y2,K2,ek,$F,tk,dv=b({"out-build/vs/platform/terminal/common/terminal.js"(){"use strict";te(),Qi(),(function(e){e.AutomationProfile="terminal.integrated.automationProfile.",e.DefaultProfile="terminal.integrated.defaultProfile.",e.Profiles="terminal.integrated.profiles."})(j2||(j2={})),(function(e){e.SendKeybindingsToShell="terminal.integrated.sendKeybindingsToShell",e.AutomationProfileLinux="terminal.integrated.automationProfile.linux",e.AutomationProfileMacOs="terminal.integrated.automationProfile.osx",e.AutomationProfileWindows="terminal.integrated.automationProfile.windows",e.ProfilesWindows="terminal.integrated.profiles.windows",e.ProfilesMacOs="terminal.integrated.profiles.osx",e.ProfilesLinux="terminal.integrated.profiles.linux",e.DefaultProfileLinux="terminal.integrated.defaultProfile.linux",e.DefaultProfileMacOs="terminal.integrated.defaultProfile.osx",e.DefaultProfileWindows="terminal.integrated.defaultProfile.windows",e.UseWslProfiles="terminal.integrated.useWslProfiles",e.TabsDefaultColor="terminal.integrated.tabs.defaultColor",e.TabsDefaultIcon="terminal.integrated.tabs.defaultIcon",e.TabsEnabled="terminal.integrated.tabs.enabled",e.TabsEnableAnimation="terminal.integrated.tabs.enableAnimation",e.TabsHideCondition="terminal.integrated.tabs.hideCondition",e.TabsShowActiveTerminal="terminal.integrated.tabs.showActiveTerminal",e.TabsShowActions="terminal.integrated.tabs.showActions",e.TabsLocation="terminal.integrated.tabs.location",e.TabsFocusMode="terminal.integrated.tabs.focusMode",e.MacOptionIsMeta="terminal.integrated.macOptionIsMeta",e.MacOptionClickForcesSelection="terminal.integrated.macOptionClickForcesSelection",e.AltClickMovesCursor="terminal.integrated.altClickMovesCursor",e.CopyOnSelection="terminal.integrated.copyOnSelection",e.EnableMultiLinePasteWarning="terminal.integrated.enableMultiLinePasteWarning",e.DrawBoldTextInBrightColors="terminal.integrated.drawBoldTextInBrightColors",e.FontFamily="terminal.integrated.fontFamily",e.FontSize="terminal.integrated.fontSize",e.LetterSpacing="terminal.integrated.letterSpacing",e.LineHeight="terminal.integrated.lineHeight",e.MinimumContrastRatio="terminal.integrated.minimumContrastRatio",e.TabStopWidth="terminal.integrated.tabStopWidth",e.FastScrollSensitivity="terminal.integrated.fastScrollSensitivity",e.MouseWheelScrollSensitivity="terminal.integrated.mouseWheelScrollSensitivity",e.BellDuration="terminal.integrated.bellDuration",e.FontWeight="terminal.integrated.fontWeight",e.FontWeightBold="terminal.integrated.fontWeightBold",e.CursorBlinking="terminal.integrated.cursorBlinking",e.CursorStyle="terminal.integrated.cursorStyle",e.CursorStyleInactive="terminal.integrated.cursorStyleInactive",e.CursorWidth="terminal.integrated.cursorWidth",e.Scrollback="terminal.integrated.scrollback",e.DetectLocale="terminal.integrated.detectLocale",e.DefaultLocation="terminal.integrated.defaultLocation",e.GpuAcceleration="terminal.integrated.gpuAcceleration",e.TerminalTitleSeparator="terminal.integrated.tabs.separator",e.TerminalTitle="terminal.integrated.tabs.title",e.TerminalDescription="terminal.integrated.tabs.description",e.RightClickBehavior="terminal.integrated.rightClickBehavior",e.MiddleClickBehavior="terminal.integrated.middleClickBehavior",e.Cwd="terminal.integrated.cwd",e.ConfirmOnExit="terminal.integrated.confirmOnExit",e.ConfirmOnKill="terminal.integrated.confirmOnKill",e.EnableBell="terminal.integrated.enableBell",e.EnableVisualBell="terminal.integrated.enableVisualBell",e.CommandsToSkipShell="terminal.integrated.commandsToSkipShell",e.AllowChords="terminal.integrated.allowChords",e.AllowMnemonics="terminal.integrated.allowMnemonics",e.TabFocusMode="terminal.integrated.tabFocusMode",e.EnvMacOs="terminal.integrated.env.osx",e.EnvLinux="terminal.integrated.env.linux",e.EnvWindows="terminal.integrated.env.windows",e.EnvironmentChangesRelaunch="terminal.integrated.environmentChangesRelaunch",e.ShowExitAlert="terminal.integrated.showExitAlert",e.SplitCwd="terminal.integrated.splitCwd",e.WindowsUseConptyDll="terminal.integrated.windowsUseConptyDll",e.WordSeparators="terminal.integrated.wordSeparators",e.EnableFileLinks="terminal.integrated.enableFileLinks",e.AllowedLinkSchemes="terminal.integrated.allowedLinkSchemes",e.UnicodeVersion="terminal.integrated.unicodeVersion",e.EnablePersistentSessions="terminal.integrated.enablePersistentSessions",e.PersistentSessionReviveProcess="terminal.integrated.persistentSessionReviveProcess",e.HideOnStartup="terminal.integrated.hideOnStartup",e.HideOnLastClosed="terminal.integrated.hideOnLastClosed",e.CustomGlyphs="terminal.integrated.customGlyphs",e.RescaleOverlappingGlyphs="terminal.integrated.rescaleOverlappingGlyphs",e.PersistentSessionScrollback="terminal.integrated.persistentSessionScrollback",e.InheritEnv="terminal.integrated.inheritEnv",e.ShowLinkHover="terminal.integrated.showLinkHover",e.IgnoreProcessNames="terminal.integrated.ignoreProcessNames",e.ShellIntegrationEnabled="terminal.integrated.shellIntegration.enabled",e.ShellIntegrationShowWelcome="terminal.integrated.shellIntegration.showWelcome",e.ShellIntegrationDecorationsEnabled="terminal.integrated.shellIntegration.decorationsEnabled",e.ShellIntegrationTimeout="terminal.integrated.shellIntegration.timeout",e.ShellIntegrationQuickFixEnabled="terminal.integrated.shellIntegration.quickFixEnabled",e.ShellIntegrationEnvironmentReporting="terminal.integrated.shellIntegration.environmentReporting",e.EnableImages="terminal.integrated.enableImages",e.SmoothScrolling="terminal.integrated.smoothScrolling",e.IgnoreBracketedPasteMode="terminal.integrated.ignoreBracketedPasteMode",e.FocusAfterRun="terminal.integrated.focusAfterRun",e.FontLigaturesEnabled="terminal.integrated.fontLigatures.enabled",e.FontLigaturesFeatureSettings="terminal.integrated.fontLigatures.featureSettings",e.FontLigaturesFallbackLigatures="terminal.integrated.fontLigatures.fallbackLigatures",e.EnableKittyKeyboardProtocol="terminal.integrated.enableKittyKeyboardProtocol",e.EnableWin32InputMode="terminal.integrated.enableWin32InputMode",e.AllowInUntrustedWorkspace="terminal.integrated.allowInUntrustedWorkspace",e.DeveloperPtyHostLatency="terminal.integrated.developer.ptyHost.latency",e.DeveloperPtyHostStartupDelay="terminal.integrated.developer.ptyHost.startupDelay",e.DevMode="terminal.integrated.developer.devMode"})(U2||(U2={})),(function(e){e.Bash="bash",e.Fish="fish",e.Sh="sh",e.Csh="csh",e.Ksh="ksh",e.Zsh="zsh"})(T2||(T2={})),(function(e){e.CommandPrompt="cmd",e.Wsl="wsl",e.GitBash="gitbash"})(F2||(F2={})),(function(e){e.PowerShell="pwsh",e.Python="python",e.Julia="julia",e.NuShell="nu",e.Node="node",e.Xonsh="xonsh"})(H2||(H2={})),(function(e){e[e.Api=0]="Api",e[e.Process=1]="Process",e[e.Sequence=2]="Sequence",e[e.Config=3]="Config"})(z2||(z2={})),(function(e){e.LocalPty="localPty",e.PtyHost="ptyHost",e.PtyHostWindow="ptyHostWindow",e.Logger="logger",e.Heartbeat="heartbeat"})(Zl||(Zl={})),(function(e){e.Cwd="cwd",e.InitialCwd="initialCwd",e.FixedDimensions="fixedDimensions",e.Title="title",e.ShellType="shellType",e.HasChildProcesses="hasChildProcesses",e.ResolvedShellLaunchConfig="resolvedShellLaunchConfig",e.OverrideDimensions="overrideDimensions",e.FailedShellIntegrationActivation="failedShellIntegrationActivation",e.UsedShellIntegrationInjection="usedShellIntegrationInjection",e.ShellIntegrationInjectionFailureReason="shellIntegrationInjectionFailureReason"})(V2||(V2={})),B2=Z("ptyService"),(function(e){e[e.BeatInterval=5e3]="BeatInterval",e[e.ConnectingBeatInterval=2e4]="ConnectingBeatInterval",e[e.FirstWaitMultiplier=1.2]="FirstWaitMultiplier",e[e.SecondWaitMultiplier=1]="SecondWaitMultiplier",e[e.CreateProcessTimeout=5e3]="CreateProcessTimeout"})(Es||(Es={})),(function(e){e[e.Panel=1]="Panel",e[e.Editor=2]="Editor"})(q2||(q2={})),(function(e){e.TerminalView="view",e.Editor="editor"})(W2||(W2={})),(function(e){e[e.GraceTime=6e4]="GraceTime",e[e.ShortGraceTime=6e3]="ShortGraceTime"})(G2||(G2={})),(function(e){e[e.HighWatermarkChars=1e5]="HighWatermarkChars",e[e.LowWatermarkChars=5e3]="LowWatermarkChars",e[e.CharCountAckSize=5e3]="CharCountAckSize"})(J2||(J2={})),(function(e){e.GitBash="Git Bash",e.Pwsh="PowerShell"})(Q2||(Q2={})),(function(e){e[e.Off=0]="Off",e[e.FinalTerm=1]="FinalTerm",e[e.VSCode=2]="VSCode"})(Z2||(Z2={})),(function(e){e.InjectionSettingDisabled="injectionSettingDisabled",e.NoExecutable="noExecutable",e.FeatureTerminal="featureTerminal",e.IgnoreShellIntegrationFlag="ignoreShellIntegrationFlag",e.UnsupportedWindowsBuild="unsupportedWindowsBuild",e.UnsupportedArgs="unsupportedArgs",e.UnsupportedShell="unsupportedShell",e.FailedToSetStickyBit="failedToSetStickyBit",e.FailedToCreateTmpDir="failedToCreateTmpDir"})(X2||(X2={})),(function(e){e[e.Unknown=0]="Unknown",e[e.Shutdown=1]="Shutdown",e[e.Process=2]="Process",e[e.User=3]="User",e[e.Extension=4]="Extension"})(Y2||(Y2={})),K2={Backend:"workbench.contributions.terminal.processBackend"},ek=class{constructor(){this.a=new Map}get backends(){return this.a}registerTerminalBackend(e){const t=this.b(e.remoteAuthority);if(this.a.has(t))throw new Error(`A terminal backend with remote authority '${t}' was already registered.`);this.a.set(t,e)}getTerminalBackend(e){return this.a.get(this.b(e))}b(e){return e?.toLowerCase()??""}},as.add(K2.Backend,new ek),$F=Z("localPtyService"),tk=Z("terminalLogService")}}),sk,ik,nk=b({"out-build/vs/platform/log/common/logIpc.js"(){"use strict";Q(),oe(),Pe(),H(),sk=class{constructor(e,t){this.a=e,this.b=t}listen(e,t){const s=this.b(e);switch(t){case"onDidChangeLoggers":return F.map(this.a.onDidChangeLoggers,i=>({added:[...i.added].map(n=>this.c(n,s)),removed:[...i.removed].map(n=>this.c(n,s))}));case"onDidChangeVisibility":return F.map(this.a.onDidChangeVisibility,i=>[s.transformOutgoingURI(i[0]),i[1]]);case"onDidChangeLogLevel":return F.map(this.a.onDidChangeLogLevel,i=>e9(i)?i:[s.transformOutgoingURI(i[0]),i[1]])}throw new Error(`Event not found: ${t}`)}async call(e,t,s){const i=this.b(e);switch(t){case"setLogLevel":return e9(s[0])?this.a.setLogLevel(s[0]):this.a.setLogLevel(y.revive(i.transformIncoming(s[0][0])),s[0][1]);case"getRegisteredLoggers":return Promise.resolve([...this.a.getRegisteredLoggers()].map(n=>this.c(n,i)))}throw new Error(`Call not found: ${t}`)}c(e,t){return{...e,resource:t.transformOutgoingURI(e.resource)}}},ik=class extends B{constructor(e,t){super(),t.call("setLogLevel",[e.getLogLevel()]),this.D(e.onDidChangeLogLevel(s=>t.call("setLogLevel",[s]))),t.call("getRegisteredLoggers").then(s=>{for(const i of s)e.registerLogger({...i,resource:y.revive(i.resource)})}),this.D(t.listen("onDidChangeVisibility")(([s,i])=>e.setVisibility(y.revive(s),i))),this.D(t.listen("onDidChangeLoggers")(({added:s,removed:i})=>{for(const n of s)e.registerLogger({...n,resource:y.revive(n.resource)});for(const n of i)e.deregisterLogger(n.resource)}))}}}}),hd,IF=b({"out-build/vs/platform/terminal/common/requestStore.js"(){"use strict";Le(),Pt(),oe(),H(),Pe(),hd=class extends B{constructor(t,s){super(),this.h=s,this.a=0,this.c=new Map,this.f=new Map,this.g=this.D(new D),this.onCreateRequest=this.g.event,this.b=t===void 0?15e3:t,this.D(De(()=>{for(const i of this.f.values())Ht(i)}))}createRequest(t){return new Promise((s,i)=>{const n=++this.a;this.c.set(n,s),this.g.fire({requestId:n,...t});const r=new Si;Jr(this.b,r.token).then(()=>i(`Request ${n} timed out (${this.b}ms)`)),this.f.set(n,[De(()=>r.cancel())])})}acceptReply(t,s){const i=this.c.get(t);i?(this.c.delete(t),Ht(this.f.get(t)||[]),this.f.delete(t),i(s)):this.h.warn(`RequestStore#acceptReply was called without receiving a matching request ${t}`)}},hd=__decorate([__param(1,he)],hd)}});function PF(e,t){const s=[{name:null,description:m(2376,null)}];return s.push(...e.map(i=>({name:i.profileName,description:AF(i)}))),t&&s.push(...t.map(i=>({name:i.title,description:DF(i)}))),{values:s.map(i=>i.name),markdownDescriptions:s.map(i=>i.description)}}function AF(e){let t=`$(${tn.isThemeIcon(e.icon)?e.icon.id:e.icon?e.icon:M.terminal.id}) ${e.profileName} - path: ${e.path}`;return e.args&&(ee(e.args)?t+=` - args: "${e.args}"`:t+=` - args: [${e.args.length===0?"":`'${e.args.join("','")}'`}]`),e.overrideName!==void 0&&(t+=` - overrideName: ${e.overrideName}`),e.color&&(t+=` - color: ${e.color}`),e.env&&(t+=` - env: ${JSON.stringify(e.env)}`),t}function DF(e){return`$(${tn.isThemeIcon(e.icon)?e.icon.id:e.icon?e.icon:M.terminal.id}) ${e.title} - extensionIdentifier: ${e.extensionIdentifier}`}var RF=b({"out-build/vs/platform/terminal/common/terminalProfiles.js"(){"use strict";Da(),Q(),ae(),Af(),be()}});function pv(e){const t=e===2?"linux":e===1?"osx":"windows";return m(2352,null,o4(e),'```json\n"terminal.integrated.profile.'+t+'": {\n "bash": null\n}\n```',"[","](https://code.visualstudio.com/docs/terminal/profiles)")}function NF(){as.as(ni.Configuration).registerConfiguration(ak),CF()}function CF(e,t){const s=as.as(ni.Configuration);let i;e&&(i=PF(e?.profiles,t));const n=mv;mv={id:"terminal",order:100,title:m(2372,null),type:"object",properties:{"terminal.integrated.defaultProfile.linux":{restricted:!0,markdownDescription:m(2373,null),type:["string","null"],default:null,enum:e?.os===3?i?.values:void 0,markdownEnumDescriptions:e?.os===3?i?.markdownDescriptions:void 0},"terminal.integrated.defaultProfile.osx":{restricted:!0,markdownDescription:m(2374,null),type:["string","null"],default:null,enum:e?.os===2?i?.values:void 0,markdownEnumDescriptions:e?.os===2?i?.markdownDescriptions:void 0},"terminal.integrated.defaultProfile.windows":{restricted:!0,markdownDescription:m(2375,null),type:["string","null"],default:null,enum:e?.os===1?i?.values:void 0,markdownEnumDescriptions:e?.os===1?i?.markdownDescriptions:void 0}}},s.updateConfigurations({add:[mv],remove:n?[n]:[]})}var rk,ok,bo,fd,dd,ak,mv,LF=b({"out-build/vs/platform/terminal/common/terminalPlatformConfiguration.js"(){"use strict";Da(),se(),ae(),to(),Qi(),RF(),rk={type:["string","null"],enum:["terminal.ansiBlack","terminal.ansiRed","terminal.ansiGreen","terminal.ansiYellow","terminal.ansiBlue","terminal.ansiMagenta","terminal.ansiCyan","terminal.ansiWhite"],default:null},ok={type:"string",enum:Array.from(pE(),e=>e.id),markdownEnumDescriptions:Array.from(pE(),e=>`$(${e.id})`)},bo={args:{description:m(2345,null),type:"array",items:{type:"string"}},icon:{description:m(2346,null),...ok},color:{description:m(2347,null),...rk},env:{markdownDescription:m(2348,null),type:"object",additionalProperties:{type:["string","null"]},default:{}}},fd={type:"object",required:["path"],properties:{path:{description:m(2349,null),type:["string","array"],items:{type:"string"}},overrideName:{description:m(2350,null),type:"boolean"},...bo}},dd={type:"object",required:["path"],properties:{path:{description:m(2351,null),type:["string"],items:{type:"string"}},...bo}},ak={id:"terminal",order:100,title:m(2353,null),type:"object",properties:{"terminal.integrated.automationProfile.linux":{restricted:!0,markdownDescription:m(2354,null),type:["object","null"],default:null,anyOf:[{type:"null"},dd],defaultSnippets:[{body:{path:"${1}",icon:"${2}"}}]},"terminal.integrated.automationProfile.osx":{restricted:!0,markdownDescription:m(2355,null),type:["object","null"],default:null,anyOf:[{type:"null"},dd],defaultSnippets:[{body:{path:"${1}",icon:"${2}"}}]},"terminal.integrated.automationProfile.windows":{restricted:!0,markdownDescription:m(2356,null,"`terminal.integrated.automationShell.windows`"),type:["object","null"],default:null,anyOf:[{type:"null"},dd],defaultSnippets:[{body:{path:"${1}",icon:"${2}"}}]},"terminal.integrated.profiles.windows":{restricted:!0,markdownDescription:pv(3),type:"object",default:{PowerShell:{source:"PowerShell",icon:M.terminalPowershell.id},"Command Prompt":{path:["${env:windir}\\Sysnative\\cmd.exe","${env:windir}\\System32\\cmd.exe"],args:[],icon:M.terminalCmd.id},"Git Bash":{source:"Git Bash",icon:M.terminalGitBash.id}},additionalProperties:{anyOf:[{type:"object",required:["source"],properties:{source:{description:m(2357,null),enum:["PowerShell","Git Bash"]},...bo}},{type:"object",required:["extensionIdentifier","id","title"],properties:{extensionIdentifier:{description:m(2358,null),type:"string"},id:{description:m(2359,null),type:"string"},title:{description:m(2360,null),type:"string"},...bo}},{type:"null"},fd]}},"terminal.integrated.profiles.osx":{restricted:!0,markdownDescription:pv(1),type:"object",default:{bash:{path:"bash",args:["-l"],icon:M.terminalBash.id},zsh:{path:"zsh",args:["-l"]},fish:{path:"fish",args:["-l"]},tmux:{path:"tmux",icon:M.terminalTmux.id},pwsh:{path:"pwsh",icon:M.terminalPowershell.id}},additionalProperties:{anyOf:[{type:"object",required:["extensionIdentifier","id","title"],properties:{extensionIdentifier:{description:m(2361,null),type:"string"},id:{description:m(2362,null),type:"string"},title:{description:m(2363,null),type:"string"},...bo}},{type:"null"},fd]}},"terminal.integrated.profiles.linux":{restricted:!0,markdownDescription:pv(2),type:"object",default:{bash:{path:"bash",icon:M.terminalBash.id},zsh:{path:"zsh"},fish:{path:"fish"},tmux:{path:"tmux",icon:M.terminalTmux.id},pwsh:{path:"pwsh",icon:M.terminalPowershell.id}},additionalProperties:{anyOf:[{type:"object",required:["extensionIdentifier","id","title"],properties:{extensionIdentifier:{description:m(2364,null),type:"string"},id:{description:m(2365,null),type:"string"},title:{description:m(2366,null),type:"string"},...bo}},{type:"null"},fd]}},"terminal.integrated.useWslProfiles":{description:m(2367,null),type:"boolean",default:!0},"terminal.integrated.inheritEnv":{scope:1,description:m(2368,null),type:"boolean",default:!0},"terminal.integrated.persistentSessionScrollback":{scope:1,markdownDescription:m(2369,null),type:"number",default:100},"terminal.integrated.showLinkHover":{scope:1,description:m(2370,null),type:"boolean",default:!0},"terminal.integrated.ignoreProcessNames":{markdownDescription:m(2371,null,"`#terminal.integrated.confirmOnKill#`"),type:"array",items:{type:"string",uniqueItems:!0},default:["starship","oh-my-posh","bash","zsh"]}}}}}),Tn,ck=b({"out-build/vs/platform/terminal/common/environmentVariable.js"(){"use strict";(function(e){e[e.Replace=1]="Replace",e[e.Append=2]="Append",e[e.Prepend=3]="Prepend"})(Tn||(Tn={}))}});function OF(e){return[...e.entries()]}function MF(e){return e?[...e.entries()]:[]}function _F(e){return new Map(e)}function jF(e){return new Map(e??[])}var gv=b({"out-build/vs/platform/terminal/common/environmentVariableShared.js"(){"use strict"}});function lk(e,t,s=!1){return e.scope?!!(e.scope.workspaceFolder&&t?.workspaceFolder&&e.scope.workspaceFolder.index===t.workspaceFolder.index):s?t===e.scope:!0}function uk(e,t){if(!t)return e;const s=new Set;t.forEach(n=>s.add(n.extensionIdentifier));const i=[];return e.forEach(n=>{s.has(n.extensionIdentifier)||i.push(n)}),i.length===0?void 0:i}function UF(e,t){if(!t)return;const s=new Map;t.forEach(n=>s.set(n.extensionIdentifier,n));const i=[];return e.forEach(n=>{const r=s.get(n.extensionIdentifier);r&&(n.type!==r.type||n.value!==r.value||n.scope?.workspaceFolder?.index!==r.scope?.workspaceFolder?.index)&&i.push(r)}),i.length===0?void 0:i}var hk,fk,dk,pk,mk=b({"out-build/vs/platform/terminal/common/environmentVariableCollection.js"(){"use strict";se(),ck(),hk=new Map([[Tn.Append,"APPEND"],[Tn.Prepend,"PREPEND"],[Tn.Replace,"REPLACE"]]),fk=/^VSCODE_PYTHON_(PWSH|ZSH|BASH|FISH)_ACTIVATE/,dk="ms-python.vscode-python-envs",pk=class{constructor(e){this.collections=e,this.a=new Map,this.b=new Map,e.forEach((t,s)=>{this.f(t,s);const i=t.map.entries();let n=i.next();for(;!n.done;){const r=n.value[1],o=n.value[0];if(this.d(o,s)){n=i.next();continue}let a=this.a.get(o);if(a||(a=[],this.a.set(o,a)),a.length>0&&a[0].type===Tn.Replace){n=i.next();continue}const c={extensionIdentifier:s,value:r.value,type:r.type,scope:r.scope,variable:r.variable,options:r.options};c.scope||delete c.scope,a.unshift(c),n=i.next()}})}async applyToProcessEnvironment(e,t,s){let i;ve&&(i={},Object.keys(e).forEach(n=>i[n.toLowerCase()]=n));for(const[n,r]of this.getVariableMap(t)){const o=ve&&i[n.toLowerCase()]||n;for(const a of r){const c=s?await s(a.value):a.value;if(!this.d(a.variable,a.extensionIdentifier)){if(a.options?.applyAtProcessCreation??!0)switch(a.type){case Tn.Append:e[o]=(e[o]||"")+c;break;case Tn.Prepend:e[o]=c+(e[o]||"");break;case Tn.Replace:e[o]=c;break}if(a.options?.applyAtShellIntegration??!1){const l=`VSCODE_ENV_${hk.get(a.type)}`;e[l]=(e[l]?e[l]+":":"")+n+"="+this.c(c)}}}}}c(e){return e.replaceAll(":","\\x3a")}d(e,t){return!!(fk.test(e)&&dk!==t)}diff(e,t){const s=new Map,i=new Map,n=new Map;if(e.getVariableMap(t).forEach((r,o)=>{const a=this.getVariableMap(t).get(o),c=uk(r,a);c&&s.set(o,c)}),this.getVariableMap(t).forEach((r,o)=>{const a=e.getVariableMap(t).get(o),c=uk(r,a);c&&n.set(o,c)}),this.getVariableMap(t).forEach((r,o)=>{const a=e.getVariableMap(t).get(o),c=UF(r,a);c&&i.set(o,c)}),!(s.size===0&&i.size===0&&n.size===0))return{added:s,changed:i,removed:n}}getVariableMap(e){const t=new Map;for(const s of this.a.values()){const i=s.filter(n=>lk(n,e));i.length>0&&t.set(i[0].variable,i)}return t}getDescriptionMap(e){const t=new Map;for(const s of this.b.values()){const i=s.filter(n=>lk(n,e,!0));for(const n of i)t.set(n.extensionIdentifier,n.description)}return t}f(e,t){if(!e.descriptionMap)return;const s=e.descriptionMap.entries();let i=s.next();for(;!i.done;){const n=i.value[1],r=i.value[0];let o=this.b.get(r);o||(o=[],this.b.set(r,o));const a={extensionIdentifier:t,scope:n.scope,description:n.description};a.scope||delete a.scope,o.push(a),i=s.next()}}}}});import*as TF from"os";import"fs";import"util";function FF(){const e=/(\d+)\.(\d+)\.(\d+)/g.exec(TF.release());let t=0;return e&&e.length===4&&(t=parseInt(e[3])),t}var _i,nn,HF=b({"out-build/vs/platform/terminal/node/terminalEnvironment.js"(){"use strict";ye(),ge(),se(),Ks(),ht(),ck(),gv(),mk(),be(),(function(e){e.WindowsPwsh="windows-pwsh",e.WindowsPwshLogin="windows-pwsh-login",e.Pwsh="pwsh",e.PwshLogin="pwsh-login",e.Zsh="zsh",e.ZshLogin="zsh-login",e.Bash="bash",e.Fish="fish",e.FishLogin="fish-login"})(_i||(_i={})),nn=new Map,nn.set(_i.WindowsPwsh,["-noexit","-command",'try { . "{0}\\out\\vs\\workbench\\contrib\\terminal\\common\\scripts\\shellIntegration.ps1" } catch {}{1}']),nn.set(_i.WindowsPwshLogin,["-l","-noexit","-command",'try { . "{0}\\out\\vs\\workbench\\contrib\\terminal\\common\\scripts\\shellIntegration.ps1" } catch {}{1}']),nn.set(_i.Pwsh,["-noexit","-command",'. "{0}/out/vs/workbench/contrib/terminal/common/scripts/shellIntegration.ps1"{1}']),nn.set(_i.PwshLogin,["-l","-noexit","-command",'. "{0}/out/vs/workbench/contrib/terminal/common/scripts/shellIntegration.ps1"']),nn.set(_i.Zsh,["-i"]),nn.set(_i.ZshLogin,["-il"]),nn.set(_i.Bash,["--init-file","{0}/out/vs/workbench/contrib/terminal/common/scripts/shellIntegration-bash.sh"]),nn.set(_i.Fish,["--init-command",'source "{0}/out/vs/workbench/contrib/terminal/common/scripts/shellIntegration.fish"']),nn.set(_i.FishLogin,["-l","--init-command",'source "{0}/out/vs/workbench/contrib/terminal/common/scripts/shellIntegration.fish"'])}});import*as zF from"fs";import*as VF from"child_process";function BF(e,t,s,i,n=process.env,r,o,a,c){return r=r||{existsFile:ps.existsFile,readFile:zF.promises.readFile},ve?qF(s,r,n,o,i.getValue("terminal.integrated.useWslProfiles")!==!1,e&&tt(e)?{...e}:i.getValue("terminal.integrated.profiles.windows"),ee(t)?t:i.getValue("terminal.integrated.defaultProfile.windows"),c,a):YF(r,o,s,e&&tt(e)?{...e}:i.getValue(ut?"terminal.integrated.profiles.linux":"terminal.integrated.profiles.osx"),ee(t)?t:i.getValue(ut?"terminal.integrated.defaultProfile.linux":"terminal.integrated.defaultProfile.osx"),c,a,n)}async function qF(e,t,s,i,n,r,o,a,c){const l=process.env.hasOwnProperty("PROCESSOR_ARCHITEW6432"),u=`${process.env.windir}\\${l?"Sysnative":"System32"}`,h=FF()>=19041;await GF(a);const d=new Map;if(e){d.set("PowerShell",{source:"PowerShell",icon:M.terminalPowershell,isAutoDetected:!0}),d.set("Windows PowerShell",{path:`${u}\\WindowsPowerShell\\v1.0\\powershell.exe`,icon:M.terminalPowershell,isAutoDetected:!0}),d.set("Git Bash",{source:"Git Bash",icon:M.terminalGitBash,isAutoDetected:!0}),d.set("Command Prompt",{path:`${u}\\cmd.exe`,icon:M.terminalCmd,isAutoDetected:!0}),d.set("Cygwin",{path:[{path:`${process.env.HOMEDRIVE}\\cygwin64\\bin\\bash.exe`,isUnsafe:!0},{path:`${process.env.HOMEDRIVE}\\cygwin\\bin\\bash.exe`,isUnsafe:!0}],args:["--login"],isAutoDetected:!0}),d.set("bash (MSYS2)",{path:[{path:`${process.env.HOMEDRIVE}\\msys64\\usr\\bin\\bash.exe`,isUnsafe:!0}],args:["--login","-i"],env:{CHERE_INVOKING:"1"},icon:M.terminalBash,isAutoDetected:!0});const g=`${process.env.CMDER_ROOT||`${process.env.HOMEDRIVE}\\cmder`}\\vendor\\bin\\vscode_init.cmd`;d.set("Cmder",{path:`${u}\\cmd.exe`,args:["/K",g],requiresPath:process.env.CMDER_ROOT?g:{path:g,isUnsafe:!0},isAutoDetected:!0})}bk(r,d);const p=await gk(d.entries(),o,t,s,i,c);if(e&&n&&h)try{const g=await ZF(`${u}\\wsl.exe`,o);for(const v of g)(!r||!Object.prototype.hasOwnProperty.call(r,v.profileName))&&p.push(v)}catch{vv&&(i?.trace("WSL is not installed, so could not detect WSL profiles"),vv=!1)}return p}async function gk(e,t,s,i=process.env,n,r){const o=[];for(const[a,c]of e)o.push(WF(a,c,t,s,i,n,r));return(await Promise.all(o)).filter(a=>!!a)}async function WF(e,t,s,i,n=process.env,r,o){if(t===null)return;let a,c,l;if(g1(t,{source:!0})){const p=Xl?.get(t.source);if(!p)return;a=p.paths,c=t.args||p.args,t.icon?l=vk(t.icon):p.icon&&(l=p.icon)}else a=Array.isArray(t.path)?t.path:[t.path],c=ve||Array.isArray(t.args)?t.args:void 0,l=vk(t.icon);let u;if(o){const p=a.map(v=>ee(v)?v:v.path),g=await o(p);u=new Array(a.length);for(let v=0;v{VF.exec("wsl.exe -l -q",{encoding:"utf16le",env:{...process.env,WSL_UTF8:"0"},timeout:1e3},(a,c)=>{if(a)return o("Problem occurred when getting wsl distros");r(c)})});if(!i)return[];const n=i.split(/\r?\n/).filter(r=>r.trim().length>0);for(const r of n){if(r===""||r.startsWith("docker-desktop"))continue;const o=`${r} (WSL)`,a={profileName:o,path:e,args:["-d",`${r}`],isDefault:o===t,icon:XF(r),isAutoDetected:!1};s.push(a)}return s}function XF(e){return e.includes("Ubuntu")?M.terminalUbuntu:e.includes("Debian")?M.terminalDebian:M.terminalLinux}async function YF(e,t,s,i,n,r,o,a){const c=new Map;if(s&&await e.existsFile("/etc/shells")){const l=(await e.readFile("/etc/shells")).toString(),u=(r||l.split(` `)).map(d=>{const p=d.indexOf("#");return p===-1?d:d.substring(0,p)}).filter(d=>d.trim().length>0),h=new Map;for(const d of u){let p=dt(d),g=h.get(p)||0;g++,g>1&&(p=`${p} (${g})`),h.set(p,g),c.set(p,{path:d,isAutoDetected:!0})}}return bk(i,c),await gk(c.entries(),n,e,a,t,o)}function bk(e,t){if(e)for(const[s,i]of Object.entries(e))i===null||!tt(i)||!g1(i,{path:!0})&&!g1(i,{source:!0})?t.delete(s):(i.icon=i.icon||t.get(s)?.icon,t.set(s,i))}async function pd(e,t,s,i,n,r,o,a,c,l){if(s.length===0)return Promise.resolve(void 0);const u=s.shift();if(u==="")return pd(e,t,s,i,n,r,o,a,c);const h=!ee(u)&&u.isUnsafe,d=ee(u)?u:u.path,p={profileName:e,path:d,args:r,env:o,overrideName:a,isAutoDetected:c,isDefault:e===t,isUnsafePath:h,requiresUnsafePath:l};if(dt(d)===d){const v=n.PATH?n.PATH.split(Dc):void 0,w=await Y9(d,void 0,v,void 0,i.existsFile);return w?(p.path=w,p.isFromPath=!0,p):pd(e,t,s,i,n,r)}return await i.existsFile(ei(d))?p:pd(e,t,s,i,n,r,o,a,c)}var wk,Xl,vv,KF=b({"out-build/vs/platform/terminal/node/terminalProfiles.js"(){"use strict";Da(),ge(),se(),$g(),be(),ms(),G9(),HF(),(function(e){e.UnixShellsPath="/etc/shells"})(wk||(wk={})),vv=!0}}),bv,md,eH=b({"out-build/vs/platform/terminal/node/ptyHostService.js"(){"use strict";oe(),H(),se(),Ua(),Yt(),Pe(),nk(),Pg(),IF(),dv(),LF(),KF(),e7(),Jo(),(function(e){e[e.MaxRestarts=5]="MaxRestarts"})(bv||(bv={})),md=class extends B{get c(){return this.h(),this.a}get f(){return this.h(),this.b}get g(){return this.b}h(){this.a||this.U()}constructor(t,s,i,n){super(),this.M=t,this.N=s,this.O=i,this.P=n,this.m=!1,this.n=0,this.q=!0,this.t=this.D(new D),this.onPtyHostExit=this.t.event,this.u=this.D(new D),this.onPtyHostStart=this.u.event,this.w=this.D(new D),this.onPtyHostUnresponsive=this.w.event,this.y=this.D(new D),this.onPtyHostResponsive=this.y.event,this.z=this.D(new D),this.onPtyHostRequestResolveVariables=this.z.event,this.C=this.D(new D),this.onProcessData=this.C.event,this.F=this.D(new D),this.onProcessReady=this.F.event,this.G=this.D(new D),this.onProcessReplay=this.G.event,this.H=this.D(new D),this.onProcessOrphanQuestion=this.H.event,this.I=this.D(new D),this.onDidRequestDetach=this.I.event,this.J=this.D(new D),this.onDidChangeProperty=this.J.event,this.L=this.D(new D),this.onProcessExit=this.L.event,NF(),this.D(this.M),this.D(De(()=>this.W())),this.j=this.D(new hd(void 0,this.O)),this.D(this.j.onCreateRequest(this.z.fire,this.z)),this.M.onRequestConnection&&this.D(F.once(this.M.onRequestConnection)(()=>this.h())),this.M.onWillShutdown&&this.D(this.M.onWillShutdown(()=>this.m=!0))}get Q(){return this.N.getValue("terminal.integrated.ignoreProcessNames")}async R(){return this.g?.refreshIgnoreProcessNames?.(this.Q)}async S(){if(ve)return process.env;try{return await Ig(this.N,this.O,{_:[]},process.env)}catch(t){return this.O.error("ptyHost was unable to resolve shell environment",t),{}}}U(){const t=this.M.start(),s=t.client;this.O.getLevel()===G.Trace&&this.O.trace("PtyHostService#_startPtyHost",new Error().stack?.replace(/^Error/,"")),_l.toService(s.getChannel(Zl.Heartbeat)).onBeat(()=>this.X()),this.X(!0),this.D(t.onDidProcessExit(r=>{this.t.fire(r.code),!this.m&&!this.B.isDisposed&&(this.n<=bv.MaxRestarts?(this.O.error(`ptyHost terminated unexpectedly with code ${r.code}`),this.n++,this.restartPtyHost()):this.O.error(`ptyHost terminated unexpectedly with code ${r.code}, giving up`))}));const n=_l.toService(s.getChannel(Zl.PtyHost));return this.D(n.onProcessData(r=>this.C.fire(r))),this.D(n.onProcessReady(r=>this.F.fire(r))),this.D(n.onProcessExit(r=>this.L.fire(r))),this.D(n.onDidChangeProperty(r=>this.J.fire(r))),this.D(n.onProcessReplay(r=>this.G.fire(r))),this.D(n.onProcessOrphanQuestion(r=>this.H.fire(r))),this.D(n.onDidRequestDetach(r=>this.I.fire(r))),this.D(new ik(this.P,s.getChannel(Zl.Logger))),this.a=t,this.b=n,this.u.fire(),this.D(this.N.onDidChangeConfiguration(async r=>{r.affectsConfiguration("terminal.integrated.ignoreProcessNames")&&await this.R()})),this.R(),[t,n]}async createProcess(t,s,i,n,r,o,a,c,l,u,h){const d=setTimeout(()=>this.$(),Es.CreateProcessTimeout),p=await this.f.createProcess(t,s,i,n,r,o,a,c,l,u,h);return clearTimeout(d),p}updateTitle(t,s,i){return this.f.updateTitle(t,s,i)}updateIcon(t,s,i,n){return this.f.updateIcon(t,s,i,n)}attachToProcess(t){return this.f.attachToProcess(t)}detachFromProcess(t,s){return this.f.detachFromProcess(t,s)}shutdownAll(){return this.f.shutdownAll()}listProcesses(){return this.f.listProcesses()}async getPerformanceMarks(){return this.g?.getPerformanceMarks()??[]}async reduceConnectionGraceTime(){return this.g?.reduceConnectionGraceTime()}start(t){return this.f.start(t)}shutdown(t,s){return this.f.shutdown(t,s)}input(t,s){return this.f.input(t,s)}sendSignal(t,s){return this.f.sendSignal(t,s)}processBinary(t,s){return this.f.processBinary(t,s)}resize(t,s,i){return this.f.resize(t,s,i)}clearBuffer(t){return this.f.clearBuffer(t)}acknowledgeDataEvent(t,s){return this.f.acknowledgeDataEvent(t,s)}setUnicodeVersion(t,s){return this.f.setUnicodeVersion(t,s)}setNextCommandId(t,s,i){return this.f.setNextCommandId(t,s,i)}getInitialCwd(t){return this.f.getInitialCwd(t)}getCwd(t){return this.f.getCwd(t)}async getLatency(){const t=new $n,s=await this.f.getLatency();return t.stop(),[{label:"ptyhostservice<->ptyhost",latency:t.elapsed()},...s]}orphanQuestionReply(t){return this.f.orphanQuestionReply(t)}installAutoReply(t,s){return this.f.installAutoReply(t,s)}uninstallAllAutoReplies(){return this.f.uninstallAllAutoReplies()}getDefaultSystemShell(t){return this.g?.getDefaultSystemShell(t)??K9(t??Hr,process.env)}async getProfiles(t,s,i,n=!1){const r=await this.S();return BF(s,i,n,this.N,r,void 0,this.O,this.bb.bind(this,t))}async getEnvironment(){return this.b?this.f.getEnvironment():{...process.env}}getWslPath(t,s){return this.f.getWslPath(t,s)}getRevivedPtyNewId(t,s){return this.f.getRevivedPtyNewId(t,s)}setTerminalLayoutInfo(t){return this.f.setTerminalLayoutInfo(t)}async getTerminalLayoutInfo(t){return this.g?.getTerminalLayoutInfo(t)}async requestDetachInstance(t,s){return this.f.requestDetachInstance(t,s)}async acceptDetachInstanceReply(t,s){return this.f.acceptDetachInstanceReply(t,s)}async freePortKillProcess(t){if(!this.f.freePortKillProcess)throw new Error("freePortKillProcess does not exist on the pty proxy");return this.f.freePortKillProcess(t)}async serializeTerminalState(t){return this.f.serializeTerminalState(t)}async reviveTerminalProcesses(t,s,i){return this.f.reviveTerminalProcesses(t,s,i)}async refreshProperty(t,s){return this.f.refreshProperty(t,s)}async updateProperty(t,s,i){return this.f.updateProperty(t,s,i)}async restartPtyHost(){this.W(),this.q=!0,this.U()}W(){this.f.shutdownAll(),this.c.store.dispose()}X(t){this.ab(),this.r=setTimeout(()=>this.Y(),t?Es.ConnectingBeatInterval:Es.BeatInterval*Es.FirstWaitMultiplier),this.q||(this.q=!0,this.y.fire())}Y(){this.O.warn(`No ptyHost heartbeat after ${Es.BeatInterval*Es.FirstWaitMultiplier/1e3} seconds`),this.r=void 0,this.s=setTimeout(()=>this.Z(),Es.BeatInterval*Es.SecondWaitMultiplier)}Z(){this.O.error(`No ptyHost heartbeat after ${(Es.BeatInterval*Es.FirstWaitMultiplier+Es.BeatInterval*Es.FirstWaitMultiplier)/1e3} seconds`),this.s=void 0,this.q&&(this.q=!1,this.w.fire())}$(){this.ab(),this.O.error(`No ptyHost response to createProcess after ${Es.CreateProcessTimeout/1e3} seconds`),this.q&&(this.q=!1,this.w.fire())}ab(){this.r&&(clearTimeout(this.r),this.r=void 0),this.s&&(clearTimeout(this.s),this.s=void 0)}bb(t,s){return this.j.createRequest({workspaceId:t,originalText:s})}async acceptPtyHostResolvedVariables(t,s){this.j.acceptReply(t,s)}},md=__decorate([__param(1,Xt),__param(2,he),__param(3,ha)],md)}});function tH(e){return{transformIncoming:t=>t.scheme==="vscode-remote"?{scheme:"file",path:t.path,query:t.query,fragment:t.fragment}:t.scheme==="file"?{scheme:"vscode-local",path:t.path,query:t.query,fragment:t.fragment}:t,transformOutgoing:t=>t.scheme==="file"?{scheme:"vscode-remote",authority:e,path:t.path,query:t.query,fragment:t.fragment}:t.scheme==="vscode-local"?{scheme:"file",path:t.path,query:t.query,fragment:t.fragment}:t,transformOutgoingScheme:t=>t==="file"?"vscode-remote":t==="vscode-local"?"file":t}}function Yl(e){return new C2(tH(e))}var gd=b({"out-build/vs/base/common/uriTransformer.js"(){"use strict";vo()}});import{exec as vd}from"child_process";import{totalmem as sH}from"os";function wv(e){return new Promise((t,s)=>{let i;const n=new Map,r=sH();function o(l,u,h,d,p){const g=n.get(u);if(l===e||g){const v={name:a(h),cmd:h,pid:l,ppid:u,load:d,mem:ve?p:r*(p/100)};n.set(l,v),l===e&&(i=v),g&&(g.children||(g.children=[]),g.children.push(v),g.children.length>1&&(g.children=g.children.sort((w,k)=>w.pid-k.pid)))}}function a(l){const u=/--utility-sub-type=network/i,h=/--crashes-directory/i,d=/conhost\.exe.+--headless/i,p=/--type=([a-zA-Z-]+)/;if(h.exec(l))return"electron-crash-reporter";if(d.exec(l))return"conpty-agent";let g=p.exec(l);if(g&&g.length===2)return g[1]==="renderer"?"window":g[1]==="utility"?u.exec(l)?"utility-network-service":"utility-process":g[1]==="extensionHost"?"extension-host":g[1];if(l.indexOf("node ")<0&&l.indexOf("node.exe")<0){let v="";do g=Ek.exec(l),g&&(v+=g+" ");while(g);if(v)return`electron-nodejs (${v.trim()})`}return l}if(process.platform==="win32"){const l=u=>u.indexOf("\\\\?\\")===0||u.indexOf("\\??\\")===0?u.substring(4):u.indexOf('"\\\\?\\')===0||u.indexOf('"\\??\\')===0?'"'+u.substring(5):u;import("@vscode/windows-process-tree").then(u=>{u.getProcessList(e,h=>{if(!h){s(new Error(`Root process ${e} not found`));return}u.getProcessCpuUsage(h,d=>{const p=new Map;d.forEach(g=>{const v=l(g.commandLine||"");p.set(g.pid,{name:a(v),cmd:v,pid:g.pid,ppid:g.ppid,load:g.cpu||0,mem:g.memory||0})}),i=p.get(e),i?(p.forEach(g=>{const v=p.get(g.ppid);v&&(v.children||(v.children=[]),v.children.push(g))}),p.forEach(g=>{g.children&&(g.children=g.children.sort((v,w)=>v.pid-w.pid))}),t(i)):s(new Error(`Root process ${e} not found`))})},u.ProcessDataFlag.CommandLine|u.ProcessDataFlag.Memory)})}else{let l=function(){let u=[i];const h=[];for(;u.length;){const p=u.shift();p&&(h.push(p.pid),p.children&&(u=u.concat(p.children)))}let d=JSON.stringify(_t.asFileUri("vs/base/node/cpuUsage.sh").fsPath);d+=" "+h.join(" "),vd(d,{},(p,g,v)=>{if(p||v)s(p||new Error(v.toString()));else{const w=g.toString().split(` `);for(let k=0;k{if(u||d)if(process.platform!=="linux")s(u||new Error(d.toString()));else{const p=JSON.stringify(_t.asFileUri("vs/base/node/ps.sh").fsPath);vd(p,{},(g,v,w)=>{g||w?s(g||new Error(w.toString())):(yk(v,o),l())})}else{const p=h.toString().trim();vd(`${p} -ax -o pid=,ppid=,pcpu=,pmem=,command=`,{maxBuffer:1e3*1024,env:{LC_NUMERIC:"en_US.UTF-8"}},(v,w,k)=>{v||k&&!k.includes("screen size is bogus")?s(v||new Error(k.toString())):(yk(w,o),process.platform==="linux"?l():i?t(i):s(new Error(`Root process ${e} not found`)))})}})}})}function yk(e,t){const s=/^\s*([0-9]+)\s+([0-9]+)\s+([0-9]+\.[0-9]+)\s+([0-9]+\.[0-9]+)\s+(.+)$/,i=e.toString().split(` `);for(const n of i){const r=s.exec(n.trim());r&&r.length===6&&t(parseInt(r[1]),parseInt(r[2]),r[5],parseFloat(r[3]),parseFloat(r[4]))}}var Ek,xk=b({"out-build/vs/base/node/ps.js"(){"use strict";ye(),se(),Ek=/[a-zA-Z-]+\.js\b/g}});function kk(e){const t=e;return!!t?.hostName&&!!t?.errorMessage}var Sk,iH,nH=b({"out-build/vs/platform/diagnostics/common/diagnostics.js"(){"use strict";te(),Sk="diagnosticsService",iH=Z(Sk)}});import*as rH from"fs";import*as xs from"os";async function bd(e,t){const s=`${e}::${t.join(":")}`,i=Ev.get(s);if(i)return i;const n=[{tag:"grunt.js",filePattern:/^gruntfile\.js$/i},{tag:"gulp.js",filePattern:/^gulpfile\.js$/i},{tag:"tsconfig.json",filePattern:/^tsconfig\.json$/i},{tag:"package.json",filePattern:/^package\.json$/i},{tag:"jsconfig.json",filePattern:/^jsconfig\.json$/i},{tag:"tslint.json",filePattern:/^tslint\.json$/i},{tag:"eslint.json",filePattern:/^eslint\.json$/i},{tag:"tasks.json",filePattern:/^tasks\.json$/i},{tag:"launch.json",filePattern:/^launch\.json$/i},{tag:"mcp.json",filePattern:/^mcp\.json$/i},{tag:"settings.json",filePattern:/^settings\.json$/i},{tag:"webpack.config.js",filePattern:/^webpack\.config\.js$/i},{tag:"project.json",filePattern:/^project\.json$/i},{tag:"makefile",filePattern:/^makefile$/i},{tag:"sln",filePattern:/^.+\.sln$/i},{tag:"csproj",filePattern:/^.+\.csproj$/i},{tag:"cmake",filePattern:/^.+\.cmake$/i},{tag:"github-actions",filePattern:/^.+\.ya?ml$/i,relativePathPattern:/^\.github(?:\/|\\)workflows$/i},{tag:"devcontainer.json",filePattern:/^devcontainer\.json$/i},{tag:"dockerfile",filePattern:/^(dockerfile|docker\-compose\.ya?ml)$/i},{tag:"cursorrules",filePattern:/^\.cursorrules$/i},{tag:"cursorrules-dir",filePattern:/\.mdc$/i,relativePathPattern:/^\.cursor[\/\\]rules$/i},{tag:"github-instructions-dir",filePattern:/\.instructions\.md$/i,relativePathPattern:/^\.github[\/\\]instructions$/i},{tag:"github-prompts-dir",filePattern:/\.prompt\.md$/i,relativePathPattern:/^\.github[\/\\]prompts$/i},{tag:"clinerules",filePattern:/^\.clinerules$/i},{tag:"clinerules-dir",filePattern:/\.md$/i,relativePathPattern:/^\.clinerules$/i},{tag:"agent.md",filePattern:/^agent\.md$/i},{tag:"agents.md",filePattern:/^agents\.md$/i},{tag:"claude.md",filePattern:/^claude\.md$/i},{tag:"claude-settings",filePattern:/^settings\.json$/i,relativePathPattern:/^\.claude$/i},{tag:"claude-settings-local",filePattern:/^settings\.local\.json$/i,relativePathPattern:/^\.claude$/i},{tag:"claude-mcp",filePattern:/^mcp\.json$/i,relativePathPattern:/^\.claude$/i},{tag:"claude-commands-dir",filePattern:/\.md$/i,relativePathPattern:/^\.claude[\/\\]commands$/i},{tag:"claude-skills-dir",filePattern:/^SKILL\.md$/i,relativePathPattern:/^\.claude[\/\\]skills[\/\\]/i},{tag:"claude-rules-dir",filePattern:/\.md$/i,relativePathPattern:/^\.claude[\/\\]rules$/i},{tag:"gemini.md",filePattern:/^gemini\.md$/i},{tag:"copilot-instructions.md",filePattern:/^copilot\-instructions\.md$/i,relativePathPattern:/^\.github$/i}],r=new Map,o=new Map,a=2e4;function c(u,h,d,p){const g=h.substring(u.length+1);return rs.withAsyncBody(async v=>{let w;p.readdirCount++;try{w=await xe.readdir(h,{withFileTypes:!0})}catch{v();return}if(p.count>=a){p.count+=w.length,p.maxReached=!0,v();return}let k=w.length;if(k===0){v();return}let x=w;p.count+w.length>a&&(p.maxReached=!0,k=a-p.count,x=w.slice(0,k)),p.count+=w.length;for(const A of x)if(A.isDirectory()){if(d.includes(A.name)||await c(u,T(h,A.name),d,p),--k===0){v();return}}else{const _=A.name.lastIndexOf(".");if(_>=0){const z=A.name.substring(_+1);z&&r.set(z,(r.get(z)??0)+1)}for(const z of n)z.relativePathPattern?.test(g)!==!1&&z.filePattern.test(A.name)&&o.set(z.tag,(o.get(z.tag)??0)+1);if(--k===0){v();return}}})}const l=rs.withAsyncBody(async u=>{const h={count:0,maxReached:!1,readdirCount:0},d=new $n(!0);await c(e,e,t,h);const p=await oH(e);u({configFiles:yv(o),fileTypes:yv(r),fileCount:h.count,maxFilesReached:h.maxReached,launchConfigFiles:p,totalScanTime:d.elapsed(),totalReaddirCount:h.readdirCount})});return Ev.set(s,l),l}function yv(e){return Array.from(e.entries(),([t,s])=>({name:t,count:s})).sort((t,s)=>s.count-t.count)}function $k(){const e={os:`${xs.type()} ${xs.arch()} ${xs.release()}`,memory:`${(xs.totalmem()/ao.GB).toFixed(2)}GB (${(xs.freemem()/ao.GB).toFixed(2)}GB free)`,vmHint:`${Math.round(cv.value()*100)}%`},t=xs.cpus();return t&&t.length>0&&(e.cpus=`${t[0].model} (${t.length} x ${t[0].speed})`),e}async function oH(e){try{const t=new Map,s=T(e,".vscode","launch.json"),i=await rH.promises.readFile(s),n=[],r=ur(i.toString(),n);if(n.length)return console.log(`Unable to parse ${s}`),[];if(da(r)==="object"&&r.configurations)for(const o of r.configurations){const a=o.type;a&&(t.has(a)?t.set(a,t.get(a)+1):t.set(a,1))}return yv(t)}catch{return[]}}var Ev,xv,aH=b({"out-build/vs/platform/diagnostics/node/diagnosticsService.js"(){"use strict";Le(),hr(),ye(),ge(),se(),Jo(),Q(),P2(),ms(),xk(),nH(),Be(),es(),oi(),Ev=new Map,xv=class{constructor(t,s){this.c=t,this.d=s}f(t){const s=[];return s.push(`OS Version: ${t.os}`),s.push(`CPUs: ${t.cpus}`),s.push(`Memory (System): ${t.memory}`),s.push(`VM: ${t.vmHint}`),s.join(` `)}g(t){const s=[];s.push(`Version: ${this.d.nameShort} ${this.d.version} (${this.d.commit||"Commit unknown"}, ${this.d.date||"Date unknown"})`),s.push(`OS Version: ${xs.type()} ${xs.arch()} ${xs.release()}`);const i=xs.cpus();return i&&i.length>0&&s.push(`CPUs: ${i[0].model} (${i.length} x ${i[0].speed})`),s.push(`Memory (System): ${(xs.totalmem()/ao.GB).toFixed(2)}GB (${(xs.freemem()/ao.GB).toFixed(2)}GB free)`),ve||s.push(`Load (avg): ${xs.loadavg().map(n=>Math.round(n)).join(", ")}`),s.push(`VM: ${Math.round(cv.value()*100)}%`),s.push(`Screen Reader: ${t.screenReader?"yes":"no"}`),s.push(`Process Argv: ${t.mainArguments.join(" ")}`),s.push(`GPU Status: ${this.j(t.gpuFeatureStatus)}`),t.gpuLogMessages&&t.gpuLogMessages.length>0&&(s.push("GPU Log Messages:"),t.gpuLogMessages.forEach(n=>{s.push(`${n.header}: ${n.message}`)})),s.join(` `)}async getPerformanceInfo(t,s){return Promise.all([wv(t.mainPID),this.k(t)]).then(async i=>{let[n,r]=i,o=this.m(t,n);return s.forEach(a=>{if(kk(a))o+=` ${a.errorMessage}`,r+=` ${a.errorMessage}`;else if(o+=` Remote: ${a.hostName}`,a.processes&&(o+=` ${this.m(t,a.processes)}`),a.workspaceMetadata){r+=` | Remote: ${a.hostName}`;for(const c of Object.keys(a.workspaceMetadata)){const l=a.workspaceMetadata[c];let u=`${l.fileCount} files`;l.maxFilesReached&&(u=`more than ${u}`),r+=`| Folder (${c}): ${u}`,r+=this.h(l)}}}),{processInfo:o,workspaceInfo:r}})}async getSystemInfo(t,s){const{memory:i,vmHint:n,os:r,cpus:o}=$k(),a={os:r,memory:i,cpus:o,vmHint:n,processArgs:`${t.mainArguments.join(" ")}`,gpuStatus:t.gpuFeatureStatus,screenReader:`${t.screenReader?"yes":"no"}`,remoteData:s};return ve||(a.load=`${xs.loadavg().map(c=>Math.round(c)).join(", ")}`),ut&&(a.linuxEnv={desktopSession:process.env.DESKTOP_SESSION,xdgSessionDesktop:process.env.XDG_SESSION_DESKTOP,xdgCurrentDesktop:process.env.XDG_CURRENT_DESKTOP,xdgSessionType:process.env.XDG_SESSION_TYPE}),Promise.resolve(a)}async getDiagnostics(t,s){const i=[];return wv(t.mainPID).then(async n=>(i.push(""),i.push(this.g(t)),i.push(""),i.push(this.m(t,n)),t.windows.some(r=>r.folderURIs&&r.folderURIs.length>0&&!r.remoteAuthority)&&(i.push(""),i.push("Workspace Stats: "),i.push(await this.k(t))),s.forEach(r=>{if(kk(r))i.push(` ${r.errorMessage}`);else if(i.push(` `),i.push(`Remote: ${r.hostName}`),i.push(this.f(r.machineInfo)),r.processes&&i.push(this.m(t,r.processes)),r.workspaceMetadata)for(const o of Object.keys(r.workspaceMetadata)){const a=r.workspaceMetadata[o];let c=`${a.fileCount} files`;a.maxFilesReached&&(c=`more than ${c}`),i.push(`Folder (${o}): ${c}`),i.push(this.h(a))}}),i.push(""),i.push(""),i.join(` `)))}h(t){const s=[];let n=0;const r=(l,u)=>{const h=` ${l}(${u})`;n+h.length>60?(s.push(o),o="| ",n=o.length):n+=h.length,o+=h};let o="| File types:";const a=10,c=t.fileTypes.length>a?a:t.fileTypes.length;for(let l=0;l=0&&(o="| Conf files:",n=0,t.configFiles.forEach(l=>{r(l.name,l.count)}),s.push(o)),t.launchConfigFiles.length>0){let l="| Launch Configs:";t.launchConfigFiles.forEach(u=>{const h=u.count>1?` ${u.name}(${u.count})`:` ${u.name}`;l+=h}),s.push(l)}return s.join(` `)}j(t){const s=Math.max(...Object.keys(t).map(i=>i.length));return Object.keys(t).map(i=>`${i}: ${" ".repeat(s-i.length)} ${t[i]}`).join(` `)}k(t){const s=[],i=[];return t.windows.forEach(n=>{n.folderURIs.length===0||n.remoteAuthority||(s.push(`| Window (${n.title})`),n.folderURIs.forEach(r=>{const o=y.revive(r);if(o.scheme===q.file){const a=o.fsPath;i.push(bd(a,["node_modules",".git"]).then(c=>{let l=`${c.fileCount} files`;c.maxFilesReached&&(l=`more than ${l}`),s.push(`| Folder (${dt(a)}): ${l}`),s.push(this.h(c))}).catch(c=>{s.push(`| Error: Unable to collect workspace stats for folder ${a} (${c.toString()})`)}))}else s.push(`| Folder (${o.toString()}): Workspace stats not available.`)}))}),Promise.all(i).then(n=>s.join(` `)).catch(n=>`Unable to collect workspace stats: ${n}`)}m(t,s){const i=new Map;t.windows.forEach(r=>i.set(r.pid,`window [${r.id}] (${r.title})`)),t.pidToNames.forEach(({pid:r,name:o})=>i.set(r,o));const n=[];return n.push("CPU % Mem MB PID Process"),s&&this.n(t.mainPID,i,n,s,0),n.join(` `)}n(t,s,i,n,r){const o=r===0;let a;o?a=n.pid===t?this.d.applicationName:"remote-server":s.has(n.pid)?a=s.get(n.pid):a=`${" ".repeat(r)} ${n.name}`;const c=process.platform==="win32"?n.mem:xs.totalmem()*(n.mem/100);i.push(`${n.load.toFixed(0).padStart(5," ")} ${(c/ao.MB).toFixed(0).padStart(6," ")} ${n.pid.toFixed(0).padStart(6," ")} ${a}`),Array.isArray(n.children)&&n.children.forEach(l=>this.n(t,s,i,l,r+1))}async getWorkspaceFileExtensions(t){const s=new Set;for(const{uri:i}of t.folders){const n=y.revive(i);if(n.scheme!==q.file)continue;const r=n.fsPath;try{(await bd(r,["node_modules",".git"])).fileTypes.forEach(a=>s.add(a.name))}catch{}}return{extensions:[...s]}}async reportWorkspaceStats(t){for(const{uri:s}of t.folders){const i=y.revive(s);if(i.scheme!==q.file)continue;const n=i.fsPath;try{const r=await bd(n,["node_modules",".git"]);this.c.publicLog2("workspace.stats",{"workspace.id":t.telemetryId,rendererSessionId:t.rendererSessionId}),r.fileTypes.forEach(o=>{this.c.publicLog2("workspace.stats.file",{rendererSessionId:t.rendererSessionId,type:o.name,count:o.count})}),r.launchConfigFiles.forEach(o=>{this.c.publicLog2("workspace.stats.launchConfigFile",{rendererSessionId:t.rendererSessionId,type:o.name,count:o.count})}),r.configFiles.forEach(o=>{this.c.publicLog2("workspace.stats.configFiles",{rendererSessionId:t.rendererSessionId,type:o.name,count:o.count})}),this.c.publicLog2("workspace.stats.metadata",{duration:r.totalScanTime,reachedLimit:r.maxFilesReached,fileCount:r.fileCount,readdirCount:r.totalReaddirCount})}catch{}}}},xv=__decorate([__param(0,bs),__param(1,ft)],xv)}}),Ik,cH=b({"out-build/vs/server/node/remoteAgentEnvironmentImpl.js"(){"use strict";se(),vn(),Q(),gd(),vo(),xk(),aH(),ge(),pt(),Ik=class fC{static{this.a=1}constructor(t,s,i,n,r){this.b=t,this.c=s,this.d=i,this.e=n,this.f=r}async call(t,s,i){switch(s){case"getEnvironmentData":{const n=i,r=Yl(n.remoteAuthority);let o=await this.g(n.profile);return o=Un(o,r),o}case"getExtensionHostExitInfo":{const n=i;return this.e.getExitInfo(n.reconnectionToken)}case"getDiagnosticInfo":{const n=i,r={machineInfo:$k()},o=n.includeProcesses?wv(process.pid):Promise.resolve();let a=[];const c={};if(n.folders){const l=Yl("");a=n.folders.map(h=>y.revive(l.transformIncoming(h))).filter(h=>h.scheme==="file").map(h=>bd(h.fsPath,["node_modules",".git"]).then(d=>{c[dt(h.fsPath)]=d}))}return Promise.all([o,...a]).then(([l,u])=>(r.processes=l||void 0,r.workspaceMetadata=n.folders?c:void 0,r))}}throw new Error(`IPC Command ${s} not found`)}listen(t,s,i){throw new Error("Not supported")}async g(t){t&&!this.d.profiles.some(i=>i.id===t)&&await this.d.createProfile(t,t);let s=!1;if(process.platform==="linux"){const i=process.glibcVersion;s=(i?parseInt(i.split(".")[1]):28)<=27||!!process.env.VSCODE_SERVER_CUSTOM_GLIBC_LINKER}return this.f.trace(`[reconnection-grace-time] Server sending grace time to client: ${this.c.reconnectionGraceTime}ms (${Math.floor(this.c.reconnectionGraceTime/1e3)}s)`),{pid:process.pid,connectionToken:this.b.type!==0?this.b.value:"",appRoot:y.file(this.c.appRoot),tmpDir:this.c.tmpDir,settingsPath:this.c.machineSettingsResource,mcpResource:this.c.mcpResource,logsPath:this.c.logsHome,extensionHostLogsPath:ue(this.c.logsHome,`exthost${fC.a++}`),globalStorageHome:this.d.defaultProfile.globalStorageHome,workspaceStorageHome:this.c.workspaceStorageHome,localHistoryHome:this.c.localHistoryHome,userHome:this.c.userHome,os:Hr,arch:process.arch,marks:t4(),useHostProxy:!!this.c.args["use-host-proxy"],profiles:{home:this.d.profilesHome,all:[...this.d.profiles].map(i=>({...i}))},isUnsupportedGlibc:s,reconnectionGraceTime:this.c.reconnectionGraceTime}}}}}),Pk,Ak,lH=b({"out-build/vs/platform/files/node/diskFileSystemProviderServer.js"(){"use strict";oe(),Jlmente [a76f7e2c-3402-4a31-9159-113caf79e74a](2025-07-21 16:32:49) - Error al guardar imagen localmente [de3c9fa2-e498-41d2-9dd8-8d52da0652c7](2025-07-21 16:32:49) - Error al guardar imagen localmente [d5207ff8-ce5d-4b8f-a775-f9606db3599a](2025-07-21 16:32:49) - Error al guardar imagen localmente [cccf617a-2597-4ad9-8777-75837142678f](2025-07-21 16:32:49) - Error al guardar imagen localmente [3a762715-e8fd-4dc7-9dba-5ad78812b938](2025-07-21 16:32:49) - Error al guardar imagen localmente [33875973-46e6-47d9-82f3-2e7f15a0100d](2025-07-21 16:32:49) - Error al guardar imagen localmente [dd1b1361-7c29-455c-8b17-62fbd84dc9f9](2025-07-21 16:32:49) - Error al guardar imagen localmente [4e605981-8099-4dc4-b141-93b83d309104](2025-07-21 16:32:49) - Error al guardar imagen localmente [a850bd11-0323-4ee6-9b9b-caff24b9c0d3](2025-07-21 16:32:49) - Error al guardar imagen localmente [1420098f-7c6e-45e2-bef7-7d5bdcc635ce](2025-07-21 16:32:49) - Error al guardar imagen localmente [61986b90-0678-4584-b6a1-006d2ab163ac](2025-07-21 16:32:49) - Error al guardar imagen localmente [a885505a-8391-4017-999c-0ba4461cf884](2025-07-21 16:32:49) - Error al guardar imagen localmente [947c9bb4-4129-44b6-bbe2-aa0ab6787a40](2025-07-21 16:32:49) - Error al guardar imagen localmente [30389993-7b9f-4de6-ac7a-44abd33129a7](2025-07-21 16:32:49) - Error al guardar imagen localmente [d679c8d0-51d7-4364-ab0f-dd9afb22c86b](2025-07-21 16:32:49) - Error al guardar imagen localmente [c9ee19b1-8d22-4287-8a4b-8b2871a025f8](2025-07-21 16:32:49) - Error al guardar imagen localmente [46ae9520-bec4-4029-b7d0-87d6c43e2f68](2025-07-21 16:32:49) - Error al guardar imagen localmente [52569634-b01c-4a94-8732-4a86bc217515](2025-07-21 16:32:49) - Error al guardar imagen localmente [c2d2ce1d-36e0-4272-9357-8ecb215eff21](2025-07-21 16:32:49) - Error al guardar imagen localmente [7a1308ca-d8ca-4b5d-a5f6-1bdfdec227af](2025-07-21 16:32:49) - Error al guardar imagen localmente [2a3956e0-1157-4767-93cc-b74c920d8b22](2025-07-21 16:32:49) - Error al guardar imagen localmente [f35a3267-552b-473f-809b-9bf14f7ce90f](2025-07-21 16:32:49) - Error al guardar imagen localmente [80ffadb9-f0ab-4097-ae33-d6410ea8db02](2025-07-21 16:32:49) - Error al guardar imagen localmente [25acc7cb-a177-438f-aab4-0f5931574fa3](2025-07-21 16:32:49) - Error al guardar imagen localmente [cd2abea0-1753-4af2-8b0e-e804d76d80c4](2025-07-21 16:32:49) - Error al guardar imagen localmente [c843d5ee-c72a-4bc1-8475-5441b6bcd252](2025-07-21 16:32:49) - Error al guardar imagen localmente [4a97f8a1-31ad-44d1-8d6b-0afdd73c7f16](2025-07-21 16:32:50) - Error al guardar imagen localmente [30dc3b5f-79d8-4697-8bba-4b6d46ca4455](2025-07-21 16:32:51) - Error al guardar imagen localmente [3e413fd5-a509-4cfc-a85c-10770e6336d8](2025-07-21 16:32:51) - Error al guardar imagen localmente [de3c9fa2-e498-41d2-9dd8-8d52da0652c7](2025-07-21 16:32:51) - Error al guardar imagen localmente [33875973-46e6-47d9-82f3-2e7f15a0100d](2025-07-21 16:32:51) - Error al guardar imagen localmente [3a762715-e8fd-4dc7-9dba-5ad78812b938](2025-07-21 16:32:51) - Error al guardar imagen localmente [d5207ff8-ce5d-4b8f-a775-f9606db3599a](2025-07-21 16:32:51) - Error al guardar imagen localmente [cccf617a-2597-4ad9-8777-75837142678f](2025-07-21 16:32:51) - Error al guardar imagen localmente [61986b90-0678-4584-b6a1-006d2ab163ac](2025-07-21 16:32:51) - Error al guardar imagen localmente [947c9bb4-4129-44b6-bbe2-aa0ab6787a40](2025-07-21 16:32:51) - Error al guardar imagen localmente [a850bd11-0323-4ee6-9b9b-caff24b9c0d3](2025-07-21 16:32:51) - Error al guardar imagen localmente [30389993-7b9f-4de6-ac7a-44abd33129a7](2025-07-21 16:32:51) - Error al guardar imagen localmente [a885505a-8391-4017-999c-0ba4461cf884](2025-07-21 16:32:51) - Error al guardar imagen localmente [4e605981-8099-4dc4-b141-93b83d309104](2025-07-21 16:32:51) - Error al guardar imagen localmente [d679c8d0-51d7-4364-ab0f-dd9afb22c86b](2025-07-21 16:32:51) - Error al guardar imagen localmente [a76f7e2c-3402-4a31-9159-113caf79e74a](2025-07-21 16:32:51) - Error al guardar imagen localmente [1420098f-7c6e-45e2-bef7-7d5bdcc635ce](2025-07-21 16:32:51) - Error al guardar imagen localmente [dd1b1361-7c29-455c-8b17-62fbd84dc9f9](2025-07-21 16:32:51) - Error al guardar imagen localmente [c9ee19b1-8d22-4287-8a4b-8b2871a025f8](2025-07-21 16:32:51) - Error al guardar imagen localmente [46ae9520-bec4-4029-b7d0-87d6c43e2f68](2025-07-21 16:32:51) - Error al guardar imagen localmente [c2d2ce1d-36e0-4272-9357-8ecb215eff21](2025-07-21 16:32:51) - Error al guardar imagen localmente [7a1308ca-d8ca-4b5d-a5f6-1bdfdec227af](2025-07-21 16:32:51) - Error al guardar imagen localmente [2a3956e0-1157-4767-93cc-b74c920d8b22](2025-07-21 16:32:51) - Error al guardar imagen localmente [25acc7cb-a177-438f-aab4-0f5931574fa3](2025-07-21 16:32:51) - Error al guardar imagen localmente [80ffadb9-f0ab-4097-ae33-d6410ea8db02](2025-07-21 16:32:51) - Error al guardar imagen localmente [cd2abea0-1753-4af2-8b0e-e804d76d80c4](2025-07-21 16:32:51) - Error al guardar imagen localmente [52569634-b01c-4a94-8732-4a86bc217515](2025-07-21 16:32:51) - Error al guardar imagen localmente [c843d5ee-c72a-4bc1-8475-5441b6bcd252](2025-07-21 16:32:51) - Error al guardar imagen localmente [f35a3267-552b-473f-809b-9bf14f7ce90f](2025-07-21 16:32:51) - Error al guardar imagen localmente [4a97f8a1-31ad-44d1-8d6b-0afdd73c7f16](2025-07-21 16:32:52) - Error al guardar imagen localmente [30dc3b5f-79d8-4697-8bba-4b6d46ca4455](2025-07-21 16:32:53) - Error al guardar imagen localmente [de3c9fa2-e498-41d2-9dd8-8d52da0652c7](2025-07-21 16:32:53) - Error al guardar imagen localmente [33875973-46e6-47d9-82f3-2e7f15a0100d](2025-07-21 16:32:53) - Error al guardar imagen localmente [d5207ff8-ce5d-4b8f-a775-f9606db3599a](2025-07-21 16:32:53) - Error al guardar imagen localmente [30389993-7b9f-4de6-ac7a-44abd33129a7](2025-07-21 16:32:53) - Error al guardar imagen localmente [3e413fd5-a509-4cfc-a85c-10770e6336d8](2025-07-21 16:32:53) - Error al guardar imagen localmente [61986b90-0678-4584-b6a1-006d2ab163ac](2025-07-21 16:32:53) - Error al guardar imagen localmente [a885505a-8391-4017-999c-0ba4461cf884](2025-07-21 16:32:53) - Error al guardar imagen localmente [d679c8d0-51d7-4364-ab0f-dd9afb22c86b](2025-07-21 16:32:53) - Error al guardar imagen localmente [1420098f-7c6e-45e2-bef7-7d5bdcc635ce](2025-07-21 16:32:53) - Error al guardar imagen localmente [a850bd11-0323-4ee6-9b9b-caff24b9c0d3](2025-07-21 16:32:53) - Error al guardar imagen localmente [3a762715-e8fd-4dc7-9dba-5ad78812b938](2025-07-21 16:32:53) - Error al guardar imagen localmente [c9ee19b1-8d22-4287-8a4b-8b2871a025f8](2025-07-21 16:32:53) - Error al guardar imagen localmente [947c9bb4-4129-44b6-bbe2-aa0ab6787a40](2025-07-21 16:32:53) - Error al guardar imagen localmente [cccf617a-2597-4ad9-8777-75837142678f](2025-07-21 16:32:53) - Error al guardar imagen localmente [4e605981-8099-4dc4-b141-93b83d309104](2025-07-21 16:32:53) - Error al guardar imagen localmente [dd1b1361-7c29-455c-8b17-62fbd84dc9f9](2025-07-21 16:32:53) - Error al guardar imagen localmente [c2d2ce1d-36e0-4272-9357-8ecb215eff21](2025-07-21 16:32:53) - Error al guardar imagen localmente [7a1308ca-d8ca-4b5d-a5f6-1bdfdec227af](2025-07-21 16:32:53) - Error al guardar imagen localmente [2a3956e0-1157-4767-93cc-b74c920d8b22](2025-07-21 16:32:53) - Error al guardar imagen localmente [cd2abea0-1753-4af2-8b0e-e804d76d80c4](2025-07-21 16:32:53) - Error al guardar imagen localmente [80ffadb9-f0ab-4097-ae33-d6410ea8db02](2025-07-21 16:32:53) - Error al guardar imagen localmente [a76f7e2c-3402-4a31-9159-113caf79e74a](2025-07-21 16:32:53) - Error al guardar imagen localmente [46ae9520-bec4-4029-b7d0-87d6c43e2f68](2025-07-21 16:32:53) - Error al guardar imagen localmente [c843d5ee-c72a-4bc1-8475-5441b6bcd252](2025-07-21 16:32:53) - Error al guardar imagen localmente [25acc7cb-a177-438f-aab4-0f5931574fa3](2025-07-21 16:32:53) - Error al guardar imagen localmente [f35a3267-552b-473f-809b-9bf14f7ce90f](2025-07-21 16:32:53) - Error al guardar imagen localmente [52569634-b01c-4a94-8732-4a86bc217515](2025-07-21 16:32:53) - Error al guardar imagen localmente [4a97f8a1-31ad-44d1-8d6b-0afdd73c7f16](2025-07-21 16:32:54) - Error al guardar imagen localmente [30dc3b5f-79d8-4697-8bba-4b6d46ca4455](2025-07-21 16:32:55) - Error al guardar imagen localmente [33875973-46e6-47d9-82f3-2e7f15a0100d](2025-07-21 16:32:55) - Error al guardar imagen localmente [d5207ff8-ce5d-4b8f-a775-f9606db3599a](2025-07-21 16:32:55) - Error al guardar imagen localmente [61986b90-0678-4584-b6a1-006d2ab163ac](2025-07-21 16:32:55) - Error al guardar imagen localmente [a885505a-8391-4017-999c-0ba4461cf884](2025-07-21 16:32:55) - Error al guardar imagen localmente [30389993-7b9f-4de6-ac7a-44abd33129a7](2025-07-21 16:32:55) - Error al guardar imagen localmente [d679c8d0-51d7-4364-ab0f-dd9afb22c86b](2025-07-21 16:32:55) - Error al guardar imagen localmente [3a762715-e8fd-4dc7-9dba-5ad78812b938](2025-07-21 16:32:55) - Error al guardar imagen localmente [de3c9fa2-e498-41d2-9dd8-8d52da0652c7](2025-07-21 16:32:55) - Error al guardar imagen localmente [a850bd11-0323-4ee6-9b9b-caff24b9c0d3](2025-07-21 16:32:55) - Error al guardar imagen localmente [1420098f-7c6e-45e2-bef7-7d5bdcc635ce](2025-07-21 16:32:55) - Error al guardar imagen localmente [cccf617a-2597-4ad9-8777-75837142678f](2025-07-21 16:32:55) - Error al guardar imagen localmente [3e413fd5-a509-4cfc-a85c-10770e6336d8](2025-07-21 16:32:55) - Error al guardar imagen localmente [947c9bb4-4129-44b6-bbe2-aa0ab6787a40](2025-07-21 16:32:55) - Error al guardar imagen localmente [4e605981-8099-4dc4-b141-93b83d309104](2025-07-21 16:32:55) - Error al guardar imagen localmente [dd1b1361-7c29-455c-8b17-62fbd84dc9f9](2025-07-21 16:32:55) - Error al guardar imagen localmente [c2d2ce1d-36e0-4272-9357-8ecb215eff21](2025-07-21 16:32:55) - Error al guardar imagen localmente [2a3956e0-1157-4767-93cc-b74c920d8b22](2025-07-21 16:32:55) - Error al guardar imagen localmente [c9ee19b1-8d22-4287-8a4b-8b2871a025f8](2025-07-21 16:32:55) - Error al guardar imagen localmente [80ffadb9-f0ab-4097-ae33-d6410ea8db02](2025-07-21 16:32:55) - Error al guardar imagen localmente [7a1308ca-d8ca-4b5d-a5f6-1bdfdec227af](2025-07-21 16:32:55) - Error al guardar imagen localmente [25acc7cb-a177-438f-aab4-0f5931574fa3](2025-07-21 16:32:55) - Error al guardar imagen localmente [46ae9520-bec4-4029-b7d0-87d6c43e2f68](2025-07-21 16:32:55) - Error al guardar imagen localmente [c843d5ee-c72a-4bc1-8475-5441b6bcd252](2025-07-21 16:32:55) - Error al guardar imagen localmente [52569634-b01c-4a94-8732-4a86bc217515](2025-07-21 16:32:55) - Error al guardar imagen localmente [f35a3267-552b-473f-809b-9bf14f7ce90f](2025-07-21 16:32:55) - Error al guardar imagen localmente [a76f7e2c-3402-4a31-9159-113caf79e74a](2025-07-21 16:32:55) - Error al guardar imagen localmente [cd2abea0-1753-4af2-8b0e-e804d76d80c4](2025-07-21 16:32:55) - Error al guardar imagen localmente [4a97f8a1-31ad-44d1-8d6b-0afdd73c7f16](2025-07-21 16:32:56) - Error al guardar imagen localmente [30dc3b5f-79d8-4697-8bba-4b6d46ca4455](2025-07-21 16:32:57) - Error al guardar imagen localmente [33875973-46e6-47d9-82f3-2e7f15a0100d](2025-07-21 16:32:57) - Error al guardar imagen localmente [d5207ff8-ce5d-4b8f-a775-f9606db3599a](2025-07-21 16:32:57) - Error al guardar imagen localmente [61986b90-0678-4584-b6a1-006d2ab163ac](2025-07-21 16:32:57) - Error al guardar imagen localmente [a885505a-8391-4017-999c-0ba4461cf884](2025-07-21 16:32:57) - Error al guardar imagen localmente [3e413fd5-a509-4cfc-a85c-10770e6336d8](2025-07-21 16:32:57) - Error al guardar imagen localmente [d679c8d0-51d7-4364-ab0f-dd9afb22c86b](2025-07-21 16:32:57) - Error al guardar imagen localmente [3a762715-e8fd-4dc7-9dba-5ad78812b938](2025-07-21 16:32:57) - Error al guardar imagen localmente [30389993-7b9f-4de6-ac7a-44abd33129a7](2025-07-21 16:32:57) - Error al guardar imagen localmente [947c9bb4-4129-44b6-bbe2-aa0ab6787a40](2025-07-21 16:32:57) - Error al guardar imagen localmente [cccf617a-2597-4ad9-8777-75837142678f](2025-07-21 16:32:57) - Error al guardar imagen localmente [dd1b1361-7c29-455c-8b17-62fbd84dc9f9](2025-07-21 16:32:57) - Error al guardar imagen localmente [c2d2ce1d-36e0-4272-9357-8ecb215eff21](2025-07-21 16:32:57) - Error al guardar imagen localmente [4e605981-8099-4dc4-b141-93b83d309104](2025-07-21 16:32:57) - Error al guardar imagen localmente [a850bd11-0323-4ee6-9b9b-caff24b9c0d3](2025-07-21 16:32:57) - Error al guardar imagen localmente [2a3956e0-1157-4767-93cc-b74c920d8b22](2025-07-21 16:32:57) - Error al guardar imagen localmente [1420098f-7c6e-45e2-bef7-7d5bdcc635ce](2025-07-21 16:32:57) - Error al guardar imagen localmente [de3c9fa2-e498-41d2-9dd8-8d52da0652c7](2025-07-21 16:32:57) - Error al guardar imagen localmente [25acc7cb-a177-438f-aab4-0f5931574fa3](2025-07-21 16:32:57) - Error al guardar imagen localmente [c9ee19b1-8d22-4287-8a4b-8b2871a025f8](2025-07-21 16:32:57) - Error al guardar imagen localmente [46ae9520-bec4-4029-b7d0-87d6c43e2f68](2025-07-21 16:32:57) - Error al guardar imagen localmente [7a1308ca-d8ca-4b5d-a5f6-1bdfdec227af](2025-07-21 16:32:57) - Error al guardar imagen localmente [52569634-b01c-4a94-8732-4a86bc217515](2025-07-21 16:32:57) - Error al guardar imagen localmente [80ffadb9-f0ab-4097-ae33-d6410ea8db02](2025-07-21 16:32:57) - Error al guardar imagen localmente [a76f7e2c-3402-4a31-9159-113caf79e74a](2025-07-21 16:32:57) - Error al guardar imagen localmente [cd2abea0-1753-4af2-8b0e-e804d76d80c4](2025-07-21 16:32:57) - Error al guardar imagen localmente [f35a3267-552b-473f-809b-9bf14f7ce90f](2025-07-21 16:32:57) - Error al guardar imagen localmente [c843d5ee-c72a-4bc1-8475-5441b6bcd252](2025-07-21 16:32:57) - Error al guardar imagen localmente [4a97f8a1-31ad-44d1-8d6b-0afdd73c7f16](2025-07-21 16:32:58) - Error al guardar imagen localmente [30dc3b5f-79d8-4697-8bba-4b6d46ca4455](2025-07-21 16:32:59) - Error al guardar imagen localmente [d5207ff8-ce5d-4b8f-a775-f9606db3599a](2025-07-21 16:32:59) - Error al guardar imagen localmente [33875973-46e6-47d9-82f3-2e7f15a0100d](2025-07-21 16:32:59) - Error al guardar imagen localmente [3e413fd5-a509-4cfc-a85c-10770e6336d8](2025-07-21 16:32:59) - Error al guardar imagen localmente [d679c8d0-51d7-4364-ab0f-dd9afb22c86b](2025-07-21 16:32:59) - Error al guardar imagen localmente [3a762715-e8fd-4dc7-9dba-5ad78812b938](2025-07-21 16:32:59) - Error al guardar imagen localmente [30389993-7b9f-4de6-ac7a-44abd33129a7](2025-07-21 16:32:59) - Error al guardar imagen localmente [947c9bb4-4129-44b6-bbe2-aa0ab6787a40](2025-07-21 16:32:59) - Error al guardar imagen localmente [cccf617a-2597-4ad9-8777-75837142678f](2025-07-21 16:32:59) - Error al guardar imagen localmente [dd1b1361-7c29-455c-8b17-62fbd84dc9f9](2025-07-21 16:32:59) - Error al guardar imagen localmente [c2d2ce1d-36e0-4272-9357-8ecb215eff21](2025-07-21 16:32:59) - Error al guardar imagen localmente [4e605981-8099-4dc4-b141-93b83d309104](2025-07-21 16:32:59) - Error al guardar imagen localmente [61986b90-0678-4584-b6a1-006d2ab163ac](2025-07-21 16:32:59) - Error al guardar imagen localmente [2a3956e0-1157-4767-93cc-b74c920d8b22](2025-07-21 16:32:59) - Error al guardar imagen localmente [1420098f-7c6e-45e2-bef7-7d5bdcc635ce](2025-07-21 16:32:59) - Error al guardar imagen localmente [a885505a-8391-4017-999c-0ba4461cf884](2025-07-21 16:32:59) - Error al guardar imagen localmente [25acc7cb-a177-438f-aab4-0f5931574fa3](2025-07-21 16:32:59) - Error al guardar imagen localmente [de3c9fa2-e498-41d2-9dd8-8d52da0652c7](2025-07-21 16:32:59) - Error al guardar imagen localmente [46ae9520-bec4-4029-b7d0-87d6c43e2f68](2025-07-21 16:32:59) - Error al guardar imagen localmente [7a1308ca-d8ca-4b5d-a5f6-1bdfdec227af](2025-07-21 16:32:59) - Error al guardar imagen localmente [52569634-b01c-4a94-8732-4a86bc217515](2025-07-21 16:32:59) - Error al guardar imagen localmente [c9ee19b1-8d22-4287-8a4b-8b2871a025f8](2025-07-21 16:32:59) - Error al guardar imagen localmente [a76f7e2c-3402-4a31-9159-113caf79e74a](2025-07-21 16:32:59) - Error al guardar imagen localmente [cd2abea0-1753-4af2-8b0e-e804d76d80c4](2025-07-21 16:32:59) - Error al guardar imagen localmente [a850bd11-0323-4ee6-9b9b-caff24b9c0d3](2025-07-21 16:32:59) - Error al guardar imagen localmente [80ffadb9-f0ab-4097-ae33-d6410ea8db02](2025-07-21 16:32:59) - Error al guardar im2025-07-21 15:41:45) - Error al guardar imagen localmente [c9ee19b1-8d22-4287-8a4b-8b2871a025f8](2025-07-21 15:41:45) - Error al guardar imagen localmente [3a762715-e8fd-4dc7-9dba-5ad78812b938](2025-07-21 15:41:45) - Error al guardar imagen localmente [a76f7e2c-3402-4a31-9159-113caf79e74a](2025-07-21 15:41:45) - Error al guardar imagen localmente [a850bd11-0323-4ee6-9b9b-caff24b9c0d3](2025-07-21 15:41:45) - Error al guardar imagen localmente [1420098f-7c6e-45e2-bef7-7d5bdcc635ce](2025-07-21 15:41:45) - Error al guardar imagen localmente [3e413fd5-a509-4cfc-a85c-10770e6336d8](2025-07-21 15:41:45) - Error al guardar imagen localmente [30389993-7b9f-4de6-ac7a-44abd33129a7](2025-07-21 15:41:45) - Error al guardar imagen localmente [947c9bb4-4129-44b6-bbe2-aa0ab6787a40](2025-07-21 15:41:45) - Error al guardar imagen localmente [4a97f8a1-31ad-44d1-8d6b-0afdd73c7f16](2025-07-21 15:41:45) - Error al guardar imagen localmente [30dc3b5f-79d8-4697-8bba-4b6d46ca4455](2025-07-21 15:41:46) - Error al guardar imagen localmente [25acc7cb-a177-438f-aab4-0f5931574fa3](2025-07-21 15:41:47) - Error al guardar imagen localmente [f35a3267-552b-473f-809b-9bf14f7ce90f](2025-07-21 15:41:47) - Error al guardar imagen localmente [80ffadb9-f0ab-4097-ae33-d6410ea8db02](2025-07-21 15:41:47) - Error al guardar imagen localmente [cd2abea0-1753-4af2-8b0e-e804d76d80c4](2025-07-21 15:41:47) - Error al guardar imagen localmente [61986b90-0678-4584-b6a1-006d2ab163ac](2025-07-21 15:41:47) - Error al guardar imagen localmente [cccf617a-2597-4ad9-8777-75837142678f](2025-07-21 15:41:47) - Error al guardar imagen localmente [4e605981-8099-4dc4-b141-93b83d309104](2025-07-21 15:41:47) - Error al guardar imagen localmente [d679c8d0-51d7-4364-ab0f-dd9afb22c86b](2025-07-21 15:41:47) - Error al guardar imagen localmente [52569634-b01c-4a94-8732-4a86bc217515](2025-07-21 15:41:47) - Error al guardar imagen localmente [2a3956e0-1157-4767-93cc-b74c920d8b22](2025-07-21 15:41:47) - Error al guardar imagen localmente [de3c9fa2-e498-41d2-9dd8-8d52da0652c7](2025-07-21 15:41:47) - Error al guardar imagen localmente [33875973-46e6-47d9-82f3-2e7f15a0100d](2025-07-21 15:41:47) - Error al guardar imagen localmente [c2d2ce1d-36e0-4272-9357-8ecb215eff21](2025-07-21 15:41:47) - Error al guardar imagen localmente [d5207ff8-ce5d-4b8f-a775-f9606db3599a](2025-07-21 15:41:47) - Error al guardar imagen localmente [7a1308ca-d8ca-4b5d-a5f6-1bdfdec227af](2025-07-21 15:41:47) - Error al guardar imagen localmente [dd1b1361-7c29-455c-8b17-62fbd84dc9f9](2025-07-21 15:41:47) - Error al guardar imagen localmente [a885505a-8391-4017-999c-0ba4461cf884](2025-07-21 15:41:47) - Error al guardar imagen localmente [c9ee19b1-8d22-4287-8a4b-8b2871a025f8](2025-07-21 15:41:47) - Error al guardar imagen localmente [c843d5ee-c72a-4bc1-8475-5441b6bcd252](2025-07-21 15:41:47) - Error al guardar imagen localmente [a850bd11-0323-4ee6-9b9b-caff24b9c0d3](2025-07-21 15:41:47) - Error al guardar imagen localmente [46ae9520-bec4-4029-b7d0-87d6c43e2f68](2025-07-21 15:41:47) - Error al guardar imagen localmente [a76f7e2c-3402-4a31-9159-113caf79e74a](2025-07-21 15:41:47) - Error al guardar imagen localmente [3a762715-e8fd-4dc7-9dba-5ad78812b938](2025-07-21 15:41:47) - Error al guardar imagen localmente [3e413fd5-a509-4cfc-a85c-10770e6336d8](2025-07-21 15:41:47) - Error al guardar imagen localmente [30389993-7b9f-4de6-ac7a-44abd33129a7](2025-07-21 15:41:47) - Error al guardar imagen localmente [947c9bb4-4129-44b6-bbe2-aa0ab6787a40](2025-07-21 15:41:47) - Error al guardar imagen localmente [1420098f-7c6e-45e2-bef7-7d5bdcc635ce](2025-07-21 15:41:47) - Error al guardar imagen localmente [4a97f8a1-31ad-44d1-8d6b-0afdd73c7f16](2025-07-21 15:41:47) - Error al guardar imagen localmente [30dc3b5f-79d8-4697-8bba-4b6d46ca4455](2025-07-21 15:41:48) - Error al guardar imagen localmente [25acc7cb-a177-438f-aab4-0f5931574fa3](2025-07-21 15:41:49) - Error al guardar imagen localmente [f35a3267-552b-473f-809b-9bf14f7ce90f](2025-07-21 15:41:49) - Error al guardar imagen localmente [80ffadb9-f0ab-4097-ae33-d6410ea8db02](2025-07-21 15:41:49) - Error al guardar imagen localmente [cd2abea0-1753-4af2-8b0e-e804d76d80c4](2025-07-21 15:41:49) - Error al guardar imagen localmente [52569634-b01c-4a94-8732-4a86bc217515](2025-07-21 15:41:49) - Error al guardar imagen localmente [cccf617a-2597-4ad9-8777-75837142678f](2025-07-21 15:41:49) - Error al guardar imagen localmente [4e605981-8099-4dc4-b141-93b83d309104](2025-07-21 15:41:49) - Error al guardar imagen localmente [61986b90-0678-4584-b6a1-006d2ab163ac](2025-07-21 15:41:49) - Error al guardar imagen localmente [33875973-46e6-47d9-82f3-2e7f15a0100d](2025-07-21 15:41:49) - Error al guardar imagen localmente [2a3956e0-1157-4767-93cc-b74c920d8b22](2025-07-21 15:41:49) - Error al guardar imagen localmente [d679c8d0-51d7-4364-ab0f-dd9afb22c86b](2025-07-21 15:41:49) - Error al guardar imagen localmente [7a1308ca-d8ca-4b5d-a5f6-1bdfdec227af](2025-07-21 15:41:49) - Error al guardar imagen localmente [c2d2ce1d-36e0-4272-9357-8ecb215eff21](2025-07-21 15:41:49) - Error al guardar imagen localmente [de3c9fa2-e498-41d2-9dd8-8d52da0652c7](2025-07-21 15:41:49) - Error al guardar imagen localmente [d5207ff8-ce5d-4b8f-a775-f9606db3599a](2025-07-21 15:41:49) - Error al guardar imagen localmente [dd1b1361-7c29-455c-8b17-62fbd84dc9f9](2025-07-21 15:41:49) - Error al guardar imagen localmente [a885505a-8391-4017-999c-0ba4461cf884](2025-07-21 15:41:49) - Error al guardar imagen localmente [c9ee19b1-8d22-4287-8a4b-8b2871a025f8](2025-07-21 15:41:49) - Error al guardar imagen localmente [c843d5ee-c72a-4bc1-8475-5441b6bcd252](2025-07-21 15:41:49) - Error al guardar imagen localmente [46ae9520-bec4-4029-b7d0-87d6c43e2f68](2025-07-21 15:41:49) - Error al guardar imagen localmente [a850bd11-0323-4ee6-9b9b-caff24b9c0d3](2025-07-21 15:41:49) - Error al guardar imagen localmente [947c9bb4-4129-44b6-bbe2-aa0ab6787a40](2025-07-21 15:41:49) - Error al guardar imagen localmente [3e413fd5-a509-4cfc-a85c-10770e6336d8](2025-07-21 15:41:49) - Error al guardar imagen localmente [a76f7e2c-3402-4a31-9159-113caf79e74a](2025-07-21 15:41:49) - Error al guardar imagen localmente [30389993-7b9f-4de6-ac7a-44abd33129a7](2025-07-21 15:41:49) - Error al guardar imagen localmente [3a762715-e8fd-4dc7-9dba-5ad78812b938](2025-07-21 15:41:49) - Error al guardar imagen localmente [1420098f-7c6e-45e2-bef7-7d5bdcc635ce](2025-07-21 15:41:49) - Error al guardar imagen localmente [4a97f8a1-31ad-44d1-8d6b-0afdd73c7f16](2025-07-21 15:41:49) - Error al guardar imagen localmente [30dc3b5f-79d8-4697-8bba-4b6d46ca4455](2025-07-21 15:41:50) - Error al guardar imagen localmente [80ffadb9-f0ab-4097-ae33-d6410ea8db02](2025-07-21 15:41:51) - Error al guardar imagen localmente [f35a3267-552b-473f-809b-9bf14f7ce90f](2025-07-21 15:41:51) - Error al guardar imagen localmente [cccf617a-2597-4ad9-8777-75837142678f](2025-07-21 15:41:51) - Error al guardar imagen localmente [33875973-46e6-47d9-82f3-2e7f15a0100d](2025-07-21 15:41:51) - Error al guardar imagen localmente [61986b90-0678-4584-b6a1-006d2ab163ac](2025-07-21 15:41:51) - Error al guardar imagen localmente [2a3956e0-1157-4767-93cc-b74c920d8b22](2025-07-21 15:41:51) - Error al guardar imagen localmente [7a1308ca-d8ca-4b5d-a5f6-1bdfdec227af](2025-07-21 15:41:51) - Error al guardar imagen localmente [d5207ff8-ce5d-4b8f-a775-f9606db3599a](2025-07-21 15:41:51) - Error al guardar imagen localmente [c2d2ce1d-36e0-4272-9357-8ecb215eff21](2025-07-21 15:41:51) - Error al guardar imagen localmente [cd2abea0-1753-4af2-8b0e-e804d76d80c4](2025-07-21 15:41:51) - Error al guardar imagen localmente [4e605981-8099-4dc4-b141-93b83d309104](2025-07-21 15:41:51) - Error al guardar imagen localmente [25acc7cb-a177-438f-aab4-0f5931574fa3](2025-07-21 15:41:51) - Error al guardar imagen localmente [dd1b1361-7c29-455c-8b17-62fbd84dc9f9](2025-07-21 15:41:51) - Error al guardar imagen localmente [c843d5ee-c72a-4bc1-8475-5441b6bcd252](2025-07-21 15:41:51) - Error al guardar imagen localmente [52569634-b01c-4a94-8732-4a86bc217515](2025-07-21 15:41:51) - Error al guardar imagen localmente [d679c8d0-51d7-4364-ab0f-dd9afb22c86b](2025-07-21 15:41:51) - Error al guardar imag01-ac04-6374a04aaeb2](2024-07-11 14:19:06) - Intento 0 para actualizar CRM con datos de url de marca: { "data": [ { "code": "SUCCESS", "details": { "Modified_Time": "2024-07-11T13:19:06-06:00", "Modified_By": { "name": "Aptus Legal Administrator", "id": "4597192000000287001" }, "Created_Time": "2024-07-09T09:28:03-06:00", "id": "4597192000185467002", "Created_By": { "name": "Catalina Lozada Brown", "id": "4597192000011167112" } }, "message": "record updated", "status": "success" } ] } [3ec2c4c7-a4a3-4601-ac04-6374a04aaeb2](2024-07-11 14:19:06) - Proceso finalizado exitosamente, URL: https://aptuslegal.app/imagenesAptusLegal/arochi/LogosArochi/MAR-125332.png [07ca9d57-95b5-411e-827f-54b03950720e](2024-07-11 14:21:22) - Proceso de subida de imagen iniciado, data: {"source":"webhook","RefAL":"MAR-125333","MarcaId":"4597192000185467054","user":"lmorales@arochilindner.com"} [07ca9d57-95b5-411e-827f-54b03950720e](2024-07-11 14:21:29) - Tokens generados: 1000.a57dbea89a4cef3086435ecdd55a4fe5.d04547e34f9f14c097b7e236a2493fe7 [07ca9d57-95b5-411e-827f-54b03950720e](2024-07-11 14:21:29) - Intento 0 para obtener imagen de marca de CRM, respuesta: 200 [07ca9d57-95b5-411e-827f-54b03950720e](2024-07-11 14:21:30) - Imagen guardada localmente de manera exitosa [07ca9d57-95b5-411e-827f-54b03950720e](2024-07-11 14:21:30) - Intento 0 para actualizar CRM con datos de url de marca: { "data": [ { "code": "SUCCESS", "details": { "Modified_Time": "2024-07-11T13:21:30-06:00", "Modified_By": { "name": "Aptus Legal Administrator", "id": "4597192000000287001" }, "Created_Time": "2024-07-09T10:13:14-06:00", "id": "4597192000185467054", "Created_By": { "name": "Catalina Lozada Brown", "id": "4597192000011167112" } }, "message": "record updated", "status": "success" } ] } [07ca9d57-95b5-411e-827f-54b03950720e](2024-07-11 14:21:30) - Proceso finalizado exitosamente, URL: https://aptuslegal.app/imagenesAptusLegal/arochi/LogosArochi/MAR-125333.png [dd7e17ab-91df-4a85-9875-3fd4d1f0775b](2024-07-11 14:23:38) - Proceso de subida de imagen iniciado, data: {"source":"webhook","RefAL":"MAR-125334","MarcaId":"4597192000185467106","user":"lmorales@arochilindner.com"} [dd7e17ab-91df-4a85-9875-3fd4d1f0775b](2024-07-11 14:23:45) - Tokens generados: 1000.a57dbea89a4cef3086435ecdd55a4fe5.d04547e34f9f14c097b7e236a2493fe7 [dd7e17ab-91df-4a85-9875-3fd4d1f0775b](2024-07-11 14:23:45) - Intento 0 para obtener imagen de marca de CRM, respuesta: 200 [dd7e17ab-91df-4a85-9875-3fd4d1f0775b](2024-07-11 14:23:45) - Imagen guardada localmente de manera exitosa [dd7e17ab-91df-4a85-9875-3fd4d1f0775b](2024-07-11 14:23:47) - Intento 0 para actualizar CRM con datos de url de marca: { "data": [ { "code": "SUCCESS", "details": { "Modified_Time": "2024-07-11T13:23:46-06:00", "Modified_By": { "name": "Aptus Legal Administrator", "id": "4597192000000287001" }, "Created_Time": "2024-07-09T10:14:25-06:00", "id": "4597192000185467106", "Created_By": { "name": "Catalina Lozada Brown", "id": "4597192000011167112" } }, "message": "record updated", "status": "success" } ] } [dd7e17ab-91df-4a85-9875-3fd4d1f0775b](2024-07-11 14:23:47) - Proceso finalizado exitosamente, URL: https://aptuslegal.app/imagenesAptusLegal/arochi/LogosArochi/MAR-125334.png [95cf2846-3eb8-4cf2-b0bb-f4c63d312