diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 index 268bc7a..16ad32d --- a/.gitignore +++ b/.gitignore @@ -32,3 +32,5 @@ sdkconfig* components/ArduinoJson/ components/MicroOcpp/ components/MicroOcppMongoose/ +components/mongoose +managed_components/ diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/components/evse/evse_hardware.c b/components/evse/evse_hardware.c old mode 100644 new mode 100755 diff --git a/components/evse/evse_manager.c b/components/evse/evse_manager.c old mode 100644 new mode 100755 diff --git a/components/evse/evse_state.c b/components/evse/evse_state.c old mode 100644 new mode 100755 diff --git a/components/evse/include/evse_api.h b/components/evse/include/evse_api.h old mode 100644 new mode 100755 diff --git a/components/evse/include/evse_hardware.h b/components/evse/include/evse_hardware.h old mode 100644 new mode 100755 diff --git a/components/evse/include/evse_manager.h b/components/evse/include/evse_manager.h old mode 100644 new mode 100755 diff --git a/components/evse/include/evse_state.h b/components/evse/include/evse_state.h old mode 100644 new mode 100755 diff --git a/components/meter/CMakeLists.txt b/components/meter/CMakeLists.txt old mode 100644 new mode 100755 diff --git a/components/meter/include/ade7758.h b/components/meter/include/ade7758.h old mode 100644 new mode 100755 diff --git a/components/meter/include/meter.h b/components/meter/include/meter.h old mode 100644 new mode 100755 diff --git a/components/meter/src/ade7758.c b/components/meter/src/ade7758.c old mode 100644 new mode 100755 diff --git a/components/meter/src/meter.c b/components/meter/src/meter.c old mode 100644 new mode 100755 diff --git a/components/peripherals/include/lm75a.h b/components/peripherals/include/lm75a.h old mode 100644 new mode 100755 diff --git a/components/peripherals/include/temp_sensor.h b/components/peripherals/include/temp_sensor.h old mode 100644 new mode 100755 diff --git a/components/peripherals/src/lm75a.c b/components/peripherals/src/lm75a.c old mode 100644 new mode 100755 diff --git a/components/peripherals/src/temp_sensor.c b/components/peripherals/src/temp_sensor.c old mode 100644 new mode 100755 diff --git a/components/protocols/include/modbus_tcp.h b/components/protocols/include/modbus_tcp.h old mode 100644 new mode 100755 diff --git a/components/protocols/src/rest.c b/components/protocols/src/rest.c index be60663..7e0770f 100755 --- a/components/protocols/src/rest.c +++ b/components/protocols/src/rest.c @@ -37,6 +37,23 @@ typedef struct rest_server_context { #define CHECK_FILE_EXTENSION(filename, ext) (strcasecmp(&filename[strlen(filename) - strlen(ext)], ext) == 0) +// Estruturas para armazenar as configurações +static struct { + bool enabled; + char ssid[128]; + char password[128]; +} wifi_config = {false, "", ""}; + +static struct { + bool enabled; + char host[256]; + int port; + char username[128]; + char password[128]; + char topic[128]; +} mqtt_config = {false, "", 1883, "", "", ""}; + + /* Set HTTP response content type according to file extension */ static esp_err_t set_content_type_from_file(httpd_req_t *req, const char *filepath) { @@ -107,110 +124,584 @@ static esp_err_t rest_common_get_handler(httpd_req_t *req) return ESP_OK; } -/* Simple handler for light brightness control */ -static esp_err_t light_brightness_post_handler(httpd_req_t *req) +// Manipulador para o endpoint GET /api/v1/config/electrical +static esp_err_t electrical_config_get_handler(httpd_req_t *req) { - int total_len = req->content_len; - int cur_len = 0; - char *buf = ((rest_server_context_t *)(req->user_ctx))->scratch; - int received = 0; - if (total_len >= SCRATCH_BUFSIZE) { - /* Respond with 500 Internal Server Error */ - httpd_resp_send_err(req, HTTPD_500_INTERNAL_SERVER_ERROR, "content too long"); + httpd_resp_set_type(req, "application/json"); + + // Criar objeto JSON com as configurações de rede elétrica + cJSON *config = cJSON_CreateObject(); + cJSON *monitor = cJSON_CreateObject(); + cJSON_AddStringToObject(monitor, "voltage", "230"); + cJSON_AddStringToObject(monitor, "current", "10"); + cJSON_AddStringToObject(monitor, "quality", "1"); + cJSON_AddItemToObject(config, "monitor", monitor); + cJSON_AddBoolToObject(config, "alerts", true); + + // Adicionar mais configurações (security, loadBalancing, solar) no objeto config + // ... + + // Enviar a resposta + const char *config_str = cJSON_Print(config); + httpd_resp_sendstr(req, config_str); + + // Liberar memória + free((void *)config_str); + cJSON_Delete(config); + + return ESP_OK; +} + + +// Manipulador para o endpoint POST /api/v1/config/electrical +static esp_err_t electrical_config_post_handler(httpd_req_t *req) +{ + char buf[512]; + int len = httpd_req_recv(req, buf, sizeof(buf) - 1); + if (len <= 0) { + httpd_resp_send_err(req, HTTPD_400_BAD_REQUEST, "Request body is empty"); return ESP_FAIL; } - while (cur_len < total_len) { - received = httpd_req_recv(req, buf + cur_len, total_len); - if (received <= 0) { - /* Respond with 500 Internal Server Error */ - httpd_resp_send_err(req, HTTPD_500_INTERNAL_SERVER_ERROR, "Failed to post control value"); - return ESP_FAIL; - } - cur_len += received; + buf[len] = '\0'; // Garantir que a string esteja terminada + + // Parse JSON recebido + cJSON *json = cJSON_Parse(buf); + if (json == NULL) { + httpd_resp_send_err(req, HTTPD_400_BAD_REQUEST, "Invalid JSON"); + return ESP_FAIL; } - buf[total_len] = '\0'; - cJSON *root = cJSON_Parse(buf); - int red = cJSON_GetObjectItem(root, "red")->valueint; - int green = cJSON_GetObjectItem(root, "green")->valueint; - int blue = cJSON_GetObjectItem(root, "blue")->valueint; - ESP_LOGI(REST_TAG, "Light control: red = %d, green = %d, blue = %d", red, green, blue); - cJSON_Delete(root); - httpd_resp_sendstr(req, "Post control value successfully"); + // Processar os dados recebidos e atualizar as configurações (monitor, alerts, etc.) + // Exemplo de configuração: + cJSON *monitor = cJSON_GetObjectItem(json, "monitor"); + if (monitor) { + // Atualizar configurações do monitor + // ... + } + + // Atualizar outras configurações... + + // Responder com sucesso + httpd_resp_sendstr(req, "Configuração gravada com sucesso!"); + + cJSON_Delete(json); + return ESP_OK; } -/* Simple handler for getting system handler */ -static esp_err_t system_info_get_handler(httpd_req_t *req) + +// Manipulador para o endpoint /api/v1/config/load-balancing +static esp_err_t config_load_balancing_get_handler(httpd_req_t *req) { httpd_resp_set_type(req, "application/json"); - cJSON *root = cJSON_CreateObject(); - esp_chip_info_t chip_info; - esp_chip_info(&chip_info); - cJSON_AddStringToObject(root, "version", IDF_VER); - cJSON_AddNumberToObject(root, "cores", chip_info.cores); - const char *sys_info = cJSON_Print(root); - httpd_resp_sendstr(req, sys_info); - free((void *)sys_info); - cJSON_Delete(root); + + // Criar objeto JSON de configuração + cJSON *config = cJSON_CreateObject(); + + // Configuração de load balancing + cJSON_AddBoolToObject(config, "enabled", true); // Exemplo: load balancing ativado + cJSON_AddNumberToObject(config, "maxChargingCurrent", 32); // Exemplo: corrente máxima de 32A + + // Lista de dispositivos disponíveis + cJSON *devices = cJSON_CreateArray(); + cJSON_AddItemToArray(devices, cJSON_CreateString("Device 1")); // Exemplo de dispositivo + cJSON_AddItemToArray(devices, cJSON_CreateString("Device 2")); // Outro exemplo de dispositivo + cJSON_AddItemToObject(config, "devices", devices); + + // Convertendo para string e enviando a resposta + const char *config_str = cJSON_Print(config); + httpd_resp_sendstr(req, config_str); + + // Liberando a memória + free((void *)config_str); + cJSON_Delete(config); + return ESP_OK; } -/* Simple handler for getting temperature data */ -static esp_err_t temperature_data_get_handler(httpd_req_t *req) + + + +// Estrutura para armazenar as configurações OCPP em memória +static struct { + char url[256]; + char chargeBoxId[128]; + char certificate[256]; + char privateKey[256]; +} ocpp_config = {"", "", "", ""}; + +// Manipulador para o endpoint GET /api/v1/ocpp (Status do OCPP) +static esp_err_t ocpp_status_get_handler(httpd_req_t *req) { httpd_resp_set_type(req, "application/json"); - cJSON *root = cJSON_CreateObject(); - cJSON_AddNumberToObject(root, "raw", esp_random() % 20); - const char *sys_info = cJSON_Print(root); - httpd_resp_sendstr(req, sys_info); - free((void *)sys_info); - cJSON_Delete(root); + + // Criar objeto JSON de status + cJSON *status = cJSON_CreateObject(); + cJSON_AddStringToObject(status, "status", "connected"); // Status de exemplo, você pode adaptar conforme sua lógica + + // Convertendo para string e enviando a resposta + const char *status_str = cJSON_Print(status); + httpd_resp_sendstr(req, status_str); + + // Liberando a memória + free((void *)status_str); + cJSON_Delete(status); + return ESP_OK; } +// Manipulador para o endpoint GET /api/v1/config/ocpp (Configuração OCPP) +static esp_err_t config_ocpp_get_handler(httpd_req_t *req) +{ + httpd_resp_set_type(req, "application/json"); + + // Criar objeto JSON com as configurações do OCPP + cJSON *config = cJSON_CreateObject(); + cJSON_AddStringToObject(config, "url", ocpp_config.url); + cJSON_AddStringToObject(config, "chargeBoxId", ocpp_config.chargeBoxId); + cJSON_AddStringToObject(config, "certificate", ocpp_config.certificate); + cJSON_AddStringToObject(config, "privateKey", ocpp_config.privateKey); + + // Convertendo para string e enviando a resposta + const char *config_str = cJSON_Print(config); + httpd_resp_sendstr(req, config_str); + + // Liberando a memória + free((void *)config_str); + cJSON_Delete(config); + + return ESP_OK; +} + +// Manipulador para o endpoint POST /api/v1/config/ocpp (Salvar configuração OCPP) +static esp_err_t config_ocpp_post_handler(httpd_req_t *req) +{ + char buf[512]; // Buffer para armazenar a requisição + int len = httpd_req_recv(req, buf, sizeof(buf) - 1); + if (len <= 0) { + httpd_resp_send_err(req, HTTPD_400_BAD_REQUEST, "Invalid request body"); + return ESP_FAIL; + } + buf[len] = '\0'; // Garantir que a string esteja terminada + + // Parse JSON recebido + cJSON *json = cJSON_Parse(buf); + if (json == NULL) { + httpd_resp_send_err(req, HTTPD_400_BAD_REQUEST, "Invalid JSON"); + return ESP_FAIL; + } + + // Atualizando as configurações OCPP + cJSON *url = cJSON_GetObjectItem(json, "url"); + if (url) strlcpy(ocpp_config.url, url->valuestring, sizeof(ocpp_config.url)); + + cJSON *chargeBoxId = cJSON_GetObjectItem(json, "chargeBoxId"); + if (chargeBoxId) strlcpy(ocpp_config.chargeBoxId, chargeBoxId->valuestring, sizeof(ocpp_config.chargeBoxId)); + + cJSON *certificate = cJSON_GetObjectItem(json, "certificate"); + if (certificate) strlcpy(ocpp_config.certificate, certificate->valuestring, sizeof(ocpp_config.certificate)); + + cJSON *privateKey = cJSON_GetObjectItem(json, "privateKey"); + if (privateKey) strlcpy(ocpp_config.privateKey, privateKey->valuestring, sizeof(ocpp_config.privateKey)); + + cJSON_Delete(json); + + // Responder com uma mensagem de sucesso + httpd_resp_sendstr(req, "Configuração OCPP atualizada com sucesso"); + + return ESP_OK; +} + +// Estrutura para armazenar as configurações +static struct { + int currentLimit; + int powerLimit; + int energyLimit; + int chargingTimeLimit; + int temperatureLimit; +} settings_config = {32, 0, 0, 0, 60}; + +// Manipulador para o endpoint POST /api/v1/config/settings +static esp_err_t config_settings_post_handler(httpd_req_t *req) +{ + char buf[512]; // Buffer para armazenar a requisição + int len = httpd_req_recv(req, buf, sizeof(buf) - 1); + if (len <= 0) { + httpd_resp_send_err(req, HTTPD_400_BAD_REQUEST, "Invalid request body"); + return ESP_FAIL; + } + buf[len] = '\0'; // Garantir que a string esteja terminada + + // Parse JSON recebido + cJSON *json = cJSON_Parse(buf); + if (json == NULL) { + httpd_resp_send_err(req, HTTPD_400_BAD_REQUEST, "Invalid JSON"); + return ESP_FAIL; + } + + // Atualizando as configurações + cJSON *currentLimit = cJSON_GetObjectItem(json, "currentLimit"); + if (currentLimit) settings_config.currentLimit = currentLimit->valueint; + + cJSON *powerLimit = cJSON_GetObjectItem(json, "powerLimit"); + if (powerLimit) settings_config.powerLimit = powerLimit->valueint; + + cJSON *energyLimit = cJSON_GetObjectItem(json, "energyLimit"); + if (energyLimit) settings_config.energyLimit = energyLimit->valueint; + + cJSON *chargingTimeLimit = cJSON_GetObjectItem(json, "chargingTimeLimit"); + if (chargingTimeLimit) settings_config.chargingTimeLimit = chargingTimeLimit->valueint; + + cJSON *temperatureLimit = cJSON_GetObjectItem(json, "temperatureLimit"); + if (temperatureLimit) settings_config.temperatureLimit = temperatureLimit->valueint; + + cJSON_Delete(json); + + // Responder com uma mensagem de sucesso + httpd_resp_sendstr(req, "Configurações de energia atualizadas com sucesso"); + + return ESP_OK; +} + + +// Manipulador para o endpoint GET /api/v1/config/settings +static esp_err_t config_settings_get_handler(httpd_req_t *req) +{ + httpd_resp_set_type(req, "application/json"); + + // Criar objeto JSON para enviar as configurações atuais + cJSON *config = cJSON_CreateObject(); + cJSON_AddNumberToObject(config, "currentLimit", settings_config.currentLimit); + cJSON_AddNumberToObject(config, "powerLimit", settings_config.powerLimit); + cJSON_AddNumberToObject(config, "energyLimit", settings_config.energyLimit); + cJSON_AddNumberToObject(config, "chargingTimeLimit", settings_config.chargingTimeLimit); + cJSON_AddNumberToObject(config, "temperatureLimit", settings_config.temperatureLimit); + + // Convertendo para string e enviando a resposta + const char *config_str = cJSON_Print(config); + httpd_resp_sendstr(req, config_str); + + // Liberando a memória + free((void *)config_str); + cJSON_Delete(config); + + return ESP_OK; +} + + +// Manipulador para o endpoint GET /api/v1/dashboard +static esp_err_t dashboard_get_handler(httpd_req_t *req) +{ + httpd_resp_set_type(req, "application/json"); + + // Criar objeto JSON com os dados do Dashboard + cJSON *dashboard = cJSON_CreateObject(); + + // Status do sistema + cJSON_AddStringToObject(dashboard, "status", "Ativo"); + + // Carregadores (exemplo) + cJSON *chargers = cJSON_CreateArray(); + cJSON *charger1 = cJSON_CreateObject(); + cJSON_AddNumberToObject(charger1, "id", 1); + cJSON_AddStringToObject(charger1, "status", "Ativo"); + cJSON_AddNumberToObject(charger1, "current", 12); + cJSON_AddNumberToObject(charger1, "power", 2200); + cJSON_AddItemToArray(chargers, charger1); + + cJSON_AddItemToObject(dashboard, "chargers", chargers); + + // Consumo de energia + cJSON_AddNumberToObject(dashboard, "energyConsumed", 50.3); + + // Tempo de carregamento + cJSON_AddNumberToObject(dashboard, "chargingTime", 120); + + // Alertas + cJSON *alerts = cJSON_CreateArray(); + cJSON_AddItemToArray(alerts, cJSON_CreateString("Aviso: Carregador 1 está com erro.")); + cJSON_AddItemToObject(dashboard, "alerts", alerts); + + // Convertendo para string e enviando a resposta + const char *dashboard_str = cJSON_Print(dashboard); + httpd_resp_sendstr(req, dashboard_str); + + // Liberando a memória + free((void *)dashboard_str); + cJSON_Delete(dashboard); + + return ESP_OK; +} + + +static esp_err_t config_wifi_get_handler(httpd_req_t *req) +{ + httpd_resp_set_type(req, "application/json"); + + // Criar objeto JSON com as configurações de Wi-Fi + cJSON *config = cJSON_CreateObject(); + cJSON_AddBoolToObject(config, "enabled", wifi_config.enabled); + cJSON_AddStringToObject(config, "ssid", wifi_config.ssid); + cJSON_AddStringToObject(config, "password", wifi_config.password); + + // Convertendo para string e enviando a resposta + const char *config_str = cJSON_Print(config); + httpd_resp_sendstr(req, config_str); + + // Liberando a memória + free((void *)config_str); + cJSON_Delete(config); + + return ESP_OK; +} + + +static esp_err_t config_wifi_post_handler(httpd_req_t *req) +{ + char buf[256]; // Buffer para armazenar a requisição + int len = httpd_req_recv(req, buf, sizeof(buf) - 1); + if (len <= 0) { + httpd_resp_send_err(req, HTTPD_400_BAD_REQUEST, "Invalid request body"); + return ESP_FAIL; + } + buf[len] = '\0'; // Garantir que a string esteja terminada + + // Parse JSON recebido + cJSON *json = cJSON_Parse(buf); + if (json == NULL) { + httpd_resp_send_err(req, HTTPD_400_BAD_REQUEST, "Invalid JSON"); + return ESP_FAIL; + } + + // Atualizando as configurações Wi-Fi + cJSON *enabled = cJSON_GetObjectItem(json, "enabled"); + if (enabled) wifi_config.enabled = enabled->valueint; + + cJSON *ssid = cJSON_GetObjectItem(json, "ssid"); + if (ssid) strlcpy(wifi_config.ssid, ssid->valuestring, sizeof(wifi_config.ssid)); + + cJSON *password = cJSON_GetObjectItem(json, "password"); + if (password) strlcpy(wifi_config.password, password->valuestring, sizeof(wifi_config.password)); + + cJSON_Delete(json); + + // Responder com uma mensagem de sucesso + httpd_resp_sendstr(req, "Configuração Wi-Fi atualizada com sucesso"); + + return ESP_OK; +} + + +static esp_err_t config_mqtt_get_handler(httpd_req_t *req) +{ + httpd_resp_set_type(req, "application/json"); + + // Criar objeto JSON com as configurações de MQTT + cJSON *config = cJSON_CreateObject(); + cJSON_AddBoolToObject(config, "enabled", mqtt_config.enabled); + cJSON_AddStringToObject(config, "host", mqtt_config.host); + cJSON_AddNumberToObject(config, "port", mqtt_config.port); + cJSON_AddStringToObject(config, "username", mqtt_config.username); + cJSON_AddStringToObject(config, "password", mqtt_config.password); + cJSON_AddStringToObject(config, "topic", mqtt_config.topic); + + // Convertendo para string e enviando a resposta + const char *config_str = cJSON_Print(config); + httpd_resp_sendstr(req, config_str); + + // Liberando a memória + free((void *)config_str); + cJSON_Delete(config); + + return ESP_OK; +} + + +static esp_err_t config_mqtt_post_handler(httpd_req_t *req) +{ + char buf[512]; // Buffer para armazenar a requisição + int len = httpd_req_recv(req, buf, sizeof(buf) - 1); + if (len <= 0) { + httpd_resp_send_err(req, HTTPD_400_BAD_REQUEST, "Invalid request body"); + return ESP_FAIL; + } + buf[len] = '\0'; // Garantir que a string esteja terminada + + // Parse JSON recebido + cJSON *json = cJSON_Parse(buf); + if (json == NULL) { + httpd_resp_send_err(req, HTTPD_400_BAD_REQUEST, "Invalid JSON"); + return ESP_FAIL; + } + + // Atualizando as configurações MQTT + cJSON *enabled = cJSON_GetObjectItem(json, "enabled"); + if (enabled) mqtt_config.enabled = enabled->valueint; + + cJSON *host = cJSON_GetObjectItem(json, "host"); + if (host) strlcpy(mqtt_config.host, host->valuestring, sizeof(mqtt_config.host)); + + cJSON *port = cJSON_GetObjectItem(json, "port"); + if (port) mqtt_config.port = port->valueint; + + cJSON *username = cJSON_GetObjectItem(json, "username"); + if (username) strlcpy(mqtt_config.username, username->valuestring, sizeof(mqtt_config.username)); + + cJSON *password = cJSON_GetObjectItem(json, "password"); + if (password) strlcpy(mqtt_config.password, password->valuestring, sizeof(mqtt_config.password)); + + cJSON *topic = cJSON_GetObjectItem(json, "topic"); + if (topic) strlcpy(mqtt_config.topic, topic->valuestring, sizeof(mqtt_config.topic)); + + cJSON_Delete(json); + + // Responder com uma mensagem de sucesso + httpd_resp_sendstr(req, "Configuração MQTT atualizada com sucesso"); + + return ESP_OK; +} + + + + esp_err_t rest_init(const char *base_path) { REST_CHECK(base_path, "wrong base path", err); rest_server_context_t *rest_context = calloc(1, sizeof(rest_server_context_t)); - REST_CHECK(rest_context, "No memory for rest context", err); + REST_CHECK(rest_context, "No memory for rest context", err_start); strlcpy(rest_context->base_path, base_path, sizeof(rest_context->base_path)); httpd_handle_t server = NULL; httpd_config_t config = HTTPD_DEFAULT_CONFIG(); + config.max_uri_handlers = 20; // Ajuste conforme necessário config.uri_match_fn = httpd_uri_match_wildcard; ESP_LOGI(REST_TAG, "Starting HTTP Server"); REST_CHECK(httpd_start(&server, &config) == ESP_OK, "Start server failed", err_start); - /* URI handler for fetching system info */ - httpd_uri_t system_info_get_uri = { - .uri = "/api/v1/system/info", + + /* URI handler for getting load balancing config */ + httpd_uri_t config_load_balancing_get_uri = { + .uri = "/api/v1/config/load-balancing", .method = HTTP_GET, - .handler = system_info_get_handler, + .handler = config_load_balancing_get_handler, .user_ctx = rest_context }; - httpd_register_uri_handler(server, &system_info_get_uri); + httpd_register_uri_handler(server, &config_load_balancing_get_uri); - /* URI handler for fetching temperature data */ - httpd_uri_t temperature_data_get_uri = { - .uri = "/api/v1/temp/raw", + + // URI handler for fetching OCPP status + httpd_uri_t ocpp_status_get_uri = { + .uri = "/api/v1/ocpp", .method = HTTP_GET, - .handler = temperature_data_get_handler, + .handler = ocpp_status_get_handler, .user_ctx = rest_context }; - httpd_register_uri_handler(server, &temperature_data_get_uri); + httpd_register_uri_handler(server, &ocpp_status_get_uri); - /* URI handler for light brightness control */ - httpd_uri_t light_brightness_post_uri = { - .uri = "/api/v1/light/brightness", + // URI handler for fetching OCPP config + httpd_uri_t config_ocpp_get_uri = { + .uri = "/api/v1/config/ocpp", + .method = HTTP_GET, + .handler = config_ocpp_get_handler, + .user_ctx = rest_context + }; + httpd_register_uri_handler(server, &config_ocpp_get_uri); + + // URI handler for posting OCPP config + httpd_uri_t config_ocpp_post_uri = { + .uri = "/api/v1/config/ocpp", .method = HTTP_POST, - .handler = light_brightness_post_handler, + .handler = config_ocpp_post_handler, .user_ctx = rest_context }; - httpd_register_uri_handler(server, &light_brightness_post_uri); + httpd_register_uri_handler(server, &config_ocpp_post_uri); - /* URI handler for getting web server files */ + // Manipulador para o endpoint POST /api/v1/config/settings + httpd_uri_t config_settings_post_uri = { + .uri = "/api/v1/config/settings", + .method = HTTP_POST, + .handler = config_settings_post_handler, + .user_ctx = rest_context + }; + httpd_register_uri_handler(server, &config_settings_post_uri); + + + // Manipulador para o endpoint GET /api/v1/config/settings + httpd_uri_t config_settings_get_uri = { + .uri = "/api/v1/config/settings", + .method = HTTP_GET, + .handler = config_settings_get_handler, + .user_ctx = rest_context + }; + httpd_register_uri_handler(server, &config_settings_get_uri); + + + // Manipulador para o endpoint GET /api/v1/dashboard + httpd_uri_t dashboard_get_uri = { + .uri = "/api/v1/dashboard", + .method = HTTP_GET, + .handler = dashboard_get_handler, + .user_ctx = rest_context + }; + httpd_register_uri_handler(server, &dashboard_get_uri); + + + /* Register URI Handlers */ + httpd_uri_t electrical_config_get_uri = { + .uri = "/api/v1/config/electrical", + .method = HTTP_GET, + .handler = electrical_config_get_handler, + .user_ctx = rest_context + }; + httpd_register_uri_handler(server, &electrical_config_get_uri); + + httpd_uri_t electrical_config_post_uri = { + .uri = "/api/v1/config/electrical", + .method = HTTP_POST, + .handler = electrical_config_post_handler, + .user_ctx = rest_context + }; + httpd_register_uri_handler(server, &electrical_config_post_uri); + +// URI handler for getting Wi-Fi config +httpd_uri_t config_wifi_get_uri = { + .uri = "/api/v1/config/wifi", + .method = HTTP_GET, + .handler = config_wifi_get_handler, + .user_ctx = rest_context +}; +httpd_register_uri_handler(server, &config_wifi_get_uri); + +// URI handler for posting Wi-Fi config +httpd_uri_t config_wifi_post_uri = { + .uri = "/api/v1/config/wifi", + .method = HTTP_POST, + .handler = config_wifi_post_handler, + .user_ctx = rest_context +}; +httpd_register_uri_handler(server, &config_wifi_post_uri); + +// URI handler for getting MQTT config +httpd_uri_t config_mqtt_get_uri = { + .uri = "/api/v1/config/mqtt", + .method = HTTP_GET, + .handler = config_mqtt_get_handler, + .user_ctx = rest_context +}; +httpd_register_uri_handler(server, &config_mqtt_get_uri); + +// URI handler for posting MQTT config +httpd_uri_t config_mqtt_post_uri = { + .uri = "/api/v1/config/mqtt", + .method = HTTP_POST, + .handler = config_mqtt_post_handler, + .user_ctx = rest_context +}; +httpd_register_uri_handler(server, &config_mqtt_post_uri); + + + /* URI handler for getting web server files */ httpd_uri_t common_get_uri = { .uri = "/*", .method = HTTP_GET, @@ -219,9 +710,11 @@ esp_err_t rest_init(const char *base_path) }; httpd_register_uri_handler(server, &common_get_uri); + return ESP_OK; + err_start: free(rest_context); err: return ESP_FAIL; -} +} \ No newline at end of file diff --git a/components/protocols/webfolder/assets/index-Ciq1ghIH.js b/components/protocols/webfolder/assets/index-Ciq1ghIH.js new file mode 100644 index 0000000..c1d5ffb --- /dev/null +++ b/components/protocols/webfolder/assets/index-Ciq1ghIH.js @@ -0,0 +1,51 @@ +(function(){const s=document.createElement("link").relList;if(s&&s.supports&&s.supports("modulepreload"))return;for(const d of document.querySelectorAll('link[rel="modulepreload"]'))r(d);new MutationObserver(d=>{for(const y of d)if(y.type==="childList")for(const E of y.addedNodes)E.tagName==="LINK"&&E.rel==="modulepreload"&&r(E)}).observe(document,{childList:!0,subtree:!0});function o(d){const y={};return d.integrity&&(y.integrity=d.integrity),d.referrerPolicy&&(y.referrerPolicy=d.referrerPolicy),d.crossOrigin==="use-credentials"?y.credentials="include":d.crossOrigin==="anonymous"?y.credentials="omit":y.credentials="same-origin",y}function r(d){if(d.ep)return;d.ep=!0;const y=o(d);fetch(d.href,y)}})();function Jd(c){return c&&c.__esModule&&Object.prototype.hasOwnProperty.call(c,"default")?c.default:c}var xf={exports:{}},zu={};/** + * @license React + * react-jsx-runtime.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var _d;function Uv(){if(_d)return zu;_d=1;var c=Symbol.for("react.transitional.element"),s=Symbol.for("react.fragment");function o(r,d,y){var E=null;if(y!==void 0&&(E=""+y),d.key!==void 0&&(E=""+d.key),"key"in d){y={};for(var N in d)N!=="key"&&(y[N]=d[N])}else y=d;return d=y.ref,{$$typeof:c,type:r,key:E,ref:d!==void 0?d:null,props:y}}return zu.Fragment=s,zu.jsx=o,zu.jsxs=o,zu}var jd;function Hv(){return jd||(jd=1,xf.exports=Uv()),xf.exports}var v=Hv(),Ef={exports:{}},et={};/** + * @license React + * react.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Cd;function Bv(){if(Cd)return et;Cd=1;var c=Symbol.for("react.transitional.element"),s=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),y=Symbol.for("react.consumer"),E=Symbol.for("react.context"),N=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),q=Symbol.iterator;function M(g){return g===null||typeof g!="object"?null:(g=q&&g[q]||g["@@iterator"],typeof g=="function"?g:null)}var w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},H=Object.assign,L={};function Z(g,B,Q){this.props=g,this.context=B,this.refs=L,this.updater=Q||w}Z.prototype.isReactComponent={},Z.prototype.setState=function(g,B){if(typeof g!="object"&&typeof g!="function"&&g!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,g,B,"setState")},Z.prototype.forceUpdate=function(g){this.updater.enqueueForceUpdate(this,g,"forceUpdate")};function C(){}C.prototype=Z.prototype;function Y(g,B,Q){this.props=g,this.context=B,this.refs=L,this.updater=Q||w}var P=Y.prototype=new C;P.constructor=Y,H(P,Z.prototype),P.isPureReactComponent=!0;var ct=Array.isArray,I={H:null,A:null,T:null,S:null,V:null},Dt=Object.prototype.hasOwnProperty;function At(g,B,Q,G,J,ft){return Q=ft.ref,{$$typeof:c,type:g,key:B,ref:Q!==void 0?Q:null,props:ft}}function zt(g,B){return At(g.type,B,void 0,void 0,void 0,g.props)}function bt(g){return typeof g=="object"&&g!==null&&g.$$typeof===c}function Jt(g){var B={"=":"=0",":":"=2"};return"$"+g.replace(/[=:]/g,function(Q){return B[Q]})}var se=/\/+/g;function Xt(g,B){return typeof g=="object"&&g!==null&&g.key!=null?Jt(""+g.key):B.toString(36)}function xl(){}function El(g){switch(g.status){case"fulfilled":return g.value;case"rejected":throw g.reason;default:switch(typeof g.status=="string"?g.then(xl,xl):(g.status="pending",g.then(function(B){g.status==="pending"&&(g.status="fulfilled",g.value=B)},function(B){g.status==="pending"&&(g.status="rejected",g.reason=B)})),g.status){case"fulfilled":return g.value;case"rejected":throw g.reason}}throw g}function Qt(g,B,Q,G,J){var ft=typeof g;(ft==="undefined"||ft==="boolean")&&(g=null);var tt=!1;if(g===null)tt=!0;else switch(ft){case"bigint":case"string":case"number":tt=!0;break;case"object":switch(g.$$typeof){case c:case s:tt=!0;break;case O:return tt=g._init,Qt(tt(g._payload),B,Q,G,J)}}if(tt)return J=J(g),tt=G===""?"."+Xt(g,0):G,ct(J)?(Q="",tt!=null&&(Q=tt.replace(se,"$&/")+"/"),Qt(J,B,Q,"",function($e){return $e})):J!=null&&(bt(J)&&(J=zt(J,Q+(J.key==null||g&&g.key===J.key?"":(""+J.key).replace(se,"$&/")+"/")+tt)),B.push(J)),1;tt=0;var te=G===""?".":G+":";if(ct(g))for(var St=0;St>>1,g=_[yt];if(0>>1;ytd(G,W))Jd(ft,G)?(_[yt]=ft,_[J]=W,yt=J):(_[yt]=G,_[Q]=W,yt=Q);else if(Jd(ft,W))_[yt]=ft,_[J]=W,yt=J;else break t}}return X}function d(_,X){var W=_.sortIndex-X.sortIndex;return W!==0?W:_.id-X.id}if(c.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var y=performance;c.unstable_now=function(){return y.now()}}else{var E=Date,N=E.now();c.unstable_now=function(){return E.now()-N}}var b=[],h=[],O=1,q=null,M=3,w=!1,H=!1,L=!1,Z=!1,C=typeof setTimeout=="function"?setTimeout:null,Y=typeof clearTimeout=="function"?clearTimeout:null,P=typeof setImmediate<"u"?setImmediate:null;function ct(_){for(var X=o(h);X!==null;){if(X.callback===null)r(h);else if(X.startTime<=_)r(h),X.sortIndex=X.expirationTime,s(b,X);else break;X=o(h)}}function I(_){if(L=!1,ct(_),!H)if(o(b)!==null)H=!0,Dt||(Dt=!0,Xt());else{var X=o(h);X!==null&&Qt(I,X.startTime-_)}}var Dt=!1,At=-1,zt=5,bt=-1;function Jt(){return Z?!0:!(c.unstable_now()-bt_&&Jt());){var yt=q.callback;if(typeof yt=="function"){q.callback=null,M=q.priorityLevel;var g=yt(q.expirationTime<=_);if(_=c.unstable_now(),typeof g=="function"){q.callback=g,ct(_),X=!0;break e}q===o(b)&&r(b),ct(_)}else r(b);q=o(b)}if(q!==null)X=!0;else{var B=o(h);B!==null&&Qt(I,B.startTime-_),X=!1}}break t}finally{q=null,M=W,w=!1}X=void 0}}finally{X?Xt():Dt=!1}}}var Xt;if(typeof P=="function")Xt=function(){P(se)};else if(typeof MessageChannel<"u"){var xl=new MessageChannel,El=xl.port2;xl.port1.onmessage=se,Xt=function(){El.postMessage(null)}}else Xt=function(){C(se,0)};function Qt(_,X){At=C(function(){_(c.unstable_now())},X)}c.unstable_IdlePriority=5,c.unstable_ImmediatePriority=1,c.unstable_LowPriority=4,c.unstable_NormalPriority=3,c.unstable_Profiling=null,c.unstable_UserBlockingPriority=2,c.unstable_cancelCallback=function(_){_.callback=null},c.unstable_forceFrameRate=function(_){0>_||125<_?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):zt=0<_?Math.floor(1e3/_):5},c.unstable_getCurrentPriorityLevel=function(){return M},c.unstable_next=function(_){switch(M){case 1:case 2:case 3:var X=3;break;default:X=M}var W=M;M=X;try{return _()}finally{M=W}},c.unstable_requestPaint=function(){Z=!0},c.unstable_runWithPriority=function(_,X){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var W=M;M=_;try{return X()}finally{M=W}},c.unstable_scheduleCallback=function(_,X,W){var yt=c.unstable_now();switch(typeof W=="object"&&W!==null?(W=W.delay,W=typeof W=="number"&&0yt?(_.sortIndex=W,s(h,_),o(b)===null&&_===o(h)&&(L?(Y(At),At=-1):L=!0,Qt(I,W-yt))):(_.sortIndex=g,s(b,_),H||w||(H=!0,Dt||(Dt=!0,Xt()))),_},c.unstable_shouldYield=Jt,c.unstable_wrapCallback=function(_){var X=M;return function(){var W=M;M=X;try{return _.apply(this,arguments)}finally{M=W}}}}(Rf)),Rf}var Bd;function wv(){return Bd||(Bd=1,Af.exports=Yv()),Af.exports}var Of={exports:{}},Kt={};/** + * @license React + * react-dom.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var qd;function Lv(){if(qd)return Kt;qd=1;var c=_f();function s(b){var h="https://react.dev/errors/"+b;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(c)}catch(s){console.error(s)}}return c(),Of.exports=Lv(),Of.exports}/** + * @license React + * react-dom-client.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var wd;function Xv(){if(wd)return Mu;wd=1;var c=wv(),s=_f(),o=Gv();function r(t){var e="https://react.dev/errors/"+t;if(1g||(t.current=yt[g],yt[g]=null,g--)}function G(t,e){g++,yt[g]=t.current,t.current=e}var J=B(null),ft=B(null),tt=B(null),te=B(null);function St(t,e){switch(G(tt,e),G(ft,t),G(J,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?nd(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=nd(e),t=id(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}Q(J),G(J,t)}function $e(){Q(J),Q(ft),Q(tt)}function ni(t){t.memoizedState!==null&&G(te,t);var e=J.current,l=id(e,t.type);e!==l&&(G(ft,t),G(J,l))}function Bu(t){ft.current===t&&(Q(J),Q(ft)),te.current===t&&(Q(te),Eu._currentValue=W)}var ii=Object.prototype.hasOwnProperty,ci=c.unstable_scheduleCallback,fi=c.unstable_cancelCallback,dh=c.unstable_shouldYield,hh=c.unstable_requestPaint,Te=c.unstable_now,mh=c.unstable_getCurrentPriorityLevel,Yf=c.unstable_ImmediatePriority,wf=c.unstable_UserBlockingPriority,qu=c.unstable_NormalPriority,vh=c.unstable_LowPriority,Lf=c.unstable_IdlePriority,yh=c.log,gh=c.unstable_setDisableYieldValue,Da=null,ee=null;function We(t){if(typeof yh=="function"&&gh(t),ee&&typeof ee.setStrictMode=="function")try{ee.setStrictMode(Da,t)}catch{}}var le=Math.clz32?Math.clz32:Sh,ph=Math.log,bh=Math.LN2;function Sh(t){return t>>>=0,t===0?32:31-(ph(t)/bh|0)|0}var Yu=256,wu=4194304;function Tl(t){var e=t&42;if(e!==0)return e;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Lu(t,e,l){var a=t.pendingLanes;if(a===0)return 0;var u=0,n=t.suspendedLanes,i=t.pingedLanes;t=t.warmLanes;var f=a&134217727;return f!==0?(a=f&~n,a!==0?u=Tl(a):(i&=f,i!==0?u=Tl(i):l||(l=f&~t,l!==0&&(u=Tl(l))))):(f=a&~n,f!==0?u=Tl(f):i!==0?u=Tl(i):l||(l=a&~t,l!==0&&(u=Tl(l)))),u===0?0:e!==0&&e!==u&&(e&n)===0&&(n=u&-u,l=e&-e,n>=l||n===32&&(l&4194048)!==0)?e:u}function _a(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function xh(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Gf(){var t=Yu;return Yu<<=1,(Yu&4194048)===0&&(Yu=256),t}function Xf(){var t=wu;return wu<<=1,(wu&62914560)===0&&(wu=4194304),t}function ri(t){for(var e=[],l=0;31>l;l++)e.push(t);return e}function ja(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Eh(t,e,l,a,u,n){var i=t.pendingLanes;t.pendingLanes=l,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=l,t.entangledLanes&=l,t.errorRecoveryDisabledLanes&=l,t.shellSuspendCounter=0;var f=t.entanglements,m=t.expirationTimes,T=t.hiddenUpdates;for(l=i&~l;0)":-1u||m[a]!==T[u]){var D=` +`+m[a].replace(" at new "," at ");return t.displayName&&D.includes("")&&(D=D.replace("",t.displayName)),D}while(1<=a&&0<=u);break}}}finally{vi=!1,Error.prepareStackTrace=l}return(l=t?t.displayName||t.name:"")?kl(l):""}function Mh(t){switch(t.tag){case 26:case 27:case 5:return kl(t.type);case 16:return kl("Lazy");case 13:return kl("Suspense");case 19:return kl("SuspenseList");case 0:case 15:return yi(t.type,!1);case 11:return yi(t.type.render,!1);case 1:return yi(t.type,!0);case 31:return kl("Activity");default:return""}}function Pf(t){try{var e="";do e+=Mh(t),t=t.return;while(t);return e}catch(l){return` +Error generating stack: `+l.message+` +`+l.stack}}function oe(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function If(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function Nh(t){var e=If(t)?"checked":"value",l=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),a=""+t[e];if(!t.hasOwnProperty(e)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var u=l.get,n=l.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return u.call(this)},set:function(i){a=""+i,n.call(this,i)}}),Object.defineProperty(t,e,{enumerable:l.enumerable}),{getValue:function(){return a},setValue:function(i){a=""+i},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function Qu(t){t._valueTracker||(t._valueTracker=Nh(t))}function tr(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var l=e.getValue(),a="";return t&&(a=If(t)?t.checked?"true":"false":t.value),t=a,t!==l?(e.setValue(t),!0):!1}function Zu(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var Dh=/[\n"\\]/g;function de(t){return t.replace(Dh,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function gi(t,e,l,a,u,n,i,f){t.name="",i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"?t.type=i:t.removeAttribute("type"),e!=null?i==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+oe(e)):t.value!==""+oe(e)&&(t.value=""+oe(e)):i!=="submit"&&i!=="reset"||t.removeAttribute("value"),e!=null?pi(t,i,oe(e)):l!=null?pi(t,i,oe(l)):a!=null&&t.removeAttribute("value"),u==null&&n!=null&&(t.defaultChecked=!!n),u!=null&&(t.checked=u&&typeof u!="function"&&typeof u!="symbol"),f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"?t.name=""+oe(f):t.removeAttribute("name")}function er(t,e,l,a,u,n,i,f){if(n!=null&&typeof n!="function"&&typeof n!="symbol"&&typeof n!="boolean"&&(t.type=n),e!=null||l!=null){if(!(n!=="submit"&&n!=="reset"||e!=null))return;l=l!=null?""+oe(l):"",e=e!=null?""+oe(e):l,f||e===t.value||(t.value=e),t.defaultValue=e}a=a??u,a=typeof a!="function"&&typeof a!="symbol"&&!!a,t.checked=f?t.checked:!!a,t.defaultChecked=!!a,i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(t.name=i)}function pi(t,e,l){e==="number"&&Zu(t.ownerDocument)===t||t.defaultValue===""+l||(t.defaultValue=""+l)}function $l(t,e,l,a){if(t=t.options,e){e={};for(var u=0;u"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ti=!1;if(je)try{var Ba={};Object.defineProperty(Ba,"passive",{get:function(){Ti=!0}}),window.addEventListener("test",Ba,Ba),window.removeEventListener("test",Ba,Ba)}catch{Ti=!1}var Pe=null,Ai=null,Ku=null;function fr(){if(Ku)return Ku;var t,e=Ai,l=e.length,a,u="value"in Pe?Pe.value:Pe.textContent,n=u.length;for(t=0;t=wa),mr=" ",vr=!1;function yr(t,e){switch(t){case"keyup":return um.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function gr(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Il=!1;function im(t,e){switch(t){case"compositionend":return gr(e);case"keypress":return e.which!==32?null:(vr=!0,mr);case"textInput":return t=e.data,t===mr&&vr?null:t;default:return null}}function cm(t,e){if(Il)return t==="compositionend"||!Ni&&yr(t,e)?(t=fr(),Ku=Ai=Pe=null,Il=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1=e)return{node:l,offset:e-t};t=a}t:{for(;l;){if(l.nextSibling){l=l.nextSibling;break t}l=l.parentNode}l=void 0}l=Rr(l)}}function zr(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?zr(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Mr(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=Zu(t.document);e instanceof t.HTMLIFrameElement;){try{var l=typeof e.contentWindow.location.href=="string"}catch{l=!1}if(l)t=e.contentWindow;else break;e=Zu(t.document)}return e}function ji(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var vm=je&&"documentMode"in document&&11>=document.documentMode,ta=null,Ci=null,Qa=null,Ui=!1;function Nr(t,e,l){var a=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Ui||ta==null||ta!==Zu(a)||(a=ta,"selectionStart"in a&&ji(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),Qa&&Xa(Qa,a)||(Qa=a,a=qn(Ci,"onSelect"),0>=i,u-=i,Ue=1<<32-le(e)+u|l<n?n:8;var i=_.T,f={};_.T=f,bc(t,!1,e,l);try{var m=u(),T=_.S;if(T!==null&&T(f,m),m!==null&&typeof m=="object"&&typeof m.then=="function"){var D=Am(m,a);uu(t,e,D,fe(t))}else uu(t,e,a,fe(t))}catch(U){uu(t,e,{then:function(){},status:"rejected",reason:U},fe())}finally{X.p=n,_.T=i}}function Nm(){}function gc(t,e,l,a){if(t.tag!==5)throw Error(r(476));var u=Ds(t).queue;Ns(t,u,e,W,l===null?Nm:function(){return _s(t),l(a)})}function Ds(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:W,baseState:W,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ye,lastRenderedState:W},next:null};var l={};return e.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ye,lastRenderedState:l},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function _s(t){var e=Ds(t).next.queue;uu(t,e,{},fe())}function pc(){return Vt(Eu)}function js(){return jt().memoizedState}function Cs(){return jt().memoizedState}function Dm(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var l=fe();t=el(l);var a=ll(e,t,l);a!==null&&(re(a,e,l),Pa(a,e,l)),e={cache:ki()},t.payload=e;return}e=e.return}}function _m(t,e,l){var a=fe();l={lane:a,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null},gn(t)?Hs(e,l):(l=Yi(t,e,l,a),l!==null&&(re(l,t,a),Bs(l,e,a)))}function Us(t,e,l){var a=fe();uu(t,e,l,a)}function uu(t,e,l,a){var u={lane:a,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null};if(gn(t))Hs(e,u);else{var n=t.alternate;if(t.lanes===0&&(n===null||n.lanes===0)&&(n=e.lastRenderedReducer,n!==null))try{var i=e.lastRenderedState,f=n(i,l);if(u.hasEagerState=!0,u.eagerState=f,ae(f,i))return Iu(t,e,u,0),pt===null&&Pu(),!1}catch{}finally{}if(l=Yi(t,e,u,a),l!==null)return re(l,t,a),Bs(l,e,a),!0}return!1}function bc(t,e,l,a){if(a={lane:2,revertLane:Fc(),action:a,hasEagerState:!1,eagerState:null,next:null},gn(t)){if(e)throw Error(r(479))}else e=Yi(t,l,a,2),e!==null&&re(e,t,2)}function gn(t){var e=t.alternate;return t===lt||e!==null&&e===lt}function Hs(t,e){sa=on=!0;var l=t.pending;l===null?e.next=e:(e.next=l.next,l.next=e),t.pending=e}function Bs(t,e,l){if((l&4194048)!==0){var a=e.lanes;a&=t.pendingLanes,l|=a,e.lanes=l,Zf(t,l)}}var pn={readContext:Vt,use:hn,useCallback:Mt,useContext:Mt,useEffect:Mt,useImperativeHandle:Mt,useLayoutEffect:Mt,useInsertionEffect:Mt,useMemo:Mt,useReducer:Mt,useRef:Mt,useState:Mt,useDebugValue:Mt,useDeferredValue:Mt,useTransition:Mt,useSyncExternalStore:Mt,useId:Mt,useHostTransitionStatus:Mt,useFormState:Mt,useActionState:Mt,useOptimistic:Mt,useMemoCache:Mt,useCacheRefresh:Mt},qs={readContext:Vt,use:hn,useCallback:function(t,e){return Ft().memoizedState=[t,e===void 0?null:e],t},useContext:Vt,useEffect:Ss,useImperativeHandle:function(t,e,l){l=l!=null?l.concat([t]):null,yn(4194308,4,As.bind(null,e,t),l)},useLayoutEffect:function(t,e){return yn(4194308,4,t,e)},useInsertionEffect:function(t,e){yn(4,2,t,e)},useMemo:function(t,e){var l=Ft();e=e===void 0?null:e;var a=t();if(Bl){We(!0);try{t()}finally{We(!1)}}return l.memoizedState=[a,e],a},useReducer:function(t,e,l){var a=Ft();if(l!==void 0){var u=l(e);if(Bl){We(!0);try{l(e)}finally{We(!1)}}}else u=e;return a.memoizedState=a.baseState=u,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:u},a.queue=t,t=t.dispatch=_m.bind(null,lt,t),[a.memoizedState,t]},useRef:function(t){var e=Ft();return t={current:t},e.memoizedState=t},useState:function(t){t=hc(t);var e=t.queue,l=Us.bind(null,lt,e);return e.dispatch=l,[t.memoizedState,l]},useDebugValue:vc,useDeferredValue:function(t,e){var l=Ft();return yc(l,t,e)},useTransition:function(){var t=hc(!1);return t=Ns.bind(null,lt,t.queue,!0,!1),Ft().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,l){var a=lt,u=Ft();if(st){if(l===void 0)throw Error(r(407));l=l()}else{if(l=e(),pt===null)throw Error(r(349));(it&124)!==0||us(a,e,l)}u.memoizedState=l;var n={value:l,getSnapshot:e};return u.queue=n,Ss(is.bind(null,a,n,t),[t]),a.flags|=2048,da(9,vn(),ns.bind(null,a,n,l,e),null),l},useId:function(){var t=Ft(),e=pt.identifierPrefix;if(st){var l=He,a=Ue;l=(a&~(1<<32-le(a)-1)).toString(32)+l,e="«"+e+"R"+l,l=dn++,0$?(Yt=K,K=null):Yt=K.sibling;var rt=A(S,K,x[$],j);if(rt===null){K===null&&(K=Yt);break}t&&K&&rt.alternate===null&&e(S,K),p=n(rt,p,$),at===null?V=rt:at.sibling=rt,at=rt,K=Yt}if($===x.length)return l(S,K),st&&Dl(S,$),V;if(K===null){for(;$$?(Yt=K,K=null):Yt=K.sibling;var bl=A(S,K,rt.value,j);if(bl===null){K===null&&(K=Yt);break}t&&K&&bl.alternate===null&&e(S,K),p=n(bl,p,$),at===null?V=bl:at.sibling=bl,at=bl,K=Yt}if(rt.done)return l(S,K),st&&Dl(S,$),V;if(K===null){for(;!rt.done;$++,rt=x.next())rt=U(S,rt.value,j),rt!==null&&(p=n(rt,p,$),at===null?V=rt:at.sibling=rt,at=rt);return st&&Dl(S,$),V}for(K=a(K);!rt.done;$++,rt=x.next())rt=R(K,S,$,rt.value,j),rt!==null&&(t&&rt.alternate!==null&&K.delete(rt.key===null?$:rt.key),p=n(rt,p,$),at===null?V=rt:at.sibling=rt,at=rt);return t&&K.forEach(function(Cv){return e(S,Cv)}),st&&Dl(S,$),V}function vt(S,p,x,j){if(typeof x=="object"&&x!==null&&x.type===H&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case M:t:{for(var V=x.key;p!==null;){if(p.key===V){if(V=x.type,V===H){if(p.tag===7){l(S,p.sibling),j=u(p,x.props.children),j.return=S,S=j;break t}}else if(p.elementType===V||typeof V=="object"&&V!==null&&V.$$typeof===zt&&ws(V)===p.type){l(S,p.sibling),j=u(p,x.props),iu(j,x),j.return=S,S=j;break t}l(S,p);break}else e(S,p);p=p.sibling}x.type===H?(j=Ml(x.props.children,S.mode,j,x.key),j.return=S,S=j):(j=en(x.type,x.key,x.props,null,S.mode,j),iu(j,x),j.return=S,S=j)}return i(S);case w:t:{for(V=x.key;p!==null;){if(p.key===V)if(p.tag===4&&p.stateNode.containerInfo===x.containerInfo&&p.stateNode.implementation===x.implementation){l(S,p.sibling),j=u(p,x.children||[]),j.return=S,S=j;break t}else{l(S,p);break}else e(S,p);p=p.sibling}j=Gi(x,S.mode,j),j.return=S,S=j}return i(S);case zt:return V=x._init,x=V(x._payload),vt(S,p,x,j)}if(Qt(x))return F(S,p,x,j);if(Xt(x)){if(V=Xt(x),typeof V!="function")throw Error(r(150));return x=V.call(x),k(S,p,x,j)}if(typeof x.then=="function")return vt(S,p,bn(x),j);if(x.$$typeof===P)return vt(S,p,nn(S,x),j);Sn(S,x)}return typeof x=="string"&&x!==""||typeof x=="number"||typeof x=="bigint"?(x=""+x,p!==null&&p.tag===6?(l(S,p.sibling),j=u(p,x),j.return=S,S=j):(l(S,p),j=Li(x,S.mode,j),j.return=S,S=j),i(S)):l(S,p)}return function(S,p,x,j){try{nu=0;var V=vt(S,p,x,j);return ha=null,V}catch(K){if(K===Wa||K===fn)throw K;var at=ue(29,K,null,S.mode);return at.lanes=j,at.return=S,at}finally{}}}var ma=Ls(!0),Gs=Ls(!1),ge=B(null),Re=null;function ul(t){var e=t.alternate;G(Ut,Ut.current&1),G(ge,t),Re===null&&(e===null||ra.current!==null||e.memoizedState!==null)&&(Re=t)}function Xs(t){if(t.tag===22){if(G(Ut,Ut.current),G(ge,t),Re===null){var e=t.alternate;e!==null&&e.memoizedState!==null&&(Re=t)}}else nl()}function nl(){G(Ut,Ut.current),G(ge,ge.current)}function we(t){Q(ge),Re===t&&(Re=null),Q(Ut)}var Ut=B(0);function xn(t){for(var e=t;e!==null;){if(e.tag===13){var l=e.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||l.data==="$?"||sf(l)))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}function Sc(t,e,l,a){e=t.memoizedState,l=l(a,e),l=l==null?e:O({},e,l),t.memoizedState=l,t.lanes===0&&(t.updateQueue.baseState=l)}var xc={enqueueSetState:function(t,e,l){t=t._reactInternals;var a=fe(),u=el(a);u.payload=e,l!=null&&(u.callback=l),e=ll(t,u,a),e!==null&&(re(e,t,a),Pa(e,t,a))},enqueueReplaceState:function(t,e,l){t=t._reactInternals;var a=fe(),u=el(a);u.tag=1,u.payload=e,l!=null&&(u.callback=l),e=ll(t,u,a),e!==null&&(re(e,t,a),Pa(e,t,a))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var l=fe(),a=el(l);a.tag=2,e!=null&&(a.callback=e),e=ll(t,a,l),e!==null&&(re(e,t,l),Pa(e,t,l))}};function Qs(t,e,l,a,u,n,i){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(a,n,i):e.prototype&&e.prototype.isPureReactComponent?!Xa(l,a)||!Xa(u,n):!0}function Zs(t,e,l,a){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(l,a),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(l,a),e.state!==t&&xc.enqueueReplaceState(e,e.state,null)}function ql(t,e){var l=e;if("ref"in e){l={};for(var a in e)a!=="ref"&&(l[a]=e[a])}if(t=t.defaultProps){l===e&&(l=O({},l));for(var u in t)l[u]===void 0&&(l[u]=t[u])}return l}var En=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)};function Vs(t){En(t)}function Ks(t){console.error(t)}function Js(t){En(t)}function Tn(t,e){try{var l=t.onUncaughtError;l(e.value,{componentStack:e.stack})}catch(a){setTimeout(function(){throw a})}}function ks(t,e,l){try{var a=t.onCaughtError;a(l.value,{componentStack:l.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(u){setTimeout(function(){throw u})}}function Ec(t,e,l){return l=el(l),l.tag=3,l.payload={element:null},l.callback=function(){Tn(t,e)},l}function $s(t){return t=el(t),t.tag=3,t}function Ws(t,e,l,a){var u=l.type.getDerivedStateFromError;if(typeof u=="function"){var n=a.value;t.payload=function(){return u(n)},t.callback=function(){ks(e,l,a)}}var i=l.stateNode;i!==null&&typeof i.componentDidCatch=="function"&&(t.callback=function(){ks(e,l,a),typeof u!="function"&&(ol===null?ol=new Set([this]):ol.add(this));var f=a.stack;this.componentDidCatch(a.value,{componentStack:f!==null?f:""})})}function Cm(t,e,l,a,u){if(l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(e=l.alternate,e!==null&&Ja(e,l,u,!0),l=ge.current,l!==null){switch(l.tag){case 13:return Re===null?Kc():l.alternate===null&&Ot===0&&(Ot=3),l.flags&=-257,l.flags|=65536,l.lanes=u,a===Fi?l.flags|=16384:(e=l.updateQueue,e===null?l.updateQueue=new Set([a]):e.add(a),kc(t,a,u)),!1;case 22:return l.flags|=65536,a===Fi?l.flags|=16384:(e=l.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([a])},l.updateQueue=e):(l=e.retryQueue,l===null?e.retryQueue=new Set([a]):l.add(a)),kc(t,a,u)),!1}throw Error(r(435,l.tag))}return kc(t,a,u),Kc(),!1}if(st)return e=ge.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=u,a!==Zi&&(t=Error(r(422),{cause:a}),Ka(he(t,l)))):(a!==Zi&&(e=Error(r(423),{cause:a}),Ka(he(e,l))),t=t.current.alternate,t.flags|=65536,u&=-u,t.lanes|=u,a=he(a,l),u=Ec(t.stateNode,a,u),tc(t,u),Ot!==4&&(Ot=2)),!1;var n=Error(r(520),{cause:a});if(n=he(n,l),hu===null?hu=[n]:hu.push(n),Ot!==4&&(Ot=2),e===null)return!0;a=he(a,l),l=e;do{switch(l.tag){case 3:return l.flags|=65536,t=u&-u,l.lanes|=t,t=Ec(l.stateNode,a,t),tc(l,t),!1;case 1:if(e=l.type,n=l.stateNode,(l.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||n!==null&&typeof n.componentDidCatch=="function"&&(ol===null||!ol.has(n))))return l.flags|=65536,u&=-u,l.lanes|=u,u=$s(u),Ws(u,t,l,a),tc(l,u),!1}l=l.return}while(l!==null);return!1}var Fs=Error(r(461)),Bt=!1;function wt(t,e,l,a){e.child=t===null?Gs(e,null,l,a):ma(e,t.child,l,a)}function Ps(t,e,l,a,u){l=l.render;var n=e.ref;if("ref"in a){var i={};for(var f in a)f!=="ref"&&(i[f]=a[f])}else i=a;return Ul(e),a=nc(t,e,l,i,n,u),f=ic(),t!==null&&!Bt?(cc(t,e,u),Le(t,e,u)):(st&&f&&Xi(e),e.flags|=1,wt(t,e,a,u),e.child)}function Is(t,e,l,a,u){if(t===null){var n=l.type;return typeof n=="function"&&!wi(n)&&n.defaultProps===void 0&&l.compare===null?(e.tag=15,e.type=n,to(t,e,n,a,u)):(t=en(l.type,null,a,e,e.mode,u),t.ref=e.ref,t.return=e,e.child=t)}if(n=t.child,!Dc(t,u)){var i=n.memoizedProps;if(l=l.compare,l=l!==null?l:Xa,l(i,a)&&t.ref===e.ref)return Le(t,e,u)}return e.flags|=1,t=Ce(n,a),t.ref=e.ref,t.return=e,e.child=t}function to(t,e,l,a,u){if(t!==null){var n=t.memoizedProps;if(Xa(n,a)&&t.ref===e.ref)if(Bt=!1,e.pendingProps=a=n,Dc(t,u))(t.flags&131072)!==0&&(Bt=!0);else return e.lanes=t.lanes,Le(t,e,u)}return Tc(t,e,l,a,u)}function eo(t,e,l){var a=e.pendingProps,u=a.children,n=t!==null?t.memoizedState:null;if(a.mode==="hidden"){if((e.flags&128)!==0){if(a=n!==null?n.baseLanes|l:l,t!==null){for(u=e.child=t.child,n=0;u!==null;)n=n|u.lanes|u.childLanes,u=u.sibling;e.childLanes=n&~a}else e.childLanes=0,e.child=null;return lo(t,e,a,l)}if((l&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&cn(e,n!==null?n.cachePool:null),n!==null?ts(e,n):lc(),Xs(e);else return e.lanes=e.childLanes=536870912,lo(t,e,n!==null?n.baseLanes|l:l,l)}else n!==null?(cn(e,n.cachePool),ts(e,n),nl(),e.memoizedState=null):(t!==null&&cn(e,null),lc(),nl());return wt(t,e,u,l),e.child}function lo(t,e,l,a){var u=Wi();return u=u===null?null:{parent:Ct._currentValue,pool:u},e.memoizedState={baseLanes:l,cachePool:u},t!==null&&cn(e,null),lc(),Xs(e),t!==null&&Ja(t,e,a,!0),null}function An(t,e){var l=e.ref;if(l===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(r(284));(t===null||t.ref!==l)&&(e.flags|=4194816)}}function Tc(t,e,l,a,u){return Ul(e),l=nc(t,e,l,a,void 0,u),a=ic(),t!==null&&!Bt?(cc(t,e,u),Le(t,e,u)):(st&&a&&Xi(e),e.flags|=1,wt(t,e,l,u),e.child)}function ao(t,e,l,a,u,n){return Ul(e),e.updateQueue=null,l=ls(e,a,l,u),es(t),a=ic(),t!==null&&!Bt?(cc(t,e,n),Le(t,e,n)):(st&&a&&Xi(e),e.flags|=1,wt(t,e,l,n),e.child)}function uo(t,e,l,a,u){if(Ul(e),e.stateNode===null){var n=ua,i=l.contextType;typeof i=="object"&&i!==null&&(n=Vt(i)),n=new l(a,n),e.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=xc,e.stateNode=n,n._reactInternals=e,n=e.stateNode,n.props=a,n.state=e.memoizedState,n.refs={},Pi(e),i=l.contextType,n.context=typeof i=="object"&&i!==null?Vt(i):ua,n.state=e.memoizedState,i=l.getDerivedStateFromProps,typeof i=="function"&&(Sc(e,l,i,a),n.state=e.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof n.getSnapshotBeforeUpdate=="function"||typeof n.UNSAFE_componentWillMount!="function"&&typeof n.componentWillMount!="function"||(i=n.state,typeof n.componentWillMount=="function"&&n.componentWillMount(),typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount(),i!==n.state&&xc.enqueueReplaceState(n,n.state,null),tu(e,a,n,u),Ia(),n.state=e.memoizedState),typeof n.componentDidMount=="function"&&(e.flags|=4194308),a=!0}else if(t===null){n=e.stateNode;var f=e.memoizedProps,m=ql(l,f);n.props=m;var T=n.context,D=l.contextType;i=ua,typeof D=="object"&&D!==null&&(i=Vt(D));var U=l.getDerivedStateFromProps;D=typeof U=="function"||typeof n.getSnapshotBeforeUpdate=="function",f=e.pendingProps!==f,D||typeof n.UNSAFE_componentWillReceiveProps!="function"&&typeof n.componentWillReceiveProps!="function"||(f||T!==i)&&Zs(e,n,a,i),tl=!1;var A=e.memoizedState;n.state=A,tu(e,a,n,u),Ia(),T=e.memoizedState,f||A!==T||tl?(typeof U=="function"&&(Sc(e,l,U,a),T=e.memoizedState),(m=tl||Qs(e,l,m,a,A,T,i))?(D||typeof n.UNSAFE_componentWillMount!="function"&&typeof n.componentWillMount!="function"||(typeof n.componentWillMount=="function"&&n.componentWillMount(),typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount()),typeof n.componentDidMount=="function"&&(e.flags|=4194308)):(typeof n.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=a,e.memoizedState=T),n.props=a,n.state=T,n.context=i,a=m):(typeof n.componentDidMount=="function"&&(e.flags|=4194308),a=!1)}else{n=e.stateNode,Ii(t,e),i=e.memoizedProps,D=ql(l,i),n.props=D,U=e.pendingProps,A=n.context,T=l.contextType,m=ua,typeof T=="object"&&T!==null&&(m=Vt(T)),f=l.getDerivedStateFromProps,(T=typeof f=="function"||typeof n.getSnapshotBeforeUpdate=="function")||typeof n.UNSAFE_componentWillReceiveProps!="function"&&typeof n.componentWillReceiveProps!="function"||(i!==U||A!==m)&&Zs(e,n,a,m),tl=!1,A=e.memoizedState,n.state=A,tu(e,a,n,u),Ia();var R=e.memoizedState;i!==U||A!==R||tl||t!==null&&t.dependencies!==null&&un(t.dependencies)?(typeof f=="function"&&(Sc(e,l,f,a),R=e.memoizedState),(D=tl||Qs(e,l,D,a,A,R,m)||t!==null&&t.dependencies!==null&&un(t.dependencies))?(T||typeof n.UNSAFE_componentWillUpdate!="function"&&typeof n.componentWillUpdate!="function"||(typeof n.componentWillUpdate=="function"&&n.componentWillUpdate(a,R,m),typeof n.UNSAFE_componentWillUpdate=="function"&&n.UNSAFE_componentWillUpdate(a,R,m)),typeof n.componentDidUpdate=="function"&&(e.flags|=4),typeof n.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof n.componentDidUpdate!="function"||i===t.memoizedProps&&A===t.memoizedState||(e.flags|=4),typeof n.getSnapshotBeforeUpdate!="function"||i===t.memoizedProps&&A===t.memoizedState||(e.flags|=1024),e.memoizedProps=a,e.memoizedState=R),n.props=a,n.state=R,n.context=m,a=D):(typeof n.componentDidUpdate!="function"||i===t.memoizedProps&&A===t.memoizedState||(e.flags|=4),typeof n.getSnapshotBeforeUpdate!="function"||i===t.memoizedProps&&A===t.memoizedState||(e.flags|=1024),a=!1)}return n=a,An(t,e),a=(e.flags&128)!==0,n||a?(n=e.stateNode,l=a&&typeof l.getDerivedStateFromError!="function"?null:n.render(),e.flags|=1,t!==null&&a?(e.child=ma(e,t.child,null,u),e.child=ma(e,null,l,u)):wt(t,e,l,u),e.memoizedState=n.state,t=e.child):t=Le(t,e,u),t}function no(t,e,l,a){return Va(),e.flags|=256,wt(t,e,l,a),e.child}var Ac={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Rc(t){return{baseLanes:t,cachePool:Kr()}}function Oc(t,e,l){return t=t!==null?t.childLanes&~l:0,e&&(t|=pe),t}function io(t,e,l){var a=e.pendingProps,u=!1,n=(e.flags&128)!==0,i;if((i=n)||(i=t!==null&&t.memoizedState===null?!1:(Ut.current&2)!==0),i&&(u=!0,e.flags&=-129),i=(e.flags&32)!==0,e.flags&=-33,t===null){if(st){if(u?ul(e):nl(),st){var f=Rt,m;if(m=f){t:{for(m=f,f=Ae;m.nodeType!==8;){if(!f){f=null;break t}if(m=Ee(m.nextSibling),m===null){f=null;break t}}f=m}f!==null?(e.memoizedState={dehydrated:f,treeContext:Nl!==null?{id:Ue,overflow:He}:null,retryLane:536870912,hydrationErrors:null},m=ue(18,null,null,0),m.stateNode=f,m.return=e,e.child=m,kt=e,Rt=null,m=!0):m=!1}m||jl(e)}if(f=e.memoizedState,f!==null&&(f=f.dehydrated,f!==null))return sf(f)?e.lanes=32:e.lanes=536870912,null;we(e)}return f=a.children,a=a.fallback,u?(nl(),u=e.mode,f=Rn({mode:"hidden",children:f},u),a=Ml(a,u,l,null),f.return=e,a.return=e,f.sibling=a,e.child=f,u=e.child,u.memoizedState=Rc(l),u.childLanes=Oc(t,i,l),e.memoizedState=Ac,a):(ul(e),zc(e,f))}if(m=t.memoizedState,m!==null&&(f=m.dehydrated,f!==null)){if(n)e.flags&256?(ul(e),e.flags&=-257,e=Mc(t,e,l)):e.memoizedState!==null?(nl(),e.child=t.child,e.flags|=128,e=null):(nl(),u=a.fallback,f=e.mode,a=Rn({mode:"visible",children:a.children},f),u=Ml(u,f,l,null),u.flags|=2,a.return=e,u.return=e,a.sibling=u,e.child=a,ma(e,t.child,null,l),a=e.child,a.memoizedState=Rc(l),a.childLanes=Oc(t,i,l),e.memoizedState=Ac,e=u);else if(ul(e),sf(f)){if(i=f.nextSibling&&f.nextSibling.dataset,i)var T=i.dgst;i=T,a=Error(r(419)),a.stack="",a.digest=i,Ka({value:a,source:null,stack:null}),e=Mc(t,e,l)}else if(Bt||Ja(t,e,l,!1),i=(l&t.childLanes)!==0,Bt||i){if(i=pt,i!==null&&(a=l&-l,a=(a&42)!==0?1:si(a),a=(a&(i.suspendedLanes|l))!==0?0:a,a!==0&&a!==m.retryLane))throw m.retryLane=a,aa(t,a),re(i,t,a),Fs;f.data==="$?"||Kc(),e=Mc(t,e,l)}else f.data==="$?"?(e.flags|=192,e.child=t.child,e=null):(t=m.treeContext,Rt=Ee(f.nextSibling),kt=e,st=!0,_l=null,Ae=!1,t!==null&&(ve[ye++]=Ue,ve[ye++]=He,ve[ye++]=Nl,Ue=t.id,He=t.overflow,Nl=e),e=zc(e,a.children),e.flags|=4096);return e}return u?(nl(),u=a.fallback,f=e.mode,m=t.child,T=m.sibling,a=Ce(m,{mode:"hidden",children:a.children}),a.subtreeFlags=m.subtreeFlags&65011712,T!==null?u=Ce(T,u):(u=Ml(u,f,l,null),u.flags|=2),u.return=e,a.return=e,a.sibling=u,e.child=a,a=u,u=e.child,f=t.child.memoizedState,f===null?f=Rc(l):(m=f.cachePool,m!==null?(T=Ct._currentValue,m=m.parent!==T?{parent:T,pool:T}:m):m=Kr(),f={baseLanes:f.baseLanes|l,cachePool:m}),u.memoizedState=f,u.childLanes=Oc(t,i,l),e.memoizedState=Ac,a):(ul(e),l=t.child,t=l.sibling,l=Ce(l,{mode:"visible",children:a.children}),l.return=e,l.sibling=null,t!==null&&(i=e.deletions,i===null?(e.deletions=[t],e.flags|=16):i.push(t)),e.child=l,e.memoizedState=null,l)}function zc(t,e){return e=Rn({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function Rn(t,e){return t=ue(22,t,null,e),t.lanes=0,t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},t}function Mc(t,e,l){return ma(e,t.child,null,l),t=zc(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function co(t,e,l){t.lanes|=e;var a=t.alternate;a!==null&&(a.lanes|=e),Ki(t.return,e,l)}function Nc(t,e,l,a,u){var n=t.memoizedState;n===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:a,tail:l,tailMode:u}:(n.isBackwards=e,n.rendering=null,n.renderingStartTime=0,n.last=a,n.tail=l,n.tailMode=u)}function fo(t,e,l){var a=e.pendingProps,u=a.revealOrder,n=a.tail;if(wt(t,e,a.children,l),a=Ut.current,(a&2)!==0)a=a&1|2,e.flags|=128;else{if(t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&co(t,l,e);else if(t.tag===19)co(t,l,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}a&=1}switch(G(Ut,a),u){case"forwards":for(l=e.child,u=null;l!==null;)t=l.alternate,t!==null&&xn(t)===null&&(u=l),l=l.sibling;l=u,l===null?(u=e.child,e.child=null):(u=l.sibling,l.sibling=null),Nc(e,!1,u,l,n);break;case"backwards":for(l=null,u=e.child,e.child=null;u!==null;){if(t=u.alternate,t!==null&&xn(t)===null){e.child=u;break}t=u.sibling,u.sibling=l,l=u,u=t}Nc(e,!0,l,null,n);break;case"together":Nc(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function Le(t,e,l){if(t!==null&&(e.dependencies=t.dependencies),sl|=e.lanes,(l&e.childLanes)===0)if(t!==null){if(Ja(t,e,l,!1),(l&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(r(153));if(e.child!==null){for(t=e.child,l=Ce(t,t.pendingProps),e.child=l,l.return=e;t.sibling!==null;)t=t.sibling,l=l.sibling=Ce(t,t.pendingProps),l.return=e;l.sibling=null}return e.child}function Dc(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&un(t)))}function Um(t,e,l){switch(e.tag){case 3:St(e,e.stateNode.containerInfo),Ie(e,Ct,t.memoizedState.cache),Va();break;case 27:case 5:ni(e);break;case 4:St(e,e.stateNode.containerInfo);break;case 10:Ie(e,e.type,e.memoizedProps.value);break;case 13:var a=e.memoizedState;if(a!==null)return a.dehydrated!==null?(ul(e),e.flags|=128,null):(l&e.child.childLanes)!==0?io(t,e,l):(ul(e),t=Le(t,e,l),t!==null?t.sibling:null);ul(e);break;case 19:var u=(t.flags&128)!==0;if(a=(l&e.childLanes)!==0,a||(Ja(t,e,l,!1),a=(l&e.childLanes)!==0),u){if(a)return fo(t,e,l);e.flags|=128}if(u=e.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),G(Ut,Ut.current),a)break;return null;case 22:case 23:return e.lanes=0,eo(t,e,l);case 24:Ie(e,Ct,t.memoizedState.cache)}return Le(t,e,l)}function ro(t,e,l){if(t!==null)if(t.memoizedProps!==e.pendingProps)Bt=!0;else{if(!Dc(t,l)&&(e.flags&128)===0)return Bt=!1,Um(t,e,l);Bt=(t.flags&131072)!==0}else Bt=!1,st&&(e.flags&1048576)!==0&&wr(e,an,e.index);switch(e.lanes=0,e.tag){case 16:t:{t=e.pendingProps;var a=e.elementType,u=a._init;if(a=u(a._payload),e.type=a,typeof a=="function")wi(a)?(t=ql(a,t),e.tag=1,e=uo(null,e,a,t,l)):(e.tag=0,e=Tc(null,e,a,t,l));else{if(a!=null){if(u=a.$$typeof,u===ct){e.tag=11,e=Ps(null,e,a,t,l);break t}else if(u===At){e.tag=14,e=Is(null,e,a,t,l);break t}}throw e=El(a)||a,Error(r(306,e,""))}}return e;case 0:return Tc(t,e,e.type,e.pendingProps,l);case 1:return a=e.type,u=ql(a,e.pendingProps),uo(t,e,a,u,l);case 3:t:{if(St(e,e.stateNode.containerInfo),t===null)throw Error(r(387));a=e.pendingProps;var n=e.memoizedState;u=n.element,Ii(t,e),tu(e,a,null,l);var i=e.memoizedState;if(a=i.cache,Ie(e,Ct,a),a!==n.cache&&Ji(e,[Ct],l,!0),Ia(),a=i.element,n.isDehydrated)if(n={element:a,isDehydrated:!1,cache:i.cache},e.updateQueue.baseState=n,e.memoizedState=n,e.flags&256){e=no(t,e,a,l);break t}else if(a!==u){u=he(Error(r(424)),e),Ka(u),e=no(t,e,a,l);break t}else{switch(t=e.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(Rt=Ee(t.firstChild),kt=e,st=!0,_l=null,Ae=!0,l=Gs(e,null,a,l),e.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(Va(),a===u){e=Le(t,e,l);break t}wt(t,e,a,l)}e=e.child}return e;case 26:return An(t,e),t===null?(l=md(e.type,null,e.pendingProps,null))?e.memoizedState=l:st||(l=e.type,t=e.pendingProps,a=wn(tt.current).createElement(l),a[Zt]=e,a[$t]=t,Gt(a,l,t),Ht(a),e.stateNode=a):e.memoizedState=md(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return ni(e),t===null&&st&&(a=e.stateNode=od(e.type,e.pendingProps,tt.current),kt=e,Ae=!0,u=Rt,ml(e.type)?(of=u,Rt=Ee(a.firstChild)):Rt=u),wt(t,e,e.pendingProps.children,l),An(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&st&&((u=a=Rt)&&(a=fv(a,e.type,e.pendingProps,Ae),a!==null?(e.stateNode=a,kt=e,Rt=Ee(a.firstChild),Ae=!1,u=!0):u=!1),u||jl(e)),ni(e),u=e.type,n=e.pendingProps,i=t!==null?t.memoizedProps:null,a=n.children,cf(u,n)?a=null:i!==null&&cf(u,i)&&(e.flags|=32),e.memoizedState!==null&&(u=nc(t,e,Om,null,null,l),Eu._currentValue=u),An(t,e),wt(t,e,a,l),e.child;case 6:return t===null&&st&&((t=l=Rt)&&(l=rv(l,e.pendingProps,Ae),l!==null?(e.stateNode=l,kt=e,Rt=null,t=!0):t=!1),t||jl(e)),null;case 13:return io(t,e,l);case 4:return St(e,e.stateNode.containerInfo),a=e.pendingProps,t===null?e.child=ma(e,null,a,l):wt(t,e,a,l),e.child;case 11:return Ps(t,e,e.type,e.pendingProps,l);case 7:return wt(t,e,e.pendingProps,l),e.child;case 8:return wt(t,e,e.pendingProps.children,l),e.child;case 12:return wt(t,e,e.pendingProps.children,l),e.child;case 10:return a=e.pendingProps,Ie(e,e.type,a.value),wt(t,e,a.children,l),e.child;case 9:return u=e.type._context,a=e.pendingProps.children,Ul(e),u=Vt(u),a=a(u),e.flags|=1,wt(t,e,a,l),e.child;case 14:return Is(t,e,e.type,e.pendingProps,l);case 15:return to(t,e,e.type,e.pendingProps,l);case 19:return fo(t,e,l);case 31:return a=e.pendingProps,l=e.mode,a={mode:a.mode,children:a.children},t===null?(l=Rn(a,l),l.ref=e.ref,e.child=l,l.return=e,e=l):(l=Ce(t.child,a),l.ref=e.ref,e.child=l,l.return=e,e=l),e;case 22:return eo(t,e,l);case 24:return Ul(e),a=Vt(Ct),t===null?(u=Wi(),u===null&&(u=pt,n=ki(),u.pooledCache=n,n.refCount++,n!==null&&(u.pooledCacheLanes|=l),u=n),e.memoizedState={parent:a,cache:u},Pi(e),Ie(e,Ct,u)):((t.lanes&l)!==0&&(Ii(t,e),tu(e,null,null,l),Ia()),u=t.memoizedState,n=e.memoizedState,u.parent!==a?(u={parent:a,cache:a},e.memoizedState=u,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=u),Ie(e,Ct,a)):(a=n.cache,Ie(e,Ct,a),a!==u.cache&&Ji(e,[Ct],l,!0))),wt(t,e,e.pendingProps.children,l),e.child;case 29:throw e.pendingProps}throw Error(r(156,e.tag))}function Ge(t){t.flags|=4}function so(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!bd(e)){if(e=ge.current,e!==null&&((it&4194048)===it?Re!==null:(it&62914560)!==it&&(it&536870912)===0||e!==Re))throw Fa=Fi,Jr;t.flags|=8192}}function On(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?Xf():536870912,t.lanes|=e,pa|=e)}function cu(t,e){if(!st)switch(t.tailMode){case"hidden":e=t.tail;for(var l=null;e!==null;)e.alternate!==null&&(l=e),e=e.sibling;l===null?t.tail=null:l.sibling=null;break;case"collapsed":l=t.tail;for(var a=null;l!==null;)l.alternate!==null&&(a=l),l=l.sibling;a===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:a.sibling=null}}function Et(t){var e=t.alternate!==null&&t.alternate.child===t.child,l=0,a=0;if(e)for(var u=t.child;u!==null;)l|=u.lanes|u.childLanes,a|=u.subtreeFlags&65011712,a|=u.flags&65011712,u.return=t,u=u.sibling;else for(u=t.child;u!==null;)l|=u.lanes|u.childLanes,a|=u.subtreeFlags,a|=u.flags,u.return=t,u=u.sibling;return t.subtreeFlags|=a,t.childLanes=l,e}function Hm(t,e,l){var a=e.pendingProps;switch(Qi(e),e.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Et(e),null;case 1:return Et(e),null;case 3:return l=e.stateNode,a=null,t!==null&&(a=t.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),qe(Ct),$e(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(t===null||t.child===null)&&(Za(e)?Ge(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,Xr())),Et(e),null;case 26:return l=e.memoizedState,t===null?(Ge(e),l!==null?(Et(e),so(e,l)):(Et(e),e.flags&=-16777217)):l?l!==t.memoizedState?(Ge(e),Et(e),so(e,l)):(Et(e),e.flags&=-16777217):(t.memoizedProps!==a&&Ge(e),Et(e),e.flags&=-16777217),null;case 27:Bu(e),l=tt.current;var u=e.type;if(t!==null&&e.stateNode!=null)t.memoizedProps!==a&&Ge(e);else{if(!a){if(e.stateNode===null)throw Error(r(166));return Et(e),null}t=J.current,Za(e)?Lr(e):(t=od(u,a,l),e.stateNode=t,Ge(e))}return Et(e),null;case 5:if(Bu(e),l=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==a&&Ge(e);else{if(!a){if(e.stateNode===null)throw Error(r(166));return Et(e),null}if(t=J.current,Za(e))Lr(e);else{switch(u=wn(tt.current),t){case 1:t=u.createElementNS("http://www.w3.org/2000/svg",l);break;case 2:t=u.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;default:switch(l){case"svg":t=u.createElementNS("http://www.w3.org/2000/svg",l);break;case"math":t=u.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;case"script":t=u.createElement("div"),t.innerHTML=" + + + + Vite + React - + +
+ diff --git a/main/idf_component.yml b/main/idf_component.yml old mode 100644 new mode 100755 diff --git a/managed_components/espressif__cmake_utilities/.component_hash b/managed_components/espressif__cmake_utilities/.component_hash old mode 100644 new mode 100755 diff --git a/managed_components/espressif__cmake_utilities/CHANGELOG.md b/managed_components/espressif__cmake_utilities/CHANGELOG.md old mode 100644 new mode 100755 diff --git a/managed_components/espressif__cmake_utilities/CMakeLists.txt b/managed_components/espressif__cmake_utilities/CMakeLists.txt old mode 100644 new mode 100755 diff --git a/managed_components/espressif__cmake_utilities/Kconfig b/managed_components/espressif__cmake_utilities/Kconfig old mode 100644 new mode 100755 diff --git a/managed_components/espressif__cmake_utilities/README.md b/managed_components/espressif__cmake_utilities/README.md old mode 100644 new mode 100755 diff --git a/managed_components/espressif__cmake_utilities/cmake_utilities.cmake b/managed_components/espressif__cmake_utilities/cmake_utilities.cmake old mode 100644 new mode 100755 diff --git a/managed_components/espressif__cmake_utilities/docs/gcc.md b/managed_components/espressif__cmake_utilities/docs/gcc.md old mode 100644 new mode 100755 diff --git a/managed_components/espressif__cmake_utilities/docs/gen_compressed_ota.md b/managed_components/espressif__cmake_utilities/docs/gen_compressed_ota.md old mode 100644 new mode 100755 diff --git a/managed_components/espressif__cmake_utilities/docs/relinker.md b/managed_components/espressif__cmake_utilities/docs/relinker.md old mode 100644 new mode 100755 diff --git a/managed_components/espressif__cmake_utilities/gcc.cmake b/managed_components/espressif__cmake_utilities/gcc.cmake old mode 100644 new mode 100755 diff --git a/managed_components/espressif__cmake_utilities/gen_compressed_ota.cmake b/managed_components/espressif__cmake_utilities/gen_compressed_ota.cmake old mode 100644 new mode 100755 diff --git a/managed_components/espressif__cmake_utilities/gen_single_bin.cmake b/managed_components/espressif__cmake_utilities/gen_single_bin.cmake old mode 100644 new mode 100755 diff --git a/managed_components/espressif__cmake_utilities/idf_component.yml b/managed_components/espressif__cmake_utilities/idf_component.yml old mode 100644 new mode 100755 diff --git a/managed_components/espressif__cmake_utilities/license.txt b/managed_components/espressif__cmake_utilities/license.txt old mode 100644 new mode 100755 diff --git a/managed_components/espressif__cmake_utilities/package_manager.cmake b/managed_components/espressif__cmake_utilities/package_manager.cmake old mode 100644 new mode 100755 diff --git a/managed_components/espressif__cmake_utilities/project_include.cmake b/managed_components/espressif__cmake_utilities/project_include.cmake old mode 100644 new mode 100755 diff --git a/managed_components/espressif__cmake_utilities/relinker.cmake b/managed_components/espressif__cmake_utilities/relinker.cmake old mode 100644 new mode 100755 diff --git a/managed_components/espressif__cmake_utilities/scripts/gen_custom_ota.py b/managed_components/espressif__cmake_utilities/scripts/gen_custom_ota.py old mode 100644 new mode 100755 diff --git a/managed_components/espressif__cmake_utilities/scripts/relinker/configuration.py b/managed_components/espressif__cmake_utilities/scripts/relinker/configuration.py old mode 100644 new mode 100755 diff --git a/managed_components/espressif__cmake_utilities/scripts/relinker/examples/esp32c2/function.csv b/managed_components/espressif__cmake_utilities/scripts/relinker/examples/esp32c2/function.csv old mode 100644 new mode 100755 diff --git a/managed_components/espressif__cmake_utilities/scripts/relinker/examples/esp32c2/library.csv b/managed_components/espressif__cmake_utilities/scripts/relinker/examples/esp32c2/library.csv old mode 100644 new mode 100755 diff --git a/managed_components/espressif__cmake_utilities/scripts/relinker/examples/esp32c2/object.csv b/managed_components/espressif__cmake_utilities/scripts/relinker/examples/esp32c2/object.csv old mode 100644 new mode 100755 diff --git a/managed_components/espressif__cmake_utilities/scripts/relinker/relinker.py b/managed_components/espressif__cmake_utilities/scripts/relinker/relinker.py old mode 100644 new mode 100755 diff --git a/managed_components/espressif__cmake_utilities/test_apps/CMakeLists.txt b/managed_components/espressif__cmake_utilities/test_apps/CMakeLists.txt old mode 100644 new mode 100755 diff --git a/managed_components/espressif__cmake_utilities/test_apps/components/TEST-component2/CMakeLists.txt b/managed_components/espressif__cmake_utilities/test_apps/components/TEST-component2/CMakeLists.txt old mode 100644 new mode 100755 diff --git a/managed_components/espressif__cmake_utilities/test_apps/components/TEST-component2/idf_component.yml b/managed_components/espressif__cmake_utilities/test_apps/components/TEST-component2/idf_component.yml old mode 100644 new mode 100755 diff --git a/managed_components/espressif__cmake_utilities/test_apps/components/TEST-component2/test_component2.c b/managed_components/espressif__cmake_utilities/test_apps/components/TEST-component2/test_component2.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__cmake_utilities/test_apps/components/TEST-component2/test_component2.h b/managed_components/espressif__cmake_utilities/test_apps/components/TEST-component2/test_component2.h old mode 100644 new mode 100755 diff --git a/managed_components/espressif__cmake_utilities/test_apps/components/test_component1/CMakeLists.txt b/managed_components/espressif__cmake_utilities/test_apps/components/test_component1/CMakeLists.txt old mode 100644 new mode 100755 diff --git a/managed_components/espressif__cmake_utilities/test_apps/components/test_component1/idf_component.yml b/managed_components/espressif__cmake_utilities/test_apps/components/test_component1/idf_component.yml old mode 100644 new mode 100755 diff --git a/managed_components/espressif__cmake_utilities/test_apps/components/test_component1/test_component1.c b/managed_components/espressif__cmake_utilities/test_apps/components/test_component1/test_component1.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__cmake_utilities/test_apps/components/test_component1/test_component1.h b/managed_components/espressif__cmake_utilities/test_apps/components/test_component1/test_component1.h old mode 100644 new mode 100755 diff --git a/managed_components/espressif__cmake_utilities/test_apps/main/CMakeLists.txt b/managed_components/espressif__cmake_utilities/test_apps/main/CMakeLists.txt old mode 100644 new mode 100755 diff --git a/managed_components/espressif__cmake_utilities/test_apps/main/test_cmake_utilities.c b/managed_components/espressif__cmake_utilities/test_apps/main/test_cmake_utilities.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__cmake_utilities/test_apps/pytest_cmake_utilities.py b/managed_components/espressif__cmake_utilities/test_apps/pytest_cmake_utilities.py old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/.component_hash b/managed_components/espressif__esp-modbus/.component_hash old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/.gitignore b/managed_components/espressif__esp-modbus/.gitignore old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/CMakeLists.txt b/managed_components/espressif__esp-modbus/CMakeLists.txt old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/Kconfig b/managed_components/espressif__esp-modbus/Kconfig old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/LICENSE b/managed_components/espressif__esp-modbus/LICENSE old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/README.md b/managed_components/espressif__esp-modbus/README.md old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/build_all.sh b/managed_components/espressif__esp-modbus/build_all.sh old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/component.mk b/managed_components/espressif__esp-modbus/component.mk old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/common/esp_modbus_callbacks.h b/managed_components/espressif__esp-modbus/freemodbus/common/esp_modbus_callbacks.h old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/common/esp_modbus_master.c b/managed_components/espressif__esp-modbus/freemodbus/common/esp_modbus_master.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/common/esp_modbus_master_serial.c b/managed_components/espressif__esp-modbus/freemodbus/common/esp_modbus_master_serial.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/common/esp_modbus_master_tcp.c b/managed_components/espressif__esp-modbus/freemodbus/common/esp_modbus_master_tcp.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/common/esp_modbus_slave.c b/managed_components/espressif__esp-modbus/freemodbus/common/esp_modbus_slave.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/common/esp_modbus_slave_serial.c b/managed_components/espressif__esp-modbus/freemodbus/common/esp_modbus_slave_serial.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/common/esp_modbus_slave_tcp.c b/managed_components/espressif__esp-modbus/freemodbus/common/esp_modbus_slave_tcp.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/common/include/esp_modbus_common.h b/managed_components/espressif__esp-modbus/freemodbus/common/include/esp_modbus_common.h old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/common/include/esp_modbus_master.h b/managed_components/espressif__esp-modbus/freemodbus/common/include/esp_modbus_master.h old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/common/include/esp_modbus_slave.h b/managed_components/espressif__esp-modbus/freemodbus/common/include/esp_modbus_slave.h old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/common/include/mb_endianness_utils.h b/managed_components/espressif__esp-modbus/freemodbus/common/include/mb_endianness_utils.h old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/common/include/mbcontroller.h b/managed_components/espressif__esp-modbus/freemodbus/common/include/mbcontroller.h old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/common/mb_endianness_utils.c b/managed_components/espressif__esp-modbus/freemodbus/common/mb_endianness_utils.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/common/mbc_master.h b/managed_components/espressif__esp-modbus/freemodbus/common/mbc_master.h old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/common/mbc_slave.h b/managed_components/espressif__esp-modbus/freemodbus/common/mbc_slave.h old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/modbus/ascii/mbascii.c b/managed_components/espressif__esp-modbus/freemodbus/modbus/ascii/mbascii.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/modbus/ascii/mbascii.h b/managed_components/espressif__esp-modbus/freemodbus/modbus/ascii/mbascii.h old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/modbus/ascii/mbascii_m.c b/managed_components/espressif__esp-modbus/freemodbus/modbus/ascii/mbascii_m.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/modbus/functions/mbfunccoils.c b/managed_components/espressif__esp-modbus/freemodbus/modbus/functions/mbfunccoils.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/modbus/functions/mbfunccoils_m.c b/managed_components/espressif__esp-modbus/freemodbus/modbus/functions/mbfunccoils_m.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/modbus/functions/mbfuncdiag.c b/managed_components/espressif__esp-modbus/freemodbus/modbus/functions/mbfuncdiag.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/modbus/functions/mbfuncdisc.c b/managed_components/espressif__esp-modbus/freemodbus/modbus/functions/mbfuncdisc.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/modbus/functions/mbfuncdisc_m.c b/managed_components/espressif__esp-modbus/freemodbus/modbus/functions/mbfuncdisc_m.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/modbus/functions/mbfuncholding.c b/managed_components/espressif__esp-modbus/freemodbus/modbus/functions/mbfuncholding.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/modbus/functions/mbfuncholding_m.c b/managed_components/espressif__esp-modbus/freemodbus/modbus/functions/mbfuncholding_m.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/modbus/functions/mbfuncinput.c b/managed_components/espressif__esp-modbus/freemodbus/modbus/functions/mbfuncinput.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/modbus/functions/mbfuncinput_m.c b/managed_components/espressif__esp-modbus/freemodbus/modbus/functions/mbfuncinput_m.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/modbus/functions/mbfuncother.c b/managed_components/espressif__esp-modbus/freemodbus/modbus/functions/mbfuncother.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/modbus/functions/mbutils.c b/managed_components/espressif__esp-modbus/freemodbus/modbus/functions/mbutils.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/modbus/include/mb.h b/managed_components/espressif__esp-modbus/freemodbus/modbus/include/mb.h old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/modbus/include/mb_m.h b/managed_components/espressif__esp-modbus/freemodbus/modbus/include/mb_m.h old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/modbus/include/mbconfig.h b/managed_components/espressif__esp-modbus/freemodbus/modbus/include/mbconfig.h old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/modbus/include/mbframe.h b/managed_components/espressif__esp-modbus/freemodbus/modbus/include/mbframe.h old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/modbus/include/mbfunc.h b/managed_components/espressif__esp-modbus/freemodbus/modbus/include/mbfunc.h old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/modbus/include/mbport.h b/managed_components/espressif__esp-modbus/freemodbus/modbus/include/mbport.h old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/modbus/include/mbproto.h b/managed_components/espressif__esp-modbus/freemodbus/modbus/include/mbproto.h old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/modbus/include/mbutils.h b/managed_components/espressif__esp-modbus/freemodbus/modbus/include/mbutils.h old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/modbus/mb.c b/managed_components/espressif__esp-modbus/freemodbus/modbus/mb.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/modbus/mb_m.c b/managed_components/espressif__esp-modbus/freemodbus/modbus/mb_m.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/modbus/rtu/mbcrc.c b/managed_components/espressif__esp-modbus/freemodbus/modbus/rtu/mbcrc.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/modbus/rtu/mbcrc.h b/managed_components/espressif__esp-modbus/freemodbus/modbus/rtu/mbcrc.h old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/modbus/rtu/mbrtu.c b/managed_components/espressif__esp-modbus/freemodbus/modbus/rtu/mbrtu.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/modbus/rtu/mbrtu.h b/managed_components/espressif__esp-modbus/freemodbus/modbus/rtu/mbrtu.h old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/modbus/rtu/mbrtu_m.c b/managed_components/espressif__esp-modbus/freemodbus/modbus/rtu/mbrtu_m.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/modbus/tcp/mbtcp.c b/managed_components/espressif__esp-modbus/freemodbus/modbus/tcp/mbtcp.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/modbus/tcp/mbtcp.h b/managed_components/espressif__esp-modbus/freemodbus/modbus/tcp/mbtcp.h old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/modbus/tcp/mbtcp_m.c b/managed_components/espressif__esp-modbus/freemodbus/modbus/tcp/mbtcp_m.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/modbus/tcp/mbtcp_m.h b/managed_components/espressif__esp-modbus/freemodbus/modbus/tcp/mbtcp_m.h old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/port/port.c b/managed_components/espressif__esp-modbus/freemodbus/port/port.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/port/port.h b/managed_components/espressif__esp-modbus/freemodbus/port/port.h old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/port/portevent.c b/managed_components/espressif__esp-modbus/freemodbus/port/portevent.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/port/portevent_m.c b/managed_components/espressif__esp-modbus/freemodbus/port/portevent_m.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/port/portother.c b/managed_components/espressif__esp-modbus/freemodbus/port/portother.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/port/portother_m.c b/managed_components/espressif__esp-modbus/freemodbus/port/portother_m.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/port/portserial.c b/managed_components/espressif__esp-modbus/freemodbus/port/portserial.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/port/portserial_m.c b/managed_components/espressif__esp-modbus/freemodbus/port/portserial_m.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/port/porttimer.c b/managed_components/espressif__esp-modbus/freemodbus/port/porttimer.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/port/porttimer_m.c b/managed_components/espressif__esp-modbus/freemodbus/port/porttimer_m.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/serial_master/modbus_controller/mbc_serial_master.c b/managed_components/espressif__esp-modbus/freemodbus/serial_master/modbus_controller/mbc_serial_master.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/serial_master/modbus_controller/mbc_serial_master.h b/managed_components/espressif__esp-modbus/freemodbus/serial_master/modbus_controller/mbc_serial_master.h old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/serial_master/port/port_serial_master.h b/managed_components/espressif__esp-modbus/freemodbus/serial_master/port/port_serial_master.h old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/serial_slave/modbus_controller/mbc_serial_slave.c b/managed_components/espressif__esp-modbus/freemodbus/serial_slave/modbus_controller/mbc_serial_slave.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/serial_slave/modbus_controller/mbc_serial_slave.h b/managed_components/espressif__esp-modbus/freemodbus/serial_slave/modbus_controller/mbc_serial_slave.h old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/serial_slave/port/port_serial_slave.h b/managed_components/espressif__esp-modbus/freemodbus/serial_slave/port/port_serial_slave.h old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/tcp_master/modbus_controller/mbc_tcp_master.c b/managed_components/espressif__esp-modbus/freemodbus/tcp_master/modbus_controller/mbc_tcp_master.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/tcp_master/modbus_controller/mbc_tcp_master.h b/managed_components/espressif__esp-modbus/freemodbus/tcp_master/modbus_controller/mbc_tcp_master.h old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/tcp_master/port/port_tcp_master.c b/managed_components/espressif__esp-modbus/freemodbus/tcp_master/port/port_tcp_master.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/tcp_master/port/port_tcp_master.h b/managed_components/espressif__esp-modbus/freemodbus/tcp_master/port/port_tcp_master.h old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/tcp_slave/modbus_controller/mbc_tcp_slave.c b/managed_components/espressif__esp-modbus/freemodbus/tcp_slave/modbus_controller/mbc_tcp_slave.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/tcp_slave/modbus_controller/mbc_tcp_slave.h b/managed_components/espressif__esp-modbus/freemodbus/tcp_slave/modbus_controller/mbc_tcp_slave.h old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/tcp_slave/port/port_tcp_slave.c b/managed_components/espressif__esp-modbus/freemodbus/tcp_slave/port/port_tcp_slave.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/freemodbus/tcp_slave/port/port_tcp_slave.h b/managed_components/espressif__esp-modbus/freemodbus/tcp_slave/port/port_tcp_slave.h old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/idf_component.yml b/managed_components/espressif__esp-modbus/idf_component.yml old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/pytest.ini b/managed_components/espressif__esp-modbus/pytest.ini old mode 100644 new mode 100755 diff --git a/managed_components/espressif__esp-modbus/tools/ignore_build_warnings.txt b/managed_components/espressif__esp-modbus/tools/ignore_build_warnings.txt old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/.component_hash b/managed_components/espressif__mdns/.component_hash old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/.cz.yaml b/managed_components/espressif__mdns/.cz.yaml old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/CHANGELOG.md b/managed_components/espressif__mdns/CHANGELOG.md old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/CMakeLists.txt b/managed_components/espressif__mdns/CMakeLists.txt old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/Kconfig b/managed_components/espressif__mdns/Kconfig old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/LICENSE b/managed_components/espressif__mdns/LICENSE old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/README.md b/managed_components/espressif__mdns/README.md old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/examples/query_advertise/CMakeLists.txt b/managed_components/espressif__mdns/examples/query_advertise/CMakeLists.txt old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/examples/query_advertise/README.md b/managed_components/espressif__mdns/examples/query_advertise/README.md old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/examples/query_advertise/main/CMakeLists.txt b/managed_components/espressif__mdns/examples/query_advertise/main/CMakeLists.txt old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/examples/query_advertise/main/Kconfig.projbuild b/managed_components/espressif__mdns/examples/query_advertise/main/Kconfig.projbuild old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/examples/query_advertise/main/idf_component.yml b/managed_components/espressif__mdns/examples/query_advertise/main/idf_component.yml old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/examples/query_advertise/main/mdns_example_main.c b/managed_components/espressif__mdns/examples/query_advertise/main/mdns_example_main.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/examples/query_advertise/pytest_mdns.py b/managed_components/espressif__mdns/examples/query_advertise/pytest_mdns.py old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/idf_component.yml b/managed_components/espressif__mdns/idf_component.yml old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/include/mdns.h b/managed_components/espressif__mdns/include/mdns.h old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/include/mdns_console.h b/managed_components/espressif__mdns/include/mdns_console.h old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/mdns.c b/managed_components/espressif__mdns/mdns.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/mdns_console.c b/managed_components/espressif__mdns/mdns_console.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/mdns_mem_caps.c b/managed_components/espressif__mdns/mdns_mem_caps.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/mdns_networking_lwip.c b/managed_components/espressif__mdns/mdns_networking_lwip.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/mdns_networking_socket.c b/managed_components/espressif__mdns/mdns_networking_socket.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/mem_prefix_script.py b/managed_components/espressif__mdns/mem_prefix_script.py old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/private_include/mdns_mem_caps.h b/managed_components/espressif__mdns/private_include/mdns_mem_caps.h old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/private_include/mdns_networking.h b/managed_components/espressif__mdns/private_include/mdns_networking.h old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/private_include/mdns_private.h b/managed_components/espressif__mdns/private_include/mdns_private.h old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/host_test/CMakeLists.txt b/managed_components/espressif__mdns/tests/host_test/CMakeLists.txt old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/host_test/README.md b/managed_components/espressif__mdns/tests/host_test/README.md old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/host_test/components/esp_netif_linux/CMakeLists.txt b/managed_components/espressif__mdns/tests/host_test/components/esp_netif_linux/CMakeLists.txt old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/host_test/components/esp_netif_linux/Kconfig b/managed_components/espressif__mdns/tests/host_test/components/esp_netif_linux/Kconfig old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/host_test/components/esp_netif_linux/esp_netif_linux.c b/managed_components/espressif__mdns/tests/host_test/components/esp_netif_linux/esp_netif_linux.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/host_test/components/esp_netif_linux/include/esp_wifi_types.h b/managed_components/espressif__mdns/tests/host_test/components/esp_netif_linux/include/esp_wifi_types.h old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/host_test/components/esp_netif_linux/include/machine/endian.h b/managed_components/espressif__mdns/tests/host_test/components/esp_netif_linux/include/machine/endian.h old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/host_test/dnsfixture.py b/managed_components/espressif__mdns/tests/host_test/dnsfixture.py old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/host_test/main/CMakeLists.txt b/managed_components/espressif__mdns/tests/host_test/main/CMakeLists.txt old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/host_test/main/Kconfig.projbuild b/managed_components/espressif__mdns/tests/host_test/main/Kconfig.projbuild old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/host_test/main/idf_component.yml b/managed_components/espressif__mdns/tests/host_test/main/idf_component.yml old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/host_test/main/main.c b/managed_components/espressif__mdns/tests/host_test/main/main.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/host_test/pytest_mdns.py b/managed_components/espressif__mdns/tests/host_test/pytest_mdns.py old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/test_afl_fuzz_host/CMakeLists.txt b/managed_components/espressif__mdns/tests/test_afl_fuzz_host/CMakeLists.txt old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/test_afl_fuzz_host/README.md b/managed_components/espressif__mdns/tests/test_afl_fuzz_host/README.md old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/test_afl_fuzz_host/esp32_mock.c b/managed_components/espressif__mdns/tests/test_afl_fuzz_host/esp32_mock.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/test_afl_fuzz_host/esp32_mock.h b/managed_components/espressif__mdns/tests/test_afl_fuzz_host/esp32_mock.h old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/test_afl_fuzz_host/esp_attr.h b/managed_components/espressif__mdns/tests/test_afl_fuzz_host/esp_attr.h old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/test_afl_fuzz_host/esp_netif_mock.c b/managed_components/espressif__mdns/tests/test_afl_fuzz_host/esp_netif_mock.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/file2.bin b/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/file2.bin old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/minif_4a_txt.bin b/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/minif_4a_txt.bin old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/minif_aaaa.bin b/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/minif_aaaa.bin old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/minif_any.bin b/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/minif_any.bin old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/minif_disc.bin b/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/minif_disc.bin old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/minif_ptr.bin b/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/minif_ptr.bin old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/minif_query.bin b/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/minif_query.bin old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/minif_query2.bin b/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/minif_query2.bin old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/sub_fritz_m.bin b/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/sub_fritz_m.bin old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/telnet_ptr.bin b/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/telnet_ptr.bin old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/test-14.bin b/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/test-14.bin old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/test-15.bin b/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/test-15.bin old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/test-16.bin b/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/test-16.bin old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/test-28.bin b/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/test-28.bin old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/test-29.bin b/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/test-29.bin old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/test-31.bin b/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/test-31.bin old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/test-53.bin b/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/test-53.bin old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/test-56.bin b/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/test-56.bin old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/test-63.bin b/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/test-63.bin old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/test-83.bin b/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/test-83.bin old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/test-88.bin b/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/test-88.bin old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/test-89.bin b/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/test-89.bin old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/test-95.bin b/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/test-95.bin old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/test-96.bin b/managed_components/espressif__mdns/tests/test_afl_fuzz_host/in/test-96.bin old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/test_afl_fuzz_host/input_packets.txt b/managed_components/espressif__mdns/tests/test_afl_fuzz_host/input_packets.txt old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/test_afl_fuzz_host/mdns_di.h b/managed_components/espressif__mdns/tests/test_afl_fuzz_host/mdns_di.h old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/test_afl_fuzz_host/mdns_mock.h b/managed_components/espressif__mdns/tests/test_afl_fuzz_host/mdns_mock.h old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/test_afl_fuzz_host/test.c b/managed_components/espressif__mdns/tests/test_afl_fuzz_host/test.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/test_apps/CMakeLists.txt b/managed_components/espressif__mdns/tests/test_apps/CMakeLists.txt old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/test_apps/README.md b/managed_components/espressif__mdns/tests/test_apps/README.md old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/test_apps/main/CMakeLists.txt b/managed_components/espressif__mdns/tests/test_apps/main/CMakeLists.txt old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/test_apps/main/Kconfig.projbuild b/managed_components/espressif__mdns/tests/test_apps/main/Kconfig.projbuild old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/test_apps/main/idf_component.yml b/managed_components/espressif__mdns/tests/test_apps/main/idf_component.yml old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/test_apps/main/main.c b/managed_components/espressif__mdns/tests/test_apps/main/main.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/test_apps/main/mdns_test.c b/managed_components/espressif__mdns/tests/test_apps/main/mdns_test.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/test_apps/pytest_mdns_app.py b/managed_components/espressif__mdns/tests/test_apps/pytest_mdns_app.py old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/unit_test/CMakeLists.txt b/managed_components/espressif__mdns/tests/unit_test/CMakeLists.txt old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/unit_test/main/CMakeLists.txt b/managed_components/espressif__mdns/tests/unit_test/main/CMakeLists.txt old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/unit_test/main/test_mdns.c b/managed_components/espressif__mdns/tests/unit_test/main/test_mdns.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__mdns/tests/unit_test/pytest_app_mdns.py b/managed_components/espressif__mdns/tests/unit_test/pytest_app_mdns.py old mode 100644 new mode 100755 diff --git a/managed_components/espressif__ntc_driver/.component_hash b/managed_components/espressif__ntc_driver/.component_hash old mode 100644 new mode 100755 diff --git a/managed_components/espressif__ntc_driver/CHANGELOG.md b/managed_components/espressif__ntc_driver/CHANGELOG.md old mode 100644 new mode 100755 diff --git a/managed_components/espressif__ntc_driver/CMakeLists.txt b/managed_components/espressif__ntc_driver/CMakeLists.txt old mode 100644 new mode 100755 diff --git a/managed_components/espressif__ntc_driver/README.md b/managed_components/espressif__ntc_driver/README.md old mode 100644 new mode 100755 diff --git a/managed_components/espressif__ntc_driver/README_CN.md b/managed_components/espressif__ntc_driver/README_CN.md old mode 100644 new mode 100755 diff --git a/managed_components/espressif__ntc_driver/examples/ntc_temperature_sensor/CMakeLists.txt b/managed_components/espressif__ntc_driver/examples/ntc_temperature_sensor/CMakeLists.txt old mode 100644 new mode 100755 diff --git a/managed_components/espressif__ntc_driver/examples/ntc_temperature_sensor/README.md b/managed_components/espressif__ntc_driver/examples/ntc_temperature_sensor/README.md old mode 100644 new mode 100755 diff --git a/managed_components/espressif__ntc_driver/examples/ntc_temperature_sensor/README_CN.md b/managed_components/espressif__ntc_driver/examples/ntc_temperature_sensor/README_CN.md old mode 100644 new mode 100755 diff --git a/managed_components/espressif__ntc_driver/examples/ntc_temperature_sensor/main/CMakeLists.txt b/managed_components/espressif__ntc_driver/examples/ntc_temperature_sensor/main/CMakeLists.txt old mode 100644 new mode 100755 diff --git a/managed_components/espressif__ntc_driver/examples/ntc_temperature_sensor/main/idf_component.yml b/managed_components/espressif__ntc_driver/examples/ntc_temperature_sensor/main/idf_component.yml old mode 100644 new mode 100755 diff --git a/managed_components/espressif__ntc_driver/examples/ntc_temperature_sensor/main/ntc_temperature_example_main.c b/managed_components/espressif__ntc_driver/examples/ntc_temperature_sensor/main/ntc_temperature_example_main.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__ntc_driver/idf_component.yml b/managed_components/espressif__ntc_driver/idf_component.yml old mode 100644 new mode 100755 diff --git a/managed_components/espressif__ntc_driver/include/ntc_driver.h b/managed_components/espressif__ntc_driver/include/ntc_driver.h old mode 100644 new mode 100755 diff --git a/managed_components/espressif__ntc_driver/license.txt b/managed_components/espressif__ntc_driver/license.txt old mode 100644 new mode 100755 diff --git a/managed_components/espressif__ntc_driver/ntc_driver.c b/managed_components/espressif__ntc_driver/ntc_driver.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__ntc_driver/test_apps/CMakeLists.txt b/managed_components/espressif__ntc_driver/test_apps/CMakeLists.txt old mode 100644 new mode 100755 diff --git a/managed_components/espressif__ntc_driver/test_apps/main/CMakeLists.txt b/managed_components/espressif__ntc_driver/test_apps/main/CMakeLists.txt old mode 100644 new mode 100755 diff --git a/managed_components/espressif__ntc_driver/test_apps/main/test_ntc_driver.c b/managed_components/espressif__ntc_driver/test_apps/main/test_ntc_driver.c old mode 100644 new mode 100755 diff --git a/managed_components/espressif__ntc_driver/test_apps/pytest_ntc_driver.py b/managed_components/espressif__ntc_driver/test_apps/pytest_ntc_driver.py old mode 100644 new mode 100755