<?php
//Obfuscated by YAK Pro - Php Obfuscator 2.0.13 at 2025-05-27 11:05:35
 namespace App\Http\Resources\Admin; use Illuminate\Http\Resources\Json\JsonResource; class ProductResource extends JsonResource { public function toArray($request) { return ["\151\x64" => $this->id, "\143\x61\164\x65\147\x6f\162\171\x5f\151\x64" => $this->category_id, "\155\141\156\x75\146\x61\x63\164\165\x72\145\x72\137\151\144" => $this->manufacturer_id, "\x63\x61\164\145\x67\157\x72\x79" => $this->category, "\x73\x6b\x75" => $this->sku, "\x6e\x61\155\x65" => $this->name, "\163\154\165\x67" => $this->slug, "\x69\155\141\147\x65" => $this->image, "\x64\x65\x73\x63\162\x69\x70\164\x69\x6f\156" => $this->description, "\x70\x72\151\143\145\137\146\162\157\x6d" => $this->price_from, "\x70\x72\151\x63\x65\x5f\x74\x6f" => $this->price_to, "\144\x69\x73\143\157\x75\156\x74" => $this->discount, "\x64\x69\x73\x63\157\x75\x6e\x74\x5f\163\164\141\x72\x74\x5f\164\151\x6d\145" => $this->discount_start_time, "\144\x69\x73\143\157\x75\x6e\x74\137\x65\156\x64\x5f\x74\x69\155\145" => $this->discount_end_time, "\x72\145\x67\x75\154\141\x72\137\160\x72\x69\x63\x65\137\x66\162\x6f\x6d" => $this->regular_price_from, "\162\145\147\165\154\141\x72\x5f\160\162\151\x63\x65\137\x74\x6f" => $this->regular_price_to, "\x64\145\x66\141\x75\154\164\137\160\x72\151\143\145" => $this->default_price, "\163\164\x61\x6e\144\x61\162\144\x5f\143\157\156\163\164\x72\165\x63\x74\x69\x6f\156\x5f\x66\x65\x65" => $this->standard_construction_fee, "\x73\150\x69\x70\160\x69\x6e\147\137\x63\x6f\x73\164" => $this->shipping_cost, "\156\x6f\164\x65" => $this->note, "\x70\157\x6c\151\x63\171" => $this->policy, "\x70\157\x73\x73\151\142\x6c\145\137\144\x65\154\x69\x76\x65\x72\171\x5f\x74\x69\155\x65" => $this->possible_delivery_time, "\167\x69\x73\150\x5f\154\x69\163\x74" => $this->wish_list, "\166\151\145\167" => $this->view, "\151\x73\137\x61\166\x61\151\x6c\x61\x62\154\145\x5f\151\156\137\163\164\x6f\x63\x6b" => $this->is_available_in_stock, "\157\x70\164\x69\157\x6e\163" => $this->options, "\x64\145\164\141\x69\x6c\163" => $this->details, "\x70\x72\151\143\151\x6e\147\x5f\162\165\154\145\163" => $this->pricing_rules, "\153\145\171\x77\157\x72\144\x5f\144\145\164\x61\x69\154" => $this->keyword_detail, "\x70\x75\x72\x63\x68\141\x73\x65\163" => $this->purchases, "\151\155\141\147\x65\x73" => $this->images, "\164\x6f\164\141\154\x49\164\x65\x6d" => $this->totalItem, "\x69\x73\137\160\x72\x69\143\x69\156\147\137\155\141\156\x75\x61\x6c" => $this->is_pricing_manual, "\x69\163\x5f\141\x63\x74\151\166\x61\x74\x65\144" => $this->is_activated, "\x69\163\x5f\x64\x65\154\x65\x74\145\x64" => $this->is_deleted, "\x63\x72\x65\x61\164\x65\x64\x5f\x61\x74" => isset($this->created_at) ? date("\131\x2d\155\55\x64\x20\x48\72\151\x3a\x73", strtotime($this->created_at)) : null, "\165\160\144\x61\164\x65\144\x5f\141\164" => isset($this->updated_at) ? date("\x59\55\155\55\x64\40\x48\x3a\151\72\x73", strtotime($this->updated_at)) : null]; } }