text:
using System;
using System.Collections.Generic;
using System.Web.Routing;
using Nop.Core.Domain.Orders;
using Nop.Core.Domain.Payments;
using Nop.Core.Plugins;
using Nop.Plugin.Payments.Manual.Controllers;
using Nop.Services.Configuration;
using Nop.Services.Localization;
using Nop.Services.Orders;
using Nop.Services.Payments;

namespace Nop.Plugin.Payments.Manual
{
    /// <summary>
    /// Manual payment processor
    /// </summary>
    public class ManualPaymentProcessor : BasePlugin, IPaymentMethod
    {
        #region Fields

        private readonly ILocalizationService _localizationService;
        private readonly IOrderTotalCalculationService _orderTotalCalculationService;
        private readonly ISettingService _settingService;
        private readonly ManualPaymentSettings _manualPaymentSettings;

        #endregion

        #region Ctor

        public ManualPaymentProcessor(ILocalizationService localizationService,
            IOrderTotalCalculationService orderTotalCalculationService,
            ISettingService settingService,
            ManualPaymentSettings manualPaymentSettings)
        {
            this._localizationService = localizationService;
            this._orderTotalCalculationService = orderTotalCalculationService;
            this._settingService = settingService;
            this._manualPaymentSettings = manualPaymentSettings;
        }

        #endregion

        #region Methods

        /// <summary>
        /// Process a payment
        /// </summary>
        /// <param name="processPaymentRequest">Payment info required for an order processing</param>
        /// <returns>Process payment result</returns>
        public ProcessPaymentResult ProcessPayment(ProcessPaymentRequest processPaymentRequest)
        {
            var result = new ProcessPaymentResult();

            result.AllowStoringCreditCardNumber = true;
            switch (_manualPaymentSettings.TransactMode)
            {
                case TransactMode.Pending:
                    result.NewPaymentStatus = PaymentStatus.Pending;
                    break;
                case TransactMode.Authorize:
                    result.NewPaymentStatus = PaymentStatus.Authorized;
                    break;
                case TransactMode.AuthorizeAndCapture:
                    result.NewPaymentStatus = PaymentStatus.Paid;
                    break;
                default:
                    {
                        result.AddError("Not supported transaction type");
                        return result;
                    }
            }

            return result;
        }

        /// <summary>
        /// Post process payment (used by payment gateways that require redirecting to a third-party URL)
        /// </summary>
        /// <param name="postProcessPaymentRequest">Payment info required for an order processing</param>
        public void PostProcessPayment(PostProcessPaymentRequest postProcessPaymentRequest)
        {
            //nothing
        }

        /// <summary>
        /// Returns a value indicating whether payment method should be hidden during checkout
        /// </summary>
        /// <param name="cart">Shoping cart</param>
        /// <returns>true - hide; false - display.</returns>
        public bool HidePaymentMethod(IList<ShoppingCartItem> cart)
        {
            //you can put any logic here
            //for example, hide this payment method if all products in the cart are downloadable
            //or hide this payment method if current customer is from certain country
            return false;
        }

        /// <summary>
        /// Gets additional handling fee
        /// </summary>
        /// <returns>Additional handling fee</returns>
        public decimal GetAdditionalHandlingFee(IList<ShoppingCartItem> cart)
        {
            var result = this.CalculateAdditionalFee(_orderTotalCalculationService,  cart,
                _manualPaymentSettings.AdditionalFee, _manualPaymentSettings.AdditionalFeePercentage);
            return result;
        }

        /// <summary>
        /// Captures payment
        /// </summary>
        /// <param name="capturePaymentRequest">Capture payment request</param>
        /// <returns>Capture payment result</returns>
        public CapturePaymentResult Capture(CapturePaymentRequest capturePaymentRequest)
        {
            var result = new CapturePaymentResult();
            result.AddError("Capture method not supported");
            return result;
        }

        /// <summary>
        /// Refunds a payment
        /// </summary>
        /// <param name="refundPaymentRequest">Request</param>
        /// <returns>Result</returns>
        public RefundPaymentResult Refund(RefundPaymentRequest refundPaymentRequest)
        {
            var result = new RefundPaymentResult();
            result.AddError("Refund method not supported");
            return result;
        }

        /// <summary>
        /// Voids a payment
        /// </summary>
        /// <param name="voidPaymentRequest">Request</param>
        /// <returns>Result</returns>
        public VoidPaymentResult Void(VoidPaymentRequest voidPaymentRequest)
        {
            var result = new VoidPaymentResult();
            result.AddError("Void method not supported");
            return result;
        }

        /// <summary>
        /// Process recurring payment
        /// </summary>
        /// <param name="processPaymentRequest">Payment info required for an order processing</param>
        /// <returns>Process payment result</returns>
        public ProcessPaymentResult ProcessRecurringPayment(ProcessPaymentRequest processPaymentRequest)
        {
            var result = new ProcessPaymentResult();

            result.AllowStoringCreditCardNumber = true;
            switch (_manualPaymentSettings.TransactMode)
            {
                case TransactMode.Pending:
                    result.NewPaymentStatus = PaymentStatus.Pending;
                    break;
                case TransactMode.Authorize:
                    result.NewPaymentStatus = PaymentStatus.Authorized;
                    break;
                case TransactMode.AuthorizeAndCapture:
                    result.NewPaymentStatus = PaymentStatus.Paid;
                    break;
                default:
                    {
                        result.AddError("Not supported transaction type");
                        return result;
                    }
            }

            return result;
        }

        /// <summary>
        /// Cancels a recurring payment
        /// </summary>
        /// <param name="cancelPaymentRequest">Request</param>
        /// <returns>Result</returns>
        public CancelRecurringPaymentResult CancelRecurringPayment(CancelRecurringPaymentRequest cancelPaymentRequest)
        {
            //always success
            return new CancelRecurringPaymentResult();
        }

        /// <summary>
        /// Gets a value indicating whether customers can complete a payment after order is placed but not completed (for redirection payment methods)
        /// </summary>
        /// <param name="order">Order</param>
        /// <returns>Result</returns>
        public bool CanRePostProcessPayment(Order order)
        {
            if (order == null)
                throw new ArgumentNullException("order");

            //it's not a redirection payment method. So we always return false
            return false;
        }

        /// <summary>
        /// Gets a route for provider configuration
        /// </summary>
        /// <param name="actionName">Action name</param>
        /// <param name="controllerName">Controller name</param>
        /// <param name="routeValues">Route values</param>
        public void GetConfigurationRoute(out string actionName, out string controllerName, out RouteValueDictionary routeValues)
        {
            actionName = "Configure";
            controllerName = "PaymentManual";
            routeValues = new RouteValueDictionary { { "Namespaces", "Nop.Plugin.Payments.Manual.Controllers" }, { "area", null } };
        }

        /// <summary>
        /// Gets a route for payment info
        /// </summary>
        /// <param name="actionName">Action name</param>
        /// <param name="controllerName">Controller name</param>
        /// <param name="routeValues">Route values</param>
        public void GetPaymentInfoRoute(out string actionName, out string controllerName, out RouteValueDictionary routeValues)
        {
            actionName = "PaymentInfo";
            controllerName = "PaymentManual";
            routeValues = new RouteValueDictionary { { "Namespaces", "Nop.Plugin.Payments.Manual.Controllers" }, { "area", null } };
        }

        /// <summary>
        /// Get the type of controller
        /// </summary>
        /// <returns>Type</returns>
        public Type GetControllerType()
        {
            return typeof(PaymentManualController);
        }

        /// <summary>
        /// Install the plugin
        /// </summary>
        public override void Install()
        {
            //settings
            var settings = new ManualPaymentSettings
            {
                TransactMode = TransactMode.Pending
            };
            _settingService.SaveSetting(settings);

            //locales
            this.AddOrUpdatePluginLocaleResource("Plugins.Payments.Manual.Fields.AdditionalFee", "Additional fee");
            this.AddOrUpdatePluginLocaleResource("Plugins.Payments.Manual.Fields.AdditionalFee.Hint", "Enter additional fee to charge your customers.");
            this.AddOrUpdatePluginLocaleResource("Plugins.Payments.Manual.Fields.AdditionalFeePercentage", "Additional fee. Use percentage");
            this.AddOrUpdatePluginLocaleResource("Plugins.Payments.Manual.Fields.AdditionalFeePercentage.Hint", "Determines whether to apply a percentage additional fee to the order total. If not enabled, a fixed value is used.");
            this.AddOrUpdatePluginLocaleResource("Plugins.Payments.Manual.Fields.TransactMode", "After checkout mark payment as");
            this.AddOrUpdatePluginLocaleResource("Plugins.Payments.Manual.Fields.TransactMode.Hint", "Specify transaction mode.");
            this.AddOrUpdatePluginLocaleResource("Plugins.Payments.Manual.PaymentMethodDescription", "Pay by credit / debit card");

            base.Install();
        }

        /// <summary>
        /// Uninstall the plugin
        /// </summary>
        public override void Uninstall()
        {
            //settings
            _settingService.DeleteSetting<ManualPaymentSettings>();

            //locales
            this.DeletePluginLocaleResource("Plugins.Payments.Manual.Fields.AdditionalFee");
            this.DeletePluginLocaleResource("Plugins.Payments.Manual.Fields.AdditionalFee.Hint");
            this.DeletePluginLocaleResource("Plugins.Payments.Manual.Fields.AdditionalFeePercentage");
            this.DeletePluginLocaleResource("Plugins.Payments.Manual.Fields.AdditionalFeePercentage.Hint");
            this.DeletePluginLocaleResource("Plugins.Payments.Manual.Fields.TransactMode");
            this.DeletePluginLocaleResource("Plugins.Payments.Manual.Fields.TransactMode.Hint");
            this.DeletePluginLocaleResource("Plugins.Payments.Manual.PaymentMethodDescription");

            base.Uninstall();
        }

        #endregion

        #region Properties

        /// <summary>
        /// Gets a value indicating whether capture is supported
        /// </summary>
        public bool SupportCapture
        {
            get { return false; }
        }

        /// <summary>
        /// Gets a value indicating whether partial refund is supported
        /// </summary>
        public bool SupportPartiallyRefund
        {
            get { return false; }
        }

        /// <summary>
        /// Gets a value indicating whether refund is supported
        /// </summary>
        public bool SupportRefund
        {
            get { return false; }
        }

        /// <summary>
        /// Gets a value indicating whether void is supported
        /// </summary>
        public bool SupportVoid
        {
            get { return false; }
        }

        /// <summary>
        /// Gets a recurring payment type of payment method
        /// </summary>
        public RecurringPaymentType RecurringPaymentType
        {
            get { return RecurringPaymentType.Manual; }
        }

        /// <summary>
        /// Gets a payment method type
        /// </summary>
        public PaymentMethodType PaymentMethodType
        {
            get { return PaymentMethodType.Standard; }
        }

        /// <summary>
        /// Gets a value indicating whether we should display a payment information page for this plugin
        /// </summary>
        public bool SkipPaymentInfo
        {
            get { return false; }
        }

        /// <summary>
        /// Gets a payment method description that will be displayed on checkout pages in the public store
        /// </summary>
        public string PaymentMethodDescription
        {
            //return description of this payment method to be display on "payment method" checkout step. good practice is to make it localizable
            //for example, for a redirection payment method, description may be like this: "You will be redirected to PayPal site to complete the payment"
            get { return _localizationService.GetResource("Plugins.Payments.Manual.PaymentMethodDescription"); }
        }

        #endregion

    }
}


text:
module.exports = function(grunt) {
  grunt.registerMultiTask('run_wash', function() {
    var done = this.async();
    var wash = require('../../bin/wash.js');
    wash.main().then(done, done);
  });
};

redpajama_set_name: RedPajamaGithub


text:
import Reducer from '../futils/reducecreator'

const ACTION_HANDLERS = {
  SHOWHIDELOADER: (state, action) => Object.assign({}, state, { loader: action.payload }),
  SHOWHIDETOASTER: (state, action) => Object.assign({}, state, { toaster: action.payload }),
  AUTHENTICATE: (state, action) => Object.assign({}, state, { authenticated: action.payload })
}

