<?php
//Obfuscated by YAK Pro - Php Obfuscator 2.0.13 at 2025-06-18 09:19:16
 namespace App\Exports; use App\TransitionPoint; use Maatwebsite\Excel\Concerns\FromCollection; use Maatwebsite\Excel\Concerns\WithHeadings; use Maatwebsite\Excel\Concerns\WithMapping; use Maatwebsite\Excel\Concerns\ShouldAutoSize; use Maatwebsite\Excel\Concerns\WithTitle; use Maatwebsite\Excel\Concerns\WithStyles; use PhpOffice\PhpSpreadsheet\Worksheet\Worksheet; use Maatwebsite\Excel\Concerns\WithEvents; use Maatwebsite\Excel\Events\AfterSheet; use PhpOffice\PhpSpreadsheet\Style\Alignment; use PhpOffice\PhpSpreadsheet\Style\Border; class TransitionsExport implements FromCollection, WithHeadings, WithMapping, ShouldAutoSize, WithTitle, WithStyles, WithEvents { public function title() : string { return "\x54\x72\x61\x6e\x73\151\164\x69\157\156\x73"; } public function collection() { return TransitionPoint::with(["\x65\155\x70\154\x6f\171\145\x65"])->get(); } public function headings() : array { return ["\xe7\xa4\276\345\x93\241\xe7\x95\252\345\x8f\267", "\345\213\xa4\347\xb6\x9a\xe5\271\264\xe6\225\xb0\xe7\xa7\273\xe8\xa1\214\xe3\203\235\343\202\xa4\xe3\203\xb3\xe3\x83\210", "\350\263\x87\xe6\xa0\274\347\xa7\273\350\xa1\214\xe3\x83\235\343\x82\244\xe3\x83\xb3\xe3\203\210", "\345\275\271\xe8\x81\xb7\347\247\xbb\350\xa1\214\xe3\x83\x9d\343\x82\244\xe3\203\xb3\343\203\210"]; } public function map($uRoPf) : array { return [$uRoPf->employee ? $uRoPf->employee->employee_code : "\116\x2f\101", $uRoPf->tenure_points, $uRoPf->level_points, $uRoPf->position_points]; } public function styles(Worksheet $L3bfb) { return [1 => ["\x61\154\x69\x67\156\x6d\145\x6e\164" => ["\x68\157\x72\x69\x7a\157\156\164\141\x6c" => Alignment::HORIZONTAL_CENTER, "\x76\145\x72\164\x69\x63\x61\x6c" => Alignment::VERTICAL_CENTER]], "\101\x31\72\104" . $L3bfb->getHighestRow() => ["\x62\157\x72\144\x65\x72\163" => ["\x61\x6c\154\102\x6f\x72\x64\145\162\x73" => ["\x62\157\x72\x64\145\162\x53\x74\171\x6c\x65" => Border::BORDER_THIN]]], "\x41\x32\72\x41" . $L3bfb->getHighestRow() => ["\141\x6c\x69\147\x6e\155\x65\156\x74" => ["\x68\x6f\x72\151\x7a\x6f\x6e\x74\x61\154" => Alignment::HORIZONTAL_LEFT, "\166\145\162\x74\151\143\x61\154" => Alignment::VERTICAL_CENTER]]]; } public function registerEvents() : array { return [AfterSheet::class => function (AfterSheet $TGU0S) { $TGU0S->sheet->freezePane("\x41\x32"); }]; } }