<x-layouts.app title="Channels">
    @php
        $channelsData = [
            'channelsEndpoint' => url('/api/channels'),
            'connectWhatsAppEndpoint' => url('/api/channels/connect/whatsapp'),
            'connectInstagramEndpoint' => url('/api/channels/connect/instagram'),
            'webhookEventBase' => url('/api/webhook-events'),
            'help' => [
                'whatsapp' => [
                    'Meta Business Manager account',
                    'Verified WhatsApp business number',
                    'WhatsApp account ID and Business ID if available',
                ],
                'instagram' => [
                    'Instagram professional/business account',
                    'Connected Facebook page or Meta business setup',
                    'Instagram account ID and handle if available',
                ],
            ],
            'csrfToken' => csrf_token(),
        ];
    @endphp

    <div id="channels-settings-app" data-channels-settings='@json($channelsData)'></div>
</x-layouts.app>