const initialState = { loader: false, toaster:false, authenticated:false }

export default Reducer(initialState, ACTION_HANDLERS)


text:
Create or replace FUNCTION InsertBaseDisk(
    v_disk_id UUID,
    v_disk_interface VARCHAR(32),
    v_wipe_after_delete BOOLEAN,
    v_propagate_errors VARCHAR(32),
    v_disk_alias VARCHAR(50),
    v_disk_description VARCHAR(500),
    v_shareable BOOLEAN,
    v_boot BOOLEAN)
RETURNS VOID
AS $procedure$
BEGIN
    INSERT INTO base_disks(
        disk_id,
        disk_interface,
        wipe_after_delete,
        propagate_errors,
        disk_alias,
        disk_description,
        shareable,
        boot)
    VALUES(
        v_disk_id,
        v_disk_interface,
        v_wipe_after_delete,
        v_propagate_errors,
        v_disk_alias,
        v_disk_description,
        v_shareable,
        v_boot);
END; $procedure$
LANGUAGE plpgsql;

Create or replace FUNCTION UpdateBaseDisk(
    v_disk_id UUID,
    v_disk_interface VARCHAR(32),
    v_wipe_after_delete BOOLEAN,
    v_propagate_errors VARCHAR(32),
    v_disk_alias VARCHAR(50),
    v_disk_description VARCHAR(500),
    v_shareable BOOLEAN,
    v_boot BOOLEAN)
RETURNS VOID
AS $procedure$
BEGIN
    UPDATE base_disks
    SET    disk_interface = v_disk_interface,
           wipe_after_delete = v_wipe_after_delete,
           propagate_errors = v_propagate_errors,
           disk_alias = v_disk_alias,
           disk_description = v_disk_description,
           shareable = v_shareable,
           boot = v_boot
    WHERE  disk_id = v_disk_id;
END; $procedure$
LANGUAGE plpgsql;

Create or replace FUNCTION DeleteBaseDisk(v_disk_id UUID)
RETURNS VOID
AS $procedure$
DECLARE
    v_val  UUID;
BEGIN
    DELETE
    FROM   base_disks
    WHERE  disk_id = v_disk_id;
END; $procedure$
LANGUAGE plpgsql;

Create or replace FUNCTION GetAllFromBaseDisks() RETURNS SETOF base_disks
AS $procedure$
BEGIN
    RETURN QUERY
    SELECT *
    FROM   base_disks;
END; $procedure$
LANGUAGE plpgsql;

Create or replace FUNCTION GetBaseDiskByBaseDiskId(v_disk_id UUID)
RETURNS SETOF base_disks
AS $procedure$
BEGIN
    RETURN QUERY
    SELECT *
    FROM   base_disks
    WHERE  disk_id = v_disk_id;
END; $procedure$
LANGUAGE plpgsql;


text:
package dynamake.delegates;

public interface Action2<A0, A1> {
	void run(A0 arg0, A1 arg1);
}


text:
/*!
 * Author : Matteo Bruni
 * MIT license: https://opensource.org/licenses/MIT
 * Demo / Generator : https://particles.js.org/
 * GitHub : https://www.github.com/matteobruni/tsparticles
 * How to use? : Check the GitHub README
 * v2.0.0-beta.3
 */
