<?php
//Obfuscated by YAK Pro - Php Obfuscator 2.0.13 at 2025-05-27 11:24:34
 namespace App\Mail; use App\Contact; use App\EmailTemplate; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Mail\Mailable; use Illuminate\Queue\SerializesModels; class ContactUser extends Mailable implements ShouldQueue { use Queueable, SerializesModels; private $_title; private $_content; private $_attachments; public function __construct(Contact $MDFth) { goto c5Lox; lXtQX: $srymF = EmailTemplate::where("\151\163\x5f\x64\x65\x6c\x65\x74\x65\144", false)->where("\x69\163\137\x61\x63\164\151\166\x61\x74\x65\x64", true)->where("\151\x64", $ADB9T)->first(); $dfErk = ["\156\141\x6d\145", "\x66\x69\x72\163\164\x5f\x6e\x61\x6d\145", "\154\141\x73\x74\x5f\x6e\x61\155\145", "\145\155\x61\x69\x6c", "\160\x68\157\156\145\137\x6e\165\155\x62\x65\x72", "\143\x6f\x6e\164\145\x6e\164", "\x63\x72\x65\x61\164\x65\144\x5f\141\x74"]; if (!($srymF && $srymF->id != null && $srymF->title != '' && $srymF->content != '')) { goto z2b88; } goto niYYe; gE1Jk: $this->_content = ''; $this->_attachments = []; $ADB9T = config("\163\x65\164\164\x69\x6e\147\163\x2e\165\x5f\x63\x6f\x6e\164\141\143\x74"); goto lXtQX; c5Lox: $this->onConnection(config("\161\165\145\165\x65\56\x64\x65\146\x61\x75\154\x74")); $this->onQueue(config("\161\165\x65\x75\x65\56\x63\157\156\x6e\x65\143\x74\151\157\156\x73\x2e\x72\145\144\x69\x73\x2e\x71\x75\x65\165\x65")); $this->_title = ''; goto gE1Jk; oLUgs: QlvLi: z2b88: goto Hi1ia; Mceg8: if (!($srymF->attachments != null)) { goto QlvLi; } foreach ($srymF->attachments as $hYlGh) { $LcDHH = public_path("\x75\x70\x6c\157\x61\x64\x73\x2f\x66\151\x6c\145\x73\57" . $hYlGh->file_name); if (file_exists($LcDHH)) { goto rq41I; } goto CGNs1; rq41I: $this->_attachments[] = ["\156\x61\155\x65" => $hYlGh->title, "\x66\x69\154\x65" => $LcDHH, "\155\151\155\x65" => $hYlGh->file_type]; CGNs1: } Z5EzO: goto oLUgs; GBQ3k: $this->_content = str_replace("\x7b\173\40\163\151\164\145\137\165\162\154\x20\x7d\175", config("\141\x70\x70\56\165\x72\x6c"), $this->_content); foreach ($dfErk as $O1p2V) { if (!($MDFth->{$O1p2V} != '')) { goto wvz52; } $this->_title = str_replace("\173\173\40" . $O1p2V . "\x20\x7d\175", $MDFth->{$O1p2V}, $this->_title); $this->_content = str_replace("\x7b\x7b\x20" . $O1p2V . "\x20\x7d\175", $MDFth->{$O1p2V}, $this->_content); wvz52: TpwS1: } c7JzO: goto Mceg8; niYYe: $this->_title = str_replace("\x7b\x7b\x20\163\151\x74\145\x5f\156\141\155\145\40\175\175", config("\x73\x65\x74\164\151\x6e\x67\x73\x2e\x73\x69\x74\145\x5f\156\141\155\145"), $srymF->title); $this->_title = str_replace("\x7b\x7b\x20\x73\x69\164\145\x5f\x75\162\154\40\x7d\175", config("\141\160\x70\56\165\x72\x6c"), $this->_title); $this->_content = str_replace("\173\173\40\x73\151\164\x65\137\156\x61\155\145\x20\175\x7d", config("\x73\x65\x74\164\151\x6e\x67\163\56\163\x69\164\145\x5f\x6e\141\155\x65"), $srymF->content); goto GBQ3k; Hi1ia: } public function build() { goto EZ7bG; lEtMR: rmV0B: XqQra: return $this; goto enfO1; d1R7D: $this->from(config("\x6d\141\151\154\56\x66\162\x6f\x6d\56\141\144\x64\x72\145\163\163"), config("\x6d\141\x69\154\x2e\x66\162\x6f\155\x2e\156\141\x6d\145"))->replyTo(config("\155\x61\x69\154\56\x66\162\157\155\x2e\141\144\144\x72\145\x73\163"), config("\x6d\141\151\x6c\56\x66\x72\157\155\56\156\x61\x6d\x65"))->subject($this->_title)->view("\145\x6d\x61\x69\x6c\163\x2e\x73\171\x73\164\145\x6d")->with(["\143\x6f\x6e\164\145\x6e\x74" => $this->_content]); if (!($this->_attachments != null)) { goto XqQra; } foreach ($this->_attachments as $hYlGh) { $this->attach($hYlGh["\146\x69\154\145"], ["\141\163" => $hYlGh["\x6e\141\x6d\x65"], "\x6d\x69\155\145" => $hYlGh["\x6d\x69\155\145"]]); vrZIE: } goto lEtMR; EZ7bG: if (!($this->_title == '' || $this->_content == '')) { goto R86KD; } return null; R86KD: goto d1R7D; enfO1: } }