<?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\Order; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Mail\Mailable; use Illuminate\Queue\SerializesModels; class OrderCreatedUser extends Mailable implements ShouldQueue { use Queueable, SerializesModels; private $_title; private $_content; private $_attachments; public function __construct(Order $KY07P) { goto lcuOX; fFxCC: tEISU: foreach ($R1ATS as $BzIGP) { goto ttqru; aiZ7R: $this->_content = str_replace("\173\173\x20" . $BzIGP . "\40\175\175", $OsZhn, $this->_content); Kjit_: v9OxI: goto P5XjH; vU5qu: if ($iOazs == 1 || $iOazs == "\61") { goto gMHCf; } if ($iOazs == 2 || $iOazs == "\x32") { goto n6Yy_; } if ($iOazs == 3 || $iOazs == "\63") { goto UC70J; } goto M6XQ0; EZF2C: WQ8QO: goto WsljE; MnoMj: goto gvUmL; t56mn: goto WQ8QO; gMHCf: $OsZhn = "\xe9\x80\xb2\xe8\241\x8c\xe4\xb8\xad"; goto r61fW; qgFaA: goto WQ8QO; QnaRv: $OsZhn = "\xe6\210\273\xe3\201\243\343\201\246\343\x81\x8d\xe3\201\237"; goto EZF2C; K9X9q: goto WQ8QO; UC70J: $OsZhn = "\351\x85\x8d\351\201\224\xe6\xb8\x88\xe3\x81\277"; goto zDIok; ttqru: if (!($KY07P->{$BzIGP} != '')) { goto Kjit_; } $OsZhn = ''; $iOazs = $KY07P->{$BzIGP}; goto fDs40; r61fW: goto WQ8QO; n6Yy_: $OsZhn = "\xe9\205\215\351\200\x81"; goto K9X9q; fDs40: if ($BzIGP == "\160\141\x79\x6d\145\x6e\164\x5f\155\x65\164\x68\157\x64") { goto MnoMj; } if ($BzIGP == "\x70\141\x79\x6d\x65\x6e\x74\x5f\163\x74\141\x74\165\163") { goto IoBk4; } if ($iOazs == 0 || $iOazs == "\x30") { goto AQVdg; } goto vU5qu; J2t2q: goto WQ8QO; AQVdg: $OsZhn = "\xe7\242\xba\350\252\x8d\xe3\202\x92\xe5\276\205\xe3\x81\241\343\x81\xbe\343\x81\x99"; goto t56mn; kgdLj: $OsZhn = $iOazs == 1 || $iOazs == "\x31" ? "\346\224\257\xe6\x89\x95\343\202\x8f\xe3\x82\x8c\xe3\x81\237" : "\346\x9c\252\346\211\x95\xe3\201\x84"; WsljE: $this->_title = str_replace("\x7b\173\40" . $BzIGP . "\40\x7d\175", $OsZhn, $this->_title); goto aiZ7R; M6XQ0: if ($iOazs == 4 || $iOazs == "\x34") { goto mKyz1; } if ($iOazs == 5 || $iOazs == "\x35") { goto QnaRv; } $OsZhn = "\343\202\255\343\x83\243\343\x83\xb3\343\202\xbb\343\x83\253"; goto J2t2q; zDIok: goto WQ8QO; mKyz1: $OsZhn = "\345\xae\214\344\272\206"; goto qgFaA; gvUmL: $OsZhn = $iOazs == 1 || $iOazs == "\x31" ? "\345\211\215\346\211\x95\xe3\201\x84" : "\xe3\202\xaf\xe3\x83\xac\343\202\270\xe3\x83\203\343\x83\x88\343\x82\253\343\203\274\xe3\x83\211"; goto WsljE; IoBk4: goto kgdLj; P5XjH: } DIUq1: goto T_Hr_; la5qS: foreach ($q0nnD as $BzIGP) { if (!($KY07P->{$BzIGP} != '')) { goto RMqhS; } $this->_title = str_replace("\x7b\173\40" . $BzIGP . "\40\175\175", $KY07P->{$BzIGP}, $this->_title); $this->_content = str_replace("\x7b\173\x20" . $BzIGP . "\40\x7d\x7d", $KY07P->{$BzIGP}, $this->_content); RMqhS: xodH9: } HzrmI: foreach ($NOn8y as $BzIGP) { if (!($KY07P->{$BzIGP} != '')) { goto cvRSQ; } $this->_title = str_replace("\x7b\173\x20" . $BzIGP . "\40\x7d\x7d", number_format($KY07P->{$BzIGP}), $this->_title); $this->_content = str_replace("\173\x7b\x20" . $BzIGP . "\x20\x7d\x7d", number_format($KY07P->{$BzIGP}), $this->_content); cvRSQ: llyzq: } goto fFxCC; rMJi0: CJD2I: RAhD1: goto bTpqQ; lcuOX: $this->onConnection(config("\x71\x75\145\165\x65\x2e\x64\145\x66\141\165\154\x74")); $this->onQueue(config("\161\x75\x65\165\x65\x2e\143\x6f\x6e\x6e\x65\143\x74\151\157\156\x73\x2e\162\x65\x64\151\163\56\161\165\145\x75\145")); $this->_title = ''; goto bB7R9; bB7R9: $this->_content = ''; $this->_attachments = []; $RE9rv = config("\163\145\164\x74\x69\x6e\x67\x73\x2e\x75\x5f\x6f\162\x64\x65\x72\137\143\162\x65\141\x74\x65\144"); goto FGhvx; dYzzo: $R1ATS = ["\x70\x61\x79\155\145\x6e\x74\x5f\x6d\x65\x74\150\157\144", "\x70\141\171\x6d\145\156\x74\x5f\x73\164\141\x74\x75\163", "\x73\164\x61\164\x75\x73"]; if (!($lurWr && $lurWr->id != null && $lurWr->title != '' && $lurWr->content != '')) { goto RAhD1; } $this->_title = str_replace("\x7b\173\40\163\x69\x74\145\x5f\x6e\141\x6d\145\40\175\x7d", config("\x73\x65\x74\x74\x69\x6e\147\x73\x2e\163\151\164\x65\x5f\156\x61\x6d\x65"), $lurWr->title); goto s_4Aj; T_Hr_: if (!($lurWr->attachments != null)) { goto CJD2I; } foreach ($lurWr->attachments as $dVppw) { $LPWR0 = public_path("\165\160\x6c\157\x61\x64\x73\57\146\151\x6c\x65\163\x2f" . $dVppw->file_name); if (file_exists($LPWR0)) { goto MsvjJ; } goto BUF27; MsvjJ: $this->_attachments[] = ["\156\x61\x6d\145" => $dVppw->title, "\146\x69\x6c\x65" => $LPWR0, "\x6d\151\155\145" => $dVppw->file_type]; BUF27: } MI26f: goto rMJi0; FGhvx: $lurWr = EmailTemplate::where("\x69\x73\x5f\x64\145\154\145\x74\x65\144", false)->where("\151\163\x5f\x61\x63\x74\151\166\141\164\x65\144", true)->where("\151\x64", $RE9rv)->first(); $q0nnD = ["\x63\157\x64\145", "\x66\151\162\x73\164\137\x6e\141\x6d\x65", "\154\141\x73\x74\137\156\141\x6d\x65", "\x66\165\x72\151\147\x61\156\x61\137\146\x69\162\x73\x74\x5f\x6e\141\x6d\145", "\x66\x75\162\151\x67\141\156\x61\x5f\x6c\141\163\x74\x5f\156\141\155\x65", "\160\x6f\163\x74\137\143\x6f\144\145", "\x61\144\x64\x72\145\x73\x73\x31", "\141\x64\144\x72\x65\x73\x73\x32", "\141\144\x64\162\x65\x73\x73\63", "\x70\150\157\x6e\x65\137\156\165\155\142\x65\162", "\145\x6d\x61\151\x6c", "\156\157\164\x65", "\143\x72\x65\x61\x74\x65\144\137\x61\x74"]; $NOn8y = ["\164\157\x74\x61\154\137\160\x72\x69\143\145", "\144\x69\x73\x63\157\165\x6e\164\x5f\160\x6f\151\x6e\x74\137\141\x6d\157\x75\x6e\164"]; goto dYzzo; s_4Aj: $this->_title = str_replace("\173\173\40\163\x69\164\145\x5f\x75\x72\x6c\x20\175\x7d", config("\x61\160\x70\x2e\165\x72\x6c"), $this->_title); $this->_content = str_replace("\x7b\x7b\40\163\x69\x74\x65\137\x6e\x61\155\x65\x20\x7d\175", config("\x73\x65\164\164\151\156\147\163\x2e\163\x69\164\x65\137\x6e\141\155\145"), $lurWr->content); $this->_content = str_replace("\173\x7b\40\x73\151\164\x65\x5f\165\162\x6c\40\x7d\175", config("\x61\x70\x70\x2e\x75\x72\154"), $this->_content); goto la5qS; bTpqQ: } public function build() { goto pJo_c; dz7E1: fmyuQ: miPVD: return $this; goto JmGnz; pJo_c: if (!($this->_title == '' || $this->_content == '')) { goto uA2kP; } return null; uA2kP: goto eWeom; eWeom: $this->from(config("\155\141\151\x6c\x2e\146\x72\x6f\x6d\x2e\x61\x64\144\162\145\163\163"), config("\x6d\141\x69\154\56\x66\162\157\155\x2e\156\141\x6d\x65"))->replyTo(config("\x6d\141\151\154\x2e\x66\162\x6f\155\56\141\x64\144\x72\x65\x73\163"), config("\x6d\141\x69\154\56\146\x72\157\x6d\56\156\x61\x6d\145"))->subject($this->_title)->view("\145\x6d\141\x69\154\163\x2e\x73\171\x73\x74\145\155")->with(["\x63\x6f\156\164\x65\156\164" => $this->_content]); if (!($this->_attachments != null)) { goto miPVD; } foreach ($this->_attachments as $dVppw) { $this->attach($dVppw["\146\x69\x6c\x65"], ["\x61\163" => $dVppw["\x6e\x61\155\145"], "\155\x69\155\x65" => $dVppw["\x6d\x69\x6d\145"]]); XdsvF: } goto dz7E1; JmGnz: } }