(function webpackUniversalModuleDefinition(root, factory) {
	if(typeof exports === 'object' && typeof module === 'object')
		module.exports = factory(require("tsparticles-slim"), require("tsparticles-updater-tilt"), require("tsparticles-updater-roll"), require("tsparticles-updater-wobble"), require("tsparticles-interaction-external-trail"), require("tsparticles-plugin-absorbers"), require("tsparticles-plugin-emitters"), require("tsparticles-plugin-polygon-mask"));
	else if(typeof define === 'function' && define.amd)
		define(["tsparticles-slim", "tsparticles-updater-tilt", "tsparticles-updater-roll", "tsparticles-updater-wobble", "tsparticles-interaction-external-trail", "tsparticles-plugin-absorbers", "tsparticles-plugin-emitters", "tsparticles-plugin-polygon-mask"], factory);
	else {
		var a = typeof exports === 'object' ? factory(require("tsparticles-slim"), require("tsparticles-updater-tilt"), require("tsparticles-updater-roll"), require("tsparticles-updater-wobble"), require("tsparticles-interaction-external-trail"), require("tsparticles-plugin-absorbers"), require("tsparticles-plugin-emitters"), require("tsparticles-plugin-polygon-mask")) : factory(root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"]);
		for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
	}
})(this, function(__WEBPACK_EXTERNAL_MODULE__208__, __WEBPACK_EXTERNAL_MODULE__950__, __WEBPACK_EXTERNAL_MODULE__281__, __WEBPACK_EXTERNAL_MODULE__304__, __WEBPACK_EXTERNAL_MODULE__165__, __WEBPACK_EXTERNAL_MODULE__502__, __WEBPACK_EXTERNAL_MODULE__949__, __WEBPACK_EXTERNAL_MODULE__742__) {
return /******/ (() => { // webpackBootstrap
/******/ 	"use strict";
/******/ 	var __webpack_modules__ = ({

/***/ 165:
/***/ ((module) => {

module.exports = __WEBPACK_EXTERNAL_MODULE__165__;

/***/ }),

/***/ 502:
/***/ ((module) => {

module.exports = __WEBPACK_EXTERNAL_MODULE__502__;

/***/ }),

/***/ 949:
/***/ ((module) => {

module.exports = __WEBPACK_EXTERNAL_MODULE__949__;

/***/ }),

/***/ 742:
/***/ ((module) => {

module.exports = __WEBPACK_EXTERNAL_MODULE__742__;

/***/ }),

/***/ 208:
/***/ ((module) => {

module.exports = __WEBPACK_EXTERNAL_MODULE__208__;

/***/ }),

/***/ 281:
/***/ ((module) => {

module.exports = __WEBPACK_EXTERNAL_MODULE__281__;

/***/ }),

/***/ 950:
/***/ ((module) => {

module.exports = __WEBPACK_EXTERNAL_MODULE__950__;

/***/ }),

/***/ 304:
/***/ ((module) => {

module.exports = __WEBPACK_EXTERNAL_MODULE__304__;

/***/ })

/******/ 	});
/************************************************************************/
/******/ 	// The module cache
/******/ 	var __webpack_module_cache__ = {};
/******/
/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {
/******/ 		// Check if module is in cache
/******/ 		var cachedModule = __webpack_module_cache__[moduleId];
/******/ 		if (cachedModule !== undefined) {
/******/ 			return cachedModule.exports;
/******/ 		}
/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = __webpack_module_cache__[moduleId] = {
/******/ 			// no module.id needed
/******/ 			// no module.loaded needed
/******/ 			exports: {}
/******/ 		};
/******/
/******/ 		// Execute the module function
/******/ 		__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
/******/
/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}
/******/
/************************************************************************/
/******/ 	/* webpack/runtime/compat get default export */
/******/ 	(() => {
/******/ 		// getDefaultExport function for compatibility with non-harmony modules
/******/ 		__webpack_require__.n = (module) => {
/******/ 			var getter = module && module.__esModule ?
/******/ 				() => (module['default']) :
/******/ 				() => (module);
/******/ 			__webpack_require__.d(getter, { a: getter });
/******/ 			return getter;
/******/ 		};
/******/ 	})();
/******/
/******/ 	/* webpack/runtime/define property getters */
/******/ 	(() => {
/******/ 		// define getter functions for harmony exports
/******/ 		__webpack_require__.d = (exports, definition) => {
/******/ 			for(var key in definition) {
/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
/******/ 				}
/******/ 			}
/******/ 		};
/******/ 	})();
/******/
/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
/******/ 	(() => {
/******/ 		__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
/******/ 	})();
/******/
/******/ 	/* webpack/runtime/make namespace object */
/******/ 	(() => {
/******/ 		// define __esModule on exports
/******/ 		__webpack_require__.r = (exports) => {
/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ 			}
/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
/******/ 		};
/******/ 	})();
/******/
/************************************************************************/
var __webpack_exports__ = {};
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
(() => {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "loadFull": () => (/* binding */ loadFull)
/* harmony export */ });
/* harmony import */ var tsparticles_slim__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(208);
/* harmony import */ var tsparticles_slim__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(tsparticles_slim__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var tsparticles_updater_tilt__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(950);
/* harmony import */ var tsparticles_updater_tilt__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(tsparticles_updater_tilt__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var tsparticles_updater_roll__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(281);
/* harmony import */ var tsparticles_updater_roll__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(tsparticles_updater_roll__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var tsparticles_updater_wobble__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(304);
/* harmony import */ var tsparticles_updater_wobble__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(tsparticles_updater_wobble__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var tsparticles_interaction_external_trail__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(165);
/* harmony import */ var tsparticles_interaction_external_trail__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(tsparticles_interaction_external_trail__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var tsparticles_plugin_absorbers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(502);
/* harmony import */ var tsparticles_plugin_absorbers__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(tsparticles_plugin_absorbers__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var tsparticles_plugin_emitters__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(949);
/* harmony import */ var tsparticles_plugin_emitters__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(tsparticles_plugin_emitters__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var tsparticles_plugin_polygon_mask__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(742);
/* harmony import */ var tsparticles_plugin_polygon_mask__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(tsparticles_plugin_polygon_mask__WEBPACK_IMPORTED_MODULE_7__);
var __awaiter = undefined && undefined.__awaiter || function (thisArg, _arguments, P, generator) {
  function adopt(value) {
    return value instanceof P ? value : new P(function (resolve) {
      resolve(value);
    });
  }

  return new (P || (P = Promise))(function (resolve, reject) {
    function fulfilled(value) {
      try {
        step(generator.next(value));
      } catch (e) {
        reject(e);
      }
    }

    function rejected(value) {
      try {
        step(generator["throw"](value));
      } catch (e) {
        reject(e);
      }
    }

    function step(result) {
      result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
    }

    step((generator = generator.apply(thisArg, _arguments || [])).next());
  });
};

function loadFull(tsParticles) {
  return __awaiter(this, void 0, void 0, function* () {
    yield (0,tsparticles_slim__WEBPACK_IMPORTED_MODULE_0__.loadSlim)(tsParticles);
    yield (0,tsparticles_updater_tilt__WEBPACK_IMPORTED_MODULE_1__.loadTiltUpdater)(tsParticles);
    yield (0,tsparticles_updater_roll__WEBPACK_IMPORTED_MODULE_2__.loadRollUpdater)(tsParticles);
    yield (0,tsparticles_updater_wobble__WEBPACK_IMPORTED_MODULE_3__.loadWobbleUpdater)(tsParticles);
    yield (0,tsparticles_interaction_external_trail__WEBPACK_IMPORTED_MODULE_4__.loadExternalTrailInteraction)(tsParticles);
    yield (0,tsparticles_plugin_absorbers__WEBPACK_IMPORTED_MODULE_5__.loadAbsorbersPlugin)(tsParticles);
    yield (0,tsparticles_plugin_emitters__WEBPACK_IMPORTED_MODULE_6__.loadEmittersPlugin)(tsParticles);
    yield (0,tsparticles_plugin_polygon_mask__WEBPACK_IMPORTED_MODULE_7__.loadPolygonMaskPlugin)(tsParticles);
  });
}
})();

/******/ 	return __webpack_exports__;
/******/ })()
;
});


text:
package org.json4s

import org.specs2.mutable.Specification

private case class OptionalFields(optString: Option[String], optInt: Option[Int], optDouble: Option[Double], optObj: Option[OptionalFields])
private case class MyId(id: String) extends AnyVal
private case class MyModel(ids: Seq[MyId])
private case class AnotherModel(id: MyId)

abstract class SerializationSpec(serialization: Serialization, baseFormats: Formats) extends Specification {

  "Serialization of case class with many Option[T] fields" should {

    implicit val formats = baseFormats.skippingEmptyValues

    "produce valid JSON without empty fields" in {
      "from case class with all fields empty" in {
        val optFields = OptionalFields(None, None, None, None)
        val str = serialization.write(optFields)
        str must_== "{}"
      }

      "object with one string field defined" in {
        val optFields = OptionalFields(Some("hello"), None, None, None)
        val str = serialization.write(optFields)
        str must_== """{"optString":"hello"}"""
      }

      "from case class with two fields defined #1" in {
        val optFields = OptionalFields(Some("hello"), None, None, Some(OptionalFields(None, None, None, None)))
        val str = serialization.write(optFields)
        str must_== """{"optString":"hello","optObj":{}}"""
      }

      "from case class with two fields defined #2" in {
        val optFields = OptionalFields(None, None, Some(1.0), Some(OptionalFields(None, None, None, None)))
        val str = serialization.write(optFields)
        str must_== """{"optDouble":1.0,"optObj":{}}"""
      }

      "from case class with all fields defined" in {
        val optFields = OptionalFields(Some("hello"), Some(42), Some(1.0), Some(OptionalFields(None, None, None, None)))
        val str = serialization.write(optFields)
        str must_== """{"optString":"hello","optInt":42,"optDouble":1.0,"optObj":{}}"""
      }

      "from case class with nested JSON object" in {
        val optFields = OptionalFields(None, None, None,
          Some(OptionalFields(None, None, None, None)))
        val str = serialization.write(optFields)
        str must_== """{"optObj":{}}"""
      }

      "from case class with deeply nested JSON objects" in {
        val optFields = OptionalFields(None, None, None,
          Some(OptionalFields(None, None, None,
            Some(OptionalFields(None, None, None,
              Some(OptionalFields(None, None, None,
                Some(OptionalFields(None, None, None, None)))))))))
        val str = serialization.write(optFields)
        str must_== """{"optObj":{"optObj":{"optObj":{"optObj":{}}}}}"""
      }

    }

    "produce valid JSON with preserved empty fields" in {
      implicit val formats = baseFormats.preservingEmptyValues

      "from case class with all fields empty" in {
        val optFields = OptionalFields(None, None, None, None)
        val str = serialization.write(optFields)
        str must_== """{"optString":null,"optInt":null,"optDouble":null,"optObj":null}"""
      }

      "from case class with one string field defined" in {
        val optFields = OptionalFields(Some("hello"), None, None, None)
        val str = serialization.write(optFields)
        str must_== """{"optString":"hello","optInt":null,"optDouble":null,"optObj":null}"""
      }

      "from case class with two fields defined #1" in {
        val optFields = OptionalFields(Some("hello"), None, None, Some(OptionalFields(None, None, None, None)))
        val str = serialization.write(optFields)
        str must_== """{"optString":"hello","optInt":null,"optDouble":null,"optObj":{"optString":null,"optInt":null,"optDouble":null,"optObj":null}}"""
      }

      "from case class with two fields defined #2" in {
        val optFields = OptionalFields(None, None, Some(1.0), Some(OptionalFields(None, None, None, None)))
        val str = serialization.write(optFields)
        str must_== """{"optString":null,"optInt":null,"optDouble":1.0,"optObj":{"optString":null,"optInt":null,"optDouble":null,"optObj":null}}"""
      }

      "from case class with all fields defined" in {
        val optFields = OptionalFields(Some("hello"), Some(42), Some(1.0), Some(OptionalFields(None, None, None, None)))
        val str = serialization.write(optFields)
        str must_== """{"optString":"hello","optInt":42,"optDouble":1.0,"optObj":{"optString":null,"optInt":null,"optDouble":null,"optObj":null}}"""
      }

      "from case class with nested JSON object" in {
        val optFields = OptionalFields(None, None, None,
          Some(OptionalFields(None, None, None, None)))
        val str = serialization.write(optFields)
        str must_== """{"optString":null,"optInt":null,"optDouble":null,"optObj":{"optString":null,"optInt":null,"optDouble":null,"optObj":null}}"""
      }

      "from case class with deeply nested JSON objects" in {
        val optFields = OptionalFields(None, None, None,
          Some(OptionalFields(None, None, None,
            Some(OptionalFields(None, None, None,
              Some(OptionalFields(None, None, None,
                Some(OptionalFields(None, None, None, None)))))))))
        val str = serialization.write(optFields)
        str must_== """{"optString":null,"optInt":null,"optDouble":null,"optObj":{"optString":null,"optInt":null,"optDouble":null,"optObj":{"optString":null,"optInt":null,"optDouble":null,"optObj":{"optString":null,"optInt":null,"optDouble":null,"optObj":{"optString":null,"optInt":null,"optDouble":null,"optObj":null}}}}}"""
      }

      "#270 Issue serialising sequences of AnyVal" in {
        val expected = MyModel(Seq(MyId("alice")))
        val json = serialization.write(expected)
        // FIXME: looks invalid JSON string
        json must_== """{"ids":[{"id":"alice"}]}"""
        // FIXME: package$MappingException
        // val actual = Extraction.extract[MyModel](jackson.parseJson(json))
        // actual must_== expected
        /*
        [error] Caused by org.json4s.package$MappingException: Do not know how to convert JObject(List((id,JString(alice)))) into class java.lang.String
        [error] org.json4s.reflect.package$.fail(package.scala:93)
        [error] org.json4s.Extraction$.convert(Extraction.scala:676)
        [error] org.json4s.Extraction$.extract(Extraction.scala:388)
        */
      }

//      "#270 with expected json" in {
//        val expected = MyModel(Seq(MyId("alice")))
//        val json = """{"ids":["alice"]}"""
//        val actual = Extraction.extract[MyModel](jackson.parseJson(json))
//        actual must_== expected
//        /*
//[info]   x #270 with expected json
//[error]      'MyModel(List(alice))' is not equal to 'MyModel(List(MyId(alice)))' (SerializationSpec.scala:153)
//[info]
//[error] Expected: ...List([MyId(]al...))[)]
//[info]
//[error] Actual:   ...List([]al...))[]
//      */
//      }

      "#270 works with single AnyVal" in {
        val expected = AnotherModel(MyId("alice"))
        val json = serialization.write(expected)
        json must_== """{"id":"alice"}"""
        val actual = Extraction.extract[AnotherModel](jackson.parseJson(json))
        actual must_== expected
      }
    }

  }

}


text:
<?php

/**
 * This code was generated by
 * \ / _    _  _|   _  _
 * | (_)\/(_)(_|\/| |(/_  v1.0.0
 * /       /
 */

namespace Twilio\TwiML\Voice;

use Twilio\TwiML\TwiML;

class SsmlSayAs extends TwiML {
    /**
     * SsmlSayAs constructor.
     *
     * @param string $words Words to be interpreted
     * @param array $attributes Optional attributes
     */
    public function __construct($words, $attributes = array()) {
        parent::__construct('say-as', $words, $attributes);
    }

    /**
     * Add Interpret-As attribute.
     *
     * @param ssmlSayAs:Enum:InterpretAs $interpret-As Specify the type of words
     *                                                 are spoken
     * @return $this
     */
    public function setInterpretAs($interpretAs) {
        return $this->setAttribute('interpret-as', $interpretAs);
    }

    /**
     * Add Role attribute.
     *
     * @param ssmlSayAs:Enum:Role $role Specify the format of the date when
     *                                  interpret-as is set to date
     * @return $this
     */
    public function setRole($role) {
        return $this->setAttribute('role', $role);
    }
}


text:
	/**
	 * Object Extending Functionality
	 * https://gist.github.com/bhavyaw/25b115603630ebf2271d
	 */
	var extend = function(out) {
		  out = out || {};
		  for (var i = 1; i < arguments.length; i++) {
		    if (!arguments[i])
		      continue;

		    for (var key in arguments[i]) {
		      if (arguments[i].hasOwnProperty(key))
		        out[key] = arguments[i][key];
		    }
		  }
		  return out;
	};

	// export CommonJS way
	exports.extend=extend;

	/**
	 * angular isObject shim
	 * @param  {Object}  obj object to check
	 * @return {Boolean}     true if object
	 */
	var isObject = function(obj) {
		return obj !== null && typeof obj ==='object';
	};

	exports.isObject = isObject;

	/**
	 * Mimics angular isUndefined functionality
	 * @param  {Object}  obj object to test
	 * @return {Boolean}     true if unefined
	 */
	var isUndefined = function(obj) {
		return typeof obj === 'undefined';
	};
	exports.isUndefined=isUndefined;


text:
#ifndef TENSORFLOW_SERVING_SOURCES_STORAGE_PATH_FILE_SYSTEM_STORAGE_PATH_SOURCE_H_
#define TENSORFLOW_SERVING_SOURCES_STORAGE_PATH_FILE_SYSTEM_STORAGE_PATH_SOURCE_H_

#include <functional>
#include <memory>
#include <utility>

#include "absl/types/variant.h"
#include "tensorflow/core/kernels/batching_util/periodic_function.h"
#include "tensorflow/core/lib/core/status.h"
#include "tensorflow/core/platform/env.h"
#include "tensorflow/core/platform/macros.h"
#include "tensorflow/core/platform/types.h"
#include "tensorflow_serving/config/file_system_storage_path_source.pb.h"
#include "tensorflow_serving/core/source.h"
#include "tensorflow_serving/core/storage_path.h"

namespace tensorflow {
namespace serving {
namespace internal {
class FileSystemStoragePathSourceTestAccess;
}  // namespace internal
}  // namespace serving
}  // namespace tensorflow

namespace tensorflow {
namespace serving {

/// A storage path source that aspires versions for a given set of servables.
/// For each servable, it monitors a given file-system base path. It identifies
/// base-path children whose name is a number (e.g. 123) and emits the path
/// corresponding to the largest number as the servable's single aspired
/// version. (To do the file-system monitoring, it uses a background thread that
/// polls the file system periodically.)
///
/// For example, if a configured servable's base path is /foo/bar, and a file-
/// system poll reveals child paths /foo/bar/baz, /foo/bar/123 and /foo/bar/456,
/// the aspired-versions callback is called with {456, "/foo/bar/456"}. If, at
/// any time, the base path is found to contain no numerical children, the
/// aspired-versions callback is called with an empty versions list.
///
/// The configured set of servables to monitor can be updated at any time by
/// calling UpdateConfig(). If any servables were present in the old config but
/// not in the new one, the source will immediately aspire zero versions for
/// that servable (causing it to be unloaded in the Manager that ultimately
/// consumes the aspired-versions calls).
class FileSystemStoragePathSource : public Source<StoragePath> {
 public:
  static Status Create(const FileSystemStoragePathSourceConfig& config,
                       std::unique_ptr<FileSystemStoragePathSource>* result);
  ~FileSystemStoragePathSource() override;

  /// Supplies a new config to use. The set of servables to monitor can be
  /// changed at any time (see class comment for more information), but it is
  /// illegal to change the file-system polling period once
  /// SetAspiredVersionsCallback() has been called.
  Status UpdateConfig(const FileSystemStoragePathSourceConfig& config);

  void SetAspiredVersionsCallback(AspiredVersionsCallback callback) override;

  FileSystemStoragePathSourceConfig config() const {
    mutex_lock l(mu_);
    return config_;
  }

 private:
  friend class internal::FileSystemStoragePathSourceTestAccess;

  FileSystemStoragePathSource() = default;

  // Polls the file system and identify numerical children of the base path.
  // If zero such children are found, invokes 'aspired_versions_callback_' with
  // an empty versions list. If one or more such children are found, invokes
  // 'aspired_versions_callback_' with a singleton list containing the largest
  // such child.
  Status PollFileSystemAndInvokeCallback();

  // Sends empty aspired-versions lists for each servable in 'servable_names'.
  Status UnaspireServables(const std::set<string>& servable_names)
      TF_EXCLUSIVE_LOCKS_REQUIRED(mu_);

  template <typename... Args>
  void CallAspiredVersionsCallback(Args&&... args) {
    if (aspired_versions_callback_) {
      aspired_versions_callback_(std::forward<Args>(args)...);
      if (aspired_versions_callback_notifier_) {
        aspired_versions_callback_notifier_();
      }
    }
  }

  // For testing.
  void SetAspiredVersionsCallbackNotifier(std::function<void()> fn) {
    mutex_lock l(mu_);
    aspired_versions_callback_notifier_ = fn;
  }

  mutable mutex mu_;

  FileSystemStoragePathSourceConfig config_ TF_GUARDED_BY(mu_);

  AspiredVersionsCallback aspired_versions_callback_ TF_GUARDED_BY(mu_);

  std::function<void()> aspired_versions_callback_notifier_ TF_GUARDED_BY(mu_);

  // A thread that calls PollFileSystemAndInvokeCallback() once or periodically.
  using ThreadType =
      absl::variant<absl::monostate, PeriodicFunction, std::unique_ptr<Thread>>;
  std::unique_ptr<ThreadType> fs_polling_thread_ TF_GUARDED_BY(mu_);

  TF_DISALLOW_COPY_AND_ASSIGN(FileSystemStoragePathSource);
};

}  // namespace serving
}  // namespace tensorflow

#endif  // TENSORFLOW_SERVING_SOURCES_STORAGE_PATH_FILE_SYSTEM_STORAGE_PATH_SOURCE_H_


text:
<!DOCTYPE html>

<link id="havingDirectiveInMeta" rel="import" href="resources/having-csp-directive.html">
<link id="havingDirectiveInHTTP" rel="import" href="resources/csp-blocking.cgi">


text:
/**
 * @fileoverview Rule to disallow use of void operator.
 * @author Mike Sidorov
 */
"use strict";

//------------------------------------------------------------------------------
// Rule Definition
//------------------------------------------------------------------------------

module.exports = {
    meta: {
        docs: {
            description: "disallow `void` operators",
            category: "Best Practices",
            recommended: false
        },

        schema: []
    },

    create(context) {

        //--------------------------------------------------------------------------
        // Public
        //--------------------------------------------------------------------------

        return {
            UnaryExpression(node) {
                if (node.operator === "void") {
                    context.report(node, "Expected 'undefined' and instead saw 'void'.");
                }
            }
        };

    }
};


text:
package cn.sharesdk.demo.platform;

import android.app.Activity;

import com.mob.MobSDK;

import cn.sharesdk.alipay.friends.Alipay;
import cn.sharesdk.alipay.moments.AlipayMoments;
import cn.sharesdk.demo.entity.ResourcesManager;
import cn.sharesdk.demo.platform.littleredbook.LittleredbookShare;
import cn.sharesdk.demo.platform.alipay.friends.AlipayShare;
import cn.sharesdk.demo.platform.alipay.moments.AlipayMomentsShare;
import cn.sharesdk.demo.platform.dingding.friends.DingdingShare;
import cn.sharesdk.demo.platform.douban.DoubanShare;
import cn.sharesdk.demo.platform.douyin.DouyinShare;
import cn.sharesdk.demo.platform.dropbox.DropboxShare;
import cn.sharesdk.demo.platform.evernote.EvernoteShare;
import cn.sharesdk.demo.platform.facebook.FacebookShare;
import cn.sharesdk.demo.platform.facebookmessenger.FacebookMessengerShare;
import cn.sharesdk.demo.platform.flickr.FlickerShare;
import cn.sharesdk.demo.platform.foursquare.FourSquareShare;
import cn.sharesdk.demo.platform.instagram.InstagramShare;
import cn.sharesdk.demo.platform.instapaper.InstapaperShare;
import cn.sharesdk.demo.platform.kaixin.KaiXinShare;
import cn.sharesdk.demo.platform.kakao.story.KakaoStoryShare;
import cn.sharesdk.demo.platform.kakao.talk.KakaoTalkShare;
import cn.sharesdk.demo.platform.kuaishou.KuaishouShare;
import cn.sharesdk.demo.platform.line.LineShare;
import cn.sharesdk.demo.platform.linkedin.LinkedinShare;
import cn.sharesdk.demo.platform.meipai.MeipaiShare;
import cn.sharesdk.demo.platform.mingdao.MingdaoShare;
import cn.sharesdk.demo.platform.oasis.OasisShare;
import cn.sharesdk.demo.platform.pinterest.PinterestShare;
import cn.sharesdk.demo.platform.pocket.PocketShare;
import cn.sharesdk.demo.platform.reddit.RedditShare;
import cn.sharesdk.demo.platform.renren.RenrenShare;
import cn.sharesdk.demo.platform.sina.WeiboShare;
import cn.sharesdk.demo.platform.snapchat.SnapChatShare;
import cn.sharesdk.demo.platform.system.email.EmailShare;
import cn.sharesdk.demo.platform.system.text.ShortMessageShare;
import cn.sharesdk.demo.platform.telegram.TelegramShare;
import cn.sharesdk.demo.platform.tencent.qq.QQShare;
import cn.sharesdk.demo.platform.tencent.qzone.QQZoneShare;
import cn.sharesdk.demo.platform.tiktok.TiktokShare;
import cn.sharesdk.demo.platform.tumblr.TumblrShare;
import cn.sharesdk.demo.platform.twitter.TwitterShare;
import cn.sharesdk.demo.platform.vkontakte.VKontakteShare;
import cn.sharesdk.demo.platform.watermelonvideo.WatermelonvideoShare;
import cn.sharesdk.demo.platform.wechat.favorite.WechatFavoriteShare;
import cn.sharesdk.demo.platform.wechat.friends.WechatShare;
import cn.sharesdk.demo.platform.wechat.moments.WechatMomentsShare;
import cn.sharesdk.demo.platform.wework.WeworkShare;
import cn.sharesdk.demo.platform.whatsapp.WhatsAppShare;
import cn.sharesdk.demo.platform.yixin.friends.YixinShare;
import cn.sharesdk.demo.platform.yixin.moments.YixinMomentsShare;
import cn.sharesdk.demo.platform.youdao.YouDaoShare;
import cn.sharesdk.demo.platform.youtub.YoutubeShare;
import cn.sharesdk.dingding.friends.Dingding;
import cn.sharesdk.douban.Douban;
import cn.sharesdk.douyin.Douyin;
import cn.sharesdk.dropbox.Dropbox;
import cn.sharesdk.evernote.Evernote;
import cn.sharesdk.facebook.Facebook;
import cn.sharesdk.facebookmessenger.FacebookMessenger;
import cn.sharesdk.flickr.Flickr;
import cn.sharesdk.foursquare.FourSquare;
import cn.sharesdk.framework.Platform;
import cn.sharesdk.framework.PlatformActionListener;
import cn.sharesdk.framework.ShareSDK;
import cn.sharesdk.instagram.Instagram;
import cn.sharesdk.instapaper.Instapaper;
import cn.sharesdk.kaixin.KaiXin;
import cn.sharesdk.kakao.story.KakaoStory;
import cn.sharesdk.kakao.talk.KakaoTalk;
import cn.sharesdk.kuaishou.Kuaishou;
import cn.sharesdk.line.Line;
import cn.sharesdk.linkedin.LinkedIn;
import cn.sharesdk.littleredbook.Littleredbook;
import cn.sharesdk.meipai.Meipai;
import cn.sharesdk.mingdao.Mingdao;
import cn.sharesdk.oasis.Oasis;
import cn.sharesdk.pinterest.Pinterest;
import cn.sharesdk.pocket.Pocket;
import cn.sharesdk.reddit.Reddit;
import cn.sharesdk.renren.Renren;
import cn.sharesdk.sina.weibo.SinaWeibo;
import cn.sharesdk.snapchat.Snapchat;
import cn.sharesdk.system.email.Email;
import cn.sharesdk.system.text.ShortMessage;
import cn.sharesdk.telegram.Telegram;
import cn.sharesdk.tencent.qq.QQ;
import cn.sharesdk.tencent.qzone.QZone;
import cn.sharesdk.tencent.weibo.TencentWeibo;
import cn.sharesdk.tiktok.Tiktok;
import cn.sharesdk.tumblr.Tumblr;
import cn.sharesdk.twitter.Twitter;
import cn.sharesdk.vkontakte.VKontakte;
import cn.sharesdk.watermelonvideo.Watermelonvideo;
import cn.sharesdk.wechat.favorite.WechatFavorite;
import cn.sharesdk.wechat.friends.Wechat;
import cn.sharesdk.wechat.moments.WechatMoments;
import cn.sharesdk.wework.Wework;
import cn.sharesdk.whatsapp.WhatsApp;
import cn.sharesdk.yixin.friends.Yixin;
import cn.sharesdk.yixin.moments.YixinMoments;
import cn.sharesdk.youdao.YouDao;
import cn.sharesdk.youtube.Youtube;

/**
 * 获取各个平台后进行分享的操作。
 */

public class PlatformShareManager {
	private PlatformActionListener platformActionListener;

	public void setPlatformActionListener(PlatformActionListener platformActionListener) {
		this.platformActionListener = platformActionListener;
	}

	public void shareText(String name) {
		if (name.equals(Alipay.NAME)) {
			AlipayShare alipay = new AlipayShare(platformActionListener);
			alipay.shareText();
		} else if (name.equals(Dingding.NAME)) {
			DingdingShare dingdingShare = new DingdingShare(platformActionListener);
			dingdingShare.shareText();
		} else if (name.equals(Douban.NAME)) {
			DoubanShare doubanShare = new DoubanShare(platformActionListener);
			doubanShare.shareText();
		} else if (name.equals(Evernote.NAME)) {
			EvernoteShare evernoteShare = new EvernoteShare(platformActionListener);
			evernoteShare.shareText();
		} else if (name.equals(KaiXin.NAME)) {
			KaiXinShare kaiXinShare = new KaiXinShare(platformActionListener);
			kaiXinShare.shareText();
		} else if (name.equals(KakaoStory.NAME)) {
			KakaoStoryShare kakaoStoryShare = new KakaoStoryShare(platformActionListener);
			kakaoStoryShare.shareText();
		} else if (name.equals(KakaoTalk.NAME)) {
			KakaoTalkShare kakaoTalkShare = new KakaoTalkShare(platformActionListener);
			kakaoTalkShare.shareText();
		} else if (name.equals(Line.NAME)) {
			LineShare lineShare = new LineShare(platformActionListener);
			lineShare.shareText();
		} else if (name.equals(LinkedIn.NAME)) {
			LinkedinShare linkedinShare = new LinkedinShare(platformActionListener);
			linkedinShare.shareText();
		} else if (name.equals(Mingdao.NAME)) {
			MingdaoShare mingdaoShare = new MingdaoShare(platformActionListener);
			mingdaoShare.shareText();
		} else if (name.equals(Renren.NAME)) {
			RenrenShare renrenShare = new RenrenShare(platformActionListener);
			renrenShare.shareText();
		} else if (name.equals(SinaWeibo.NAME)) {
			WeiboShare weiboShare = new WeiboShare(platformActionListener);
			weiboShare.shareText();
		} else if (name.equals(QZone.NAME)) {
			QQZoneShare qqZoneShare = new QQZoneShare(platformActionListener);
			qqZoneShare.shareText();
		} else if (name.equals(TencentWeibo.NAME)) {
			cn.sharesdk.demo.platform.tencent.WeiboShare qqZoneShare = new cn.sharesdk.demo.platform.tencent.WeiboShare(platformActionListener);
			qqZoneShare.shareText();
		} else if (name.equals(Tumblr.NAME)) {
			TumblrShare tumblrShare = new TumblrShare(platformActionListener);
			tumblrShare.shareText();
		} else if (name.equals(Twitter.NAME)) {
			TwitterShare twitterShare = new TwitterShare(platformActionListener);
			twitterShare.shareText();
		} else if (name.equals(Wechat.NAME)) {
			WechatShare wechatShare = new WechatShare(platformActionListener);
			wechatShare.shareText();
		} else if (name.equals(WechatFavorite.NAME)) {
			WechatFavoriteShare wechatFavoriteShare = new WechatFavoriteShare(platformActionListener);
			wechatFavoriteShare.shareText();
		} else if (name.equals(WechatMoments.NAME)) {
			WechatMomentsShare wechatMomentsShare = new WechatMomentsShare(platformActionListener);
			wechatMomentsShare.shareText();
		} else if (name.equals(WhatsApp.NAME)) {
			WhatsAppShare whatsAppShare = new WhatsAppShare(platformActionListener);
			whatsAppShare.shareText();
		} else if (name.equals(Instagram.NAME)) {
			InstagramShare instagramShare = new InstagramShare(platformActionListener);
			instagramShare.shareText();
		} else if (name.equals(YouDao.NAME)) {
			YouDaoShare whatsAppShare = new YouDaoShare(platformActionListener);
			whatsAppShare.shareText();
		} else if (name.equals(Yixin.NAME)) {
			YixinShare yixinShare = new YixinShare(platformActionListener);
			yixinShare.shareText();
		} else if (name.equals(Email.NAME)) {
			EmailShare yixinShare = new EmailShare(platformActionListener);
			yixinShare.shareText();
		} else if (name.equals(ShortMessage.NAME)) {
			ShortMessageShare yixinShare = new ShortMessageShare(platformActionListener);
			yixinShare.shareText();
		} else if (name.equals(Reddit.NAME)) {
			RedditShare redditShare = new RedditShare(platformActionListener);
			redditShare.shareText();
		} else if (name.equals(Telegram.NAME)) {
			TelegramShare telegramShare = new TelegramShare(platformActionListener);
			telegramShare.shareText();
		} else if (name.equals(Wework.NAME)) {
			WeworkShare weworkShare = new WeworkShare(platformActionListener);
			weworkShare.shareText();
		} else if (name.equals(Facebook.NAME)) {
			FacebookShare share = new FacebookShare(platformActionListener);
			share.shareText();
		} else if (name.equals(FacebookMessenger.NAME)) {
			FacebookMessengerShare share = new FacebookMessengerShare(platformActionListener);
			share.shareText();
		}else if (name.equals(VKontakte.NAME)) {
			VKontakteShare vKontakteShare = new VKontakteShare(platformActionListener);
			vKontakteShare.shareText();
		}else {
			Platform platform = ShareSDK.getPlatform(name);
			Platform.ShareParams shareParams = new Platform.ShareParams();
			shareParams.setText(ResourcesManager.getInstace(MobSDK.getContext()).getText());
			shareParams.setTitle(ResourcesManager.getInstace(MobSDK.getContext()).getTitle());
			shareParams.setShareType(Platform.SHARE_TEXT);
			platform.setPlatformActionListener(platformActionListener);
			platform.share(shareParams);
		}
	}

	public void shareImage(String name, Activity activity) {
		if (name.equals(Alipay.NAME)) {
			AlipayShare alipay = new AlipayShare(platformActionListener);
			alipay.shareImage();
		} else if (name.equals(Dingding.NAME)) {
			DingdingShare dingdingShare = new DingdingShare(platformActionListener);
			dingdingShare.shareImage();
		} else if (name.equals(Douban.NAME)) {
			DoubanShare doubanShare = new DoubanShare(platformActionListener);
			doubanShare.shareImage();
		} else if (name.equals(Dropbox.NAME)) {
			DropboxShare dropboxShare = new DropboxShare(platformActionListener);
			dropboxShare.shareImage();
		} else if (name.equals(Evernote.NAME)) {
			EvernoteShare evernoteShare = new EvernoteShare(platformActionListener);
			evernoteShare.shareImage();
		} else if (name.equals(Facebook.NAME)) {
			FacebookShare facebookShare = new FacebookShare(platformActionListener);
			facebookShare.shareImage();
		} else if (name.equals(Renren.NAME)) {
			RenrenShare renrenShare = new RenrenShare(platformActionListener);
			renrenShare.shareImage();
		} else if (name.equals(YouDao.NAME)) {
			YouDaoShare whatsAppShare = new YouDaoShare(platformActionListener);
			whatsAppShare.shareImage();
		} else if (name.equals(FacebookMessenger.NAME)) {
			FacebookMessengerShare facebookMessengerShare = new FacebookMessengerShare(platformActionListener);
			facebookMessengerShare.shareImage();
		} else if (name.equals(Flickr.NAME)) {
			FlickerShare flickerShare = new FlickerShare(platformActionListener);
			flickerShare.shareImage();
		} else if (name.equals(FourSquare.NAME)) {
			FourSquareShare fourSquareShare = new FourSquareShare(platformActionListener);
			fourSquareShare.shareImage();
		} else if (name.equals(Instagram.NAME)) {
			InstagramShare instagramShare = new InstagramShare(platformActionListener);
			instagramShare.shareTextImage();
		} else if (name.equals(KaiXin.NAME)) {
			KaiXinShare kaiXinShare = new KaiXinShare(platformActionListener);
			kaiXinShare.shareImage();
		} else if (name.equals(KakaoStory.NAME)) {
			KakaoStoryShare kakaoStoryShare = new KakaoStoryShare(platformActionListener);
			kakaoStoryShare.shareImage();
		} else if (name.equals(KakaoTalk.NAME)) {
			KakaoTalkShare kakaoStoryShare = new KakaoTalkShare(platformActionListener);
			kakaoStoryShare.kakaoCustomShare();
		} else if (name.equals(Line.NAME)) {
			LineShare lineShare = new LineShare(platformActionListener);
			lineShare.shareImage();
		} else if (name.equals(Meipai.NAME)) {
			MeipaiShare meipaiShare = new MeipaiShare(platformActionListener);
			meipaiShare.shareImage(activity);
		} else if (name.equals(Mingdao.NAME)) {
			MingdaoShare mingdaoShare = new MingdaoShare(platformActionListener);
			mingdaoShare.shareImage();
		} else if (name.equals(SinaWeibo.NAME)) {
			WeiboShare weiboShare = new WeiboShare(platformActionListener);
			weiboShare.shareImage();
		} else if (name.equals(QQ.NAME)) {
			QQShare qqShare = new QQShare(platformActionListener);
			qqShare.shareImage();
		} else if (name.equals(QZone.NAME)) {
			QQZoneShare qqZoneShare = new QQZoneShare(platformActionListener);
			qqZoneShare.shareImage();
		} else if (name.equals(TencentWeibo.NAME)) {
			cn.sharesdk.demo.platform.tencent.WeiboShare qqZoneShare = new cn.sharesdk.demo.platform.tencent.WeiboShare(platformActionListener);
			qqZoneShare.shareImage();
		} else if (name.equals(Tumblr.NAME)) {
			TumblrShare tumblrShare = new TumblrShare(platformActionListener);
			tumblrShare.shareImage();
		} else if (name.equals(Twitter.NAME)) {
			TwitterShare twitterShare = new TwitterShare(platformActionListener);
			twitterShare.shareImage();
		} else if (name.equals(Wechat.NAME)) {
			WechatShare wechatShare = new WechatShare(platformActionListener);
			wechatShare.shareImage();
		} else if (name.equals(WechatFavorite.NAME)) {
			WechatFavoriteShare wechatFavoriteShare = new WechatFavoriteShare(platformActionListener);
			wechatFavoriteShare.shareImage();
		} else if (name.equals(WechatMoments.NAME)) {
			WechatMomentsShare wechatMomentsShare = new WechatMomentsShare(platformActionListener);
			wechatMomentsShare.shareImage();
		} else if (name.equals(WhatsApp.NAME)) {
			WhatsAppShare whatsAppShare = new WhatsAppShare(platformActionListener);
			whatsAppShare.shareImage(activity);
		} else if (name.equals(Yixin.NAME)) {
			YixinShare yixinShare = new YixinShare(platformActionListener);
			yixinShare.shareImage();
		} else if (name.equals(Email.NAME)) {
			EmailShare yixinShare = new EmailShare(platformActionListener);
			yixinShare.shareImage();
		} else if (name.equals(ShortMessage.NAME)) {
			ShortMessageShare yixinShare = new ShortMessageShare(platformActionListener);
			yixinShare.shareImage();
		} else if (name.equals(VKontakte.NAME)) {
			VKontakteShare vKontakteShare = new VKontakteShare(platformActionListener);
			vKontakteShare.shareImage();
		} else if (name.equals(Pinterest.NAME)) {
			PinterestShare wechatShare = new PinterestShare(platformActionListener);
			wechatShare.shareImage();
		} else if (name.equals(Telegram.NAME)) {
			TelegramShare telegramShare = new TelegramShare(platformActionListener);
			telegramShare.shareImage();
		} else if (name.equals(Douyin.NAME)) {
			DouyinShare douyinShare = new DouyinShare(platformActionListener);
			douyinShare.shareImage(activity);
		}  else if (name.equals(Tiktok.NAME)) {
			TiktokShare tiktokShare = new TiktokShare(platformActionListener);
			tiktokShare.shareImage(activity);
		} else if (name.equals(YixinMoments.NAME)) {
			YixinMomentsShare wechatShare = new YixinMomentsShare(platformActionListener);
			wechatShare.shareImage();
		} else if (name.equals(Wework.NAME)) {
			WeworkShare weworkShare = new WeworkShare(platformActionListener);
			weworkShare.shareImage(activity);
		} else if(name.equals(Oasis.NAME)){
		    OasisShare oasisShare = new OasisShare(platformActionListener);
		    oasisShare.showDialogSelectImg(activity);
        } else if (name.equals(Snapchat.NAME)) {
			SnapChatShare snapChatShare = new SnapChatShare(platformActionListener);
			snapChatShare.shareSnapImageOpen(activity);
		} else if (name.equals(Kuaishou.NAME)) {
			KuaishouShare kuaishouShare = new KuaishouShare(platformActionListener);
			kuaishouShare.shareImage(activity);
		} else if (name.equals(Littleredbook.NAME)) {
			LittleredbookShare littleredbookShare = new LittleredbookShare(platformActionListener);
			littleredbookShare.shareImage(activity);
		}else if (name.equals(LinkedIn.NAME)) {
			LinkedinShare linkedinShare = new LinkedinShare(platformActionListener);
			linkedinShare.shareImage();
		}  else if (name.equals(Reddit.NAME)) {
			RedditShare share = new RedditShare(platformActionListener);
			share.shareImage();
		}else {
			Platform platform = ShareSDK.getPlatform(name);
			Platform.ShareParams shareParams = new Platform.ShareParams();
			shareParams.setText(ResourcesManager.getInstace(MobSDK.getContext()).getText());
			shareParams.setTitle(ResourcesManager.getInstace(MobSDK.getContext()).getTitle());
			shareParams.setImageUrl(ResourcesManager.getInstace(MobSDK.getContext()).getImageUrl());
			shareParams.setImagePath(ResourcesManager.getInstace(MobSDK.getContext()).getImagePath());
			shareParams.setImageData(ResourcesManager.getInstace(MobSDK.getContext()).getImageBmp());
			shareParams.setShareType(Platform.SHARE_IMAGE);
			platform.setPlatformActionListener(platformActionListener);
			platform.share(shareParams);
		}
	}

	public void shareWebPager(String name, Activity activity) {
		if (name.equals(Alipay.NAME)) {
			AlipayShare alipay = new AlipayShare(platformActionListener);
			alipay.shareWebPage();
		} else if (name.equals(AlipayMoments.NAME)) {
			AlipayMomentsShare alipayMomentsShare = new AlipayMomentsShare(platformActionListener);
			alipayMomentsShare.shareWebPage();
		} else if (name.equals(Dingding.NAME)) {
			DingdingShare dingdingShare = new DingdingShare(platformActionListener);
			dingdingShare.shareWebPage();
		} else if (name.equals(Facebook.NAME)) {
			FacebookShare facebookShare = new FacebookShare(platformActionListener);
			facebookShare.shareWebPage();
		} else if (name.equals(QQ.NAME)) {
			QQShare qqShare = new QQShare(platformActionListener);
			qqShare.shareWebPager();
		} else if (name.equals(QZone.NAME)) {
			QQZoneShare mingdaoShare = new QQZoneShare(platformActionListener);
			mingdaoShare.shareWebPager();
		} else if (name.equals(Instapaper.NAME)) {
			InstapaperShare instapaperShare = new InstapaperShare(platformActionListener);
			instapaperShare.shareTextUrl();
		} else if (name.equals(FacebookMessenger.NAME)) {
			FacebookMessengerShare facebookMessengerShare = new FacebookMessengerShare(platformActionListener);
			facebookMessengerShare.shareWebPage();
		} else if (name.equals(Wechat.NAME)) {
			WechatShare wechatShare = new WechatShare(platformActionListener);
			wechatShare.shareWebpager();
		} else if (name.equals(WechatMoments.NAME)) {
			WechatMomentsShare wechatShare = new WechatMomentsShare(platformActionListener);
			wechatShare.shareWebpager();
		} else if (name.equals(WechatFavorite.NAME)) {
			WechatFavoriteShare wechatFavoriteShare = new WechatFavoriteShare(platformActionListener);
			wechatFavoriteShare.shareWebpager();
		} else if (name.equals(Yixin.NAME)) {
			YixinShare wechatShare = new YixinShare(platformActionListener);
			wechatShare.shareWebPager();
		} else if (name.equals(YixinMoments.NAME)) {
			YixinMomentsShare wechatShare = new YixinMomentsShare(platformActionListener);
			wechatShare.shareWebPager();
		} else if (name.equals(Reddit.NAME)) {
			RedditShare redditShare = new RedditShare(platformActionListener);
			redditShare.shareUrl();
		} else if (name.equals(LinkedIn.NAME)) {
			LinkedinShare linkedinShare = new LinkedinShare(platformActionListener);
			linkedinShare.shareWebPage();
		} else if (name.equals(KakaoTalk.NAME)) {
			KakaoTalkShare kakaoStoryShare = new KakaoTalkShare(platformActionListener);
			kakaoStoryShare.shareUrl();
		} else if (name.equals(Wework.NAME)) {
			WeworkShare weworkShare = new WeworkShare(platformActionListener);
			weworkShare.shareWebPage();
		}else if (name.equals(Kuaishou.NAME)) {
			KuaishouShare share = new KuaishouShare(platformActionListener);
			share.shareWebPage(activity);
		}else if (name.equals(VKontakte.NAME)) {
			VKontakteShare vKontakteShare = new VKontakteShare(platformActionListener);
			vKontakteShare.shareWebPager();
		} else if (name.equals(Tumblr.NAME)){
			TumblrShare tumblrShare = new TumblrShare(platformActionListener);
			tumblrShare.shareWebPager();
		} else if (name.equals(Pocket.NAME)){
			PocketShare pocketShare = new PocketShare(platformActionListener);
			pocketShare.shareWebPager();
		} else {
			Platform platform = ShareSDK.getPlatform(name);
			Platform.ShareParams shareParams = new Platform.ShareParams();
			shareParams.setText(ResourcesManager.getInstace(MobSDK.getContext()).getText());
			shareParams.setTitle(ResourcesManager.getInstace(MobSDK.getContext()).getTitle());
			shareParams.setImageUrl(ResourcesManager.getInstace(MobSDK.getContext()).getImageUrl());
			shareParams.setUrl(ResourcesManager.getInstace(MobSDK.getContext()).getUrl());
			shareParams.setShareType(Platform.SHARE_WEBPAGE);
			platform.setPlatformActionListener(platformActionListener);
			platform.share(shareParams);
		}
	}

	public void shareVideo(String name, Activity activity) {
		if(name.equals(SinaWeibo.NAME)){
			WeiboShare weiboShare = new WeiboShare(platformActionListener);
			weiboShare.shareVideo();
		} else if (name.equals(Dropbox.NAME)) {
			DropboxShare dropboxShare = new DropboxShare(platformActionListener);
			dropboxShare.shareVideo();
		} else if (name.equals(Evernote.NAME)) {
			EvernoteShare evernoteShare = new EvernoteShare(platformActionListener);
			evernoteShare.shareVideo();
		} else if (name.equals(Facebook.NAME)) { //============== Facebook
			FacebookShare facebookShare = new FacebookShare(platformActionListener);
			facebookShare.shareVideo(activity);
		} else if (name.equals(Instagram.NAME)) {
			InstagramShare instagramShare = new InstagramShare(platformActionListener);
			instagramShare.shareVideo();
		} else if (name.equals(KakaoStory.NAME)) {
			KakaoStoryShare kakaoStoryShare = new KakaoStoryShare(platformActionListener);
			kakaoStoryShare.shareVideo();
		} else if (name.equals(Meipai.NAME)) {
			MeipaiShare meipaiShare = new MeipaiShare(platformActionListener);
			meipaiShare.shareVideo(activity);
		} else if (name.equals(Email.NAME)) {
			EmailShare emailShare = new EmailShare(platformActionListener);
			emailShare.shareVideo();
		} else if (name.equals(ShortMessage.NAME)) {
			ShortMessageShare shortMessageShare = new ShortMessageShare(platformActionListener);
			shortMessageShare.shareVideo();
		} else if (name.equals(QZone.NAME)) {
			QQZoneShare qqZoneShare = new QQZoneShare(platformActionListener);
			qqZoneShare.shareVideo(activity);
		} else if (name.equals(Twitter.NAME)) {
			TwitterShare twitterShare = new TwitterShare(platformActionListener);
			twitterShare.shareVideo();
		} else if (name.equals(Wechat.NAME)) {
			WechatShare wechatShare = new WechatShare(platformActionListener);
			wechatShare.shareVideo();
		} else if (name.equals(WechatFavorite.NAME)) {
			WechatFavoriteShare wechatFavoriteShare = new WechatFavoriteShare(platformActionListener);
			wechatFavoriteShare.shareVideo();
		} else if (name.equals(WechatMoments.NAME)) {
			WechatMomentsShare wechatMomentsShare = new WechatMomentsShare(platformActionListener);
			wechatMomentsShare.shareVideo();
		} else if (name.equals(WhatsApp.NAME)) {
			WhatsAppShare whatsAppShare = new WhatsAppShare(platformActionListener);
			whatsAppShare.shareVideo(activity);
		} else if (name.equals(Yixin.NAME)) {
			YixinShare yixinShare = new YixinShare(platformActionListener);
			yixinShare.shareVideo();
		} else if (name.equals(YixinMoments.NAME)) {
			YixinMomentsShare yixinShare = new YixinMomentsShare(platformActionListener);
			yixinShare.shareVideo();
		} else if (name.equals(Youtube.NAME)) {
			YoutubeShare youtubeShare = new YoutubeShare(platformActionListener);
			youtubeShare.shareVideo();
		} else if (name.equals(Douyin.NAME)) {
			DouyinShare douyinShare = new DouyinShare(platformActionListener);
			douyinShare.shareVideo(activity);
		} else if (name.equals(Tiktok.NAME)) {
			TiktokShare tiktokShare = new TiktokShare(platformActionListener);
			tiktokShare.shareVideo(activity);
		} else if (name.equals(Wework.NAME)) {
			WeworkShare weworkShare = new WeworkShare(platformActionListener);
			weworkShare.shareVideo(activity);
		} else if(name.equals(Oasis.NAME)){
		    OasisShare oasisShare = new OasisShare(platformActionListener);
		    oasisShare.shareVideo(activity);
        } else if (name.equals(Snapchat.NAME)) {
			SnapChatShare snapChatShare = new SnapChatShare(platformActionListener);
			snapChatShare.shareSnapVideoOpen(activity);
		} else if (name.equals(Kuaishou.NAME)) {
			KuaishouShare kuaishouShare = new KuaishouShare(platformActionListener);
			kuaishouShare.shareVideo(activity);
		} else if (name.equals(Littleredbook.NAME)) {
			LittleredbookShare littleredbookShare = new LittleredbookShare(platformActionListener);
			littleredbookShare.shareVideo(activity);
		} else if (name.equals(KakaoTalk.NAME)) {
			KakaoTalkShare kakaoStoryShare = new KakaoTalkShare(platformActionListener);
			kakaoStoryShare.kakaoCommerceShare();
		} else if (name.equals(Watermelonvideo.NAME)) {
			WatermelonvideoShare watermelonvideoShare = new WatermelonvideoShare(platformActionListener);
			watermelonvideoShare.shareVideo(activity);
		} else if (name.equals(FacebookMessenger.NAME)) {
			FacebookMessengerShare share = new FacebookMessengerShare(platformActionListener);
			share.shareVideo();
		} else if (name.equals(Tumblr.NAME)){
			TumblrShare tumblrShare = new TumblrShare(platformActionListener);
			tumblrShare.shareVideo();
		} else {
			Platform platform = ShareSDK.getPlatform(name);
			Platform.ShareParams shareParams = new Platform.ShareParams();
			shareParams.setText(ResourcesManager.getInstace(MobSDK.getContext()).getText());
			shareParams.setTitle(ResourcesManager.getInstace(MobSDK.getContext()).getTitle());
			shareParams.setFilePath(ResourcesManager.getInstace(MobSDK.getContext()).getFilePath());
			shareParams.setShareType(Platform.SHARE_VIDEO);
			platform.setPlatformActionListener(platformActionListener);
			platform.share(shareParams);
		}
	}

	public void shareFile(String name, Activity activity) {
		if (name.equals(Dropbox.NAME)) {
			DropboxShare dropboxShare = new DropboxShare(platformActionListener);
			dropboxShare.shareFile();
		} else if (name.equals(QZone.NAME)) {
			QQZoneShare qqZoneShare = new QQZoneShare(platformActionListener);
			qqZoneShare.shareVideo(activity);
		} else if (name.equals(Wechat.NAME)) {
			WechatShare wechatShare = new WechatShare(platformActionListener);
			wechatShare.shareFile();
		} else if (name.equals(WechatFavorite.NAME)) {
			WechatFavoriteShare wechatFavoriteShare = new WechatFavoriteShare(platformActionListener);
			wechatFavoriteShare.shareFile(activity);
		} else if (name.equals(Wework.NAME)) {
			WeworkShare weworkShare = new WeworkShare(platformActionListener);
			weworkShare.shareFile(activity);
		} else if (name.equals(KakaoTalk.NAME)) {
			KakaoTalkShare kakaoStoryShare = new KakaoTalkShare(platformActionListener);
			kakaoStoryShare.kakaoFeedShare();
		} else {
			Platform platform = ShareSDK.getPlatform(name);
			Platform.ShareParams shareParams = new Platform.ShareParams();
			shareParams.setText(ResourcesManager.getInstace(MobSDK.getContext()).getText());
			shareParams.setTitle(ResourcesManager.getInstace(MobSDK.getContext()).getTitle());
			shareParams.setFilePath(ResourcesManager.getInstace(MobSDK.getContext()).getFilePath());
			shareParams.setShareType(Platform.SHARE_FILE);
			platform.setPlatformActionListener(platformActionListener);
			platform.share(shareParams);
		}
	}

	public void shareMusic(String name) {
		if (name.equals(QQ.NAME)) {
			QQShare qqShare = new QQShare(platformActionListener);
			qqShare.shareMusic();
		} else if (name.equals(Wechat.NAME)) {
			WechatShare wechatShare = new WechatShare(platformActionListener);
			wechatShare.shareMusic();
		} else if (name.equals(WechatFavorite.NAME)) {
			WechatFavoriteShare wechatFavoriteShare = new WechatFavoriteShare(platformActionListener);
			wechatFavoriteShare.shareMusic();
		} else if (name.equals(WechatMoments.NAME)) {
			WechatMomentsShare wechatMomentsShare = new WechatMomentsShare(platformActionListener);
			wechatMomentsShare.shareMusic();
		} else if (name.equals(Yixin.NAME)) {
			YixinShare yixinShare = new YixinShare(platformActionListener);
			yixinShare.shareMusic();
		} else if (name.equals(YixinMoments.NAME)) {
			YixinMomentsShare yixinShare = new YixinMomentsShare(platformActionListener);
			yixinShare.shareMusic();
		} else {
			Platform platform = ShareSDK.getPlatform(name);
			Platform.ShareParams shareParams = new Platform.ShareParams();
			shareParams.setText(ResourcesManager.getInstace(MobSDK.getContext()).getText());
			shareParams.setTitle(ResourcesManager.getInstace(MobSDK.getContext()).getTitle());
			shareParams.setImageUrl(ResourcesManager.getInstace(MobSDK.getContext()).getImageUrl());
			shareParams.setImagePath(ResourcesManager.getInstace(MobSDK.getContext()).getImagePath());
			shareParams.setImageData(ResourcesManager.getInstace(MobSDK.getContext()).getImageBmp());
			shareParams.setMusicUrl(ResourcesManager.getInstace(MobSDK.getContext()).getMusicUrl());
			shareParams.setShareType(Platform.SHARE_MUSIC);
			platform.setPlatformActionListener(platformActionListener);
			platform.share(shareParams);
		}
	}

	public void shareApp(String name) {
		if (name.equals(Wechat.NAME)) {
			WechatShare wechatShare = new WechatShare(platformActionListener);
			//wechatShare.shareApps();
		}
	}

	public void shareLinkCard(String name) {
		if (name.equals(SinaWeibo.NAME)) {
			WeiboShare sinaWeibo = new WeiboShare(platformActionListener);
			sinaWeibo.shareLinkCard();
		}
	}

	public void shareQQMiniProgram(String name, Activity activity) {
		if (name.equals(QQ.NAME)) {
			QQShare qqShare = new QQShare(platformActionListener);
			qqShare.shareQQMiniProgram();
		}
		if (name.equals(QZone.NAME)) {
			QQZoneShare qqZoneShare = new QQZoneShare(platformActionListener);
			qqZoneShare.shareQQMiniProgram(activity);
		}
	}

	public void shareDYMixFile(String name, Activity activity) {
		DouyinShare douyinShare = new DouyinShare(platformActionListener);
		douyinShare.shareMixFile(activity);
	}

	public void openQQMiniProgram(String name) {
		if (name.equals(QQ.NAME)) {
			QQShare qqShare = new QQShare(platformActionListener);
			qqShare.openQQMiniProgram();
		}
	}
}


text:
@class BLKManager;

@interface BLKOperation()

@end


text:
@implementation LZMyPreferenceLabel

+ (instancetype)labelWithTitle:(NSString *)title icon:(NSString *)icon option:(Option)option{

    LZMyPreferenceLabel *model = [self itemWithTitle:title icon:icon];

    model.option = option;

    return model;
}
@end


text:
import java.util.List;

public class Node
{
	public String name;
	public int connections; // this is the degree: note self-loops increment degree twice

    public Node()
    {
        this.name = "";
        // all nodes are added on an edge so initiate at 1 not 0
        this.connections = 1;
    }

    public Node(String node_name)
    {
        this.name = node_name;
        this.connections = 1;
    }

    public String getName()
    {
        return this.name;
    }

    protected void addConnection()
    {
        this.connections += 1;
	/*
        System.out.print(" - connections: ");
    	System.out.println(this.connections);
	 */
    }

    public boolean hasDuplicate(List<Node> nodes)
    {

    	// checks the node against those in a provided list
    	boolean is_duplicate = false;

    	for (Node each_node : nodes)
    	{
    	    if (this.name.equals(each_node.getName()))
    	    {
    	    	// increment connections on the node in the list
    	    	each_node.addConnection();

	    		//System.out.print("Matching node: ");
	    		//System.out.println(each_node.getName());
	    		is_duplicate = true;
    		}
	    }
    	return is_duplicate;
    }

    public int getConns()
    {
    	return this.connections;
    }
}


text:
package at.alladin.rmbt.android.util;

import android.app.AlertDialog;
import android.app.Dialog;
import android.app.DialogFragment;
import android.content.Context;
import android.content.DialogInterface;
import android.os.Bundle;
import android.support.v4.app.FragmentManager;
import android.view.inputmethod.InputMethodManager;

public class RMBTAlertDialogFragment extends DialogFragment
{

    private String popBackStackIncluding;

    public static RMBTAlertDialogFragment newInstance(final String title, final String message, final String popBackStackIncluding)
    {
        final RMBTAlertDialogFragment frag = new RMBTAlertDialogFragment();
        final Bundle args = new Bundle();
        args.putString("title", title);
        args.putString("message", message);
        args.putString("popBackStackIncluding", popBackStackIncluding);
        frag.setArguments(args);
        return frag;
    }

    @Override
    public Dialog onCreateDialog(final Bundle savedInstanceState)
    {
        final String title = getArguments().getString("title");
        final String message = getArguments().getString("message");
        popBackStackIncluding = getArguments().getString("popBackStackIncluding");

        final AlertDialog alert = new AlertDialog.Builder(getActivity())
        // .setIcon(R.drawable.alert_dialog_icon)
                .setTitle(title).setMessage(message)
                .setPositiveButton(android.R.string.ok, null)
                .create();

        return alert;
    }

    @Override
    public void onDismiss(final DialogInterface dialog)
    {
//         close keyboard if open
        try
        {
            final InputMethodManager imm = (InputMethodManager) getActivity()
                    .getSystemService(Context.INPUT_METHOD_SERVICE);
            imm.hideSoftInputFromWindow(getActivity().getCurrentFocus().getWindowToken(),
                    InputMethodManager.HIDE_NOT_ALWAYS);
        }
        catch (Exception e)
        {
        }

        if (popBackStackIncluding != null)
            getActivity().getFragmentManager().popBackStack(popBackStackIncluding, FragmentManager.POP_BACK_STACK_INCLUSIVE);

        super.onDismiss(dialog);
    }
}


text:
require 'ostruct'

Encoding.default_external = Encoding::UTF_8
Encoding.default_internal = Encoding::UTF_8

class Softcover::BookManifest < OpenStruct
  include Softcover::Utils

  attr_accessor :book_file

  class Softcover::MarketingManifest < Softcover::BookManifest

    YAML_PATH = File.join(Softcover::Directories::CONFIG, 'marketing.yml')
    def initialize
      marshal_load read_from_yml.symbolize_keys!
    end
  end

  def escaped_title
    CGI.escape_html(title)
  end

  # Run the title through the Polytexnic pipeline to make an HTML title.
  def html_title
    polytexnic_html(title)
  end

  class NotFound < StandardError
    def message
      "Invalid document directory, no manifest file found!"
    end
  end

  class Chapter < OpenStruct
    include Softcover::Utils

    def fragment_name
      "#{slug}_fragment.#{html_extension}"
    end

    def fragment_path
      File.join('html', fragment_name)
    end

    def nodes
      @nodes ||= []
    end

    # Returns a chapter heading for use in the navigation menu.
    def menu_heading
      raw_html = Polytexnic::Pipeline.new(title,
                                          language_labels: language_labels).
                                         to_html
      doc = Nokogiri::HTML(raw_html).at_css('p')
      # Handle case of a footnote in the chapter title.
      doc.css('sup').each do |footnote_node|
        footnote_node.remove
      end
      html = doc.inner_html
      if chapter_number.zero? || article? || chapter_number == 99999
        html
      else
        "#{chapter_label(chapter_number)}: #{html}"
      end
    end

    # Run the title through the Polytexnic pipeline to make an HTML title.
    def html_title
      self.polytexnic_html(title)
    end

    def to_hash
      marshal_dump.merge({ menu_heading: menu_heading })
    end

    def source
      case extension
      when '.md'
        :markdown
      when '.tex'
        :polytex
      end
    end

    def full_name
      "#{slug}#{extension}"
    end

    # Returns the name for the cached version of the chapters.
    # This is used when processing Markdown to avoid unnecessary calls to
    # kramdown's to_latex method, which can get expensive.
    def cache_filename
      Softcover::Utils.path("tmp/#{full_name}.cache")
    end
  end

  class Section < OpenStruct
  end

  TXT_PATH  = 'Book.txt'
  YAML_PATH = File.join(Softcover::Directories::CONFIG, 'book.yml')

  def initialize(options = {})
    @source = options[:source] || :polytex
    @origin = options[:origin]
    @book_file = TXT_PATH

    ensure_template_files

    if ungenerated_markdown?
      puts "Error: No book to publish"
      puts "Run `softcover build:<format>` for at least one format"
      exit 1
    end

    yaml_attrs = read_from_yml
    attrs = case
            when polytex?  then yaml_attrs
            when markdown? then yaml_attrs.merge(read_from_md)
            else
              self.class.not_found!
            end.symbolize_keys!

    marshal_load attrs

    write_master_latex_file(self)
    if polytex?
      tex_filename = filename + '.tex'
      self.chapters = []
      self.frontmatter = []
      self.backmatter = []
      base_contents = File.read(tex_filename)

      if base_contents.match(/frontmatter/)
        @frontmatter = true
        chapters.push Chapter.new(slug:  'frontmatter',
                                  title: language_labels["frontmatter"],
                                  sections: nil,
                                  chapter_number: 0)
      end

      if base_contents.match(/backmatter/)
        @backmatter = true
      end

      raw_frontmatter = remove_frontmatter(base_contents, frontmatter)
      raw_backmatter = remove_backmatter(base_contents, backmatter)

      if frontmatter?
        self.frontmatter = chapter_includes(raw_frontmatter)
      else
        self.frontmatter = []
      end
      if backmatter?
        self.backmatter = chapter_includes(raw_backmatter)
      else
        self.backmatter = []
      end

      chapter_includes(base_contents).each_with_index do |name, i|
        slug = File.basename(name, '.*')
        chapter_title_regex = /^\s*\\chapter{(.*)}/
        filename = File.join(polytex_dir, slug + '.tex')
        content = File.read(filename)
        chapter_title = content[chapter_title_regex, 1]
        if article? && @origin == :markdown
          if chapter_title.nil?
            # Articles are "chapters" with the title of the full document.
            chapter_title = title
          else
            # Override the title based on the value of the top-level heading.
            self.title = chapter_title
            # Overwrite book.yml with the new title.
            book_yml = File.read(YAML_PATH)
            File.write(YAML_PATH, book_yml.sub(/title: .*/, "title: #{title}"))
            # Strip out the chapter line, which is invalid in articles.
            File.write(filename, content.sub(chapter_title_regex, ''))
          end
        end
        j = 0
        sections = content.scan(/^\s*\\section{(.*)}/).flatten.map do |name|
          Section.new(name: name, section_number: j += 1)
        end
        chapter_title = title if article?
        chapters.push Chapter.new(slug: slug,
                                  title: chapter_title,
                                  sections: sections,
                                  chapter_number: i + 1)
      end

      if backmatter?
        chapters.push Chapter.new(slug:  'backmatter',
                                  title: language_labels["backmatter"],
                                  sections: nil,
                                  chapter_number: 99999)
      end
    end
    write_master_latex_file(self)
    verify_paths! if options[:verify_paths]
  end

  # Ensures the existence of needed template files like 'marketing.yml'.
  # We copy from the template if necessary.
  # Needed for backwards compatibility.
  def ensure_template_files
    self.class.find_book_root!
    template_dir = Softcover::Utils.template_dir(article:
                                                 Softcover::Utils.article?)
    files = [File.join(Softcover::Directories::CONFIG, 'marketing.yml'),
             path('images/cover-web.png'),
             path('latex_styles/custom_pdf.sty'),
             path('latex_styles/applekeys.sty'),
             path('config/preamble.tex'),
             path('config/lang.yml'),
             path('epub/OEBPS/styles/custom_epub.css'),
             path('epub/OEBPS/styles/page-template.xpgt'),
           ]
    files.each do |file|
      unless File.exist?(file)
        puts "Copying missing file '#{file}' from template"
        FileUtils.mkdir_p(File.dirname(file))
        FileUtils.cp(File.join(template_dir, file), file)
      end
    end
  end

  # Handles case of Markdown books without running `softcover build`.
  def ungenerated_markdown?
    dir = 'generated_polytex'
    @origin == :markdown && (!File.directory?(dir) ||
                             Dir.glob(path("#{dir}/*")).empty?)
  end

  # Returns the directory where the LaTeX files are located.
  # We put them in the a separate directory when using them as an intermediate
  # format when working with Markdown books. Otherwise, we use the chapters
  # directory, which is the default location when writing LaTeX/PolyTeX books.
  def polytex_dir
    dir = (markdown? || @origin == :markdown) ? 'generated_polytex' : 'chapters'
    mkdir dir
    dir
  end

  # Returns an array of the chapters to include.
  def chapter_includes(string)
    chapter_regex = /^\s*\\include\{#{polytex_dir}\/(.*?)\}/
    string.scan(chapter_regex).flatten
  end

  # Removes frontmatter.
  # The frontmatter shouldn't be included in the chapter slugs, so we remove
  # it. For example, in
  #  \frontmatter
  #  \maketitle
  #  \tableofcontents
  #  % List frontmatter sections here (preface, foreword, etc.).
  #  \include{chapters/preface}
  #  \mainmatter
  #  % List chapters here in the order they should appear in the book.
  #  \include{chapters/a_chapter}
  # we don't want to include the preface.
  def remove_frontmatter(base_contents, frontmatter)
    base_contents.gsub!(/\\frontmatter(.*)\\mainmatter/m, '')
    $1
  end

  # Removes backmatter
  def remove_backmatter(base_contents, backmatter)
    base_contents.gsub!(/\\backmatter(.*)\\end{document}/m, '')
    $1
  end

  # Returns true if the book has frontmatter.
  def frontmatter?
    @frontmatter
  end

  # Returns true if the book has a backmatter.
  def backmatter?
    @backmatter
  end

  # Returns the first full chapter.
  # This arranges to skip the frontmatter, if any.
  def first_chapter
    frontmatter? ? chapters[1] : chapters[0]
  end

  # Returns the last chapter
  def last_chapter
    chapters[-1]
  end

  # Returns true if converting Markdown source.
  def markdown?
    @source == :markdown || @source == :md
  end
  alias :md? :markdown?

  # Returns true if converting PolyTeX source.
  def polytex?
    @source == :polytex
  end

  # Returns an iterator for the chapter file paths.
  def chapter_file_paths
    pdf_chapter_names.map do |name|
      file_path = case
                  when markdown? || @origin == :markdown
                    chapter = chapters.find { |chapter| chapter.slug == name }
                    extension = chapter.nil? ? '.md' : chapter.extension
                    File.join("chapters", "#{name}#{extension}")
                  when polytex?
                    File.join("chapters", "#{name}.tex")
                  end

      yield file_path if block_given?

      file_path
    end
  end

  # Returns the name of the HTML file containing the full book.
  def full_html_file
    path("html/#{slug}.#{html_extension}")
  end

  # Returns chapters for the PDF.
  def pdf_chapter_names
    chaps = chapters.reject { |chapter| chapter.slug == 'frontmatter' || chapter.slug == 'backmatter' }.
                     collect(&:slug)
    if frontmatter
      chaps = frontmatter + chaps
    end
    if backmatter
      chaps = chaps + backmatter
    end
    chaps
  end

  # Returns the full chapter filenames for the PDF.
  def pdf_chapter_filenames
    pdf_chapter_names.map { |name| File.join(polytex_dir, "#{name}.tex") }
  end

  def find_chapter_by_slug(slug)
    chapters.find { |chapter| chapter.slug == slug }
  end

  def find_chapter_by_number(number)
    chapters.find { |chapter| chapter.chapter_number == number }
  end

  # Returns a URL for the chapter with the given number.
  def url(chapter_number)
    if (chapter = find_chapter_by_number(chapter_number))
      chapter.slug
    else
      '#'
    end
  end

  # Returns the chapter range for book previews.
  # We could `eval` the range, but that would allow users to execute arbitrary
  # code (maybe not a big problem on their system, but it would be a Bad Thing
  # on a server).
  def preview_chapter_range
    unless respond_to?(:epub_mobi_preview_chapter_range)
      $stderr.puts("Error: Preview not built")
      $stderr.puts("Define epub_mobi_preview_chapter_range in config/book.yml")
      $stderr.puts("See http://manual.softcover.io/book/getting_started#sec-build_preview")
      exit(1)
    end

    first, last = epub_mobi_preview_chapter_range.split('..').map(&:to_i)
    first..last
  end

  # Returns the chapters to use in the preview as a range.
  def preview_chapters
    chapters[preview_chapter_range]
  end

  def self.valid_directory?
    # Needed for backwards compatibility
    if File.exist?('book.yml') && !Dir.pwd.include?('config')
      Softcover::Utils.mkdir('config')
      FileUtils.mv('book.yml', 'config')
    end
    [YAML_PATH, TXT_PATH].any? { |f| File.exist?(f) }
  end

  # Changes the directory until in the book's root directory.
  def self.find_book_root!
    loop do
      return true if valid_directory?
      return not_found! if Dir.pwd == '/'
      Dir.chdir '..'
    end
  end

  def self.not_found!
    raise NotFound
  end

  # Returns the source files specified by Book.txt.
  # Allows a mixture of Markdown and PolyTeX files.
  def source_files
    self.class.find_book_root!
    md_tex = /.*(?:\.md|\.tex)/
    book_file_lines(self).select { |path| path =~ md_tex }.map(&:strip)
  end

  def basenames
    source_files.map { |file| File.basename(file, '.*') }
  end

  def extensions
    source_files.map { |file| File.extname(file) }
  end

  def chapter_objects
    basenames.zip(extensions).map do |name, extension|
      Chapter.new(slug: name, extension: extension)
    end
  end

  def read_from_md
    { chapters: chapter_objects, filename: book_file }
  end

  private

    def read_from_yml
      require 'softcover/config'
      require 'yaml/store'
      self.class.find_book_root!
      ensure_book_yml
      YAML.load_file(self.class::YAML_PATH)
    end

    # Ensures that the book.yml file is in the right directory.
    # This is for backwards compatibility.
    def ensure_book_yml
      path = self.class::YAML_PATH
      unless File.exist?(path)
        base = File.basename(path)
        Softcover::Utils.mkdir Softcover::Directories::CONFIG
        FileUtils.mv base, Softcover::Directories::CONFIG
      end
    end

    def verify_paths!
      chapter_file_paths do |chapter_path|
        next if chapter_path =~ /(front|back)matter/

        unless File.exist?(chapter_path)
          $stderr.puts "ERROR -- document not built"
          $stderr.puts "Chapter file '#{chapter_path}'' not found"
          exit 1
        end
      end
    end
end


text:
if [ ! -e node_modules ]; then mkdir node_modules; fi
cd scxml-test-framework
npm install
cd ..

#start the server
node node-test-server.js &
#keep the pid (so we can kill it later)
serverpid=$!

sleep 1

#run the client
cd scxml-test-framework/
node lib/test-client.js test/*/*.scxml
status=$?
cd ..

#kill the server
kill $serverpid

if [ "$status" = '0' ]; then echo SUCCESS; else echo FAILURE; fi;

exit $status


text:
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package classroom.gui;

import classroom.database.ConnectionDB;
import classroom.modal.Work;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Vector;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JOptionPane;
import javax.swing.table.DefaultTableModel;
import javax.swing.table.TableModel;
import java.awt.Color;
/**
 *
 * @author KS
 */
public class TE_Remove extends javax.swing.JFrame {

    ArrayList<Work> alWork = new ArrayList<Work>();

    /**
     * Creates new form TE_Remove
     */
    public TE_Remove() throws SQLException {
        initComponents();
        showTable();
    }

    public void showTable() throws SQLException {
        Connection tcud = ConnectionDB.getConnection();
        ArrayList<Work> listWork = new ArrayList<Work>();
        PreparedStatement pps;
        pps = tcud.prepareStatement("select * from Work where tch=? and std=16");
        pps.setInt(1, TE_Home.tch.getId());
        ResultSet result = pps.executeQuery();
        while (result.next()) {
            alWork.add(new Work(result.getInt("id")));
        }

        Vector vec = new Vector();
        vec.add("Name");
        vec.add("Description");

        TableModel model = new DefaultTableModel(vec, alWork.size());
        this.jTable1.setModel(model);

        for (int i = 0; i < alWork.size(); i++) {
            this.jTable1.setValueAt(alWork.get(i).getName(), i, 0);
            this.jTable1.setValueAt(alWork.get(i).getDesc(), i, 1);

        }
        tcud.close();
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jScrollPane1 = new javax.swing.JScrollPane();
        jTable1 = new javax.swing.JTable();
        jButton1 = new javax.swing.JButton();
        jButton2 = new javax.swing.JButton();
        jLabel1 = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        jTable1.setAutoCreateRowSorter(true);
        jTable1.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        jTable1.setPreferredSize(new java.awt.Dimension(2000, 2000));
        jScrollPane1.setViewportView(jTable1);

        getContentPane().add(jScrollPane1, new org.netbeans.lib.awtextra.AbsoluteConstraints(21, 86, 559, 320));

        jButton1.setBackground(new Color(0,0,0,0));
        jButton1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/classroom/gui/deco/back.png"))); // NOI18N
        jButton1.setBorderPainted(false);
        jButton1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton1ActionPerformed(evt);
            }
        });
        getContentPane().add(jButton1, new org.netbeans.lib.awtextra.AbsoluteConstraints(480, 401, 110, 40));

        jButton2.setBackground(new Color(0,0,0,0));
        jButton2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/classroom/gui/deco/rem_mid.png"))); // NOI18N
        jButton2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton2ActionPerformed(evt);
            }
        });
        getContentPane().add(jButton2, new org.netbeans.lib.awtextra.AbsoluteConstraints(344, 404, 130, 40));

        jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/classroom/gui/deco/TE_REM.png"))); // NOI18N
        getContentPane().add(jLabel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, -1, -1));

        setSize(new java.awt.Dimension(600, 469));
        setLocationRelativeTo(null);
    }// </editor-fold>//GEN-END:initComponents

    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
        try {
            // TODO add your handling code here:
            TE_Home th = new TE_Home(TE_Home.tch);
            th.setVisible(true);
            this.setVisible(false);
        } catch (SQLException ex) {
            Logger.getLogger(TE_Remove.class.getName()).log(Level.SEVERE, null, ex);
        }
    }//GEN-LAST:event_jButton1ActionPerformed

    private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed
        // TODO add your handling code here:
        Work w = alWork.get(this.jTable1.getSelectedRow());
        try {
            String message = " Do you want to remove this work ? ";
            String title = "CONFIRM REMOVE WORK";
            int chk = JOptionPane.showConfirmDialog(null, message, title, JOptionPane.WARNING_MESSAGE, JOptionPane.YES_NO_OPTION);
            if (chk == JOptionPane.YES_OPTION) {
                TE_Home.tch.removeWork(w.getName());
                JOptionPane.showMessageDialog(null, "Remove work completed.");
                TE_Home sh = new TE_Home(TE_Home.tch);
                sh.setVisible(true);
                this.setVisible(false);
            }

        } catch (SQLException ex) {
            Logger.getLogger(TE_Remove.class.getName()).log(Level.SEVERE, null, ex);
        }
    }//GEN-LAST:event_jButton2ActionPerformed

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(TE_Remove.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(TE_Remove.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(TE_Remove.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(TE_Remove.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                try {
                    new TE_Remove().setVisible(true);
                } catch (SQLException ex) {
                    Logger.getLogger(TE_Remove.class.getName()).log(Level.SEVERE, null, ex);
                }
            }
        });
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton jButton1;
    private javax.swing.JButton jButton2;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JTable jTable1;
    // End of variables declaration//GEN-END:variables
}


text:
ACCEPTED

#### According to
The Catalogue of Life, 3rd January 2011

#### Published in
Bull. Soc. Dendrol. France 8:152. 1908

#### Original name
null

### Remarks
null