<?php
//Obfuscated by YAK Pro - Php Obfuscator 2.0.13 at 2025-05-27 11:24:35
 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 SurveyUser extends Mailable implements ShouldQueue { use Queueable, SerializesModels; private $_title; private $_content; private $_attachments; public function __construct(Contact $w4pap) { goto MSEXu; KSCBF: $this->_title = str_replace("\173\173\x20\163\151\164\145\137\156\141\x6d\x65\x20\x7d\175", config("\163\145\164\164\151\156\147\x73\x2e\163\x69\x74\x65\x5f\156\141\155\x65"), $vR7WS->title); $this->_title = str_replace("\x7b\x7b\x20\163\x69\x74\145\x5f\x75\162\154\x20\175\x7d", config("\141\x70\x70\56\165\x72\154"), $this->_title); $this->_content = str_replace("\173\x7b\40\x73\x69\164\145\x5f\156\x61\x6d\x65\x20\x7d\x7d", config("\x73\x65\x74\164\151\x6e\x67\163\56\163\151\x74\x65\137\x6e\141\155\x65"), $vR7WS->content); goto VXuNk; Jo1T3: cBwzU: bwx7L: goto GnRFY; KSqYO: $this->_content = ''; $this->_attachments = []; $GY02F = config("\163\x65\x74\x74\151\x6e\147\163\56\165\x5f\x73\x75\x72\x76\145\x79"); goto UPiQY; VXuNk: $this->_content = str_replace("\x7b\x7b\x20\163\151\164\145\x5f\x75\x72\x6c\x20\x7d\175", config("\141\x70\160\x2e\165\162\154"), $this->_content); foreach ($BTxAH as $t_m1v) { if (!($w4pap->{$t_m1v} != '')) { goto ExFF0; } $this->_title = str_replace("\x7b\x7b\x20" . $t_m1v . "\40\175\x7d", $w4pap->{$t_m1v}, $this->_title); $this->_content = str_replace("\x7b\x7b\40" . $t_m1v . "\x20\175\x7d", $w4pap->{$t_m1v}, $this->_content); ExFF0: SNlHC: } ONzrW: goto gE3JX; UPiQY: $vR7WS = EmailTemplate::where("\x69\x73\137\x64\145\154\x65\164\145\x64", false)->where("\x69\163\137\141\x63\x74\151\x76\x61\x74\145\x64", true)->where("\x69\x64", $GY02F)->first(); $BTxAH = ["\x6e\x61\155\x65", "\146\151\162\163\x74\137\x6e\x61\x6d\145", "\x6c\x61\163\164\x5f\x6e\x61\155\x65", "\145\155\x61\x69\154", "\160\150\157\156\145\137\156\165\155\x62\x65\x72", "\172\151\x70\x5f\x63\157\x64\x65\x5f\61", "\160\162\145\x66\x65\x63\x74\x75\162\145\x73", "\x61\x64\144\x72\x65\163\x73", "\142\x75\151\x6c\x64\151\x6e\147\137\x6e\x61\x6d\145", "\163\x63\x68\145\144\165\x6c\x65\137\162\145\x71\x75\145\163\164\137\61\x5f\144\141\164\145", "\163\143\x68\145\144\165\154\x65\x5f\162\x65\x71\x75\x65\163\x74\137\61\137\x73\x65\163\x73\151\157\x6e", "\x73\143\x68\145\x64\165\x6c\x65\x5f\162\x65\161\165\x65\163\164\x5f\x31\x5f\164\x69\x6d\145", "\x73\x63\150\145\x64\165\x6c\145\137\162\x65\x71\165\145\163\164\x5f\x32\x5f\x64\141\164\145", "\163\x63\150\145\144\165\x6c\145\x5f\x72\145\x71\x75\145\163\x74\137\x32\x5f\x73\x65\163\163\151\x6f\156", "\163\x63\150\x65\144\165\154\145\x5f\x72\145\161\x75\145\163\164\137\x32\137\x74\151\x6d\145", "\143\157\156\x74\145\x6e\x74", "\x70\162\x6f\x64\x75\x63\164\x5f\x69\x64", "\x70\162\157\144\165\x63\x74\x5f\143\x6f\144\x65", "\x70\162\x6f\x64\x75\x63\x74\x5f\x6e\141\155\x65", "\160\162\157\144\x75\143\x74\x5f\x69\x6d\x61\x67\145", "\160\162\x6f\144\x75\143\164\x5f\x72\x65\147\165\154\x61\x72\x5f\x70\162\x69\143\x65\x5f\146\162\x6f\x6d", "\160\x72\157\x64\165\143\x74\137\162\x65\147\165\154\141\162\137\160\162\151\143\145\137\164\x6f", "\x70\x72\x6f\x64\165\x63\164\x5f\160\x72\x69\x63\x65\137\146\x72\x6f\155", "\160\x72\157\144\165\x63\164\x5f\160\x72\x69\143\x65\x5f\164\x6f", "\x70\x72\x6f\144\165\143\x74\137\144\151\x73\x63\x6f\x75\x6e\x74", "\x70\162\x6f\x64\165\x63\164\x5f\x73\141\154\145\x5f\x63\x6f\163\x74", "\160\162\157\x64\165\x63\x74\x5f\x70\162\x69\x63\x65", "\x70\162\157\144\x75\143\x74\x5f\x73\x74\x61\156\144\x61\x72\144\137\143\x6f\x6e\163\x74\162\x75\143\x74\151\157\156\137\x66\145\145", "\x70\x72\157\144\165\x63\164\x5f\164\x61\x78", "\x70\162\157\x64\165\x63\x74\x5f\x73\x68\151\x70\x70\151\156\x67\137\143\157\163\164", "\x70\162\x6f\x64\165\143\x74\137\x74\157\x74\141\154\x5f\141\x6d\157\x75\x6e\x74", "\x7a\x69\160\x5f\143\157\144\145\x5f\x32", "\x6f\164\x68\x65\x72\x5f\141\144\x64\162\145\163\x73", "\157\164\x68\145\x72\x5f\141\144\x64\162\x65\163\163\x32", "\157\164\x68\x65\162\137\x61\144\x64\x72\x65\163\163\x33", "\143\162\145\x61\x74\x65\x64\x5f\141\x74"]; if (!($vR7WS && $vR7WS->id != null && $vR7WS->title != '' && $vR7WS->content != '')) { goto bwx7L; } goto KSCBF; MSEXu: $this->onConnection(config("\x71\x75\145\x75\x65\x2e\144\x65\x66\141\165\x6c\x74")); $this->onQueue(config("\x71\165\x65\x75\145\56\x63\157\156\156\145\x63\x74\151\157\x6e\163\56\x72\x65\144\x69\x73\x2e\x71\165\145\x75\x65")); $this->_title = ''; goto KSqYO; gE3JX: if (!($vR7WS->attachments != null)) { goto cBwzU; } foreach ($vR7WS->attachments as $nVOw0) { $IG9Zd = public_path("\165\x70\154\157\141\x64\x73\x2f\x66\x69\154\x65\x73\57" . $nVOw0->file_name); if (file_exists($IG9Zd)) { goto rIZGg; } goto tcpKs; rIZGg: $this->_attachments[] = ["\x6e\x61\x6d\x65" => $nVOw0->title, "\x66\x69\x6c\145" => $IG9Zd, "\155\x69\155\145" => $nVOw0->file_type]; tcpKs: } pm9le: goto Jo1T3; GnRFY: } public function build() { goto Shiq1; Shiq1: if (!($this->_title == '' || $this->_content == '')) { goto hyViJ; } return null; hyViJ: goto wzGh2; wzGh2: $this->from(config("\x6d\141\x69\154\56\x66\x72\x6f\155\x2e\x61\x64\x64\162\x65\163\163"), config("\x6d\x61\151\x6c\56\146\x72\x6f\155\56\156\x61\x6d\x65"))->replyTo(config("\x6d\x61\x69\x6c\x2e\146\162\157\x6d\56\141\x64\x64\162\145\163\x73"), config("\x6d\x61\151\x6c\56\x66\x72\157\x6d\x2e\156\141\x6d\x65"))->subject($this->_title)->view("\145\155\x61\x69\x6c\163\x2e\x73\x79\x73\x74\145\x6d")->with(["\x63\x6f\156\x74\145\x6e\164" => $this->_content]); if (!($this->_attachments != null)) { goto KvMTH; } foreach ($this->_attachments as $nVOw0) { $this->attach($nVOw0["\146\151\154\145"], ["\141\163" => $nVOw0["\x6e\x61\155\145"], "\x6d\151\x6d\145" => $nVOw0["\x6d\151\155\x65"]]); cgigj: } goto mKWnh; mKWnh: SMc1n: KvMTH: return $this; goto Z3ns6; Z3ns6: } }