8889841cwordpress-version-notices/license.txt000064400000045756150513467520014135 0ustar00WordPress Version Notices Copyright 2020 by the contributors This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA This program incorporates work covered by the following copyright and permission notices: Edit Flow is Copyright 2009-2016 Mohammad Jangda, Daniel Bachhuber, et al. http://editflow.org/ Edit Flow was produced by Daniel Bachhuber, Mo Jangda, and Scott Bressler, with special help from Andrew Spittle and Andrew Witherspoon Edit Flow is released under the GPL and WordPress Version Notices WordPress Version Notices is Copyright (c) 2020 PublishPress WordPress Version Notices is released under the GPL =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Lesser General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. wordpress-version-notices/templates/menu-link/redirect-page.php000064400000000673150513467520021060 0ustar00

wordpress-version-notices/templates/menu-link/menu-link-script.php000064400000001001150513467520021530 0ustar00wordpress-version-notices/templates/top-notice/notice.php000064400000000516150513467520020004 0ustar00'; $message = sprintf('
' . $message, $linkStart, $linkEnd); ?>
wordpress-version-notices/includes.php000064400000002003150513467520014243 0ustar00 * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * @package PublishPress\WordpressVersionNotices * @category Core * @author PublishPress * @copyright Copyright (c) 2020 PublishPress. All rights reserved. * @deprecated 2.0.2 Use src/include.php instead **/ wordpress-version-notices/src/Versions.php000064400000004116150513467520015043 0ustar00versions[$versionString])) { return false; } $this->versions[$versionString] = $initializationCallback; return true; } public function getVersions(): array { return $this->versions; } public function latestVersion() { $keys = array_keys($this->versions); if (empty($keys)) { return false; } uasort($keys, 'version_compare'); return end($keys); } public function latestVersionCallback() { $latest = $this->latestVersion(); if (empty($latest) || ! isset($this->versions[$latest])) { return '__return_null'; } return $this->versions[$latest]; } /** * @return Versions * @codeCoverageIgnore */ public static function getInstance(): ?Versions { if (empty(self::$instance)) { self::$instance = new self(); } return self::$instance; } /** * @codeCoverageIgnore */ public static function initializeLatestVersion(): void { $self = self::getInstance(); call_user_func($self->latestVersionCallback()); } } } wordpress-version-notices/src/Module/MenuLink/Module.php000064400000015455150513467520017437 0ustar00 * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * @package PublishPress\WordpressVersionNotices * @category Core * @author PublishPress * @copyright Copyright (c) 2020 PublishPress. All rights reserved. **/ namespace PublishPress\WordpressVersionNotices\Module\MenuLink; use PublishPress\WordpressVersionNotices\Template\TemplateLoaderInterface; /** * Class Module * * @package PublishPress\WordpressVersionNotices */ class Module { const SETTINGS_FILTER = 'pp_version_notice_menu_link_settings'; const STYLE_HANDLE = 'pp-version-notice-menu-link-style'; const MENU_SLUG_SUFFIX = '-menu-upgrade-link'; /** * @var TemplateLoaderInterface */ private $templateLoader; /** * @var array */ private $globalSettings = []; /** * @var array */ private $urlsMap = []; public function __construct(TemplateLoaderInterface $templateLoader) { $this->templateLoader = $templateLoader; } public function init() { add_action('admin_head', [$this, 'adminHeadAddStyle']); add_action('init', [$this, 'collectTheSettings'], 5); add_action('admin_menu', [$this, 'addMenuLink'], 20); add_action('admin_print_scripts', [$this, 'setUpgradeMenuLink'], 9999); } public function collectTheSettings() { if (is_admin()) { $this->globalSettings = apply_filters(self::SETTINGS_FILTER, []); } } public function adminHeadAddStyle() { ?> templateLoader; foreach ($this->globalSettings as $pluginName => $settings) { if (is_array($settings['parent'])) { foreach ($settings['parent'] as $parent) { $menuPageURL = menu_page_url($parent, false); if (!empty($menuPageURL)) { $settings['parent'] = $parent; break; } } } if (!empty($settings['parent'])) { $submenuSlug = $this->getSubmenuSlug($settings); add_submenu_page( $settings['parent'], $settings['label'], $settings['label'], 'read', $submenuSlug, function () use ($settings, $templateLoader) { $context = [ 'message' => __( 'Amazing! We are redirecting you to our site...', 'wordpress-version-notices' ), 'link' => $settings['link'] ]; $templateLoader->displayOutput('menu-link', 'redirect-page', $context); }, 9999 ); $this->urlsMap[$pluginName] = [ 'slug' => $submenuSlug, 'localUrl' => menu_page_url($submenuSlug, false), 'redirectTo' => $settings['link'], ]; // Add the CSS class to change the item color and add a reference to the respective URL. $newItemIndex = false; if (isset($submenu[$settings['parent']])) { $newItemIndex = $this->getUpgradeMenuItemIndex($submenu[$settings['parent']], $settings); } if (false !== $newItemIndex) { $submenu[$settings['parent']][$newItemIndex][4] = 'pp-version-notice-upgrade-menu-item ' . $pluginName; } } } } private function getUpgradeMenuItemIndex($submenuItems, $settings) { if (!is_array($submenuItems)) { return false; } foreach ($submenuItems as $index => $item) { if ($item[0] === $settings['label'] && $item[2] === $this->getSubmenuSlug($settings)) { return $index; } } return false; } public function setUpgradeMenuLink() { if (empty($this->urlsMap)) { return; } $convertedUrlsMap = []; foreach ($this->urlsMap as $pluginName => $urlData) { $urlData['pluginName'] = $pluginName; $convertedUrlsMap[] = $urlData; } $context = [ 'convertedUrlsMap' => $convertedUrlsMap, ]; $this->templateLoader->displayOutput('menu-link', 'menu-link-script', $context); } } wordpress-version-notices/src/Module/AdInterface.php000064400000002311150513467520016620 0ustar00 * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * @package PublishPress\WordpressVersionNotices * @category Core * @author PublishPress * @copyright Copyright (c) 2020 PublishPress. All rights reserved. **/ namespace PublishPress\WordpressVersionNotices\Module; interface AdInterface { public function init(); /** * @param string $message * @param string $linkURL */ public function display($message = '', $linkURL = ''); } wordpress-version-notices/src/Module/TopNotice/Module.php000064400000015322150513467520017612 0ustar00 * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * @package PublishPress\WordpressVersionNotices * @category Core * @author PublishPress * @copyright Copyright (c) 2020 PublishPress. All rights reserved. **/ namespace PublishPress\WordpressVersionNotices\Module\TopNotice; use PublishPress\WordpressVersionNotices\Module\AdInterface; use PublishPress\WordpressVersionNotices\Template\TemplateInvalidArgumentsException; use PublishPress\WordpressVersionNotices\Template\TemplateLoaderInterface; /** * Class Module * * @package PublishPress\WordpressVersionNotices */ class Module implements AdInterface { const SETTINGS_FILTER = 'pp_version_notice_top_notice_settings'; const DISPLAY_ACTION = 'pp_version_notice_display_top_notice'; /** * @var TemplateLoaderInterface */ private $templateLoader; /** * @var array */ private $exceptions = []; /** * @var array */ private $settings = []; public function __construct(TemplateLoaderInterface $templateLoader) { $this->templateLoader = $templateLoader; } public function init() { add_action(self::DISPLAY_ACTION, [$this, 'display'], 10, 2); add_action('in_admin_header', [$this, 'displayTopNotice']); add_action('admin_init', [$this, 'collectTheSettings'], 5); add_action('admin_head', [$this, 'adminHeadAddStyle']); } public function collectTheSettings() { $this->settings = apply_filters(self::SETTINGS_FILTER, []); } /** * @param string $message * @param string $linkURL */ public function display($message = '', $linkURL = '') { try { if (empty($message) || empty($linkURL)) { throw new TemplateInvalidArgumentsException(); } $context = [ 'message' => $message, 'linkURL' => $linkURL ]; $this->templateLoader->displayOutput('top-notice', 'notice', $context); } catch (\Exception $e) { if (defined('WP_DEBUG') && WP_DEBUG) { $this->exceptions[] = $e->getMessage(); add_action('admin_notices', [$this, 'showNoticeWithException']); } } } /** * @return array|false */ private function isValidScreen() { $screen = get_current_screen(); if (!empty($screen)) { foreach ($this->settings as $pluginName => $setting) { if (!is_array($setting) || !isset($setting['screens'])) { continue; } foreach ($setting['screens'] as $screenParams) { if ($screenParams === true) { return $setting; } $validVars = 0; foreach ($screenParams as $var => $value) { if (isset($screen->$var) && $screen->$var === $value) { $validVars++; } } if ($validVars === count($screenParams)) { return $setting; } } } } return false; } public function adminHeadAddStyle() { if (! $this->isValidScreen()) { return; } ?> isValidScreen()) { do_action(self::DISPLAY_ACTION, $settings['message'], $settings['link']); } } public function showNoticeWithException() { $class = 'notice notice-error'; $message = implode("
", $this->exceptions); printf('

%2$s

', esc_attr($class), esc_html($message)); } } wordpress-version-notices/src/autoload.php000064400000002416150513467520015044 0ustar00register(new ServicesProvider()); // Load the modules $module = $container['module_top_notice']; $module->init(); $module = $container['module_menu_link']; $module->init(); define('PP_VERSION_NOTICES_LOADED', true); } }, -125, 0); wordpress-version-notices/src/include.php000064400000003044150513467520014655 0ustar00register('2.1.2', __NAMESPACE__ . '\initialize2Dot1Dot2'); } } function initialize2Dot1Dot2() { require_once __DIR__ . '/autoload.php'; if (! defined('PUBLISHPRESS_WORDPRESS_VERSION_NOTICES_VERSION')) { define('PUBLISHPRESS_WORDPRESS_VERSION_NOTICES_VERSION', '2.1.2'); } do_action('publishpress_wordpress_version_notices_2Dot1Dot2_initialized'); } } wordpress-version-notices/src/Template/TemplateLoaderInterface.php000064400000003206150513467520021530 0ustar00 * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * @package PublishPress\WordpressVersionNotices * @category Core * @author PublishPress * @copyright Copyright (c) 2020 PublishPress. All rights reserved. **/ namespace PublishPress\WordpressVersionNotices\Template; interface TemplateLoaderInterface { /** * Load template for modules. * * @param string $moduleName * @param string $templateName * @param array $context * * @throws TemplateNotFoundException */ public function displayOutput($moduleName, $templateName, $context = []); /** * Load template for modules. * * @param string $moduleName * @param string $templateName * @param array $context * * @return false|string * * @throws TemplateNotFoundException */ public function returnOutput($moduleName, $templateName, $context = []); } wordpress-version-notices/src/Template/TemplateLoader.php000064400000005564150513467520017720 0ustar00 * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * @package PublishPress\WordpressVersionNotices * @category Core * @author PublishPress * @copyright Copyright (c) 2020 PublishPress. All rights reserved. **/ namespace PublishPress\WordpressVersionNotices\Template; class TemplateLoader implements TemplateLoaderInterface { /** * @var string */ private $templatesPath; /** * TemplateLoader constructor. * * @param string $templatesPath */ public function __construct($templatesPath) { $this->templatesPath = $templatesPath; } /** * Load template for modules. * * @param $moduleName * @param $templateName * @param array $context * @param bool $return * * @return false|string * @throws TemplateNotFoundException */ private function load($moduleName, $templateName, $context = [], $return = false) { $templatePath = $this->templatesPath . '/' . $moduleName . '/' . $templateName . '.php'; if (!file_exists($templatePath)) { throw new TemplateNotFoundException('Template file not found: ' . $templatePath); } if ($return) { ob_start(); } extract($context); require $templatePath; if ($return) { return ob_get_clean(); } return false; } /** * Load template for modules. * * @param string $moduleName * @param string $templateName * @param array $context * * @throws TemplateNotFoundException */ public function displayOutput($moduleName, $templateName, $context = []) { echo $this->load($moduleName, $templateName, $context, false); } /** * Load template for modules. * * @param string $moduleName * @param string $templateName * @param array $context * * @return false|string * * @throws TemplateNotFoundException */ public function returnOutput($moduleName, $templateName, $context = []) { return $this->load($moduleName, $templateName, $context, true); } } wordpress-version-notices/src/Template/TemplateNotFoundException.php000064400000002142150513467520022112 0ustar00 * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * @package PublishPress\WordpressVersionNotices * @category Core * @author PublishPress * @copyright Copyright (c) 2020 PublishPress. All rights reserved. **/ namespace PublishPress\WordpressVersionNotices\Template; use RuntimeException; class TemplateNotFoundException extends RuntimeException { } wordpress-version-notices/src/Template/TemplateInvalidArgumentsException.php000064400000002152150513467520023633 0ustar00 * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * @package PublishPress\WordpressVersionNotices * @category Core * @author PublishPress * @copyright Copyright (c) 2020 PublishPress. All rights reserved. **/ namespace PublishPress\WordpressVersionNotices\Template; use RuntimeException; class TemplateInvalidArgumentsException extends RuntimeException { } wordpress-version-notices/src/Autoloader.php000064400000002475150513467520015340 0ustar00 * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * @package PublishPress\WordpressVersionNotices * @category Core * @author PublishPress * @copyright Copyright (c) 2020 PublishPress. All rights reserved. **/ namespace PublishPress\WordpressVersionNotices; use PublishPress\Pimple\Container; use PublishPress\Pimple\ServiceProviderInterface; use PublishPress\WordpressVersionNotices\Module\TopNotice\Module as TopNoticeModule; use PublishPress\WordpressVersionNotices\Module\MenuLink\Module as MenuLinkModule; use PublishPress\WordpressVersionNotices\Template\TemplateLoader; class ServicesProvider implements ServiceProviderInterface { public function register(Container $pimple) { $pimple['TEMPLATES_PATH'] = function (Container $c) { return PP_VERSION_NOTICES_BASE_PATH . '/templates'; }; $pimple['module_top_notice'] = function (Container $c) { return new TopNoticeModule($c['template_loader']); }; $pimple['module_menu_link'] = function (Container $c) { return new MenuLinkModule($c['template_loader']); }; $pimple['template_loader'] = function (Container $c) { return new TemplateLoader($c['TEMPLATES_PATH']); }; } } wordpress-reviews/ReviewsController.php000064400000053532150513467520014477 0ustar00. * * --------------------------------------------------------------------- * It includes: * - Multiple trigger groups which can be ordered by priority. * - Multiple triggers per group. * - Customizable messaging per trigger. * - Link to review page. * - Request reviews on a per-user basis rather than per site. * - Allows each user to dismiss it until later or permanently seamlessly via AJAX. * - Integrates with attached tracking server to keep anonymous records of each trigger's effectiveness. * - Tracking Server API: https://gist.github.com/danieliser/0d997532e023c46d38e1bdfd50f38801 * * Original Author: danieliser * Original Author URL: https://danieliser.com * URL: https://github.com/danieliser/WP-Product-In-Dash-Review-Requests */ namespace PublishPress\WordPressReviews; use Exception; /** * Class ReviewsController * * @package PublishPress\WordPressReviews */ class ReviewsController { /** * @var string */ private $pluginSlug; /** * @var string */ private $pluginName; /** * @var array */ private $metaMap; /** * @var string */ private $iconUrl; /** * @param string $pluginSlug * @param string $pluginName * @param string $iconUrl */ public function __construct($pluginSlug, $pluginName, $iconUrl = '') { $this->pluginSlug = $pluginSlug; $this->pluginName = $pluginName; $this->iconUrl = esc_url_raw($iconUrl); /** * Filter to replace the meta map with options, filters and actions names. * * @param array * * @return array */ $this->metaMap = apply_filters( "{$pluginSlug}_wp_reviews_meta_map", [ 'action_ajax_handler' => "{$this->pluginSlug}_action", 'option_installed_on' => "{$this->pluginSlug}_wp_reviews_installed_on", 'nonce_action' => "{$this->pluginSlug}_wp_reviews_action", 'user_meta_dismissed_triggers' => "_{$this->pluginSlug}_wp_reviews_dismissed_triggers", 'user_meta_last_dismissed' => "_{$this->pluginSlug}_wp_reviews_last_dismissed", 'user_meta_already_did' => "_{$this->pluginSlug}_wp_reviews_already_did", 'filter_triggers' => "{$this->pluginSlug}_wp_reviews_triggers", ] ); /** * Legacy filter to replace the meta map with options, filters and actions names. * * @param array * @return array * @deprecated 1.1.9 * */ $this->metaMap = apply_filters( "publishpress_wp_reviews_meta_map_{$this->pluginSlug}", $this->metaMap ); add_action('admin_enqueue_scripts', [$this, 'enqueueStyle']); } /** * Initialize the library. */ public function init() { $this->addHooks(); } /** * Hook into relevant WP actions. */ private function addHooks() { if (defined('DOING_AJAX') && DOING_AJAX) { add_action("wp_ajax_{$this->metaMap['action_ajax_handler']}", [$this, 'ajaxHandler']); } if ($this->screenIsAllowedToDisplayNotice()) { $this->installationPath(); add_action('admin_notices', [$this, 'renderAdminNotices']); add_action('network_admin_notices', [$this, 'renderAdminNotices']); add_action('user_admin_notices', [$this, 'renderAdminNotices']); } } /** * @return bool */ private function screenIsAllowedToDisplayNotice() { $displayNotice = is_admin(); /** * Deprecated filter to specify a custom conditional to display or not the notice. * * @param bool * @return bool * @deprecated 1.1.9 * */ $displayNotice = apply_filters( "publishpress_wp_reviews_display_banner_{$this->pluginSlug}", $displayNotice ); /** * Filter to specify a custom conditional to display or not the notice. * * @param bool * * @return bool */ $displayNotice = apply_filters("{$this->pluginSlug}_wp_reviews_allow_display_notice", $displayNotice); if (! $this->currentUserIsAdministrator()) { $displayNotice = false; } return $displayNotice; } private function currentUserIsAdministrator() { $currentUser = get_current_user_id(); $currentUser = get_user_by('ID', $currentUser); if (empty($currentUser) || ! is_object($currentUser) && is_wp_error($currentUser)) { return false; } return in_array('administrator', $currentUser->roles); } /** * Get the installation date for comparisons. Sets the date to now if none is found. * * @return false|string */ public function installationPath() { $installationPath = get_option($this->metaMap['option_installed_on'], false); if (! $installationPath) { $installationPath = current_time('mysql'); update_option($this->metaMap['option_installed_on'], $installationPath); } return $installationPath; } /** * The function called by the ajax request. */ public function ajaxHandler() { $args = wp_parse_args( $_REQUEST, [ 'group' => $this->getTriggerGroup(), 'code' => $this->getTriggerCode(), 'priority' => $this->getCurrentTrigger('priority'), 'reason' => 'maybe_later', ] ); if (! wp_verify_nonce($_REQUEST['nonce'], $this->metaMap['nonce_action'])) { wp_send_json_error(); } try { $userId = get_current_user_id(); $dismissedTriggers = $this->getDismissedTriggerGroups(); $dismissedTriggers[$args['group']] = (int)$args['priority']; update_user_meta($userId, $this->metaMap['user_meta_dismissed_triggers'], $dismissedTriggers); update_user_meta($userId, $this->metaMap['user_meta_last_dismissed'], current_time('mysql')); switch ($args['reason']) { case 'maybe_later': update_user_meta($userId, $this->metaMap['user_meta_last_dismissed'], current_time('mysql')); break; case 'am_now': case 'already_did': $this->setUserAlreadyDid($userId); break; } wp_send_json_success(); } catch (Exception $e) { wp_send_json_error($e); } } /** * Get the trigger group. * * @return int|string */ private function getTriggerGroup() { static $selected; if (! isset($selected)) { $selected = []; } if (! array_key_exists($this->pluginSlug, $selected)) { $dismissedTriggers = $this->getDismissedTriggerGroups(); $triggers = $this->getTriggers(); foreach ($triggers as $g => $group) { foreach ($group['triggers'] as $trigger) { if ( ! in_array( false, $trigger['conditions'] ) && (empty($dismissedTriggers[$g]) || $dismissedTriggers[$g] < $trigger['priority']) ) { $selected[$this->pluginSlug] = $g; break; } } if (array_key_exists($this->pluginSlug, $selected)) { break; } } } return $selected[$this->pluginSlug]; } /** * Returns an array of dismissed trigger groups. * * Array contains the group key and highest priority trigger that has been shown previously for each group. * * $return = array( * 'group1' => 20 * ); * * @return array|mixed */ private function getDismissedTriggerGroups() { $userId = get_current_user_id(); $dismissedTriggers = get_user_meta($userId, $this->metaMap['user_meta_dismissed_triggers'], true); if (! $dismissedTriggers) { $dismissedTriggers = []; } return $dismissedTriggers; } /** * Gets a list of triggers. * * @param null $group * @param null $code * * @return bool|mixed|void */ private function getTriggers($group = null, $code = null) { static $triggers; if (! isset($triggers)) { $triggers = []; } if (! array_key_exists($this->pluginSlug, $triggers)) { $timeMessage = __( 'Hey, you\'ve been using %1$s for %2$s on your site. We hope the plugin has been useful. Please could you quickly leave a 5-star rating on WordPress.org? It really does help to keep %1$s growing.', $this->pluginSlug ); $triggers[$this->pluginSlug] = apply_filters( $this->metaMap['filter_triggers'], [ 'time_installed' => [ 'triggers' => [ 'one_week' => [ 'message' => sprintf($timeMessage, $this->pluginName, __('1 week', $this->pluginSlug)), 'conditions' => [ strtotime($this->installationPath() . ' +1 week') < time(), ], 'link' => "https://wordpress.org/support/plugin/{$this->pluginSlug}/reviews/?rate=5#rate-response", 'priority' => 10, ], 'one_month' => [ 'message' => sprintf($timeMessage, $this->pluginName, __('1 month', $this->pluginSlug)), 'conditions' => [ strtotime($this->installationPath() . ' +1 month') < time(), ], 'link' => "https://wordpress.org/support/plugin/{$this->pluginSlug}/reviews/?rate=5#rate-response", 'priority' => 20, ], 'three_months' => [ 'message' => sprintf( $timeMessage, $this->pluginName, __('3 months', $this->pluginSlug) ), 'conditions' => [ strtotime($this->installationPath() . ' +3 months') < time(), ], 'link' => "https://wordpress.org/support/plugin/{$this->pluginSlug}/reviews/?rate=5#rate-response", 'priority' => 30, ], ], 'priority' => 10, ], ] ); // Sort Groups uasort($triggers[$this->pluginSlug], [$this, 'rsortByPriority']); // Sort each groups triggers. foreach ($triggers[$this->pluginSlug] as $v) { uasort($v['triggers'], [$this, 'rsortByPriority']); } } if (isset($group)) { if (! array_key_exists($this->pluginSlug, $triggers) || ! array_key_exists($group, $triggers[$this->pluginSlug])) { return false; } if (! isset($code)) { $return = $triggers[$this->pluginSlug][$group]; } elseif (array_key_exists($code, $triggers[$this->pluginSlug][$group]['triggers'])) { $return = $triggers[$this->pluginSlug][$group]['triggers'][$code]; } else { $return = false; } return $return; } return $triggers[$this->pluginSlug]; } /** * @return int|string */ private function getTriggerCode() { static $selected; if (! isset($selected)) { $selected = []; } if (! array_key_exists($this->pluginSlug, $selected)) { $dismissedTriggers = $this->getDismissedTriggerGroups(); foreach ($this->getTriggers() as $g => $group) { foreach ($group['triggers'] as $t => $trigger) { if ( ! in_array( false, $trigger['conditions'] ) && (empty($dismissedTriggers[$g]) || $dismissedTriggers[$g] < $trigger['priority']) ) { $selected[$this->pluginSlug] = $t; break; } } if (array_key_exists($this->pluginSlug, $selected)) { break; } } } if (! array_key_exists($this->pluginSlug, $selected)) { return false; } return $selected[$this->pluginSlug]; } /** * @param null $key * * @return bool|mixed|void */ private function getCurrentTrigger($key = null) { $group = $this->getTriggerGroup(); $code = $this->getTriggerCode(); if (! $group || ! $code) { return false; } $trigger = $this->getTriggers($group, $code); if (empty($key)) { $return = $trigger; } elseif (array_key_exists($key, $trigger)) { $return = $trigger[$key]; } else { $return = false; } return $return; } /** * @param $userId */ private function setUserAlreadyDid($userId) { update_user_meta($userId, $this->metaMap['user_meta_already_did'], true); } public function enqueueStyle() { if (! $this->screenIsAllowedToDisplayNotice()) { return; } wp_register_style('publishpress_wordpress_reviews_style', false); wp_enqueue_style('publishpress_wordpress_reviews_style'); wp_add_inline_style( 'publishpress_wordpress_reviews_style', " .{$this->pluginSlug}-wp-reviews-notice .button, .{$this->pluginSlug}-wp-reviews-notice p { font-size: 15px; } .{$this->pluginSlug}-wp-reviews-notice .button:not(.notice-dismiss) { border-width: 1px; } .{$this->pluginSlug}-wp-reviews-notice .button.button-primary { background-color: #655897; border-color: #3d355c; color: #fff; } .{$this->pluginSlug}-wp-reviews-notice .notice-icon { float: right; height: 110px; margin-top: 10px; margin-left: 10px; } @media (min-width:1000px) { .{$this->pluginSlug}-wp-reviews-notice .notice-icon { height: 90px; } } @media (min-width:1700px) { .{$this->pluginSlug}-wp-reviews-notice .notice-icon { height: 70px; } } " ); } /** * Render admin notices if available. */ public function renderAdminNotices() { if ($this->hideNotices()) { return; } $group = $this->getTriggerGroup(); $code = $this->getTriggerCode(); $priority = $this->getCurrentTrigger('priority'); $trigger = $this->getCurrentTrigger(); // Used to anonymously distinguish unique site+user combinations in terms of effectiveness of each trigger. $uuid = wp_hash(home_url() . '-' . get_current_user_id()); ?> userSelectedAlreadyDid(), $this->lastDismissedDate() && strtotime($this->lastDismissedDate() . ' +2 weeks') > time(), empty($this->getTriggerCode()), ]; return in_array(true, $conditions); } /** * Returns true if the user has opted to never see this again. * * @return bool */ private function userSelectedAlreadyDid() { $userId = get_current_user_id(); return (bool)get_user_meta($userId, $this->metaMap['user_meta_already_did'], true); } /** * Gets the last dismissed date. * * @return false|string */ private function lastDismissedDate() { $userId = get_current_user_id(); return get_user_meta($userId, $this->metaMap['user_meta_last_dismissed'], true); } /** * Sort array by priority value * * @param $a * @param $b * * @return int */ public function sortByPriority($a, $b) { if (! isset($a['priority']) || ! isset($b['priority']) || $a['priority'] === $b['priority']) { return 0; } return ($a['priority'] < $b['priority']) ? -1 : 1; } /** * Sort array in reverse by priority value * * @param $a * @param $b * * @return int */ public function rsortByPriority($a, $b) { if (! isset($a['priority']) || ! isset($b['priority']) || $a['priority'] === $b['priority']) { return 0; } return ($a['priority'] < $b['priority']) ? 1 : -1; } } wordpress-reviews/LICENSE000064400000104515150513467520011301 0ustar00 GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU General Public License is a free, copyleft license for software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. "This License" refers to version 3 of the GNU General Public License. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. A "covered work" means either the unmodified Program or a work based on the Program. To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. 1. Source Code. The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. 4. Conveying Verbatim Copies. You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. 6. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. 7. Additional Terms. "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. 8. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. 9. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. 10. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. 11. Patents. A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. 12. No Surrender of Others' Freedom. If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. 13. Use with the GNU Affero General Public License. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. 15. Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: Copyright (C) This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . instance-protection/core/LibState.php000064400000001247150513467520013720 0ustar00register(); * * // register the base directories for the namespace prefix * $loader->addNamespace('Foo\Bar', '/path/to/packages/foo-bar/src'); * $loader->addNamespace('Foo\Bar', '/path/to/packages/foo-bar/tests'); * * The following line would cause the autoloader to attempt to load the * \Foo\Bar\Qux\Quux class from /path/to/packages/foo-bar/src/Qux/Quux.php: * * prefixes[$prefix]) === false) { $this->prefixes[$prefix] = array(); } // retain the base directory for the namespace prefix if ($prepend) { array_unshift($this->prefixes[$prefix], $base_dir); } else { array_push($this->prefixes[$prefix], $base_dir); } } /** * Loads the class file for a given class name. * * @param string $class The fully-qualified class name. * @return mixed The mapped file name on success, or boolean false on * failure. */ public function loadClass($class) { // the current namespace prefix $prefix = $class; // work backwards through the namespace names of the fully-qualified // class name to find a mapped file name while (false !== $pos = strrpos($prefix, '\\')) { // retain the trailing namespace separator in the prefix $prefix = substr($class, 0, $pos + 1); // the rest is the relative class name $relative_class = substr($class, $pos + 1); // try to load a mapped file for the prefix and relative class $mapped_file = $this->loadMappedFile($prefix, $relative_class); if ($mapped_file) { return $mapped_file; } // remove the trailing namespace separator for the next iteration // of strrpos() $prefix = rtrim($prefix, '\\'); } // never found a mapped file return false; } /** * Load the mapped file for a namespace prefix and relative class. * * @param string $prefix The namespace prefix. * @param string $relative_class The relative class name. * @return mixed Boolean false if no mapped file can be loaded, or the * name of the mapped file that was loaded. */ protected function loadMappedFile($prefix, $relative_class) { // are there any base directories for this namespace prefix? if (isset($this->prefixes[$prefix]) === false) { return false; } // look through base directories for this namespace prefix foreach ($this->prefixes[$prefix] as $base_dir) { // replace the namespace prefix with the base directory, // replace namespace separators with directory separators // in the relative class name, append with .php $file = $base_dir . str_replace('\\', '/', $relative_class) . '.php'; // if the mapped file exists, require it if ($this->requireFile($file)) { // yes, we're done return $file; } } // never found it return false; } /** * If a file exists, require it from the file system. * * @param string $file The file to require. * @return bool True if the file exists, false if not. */ protected function requireFile($file) { if (file_exists($file)) { require $file; return true; } return false; } } instance-protection/core/InstanceChecker.php000064400000027071150513467520015245 0ustar00pluginSlug = $config->pluginSlug; $this->pluginName = $config->pluginName; $this->pluginFolder = $config->pluginFolder; $this->isProPlugin = $config->isProPlugin; $this->freePluginName = $config->freePluginName; if (! $this->isProPlugin) { $this->freePluginName = $this->pluginName; } if (empty($this->pluginFolder)) { $this->pluginFolder = $this->pluginSlug; } if ( is_admin() && ! wp_doing_ajax() && ! wp_doing_cron() ) { add_action('admin_init', [$this, 'init'], $this->isProPlugin ? 7 : 5); } } public function getVersion() { return '1.0.3'; } public function init() { global $pagenow; if ($pagenow !== 'plugins.php') { return; } if (! $this->getStateDuplicatedPluginCheck()) { $this->checkDuplicatedPluginsAndLatestVersions(); $this->setFlagDuplicatedPluginCheck(); } if ($this->getStateHasMultiplePluginsActivated()) { $this->addMultipleInstancesNotice(); } if ($this->isProPlugin && $this->getStateFreePluginLoadedByItself()) { $this->addFreePluginNotice(); } // This should run once per request. if (! $this->getStateStyleEnqueued()) { $this->addPluginsPageStyle(); $this->setFlagStyleEnqueued(); } if ($this->getStateHasMultiplePaths()) { // This should run for every instance add_action('after_plugin_row', [$this, 'addLatestVersionCheck'], 10, 2); add_action('after_plugin_row', [$this, 'addNonStandardPathCheck'], 10, 2); } } private function checkDuplicatedPluginsAndLatestVersions() { if (! function_exists('get_plugins')) { require_once ABSPATH . 'wp-admin/includes/plugin.php'; } $plugins = get_plugins(); $pluginFiles = []; $pluginInstances = []; $latestVersions = []; foreach ($plugins as $pluginFile => $pluginData) { if ($this->pluginName === $pluginData['Name']) { $pluginFiles[] = $pluginFile; if (is_plugin_active($pluginFile)) { $pluginInstances[] = $pluginFile; if ($pluginData['Name'] === $this->freePluginName) { $this->setStateFreePluginLoadedByItself(); } } if (! isset($latestVersions[$this->pluginSlug])) { $latestVersions[$this->pluginSlug] = $pluginData['Version']; continue; } if (version_compare($pluginData['Version'], $latestVersions[$this->pluginSlug], '>')) { $latestVersions[$this->pluginSlug] = $pluginData['Version']; } } } if (count($pluginFiles) > 1) { $this->setStateHasMultiplePaths(); } if (count($pluginInstances) > 1) { $this->setStateHasMultiplePluginsActivated(); } $this->setStateLatestVersions($latestVersions); } public function addPluginsPageStyle() { add_action('admin_enqueue_scripts', function() { wp_add_inline_style( 'wp-admin', ' tr.ppa-plugin-warning { background: #fff; } tr.ppa-plugin-warning td { box-shadow: inset 0 -1px 0 rgb(0 0 0 / 10%); overflow: hidden; padding: 0; } tr.ppa-plugin-warning td > div { margin: 5px 20px 15px 44px; } tr.ppa-plugin-warning td > div.multiple-instances-warning { background-color: #ffc6c6; border: 1px solid #edb977; border-left: 4px solid #e1a04e; padding-left: 6px; } tr.ppa-plugin-warning td > div.multiple-instances-warning .dashicons { margin-right: 6px; vertical-align: bottom; color: #c18d17; } tr.ppa-plugin-warning td > div.multiple-instances-warning p { margin: 0.5em 0; } tr.active + tr.ppa-plugin-warning td { background-color: #f0f6fc; } ' ); }); } public function addLatestVersionCheck($pluginFile, $pluginData) { if ($pluginData['Name'] !== $this->pluginName) { return; } if ($this->getStateVersionChecked($pluginFile)) { return; } $latestVersions = $this->getStateLatestVersions(); if (! isset($latestVersions[$this->pluginSlug])) { return; } if (version_compare($pluginData['Version'], $latestVersions[$this->pluginSlug], '<')) { ?>

setStateVersionChecked($pluginFile); } public function addNonStandardPathCheck($pluginFile, $pluginData) { if ($pluginData['Name'] !== $this->pluginName) { return; } if ($this->getStatePathHasBeenCheckedForPluginFile($pluginFile)) { return; } $expectedPath = $this->pluginFolder . '/' . $this->pluginSlug . '.php'; if ($pluginFile !== $expectedPath) { ?>

' . esc_html($pluginFile) . '', '' . esc_html($expectedPath) . '' ); ?>

setStatePathHasBeenCheckedForPluginFile($pluginFile); } public function addMultipleInstancesNotice() { if ($this->getStateMultipleInstancesNoticeAdded()) { return; } $pluginName = $this->pluginName; add_action('admin_notices', function() use ($pluginName) { ?>

setStateMultipleInstancesNoticeAdded(); } public function addFreePluginNotice() { if (LibState::getPluginState($this->pluginSlug, 'freePluginNoticeAdded')) { return; } $pluginName = $this->pluginName; $freePluginName = $this->freePluginName; add_action('admin_notices', function() use ($pluginName, $freePluginName) { ?>

pluginSlug, 'freePluginNoticeAdded'); } private function getStateHasMultiplePaths() { return (bool) LibState::getPluginState($this->pluginSlug, 'hasMultiplePaths'); } private function setStateHasMultiplePaths() { LibState::setPluginState($this->pluginSlug, 'hasMultiplePaths'); } private function getStateHasMultiplePluginsActivated() { return (bool) LibState::getPluginState($this->pluginSlug, 'hasMultipleInstances'); } private function setStateHasMultiplePluginsActivated() { LibState::setPluginState($this->pluginSlug, 'hasMultipleInstances'); } private function getStateFreePluginLoadedByItself() { return (bool) LibState::getState('freePluginIsLoaded' . $this->freePluginName); } private function setStateFreePluginLoadedByItself() { LibState::setState('freePluginIsLoaded' . $this->freePluginName); } private function setStatePathHasBeenCheckedForPluginFile($pluginFile) { LibState::setPluginState($this->pluginSlug, 'pathCheck' . $pluginFile); } private function getStatePathHasBeenCheckedForPluginFile($pluginFile) { return (bool) LibState::getPluginState($this->pluginSlug, 'pathCheck' . $pluginFile); } private function setStateVersionChecked($pluginFile) { LibState::setPluginState($this->pluginSlug, 'versionCheck' . $pluginFile); } private function getStateVersionChecked($pluginFile) { return (bool) LibState::getPluginState($this->pluginSlug, 'versionCheck' . $pluginFile); } private function getStateDuplicatedPluginCheck() { return (bool) LibState::getPluginState($this->pluginSlug, 'duplicatedPluginsCheck'); } private function setFlagDuplicatedPluginCheck() { LibState::setPluginState($this->pluginSlug, 'duplicatedPluginsCheck'); } private function getStateStyleEnqueued() { return (bool) LibState::getState(self::STATE_STYLE_ENQUEUED); } private function setFlagStyleEnqueued() { LibState::setState(self::STATE_STYLE_ENQUEUED); } private function setStateLatestVersions($latestVersions) { LibState::setPluginState($this->pluginSlug, 'latestVersions', $latestVersions); } private function getStateLatestVersions() { return (array) LibState::getPluginState($this->pluginSlug, 'latestVersions'); } private function setStateMultipleInstancesNoticeAdded() { LibState::setPluginState($this->pluginSlug, 'multipleInstancesNoticeAdded'); } private function getStateMultipleInstancesNoticeAdded() { return (bool) LibState::getPluginState($this->pluginSlug, 'multipleInstancesNoticeAdded'); } } instance-protection/include.php000064400000000614150513467520012701 0ustar00register(); $autoloader->addNamespace('PublishPressInstanceProtection', __DIR__ . '/core'); } instance-protection/LICENSE000064400000104515150513467520011557 0ustar00 GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU General Public License is a free, copyleft license for software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. "This License" refers to version 3 of the GNU General Public License. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. A "covered work" means either the unmodified Program or a work based on the Program. To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. 1. Source Code. The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. 4. Conveying Verbatim Copies. You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. 6. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. 7. Additional Terms. "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. 8. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. 9. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. 10. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. 11. Patents. A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. 12. No Surrender of Others' Freedom. If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. 13. Use with the GNU Affero General Public License. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. 15. Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: Copyright (C) This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . wordpress-banners/assets/css/style.css000064400000004214150513467520014177 0ustar00/* Banner on the right inviting to install Permissions */ .pp-columns-wrapper.pp-enable-sidebar { display: table; width: 100%; } .pp-columns-wrapper.pp-enable-sidebar .pp-column-left { width: 75%; } .pp-columns-wrapper.pp-enable-sidebar .pp-column-right { width: calc( 25% - 20px ); margin-left: 20px; } .pp-columns-wrapper.pp-enable-sidebar .pp-column-left, .pp-columns-wrapper.pp-enable-sidebar .pp-column-right { float: left; } .nav-tab-wrapper.pp-recommendations-heading { padding-bottom: 16px; opacity: 0.8; margin-bottom: 25px; } .pp-sidebar-box { padding: 20px; background: #fff; box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.1); border: 1px solid #dcdcdc; font-size: 1.1em; margin-bottom: 20px; } .pp-sidebar-box h3 { line-height: 1.2em; margin: 0; padding: 0; } .pp-sidebar-box ul { list-style: disc; margin: 20px 15px 20px; padding: 0; } .pp-sidebar-box img { max-width: 100%; } .pp-sidebar-box .button { text-align: center; display: block; white-space: normal; line-height: 20px !important; padding: 4px 10px !important; } .pp-sidebar-box .button.pp-button-yellow { background-color: #FFB300; border-color: #C58C07; color: #754D26; text-shadow: none; } .pp-sidebar-box .button.pp-button-yellow:hover, .pp-sidebar-box .button.pp-button-yellow:active, .pp-sidebar-box .button.pp-button-yellow:focus { background-color: #F3AC04; border-color: #C58C07; color: #333; outline: none; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05); -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05); -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05); -o-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05); } .pp-sidebar-box .pp-box-banner-image { background: #655997; text-align: center; } @media (max-width: 1199px) { .pp-columns-wrapper.pp-enable-sidebar .pp-column-left, .pp-columns-wrapper.pp-enable-sidebar .pp-column-right { float: none; width: 100%; } .pp-columns-wrapper.pp-enable-sidebar .pp-column-right { margin-left: 0; margin-bottom: 20px; } } wordpress-banners/assets/images/install-blocks.jpg000064400000033024150513467520016426 0ustar00ÿØÿáExifII*ÿìDucky<ÿáwhttp://ns.adobe.com/xap/1.0/ ÿîAdobedÀÿÛ„       ÿÀ^ÿÄÎ !1AQaq‘Ñ"2²Ò“Br’s³$TtU¡±áR#S457Áb‚¢3cD6'EuCƒ£d”% R!1Qq‘ÑSAa¡±Áá2r’²34ð¢Ò6"‚Ââs“Bƒñb#$TÿÚ ?æÆÈ@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@AcÞ³y(ENÒJ Ðzì2Œ×0Älm$¸k ö6'+Ô_wYår¸z{”Û™Ú‰Ûà—­«Üðbeëû£©þÍ—·”¾™õo?Gââzû íìtu?Ù²öãò“æ}[ÏÑø¸a½£=ƒîާû6^Ü~R|Ï«yú?ì7´g°}ÑÔÿfËÛÊO™õo?Gââ=†öŒö ì¾þÂVÅ}nûià ©ù¤Te“ÏØÌÓ5Y®›‘xNÖümÃÆåªèœ*ŒÖó{,2lß0a’ÆÎ[ˆÚhdhµÎ ¯Îël¦Vy7®ÓESÔ¾Dzõ·—¹^Í13AÒz¯“*—¯Š?)|_4jÞ~ÅÄõöÚ=¦?¹ú¬’ã–KSÕÊO™õo?Gââ=†öks4Ž«fÏUÊG'}”Ÿ3êÞ~ÅÄ{ íÓ ÒZ ïË%˜ü¤ùŸVóô~.#ØohöšûËÛ„¶ï·”ІÈ)QÎãØV™LåœÍ»5ÓrÚgk«{Â庨œ*ŒWÒÁí±Èó«øºk;)f‡p”Hæ.-¯aVç5ÎO-W"õÚ(¯s«÷Äc‡Þö·—¹\cM30ô%©þÍ—·”¾O™õo?Gââz{ íÒÓ¤µNñ–Jz•g”Ÿ3êÞ~ÅÄ{ íÒŽÑú¡íýÙ(pݶ?)>gÕ¼ý‹ˆöÚ=¥­Òµ¿ôÉOP˜ü¥3êÞ~ÅÄ{ íÓÃqmui9·¼ö× 1H(iÎ9ê…o–ÍZ¿G.ÕT×FìK箊©œ*Œ%b÷b µõÂhhi°¬©ÛD¤ìó2:kOÙ³/‡k!¯®VâsÈI4\_Sêè×Âìæ*ª6êœ6öðˆÙÚˆíCgÌ^ök4ò#¬æý¢ç¿¨¶ø/ò–ßôÿ#§w†ŸÊ®é‹»”öxÔw3¶ï†Ûà¿ÊQòGNï ?”é‹»”öxØÏóêì·¶ìµþR|‘Ó»ÃOå:bîå=ž3Ú^ô{_‚ÿ)>@ÈéÝá§ò1wržÏ¡žäj-qwy c—£–F†T†K8^Êí¢Õíe§Ukº-Zªj¦j¦6z´×†1Wb%÷U_´efª£g ìb Hø£u@•ìf!¼¸é]~º¹3£<‹\œ#u'êÌò]5—ØÃ—[ÄCÜa²Wk°4Š’¸ÏÚ¢o~íyŠêÆ#•8mÌÕ;³ŽÄ6\îfrÔSDl¹iyÿê-~ ü¥·ü‘Ó»ÃOåWôÅÝÊ{@ÈéÝá§ò1wržÏ ÎîcÎt­'„2fÂ.£h5Á#]„á'm*µÍMj­]¯=šÝS4M\‰ëÓ1Œc׎ÛìÌÕ²¾’cg \_wWÖ¶ï?£žhã}?5ÎŽÒêYÛófÅË”øTQUQ¿°¡µDU\S=Y„…¬5,ù²‚ʈ”?x8XȨÐÖµ´ç\“á‡ík?KrýuãLÆÖÌÕŒÌÌÎ-‹=œªÇ&š"6\Ñâf}ÉomÙkü¥¶|‘Ó»ÃOåWôÅÝÊ{ÝD~Z@Ú_zê %\#'iØ9¹P_œÈ$ø°†ìù™§œ\®¯ÔÿöÿJú=Çù\>HâÜë/`719»ðº&¶÷;ßâ¯Í•>[ÖÓãGmÕñOö¬³ÞMã5i?·^ª÷Gj¥ž¹ð©ûûŽte0‚Õw)#gëÛxí\«V~£¯Ç¹Ú•ýÿrê{ˆý›%pç]U@È€€€€€€€€€€€€€€€€€€€€€€ƒ}“kLÛ+¶m¨dwVÑì…’—5Ìš×·Üõ Õµ¿ÂLõÉ»3U»“áM8aW^bz½xÛ}ùmcrÕ<˜Ù‡½ÜÑ€õtwþ–Nâ¨úy–ç®y4ñ¾Ž™¹£o¸ö›™R¾®ƒnÐÞ–JÓ´ŸO2ÜõÏ&ž3¦nhÇÛîWÚnaJú¾ |lÄúy–ç®y4ñ3sF>ßqí34¥}[9ºY+ø“éæ[ž¹äÓÆtÍÍû}ÍNy«sLæ!¡Zmâ©pÜ^ã´Ó™_jo†2º¾©®Œk¹µÊ«©hˆÇwmòfs×/F±#Gέ<ÑWáµ_^õux•y²ù)ð£~ïè2à6“<´øs?ÛŸÿ‰GnWšçj·QÁÑÃÝy—PQ- mqÒ ¶“°Ð å+²­v 7ŽT )ì¸ýLü¢åu~§ÿ¶<Õô{ò¸l£÷ö_õ˜|pº&¶÷;ßâ¯Í•>[ÖÓãGmÕñOö¬·ÞMã5i?·^ª÷Gj¥¦¹Û§ïî8zsî]J¸0žJuÐW£<ÿ®e7òò„Û­O™O¥­ò™,ðZ7^GRFÄjÖ Œ8¶mÚµœ¶ ËÛÖUæ¢æ7'½ÇðÍ[3³Ž›¶¼Ýsf-ÌîóKÒ\wŸÀ¶gÄÈ€€€€€€€€€€€€€€€€€€€€€‚„€ ;†Ò¦#ÀvÙF†ËY—2÷<™Ìtè„‚ãðCŸÊâ¹¶µøÏ19‰³’¢*ŠfcO.ª°ÛÂ:‘ÿ•Ö_VQÈå]œ1ëàô+ÃòqzKI;?lü«àù“^ósþžóÛØrº_‹¾©ÒÜ?4ùËj7|óò§Ìš÷›Ÿô÷aÊé~.ù÷_‡ôÒ[ÔùçåO™5ï7?éïÕÒü]ðé}ˆtÚýçåO™5ï7?éïÔÒü]ö·Rh«;L¹ÙžQ+¤·Œcš8H dí|oéÊÏÃÿ^¿˜Œ¶n˜¦å[ÌG'ø´j§¯Ô—ËœÕÔÑG.ÜãKoí6Ãüèüv­ê÷««Å«Í•U>oü≥¾_ÈLÓS¯s?Ûÿ‰Gœ¼×[T}ºˆðɉÍ;*(êJ…™¥»H;*Tá"×?¨¦ÇmìîQ„‹cx2â¨å'¬˜ "=•דЉ¯þbåu~§ÿ·úWñî?Êáòc\ó/<÷PøátMmîw¿Å_›*|·­§ÆŽÛ­âŸí9iædÞ3V“ûuê¯xÔv¥g®|*~þã‹ki´írèÊbµ®Ýƒmô[‡wr‚#ImA g ¯ ­Ø ‚ÔÈ1µr½Y3ó~=ÎÔ¯¯Ä{oSÜG‘ÔINÚêŠT@@@@@@@@@@@@@@@@@@@@Ak¼²§mïø”²+¸T†Trl‰Ô\£à-ŒõéÿÒ|ølßÕS¿ÆŽL1rÓØ ªÍS»*ˆ^"Œ{€;aËÔá 9î-oh)ŠªÝF·½k„v–\ª·L!#éÜ>Î&Ãàˆ®è?´åÊ5çê <{?ÒØ2žç;ÕwQÛÚKXA!Û(G!AeÖ'm¯$-o_Ù2ß>‡ôñáÇŠ.–'¹¢#h i<Ë–ç>ÏeoÍÌÁ;_Åɪ"ã;±×_ÚÖV«£“v6w±…ã:áµkèðWê®òWDüC§_ûc—´d÷#Éï+ëÎþ¢þ+¼”诈tëÿlqžÑ“Ü'¼§¯8múˆ:¿5w’ñíŽ3Ú2{‘ä÷”õç iOG‚‡xôWy*z'â:ÿÛg´d÷#Éï5º«WÙ_Xz¯*Í´v4®oF ´FÆss•wð×—r×ý«5TMÝžLcÊÙºª«wr6weògu…5ÑÈ·Âærpžeãpô¨|p¶½mýKßâ¯Í—Á—õ´øÑÛu|T8n2Ç;c fn#°V­4¯:ÒnvmßˆÛÆŽêÏ]mÓ÷÷Cgg+Û„{¢WHôun)q†2øÉØñͽ=[’c Œ|X@Æ)Z“]ê}[ˆå@ûˆ5‘ yEM-ÕŽÔœ¨HÙ¸-á´À´ˆ-¶;aÚæïªäúª¨Ÿˆ«˜ÙŽ]ÞÔ¶,ǹÆõ=ÄvÎúBþA°.ª×Öã"By+B f»TŠ  µÎm®Õ4í¢]ÿ97‰ÚôŠå?ûíï|ølßÕS¿Ü”{á€á¼.©0 XðàhNÅI•æQŠy,Œ §iY1H¹ðün\§^þ ·ãÙþ–Á”÷9Þ«ºŽöV2wsöX¶¼èò½ œfV¬º/ŽÎ)(z\EîiÜì-ðAäªÔµ§ÆY<¥Ùµ…Wk§Âäá„Næ3·;¸p¬ljÛ·)åx1×{=™fÿh[ìIÝUPrœÕÎ^ýsJ<0ÍÏýFÛÍȦ?prœÕÎN‡¹¥ }—fßh[ù¹ýCÊóW8iGC\Ò…Ìá†fݾŸnO> êWš¹ÃIÐ×4¡©ÎôÎi“:ä6[y\ÅRÌ[ð¸­<ËbÔß嵆1knS³4U·†ìu&;O3“®Ï…µºÒ9Ç&’×4‚Ç à·h#¬UÜÄNÄìÃåw¹w¬dµk3{G›†Ó‘5²Fò=Ö´•̳¿_¦ìÕ”¹Dõ*™¦ªzØÇ… ËZÚ™§ ‘³Öz†¿ÒÄTZKCþD}Õòü•­yÚ?ÙWÓ¤òú3ÁßPq J“OD”¬÷Sä½kÎÓþÊ¸Ž“ËèÏ}wßý-ôI|Ä}ÕÉšÓ§ý•q'¤²ú3ÁßZxƒ¥FÓg/˜º§ä½iÎÑþÊ¸Ž“ËèÏ}Îj­a&zÖYÛDë|½Ž<<ƒ$oƒZl o [_Ã_ S«æn×TWzc ˜êá»3»¹´®ÏgæöÄF´@(7·+عÞù@¾{žÒ‘•<¿vÆ ´— •4P)ÊTí¢RO?qØü{~H®Sð¾Þñ'φí½U;ýÉGna;!uV¾£\×l#o1P/£pR*‚AÈ?‡wwøÜ¹F½ýAGgú[SÝ'z®ê9ˆ‰%·a㤌yApð.«z©Šj˜ÛŠjíK_¦1˜ä•Ä,Ï0°µ³míºY^Ù‹Xʵµ¦À¹/Àš¿/š»voÑ94Æ­˜ÆgfwÛµ½]Ó裨õ¥È<øÿ"èÝ«ù‹^J—ÚïiÔÇ÷Sý§sðÿ"Çåü‡1oÉeí—tª^ÝE¨ÆüÖäŸùQ¨51kÉcíw´êWï£ûRçáþDè_ÌZòOk½§S²¾¸šû†’\Ý»¦Ö¡ïRö?c¶rì\ï+bŒ·ÄqnÔrh‹˜aÖšvc{esr¹¯%[3‚5$o;ÞWZˆÅ¯:\·‡ùõí³.^講 “b2ĵ£½ì­GX|k‘Ë\›q]švæœ0ÇsÛû¶6u]Û”ò¶)ß{›Ã<áµùíµ9;ÙÃõ 'Í]ü/n†»¥JÇpÃ8.'Ó­¶ÿVDú…”æ®þ¡®é@8cõöÔæÃ"¨9>jïá:î•*žgGýu¯Á‘GÔ Ÿ7wð§¡îîÒÒæÚs3ÉekoZÒÉj!¸ŒÖ7Sxä!ÝB¶}Q®òÙú&«38ÓáS;Guáðf2µÙœ*ákÞàÖ’­ß; ¶9wžÊNªCM@*EPc”÷ tPXyPø?‰­©'‘ªiÛD¤~$87"±?ç¶žh®Sð¾Þñ'φíýU;ýÉG.sŽóN ]Q¯­ ©¢ àP)A dþ9¸õWË”kÏÔü{?ÒØ2žé;ÕwQ¼Oº)$Fæ<¾Œpq§iuk”ò¢ªwbc†0kôÎJSÕ¹$ú’ÂÆl²â ãôj`(ìÒçßßÅDù{Wsø;ç¶^Ò•§TêpGÿkp@ß´wGÃÚ¿˜·Áß=²ö”²O© z\®&÷Qðö®ÿóÛàïž×{N]Ž£™×z+»š:g2Úg>”ïË€.’µ\÷PZ§-¯ªµobˆ›”ÿ.°¹ÍÕ5å"ª¶ð‰í#g;Ä|¸s•ÖòÃRkÊPW‘HÏ€\€€€€€€€€€€€€€€€ƒ ìvð7 ³ePPšö. u *²§m‘¸•³!±øöü‘\§à?}½âOŸ ƒ[úªwøÑÊêŠìÜv¢ÚSÎ¥* rNÜò®ÿ—(׿¨-øö¥°e=Îwªî£j‚+Èv€ºÅ[mzì·?ÍòÑÐÙ_ImL ‚Êò×aWg56W7<«Ö©®¨êõxcËÚÞf»{Õƒ`u¦¤ûMݨü•ñü§«¹Šפ/iv¾š“í7v£òSå=]ÌSø¸Î½¥Ú>újO´ÝÚÉO”õw1Oâã:Bö—iC­5.LÑõ¦Í‘ù)òž®æ)ü\gH^Òí5W¹•îc0¸¼¹}Ô€akÞk„s4 ƒ°¬ò¹9Zyh‹tíá·¿Õ—…wj®qªqeÉ}åßY‹Ç Ç[{ïñWæË<·­§ÆŽÛ¬â™>•–Óó&ñš´Û¯U{Æ£µRÏ\øTýýÇ)AMÜ‹£)„äG2n7LT¢˜BDÎüc;~omãµr­YúŽ¿çj[ÿrê{ˆè’NÕÕе¸PoAœlATd|ÝÜ¡ˆ-‚TÓ¶‰HüKýÃañìù"¹GÀ~û{ÄŸ>·õTïñ£±¸•ÕTh+¸ ÍZ›T È;Œ2°oîÙ%Äl•Œ¹c¢.ñHN‡yÅQEÌõÎBýzúÝTÑTÓ3nqÃc pålíla²»Ë^¢2•DÎÎw\÷`ciå¬mwbq ì•Ó*˜Œfv£àÙRDu›Û§tv[$ƒ¥’W`t­c_,²W¹ÅÛ€æ\jÔë }˜®h¯‘MŽ©ŠiŒv""6ç¯ÂÙ&,å(Œcžy}¡iß¡Mæ¢î¯»ä}eÎÑå×Äóé[3ÁßWÚúÞj.ê|¬¹Ú<ºøŽ•³£<óÚúÞj.ê|¬¹Ú<ºøŽ•³£<óÚúÞj.ꟑµ=G—_Ò¶tgƒ¾óêì³(Í4ßÞ ÄRÆÆÌÖà2DN5íé¼…{|5¬3y=aì‰åS5M8cÊäÕ†14Îäîu÷Xg¬Û¹gÓQ°â²OßywÖañÂè:ÛÜ6Uo[O·YÅ?ÚrÏy7ŒÕ¤~Ýz«Þ5ª–zç§ïî8†¸éÅє̠‚*7 Ç.ðƒ÷WœmD$\ãøaoõ{_«•jÏÔuø÷;RØ/û”oSÜGt]U@¨ƃ²PfkCE `{0Ÿê”?Á*iÛD¤~%þá°øöü‘\£à?}½âOŸ ƒ[úªwøÑÕ êÊFãE´ïÛ×R:|³GY^i9ó§ÌöÞ±²¾èÃa$ap¥N*oäZv°ø¢î_YÑ“ŠbmU4E[|¬kêÇSc¬6V6r×bncüQaÍÛí¹¶êÍþø[u￯6UôíÆü$'ÿ—üt¾ \ËöãÿâSç/5ÎÕn£‚]ADªû _õ3ã®WWêû¥}ãü®$ý÷—}j/.‰­½Î÷ø«óeO–õ´øÐë8§ûVYï&ñš´ŸÛ¯U{Æ£µRÏ\øTýýǺ2™V¸´þ0 A"›XwQL 8þÛý^ÛÇjåz³õ~=ÎÔ¯ïû”oSÜG`É]Q@ÌֆР¡ŠÈ0Iƒ0åSNÚ%"q+÷ ‡Ç·äŠåûíï|ølÛÕS¿ÆŽ€¯]uUªA§¿†óüUßãråóõ¿Ïô¶ §ºNõ]Ôwh>qoñ±xí]Vÿ_‹W›* 6ã~?ÀËþ:_.cûqáßñ(ó¥y®v¨pK¨(„ðþ»êgÇ\®¯ÔÿöÿJú=Çù\6Kûï/úÔ>8][{ïñWæÊŸ-ëiñ£¶ë8§ûVYï&ñš´ŸÛ¯U{Æ£µ+=sáS÷÷:èÊa 0$|Ùµá»NÏ›ÛxÍ\¯V~£¯Ç¹Ú•ýÿrê{Ž4@º¢TJ ‰á»È4멦vvQ)6òÊÏXéÛSksЖIPÜe’5¸_Œ¨#zâùlÝÝEŸ¹é(åEXÆæ4ÌãS?mͶÍ]ºsvc Ãí´Ó{+Ÿí1支þ¢ÑÌO—ý¯“¡§O±ßWÙdü¹=^€ùIõŽb|¿í:tûóÙ\ÿi0|¤úG1>_ö :}Žùì®´‡˜>R}E·ÌO—ý§CNŸc¾ÙfqÚi­.ZùúY¥ŽH Ät’LIq šÚª]]Ýq­éÌEš(ªšªêÅ4ѵŒõfpûD>‹Üœ¶^hÇœ{(Ò'Ë$Íxøu;4]v¨åDÄÿÊ&8c»‚UÎ2«M]–YÜÚ]tlkŒ¬xn1ß¶ŽcÛPCš¸¾ªÖWufå»¶ùSTa1ŽSŒULõb[5û4æè¦i« of}¢<Éò–ÃõŽb|¿í|} :}ŽùìÂo´G™>R}E£˜Ÿ/ûN†>Ç|öa7Ú#ÌŸ)>¢ÑÌO—ý§CNŸc¾{0›“2dùIõß1>_ö :}ŽûשͦG£MÒô“É·…® {†,O´nhUßEíe­ç;ÉäÑM\º·#c iÇ«3±Ù—¶s“g/è±ÆpÁÚ\ú-õµÖBÞXå-Èc vRÍXôÖk·Žºj§†0Q[¯“TU¹1)7PéÛmU•íîã1JÖôŒ{$¡¡‚\wRkËš–»¶oZÆfcÇ“14ðãvk+Nf)ªšš_esý¦<Áò–ÃõŽb|¿í| :}Žú¾ÊçûLyƒå'ÔZ9‰òÿ´èiÓìwÔöW?ÚcÌ)>¢ÑÌO—ý§CNŸc¾Î }f<Áò“ê5ÄùÚt4éö;ïv³žÓ,ÓPdŒ“ÄQÆÃL}DHð7V›Çð•«ÙÍe^vªy4Ìõ9UlE1»×ÞÙzë©·b-Dã;Ž«€]Q@ à ÷ò9ÖóIÎÇ:'¹„õð‘UåvÍ# 馨ÿÚ"{i¦©¦q‰˜gõ¶môûŸ='uxtv[š·äSÄÏÓÜÒ«†YÆkšý:ãοº–æ­ùñ'ÓÜÒ«†T9–h×\ö&“º–æ­ùñžæ•\2 Ï4ë®{3IÝNŽËsVüŠxOsJ®yî%–Bé%‘ÒÈE1ÈâçuªâWÓnÝ4Sɦ"šw""#°óª©™Æga ÍT7ä›y¤„»ÂèÞæW¯„Н+Ö-݈Šé¦¼4¢'¶Êšê§jf}kšý:ãÏIÝ^•æ­ùñ3ô÷4ªá“Ö¹¯Ó®<óû©ÑÙnjß‘OéîiUÃ'­s_§\yç÷S£²ÜÕ¿"ž#ÓÜÒ«†OZæ¿N¹óÏî§Ge¹«~E­2?-eñ» ™Á-‹ð˜ÀÚºGZl¥xÞÌSoomÿÿÎ7} ~ð3§§ƒè§zý-WÉÒ£Ù1pzˇZ›II˜ÆÉì%pdy½LXÎæÈ}%vB¾«9ŠnmmŽ]ÎkZ\ã@6’½Ò‘´¿u^skíüÑäÖÒŒQÅ3 —%§qt`°3¬çW¨Çw;E3„l£æÿùqÌÄU±Ï¢’Q´2{w1¤ûæ=ävŠóaX1qÜ=ËîrÎ.eymÖuey4ônÆÌl‚JáuWÑ~¨ªÔÌu`Kü}ñä½KËCÚ”*ü¬û‘;DèLïY_ÜÚeŽÚF%¹»œ8ÆÒóFGÞ —:„õ‚²½z-Æ2–ÃZpÚûEÚÛK™æv—Þ<Çokd84Uïï¶3ez¤,læ"äìD^ˆá>¢Õ–Ìc–<¿)y"+©{¥Âhãm-ïAÙˆ‘^E³TÛœ6äu·Ë茛m@ÇËÈÙmK[^»d%xF°ÉŠ:ÕÚ3:Òy„VY©…ϸc¤·–ãkØÒŽæí<¡}v¯Sr1£^©btfµPZZá¼(B›9w Ýh>ûiîSë+]ÿïw‡ÖÞU•æÙUÎ[šF%ËîY‚â78°Ô ¥¤mꎊ¦™Æ6Ðçònpë-¾Žó.Ê­ý2Š)÷ÎX9¢G<Õ¢õ®ýÉŒ&S‹ÅÅ ¿‰7ùTöú^khí.bn6_HÒ;æC)=j:€ó²ËÕn'ø¶û>cônlNa‰ÑHÖ:'×1ÌxiiiÜZEVز}…©ÿÚÙ·Ôn>EÊŽß…ìev_\XeðK{$6ñ8og5•ìVªújÂ&wKëÉNO£´ŒŽŠ>‹+Ém ›h d,­=óÏ/)*Š1¹_^eŠ{â¾ôÂëQo‹«:ƒþ¦¯IŠ›1W'"´ö+xa³¾œãFQ«´£L±‰rÌæÐ8Æê‚fð›]ü„*½›uõâPùÿ…zOÓ8’Ü»0oKFùæ¹k·>KY:(‹‡7HCû ×5w xÇü’š¸Ÿ¯Óͽ‚\æ7R‹{$$0¼‚ç=ôÛ…i4÷*ܽŸIVD!Ë.>ñ %Ȳ¼‡– ¢í=¯q¢¬g#nv±N 7 &–~(d·¸¾YîçšWåòE+Ü{ezfc S¼&>?‡»‡Ž6:Ie¾³Ž(˜*ç½óµ¥ÄÑWd½gÝ$6úMeúD†ßÉ35®½ÎnÜF”´íüØÚÖ^w®MÊö>â_9ëíWwªóËÜê\L‰Ì1eÐñ[2¥‚Ÿœâq»ªiÈ­,ÛäDC(‡Õ:r8bÓdv!½ , Ãspˆ›ƒw"§¹áN;¬?ç\EãVœÌ_ëˇÚ<¼Ñ²ÚÄm+ÿ…#[G7›¿¯:´¢Åšãc¶œ¶­Õù¾©ÍÛšf]'d ·dp‡ÃXK±ââ œâNÕïjÔQ@Ó‰O(ªõµÁÛ»H•È(@A¸ÑmoßM>i·Ö6ß*ï­éDñ}­w 5]´m£ûmU_Y aòÜpˆÜŸÆÖ¾7¹Žœ9¤®Ù>žàæy›gZÎï5‘×,’hu'‡4pÈXÉ}Ñ ¡<´ª¥ÍÑܘ†(O6V–œKÌ, mËmnehÙúIšupUŽRq·zaôn¨ÿjæÿQ¸ù*‹~o¡òŽ™°êí54Ĉ£¾µÄNáWƒÛ*îô[ÌŸKñ^Ú{žj¡itž†÷áËc£ÝýÖ•Q–œ.S¾Åò•E+]‡my(¯>­á<AÃ}=­-¡±ØNú>®o÷HTy™Æå[ìQ÷ î¡—ÉÌv&Íé&ÈC.šNÚú³1ÿÃOÛ¨—«ù“¶ÙFEtÐLÝÉ®ä–#‚½|(Õó³1Ö!UY¥Õp§ø‘||Ÿ!"ðÌú¹D¾‘Öz¯&ÒÙ)Î3xä’Î)¢ô1‰^×Èì-~FÆ×iU=«s\áxuÆŽËuΜŽÜ]¾0@ºËîayè‹‹kžÁÞJÃ^QÕ++WfÝI‰|³wÕÝÅäf+ëIÌ'ÜÈÃG·(<¡\ÆÌcL±H|9ãE‹'Íí”C²ÖXHôˆZôtu#îv‚7m_5üœW8ÆÄ±”×§uŽÖvsG—ÜEzÖ´z]„줌k¿Y ‚´<ô¢®¹j»s³°„!Æ~åÚ[4³½ÊÐåy¦6z©l3ÆGÌÇ´×!6e”¿5ÄÄíÂQØÇ’uõŒŒ`nÝåJW Üh¿÷¦Ÿÿ¸Û|¨^w¼ ·¤}O¨r+,ÿ%»Éï‹Å¥ë:9ŒNÀü5½vÚnTVëšj‰Ž£ òû ›3_+ï®#i©‚KŠ1ÝGtmc©ý¥õNzçY8º¬ëQé-’ÄÛ©"±´‚1•„ t lpÄ6Ýnr¼(·]ÉØÙCåíSŸ]gùýö}vÌ]HØAÅÑÅqË…ÛÎUź94Å0Î!õ´XfùCÂÙì/à9§½|R³œs´ªIÆ™ëÃÅNäú3&˯²Y®\ç݈_-Ä‚LcŸÁVº=ûÊ²Ëæ&äÌK(”¹Ãíw•k,¤º1™Ç5ËÝLM}(çŸ 'ïiÝɽ|7¬Í¹ëu0æü»hs™Ä×ËËñú¬HÞ†•¯GKÑòSí•^þÝ^LwL]5ÖQ¢²„ÆsÇÑe9s)W8 -8Gƒ=ÑÝM›×‹3r®·Ut©“Lêë,ò|SÂøó"/|Wâ¼½ÍuN¢¶¿G.‰¥–¨ï,ôî­Óî‚ag“f º¬pÞ×5Í5kšv‚6‚©bª¨«ra‹ˆ³þ^ôMšW^ÝÄÇ Yç¬fœÀÖ=îåôÎzäÇQ8£M)”E”ñ¾Û-Í’ \Æá¶îaoD`‘ìã]„óQ}w+š¬ãÖOQ(ñþ¾Î¦§%å§Ëñä½gÝ(†‡ùÖý=¤šBùÿ§²i›*q>±=üC«ŽÏꞢõÎÚÙåÇWl—‡ùƒÑrDøõ†_&¼6ß6cGºð`ÜÜ‘¸ûÞe–F÷ü'î!º‡€zFÿOåÅ·2ÛæM¶Œ\ßÚH×Ç4¸j÷–8>7UÛ‹i±yÎv¸ªw [Îð‹+Ñù¤ù£/翼–nÇHÖFÖFç;½`ÚIhÞWüÔÜŒ0Áº£/̳K ’ÊVÌì¬É-ìŒ5kf‘¡Š¿œÖÔ»š¡}yS5OU0Š×Ü‘®s\Ç=¦­{Ikˆ#h(6ðk-enÐÈ3ìÂ6 Íô‰?¼\¼æÍÔtÚã\JÂÉ5bZí„ Üß…G £FÑÊÙf˜Í4šwošW9ò»ž\ ôÁ+ gªzµA´ÊuV¬É 6ùNowelIw£ÆÿÑ‚w–µÁÍmz‹ íSVÌÂ|Ï=ÏsY™¥õÍóÛà›‰\ð=ëIÂ;)·µ'’ ¦·¸eÌ> ˜cšº7·¬öVX@ÞûC×ø:?¼wøwˆ+ð°âü+ÏÐ[Ñ„4RÍ<÷¸¸–Iî$ÿi^é$w]Î$¯XØÚ·wPó ÅîʳýA”9ç(Ì®2ìf¯lµÇœ³k+բƫtÎÜb=wÚÛYf˜3 îúx]áGÓ4õÄx+ÙXÅŠcj j!šh×Û9öòFjÉcqcšNü.mYòqÛ1gŸ3Íî£è®oînb$óK#*7/s†ÄŠ)ê@Ãî¡•²À÷Ã36²hžæ=µ4sH#bžHõKšgsÆø§Ì®æ†A†H¤¸•ìp;ØçG]"ˆŽ¤ ™Nsždÿºs;«w²ÞW1Ÿ¥ŸEVé«n1 Ío­oatyõô° ÿîAdobedÀÿÛ„       ÿÀ^ÿÄÆ !1AQaq"2‘¡ÑBR±Áb#$Tr²3CSs“³t”‚’ÂÒcD%U67á¢â£Ãd5 !1AQaq‘¡Ñ"2RSð±ÁBr’¢£áb‚3#ñÂs²Cƒ³4ÿÚ ?ÖѲJ•ª PJ‚T •¨%A* PJ‚T •¨%A* PJ‚T •¨%A* PJ‚T •…B €€€€€€€€€€‚V( + TJÅaa ‚ X €€€€€€€€€€€€€€€€€€€€€€€€€€€€€€¬,!P@@@@@@@@@@A+QïˇxÉ"§P]XXB €€€€€€€€€€‚V( ŠŽ¥qè‚PApp1™¾ˆ¯¥jI.(.€€‚®po2ŠTcÔ ‚æÈ(0pÄ «^ñÀ×ÁA•’xŠ‹ + TJÅsÚÞ((f<‚ 8—Ò‡ÁAñô ÈÙ)ƒ±ñTD™I ÅÝPRˆ%µâ* ³\Z*1o1Ì*2‚¨à‚ö·‰Ç¢ o“0¥0A^\ >B€‚F'ò¹Xìͯ>j‹ + TJÅ-íî.gm½´Ožwû‘F38ÿáâ¼óf³“~K¢Ë#|ÎÈùw[lÝ4ˆ¬¶Í7¶÷ó4?Q¹m¨âa„ ?tãì|^¿·lš`²ruÞŒx#ÖŸ#©‡”ß;ožØí³Û»K˦É'?:ä“þlt\Ûy×;ÔíÅŽb?·ÓsÞtºL~´×¿(û?µ²û –ͳJÃð’²ýWhlÛ6äŸð¶N ì‰ùÉ»q¡^FdÒ¯ÞÞžÛn#õÒŽ c힯 Ü:œQ> Çw™.åxïŠã»éjÚÖÐÖ´–™&‹Í¶na«Ø?t=æzÂúÞ[Ú&²xl»‡'±vÉðt]àñ9ºL[ãg\<@jmª³Ep”Ò8ZAvÆONh-‘AŒqnâA@âÚÓ òèTñTJ€‚ef8uTd@@@@V¨ •Š>ýE½Ö/E­¨Ê§Â¬OR~hæ¹ÜךbÐá÷™6×e¶ôÝ=]î¹è{éô÷e»†ßú7‹›ýgY‹KX¼ýBV‡Ty¯ü¹Ÿó[Ð|~{§Ñëyæ_{’î 6Îÿ«oöÙoÖ»®|sÐí_—’Þb·ü·ü»ÍYÜšÖ«(W.lk,ˆz@Åßå÷¼»‘é4qÿž—µvÛ¿§‚Ž6}^L¾´ìêÏ5­Ê*ÐqËÀºótÎö´BÕ¯%h$¸·Ml÷A(Ä>';áXf²Ü¶ð䈾ޫ¢¿:Û3lÖÝ’Û´>â^@[¬ß­[œ>²ÀÍ”Ñì¼||g5ì^,‘7igÝßìÏ©=éßo–;ΦŸšÝnÌž”uô¾½weéÚ½·Ú»uñ‰$Æ!›®_äßñu¢çr¾ÒçÑäý>º.¥»+>½ÿnÞîþ©—¶£Af[}æDùš'—$DÄö:9šKdã+šáÄ8_¢Ût]l]lÄÛ;bctÇ\8“IÞP×~€Ö×0øN$ñ J¨¥ZìÔâ9 ”¤÷Ï©A …: °c*zPO–züH*æ‘Çá xðPd‹\x•FDaa ‚ X €€‚ÑÇ,²2(š_,® ƒ‹œã@>÷Ûe³uÓKmŠÌõDoX‰™¤o—E¸–×fí¶ClºŒæ'øÉÈöžïÈŒp€¿.Á'=×Í×VÜ~:-î¿§Ã= ¾mÒa¤m¾|²ç7É$žwºYåqt’;9Ç™_¨cÇn;bË"-²Ø¤Dnˆ|ý×LÍglËĸñ"€,Ñq.à1 (Ñâ+TùqL Ž~’¨ôtMÅ}¡]‰­ÿ9o!ý*К6AÔ}ŽNøW'œr|:ü|7ú7ÛêßÓožÞ¸ñmliµWaº¶îé—KrÜ-–æÓ­hä:û'²=Ó(o¤¤o#êྒྷóLÜ«<é5[1WîWuöõÙwO|K­ªÓÛ¨³Þcõ¾~ä÷\ÑÓñ_eí9KNhAWéü2àU˜=˜œÂ•<Ó†zŠªéZÑPFǼ†zŠÂ±ÊÃ.lÙ8òNê+ {E\8uW†zŠÃ ‘„“˜câ§ õ„‡ÇÇ0ÃÅ^ê+ ,æÝjœ3ÔVæFkíŠ h© pÏQT "-Ì×aÌœ3ÔVòÒ(àž¢°¦Vý0§õ#{D”¨­1Nê+ ÁÀð5¢LQj•XXB €€€€€€€€€€‚V( Ú;{¦‹m÷OeŒy™ÓÍ“ÙoÀ*WÈöÓ]î´‘Ž'n[©?fݳãØéò¬Û¿ÊzèvgAúm•O'§w‡Õ¯~oy–z­Ùçyº^‘y«êQYZœ‚ù$w¹ºŸæº˘âÑ᜹7nˆ÷OT|¶C_ ²ÝÃkuý„ÙöMd:ës ö]$퀟°rô¯þUÌóÌ݃pGU“};÷yŸÛ°Y²û¶÷èñwFÉ“G€ßYÈë<æ‡SÌŠ¸0sÑ®q>.Æ«ã­ìç7²8mÉKcu2Í<êN¿M;fÝ¿eµ»õ!ýÑ«/Ø9ÏÄüÙ?[¥ö îíÿê#û›~DýƒœüOÍ“õº_gð£ö»·ÃýÄcËêmùøÿ:øŸ›)úí/³øWý¬Ø?¨îùþ=ξ'çIúí/³øT;··ÀÐØ ÿcoȟǹ×Äüé?]¥ö û]Ûãþâ?¹·äOãÜëâ~lŸ®Òû?…a»¶¯èX'êOãÜëâ~lŸ®Òû?…µ½¾ýDsoȟǹ×ÄüÙ?]¥ö FëØ4ÂÄSû~Dþ=ξ'æÉúí/³øPwwoÅkd0ÿê7äOãÜëâ~lŸ®Òû?…#vìOІ"£ôFü‰ü{|OΓõÚ_gð²Øî-‹}y ­½‹|ùÞ#ŒºÑ­SEá©äüß+²ß–x,ŠÍ2ÍhϯM}Ñl[¶µ¯÷ÞÚÓZ´m´,‚7[Uí¡€œç /£ìf£&]6IÉu×ϼúÓ_«mke¶äˆˆ¦Æ¶8¯®s€€¬,!P@@@@@@@@@@A+oý»hƒCÔ/>q•ƾFü+ó^ÚÝ95˜±tpÇâ½ÞåQÊ뻿49ódö‰«Ÿí;ÒìOá_¥ÝlDÒ:6xœšío°deš“è<ìñ7Ç% ¬Õ_vö뫆>¯ óá¬}ç&ˆô§§cFÔquu-Ý]ve{gó!ÁÄe5à ¾÷Ie˜ðYn-˜âÛxiÞßáéž·,Ìß3w­Vÿ³],û&î;â_hÑq.v?™ Ä üÖº /ÍûMe¸¹­“‹fOøæê{\_<Å*îh&nÓL]êíñ|ªæ‘ceq$Oú}óéM·c;cŽ%d}özÐIhpÙZ KKž\º1\îÄcº4wÌÅ"ì›;»)Xð½ù½Ñ9bÕbwÍøعl¨ ±A<¿† AÐûyùí¯¨ÛW eoç"_švÇÐæ¯Ü6~ÝîY· Ö÷gès‹q”F9CêÁ~›|Öép-Ü÷6þ¹q¢êê&ù‘½{å6äæyÁñH@äðÜñ¯‡Ã£çº(÷X¢ù³£‡†ëƾ¯‘×».,ñ]JøžVçÞ–76'GÑY’Ì·Ëšl¾[Lcø¸›¡æW[vg.<ß©ÕÍrV¶Û^)âö¯ž¸è¯¶ë}Þ?W幨†´p_nä¥\æŽ'ÔƒžM)…12‡ ZsC…©2Ç ’($¬bÉ™ØË‰»è»…ö,¼ÕîåhsaakCïw;Ý_hô_ Ì»cu™§–Ⱦ-šqMf³ømŽŽë­ƒ–EÖñdšW¡è~Àíù„ŸÓEò-æÃá[÷/{~ÙƒÚŸyv× ´dÿmÈŸÌ9‡Â·î^~ÙƒÚŸyž>åØM°Óߨé—.¹¶ˆgž'å. æö=¸8auù/k'Qš0g²,¾í–ÌV•ön‰Ý^‰jêùo¼vMm_µÐÄýZúW É lnú!éÊ»ËuºlvÆë¯š÷xmØË”[òéê‡ÏªïMɯ{ Wb(b™ñÃca¬9@©“‚ÜåݘÐ]¦Çuöq]u‘37ï}ØA~iËóqÿª¶ç²ü»á~+¼ï8æçëy!õhÛ×sˬXÃ=Ø– §drÆèØkÍ-‚´¹f´é²]f>­²f'ŠwÆÞ·¦ ~iÉlLì™ê‡×Üø5{Ð%»„Žë‘ôm}­^Âß7i²[;­¾)Ü­»^œÞ"2DÇL<-¿·ï5{ï«Àr±´77${10þšÑónm‹A‡Þ_¶éõméº~ˆ­?KGM¦»5Ü1ឦé¯k–SLf“¤4}t¶­Úòóqš_¤÷r‰|')åy¹¾yÕj§þ*÷¸©õ,ê²:géuõ:‹4Ö{¼~·Ëlü¼Žm#Þâ_#‹å‘ÆI^ãW9ÎâI<×é¶ÛÄ[KcdDnˆê‡f»e^UY¡¦­ + TJÅæ>ÈPPôA¹öÃPjWv ˜ÄѯˆÑÃü×/‡íÖŽoÁ4}K¦Ùï]»ËW[”e¥óg´×÷–í;p^ÚÒ‘µæXáÕiài¦ K°s¨Í1¿ÝÇ–ç·9õmŽïÑ.vø™Oq¡¼¯Ó=åÝràðÆ/ ß€'¼»®Nt̓lû•=«NQ,—0°šÜâœ:x/Ë;Yž1s[rOÕ·Ó×4}-·‹O6÷ß^ÎÙ×ZÅÄ’Ý2äO#Œs(Xâk‰e¡§±#“F'Ô¾k²’Û¬N{bþ=–EÑ_µ†vG†[üËW11ŽÉ¥7Óæùw±Õõ×î?¥ʾÏöí7ÂÇ÷-ó9~ÿ'µwŽQö¶¯úýÇô¯ùSöí7ÂÇ÷-óÿ'µwŽ{ÛÛ€ÖÜ\K;ZjÑ#Üð Š’½qi±b™›,¶Éž¨ˆù˜Ý’ë·ÌÏ}­!{°b=z Íþ¡~]½ÔÐÇRrG#˜Úž&€…¯—I‡$ñ_e—]×6ÄÏ•¹o·dLÇ…“íg–¡sý3þUçûv›ácû–ù™~£'µwŽXËËÉ{œ^ç—“RIâI<ÖݶÄE")ó™ªE\ç1ì{ZöšµÍ4 ޱºØ˜˜˜¬IIØÏöεÃí ŽŸÂ¿åZ¿·i¾?¹o™ëïò{WxåóK+å‘ÒÌ÷M+Í^÷’I<1'¶l²Ûm‹mˆ‹ctFÈyLÌÍgz„“Åd*,Öæ4ä8 Î…„*%b‚ 2GOi¼9„Aïí×.…rc›4šdî¬Ñ·Fþkï‡?JùÎÐò uöq[HÏdl™Ýt{7Û=æî‹[8f“êNÿ;bÜ›*ÛVgÛ~HÜûæ>"š¿=Žà×õàWÍò^Ó_¤ŸÓk"è‹6V}k;—GÖ·ªwÇvú­dy‹§£­ Í öÓ> ˜ŸÃ0tR×Q_¡áËfK"û&.²zbk%ÖͳIŠJ p'€Y£7ƨ=ÍcKœhUˆ¨õ´ ¥«ëol¦Ö¾Õ܃ˆÿdÓïŸ ÍûE§ÑDÛ_y›Ø‰ÿÕ?V<½ÆÞ›E“4õ[׿mšÖ»¥í=4i;Zu Tí˸Í9ùÏ<›ø—ÇrÎW¨æùÿSª™÷>.*}K:­Ž™ùåÔÔj,ÓYîñúß-³òò9Û3:G=î/‘ÕsÞãW9Î5$ž¥~ˆÝº!À]P@@A„ŠaÐÑ ³\AÇ1øÐdQÁ%䂎ä~R‚¨-J*YA­ %XXB €€€€€€€€€€‚V( Àöå?’PBGDÜZ¶‹1uŒƒÊy¬¶²{Q?ÆŸ5Þ-\¾gÉôúëi–=(Ýtlº<=1Ü—¾ŸS~)­³ànqï=¥­@ ×-Ë7ÌŒ~æVŒÍø—ÄßÙže¡¾oÒ_ÅÛ<7xl“åu£_ƒ4S,SåÖ~Äì›áæXß5ØÃßõ*'æ¸=Ø«ö±Ý[OÛô÷í¶ïÿÔomöüG4º”Ùyûp³ã¢Om5·l· µï_'íX£}Óäó$GÛm Þa|WWLŹœn寀hRëùæ¾)K¬²øíðϬ´Òaêº|o+[î=ýÓ]•²„ànGLGäì³ã+¯Êû‡Åú‰÷·{1²ÏMÞHkj9¥×l²8cÊÓø¸’Is‰sœI$“Ä’x•ö½ÈÝS,8úY7høŠ ¢ k¨k˘@y‚8(*PHT.4²ƒ3Z(YXXB €€€€€€€€€€‚V( ‚<btnèQA éTTÇ5-ëE”_1Ò”€ÇâÐ}"©ÏYHX ðRfª($iHýÏI(,€€€‚ä}H1‚9¨%PA  ¶78FP%XXB €€€€€€€€€€‚V( ‡û‡ÐƒçHAbãˆê¨Št(§‚@$a€êPCxUVŠ1¨%^=ƒáŠ n₪ T@àOB°°…A¬P@@@@AóR†ƒ0TAcO*z0@ hà1êPhÃèAŒ{¿ Ç )PGTO‚¥A*‚àPgo‚P…„*%b‚ ¡®\íÍÒ¢ªÐ]A†VÑÁÜPec°ñ ‹  ¤¾ç¤ ¨åéA” Š ”Ò*Òá‚ sô”kšìAV†ˆ25­-Äb PÒ¸pP@ssd¨ÍÓš¢O u(>€XXB €€€€€€€€€€‚V( ‡9­is° (;wo{+¥³M‹WÝÑy÷2°JÍ6C–FaçFwÓWÙ®kKìɼ»tÇ1•a1Ùù‘a‡¾ÈœÓéa³Îݾ1Ç»6×—uJvÄVñé²¾ÔR)%p.‘Ôà¨nà·ðEÜ>–õk.h"‡‚ö-4>¥Å„„qTOš: «Þ]NArð!ÕlÖºöÕŽcî!kÚxºV‚ NáÚ;׳ö¶³â»Òt«k§^ÁšÚÇdpvfÔr4\ý&[®¾“5Ø8šèOk»BfäÓ]¯´»E|(HÉ”å/Àü¹©Éa“‹†xw÷»÷ݲ¹Ól†Úú£õ†ÊÚɧµ­`¶Ês‰¼°‰¦Pq¯…V®–2DÏiÝ'mvnÓÔ{ko©_é·7å—E×2Æ#‹$6®8à ËQ–øÉHˆâû:Mn &MÄ ô_0ì rœ¥àbYŸ)}9-ü¼\3ý[ÿxï»as§X±õ7ë ”f“Ok[¶Ês Œ`4ÔÓ-q¯…V®–2DÏiÝF¿³;W¹·m«¯¬e¶µÓ<×DngsœâøÍpñp^¹µ6Ù4êÒæ7ÎdgóŒsØÒx4–ƒð…ï¶‹þÆ»·bß%¡¸ú­<Áö—Ö²qÍO3Ìó9×/©søs{Ï•Äâ‘eþžœ+ÍtUô  + TJÅÞÆÓ¢Ô·®…e3Cà–ò7JÃÀ¶ e¡ôä^y®¥“=ÁÙ»ÿ¬ÜYí}:–}­r œ· Ã#ÙèvP‚çhl­õêGçêaA‡*.ª¾Ý6}oO·ÕèôÙî#ŠòHÝ‘Íç.`ìrÐIè±¾f-šo‰Ñ}Ü4§›iä°žhªÙ#¥»5jñæ5s먻­;ÚÍŸ&ÏŸríX™nëhãlâë{‹zfuIäöšæú `ÔßÇÃpñ;%±ö¾æÓ5™5»ÝËopÈí¤sÞÒÆºãLŽoÎ5Åzj³]dÇ ¬½û-»Øý¡ ˆ\EZ} ×â8fëv\Øçґȵ>ËîU¦×ÕººŒHO²'¶™ÁÍq >Îf;5]{ÅŠ:•¶÷¯emm·§é2è– ²’êåñÎæ9îÌÆÄ\¶çs ÃIšëæx¤o=¦ÿ´–ÿÍÞ["ÖÕ·ÄÏ».ÊÖÿrèq‰­.®íḈÔÆò›QC‚é噋fa]½#im¨4 4}=–"îû˽s]#ƒ¡ Ìàs¹ÔÇ©¥Íuõ¬×b:æÄeÇ¡eÙî…ÚGŸ.6ïsÙçW󘼸֫G7§¼qnå[ö}›}çg>ÑÚçÖ™¶òÈù2Ÿ;Ù{œ=+¡§œ¼^žålQvófÑ ìÆ}±öOÖÞy3yþNlôÍ—ÞÇ‚ò÷÷ûÞìª4nÚl7ޱ$SHè4»&µ÷óÇO1Åää†2xe$»ñ+kQŸÝÇvUÓ5+~Áí»ï±5 KAvÀÑpdŠKƒp3MGå$âV³žøâŠ£Wî÷l´½§Ç¸tbÓ]#c¼³Ì^Æy˜G,D’CsQ¥µ¦ …í¥ÔMóÃvõl;¶Û#GÙqn]Û W2IlÛÛ©njømâ{sµŒŒ`hÒ*hI+Ë.¢û¯á±n³qØKF¾šÊ­µ x$–Þ([5œï{Vµ€†µÅΠ¥ ÎÈÏÝãWf|ƒ=3Ðf§ ó[âP…„*%b‚{`^Åc¾t™\oÜpL @ü/ Ëlks›ÑZcê[Ø+Ãoyûsþ\Ì_ö~a?LÀßô—7û¶{HæÛ³6ÚÆ†Í˹oa¥I¦†‹Xó©óe•àäi0pÄ•·›UÃ<6Åe[Wnm»1ð»VêêçYly2Hë‡Dèˆo˜A‘­aä¼³ÎnKr5®úNÜ­*/ä ³·]8¯múçÃó+xûÁÿÐŽGP·¨ô•­¡õüÓ>ïOÚÝT6¾YÓÚd³ †OÂå±®õ#¾¬ÛðÅþ>hÙ=á.›æz|ÇSÿ-Áþ‰ðgïÿåh?Û%þ¡ËÏA¾{È÷{Mÿimÿ›¼þ¶Eçªÿoˆp>ÞÖ{cû}·ï‚éçõ.ï+®}äGü;ox]ÌöJÐÐožò=»á¯o«Öúë÷áyëÙàÜèÛ5Æ8ùÒԟ纰¯Ñ±šöSþEÿÀ¹_ûÿä3îèØ†ÜÕž)æºø :ÐAUž¿ÖŽðñõëÁ\ë›õ;û±¨Ms7ׯkÁI³È0m0"‚‹ÒÉψ§€gî7p¶6£Ûùvþ‰xë©©m 1:9Aòá‘„’ùуYÕL/ŒœW@ÏÛÞím™vìwv9–ï·„Z‰îžÖ⌌4!®Ëƒƒ°ÅFšæ&^Ù¾v\ÚÊð×–K#ž×€H«\×ñ ËYeÑ}z•¯m]™´·öÏû_noƒõ-Ëf0=†7<ð”.­‹2_}—qG@õ¾ðzΑ¨éº4ëë{DzêS ·•’–´ÂE]š†ŠÙ¶f°>þÀîã@¹¹ŽÞþ™'Š9\æÅ5 YSŽWT¼õ˜ç‹‹¡”¼>èöÿ·Ú&‰}¨i7Ín³5ÃeŠÊK‘%[$µ•Ä1àâqáEéƒ5÷LDî!³3]Їc¾ÏûJÔ_}ˆbú¯›æyÉ“6lÕ”^\3ï«O¬”sîÎwÓiê×Ú«Ë4}L3̸¡" ã¨kÞ9Ó•Ç•%µ©Åï#fø&_í‡n÷>£.½o¬W^%ˬî!t2:”ó(ðð×cN>•«f§%‘ÃMÈç=ÍÑ{y¢YÙ[m{ñ{«@÷‹ø›!¸t‘¸T:I[ù¶9ŽkE0'¢ÜÓß’éž(Ø­£nößµ›‡oiî·Ö²ê±ÀÆßËopÖ¹ÓR¯ó ”:”&žè^ê2ÛtìØ±š®Éí†Ð:}­ÿÖåŒË%µ£¥l·O!. k(ÜÇ /ó_YùÈg5sÈÎâ\úpÌãSOY]eJ°°…A¬P@A" ñ)õkzSÊe:e Ô\5 PAÀQAŒ[[ç0?éŠü(%Öð¸æspàO»îí=¬^º%•‘—]Ä@{€&·©\ítmŽò9.û†ÖMó¸¤ cÃõƒœCó[¸}K{Êñò±  Pf*øãx¡naЊFr{?DÀ•6cYƒZAEj!ÐBã™ÑµÇ©”¨˜ãduòÚ^4ª :®v ñ[\­ ¯ %AñÆúghu8TU* Š6‚Ö´ž J‰cÒ\ÀÈPR©"Î p¤ŒG0±¢Õ ²¦6ãÄ´QJITyM͘µ¹«ZÓúU¡U±êQ*Æmà'ø&šñÀcéYTedD45­ €àOÕâ'3Ú×8` vG ÈÐÒxÐUE”aa ‚ X €€€€€‚  '¢ ÈFvƒNJ‰€5¸r P\F OR±™TTT ‡Sš aÉgbb8‚¨O&J,Ô¬x–‡–«CË RˆÊGœI@ÃøŠÉ ”# ×QÍQtaa ‚ X €€€€€€‚¦6Ÿ1χÍLg˜'Ö  íáˆèR™ÿF‹ª9Ôšžœ–TB¨ü3xP…& §3ú€”*g#ˆøáZ™‰÷E ÿîAdobedÀÿÛ„       ÿÀ^ÿÄÊ !1AQaq"2r‘¡±ÑBR’Ò#b‚²S“³UÁ¢3cs$46áCƒuðÂd”%5&'8 !1AQq‘a¡±ÁÑ"2Rr’3ðB²ÒS5áb‚¢Â#C%ñcs£4ÿÚ ?¬/Fä ˜Ù$’¢c¤•ÞŒlÎ>AR¸×]4S5U1M1Ã3„tÊÄLΦ]»M©®@qµm»O‡†’9Šó™®¸nÛ3‡´ÛŸÜ¦g·¢–÷uê¸0å{ÛÓ|ÑuÕ³OgÒnjªýAÉF«wgÕð²>OwŽžÛLý=Ô1ŠÆëyéÁ²ë‘c¯{¾¿+ÚQËN?f\+Ý7£Vâßâ2¸ãþzÒHúÇ ³å¶­^#½2¹¿qršç‹ëz³„°®Ø®ß• íYî¡Lé¼Í.%q·ÇVè|¤oõÞÂò½bëU­ßºb.f<Þ }?»¯~O!Uí3¢Ž>>O Áq©tÖœc¬°ö͸¸nÉ gÍþòcRãÚò¶:½¼·½Q{9\Û·:±×‡îÑ¢)ŽÌáÎϯ9c/6ãúk•zó\êK‚y'm£æÀÀüçs½fS©›ºÌi¢nOsÞŒ!¯¹¼¯UÇ#—6¦Íçe. Ï÷¤{”[jwJ#F^ß© Œ»çÕÒße«u,c™™9^+èÉË#}‡±¯õgw\Œ*±DrcLö¥ÎŒõèÓOuaÆõà}ZÕ³Dí–CùÑ:­w¯1Ÿê¹ñò—&ŠãTW«š¨Óðϵ½çUÈÆ;£!¤ðÙ«C‘ӲǮ©17d/w¹§lOö–C­ÍÝwá÷5UO>\GOù)íñO²îFÝêvìÏ7ìR&†h&’ ãtSÄîYbx£šG¾—jí(Šè˜ªŠ£˜Õ0ÒULÄá:&.h Š*Ö”ÓÿmdŒr‚,m¨û²6Wш×ñð/;Ömû»/µO¾¯EŽ:ù)àýîvfG+í«Â|˜×àv5–©w3°¸·máÕÔ±yµ¦Îæ:nkw8óýRêÖˆÎæ£jå~5Vä«uNºqôµá†fðÎÿŠÞŠc_ƒéÈäiÝ%™Fm—ëµ.#{bgÂñî[ýýÖ‹¿ÅŸî_ó"uvkžM|Œ<¦F»ÚcE<~†[.ž`ÝÝÞ½·Wlô™!tòWü6y­^FÞï(Ú³jÔðÆSëUãKc6²–tUãUÓÚaüç¢#Ù1Ž¢Ú!îš«=UßUiªücÿË_z˜ecê,9Ó{ï2âÑ–äü9 1ùñîWå=aÊÆ6îM}ˆ¹µÚ­>#'s]8saÜkÈè+K›o®iû¡+µ½áñ¿ÀÉFãàrÈÈuÞí«žË?of|è§ JŽìÓ‡$¸]ÝtÕNՙDZûUœnK'„ȺXAŠâ3Éuk%@xÙ#}ÃÂö»Ãwå·Ž^(¯ ­ÕÑ]<½L÷c‡Tµ–oWf¼cDðÂá¨1Öz› oßó±0ÕŸ íg§ ÿ-Ÿþ+çÛ?{sçg#™ŸìÕ:'‚&|šéýÚ¾·†ŒÕªs6½­T}0úwÔA í}Rc ðÝê+(Þ6ö„KdŽb×¼n5ðÖHà7Kuæ6.lÏ“WwéÞxuŽ6<^vxØ9mîGÖ hà|öUõ[.«o9Îdhª©ÆºMê>Ý:{­=Q6ë˜á¦{‹ÇR¡ŽçŒÊF>)?‘;9ÀùM_:êɳ™¿–«‹z*ÙžÔ·[Ú˜ªŠ+¦?ú(+é­‚AÖl‘ôUUl@@@@@@@@@@@@@@@@@@@@@@@A®Oí8oA#š•ÙÚƈ=–7וú´· q‰Žpöw,lÎvÆ_ÞܢߥTGk[«¯É‰žE‹H`³Pj+K‹» `·ŒHã$ †×ÇUäºÓ¾²—7}Ê-]¢ºêÙŒ"tùQ‹a»ò×"ôMTÌFžãË®ž_ªnAøÂÁäe¥gu.œ7e¾ÍUÏóaÞuï9þüó;öö×Rt˸´‰Ó\\ÂîX£s»É|êy“ÍfmÑÖM»µE4QTiQ…;lú(™ÉaLc3õAškRö]ÅNÿ3ÝÚ½÷Ï÷ãÚõš„½æTËùgRðÆÜÙÈô§Ï÷ãÚõ„½æT¦5 y¾Ë¹ñr}>»ÿ׬|%ï2¤ÿ-jBiöeÀí<ƒßOŸîÿǵë {̨:kR £r{A`÷Óçû¿ñíúÇÂ^ó*X4>+3ežï.¬¦··|1ÒHÚ6µihßà^[®[Ë'˜ÈlÛ»EuÅtÌDNž–ÃvY»EÜf™ˆÁ_ÖQõNM£s¥§¬Æ’½V.mnëÅF,õ8^«—¼¶d-n²}7°e´O¸¹îížÈØ*ãÈîSO^'%˜µ”ëé¹TQo‘Œè1uµ»EW2táÎ…2M=¨#it˜Ë–´m'»'ôj¾FûÈÕ8S~Ö>”wÚ‰ÊÝ«WCÃÈàâÒÒÇ7ÒkÁ6¡lãLcbz îÏo´ƒ4þÈAùA²-¤¸§‚£b \àÑRƒX«‰qÞvƒ·¤p‘æ³BÍelÎþv…ÛyYG;yδM»~ö¹Ù¦x¸f®hÕÙ˜fd2Ñzæ䯙Yszý¸ë·ãqV±¹–®îž÷Õ‘‡ …±±”ØÝÕ^Gtu+âíFc5r¨ªçjÂxjª®׃c˜Þ~έ‹tÇŠä¿©yðîQomPiµ¯ùËuþ‘ó®ôÓ÷Xß8»ÅOoÂáäòW;ù¯®[4¤æ€ÑJ×±zÛ£'b›æfŠqÃzgëÓr¹ªuË©c®³Û,mâÑ@ÞV9íqu+]´píZ-ãÔì¦nýWëªäW\ã8LaÍ¡•gy\·DSCÕ÷ŸýEµKkè¿ÊXè:ïM?uÛó‹¼Töü-yš€Ò–ö¿%ÿ9Oô w¦Ÿº|âï=¿ oÞ>{õÛöy¯ùÊÿ d|ë½4ýÓçx©íøX»©9öŠ÷» šýß)?Ð2>uÞš~éó‹¼Töü(gR³îu ´Þ|×îùJ d|ë½4ýÓçx©íøYŽ£ç¨ †Ûä¿ç+þ‘ó®ôÓ÷Oœ]â§·áVr™òY ¯çk[4äµ€†ŽV†ŠO½VïÈÑ”±Mš&fŠ5c¯Lâ×Þ»7*š§\»XÝw™Çãూ+wClÀÈÜö¸¸ÛG ÞMÊf¯×zº®EuÎ3„ÆÞ+2Îò¹n˜¦"0Ž_ ßRsm Ékm â;=º¹`×ú}’˜Ñrìz³Þ‡lo‹¼1OmÙ†|¶²–9"6¹(C ±×c^×N2vW»k=ÕÛÔÕ{Lµsü5qÄÇÕ¯Š{±Œ3)›YÊf0Ù®>œïžÜ[Ëm<°J9f·‘ÑLÍ㙦†žè_W±~‹Öé¹DãEqG$¼ýtÍ34θk{K…jíFÑàP#¨’‡Êƒj @@@@@@@@@@@@@@@@@@@@@AªM²4pA SŠã0°½ôµÉ<;è[_œWÍ?Q*œ,G?e»ÜñåówÔ‹‡‡\N^j],„øËÊú5šp¢˜6Ÿ³ 5S¦yeª±Ö¾ÞÕÛ¥ÃC&8TÔ`$miÚv*2'inãZ)21£‹€§œãF†Š¸“ÀÇĤÔD:ði O4bHñòµ§Ñï XHõ\AZ+ÝgÝöêÙªõ8ö1«·ƒ.œê£E2ð_ã²xç†ß[In]±¦FÑ®ðs ´û+e“Þ9|ÌcfºnaÅ:c–5º.Y®*0y¹¶PPWxV^.¼HßÄ.CK‡+ˆáÁ@œµÇm}Å{@=ìÕŸ5ðÌÇŽÑË_t/)×Z"wes<Q1Ó‡}Ÿºç ñÉ(Öѵº¦ø4P?»‘þǼ»º¡\Õ»-cÁµÑT¸ï*b/Õ‡c¸á—MM)Ù¼¯JÂH¥E AA‹<é ø <ä<ž¢ƒp5Ú¨”ÌÚÒ»Pc+Iá;˜Ä^º[Ì“ãCOaËæ¨Ñ‡°ä¯ú[ÍÍõù»êƒéæÞÉúe}"Üø´ú4÷!¦ª3Êͱ´í+µÁš>›|¨„ž›ÕˆÅüV?¤°£1”o>JP9@½®x«`ˆÔôý å;Ï=˜ßyÏ„ËNzg_ᮺ¸ãͧ“†[û6¨ÊÛö—<¹ú`àÝu#RK)| ‚Ö*ù±w}éü縊û Ñ庋»è§ öîUǵ³ÑûXuï[Ó8ÆÎ\A—xÄgm¢ÿ5ôqÈÐÈãðÇW‘Çà}… ßR¯#’®¯íé˜úÔÇ3TG O+/¼"ïöîÄiWu>œ<Ÿu.³¸KG;kš££'‰aãØ½V÷Üo¶ÝZ.Ñ;5Çr¨ìUÚœZìîWØ×„y3©É^ˆÒóÌâTÝê`¾êîƒp:®ÔHG0þ¢òÝsü²ç¥GÚgîÏæºh:ªóÕ‹÷aN§Oþ2ß-jWy{ú¹»Šûš+S»Û^¢%¯˜_惉Tn@ª´;s½eœNø>ªڀ€€€€€€€€€€€€€€€€ƒKž]Z5$»Ñ©¢=6øÑ„V·0ƒÌÍüB ÏK]Íö— G‘Ëæ_¨ßàä¯ú[Í˪¾nú’ö4ÔúI?L¯¥ÑäSèÓ܆’­sÊ.HĹ£yò Öç“»e6…¿ È®2ö¿lo¸ˆ<~x+ z]ªÞRõtùTÛ¯V]¹zb«”ÄùÑÝYºŸ$ÈXÀãôMŠIZ8s¹ü¤û‹ÆþžY¦2×kúÓ\SÍv[-ñTíÓ)]Ûû<«Þìµ[I-,cžžÑÌÓØFÐBì·Lc<.Kè=Bî 4¢“™Om_ ^¾_Ôo=˜¢Ÿ#f{Uèo·®›TLëýŸÈÿ‚<¥}=¢kQª³aÛNÝ¡{Bÿ.µ=±Ì¨¼·]?,¹éQö™û³ßÇ; vç YyO‹Ïúa^¦Çþ.ß-jMçïêæî8t‘Ü)ã^›eƒ‹6GÊI&¥rD½Á­%—nŽóåPG…¡¦ D  ×)óh8”ÏgbÝî Ê1W׃Pl{Ã|}ˆ59Î;Í?$(/]*ß“õ¡÷¾gúþJÿ¥¼Üº«æï©oš]¿ó$ßë•ô»~E>=Èi'\òÊ$bèÅ6l>ê H&9%†Fͤ±9¯Œðæi¨¯”.5QMQ4ÕäÕÉ:$‰˜œc[é:‚ź«i”Æ€ë¸sa¨Öì'±Íp¨ÿŠùNãÎNäÏ\ÊætZ¯ëqy•ú3'ö7ù«q™µÑåGÒaóç±ñ½Ì‘ŽŽFš9®p ¯«Q]5DULÅTΩ1<íÄÄá.Ηӗ9{èÜøÜÜt/¸˜Šrš÷løÅÜi¸/=Ö>°[ÈXª"bsFÓÃýj¸¢88å™’ÊUz¸ÑâF¹ï=ÝF˶ë#>{òß×?ahõ°øÖ§¨›®«j¯×U{ =áþ)íC#zߊëŠcU=ß§uP#‚÷-Z)Ø ‘µQ˜o6Ó»‚þ„'ùªÔ8T÷sQߘ¼¿\ÿ+¹éQö™Û³ßÓÎׯ6j˳ù0þ€N¦þYo–¿µ+¼çûóÍÜr8/PÀ m؃KÌy¢7Õ$’kÄ pToÐ2@@@@@@@@@@@@@@@AªPv;x0@ª€ …yM+½´ñö „E÷¥{ò~´>ã—ÌÿQ¿ÁÉ_ô·»—U|Ýõ)â’Ê7ý,Ÿ¦WÒíùú4÷!¤sË"äˆ$S°v ÒêOÁ@hæp+¹Ó¦ï¸9{¨›#…·qÏ,UóK˃XêvUá?Pi·ð–êšcÚ{L"®Œ&f956ÛžgÚLc£SNn5JZÔËZ| ŸùW¤êõe»ìSÿ·ëxÝör¬oU=žæ…» yw÷s,–’®m"‘HÝíîÞNÊþI^ {e-°ÓMØÚ·rª&bxq§ëo—¹WÁÎθ‰ï¾zEZFúí©ÚIßRWÕe j=¨ìò„…()»‚ö…ÿtÚÿ‡7è//×?ÊîzT}¦~ì÷ôóµkß÷U׫î½Mü²ß-jSyûú¹»Ž;ÆÊÒ›¦` ‘Äói$è¥ÖópÐoˆ%™#§œÝÜB AĪ«çJ÷äýh}Ç/™~£ƒ’¿éo7/׿ï©rmšZ~²OÓ+étyú4÷!¤«\ò±$S¹rF’âãSä TlˆyÞ!î ¾tÊ JèîiŠ:ø Êù¯ê%ÉŸaj8vªîS Þæ¦Ó?v{øçj׿V/Ý…z›ù]¾ZþÔ¦ó÷õsw÷p?øØ½3‰ ª@.4Ê Íhh A’ g)Ùè” (&› ¢ùÒ­ù?ZqËæ_¨ßàä¯ú[Í˪¾nú‰%DóSgÒÉúe}*"ŸFžä4s®ye¤í5ñ®@¨ ¤ ÛÂ(/Ú<ýSEäoNÂãpúúŒäÚù‡Zboï›x½œtÕŒö›Ü‡‹–®®U1ÊÆŽÀ´¾£\ã3- .1ž—×ðÎŽ)@ðµÅ§Ú+ç_¨–1±fçUSÓ=æçsUãUObLŒWÉ^Aú©åo“œÓÚ^ç!ÚåíÜó­Ó?Ë ]ê6kª8¦^G8øEVS­‚A(,Ÿæ»_ sWä//×?Ë.zT}¦vì÷ôó£^ÿºîýH¿@+ÔßÊíò×ö¤Þ~þ®nâ¾{¦` ª@.Ø=”šÐÑ@ƒ$@"‡r .ÀÁÅ*"@ÇØŠ¾t¯~Lqæ‡Ürù§ê4{ãþ–órý~nú‹/öó‹'é•ô«~E>=Èi'\òËÉß Œô×/TñLÑWgFš*ãïÆßUìsqŽÍqÓû^AÒèFß´Ÿã17ç,Ïú5_¼ý×’ÇŸÚdza}¦ý¿Ý7ç'ý¯À^~éòXóûL>ë#¥>Ôì›ó“þWàG¯?tù,yý¦v1Óÿ³ì›ó“þWàG¯?tù,yý£îÆ?âoý“~rѪüõçîŸ%?´}ØÇüMÿ²oÎOú5_¼ýÓä±çö»ÿ‰¿öMùÉÿF«ð#ןº|–<þÑ÷cñ7þÉ¿9?èÕ~zó÷O’ÇŸÚ>ì#¡i?öMùÉÿF«ð#ןº|–<þÓºØÿŠ?öMùÊÿѪüõçîŸ%?´•ÇüQÿ²oÎSþWàG¯?tù,yý¦qtã h{ìžIò[³k˜âÈ@øÎ©uš”åïZ¤Å¡»‚ @@@@@@@@@@@@@@@@@@@@@@@A¦VÐóp* 힪²-¥Ei¹X™„eÌÿŽÿ”ï}qÂ8£¢„Ž'¦ýÿÞúaQÑ2Ä9û<÷ïøÎ÷Óf8£¢ e¸¹ÿÿ)ÞúlÇtAŒ£™ÿÿ)ÞúlÇtAŒœÏøïùN÷Óf8£¢ dæÇÊw¾›1Åc'3þ;þS½ôÙŽ(èƒHsþ;þS½ôÙŽ(èƒh.ë¼ü'{é„qGDÊ9Ÿ_íòÝï¦ÌqGDË.F½£¼«ËMq'wXœ5hI`i]›”Po¢¨“»ÆŠÞ7Q  ‚ÐEä-4*"8ÕbB7íEOz; £¼ºœÜKÆ[PO#KÆ¸Š†ó<´Smë®í4yS€æ\[Ü[\Kmsà¹æ9àr½nö¸.q8Æ00TA4i(4Ÿqr ¬gÁý»"wây ¢àrÔÄ6™{ÂÊm¯.åÕ7¨ÚÙÇJ8n ¸jâ»$Ðo(íhkh<ªªh+T€€€€€€€€€€€€€€€€€€€€ƒ]Ïúy}G{ŠÀýI”Ï]éþ–ŒÍ¤qÉsc‚X™71a=ÛÊAãÚ´tÑÝÂxeÅGÐÝwÊe5–5abÈH ‚ê×¥’¸@ö<¾­q¨;Mì”SLÍ3©py?fÊÚLn¡µŒCqw+­/ù@J0¾)O„ÞBÚñ%r7g ¦H|סõvrqˆÄOujêòÝQ±Äê|WÈXù«&»ÔÓ®\´5fô¶£À½Ícg±žX¤Ü6Ѳ0¹•ðVªÑršµN+‹VÔx哌¸¿Ž3­ÙÎâ*¶´Ú•WM:ç³£µVWìž3su`ÚŸ­FàÝŽ-ç-/¥>VnÓLá2ã8<Àg†9Æã§v¬2˜oùpÆžW;ž»%sÛ§œt£§ŽéÞ»ÉX û,Ì–oÚÆÍeÎå†gr¾'>•äçasy¨7(»M^L¢áÒíe­°ØûÛ,Ùë#7{ Ž­t= mp¡Íh4]›4U15NÌŠv¦Ée²š!}–‡¹ÊÜOËsjÖc‘ FØCv’ZÚVEºbšb#PêÁÒþ¢Mn'fà0І½Ñ1ôõðïd.¹ÌÛÇÊ–++‹¸6ùK9¬'›»¸aa-íìpð‚»iª*ÓŠº¸îžk¬µ«.ñø[‰-ã™å‡ƒ¸´Jæ8 ]Wè¦p™G/5¦uòfq—-’­kægÑ»ÀÙ\Â|\è¹M^L⯥âz“Õ´<0[i£5”6œçè{±o9DÆ?D–0o­6nXueím髇R>A¬cuHl`ç8€I=gJ­Ö}/ê ÖßXrE@ÅÈð1ïöBéœÍ¸ÑŠ8W¶W¶o²¿·–Òò*-çicÀ;ñáu5DÆ1©^˜tþ~|\™h1·â¢t·ímakc¨—Ws(j¸ÍÊqÃ#߈Ð:×1fÛÜny¬Þ9¢Ü‘5ãµã˜\< Qq®ýÎ:QȾ°¿ÇÝÉe¶’Òò*w¶ó4µí¨¨>x±vSTLc•ÓÂh]·úÎ'5Õ­HmÏ™N#aåtŽg7‘p®õÎ(Ã3¤5^†L®&æÒiõ‡4>*žÙ#/hò”¢íj‘Ç]Š”îÓËê;ÜVê\žŸ¹Ô=.nÖfAq}‚(æ”1§»a«ƒvðZ*kŠ.íO¸©Ú ÷mAk™Íd¢º6ï­mm£se†¾G¼Ö­@zȽڧk‹f¾¿ÃkN¡iݹ´²žKìÙa«s©mÌ8šùôÜ 7©f™·nªù uº£«5¦ìü^ÃÉ;¤Œ¾{¸í_q 1°†2&5”hqðîpËZ¢¬f¹œ ¹]mÓ{Ëm]u•ôžÚhä‰ðóÅb¸cç7ƒ†ßHl\kˆ·r6g_Ã9{±Ò÷s8ÜÁÌwmîW~ð0KÁ¬:×ue•Ó8ŒDb­68Lç¹’˜ÜøãcyÖŸDôà­¼¦1LéÖD-ý$ŠÁ±mì-¹²Š+—MÚÈæ‘Ä»aôwÑ™™ö³†²u¸ý6ë>gTêöâïlmà±½ŠYlû¢ó,}Økds+êÍôjç+SŒN•˜zº­Ô›Í”‚Ç޵7ù6Ûë¹Øy]ÉHXŒ±Ïy ¥IØÐ™l¼\ŒjŽ®¦½‡Vô^ï)4B#yŒúèŒmÍ{ÑÊOÅ{6ÂÝ;¢;(«þÞ]e¨IßßÛþè®ýᮕ—HÅe/_ïÅØiä¼È>Ô>„}a¾‰øAœä.Û³?q@¾õ;3ÕLUí½Æ–²ŠëØ«r[Ö'óóGÌÇrrBÀxÕbe¨µTxÓ¤|†ÿZM¬õÆž›QE Ö÷öw07™±ºpé Û&Ö—žPæžl)µìè«d}Ë©w½C³Å[M¢­¡¹™’|Ç´I(ˆ7Íîcs˜×yÞ–Úö-f^-Ìøèø>¸ê.«Ô––Ølý»,æÇLfš6²H÷ò–7½†BiËSJ-›Q8Ó§}{Kíè?ì·?»‘`\÷ÿÄ*‡m1eww¨.£Käµ°†=ìç–Aù\¥­†ÞÕÛ¹1…1µ7ë¼j,v©½´ÅYÚÉŒÆLèɃ̷#I{\<ê†ù§´©k'LÓ:äŠVN°añš—§ ÔGK»#ÈYÍAÏÜHébq«OŒëÊ×4\ÙæHmè”vÒt±‘ݱ³Zº[Á©Ž¢´Ñ‘ ¼·Q2g”äú°½Ð«Z]Éè‚h°íìÍÜGÄ5‡R5æC6˜Ô–m²šW²I\b’ÞW27òræ=„RÕ³µ—·µLâª2ÊQ»ŸôòúŽ÷úoSd/ñÝ’úÂáö·bà|Ó™ŽäfÑÌö–’Ý17°X¸¾ }®õ½ü‚ó=y$|mxˆ8º 'Ù[ZlQb!].ß[cú‹ˆ|¤29ûëVŸË™‡“å<å\3tãnGÕº¹©z‹§®l®ôó&HœË¢-Ëãœ:­.å5 sMÊTxVVݺâb­|¢/SºÁ>"êúHƒ1Q42êñÖ&&4Jyò+µÛÀ4â²¾ÌN<¢Ïøl‰±â³ÌmyEÔ TÔì„Ѽ5Ç!/‘k ?œsý¿hÝmâ¹gZò#}㦌鯿y*Öæ=÷B>GÐ~_¼L5+þ–ãÅý‚ÎÎû¹Ywÿ€e‹¥Oÿ~åÕ‘ò'”…ã ÿóÛ?ìrþé˯ÿGñáŸý¡ÿÛ÷Evï t’ù¾¢³ËÞõ75o†dÒe>Ô¹’Ͷîå”>'9˜êІֵY–æ"Üc«ômÕ|ýAc§5k³q …÷‚Þ[yáÙý¤Í-îœÖÓÎ#—ʰïåmìÍTÈñþ"°8æe0—Ö°4d²®’ÒáŒùyEÀopsù+áð.Y ç ‰Õ<8§õGJO#5‡ºÊClL‚h%|µ ÎÀæKàæ¯¬¹W—µ^šgà¸þ q8ÛbH„y+Kˆo1IÉ;¹d‰ÔÞ(y©À…‘ªb¼8z´Áÿô )üç÷r)sßÿá~òq;™Å¹ÍÍÓ]®ŽHÄeÃÄèè»3ôi‰%@׺#TÚk<¥¥®&êí·×2OŽ–$r¶wsÞÊÒ×8‡sMû–E›´Í30å‹ìZì3NtZluËÚ.‡ÁZ‡Îö¶*7·mO‰`Ùñïcx¸´ôN¿uCüKßÞ=rÍûÞ‚_ éÿûÇLÓpÈZþ˜[;þE\ƒë_‰J vŸq 5·3—ÀVï×$*š{Zu?BÚÛÙOŽžçÊkkuŽhÀ!ž âÑMÍuiØEvm]œqÒ>ŸÔHluJn2ù 'XÜÅf2±Ü'¶˜484öè¸q /3EÜ"qÓ‚?8­Ã€€€€€€€€€€€€€€€ƒ˜MÄÌ·W³™=)&™—k¤–Ì´7 |†@ƨG-|Õ‹NRškÚÆqEe*vÔK\s\ÓG An í>¡‚ëþ¤±´ŽÛ)aQÑ·”]‰ ¾œ^9^Â|"ž%ƒ^F™œbpL-WÖýEœÆÜãa±¶°²ºc¢¸Ún%to9 ¸5¨;ùIì\­dé¦qÇ0pô/Srú6Þò +{¶ÞÈÙ^g{ÚZXÀÀ(Ûå]—òñs ™Ô+YKùrY[Ì‹ØØ¦¿žK‡ÆÂKXé\\ZÒvÐWŠí¦6b#‰W=?ÕœÞ J³M[cí¦´dsGõ‰ ‰Üç8ÐlÙϱc\ËEUmb`­é Aw¥³v¹{HYs=¤o‰‘LKXDŒä$–íÜ»nÑ·J½šßZßë ¾FúÚ+Im ú»cÎsKyËêK¶Ö¥qµj(Œ ˆÁÕ¶êÞfÛE$Ü}³¬E›¬~´çÈ%ä{Kyù}mµ\'-^Ö:qÄÁáÐ]IÊè¨obÇYAx/žÉ$7{yLmå¼€ï\ïeâæΤ——®ó½cw«--íþ¿xùŸ,µÒDpà籎«\Ý­vú.uYЍŠ'T#è üIe :~¬SÓNîëâîù–$äcŒÁ@Ìk½I—Õ6ºšòHõƒšì}¿'5´!§˜40š»nÒâkZv‘Mªi§f5K–ÊÿiøŽË¶^` –jzpÜ9Œ?šæÈ]9òw¼’5Í/å—›Î\g/^Þ:qM•O›Êàrpd±WÖúZ×Ó™aô™#NÇ5ÔÚ<»ÖMtEq„êGÔ­ÿ9fÛòÜà`’æžœwddú®cÜ=•…9ã0Pµ¦¾Ô:Âî)²ŽdVÖä›[*!ÄP¼óm{ÈÙÌ|€,«6)·gHõo5¦ôðÀÚã­n-šew}+äkÏ|âçT7fÎe×s+MumLЦþLNNÃ#,¸ù£ž8ßP×:#PNÀ²+§j&8Õc×=HÊëì}eoj1ò™â0¹ò9”xx§.Ï*ê³—‹xá:ÑlÆþ"3°ÂØò{{©ï`•ÐVœKÙòVB™Õ& æ¸êơՖŸgI xüYp|¶Ð¹Ït¥¦­ÈC|ÐEy@ß½wYÊÓnq×"”²T@@@@@@@@@@@@@@@@@@@@@A‰§Àƒíñ(11ž Ÿ* 9Û»hì)0¸œÎø´\vW>±©ìà¹D"jˆ€9›°P…&™þ›&)ç?{ l®'1>ˆ§„¤Rb?¶¾EpLBɈ1eݸª2&ªŒ€PlA(E`@åo`@åo`@åobb @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@AÿÙwordpress-banners/BannersMain.php000064400000010026150513467520013137 0ustar00. * */ namespace PublishPress\WordPressBanners; use Exception; if (! defined('PP_WP_BANNERS_VERSION')) { define('PP_WP_BANNERS_VERSION', '1.3.1'); } if (! class_exists('\\PublishPress\\WordPressBanners\\BannersMain')) { class BannersMain { /** * HTML output banner inviting to install another PublishPress plugin or advertise a feature * * @param string $heading Custom heading; disabled if blank * @param string $title Custom title; disabled if blank * @param array $content Content to display. e.g. Feature list or a single paragraph * @param string $link Link to apply to button and image * @param string $link_title Link title * @param string $image A filename from assets/images/ folder; disabled if blank * @param string $link_class Link class. e.g. 'button button-secondary' * * @return void */ public function pp_display_banner( $heading = '', $title = '', $contents = array(), $link = '', $link_title = '', $image = '', $link_class = 'button pp-button-yellow' ) { if (! empty($heading)) { ?>

1) { ?>

Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU General Public License is a free, copyleft license for software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. "This License" refers to version 3 of the GNU General Public License. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. A "covered work" means either the unmodified Program or a work based on the Program. To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. 1. Source Code. The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. 4. Conveying Verbatim Copies. You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. 6. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. 7. Additional Terms. "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. 8. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. 9. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. 10. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. 11. Patents. A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. 12. No Surrender of Others' Freedom. If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. 13. Use with the GNU Affero General Public License. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. 15. Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: Copyright (C) This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . pimple-pimple/lib/autoload-classmap.php000064400000004747150513467520014232 0ustar00 $strauss_src . '/Versions.php', 'PublishPress\Pimple\Container' => $strauss_src . '/pimple/pimple/src/Pimple/Container.php', 'PublishPress\Pimple\Tests\ServiceIteratorTest' => $strauss_src . '/pimple/pimple/src/Pimple/Tests/ServiceIteratorTest.php', 'PublishPress\Pimple\Tests\PimpleTest' => $strauss_src . '/pimple/pimple/src/Pimple/Tests/PimpleTest.php', 'PublishPress\Pimple\Tests\Psr11\ContainerTest' => $strauss_src . '/pimple/pimple/src/Pimple/Tests/Psr11/ContainerTest.php', 'PublishPress\Pimple\Tests\Psr11\ServiceLocatorTest' => $strauss_src . '/pimple/pimple/src/Pimple/Tests/Psr11/ServiceLocatorTest.php', 'PublishPress\Pimple\Tests\PimpleServiceProviderInterfaceTest' => $strauss_src . '/pimple/pimple/src/Pimple/Tests/PimpleServiceProviderInterfaceTest.php', 'PublishPress\Pimple\Tests\Fixtures\NonInvokable' => $strauss_src . '/pimple/pimple/src/Pimple/Tests/Fixtures/NonInvokable.php', 'PublishPress\Pimple\Tests\Fixtures\Service' => $strauss_src . '/pimple/pimple/src/Pimple/Tests/Fixtures/Service.php', 'PublishPress\Pimple\Tests\Fixtures\Invokable' => $strauss_src . '/pimple/pimple/src/Pimple/Tests/Fixtures/Invokable.php', 'PublishPress\Pimple\Tests\Fixtures\PimpleServiceProvider' => $strauss_src . '/pimple/pimple/src/Pimple/Tests/Fixtures/PimpleServiceProvider.php', 'PublishPress\Pimple\Psr11\Container' => $strauss_src . '/pimple/pimple/src/Pimple/Psr11/Container.php', 'PublishPress\Pimple\Psr11\ServiceLocator' => $strauss_src . '/pimple/pimple/src/Pimple/Psr11/ServiceLocator.php', 'PublishPress\Pimple\ServiceProviderInterface' => $strauss_src . '/pimple/pimple/src/Pimple/ServiceProviderInterface.php', 'PublishPress\Pimple\Exception\FrozenServiceException' => $strauss_src . '/pimple/pimple/src/Pimple/Exception/FrozenServiceException.php', 'PublishPress\Pimple\Exception\UnknownIdentifierException' => $strauss_src . '/pimple/pimple/src/Pimple/Exception/UnknownIdentifierException.php', 'PublishPress\Pimple\Exception\InvalidServiceIdentifierException' => $strauss_src . '/pimple/pimple/src/Pimple/Exception/InvalidServiceIdentifierException.php', 'PublishPress\Pimple\Exception\ExpectedInvokableException' => $strauss_src . '/pimple/pimple/src/Pimple/Exception/ExpectedInvokableException.php', 'PublishPress\Pimple\ServiceIterator' => $strauss_src . '/pimple/pimple/src/Pimple/ServiceIterator.php', );pimple-pimple/lib/Versions.php000064400000004070150513467520012416 0ustar00versions[$versionString])) { return false; } $this->versions[$versionString] = $initializationCallback; return true; } public function getVersions(): array { return $this->versions; } public function latestVersion() { $keys = array_keys($this->versions); if (empty($keys)) { return false; } uasort($keys, 'version_compare'); return end($keys); } public function latestVersionCallback() { $latest = $this->latestVersion(); if (empty($latest) || ! isset($this->versions[$latest])) { return '__return_null'; } return $this->versions[$latest]; } /** * @return Versions * @codeCoverageIgnore */ public static function getInstance(): ?Versions { if (empty(self::$instance)) { self::$instance = new self(); } return self::$instance; } /** * @codeCoverageIgnore */ public static function initializeLatestVersion(): void { $self = self::getInstance(); call_user_func($self->latestVersionCallback()); } } } pimple-pimple/lib/autoload.php000064400000001210150513467520012407 0ustar00 */ class ServiceLocator implements ContainerInterface { private $container; private $aliases = []; /** * @param PimpleContainer $container The Container instance used to locate services * @param array $ids Array of service ids that can be located. String keys can be used to define aliases */ public function __construct(PimpleContainer $container, array $ids) { $this->container = $container; foreach ($ids as $key => $id) { $this->aliases[\is_int($key) ? $id : $key] = $id; } } /** * {@inheritdoc} */ public function get(string $id) { if (!isset($this->aliases[$id])) { throw new UnknownIdentifierException($id); } return $this->container[$this->aliases[$id]]; } /** * {@inheritdoc} */ public function has(string $id): bool { return isset($this->aliases[$id]) && isset($this->container[$this->aliases[$id]]); } } pimple-pimple/lib/pimple/pimple/src/Pimple/Psr11/Container.php000064400000003526150513467520020234 0ustar00 */ final class Container implements ContainerInterface { private $pimple; public function __construct(PimpleContainer $pimple) { $this->pimple = $pimple; } public function get(string $id) { return $this->pimple[$id]; } public function has(string $id): bool { return isset($this->pimple[$id]); } } pimple-pimple/lib/pimple/pimple/src/Pimple/ServiceIterator.php000064400000004466150513467520020522 0ustar00 */ final class ServiceIterator implements \Iterator { private $container; private $ids; public function __construct(Container $container, array $ids) { $this->container = $container; $this->ids = $ids; } /** * @return void */ #[\ReturnTypeWillChange] public function rewind() { \reset($this->ids); } /** * @return mixed */ #[\ReturnTypeWillChange] public function current() { return $this->container[\current($this->ids)]; } /** * @return mixed */ #[\ReturnTypeWillChange] public function key() { return \current($this->ids); } /** * @return void */ #[\ReturnTypeWillChange] public function next() { \next($this->ids); } /** * @return bool */ #[\ReturnTypeWillChange] public function valid() { return null !== \key($this->ids); } } pimple-pimple/lib/pimple/pimple/src/Pimple/Container.php000064400000022610150513467520017321 0ustar00factories = new \SplObjectStorage(); $this->protected = new \SplObjectStorage(); foreach ($values as $key => $value) { $this->offsetSet($key, $value); } } /** * Sets a parameter or an object. * * Objects must be defined as Closures. * * Allowing any PHP callable leads to difficult to debug problems * as function names (strings) are callable (creating a function with * the same name as an existing parameter would break your container). * * @param string $id The unique identifier for the parameter or object * @param mixed $value The value of the parameter or a closure to define an object * * @return void * * @throws FrozenServiceException Prevent override of a frozen service */ #[\ReturnTypeWillChange] public function offsetSet($id, $value) { if (isset($this->frozen[$id])) { throw new FrozenServiceException($id); } $this->values[$id] = $value; $this->keys[$id] = true; } /** * Gets a parameter or an object. * * @param string $id The unique identifier for the parameter or object * * @return mixed The value of the parameter or an object * * @throws UnknownIdentifierException If the identifier is not defined */ #[\ReturnTypeWillChange] public function offsetGet($id) { if (!isset($this->keys[$id])) { throw new UnknownIdentifierException($id); } if ( isset($this->raw[$id]) || !\is_object($this->values[$id]) || isset($this->protected[$this->values[$id]]) || !\method_exists($this->values[$id], '__invoke') ) { return $this->values[$id]; } if (isset($this->factories[$this->values[$id]])) { return $this->values[$id]($this); } $raw = $this->values[$id]; $val = $this->values[$id] = $raw($this); $this->raw[$id] = $raw; $this->frozen[$id] = true; return $val; } /** * Checks if a parameter or an object is set. * * @param string $id The unique identifier for the parameter or object * * @return bool */ #[\ReturnTypeWillChange] public function offsetExists($id) { return isset($this->keys[$id]); } /** * Unsets a parameter or an object. * * @param string $id The unique identifier for the parameter or object * * @return void */ #[\ReturnTypeWillChange] public function offsetUnset($id) { if (isset($this->keys[$id])) { if (\is_object($this->values[$id])) { unset($this->factories[$this->values[$id]], $this->protected[$this->values[$id]]); } unset($this->values[$id], $this->frozen[$id], $this->raw[$id], $this->keys[$id]); } } /** * Marks a callable as being a factory service. * * @param callable $callable A service definition to be used as a factory * * @return callable The passed callable * * @throws ExpectedInvokableException Service definition has to be a closure or an invokable object */ public function factory($callable) { if (!\is_object($callable) || !\method_exists($callable, '__invoke')) { throw new ExpectedInvokableException('Service definition is not a Closure or invokable object.'); } $this->factories->attach($callable); return $callable; } /** * Protects a callable from being interpreted as a service. * * This is useful when you want to store a callable as a parameter. * * @param callable $callable A callable to protect from being evaluated * * @return callable The passed callable * * @throws ExpectedInvokableException Service definition has to be a closure or an invokable object */ public function protect($callable) { if (!\is_object($callable) || !\method_exists($callable, '__invoke')) { throw new ExpectedInvokableException('Callable is not a Closure or invokable object.'); } $this->protected->attach($callable); return $callable; } /** * Gets a parameter or the closure defining an object. * * @param string $id The unique identifier for the parameter or object * * @return mixed The value of the parameter or the closure defining an object * * @throws UnknownIdentifierException If the identifier is not defined */ public function raw($id) { if (!isset($this->keys[$id])) { throw new UnknownIdentifierException($id); } if (isset($this->raw[$id])) { return $this->raw[$id]; } return $this->values[$id]; } /** * Extends an object definition. * * Useful when you want to extend an existing object definition, * without necessarily loading that object. * * @param string $id The unique identifier for the object * @param callable $callable A service definition to extend the original * * @return callable The wrapped callable * * @throws UnknownIdentifierException If the identifier is not defined * @throws FrozenServiceException If the service is frozen * @throws InvalidServiceIdentifierException If the identifier belongs to a parameter * @throws ExpectedInvokableException If the extension callable is not a closure or an invokable object */ public function extend($id, $callable) { if (!isset($this->keys[$id])) { throw new UnknownIdentifierException($id); } if (isset($this->frozen[$id])) { throw new FrozenServiceException($id); } if (!\is_object($this->values[$id]) || !\method_exists($this->values[$id], '__invoke')) { throw new InvalidServiceIdentifierException($id); } if (isset($this->protected[$this->values[$id]])) { @\trigger_error(\sprintf('How Pimple behaves when extending protected closures will be fixed in Pimple 4. Are you sure "%s" should be protected?', $id), E_USER_DEPRECATED); } if (!\is_object($callable) || !\method_exists($callable, '__invoke')) { throw new ExpectedInvokableException('Extension service definition is not a Closure or invokable object.'); } $factory = $this->values[$id]; $extended = function ($c) use ($callable, $factory) { return $callable($factory($c), $c); }; if (isset($this->factories[$factory])) { $this->factories->detach($factory); $this->factories->attach($extended); } return $this[$id] = $extended; } /** * Returns all defined value names. * * @return array An array of value names */ public function keys() { return \array_keys($this->values); } /** * Registers a service provider. * * @param array $values An array of values that customizes the provider * * @return static */ public function register(ServiceProviderInterface $provider, array $values = []) { $provider->register($this); foreach ($values as $key => $value) { $this[$key] = $value; } return $this; } } pimple-pimple/lib/pimple/pimple/src/Pimple/ServiceProviderInterface.php000064400000003227150513467520022336 0ustar00 */ class ExpectedInvokableException extends \InvalidArgumentException implements ContainerExceptionInterface { } pimple-pimple/lib/pimple/pimple/src/Pimple/Exception/InvalidServiceIdentifierException.php000064400000003477150513467520026140 0ustar00 */ class InvalidServiceIdentifierException extends \InvalidArgumentException implements NotFoundExceptionInterface { /** * @param string $id The invalid identifier */ public function __construct($id) { parent::__construct(\sprintf('Identifier "%s" does not contain an object definition.', $id)); } } pimple-pimple/lib/pimple/pimple/src/Pimple/Exception/FrozenServiceException.php000064400000003406150513467520024002 0ustar00 */ class FrozenServiceException extends \RuntimeException implements ContainerExceptionInterface { /** * @param string $id Identifier of the frozen service */ public function __construct($id) { parent::__construct(\sprintf('Cannot override frozen service "%s".', $id)); } } pimple-pimple/lib/pimple/pimple/src/Pimple/Exception/UnknownIdentifierException.php000064400000003416150513467520024661 0ustar00 */ class UnknownIdentifierException extends \InvalidArgumentException implements NotFoundExceptionInterface { /** * @param string $id The unknown identifier */ public function __construct($id) { parent::__construct(\sprintf('Identifier "%s" is not defined.', $id)); } } pimple-pimple/lib/include.php000064400000002736150513467520012240 0ustar00register('3.5.0.10', __NAMESPACE__ . '\initialize3Dot5Dot0Dot10'); } } function initialize3Dot5Dot0Dot10() { require_once __DIR__ . '/autoload.php'; if (! defined('PUBLISHPRESS_PIMPLE_PIMPLE_VERSION')) { define('PUBLISHPRESS_PIMPLE_PIMPLE_VERSION', '3.5.0.10'); } do_action('publishpress_pimple_pimple_3Dot5Dot0Dot10_initialized'); } } pimple-pimple/LICENSE000064400000002051150513467520010331 0ustar00Copyright (c) 2009-2020 Fabien Potencier Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. psr-container/lib/autoload-classmap.php000064400000001055150513467520014231 0ustar00 $strauss_src . '/Versions.php', 'PublishPress\Psr\Container\NotFoundExceptionInterface' => $strauss_src . '/psr/container/src/NotFoundExceptionInterface.php', 'PublishPress\Psr\Container\ContainerInterface' => $strauss_src . '/psr/container/src/ContainerInterface.php', 'PublishPress\Psr\Container\ContainerExceptionInterface' => $strauss_src . '/psr/container/src/ContainerExceptionInterface.php', );psr-container/lib/Versions.php000064400000004070150513467520012430 0ustar00versions[$versionString])) { return false; } $this->versions[$versionString] = $initializationCallback; return true; } public function getVersions(): array { return $this->versions; } public function latestVersion() { $keys = array_keys($this->versions); if (empty($keys)) { return false; } uasort($keys, 'version_compare'); return end($keys); } public function latestVersionCallback() { $latest = $this->latestVersion(); if (empty($latest) || ! isset($this->versions[$latest])) { return '__return_null'; } return $this->versions[$latest]; } /** * @return Versions * @codeCoverageIgnore */ public static function getInstance(): ?Versions { if (empty(self::$instance)) { self::$instance = new self(); } return self::$instance; } /** * @codeCoverageIgnore */ public static function initializeLatestVersion(): void { $self = self::getInstance(); call_user_func($self->latestVersionCallback()); } } } psr-container/lib/autoload.php000064400000001210150513467520012421 0ustar00register('2.0.1.10', __NAMESPACE__ . '\initialize2Dot0Dot1Dot10'); } } function initialize2Dot0Dot1Dot10() { require_once __DIR__ . '/autoload.php'; if (! defined('PUBLISHPRESS_PSR_CONTAINER_VERSION')) { define('PUBLISHPRESS_PSR_CONTAINER_VERSION', '2.0.1.10'); } do_action('publishpress_psr_container_2Dot0Dot1Dot10_initialized'); } } psr-container/lib/psr/container/src/ContainerInterface.php000064400000002243150513467520017740 0ustar00