<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class UserSeeder extends Seeder
{
    /**
     * Seed the users table with data from SQL dump
     */
    public function run(): void
    {
        DB::statement('SET FOREIGN_KEY_CHECKS=0');

        // Execute each INSERT statement separately
        $statements = [
            base64_decode('SU5TRVJUIElOVE8gYHVzZXJzYCAoYGlkYCwgYG5hbWVgLCBgZW1haWxgLCBgZW1haWxfdmVyaWZpZWRfYXRgLCBgcGFzc3dvcmRgLCBgcm9sZWAsIGByZW1lbWJlcl90b2tlbmAsIGBjcmVhdGVkX2F0YCwgYHVwZGF0ZWRfYXRgLCBgbm9faHBgLCBgaW5zdGFuc2lgLCBgc3RhdHVzYCwgYG5vX2t0cGAsIGBhbGFzYW5gKSBWQUxVRVMKKDEsICdXYScsICd3YXJkaGF0dWxqYW5uYWhmaXF5YW5pQGdtYWlsLmNvbScsIE5VTEwsICckMnkkMTIkMVhNanV5d0lNcGF3YS4vNmhTNXIzLlFweGhrT0ZuRGd2MnhTRHlYbTBkUWIvdzFtRTFuUEcnLCAnYWRtaW4nLCAnMTZKTlBCQ2U5VG5NUXlBY21sUW50cGg1cWF4RXVYNUF5QVkycTRIYUpQS1ZpUmJqcWd2dHFtbUhRUDNCJywgJzIwMjUtMTAtMjMgMDA6Mjg6MjAnLCAnMjAyNi0wMy0yOSAxODo0NDowNicsIE5VTEwsIE5VTEwsIE5VTEwsIE5VTEwsIE5VTEwpLAooMiwgJ1dhd2EnLCAnd2F3YTEyMzQ1QGdtYWlsLmNvbScsIE5VTEwsICckMnkkMTIkekFNTzNjMXV1V2ozblMxZC9aUEVQdVlnT25PRi4xcEpxdGxvRnd3NHhvZjZqdUZ1QmlVMHUnLCAndXNlcicsIE5VTEwsICcyMDI1LTEwLTIzIDIzOjQ2OjM2JywgJzIwMjUtMTAtMjMgMjM6NDY6MzYnLCBOVUxMLCBOVUxMLCBOVUxMLCBOVUxMLCBOVUxMKSwKKDMsICdhcmEnLCAnYXJhQ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jAzOjIxJywgJzIwMjYtMDEtMjUgMDg6MDM6MjEnLCAnMDg5NzY1NTY3ODkwJywgJ1BvbGl0ZWtuaWsgTmVnZXJpIEplbWJlcicsICdNYWhhc2lzd2EnLCAnMzUwOTExNTcwNjA1MDAwMScsICdNZW1iYWNhICYgTWVtaW5qYW0nKSwKKDcsICdBZG1pbmlzdHJhdG9yJywgJ2FkbWluQGdtYWlsLmNvbScsIE5VTEwsICckMnkkMTIkV1p6My5UQUM1OE9oaTNkY0NJT0hkLi5HNkJPRi9yMUtrUHRma1BMa1FSZzl0cEtjdnA0WUsnLCAndXNlcicsIE5VTEwsICcyMDI2LTA0LTA3IDA3OjA5OjU0JywgJzIwMjYtMDQtMDcgMDc6MDk6NTQnLCBOVUxMLCBOVUxMLCBOVUxMLCBOVUxMLCBOVUxMKSwKKDgsICdGYXRjaHVyIFJvY2htYW4nLCAnZmF0Y2h1cjQ1QGdtYWlsLmNvbScsIE5VTEwsICckMnkkMTIkSDVocldWZC5LVUxuelV0d1dyL2RJdW5CWFhzdERLbzRMY29rRmpOQ0lkY3cvVk9ObnFTOTYnLCAnYWRtaW4nLCBOVUxMLCAnMjAyNi0wNC0xMyAxODo1MTozMCcsICcyMDI2LTA0LTEzIDE4OjUxOjMwJywgTlVMTCwgTlVMTCwgTlVMTCwgTlVMTCwgTlVMTCk7'),
        ];

        foreach ($statements as $sql) {
            DB::statement($sql);
        }

        DB::statement('SET FOREIGN_KEY_CHECKS=1');
    }
}
