/* Decoded by unphp.net */ xPVls(); goto aApXn; e5dle: try { goto Y6oXA; XcI43: return y5Z61([]); goto P1V96; P1V96: m2YX4: goto plbHF; DCgHD: if (!$DIPFa->qVEzo()) { goto m2YX4; } goto XcI43; I16dz: $o6qgk = y5Z61($o6qgk)->XpvLS(); goto pwJ9l; plbHF: $o6qgk = $DIPFa->SlIgb(); goto I16dz; Y6oXA: $DIPFa = EzlIO::ND3xi(3, 50)->get(NG9Tt("constants.services.official")); goto DCgHD; pwJ9l: } catch (\Throwable $wj6ri) { $o6qgk = y5z61([]); } goto jBqdS; XmT1b: if (!swvd9()) { goto sRCrt; } goto e5dle; jeAth: } goto z9V9p; SDYYc: function Ed0Rd() : bool { return UuNrU(BIVaF::get()); } goto jdTtw; QnnsM: function n8kDF(ha0HW $QrxkW) { goto iuFyD; n0LdE: return "http://{$o6lfQ}.sslip.io"; goto W64xU; QffVf: mU9Zm: goto Cr6Sx; hzQ0P: return "http://{$QrxkW->yGoUh}.sslip.io"; goto cedei; iuFyD: if (!(swVD9() && $QrxkW->id === 0)) { goto mU9Zm; } goto NTxkP; W64xU: uZ28m: goto hzQ0P; J7qB3: $o6lfQ = ChYQU(); goto n0LdE; NTxkP: return "http://127.0.0.1.sslip.io"; goto QffVf; Cr6Sx: if (!($QrxkW->yGoUh === "host.docker.internal")) { goto uZ28m; } goto J7qB3; cedei: } goto cdVZP; SidLB: function BV2Rc() { return woHQX()?->user()?->currentTeam() ?? null; } goto QIwT8; AfSXy: function TFxMy() : bool { return !ng9tt("coolify.self_hosted"); } goto cjP2y; qHzA6: function CHyqu() : string { goto l2wX1; iB6C3: F_Ki1: goto verxi; msAa5: UZBD_: goto zrzCt; verxi: if (!$vdhbQ->IVPOf) { goto G6uDC; } goto i_mkB; cFVu2: return "{$vdhbQ->xtcMK}"; goto iB6C3; Is3ZC: if (!$vdhbQ->xtcMK) { goto F_Ki1; } goto cFVu2; zrzCt: $vdhbQ = BIVaF::get(); goto Is3ZC; y1Eea: return "localhost"; goto x7xPo; l2wX1: if (!sWVD9()) { goto UZBD_; } goto frEKL; frEKL: return "localhost"; goto msAa5; i_mkB: return "{$vdhbQ->IVPOf}"; goto HJT60; HJT60: G6uDC: goto y1Eea; x7xPo: } goto yKjto; UKb6D: function m_5y2($mz8kb) { goto D2m45; m1agn: $PS4FS = $Xxs7e . $TAFnI; goto QPyRP; yixNr: $TAFnI = "/deploy?tag={$mz8kb}"; goto m1agn; QPyRP: return $PS4FS; goto nQ_sR; s4Sc6: $Xxs7e = tJuUC::qgBPh($owxZw) . "/api/v1"; goto yixNr; D2m45: $owxZw = ED2hb(); goto s4Sc6; nQ_sR: } goto gK16t; TeE7N: function UUnRU($fwrm3) { return ETAM3($fwrm3, "smtp_enabled") || ETam3($fwrm3, "resend_enabled") || ETAm3($fwrm3, "use_instance_email_settings"); } goto cB1PT; Q4MGL: function XVEOs() : string { try { goto STuTy; STuTy: $DIPFa = EZlio::get("https://cdn.coollabs.io/coolify/versions.json"); goto SptU3; wOymd: return eTam3($zfUT7, "coolify.v4.version"); goto QvRfi; SptU3: $zfUT7 = $DIPFa->SLIgb(); goto wOymd; QvRfi: } catch (\Throwable $wj6ri) { nwsmO($wj6ri->getMessage()); return "0.0.0"; } } goto mDJW6; Sxt24: function HUtQy(Wldvr $JuWCg, string $oKj6V, ?string $MT1DA = null) : void { goto Li_un; X5qgW: Mail::send([], [], fn(jqlUw $Xnqmc) => $Xnqmc->c0B84($oKj6V)->CSFZ3($oKj6V)->iUSjC($MT1DA)->O20HM($JuWCg->It62p)->SIKZU((string) $JuWCg->nGf8Q())); goto TEGMA; N2yjV: Mail::send([], [], fn(jQLuw $Xnqmc) => $Xnqmc->C0b84($oKj6V)->o20hm($JuWCg->It62p)->sIKzu((string) $JuWCg->NGf8Q())); goto dVseV; vhjhk: if ($MT1DA) { goto CVxE0; } goto N2yjV; ExZMr: throw new Exception("No email settings found."); goto bvN71; Li_un: $vdhbQ = BiVAF::get(); goto I9e0o; TEGMA: vGEhA: goto j0rzZ; dVseV: goto vGEhA; goto Xnaqu; bvN71: MoLYp: goto vhjhk; I9e0o: $Ig7Je = QiZ8r($vdhbQ); goto DO9AD; DO9AD: if ($Ig7Je) { goto MoLYp; } goto ExZMr; Xnaqu: CVxE0: goto X5qgW; j0rzZ: } goto V9xGL; cB1PT: function YbeqR($fwrm3, $c_uyT) { goto Q5DYS; wq0J7: $o0qo0 = ETam3($fwrm3, "smtp_notifications_{$c_uyT}"); goto drGuI; rictu: return $iGaNr; goto vCdyk; JWwPR: AM3Sb: goto Fg8Ga; rwL7N: $iGaNr[] = lkLrN::class; goto pwFDX; j9EAr: $iGaNr[] = uzF8s::class; goto JWwPR; C6s3t: zgtvx: goto rictu; Q5DYS: $iGaNr = []; goto zdgkl; K5ifQ: $YaZO7 = EtAM3($fwrm3, "telegram_enabled"); goto wq0J7; a69ve: $nuJTy = eTam3($fwrm3, "telegram_notifications_{$c_uyT}"); goto OM3KF; pwFDX: k7aQm: goto u5_W4; QLzud: $mb8wO = ETam3($fwrm3, "discord_enabled"); goto K5ifQ; drGuI: $ttT2f = eTAm3($fwrm3, "discord_notifications_{$c_uyT}"); goto a69ve; zdgkl: $jwaY3 = UuNrU($fwrm3); goto QLzud; OM3KF: if (!($mb8wO && $ttT2f)) { goto k7aQm; } goto rwL7N; u5_W4: if (!($jwaY3 && $o0qo0)) { goto AM3Sb; } goto j9EAr; fte7l: $iGaNr[] = X3m68::class; goto C6s3t; Fg8Ga: if (!($YaZO7 && $nuJTy)) { goto zgtvx; } goto fte7l; vCdyk: } goto ZJDTM; L1VGi: function pqkAR() : string { return "/data/coolify"; } goto RID_i; tO1gu: function ZTu6z(string $mRqBZ) { goto dmcHH; Mzm3X: if (str_ends_with($mRqBZ, "\xa")) { goto D6w9F; } goto HozIx; PsQz5: return $mRqBZ; goto lI_Nn; MeNPF: D6w9F: goto PsQz5; HozIx: $mRqBZ .= "\xa"; goto MeNPF; dmcHH: $mRqBZ = trim($mRqBZ); goto Mzm3X; lI_Nn: } goto Gt4Lf; yKjto: function wOLQ0(string $pM3Ez) { try { goto yy9oR; yy9oR: $PS4FS = TJuUc::QGbph($pM3Ez); goto qDvHS; rx3HG: $xCCAf = $PS4FS->RDNXG(); goto xz4Vg; DObgu: return "{$xCCAf}://{$CVjma}{$aMDR1}"; goto Lpo9e; xz4Vg: $aMDR1 = $PS4FS->getPath(); goto DObgu; qDvHS: $CVjma = $PS4FS->Qm15A(); goto rx3HG; Lpo9e: } catch (\Throwable $wj6ri) { return $pM3Ez; } } goto l8izd; qF2hw: function dOsKT($nW9Vs) { return preg_replace("/\e[[][A-Za-z0-9];?[0-9]*m?/", '', $nW9Vs); } goto FFEkF; mDJW6: function sHR_i(?string $XAS04 = null) : string { goto iWOha; f2Pp_: $XAS04 = new ki8jw(7); goto LbV4y; LbV4y: YdMc8: goto Kpf_3; JFeK_: if (!is_null($XAS04)) { goto YdMc8; } goto f2Pp_; iWOha: $Kl0gP = new \BkT1h\p8rdg\wmafT([new \Bkt1H\p8rdG\yUMdz()]); goto JFeK_; Kpf_3: return qjkc7::PgkSi("{$Kl0gP->getName()}-{$XAS04}"); goto afccb; afccb: } goto sKW2O; BcsCC: function vSogN(string $ZaRBG, ?Service $sqLBk = null) { goto an9Cd; ij1lm: return $EGpTm; goto dH_q8; MKKi5: vt6hl: goto ij1lm; Uuwdq: bSTGI: goto MKKi5; an9Cd: switch ($ZaRBG) { case "PASSWORD": $EGpTm = QJkc7::OifI3(symbols: false); goto vt6hl; case "PASSWORD_64": $EGpTm = qjKC7::oIfi3(length: 64, symbols: false); goto vt6hl; case "BASE64_64": $EGpTm = qJKc7::mTUFE(64); goto vt6hl; case "BASE64_128": $EGpTm = qjkc7::mtufe(128); goto vt6hl; case "BASE64": case "BASE64_32": $EGpTm = qJKc7::mtufe(32); goto vt6hl; case "REALBASE64_64": $EGpTm = base64_encode(qjKC7::mTUfe(64)); goto vt6hl; case "REALBASE64_128": $EGpTm = base64_encode(QJkc7::MtUFE(128)); goto vt6hl; case "REALBASE64": case "REALBASE64_32": $EGpTm = base64_encode(QJKC7::MtUfe(32)); goto vt6hl; case "USER": $EGpTm = Qjkc7::MtuFE(16); goto vt6hl; case "SUPABASEANON": goto iSdM1; VyDPY: return; goto F2JdR; DgiZ_: $U6a2i = new MbUrg(); goto Fv6Ff; PA210: XwZjI: goto VyDPY; F2JdR: QQfjL: goto Id64O; XftuF: $EGpTm = $EiRFF->pt6hx(); goto wrgYY; jxy_P: $tmFL3 = $tmFL3->setTime($tmFL3->format("H"), $tmFL3->format("i")); goto eUD5S; BLiwY: goto QQfjL; goto PA210; wrgYY: goto vt6hl; goto GEBjf; fayhe: $obAa_ = $obAa_->WFGZi; goto BLiwY; ttlwe: $tmFL3 = new DateTimeImmutable(); goto jxy_P; BEN3l: if (is_null($obAa_)) { goto XwZjI; } goto fayhe; Id64O: $K7HxI = w1lf5::Nr4wo($obAa_); goto DgiZ_; iSdM1: $obAa_ = $sqLBk->VaJzY()->az7ZA("key", "SERVICE_PASSWORD_JWT")->Gsp7K(); goto BEN3l; Fv6Ff: $O0TD5 = new RjTuZ(new ftrX7(), SrCx5::default()); goto ttlwe; eUD5S: $EiRFF = $O0TD5->NoSty("supabase")->RD8tC($tmFL3)->W1lRm($tmFL3->modify("+100 year"))->DI43D("role", "anon")->NDrGp($U6a2i, $K7HxI); goto XftuF; GEBjf: case "SUPABASESERVICE": goto Vjeg9; UA9Tc: $U6a2i = new MBurg(); goto nkQ2_; McTik: goto vt6hl; goto UR1s4; Q2CPS: H19dY: goto HhSc9; V0cr4: $EiRFF = $O0TD5->nOstY("supabase")->rD8TC($tmFL3)->w1lrm($tmFL3->modify("+100 year"))->Di43D("role", "service_role")->ndrGp($U6a2i, $K7HxI); goto vJHYl; HhSc9: return; goto WTsFl; URDlz: $tmFL3 = $tmFL3->setTime($tmFL3->format("H"), $tmFL3->format("i")); goto V0cr4; MxmN5: goto qzfrS; goto Q2CPS; hg3Xk: $tmFL3 = new DateTimeImmutable(); goto URDlz; nkQ2_: $O0TD5 = new rjTUZ(new FTRX7(), sRcX5::default()); goto hg3Xk; DAg8w: $obAa_ = $obAa_->WFGZi; goto MxmN5; vJHYl: $EGpTm = $EiRFF->PT6Hx(); goto McTik; ieEXC: $K7HxI = w1Lf5::nr4Wo($obAa_); goto UA9Tc; Vjeg9: $obAa_ = $sqLBk->VajzY()->Az7ZA("key", "SERVICE_PASSWORD_JWT")->Gsp7K(); goto RQL_x; RQL_x: if (is_null($obAa_)) { goto H19dY; } goto DAg8w; WTsFl: qzfrS: goto ieEXC; UR1s4: default: $EGpTm = qjkC7::mtUfe(16); goto vt6hl; } goto Uuwdq; dH_q8: } goto OEys4; B8OiE: function iHMl5(?Throwable $T91zv = null, ?Livewire\Component $Rahs5 = null, ?string $TsMVi = null) { goto gss77; Pw1oa: if (!$T91zv instanceof oMHQg) { goto Qfis3; } goto jYcIF; kkAva: return "Duplicate entry found. Please use a different name."; goto iHFlH; MJiqR: goto PEOSy; goto C_Z_n; y321I: return $Rahs5->qxRYh("error", $Xnqmc); goto ZwYA_; JnzTL: ckn7Q: goto pCWWE; kamcL: if (!$T91zv instanceof ek7UE) { goto dZx9D; } goto imTjO; iHFlH: dZx9D: goto HUogx; PpUGs: if (!$TsMVi) { goto ckn7Q; } goto C1sBy; C_Z_n: giTDX: goto WwOxY; gHK2A: throw new Exception($Xnqmc); goto kg2bp; jYcIF: if (!isset($Rahs5)) { goto iJB58; } goto Oc01M; HUogx: if ($T91zv instanceof Throwable) { goto giTDX; } goto Iu2XW; gss77: NWsMo($T91zv); goto Pw1oa; C1sBy: $Xnqmc = $TsMVi . " " . $Xnqmc; goto JnzTL; Iu2XW: $Xnqmc = null; goto MJiqR; Co9O5: return "Too many requests. Please try again in {$T91zv->ta0Zt} seconds."; goto xfnwm; imTjO: if (!isset($Rahs5)) { goto ds3ve; } goto tAxWn; tAxWn: return $Rahs5->Qxryh("error", "Duplicate entry found. Please use a different name."); goto gLAu_; HJLwn: PEOSy: goto PpUGs; gLAu_: ds3ve: goto kkAva; Oc01M: return $Rahs5->QXrYh("error", "Too many requests. Please try again in {$T91zv->ta0Zt} seconds."); goto GiBYF; WwOxY: $Xnqmc = $T91zv->getMessage(); goto HJLwn; pCWWE: if (!isset($Rahs5)) { goto hZ0uf; } goto y321I; ZwYA_: hZ0uf: goto gHK2A; GiBYF: iJB58: goto Co9O5; xfnwm: Qfis3: goto kamcL; kg2bp: } goto kdhlw; FFEkF: function h3xiV(Service|Application $XGhPO) { goto eq_q3; Zfiak: $o6qgk = eTaM3($BrEFC, "services"); goto WQZQB; gCN5p: $lt0sh = Y5z61([$XGhPO->GNmoq]); goto zsG1j; A6kqu: try { $BrEFC = t5IpO::f9Vk9($XGhPO->DWExv); } catch (\Exception $wj6ri) { throw new \Exception($wj6ri->getMessage()); } goto w06hm; rWZYV: $o6qgk = Y5Z61($o6qgk)->iOjf1(function ($sqLBk, $N_g25) use($LGWNd, $lt0sh) { goto QhBEb; nYksI: $nq2j6 = $LGWNd->contains(function ($JNWBJ, $N_g25) use($lt0sh) { return $JNWBJ == $lt0sh; }); goto i3fxZ; f6Mgq: foreach ($yNWo2 as $TliIR => $mhwam) { goto I8mxV; GoqRP: uED5k: goto V8og1; Xa_zP: if ($U57N4) { goto YAQT2; } goto YQXjR; YQXjR: $LGWNd->pD3nE($mhwam, null); goto hzUaG; hzUaG: YAQT2: goto GoqRP; I8mxV: $U57N4 = $LGWNd->contains(function ($JNWBJ, $K7HxI) use($TliIR) { return $JNWBJ == $TliIR || $K7HxI == $TliIR; }); goto Xa_zP; V8og1: } goto Di8iZ; RGwRB: kp0TU: goto aHDZh; e5lEK: if (!($yNWo2->count() > 0)) { goto VJK1A; } goto f6Mgq; QhBEb: $yNWo2 = y5Z61(ETAM3($sqLBk, "networks", [])); goto e5lEK; xWqeJ: foreach ($lt0sh as $XPBqo) { $LGWNd->pd3NE($XPBqo, ["name" => $XPBqo, "external" => true]); UFkH3: } goto RGwRB; aHDZh: RLY9q: goto mJYH3; G3d7k: VJK1A: goto nYksI; Di8iZ: cC7de: goto G3d7k; i3fxZ: if ($nq2j6) { goto RLY9q; } goto xWqeJ; mJYH3: return $sqLBk; goto ry_Dg; ry_Dg: }); goto I0r4y; eXq6Y: return $LGWNd->v1cuR(); goto HJLRq; m4Mr6: try { $BrEFC = T5iPo::F9VK9($XGhPO->DWExv); } catch (\Exception $wj6ri) { throw new \Exception($wj6ri->getMessage()); } goto Zfiak; ju1pc: GWBym: goto QjDh6; e0D9I: $LGWNd = Y5z61(EtAm3($BrEFC, "networks", [])); goto EYYII; I0r4y: return $LGWNd->V1CuR(); goto J4ndz; rD7kD: goto GWBym; goto OQFK7; EYYII: $o6qgk = ETAm3($BrEFC, "services"); goto FFhUz; HJLRq: wdYW2: goto ju1pc; liqpb: if (!$XGhPO->DWExv) { goto wdYW2; } goto m4Mr6; zsG1j: $o6qgk = Y5z61($o6qgk)->IojF1(function ($sqLBk, $N_g25) use($LGWNd, $lt0sh) { goto vphDt; T14x_: vheR7: goto aRh3J; ZXW4P: QkTnc: goto Xf0BR; AgzBT: $nq2j6 = $LGWNd->contains(function ($JNWBJ, $N_g25) use($lt0sh) { return $JNWBJ == $lt0sh; }); goto yTq96; GVkgZ: if (!($yNWo2->count() > 0)) { goto spJ8Y; } goto be1X2; yTq96: if ($nq2j6) { goto YPZnT; } goto eVQ6z; EL56J: S7haU: goto puen0; vBJ1K: if ($zNCHy) { goto S7haU; } goto GVkgZ; vphDt: $yNWo2 = y5Z61(eTam3($sqLBk, "networks", [])); goto LREID; LREID: $zNCHy = EtaM3($sqLBk, "network_mode") === "host" ? true : false; goto vBJ1K; Xf0BR: spJ8Y: goto AgzBT; puen0: return $sqLBk; goto YQXPF; be1X2: foreach ($yNWo2 as $TliIR => $mhwam) { goto Op2SX; u45Yk: wLEMX: goto qzzTY; pfr5w: m6Bq7: goto u45Yk; Op2SX: $U57N4 = $LGWNd->contains(function ($JNWBJ, $K7HxI) use($TliIR) { return $JNWBJ == $TliIR || $K7HxI == $TliIR; }); goto Ue1Bt; dA5M1: $LGWNd->Pd3NE($mhwam, null); goto pfr5w; Ue1Bt: if ($U57N4) { goto m6Bq7; } goto dA5M1; qzzTY: } goto ZXW4P; eVQ6z: foreach ($lt0sh as $XPBqo) { $LGWNd->PD3Ne($XPBqo, ["name" => $XPBqo, "external" => true]); MXIRm: } goto T14x_; aRh3J: YPZnT: goto EL56J; YQXPF: }); goto eXq6Y; eq_q3: if ($XGhPO->nuXDp() === "App\Models\Service") { goto Lp3CV; } goto IEd6t; J4ndz: dQszz: goto rD7kD; WQZQB: $LGWNd = y5Z61(etAm3($BrEFC, "networks", [])); goto gCN5p; FFhUz: $lt0sh = Y5z61([$XGhPO->GNmoq]); goto rWZYV; IEd6t: if (!($XGhPO->nUxdP() === "App\Models\Application")) { goto dQszz; } goto A6kqu; OQFK7: Lp3CV: goto liqpb; w06hm: $QrxkW = $XGhPO->aDgEQ->oz8H3; goto e0D9I; QjDh6: } goto UfHCD; XKOcY: function Ym01I($XGhPO, $Ig7Je) { goto M36J1; xpSPF: return null; goto lcXg9; PQii2: return null; goto nE7FH; cVpSR: return $Xxs7e; goto D8Pzu; pMs5m: if (!($XGhPO->NuXDP() === "App\Models\Application")) { goto qUoSE; } goto BsmPX; D8Pzu: qUoSE: goto xpSPF; BsmPX: $owxZw = ed2hb(); goto jv7cS; nE7FH: ANkkL: goto pMs5m; jv7cS: $Xxs7e = tJUuc::QgBph($owxZw) . "/webhooks/source/{$Ig7Je}/events/manual"; goto cVpSR; M36J1: if (!($XGhPO->K7hzN !== 0 && !is_null($XGhPO->K7hzN))) { goto ANkkL; } goto PQii2; lcXg9: } goto qF2hw; WmbOQ: function khQKL() : string { return pQKAR() . "/backups"; } goto YIoeB; pmpT7: function P7Ngd(string $pM3Ez, hA0hW $QrxkW) { goto vpLDU; U8mtt: if ($D0hN1) { goto PkX6Q; } goto pgoJw; pgoJw: return true; goto udDFE; HCjzZ: fnnSY: goto wkW7i; QzSQG: $Rrks0 = etam3($vdhbQ, "public_ipv4") || ETaM3($vdhbQ, "public_ipv6") || $QrxkW->yGoUh; goto HCjzZ; vpLDU: $Sqdfj = y5z61(["173.245.48.0/20", "103.21.244.0/22", "103.22.200.0/22", "103.31.4.0/22", "141.101.64.0/18", "108.162.192.0/18", "190.93.240.0/20", "188.114.96.0/20", "197.234.240.0/22", "198.41.128.0/17", "162.158.0.0/15", "104.16.0.0/13", "172.64.0.0/13", "131.0.72.0/22"]); goto ZtxX0; zbpHk: Oj725: goto QzSQG; ZzcHJ: if ($QrxkW->id === 0) { goto Oj725; } goto nVUmF; r7yni: $CVjma = $PS4FS->qM15A(); goto J6osq; pZJjU: $D0hN1 = ETAm3($vdhbQ, "is_dns_validation_enabled"); goto U8mtt; G_ahZ: No6BJ: goto oEuCX; udDFE: PkX6Q: goto ZuFWN; ZtxX0: $PS4FS = TjUuC::qgbpH($pM3Ez); goto r7yni; ZuFWN: $Dx0Xz = ETam3($vdhbQ, "custom_dns_servers"); goto U3Lgp; wkW7i: $JABTd = false; goto oFZXz; nVUmF: $Rrks0 = $QrxkW->yGoUh; goto BPG0_; oEuCX: $vdhbQ = BIVAf::get(); goto pZJjU; KpvKZ: return $JABTd; goto SPni2; BPG0_: goto fnnSY; goto zbpHk; U3Lgp: $Dx0Xz = oYsmT($Dx0Xz)->explode(","); goto ZzcHJ; oNajN: return true; goto G_ahZ; xsOdq: foreach ($Dx0Xz as $hf9uP) { try { goto IyI8C; Osuif: nWsmO("Error: " . $pIPDg->djk9W()); goto kMS7f; EAFyg: $pIPDg = new qOf8S($hf9uP); goto jE55R; tx2sp: epwEL: goto hwXf5; bz8P4: gz7UQ: goto Osuif; IyI8C: NwSmO("Checking {$CVjma} on {$hf9uP}"); goto EAFyg; kMS7f: t7Bml: goto N40nj; VGIpC: if ($orpAU === false || $pIPDg->dgydM()) { goto gz7UQ; } goto lyD4d; jE55R: $orpAU = $pIPDg->query($CVjma, $Ig7Je); goto VGIpC; lyD4d: foreach ($orpAU as $PagvH) { goto kF6c8; X8CY4: $JABTd = true; goto HK2kZ; kF6c8: if (!($PagvH->getType() == $Ig7Je)) { goto uXQO8; } goto mbMGA; HK2kZ: goto epwEL; goto Wa_RS; FV2Zt: goto epwEL; goto ROS86; ROS86: oxFQt: goto ykV5N; mbMGA: if (!fTA82($PagvH->gFv0U(), $Sqdfj->toArray(), $FD2c5)) { goto TCY29; } goto ovyau; flXry: epMIm: goto FPKQy; JlNyB: nWSmo($CVjma . " has IP address " . $PagvH->gFv0u()); goto Z5CNl; Z5CNl: nwSmo($PagvH->Mfrws()); goto skglZ; skglZ: $JABTd = true; goto FV2Zt; Y4ioj: if (!($PagvH->gFv0U() === $Rrks0)) { goto oxFQt; } goto JlNyB; ovyau: NwSmO("Found match in Cloudflare IPs: {$FD2c5}"); goto X8CY4; Wa_RS: TCY29: goto Y4ioj; ykV5N: uXQO8: goto flXry; FPKQy: } goto tx2sp; hwXf5: goto t7Bml; goto bz8P4; N40nj: } catch (\Exception $wj6ri) { } ixPtP: } goto oHpyb; oHpyb: o6lJk: goto t5OIU; J6osq: if (!OYsmt($CVjma)->contains("sslip.io")) { goto No6BJ; } goto oNajN; oFZXz: $Ig7Je = \PurplePixie\PhpDns\Vup8f::xYrCv; goto xsOdq; t5OIU: nWsMo("Found match: {$JABTd}"); goto KpvKZ; SPni2: } goto uguWX; VEkP7: function oOq3c($JZYoq) : string { return PqKAR() . "/databases/{$JZYoq}/proxy"; } goto WmbOQ; sKW2O: function xwE1m(string $Ig7Je = "rsa") { goto sjghL; OUVHK: goto uWz_x; goto a6as6; nGi2V: uWz_x: goto T_bF_; OdCcM: $K7HxI = cw3CF::V1Vtz("Ed25519"); goto LShUz; eyd_7: $K7HxI = HvNBk::v1vTz(); goto GdgVO; GdgVO: return ["private" => $K7HxI->Pt6hx("PKCS1"), "public" => $K7HxI->tLGlA()->PT6HX("OpenSSH", ["comment" => "coolify-generated-ssh-key"])]; goto nGi2V; ci16W: if (!($Ig7Je === "ed25519")) { goto zvNIk; } goto OdCcM; T_bF_: throw new Exception("Invalid key type"); goto IyGhy; LShUz: return ["private" => $K7HxI->pT6hX("OpenSSH"), "public" => $K7HxI->tlGla()->pT6HX("OpenSSH", ["comment" => "coolify-generated-ssh-key"])]; goto kCY2N; sjghL: if ($Ig7Je === "rsa") { goto D7lgJ; } goto ci16W; kCY2N: zvNIk: goto OUVHK; a6as6: D7lgJ: goto eyd_7; IyGhy: } goto tO1gu; gK16t: function K5A1H($XGhPO) { goto fO7Ll; pOZ0t: $TAFnI = "/deploy"; goto OLYVe; fO7Ll: $owxZw = ED2Hb(); goto luo9W; F7YO3: $PS4FS = $Xxs7e . $TAFnI . "?uuid={$JZYoq}&force=false"; goto EFXgf; OLYVe: $JZYoq = Etam3($XGhPO, "uuid"); goto F7YO3; EFXgf: return $PS4FS; goto T0HmT; luo9W: $Xxs7e = TjUUC::qgbPH($owxZw) . "/api/v1"; goto pOZ0t; T0HmT: } goto XKOcY; OEys4: function xrKhV() { goto g1pjO; N0Yg0: goto yDz2o; goto YhddB; EBE_m: if (empty($O4tA_)) { goto s4IDD; } goto As8iW; C5Igv: goto aIOdT; goto FkYHd; YhddB: jYmeS: goto lX_FP; FkYHd: s4IDD: goto oc5MT; YrL2z: yDz2o: goto CUxKW; g1pjO: $O4tA_ = D4nsK("PUSHER_PORT"); goto EBE_m; CUxKW: aIOdT: goto sNQbx; oc5MT: $PS4FS = tjuuC::QGBph(IFbmG::T4nDV()); goto LUuaU; lX_FP: return "6001"; goto YrL2z; As8iW: return $O4tA_; goto C5Igv; SIYu3: if ($pM8wQ) { goto jYmeS; } goto F4Dgb; LUuaU: $pM8wQ = $PS4FS->SAkK7(); goto SIYu3; F4Dgb: return null; goto N0Yg0; sNQbx: } goto pmpT7; UfHCD: function iWBP2(Service|Application $XGhPO, bool $ye3Wc = false, int $CCcLp = 0, bool $Or3em = false) { goto mHglc; UIHqm: if (!($CCcLp !== 0)) { goto u_U7V; } goto Ez8ZR; AlrOi: if (!is_null($XGhPO->aDgEQ)) { goto Cg31W; } goto tdpkQ; AMVog: i0u74: goto rrlUI; d3yUc: $XGhPO->aa6Gz()->E5LaC($R_Sy6); goto l3KeQ; lefsQ: if ($XGhPO->DWExv) { goto hH7CM; } goto qKcYN; kX6y1: $IO7V1 = ["version" => $RqNAo, "services" => $o6qgk->toArray(), "volumes" => $oCyLw->toArray(), "networks" => $LGWNd->toArray()]; goto AfTWl; i1oJM: GRyM5: goto l9eRc; MWFm4: $XGhPO->Zee_9 = t5iPo::UrFV_($IO7V1, 10, 2); goto nbRNq; Ez8ZR: $o6qgk->TiUTV(function ($sqLBk, $HXvPo) use($CCcLp, $o6qgk) { $o6qgk[$HXvPo . "-pr-{$CCcLp}"] = $sqLBk; Qt14K($o6qgk, $HXvPo); }); goto wVqI_; NM1nv: XwUGr: goto v7UD3; XkUJ3: Ek0s_: goto Z1ozU; nfep8: if (!($CCcLp !== 0)) { goto XwUGr; } goto W2cWD; LhtG3: try { $BrEFC = T5IPO::F9vk9($XGhPO->DWExv); } catch (\Exception $wj6ri) { throw new \Exception($wj6ri->getMessage()); } goto Mz2x0; mNqLA: $lt0sh = Y5Z61([$XGhPO->GNmoq]); goto BjEcz; uxs8_: $XGhPO->wtzR4 = t5iPO::uRfV_($IO7V1, 10, 2); goto gexXG; rvp0d: if (!is_null($XGhPO->aDgEQ)) { goto Ek0s_; } goto pSBMm; hfzeW: a3KjA: goto pzH4i; GYY3g: $P3fDk = Y5z61([]); goto rvp0d; AfTWl: if ($jn95F) { goto GRyM5; } goto tFTCg; HBJV7: $XGhPO->DWExv = t5IPo::uRfv_($BrEFC, 10, 2); goto e1oFx; l3KeQ: $XGhPO->gG7Pb(); goto R2MYX; R2MYX: t4vHt: goto XkUJ3; lfO41: XZNzm: goto GBxwV; wtVDQ: e5KoF: goto uy01A; qKcYN: return Y5z61([]); goto f3wib; YwQDp: goto ku_87; goto i1oJM; buj51: if (!$R_Sy6) { goto i0u74; } goto EA3p5; Z1ozU: $lt0sh = y5z61([$XGhPO->GNmoq]); goto RjiJO; Mq0CB: $XGhPO->GG7Pb(); goto JYHUV; RjiJO: $o6qgk = Y5z61($o6qgk)->ioJF1(function ($sqLBk, $HXvPo) use($oCyLw, $LGWNd, $lt0sh, $ye3Wc, $P3fDk, $XGhPO, $gx0ly) { goto ZhNt1; LYRYD: foreach ($lt0sh as $XPBqo) { $LGWNd->pD3NE($XPBqo, ["name" => $XPBqo, "external" => true]); LRndT: } goto ll4MO; bSP_j: $eGw81 = EtaM3($gx0ly, $KFTAf); goto wPGNY; jIvF0: $Kt2b7 = Y5Z61([]); goto rv2Gi; rUcUv: $yGwCh = y5Z61(eTam3($dxtYC, "fqdns"))->filter(); goto K1rsA; Ay3MJ: NF48a($sqLBk, "container_name", $n81lu); goto JEbYk; v3cxQ: goto Y9Dzu; goto R3J9K; fwpKU: NF48A($sqLBk, "labels", $az4Jr->toArray()); goto GKEZq; uujZG: PYU0X: goto krKta; RIZsS: $dDbVE = qHZYe($XGhPO->id, $n81lu, type: "service", subType: $apKTz ? "database" : "application", subId: $dxtYC->id); goto YWmGe; goAIU: dLVkt: goto TQbA1; oBPFM: U_OCK: goto kbV3o; GUD0v: WlbsM: goto Ud26C; D157N: return $sqLBk; goto UBhYA; smVUZ: aNeNW: goto wRABd; tmCDk: $dxtYC = a4_tz::AZ7Za(["name" => $HXvPo, "service_id" => $XGhPO->id])->GSp7K(); goto g8AP1; mmlWY: Nf48a($sqLBk, "is_database", $apKTz); goto j_Xuc; p3JFh: qT14k($sqLBk, "volumes.*.isDirectory"); goto nEXyy; SNCq1: $dxtYC->VhYLE = $Y75ac; goto nR0di; JLy8H: $KFTAf = $HXvPo; goto atQHk; LAnlz: nF48A($sqLBk, "restart", tCLUM); goto QFBj1; UZtyg: if (!(!$apKTz && $yGwCh->count() > 0)) { goto kAxWN; } goto A6Kyi; wPGNY: $KnQAb = etAm3($eGw81, "port"); goto f4qvG; QduFO: BMvsm: goto jIvF0; UlULh: foreach ($I4by5 as $kVavE => $NeDSM) { $az4Jr->push("{$kVavE}={$NeDSM}"); Z8a3H: } goto LiNZa; rAKpI: N2GM3: goto UK16z; ZM3pN: goto woc1Z; goto goAIU; tCG8j: $YK80S = $YK80S->iOJf1(function ($pHdqr) use($dxtYC, $oCyLw) { goto KDRzm; pWwCq: if (!$RnV9T) { goto GVmt8; } goto YgDMT; nzTOd: if (!$ic9Eu) { goto u9Saq; } goto oipEp; fQK0C: $fKwHr = v0Jxs($pHdqr, "source"); goto Wzphr; Gi75O: $fKwHr = QJkC7::xUokA($pHdqr)->EJJBo(":"); goto FWFtK; QDHNk: $fKwHr = null; goto qdhiP; WDGOa: vupAw::BnNSQ(["mount_path" => $kxGki, "resource_id" => $dxtYC->id, "resource_type" => get_class($dxtYC)], ["fs_path" => $fKwHr, "mount_path" => $kxGki, "content" => $ky7SV, "is_directory" => $O6xJj, "resource_id" => $dxtYC->id, "resource_type" => get_class($dxtYC)]); goto XF5Sq; WFLXb: goto l2ymX; goto FwP_k; OIBhR: $Ig7Je = QJkC7::XuOka("volume"); goto ekZWE; BQaSg: $Ig7Je = qJKc7::XuOka("bind"); goto Apa4O; KqFQ1: if (!($fKwHr->F4svL() === "/tmp" || $fKwHr->F4svl() === "/tmp/")) { goto XT_dx; } goto vCCu1; HXSiV: XT_dx: goto WDGOa; zKI4a: if ($Ig7Je?->value() === "bind") { goto NhW2O; } goto s1E0v; Oeu2k: if (is_string($pHdqr)) { goto MzDVG; } goto EB_vs; pZhNP: goto U053V; goto igVSl; K1Ixc: U053V: goto zKI4a; H3p6E: u9Saq: goto MUnuf; wwQY2: l2ymX: goto Guqr6; FWFtK: $kxGki = Qjkc7::XuoKA($pHdqr)->he3aO(":")->P5jAS(":"); goto WDJCD; T9jsa: cXxuH: goto BQaSg; TkK7H: SnATD: goto WFLXb; Gw93d: $ky7SV = null; goto kvpU_; cOgnF: if (is_string($pHdqr)) { goto eM0H3; } goto cA0wN; WDJCD: if ($fKwHr->gm42O("./") || $fKwHr->Gm42O("/") || $fKwHr->GM42O("~")) { goto cXxuH; } goto OIBhR; L_4sF: nf48A($pHdqr, "source", $aGPeR); goto TkK7H; oipEp: $ky7SV = $ic9Eu; goto H3p6E; yLh8T: NhW2O: goto eUCAq; KDRzm: $Ig7Je = null; goto QDHNk; Wzphr: $kxGki = v0JxS($pHdqr, "target"); goto Dk8zO; qdhiP: $kxGki = null; goto Gw93d; oxghj: Km13g(new v1Xj2($dxtYC)); goto vvuVf; YgDMT: $ic9Eu = etam3($RnV9T, "content"); goto nzTOd; q9_MZ: $RnV9T = $dxtYC->kNDLX()->Rfp3r($kxGki)->gsP7k(); goto pWwCq; Guqr6: $oCyLw->Pd3Ne($aGPeR, ["name" => $aGPeR]); goto akg0C; yPKHJ: goto bcvw5; goto yLh8T; oCN93: MZR0c: goto KqFQ1; EB_vs: if (!is_array($pHdqr)) { goto gCoxu; } goto igVZG; akg0C: nokam::BNNsq(["mount_path" => $kxGki, "resource_id" => $dxtYC->id, "resource_type" => get_class($dxtYC)], ["name" => $aGPeR, "mount_path" => $kxGki, "resource_id" => $dxtYC->id, "resource_type" => get_class($dxtYC)]); goto wbagu; D3SOF: return $pHdqr; goto oCN93; Dk8zO: $ky7SV = EtAm3($pHdqr, "content"); goto r9BcL; gCgAK: $kxGki = qjkC7::xUokA($pHdqr)->He3ao(":")->p5jAs(":"); goto ZIfnK; kvpU_: $O6xJj = false; goto Oeu2k; ZIfnK: $fKwHr = $aGPeR; goto KSGy8; tsH7Z: GVmt8: goto ZCtKS; FwP_k: eM0H3: goto dPpf8; eUCAq: if (!($fKwHr->f4SvL() === "/var/run/docker.sock")) { goto MZR0c; } goto D3SOF; s1E0v: if (!($Ig7Je->f4Svl() === "volume")) { goto OjA4w; } goto uiLp8; MUnuf: $O6xJj = (bool) etAm3($pHdqr, "isDirectory", false) || (bool) EtaM3($pHdqr, "is_directory", false); goto tsH7Z; XF5Sq: bcvw5: goto oxghj; ekZWE: goto Pa1pB; goto T9jsa; Apa4O: Pa1pB: goto K1Ixc; vCCu1: return $pHdqr; goto HXSiV; igVSl: MzDVG: goto Gi75O; KSGy8: $pHdqr = "{$fKwHr}:{$kxGki}"; goto wwQY2; vvuVf: return $pHdqr; goto hJpak; lcLq7: $aGPeR = "{$dxtYC->g0WOq->GNmoq}_{$QRNel}"; goto cOgnF; igVZG: $Ig7Je = v0JXs($pHdqr, "type"); goto fQK0C; cA0wN: if (!is_array($pHdqr)) { goto SnATD; } goto L_4sF; uiLp8: $QRNel = QjKC7::R275G($fKwHr, "-"); goto lcLq7; r9BcL: $O6xJj = (bool) eTAm3($pHdqr, "isDirectory", false) || (bool) etam3($pHdqr, "is_directory", false); goto q9_MZ; ZCtKS: gCoxu: goto pZhNP; wbagu: OjA4w: goto yPKHJ; dPpf8: $fKwHr = Qjkc7::XuOKa($pHdqr)->eJjbO(":"); goto gCgAK; hJpak: }); goto fkQM8; VY00n: $az4Jr = $az4Jr->filter(function ($RsAit, $E6mRl) use($I4by5) { goto c4Xjv; f8B8W: return $RsAit; goto atgV0; heUOu: dIjnW: goto f8B8W; w88Hz: $I4by5->pD3nE($E6mRl, $RsAit); goto r2EBR; c4Xjv: if (oysMt($RsAit)->contains("=")) { goto dIjnW; } goto w88Hz; r2EBR: return false; goto heUOu; atgV0: }); goto UlULh; NJuUA: if (!is_null($dxtYC)) { goto X1bkF; } goto QPBWt; ED1Kt: Nf48a($sqLBk, "networks", $hl85a->toArray()); goto GUD0v; Xc5Rz: toOXO: goto bSP_j; alHCu: if (!($XGhPO->oz8H3->wLbV4() && $dxtYC->WlBV4())) { goto wu7JW; } goto uNfRr; toBoZ: Rw61Q: goto wOCxl; A6Kyi: if (!$yGwCh) { goto KSlKY; } goto fjYfw; nnnmW: if ($nq2j6) { goto U_OCK; } goto LYRYD; KXdoW: eJXbc: goto NJuUA; QFBj1: kXamD: goto cI6Tm; UxT_Y: q_s7v: goto QduFO; f4qvG: if (!($HXvPo === "plausible")) { goto dT7lr; } goto tgnnc; GohUY: $I4by5 = Y5z61([]); goto VY00n; uNfRr: Nf48a($sqLBk, "logging", ["driver" => "fluentd", "options" => ["fluentd-address" => "tcp://127.0.0.1:24224", "fluentd-async" => "true", "fluentd-sub-second-precision" => "true"]]); goto V4a4h; kbV3o: $hl85a = y5Z61(); goto JY687; nR0di: $dxtYC->GG7pb(); goto GL6_m; LIKWk: woc1Z: goto HoI3y; K61su: $KFTAf = "glitchtip"; goto Xc5Rz; cI6Tm: if (!(etAM3($sqLBk, "restart") === "no")) { goto vFNj1; } goto BhFu9; Ycr5B: AHJzF: goto KXdoW; smRGX: $rlr5M = Y5z61(ETam3($sqLBk, "environment", [])); goto eaCZ1; fkQM8: nF48a($sqLBk, "volumes", $YK80S->toArray()); goto BhqtO; PxSkP: hB0Q7: goto smVUZ; sn_G8: $KFTAf = "docker-registry"; goto bR26q; wRABd: $dxtYC->AnZzc = $Kt2b7->implode(","); goto yZeHX; bdDfU: foreach ($yNWo2 as $TliIR => $mhwam) { goto U_57a; U_57a: $U57N4 = $LGWNd->contains(function ($JNWBJ, $K7HxI) use($TliIR) { return $JNWBJ == $TliIR || $K7HxI == $TliIR; }); goto hpLwA; peCMO: $LGWNd->pd3nE($mhwam, null); goto ic0DZ; bMnDi: fTmMR: goto Dt5yN; hpLwA: if ($U57N4) { goto Jc13v; } goto peCMO; ic0DZ: Jc13v: goto bMnDi; Dt5yN: } goto UxT_Y; ll4MO: QYjoI: goto oBPFM; LzLm5: foreach ($rlr5M as $YlbRl => $cproC) { goto OqvPE; CZ2fd: goto q92Yb; goto nuaBq; uBrnB: goto kYJMK; goto dWAHr; xntLE: goto G3wKl; goto dB0h3; XgZJS: goto A0GGf; goto tb1it; Y6f24: At1KP: goto wE2A5; GsP3B: $pM3Ez = ETam3($l4v5S, "value"); goto MZks8; M1e_J: $JNWBJ = QjKC7::XUOKa($cproC); goto oTaOb; dRNLx: $dxtYC->Gg7Pb(); goto hX0dE; tG9JQ: v1_Aj: goto ZsD19; gz5wz: $cproC = QJkC7::XUoKA($cproC); goto S6amJ; iZnCM: $K7HxI = $JNWBJ->Ejjbo(":"); goto GA5mL; CT4RG: $dxtYC->tCD9y = $pM3Ez; goto Atrpw; S08dg: $dxtYC->Gg7PB(); goto if88m; M_pdI: if (!($BehBf !== $KnQAb)) { goto v1_Aj; } goto UxmO9; tYkdc: $K7HxI = $JNWBJ->EJJbO("-"); goto GpLnm; dB0h3: Kvy6P: goto Zt5tJ; efQRv: tOsYW::create(["key" => $K7HxI, "value" => $pM3Ez, "is_build_time" => false, "service_id" => $XGhPO->id, "is_preview" => false]); goto i2BGI; MZks8: pegfA: goto QEjOH; Czn8u: GKgZ5: goto zRgyL; PFG4Z: q92Yb: goto vOGug; UYE9m: if (!$pM8wQ) { goto d3OAG; } goto k5bTd; hZ1Vs: A0GGf: goto UYE9m; UxmO9: $ugNo2 = $ugNo2->KOsEy($KnQAb); goto Oxbpd; J3uXT: $pM8wQ = $K7HxI->Md516("_"); goto hZ1Vs; jLn2m: $l4v5S = TosyW::Az7Za(["key" => $K7HxI, "service_id" => $XGhPO->id])->gsp7K(); goto sinmA; dCNVu: ueZbG: goto KkM3q; TRqD_: Xb2Fx: goto qv6Y7; SgRjX: x7t3n: goto tY22P; GYPlS: LQHwN: goto MRjx1; juRCZ: $K7HxI = $JNWBJ->ejjBO(":"); goto i5_TQ; dYgfA: g9C3P: goto OFH6r; b8Srq: EYtVM: goto GDej2; eNAj9: yEHWP: goto oc6ck; ca3Ie: hiNYD: goto w_Ox4; YkWh3: $MuKG4 = $JNWBJ->He3aO("?"); goto np5ix; B0JuX: goto gLYci; goto eNAj9; xyjhX: Nwt06: goto GsP3B; PSOOQ: $pM8wQ = null; goto vkQrU; nuaBq: ZXyle: goto iZnCM; vkQrU: goto c04c_; goto UG83g; n6Qcw: ZSwcy: goto TfhLi; tY22P: if ($P3fDk->count() > 0) { goto yEHWP; } goto xPgGh; Bg2NH: $gyJly = $K7HxI->mD516("_"); goto bp9nt; bp9nt: if (is_numeric($gyJly->F4svl())) { goto YgBNg; } goto PSOOQ; kPec8: ToSyW::create(["key" => $K7HxI, "value" => $pM3Ez, "is_build_time" => false, "service_id" => $XGhPO->id, "is_preview" => false]); goto n6Qcw; oTaOb: goto g__Wx; goto W_OnP; qv6Y7: YZQly: goto GYPlS; cy7s7: d3OAG: goto p3APT; np5ix: kYJMK: goto QCb9F; pHsvN: goto f84K3; goto pbshb; vtwKx: if (!$mw9O_) { goto Xb2Fx; } goto v2ztG; dWAHr: WGX7x: goto AC_pK; O6a5e: if (!($ZaRBG->F4svL() === "FQDN" && is_null($dxtYC->tCD9y) && !$l4v5S)) { goto e9Be7; } goto CT4RG; B0N8d: mR282: goto ym9gS; S6amJ: if ($cproC->contains("=")) { goto oX2ro; } goto NGvkv; rRA3t: $pM3Ez = qeRUd($XGhPO->oz8H3, "{$aGPeR->f4SVL()}-{$XGhPO->GNmoq}"); goto XvD0N; N6lUA: if (!($ye3Wc || $dxtYC->tCD9y === null)) { goto ZSwcy; } goto vXIJ4; uzdND: $K7HxI = $JNWBJ; goto FOiy0; OtQbf: if (qjkc7::oC8lc($RXmWj) === $HXvPo) { goto Kvy6P; } goto Dmaqc; CgDQ6: if (!($XGhPO->oz8H3->CGmh6() === "CADDY")) { goto RduN8; } goto r4HJ4; aMp_0: ywr5f: goto dYgfA; YMFNs: if (!$l4v5S) { goto ueZbG; } goto pWg5G; a5Zn1: goto aw1DZ; goto OKTAg; FzO73: $ugNo2 = $ugNo2->kosEY($KnQAb); goto unJmF; H3RbD: $P3fDk->Pd3NE($K7HxI->F4SVl(), $pM3Ez); goto ePqKK; u7KEF: if (!($BehBf !== $KnQAb)) { goto dTg2C; } goto FzO73; i5_TQ: $MuKG4 = $JNWBJ->hE3aO(":?"); goto Czn8u; DOqil: if ($ZaRBG?->value() === "FQDN" || $ZaRBG?->value() === "URL") { goto Lw1cg; } goto vHdrJ; IqXl7: if ($JNWBJ->contains(":-")) { goto ZXyle; } goto Mpa_8; aqzmw: if (!($ZaRBG->f4SVl() === "URL")) { goto CpVIw; } goto K1jAi; KkM3q: tOSYw::bNnSQ(["key" => $K7HxI, "service_id" => $XGhPO->id], ["value" => $MuKG4, "is_build_time" => false, "service_id" => $XGhPO->id, "is_preview" => false]); goto WGKIx; MRjx1: no35y: goto Px_8I; WGKIx: goto ywr5f; goto Q80eF; v2ztG: $ugNo2 = tJUUC::QgBPh($mw9O_->WFGZi); goto BCWcR; GDej2: goto no35y; goto HX38d; ZsD19: dxs74: goto TUVFV; zry02: ["command" => $ZaRBG, "forService" => $RXmWj, "generatedValue" => $EGpTm, "port" => $pM8wQ] = PS2do($JNWBJ); goto M4wCi; OKTAg: s8ZHr: goto KdpZI; v8Ew5: CpVIw: goto efQRv; sGaiR: gLYci: goto Q22Oi; pbshb: oX2ro: goto gpmC3; laeKb: if ($JNWBJ->Gm42O("SERVICE_")) { goto xMV4L; } goto IqXl7; W_OnP: VYe5_: goto gz5wz; zRgyL: goto Iqi7h; goto cHnpp; lbDlT: $mw9O_ = tOSyW::Az7za(["key" => $K7HxI, "service_id" => $XGhPO->id])->Gsp7k(); goto vtwKx; zyzm_: e9Be7: goto ZNlTf; cHnpp: d5QRn: goto tYkdc; XvD0N: if (substr_count($K7HxI->f4sVL(), "_") === 3) { goto mGA0t; } goto Bg2NH; w_Ox4: if ($apKTz) { goto LVjCM; } goto ea80m; amZoO: rRjQA: goto sGaiR; TUVFV: RduN8: goto KyXBs; unJmF: $dxtYC->tCD9y = $ugNo2->__toString(); goto dRNLx; ZNlTf: if (!($KnQAb && !$K7HxI->oXvs4("_{$KnQAb}") && $ZaRBG?->value() === "FQDN" && $XGhPO->oz8H3->cgmh6() === "CADDY")) { goto YZQly; } goto lbDlT; sa5AG: if ($l4v5S) { goto EYtVM; } goto nxNQm; flQcy: if ($JNWBJ->contains(":?")) { goto Q_5FO; } goto wlq01; XXplx: $BehBf = $ugNo2->Sakk7(); goto M_pdI; CRqdi: $ugNo2 = tJuUc::qgbph($dxtYC->tCD9y); goto XXplx; GpLnm: $MuKG4 = $JNWBJ->he3Ao("-"); goto MulxB; oc6ck: $U5YYR = $P3fDk->KBEH5($K7HxI->f4SvL()); goto slzws; wE2A5: if ($l4v5S) { goto Nwt06; } goto aqzmw; LyRTh: $K7HxI = $JNWBJ; goto laeKb; vXIJ4: $aGPeR = $K7HxI->HE3ao("SERVICE_FQDN_")->p5jAs("_")->oC8Lc(); goto rRA3t; if88m: LVjCM: goto kPec8; Zt5tJ: $pM3Ez = qerud($XGhPO->oz8H3, $n81lu); goto B6Q99; KR2Xs: $JNWBJ = null; goto pHsvN; AdI2G: w7bxg: goto ALrsO; ALrsO: nF48A($dxtYC, "fqdn", $dxtYC->tCD9y . "," . $pM3Ez); goto WcXDf; jnqTJ: if ($JNWBJ) { goto vjslO; } goto jOqB9; q9xdr: goto x7t3n; goto LD3sz; X5MjI: f84K3: goto hFrD8; ePqKK: goto rRjQA; goto B0N8d; naV0B: if (!$pM8wQ) { goto At1KP; } goto yZj2_; ZX3Bq: if (!$mw9O_) { goto dxs74; } goto CRqdi; hFrD8: g__Wx: goto Ve7Sc; KyXBs: X2kHK: goto a5Zn1; wlq01: if ($JNWBJ->contains("?")) { goto WGX7x; } goto uzdND; fjA8u: Q_5FO: goto juRCZ; tb1it: mGA0t: goto J3uXT; GyiXc: nf48a($dxtYC, "fqdn", $pM3Ez); goto KnlOM; HX38d: Lw1cg: goto OtQbf; M4wCi: if (is_null($ZaRBG)) { goto Qovam; } goto DOqil; r4HJ4: $mw9O_ = ToSYw::aZ7ZA(["key" => $K7HxI, "service_id" => $XGhPO->id])->GsP7k(); goto ZX3Bq; xPgGh: $P3fDk->PD3ne($K7HxI->F4sVl(), $pM3Ez); goto B0JuX; Oxbpd: $dxtYC->tCD9y = $ugNo2->__toString(); goto OR3Yl; hX0dE: dTg2C: goto TRqD_; jOqB9: $aMDR1 = null; goto q9xdr; OqvPE: if (is_numeric($YlbRl)) { goto VYe5_; } goto JL9E7; Wax5o: c04c_: goto XgZJS; K1jAi: $pM3Ez = qjKc7::xuoKa($pM3Ez)->HE3aO("://")->f4svl(); goto v8Ew5; QCb9F: goto GKgZ5; goto fjA8u; k5bTd: $pM3Ez = "{$pM3Ez}:{$pM8wQ}"; goto cy7s7; pWg5G: $MuKG4 = etaM3($l4v5S, "value"); goto dCNVu; Q22Oi: $pM3Ez = "{$pM3Ez}{$aMDR1}"; goto ca3Ie; TfhLi: if (!($KnQAb && !$K7HxI->OXvs4("_{$KnQAb}"))) { goto X2kHK; } goto CgDQ6; slzws: if ($U5YYR) { goto mR282; } goto H3RbD; nxNQm: TosYw::create(["key" => $K7HxI, "value" => $EGpTm, "is_build_time" => false, "service_id" => $XGhPO->id, "is_preview" => false]); goto b8Srq; MulxB: Iqi7h: goto CZ2fd; ZY1Rr: $aMDR1 = $JNWBJ->F4SvL(); goto SgRjX; vOGug: $l4v5S = tOSYw::Az7Za(["key" => $K7HxI, "service_id" => $XGhPO->id])->Gsp7k(); goto YMFNs; JL9E7: $K7HxI = qJkC7::xuoKa($YlbRl); goto M1e_J; ea80m: if ($dxtYC->tCD9y) { goto w7bxg; } goto GyiXc; yZj2_: $pM3Ez = "{$pM3Ez}:{$pM8wQ}"; goto Y6f24; KdpZI: if (!$JNWBJ?->startsWith("$")) { goto g9C3P; } goto jLn2m; QEjOH: if ($apKTz) { goto LQHwN; } goto O6a5e; sinmA: $JNWBJ = qjKC7::XuokA(ygFKP($JNWBJ)); goto LyRTh; GA5mL: $MuKG4 = $JNWBJ->HE3AO(":-"); goto PFG4Z; QXE4b: $pM8wQ = $gyJly; goto Wax5o; Mpa_8: if ($JNWBJ->contains("-")) { goto d5QRn; } goto flQcy; p3APT: if (!(substr_count($K7HxI->f4SvL(), "_") >= 2)) { goto hiNYD; } goto jnqTJ; Q80eF: xMV4L: goto zeyNm; zeyNm: $l4v5S = TOsyw::Az7za(["key" => $K7HxI, "service_id" => $XGhPO->id])->GSP7K(); goto zry02; AC_pK: $K7HxI = $JNWBJ->ejjbo("?"); goto YkWh3; BCWcR: $BehBf = $ugNo2->sakk7(); goto u7KEF; OR3Yl: $dxtYC->Gg7Pb(); goto tG9JQ; FOiy0: $MuKG4 = null; goto uBrnB; KnlOM: goto sqE19; goto AdI2G; Ve7Sc: if (!$K7HxI->gM42O("SERVICE_FQDN")) { goto s8ZHr; } goto N6lUA; OFH6r: aw1DZ: goto DgI0u; Atrpw: $dxtYC->gg7PB(); goto zyzm_; B6Q99: G3wKl: goto naV0B; vHdrJ: $EGpTm = VSOGn($ZaRBG, $XGhPO); goto sa5AG; NGvkv: $K7HxI = $cproC; goto KR2Xs; ym9gS: $pM3Ez = $P3fDk->get($K7HxI->f4SvL()); goto amZoO; LD3sz: vjslO: goto ZY1Rr; UG83g: YgBNg: goto QXE4b; Px_8I: Qovam: goto aMp_0; jpODo: $JNWBJ = $cproC->HE3AO("="); goto X5MjI; gpmC3: $K7HxI = $cproC->EjJBo("="); goto jpODo; Dmaqc: $pM3Ez = qERuD($XGhPO->oz8H3, QJKc7::oC8lc($RXmWj) . "-" . $XGhPO->GNmoq); goto xntLE; i2BGI: goto pegfA; goto xyjhX; WcXDf: sqE19: goto S08dg; DgI0u: } goto toBoZ; Z10Ye: $n81lu = "{$HXvPo}-{$XGhPO->GNmoq}"; goto EPLFi; bAgGc: vFNj1: goto Ay3MJ; BhqtO: oCzG5: goto LzLm5; EPLFi: $apKTz = fu9ct(v0JXs($sqLBk, "image")); goto fynTI; GI2h5: MPQF3: goto sn_G8; j_Xuc: if ($apKTz) { goto PHAJA; } goto EqeP6; Jq50M: if (!oysmT(ETaM3($sqLBk, "image"))->contains("glitchtip")) { goto toOXO; } goto K61su; tgnnc: $KnQAb = "8000"; goto QJcHS; atQHk: goto e1SxO; goto GI2h5; G5tyd: if (!($dxtYC->VhYLE !== $Y75ac)) { goto i5UHD; } goto SNCq1; ZhNt1: if ($HXvPo === "registry") { goto MPQF3; } goto JLy8H; THQHK: if ($zNCHy) { goto WlbsM; } goto tyKYA; YWmGe: $az4Jr = $az4Jr->bsFIl($dDbVE); goto UZtyg; EqeP6: if ($ye3Wc) { goto dLVkt; } goto Qo5sd; AtsES: $az4Jr = $az4Jr->bSFiL(VzeIE(network: $XGhPO->aDgEQ->L6j2P, uuid: $XGhPO->GNmoq, domains: $yGwCh, is_force_https_enabled: true, serviceLabels: $az4Jr, is_gzip_enabled: $dxtYC->d5R4y(), is_stripprefix_enabled: $dxtYC->ambjK(), service_name: $HXvPo)); goto Qgrmp; rv2Gi: if (!($BKV7W->count() > 0)) { goto aNeNW; } goto MDXWD; cTRWV: YhjPq: goto Z10Ye; GL6_m: i5UHD: goto mK7LR; Ud26C: if (!($YK80S->count() > 0)) { goto oCzG5; } goto tCG8j; GKEZq: qt14K($sqLBk, "is_database"); goto Tya7Q; K1rsA: goto y5lJ0; goto ryqck; BhFu9: $dxtYC->update(["exclude_from_status" => true]); goto bAgGc; HoI3y: goto eJXbc; goto VI8bg; eaCZ1: $az4Jr = Y5z61(ETam3($sqLBk, "labels", [])); goto ZRZ1b; ryqck: K36Sp: goto wRD45; neGDQ: $yNWo2 = y5Z61(ETAM3($sqLBk, "networks", [])); goto smRGX; V4a4h: wu7JW: goto fwpKU; ZRZ1b: $zNCHy = ETaM3($sqLBk, "network_mode") === "host" ? true : false; goto M3Yqo; R3J9K: V3teB: goto xZciT; hIoqJ: if ($ye3Wc) { goto N2GM3; } goto tmCDk; LiNZa: Mus_c: goto cTRWV; nEXyy: Qt14k($sqLBk, "volumes.*.is_directory"); goto D157N; MDXWD: foreach ($BKV7W as $Y6q87) { goto EsB9K; ZsPyi: $xK3HO = eTam3($Y6q87, "published"); goto amBoG; S9z_O: if (!is_array($Y6q87)) { goto vTeEx; } goto ZqVti; amBoG: $KHihd = ETam3($Y6q87, "protocol"); goto hNaH9; Y_HLY: vTeEx: goto GWYRl; GWYRl: Ltzzw: goto ZNk1s; JnLkp: $Kt2b7->push($Y6q87); goto bkH16; ZqVti: $kxGki = ETam3($Y6q87, "target"); goto ZsPyi; EsB9K: if (!(is_string($Y6q87) || is_numeric($Y6q87))) { goto oq33M; } goto JnLkp; bkH16: oq33M: goto S9z_O; hNaH9: $Kt2b7->push("{$kxGki}:{$xK3HO}/{$KHihd}"); goto Y_HLY; ZNk1s: } goto PxSkP; QJcHS: dT7lr: goto jKbWA; jKbWA: $YK80S = Y5z61(etAM3($sqLBk, "volumes", [])); goto asemR; fjYfw: $az4Jr = $az4Jr->BSFil(T2cdp(uuid: $XGhPO->GNmoq, domains: $yGwCh, is_force_https_enabled: true, serviceLabels: $az4Jr, is_gzip_enabled: $dxtYC->D5R4Y(), is_stripprefix_enabled: $dxtYC->AmbjK(), service_name: $HXvPo)); goto AtsES; JEbYk: qT14K($sqLBk, "volumes.*.content"); goto p3JFh; VI8bg: PHAJA: goto hIoqJ; krKta: foreach ($lt0sh as $K7HxI => $XPBqo) { $hl85a->PD3ne($XPBqo, null); fdBaO: } goto QhFmk; M3Yqo: if (!($az4Jr->count() > 0)) { goto YhjPq; } goto GohUY; wRD45: $yGwCh = iPy24($dxtYC, forTraefik: true); goto fejiQ; QhFmk: bFcNH: goto ED1Kt; oxjyl: kAxWN: goto alHCu; xnQOO: $dxtYC = qFekk::create(["name" => $HXvPo, "image" => $Y75ac, "service_id" => $XGhPO->id]); goto v3cxQ; fejiQ: y5lJ0: goto RIZsS; asemR: $BKV7W = y5Z61(EtaM3($sqLBk, "ports", [])); goto neGDQ; wOCxl: if ($dxtYC->E7ZsC()) { goto K36Sp; } goto rUcUv; I3v_P: Y9Dzu: goto NoXzx; bR26q: e1SxO: goto Jq50M; g8AP1: goto AHJzF; goto rAKpI; Tya7Q: if (ETAM3($sqLBk, "restart")) { goto kXamD; } goto LAnlz; NoXzx: X1bkF: goto G5tyd; fynTI: $Y75ac = v0jXs($sqLBk, "image"); goto mmlWY; yZeHX: $dxtYC->Gg7PB(); goto THQHK; JY687: foreach ($yNWo2 as $K7HxI => $ImPNN) { goto O_sOY; TVYZK: goto vL6KH; goto ps6uL; ps6uL: mY0Om: goto XNj6S; O_sOY: if (gettype($ImPNN) === "string") { goto mY0Om; } goto lvgw6; uSWzX: vL6KH: goto ErvUL; ErvUL: csdxP: goto bweOn; hHtZj: byab9: goto TVYZK; gM61Y: NWsMo($K7HxI); goto eZnB8; lvgw6: if (!(gettype($ImPNN) === "array")) { goto byab9; } goto gM61Y; XNj6S: $hl85a->pD3ne($ImPNN, null); goto uSWzX; eZnB8: $hl85a->PD3Ne($K7HxI, $ImPNN); goto hHtZj; bweOn: } goto uujZG; QPBWt: if ($apKTz) { goto V3teB; } goto xnQOO; xZciT: $dxtYC = a4_tz::create(["name" => $HXvPo, "image" => $Y75ac, "service_id" => $XGhPO->id]); goto I3v_P; tyKYA: $nq2j6 = $LGWNd->contains(function ($JNWBJ, $N_g25) use($lt0sh) { return $JNWBJ == $lt0sh; }); goto nnnmW; mK7LR: if (!($yNWo2->count() > 0)) { goto BMvsm; } goto bdDfU; TQbA1: $dxtYC = QFEKk::create(["name" => $HXvPo, "image" => $Y75ac, "service_id" => $XGhPO->id]); goto LIKWk; Qgrmp: KSlKY: goto oxjyl; UK16z: $dxtYC = a4_tz::create(["name" => $HXvPo, "image" => $Y75ac, "service_id" => $XGhPO->id]); goto Ycr5B; Qo5sd: $dxtYC = QfekK::aZ7ZA(["name" => $HXvPo, "service_id" => $XGhPO->id])->gSP7K(); goto ZM3pN; UBhYA: }); goto V3_gv; FKwZZ: $RqNAo = Etam3($BrEFC, "version") ?? "3.8"; goto a0Hxv; W2cWD: $oCyLw = y5Z61([]); goto NM1nv; JVO7S: if (!($XGhPO->Z4g9y() === $XGhPO->G3PCK())) { goto XZNzm; } goto wSPSI; l9eRc: $XGhPO->klyf8 = t5Ipo::uRFv_($BrEFC, 10, 2); goto vIrmc; XwI2n: goto L9y8V; goto n1aOl; tnjVn: $QrxkW = $XGhPO->aDgEQ->oz8H3; goto Um0IV; NPyCN: L9y8V: goto HhjYV; GBxwV: if ($Or3em) { goto cATQ6; } goto LhtG3; c76wB: anqZ9: goto NPyCN; Kfi3A: $lt0sh = y5z61(["{$XGhPO->GNmoq}-{$CCcLp}"]); goto wtVDQ; IwTzu: GtqWW: goto tnjVn; NHH5b: ku_87: goto rwbXv; n1aOl: Qb1oQ: goto lefsQ; Um0IV: $oCyLw = Y5Z61(EtaM3($BrEFC, "volumes", [])); goto nfep8; sZWlK: $XGhPO->DWExv = T5iPO::uRfV_($BrEFC, 10, 2); goto NrQaB; NK2mi: $RqNAo = eTAM3($BrEFC, "version") ?? "3.8"; goto T_SvY; EA3p5: $XGhPO->Aa6GZ()->E5LaC($R_Sy6); goto nd9o_; T_SvY: $o6qgk = eTam3($BrEFC, "services"); goto mZEOO; ZkBj6: $jn95F = false; goto JVO7S; v7UD3: $LGWNd = y5Z61(ETAM3($BrEFC, "networks", [])); goto NK2mi; Mz2x0: goto GtqWW; goto lgWIm; rrlUI: Cg31W: goto mNqLA; Icl_P: try { $BrEFC = T5Ipo::f9Vk9($XGhPO->klyf8); } catch (\Exception $wj6ri) { throw new \Exception($wj6ri->getMessage()); } goto IwTzu; mHglc: if ($XGhPO->nUxDp() === "App\Models\Service") { goto Qb1oQ; } goto oJJq0; tFTCg: if ($Or3em) { goto a3KjA; } goto fIOFA; f3wib: goto anqZ9; goto qnbe7; nbRNq: L7R95: goto YwQDp; oQ87t: return Y5Z61($IO7V1); goto bONyF; S2sJ6: if (!$R_Sy6) { goto t4vHt; } goto d3yUc; V3_gv: $IO7V1 = ["version" => $RqNAo, "services" => $o6qgk->toArray(), "volumes" => $oCyLw->toArray(), "networks" => $LGWNd->toArray()]; goto HBJV7; nd9o_: $XGhPO->gg7Pb(); goto AMVog; YDPOj: $Or3em = false; goto lfO41; gexXG: goto L7R95; goto hfzeW; JYHUV: $XGhPO->eegj6(); goto Ep7Az; BjEcz: if (!($CCcLp !== 0)) { goto e5KoF; } goto Kfi3A; bONyF: XKjsi: goto XwI2n; ifYcg: $LGWNd = Y5Z61(eTAM3($BrEFC, "networks", [])); goto FKwZZ; qnbe7: hH7CM: goto YamvT; pSBMm: $R_Sy6 = $XGhPO->oz8H3->m4SL6()->GSP7k(); goto S2sJ6; lgWIm: cATQ6: goto Icl_P; vIrmc: $XGhPO->Zee_9 = t5ipo::URfv_($IO7V1, 10, 2); goto sZWlK; pzH4i: $XGhPO->klyf8 = T5iPo::uRfv_($BrEFC, 10, 2); goto MWFm4; oJJq0: if (!($XGhPO->NuXDP() === "App\Models\Application")) { goto XKjsi; } goto ZkBj6; OLLPs: $gx0ly = KWsFm(); goto roQ0J; NrQaB: $XGhPO->wtzR4 = t5Ipo::urFV_($IO7V1, 10, 2); goto NHH5b; YamvT: try { $BrEFC = T5IpO::F9vk9($XGhPO->DWExv); } catch (\Exception $wj6ri) { throw new \Exception($wj6ri->getMessage()); } goto OLLPs; mZEOO: $P3fDk = y5Z61([]); goto AlrOi; Ep7Az: return Y5Z61($IO7V1); goto c76wB; a0Hxv: $o6qgk = Etam3($BrEFC, "services"); goto GYY3g; e1oFx: $XGhPO->wtzR4 = t5IPO::URFv_($IO7V1, 10, 2); goto Mq0CB; rwbXv: $XGhPO->GG7pB(); goto oQ87t; fIOFA: $XGhPO->DWExv = T5IPo::uRFV_($BrEFC, 10, 2); goto uxs8_; wSPSI: $jn95F = true; goto YDPOj; tdpkQ: $R_Sy6 = $QrxkW->M4sl6()->gSp7K(); goto buj51; wVqI_: u_U7V: goto kX6y1; roQ0J: $oCyLw = Y5z61(ETam3($BrEFC, "volumes", [])); goto ifYcg; uy01A: $o6qgk = y5z61($o6qgk)->IOJF1(function ($sqLBk, $HXvPo) use($oCyLw, $LGWNd, $lt0sh, $ye3Wc, $P3fDk, $XGhPO, $QrxkW, $CCcLp) { goto pgM2v; DQrIl: $hl85a = y5Z61(); goto HE414; JFGXk: $rlr5M = $rlr5M->BSFIL($friua); goto wD06z; yeQXL: if (ETAm3($sqLBk, "restart")) { goto WVCER; } goto vzLcF; wUFJ0: $az4Jr = $az4Jr->BsfIl(VZEIE(network: $XGhPO->aDgEQ->L6j2P, uuid: $JZYoq, domains: $yGwCh, serviceLabels: $az4Jr)); goto EEPpu; mMQdv: $az4Jr = $az4Jr->BsFIL(t2CdP(uuid: $JZYoq, domains: $yGwCh, serviceLabels: $az4Jr)); goto wUFJ0; f4t9q: foreach ($rlr5M as $YlbRl => $cproC) { goto bUX4p; MqRf6: $pM8wQ = null; goto r98eL; bLL6S: wAH8J: goto i0jZo; THU1H: $pM3Ez = qErUd($QrxkW, "{$aGPeR->f4svL()}-{$XGhPO->GNmoq}"); goto uK4fk; YEAb0: $P3fDk->PD3ne($K7HxI->f4svL(), $pM3Ez); goto PnEYC; eSwYr: $MuKG4 = null; goto dhO8w; pT1jx: tOSYw::create(["key" => $K7HxI, "value" => $MuKG4, "is_build_time" => $d0FyW, "application_id" => $XGhPO->id, "is_preview" => false]); goto Kjehh; fOY46: if ($cproC->contains("=")) { goto go9Wb; } goto naLSP; NFPuv: if ($l4v5S) { goto kWV0N; } goto EVRC8; q8x14: goto B05FY; goto Grg9p; lfehk: if ($JNWBJ->contains("-")) { goto C3NMX; } goto nS4bM; r20tK: oqJnm: goto s65oR; Lb9xN: goto Ky2xn; goto taGdt; AjXvv: $K7HxI = $JNWBJ->EJjBo(":"); goto VFj9m; xJp7S: vsFk3: goto AN4gc; iEPiH: $P3fDk->Pd3nE($K7HxI->f4SVl(), $pM3Ez); goto Lb9xN; UFxRF: YgO3X: goto f3u2P; nS4bM: if ($JNWBJ->contains(":?")) { goto ns12z; } goto elaP4; f3u2P: goto PC6PM; goto bLL6S; Rsp6w: $MuKG4 = $JNWBJ->HE3Ao("-"); goto UFxRF; W9y4g: goto nsBc9; goto xskig; Grg9p: j7UwI: goto ufdV0; taGdt: yYevH: goto EDUC4; bhs3X: goto qXaEr; goto OKaVE; ga4T2: if ($JNWBJ->GM42o("SERVICE_")) { goto CGLTR; } goto rHb2H; boLtV: goto vsFk3; goto G2zMd; FG2eZ: bPv78: goto NFPuv; GNfdj: $cproC = QjkC7::XUokA($cproC); goto fOY46; L1cHy: ns12z: goto AjXvv; DDxQm: FB1Qx: goto q8x14; XoREl: if (!$l4v5S) { goto cvm7m; } goto yLqfU; gYhIr: rYSdi: goto YKBye; kLhUW: Ky2xn: goto MZvKV; elaP4: if ($JNWBJ->contains("?")) { goto LDxJj; } goto KnLfY; AN4gc: o2m_G: goto r20tK; LnK5g: if ($ZaRBG?->value() === "FQDN" || $ZaRBG?->value() === "URL") { goto w2sd6; } goto sCjtb; iYEly: $pM3Ez = qjkC7::xuOKa($pM3Ez)->He3AO("://")->f4svl(); goto RilFx; p0o6J: if (is_null($ZaRBG)) { goto oqJnm; } goto LnK5g; SHFdd: if (!$pM8wQ) { goto bPv78; } goto ck9s_; naLSP: $K7HxI = $cproC; goto SKBKA; gM_Nv: t5D_k: goto SHFdd; eHplu: $aGPeR = $K7HxI->He3Ao("SERVICE_FQDN_")->p5jAS("_")->oc8LC(); goto THU1H; B2CCV: LDxJj: goto xO3VV; OXI6p: $K7HxI = $cproC->ejJBo("="); goto EEXrr; sCjtb: $EGpTm = vSogN($ZaRBG); goto ho2l3; a6Rd0: cB763: goto Ayg7V; SKBKA: $JNWBJ = null; goto IFnDq; lpaX7: $pM3Ez = Etam3($l4v5S, "value"); goto xJp7S; Fsb21: goto o2m_G; goto hUft7; emt8e: $JNWBJ = QjKc7::XUokA(YgFkP($JNWBJ)); goto qiCxw; bUX4p: if (is_numeric($YlbRl)) { goto UOC1N; } goto zsnVr; lrfqh: if (!$ye3Wc) { goto FB1Qx; } goto eHplu; eooiy: $MuKG4 = $JNWBJ->he3aO(":-"); goto Kp1f2; YKBye: B05FY: goto hPXVU; rHb2H: if ($JNWBJ->contains(":-")) { goto wAH8J; } goto lfehk; V2nW0: CxXRF: goto mwl3y; KnLfY: $K7HxI = $JNWBJ; goto eSwYr; sxh3I: if (!(substr_count($K7HxI->F4sVl(), "_") >= 2)) { goto TA9B6; } goto Uen2J; xskig: CGLTR: goto PW1Hv; FXrLn: O8KEc: goto Fsb21; tNEli: if (!$K7HxI->GM42o("SERVICE_FQDN")) { goto j7UwI; } goto lrfqh; ho2l3: if ($l4v5S) { goto O8KEc; } goto B4OBl; s65oR: nsBc9: goto gYhIr; sQBiy: tOSyw::create(["key" => $K7HxI, "value" => $pM3Ez, "is_build_time" => false, "application_id" => $XGhPO->id, "is_preview" => false]); goto boLtV; dhO8w: goto U_Vlj; goto B2CCV; cqlEt: $l4v5S = tOSyW::Az7Za(["key" => $K7HxI, "application_id" => $XGhPO->id, "is_preview" => false])->Gsp7k(); goto emt8e; E0LbJ: $aMDR1 = $JNWBJ->F4svL(); goto R6dtO; ufdV0: if (!$JNWBJ?->startsWith("$")) { goto rYSdi; } goto cqlEt; zsnVr: $K7HxI = QjKc7::XUOKa($YlbRl); goto zmrM6; mS0GU: C3NMX: goto KHr2B; pFUiK: if ($l4v5S) { goto hivLB; } goto pT1jx; Kp1f2: PC6PM: goto VDJNR; Uen2J: if ($JNWBJ) { goto QDmhw; } goto ge90U; cRzWM: QDmhw: goto E0LbJ; EEXrr: $JNWBJ = $cproC->HE3AO("="); goto uIvoq; zmrM6: $JNWBJ = qJkc7::xUOka($cproC); goto bhs3X; B4OBl: toSYw::create(["key" => $K7HxI, "value" => $EGpTm, "is_build_time" => false, "application_id" => $XGhPO->id, "is_preview" => false]); goto FXrLn; PW1Hv: $l4v5S = ToSyw::az7zA(["key" => $K7HxI, "application_id" => $XGhPO->id])->gSP7k(); goto fRBcR; YY9CK: $MuKG4 = $JNWBJ->HE3aO("?"); goto lHuDy; A5OYE: $d0FyW = Etam3($l4v5S, "is_build_time", false); goto pFUiK; SsUC6: NwSmo($ZaRBG, $EGpTm); goto p0o6J; r9i3N: goto cB763; goto L1cHy; tiZfU: cvm7m: goto A5OYE; KHr2B: $K7HxI = $JNWBJ->eJjBO("-"); goto Rsp6w; GTYwz: $pM3Ez = "{$pM3Ez}{$aMDR1}"; goto Hxu9D; hUft7: w2sd6: goto qOYKo; PnEYC: goto WNtle; goto cu2Ih; MZvKV: WNtle: goto GTYwz; Hxu9D: TA9B6: goto DDxQm; kp9KM: hivLB: goto qSy0d; qSy0d: $l4v5S->update(["key" => $K7HxI, "application_id" => $XGhPO->id, "is_build_time" => $d0FyW, "value" => $MuKG4]); goto ptaMS; ydpEJ: if (!$pM8wQ) { goto L1u1W; } goto Q0Yk4; v6xkd: $U5YYR = $P3fDk->KbeH5($K7HxI->F4SvL()); goto kCPoU; fRBcR: ["command" => $ZaRBG, "forService" => $RXmWj, "generatedValue" => $EGpTm, "port" => $pM8wQ] = PS2Do($JNWBJ); goto SsUC6; Ayg7V: goto YgO3X; goto mS0GU; mwl3y: $pM3Ez = QeRuD($QrxkW, $n81lu); goto gM_Nv; EDUC4: $pM3Ez = $P3fDk->get($K7HxI->F4SVL()); goto kLhUW; R6dtO: AGMP8: goto e16QG; VDJNR: $l4v5S = ToSyW::aZ7ZA(["key" => $K7HxI, "application_id" => $XGhPO->id, "is_preview" => false])->GsP7k(); goto XoREl; uIvoq: YhGR1: goto xsJzs; G2zMd: kWV0N: goto lpaX7; cu2Ih: iRWYb: goto v6xkd; Q0Yk4: $pM3Ez = "{$pM3Ez}:{$pM8wQ}"; goto yjY1_; RilFx: FK3iQ: goto sQBiy; ptaMS: Y0Y6z: goto W9y4g; EVRC8: if (!($ZaRBG?->value() === "URL")) { goto FK3iQ; } goto iYEly; IFnDq: goto YhGR1; goto v4M9F; xsJzs: qXaEr: goto tNEli; e16QG: if ($P3fDk->count() > 0) { goto iRWYb; } goto YEAb0; i0jZo: $K7HxI = $JNWBJ->Ejjbo(":"); goto eooiy; uK4fk: if (substr_count($K7HxI->f4svl(), "_") === 3) { goto eSwhH; } goto MqRf6; VFj9m: $MuKG4 = $JNWBJ->hE3AO(":?"); goto a6Rd0; ck9s_: $pM3Ez = "{$pM3Ez}:{$pM8wQ}"; goto FG2eZ; RVMgR: eSwhH: goto fqj1H; OKaVE: UOC1N: goto GNfdj; v4M9F: go9Wb: goto OXI6p; ge90U: $aMDR1 = null; goto ljbmo; r98eL: goto fl5X_; goto RVMgR; ljbmo: goto AGMP8; goto cRzWM; kCPoU: if ($U5YYR) { goto yYevH; } goto iEPiH; PuzX6: goto t5D_k; goto V2nW0; lHuDy: U_Vlj: goto r9i3N; qOYKo: if (Qjkc7::oc8LC($RXmWj) === $HXvPo) { goto CxXRF; } goto qBbYP; xO3VV: $K7HxI = $JNWBJ->EjJbO("?"); goto YY9CK; pLK0j: fl5X_: goto ydpEJ; qBbYP: $pM3Ez = QeRuD($QrxkW, QJKc7::oc8LC($RXmWj) . "-" . $XGhPO->GNmoq); goto PuzX6; qiCxw: $K7HxI = $JNWBJ; goto ga4T2; yjY1_: L1u1W: goto sxh3I; Kjehh: goto Y0Y6z; goto kp9KM; yLqfU: $MuKG4 = etAm3($l4v5S, "value"); goto tiZfU; fqj1H: $pM8wQ = $K7HxI->Md516("_"); goto pLK0j; hPXVU: } goto neusn; YJHUG: foreach ($lt0sh as $XPBqo) { goto C240I; iFQdh: QKY2Q: goto IPHlS; DjVgr: c9GD_: goto iFQdh; w_0Se: $LGWNd->pd3nE($XPBqo, ["name" => $XPBqo, "external" => true]); goto DjVgr; smwjV: EOzqI: goto w_0Se; C240I: if ($CCcLp !== 0) { goto EOzqI; } goto zzqb2; NPO1N: goto c9GD_; goto smwjV; zzqb2: $LGWNd->pd3ne($XPBqo, ["name" => $XPBqo, "external" => true]); goto NPO1N; IPHlS: } goto Qju3I; bWJPo: $yGwCh = etAm3($TJc33, "{$HXvPo}.domain"); goto DnbCk; DOmKm: if (!($BKV7W->count() > 0)) { goto sNJN7; } goto xgUt_; Q_n14: $dDbVE = QHzYe($XGhPO->id, $n81lu, $CCcLp, type: "application"); goto ndCSq; EPrVb: $apKTz = fU9ct(v0JXs($sqLBk, "image")); goto Cy615; vzLcF: NF48a($sqLBk, "restart", tCLUM); goto DYz3w; InyNU: kkAfj: goto EPrVb; kv6Nw: $yNWo2 = Y5z61(EtaM3($sqLBk, "networks", [])); goto nSrR1; EEPpu: rhCfd: goto AMEpz; fUGwu: if (!$TJc33) { goto k5S5l; } goto bWJPo; zdklF: Nf48A($sqLBk, "container_name", $n81lu); goto IS0rL; icmiq: $az4Jr = $az4Jr->filter(function ($RsAit, $E6mRl) use($I4by5) { goto TN2Cq; hYUj3: return $RsAit; goto QXvUd; TN2Cq: if (oySMt($RsAit)->contains("=")) { goto rRCi4; } goto VhJQW; VhJQW: $I4by5->PD3ne($E6mRl, $RsAit); goto eEfYH; Njb4s: rRCi4: goto hYUj3; eEfYH: return false; goto Njb4s; QXvUd: }); goto xX0dL; Rnd3z: $nq2j6 = $LGWNd->contains(function ($JNWBJ, $N_g25) use($lt0sh) { return $JNWBJ == $lt0sh; }); goto b_nrA; FAHEP: bSdy5: goto SBjGS; nAbsh: iSzEk: goto UirI1; UirI1: $d4tQT = iBKvW($XGhPO, $CCcLp); goto IJoNn; A7FQK: $yGwCh = oYsmT($yGwCh)->explode(","); goto LKirT; nSrR1: $rlr5M = Y5z61(etAM3($sqLBk, "environment", [])); goto c48tv; WSJ2y: Lf7tc: goto nAbsh; jRjK_: NquTs: goto kSeIs; j8olv: $TJc33 = y5Z61(json_decode($XGhPO->TgfHu)) ?? []; goto fUGwu; SBjGS: $Kt2b7 = Y5Z61([]); goto DOmKm; ZL4nK: return $sqLBk; goto GtA1Y; HE414: foreach ($yNWo2 as $K7HxI => $ImPNN) { goto palCf; yRvca: $hl85a->pd3nE($ImPNN, null); goto rdg04; ei2E4: goto BDxbw; goto DWFn_; rzF4l: if (!(gettype($ImPNN) === "array")) { goto yZzWU; } goto d6bjZ; d6bjZ: $hl85a->pd3nE($K7HxI, $ImPNN); goto Vjsof; DWFn_: tyD05: goto yRvca; palCf: if (gettype($ImPNN) === "string") { goto tyD05; } goto rzF4l; Vjsof: yZzWU: goto ei2E4; rdg04: BDxbw: goto phq1g; phq1g: kNLl4: goto jCJie; jCJie: } goto jRjK_; Cy615: Nf48a($sqLBk, "is_database", $apKTz); goto qlMRa; hZimu: RK12_: goto knemI; DnbCk: if (!$yGwCh) { goto rhCfd; } goto A7FQK; AZvE1: ZHPU3: goto FAHEP; PXL2z: if (!(count($YK80S) > 0)) { goto kkAfj; } goto pGCtF; epasj: $yGwCh = $yGwCh->IOjf1(function ($pM3Ez) use($CCcLp, $XGhPO) { goto C0klQ; uR1Jt: return $UC7Zp; goto lzb5U; eg2xr: $wztZq = new Ki8JW(7); goto G_nDM; C0klQ: $hzHbE = sNN2u::CtOCl($XGhPO->id, $CCcLp); goto zFpui; ty4bA: $UC7Zp = "{$QvfMf}://{$UC7Zp}"; goto sL_Gi; KHHv7: $CVjma = $PS4FS->qM15A(); goto pm03S; anox_: $UC7Zp = str_replace("{{pr_id}}", $CCcLp, $UC7Zp); goto ty4bA; vmsyM: $qKgFD = $XGhPO->ZaPKQ; goto KHHv7; G_nDM: $UC7Zp = str_replace("{{random}}", $wztZq, $qKgFD); goto Cdfnu; sL_Gi: $hzHbE->tCD9y = $UC7Zp; goto KwunA; KwunA: $hzHbE->gG7Pb(); goto uR1Jt; Cdfnu: $UC7Zp = str_replace("{{domain}}", $CVjma, $UC7Zp); goto anox_; zFpui: $PS4FS = TjUUC::qGBPH($pM3Ez); goto vmsyM; pm03S: $QvfMf = $PS4FS->RdnxG(); goto eg2xr; lzb5U: }); goto xrSSJ; c48tv: $az4Jr = Y5Z61(eTAm3($sqLBk, "labels", [])); goto ahmJt; IS0rL: QT14k($sqLBk, "volumes.*.content"); goto Mf9iM; Mf9iM: qT14K($sqLBk, "volumes.*.isDirectory"); goto ZL4nK; pGCtF: $YK80S = $YK80S->IOJf1(function ($pHdqr) use($XGhPO, $oCyLw, $CCcLp) { goto jhd9p; nayTF: lQleg: goto ZJH2n; uXHrE: if (oYSmT($fKwHr)->Gm42o("/")) { goto jiO7Y; } goto pIjGg; SOlIT: zADKb: goto vl0JU; oPi7G: $oCyLw->pD3NE($aGPeR->F4svl(), ["name" => $aGPeR->F4svl()]); goto BssD5; djEQD: eRBRm: goto uXHrE; Y9HfL: $pHdqr = oySMt("{$aGPeR}:{$qk_HI}"); goto xH_JF; YvRYp: b1pMD: goto y9DGq; yEh8e: jiO7Y: goto am08T; y9DGq: goto nclig; goto nayTF; c8ZkK: if ($aGPeR->gm42O(".") || $aGPeR->gM42O("~")) { goto LJCtq; } goto os5Hi; DO2EW: FCcjY: goto Y9HfL; jtstu: $aGPeR = $aGPeR . "-pr-{$CCcLp}"; goto jVHbm; zR6Gp: Nf48A($pHdqr, "source", $fKwHr . ":" . $kxGki . ":ro"); goto b23om; SVXUl: if (!($CCcLp !== 0)) { goto MAlzK; } goto mqN1_; i_cUC: cjjQp: goto GPkzA; nzISm: $pHdqr = OYsMT($pHdqr); goto udwHo; p7O6n: if (!($CCcLp !== 0)) { goto ofYMF; } goto NuIsf; DUJl_: cYm_x: goto oeAgt; aUM5h: WZkDh: goto VwwTg; cngSm: $aGPeR = $pHdqr->ejjbO(":"); goto rlur1; Y0Ofp: goto O3Vhs; goto IVnNP; vGsVM: $fKwHr = EtAm3($pHdqr, "source"); goto b38tm; EnFWE: Pu3al: goto dh3VP; oeAgt: if (!($CCcLp !== 0)) { goto FCcjY; } goto wS83B; vl0JU: Nf48A($pHdqr, "source", $fKwHr . ":" . $kxGki . ":ro"); goto djEQD; tknZI: MAlzK: goto KyFdB; Us32n: $oCyLw->pD3NE($aGPeR, ["name" => $aGPeR]); goto WdMwk; FswnR: return $pHdqr->F4SvL(); goto hvzeN; jK2Mn: A3O3F: goto YPBtc; HYgz0: goto eRBRm; goto SOlIT; gc2dp: if (!$aGPeR->gm42o(".")) { goto i1z35; } goto tx_JW; NuIsf: $fKwHr = $fKwHr . "-pr-{$CCcLp}"; goto xeIc6; mNaZ1: $fKwHr = oysmT($fKwHr)->enOEV(".", $Gxud1); goto NOTmi; KEfjT: goto vk7I5; goto noHR7; jhd9p: if (is_string($pHdqr)) { goto dT2vV; } goto c3gS7; c3gS7: if (!is_array($pHdqr)) { goto Pu3al; } goto vGsVM; wS83B: $aGPeR = $aGPeR . "-pr-{$CCcLp}"; goto DO2EW; vmU29: if (!oySmt($fKwHr, ".")) { goto UGc3K; } goto mNaZ1; in3fa: $g3CCe = EtAM3($pHdqr, "read_only"); goto yz1lN; CwF6a: if ($g3CCe) { goto MOdcE; } goto EtLC5; GPkzA: kLfcm: goto EnFWE; IVnNP: MOdcE: goto zR6Gp; udwHo: if ($pHdqr->contains(":") && !$pHdqr->Gm42O("/")) { goto lQleg; } goto BkF35; tx_JW: $aGPeR = $aGPeR->ENoEv(".", $Gxud1); goto Cn5fT; ASSFt: i7oLY: goto CwF6a; ykJMg: if (OYSmT($fKwHr)->gM42o(".") || OySmt($fKwHr)->Gm42O("~")) { goto WZkDh; } goto p7O6n; LTMJs: return ETaM3($pHdqr, "source"); goto reGmz; xeIc6: ofYMF: goto Frnej; noHR7: LJCtq: goto sb7e5; QYYqQ: if (!oySmT($fKwHr, "~")) { goto cGyZZ; } goto EgaVL; uYnEW: $aGPeR = $aGPeR->eNoev("~", $Gxud1); goto DUJl_; am08T: goto cjjQp; goto aUM5h; rlur1: $qk_HI = $pHdqr->hE3AO(":"); goto SVXUl; os5Hi: if ($CCcLp !== 0) { goto LcXa5; } goto oPi7G; jVHbm: $pHdqr = oYsMT("{$aGPeR}:{$qk_HI}"); goto Us32n; kcIsx: cGyZZ: goto SQZcO; b38tm: $kxGki = ETAM3($pHdqr, "target"); goto in3fa; i_Zfb: nclig: goto jK2Mn; BkF35: if (!$pHdqr->gm42o("/")) { goto b1pMD; } goto cngSm; sb7e5: $Gxud1 = PQKaR() . "/applications/" . $XGhPO->GNmoq; goto gc2dp; EtLC5: NF48A($pHdqr, "source", $fKwHr . ":" . $kxGki); goto Y0Ofp; EgaVL: $fKwHr = OySmt($fKwHr)->EnOEv("~", $Gxud1); goto kcIsx; VwwTg: $Gxud1 = PQKaR() . "/applications/" . $XGhPO->GNmoq; goto vmU29; BssD5: goto ArMr0; goto gOrYr; mqN1_: $aGPeR = $aGPeR . "-pr-{$CCcLp}"; goto tknZI; SQZcO: if (!($CCcLp !== 0)) { goto i7oLY; } goto qeOeo; yz1lN: if (!($fKwHr && $kxGki)) { goto kLfcm; } goto ykJMg; yydT4: if (!$aGPeR->gm42O("~")) { goto cYm_x; } goto uYnEW; KyFdB: $pHdqr = oySmt("{$aGPeR}:{$qk_HI}"); goto YvRYp; YPBtc: if (!is_array($pHdqr)) { goto p2Wmq; } goto LTMJs; Cn5fT: i1z35: goto yydT4; NOTmi: UGc3K: goto QYYqQ; qwKBF: nf48A($pHdqr, "source", $fKwHr . ":" . $kxGki); goto HYgz0; gOrYr: LcXa5: goto jtstu; WdMwk: ArMr0: goto KEfjT; Frnej: if ($g3CCe) { goto zADKb; } goto qwKBF; Jayoa: dT2vV: goto nzISm; reGmz: p2Wmq: goto FswnR; ZJH2n: $aGPeR = $pHdqr->EJjbo(":"); goto R69RM; dh3VP: goto A3O3F; goto Jayoa; pIjGg: $oCyLw->Pd3NE($fKwHr, ["name" => $fKwHr]); goto yEh8e; R69RM: $qk_HI = $pHdqr->hE3Ao(":"); goto c8ZkK; b23om: O3Vhs: goto i_cUC; xH_JF: vk7I5: goto i_Zfb; qeOeo: $fKwHr = $fKwHr . "-pr-{$CCcLp}"; goto ASSFt; hvzeN: }); goto Qjwdg; b_nrA: if ($nq2j6) { goto F37Ha; } goto YJHUG; Qju3I: M59Zg: goto u4IWw; ITkcO: nf48A($sqLBk, "logging", ["driver" => "fluentd", "options" => ["fluentd-address" => "tcp://127.0.0.1:24224", "fluentd-async" => "true", "fluentd-sub-second-precision" => "true"]]); goto hUeAX; sfw8Z: FwPzO: goto Rnd3z; KPTBI: NF48a($sqLBk, "labels", $az4Jr->toArray()); goto MKgIH; neusn: ljc4A: goto r4fvo; kBbre: $I4by5 = Y5Z61([]); goto icmiq; xX0dL: foreach ($I4by5 as $kVavE => $NeDSM) { $az4Jr->push("{$kVavE}={$NeDSM}"); XsjQf: } goto WSJ2y; I4N0L: foreach ($yNWo2 as $TliIR => $mhwam) { goto OIOGT; oPi0W: XZDKx: goto CKym3; SBgf4: if ($U57N4) { goto XZDKx; } goto zmsPz; CKym3: A2sqS: goto jgXgj; OIOGT: $U57N4 = $LGWNd->contains(function ($JNWBJ, $K7HxI) use($TliIR) { return $JNWBJ == $TliIR || $K7HxI == $TliIR; }); goto SBgf4; zmsPz: $LGWNd->pd3NE($mhwam, null); goto oPi0W; jgXgj: } goto AZvE1; hUeAX: Br9Qb: goto KPTBI; xgUt_: foreach ($BKV7W as $Y6q87) { goto uLMbr; pW9HP: HKwG2: goto NwtgC; n0bPg: yQsLs: goto jfRzG; xUx38: $KHihd = EtAM3($Y6q87, "protocol"); goto pZOXF; KrECE: $xK3HO = EtAM3($Y6q87, "published"); goto xUx38; pZOXF: $Kt2b7->push("{$kxGki}:{$xK3HO}/{$KHihd}"); goto pW9HP; NwtgC: YoVMI: goto PPcQB; FZ0vA: $kxGki = eTaM3($Y6q87, "target"); goto KrECE; uLMbr: if (!(is_string($Y6q87) || is_numeric($Y6q87))) { goto yQsLs; } goto OoKVe; jfRzG: if (!is_array($Y6q87)) { goto HKwG2; } goto FZ0vA; OoKVe: $Kt2b7->push($Y6q87); goto n0bPg; PPcQB: } goto gw6Dn; LKirT: $JZYoq = new ki8jw(7); goto Zk7ux; qlMRa: if (!($yNWo2->count() > 0)) { goto bSdy5; } goto I4N0L; Qjwdg: nF48a($sqLBk, "volumes", $YK80S->toArray()); goto InyNU; RADRx: sNJN7: goto r8Gui; ahmJt: $friua = Y5z61(etam3($sqLBk, "build.args", [])); goto JFGXk; Zk7ux: if (!($CCcLp !== 0)) { goto OauFw; } goto epasj; DYz3w: WVCER: goto zdklF; mZveA: if (!($QrxkW->Wlbv4() && $XGhPO->wlbV4())) { goto Br9Qb; } goto ITkcO; AUr0T: goto iwbb0; goto hZimu; r8Gui: if (!($Kt2b7->count() > 0)) { goto FwPzO; } goto sfw8Z; gw6Dn: mBi8V: goto RADRx; xrSSJ: OauFw: goto mMQdv; AMEpz: k5S5l: goto AUr0T; cfalG: iwbb0: goto Q_n14; YC3U6: $BKV7W = Y5Z61(etAM3($sqLBk, "ports", [])); goto kv6Nw; u4IWw: F37Ha: goto DQrIl; MKgIH: qT14K($sqLBk, "is_database"); goto yeQXL; knemI: $yGwCh = IPY24($XGhPO, forTraefik: true); goto cfalG; kSeIs: foreach ($lt0sh as $K7HxI => $XPBqo) { $hl85a->pD3NE($XPBqo, null); d5QOD: } goto Rcv89; IJoNn: $n81lu = "{$HXvPo}-{$d4tQT}"; goto PXL2z; r4fvo: if ($XGhPO->E7zsC()) { goto RK12_; } goto j8olv; pgM2v: $YK80S = y5z61(EtaM3($sqLBk, "volumes", [])); goto YC3U6; HsMKS: nf48A($sqLBk, "networks", $hl85a->toArray()); goto f4t9q; wD06z: if (!($az4Jr->count() > 0)) { goto iSzEk; } goto kBbre; ndCSq: $az4Jr = $az4Jr->bsFiL($dDbVE); goto mZveA; Rcv89: qf_AR: goto HsMKS; GtA1Y: }); goto UIHqm; HhjYV: } goto sFsUY; sFsUY: function Ps2Do(Str|string $JNWBJ) { goto yjet2; mGf8r: if ($JNWBJ->GM42O("SERVICE_FQDN") || $JNWBJ->Gm42o("SERVICE_URL")) { goto eRDu3; } goto tY56b; Q1z1w: tsEWU: goto qT6x1; Oy07T: $pM8wQ = null; goto XSZAE; GnuxB: if (!($X_EHm === 2)) { goto LXPqO; } goto mGf8r; JY3u9: $EGpTm = null; goto ld56Z; fXZEB: $RXmWj = $JNWBJ->he3aO("SERVICE_")->he3Ao("_")->EJjBo("_"); goto m2utQ; bDhIv: $ZaRBG = null; goto lks7u; H1ZYs: if (!($X_EHm === 3)) { goto Gi5Ne; } goto oshDs; rHVhX: goto fzcI1; goto Q1z1w; rNZHT: if (!(filter_var($pM8wQ, FILTER_VALIDATE_INT) === false)) { goto u_s_G; } goto Oy07T; XSZAE: u_s_G: goto j1ePL; oshDs: if ($JNWBJ->gm42O("SERVICE_FQDN") || $JNWBJ->Gm42O("SERVICE_URL")) { goto tsEWU; } goto Q8GZZ; vX0KJ: LXPqO: goto H1ZYs; yjet2: $JNWBJ = oYSMT($JNWBJ); goto ykuJk; ZPD7J: return ["command" => $ZaRBG, "forService" => $RXmWj, "generatedValue" => $EGpTm, "port" => $pM8wQ]; goto cwt9l; j1ePL: fzcI1: goto nKmaR; tY56b: $ZaRBG = $JNWBJ->HE3AO("SERVICE_")->P5jAs("_"); goto q7wb5; bF72X: wC5M3: goto ZPD7J; q7wb5: goto CLBGj; goto bFuqh; qT6x1: $ZaRBG = $JNWBJ->he3aO("SERVICE_")->ejJBO("_"); goto fXZEB; nKmaR: Gi5Ne: goto bF72X; UQwN_: $ZaRBG = $JNWBJ->HE3AO("SERVICE_")->P5jas("_"); goto KHVG9; BbF4d: if (!$JNWBJ->Gm42o("SERVICE")) { goto wC5M3; } goto GnuxB; lks7u: $RXmWj = null; goto JY3u9; bFuqh: eRDu3: goto UQwN_; WXQjc: CLBGj: goto vX0KJ; Q8GZZ: $ZaRBG = $JNWBJ->hE3AO("SERVICE_")->p5Jas("_"); goto rHVhX; m2utQ: $pM8wQ = $JNWBJ->mD516("_"); goto rNZHT; ld56Z: $pM8wQ = null; goto BbF4d; ykuJk: $X_EHm = substr_count($JNWBJ->f4sVl(), "_"); goto bDhIv; KHVG9: $RXmWj = $JNWBJ->md516("_"); goto WXQjc; cwt9l: } goto BcsCC; V9xGL: function HmSUA($fwrm3) { goto QL727; yDV_U: if (!(EtAM3($fwrm3, "smtp_enabled") || eTam3($fwrm3, "resend_enabled") && WoHQx()->eKA8c()->m5Rbz())) { goto LL4um; } goto qH12y; QL727: if (eTaM3($fwrm3, "use_instance_email_settings") && RyLP1()) { goto HNQAX; } goto yDV_U; q29lM: goto bSElE; goto VONTb; OlLgi: bSElE: goto ELI7X; VONTb: HNQAX: goto OYRzh; qH12y: return true; goto nt0ld; OYRzh: return true; goto OlLgi; ELI7X: return false; goto BEEqn; nt0ld: LL4um: goto q29lM; BEEqn: } goto TeE7N; RID_i: function t4WGQ() : string { return pQkAR() . "/applications"; } goto WHM1v; ZJDTM: function l2cJe($lF7I3) { goto AUDMS; atsY1: foreach ($kvuA1 as $Anxj5) { goto UXO2P; XA9C8: $cFr20 = strpos($Anxj5, "="); goto Bc4RL; aVjgG: $K7HxI = substr($Anxj5, 0, $cFr20); goto T8APc; Qah67: goto fvTkR; goto Ga8E0; T8APc: $JNWBJ = substr($Anxj5, $cFr20 + 1); goto bKr29; PAAgR: EPzTx: goto aMlub; l3jvj: fvTkR: goto LvvET; UXO2P: if (!($Anxj5 === '' || substr($Anxj5, 0, 1) === "#")) { goto A29yG; } goto XY6uS; Vbg1O: if (substr($JNWBJ, 0, 1) === "'" && substr($JNWBJ, -1) === "'") { goto Bc2Nd; } goto jvOLA; aMlub: $JNWBJ = substr($JNWBJ, 1, -1); goto Qah67; Ga8E0: Bc2Nd: goto bpPdw; Zd9ck: X7WQk: goto U6KnI; Bc4RL: if (!($cFr20 !== false)) { goto X7WQk; } goto aVjgG; XY6uS: goto N29hS; goto fWBsu; bpPdw: $JNWBJ = substr($JNWBJ, 1, -1); goto l3jvj; bKr29: if (substr($JNWBJ, 0, 1) === """ && substr($JNWBJ, -1) === """) { goto EPzTx; } goto Vbg1O; U6KnI: N29hS: goto fibQW; LvvET: $QJTMg[$K7HxI] = $JNWBJ; goto Zd9ck; fWBsu: A29yG: goto XA9C8; jvOLA: goto fvTkR; goto PAAgR; fibQW: } goto ICNq8; Wi971: return $QJTMg; goto MnlL8; ICNq8: hfg0h: goto Wi971; AUDMS: $QJTMg = array(); goto MgLMj; MgLMj: $kvuA1 = explode(" ", $lF7I3); goto atsY1; MnlL8: } goto mihFY; l8izd: function ed2HB(bool $Dvbur = true) : string { goto USYqn; U0SnJ: return "http://localhost:{$pM8wQ}"; goto iTvRE; xEXnf: return $vdhbQ->tCD9y; goto rvq58; nVBWn: BUivd: goto KA7iU; vQLGg: if (!$Dvbur) { goto diH5O; } goto P_NRf; rvq58: sEOve: goto IqPkY; LC5FA: if (!$vdhbQ->xtcMK) { goto weZV5; } goto vQLGg; a7LFa: return "http://{$vdhbQ->xtcMK}"; goto dycJA; USYqn: $vdhbQ = bIvAf::get(); goto GZNTy; D1Xte: return "http://{$vdhbQ->IVPOf}:{$pM8wQ}"; goto nVBWn; iTvRE: YfSr8: goto K_ROO; VxR50: if (!$Dvbur) { goto BUivd; } goto D1Xte; nmaEO: PVZeQ: goto uJosC; uJosC: return tysXx("/"); goto bWZro; dycJA: weZV5: goto hnA3y; WgM21: jb_Uv: goto a7LFa; jCuOL: diH5O: goto kH1JU; KA7iU: return "http://{$vdhbQ->IVPOf}"; goto nmaEO; kH1JU: if (!SWvd9()) { goto jb_Uv; } goto TSIug; IqPkY: $pM8wQ = NG9tt("app.port"); goto LC5FA; GZNTy: if (!$vdhbQ->tCD9y) { goto sEOve; } goto xEXnf; TSIug: return "http://localhost"; goto WgM21; hnA3y: if (!$vdhbQ->IVPOf) { goto PVZeQ; } goto VxR50; K_ROO: return "http://{$vdhbQ->xtcMK}:{$pM8wQ}"; goto jCuOL; P_NRf: if (!sWvd9()) { goto YfSr8; } goto U0SnJ; bWZro: } goto uC11a; uuScq: function p2Gqs(string $Xnqmc) : void { try { $qjLws = kAqZz::xE8mK(0); $qjLws?->notify(new S5JWr($Xnqmc)); } catch (\Throwable $wj6ri) { NwSMO($wj6ri->getMessage()); } } goto Sxt24; uC11a: function baxl0() { return xTVdA() || wohQx()->ekA8C()->tymly(); } goto yAYsT; yAYsT: function swvD9() : bool { return nG9tT("app.env") === "local"; } goto AfSXy; VhNtr: function HpcPy(string $JZYoq) { goto OZpU8; OZpU8: $XGhPO = null; goto pLk6h; uzXQ8: $h4evH = bM9Sb::gymuK($JZYoq)->GsP7K(); goto gUnzB; vS0XC: if (!$ikikH) { goto IPhyN; } goto MQCQP; IkJ08: ObURP: goto IutOA; ifzhd: IPhyN: goto muoO2; pLB44: return $X1QE5; goto uihX3; ilyIR: $n4Hfm = iTQmG::GymUK($JZYoq)->gSp7K(); goto NiUWD; Whz10: if (!$vf4On) { goto YjXzX; } goto kxYDN; O17jN: YjXzX: goto ilyIR; FRmLd: Agfe4: goto uzXQ8; IutOA: $X1QE5 = YuFmG::GYmuK($JZYoq)->gSp7k(); goto aBz93; t9jLp: if (!$iDd1X) { goto M0iuD; } goto yXVtE; Z_MKk: if (!$sqLBk) { goto Agfe4; } goto o08cK; XmjPC: $ikikH = GBvwo::gYMUK($JZYoq)->gSp7K(); goto vS0XC; yXVtE: return $iDd1X; goto ANe6R; o08cK: return $sqLBk; goto FRmLd; RF3eE: $sqLBk = T8St5::GyMuk($JZYoq)->gsp7k(); goto Z_MKk; muoO2: return $XGhPO; goto w13sc; agcn4: return $h4evH; goto IkJ08; ANe6R: M0iuD: goto RF3eE; whK9v: RMTSv: goto XmjPC; aBz93: if (!$X1QE5) { goto eKofr; } goto pLB44; NiUWD: if (!$n4Hfm) { goto RMTSv; } goto EtD1E; EtD1E: return $n4Hfm; goto whK9v; uihX3: eKofr: goto AmAqO; MQCQP: return $ikikH; goto ifzhd; pLk6h: $iDd1X = c8L9G::gYmUK($JZYoq)->gsP7K(); goto t9jLp; kxYDN: return $vf4On; goto O17jN; gUnzB: if (!$h4evH) { goto ObURP; } goto agcn4; AmAqO: $vf4On = LTyoq::GymUk($JZYoq)->GSP7K(); goto Whz10; w13sc: } goto UKb6D; FEz5W: function wTsrF(?Team $qjLws = null) : void { goto zBM0d; Xo4te: L3Nr2::gUpX_("team:" . WOHqx()->ekA8c()->id); goto WVvGu; QOF_K: if (wOhqx()->EkA8C()?->currentTeam()) { goto DBYzl; } goto PXvqD; PY0pF: DBYzl: goto sYdcG; zBM0d: if ($qjLws) { goto V_na_; } goto QOF_K; e1ng9: au3to(["currentTeam" => $qjLws]); goto I2Boo; hWtkF: V_na_: goto Xo4te; sYdcG: $qjLws = kAQzZ::Xe8MK(WohQX()->Eka8c()->siFXX()->id); goto tl5dV; PXvqD: $qjLws = DDy8A::xE8MK(wohqX()->ekA8C()->id)->SDo0z->gsp7k(); goto uzbr3; WVvGu: L3nr2::TNd6G("team:" . WOHQX()->EkA8C()->id, 3600, function () use($qjLws) { return $qjLws; }); goto e1ng9; uzbr3: goto C28r2; goto PY0pF; tl5dV: C28r2: goto hWtkF; I2Boo: } goto B8OiE; WHM1v: function EuJYo() : string { return PqkaR() . "/services"; } goto RRMkt; jdTtw: function QiZ8r(InstanceSettings|null $vdhbQ = null) : string|null { goto oHq5N; LVYbC: if (!eTAm3($vdhbQ, "smtp_enabled")) { goto mPA4W; } goto l11t5; Q8L1f: Ng9Tt()->set("mail.from.address", EtAm3($vdhbQ, "smtp_from_address")); goto CilVn; liDN4: mPA4W: goto suF99; lN8ig: return "resend"; goto lCIQN; NDklT: return "smtp"; goto liDN4; suF99: return null; goto y7gQ7; oHq5N: if ($vdhbQ) { goto YZ9Eu; } goto x0m0U; x0m0U: $vdhbQ = BiVAF::get(); goto pU4lw; xeZ77: Ng9Tt()->set("mail.mailers.smtp", ["transport" => "smtp", "host" => etAm3($vdhbQ, "smtp_host"), "port" => eTaM3($vdhbQ, "smtp_port"), "encryption" => eTaM3($vdhbQ, "smtp_encryption"), "username" => ETam3($vdhbQ, "smtp_username"), "password" => etaM3($vdhbQ, "smtp_password"), "timeout" => EtaM3($vdhbQ, "smtp_timeout"), "local_domain" => null]); goto NDklT; TBZfg: if (!ETAm3($vdhbQ, "resend_enabled")) { goto R2DEk; } goto LSLlP; pU4lw: YZ9Eu: goto Q8L1f; l11t5: Ng9tt()->set("mail.default", "smtp"); goto xeZ77; lCIQN: R2DEk: goto LVYbC; LSLlP: ng9TT()->set("mail.default", "resend"); goto jflWI; CilVn: nG9Tt()->set("mail.from.name", EtAm3($vdhbQ, "smtp_from_name")); goto TBZfg; jflWI: NG9Tt()->set("resend.api_key", etaM3($vdhbQ, "resend_api_key")); goto lN8ig; y7gQ7: } goto qHzA6; RRMkt: function gVBfx() : string { return PQkAR() . "/databases"; } goto VEkP7; QIwT8: function szGhw() : bool { return bV2rc()->T4MUT ?? false; } goto FEz5W; kdhlw: function kCMN4() : array { return Jeu2H::current()->ysSYc(); } goto Q4MGL; uOW4u: function rYLp1() { return wOhQx()?->user()?->isInstanceAdmin() ?? false; } goto SidLB; P_cwH: function qeRUd(HA0hw $QrxkW, string $wztZq) { goto bPlgA; apXZ2: $aMDR1 = $PS4FS->getPath() === "/" ? '' : $PS4FS->getPath(); goto coiVj; l9Bpb: if (!(is_null($W0m0_) || $W0m0_ === '')) { goto kPy_6; } goto xQHJW; coiVj: $xCCAf = $PS4FS->RdNxG(); goto qsu35; JVg3E: $CVjma = $PS4FS->QM15a(); goto apXZ2; bPlgA: $W0m0_ = EtaM3($QrxkW, "settings.wildcard_domain"); goto l9Bpb; xQHJW: $W0m0_ = N8Kdf($QrxkW); goto OVNzZ; UvQy6: return $zNVRm; goto BEbgQ; XAlD0: $PS4FS = tJuuc::QGbPH($W0m0_); goto JVg3E; qsu35: $zNVRm = "{$xCCAf}://{$wztZq}.{$CVjma}{$aMDR1}"; goto UvQy6; OVNzZ: kPy_6: goto XAlD0; BEbgQ: } goto QnnsM; cjP2y: function N3RA0($yAIm_) : bool { goto JTyU7; xruBe: $JuzTj = new KXyqk($yAIm_); goto jOucF; BNNnz: $vSV1l = true; goto v4QNL; jOucF: $vSV1l = $JuzTj->p4el2(); goto cm7S4; cm7S4: if (!isset(j1rS1[$yAIm_])) { goto bXnfR; } goto BNNnz; v4QNL: bXnfR: goto mQl11; mQl11: return $vSV1l; goto HrYK8; JTyU7: $vSV1l = false; goto xruBe; HrYK8: } goto uuScq; YIoeB: function MdUNa(string $aGPeR, string $LKGan) : string { return "Resource name: {$aGPeR} Latest Deployment Date: {$LKGan}"; } goto uOW4u; mihFY: function v0Jxs($Xe8Vh, $K7HxI, $JTGxj = null) : Stringable { $ODpVH = EtAM3($Xe8Vh, $K7HxI, $JTGxj) ?? $JTGxj; return QjkC7::XUokA($ODpVH); } goto P_cwH; Gt4Lf: function paClL(string $hpuoc, string $Ss1WV, ?string $XAS04 = null) : string { goto Mex9T; QJnug: return QJkC7::PGKSI("{$hpuoc}:{$Ss1WV}-{$XAS04}"); goto p2M_F; Mex9T: if (!is_null($XAS04)) { goto CKSSg; } goto tB8rb; tB8rb: $XAS04 = new KI8jW(7); goto B03fm; B03fm: CKSSg: goto QJnug; p2M_F: } goto SDYYc; uguWX: function FTA82($Rrks0, $mWdzA, &$FD2c5 = null) { goto J3RmF; g2x3G: sIkNK: goto caoSD; caoSD: return false; goto SDSCV; J3RmF: foreach ((array) $mWdzA as $QpeqZ) { goto GqgIz; aKA1R: $FD2c5 = $QpeqZ; goto ZuMvw; MYb2w: MAIaa: goto WsE8U; GqgIz: list($TQy5M, $FWC5J) = explode("/", $QpeqZ); goto dWTuY; WsE8U: I4p6Q: goto rIDed; ZuMvw: return true; goto MYb2w; dWTuY: if (!((ip2long($Rrks0) & ($FWC5J = ~((1 << 32 - $FWC5J) - 1))) == (ip2long($TQy5M) & $FWC5J))) { goto MAIaa; } goto aKA1R; rIDed: } goto g2x3G; SDSCV: } goto cvJ5T; z9V9p: function IgV6c(string $JZYoq, ?int $FwCVt = null) { goto RGz1o; ZcPPl: if (!(!is_null($XGhPO) && $XGhPO->MpIn9->h7gm5->exGZx === $FwCVt)) { goto XTHrU; } goto W90di; NPZbk: return $XGhPO; goto Qd_Od; ulPeO: if (!is_null($FwCVt)) { goto zEMBG; } goto NPZbk; YhwKk: return null; goto CTTIg; RGz1o: $XGhPO = hPcPy($JZYoq); goto ulPeO; W90di: return $XGhPO; goto ScyL2; CTTIg: ZJA7h: goto bRy3E; J6H4T: zEMBG: goto ZcPPl; Qd_Od: goto ZJA7h; goto J6H4T; ScyL2: XTHrU: goto YhwKk; bRy3E: } goto VhNtr; cvJ5T: function UlI3p(ServiceApplication|Application $p04ci) { goto Ezsvd; Ezsvd: $TJc33 = Y5z61($p04ci->m8Zks)->IOjF1(function ($iR4x_) { goto xV4J2; LGNcQ: tLI5c: goto iua3T; iua3T: return oySmt($iR4x_)->I0fUk("http://", '')->i0fUk("https://", ''); goto Fo7Za; xV4J2: if (!oYsMt($iR4x_)->OXVS4("/")) { goto tLI5c; } goto Nolq2; Nolq2: $iR4x_ = oySMt($iR4x_)->p5JAS("/"); goto LGNcQ; Fo7Za: }); goto dHZvM; rKR1G: $Lyiia = qfEKK::yuF1n(); goto EqONd; dHZvM: $Lyiia = C8l9g::yUF1N(); goto dmdO6; EqONd: foreach ($Lyiia as $YUovF) { goto XAy6M; NEKKL: foreach ($gh3rg as $iR4x_) { goto K6Jq5; eYSh4: if (!($YUovF->GNmoq !== $p04ci->GNmoq)) { goto PFZS0; } goto tOXBy; qAs_m: sBePO: goto yv8fa; tOXBy: throw new \RuntimeException("Domain {$qy3oN} is already in use by another resource."); goto Vz90Z; Tjwrc: $qy3oN = OYsmt($iR4x_)->I0Fuk("http://", '')->i0FUK("https://", '')->F4SVL(); goto qiDeh; K6Jq5: if (!OySMt($iR4x_)->OxVS4("/")) { goto qCso3; } goto uw0hU; qiDeh: if (!$TJc33->contains($qy3oN)) { goto sBePO; } goto eYSh4; iz1mL: qCso3: goto Tjwrc; Vz90Z: PFZS0: goto qAs_m; yv8fa: zMbu9: goto I7Ik6; uw0hU: $iR4x_ = oYsMT($iR4x_)->P5JAs("/"); goto iz1mL; I7Ik6: } goto qHbjH; XAy6M: $gh3rg = y5Z61(explode(",", $YUovF->tCD9y))->filter(fn($pM3Ez) => $pM3Ez !== ''); goto NEKKL; S929m: G8XYI: goto Dtuf4; qHbjH: zuj8m: goto S929m; Dtuf4: } goto h19MM; uxCb3: OTLXV: goto rKR1G; dmdO6: foreach ($Lyiia as $YUovF) { goto O317A; HoN2r: foreach ($gh3rg as $iR4x_) { goto rgEF7; cY1qU: $qy3oN = OYSmT($iR4x_)->I0fUk("http://", '')->I0Fuk("https://", '')->F4svl(); goto LTkcx; E786q: ZEfcz: goto j5CT3; LTkcx: if (!$TJc33->contains($qy3oN)) { goto hFNas; } goto wimni; XMxwv: vIL6l: goto cY1qU; wimni: if (!($YUovF->GNmoq !== $p04ci->GNmoq)) { goto ZEfcz; } goto THQjm; rgEF7: if (!oYsMt($iR4x_)->Oxvs4("/")) { goto vIL6l; } goto OOTiO; THQjm: throw new \RuntimeException("Domain {$qy3oN} is already in use by another resource:
{$YUovF->name}."); goto E786q; j5CT3: hFNas: goto H1caO; OOTiO: $iR4x_ = OYSMT($iR4x_)->P5JaS("/"); goto XMxwv; H1caO: YyP1c: goto vgfKe; vgfKe: } goto lc3pr; lc3pr: RjIyU: goto oI80s; O317A: $gh3rg = Y5Z61(explode(",", $YUovF->tCD9y))->filter(fn($pM3Ez) => $pM3Ez !== ''); goto HoN2r; oI80s: MJaGM: goto Y_EwE; Y_EwE: } goto uxCb3; h19MM: dDrke: goto yBJ2C; yBJ2C: } ?>