<?php
//Obfuscated by YAK Pro - Php Obfuscator 2.0.13 at 2025-05-27 11:02:05
 namespace App\Http\Controllers; use Illuminate\Support\Facades\Cache; use App\Seo; use Illuminate\Http\Request; use Illuminate\Support\Arr; class SeoController extends Controller { public function index(Request $request) { goto hl1Ja; i7WJF: $oam22 = $oam22 . "\174\x7c"; $oam22 = str_replace("\57\x2f", "\x2f", "\57" . $oam22); $oam22 = str_replace("\x2f\77", "\x3f", $oam22); goto lgc1p; s40Zq: $ctqBN = str_replace("\x5f\137", "\137", trim($ctqBN)); $ctqBN = strip_tags($ctqBN); $kC9u5 = Cache::remember($ctqBN, 7 * 24 * 60 * 60, function () use($oam22) { goto dQlN8; hdPIB: $cKsfm = ["\164\151\164\x6c\x65" => config("\163\145\x74\x74\x69\x6e\x67\163\56\163\x69\164\x65\x5f\156\141\x6d\x65"), "\153\145\171\x77\x6f\162\144\163" => '', "\x64\x65\163\143\162\x69\160\164\x69\x6f\156" => '', "\x69\155\141\147\145" => url("\146\141\x76\x69\x63\x6f\156\55\61\x36\x78\61\x36\56\x70\x6e\x67")]; if (!(isset($rEyDV) && $rEyDV->title != null)) { goto QnQO8; } $cKsfm["\x74\151\164\x6c\x65"] = $rEyDV->title != null ? $rEyDV->title : ''; goto xVCZi; ySlyA: PloL0: $k39Yl = str_replace("\57\x63\157\154\165\x6d\x6e\x2f\x64\145\164\141\x69\154\x2f", '', $oam22); $k39Yl = explode("\x2f", $k39Yl); goto aQ2jm; vmyww: $k39Yl = str_replace("\x2f\142\142\163\57\x64\145\x74\x61\x69\154\57", '', $oam22); $k39Yl = explode("\x2f", $k39Yl); $Eb494 = $k39Yl[0]; goto NelhB; dQlN8: $rEyDV = Seo::select("\164\x69\x74\x6c\145", "\x6b\145\171\x77\x6f\162\144\x73", "\x64\x65\x73\143\x72\x69\160\x74\151\157\x6e", "\x69\x6d\141\147\145")->where("\165\162\x69", $oam22)->first(); if (!$rEyDV && strpos($oam22, "\x2f\143\x6f\154\165\155\x6e\x2f\144\x65\x74\x61\x69\x6c\x2f") !== false) { goto PloL0; } if (!(!$rEyDV && strpos($oam22, "\x2f\142\142\163\57\144\145\x74\141\151\154\57") !== false)) { goto RMCr5; } goto vmyww; aQ2jm: $Eb494 = $k39Yl[0]; $rEyDV = Seo::select("\164\151\x74\x6c\x65", "\x6b\x65\x79\x77\x6f\162\x64\163", "\144\145\x73\x63\x72\151\160\x74\151\157\156", "\151\x6d\x61\x67\145")->where("\x75\162\x69", "\154\151\153\x65", "\57\x63\x6f\154\165\x6d\156\57\144\145\164\141\151\154\57" . $Eb494 . "\x2f\45")->first(); QJxeq: goto hdPIB; xVCZi: $cKsfm["\x6b\145\x79\167\x6f\x72\x64\163"] = $rEyDV->keywords != null ? $rEyDV->keywords : ''; $cKsfm["\144\x65\163\143\162\x69\x70\x74\151\157\156"] = $rEyDV->description != null ? $rEyDV->description : ''; $vDgkM = $rEyDV->image != '' && $rEyDV->image != null ? $rEyDV->image : "\146\141\x76\x69\143\x6f\x6e\x2d\x31\66\170\61\x36\x2e\160\x6e\x67"; goto ooJlS; ooJlS: $cKsfm["\151\x6d\141\x67\145"] = url("\146\x69\x6c\x65\x73\57" . $vDgkM); QnQO8: return ["\x69\164\x65\x6d\x73" => $cKsfm, "\154\141\163\164\115\x6f\x64\151\x66\x79" => gmdate("\104\x2c\x20\x64\x20\x4d\40\x59\x20\x48\72\x69\x3a\x73") . "\x20\x47\x4d\x54"]; goto Z6YTD; NelhB: $rEyDV = Seo::select("\164\x69\x74\154\x65", "\x6b\x65\x79\x77\x6f\162\144\163", "\x64\x65\x73\x63\x72\x69\x70\164\x69\157\156", "\151\x6d\x61\x67\x65")->where("\x75\162\151", "\154\151\x6b\x65", "\57\142\x62\x73\57\144\x65\164\x61\x69\154\57" . $Eb494 . "\x2f\x25")->first(); RMCr5: goto QJxeq; goto ySlyA; Z6YTD: }); goto P3iS9; lgc1p: $oam22 = str_replace("\x3f\x26", "\x3f", $oam22); $oam22 = str_replace("\x26\46", "\x26", $oam22); $oam22 = str_replace("\x2f\x7c\x7c", '', $oam22); goto pzTbo; DrWXe: $oam22 = "\x2f"; wgQSc: $ctqBN = "\163\x65\157\137\x69\x6e\x64\x65\170\x5f" . str_replace("\x2f", "\x5f", $oam22); goto s40Zq; hl1Ja: $params = $request->all(); $oam22 = Arr::get($params, "\x75\162\151", "\x2f"); $oam22 = urldecode($oam22); goto i7WJF; pzTbo: $oam22 = str_replace("\174\174", '', $oam22); $oam22 = preg_replace("\x2f\x28\x3f\72\x26\174\50\x5c\77\x29\51\x70\141\147\145\x3d\x5b\136\x26\135\52\x28\77\x28\61\51\46\x7c\51\x3f\x2f\151", "\x24\x31", $oam22); if (!($oam22 == null || $oam22 == '')) { goto wgQSc; } goto DrWXe; P3iS9: return response()->json(["\x64\141\164\141" => $kC9u5["\151\164\x65\x6d\163"]], 200)->header("\x4c\141\x73\x74\55\115\157\x64\x69\x66\151\145\144", $kC9u5["\154\x61\163\164\115\x6f\144\151\x66\171"]); goto gux7s; gux7s: } }