@@ -0,0 +1,44 @@
|
||||
# COUNTRY02 — C110 corrigido em QA
|
||||
|
||||
Código `54fb610eb9dab0d21e28f4aa1407f231dac4f0cf505fad8b0cd655855a5b812c`. Entrega `d28d687c321bbfbdc5bc206b33eb1485bfc33bb4df548413f5576bf8846c3481`. Manifesto de produção `d172b5c4f1a1cb2df504b4acd50c687825b8cda970225a02a56e6286b3a13dd5`. A versão anterior `c68ceef9d4a3` / `36f7722ce5a5` permanece preservada.
|
||||
|
||||
## Correção e isolamento
|
||||
|
||||
O servidor emite `Str::uuid()` e guarda a operação na sessão, associada ao gestor, alvo PostgreSQL, migração e fingerprint do código. A prévia entrega a chave ao formulário. O POST exige a mesma chave emitida para esse contexto. A chave permanece após erro, F5 e repetição; logout ou mudança de contexto inicia outra operação. O recibo existente mantém hash do pedido e impede reutilizar uma chave concluída com conteúdo diferente. Preservados autorização, MFA recente, CSRF, confirmação, motivo e advisory lock. Não se usa `Math.random()`, timestamp ou UUID do navegador.
|
||||
|
||||
Alterações de aplicação: somente controlador `OpportunityResourceController.php` e componente partilhado `management/opportunity-install.tsx`, preparados numa cópia isolada. O Apache continua a servir os ficheiros anteriores. Código, configuração, manifesto e dados ativos não foram alterados. [Patch para revisão](codigo-c110.patch). A cópia de QA usa o mesmo código atual, com App/Tests vinculados explicitamente ao autoloader isolado.
|
||||
|
||||
## Provas por critério
|
||||
|
||||
Chromium em **http://country02-qa.test:18103**, resolvido internamente para 127.0.0.1, sem sinalizar a origem como segura. `isSecureContext=false`, `randomUUID=undefined`, `subtle=undefined`. Alvo `country_candidate_20261011_071801_test:55441`, cabeçalhos e identidade SQL conferidos.
|
||||
|
||||
- MFA normal de gestor sintético; nenhuma intervenção ou repetição de QA18/A/B.
|
||||
- Prévia visível, hash, codehash, alvo, dependências e readiness correspondentes. Confirmação obrigatória e UUIDv4 do servidor.
|
||||
- F5 conserva a chave. Expiração exclusiva da evidência QA entre prévia e POST provoca 409 antes da instalação. Após reposição da evidência e nova prévia, conserva a chave e permite recuperar a tentativa.
|
||||
- POST pelo formulário cria apenas 050000 e duas colunas opcionais. Resultado visível instalado. Os dois pedidos da tentativa usam a mesma chave e corpo.
|
||||
- Duas repetições devolvem o recibo original `changed=true,new_columns=2`, sem executar novamente a alteração. Conteúdo diferente com a mesma chave concluída recebe 409.
|
||||
- SQL READ ONLY liga a chave da interface a **um** evento de auditoria e confirma 288 tabelas, zero organizações/vínculos automáticos, originais preservados e nenhum 030000/040000/190000 instalado.
|
||||
- Consumidores partilhados 020000/030000 abrem por GET no mesmo hostname, sem aplicação nem chamadaUUID do navegador. Perfil do país mostra vazio controlado. Instalador a 390 px sem extravasamento.38 ativos carregados conferidos com o bundle; zero errosJS do instalador.
|
||||
- Testes dirigidos:7 métodos e 102 asserções; PHPStan do controlador zero erros; sintaxePHP e TypeScript do workspace de produção aprovados. A contagem não substitui os critérios de navegador acima.
|
||||
|
||||
[Chromium](chromium-http.json), [persistência](persistencia-qa.json), [captura 390 px](instalador-http-390.png), [inventário de chamadas](inventario-uuid.json).
|
||||
|
||||
## Correspondências de UUID e nova condição C111
|
||||
|
||||
Pesquisa nos 30 ficheiros de dependências dos três consumidores incluídos: uma chamada anterior, removida; zero chamadas remanescentes. Encontradas 25 ocorrências fora dos consumidores COUNTRY02 em oportunidades/recursos, perfis, cartografia, simuladores, Balcão, parcerias e percurso; inventariadas sem implementação ou ativação por arrasto. Não se considera esses percursos compatíveis comHTTP por esta prova.
|
||||
|
||||
**C111 permanece aberta:** `/investidor/profile` apresenta `Unable to encrypt history` no hostname HTTP. `PrivateInvestmentResponse` mantém `Inertia::encryptHistory()` e `private,no-store`; o cliente não dispõe de `crypto.subtle`. A falha foi observada em separado, não ocultada ou incluída como sucesso geral. [A documentação oficial do Inertia confirma o requisito de contexto seguro para o histórico cifrado](https://inertiajs.com/docs/v2/security/history-encryption).
|
||||
|
||||
Decisão/ação concreta proposta: manter a cifragem e preparar acesso HTTPS com certificado confiável para as páginas privadas, com ensaio de histórico/voltar/logout; qualquer disponibilização no ativo exige configuração e autorização correspondentes. SeHTTP for obrigatório, definir e demonstrar um mecanismo equivalente que não retenha dados privados no histórico. Não desabilitar a cifragem nem marcar uma origem insegura como segura para fazer o teste passar. Nenhuma alteração de TLS, trust store ou middleware foi feita.
|
||||
|
||||
## Backup/restauro e pacote
|
||||
|
||||
Backup de **2026-10-11T07:18:12+00:00**, origem ativa `investemoz:5432` em READ ONLY. Restauro isolado `country_candidate_20261011_071801_test:55441`:288 tabelas, 31 sequências e 282 ficheiros, zero ausentes, dois envelopes MFA originais recuperados. O aumento de 154 para 282 ficheiros corresponde aos ativos conservados após a reversão; não a novas tabelas.295 era outro ambiente QA com sete tabelas de 030000/040000. Dados e sequências comparados antes de fixtures. Dumps, arquivos, extração, chave estável e hashes verificados. Compatibilidade e desabilitação preservando valores demonstradas no clone; zero escritas no ativo. [Prova sanitizada](backup-restauro.json).
|
||||
|
||||
A prova distingue código ativo anterior36f7722ce5a5 e código preparado54fb610eb9da. O bundle novo tem 157 ficheiros em `/build/`, com fontes e hashes fixados. Pacote sem .env, chaves, credenciais, dados privados, dumps, vendor ou node_modules.
|
||||
|
||||
**Estado:** C110 corrigido e demonstrado em QA. COUNTRY02 não ativo; candidata não pronta para ativação enquanto C111 estiver aberta. A autorização registada nomeava hashes anteriores e não foi usada para aplicar este pacote substituto. A/B e C37 continuam encerrados nos seus âmbitos.
|
||||
|
||||
Sequência após resolver as condições de paragem e autorizar a revisão correspondente: revalidar fonte/build/alvo/backup com idade máxima de 24 horas; disponibilizar código revisto e ativos preservando os anteriores, com flag desabilitada; obter prévia pelo gestor real verificado com MFA recente no servidor definido; conferir target/hash/code/efeitos; POST somente 050000 com a chave emitida e mesmo corpo nas repetições; conferir duas colunas, zero tabelas, contas, organizações ou vínculos novos e auditoria única; habilitar somente COUNTRY02 e demonstrar consumidor privado/histórico/permissões. Qualquer divergência interrompe antes doPOST.
|
||||
|
||||
Reversão: somenteflag desabilitada e manifesto anterior 75352185c2a85 por troca atómica; preservar ativos, 050000, valores, fontes, snapshots, ledger e auditoria. Não fazer down/drop, gerar chave ou desativar MFA. Recuperação de dados só com restauro correspondente e autorização própria.
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"at": "2026-10-11T07:18:12+00:00",
|
||||
"target": {
|
||||
"database": "investemoz",
|
||||
"port": 5432,
|
||||
"read_only": "on"
|
||||
},
|
||||
"restored_target": {
|
||||
"database": "country_candidate_20261011_071801_test",
|
||||
"port": 55441
|
||||
},
|
||||
"prepared_code_hash": "54fb610eb9dab0d21e28f4aa1407f231dac4f0cf505fad8b0cd655855a5b812c",
|
||||
"actual_source_code_hash": "36f7722ce5a51abc6a246116afcab22ebc8167fa3d06e493920ad18c7afbfca8",
|
||||
"production_manifest_sha256": "d172b5c4f1a1cb2df504b4acd50c687825b8cda970225a02a56e6286b3a13dd5",
|
||||
"source_tables": 288,
|
||||
"source_sequences": 31,
|
||||
"files_and_runtime_assets": 282,
|
||||
"missing_files": 0,
|
||||
"dump_sha256": "3f6062b625fb5d76d3241e43b6b30dc4b1b5155d7e25c4a317741ae6dfc39f91",
|
||||
"archive_sha256": "f0e08cf329eef5a28325e4468fd528ef7e472bda0085acc73f1ede3136a6129b",
|
||||
"restore_verified": true,
|
||||
"files_verified": true,
|
||||
"compatibility_verified": true,
|
||||
"disable_preserves_data": true,
|
||||
"original_mfa_envelopes_recovered": 2,
|
||||
"active_writes": 0,
|
||||
"note": "282 files include inactive immutable assets preserved after prior reversal, versus154 in previous snapshot. 288 tables are the same active target;295 was QA with030000/040000 extra tables. All row/sequence/file comparisons happened before QA fixtures."
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,89 @@
|
||||
--- a/app/Http/Controllers/OpportunityResourceController.php
|
||||
+++ b/app/Http/Controllers/OpportunityResourceController.php
|
||||
@@ -17,6 +17,7 @@
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
use Illuminate\Support\Facades\URL;
|
||||
+use Illuminate\Support\Str;
|
||||
use Inertia\Inertia;
|
||||
use Inertia\Response;
|
||||
use Symfony\Component\HttpFoundation\BinaryFileResponse;
|
||||
@@ -41,16 +42,35 @@
|
||||
|
||||
public function organizationCountryPreview(Request $request, OrganizationCountryInstallation $service): JsonResponse|Response
|
||||
{
|
||||
- $plan = [...$service->preview($request->user()), 'actionUrl' => '/management/opportunity-resources-install/organization-country', 'extension' => true];
|
||||
+ $plan = $service->preview($request->user());
|
||||
+ $scope = $this->countryOperationScope($request, $plan);
|
||||
+ $operation = $request->session()->get('portal.country_installation_operation');
|
||||
+ if (! is_array($operation) || ($operation['scope'] ?? null) !== $scope) {
|
||||
+ $operation = ['scope' => $scope, 'key' => (string) Str::uuid()];
|
||||
+ $request->session()->put('portal.country_installation_operation', $operation);
|
||||
+ }
|
||||
+ $plan = [...$plan, 'operationKey' => $operation['key'], 'actionUrl' => '/management/opportunity-resources-install/organization-country', 'extension' => true];
|
||||
|
||||
return $request->expectsJson() ? response()->json($plan) : Inertia::render('management/opportunity-install', $plan);
|
||||
}
|
||||
|
||||
public function organizationCountryApply(Request $request, OrganizationCountryInstallation $service): JsonResponse|RedirectResponse
|
||||
{
|
||||
+ // Preview authorizes the actor; the UUID remains stable until this scope changes or logout.
|
||||
+ $plan = $service->preview($request->user());
|
||||
+ $operation = $request->session()->get('portal.country_installation_operation');
|
||||
+ $data = $request->validate(['idempotency_key' => 'required|uuid']);
|
||||
+ abort_unless(is_array($operation) && ($operation['scope'] ?? null) === $this->countryOperationScope($request, $plan)
|
||||
+ && hash_equals($operation['key'], $data['idempotency_key']), 409, 'A operação não corresponde a esta prévia. Atualize a página antes de tentar novamente.');
|
||||
$result = $service->apply($request->user(), $request->all());
|
||||
|
||||
return $request->expectsJson() ? response()->json($result) : back()->with('success', 'País mestre instalado; nenhuma submissão anterior alterada.');
|
||||
+ }
|
||||
+
|
||||
+ /** @param array<string, mixed> $plan */
|
||||
+ private function countryOperationScope(Request $request, array $plan): string
|
||||
+ {
|
||||
+ return hash('sha256', json_encode([$request->user()->getAuthIdentifier(), $plan['target'], $plan['migration'], $plan['code_hash']], JSON_THROW_ON_ERROR));
|
||||
}
|
||||
|
||||
public function index(int $id, OpportunityResources $service): Response
|
||||
--- a/resources/js/pages/management/opportunity-install.tsx
|
||||
+++ b/resources/js/pages/management/opportunity-install.tsx
|
||||
@@ -12,6 +12,7 @@
|
||||
actionUrl = '/management/opportunity-management-install',
|
||||
imageProcessingAvailable,
|
||||
extension = false,
|
||||
+ operationKey,
|
||||
}: {
|
||||
installed: boolean;
|
||||
ready: boolean;
|
||||
@@ -24,11 +25,12 @@
|
||||
actionUrl?: string;
|
||||
imageProcessingAvailable?: boolean;
|
||||
extension?: boolean;
|
||||
+ operationKey?: string;
|
||||
}) {
|
||||
const form = useForm({
|
||||
hash,
|
||||
confirm: false,
|
||||
- idempotency_key: crypto.randomUUID(),
|
||||
+ idempotency_key: operationKey ?? '',
|
||||
reason: '',
|
||||
});
|
||||
return (
|
||||
@@ -113,6 +115,7 @@
|
||||
installed ||
|
||||
!ready ||
|
||||
!form.data.confirm ||
|
||||
+ (extension && !operationKey) ||
|
||||
form.processing
|
||||
}
|
||||
>
|
||||
@@ -120,6 +123,9 @@
|
||||
? 'Aplicar extensão do país'
|
||||
: 'Aplicar plano de gestão'}
|
||||
</button>
|
||||
+ {extension && !operationKey && (
|
||||
+ <p role="alert">Atualize a prévia para obter a chave desta operação.</p>
|
||||
+ )}
|
||||
{!ready && (
|
||||
<p>
|
||||
Aplicação indisponível até comprovar QA,
|
||||
+251
@@ -0,0 +1,251 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use App\Models\Opportunity;
|
||||
use App\Services\CountryCatalogue;
|
||||
use App\Services\InvestmentGeography;
|
||||
use App\Services\OpportunityImageProcessor;
|
||||
use App\Services\OpportunityManagement;
|
||||
use App\Services\OpportunityResourceInstallation;
|
||||
use App\Services\OpportunityResources;
|
||||
use App\Services\OrganizationCountryInstallation;
|
||||
use App\Services\PortalProfileAccess;
|
||||
use App\Services\VerifiedDocumentBinary;
|
||||
use Illuminate\Http\JsonResponse;
|
||||
use Illuminate\Http\RedirectResponse;
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
use Illuminate\Support\Facades\URL;
|
||||
use Illuminate\Support\Str;
|
||||
use Inertia\Inertia;
|
||||
use Inertia\Response;
|
||||
use Symfony\Component\HttpFoundation\BinaryFileResponse;
|
||||
|
||||
class OpportunityResourceController extends Controller
|
||||
{
|
||||
public function installation(Request $request, OpportunityResourceInstallation $service): JsonResponse|Response
|
||||
{
|
||||
$preview = [...$service->preview(), 'imageProcessingAvailable' => app(OpportunityImageProcessor::class)->available(), 'actionUrl' => '/management/opportunity-resources-install'];
|
||||
$preview['changes'] = [...$preview['changes'], 'Código reconciliado: catálogo ISO comum; residência e constituição distintas; origem declarada guardada no payload existente e estatísticas internas autorizadas. Não converte países históricos nem usa IP.', 'Seletores territoriais reutilizados com pesquisa; filtros contextuais do catálogo e fichas territoriais consultáveis no percurso do mapa. Zero geometrias não permite desenhar estruturas sem dados.', 'Não reinstala a gestão básica nem acrescenta associações territoriais. Revisão transversal, cadastro completo em todos os campos e percursos educativos continuam parciais; consultar a matriz por módulo.'];
|
||||
|
||||
return $request->expectsJson() ? response()->json($preview) : Inertia::render('management/opportunity-install', $preview);
|
||||
}
|
||||
|
||||
public function applyInstallation(Request $request, OpportunityResourceInstallation $service): RedirectResponse
|
||||
{
|
||||
$data = $request->validate(['hash' => 'required|string|size:64', 'confirm' => 'required|accepted']);
|
||||
$service->apply($request->user(), $data['hash']);
|
||||
|
||||
return back()->with('success', 'Recursos instalados; nenhum ficheiro publicado ou oportunidade submetida.');
|
||||
}
|
||||
|
||||
public function organizationCountryPreview(Request $request, OrganizationCountryInstallation $service): JsonResponse|Response
|
||||
{
|
||||
$plan = $service->preview($request->user());
|
||||
$scope = $this->countryOperationScope($request, $plan);
|
||||
$operation = $request->session()->get('portal.country_installation_operation');
|
||||
if (! is_array($operation) || ($operation['scope'] ?? null) !== $scope) {
|
||||
$operation = ['scope' => $scope, 'key' => (string) Str::uuid()];
|
||||
$request->session()->put('portal.country_installation_operation', $operation);
|
||||
}
|
||||
$plan = [...$plan, 'operationKey' => $operation['key'], 'actionUrl' => '/management/opportunity-resources-install/organization-country', 'extension' => true];
|
||||
|
||||
return $request->expectsJson() ? response()->json($plan) : Inertia::render('management/opportunity-install', $plan);
|
||||
}
|
||||
|
||||
public function organizationCountryApply(Request $request, OrganizationCountryInstallation $service): JsonResponse|RedirectResponse
|
||||
{
|
||||
// Preview authorizes the actor; the UUID remains stable until this scope changes or logout.
|
||||
$plan = $service->preview($request->user());
|
||||
$operation = $request->session()->get('portal.country_installation_operation');
|
||||
$data = $request->validate(['idempotency_key' => 'required|uuid']);
|
||||
abort_unless(is_array($operation) && ($operation['scope'] ?? null) === $this->countryOperationScope($request, $plan)
|
||||
&& hash_equals($operation['key'], $data['idempotency_key']), 409, 'A operação não corresponde a esta prévia. Atualize a página antes de tentar novamente.');
|
||||
$result = $service->apply($request->user(), $request->all());
|
||||
|
||||
return $request->expectsJson() ? response()->json($result) : back()->with('success', 'País mestre instalado; nenhuma submissão anterior alterada.');
|
||||
}
|
||||
|
||||
/** @param array<string, mixed> $plan */
|
||||
private function countryOperationScope(Request $request, array $plan): string
|
||||
{
|
||||
return hash('sha256', json_encode([$request->user()->getAuthIdentifier(), $plan['target'], $plan['migration'], $plan['code_hash']], JSON_THROW_ON_ERROR));
|
||||
}
|
||||
|
||||
public function index(int $id, OpportunityResources $service): Response
|
||||
{
|
||||
$opportunity = Opportunity::withTrashed()->findOrFail($id);
|
||||
app(PortalProfileAccess::class)->authorize(request()->user(), 'view', $opportunity);
|
||||
Inertia::share(['basePath' => str_starts_with(request()->path(), 'minhas-oportunidades') ? '/minhas-oportunidades' : '/management/opportunities', 'readOnly' => ! app(PortalProfileAccess::class)->canEdit(request()->user(), $opportunity)]);
|
||||
abort_unless($service->installed(), 503, 'Recursos ainda não instalados; consulte o plano autenticado.');
|
||||
$resources = [];
|
||||
Inertia::share('imageProcessingAvailable', app(OpportunityImageProcessor::class)->available());
|
||||
Inertia::share('countries', app(CountryCatalogue::class)->all());
|
||||
foreach (OpportunityResources::KINDS as $kind) {
|
||||
$resources[$kind] = $service->listing($id, $kind);
|
||||
}
|
||||
foreach ($resources['locations'] as $location) {
|
||||
$p = $location->payload;
|
||||
$location->territoryPath = app(InvestmentGeography::class)->path($p['locality_id'] ?? $p['admin_post_id'] ?? $p['district_id'] ?? $p['province_id'] ?? null, true);
|
||||
}
|
||||
foreach ($resources['images'] as $image) {
|
||||
$image->derivativePreviews = [];
|
||||
foreach ($image->payload['derivatives'] ?? [] as $derived) {
|
||||
if (DB::table('documents')->where('id', $derived['document_id'])->where('status', 'active')->where('malware_scan_status', 'clean')->whereColumn('sha256', 'malware_scanned_sha256')->exists()) {
|
||||
$image->derivativePreviews[] = [...$derived, 'url' => URL::temporarySignedRoute(str_starts_with(request()->path(), 'minhas-oportunidades') ? 'promoter.opportunity-image-preview' : 'management.opportunity-image-preview', now()->addMinutes(10), ['id' => $id, 'resourceId' => $image->id, 'documentId' => $derived['document_id']])];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return Inertia::render('management/opportunity-resources', ['opportunity' => $opportunity, 'etag' => app(OpportunityManagement::class)->etag($opportunity), 'resources' => $resources, 'existingLocations' => DB::table('opportunity_locations as l')->join('geo_locations as g', 'g.id', '=', 'l.geo_location_id')->where('opportunity_id', $id)->get(['g.id', 'g.name', 'g.location_type']), 'assessment' => $this->assessment($resources)]);
|
||||
}
|
||||
|
||||
public function save(Request $request, int $id, string $kind, OpportunityResources $service, ?string $resourceId = null): JsonResponse
|
||||
{
|
||||
$input = $request->all();
|
||||
if (is_string($input['payload'] ?? null)) {
|
||||
$input['payload'] = json_decode($input['payload'], true);
|
||||
}
|
||||
$record = $service->save($request->user(), $id, $kind, $input, $request->file('file'), $resourceId);
|
||||
|
||||
return response()->json(['id' => $record->id, 'message' => 'Recurso guardado no servidor. Não publicado; validação final e scan são independentes.', 'etag' => app(OpportunityManagement::class)->etag(Opportunity::findOrFail($id))], $resourceId ? 200 : 201);
|
||||
}
|
||||
|
||||
public function lifecycle(Request $request, int $id, string $kind, string $resourceId, OpportunityResources $service): JsonResponse
|
||||
{
|
||||
$service->lifecycle($request->user(), $id, $kind, $resourceId, $request->all());
|
||||
|
||||
return response()->json(['message' => 'Exclusão lógica/restauração registada; original e versões preservados.']);
|
||||
}
|
||||
|
||||
public function prepareImage(Request $request, int $id, string $resourceId, OpportunityImageProcessor $service): JsonResponse
|
||||
{
|
||||
$service->prepare($request->user(), $id, $resourceId, $request->all());
|
||||
|
||||
return response()->json(['message' => 'Derivadas WebP geradas sem EXIF original; scan independente e revisão de divulgação pendentes.']);
|
||||
}
|
||||
|
||||
public function previewImage(int $id, string $resourceId, string $documentId): \Illuminate\Http\Response|BinaryFileResponse
|
||||
{
|
||||
$o = Opportunity::findOrFail($id);
|
||||
abort_if($o->status === 'archived', 404);
|
||||
$image = DB::table('opportunity_images')->where('opportunity_id', $id)->where('id', $resourceId)->whereNull('deleted_at')->first();
|
||||
abort_unless($image !== null, 404);
|
||||
$metadata = json_decode($image->payload, true);
|
||||
abort_unless(in_array($documentId, array_column($metadata['derivatives'] ?? [], 'document_id'), true), 404);
|
||||
$doc = DB::table('documents')->where('id', $documentId)->whereNull('deleted_at')->first();
|
||||
abort_unless($doc && $doc->status === 'active' && $doc->malware_scan_status === 'clean' && hash_equals(trim($doc->sha256), (string) $doc->malware_scanned_sha256), 423, 'Scan da derivada pendente.');
|
||||
|
||||
return app(VerifiedDocumentBinary::class)->respond($doc, true);
|
||||
}
|
||||
|
||||
public function download(int $id, string $kind, string $resourceId, OpportunityResources $service): \Illuminate\Http\Response|BinaryFileResponse
|
||||
{
|
||||
abort_unless(in_array($kind, ['documents', 'images'], true), 404);
|
||||
$opportunity = Opportunity::findOrFail($id);
|
||||
abort_if($opportunity->status === 'archived', 404);
|
||||
$record = DB::table($service->table($kind).' as r')->join('documents as d', 'd.id', '=', 'r.document_id')->where('r.id', $resourceId)->where('r.opportunity_id', $id)->whereNull('r.deleted_at')->whereNull('d.deleted_at')->first(['d.*']);
|
||||
abort_unless($record !== null, 404, 'Recurso indisponível ou excluído logicamente.');
|
||||
abort_unless($record->status === 'active' && $record->malware_scan_status === 'clean' && hash_equals(trim($record->sha256), (string) $record->malware_scanned_sha256), 423, 'Scan pendente, inconclusivo ou inseguro. O ficheiro permanece em quarentena.');
|
||||
|
||||
return app(VerifiedDocumentBinary::class)->respond($record);
|
||||
}
|
||||
|
||||
/** @param array<string,list<\stdClass>> $resources
|
||||
* @return list<string>
|
||||
*/
|
||||
private function assessment(array $resources): array
|
||||
{
|
||||
$issues = [];
|
||||
$locations = array_values(array_filter($resources['locations'], fn ($r) => ! $r->deleted_at));
|
||||
if (count($locations) < 1) {
|
||||
$issues[] = 'Localização operacional ainda não preparada; ligações históricas não são convertidas automaticamente.';
|
||||
}
|
||||
if (count(array_filter($locations, fn ($r) => $r->payload['is_primary'] ?? false)) !== 1) {
|
||||
$issues[] = 'Escolha exatamente uma localização principal.';
|
||||
}
|
||||
$allocated = array_filter($locations, fn ($r) => isset($r->payload['allocation_percentage']));
|
||||
if ($allocated && (count($allocated) !== count($locations) || abs(array_sum(array_map(fn ($r) => (float) $r->payload['allocation_percentage'], $allocated)) - 100) > 0.01)) {
|
||||
$issues[] = 'A distribuição deve abranger todas as localizações e somar 100% (tolerância 0,01).';
|
||||
}
|
||||
$provinces = [];
|
||||
$districts = [];
|
||||
foreach ($locations as $location) {
|
||||
$p = $location->payload;
|
||||
$mozambican = empty($p['country_code']) || $p['country_code'] === 'MZ';
|
||||
if ($mozambican && (empty($p['province_id']) || empty($p['district_id']))) {
|
||||
$issues[] = 'Uma localização em Moçambique tem província ou distrito pendente.';
|
||||
}
|
||||
if (! $mozambican && array_filter(array_intersect_key($p, array_flip(['province_id', 'district_id', 'admin_post_id', 'locality_id'])))) {
|
||||
$issues[] = 'Uma localização noutro país conserva uma seleção territorial de Moçambique incompatível; corrigir explicitamente sem converter o histórico.';
|
||||
}
|
||||
if (empty($p['role'])) {
|
||||
$issues[] = 'Uma localização tem papel pendente.';
|
||||
}
|
||||
if ($mozambican && ! empty($p['district_id'])) {
|
||||
$districts[$p['district_id']] = true;
|
||||
}
|
||||
if ($mozambican && ! empty($p['province_id'])) {
|
||||
$provinces[$p['province_id']] = true;
|
||||
}
|
||||
if (($p['role'] ?? null) === 'other' && empty($p['role_description'])) {
|
||||
$issues[] = 'Papel outro exige descrição.';
|
||||
}
|
||||
if (empty($p['source_reference'])) {
|
||||
$issues[] = 'Localização com rastreabilidade por recuperar; aceitação oficial anterior preservada.';
|
||||
}
|
||||
if (! empty($p['geometry'])) {
|
||||
$issues[] = 'Compatibilidade espacial depende de limite oficial correspondente; geometria não confirma disponibilidade.';
|
||||
}
|
||||
if (isset($p['area_value']) !== isset($p['area_unit'])) {
|
||||
$issues[] = 'Área exige valor e unidade juntos.';
|
||||
}
|
||||
}
|
||||
if (count($districts) > 1 && ! array_filter($locations, fn ($r) => mb_strlen($r->payload['multi_district_rationale'] ?? '') >= 50)) {
|
||||
$issues[] = 'Multidistrito/interprovincial exige fundamento operacional de 50–1000 caracteres.';
|
||||
}
|
||||
if ($locations) {
|
||||
$issues[] = 'Modo preparado: '.(count($locations) > 1 ? 'multiple' : 'single').'; âmbito administrativo moçambicano derivado: '.(count($provinces) > 1 ? 'interprovincial' : (count($districts) > 1 ? 'multi_district' : ($districts ? 'district' : 'sem seleção moçambicana'))).'. Sem conversão de contexto em implantação.';
|
||||
}
|
||||
foreach (['images', 'documents'] as $kind) {
|
||||
foreach ($resources[$kind] as $r) {
|
||||
if ($r->deleted_at) {
|
||||
continue;
|
||||
}
|
||||
if ($r->file->malware_scan_status !== 'clean') {
|
||||
$issues[] = 'Anexo '.$r->file->file_name.': scan '.$r->file->malware_scan_status.'; não é evidência de segurança.';
|
||||
}
|
||||
$required = $kind === 'images' ? ['title', 'caption', 'alt_text', 'author_source', 'rights_status'] : ['category', 'issuer', 'edition', 'classification'];
|
||||
foreach ($required as $field) {
|
||||
if (empty($r->payload[$field])) {
|
||||
$issues[] = 'Anexo '.$r->file->file_name.': '.$field.' pendente.';
|
||||
}
|
||||
}
|
||||
if ($kind === 'images') {
|
||||
if (empty($r->payload['derivatives'])) {
|
||||
$issues[] = 'Imagem '.$r->file->file_name.': derivadas sem EXIF ainda por preparar (GD/WebP e scan necessários).';
|
||||
}
|
||||
$issues[] = 'Imagem '.$r->file->file_name.': revisão de dados pessoais/direitos e aprovação de divulgação ainda pendentes.';
|
||||
foreach (['title' => 5, 'caption' => 10, 'alt_text' => 10, 'author_source' => 2] as $field => $minimum) {
|
||||
if (mb_strlen($r->payload[$field] ?? '') < $minimum) {
|
||||
$issues[] = 'Imagem '.$r->file->file_name.': '.$field.' abaixo do mínimo para validação final.';
|
||||
}
|
||||
}
|
||||
if (($r->payload['role'] ?? null) === 'location' && empty($r->payload['location_id'])) {
|
||||
$issues[] = 'Imagem de localização exige ligação a um local ativo da mesma oportunidade.';
|
||||
}
|
||||
if (in_array($r->payload['role'] ?? null, ['asset', 'product', 'evidence'], true)) {
|
||||
$issues[] = 'Imagem de ativo/produto/evidência: módulo e associação específica ainda pendentes.';
|
||||
}
|
||||
if (in_array($r->payload['rights_status'] ?? null, ['licensed', 'authorized'], true) && empty($r->payload['rights_document_id'])) {
|
||||
$issues[] = 'Imagem licenciada/autorizada exige comprovativo.';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
$issues[] = 'Esta conferência não submete nem publica; workflow final, revisão humana e derivados seguros permanecem separados.';
|
||||
|
||||
return array_values(array_unique($issues));
|
||||
}
|
||||
}
|
||||
+144
@@ -0,0 +1,144 @@
|
||||
import { useForm } from '@inertiajs/react';
|
||||
import { Management, button } from './shared';
|
||||
export default function Install({
|
||||
installed,
|
||||
ready,
|
||||
target,
|
||||
hash,
|
||||
changes,
|
||||
migration,
|
||||
backupDate,
|
||||
rollback,
|
||||
actionUrl = '/management/opportunity-management-install',
|
||||
imageProcessingAvailable,
|
||||
extension = false,
|
||||
operationKey,
|
||||
}: {
|
||||
installed: boolean;
|
||||
ready: boolean;
|
||||
target: { database: string; port: number };
|
||||
hash: string;
|
||||
changes: string[];
|
||||
migration: string;
|
||||
backupDate: string | null;
|
||||
rollback: string;
|
||||
actionUrl?: string;
|
||||
imageProcessingAvailable?: boolean;
|
||||
extension?: boolean;
|
||||
operationKey?: string;
|
||||
}) {
|
||||
const form = useForm({
|
||||
hash,
|
||||
confirm: false,
|
||||
idempotency_key: operationKey ?? '',
|
||||
reason: '',
|
||||
});
|
||||
return (
|
||||
<Management
|
||||
title={
|
||||
migration.endsWith('extend_organization_country')
|
||||
? 'Instalação do país de constituição'
|
||||
: 'Ativação da Gestão de Oportunidades'
|
||||
}
|
||||
>
|
||||
<p>
|
||||
Base: {target.database}:{target.port} ·{' '}
|
||||
{installed ? 'Instalado' : 'Ainda não aplicado'}
|
||||
</p>
|
||||
<ul>
|
||||
{changes.map((c) => (
|
||||
<li key={c}>{c}</li>
|
||||
))}
|
||||
</ul>
|
||||
<p>Migração: {migration}</p>
|
||||
{imageProcessingAvailable !== undefined && (
|
||||
<section
|
||||
className="rounded border border-amber-500 p-3"
|
||||
aria-label="Limitações dos anexos"
|
||||
>
|
||||
<p>
|
||||
{imageProcessingAvailable
|
||||
? 'GD/WebP disponível neste servidor; o processamento continua a exigir scan concluído do original.'
|
||||
: 'GD/WebP indisponível neste servidor: guardar imagens é possível; gerar miniaturas permanece pendente.'}
|
||||
</p>
|
||||
<p>
|
||||
Instalar recursos não confirma scans. Documentos e
|
||||
imagens com scan pendente ficam sem download ou
|
||||
pré-visualização; preparação de rascunhos e localizações
|
||||
continua disponível. ClamD real mantém uma pendência
|
||||
separada.
|
||||
</p>
|
||||
</section>
|
||||
)}
|
||||
<p>Backup/restauro: {backupDate ?? 'Prova ainda por preparar'}</p>
|
||||
<p>{rollback}</p>
|
||||
<p>
|
||||
Este plano ativa apenas as alterações acima; workflow completo e
|
||||
lacunas restantes permanecem no backlog.
|
||||
</p>
|
||||
<form
|
||||
onSubmit={(e) => {
|
||||
e.preventDefault();
|
||||
form.post(actionUrl);
|
||||
}}
|
||||
>
|
||||
<label>
|
||||
<input
|
||||
type="checkbox"
|
||||
checked={form.data.confirm}
|
||||
onChange={(e) =>
|
||||
form.setData('confirm', e.target.checked)
|
||||
}
|
||||
/>{' '}
|
||||
Confirmo a aplicação deste plano
|
||||
</label>
|
||||
{extension && (
|
||||
<div>
|
||||
<label htmlFor="installation-reason" className="block">
|
||||
Fundamentação da instalação
|
||||
</label>
|
||||
<textarea
|
||||
id="installation-reason"
|
||||
value={form.data.reason}
|
||||
minLength={20}
|
||||
maxLength={1000}
|
||||
required
|
||||
onChange={(event) =>
|
||||
form.setData('reason', event.target.value)
|
||||
}
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
<button
|
||||
className={button}
|
||||
disabled={
|
||||
installed ||
|
||||
!ready ||
|
||||
!form.data.confirm ||
|
||||
(extension && !operationKey) ||
|
||||
form.processing
|
||||
}
|
||||
>
|
||||
{migration.endsWith('extend_organization_country')
|
||||
? 'Aplicar extensão do país'
|
||||
: 'Aplicar plano de gestão'}
|
||||
</button>
|
||||
{extension && !operationKey && (
|
||||
<p role="alert">Atualize a prévia para obter a chave desta operação.</p>
|
||||
)}
|
||||
{!ready && (
|
||||
<p>
|
||||
Aplicação indisponível até comprovar QA,
|
||||
backup/restauro, compatibilidade e reversão da versão
|
||||
atual.
|
||||
</p>
|
||||
)}
|
||||
{Object.values(form.errors).map((e) => (
|
||||
<p role="alert" key={e}>
|
||||
{e}
|
||||
</p>
|
||||
))}
|
||||
</form>
|
||||
</Management>
|
||||
);
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 118 KiB |
@@ -0,0 +1,155 @@
|
||||
{
|
||||
"entries": [
|
||||
"resources/js/pages/investment/profile.tsx",
|
||||
"resources/js/pages/investment/submission.tsx",
|
||||
"resources/js/pages/management/opportunity-install.tsx"
|
||||
],
|
||||
"before": {
|
||||
"dependency_files": 30,
|
||||
"calls": [
|
||||
{
|
||||
"file": "resources/js/pages/management/opportunity-install.tsx",
|
||||
"line": 31
|
||||
}
|
||||
]
|
||||
},
|
||||
"after": {
|
||||
"dependency_files": 30,
|
||||
"calls": []
|
||||
},
|
||||
"shared_installer_consumers": [
|
||||
"/management/opportunity-management-install",
|
||||
"/management/opportunity-resources-install",
|
||||
"/management/opportunity-resources-install/organization-country"
|
||||
],
|
||||
"other_occurrences": [
|
||||
{
|
||||
"file": "resources/js/components/desk-internal-operations.tsx",
|
||||
"line": 200,
|
||||
"scope": "Outside COUNTRY02 mounted consumers; unchanged, no activation or acceptance implied"
|
||||
},
|
||||
{
|
||||
"file": "resources/js/components/desk-internal-operations.tsx",
|
||||
"line": 436,
|
||||
"scope": "Outside COUNTRY02 mounted consumers; unchanged, no activation or acceptance implied"
|
||||
},
|
||||
{
|
||||
"file": "resources/js/components/simulation-form.tsx",
|
||||
"line": 70,
|
||||
"scope": "Outside COUNTRY02 mounted consumers; unchanged, no activation or acceptance implied"
|
||||
},
|
||||
{
|
||||
"file": "resources/js/pages/desk/case.tsx",
|
||||
"line": 147,
|
||||
"scope": "Outside COUNTRY02 mounted consumers; unchanged, no activation or acceptance implied"
|
||||
},
|
||||
{
|
||||
"file": "resources/js/pages/desk/panel.tsx",
|
||||
"line": 53,
|
||||
"scope": "Outside COUNTRY02 mounted consumers; unchanged, no activation or acceptance implied"
|
||||
},
|
||||
{
|
||||
"file": "resources/js/pages/desk/request.tsx",
|
||||
"line": 117,
|
||||
"scope": "Outside COUNTRY02 mounted consumers; unchanged, no activation or acceptance implied"
|
||||
},
|
||||
{
|
||||
"file": "resources/js/pages/desk/request.tsx",
|
||||
"line": 666,
|
||||
"scope": "Outside COUNTRY02 mounted consumers; unchanged, no activation or acceptance implied"
|
||||
},
|
||||
{
|
||||
"file": "resources/js/pages/investor-path/index.tsx",
|
||||
"line": 19,
|
||||
"scope": "Outside COUNTRY02 mounted consumers; unchanged, no activation or acceptance implied"
|
||||
},
|
||||
{
|
||||
"file": "resources/js/pages/investor-path/show.tsx",
|
||||
"line": 348,
|
||||
"scope": "Outside COUNTRY02 mounted consumers; unchanged, no activation or acceptance implied"
|
||||
},
|
||||
{
|
||||
"file": "resources/js/pages/management/opportunity-draft.tsx",
|
||||
"line": 137,
|
||||
"scope": "Outside COUNTRY02 mounted consumers; unchanged, no activation or acceptance implied"
|
||||
},
|
||||
{
|
||||
"file": "resources/js/pages/management/opportunity-resources.tsx",
|
||||
"line": 165,
|
||||
"scope": "Outside COUNTRY02 mounted consumers; unchanged, no activation or acceptance implied"
|
||||
},
|
||||
{
|
||||
"file": "resources/js/pages/management/opportunity-resources.tsx",
|
||||
"line": 188,
|
||||
"scope": "Outside COUNTRY02 mounted consumers; unchanged, no activation or acceptance implied"
|
||||
},
|
||||
{
|
||||
"file": "resources/js/pages/management/opportunity-resources.tsx",
|
||||
"line": 261,
|
||||
"scope": "Outside COUNTRY02 mounted consumers; unchanged, no activation or acceptance implied"
|
||||
},
|
||||
{
|
||||
"file": "resources/js/pages/management/territory-geometry-import.tsx",
|
||||
"line": 33,
|
||||
"scope": "Outside COUNTRY02 mounted consumers; unchanged, no activation or acceptance implied"
|
||||
},
|
||||
{
|
||||
"file": "resources/js/pages/management/territory-geometry-import.tsx",
|
||||
"line": 34,
|
||||
"scope": "Outside COUNTRY02 mounted consumers; unchanged, no activation or acceptance implied"
|
||||
},
|
||||
{
|
||||
"file": "resources/js/pages/management/territory-geometry-import.tsx",
|
||||
"line": 94,
|
||||
"scope": "Outside COUNTRY02 mounted consumers; unchanged, no activation or acceptance implied"
|
||||
},
|
||||
{
|
||||
"file": "resources/js/pages/management/territory-geometry-import.tsx",
|
||||
"line": 95,
|
||||
"scope": "Outside COUNTRY02 mounted consumers; unchanged, no activation or acceptance implied"
|
||||
},
|
||||
{
|
||||
"file": "resources/js/pages/management/territory-geometry-import.tsx",
|
||||
"line": 120,
|
||||
"scope": "Outside COUNTRY02 mounted consumers; unchanged, no activation or acceptance implied"
|
||||
},
|
||||
{
|
||||
"file": "resources/js/pages/management/territory-geometry-import.tsx",
|
||||
"line": 200,
|
||||
"scope": "Outside COUNTRY02 mounted consumers; unchanged, no activation or acceptance implied"
|
||||
},
|
||||
{
|
||||
"file": "resources/js/pages/partnerships/editor.tsx",
|
||||
"line": 25,
|
||||
"scope": "Outside COUNTRY02 mounted consumers; unchanged, no activation or acceptance implied"
|
||||
},
|
||||
{
|
||||
"file": "resources/js/pages/partnerships/room.tsx",
|
||||
"line": 140,
|
||||
"scope": "Outside COUNTRY02 mounted consumers; unchanged, no activation or acceptance implied"
|
||||
},
|
||||
{
|
||||
"file": "resources/js/pages/partnerships/room.tsx",
|
||||
"line": 198,
|
||||
"scope": "Outside COUNTRY02 mounted consumers; unchanged, no activation or acceptance implied"
|
||||
},
|
||||
{
|
||||
"file": "resources/js/pages/profiles/installation.tsx",
|
||||
"line": 40,
|
||||
"scope": "Outside COUNTRY02 mounted consumers; unchanged, no activation or acceptance implied"
|
||||
},
|
||||
{
|
||||
"file": "resources/js/pages/profiles/request.tsx",
|
||||
"line": 30,
|
||||
"scope": "Outside COUNTRY02 mounted consumers; unchanged, no activation or acceptance implied"
|
||||
},
|
||||
{
|
||||
"file": "resources/js/pages/profiles/request.tsx",
|
||||
"line": 47,
|
||||
"scope": "Outside COUNTRY02 mounted consumers; unchanged, no activation or acceptance implied"
|
||||
}
|
||||
],
|
||||
"excluded_occurrences": 25,
|
||||
"live_sources_modified": false,
|
||||
"no_Math_random_or_timestamp_key": true
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,204 @@
|
||||
{
|
||||
"candidate_id": "CAND-COUNTRY02-C110-20261011",
|
||||
"code_hash": "54fb610eb9dab0d21e28f4aa1407f231dac4f0cf505fad8b0cd655855a5b812c",
|
||||
"delivery_revision": "d28d687c321bbfbdc5bc206b33eb1485bfc33bb4df548413f5576bf8846c3481",
|
||||
"manifesto_candidata_sha256": "85a5cff743590e4d585d7c323b000fe7b4ca3e04790bae1e82eb865e3e3bbca5",
|
||||
"archive": "country02-c110-d28d687c321b-revisao.zip",
|
||||
"archive_sha256": "e6404e7de1e344b8367e87e2ae967c7699c486a6ced05ea75a127443d249a69d",
|
||||
"archive_entries": 189,
|
||||
"bytes": 1286000,
|
||||
"verified_members_sha256": {
|
||||
"app/Services/OrganizationCountry.php": "cdced1699c1fb33db8d3001b801134c3e9ad954b71b045b04426370f90e14ad3",
|
||||
"app/Services/OrganizationCountryInstallation.php": "fe7ab6843cb16c89e794ee23439bd322b55dede71c8ba15adc0e56f51ca8afe5",
|
||||
"app/Providers/AppServiceProvider.php": "63e0332bc77f20a9e3ac0b55ad47a53614fde0a96f77e10a940dd87b6f4c845e",
|
||||
"app/Services/CountryCatalogue.php": "625aa4bf2d93cfc471fb547de19a4bd08b9e5e01bf165a18b1076507ff2946d9",
|
||||
"app/Services/PortalProfileAccess.php": "0c3a1fa59ee4f5b0b36fe1709678c2742129d45250cec0760a64938bebd0e4b2",
|
||||
"app/Services/PortalProfileInstallation.php": "45dd037998402e21ea3e0be0361e79d3daca40b8413d9a952cbe49e7b6937a8b",
|
||||
"app/Http/Controllers/InvestmentWorkspaceController.php": "6f7ec5bb0af3eb4ba72c4f3442f20ca6310ff4cf997264c365c65fa0db16eefc",
|
||||
"app/Http/Controllers/InvestmentSubmissionController.php": "c4b309a8ff79f870a519379e41d6ec23387da0b903510d5ce99cfd48a00e921e",
|
||||
"app/Http/Controllers/OpportunityResourceController.php": "dec2b5ef5c34760d8c09224ec1c9029d4c07c241f56d36199c2bde4418673b0e",
|
||||
"app/Models/User.php": "63f950a46c8dae576f1f8ddb236d3b7176f4f7c9b18b7736de9b26d4ba0aeb76",
|
||||
"config/portal.php": "5bb04324ca9003b51fc736bdb06551ac0c62076302eb5b4ec5623be979525776",
|
||||
"routes/web.php": "57a71bf72aae10edf6d69f5802c29bf28312165748497b791db4259ea5ae95eb",
|
||||
"routes/investment.php": "e5f3717da92548c2138792643e58c09281613742fad669cd8f095b231e31d049",
|
||||
"database/migrations/2026_10_10_050000_extend_organization_country.php": "1f4556f9c38c4b3aa85e34281ba3fc4113a61eab0f1d64193711a67e7ab18d30",
|
||||
"resources/js/components/country-select.tsx": "6392f1054c36f87c10503201b04f93ed88f9c19fbf8d1b4155c761be0f8e3e3d",
|
||||
"resources/js/pages/investment/profile.tsx": "d73f99da40a2d43cf24009dd12e11849ccbea8f9703ba97a89518fafb64e19e1",
|
||||
"resources/js/pages/investment/submission.tsx": "563c48a71f80d6bda040ac0ac2a6a1610f8519cf15cd57d83b901618818c91a8",
|
||||
"resources/js/pages/management/opportunity-install.tsx": "fdbf0b9ff2015c3ba67e5a6ad9b7204fcc8b694640faa3fbeb93b88e078a5275",
|
||||
"resources/data/iso3166.tab": "837c80785080c8433fd9d4ea87e78f161ac7a40389301c5153d4f90198baeb2a",
|
||||
"config/portal_profiles.php": "93758b42db760c966fade64a78c0d69d5168e371a2d6d88a8806f911e8b80c2a",
|
||||
"composer.json": "e4ce398e6299fe562a5e8467900e630dcd9e82f5be56d79246b02b8fddfd027c",
|
||||
"composer.lock": "af90565c70188372ea1744c65bceb1d71c0400c6a028cda610fea0730b81b296",
|
||||
"public/build/fonts-manifest.json": "66edf17c93351fe01158be7414a441a762f106417c74351881876b405b8b10ca",
|
||||
"public/build/manifest.json": "d172b5c4f1a1cb2df504b4acd50c687825b8cda970225a02a56e6286b3a13dd5",
|
||||
"public/build/assets/administration-CrinBzST.js": "a6b8e8dc4350fc34eed7557f2c6f94242ae9ec74eed59bddcda7c5d4138b71b9",
|
||||
"public/build/assets/ai-DbTWu8x-.js": "97a5d750e83f5ec14eafad901ca70433caa0c848d4890c8be91a1cc0a876f642",
|
||||
"public/build/assets/analysis-CGtvlVPv.js": "33fc5c76f155ba76e407b7d57a06dea1ebc813a19888f820bf4f4e02204d62eb",
|
||||
"public/build/assets/app-CwvCF_VN.css": "823e4af60ee2f6f5f2fec18410e0a3bdca43ea2061dc9389c6c62431251e0d6c",
|
||||
"public/build/assets/app-Dy6Qob7g.js": "4dd9c87a483445c77c769fb0ef0d2e717fd758da6ad3b13f8c93fb37fc44fb2e",
|
||||
"public/build/assets/appearance-CRQtc9Rn.js": "f7b15653740dbf1f29bfa56eb5e45bf75390b436325b10b716c50ab670822fcb",
|
||||
"public/build/assets/audit-CXBNpXQr.js": "6db0d7bdffb8524c97e0f444723e9ee449339bd7e8c4eedf6d9b3f78d8e7b952",
|
||||
"public/build/assets/blank-2jFZEe2q.js": "9e53a0a455027f070e3041db1f445e8b63702f83e264442d8df87e20048ccbe9",
|
||||
"public/build/assets/business-DJCjMjUZ.js": "fdd375c4e7da370f71812bd7b465944e74496d54530eed85a22a7f700af351fb",
|
||||
"public/build/assets/business-interest-BoPUehs7.js": "5c2bd71077abb7995028dafc0d5497e9c18ee87e22919c3aa2f5f2e059872b79",
|
||||
"public/build/assets/business-marketplace-BeSbvZDh.js": "ee3718fecb61c79624f5459b6dca156da1b50700e84e43fa745e45427102bf8a",
|
||||
"public/build/assets/business-objects-qqL4qY3O.js": "f2686c243901eb9b7f37a6a2724de34ea3828e94c5d34433affc12429974d65c",
|
||||
"public/build/assets/business-opportunity-B0kFY3tB.js": "f48d4797259227f53f955198060a89175fb3587650deba77c0b9c09e4bd41f32",
|
||||
"public/build/assets/business-types-SGCXhH6X.js": "c792ab88a79f57c74d865c47e89e7f2b9aea190acb5c8c676071d4b0a802d58c",
|
||||
"public/build/assets/business-verifications-KTbZw2WP.js": "e43f95228f8b8b6a3d9c530dc1aaf92f8a8db46318db30c622f91aba97e13e99",
|
||||
"public/build/assets/business-wizard-BYl07zB8.js": "ddc5064c7625a08e9c594e03dded81570c24c54b2a944dd9434eac2baf6f8e24",
|
||||
"public/build/assets/businesses-C_WSFmlw.js": "0598e343548b63ac31151cfbdd781d2c66bcad0a934e5c3c57bf4514952c4310",
|
||||
"public/build/assets/button-DAU4R6e9.js": "79b615d0b88db74491fb4b312ae70515d43332e8730f8baed64c81eec510171d",
|
||||
"public/build/assets/case-CIScUI-F.js": "a9b9ab1265e334198e1f577e043510a1f9f8bc31c97fd0405041fbb23ca2e185",
|
||||
"public/build/assets/case-C_6EtMSR.js": "f188b84e0bbed5aa9e832ac88cb69bdce77223a23e435baa77248dd4f83bee97",
|
||||
"public/build/assets/catalog-7rOyJVK7.js": "3bf0efe3aeec03d75adbbcbd9104a8c60d1b081217900f50064a9bdab0a422d0",
|
||||
"public/build/assets/catalogue-BNNMnhfZ.js": "fa3f0b6ab47220c2209f48c13f222c86f8041f4333140e163240ee1765a66651",
|
||||
"public/build/assets/catalogue-DRXpd3Dj.js": "be63e7ca18fbbca3a20b7209cf676c1b8a06a21639cd86a1d482098d14f9ca8a",
|
||||
"public/build/assets/catalogue-K2vc4QuQ.js": "3dfbf7386db38c9b1b65efa7756da8416adc3f533f5b0d6238a7da9d3a21d98a",
|
||||
"public/build/assets/check-PcBNn_NG.js": "402150a0f6387f9f098fea689a3282723ee063c84e57651f25d35729cdd85063",
|
||||
"public/build/assets/compiler-runtime-sKsOXjDo.js": "cc5f3db4bfb3bc5ae09b4594e5e137ad20037e8dfc3f0791781665706b860b6d",
|
||||
"public/build/assets/confirm-Culw9Q-x.js": "263fd058f1562c5729a4091d5d60f5365cc3957ad2cfcb5ffdec04a28f1858c4",
|
||||
"public/build/assets/confirm-password-BtrdI_oo.js": "2a5f55cfe4aeeaa9c0a201222d20a30d230457252f1ea18006df476ae640cf9e",
|
||||
"public/build/assets/context-D8li9PVn.js": "0e39e933e64f7852bccc60e838d7ffed16d985ed86237481ac2e3b287deca897",
|
||||
"public/build/assets/conversation-Di5cUOfl.js": "e33592e2d634947903d8665c36a5cbff2b63d47d05524c500d730a64a957b47b",
|
||||
"public/build/assets/convert-D-F7VK7q.js": "4cf3ce35ed551ebe5274fe81ee511d4cd2a4726babb2e4b56a6158ed2b67f993",
|
||||
"public/build/assets/country-select-C3BLoPPG.js": "87822f75957659509b95011d1489f6bed2ff824c215fce862a7fd29186f5189f",
|
||||
"public/build/assets/createLucideIcon-oMeAlXbs.js": "9398e5f9d8be91b886b9f6283574d6eb89b8fa02a4c21866ab9e376c95b74b56",
|
||||
"public/build/assets/dashboard-apnWhGex.js": "53c4367927027cac028977d55d7d799644fd9183a1c13c7b3d6061ec4b31ecc0",
|
||||
"public/build/assets/dashboard-YzbH4Gy9.js": "6f3741527178e4351b0d867231cc4778de7b3c4d345a77dc3faab1665ba3601c",
|
||||
"public/build/assets/desk-internal-operations-XCBJl-bp.js": "09cb2228f94d3f4e174cd811c02484d60dbf7eae6bf358bebb7c48b9418bb41c",
|
||||
"public/build/assets/detail-C5059AnB.js": "2dfa39db19d5b4cfd85cf6def6ee84b3b2c2c43ec7a0b3be79e5b31a772fda34",
|
||||
"public/build/assets/detail-CVnsVFCI.js": "bae7a557656b8a9f84c3c673bd0373ceff9476ecd6d496de6df3a72ff35571c1",
|
||||
"public/build/assets/dialog-Chp4h9as.js": "93722b39d562b998a5da2d221bcdf33b0c66b5b09b1bd0c6893b734c8043d9ca",
|
||||
"public/build/assets/display-value-DRR1EAAK.js": "202c77561454ec7c1ef9cb39faa4f1833ea066dbb83e17f0eb4440b314b189f6",
|
||||
"public/build/assets/dist-BRfsww6z.js": "1b5218b53553fd01fd50cb0ce2102864c5359d450d4d71f00806f812f1e1870a",
|
||||
"public/build/assets/dist-Ddn_hEUd.js": "ee0c56af5abd78d01704f2fb0f764ea0746908244078a8014393a672994235d6",
|
||||
"public/build/assets/dist-DDq_DSJX.js": "0ea9c4863c02cabf343ba678aa470b682ef3ae1588380bee5b0781d356e9ba46",
|
||||
"public/build/assets/document-O3c2jVZc.js": "6355a5f8d9958484af0c0c1dd00c9fb82b9c0903bf3d6c69be10ec14e383a640",
|
||||
"public/build/assets/editor-CMBretSB.js": "2a48debfbdc8621a73b0857e717d68f8261cee75bd49300c591d680fa4e387ab",
|
||||
"public/build/assets/editor-DatExn5p.js": "0a722b7616870b0287e11a854d7f1846ea515f53543dc3e94c46e73cc4585930",
|
||||
"public/build/assets/editor-Va_8cD_k.js": "79e52dcccf6dac334d851d3f131d1c1e2047044e9651c7c547fba42f7e6b0555",
|
||||
"public/build/assets/education-BhDAUnDr.js": "857294c58fc8f8d5c01ffc6aeacbc31dc5f093d33bf994ee4376d8acfe89a655",
|
||||
"public/build/assets/financial-calculators-CsDOUJxx.js": "e76679a1914b5c4dc6c3e74b1b2de8d3d792fcc891dcc61d0fa27042232e2b9a",
|
||||
"public/build/assets/fonts-C9MNnjVw.css": "3846a9bb60bfad92960eadcccaf0b4e129d74b11d48791506c8d1a827a385cc8",
|
||||
"public/build/assets/forgot-password-BAqv8994.js": "2df6b78651cadc159d61fb7acdcd5faa3a52ee4f6fe81e312badf3fb1bbdd566",
|
||||
"public/build/assets/form-CLHE2jh1.js": "a42f062b5ae4b9fbc432c62bb79a22c4d87bc6019b692d22837ecee6ea3ed3b8",
|
||||
"public/build/assets/guide-mndEuKFT.js": "fe519ab69363e83bb705b7dee5ab3fe17249eeb53687846b539668c435ccbd2b",
|
||||
"public/build/assets/history-25qLyT2P.js": "842b4eaedf971000138eb47f030624cc3cba1a23e6fe300384b74aa9f6ed18a3",
|
||||
"public/build/assets/input-error-U1QKS0ED.js": "4acac92fa624552b14ac1a390e961f9e387d6eefeac384ad4e95bc73fdffa86e",
|
||||
"public/build/assets/install-AKyUJXr6.js": "6180b6c686fd09e95e7746e85611bfb17373207e87e3253d6ac45090ecf6c6cd",
|
||||
"public/build/assets/installation-BFiSJPeI.js": "fba72efb8afcd9c09f34f5d68544e2b7cef58c62f11a4173c5e2349a2012b1e8",
|
||||
"public/build/assets/installation-g7aX5nyr.js": "fb2c637406f711f444afefc7796dae9cdf0132932de1fdaa062776cea41f6e8f",
|
||||
"public/build/assets/instrument-sans-400-normal-D1W7dsQl.woff": "797bd3eaa70edbd4757650ab44dad75fbfbfdf18bacedb4b71022c04621d30ad",
|
||||
"public/build/assets/instrument-sans-400-normal-DRC__1Mx.woff2": "9a91efaa3599a6ef01b2f49e9ec670e3a2f39baeef09c73198f1052cf3bb0850",
|
||||
"public/build/assets/instrument-sans-500-normal-Dk9ku72i.woff2": "9d3547da16d950d12a677c772a3ff9b69846e60e7dcd1b5efd540993f7286532",
|
||||
"public/build/assets/instrument-sans-500-normal-Z6ESRlEs.woff": "bd6a8dc8b0dc0cced0c32d3eda93f0e0e82c58ddefea8b53b3307b0c48da3089",
|
||||
"public/build/assets/instrument-sans-600-normal-B7fBEWYG.woff2": "efb770916eda95a0e31d80cccde9651d4e8617010b21220e9f227c4820d675da",
|
||||
"public/build/assets/instrument-sans-600-normal-B9e8oLYv.woff": "9b4ce1f2b26be7cb087fd87d6f99a202136292ec820af75bd38ab9e53895cf28",
|
||||
"public/build/assets/interactive-investment-map-1DTFk8zz.css": "13748a8189dc8c690fc902a1682d30ba289721688f32df4f2459a36de8e383de",
|
||||
"public/build/assets/interactive-investment-map-Djtmo_8_.js": "5cc9d8b8a7f5106a1d6e22e17e5f85bb2544e7f191070b14d8cd3e3e7139f1a8",
|
||||
"public/build/assets/interest-sdfEsqyj.js": "db88aa88b1bfa950d61202a61b1394949681f2124bd958774b770a65d89bb687",
|
||||
"public/build/assets/interests-N23cqTbY.js": "41983bb45b2c404f7a15dc6584a60c9bce82cf362331b23dd72ab3c6d4c909c8",
|
||||
"public/build/assets/investment-map-panel-6I-VuTMF.js": "393d7ec86557580bc2a27daa437638e577d7fbfa66766875a5a5599097eabd77",
|
||||
"public/build/assets/investment-maturity-CydhhEfV.js": "c2cc75070cb664ab0b53466dde584dd5473f1b5fd992bf6a59ca8a01b7e19623",
|
||||
"public/build/assets/investment-territory-DI3rfWDv.js": "8aaf639eab192019adbf83eb49960081d8f7070bed70fdf787c378a8d49ef93f",
|
||||
"public/build/assets/investor-CstGa9ay.js": "d732f0d923d2e50898fce66180067f0156a393489eff1a092158cdb0ef7f80f4",
|
||||
"public/build/assets/investor-path-Dj8Xbbmk.js": "d9176f24adf6a20a6e90765d3d044d3118513be807d51c98af9fc9f307b026ca",
|
||||
"public/build/assets/investors-DH00nYc_.js": "ef343c6e79982adc0b30cf11f7cfb3353e75e5daef39ea02550a0f7add4d5894",
|
||||
"public/build/assets/jsx-runtime-BpzPEenQ.js": "60a64ced602d5e913f2a0328d2ec4a7b670c893614a26c47794317523d276398",
|
||||
"public/build/assets/label-D-C_NQs4.js": "6b4996b6f05276fd6edc8dd935f37f83a6c673cad5cf2f9dfa7cf4bdc92816ef",
|
||||
"public/build/assets/labels-DxqjesIG.js": "deace12e77e3f2e0515b1090cbc376cfeff29b59f57b1a2561b1145459c531b8",
|
||||
"public/build/assets/layers-2x-Bpkbi35X.png": "066daca850d8ffbef007af00b06eac0015728dee279c51f3cb6c716df7c42edf",
|
||||
"public/build/assets/layers-BWBAp2CZ.png": "1dbbe9d028e292f36fcba8f8b3a28d5e8932754fc2215b9ac69e4cdecf5107c6",
|
||||
"public/build/assets/lead-BaofHQoW.js": "64351c5acbed1f635f05e427a810e1f799023844e7957c34f060fada957895e5",
|
||||
"public/build/assets/leads-CmVoJ-Mf.js": "d194c111e75f5688afb194e6d9bbf474ed6102878dea0d142ed44e53b870e7de",
|
||||
"public/build/assets/leaflet-src-CUWrUTR2.js": "a26eda55b9706e8778766e4d32038202d20411081d7da16faaa39b977af36245",
|
||||
"public/build/assets/legacy-CX8Pcqkj.js": "977cb3622e6ab01bf0a83421e8ce7e998b98755e18cef18e83db6238b3e29f33",
|
||||
"public/build/assets/loader-circle-DS8Tf4er.js": "cd9fb22e9d7d12342d5e0941aac953ebb5184550cc8008b5c0f8f5ea6acd8ed2",
|
||||
"public/build/assets/login-DnVl_e_J.js": "e2b8cc27bed22779f46c41096a113e8d721670d1fbadd73b2701e0c64e15843a",
|
||||
"public/build/assets/manage-DUxrSf7P.js": "2c98f15330a0bbeb727c7f8f554c535aedf040a538e5db8c41d3adec7f02110c",
|
||||
"public/build/assets/management-access-Dl70YCx1.js": "1d50024d467e7f6fa4be11cca48534b0b697520cf894282b33ba33cc95db026d",
|
||||
"public/build/assets/management-CvdeRZYq.js": "0c193b26e40abae535aa6b51d1734bd930e4d2570dd0033cf0b41efc47aa16cd",
|
||||
"public/build/assets/marker-icon-hN30_KVU.png": "574c3a5cca85f4114085b6841596d62f00d7c892c7b03f28cbfa301deb1dc437",
|
||||
"public/build/assets/notifications-9pBuC_RG.js": "7f6dce29268451d0ab9317093e7d9585a383f3cb0c5d39a8a9394384369de565",
|
||||
"public/build/assets/opportunities-CXnzOwLc.js": "5131163f8c1e39ac8071f0e2fe7771f6eac8b01cffdadad29f29b9842d3b29ca",
|
||||
"public/build/assets/opportunity-draft-XqJr6101.js": "de24a48db425f688849d2f90e8f41eb3ea1ad8b6b13dcefb6de1c5b27e885ca0",
|
||||
"public/build/assets/opportunity-install-CTUPpOwN.js": "bd3bcb860a7e4fe30921d2043134c56cb24b408e6e36e903d7fee38fae88b66a",
|
||||
"public/build/assets/opportunity-origin-DY1RlTSA.js": "db1f533913c5c4e88be1694f83125a966a59275df92d32de9fbf2897306ebfb5",
|
||||
"public/build/assets/opportunity-resources-D4m4F8r6.js": "084a54b9bbddba329e90ba65b327a1487bbe347387e76739eaa84acb7d210876",
|
||||
"public/build/assets/panel-BqOpaRBu.js": "c203d54f2d38bfc1f1d5dfb288de486ef5c4da08b1ef0d09b9366357e2028f5f",
|
||||
"public/build/assets/partnership-source-links-VfrXk2FZ.js": "a4d6c8500f2417983312ae667b96f035df9654f37aa4a7bc86f0cc01fda0ddd8",
|
||||
"public/build/assets/passkey-verify-JMdWFhk_.js": "679d93cc98bb03e1ba8b33d32ffad95083a8bcbe0233f60a37701bbafbb1642b",
|
||||
"public/build/assets/password-CB_NxgQN.js": "4415e495723009fc084111bafd2b7714221a3712e5f1d2a4dfa0e698f6308c7a",
|
||||
"public/build/assets/password-input-bq-jEkNf.js": "bcbabb21460c514f8993789f3c8423e011a34f24fd918d23c14a31d69539d923",
|
||||
"public/build/assets/portal-api-tEuwFTsU.js": "190505d0a96d610ef2893cf06c63edab30f427593452bbc0dafc9d8f8a826c70",
|
||||
"public/build/assets/PortalInvestidor-BnsfVxRD.js": "17e91fee84008604bf7011ce7d053101fc44439ab4ffd328984555ac82a65b84",
|
||||
"public/build/assets/portfolio-BWEPzPS-.js": "c916ae15550870b1f0ef32748fe9dacfb1bea26fdb4982c3293df8d7fc3293ed",
|
||||
"public/build/assets/print-EIzSB6Ku.js": "bad87486159deb855589aa92fc7032ea28de222693c2816f2ff54b1583ef6513",
|
||||
"public/build/assets/profile-BtYUsh69.js": "8da1db6df781428d8cea7bddeeb7463156ef33819612c0146010638936c89879",
|
||||
"public/build/assets/profile-CkEKQmtR.js": "ab1065d418a748871bcbb40da5d698ee69fecafca8cd7dc92f515b6c75557899",
|
||||
"public/build/assets/profile-json-Bb5H6-rZ.js": "0c4720d8d5baabfcc199d66bc171b014152f3cf2ff40b542d38e86cc1e04a77a",
|
||||
"public/build/assets/project-dossier-BRpAqBvm.js": "9906a87fcb5b99bea2eca25e68dc49c149c7b250056a8ac0977d2c8b6cf4e732",
|
||||
"public/build/assets/react-CjVep8xp.js": "3378f8538b0d8c51e3051e5005dfaebb8fec48c35789a3ba63945fd724f48e6f",
|
||||
"public/build/assets/references-zvmNJBen.js": "f786b4f84595750cc19796187ef8d01d233f32a1290d98c8e8ab812c1cffba08",
|
||||
"public/build/assets/register-CtrYbuj7.js": "8fb7f03c3ee4b687879312ff9f3c158189c4a6472271fadca42c9f40cb054e6d",
|
||||
"public/build/assets/relationship-repair-CSZL2Dqe.js": "1795a9fbbabc4bd4286e30e1593843bd18fab117634e8f019fb9e40334d29e21",
|
||||
"public/build/assets/request-D8qm9ILw.js": "6e6f91655e32e4f3f2b047a181a3a07fa114492082450a101bfa08b89bd0f6e9",
|
||||
"public/build/assets/request-DxHF0YqZ.js": "503e81b829e2b7787a555fd7926b56a66fc03e9fd0df565b0fa000d2124cf5ba",
|
||||
"public/build/assets/reset-password-BET8dy6y.js": "70ece3deaace6476024f4b021403faee620020718455cb2e817691ad3a9a841a",
|
||||
"public/build/assets/result-DG5IPkiy.js": "5d09ea5f0f34eceacf3e0a8b05712b9eee7f934dee4bc6eb275b8750cc46311d",
|
||||
"public/build/assets/rolldown-runtime-Dd_uD5pT.js": "c5f0356f5d0918a3137e4e811fd18950efe8ac8f6bf84d1d4da7811c477a24d8",
|
||||
"public/build/assets/room-DiyAAWo5.js": "7496624da353ade78790a5cfa897e88b4ac574394757a403b3e08d8f908fabb7",
|
||||
"public/build/assets/security-Bf1-D3Pj.js": "7a0cd474282bde0340b60f8f4a8537a5ffc0486566617aedca6ba17b1df1218e",
|
||||
"public/build/assets/services-DqerWiCX.js": "b343c6c07fa59889afa3420f8149cbc890cb7c27c213f29b380bf0074d05a46b",
|
||||
"public/build/assets/shared-B56M-NjF.js": "58d3a78d2ae1bce9ea21606aff65bd621a0b1ac791adee9326ea26d6f767fed1",
|
||||
"public/build/assets/shared-BA57l8Js.js": "c9eae2fc84a0019bc345defb59dc66cc26f78b049aa49a2a60aeba71bd2edaa7",
|
||||
"public/build/assets/shared-CmVpbARN.js": "58c279a2e14552278d9a29c494ffdecf4514d1b0aa7aa2cc66ef5ab944c8ac2c",
|
||||
"public/build/assets/shared-DujgZ7j9.js": "78b127bbe27e46dd4675a19934937d198d27b0515c7b9eee0dc3c255905a560a",
|
||||
"public/build/assets/show-BI-jHtsp.js": "2fc6f3886508dec8d540db6b1e75d65e63f3cc2c9b55fe1e0e3f7f60e78fb37f",
|
||||
"public/build/assets/show-CBiRWEdI.js": "4f95eebc3a8ae4b08be1008b58fd097f703f154348bbfca2e0450f12b2ee34c3",
|
||||
"public/build/assets/sources-C7WHs42K.js": "3db9ac8229742395f0cdce0f5bf4f680d5c081d893210a0f879feaa980982cf8",
|
||||
"public/build/assets/spinner-hD8hHC_m.js": "0091bbe0e4125cbe30ecd10ec9ff65cff9b7bd270125913d85b4449144aa91fd",
|
||||
"public/build/assets/structure-geography-D0fyhwWc.js": "504b00f74319eeaba5f3f97316fb8a9d664791f57d6c4a6dfc292a037f9576b4",
|
||||
"public/build/assets/structures-BlvreTDW.js": "7b3bc9ccb396020fe68d975efff34052643167f46d338cac94bf33fd28466623",
|
||||
"public/build/assets/submission-C7FVkYKS.js": "f2c923eff33ffec5f6d5fece929acfa0b34374581c88417129cb7fff2604d601",
|
||||
"public/build/assets/territorial-source-evidence-eKB4ZB36.js": "14048631c51933a0389cea37ae1909a02ea86d564a5a05452a48b40f055cd605",
|
||||
"public/build/assets/territory-associations-DiGJcdPe.js": "8d9ae9b2582e4076bf9f5a3d30ef5e9f058a704fdf1954c1c5a7e229c2468ebe",
|
||||
"public/build/assets/territory-geometry-import-LIDdmiT0.js": "79a5f2adf87618f1d562ede80f5d951a4cfd53f1618322ad5343e4ad38ee8a77",
|
||||
"public/build/assets/territory-geometry-preview-CByDJVgK.js": "50961c2290eaee46cd2eb9fbe97687043dea0a8d6dc38e5e0faf4b7785b4c61d",
|
||||
"public/build/assets/text-link-BBvcP60s.js": "0e7b5234d766855dbcbd5a78fe3e8c54fa6ffa1ad6163009d7b312eafd19f307",
|
||||
"public/build/assets/two-factor-challenge-D7K6ypf-.js": "42d009484b40e379b152e664401fcb106082806bb5d1fe5ba8b39e1fafa0f05d",
|
||||
"public/build/assets/types-BoD_IJFv.js": "75c4a127c1aa0b90fe0b4f956c7e3ae9c67bc0f862c89cd0a594709027b983da",
|
||||
"public/build/assets/types-Cxp_Nskt.js": "cf4ae8cb539c697ca751dcf96e1db3af9eb1ff00807c088268dd859e7c4a5dab",
|
||||
"public/build/assets/use-two-factor-auth-kpel6Zcb.js": "771c519273e76ec8a5bea59c35605f01e5a55b353443c742c8f22d7bd9691504",
|
||||
"public/build/assets/utils-CCDJ05Ll.js": "ef54f43266d404b8ffe4e5487b346060eaf81d819317f523c966aa3e7490deb8",
|
||||
"public/build/assets/value-network-B4RSxmdU.js": "c43a4e360d26205d0323148311970c2ae55373f013c7708a2ba9cff1f6d7ab97",
|
||||
"public/build/assets/value-text-BztaYdGl.js": "873576810a6ba4eb8c9c116f53cdc649b21ab2995aa2adadd4c85130b04bacd2",
|
||||
"public/build/assets/verification-BOcn3HIw.js": "10addac3d8f1865e855943e0685e88a268ffd8013ff7a7d51fb89d755b12074e",
|
||||
"public/build/assets/verify-email-7dYssu-h.js": "2b8f9bc035f7edd7dc5d614ba50bff2b4dd3da2fbabae0786e170456eb132ca3",
|
||||
"public/build/assets/wayfinder-Dp7PqxvV.js": "3d4c90228fda731e37f541f3087fdf5387d9d59433e35b267b64a97196f70781",
|
||||
"public/build/assets/welcome-JbhDV2dI.js": "b3797d1643d430d4a9d3a7e2b795a2592081bed99eceb2dc43de90628775b54d",
|
||||
"public/build/assets/workspace-0u0LVjQN.js": "d19d916c191d7998fd2fe27b0d87c1c2f4855eafb782a249c6d19e7adc4461a0",
|
||||
"public/build/assets/workspace-4_R1CLYI.js": "5d4c742569d9ad33ac7bac01c6433c646f79f939d2f57b7878860c0d25dcee22",
|
||||
"public/build/assets/workspace-BKNl0Yhx.js": "ea9964b9a455ef1f8a30e6a0860718cd2f5d7d3c118eca67eaeb8bc935a9aa80",
|
||||
"public/build/assets/zone-attachments-B0WJG0cW.js": "5871d1d2c513e07caa7bf73ff25ce0e3412f588dba285f84b14705bd17b66f07",
|
||||
"public/build/assets/zone-dh3k2KzA.js": "8df822ae1c5efba8e35a33daad47a291f1a15e11352a80f6bafe784d5671a059",
|
||||
"public/build/assets/zone-map-BsBBx5S1.js": "c71b0fab780fcbc50c84dba246d8f1c4033c087b6cfbcbceb87fab7d32b4f740",
|
||||
"public/build/assets/zone-relations-eAAWsHUz.js": "92d2a8a841eb0339f41199f054a9f9d5dfdc296612d0db46f805dd70dc6a70d0",
|
||||
"public/build/assets/zones-hul54Ap2.js": "fc262c86d42eb3c4344cf172e325e38982cd5a832e82a39f6ed5ad8b151673de",
|
||||
"manifesto-candidata.json": "85a5cff743590e4d585d7c323b000fe7b4ca3e04790bae1e82eb865e3e3bbca5",
|
||||
"REVER-CANDIDATA.md": "58794746ef5f90ae4c80c2e6f981d175a4ae428e5a87f3e9b676b5e35e2a0a7c",
|
||||
"codigo-c110.patch": "4ba604acae5cb5dc0c4c69a296913dfd8bfb85db73b625e43fb32d4724906486",
|
||||
"backup-restauro.json": "5f107726331d2444fb16d0320ff6cd13775164594dc35f7afbfaecf92d93395b",
|
||||
"chromium-http.json": "2761c20adacbad6cd697adeb9a50df3effd6678a6c08381cdc8d1f379e8f80b1",
|
||||
"persistencia-qa.json": "531949ee3feb2490177b822064fa20d1177cff067b0160bf025b11a8e2d177ee",
|
||||
"instalador-http-390.png": "5a05a5b0b9733cd342a3d73042f91492c6fffc035cca9d8753cb7110006cc94a",
|
||||
"inventario-uuid.json": "f85ff6c3de2c8a2f55602d49f18c6f4d454b352522adfccc5f7f3f01f3074293",
|
||||
"validacao-qa.json": "9365e283272bfc997a3029b93f7d5541ab3677954983865d914e7942fb8fe273",
|
||||
"tests/Feature/OrganizationCountryInstallationTest.php": "71f8c413658e4ea5ff78cb3bdf0e103c3b6841c6a4e175d2a6de55654563e6e3"
|
||||
},
|
||||
"activation_ready": false,
|
||||
"C110": "QA demonstrated",
|
||||
"stop_condition": "C111 private HTTP history and exact-revision authorization"
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"result": "passed",
|
||||
"at": "2026-10-11T07:19:18+00:00",
|
||||
"target": {
|
||||
"database": "country_candidate_20261011_071801_test",
|
||||
"port": 55441,
|
||||
"read_only": "on"
|
||||
},
|
||||
"code_hash": "54fb610eb9dab0d21e28f4aa1407f231dac4f0cf505fad8b0cd655855a5b812c",
|
||||
"production_manifest_sha256": "d172b5c4f1a1cb2df504b4acd50c687825b8cda970225a02a56e6286b3a13dd5",
|
||||
"tables": 288,
|
||||
"new_tables": 0,
|
||||
"country_columns": [
|
||||
{
|
||||
"column_name": "incorporation_country_code",
|
||||
"is_nullable": "YES",
|
||||
"data_type": "character varying"
|
||||
},
|
||||
{
|
||||
"column_name": "incorporation_country_provenance",
|
||||
"is_nullable": "YES",
|
||||
"data_type": "jsonb"
|
||||
}
|
||||
],
|
||||
"cold_install_receipt": {
|
||||
"changed": true,
|
||||
"installed": true,
|
||||
"migration": "2026_10_10_050000_extend_organization_country",
|
||||
"new_tables": 0,
|
||||
"new_columns": 2,
|
||||
"flags_changed": false,
|
||||
"new_organizations": 0
|
||||
},
|
||||
"operation_key": "aed41156-303b-44c5-99d1-c3fc3813652e",
|
||||
"audit_events_for_attempt": 1,
|
||||
"new_organizations": 0,
|
||||
"new_memberships": 0,
|
||||
"other_packages_installed": false,
|
||||
"original_rows_preserved_except_qa_session": true,
|
||||
"active_writes": 0
|
||||
}
|
||||
+13
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+2
File diff suppressed because one or more lines are too long
+42
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
import{n as e}from"./dist-BRfsww6z.js";import{t}from"./jsx-runtime-BpzPEenQ.js";import{t as n}from"./compiler-runtime-sKsOXjDo.js";import{t as r}from"./utils-CCDJ05Ll.js";import{t as i}from"./createLucideIcon-oMeAlXbs.js";import{C as a,n as o,r as s}from"./app-Dy6Qob7g.js";var c=i(`Monitor`,[[`rect`,{width:`20`,height:`14`,x:`2`,y:`3`,rx:`2`,key:`48i651`}],[`line`,{x1:`8`,x2:`16`,y1:`21`,y2:`21`,key:`1svkeh`}],[`line`,{x1:`12`,x2:`12`,y1:`17`,y2:`21`,key:`vw1qmm`}]]),l=i(`Moon`,[[`path`,{d:`M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z`,key:`a7tn18`}]]),u=i(`Sun`,[[`circle`,{cx:`12`,cy:`12`,r:`4`,key:`4exip2`}],[`path`,{d:`M12 2v2`,key:`tus03m`}],[`path`,{d:`M12 20v2`,key:`1lh1kg`}],[`path`,{d:`m4.93 4.93 1.41 1.41`,key:`149t6j`}],[`path`,{d:`m17.66 17.66 1.41 1.41`,key:`ptbguv`}],[`path`,{d:`M2 12h2`,key:`1t8f8n`}],[`path`,{d:`M20 12h2`,key:`1q8mjw`}],[`path`,{d:`m6.34 17.66-1.41 1.41`,key:`1m8zz5`}],[`path`,{d:`m19.07 4.93-1.41 1.41`,key:`1shlcs`}]]),d=n(),f=t();function p({className:e=``,...t}){let{appearance:n,updateAppearance:i}=a(),o=[{value:`light`,icon:u,label:`Light`},{value:`dark`,icon:l,label:`Dark`},{value:`system`,icon:c,label:`System`}];return(0,f.jsx)(`div`,{className:r(`inline-flex gap-1 rounded-lg bg-neutral-100 p-1 dark:bg-neutral-800`,e),...t,children:o.map(({value:e,icon:t,label:a})=>(0,f.jsxs)(`button`,{onClick:()=>i(e),className:r(`flex items-center rounded-md px-3.5 py-1.5 transition-colors`,n===e?`bg-white shadow-xs dark:bg-neutral-700 dark:text-neutral-100`:`text-neutral-500 hover:bg-neutral-200/60 hover:text-black dark:text-neutral-400 dark:hover:bg-neutral-700/60`),children:[(0,f.jsx)(t,{className:`-ml-1 h-4 w-4`}),(0,f.jsx)(`span`,{className:`ml-1.5 text-sm`,children:a})]},e))})}function m(){let t=(0,d.c)(3),n,r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,f.jsx)(e,{title:`Appearance settings`}),r=(0,f.jsx)(`h1`,{className:`sr-only`,children:`Appearance settings`}),t[0]=n,t[1]=r):(n=t[0],r=t[1]);let i;return t[2]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,f.jsxs)(f.Fragment,{children:[n,r,(0,f.jsxs)(`div`,{className:`space-y-6`,children:[(0,f.jsx)(s,{variant:`small`,title:`Appearance settings`,description:`Update the appearance settings for your account`}),(0,f.jsx)(p,{})]})]}),t[2]=i):i=t[2],i}m.layout={breadcrumbs:[{title:`Appearance settings`,href:o()}]};export{m as default};
|
||||
+1
@@ -0,0 +1 @@
|
||||
import{n as e,o as t}from"./dist-BRfsww6z.js";import{t as n}from"./jsx-runtime-BpzPEenQ.js";import{t as r}from"./compiler-runtime-sKsOXjDo.js";import{u as i}from"./app-Dy6Qob7g.js";import{a,i as o,r as s}from"./shared-B56M-NjF.js";var c=r(),l=n();function u(n){let r=(0,c.c)(41),{records:u,filters:m}=n,h=m.actor_id??``,g=m.action??``,_=m.record_id??``,v=m.from??``,y=m.until??``,b;r[0]!==h||r[1]!==g||r[2]!==_||r[3]!==v||r[4]!==y?(b={actor_id:h,action:g,record_id:_,from:v,until:y},r[0]=h,r[1]=g,r[2]=_,r[3]=v,r[4]=y,r[5]=b):b=r[5];let x=t(b),S;r[6]===x.data?S=r[7]:(S=new URLSearchParams(Object.entries(x.data).filter(p)),S.set(`format`,`json`),r[6]=x.data,r[7]=S);let C,w,T,E;r[8]===Symbol.for(`react.memo_cache_sentinel`)?(w=(0,l.jsx)(e,{title:`Auditoria de acessos`}),T=(0,l.jsx)(i,{}),E=(0,l.jsx)(`h1`,{className:`text-2xl font-semibold`,children:`Auditoria de acessos e decisões`}),C=(0,l.jsx)(`p`,{children:`Consulta somente de leitura. A exportação contém metadados; não inclui credenciais, documentos nem snapshots privados decifrados. Cada exportação apresenta o limite aplicado.`}),r[8]=C,r[9]=w,r[10]=T,r[11]=E):(C=r[8],w=r[9],T=r[10],E=r[11]);let D;r[12]===x?D=r[13]:(D=e=>{e.preventDefault(),x.get(`/perfis/auditoria`)},r[12]=x,r[13]=D);let O;r[14]===Symbol.for(`react.memo_cache_sentinel`)?(O=[`actor_id`,`action`,`record_id`,`from`,`until`],r[14]=O):O=r[14];let k;r[15]===x?k=r[16]:(k=O.map(e=>(0,l.jsxs)(`label`,{children:[e,(0,l.jsx)(`input`,{className:a,type:e===`from`||e===`until`?`datetime-local`:`text`,value:x.data[e],onChange:t=>x.setData(e,t.target.value)})]},e)),r[15]=x,r[16]=k);let A;r[17]===Symbol.for(`react.memo_cache_sentinel`)?(A=(0,l.jsx)(`button`,{className:o,children:`Filtrar`}),r[17]=A):A=r[17];let j;r[18]!==D||r[19]!==k?(j=(0,l.jsxs)(`form`,{className:`grid gap-3 sm:grid-cols-3`,onSubmit:D,children:[k,A]}),r[18]=D,r[19]=k,r[20]=j):j=r[20];let M;r[21]===x.errors?M=r[22]:(M=Object.values(x.errors).map(f),r[21]=x.errors,r[22]=M);let N=`/perfis/auditoria?${S}`,P;r[23]===N?P=r[24]:(P=(0,l.jsx)(`a`,{className:`underline`,href:N,children:`Exportar metadados JSON, até 1.000 eventos`}),r[23]=N,r[24]=P);let F;r[25]===Symbol.for(`react.memo_cache_sentinel`)?(F=(0,l.jsx)(`thead`,{children:(0,l.jsxs)(`tr`,{children:[(0,l.jsx)(`th`,{children:`Data UTC`}),(0,l.jsx)(`th`,{children:`Conta`}),(0,l.jsx)(`th`,{children:`Ação`}),(0,l.jsx)(`th`,{children:`Recurso`}),(0,l.jsx)(`th`,{children:`Origem`})]})}),r[25]=F):F=r[25];let I;r[26]===u.data?I=r[27]:(I=u.data.map(d),r[26]=u.data,r[27]=I);let L;r[28]===I?L=r[29]:(L=(0,l.jsx)(`div`,{className:`overflow-auto`,children:(0,l.jsxs)(`table`,{className:`w-full`,children:[F,(0,l.jsx)(`tbody`,{children:I})]})}),r[28]=I,r[29]=L);let R;r[30]===u.data.length?R=r[31]:(R=!u.data.length&&(0,l.jsx)(`p`,{children:`Nenhum evento corresponde aos filtros.`}),r[30]=u.data.length,r[31]=R);let z;r[32]===u?z=r[33]:(z=(0,l.jsx)(s,{page:u}),r[32]=u,r[33]=z);let B;return r[34]!==j||r[35]!==M||r[36]!==P||r[37]!==L||r[38]!==R||r[39]!==z?(B=(0,l.jsxs)(`main`,{className:`space-y-6 p-6`,children:[w,T,E,C,j,M,P,L,R,z]}),r[34]=j,r[35]=M,r[36]=P,r[37]=L,r[38]=R,r[39]=z,r[40]=B):B=r[40],B}function d(e){return(0,l.jsxs)(`tr`,{children:[(0,l.jsx)(`td`,{children:e.occurred_at}),(0,l.jsx)(`td`,{children:e.actor_user_id}),(0,l.jsx)(`td`,{children:e.action}),(0,l.jsx)(`td`,{children:e.entity_type}),(0,l.jsx)(`td`,{children:e.source_system})]},e.id)}function f(e){return(0,l.jsx)(`p`,{role:`alert`,children:e},e)}function p(e){let[,t]=e;return t!==``}export{u as default};
|
||||
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{r as t,u as n}from"./dist-BRfsww6z.js";import{n as r,t as i}from"./jsx-runtime-BpzPEenQ.js";import{a,i as o,n as s,s as c}from"./shared-DujgZ7j9.js";import{r as l}from"./investment-territory-DI3rfWDv.js";import{t as u}from"./business-types-SGCXhH6X.js";var d=e(r(),1),f=i();function p({results:e,filters:r,territorySelection:i=[]}){let[p,m]=(0,d.useState)(r.q??``),[h,g]=(0,d.useState)(r.modality??``),[_,v]=(0,d.useState)({province_id:r.province_id??``,district_id:r.district_id??``,admin_post_id:r.admin_post_id??``,locality_id:r.locality_id??``}),y=new URLSearchParams({...p?{q:p}:{},...h?{modality:h}:{},..._}).toString(),b=e.meta?.links??(Array.isArray(e.links)?e.links:[]);return(0,f.jsxs)(s,{title:`Oportunidades de negócio`,children:[(0,f.jsx)(`p`,{children:`Explore oportunidades aprovadas para publicação. A informação está sujeita a diligência independente.`}),(0,f.jsxs)(`form`,{className:`flex flex-wrap gap-3`,onSubmit:e=>{e.preventDefault(),n.get(`/negocios`,{q:p||void 0,modality:h||void 0,..._},{preserveState:!0,preserveScroll:!0})},children:[(0,f.jsx)(`label`,{className:`sr-only`,htmlFor:`business-search`,children:`Pesquisar negócios`}),(0,f.jsx)(`input`,{id:`business-search`,className:c,value:p,maxLength:120,onChange:e=>m(e.target.value)}),(0,f.jsxs)(`label`,{className:`grid gap-1`,children:[(0,f.jsx)(`span`,{children:`Tipo de oportunidade`}),(0,f.jsxs)(`select`,{className:c,value:h,onChange:e=>g(e.target.value),children:[(0,f.jsx)(`option`,{value:``,children:`Todos os tipos`}),Object.entries(u).map(([e,t])=>(0,f.jsx)(`option`,{value:e,children:t},e))]})]}),(0,f.jsx)(l,{initial:i,onChange:e=>v({province_id:e[0]?.id??``,district_id:e[1]?.id??``,admin_post_id:e[2]?.id??``,locality_id:e[3]?.id??``})}),(0,f.jsx)(`button`,{className:o,children:`Pesquisar`})]}),(0,f.jsxs)(`p`,{role:`status`,children:[e.meta?.total??e.data.length,` anúncios de negócios publicados`]}),!e.data.length&&(0,f.jsx)(`p`,{role:`status`,children:`Não existem oportunidades publicadas com estes critérios.`}),(0,f.jsx)(`ul`,{className:`grid gap-4 md:grid-cols-2`,children:e.data.map(e=>(0,f.jsxs)(`li`,{className:a,children:[(0,f.jsx)(`p`,{children:u[e.modality]??e.modality}),(0,f.jsx)(`h2`,{className:`text-xl font-bold`,children:(0,f.jsx)(t,{className:`underline`,href:`/negocios/${e.slug}${y?`?${y}`:``}`,children:e.title})}),(0,f.jsx)(`p`,{children:[e.sector?.name,e.province,e.stage].filter(Boolean).join(` · `)}),(e.amount_min||e.amount_max)&&(0,f.jsxs)(`p`,{children:[e.amount_min??`—`,` –`,` `,e.amount_max??`—`,` `,e.currency]}),e.objective&&(0,f.jsx)(`p`,{className:`mt-3 line-clamp-3`,children:e.objective})]},e.id))}),(0,f.jsx)(`nav`,{"aria-label":`Paginação das oportunidades`,className:`flex flex-wrap gap-3`,children:b.map(e=>e.url?(0,f.jsx)(t,{href:e.url,className:e.active?`font-bold underline`:`underline`,dangerouslySetInnerHTML:{__html:e.label}},e.label):null)})]})}export{p as default};
|
||||
+1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
import{r as e}from"./dist-BRfsww6z.js";import{t}from"./jsx-runtime-BpzPEenQ.js";import{a as n,i as r,n as i}from"./shared-DujgZ7j9.js";import{t as a}from"./business-types-SGCXhH6X.js";import{t as o}from"./partnership-source-links-VfrXk2FZ.js";var s=t();function c({record:t,returnUrl:c=`/negocios`,interestUrl:l=`/negocios/${t.slug}/manifestar-interesse`}){return(0,s.jsxs)(i,{title:t.title,children:[(0,s.jsx)(o,{type:`business`,id:t.id}),(0,s.jsx)(e,{href:c,className:`underline`,children:`Voltar às oportunidades`}),(0,s.jsxs)(`section`,{className:`${n} space-y-4`,children:[(0,s.jsx)(`p`,{children:a[t.modality]??t.modality}),(0,s.jsx)(`p`,{children:[t.sector?.name,t.stage,t.activity_code].filter(Boolean).join(` · `)}),(t.province||t.district||t.locality)&&(0,s.jsx)(`p`,{children:[t.locality,t.district,t.province].filter(Boolean).join(`, `)}),(t.amount_min||t.amount_max)&&(0,s.jsxs)(`p`,{children:[`Montante indicativo: `,t.amount_min??`—`,` –`,` `,t.amount_max??`—`,` `,t.currency]}),t.available_percentage&&(0,s.jsxs)(`p`,{children:[`Participação indicada: `,t.available_percentage,`%`]}),t.objective&&(0,s.jsxs)(`div`,{children:[(0,s.jsx)(`h2`,{className:`font-bold`,children:`Objectivo`}),(0,s.jsx)(`p`,{className:`whitespace-pre-wrap`,children:t.objective})]}),(0,s.jsx)(`p`,{className:`text-sm`,children:`A publicação não constitui garantia de titularidade, avaliação, transmissibilidade ou retorno.`}),(0,s.jsx)(e,{className:r,href:l,children:`Manifestar interesse`})]})]})}export{c as default};
|
||||
+1
@@ -0,0 +1 @@
|
||||
var e={draft:`Rascunho`,submitted:`Submetido`,in_review:`Em revisão`,needs_information:`Pendente de informação`,withdrawn:`Retirado`,triage:`Triagem`,information_pending:`Informação pendente`,review:`Em revisão`,approval_l1:`Aprovação nível 1`,approval_l2:`Aprovação nível 2`,approved:`Aprovado`,published:`Publicado`,suspended:`Suspenso`,rejected:`Rejeitado`,cancelled:`Cancelado`,archived:`Arquivado`},t={company_sale:`Venda da empresa`,company_purchase:`Compra ou aquisição de empresa`,participation_sale:`Venda de participação`,capital_increase:`Aumento de capital`,financial_investor:`Investidor financeiro`,strategic_partner:`Sócio estratégico`,buyer_search:`Procura de comprador`,position_assignment:`Cessão de posição`,franchise:`Franchising`,asset_sale:`Venda de activos`,asset_lease:`Arrendamento de activos`,business_unit_transfer:`Transferência de unidade de negócio`,joint_venture:`Joint venture`,succession:`Sucessão empresarial`,recovery:`Recuperação`,expansion:`Expansão`,internationalization:`Internacionalização`,real_estate:`Imobiliário`,agricultural_investment:`Investimento agrícola`,land_right:`Direito fundiário`,mining_license:`Licença mineira`,forestry_license:`Licença florestal`,investment_project:`Projecto de investimento`,business_partnership:`Parceria empresarial`,financing_request:`Procura de financiamento`,concession_opportunity:`Concessão`,supply_opportunity:`Oportunidade de fornecimento`};export{e as n,t};
|
||||
+1
@@ -0,0 +1 @@
|
||||
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{u as t}from"./dist-BRfsww6z.js";import{n,t as r}from"./jsx-runtime-BpzPEenQ.js";import{a as i,r as a,t as o}from"./shared-DujgZ7j9.js";var s=e(n(),1),c=r(),l={identity:`Identidade`,representation:`Representação`,declared_ownership:`Titularidade declarada`,documentary_ownership:`Titularidade documental`,document_received:`Documento recebido`,document_validated:`Documento validado`,independent_valuation:`Avaliação independente`,land_right_documented:`Direito fundiário documentado`,license_confirmed:`Licença confirmada`,validity:`Validade`,legal_transfer:`Transmissibilidade jurídica`,prior_authorization:`Autorização prévia`,confirmed:`Confirmado pelo revisor`,rejected:`Não confirmado`,inconclusive:`Inconclusivo`,revoked:`Revogado`,stale:`Rever após alteração dos dados`,expired:`Expirado`};function u({id:e,version:n,editable:r,checks:u,findings:d,objects:f}){let[p,m]=(0,s.useState)(!1),[h,g]=(0,s.useState)(``),[_,v]=(0,s.useState)(`inconclusive`);return(0,c.jsxs)(`section`,{className:`${i} space-y-4`,children:[(0,c.jsx)(`h2`,{className:`text-xl font-bold`,children:`Verificações e evidências`}),(0,c.jsx)(`p`,{children:`Cada conclusão corresponde apenas ao aspecto e à versão analisados. Não constitui certificação global, autorização de publicação ou garantia de transmissão. Alterações aos dados exigem nova revisão.`}),d.length===0&&(0,c.jsx)(`p`,{children:`Ainda não existem verificações registadas.`}),(0,c.jsx)(`ul`,{className:`space-y-4`,children:d.map(e=>(0,c.jsxs)(`li`,{className:`break-words`,children:[(0,c.jsxs)(`strong`,{children:[l[e.check],` ·`,` `,l[e.effective_outcome]]}),(0,c.jsxs)(`p`,{children:[f.find(t=>t.id===e.object_id)?.payload.label??`Negócio`,` `,`· versão `,e.version_no]}),(0,c.jsxs)(`p`,{children:[`Evidência: `,e.evidence_reference]}),(0,c.jsx)(`p`,{children:e.note}),e.valid_until&&(0,c.jsxs)(`p`,{children:[`Válido até `,e.valid_until]})]},e.version_no))}),r&&(0,c.jsxs)(`form`,{className:`space-y-4`,onSubmit:async r=>{r.preventDefault();let i=Object.fromEntries(new FormData(r.currentTarget));m(!0),g(``);try{await a(`/api/v1/existing-business/listings/${e}/verifications`,{...i,version_no:n}),t.reload()}catch(e){g(e instanceof Error?e.message:`Não foi possível registar a verificação.`)}finally{m(!1)}},children:[(0,c.jsxs)(`fieldset`,{disabled:p,className:`space-y-4`,children:[(0,c.jsx)(o,{label:`Elemento analisado`,children:(0,c.jsxs)(`select`,{className:`w-full rounded-lg border border-slate-300 bg-white px-3 py-2 text-slate-900 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-emerald-700`,name:`object_id`,children:[(0,c.jsx)(`option`,{value:``,children:`Negócio`}),f.map(e=>(0,c.jsx)(`option`,{value:e.id,children:e.payload.label},e.id))]})}),(0,c.jsx)(o,{label:`Aspecto verificado`,children:(0,c.jsx)(`select`,{className:`w-full rounded-lg border border-slate-300 bg-white px-3 py-2 text-slate-900 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-emerald-700`,name:`check`,children:u.map(e=>(0,c.jsx)(`option`,{value:e,children:l[e]},e))})}),(0,c.jsx)(o,{label:`Conclusão`,children:(0,c.jsx)(`select`,{className:`w-full rounded-lg border border-slate-300 bg-white px-3 py-2 text-slate-900 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-emerald-700`,name:`outcome`,value:_,onChange:e=>v(e.target.value),children:[`inconclusive`,`confirmed`,`rejected`,`revoked`].map(e=>(0,c.jsx)(`option`,{value:e,children:l[e]},e))})}),(0,c.jsx)(o,{label:`Referência da evidência consultada`,children:(0,c.jsx)(`textarea`,{className:`w-full rounded-lg border border-slate-300 bg-white px-3 py-2 text-slate-900 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-emerald-700`,name:`evidence_reference`,required:!0,minLength:10,maxLength:2e3})}),(0,c.jsx)(o,{label:`Fundamentação e limites da conclusão`,children:(0,c.jsx)(`textarea`,{className:`w-full rounded-lg border border-slate-300 bg-white px-3 py-2 text-slate-900 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-emerald-700`,name:`note`,required:!0,minLength:10,maxLength:2e3})}),(0,c.jsx)(o,{label:`Validade da conclusão`,children:(0,c.jsx)(`input`,{className:`w-full rounded-lg border border-slate-300 bg-white px-3 py-2 text-slate-900 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-emerald-700`,type:`date`,name:`valid_until`,required:_===`confirmed`})}),(0,c.jsx)(`button`,{className:`inline-flex items-center justify-center rounded-lg bg-emerald-800 px-4 py-2 font-semibold text-white disabled:opacity-50 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-emerald-700`,disabled:p,children:`Registar verificação`})]}),h&&(0,c.jsx)(`p`,{role:`alert`,children:h})]})]})}export{u as default};
|
||||
+1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{r as t,u as n}from"./dist-BRfsww6z.js";import{n as r,t as i}from"./jsx-runtime-BpzPEenQ.js";import{a,i as o,n as s,r as c,s as l,t as u}from"./shared-DujgZ7j9.js";import{t as d}from"./country-select-C3BLoPPG.js";import{n as f,t as p}from"./business-types-SGCXhH6X.js";var m=e(r(),1),h=i();function g({records:e,management:r,modalities:i,filters:g,countries:_}){let[v,y]=(0,m.useState)(``),[b,x]=(0,m.useState)(i[0]),[S,C]=(0,m.useState)(``),[w,T]=(0,m.useState)(!1),[E,D]=(0,m.useState)(g.country??``),[O,k]=(0,m.useState)(g.origin??``);return(0,h.jsxs)(s,{title:r?`Revisão de negócios`:`Os meus negócios`,children:[(0,h.jsx)(`p`,{children:`Área privada de preparação e revisão. A submissão não confirma titularidade, validade ou transmissibilidade do negócio, activo ou direito.`}),(0,h.jsxs)(`form`,{className:`${a} flex flex-wrap gap-3`,onSubmit:e=>{e.preventDefault(),n.get(r?`/management/negocios`:`/investidor/negocios`,{country:E,origin:O})},children:[(0,h.jsx)(d,{countries:_,value:E,onChange:D,label:`Filtrar país do proponente`}),(0,h.jsxs)(`label`,{children:[`Origem declarada`,(0,h.jsxs)(`select`,{"aria-label":`Filtrar origem declarada`,className:l,value:O,onChange:e=>k(e.target.value),children:[(0,h.jsx)(`option`,{value:``,children:`Todas`}),(0,h.jsx)(`option`,{value:`unknown`,children:`Não informada`}),_.map(e=>(0,h.jsxs)(`option`,{value:e.code,children:[e.name,` (`,e.code,`)`]},e.code))]})]}),(0,h.jsx)(`button`,{className:o,children:`Filtrar negócios`})]}),!r&&(0,h.jsxs)(`form`,{className:`rounded-xl border border-slate-200 bg-white p-5 shadow-sm space-y-4`,onSubmit:async e=>{e.preventDefault(),T(!0),C(``);try{let e=await c(`/api/v1/existing-business/listings`,{modality:b,classification:`confidential`,reason:`Criação de rascunho pelo proprietário`,payload:{title:v,wizard_version:`1`,wizard_step:`1`}});n.visit(`/investidor/negocios/${e.id}`)}catch(e){C(e instanceof Error?e.message:`Não foi possível criar o rascunho.`)}finally{T(!1)}},children:[(0,h.jsx)(`h2`,{className:`text-xl font-bold`,children:`Preparar negócio`}),(0,h.jsx)(u,{label:`Título privado`,children:(0,h.jsx)(`input`,{className:`w-full rounded-lg border border-slate-300 bg-white px-3 py-2 text-slate-900 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-emerald-700`,value:v,onChange:e=>y(e.target.value),required:!0,maxLength:200})}),(0,h.jsx)(u,{label:`Modalidade`,children:(0,h.jsx)(`select`,{className:`w-full rounded-lg border border-slate-300 bg-white px-3 py-2 text-slate-900 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-emerald-700`,value:b,onChange:e=>x(e.target.value),children:i.map(e=>(0,h.jsx)(`option`,{value:e,children:p[e]??e},e))})}),S&&(0,h.jsx)(`p`,{role:`alert`,children:S}),(0,h.jsx)(`button`,{className:`inline-flex items-center justify-center rounded-lg bg-emerald-800 px-4 py-2 font-semibold text-white disabled:opacity-50 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-emerald-700`,disabled:w,children:w?`A criar…`:`Criar rascunho privado`})]}),!e.data.length&&(0,h.jsx)(`p`,{role:`status`,children:`Não existem negócios nesta lista.`}),e.data.map(e=>(0,h.jsxs)(`article`,{className:a,children:[(0,h.jsx)(t,{className:`font-bold underline`,href:`/investidor/negocios/${e.id}`,children:e.payload.title}),(0,h.jsxs)(`p`,{children:[p[e.modality],` ·`,` `,f[e.status],` · versão `,e.version_no]})]},e.id)),(0,h.jsxs)(`nav`,{"aria-label":`Paginação dos negócios`,className:`flex gap-4`,children:[e.prev_page_url&&(0,h.jsx)(t,{href:e.prev_page_url,children:`Anterior`}),e.next_page_url&&(0,h.jsx)(t,{href:e.next_page_url,children:`Seguinte`})]})]})}export{g as default};
|
||||
+1
@@ -0,0 +1 @@
|
||||
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{n as t,t as n}from"./jsx-runtime-BpzPEenQ.js";import{r,t as i}from"./utils-CCDJ05Ll.js";var a=e(t(),1),o=Object.defineProperty,s=(e,t)=>o(e,`name`,{value:t,configurable:!0});function c(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}s(c,`setRef`);function l(...e){return t=>{let n=!1,r=e.map(e=>{let r=c(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():c(e[t],null)}}}}s(l,`composeRefs`);function u(...e){return a.useCallback(l(...e),e)}s(u,`useComposedRefs`);var d=Object.defineProperty,f=(e,t)=>d(e,`name`,{value:t,configurable:!0});function p(e){let t=a.forwardRef((t,n)=>{let{children:r,...i}=t,o=null,s=!1,c=[];S(r)&&typeof E==`function`&&(r=E(r._payload)),a.Children.forEach(r,e=>{if(b(e)){s=!0;let t=e,n=`child`in t.props?t.props.child:t.props.children;S(n)&&typeof E==`function`&&(n=E(n._payload)),o=_(t,n),c.push(o?.props?.children)}else c.push(e)}),o?o=a.cloneElement(o,void 0,c):!s&&a.Children.count(r)===1&&a.isValidElement(r)&&(o=r);let l=o?y(o):void 0,d=u(n,l);if(!o){if(r||r===0)throw Error(s?T(e):w(e));return r}let f=v(i,o.props??{});return o.type!==a.Fragment&&(f.ref=n?d:l),a.cloneElement(o,f)});return t.displayName=`${e}.Slot`,t}f(p,`createSlot`);var m=p(`Slot`),h=Symbol.for(`radix.slottable`);function g(e){let t=f(e=>`child`in e?e.children(e.child):e.children,`Slottable`);return t.displayName=`${e}.Slottable`,t.__radixId=h,t}f(g,`createSlottable`);var _=f((e,t)=>{if(`child`in e.props){let t=e.props.child;return a.isValidElement(t)?a.cloneElement(t,void 0,e.props.children(t.props.children)):null}return a.isValidElement(t)?t:null},`getSlottableElementFromSlottable`);function v(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}f(v,`mergeProps`);function y(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}f(y,`getElementRef`);function b(e){return a.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===h}f(b,`isSlottable`);var x=Symbol.for(`react.lazy`);function S(e){return typeof e==`object`&&!!e&&`$$typeof`in e&&e.$$typeof===x&&`_payload`in e&&C(e._payload)}f(S,`isLazyComponent`);function C(e){return typeof e==`object`&&!!e&&`then`in e}f(C,`isPromiseLike`);var w=f(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,`createSlotError`),T=f(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,`createSlottableError`),E=a.use,D=e=>typeof e==`boolean`?`${e}`:e===0?`0`:e,O=r,k=(e,t)=>n=>{if(t?.variants==null)return O(e,n?.class,n?.className);let{variants:r,defaultVariants:i}=t,a=Object.keys(r).map(e=>{let t=n?.[e],a=i?.[e];if(t===null)return null;let o=D(t)||D(a);return r[e][o]}),o=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return r===void 0||(e[n]=r),e},{});return O(e,a,t?.compoundVariants?.reduce((e,t)=>{let{class:n,className:r,...a}=t;return Object.entries(a).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...i,...o}[t]):{...i,...o}[t]===n})?[...e,n,r]:e},[]),n?.class,n?.className)},A=n(),j=k(`inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-[color,box-shadow] disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive`,{variants:{variant:{default:`bg-primary text-primary-foreground shadow-xs hover:bg-primary/90`,destructive:`bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40`,outline:`border border-input bg-background shadow-xs hover:bg-accent hover:text-accent-foreground`,secondary:`bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80`,ghost:`hover:bg-accent hover:text-accent-foreground`,link:`text-primary underline-offset-4 hover:underline`},size:{default:`h-9 px-4 py-2 has-[>svg]:px-3`,sm:`h-8 rounded-md px-3 has-[>svg]:px-2.5`,lg:`h-10 rounded-md px-6 has-[>svg]:px-4`,icon:`size-9`}},defaultVariants:{variant:`default`,size:`default`}});function M({className:e,variant:t,size:n,asChild:r=!1,...a}){return(0,A.jsx)(r?m:`button`,{"data-slot":`button`,className:i(j({variant:t,size:n,className:e})),...a})}export{g as a,p as i,k as n,u as o,m as r,M as t};
|
||||
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
import{o as e,r as t}from"./dist-BRfsww6z.js";import{t as n}from"./jsx-runtime-BpzPEenQ.js";import{a as r,i,n as a,r as o,s}from"./shared-B56M-NjF.js";var c=n();function l({resource:n,records:l,filters:u,sectors:d,geographyReviewCount:f=0}){let p=e({q:u.q??``,status:u.status??``,sector_id:String(u.sector_id??``),geography_scope:u.geography_scope??``});return(0,c.jsxs)(a,{title:n===`sectors`?`Sectores`:`Oportunidades`,children:[(0,c.jsxs)(t,{className:i,href:`/management/${n}/create`,children:[`Criar `,n===`sectors`?`sector`:`oportunidade`]}),n===`opportunities`&&(0,c.jsxs)(`p`,{role:`status`,className:`my-3`,children:[f,` oportunidade(s) aguardam confirmação do âmbito geográfico. A lista não altera localizações; confirme apenas com fontes existentes.`]}),(0,c.jsxs)(`form`,{className:`flex flex-wrap gap-3`,onSubmit:e=>{e.preventDefault(),p.get(`/management/${n}`,{preserveState:!1})},children:[(0,c.jsx)(`input`,{"aria-label":`Pesquisar catálogo`,placeholder:`Nome, título, referência ou slug`,className:`${r} max-w-sm`,value:p.data.q,onChange:e=>p.setData(`q`,e.target.value),maxLength:150}),(0,c.jsxs)(`select`,{"aria-label":`Estado`,className:`${r} max-w-xs`,value:p.data.status,onChange:e=>p.setData(`status`,e.target.value),children:[(0,c.jsx)(`option`,{value:``,children:`Todos os estados`}),(n===`sectors`?[`active`,`inactive`]:[`draft`,`published`,`archived`]).map(e=>(0,c.jsx)(`option`,{value:e,children:e===`active`?`Activo`:e===`inactive`?`Inactivo`:s[e]},e))]}),n===`opportunities`&&(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)(`select`,{"aria-label":`Sector`,className:`w-full rounded-md border border-input bg-background p-2 text-foreground max-w-xs`,value:p.data.sector_id,onChange:e=>p.setData(`sector_id`,e.target.value),children:[(0,c.jsx)(`option`,{value:``,children:`Todos os sectores`}),d.map(e=>(0,c.jsx)(`option`,{value:e.id,children:e.name},e.id))]}),(0,c.jsxs)(`select`,{"aria-label":`Âmbito geográfico`,className:`w-full rounded-md border border-input bg-background p-2 text-foreground max-w-xs`,value:p.data.geography_scope,onChange:e=>p.setData(`geography_scope`,e.target.value),children:[(0,c.jsx)(`option`,{value:``,children:`Todos os âmbitos`}),(0,c.jsx)(`option`,{value:`unspecified`,children:`Pendente de confirmação`}),(0,c.jsx)(`option`,{value:`specific`,children:`Localização específica`}),(0,c.jsx)(`option`,{value:`multiple`,children:`Várias localizações`}),(0,c.jsx)(`option`,{value:`national`,children:`Âmbito nacional`}),(0,c.jsx)(`option`,{value:`digital`,children:`Digital/sem instalação definida`})]})]}),(0,c.jsx)(`button`,{className:i,disabled:p.processing,children:`Pesquisar`}),(0,c.jsx)(t,{className:`p-2 underline`,href:`/management/${n}`,children:`Limpar filtros`}),Object.values(p.errors).map(e=>(0,c.jsx)(`p`,{role:`alert`,className:`w-full text-red-600`,children:e},e))]}),(0,c.jsx)(`div`,{className:`space-y-3`,children:l.data.map(e=>(0,c.jsxs)(`article`,{className:`flex flex-wrap items-center justify-between gap-3 rounded border p-4`,children:[(0,c.jsxs)(`div`,{children:[(0,c.jsx)(`h2`,{className:`font-semibold`,children:e.name??e.title}),(0,c.jsxs)(`p`,{className:`text-muted-foreground text-sm`,children:[e.reference??e.slug,` ·`,` `,n===`sectors`?e.is_active?`Activo`:`Inactivo`:s[e.status??`draft`]]}),n===`opportunities`&&e.geography_scope===`unspecified`&&(0,c.jsxs)(`p`,{className:`mt-1 text-sm`,children:[`Pendente de confirmação; território já registado:`,` `,e.primary_territory?.name??`nenhum`,`. Fonte do território:`,` `,e.primary_territory?.source_system??`não indicada`,e.primary_territory?.source_code?`, código ${e.primary_territory.source_code}`:``,`. A classificação não é alterada automaticamente.`]})]}),(0,c.jsx)(t,{className:`underline`,href:`/management/${n}/${e.id}/edit`,children:`Editar`})]},e.id))}),!l.data.length&&(0,c.jsx)(`p`,{children:`Nenhum registo encontrado.`}),(0,c.jsx)(o,{page:l})]})}export{l as default};
|
||||
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
import{r as e}from"./dist-BRfsww6z.js";import{t}from"./jsx-runtime-BpzPEenQ.js";import{t as n}from"./compiler-runtime-sKsOXjDo.js";import{a as r,n as i}from"./shared-DujgZ7j9.js";var a=n(),o=t();function s(t){let n=(0,a.c)(14),{installed:r,services:s,prepared:d}=t,f;n[0]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,o.jsx)(`p`,{children:`Preparação e acompanhamento internos; a decisão oficial pertence à entidade competente.`}),n[0]=f):f=n[0];let p=r?`/balcao-virtual/painel`:`/balcao-virtual`,m=r?`Abrir o painel e preparar um pedido`:`Consultar pedidos existentes`,h;n[1]!==p||n[2]!==m?(h=(0,o.jsx)(e,{href:p,className:`underline`,children:m}),n[1]=p,n[2]=m,n[3]=h):h=n[3];let g;n[4]===r?g=n[5]:(g=!r&&(0,o.jsx)(`p`,{children:`Melhorias preparadas; a instalação autenticada e a publicação explícita dos serviços continuam pendentes.`}),n[4]=r,n[5]=g);let _;n[6]!==r||n[7]!==d||n[8]!==s?(_=(r?s.map(u):Object.values(d).map(l)).map(c),n[6]=r,n[7]=d,n[8]=s,n[9]=_):_=n[9];let v;return n[10]!==h||n[11]!==g||n[12]!==_?(v=(0,o.jsxs)(i,{title:`Serviços do Balcão Virtual`,children:[f,h,g,_]}),n[10]=h,n[11]=g,n[12]=_,n[13]=v):v=n[13],v}function c(e){return(0,o.jsxs)(`article`,{className:r,children:[(0,o.jsx)(`h2`,{className:`text-xl font-bold`,children:e.title}),(0,o.jsx)(`p`,{children:e.result}),(0,o.jsx)(`p`,{children:e.version?`Versão ${e.version}`:`Preparado, ainda indisponível para novos pedidos`})]},e.title)}function l(e){return{...e,version:null}}function u(e){return{...e.definition,version:e.version}}export{s as default};
|
||||
+1
@@ -0,0 +1 @@
|
||||
import{t as e}from"./createLucideIcon-oMeAlXbs.js";var t=e(`Check`,[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]);export{t};
|
||||
+1
@@ -0,0 +1 @@
|
||||
import{t as e}from"./rolldown-runtime-Dd_uD5pT.js";import{n as t}from"./jsx-runtime-BpzPEenQ.js";var n=e((e=>{var n=t().__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;e.c=function(e){return n.H.useMemoCache(e)}})),r=e(((e,t)=>{t.exports=n()}));export{r as t};
|
||||
+1
@@ -0,0 +1 @@
|
||||
import{n as e}from"./wayfinder-Dp7PqxvV.js";var t=e=>({url:t.url(e),method:`post`});t.definition={methods:[`post`],url:`/user/confirm-password`},t.url=n=>t.definition.url+e(n),t.post=e=>({url:t.url(e),method:`post`});var n=e=>({action:t.url(e),method:`post`});n.post=e=>({action:t.url(e),method:`post`}),t.form=n;var r={store:Object.assign(t,t)};export{t as n,r as t};
|
||||
+1
@@ -0,0 +1 @@
|
||||
import{n as e,t}from"./dist-BRfsww6z.js";import{t as n}from"./jsx-runtime-BpzPEenQ.js";import{t as r}from"./compiler-runtime-sKsOXjDo.js";import{t as i}from"./button-DAU4R6e9.js";import{t as a}from"./password-input-bq-jEkNf.js";import{n as o}from"./wayfinder-Dp7PqxvV.js";import{t as s}from"./input-error-U1QKS0ED.js";import{t as c}from"./label-D-C_NQs4.js";import{t as l}from"./spinner-hD8hHC_m.js";import{n as u}from"./confirm-Culw9Q-x.js";import{t as d}from"./passkey-verify-JMdWFhk_.js";var f=r(),p=e=>({url:p.url(e),method:`get`});p.definition={methods:[`get`,`head`],url:`/passkeys/confirm/options`},p.url=e=>p.definition.url+o(e),p.get=e=>({url:p.url(e),method:`get`}),p.head=e=>({url:p.url(e),method:`head`});var m=e=>({action:p.url(e),method:`get`});m.get=e=>({action:p.url(e),method:`get`}),m.head=e=>({action:p.url({[e?.mergeQuery?`mergeQuery`:`query`]:{_method:`HEAD`,...e?.query??e?.mergeQuery??{}}}),method:`get`}),p.form=m;var h=e=>({url:h.url(e),method:`post`});h.definition={methods:[`post`],url:`/passkeys/confirm`},h.url=e=>h.definition.url+o(e),h.post=e=>({url:h.url(e),method:`post`});var g=e=>({action:h.url(e),method:`post`});g.post=e=>({action:h.url(e),method:`post`}),h.form=g;var _=n();function v(){let n=(0,f.c)(3),r;n[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,_.jsx)(e,{title:`Confirm password`}),n[0]=r):r=n[0];let i;n[1]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,_.jsx)(d,{routes:{options:p(),submit:h()},label:`Confirm with passkey`,loadingLabel:`Confirming...`,separator:`Or confirm with password`}),n[1]=i):i=n[1];let a;return n[2]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,_.jsxs)(_.Fragment,{children:[r,i,(0,_.jsx)(t,{...u.form(),resetOnSuccess:[`password`],children:y})]}),n[2]=a):a=n[2],a}function y(e){let{processing:t,errors:n}=e;return(0,_.jsxs)(`div`,{className:`space-y-6`,children:[(0,_.jsxs)(`div`,{className:`grid gap-2`,children:[(0,_.jsx)(c,{htmlFor:`password`,children:`Password`}),(0,_.jsx)(a,{id:`password`,name:`password`,placeholder:`Password`,autoComplete:`current-password`,autoFocus:!0}),(0,_.jsx)(s,{message:n.password})]}),(0,_.jsx)(`div`,{className:`flex items-center`,children:(0,_.jsxs)(i,{className:`w-full`,disabled:t,"data-test":`confirm-password-button`,children:[t&&(0,_.jsx)(l,{}),`Confirm password`]})})]})}v.layout={title:`Confirm password`,description:`This is a secure area of the application. Please confirm your password before continuing.`};export{v as default};
|
||||
+1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{o as t}from"./dist-BRfsww6z.js";import{n,t as r}from"./jsx-runtime-BpzPEenQ.js";import{t as i}from"./compiler-runtime-sKsOXjDo.js";import{a,r as o,s,t as c}from"./shared-DujgZ7j9.js";import{a as l}from"./portal-api-tEuwFTsU.js";var u=i(),d=e(n(),1),f=r();function p(e){let n=(0,u.c)(26),{id:r,messages:i,submitted:p,revisions:v}=e,y;n[0]===Symbol.for(`react.memo_cache_sentinel`)?(y={client_key:l(),body:``},n[0]=y):y=n[0];let b=t(y),[x,S]=(0,d.useState)(null),[C,w]=(0,d.useState)(``),T;n[1]===Symbol.for(`react.memo_cache_sentinel`)?(T=(0,f.jsx)(`h2`,{className:`text-xl font-bold`,children:`Versões guardadas`}),n[1]=T):T=n[1];let E;n[2]===r?E=n[3]:(E=e=>{if(w(``),!e.target.value){S(null);return}o(`/api/v1/investment/submissions/${r}/revisions/${e.target.value}`).then(S).catch(()=>w(`Não foi possível consultar esta versão.`))},n[2]=r,n[3]=E);let D;n[4]===Symbol.for(`react.memo_cache_sentinel`)?(D=(0,f.jsx)(`option`,{value:``,children:`Seleccionar versão`}),n[4]=D):D=n[4];let O;n[5]===v?O=n[6]:(O=v.map(_),n[5]=v,n[6]=O);let k;n[7]!==E||n[8]!==O?(k=(0,f.jsx)(c,{label:`Consultar versão`,children:(0,f.jsxs)(`select`,{className:s,defaultValue:``,onChange:E,children:[D,O]})}),n[7]=E,n[8]=O,n[9]=k):k=n[9];let A;n[10]===C?A=n[11]:(A=C&&(0,f.jsx)(`p`,{role:`alert`,children:C}),n[10]=C,n[11]=A);let j;n[12]===x?j=n[13]:(j=x&&(0,f.jsxs)(`div`,{className:`space-y-2`,children:[(0,f.jsxs)(`h3`,{className:`font-bold`,children:[`Versão `,x.version]}),(0,f.jsxs)(`p`,{children:[`Investidor: `,x.snapshot.payload.full_name]}),(0,f.jsxs)(`p`,{children:[`Empresa:`,` `,x.snapshot.payload.organisation||`Não indicada`]}),(0,f.jsxs)(`p`,{className:`whitespace-pre-line`,children:[`Objectivo:`,` `,x.snapshot.payload.objective||`Não indicado`]}),(0,f.jsxs)(`p`,{children:[`Prazo:`,` `,x.snapshot.payload.horizon||`Não indicado`]}),(0,f.jsx)(`ul`,{children:x.snapshot.needs.map(g)}),(0,f.jsxs)(`p`,{children:[x.snapshot.attachment_ids.length,` anexos associados nessa versão.`]})]}),n[12]=x,n[13]=j);let M;n[14]!==k||n[15]!==A||n[16]!==j?(M=(0,f.jsxs)(`section`,{className:a+` space-y-4`,children:[T,k,A,j]}),n[14]=k,n[15]=A,n[16]=j,n[17]=M):M=n[17];let N;n[18]!==b||n[19]!==r||n[20]!==i||n[21]!==p?(N=p&&(0,f.jsxs)(`section`,{className:`rounded-xl border border-slate-200 bg-white p-5 shadow-sm space-y-4`,children:[(0,f.jsx)(`h2`,{className:`text-xl font-bold`,children:`Conversa com o apoio`}),(0,f.jsx)(`p`,{children:`As mensagens ficam registadas neste pedido e são visíveis ao investidor e à equipa autorizada.`}),i.map(h),!i.length&&(0,f.jsx)(`p`,{children:`Ainda não existem mensagens neste pedido.`}),(0,f.jsxs)(`form`,{className:`space-y-3`,onSubmit:e=>{e.preventDefault(),b.post(`/investidor/manifestacoes/${r}/messages`,{preserveScroll:!0,onSuccess:()=>b.setData({client_key:l(),body:``})})},children:[(0,f.jsx)(c,{label:`Mensagem para acompanhamento`,children:(0,f.jsx)(`textarea`,{className:`w-full rounded-lg border border-slate-300 bg-white px-3 py-2 text-slate-900 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-emerald-700`,rows:4,required:!0,minLength:3,maxLength:5e3,value:b.data.body,onChange:e=>b.setData(`body`,e.target.value)})}),Object.entries(b.errors).map(m),(0,f.jsx)(`button`,{className:`inline-flex items-center justify-center rounded-lg bg-emerald-800 px-4 py-2 font-semibold text-white disabled:opacity-50 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-emerald-700`,disabled:b.processing,children:`Enviar mensagem`})]})]}),n[18]=b,n[19]=r,n[20]=i,n[21]=p,n[22]=N):N=n[22];let P;return n[23]!==N||n[24]!==M?(P=(0,f.jsxs)(f.Fragment,{children:[M,N]}),n[23]=N,n[24]=M,n[25]=P):P=n[25],P}function m(e){let[t,n]=e;return(0,f.jsx)(`p`,{role:`alert`,children:n},t)}function h(e){return(0,f.jsxs)(`article`,{className:`rounded-lg border p-4`,children:[(0,f.jsxs)(`p`,{className:`font-semibold`,children:[e.sender_role===`support`?`Apoio ao Investidor`:`Investidor`,` `,`·`,` `,new Date(e.created_at).toLocaleString(`pt-MZ`)]}),(0,f.jsx)(`p`,{className:`mt-2 whitespace-pre-line`,children:e.body})]},e.id)}function g(e,t){return(0,f.jsx)(`li`,{children:e.details.description},t)}function _(e){return(0,f.jsxs)(`option`,{value:e.version,children:[`Versão `,e.version,` —`,` `,new Date(e.created_at).toLocaleString(`pt-MZ`)]},e.version)}export{p as Conversation};
|
||||
+1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{n as t,t as n}from"./jsx-runtime-BpzPEenQ.js";var r=e(t(),1),i=n();function a({countries:e,value:t,onChange:n,id:a,disabled:o=!1,label:s=`País`,required:c=!1,allowLegacyValue:l=!1,error:u}){let d=(0,r.useId)(),[f,p]=(0,r.useState)(``),m=e.filter(e=>e.code===t||`${e.name} ${e.name_en} ${e.code}`.normalize(`NFD`).replace(/\p{Diacritic}/gu,``).toLowerCase().includes(f.normalize(`NFD`).replace(/\p{Diacritic}/gu,``).toLowerCase()));return(0,i.jsxs)(`div`,{className:`space-y-2`,children:[(0,i.jsx)(`input`,{disabled:o,className:`w-full rounded border p-2`,"aria-label":`Pesquisar ${s.toLowerCase()}`,maxLength:100,value:f,onChange:e=>p(e.target.value),placeholder:`Pesquisar nome ou código do país`}),(0,i.jsxs)(`select`,{disabled:o,id:a??d,"aria-label":s,"aria-invalid":!!u,"aria-describedby":u?(a??d)+`-error`:void 0,required:c,className:`w-full rounded border p-2`,value:t,onChange:e=>n(e.target.value),children:[(0,i.jsx)(`option`,{value:``,children:`Não informado`}),l&&t&&!e.some(e=>e.code===t)&&(0,i.jsxs)(`option`,{value:t,children:[t,` (valor anterior conservado)`]}),m.map(e=>(0,i.jsxs)(`option`,{value:e.code,children:[e.name,` (`,e.code,`)`]},e.code))]}),u&&(0,i.jsx)(`p`,{id:(a??d)+`-error`,role:`alert`,className:`text-red-700`,children:u}),m.length===0&&(0,i.jsx)(`p`,{role:`status`,children:`Nenhum país corresponde à pesquisa.`})]})}export{a as t};
|
||||
+1
@@ -0,0 +1 @@
|
||||
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{n as t}from"./jsx-runtime-BpzPEenQ.js";var n=e(t(),1),r=e=>e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),i=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),a={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`},o=(0,n.forwardRef)(({color:e=`currentColor`,size:t=24,strokeWidth:r=2,absoluteStrokeWidth:o,className:s=``,children:c,iconNode:l,...u},d)=>(0,n.createElement)(`svg`,{ref:d,...a,width:t,height:t,stroke:e,strokeWidth:o?Number(r)*24/Number(t):r,className:i(`lucide`,s),...u},[...l.map(([e,t])=>(0,n.createElement)(e,t)),...Array.isArray(c)?c:[c]])),s=(e,t)=>{let a=(0,n.forwardRef)(({className:a,...s},c)=>(0,n.createElement)(o,{ref:c,iconNode:t,className:i(`lucide-${r(e)}`,a),...s}));return a.displayName=`${e}`,a};export{s as t};
|
||||
+1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
import{r as e,u as t}from"./dist-BRfsww6z.js";import{t as n}from"./jsx-runtime-BpzPEenQ.js";import{t as r}from"./compiler-runtime-sKsOXjDo.js";import{Frame as i,button as a,labels as o}from"./shared-CmVpbARN.js";var s=r(),c=n();function l(t){let n=(0,s.c)(23),r,o;n[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,c.jsx)(`h2`,{className:`mb-4 text-xl font-bold`,children:`Ideias e propostas`}),o=(0,c.jsx)(e,{className:a,href:`/parcerias/criar`,children:`Preparar uma parceria`}),n[0]=r,n[1]=o):(r=n[0],o=n[1]);let l;n[2]===t.mine?l=n[3]:(l=t.mine.map(p),n[2]=t.mine,n[3]=l);let m;n[4]===l?m=n[5]:(m=(0,c.jsxs)(`section`,{children:[r,o,l]}),n[4]=l,n[5]=m);let h;n[6]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,c.jsx)(`h2`,{className:`text-xl font-bold`,children:`As minhas candidaturas`}),n[6]=h):h=n[6];let g;n[7]===t.interests?g=n[8]:(g=t.interests.map(f),n[7]=t.interests,n[8]=g);let _;n[9]===g?_=n[10]:(_=(0,c.jsxs)(`section`,{children:[h,g]}),n[9]=g,n[10]=_);let v;n[11]===t.moderation?v=n[12]:(v=t.moderation.length>0&&(0,c.jsxs)(`section`,{children:[(0,c.jsx)(`h2`,{className:`text-xl font-bold`,children:`Fila de moderação`}),t.moderation.map(d)]}),n[11]=t.moderation,n[12]=v);let y;n[13]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,c.jsx)(`h2`,{className:`text-xl font-bold`,children:`Notificações no portal`}),n[13]=y):y=n[13];let b;n[14]===t.notifications?b=n[15]:(b=t.notifications.map(u),n[14]=t.notifications,n[15]=b);let x;n[16]===b?x=n[17]:(x=(0,c.jsxs)(`section`,{children:[y,b]}),n[16]=b,n[17]=x);let S;return n[18]!==x||n[19]!==m||n[20]!==_||n[21]!==v?(S=(0,c.jsx)(i,{title:`O meu painel de parcerias`,children:(0,c.jsxs)(`div`,{className:`space-y-8`,children:[m,_,v,x]})}),n[18]=x,n[19]=m,n[20]=_,n[21]=v,n[22]=S):S=n[22],S}function u(n){return(0,c.jsxs)(`article`,{className:`my-3 rounded border p-3`,children:[(0,c.jsx)(e,{href:n.href,className:`underline`,children:n.title}),!n.read_at&&(0,c.jsx)(`button`,{className:`ml-4 underline`,onClick:()=>t.post(`/parcerias/notificacoes/`+n.id+`/ler`),children:`Marcar como lida`})]},n.id)}function d(t){return(0,c.jsx)(`p`,{children:(0,c.jsxs)(e,{className:`underline`,href:`/parcerias/`+t.id,children:[t.title,` · `,o[t.status]]})},t.id)}function f(t){return(0,c.jsxs)(`article`,{className:`my-4 rounded border p-4`,children:[(0,c.jsx)(e,{className:`underline`,href:`/parcerias/`+t.partnership_id,children:t.title}),(0,c.jsxs)(`p`,{children:[o[t.status],` · `,t.decision_reason]}),t.room_id&&(0,c.jsx)(e,{className:`inline-flex rounded bg-emerald-800 px-4 py-2 text-white disabled:opacity-50`,href:`/parcerias/salas/`+t.room_id,children:`Abrir conexão privada`})]},t.id)}function p(t){return(0,c.jsxs)(`article`,{className:`mt-4 rounded border p-4`,children:[(0,c.jsx)(e,{className:`font-semibold underline`,href:`/parcerias/`+t.id,children:t.title||`Ideia sem título`}),(0,c.jsx)(`p`,{children:o[t.status]??t.status}),(0,c.jsxs)(`p`,{children:[`Próxima ação:`,` `,[`draft`,`returned`,`rejected`].includes(t.status)?`Completar e pré-visualizar para submissão`:t.status===`published`?`Consultar candidatos e esclarecer pendências`:`Acompanhar a decisão`]})]},t.id)}export{l as default};
|
||||
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
import"./rolldown-runtime-Dd_uD5pT.js";import{n as e,t}from"./jsx-runtime-BpzPEenQ.js";import{t as n}from"./compiler-runtime-sKsOXjDo.js";import{t as r}from"./utils-CCDJ05Ll.js";import{_ as i,d as a,f as o,g as s,h as c,m as l,p as u,v as d,x as f}from"./app-Dy6Qob7g.js";var p=n();e();var m=t();function h(e){let t=(0,p.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,m.jsx)(a,{"data-slot":`dialog`,...n}),t[2]=n,t[3]=r),r}function g(e){let t=(0,p.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,m.jsx)(d,{"data-slot":`dialog-trigger`,...n}),t[2]=n,t[3]=r),r}function _(e){let t=(0,p.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,m.jsx)(s,{"data-slot":`dialog-portal`,...n}),t[2]=n,t[3]=r),r}function v(e){let t=(0,p.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,m.jsx)(o,{"data-slot":`dialog-close`,...n}),t[2]=n,t[3]=r),r}function y(e){let t=(0,p.c)(8),n,i;t[0]===e?(n=t[1],i=t[2]):({className:n,...i}=e,t[0]=e,t[1]=n,t[2]=i);let a;t[3]===n?a=t[4]:(a=r(`data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80`,n),t[3]=n,t[4]=a);let o;return t[5]!==i||t[6]!==a?(o=(0,m.jsx)(c,{"data-slot":`dialog-overlay`,className:a,...i}),t[5]=i,t[6]=a,t[7]=o):o=t[7],o}function b(e){let t=(0,p.c)(12),n,i,a;t[0]===e?(n=t[1],i=t[2],a=t[3]):({className:i,children:n,...a}=e,t[0]=e,t[1]=n,t[2]=i,t[3]=a);let s;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,m.jsx)(y,{}),t[4]=s):s=t[4];let c;t[5]===i?c=t[6]:(c=r(`bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg`,i),t[5]=i,t[6]=c);let l;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,m.jsxs)(o,{className:`ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,children:[(0,m.jsx)(f,{}),(0,m.jsx)(`span`,{className:`sr-only`,children:`Close`})]}),t[7]=l):l=t[7];let d;return t[8]!==n||t[9]!==a||t[10]!==c?(d=(0,m.jsxs)(_,{"data-slot":`dialog-portal`,children:[s,(0,m.jsxs)(u,{"data-slot":`dialog-content`,className:c,...a,children:[n,l]})]}),t[8]=n,t[9]=a,t[10]=c,t[11]=d):d=t[11],d}function x(e){let t=(0,p.c)(8),n,i;t[0]===e?(n=t[1],i=t[2]):({className:n,...i}=e,t[0]=e,t[1]=n,t[2]=i);let a;t[3]===n?a=t[4]:(a=r(`flex flex-col gap-2 text-center sm:text-left`,n),t[3]=n,t[4]=a);let o;return t[5]!==i||t[6]!==a?(o=(0,m.jsx)(`div`,{"data-slot":`dialog-header`,className:a,...i}),t[5]=i,t[6]=a,t[7]=o):o=t[7],o}function S(e){let t=(0,p.c)(8),n,i;t[0]===e?(n=t[1],i=t[2]):({className:n,...i}=e,t[0]=e,t[1]=n,t[2]=i);let a;t[3]===n?a=t[4]:(a=r(`flex flex-col-reverse gap-2 sm:flex-row sm:justify-end`,n),t[3]=n,t[4]=a);let o;return t[5]!==i||t[6]!==a?(o=(0,m.jsx)(`div`,{"data-slot":`dialog-footer`,className:a,...i}),t[5]=i,t[6]=a,t[7]=o):o=t[7],o}function C(e){let t=(0,p.c)(8),n,a;t[0]===e?(n=t[1],a=t[2]):({className:n,...a}=e,t[0]=e,t[1]=n,t[2]=a);let o;t[3]===n?o=t[4]:(o=r(`text-lg leading-none font-semibold`,n),t[3]=n,t[4]=o);let s;return t[5]!==a||t[6]!==o?(s=(0,m.jsx)(i,{"data-slot":`dialog-title`,className:o,...a}),t[5]=a,t[6]=o,t[7]=s):s=t[7],s}function w(e){let t=(0,p.c)(8),n,i;t[0]===e?(n=t[1],i=t[2]):({className:n,...i}=e,t[0]=e,t[1]=n,t[2]=i);let a;t[3]===n?a=t[4]:(a=r(`text-muted-foreground text-sm`,n),t[3]=n,t[4]=a);let o;return t[5]!==i||t[6]!==a?(o=(0,m.jsx)(l,{"data-slot":`dialog-description`,className:a,...i}),t[5]=i,t[6]=a,t[7]=o):o=t[7],o}export{S as a,g as c,w as i,v as n,x as o,b as r,C as s,h as t};
|
||||
+1
@@ -0,0 +1 @@
|
||||
function e(e,t=``){return typeof e==`string`?e:typeof e==`number`&&Number.isFinite(e)||typeof e==`boolean`?String(e):t}export{e as t};
|
||||
+97
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{l as t}from"./dist-BRfsww6z.js";import{n,t as r}from"./jsx-runtime-BpzPEenQ.js";import{i}from"./button-DAU4R6e9.js";var a=e(n(),1),o=e(t(),1),s=r(),c=Object.defineProperty,l=(e,t)=>c(e,`name`,{value:t,configurable:!0}),u=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,t)=>{let n=i(`Primitive.${t}`),r=a.forwardRef((e,r)=>{let{asChild:i,...a}=e,o=i?n:t;return typeof window<`u`&&(window[Symbol.for(`radix-ui`)]=!0),(0,s.jsx)(o,{...a,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function d(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}l(d,`dispatchDiscreteCustomEvent`);export{d as n,u as t};
|
||||
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+2
File diff suppressed because one or more lines are too long
+61
@@ -0,0 +1,61 @@
|
||||
@font-face {
|
||||
font-family: "Instrument Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
src: url("/build/assets/instrument-sans-400-normal-DRC__1Mx.woff2") format("woff2");
|
||||
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Instrument Sans";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
src: url("/build/assets/instrument-sans-400-normal-D1W7dsQl.woff") format("woff");
|
||||
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Instrument Sans";
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
font-display: swap;
|
||||
src: url("/build/assets/instrument-sans-500-normal-Dk9ku72i.woff2") format("woff2");
|
||||
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Instrument Sans";
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
font-display: swap;
|
||||
src: url("/build/assets/instrument-sans-500-normal-Z6ESRlEs.woff") format("woff");
|
||||
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Instrument Sans";
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
font-display: swap;
|
||||
src: url("/build/assets/instrument-sans-600-normal-B7fBEWYG.woff2") format("woff2");
|
||||
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Instrument Sans";
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
font-display: swap;
|
||||
src: url("/build/assets/instrument-sans-600-normal-B9e8oLYv.woff") format("woff");
|
||||
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
|
||||
}
|
||||
|
||||
:root {
|
||||
--font-instrument-sans: "Instrument Sans";
|
||||
}
|
||||
|
||||
.font-instrument-sans {
|
||||
font-family: var(--font-instrument-sans);
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
import{n as e,t}from"./dist-BRfsww6z.js";import{t as n}from"./jsx-runtime-BpzPEenQ.js";import{t as r}from"./compiler-runtime-sKsOXjDo.js";import{t as i}from"./button-DAU4R6e9.js";import{t as a}from"./loader-circle-DS8Tf4er.js";import{b as o,s}from"./app-Dy6Qob7g.js";import{t as c}from"./input-error-U1QKS0ED.js";import{t as l}from"./label-D-C_NQs4.js";import{t as u}from"./text-link-BBvcP60s.js";import{t as d}from"./password-CB_NxgQN.js";var f=r(),p=n();function m(n){let r=(0,f.c)(8),{status:i}=n,a;r[0]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,p.jsx)(e,{title:`Forgot password`}),r[0]=a):a=r[0];let o;r[1]===i?o=r[2]:(o=i&&(0,p.jsx)(`div`,{className:`mb-4 text-center text-sm font-medium text-green-600`,children:i}),r[1]=i,r[2]=o);let c;r[3]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,p.jsx)(t,{...d.form(),children:h}),r[3]=c):c=r[3];let l;r[4]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,p.jsx)(`span`,{children:`Or, return to`}),r[4]=l):l=r[4];let m;r[5]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,p.jsxs)(`div`,{className:`space-y-6`,children:[c,(0,p.jsxs)(`div`,{className:`text-muted-foreground space-x-1 text-center text-sm`,children:[l,(0,p.jsx)(u,{href:s(),children:`log in`})]})]}),r[5]=m):m=r[5];let g;return r[6]===o?g=r[7]:(g=(0,p.jsxs)(p.Fragment,{children:[a,o,m]}),r[6]=o,r[7]=g),g}function h(e){let{processing:t,errors:n}=e;return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsxs)(`div`,{className:`grid gap-2`,children:[(0,p.jsx)(l,{htmlFor:`email`,children:`Email address`}),(0,p.jsx)(o,{id:`email`,type:`email`,name:`email`,autoComplete:`off`,autoFocus:!0,placeholder:`email@example.com`}),(0,p.jsx)(c,{message:n.email})]}),(0,p.jsx)(`div`,{className:`my-6 flex items-center justify-start`,children:(0,p.jsxs)(i,{className:`w-full`,disabled:t,"data-test":`email-password-reset-link-button`,children:[t&&(0,p.jsx)(a,{className:`h-4 w-4 animate-spin`}),`Email password reset link`]})})]})}m.layout={title:`Forgot password`,description:`Enter your email to receive a password reset link`};export{m as default};
|
||||
+1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
import{r as e}from"./dist-BRfsww6z.js";import{t}from"./jsx-runtime-BpzPEenQ.js";import{t as n}from"./compiler-runtime-sKsOXjDo.js";var r=n(),i=t();function a(t){let n=(0,r.c)(13),{disclaimer:a}=t,o,s,c;n[0]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,i.jsx)(`p`,{className:`text-sm font-semibold tracking-wide uppercase`,children:`InvestMoz · orientação informativa`}),s=(0,i.jsx)(`h1`,{className:`text-3xl font-bold`,children:`Terra e DUAT`}),c=(0,i.jsx)(`p`,{children:`Prepare informação sobre uma área, um pedido ou um processo que já acompanha. Pode indicar dúvidas e dados por confirmar.`}),n[0]=o,n[1]=s,n[2]=c):(o=n[0],s=n[1],c=n[2]);let l;n[3]===a?l=n[4]:(l=(0,i.jsxs)(`header`,{className:`space-y-3`,children:[o,s,c,(0,i.jsx)(`p`,{className:`rounded border border-amber-400 bg-amber-50 p-4 text-sm`,children:a})]}),n[3]=a,n[4]=l);let u;n[5]===Symbol.for(`react.memo_cache_sentinel`)?(u=(0,i.jsxs)(`article`,{className:`rounded border p-4`,children:[(0,i.jsx)(`h2`,{className:`font-semibold`,children:`Preparar informação`}),(0,i.jsx)(`p`,{children:`Identifique a finalidade, o requerente, a localização conhecida e os antecedentes que tiver.`})]}),n[5]=u):u=n[5];let d;n[6]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,i.jsxs)(`article`,{className:`rounded border p-4`,children:[(0,i.jsx)(`h2`,{className:`font-semibold`,children:`Organizar documentos`}),(0,i.jsx)(`p`,{children:`Anexos são opcionais nesta fase. A lista não substitui os requisitos confirmados pela entidade competente.`})]}),n[6]=d):d=n[6];let f,p;n[7]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,i.jsxs)(`section`,{className:`grid gap-4 md:grid-cols-3`,children:[u,d,(0,i.jsxs)(`article`,{className:`rounded border p-4`,children:[(0,i.jsx)(`h2`,{className:`font-semibold`,children:`Acompanhar`}),(0,i.jsx)(`p`,{children:`Guarde uma referência interna e registe separadamente informações comunicadas por si e diligências internas.`})]})]}),p=(0,i.jsx)(`p`,{className:`rounded bg-slate-50 p-4`,children:`Não inferimos que uma área está livre, que não existem direitos ou conflitos, nem que um registo ou mapa confirma titularidade. O InvestMoz não atribui DUAT nem substitui a autoridade pública.`}),n[7]=f,n[8]=p):(f=n[7],p=n[8]);let m;n[9]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,i.jsxs)(`nav`,{className:`flex flex-wrap gap-4`,children:[(0,i.jsx)(e,{className:`rounded bg-emerald-800 px-4 py-3 text-white`,href:`/investidor/terra-duat/novo`,children:`Preencher no portal`}),(0,i.jsx)(e,{className:`rounded border px-4 py-3`,href:`/terra-duat/formulario-em-branco`,children:`Descarregar formulário em branco (imprimir/guardar como PDF)`}),(0,i.jsx)(e,{className:`rounded border px-4 py-3`,href:`/apoio`,children:`Solicitar apoio geral`})]}),n[9]=m):m=n[9];let h;n[10]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,i.jsxs)(`details`,{className:`rounded border p-4`,children:[(0,i.jsx)(`summary`,{className:`cursor-pointer font-semibold`,children:`Estado das fontes e requisitos`}),(0,i.jsx)(`p`,{className:`mt-3`,children:`Os modelos digitalizados estão inventariados como referências reservadas. Conteúdo, actualidade e requisitos legais aguardam OCR, conferência oficial e revisão. Não use esta orientação como checklist oficial.`})]}),n[10]=h):h=n[10];let g;return n[11]===l?g=n[12]:(g=(0,i.jsxs)(`main`,{className:`mx-auto max-w-5xl space-y-8 p-6 print:p-0`,children:[l,f,p,m,h]}),n[11]=l,n[12]=g),g}export{a as default};
|
||||
+1
@@ -0,0 +1 @@
|
||||
import{t as e}from"./jsx-runtime-BpzPEenQ.js";import{t}from"./compiler-runtime-sKsOXjDo.js";import{n,r}from"./shared-B56M-NjF.js";var i=t(),a=e(),o={investment_accounts:`Perfil de investimento`,investment_company_declarations:`Declaração de empresa`,investment_submissions:`Manifestação de interesse`,investment_messages:`Mensagem de acompanhamento`,investment_reference_options:`Opção de formulário`,opportunity_context:`Contexto da oportunidade`,sectors:`Sector`,opportunities:`Oportunidade`,interest_requests:`Pedido`,investors:`Investidor`,contacts:`Contacto`,leads:`Lead`,tasks:`Tarefa`,projects:`Projecto`,economic_clusters:`Cluster`,cluster_projects:`Associação projecto–cluster`,value_chains:`Etapa da cadeia de valor`,value_chain_links:`Ligação entre etapas`,investment_gaps:`Lacuna de investimento`},s={version:`Versão`,active:`Activo`,name:`Nome`,slug:`Endereço`,description:`Descrição`,short_description:`Descrição curta`,status:`Estado`,is_active:`Activo`,is_featured:`Destaque`,sort_order:`Ordem`,sector_id:`Sector`,maturity_level:`Maturidade`,maturity_label:`Descrição da maturidade`,estimated_investment_amount:`Investimento`,estimated_investment_currency:`Moeda`,reference:`Referência`,title:`Título`,summary:`Resumo`,province:`Província`,district:`Distrito`,promoter_name:`Promotor`,promoter_type:`Tipo de promotor`,financing_modality:`Financiamento`,expected_impact:`Impacto`,published_at:`Publicação`,reviewed_at:`Data de revisão`,reviewed_by:`Responsável pela revisão`};function c(e){return e==null?`—`:typeof e==`boolean`?e?`Sim`:`Não`:typeof e==`object`?JSON.stringify(e):typeof e==`string`?e:typeof e==`number`?e.toString():`—`}function l(e){let t=(0,i.c)(13),{events:o}=e,s;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,a.jsx)(`p`,{className:`text-muted-foreground`,children:`Alterações efectuadas na gestão do portal. Os textos e contactos pessoais não são copiados para o histórico.`}),t[0]=s):s=t[0];let c;t[1]===o.data?c=t[2]:(c=o.data.map(u),t[1]=o.data,t[2]=c);let l;t[3]===c?l=t[4]:(l=(0,a.jsx)(`div`,{className:`space-y-4`,children:c}),t[3]=c,t[4]=l);let d;t[5]===o.data.length?d=t[6]:(d=!o.data.length&&(0,a.jsx)(`p`,{children:`Ainda não existem alterações registadas.`}),t[5]=o.data.length,t[6]=d);let f;t[7]===o?f=t[8]:(f=(0,a.jsx)(r,{page:o}),t[7]=o,t[8]=f);let p;return t[9]!==l||t[10]!==d||t[11]!==f?(p=(0,a.jsxs)(n,{title:`Histórico de alterações`,children:[s,l,d,f]}),t[9]=l,t[10]=d,t[11]=f,t[12]=p):p=t[12],p}function u(e){return(0,a.jsxs)(`article`,{className:`space-y-2 rounded border p-4`,children:[(0,a.jsxs)(`h2`,{className:`font-semibold break-words`,children:[o[e.entity_type]??e.entity_type,` #`,e.after_data.record_id,` ·`,` `,e.action===`created`?`Criado`:`Actualizado`]}),(0,a.jsxs)(`p`,{children:[e.actor??`Utilizador indisponível`,` ·`,` `,new Intl.DateTimeFormat(`pt-MZ`,{dateStyle:`medium`,timeStyle:`short`,timeZone:`Africa/Maputo`}).format(new Date(e.occurred_at)),` `,`(Maputo)`]}),(0,a.jsxs)(`p`,{className:`text-sm break-words`,children:[`Campos:`,` `,e.after_data.changed_fields.map(d).join(`, `)]}),Object.entries(e.after_data.values).filter(t=>{let[n,r]=t;return JSON.stringify(e.before_data.values[n])!==JSON.stringify(r)}).map(t=>{let[n,r]=t;return(0,a.jsxs)(`p`,{className:`text-sm break-words`,children:[s[n]??n,`:`,` `,c(e.before_data.values[n]??`—`),` `,`→ `,c(r)]},n)})]},e.id)}function d(e){return s[e]??e}export{l as default};
|
||||
+1
@@ -0,0 +1 @@
|
||||
import{t as e}from"./jsx-runtime-BpzPEenQ.js";import{t}from"./utils-CCDJ05Ll.js";var n=e();function r({message:e,className:r=``,...i}){return e?(0,n.jsx)(`p`,{...i,className:t(`text-sm text-red-600 dark:text-red-400`,r),children:e}):null}export{r as t};
|
||||
+1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{n as t,t as n}from"./jsx-runtime-BpzPEenQ.js";import{a as r,i,n as a}from"./shared-B56M-NjF.js";import{n as o}from"./profile-json-Bb5H6-rZ.js";var s=e(t(),1),c=n();function l(e){let[t,n]=(0,s.useState)(e),[l,u]=(0,s.useState)(``),[d,f]=(0,s.useState)(!1),[p,m]=(0,s.useState)(``),[h,g]=(0,s.useState)(``),[_,v]=(0,s.useState)(!1),[y,b]=(0,s.useState)(``);async function x(e=!1){v(!0),b(``);try{let r=await o(`/management/profile-install`+(e?`/bootstrap`:``),{hash:t.hash,confirm:d,reason:l,idempotency_key:crypto.randomUUID(),...e?{first_user_id:Number(p),second_user_id:Number(h)}:{}});b(e?`Dupla inicializada. Inicie uma nova sessão como um dos titulares designados; MFA permanece obrigatório.`:r.changed?`Schema instalado. Perfis ainda não disponibilizados; nenhuma conta ou atribuição criada.`:`Schema já instalado. Nenhuma reinstalação ou duplicação.`),e||n(await o(`/management/profile-install`,{},`GET`)),f(!1)}catch(e){b(e instanceof Error?e.message:`Resposta indisponível; consulte o estado antes de repetir.`)}finally{v(!1)}}return(0,c.jsxs)(a,{title:`Instalação dos perfis — 040000`,children:[(0,c.jsxs)(`p`,{children:[`Base `,t.target.database,`:`,t.target.port,` ·`,` `,t.installed?`Schema instalado`:`Schema por instalar`]}),(0,c.jsxs)(`p`,{children:[`Preparação:`,` `,t.ready?`Provas atuais verificadas`:`Dependências ou provas por completar`,`. Preparação não significa instalação ou disponibilização dos perfis.`]}),!t.consistent&&(0,c.jsx)(`p`,{role:`alert`,children:`Ledger e schema divergem. Recuperar a consistência antes de instalar.`}),(0,c.jsx)(`ul`,{children:Object.entries(t.dependencies).map(([e,t])=>(0,c.jsxs)(`li`,{children:[e,`: `,t?`presente`:`pendente`]},e))}),(0,c.jsx)(`ul`,{children:t.changes.map(e=>(0,c.jsx)(`li`,{children:e},e))}),(0,c.jsxs)(`p`,{children:[`Backup/restauro: `,t.backupDate??`Prova atual pendente`]}),(0,c.jsx)(`p`,{children:t.rollback}),(0,c.jsxs)(`label`,{className:`block`,children:[`Fundamento`,(0,c.jsx)(`textarea`,{className:r,value:l,minLength:20,maxLength:1e3,onChange:e=>u(e.target.value)})]}),(0,c.jsxs)(`label`,{className:`block`,children:[(0,c.jsx)(`input`,{type:`checkbox`,checked:d,onChange:e=>f(e.target.checked)}),` `,`Confirmo exclusivamente a ação indicada nesta base`]}),(0,c.jsx)(`button`,{className:i,disabled:_||!d||!t.ready||t.installed||!t.consistent||l.length<20,onClick:()=>void x(),children:`Instalar schema 040000`}),(0,c.jsxs)(`section`,{className:`space-y-3 rounded border p-4`,children:[(0,c.jsx)(`h2`,{children:`Inicialização separada dos dois superutilizadores`}),(0,c.jsx)(`p`,{children:t.bootstrap.rule}),t.bootstrap.initialized?(0,c.jsxs)(`p`,{children:[`Dupla já inicializada:`,` `,t.bootstrap.holders.join(` e `),`; versão`,` `,t.bootstrap.version,`. Use a substituição atómica autorizada; não reinicialize.`]}):(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)(`label`,{className:`block`,children:[`ID da primeira conta explicitamente designada`,(0,c.jsx)(`input`,{className:r,type:`number`,min:1,value:p,onChange:e=>m(e.target.value)})]}),(0,c.jsxs)(`label`,{className:`block`,children:[`ID da segunda conta explicitamente designada`,(0,c.jsx)(`input`,{className:r,type:`number`,min:1,value:h,onChange:e=>g(e.target.value)})]}),(0,c.jsx)(`button`,{className:i,disabled:_||!d||!t.installed||!p||!h||p===h||l.length<20,onClick:()=>void x(!0),children:`Inicializar apenas estas duas contas`})]})]}),(0,c.jsx)(`p`,{role:`status`,children:y})]})}export{l as default};
|
||||
+1
@@ -0,0 +1 @@
|
||||
import{o as e,r as t}from"./dist-BRfsww6z.js";import{t as n}from"./jsx-runtime-BpzPEenQ.js";import{t as r}from"./compiler-runtime-sKsOXjDo.js";import{n as i}from"./shared-B56M-NjF.js";import{Errors as a,labels as o}from"./shared-CmVpbARN.js";var s=r(),c=n();function l(n){let r=(0,s.c)(33),o;r[0]===n.hash?o=r[1]:(o={hash:n.hash},r[0]=n.hash,r[1]=o);let l=e(o),f=n.installed?`Instalada`:`Preparada para aplicação autenticada`,p;r[2]!==n.target.database||r[3]!==n.target.port||r[4]!==f?(p=(0,c.jsxs)(`p`,{children:[`Destino: `,n.target.database,`:`,n.target.port,`. Estado:`,` `,f,`.`]}),r[2]=n.target.database,r[3]=n.target.port,r[4]=f,r[5]=p):p=r[5];let m=n.backupVerified?`Comprovados`:`Pendentes`,h=n.qaVerified?`Comprovada`:`Pendente`,g;r[6]!==n.backupDate||r[7]!==m||r[8]!==h?(g=(0,c.jsxs)(`p`,{children:[`Backup e restauro:`,` `,m,` ·`,` `,n.backupDate,`. QA desta versão:`,` `,h,`.`]}),r[6]=n.backupDate,r[7]=m,r[8]=h,r[9]=g):g=r[9];let _;r[10]===n.changes?_=r[11]:(_=n.changes.map(d),r[10]=n.changes,r[11]=_);let v;r[12]===_?v=r[13]:(v=(0,c.jsx)(`ul`,{className:`list-disc pl-5`,children:_}),r[12]=_,r[13]=v);let y;r[14]===n.records.length?y=r[15]:(y=(0,c.jsxs)(`h2`,{className:`text-xl font-bold`,children:[`Propostas antigas a preservar: `,n.records.length]}),r[14]=n.records.length,r[15]=y);let b;r[16]===n.records?b=r[17]:(b=n.records.map(u),r[16]=n.records,r[17]=b);let x;r[18]!==l||r[19]!==n.backupVerified||r[20]!==n.installed||r[21]!==n.qaVerified?(x=!n.installed&&(0,c.jsxs)(`form`,{onSubmit:e=>{e.preventDefault(),l.post(`/management/partnerships-install`)},children:[(0,c.jsx)(a,{errors:l.errors}),(0,c.jsx)(`button`,{className:`inline-flex rounded bg-emerald-800 px-4 py-2 text-white disabled:opacity-50`,disabled:l.processing||!n.backupVerified||!n.qaVerified,children:`Aplicar módulo preservando propostas`})]}),r[18]=l,r[19]=n.backupVerified,r[20]=n.installed,r[21]=n.qaVerified,r[22]=x):x=r[22];let S;r[23]===n.installed?S=r[24]:(S=n.installed&&(0,c.jsx)(t,{href:`/parcerias/painel`,className:`underline`,children:`Abrir painel da Bolsa`}),r[23]=n.installed,r[24]=S);let C;return r[25]!==x||r[26]!==S||r[27]!==p||r[28]!==g||r[29]!==v||r[30]!==y||r[31]!==b?(C=(0,c.jsx)(i,{title:`Aplicação da Bolsa de Parcerias`,children:(0,c.jsxs)(`div`,{className:`space-y-5`,children:[p,g,v,y,b,x,S]})}),r[25]=x,r[26]=S,r[27]=p,r[28]=g,r[29]=v,r[30]=y,r[31]=b,r[32]=C):C=r[32],C}function u(e){return(0,c.jsxs)(`p`,{children:[e.id,` · `,e.title,` · Autor `,e.user_id,` ·`,` `,o[e.status]??e.status]},e.id)}function d(e){return(0,c.jsx)(`li`,{children:e},e)}export{l as default};
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
+1
File diff suppressed because one or more lines are too long
+2
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{n as t,t as n}from"./jsx-runtime-BpzPEenQ.js";import{t as r}from"./compiler-runtime-sKsOXjDo.js";import{t as i}from"./interactive-investment-map-Djtmo_8_.js";import{t as a}from"./territory-geometry-preview-CByDJVgK.js";var o=r(),s=e(t(),1),c=n();function l(e){let t=(0,o.c)(21),{filters:n,territoryId:r}=e,l;t[0]===n?l=t[1]:(l=JSON.stringify(n),t[0]=n,t[1]=l);let f=l,[p,m]=(0,s.useState)(null),h;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(h=[],t[2]=h):h=t[2];let[g,_]=(0,s.useState)(h),[v,y]=(0,s.useState)(``),b;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(b=[],t[3]=b):b=t[3];let[x,S]=(0,s.useState)(b),C,w;t[4]===f?(C=t[5],w=t[6]):(C=()=>{let e=new AbortController,t=new URLSearchParams(JSON.parse(f));return m(null),S([]),fetch(`/api/v1/investment/map?${t}`,{signal:e.signal,headers:{Accept:`application/json`}}).then(d).then(t=>{e.signal.aborted||(m(t.features),S(t.areas??[]),_(t.unlocated??[]),y(t.truncated?`Cobertura limitada: refine os filtros.`:``))}).catch(t=>{e.signal.aborted||y(t.message)}),()=>e.abort()},w=[f],t[4]=f,t[5]=C,t[6]=w),(0,s.useEffect)(C,w);let T;t[7]===v?T=t[8]:(T=v&&(0,c.jsx)(`p`,{role:`alert`,children:v}),t[7]=v,t[8]=T);let E;t[9]!==x||t[10]!==p?(E=(0,c.jsx)(i,{points:p,areas:x}),t[9]=x,t[10]=p,t[11]=E):E=t[11];let D=r||String(n.locality_id||n.admin_post_id||n.district_id||n.province_id||n.geo_location_id||``),O;t[12]===D?O=t[13]:(O=(0,c.jsx)(a,{territoryId:D}),t[12]=D,t[13]=O);let k;t[14]===g?k=t[15]:(k=g.length>0&&(0,c.jsxs)(`div`,{children:[(0,c.jsxs)(`p`,{children:[g.length,` investimentos sem ponto público utilizável. Consulte as fichas para localizações documentadas sem coordenadas:`]}),(0,c.jsx)(`ul`,{children:g.map(u)})]}),t[14]=g,t[15]=k);let A;return t[16]!==k||t[17]!==T||t[18]!==E||t[19]!==O?(A=(0,c.jsxs)(`section`,{className:`space-y-3`,children:[T,E,O,k]}),t[16]=k,t[17]=T,t[18]=E,t[19]=O,t[20]=A):A=t[20],A}function u(e){return(0,c.jsx)(`li`,{children:(0,c.jsx)(`a`,{href:e.url,className:`underline`,children:e.title})},e.id)}async function d(e){if(!e.ok)throw Error(`Mapa indisponível.`);return e.json()}export{l as t};
|
||||
+1
@@ -0,0 +1 @@
|
||||
var e=[`Ideia identificada`,`Pré-estudo disponível`,`Estudo de viabilidade em curso`,`Projecto estruturado`,`Pronto para investimento`,`Em negociação ou implementação`];export{e as t};
|
||||
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{n as t,o as n,r,u as i}from"./dist-BRfsww6z.js";import{n as a,t as o}from"./jsx-runtime-BpzPEenQ.js";import{t as s}from"./compiler-runtime-sKsOXjDo.js";var c=s(),l=e(a(),1),u=o();function d(e){let a=(0,c.c)(46),{contexts:o,contentSource:s}=e,[d]=(0,l.useState)(p),m=s?.id,h;a[0]!==d||a[1]!==m?(h={title:``,client_key:d,reuse_consent:!1,content_resource_id:m},a[0]=d,a[1]=m,a[2]=h):h=a[2];let g=n(h),_,v;a[3]===Symbol.for(`react.memo_cache_sentinel`)?(_=(0,u.jsx)(t,{title:`Os meus investimentos`}),v=(0,u.jsx)(`h1`,{className:`text-2xl font-semibold`,children:`Os meus investimentos`}),a[3]=_,a[4]=v):(_=a[3],v=a[4]);let y;a[5]===s?y=a[6]:(y=s&&(0,u.jsxs)(`p`,{children:[`Preparar a partir de`,` `,(0,u.jsx)(r,{className:`underline`,href:s.href,children:s.title}),`. A fonte e a versão serão guardadas no dossier escolhido.`]}),a[5]=s,a[6]=y);let b;a[7]===Symbol.for(`react.memo_cache_sentinel`)?(b=(0,u.jsx)(`p`,{children:`Prepare cada investimento no seu dossier. Pode trabalhar em várias etapas em paralelo.`}),a[7]=b):b=a[7];let x;if(a[8]!==s||a[9]!==o){let e;a[11]===s?e=a[12]:(e=e=>(0,u.jsxs)(`li`,{className:`rounded-xl border p-4`,children:[(0,u.jsx)(r,{className:`font-semibold underline`,href:`/investimentos/${e.id}`,children:e.title}),(0,u.jsxs)(`p`,{className:`text-sm`,children:[`Guardado em`,` `,new Date(e.updated_at).toLocaleString(`pt-MZ`)]}),s&&(0,u.jsx)(`button`,{type:`button`,className:`mt-3 rounded border p-2`,onClick:()=>i.post(`/investimentos/${e.id}/conteudos`,{version:e.version,resource_id:s.id}),children:`Continuar neste dossier com o artigo`})]},e.id),a[11]=s,a[12]=e),x=o.map(e),a[8]=s,a[9]=o,a[10]=x}else x=a[10];let S;a[13]===x?S=a[14]:(S=(0,u.jsx)(`ul`,{className:`grid gap-4 md:grid-cols-2`,children:x}),a[13]=x,a[14]=S);let C;a[15]===o.length?C=a[16]:(C=!o.length&&(0,u.jsx)(`p`,{children:`Ainda não criou um investimento neste percurso.`}),a[15]=o.length,a[16]=C);let w;a[17]===g?w=a[18]:(w=e=>{e.preventDefault(),g.post(`/investimentos`)},a[17]=g,a[18]=w);let T;a[19]===Symbol.for(`react.memo_cache_sentinel`)?(T=(0,u.jsx)(`h2`,{className:`text-lg font-semibold`,children:`Preparar um investimento`}),a[19]=T):T=a[19];let E;a[20]===g?E=a[21]:(E=e=>g.setData(`title`,e.target.value),a[20]=g,a[21]=E);let D;a[22]!==g.data.title||a[23]!==E?(D=(0,u.jsxs)(`label`,{className:`grid gap-1`,children:[`Título`,(0,u.jsx)(`input`,{required:!0,maxLength:200,className:`rounded border p-2`,value:g.data.title,onChange:E})]}),a[22]=g.data.title,a[23]=E,a[24]=D):D=a[24];let O;a[25]===g?O=a[26]:(O=e=>g.setData(`reuse_consent`,e.target.checked),a[25]=g,a[26]=O);let k;a[27]!==g.data.reuse_consent||a[28]!==O?(k=(0,u.jsxs)(`label`,{className:`flex gap-2`,children:[(0,u.jsx)(`input`,{type:`checkbox`,checked:g.data.reuse_consent,onChange:O}),`Autorizo reutilizar o meu perfil neste dossier privado.`]}),a[27]=g.data.reuse_consent,a[28]=O,a[29]=k):k=a[29];let A;a[30]===g.errors?A=a[31]:(A=Object.values(g.errors).map(f),a[30]=g.errors,a[31]=A);let j;a[32]===g.processing?j=a[33]:(j=(0,u.jsx)(`button`,{disabled:g.processing,className:`bg-primary text-primary-foreground rounded px-4 py-2`,children:`Criar e guardar dossier`}),a[32]=g.processing,a[33]=j);let M;a[34]!==w||a[35]!==D||a[36]!==k||a[37]!==A||a[38]!==j?(M=(0,u.jsxs)(`form`,{className:`max-w-xl space-y-4 rounded-xl border p-5`,onSubmit:w,children:[T,D,k,A,j]}),a[34]=w,a[35]=D,a[36]=k,a[37]=A,a[38]=j,a[39]=M):M=a[39];let N;a[40]===Symbol.for(`react.memo_cache_sentinel`)?(N=(0,u.jsxs)(`nav`,{className:`flex flex-wrap gap-4`,"aria-label":`Ferramentas`,children:[(0,u.jsx)(r,{className:`underline`,href:`/simulador-fiscal`,children:`Simulador`}),(0,u.jsx)(r,{className:`underline`,href:`/balcao-virtual/painel`,children:`Balcão`}),(0,u.jsx)(r,{className:`underline`,href:`/investidor`,children:`Oportunidades guardadas`}),(0,u.jsx)(r,{className:`underline`,href:`/dashboard`,children:`Painel`})]}),a[40]=N):N=a[40];let P;return a[41]!==M||a[42]!==y||a[43]!==S||a[44]!==C?(P=(0,u.jsxs)(`main`,{className:`mx-auto max-w-5xl space-y-6 p-4 md:p-8`,children:[_,v,y,b,S,C,M,N]}),a[41]=M,a[42]=y,a[43]=S,a[44]=C,a[45]=P):P=a[45],P}function f(e,t){return(0,u.jsx)(`p`,{role:`alert`,children:e},t)}function p(){return globalThis.crypto.randomUUID()}export{d as default};
|
||||
+1
@@ -0,0 +1 @@
|
||||
import{o as e,r as t}from"./dist-BRfsww6z.js";import{t as n}from"./jsx-runtime-BpzPEenQ.js";import{t as r}from"./compiler-runtime-sKsOXjDo.js";import{a as i,i as a,n as o,r as s}from"./shared-B56M-NjF.js";var c=r(),l=n();function u(t){let n=(0,c.c)(29),{investors:r,filters:u}=t,f=u.q??``,p;n[0]===f?p=n[1]:(p={q:f},n[0]=f,n[1]=p);let m=e(p),h;n[2]===m?h=n[3]:(h=e=>{e.preventDefault(),m.get(`/management/crm/investors`,{preserveState:!1})},n[2]=m,n[3]=h);let g;n[4]===m?g=n[5]:(g=e=>m.setData(`q`,e.target.value),n[4]=m,n[5]=g);let _;n[6]!==m.data.q||n[7]!==g?(_=(0,l.jsx)(`input`,{"aria-label":`Pesquisar investidores`,className:i,value:m.data.q,onChange:g}),n[6]=m.data.q,n[7]=g,n[8]=_):_=n[8];let v;n[9]===m.processing?v=n[10]:(v=(0,l.jsx)(`button`,{className:a,disabled:m.processing,children:`Pesquisar`}),n[9]=m.processing,n[10]=v);let y;n[11]!==h||n[12]!==_||n[13]!==v?(y=(0,l.jsxs)(`form`,{className:`flex gap-3`,onSubmit:h,children:[_,v]}),n[11]=h,n[12]=_,n[13]=v,n[14]=y):y=n[14];let b;n[15]===Symbol.for(`react.memo_cache_sentinel`)?(b=(0,l.jsx)(`p`,{children:`Os novos investidores são registados ao converter um pedido em lead, com revisão do contacto e da identidade.`}),n[15]=b):b=n[15];let x;n[16]===r.data?x=n[17]:(x=r.data.map(d),n[16]=r.data,n[17]=x);let S;n[18]===x?S=n[19]:(S=(0,l.jsx)(`div`,{className:`space-y-3`,children:x}),n[18]=x,n[19]=S);let C;n[20]===r.data.length?C=n[21]:(C=!r.data.length&&(0,l.jsx)(`p`,{children:`Nenhum investidor encontrado.`}),n[20]=r.data.length,n[21]=C);let w;n[22]===r?w=n[23]:(w=(0,l.jsx)(s,{page:r}),n[22]=r,n[23]=w);let T;return n[24]!==S||n[25]!==C||n[26]!==w||n[27]!==y?(T=(0,l.jsxs)(o,{title:`CRM — Investidores`,children:[y,b,S,C,w]}),n[24]=S,n[25]=C,n[26]=w,n[27]=y,n[28]=T):T=n[28],T}function d(e){return(0,l.jsxs)(`article`,{className:`rounded border p-4`,children:[(0,l.jsx)(t,{className:`font-semibold underline`,href:`/management/crm/investors/${e.id}`,children:e.legal_name}),(0,l.jsx)(`p`,{children:{prospect:`Potencial investidor`,active:`Activo`,inactive:`Inactivo`}[e.status]??e.status})]},e.id)}export{u as default};
|
||||
+1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{n as t,t as n}from"./jsx-runtime-BpzPEenQ.js";import{t as r}from"./compiler-runtime-sKsOXjDo.js";import{t as i}from"./dist-DDq_DSJX.js";import{t as a}from"./utils-CCDJ05Ll.js";var o=r(),s=e(t(),1),c=n(),l=Object.defineProperty,u=s.forwardRef(((e,t)=>l(e,`name`,{value:t,configurable:!0}))(function(e,t){return(0,c.jsx)(i.label,{...e,ref:t,onMouseDown:t=>{t.target.closest(`button, input, select, textarea`)||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}})},`Label`));function d(e){let t=(0,o.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=a(`text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50`,n),t[3]=n,t[4]=i);let s;return t[5]!==r||t[6]!==i?(s=(0,c.jsx)(u,{"data-slot":`label`,className:i,...r}),t[5]=r,t[6]=i,t[7]=s):s=t[7],s}export{d as t};
|
||||
+1
@@ -0,0 +1 @@
|
||||
var e={assistant:[`Assistente com fontes`,`Evidence assistant`],search:[`Pesquisa documental`,`Document search`],recommend:[`Correspondência de oportunidades`,`Opportunity matching`],classify:[`Triagem de pedidos`,`Interest triage`],quality:[`Qualidade dos dados`,`Data quality`],sla:[`Prazos e tarefas`,`Deadlines and tasks`],summary:[`Excertos de documentos`,`Document excerpts`]},t={classify:`interest_triage`,quality:`data_quality`,sla:`execution_monitoring`},n={pending:`Pendente`,approved:`Autorizada para consulta interna`,revoked:`Revogada`,accepted:`Aceite na revisão interna`,rejected:`Rejeitado`,official:`Oficial — natureza declarada da fonte`,historical:`Histórica`,illustrative:`Ilustrativa`};export{t as n,n as r,e as t};
|
||||
BIN
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
BIN
Binary file not shown.
|
After Width: | Height: | Size: 696 B |
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+11
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
import{t as e}from"./createLucideIcon-oMeAlXbs.js";var t=e(`LoaderCircle`,[[`path`,{d:`M21 12a9 9 0 1 1-6.219-8.56`,key:`13zald`}]]);export{t};
|
||||
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
import{r as e}from"./dist-BRfsww6z.js";import{t}from"./jsx-runtime-BpzPEenQ.js";import{t as n}from"./compiler-runtime-sKsOXjDo.js";var r=n(),i=t(),a={draft:`Rascunho`,support_requested:`Apoio solicitado`,internal_review:`Análise interna`,waiting_applicant:`A aguardar requerente`,referral_prepared:`Encaminhamento preparado (não enviado)`,closed:`Encerrado`};function o(t){let n=(0,r.c)(19),{cases:a}=t,o;n[0]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,i.jsxs)(`header`,{children:[(0,i.jsx)(`h1`,{className:`text-3xl font-bold`,children:`Gestão — Terra e DUAT`}),(0,i.jsx)(`p`,{children:`Fila interna. Não representa protocolo com autoridade pública.`})]}),n[0]=o):o=n[0];let c;n[1]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,i.jsx)(`thead`,{children:(0,i.jsxs)(`tr`,{children:[(0,i.jsx)(`th`,{className:`border p-2`,children:`Referência interna`}),(0,i.jsx)(`th`,{className:`border p-2`,children:`Requerente`}),(0,i.jsx)(`th`,{className:`border p-2`,children:`Estado InvestMoz`}),(0,i.jsx)(`th`,{className:`border p-2`,children:`Versão/actualização`}),(0,i.jsx)(`th`,{className:`border p-2`,children:`Acção`})]})}),n[1]=c):c=n[1];let l;n[2]===a.data?l=n[3]:(l=a.data.map(s),n[2]=a.data,n[3]=l);let u;n[4]===l?u=n[5]:(u=(0,i.jsx)(`div`,{className:`overflow-x-auto`,children:(0,i.jsxs)(`table`,{className:`w-full border-collapse text-left`,children:[c,(0,i.jsx)(`tbody`,{children:l})]})}),n[4]=l,n[5]=u);let d;n[6]===a.data.length?d=n[7]:(d=!a.data.length&&(0,i.jsx)(`p`,{children:`Sem pedidos registados.`}),n[6]=a.data.length,n[7]=d);let f;n[8]===a.prev_page_url?f=n[9]:(f=a.prev_page_url&&(0,i.jsx)(e,{href:a.prev_page_url,children:`Anterior`}),n[8]=a.prev_page_url,n[9]=f);let p;n[10]===a.next_page_url?p=n[11]:(p=a.next_page_url&&(0,i.jsx)(e,{href:a.next_page_url,children:`Seguinte`}),n[10]=a.next_page_url,n[11]=p);let m;n[12]!==f||n[13]!==p?(m=(0,i.jsxs)(`nav`,{className:`flex gap-4`,children:[f,p]}),n[12]=f,n[13]=p,n[14]=m):m=n[14];let h;return n[15]!==u||n[16]!==d||n[17]!==m?(h=(0,i.jsxs)(`main`,{className:`mx-auto max-w-6xl space-y-6 p-6`,children:[o,u,d,m]}),n[15]=u,n[16]=d,n[17]=m,n[18]=h):h=n[18],h}function s(t){return(0,i.jsxs)(`tr`,{children:[(0,i.jsx)(`td`,{className:`border p-2`,children:t.reference}),(0,i.jsx)(`td`,{className:`border p-2`,children:t.applicant??`—`}),(0,i.jsx)(`td`,{className:`border p-2`,children:a[t.status]??t.status}),(0,i.jsxs)(`td`,{className:`border p-2`,children:[t.version,` ·`,` `,new Date(t.updated_at).toLocaleString(`pt-MZ`)]}),(0,i.jsx)(`td`,{className:`border p-2`,children:(0,i.jsx)(e,{className:`underline`,href:`/management/terra-duat/${t.id}`,children:`Abrir`})})]},t.id)}export{o as default};
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user