/* Decoded by unphp.net */ xnjNt[$kBOrC["id"]] = $kBOrC; goto c7Nd7; uTTiO: $kBOrC = tUt64("woocommerce_navigation_connect_page_options", $kBOrC); goto V2USj; c7Nd7: } public function w5fmT() { goto d7hUZ; Uukcq: $f6u9S = empty($GZnQS["page"]) ? '' : $GZnQS["page"]; goto VsgCY; uqY8K: parse_str((string) $MKl3P, $GZnQS); goto Uukcq; IHmY6: $ceswm = $this->KNJy0(); goto ItPHI; sKp0z: $co43g = SeBY_(SAQYw($_SERVER["REQUEST_URI"])); goto l5SwY; ISX7X: RcqFJ: goto TjmeR; d7hUZ: $co43g = ''; goto IHmY6; VsgCY: $f6u9S .= empty($GZnQS["path"]) ? '' : "&path=" . $GZnQS["path"]; goto zdGd5; l5SwY: C2qer: goto iSarn; ItPHI: if (!isset($_SERVER["REQUEST_URI"])) { goto C2qer; } goto sKp0z; TjmeR: $this->pX6lB = false; goto Ian0t; iSarn: $MKl3P = LYUE8($co43g, PHP_URL_QUERY); goto uqY8K; zdGd5: foreach ($this->xnjNt as $Wzi94) { goto DRTff; kWbF5: return; goto DGfa9; CDizp: DG3Bq: goto oPpp2; d6g1c: sdnN0: goto rOYLT; rOYLT: zYEjT: goto b5v0Q; b5v0Q: i4C3X: goto mvMBk; DGfa9: uksVc: goto SVIJg; oPpp2: if (!($Wzi94["path"] === $f6u9S)) { goto sdnN0; } goto zwsM9; yZOc8: $this->pX6lB = $Wzi94; goto kWbF5; SVIJg: goto zYEjT; goto CDizp; DRTff: if (isset($Wzi94["js_page"]) && $Wzi94["js_page"]) { goto DG3Bq; } goto dzqqb; dzqqb: if (!(isset($Wzi94["screen_id"]) && $Wzi94["screen_id"] === $ceswm)) { goto uksVc; } goto yZOc8; rgrzv: return; goto d6g1c; zwsM9: $this->pX6lB = $Wzi94; goto rgrzv; mvMBk: } goto ISX7X; Ian0t: } public function VnsbB() { goto UD8Mj; y3YDi: vsCGp: goto vrfMR; MHObr: goto S_8OE; goto y3YDi; jPRla: Gw6oc: goto ZWfWo; ZV6BQ: $mxXu1 = $lVAf8; goto PU55o; IU5Ak: if (1 === count($lVAf8)) { goto TV1U4; } goto TGum1; TajXI: if (!$pIqqu) { goto Gw6oc; } goto ySZGP; TGum1: $mxXu1 = array_merge(array(array($j1vMg["path"], reset($lVAf8))), array_slice($lVAf8, 1)); goto TXZte; xOBGD: u1hQY: goto TajXI; pM7HD: $dUJ0O["path"] = "admin.php?page=" . $dUJ0O["path"]; goto IlXIU; QwVQP: goto u1hQY; goto jPRla; L9GbI: TV1U4: goto ZV6BQ; vrfMR: $dUJ0O = $this->xnjNt[$pIqqu]; goto wY3z3; bwFdV: $pIqqu = false; goto MHObr; PiY5N: array_unshift($mxXu1, $o3bEQ); goto DxD3C; ZWfWo: MoJpw: goto OHOxg; OHOxg: $o3bEQ = array("admin.php?page=" . yKxaA::RIL6p, wgTTk("WooCommerce", "woocommerce")); goto PiY5N; IlXIU: MPlUt: goto ExOKw; gKujA: $pIqqu = $j1vMg["parent"]; goto xOBGD; ExOKw: array_unshift($mxXu1, array($dUJ0O["path"], reset($dUJ0O["title"]))); goto S7Wah; D0koM: if (!(false === $j1vMg)) { goto sd_hD; } goto hLEP5; UD8Mj: $j1vMg = $this->FH7xp(); goto D0koM; wY3z3: if (!(0 === strpos($dUJ0O["path"], YkXAa::RIL6p))) { goto MPlUt; } goto pM7HD; hLEP5: return TuT64("woocommerce_navigation_get_breadcrumbs", array(''), $j1vMg); goto zoDVC; pZC5P: $lVAf8 = !empty($j1vMg["page_title"]) ? $j1vMg["page_title"] : $j1vMg["title"]; goto zqF3p; PU55o: jP5jk: goto JnWtu; zqF3p: $lVAf8 = (array) $lVAf8; goto IU5Ak; DxD3C: return tUt64("woocommerce_navigation_get_breadcrumbs", $mxXu1, $j1vMg); goto I6uBA; S7Wah: $pIqqu = isset($dUJ0O["parent"]) ? $dUJ0O["parent"] : false; goto zPyFH; zoDVC: sd_hD: goto pZC5P; zPyFH: S_8OE: goto QwVQP; ySZGP: if (isset($this->xnjNt[$pIqqu])) { goto vsCGp; } goto bwFdV; TXZte: goto jP5jk; goto L9GbI; JnWtu: if (!isset($j1vMg["parent"])) { goto MoJpw; } goto gKujA; I6uBA: } public function Fh7xP() { goto v7cP5; v7cP5: if (HaDvI("current_screen")) { goto EbCEU; } goto RfI2q; GpnWK: EbCEU: goto Bmkxf; RfI2q: pL50h(__FUNCTION__, S3eD5("Current page retrieval should be called on or after the `current_screen` hook.", "woocommerce"), "0.16.0"); goto GpnWK; figqS: return $this->pX6lB; goto n4w0C; RLPll: $this->w5fMT(); goto T_qwi; Bmkxf: if (!is_null($this->pX6lB)) { goto W0387; } goto RLPll; T_qwi: W0387: goto figqS; n4w0C: } public function knJy0() { goto lP6tJ; PZV09: if (empty($_GET["page"])) { goto BukpJ; } goto iVdGc; g5g2e: if (empty($_GET["section"])) { goto DTiE4; } goto KWYNr; sfHQf: if (!(isset($iun_x[$ozFFj]) && in_array($zp8qq, array_keys($iun_x[$ozFFj])))) { goto tOPhm; } goto cDa9S; ALC1y: $ozFFj = qG4tB(sAqYW($_GET["tab"])); goto uxkVy; WjibK: $iun_x = TuT64("woocommerce_navigation_page_tab_sections", array("products" => array('', "inventory", "downloadable"), "shipping" => array('', "options", "classes"), "checkout" => array("bacs", "cheque", "cod", "paypal"), "email" => $cByUZ, "advanced" => array('', "keys", "webhooks", "legacy_api", "woocommerce_com"), "browse-extensions" => array("helper"))); goto PZV09; AzQLm: if (!("shipping" === $ozFFj && isset($_GET["zone_id"]))) { goto nVFJG; } goto nSDsB; efPZz: Na56K: goto UFT3D; bkA1F: if ($tmotp) { goto Wqv3u; } goto EnfkE; Jy_jp: $J_XWY = \grJ2Y::eRTPf(); goto UgQgM; OgG00: $enAVO = array($tmotp->pr4H7); goto MLWXo; h1C96: xsk6I: goto qHOLQ; KnFFj: return TUT64("woocommerce_navigation_current_screen_id", implode("-", $enAVO), $tmotp); goto tqAr3; qHOLQ: BukpJ: goto KnFFj; nMw1b: tOPhm: goto i1b4C; GBOWZ: $enAVO = array($tmotp->id); goto IPF5c; UjWtp: $LFjn5 = TUt64("woocommerce_navigation_pages_with_tabs", array("wc-reports" => "orders", "wc-settings" => "general", "wc-status" => "status", "wc-addons" => "browse-extensions")); goto Jy_jp; UFT3D: if (!(!empty($tmotp->pr4H7) && isset($tmotp->gwCnp) && "product" === $tmotp->gwCnp)) { goto Q2sTH; } goto IS2Md; Ca2jO: goto XM71J; goto zdD9R; iVdGc: $Wzi94 = qG4Tb(Saqyw($_GET["page"])); goto zJ8GV; tXFvX: $enAVO[] = $tmotp->WklWB; goto efPZz; e2hFX: Wqv3u: goto GBOWZ; w676z: $enAVO[] = $ozFFj; goto g5g2e; uxkVy: XM71J: goto w676z; QtoZR: nVFJG: goto h1C96; nSDsB: $enAVO[] = "edit_zone"; goto QtoZR; lP6tJ: $tmotp = HIb5t(); goto bkA1F; zdD9R: pKbcW: goto ALC1y; zJ8GV: if (!in_array($Wzi94, array_keys($LFjn5))) { goto xsk6I; } goto jsk9Y; CZnru: $enAVO = array("product_page_product_attribute-edit"); goto WPw3W; UgQgM: $cByUZ = array_map("sanitize_title", array_keys($J_XWY->HeP1p())); goto WjibK; EnfkE: return TUt64("woocommerce_navigation_current_screen_id", false, $tmotp); goto e2hFX; tiwJc: Q2sTH: goto UjWtp; MLWXo: ARCNl: goto tiwJc; KWYNr: $zp8qq = Qg4tb(sAQyw($_GET["section"])); goto sfHQf; b8Mkb: if (empty($_GET["tag_ID"])) { goto ARCNl; } goto OgG00; ETqqU: $ozFFj = $LFjn5[$Wzi94]; goto Ca2jO; WPw3W: GWQCV: goto b8Mkb; cDa9S: $enAVO[] = $zp8qq; goto nMw1b; i1b4C: DTiE4: goto AzQLm; IPF5c: if (!$tmotp->WklWB) { goto Na56K; } goto tXFvX; IS2Md: if (!(0 === strpos($tmotp->pr4H7, "pa_"))) { goto GWQCV; } goto CZnru; jsk9Y: if (!empty($_GET["tab"])) { goto pKbcW; } goto ETqqU; tqAr3: } public function LcDN1($XbxJY) { goto TfEx8; TfEx8: if (!(isset($this->xnjNt[$XbxJY]) && isset($this->xnjNt[$XbxJY]["path"]))) { goto sfC1n; } goto bIcpc; bIcpc: return $this->xnjNt[$XbxJY]["path"]; goto X3Y5b; m1Y1X: return $XbxJY; goto kUeLu; X3Y5b: sfC1n: goto m1Y1X; kUeLu: } public function dSRLB() { goto oSLvU; M0N2F: if (!(!empty($tmotp) && method_exists($tmotp, "is_block_editor") && $tmotp->gGPsj())) { goto leE3p; } goto N_MnJ; N_MnJ: $XVoHy = false; goto h7pFs; mKFVd: if (false === $j1vMg) { goto rOGuD; } goto LiYeJ; oSLvU: $j1vMg = $this->fH7Xp(); goto mKFVd; ATEi0: goto fZs1z; goto kNhgP; LiYeJ: $XVoHy = isset($j1vMg["js_page"]) ? !$j1vMg["js_page"] : true; goto ATEi0; scvPp: $XVoHy = false; goto HlCkf; kNhgP: rOGuD: goto scvPp; Lb7B5: $tmotp = hAdvI("current_screen") ? hib5t() : false; goto M0N2F; HlCkf: fZs1z: goto Lb7B5; WKDzd: return TUT64("woocommerce_navigation_is_connected_page", $XVoHy, $j1vMg); goto YxnmE; h7pFs: leE3p: goto WKDzd; YxnmE: } public function iZY0z() { goto A44ux; GmMcg: return Tut64("woocommerce_navigation_is_registered_page", $Yhzse, $j1vMg); goto iQ5XB; Y1e2D: if (false === $j1vMg) { goto OQUoW; } goto qlkCj; l8dRT: $Yhzse = false; goto bRCXn; qlkCj: $Yhzse = isset($j1vMg["js_page"]) && $j1vMg["js_page"]; goto CyeDM; ljvZs: OQUoW: goto l8dRT; CyeDM: goto RltnX; goto ljvZs; bRCXn: RltnX: goto GmMcg; A44ux: $j1vMg = $this->Fh7XP(); goto Y1e2D; iQ5XB: } public function ycImg($kBOrC) { goto BOcD0; bz4p3: lG_Fd: goto uBKH2; vJgxO: goto lG_Fd; goto cLGfr; n0vEi: LJfFv: goto I5Rua; gCB8f: if (!(0 !== strpos($kBOrC["path"], ykXAA::RIL6p))) { goto LJfFv; } goto OJFeo; bACJs: if (!empty($kBOrC["page_title"])) { goto r8p22; } goto tadRd; sdeEa: r8p22: goto WY8Jp; uBKH2: $this->SqaNH($kBOrC); goto Z0MOl; PsV1f: xgMKM: goto bACJs; BOcD0: $KEMj7 = array("id" => null, "parent" => null, "title" => '', "page_title" => '', "capability" => "view_woocommerce_reports", "path" => '', "icon" => '', "position" => null, "js_page" => true); goto pupBZ; pupBZ: $kBOrC = igrqA($kBOrC, $KEMj7); goto gCB8f; JxQF1: $jSFgg = $this->lCDN1($kBOrC["parent"]); goto gMry6; WY8Jp: if (is_null($kBOrC["parent"])) { goto pCteX; } goto JxQF1; I5Rua: if (!(null !== $kBOrC["position"])) { goto xgMKM; } goto kPIl8; yB038: xm_Cd($kBOrC["page_title"], $kBOrC["title"], $kBOrC["capability"], $kBOrC["path"], array(__CLASS__, "page_wrapper"), $kBOrC["icon"], $kBOrC["position"]); goto bz4p3; OJFeo: $kBOrC["path"] = YkxaA::RIL6p . "&path=" . $kBOrC["path"]; goto n0vEi; cLGfr: pCteX: goto yB038; tadRd: $kBOrC["page_title"] = $kBOrC["title"]; goto sdeEa; kPIl8: $kBOrC["position"] = intval(round($kBOrC["position"])); goto PsV1f; gMry6: dU9tc($jSFgg, $kBOrC["page_title"], $kBOrC["title"], $kBOrC["capability"], $kBOrC["path"], array(__CLASS__, "page_wrapper")); goto vJgxO; Z0MOl: } public function bSnSc() { return $this->xnjNt; } public static function RtIBV() { wydbQ::RtiBV(); } public function IRios() { require_once lOvhv . "includes/react-admin/connect-existing-pages.php"; } public function jmuLd() { XTcsu(array("title" => wgTTK("Setup Wizard", "woocommerce"), "parent" => '', "path" => "/setup-wizard")); } public function OYIJY() { goto JhYtc; E1Vpy: if (!(!vluyR("manage_woocommerce") || empty($VLE0F["woocommerce"]))) { goto qrHQM; } goto Msma4; xNMwe: if ($hG2U2) { goto EIFb3; } goto PZg54; tHHxS: qrHQM: goto NP4rw; NP4rw: $hG2U2 = null; goto f6n4Y; JhYtc: global $VLE0F; goto E1Vpy; Msma4: return; goto tHHxS; aduOJ: g6ABD: goto xNMwe; PZg54: return; goto t21NQ; YfAZt: unset($VLE0F["woocommerce"][$hG2U2]); goto OslK3; t21NQ: EIFb3: goto YfAZt; f6n4Y: foreach ($VLE0F["woocommerce"] as $dhRUI => $T_Kw7) { goto wFW1O; ONJaR: goto g6ABD; goto Pgokb; syVJP: $hG2U2 = $dhRUI; goto ONJaR; Pgokb: JJfNp: goto MpHUq; MpHUq: bpjEG: goto Nv9nY; wFW1O: if (!(is_null($T_Kw7[0]) && ykxAa::kVhKx === $T_Kw7[2])) { goto JJfNp; } goto syVJP; Nv9nY: } goto aduOJ; OslK3: } public static function uYXo6() { return ykxAa::K862d() || yKxAA::a9YJg(); } public static function k862d() { return isset($_GET["page"]) && "wc-admin" === $_GET["page"]; } public static function A9yJg() { return y6UPB() || !YKxaA::K862d() && class_exists("Automattic\WooCommerce\Admin\Features\Navigation\Screen") && ot32z::Mt0wu(); } } ?>