<commit_before><?php
/*
 +--------------------------------------------------------------------+
 | CiviCRM Widget Creation Interface (WCI) Version 1.0                |
 +--------------------------------------------------------------------+
 | Copyright Zyxware Technologies (c) 2014                            |
 | Copyright (C) 2014 <NAME> <<EMAIL>>                  |
 +--------------------------------------------------------------------+
 | This file is a part of CiviCRM WCI.                                |
 |                                                                    |
 | CiviCRM WCI is free software; you can copy, modify, and distribute |
 | it under the terms of the GNU Affero General Public License        |
 | Version 3, 19 November 2007.                                       |
 |                                                                    |
 | CiviCRM WCI 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 Affero General Public License for more details.        |
 |                                                                    |
 | You should have received a copy of the GNU Affero General Public   |
 | License along with this program; if not, contact Zyxware           |
 | Technologies at info[AT]zyxware[DOT]com.                           |
 +--------------------------------------------------------------------+
*/

require_once 'CRM/Core/Page.php';

class CRM_Wci_Page_Embed extends CRM_Core_Page {
  function run() {
    $license_text = '
/**
 * @licstart The following is the entire license notice for the
 *   JavaScript code in this page.
 *
 * Copyright (C) 2014 Zyxware Technologies.
 *
 * This JavaScript is part of the CiviCRM WCI extension for
 * CiviCRM. This JavaScript is free software: you can
 * redistribute it and/or modify it under the terms of the GNU
 * Affero General Public License as published by the Free
 * Software Foundation, either version 3 of the License, or (at
 * your option) any later version.
 *
 * The code is distributed WITHOUT ANY WARRANTY; without even the
 * implied warranty of MERCHANTABILITY or FITNESS FOR A
 * PARTICULAR PURPOSE.  See the GNU Affero General Public License
 * for more details.
 *
 * You should have received a copy of the GNU General Public
 * License along with FSF Member Dashboard.  If not, see
 * <http://www.gnu.org/licenses/>.
 *
 * @licend The above is the entire license notice for the
 *   JavaScript code in this page
 */
';

    $wciembed_js = '
// Cleanup functions for the document ready method
if ( document.addEventListener ) {
    DOMContentLoaded = function() {
        document.removeEventListener( "DOMContentLoaded", DOMContentLoaded, false );
        onReady();
    };<commit_msg>Fix text in the embed code license<commit_after><?php
/*
 +--------------------------------------------------------------------+
 | CiviCRM Widget Creation Interface (WCI) Version 1.0                |
 +--------------------------------------------------------------------+
 | Copyright Zyxware Technologies (c) 2014                            |
 | Copyright (C) 2014 <NAME> <<EMAIL>>                  |
 +--------------------------------------------------------------------+
 | This file is a part of CiviCRM WCI.                                |
 |                                                                    |
 | CiviCRM WCI is free software; you can copy, modify, and distribute |
 | it under the terms of the GNU Affero General Public License        |
 | Version 3, 19 November 2007.                                       |
 |                                                                    |
 | CiviCRM WCI 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 Affero General Public License for more details.        |
 |                                                                    |
 | You should have received a copy of the GNU Affero General Public   |
 | License along with this program; if not, contact Zyxware           |
 | Technologies at info[AT]zyxware[DOT]com.                           |
 +--------------------------------------------------------------------+
*/

require_once 'CRM/Core/Page.php';

class CRM_Wci_Page_Embed extends CRM_Core_Page {
  function run() {
    $license_text = '
/**
 * @licstart The following is the entire license notice for the
 *   JavaScript code in this page.
 *
 * Copyright (C) 2014 Zyxware Technologies.
 *
 * This JavaScript is part of the CiviCRM WCI extension for
 * CiviCRM. This JavaScript is free software: you can
 * redistribute it and/or modify it under the terms of the GNU
 * Affero General Public License as published by the Free
 * Software Foundation, either version 3 of the License, or (at
 * your option) any later version.
 *
 * The code is distributed WITHOUT ANY WARRANTY; without even the
 * implied warranty of MERCHANTABILITY or FITNESS FOR A
 * PARTICULAR PURPOSE.  See the GNU Affero General Public License
 * for more details.
 *
 * You should have received a copy of the GNU Affero General Public
 * License along with this program.  If not, see
 * <http://www.gnu.org/licenses/>.
 *
 * @licend The above is the entire license notice for the
 *   JavaScript code in this page
 */
';

    $wciembed_js = '
// Cleanup functions for the document ready method
if ( document.addEventListener ) {
    DOMContentLoaded = function() {
        document.removeEventListener( "DOMContentLoaded", DOMContentLoaded, false );
        onReady();
    };
{'fraction_non_alphanumeric': 0.15638002773925105, 'fraction_numerical': 0.0076282940360610264, 'mean_word_length': 1.4898575744497196, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 14, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5486299', 'n_tokens_mistral': 1324, 'n_tokens_neox': 1253, 'n_words': 568}