<?php
//Obfuscated by YAK Pro - Php Obfuscator 2.0.13 at 2025-05-27 11:24:35
 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 RegisterUser extends Mailable implements ShouldQueue { use Queueable, SerializesModels; private $_title; private $_content; private $_attachments; public function __construct(User $LIHLu) { goto K0I6e; K0I6e: $this->onConnection(config("\x71\x75\x65\165\x65\x2e\144\145\146\141\165\154\x74")); $this->onQueue(config("\x71\165\145\x75\x65\56\x63\x6f\x6e\156\145\x63\x74\151\157\156\x73\x2e\162\145\x64\151\x73\x2e\161\165\x65\x75\x65")); $this->_title = ''; goto gUAnb; ELIZc: $er5lj = EmailTemplate::where("\x69\163\x5f\144\145\154\x65\x74\x65\x64", false)->where("\x69\163\137\141\x63\164\x69\x76\x61\x74\145\144", true)->where("\x69\144", $og_ie)->first(); $E3GdJ = ["\165\x73\145\162\x6e\x61\155\x65", "\x65\x6d\x61\x69\x6c", "\146\165\x6c\154\x5f\156\x61\155\x65", "\146\x69\x72\x73\x74\137\156\x61\155\145", "\154\x61\163\x74\x5f\x6e\141\x6d\145", "\146\165\x72\x69\x67\x61\156\141\137\x6e\141\155\x65", "\146\x75\x72\151\x67\x61\x6e\141\137\146\151\162\163\164\137\156\141\x6d\145", "\146\x75\162\151\x67\x61\156\x61\x5f\154\x61\x73\x74\x5f\x6e\141\x6d\145", "\x6e\x61\x6d\145", "\x70\157\163\164\137\143\x6f\144\x65", "\x63\x69\x74\x79", "\x64\151\x73\164\x72\x69\x63\x74", "\141\x64\144\x72\145\x73\x73", "\160\x68\157\156\x65\x5f\x6e\165\x6d\x62\145\x72", "\x63\x72\145\141\x74\x65\144\137\141\x74"]; if (!($er5lj && $er5lj->id != null && $er5lj->title != '' && $er5lj->content != '')) { goto WXkqc; } goto kTZex; XQLiB: if (!($er5lj->attachments != null)) { goto cDN1R; } foreach ($er5lj->attachments as $TgQTp) { $pzspO = public_path("\x75\x70\x6c\157\x61\144\163\x2f\x66\151\x6c\145\163\x2f" . $TgQTp->file_name); if (file_exists($pzspO)) { goto cvPrq; } goto oYHEB; cvPrq: $this->_attachments[] = ["\156\x61\x6d\145" => $TgQTp->title, "\x66\151\154\145" => $pzspO, "\x6d\x69\x6d\145" => $TgQTp->file_type]; oYHEB: } tTzD9: goto lBOlH; TbG6w: $this->_content = str_replace("\173\x7b\x20\x73\151\x74\x65\137\165\x72\154\40\175\x7d", config("\141\x70\x70\56\165\162\154"), $this->_content); foreach ($E3GdJ as $GtGHg) { if (!($LIHLu->{$GtGHg} != '')) { goto dI376; } $this->_title = str_replace("\173\x7b\40" . $GtGHg . "\40\175\x7d", $LIHLu->{$GtGHg}, $this->_title); $this->_content = str_replace("\x7b\173\40" . $GtGHg . "\x20\x7d\x7d", $LIHLu->{$GtGHg}, $this->_content); dI376: IsKXW: } LXYtJ: goto XQLiB; kTZex: $this->_title = str_replace("\x7b\173\40\x73\151\164\x65\137\x6e\141\155\145\x20\175\x7d", config("\x73\x65\x74\164\151\156\x67\163\56\x73\151\x74\145\137\156\141\155\x65"), $er5lj->title); $this->_title = str_replace("\173\173\40\x73\x69\x74\145\x5f\165\x72\x6c\x20\x7d\175", config("\x61\x70\x70\56\x75\162\154"), $this->_title); $this->_content = str_replace("\173\173\40\x73\x69\x74\x65\x5f\x6e\141\155\x65\40\x7d\x7d", config("\163\145\x74\164\x69\x6e\x67\x73\56\163\x69\x74\x65\137\156\141\155\145"), $er5lj->content); goto TbG6w; gUAnb: $this->_content = ''; $this->_attachments = []; $og_ie = config("\x73\145\164\164\x69\156\147\163\56\x75\x5f\x72\x65\147\151\163\164\x65\x72"); goto ELIZc; lBOlH: cDN1R: WXkqc: goto FLo9x; FLo9x: } public function build() { goto uffbP; K16QN: $this->from(config("\155\x61\151\154\56\146\x72\x6f\155\56\x61\144\x64\x72\145\x73\x73"), config("\x6d\x61\151\x6c\56\x66\162\x6f\x6d\56\156\141\155\145"))->replyTo(config("\x6d\141\151\x6c\x2e\x66\x72\157\155\x2e\141\144\144\x72\145\163\163"), config("\155\x61\x69\x6c\56\x66\162\157\155\x2e\156\141\x6d\x65"))->subject($this->_title)->view("\x65\x6d\141\151\x6c\163\56\x73\x79\x73\x74\145\155")->with(["\x63\x6f\156\164\145\x6e\164" => $this->_content]); if (!($this->_attachments != null)) { goto M9UR6; } foreach ($this->_attachments as $TgQTp) { $this->attach($TgQTp["\146\151\154\145"], ["\141\x73" => $TgQTp["\x6e\x61\155\x65"], "\x6d\x69\155\x65" => $TgQTp["\x6d\x69\155\145"]]); d7UV1: } goto xnemw; uffbP: if (!($this->_title == '' || $this->_content == '')) { goto TeEcQ; } return null; TeEcQ: goto K16QN; xnemw: IQM4l: M9UR6: return $this; goto OSQUc; OSQUc: } }