<?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 ProductResourceDetail extends JsonResource { public function toArray($request) { return ["\151\144" => $this->id, "\143\x61\x74\x65\147\x6f\162\x79\137\151\x64" => $this->category_id, "\x6d\x61\156\x75\x66\x61\143\x74\x75\162\145\162\x5f\x69\144" => $this->manufacturer_id, "\164\171\160\145" => $this->type, "\x63\141\164\145\x67\157\x72\x79" => $this->category, "\x73\153\x75" => $this->sku, "\156\141\155\x65" => $this->name, "\163\154\x75\x67" => $this->slug, "\x69\x6d\x61\x67\x65" => $this->image, "\144\x65\163\143\162\151\x70\164\x69\x6f\x6e" => $this->description, "\160\162\x69\143\x65\137\x66\162\157\x6d" => $this->price_from, "\160\162\151\143\145\x5f\164\157" => $this->price_to, "\144\x69\x73\x63\157\165\156\x74" => $this->discount, "\144\x69\163\143\x6f\x75\156\x74\137\143\157\162\x65" => $this->discount_core, "\x64\151\163\143\157\165\156\x74\137\x73\164\x61\x72\164\x5f\164\x69\155\x65" => $this->discount_start_time, "\144\151\x73\143\157\x75\x6e\x74\x5f\x65\x6e\x64\x5f\x74\151\155\145" => $this->discount_end_time, "\162\x65\x67\x75\154\141\162\x5f\160\162\x69\x63\x65\x5f\146\162\157\x6d" => $this->regular_price_from, "\162\x65\x67\165\x6c\x61\162\137\x70\x72\151\x63\x65\137\x74\157" => $this->regular_price_to, "\144\145\x66\141\165\154\164\x5f\x70\x72\151\143\x65" => $this->default_price, "\163\164\141\x6e\x64\141\x72\144\137\143\157\156\163\164\162\x75\143\164\151\157\x6e\x5f\x66\x65\x65" => $this->standard_construction_fee, "\143\157\156\163\x74\162\x75\143\x74\151\x6f\156\137\164\171\160\145" => $this->construction_type, "\x63\157\x6e\163\x74\162\x75\x63\164\x69\x6f\x6e" => $this->construction, "\x73\x68\x69\x70\160\x69\156\147\137\143\x6f\163\164" => $this->shipping_cost, "\156\x6f\164\145" => $this->note, "\160\x6f\154\x69\x63\171" => $this->policy, "\x70\157\x73\163\x69\142\x6c\145\137\x64\x65\x6c\151\x76\x65\x72\x79\x5f\164\x69\155\x65" => $this->possible_delivery_time, "\143\x6f\x6e\163\164\162\165\143\164\x69\157\x6e\x5f\x61\162\145\x61\x73\137\x6e\157\164\145" => $this->construction_areas_note, "\143\x6f\x6e\163\164\162\x75\143\164\151\157\x6e\137\163\x68\x69\x70\x70\151\x6e\147\x5f\x64\141\x74\145" => $this->construction_shipping_date, "\x63\x6f\x6e\x73\164\162\165\x63\x74\x69\157\x6e\x5f\x73\x68\x69\160\160\x69\156\147\x5f\164\151\155\x65" => $this->construction_shipping_time, "\143\x6f\x6e\163\164\162\165\x63\164\151\157\x6e\x5f\156\157\x74\x65\x73" => $this->construction_notes, "\x73\165\x70\x70\x6f\x72\x74\x65\x64\x5f\141\x72\145\141\x73\137\156\x6f\164\145" => $this->supported_areas_note, "\163\x75\x70\x70\x6f\162\x74\x65\144\x5f\x6e\157\164\x65\163" => $this->supported_notes, "\x63\157\156\163\x74\162\165\x63\164\x69\x6f\156\x5f\x61\x72\x65\141\x73" => array_map(function ($RX4eW) { return $RX4eW["\143\x69\x74\171"]; }, $this->construction_areas->toArray()), "\x73\165\160\160\x6f\x72\164\145\144\x5f\x61\162\x65\x61\x73" => array_map(function ($RX4eW) { return $RX4eW["\143\x69\164\171"]; }, $this->supported_areas->toArray()), "\x77\x69\x73\x68\137\x6c\x69\x73\164" => $this->wish_list, "\x76\x69\x65\167" => $this->view, "\162\141\156\x6b" => $this->rank, "\x69\x73\x5f\x61\166\141\x69\154\x61\x62\154\145\137\151\x6e\x5f\163\164\x6f\x63\x6b" => $this->is_available_in_stock, "\x6b\x65\171\x77\157\162\x64\137\x64\145\x74\x61\151\x6c" => $this->keyword_detail, "\x70\165\162\143\150\141\163\x65\163" => $this->purchases, "\x72\x65\154\141\x74\x65\x64" => $this->related, "\x69\155\x61\x67\145\163" => $this->images, "\x74\x6f\164\x61\154\111\x74\x65\155" => $this->totalItem, "\x69\x73\x5f\160\x72\151\143\x69\x6e\147\137\155\x61\156\165\x61\154" => $this->is_pricing_manual, "\151\163\x5f\x61\x63\164\x69\x76\x61\x74\145\144" => $this->is_activated, "\x69\163\x5f\x64\145\x6c\145\x74\145\x64" => $this->is_deleted, "\143\x72\x65\141\x74\145\x64\x5f\141\x74" => isset($this->created_at) ? date("\x59\x2d\x6d\55\x64\x20\x48\x3a\x69\x3a\x73", strtotime($this->created_at)) : null, "\x75\160\144\141\x74\x65\144\137\141\164" => isset($this->updated_at) ? date("\131\x2d\155\x2d\144\x20\110\x3a\151\72\x73", strtotime($this->updated_at)) : null]; } }