<?php
//Obfuscated by YAK Pro - Php Obfuscator 2.0.13 at 2025-05-27 11:24:34
 namespace App\Mail; use App\EmailTemplate; use App\Laravue\Models\User; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Mail\Mailable; use Illuminate\Queue\SerializesModels; class RegisterAdmin extends Mailable implements ShouldQueue { use Queueable, SerializesModels; private $_title; private $_content; private $_attachments; public function __construct(User $G84Pm) { goto trXaD; trXaD: $this->onConnection(config("\x71\x75\x65\165\145\x2e\144\x65\146\141\165\x6c\164")); $this->onQueue(config("\x71\x75\x65\x75\x65\56\143\157\x6e\x6e\x65\143\164\151\157\x6e\163\56\x72\145\144\151\x73\x2e\x71\x75\x65\x75\x65")); $this->_title = ''; goto GJ8aM; D31iR: d3tfe: boAhd: goto qnFMU; kBZBd: $this->_title = str_replace("\x7b\x7b\40\x73\x69\x74\x65\137\156\x61\155\145\x20\x7d\175", config("\x73\x65\x74\164\x69\156\x67\163\56\x73\151\164\x65\x5f\x6e\141\x6d\145"), $HT2IC->title); $this->_title = str_replace("\x7b\x7b\40\163\x69\164\x65\137\165\x72\x6c\x20\x7d\175", config("\x61\x70\160\x2e\165\162\x6c"), $this->_title); $this->_content = str_replace("\173\x7b\x20\x73\151\x74\x65\x5f\x6e\141\x6d\x65\40\x7d\x7d", config("\163\x65\x74\x74\x69\156\147\163\56\x73\151\164\145\x5f\x6e\141\x6d\x65"), $HT2IC->content); goto utOj1; GJ8aM: $this->_content = ''; $this->_attachments = []; $fa3se = config("\x73\145\x74\164\x69\x6e\147\x73\x2e\155\x5f\x72\145\x67\151\x73\x74\x65\x72"); goto XviWb; Zp0Na: if (!($HT2IC->attachments != null)) { goto d3tfe; } foreach ($HT2IC->attachments as $LzIIj) { $xZXT_ = public_path("\165\160\x6c\x6f\x61\x64\x73\x2f\x66\x69\x6c\x65\163\57" . $LzIIj->file_name); if (file_exists($xZXT_)) { goto S48cN; } goto Xgrz3; S48cN: $this->_attachments[] = ["\156\141\155\x65" => $LzIIj->title, "\x66\151\x6c\145" => $xZXT_, "\155\x69\155\x65" => $LzIIj->file_type]; Xgrz3: } E4JrO: goto D31iR; XviWb: $HT2IC = EmailTemplate::where("\151\163\137\x64\145\x6c\145\164\145\144", false)->where("\151\x73\x5f\x61\x63\164\x69\x76\141\x74\145\x64", true)->where("\x69\144", $fa3se)->first(); $GdcAo = ["\165\x73\x65\162\x6e\141\x6d\145", "\x65\155\x61\151\154", "\146\x75\154\x6c\137\156\x61\155\145", "\146\151\x72\163\x74\137\x6e\141\155\145", "\x6c\x61\x73\x74\x5f\156\x61\x6d\145", "\146\165\x72\x69\147\x61\156\141\x5f\156\141\155\x65", "\146\x75\162\x69\147\x61\156\141\137\x66\151\x72\163\164\x5f\156\141\155\x65", "\x66\165\x72\151\x67\x61\x6e\141\x5f\x6c\x61\163\x74\x5f\156\141\x6d\145", "\x6e\x61\155\145", "\x70\x6f\x73\164\x5f\x63\x6f\144\145", "\143\x69\x74\x79", "\x64\x69\163\x74\x72\x69\x63\164", "\141\144\144\x72\x65\x73\x73", "\x70\x68\157\x6e\145\x5f\156\x75\155\x62\x65\x72", "\x63\162\145\141\164\145\144\137\x61\x74"]; if (!($HT2IC && $HT2IC->id != null && $HT2IC->title != '' && $HT2IC->content != '')) { goto boAhd; } goto kBZBd; utOj1: $this->_content = str_replace("\x7b\x7b\40\163\151\x74\x65\137\x75\x72\154\x20\x7d\x7d", config("\x61\160\160\x2e\x75\162\x6c"), $this->_content); foreach ($GdcAo as $pvbLh) { if (!($G84Pm->{$pvbLh} != '')) { goto l1kJC; } $this->_title = str_replace("\173\x7b\x20" . $pvbLh . "\x20\175\175", $G84Pm->{$pvbLh}, $this->_title); $this->_content = str_replace("\x7b\173\x20" . $pvbLh . "\40\x7d\175", $G84Pm->{$pvbLh}, $this->_content); l1kJC: VEnKx: } xjkcz: goto Zp0Na; qnFMU: } public function build() { goto IB4Q0; NCqWp: vv9X_: C9Llk: return $this; goto VzQP4; HDIQC: $this->from(config("\x6d\x61\x69\x6c\x2e\146\x72\x6f\x6d\56\141\x64\x64\162\x65\x73\x73"), config("\x6d\x61\x69\154\56\146\x72\x6f\155\x2e\x6e\x61\x6d\145"))->replyTo(config("\155\141\x69\154\56\146\162\x6f\155\56\141\x64\144\x72\x65\163\163"), config("\x6d\141\x69\154\x2e\x66\162\157\155\56\x6e\x61\x6d\145"))->subject($this->_title)->view("\x65\155\x61\x69\x6c\163\56\x73\x79\x73\x74\145\x6d")->with(["\143\x6f\156\x74\145\x6e\x74" => $this->_content]); if (!($this->_attachments != null)) { goto C9Llk; } foreach ($this->_attachments as $LzIIj) { $this->attach($LzIIj["\146\151\154\x65"], ["\x61\163" => $LzIIj["\156\x61\155\x65"], "\155\x69\155\145" => $LzIIj["\x6d\x69\x6d\145"]]); eEYmL: } goto NCqWp; IB4Q0: if (!($this->_title == '' || $this->_content == '')) { goto J96Pa; } return null; J96Pa: goto HDIQC; VzQP4: } }