webicon
Version:
Icon library
2 lines • 20.4 kB
JavaScript
!function(t,n){"use strict";function e(t){function n(t,r){var o,c;if(!r){if(!e[t])throw o=new Error('Cannot found service provider "'+t+'"'),console.error(o),o;if(!i.hasOwnProperty(t))try{i[t]=new e[t](n)}catch(o){throw console.error(o),o}return i[t]}if(i.hasOwnProperty(t))throw o=new Error('Cannot override instantiated service "'+t+'"'),console.error(o),o;return"function"!=typeof r?void console.error('Provider "'+t+'" is not a function'):void(e.hasOwnProperty(t)?(c=e[t],e[t]=function(t){return new r(t,new c(t))}):e[t]=r)}var e={},i={};return Object.keys(r.providers).forEach(function(t){e[t]=r.providers[t]}),n.has=function(t){return e.hasOwnProperty(t)},n("ready",function(t){return function(n){"function"==typeof n?n(t):n&&console.error("Ready listener not a function")}}),t&&("function"==typeof t?t(n):console.error("Injector initializer not a function")),(o.listeners||[]).forEach(function(t){t(n)}),n}function r(t,n){var e,o;return o=r.providers=r.providers||{},"function"!=typeof n?void console.error('Provider "'+t+'" is not a function'):void(o.hasOwnProperty(t)?(e=o[t],o[t]=function(t){return new n(t,new e(t))}):o[t]=n)}function o(t){var n;n=o.listeners=o.listeners||[],"function"==typeof t?n.push(t):t&&console.error("Ready listener not a function")}r("ScopeCollection",function(t){function n(){this.collection=[]}return n.prototype={add:function(n){var e=t("SvgCumulativeIconSetScope"),r=t("FontIconSetScope");n instanceof e||n instanceof r?this.collection.push(n):this.collection.unshift(n)},preload:function(n){var e=t("Promise"),r=[];return this.collection.forEach(function(t){var e;e=t.preload(n),e&&"object"==typeof e&&"function"==typeof e.then&&r.push(e)}),r.length>0?e.all(r.map(function(t){return t.then(null,function(){return null})})).then(function(){return null}):null},getIconScope:function(n,e){var r,o=t("Promise"),i=(t("SvgCumulativeIconSetScope"),this.collection);return r=o.all(i.map(function(t){return o.resolve(t.hasIcon(n,e)).then(function(n){return n?t:!1},function(){return!1})})),r.then(function(t){var n;for(n=0;n<t.length;n++)if(t[n])return t[n];return o.reject()})},getIcon:function(t,n){return this.getIconScope(t,n).then(function(e){return e.getIcon(t,n)})}},n}),r("SvgIconSet",function(t){function n(n,e){var r,o,i,c,s,u,a,l=t("log"),f=t("parseSvgOptions"),h=t("SvgIcon"),p=t("nodeWrapper");u="function"==typeof e.iconIdResolver?e.iconIdResolver:function(t){return t},a=f(e),this.icons={},s=a.viewBox||n[0].getAttribute("viewBox"),c=a.iconSize;try{for(o=n[0].querySelectorAll("[id]"),r=0;r<o.length;r++)i=o[r],this.icons[u(i.getAttribute("id"))]=new h(p(i.cloneNode(!0)),{iconSize:c,viewBox:s})}catch(d){l.warn(d)}this.iconSize=c,this.viewBox=s,this.iconIdResolver=u}return n.loadByUrl=function(e,r){var o=t("loadSvgByUrl");return o(e).then(function(t){return new n(t,r)})},n.prototype={notExists:function(t){var n=this.icons;return t.filter(function(t){return!n.hasOwnProperty(t)})},exists:function(t){return this.icons.hasOwnProperty(t)},getIconById:function(t){return this.icons.hasOwnProperty(t)?this.icons[t]:null},merge:function(t){var n=this,e=t.icons;return Object.keys(e).forEach(function(t){n.icons[t]=e[t]}),this},mergeByUrl:function(t,e){var r=this;return n.loadByUrl(t,e).then(function(t){return r.merge(t)})}},n}),r("iconManager",function(t){function n(){this._collections={},this._defaultCollectionId=null,this._defaultSvgIconSize=i}function e(n,e){var r=t("log"),o=t("Promise"),i='icon "'+n+'" not found';return e&&(i+=' in "'+e+'" icon set'),r.warn(i),o.reject(i)}function r(t,n){return function(){return e(t,n)}}var o=/[-a-zA-Z0-9@:%_\+.~#?&//=]{2,256}\.[a-z]{2,4}\b(\/[-a-zA-Z0-9@:%_\+.~#?&//=]*)?/i,i=24,c="__SINGLE_ICONS_COLLECTION";return n.prototype={addIcon:function(t,n,e){function r(t){return t.split("?")[0].split(/[/\\]/).slice(-1)[0].split(".").slice(-1)[0].toLowerCase()}var o,i=n;return"object"==typeof n&&(i=n.url),o=r("function"==typeof i?i():i+""),"svg"!=o&&o?this.addImageIcon(t,n):this.addSvgIcon(t,n,e)},addSvgIcon:function(n,e,r){var o=t("SvgIconScope");return this._getSingleIconsCollection().add(new o(n,e,r)),this},addImageIcon:function(n,e,r){var o=t("ImageIconScope");return this._getSingleIconsCollection().add(new o(n,e,r)),this},addSvgIconSet:function(n,e,r){var o,i=t("SvgCumulativeIconSetScope"),c=t("SvgIconSetScope");return r=r||{},o=r.cumulative?i:c,this._getCollection(n).add(new o(n,e,r)),this},addFontIconSet:function(n,e,r){var o=t("FontIconSetScope");return this._getCollection(n).add(new o(n,e,r)),this},addSpriteIconSet:function(n,e,r){var o=t("SpriteIconSetScope");return this._getCollection(n).add(new o(n,e,r)),this},addIconSetAlias:function(t,n){return this._collections.hasOwnProperty(n)||(this._collections[n]=this._getCollection(t)),this},setDefaultIconSet:function(t){return this._defaultCollectionId=t,this},setDefaultSvgIconSize:function(t){return this._defaultSvgIconSize=t,this},getDefaultSvgIconSize:function(){return this._defaultSvgIconSize},preload:function(n){var e,r=this,o=this._collections,i={},s=!1,u=!1,a=[],l={},f=t("Promise");return-1!=["string","number"].indexOf(typeof n)&&(n=[n]),n&&"object"==typeof n?((Array.isArray(n)?n:Object.keys(n)).forEach(function(t){i[String(t).toLowerCase()]=!0}),s=!0):n&&(u=!0),Object.keys(o).forEach(function(t){var n;n=o[t].preload(u||s&&i.hasOwnProperty(String(t).toLowerCase())),n&&"object"==typeof n&&"function"==typeof n.then&&(a.push(n),t!=c&&(l[t]=n.then(function(){return r._getCollection(t)})))}),e=f.all(a),e.iconSets=l,e},getIcon:function(t,n){var i,c,s,u;if(t=t||"",n=n||[],i=t.split(/\s+/).filter(function(t){return t}),t=i[0],Array.prototype.push.apply(n,i.slice(1)),o.test(t))return this.hasSingleIcon(t)||this.addIcon(t,t),this._getSingleIconsCollection().getIcon(t,n).then(null,r(t));if(s=t,u=null,c=t.indexOf(":"),-1!=c&&(u=t.slice(0,c),s=t.slice(c+1)),u){if(this.hasIconSet(u))return this._getCollection(u).getIcon(s,n).then(null,r(s,u))}else{if(this.hasSingleIcon(s,n))return this._getSingleIconsCollection().getIcon(s,n).then(null,r(s));if(this.hasDefaultIconSet())return this._getCollection(this._defaultCollectionId).getIcon(s,n).then(null,r(s,this._defaultCollectionId))}return e(t)},hasSingleIcon:function(t,n){return this._getSingleIconsCollection().collection.filter(function(e){return e.hasIcon(t,n)}).length>0},hasIconSet:function(t){return this._collections.hasOwnProperty(t)},hasDefaultIconSet:function(){return this._defaultCollectionId&&this.hasIconSet(this._defaultCollectionId)},_getCollection:function(n){var e=t("ScopeCollection");return this._collections.hasOwnProperty(n)||(this._collections[n]=new e),this._collections[n]},_getSingleIconsCollection:function(){return this._getCollection(c)}},new n}),r("inherit",function(t){return function(t,n,e,r){return t.prototype=Object.create(n.prototype,r||{}),Object.keys(e||{}).forEach(function(n){t.prototype[n]=e[n]}),t}}),r("initIconElement",function(n){function e(n,e){function r(e,r){function o(n,e){function r(n){var e=n.currentStyle?n.currentStyle:t.getComputedStyle(n);return"none"===e.display}var o,i,c,s=n.hasChildNodes();if(s)for(o=n.childNodes,i=0;i<o.length;i++)if(c=o[i],1===c.nodeType&&c.hasAttribute(e)&&!r(c))return!0;return!1}var i=n[0];i.hasAttribute(e)||o(i,e)||(r="string"==typeof r?r.trim():"",r.length&&n.attr(e,r))}function o(){var t=n.parent();return t.attr("aria-label")||t.text().trim()?!0:"BODY"!=t.prop("tagName")&&(t.parent().attr("aria-label")||t.parent().text().trim())?!0:!1}""==e||o()?r("aria-hidden","true"):(r("aria-label",e),r("role","img"))}return function(t,n,r){var o,i="webicon";n||"string"==typeof n||(r=String(r||"").split(":").slice(-1)[0].trim(),/[/\\.]/.test(r)?(o=r.split(/[/\\]/).slice(-1)[0].split("."),o.length>1&&(o=o.slice(0,-1)),n=o.join(".")):n=r.split(/\s/)[0]),e(t,n||""),t.hasClass(i)||t.addClass(i)}}),r("loadSvgByUrl",function(t){return function(n){var e=t("httpGet"),r=t("log"),o=t("Promise"),i=t("nodeWrapper"),c=n,s=null;return"object"==typeof n&&(c=n.url,s=n.params),e(c,s).then(function(t){var n=i("<div>").append(t.data),e=n.find("svg");return e.length>0?e:n.children().first()},function(t){var n="string"==typeof t?t:String(t.message||t.data||t.responseText||t.statusText);return r.warn(n),o.reject(n)})}}),r("parseSvgOptions",function(t){return function(t){if(t)switch(typeof t){case"number":t={iconSize:t};break;case"string":t={viewBox:t}}else t={};return{iconSize:t.iconSize,viewBox:t.viewBox}}}),r("publicApi",function(t){var n,e=t("iconManager"),r=t("ready");return n={icon:function(t,n,r){return e.addIcon(t,n,r),this},svgSet:function(t,n,r){return e.addSvgIconSet(t,n,r),this},font:function(t,n,r){return e.addFontIconSet(t,n,r),this},sprite:function(t,n,r){return e.addSpriteIconSet(t,n,r),this},sourceAlias:function(t,n){return e.addIconSetAlias(t,n),this},defaultSvgSetUrl:function(t,n){return e.addSvgIconSet(t,t,n).setDefaultIconSet(t),this},defaultSource:function(t){return e.setDefaultIconSet(t),this},defaultSvgIconSize:function(t){return e.setDefaultSvgIconSize(t),this},preload:function(t,n){var r;return"function"==typeof t&&(n=t,t=null),r=e.preload(t),n&&n(r),this},extension:r},n.iconSet=n.svgSet,n.defaultIconSetUrl=n.defaultSvgSetUrl,n.defaultSvgIconSetUrl=n.defaultSvgSetUrl,n.alias=n.sourceAlias,n["default"]=n.defaultSource,n}),o(function(n){var e,r,o,i=n("nodeWrapper");o='<style type="text/css">@charset "UTF-8";webicon,[webicon],[data-webicon],.webicon,.webicon{display:inline-block;}.svg-webicon svg{fill:currentColor;}</style>',e=i(t.document).find("head"),r=e.find("style")[0],r&&r.outerHTML==o||e.prepend(o)}),r("AbstractCssClassIcon",function(t){function n(t,n){e.call(this,t),this.className=n}var e=t("AbstractIcon"),r=t("inherit");return r(n,e,{render:function(t){function n(){return t.attr("class").split(/\s+/)}function r(t){var e=n();return t=t||[],e.filter(function(n){return-1==t.indexOf(n)})}var o,i,c;return c=e.prototype.render.call(this,t),o=n(),t.addClass(this.className),i=r(o).join(" "),function(){t.removeClass(i),c&&c()}}})}),r("AbstractElementIcon",function(t){function n(t,n){e.call(this,t),this.element=n}var e=t("AbstractIcon"),r=t("inherit");return r(n,e,{cloneNode:function(){return this.element[0].cloneNode(!0)},render:function(t){var n;return n=e.prototype.render.call(this,t),t.append(this.cloneNode()),function(){for(;t.firstChild;)t.removeChild(t.firstChild);n&&n()}}})}),r("AbstractIcon",function(t){function n(t){this.iconClassName=t}return n.prototype={render:function(t){var n=this.iconClassName;return t.addClass(n),function(){t.removeClass(n)}}},n}),r("FontIcon",function(t){function n(t){var n="font-webicon";e.call(this,n,t)}var e=t("AbstractCssClassIcon"),r=t("inherit");return r(n,e)}),r("ImageIcon",function(t){function n(t){var n="image-webicon";t.attr({width:"100%",height:"100%"}),t.css({"pointer-events":"none",display:"inline-block"}),e.call(this,n,t)}var e=t("AbstractElementIcon"),r=t("inherit");return n.loadByUrl=function(e){var r,o,i=t("buildUrlParams"),c=t("nodeWrapper"),s=t("Promise"),u=e;return"object"==typeof e&&(u=e.url,r=i(e.params),r&&(u=[u,r].join("?"))),new s(function(t,e){o=c("<img>"),o.bind("load",function(){t(new n(o))}),o.bind("error",e),o.attr("src",u)})},r(n,e)}),r("SpriteIcon",function(t){function n(t){var n="sprite-webicon";e.call(this,n,t)}var e=t("AbstractCssClassIcon"),r=t("inherit");return r(n,e)}),r("SvgIcon",function(t){function n(n,r){var o,i,c,s,u,a,l,f,h,p,d="svg-webicon",v=t("nodeWrapper"),g=t("iconManager"),I=t("parseSvgOptions");if(r=I(r),["id","x","y"].forEach(function(t){n.removeAttr(t)}),h=n[0],"svg"!=h.tagName)if("symbol"==h.tagName){for(o=v('<svg xmlns="http://www.w3.org/2000/svg">'),i=o[0],c=h.attributes,a=0;a<c.length;a++)i.setAttribute(c[a].name,c[a].value);n=o.append(v(h).children())}else n=v('<svg xmlns="http://www.w3.org/2000/svg">').append(n);h=n[0],u={xmlns:"http://www.w3.org/2000/svg",version:"1.0"},Object.keys(u).forEach(function(t){h.getAttribute(t)||h.setAttribute(t,u[t])}),p=r.iconSize||g.getDefaultSvgIconSize(),c={fit:"",height:"100%",width:"100%",preserveAspectRatio:"xMidYMid meet",viewBox:h.getAttribute("viewBox")||r.viewBox},c.viewBox||(l=h.getAttribute("width"),f=h.getAttribute("height"),null!==l&&null!==f&&(c.viewBox="0 0 "+parseFloat(l)+" "+parseFloat(f))),c.viewBox=c.viewBox||"0 0 "+p+" "+p,Object.keys(c).forEach(function(t){h.setAttribute(t,c[t])}),s={"pointer-events":"none",display:"inline-block"},Object.keys(s).forEach(function(t){h.style[t]=s[t]}),this.iconSize=p,e.call(this,d,n)}var e=t("AbstractElementIcon"),r=t("inherit");return n.loadByUrl=function(e,r){var o=t("loadSvgByUrl");return o(e).then(function(t){return new n(t,r)})},r(n,e)}),r("AbstractCssClassIconSetScope",function(t){function n(t,n,o){r.call(this,t,o),this._classResolver=e(n)}function e(t){var n;return"function"==typeof t?t:(t=(t||"")+"",n=t.split(/[?%]/),function(t){return n.join(t)})}var r=t("AbstractScope"),o=t("inherit");return o(n,r,{_resolveCssClass:function(t,n){return this._classResolver(t,n)}})}),r("AbstractRemoteResourceScope",function(n){function e(t,n,e){o.call(this,t,e),this._urlResolver=r(n),this._preloadable=this.options.preloadable||"undefined"==typeof this.options.preloadable,this._cache=null,this._resource=null}function r(e){var r,o,i=n("mergeObjects"),c=null;return r&&"object"==typeof r?(r=e.url,c=e.params):r=e,o="function"==typeof r?r:function(){return r},function(){var n,e,r=null;return n=o.apply(null,Array.prototype.slice.call(arguments)),e=n,n&&"object"==typeof n&&(e=n.url,r=n.params),e=String(e||""),"//"===e.slice(0,2)&&(e=t.document.location.protocol+e),{url:e,params:i({},c||{},r||{})}}}var o=n("AbstractScope"),i=n("inherit");return i(e,o,{preload:function(t){return this._preloadable||t?this._getResource():null},_resolveUrl:function(t){return this._urlResolver(t)},_getResource:function(){var t,n=this;return this._cache?this._cache:(t=this._cache=this._loadResource(),t.then(function(t){n._resource=t},function(){n._cache=null}),t)},_loadResource:function(){var t=n("Promise");return t.reject()}})}),r("AbstractRemoteSvgResourceScope",function(t){function n(t,n,r){var i=o(r),c=this;e.call(this,t,n,r),Object.keys(i).forEach(function(t){c.options[t]=i[t]})}var e=t("AbstractRemoteResourceScope"),r=t("inherit"),o=t("parseSvgOptions");return r(n,e)}),r("AbstractScope",function(t){function n(t,n){n=n&&"object"==typeof n?n:{},this.id=t,this.options=n,this._iconIdParser=e(n.iconIdParser),this._iconIdResolver=e(n.iconIdResolver)}function e(t){return"function"==typeof t?t:function(t){return t}}return n.prototype={preload:function(){return null},hasIcon:function(){return!0},_parseIconId:function(t,n){return this._iconIdParser(t,n)},_resolveIconId:function(t){return this._iconIdResolver(t)}},n}),r("FontIconSetScope",function(t){function n(t,n,r){e.call(this,t,n,r)}var e=t("AbstractCssClassIconSetScope"),r=t("inherit");return r(n,e,{getIcon:function(n,e){var r=t("FontIcon");return new r(this._resolveCssClass(this._parseIconId(n,e),e))}})}),r("ImageIconScope",function(t){function n(t,n,r){e.call(this,t,n,r)}var e=t("AbstractRemoteResourceScope"),r=t("inherit");return r(n,e,{_loadResource:function(){var n=t("ImageIcon");return n.loadByUrl(this._resolveUrl())},hasIcon:function(t,n){return this._parseIconId(t,n)==this._resolveIconId(this.id)},getIcon:function(){return this._getResource()}})}),r("SpriteIconSetScope",function(t){function n(t,n,r){e.call(this,t,n,r)}var e=t("AbstractCssClassIconSetScope"),r=t("inherit");return r(n,e,{getIcon:function(n,e){var r=t("SpriteIcon");return new r(this._resolveCssClass(this._parseIconId(n,e),e))}})}),r("SvgCumulativeIconSetScope",function(t){function n(t,n,r){var o=10;e.call(this,t,n,r),this.waitDuration=this.options.waitDuration||o,this.waitPromise=null,this.waitIconIds=[]}var e=t("AbstractRemoteSvgResourceScope"),r=t("inherit");return r(n,e,{_loadResource:function(){var n=t("SvgIconSet");return n.loadByUrl(this._resolveUrl(this.waitIconIds),this.options)},preload:function(){return null},getIcon:function(n,e){var r=t("Promise"),o=t("timeout"),i=this;return n=this._parseIconId(n,e),this._resource&&this._resource.exists(n)?r.resolve(this._resource.getIconById(n)):(this.waitPromise?-1==this.waitIconIds.indexOf(n)&&this.waitIconIds.push(n):(this.waitIconIds=[n],this.waitPromise=o(this.waitDuration).then(function(){return i.waitPromise=null,i._resource?i._resource.mergeByUrl(i._resolveUrl(i._resource.notExists(i.waitIconIds)),i.options):i._getResource()})),this.waitPromise.then(function(t){var e=t.getIconById(n);return e?e:r.reject()}))}})}),r("SvgIconScope",function(t){function n(t,n,r){e.call(this,t,n,r)}var e=t("AbstractRemoteSvgResourceScope"),r=t("inherit");return r(n,e,{_loadResource:function(){var n=t("SvgIcon");return n.loadByUrl(this._resolveUrl(),this.options)},hasIcon:function(t,n){return this._parseIconId(t,n)==this._resolveIconId(this.id)},getIcon:function(){return this._getResource()}})}),r("SvgIconSetScope",function(t){function n(t,n,r){e.call(this,t,n,r)}var e=t("AbstractRemoteSvgResourceScope"),r=t("inherit");return r(n,e,{_loadResource:function(){var n=t("SvgIconSet");return n.loadByUrl(this._resolveUrl(),this.options)},hasIcon:function(t,n){return t=this._parseIconId(t,n),this._getResource().then(function(n){return n.exists(t)})},getIcon:function(n,e){var r=t("Promise");return n=this._parseIconId(n,e),this._getResource().then(function(t){var e=t.getIconById(n);return e?e:r.reject()})}})}),r("IconDirective",function(t){function n(n){return{restrict:"EA",scope:!0,link:function(e,r,o){var i,c=t("initIconElement"),s=o.$normalize(o.$attr.alt||""),u=o.$normalize(o.$attr.icon||o.$attr.webicon||""),a=null;i=s?o[s]:null,c(r,i,o[u]),u&&o.$observe(u,function(t){a&&a(),a=null,t&&n(t).then(function(t){a=t.render(r)})})}}}return n.$inject=["$webicon"],n}),r("IconProvider",function(t){function n(){var n=[];this.preload=function(){return n.push(Array.prototype.slice.call(arguments)),this},this.$get=["$injector",function(e){var r,o=t("iconManager"),i=t("ensureDependenciesRegistered");return i(e),r=function(t){return o.getIcon(t)},r.preload=function(t,n){var r;return("function"==typeof t||Array.isArray(t)&&"function"==typeof t.slice(-1)[0])&&(n=t,t=null),r=o.preload(t),n&&e.invoke(n,null,{$promise:r}),r},r.$checkLazyPreload=function(){var t=this;n.length&&n.forEach(function(n){t.preload.apply(t,n)})},r}]}return n.prototype=t("publicApi"),n}),r("buildUrlParams",function(t){return function(t){var n=[];return t=t||{},Object.keys(t).filter(function(){return"undefined"!=typeof t[key]&&null!==t[key]}).map(function(n){return Array.isArray(t[n])?t[n]:[t[n]]}).forEach(function(e){t[e].forEach(function(t){n.push(encodeURIComponent(e)+"="+encodeURIComponent(t+""))})}),n.join("&")}}),r("ensureDependenciesRegistered",function(t){var n=!1;return function(e){n||(t("$injector",function(){return e}),t("log",function(){return e.get("$log")}),t("httpGet",function(){var t=e.get("$http"),n=e.get("$templateCache");return function(e,r){var o={cache:n};return r&&"object"==typeof r&&Object.keys(r).length>0&&(o.params=r),t.get(e,o)}}),t("Promise",function(){function t(t){return function(){var n=Array.prototype.slice.call(arguments);o.$$phase?t.apply(this,n):o.$apply(function(){t.apply(this,n)})}}function n(e){var o;return"function"!=typeof e?n.resolve(e):(o=r.defer(),e(t(o.resolve),t(o.reject)),o.promise)}var r=e.get("$q"),o=e.get("$rootScope");return n.reject=r.reject,n.resolve=r.when,n.all=r.all,n}),t("timeout",function(){var t=e.get("$timeout");return function(n,e){return"function"!=typeof n&&(e=n,n=function(){}),t(n,e)}}),n=!0)}}),r("mergeObjects",function(){return function(t){function n(t,e){return!t||!e||"object"!=typeof t||"object"!=typeof e||Array.isArray(t)||Array.isArray(e)?e:(Object.keys(e).forEach(function(r){t[r]=t.hasOwnProperty(r)?n(t[r],e[r]):e[r]}),t)}var e=Array.prototype.slice.call(arguments);if(0==e.length)return{};if(e.length<2){if(!Array.isArray(t))return t;e=t,t=e[0]}return e.slice(1).forEach(function(e){t=n(t,e)}),t}}),r("nodeWrapper",function(t){var n=t("angular");return n.element}),n.module("webicon",[]).config(["$provide","$compileProvider",function(t,r){var o=e(function(t){t("angular",function(){return n})});t.provider("$webicon",o("IconProvider")),r.directive("webicon",o("IconDirective"))}]).run(["$webicon",function(t){t.$checkLazyPreload()}])}(window,window.angular);
//# sourceMappingURL=angular-webicon-core.min.js.map