Uitat parola? ...

Vă vom trimite un e-mail ca să vă conectați la contul dvs.
tyles: styles, classes: ["".concat(config.familyPrefix, "-layers-text")].concat(_toConsumableArray(classes)) } }); }); }; var counter = function counter(content) { var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; var _params$title3 = params.title, title = _params$title3 === void 0 ? null : _params$title3, _params$classes3 = params.classes, classes = _params$classes3 === void 0 ? [] : _params$classes3, _params$attributes3 = params.attributes, attributes = _params$attributes3 === void 0 ? {} : _params$attributes3, _params$styles3 = params.styles, styles = _params$styles3 === void 0 ? {} : _params$styles3; return apiObject({ type: 'counter', content: content }, function () { ensureCss(); return makeLayersCounterAbstract({ content: content.toString(), title: title, extra: { attributes: attributes, styles: styles, classes: ["".concat(config.familyPrefix, "-layers-counter")].concat(_toConsumableArray(classes)) } }); }); }; var layer = function layer(assembler) { return apiObject({ type: 'layer' }, function () { ensureCss(); var children = []; assembler(function (args) { Array.isArray(args) ? args.map(function (a) { children = children.concat(a.abstract); }) : children = children.concat(args.abstract); }); return [{ tag: 'span', attributes: { class: "".concat(config.familyPrefix, "-layers") }, children: children }]; }); }; var api = { noAuto: noAuto, config: config, dom: dom, library: library, parse: parse, findIconDefinition: findIconDefinition, icon: icon, text: text, counter: counter, layer: layer, toHtml: toHtml }; var autoReplace = function autoReplace() { var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; var _params$autoReplaceSv = params.autoReplaceSvgRoot, autoReplaceSvgRoot = _params$autoReplaceSv === void 0 ? DOCUMENT : _params$autoReplaceSv; if ((Object.keys(namespace.styles).length > 0 || config.autoFetchSvg) && IS_DOM && config.autoReplaceSvg) api.dom.i2svg({ node: autoReplaceSvgRoot }); }; function bootstrap() { if (IS_BROWSER) { if (!WINDOW.FontAwesome) { WINDOW.FontAwesome = api; } domready(function () { autoReplace(); observe({ treeCallback: onTree, nodeCallback: onNode, pseudoElementsCallback: searchPseudoElements }); }); } namespace.hooks = _objectSpread({}, namespace.hooks, { addPack: function addPack(prefix, icons) { namespace.styles[prefix] = _objectSpread({}, namespace.styles[prefix] || {}, icons); build(); autoReplace(); }, addShims: function addShims(shims) { var _namespace$shims; (_namespace$shims = namespace.shims).push.apply(_namespace$shims, _toConsumableArray(shims)); build(); autoReplace(); } }); } bunker(bootstrap); }());