(function (global, factory) { if (typeof define === "function" && define.amd) { define("/App/Projects", ["exports", "Site"], factory); } else if (typeof exports !== "undefined") { factory(exports, require("Site")); } else { var mod = { exports: {} }; factory(mod.exports, global.Site); global.AppProjects = mod.exports; } })(this, function (_exports, _Site2) { "use strict"; Object.defineProperty(_exports, "__esModule", { value: true }); _exports.run = run; _exports.getInstance = getInstance; _exports.default = _exports.AppProjects = void 0; _Site2 = babelHelpers.interopRequireDefault(_Site2); var AppProjects = /*#__PURE__*/ function (_Site) { babelHelpers.inherits(AppProjects, _Site); function AppProjects() { babelHelpers.classCallCheck(this, AppProjects); return babelHelpers.possibleConstructorReturn(this, babelHelpers.getPrototypeOf(AppProjects).apply(this, arguments)); } babelHelpers.createClass(AppProjects, [{ key: "initialize", value: function initialize() { babelHelpers.get(babelHelpers.getPrototypeOf(AppProjects.prototype), "initialize", this).call(this); this.handleSelective(); } }, { key: "process", value: function process() { babelHelpers.get(babelHelpers.getPrototypeOf(AppProjects.prototype), "process", this).call(this); this.handleProject(); } }, { key: "handleSelective", value: function handleSelective() { var members = [{ id: 'uid_1', name: 'Herman Beck', img: '../../../../global/portraits/1.jpg' }, { id: 'uid_2', name: 'Mary Adams', img: '../../../../global/portraits/2.jpg' }, { id: 'uid_3', name: 'Caleb Richards', img: '../../../../global/portraits/3.jpg' }, { id: 'uid_4', name: 'June Lane', img: '../../../../global/portraits/4.jpg' }]; var selected = [{ id: 'uid_1', name: 'Herman Beck', img: '../../../../global/portraits/1.jpg' }, { id: 'uid_2', name: 'Caleb Richards', img: '../../../../global/portraits/2.jpg' }]; $('.plugin-selective').selective({ namespace: 'addMember', local: members, selected: selected, buildFromHtml: false, tpl: { optionValue: function optionValue(data) { return data.id; }, frame: function frame() { return "