<?php
//Obfuscated by YAK Pro - Php Obfuscator 2.0.13 at 2025-05-27 11:05:33
 namespace App\Http\Resources\Admin; use Illuminate\Http\Resources\Json\JsonResource; class MediaResource extends JsonResource { public function toArray($request) { return ["\x69\x64" => $this->id, "\156\x61\155\145" => $this->name, "\x73\154\x75\147" => $this->slug, "\146\x69\154\x65" => $this->file, "\146\x69\x6c\x65\x5f\164\171\x70\145" => $this->file_type, "\x65\170\x74\145\156\163\x69\x6f\x6e" => $this->extension, "\163\x69\172\145" => $this->size, "\x77\x69\144\164\150" => $this->width, "\x68\x65\151\147\x68\x74" => $this->height, "\151\155\x70\157\162\164\141\156\x74" => $this->important, "\x61\154\x74" => $this->alt, "\x64\x65\x73\143\162\151\x70\164\151\157\x6e" => $this->description, "\x74\171\x70\145" => $this->type, "\x70\x61\x72\145\x6e\164\x5f\151\x64" => $this->parent_id, "\x70\x61\162\x65\x6e\x74" => isset($this->parent) ? $this->parent : [], "\x69\x73\137\x64\x65\154\145\x74\145\144" => $this->is_deleted, "\143\x72\145\x61\x74\x65\144\x5f\x61\164" => isset($this->created_at) ? date("\x59\55\x6d\x2d\144\40\110\x3a\151\x3a\x73", strtotime($this->created_at)) : null, "\x75\160\x64\141\x74\x65\x64\x5f\x61\x74" => isset($this->updated_at) ? date("\131\55\155\x2d\x64\x20\110\x3a\x69\72\x73", strtotime($this->updated_at)) : null]; } }