New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@iconify/iconify

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@iconify/iconify - npm Package Compare versions

Comparing version 1.0.0-beta7 to 1.0.0-rc1

7

build/dist.js

@@ -146,8 +146,15 @@ /**

function save(file, content) {
// Replace 4 spaces with 1 tab
content = content.replace(/[ ]{4}/g, '\t');
// Save original size for log
let size = content.length;
// Save file
fs.writeFileSync(resolvedDistDir + '/' + file + '.js', content, 'utf8');
// Save minified file
content = uglify.minify(content);
fs.writeFileSync(resolvedDistDir + '/' + file + '.min.js', content.code);
console.log('Saved ' + distDir + '/' + file + '.js (' + size + ' bytes full, ' + content.code.length + ' bytes minified)');

@@ -154,0 +161,0 @@ }

2

dist/iconify.basic.min.js

@@ -1,1 +0,1 @@

"use strict";void 0===self.Iconify&&(self.Iconify={isReady:!1},self.SimpleSVG=self.Iconify,function(n,e){var t,i,r,s,a,o,c,l,d,u={config:{},version:"1.0.0-beta7"};t=u,function(){function e(e,t){var i;return t=t||{bubbles:!1,cancelable:!1,detail:void 0},(i=document.createEvent("CustomEvent")).initCustomEvent(e,t.bubbles,t.cancelable,t.detail),i}"function"!=typeof window.CustomEvent&&(e.prototype=window.Event.prototype,window.CustomEvent=e)}(),t.event=function(e,t){document.dispatchEvent(new CustomEvent(e,t))},function(t,i,n){var o=null;function e(){document.removeEventListener("DOMContentLoaded",e),window.removeEventListener("load",e),i.DOMReadyCallback()}i.DOMReadyCallback=function(){i.domready=!0,i.nextInitItem()},i.initTimeout=function(e){function t(){if(null!==o){if(!1!==o.callback())return o.stop(),void i.nextInitItem();o.counter++,10!==o.counter&&25!==o.counter||(window.clearInterval(o.id),o.id=window.setInterval(t,10===o.counter?250:1e3))}}null!==o&&o.stop(),o={id:window.setInterval(t,100),counter:0,callback:e,stop:function(){window.clearInterval(o.id),o=null},nextTick:t}},i.domready=!1,i.ready=!1,i.initQueue=[],i.readyQueue=[],i.nextInitItem=function(){var e;if(!i.ready){if(i.initQueue.length)e=i.initQueue.shift();else{if(!i.domready)return void i.initTimeout(function(){return!i.domready&&document.body&&i.scanDOM(),i.domready});if(!i.readyQueue.length)return i.ready=t.isReady=!0,i.event(n._readyEvent),void i.scanDOM();e=i.readyQueue.shift()}!1!==e()&&i.nextInitItem()}},i.addStylesheet=function(e){var t;return document.head&&document.body?((t=document.createElement("style")).type="text/css",t.innerHTML="span.iconify, i.iconify, iconify-icon { display: inline-block; width: 1em; }",null!==document.head.firstChild?document.head.insertBefore(t,document.head.firstChild):document.head.appendChild(t),!0):!!i.domready||(e||i.initTimeout(i.addStylesheet.bind(null,!0)),!1)},i.initQueue.push(i.addStylesheet.bind(null,!1)),t.ready=function(e){t.isReady?window.setTimeout(e):document.addEventListener(n._readyEvent,e)},window.setTimeout(function(){"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?i.domready=!0:(document.addEventListener("DOMContentLoaded",e),window.addEventListener("load",e)),i.nextInitItem()})}(n,u,u.config),(i=u.config).SVGAttributes={},i._imageClass="iconify",i._loadingClass="svg-loading",i._iconAttribute="data-icon",i._rotateAttribute="data-rotate",i._flipAttribute="data-flip",i._inlineModeAttribute="data-inline",i._alignAttribute="data-align",i._appendAttribute="data-icon-append",i._appendedClass="svg-appended",i._readyEvent="IconifyReady",i._webComponentsPolyfill="//cdnjs.cloudflare.com/ajax/libs/webcomponentsjs/0.7.24/webcomponents-lite.min.js",i._classListPolyfill="//cdnjs.cloudflare.com/ajax/libs/classlist/1.1.20150312/classList.min.js",function(e,i,t,o){function n(t,i,e){var n=t;if("_"!==t.slice(0,1)){if(void 0===o[t]){if(!e||void 0===o["_"+t])return;n="_"+t}switch(n){case"API":case"SVGAttributes":Object.keys(i).forEach(function(e){null===i[t]?delete o[n][e]:o[n][e]=i[e]});break;default:o[n]=i}}}e.setConfig=function(e,t){n(e,t,!1)},e.setCustomAPI=function(e,t){switch(typeof e){case"string":[e];break;case"object":if(e instanceof Array){e;break}default:return}e.forEach(function(e){null===t?delete o.API[e]:o.API[e]=t})},e.getConfig=function(e){return void 0===o[e]?void 0===o["_"+e]?null:o["_"+e]:o[e]},["SimpleSVG","Iconify"].forEach(function(e){var t;void 0!==i[e+"Config"]&&"object"==typeof i[e+"Config"]&&(t=i[e+"Config"],Object.keys(t).forEach(function(e){n(e,t,!0)}))})}(n,e,0,u.config),s=(r=u).config,a=e,r.initQueue.push(function(){var e={observer:!1,classList:!1},t={observer:!1,classList:!1};function i(e){var t;return!e.length||(document.head?((t=document.createElement("script")).setAttribute("src",e),t.setAttribute("type","text/javascript"),document.head.appendChild(t),!0):r.domready)}function n(){return"classList"in document.createElement("div")||(t.classList||(t.classList=i(s._classListPolyfill)),!1)}function o(){return a.MutationObserver&&a.WeakMap||t.observer||(t.observer=i(s._webComponentsPolyfill)),!0}return e.classList=!n(),e.observer=!o(),!e.classList&&!e.observer||(r.initTimeout(function(){return!(e.observer&&!o()||e.classList&&!n())}),!1)}),u.getPrefix=function(e,t){var i;return"string"==typeof t&&""!==t?{prefix:t,icon:e}:2===(i=e.split(":")).length?{prefix:i[0],icon:i[1]}:1<(i=e.split("-")).length?{prefix:t=i.shift(),icon:i.join("-")}:{prefix:"",icon:e}},function(){var a=u.getPrefix,t={left:0,top:0,width:16,height:16,rotate:0,vFlip:!1,hFlip:!1},e=["left","top","width","height","body","rotate","vFlip","hFlip","inlineTop","inlineHeight","verticalAlign"];function c(e,t){return function(e,t){switch(e){case"rotate":return t=parseInt(t),isNaN(t)?null:t;case"width":case"height":case"inlineHeight":case"inlineTop":case"verticalAlign":return t=parseFloat(t),isNaN(t)?null:t;case"vFlip":case"hFlip":return!!t;case"body":case"parent":return"string"==typeof t?t:null}return t}("rotate",e+t)}function l(e,t){return!!e!=!!t}function d(e){var i={};return(void 0===e._defaults?[e,t]:[e,e._defaults,t]).forEach(function(t){Object.keys(t).forEach(function(e){"_"!==e.slice(0,1)&&void 0===i[e]&&(i[e]=t[e])})}),void 0===i.inlineTop&&(i.inlineTop=i.top),void 0===i.inlineHeight&&(i.inlineHeight=i.height),void 0===i.verticalAlign&&(i.height%7==0&&i.height%8!=0?i.verticalAlign=-.143:i.verticalAlign=-.125),i}function i(){return this._icons={},this._aliases={},this._resolved={},this._add=function(e,t,i){var n=e?"_aliases":"_icons";void 0===this._resolved[t.prefix]?(this._resolved[t.prefix]={},this._icons[t.prefix]={},this._aliases[t.prefix]={}):void 0!==this._resolved[t.prefix]&&(delete this._icons[t.prefix][t.icon],delete this._aliases[t.prefix][t.icon]),this._resolved[t.prefix][t.icon]=!1,this[n][t.prefix][t.icon]=i},this._resolveIcon=function(e){var t,i,n,o,r,s;if(void 0===this._resolved[e.prefix]||void 0===this._resolved[e.prefix][e.icon])return null;if(!1!==this._resolved[e.prefix][e.icon])return this._resolved[e.prefix][e.icon];if(void 0!==this._icons[e.prefix][e.icon])return this._resolved[e.prefix][e.icon]=d(this._icons[e.prefix][e.icon]);for(i=0,t=this._aliases[e.prefix][e.icon],n={},Object.keys(t).forEach(function(e){"parent"!==e&&(n[e]=t[e])}),o=a(t.parent,t._prefix);;){if(5<++i||void 0===this._resolved[o.prefix]||void 0===this._resolved[o.prefix][o.icon])return this._resolved[e.prefix][e.icon]=null;if(r=void 0===this._icons[o.prefix][o.icon],s=this[r?"_aliases":"_icons"][o.prefix][o.icon],Object.keys(s).forEach(function(e){if(void 0!==n[e])switch(e){case"rotate":n[e]=c(n[e],s[e]);break;case"hFlip":case"vFlip":n[e]=l(n[e],s[e])}else"parent"!==e&&(n[e]=s[e])}),!r)break;o=a(s.parent,s._prefix)}return this._resolved[e.prefix][e.icon]=d(n)},this.addCollection=function(n){var o=this,r={},s=n.prefix;e.forEach(function(e){void 0!==n[e]?r[e]=n[e]:void 0!==t[e]&&(r[e]=t[e])}),void 0!==n.icons&&Object.keys(n.icons).forEach(function(e){var t=a(e,s),i=n.icons[e];void 0!==i.body&&(i._defaults=r,o._add(!1,t,i))}),void 0!==n.aliases&&Object.keys(n.aliases).forEach(function(e){var t=a(e,s),i=n.aliases[e];void 0!==i.parent&&(i._defaults=r,i._prefix=s,o._add(!0,t,i))})},this.addIcon=function(e,t,i){var n=void 0!==t.parent,o=a(e,i);n&&"string"==typeof i&&(t._prefix=i),this._add(n,o,t)},this.exists=function(e,t){var i=a(e,t);return void 0!==this._resolved[i.prefix]&&void 0!==this._resolved[i.prefix][i.icon]},this.getIcon=function(e,t){var i=a(e,t);return this._resolveIcon(i)},this.copyIcon=function(e,t){var i,n=this.getIcon(e,t);return null===n?null:(i={},Object.keys(n).forEach(function(e){i[e]=n[e]}),i)},this.list=function(e){var i,n;return void 0!==e?void 0===this._resolved[e]?[]:Object.keys(this._resolved[e]):(i=[],n=this._resolved,Object.keys(n).forEach(function(t){i=i.concat(Object.keys(n[t]).map(function(e){return""===t&&-1===e.indexOf("-")?e:t+":"+e}))}),i)},this}i.mergeFlip=l,i.mergeRotation=c,i.blankIcon=function(){return d({body:"",width:16,height:16})},u.Storage=i}(),function(t,e,i){var n=!1,o=new e.Storage;function r(){n&&(n=!1,e.scanDOM())}t.addCollection=function(e){o.addCollection(e),n||(n=!0,window.setTimeout(r,0))},t.addIcon=function(e,t){o.addIcon(e,t),n||(n=!0,window.setTimeout(r,0))},t.iconExists=o.exists.bind(o),t.getIcon=o.copyIcon.bind(o),t.listIcons=o.list.bind(o),["SimpleSVG","Iconify"].forEach(function(e){void 0!==i[e+"Preload"]&&i[e+"Preload"]instanceof Array&&i[e+"Preload"].forEach(function(e){"object"==typeof e&&void 0!==e.icons&&t.addCollection(e)})})}(n,u,e),function(){var e=u.Storage,w=u.config,c=/(-?[0-9.]*[0-9]+[0-9.]*)/g,l=/^-?[0-9.]*[0-9]+[0-9.]*$/g,_=["width","height","inline"],x=0;function A(e,t,i){var n,o,r,s,a;if(1===t)return e;if(i=void 0===i?100:i,"number"==typeof e)return Math.ceil(e*t*i)/i;if("string"!=typeof e)return e;if(null===(n=e.split(c))||!n.length)return e;for(o=[],r=n.shift(),s=l.test(r);;){if(s?(a=parseFloat(r),isNaN(a)?o.push(r):o.push(Math.ceil(a*t*i)/i)):o.push(r),void 0===(r=n.shift()))return o.join("");s=!s}}function E(e,t,i){var n,o,r;for(n=0;n<t.length;n++)if(void 0!==e[o=t[n]])switch(typeof(r=e[o])){case"boolean":return r;case"number":return!!r;case"string":switch(r.toLowerCase()){case"1":case"true":case o:return!0;case"0":case"false":case"":return!1}}return i}function I(e,t,i){var n,o;for(n=0;n<t.length;n++)if(void 0!==e[o=t[n]])return e[o];return i}u.SVG=function(y){return y||(y=e.blankIcon()),this.item=y,this.height=function(e,t,i){return void 0===e?t?this.item.inlineHeight:this.item.height:A(e,(t?this.item.inlineHeight:this.item.height)/this.item.width,i)},this.width=function(e,t,i){return void 0===e?this.item.width:A(e,this.item.width/(t?this.item.inlineHeight:this.item.height),i)},this.defaultAttributes=function(){return{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":"true"}},this.preserveAspectRatio=function(e,t,i){var n="";switch(e){case"left":n+="xMin";break;case"right":n+="xMax";break;default:n+="xMid"}switch(t){case"top":n+="YMin";break;case"bottom":n+="YMax";break;default:n+="YMid"}return n+=!0===i?" slice":" meet"},this.attributes=function(t){var e,i,n,o,r,s,a,c,l,d,u,f,h,p={horizontal:"center",vertical:"middle",crop:!1},v={rotate:y.rotate,hFlip:y.hFlip,vFlip:y.vFlip},g="",b=this.defaultAttributes(),m=[];if(s=E(t="object"==typeof t?t:{},[w._inlineModeAttribute,"inline"],!0),d=E(t,[w._appendAttribute],!1),e={left:y.left,top:s?y.inlineTop:y.top,width:y.width,height:s?y.inlineHeight:y.height},"string"==typeof t[w._flipAttribute]&&t[w._flipAttribute].split(/[\s,]+/).forEach(function(e){switch(e=e.toLowerCase()){case"horizontal":v.hFlip=!v.hFlip;break;case"vertical":v.vFlip=!v.vFlip}}),void 0!==t[w._rotateAttribute])if("number"==typeof(c=t[w._rotateAttribute]))v.rotate+=c;else if("string"==typeof c)if(""===(u=c.replace(/^-?[0-9.]*/,"")))c=parseInt(c),isNaN(c)||(v.rotate+=c);else if(u!==c){switch(l=!1,u){case"%":l=25;break;case"deg":l=90}l&&(c=parseInt(c.slice(0,c.length-u.length)),isNaN(c)||(v.rotate+=Math.round(c/l)))}switch(v.hFlip?v.vFlip?v.rotate+=2:(m.push("translate("+(e.width+e.left)+" "+(0-e.top)+")"),m.push("scale(-1 1)"),e.top=e.left=0):v.vFlip&&(m.push("translate("+(0-e.left)+" "+(e.height+e.top)+")"),m.push("scale(1 -1)"),e.top=e.left=0),v.rotate%4){case 1:h=e.height/2+e.top,m.unshift("rotate(90 "+h+" "+h+")"),0===e.left&&0===e.top||(h=e.left,e.left=e.top,e.top=h),e.width!==e.height&&(h=e.width,e.width=e.height,e.height=h);break;case 2:m.unshift("rotate(180 "+(e.width/2+e.left)+" "+(e.height/2+e.top)+")");break;case 3:h=e.width/2+e.left,m.unshift("rotate(-90 "+h+" "+h+")"),0===e.left&&0===e.top||(h=e.left,e.left=e.top,e.top=h),e.width!==e.height&&(h=e.width,e.width=e.height,e.height=h)}return i=I(t,["data-width","width"],null),n=I(t,["data-height","height"],null),null===i&&null===n&&(n="1em"),null!==i&&null!==n?(o=i,r=n):null!==i?r=A(o=i,e.height/e.width):o=A(r=n,e.width/e.height),!1!==o&&(b.width="auto"===o?e.width:o),!1!==r&&(b.height="auto"===r?e.height:r),s&&0!==y.verticalAlign&&(g+="vertical-align: "+y.verticalAlign+"em;"),"string"==typeof t[w._alignAttribute]&&t[w._alignAttribute].toLowerCase().split(/[\s,]+/).forEach(function(e){switch(e){case"left":case"right":case"center":p.horizontal=e;break;case"top":case"bottom":case"middle":p.vertical=e;break;case"crop":p.crop=!0;break;case"meet":p.crop=!1}}),g+="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);",b.style=g+(void 0===t.style?"":t.style),b.preserveAspectRatio=this.preserveAspectRatio(p.horizontal,p.vertical,p.crop),b.viewBox=e.left+" "+e.top+" "+e.width+" "+e.height,a=function(i){var e,n,t=/\sid="(\S+)"/g,o=[];function r(e,t,i){for(var n=0;-1!==(n=i.indexOf(e,n));)i=i.slice(0,n)+t+i.slice(n+e.length),n+=t.length;return i}for(;e=t.exec(i);)o.push(e[1]);return o.length&&(n="IconifyId-"+Date.now().toString(16)+"-"+(16777216*Math.random()|0).toString(16)+"-",o.forEach(function(e){var t=n+x;x++,i=r("(#"+e+")","(#"+t+")",i=r('="#'+e+'"','="#'+t+'"',i=r('="'+e+'"','="'+t+'"',i)))})),i}(this.item.body),m.length&&(a='<g transform="'+m.join(" ")+'">'+a+"</g>"),f={},Object.keys(t).forEach(function(e){void 0===b[e]&&-1===_.indexOf(e)&&(f[e]=t[e])}),{attributes:b,elementAttributes:f,body:a,append:d}},this}}(),c=(o=u).config._loadingClass,o.newImage=function(e,t,i){return{element:e,icon:t,parser:i,loading:e.classList.contains(c)}},o.parsedImage=function(e,t){return{element:e,icon:t}},o.getImageAttributes=function(t){var e,i,n={};if(!t.element.hasAttributes())return n;for(e=0;e<t.element.attributes.length;e++)i=t.element.attributes[e],n[i.name]=i.value;return t.parser&&void 0!==t.parser.filterAttributes&&(n=t.parser.filterAttributes(t,n)),void 0!==n.class&&(n.class=n.class.split(" ").filter(function(e){return e!==c}),t.parser&&void 0!==t.parser.filterClasses&&(n.class=t.parser.filterClasses(t,n.class)),n.class=n.class.join(" ")),void 0!==t.attributes&&Object.keys(t.attributes).forEach(function(e){n[e]=t.attributes[e]}),n},function(n,f,e){var s=e._imageClass,t=e._loadingClass,i=e._appendedClass,a=e._iconAttribute,o=e._inlineModeAttribute,r=":not(svg):not(."+i+")",c=":not(."+t+")",l="."+t,h={ssvg:{selector:"."+s,selectorAll:"."+s+r,selectorNew:"."+s+r+c,selectorLoading:"."+s+r+l,icon:function(e){var t,i=e.getAttribute(a);if("string"==typeof i)return i;for(var n=0;n<e.classList.length;n++)if(5<(t=e.classList[n]).length&&"icon:"===t.slice(0,5))return t.slice(5);return""},filterClasses:function(e,t){var i,n,o;for(n=0;n<t.length;n++)"icon-"===(i=t[n]).slice(0,5)&&2===(i=i.slice(5).split(":")).length&&(o="data-"+i[0],void 0===e.attributes&&(e.attributes={}),e.attributes[o]=i[1]);return t}}},p=Object.keys(h);n.addFinder=function(e,t){void 0===t.selectorAll&&(t.selectorAll=t.selector+r),void 0===t.selectorNew&&(t.selectorNew=t.selector+r+c),void 0===t.selectorLoading&&(t.selectorLoading=t.selector+r+l),h[e]=t,p=Object.keys(h),n.isReady&&n.scanDOM()},n.addTag=function(e,i,t){n.addFinder("tag-"+e,{selector:e,icon:null==t?h.ssvg.icon:t,filterAttributes:function(e,t){return void 0===t[o]&&(t[o]=i),t}})};try{"object"==typeof Reflect&&"object"==typeof customElements&&Object.setPrototypeOf&&function(){function e(){return Reflect.construct(HTMLElement,[],e)}Object.setPrototypeOf(e.prototype,HTMLElement.prototype),Object.setPrototypeOf(e,HTMLElement),customElements.define("iconify-icon",e)}()}catch(e){}n.addTag("iconify-icon",!1),f.findNewImages=function(c,l){var d=[],u=[];return(c=void 0===c?void 0===e._root?document.body:e._root:c)&&p.forEach(function(e){var t,i,n,o,r=h[e],s=!0===l?r.selectorLoading:!1===l?r.selectorNew:r.selectorAll,a=c.querySelectorAll(s);for(t=0;t<a.length;t++)i=a[t],(n=r.icon(i))&&-1===u.indexOf(i)&&(u.push(i),o=f.newImage(i,n,r),d.push(o))}),d},f.findParsedImages=function(e){var t,i,n,o=[],r=e.querySelectorAll("svg."+s);for(t=0;t<r.length;t++)(n=(i=r[t]).getAttribute(a))&&o.push(f.parsedImage(i,n));return o}}(n,u,u.config),u.loadImage=function(e,t){var i=u.getPrefix(e.icon);return n.iconExists(i.icon,i.prefix)},n.pauseObserving=function(){},n.resumeObserving=function(){},function(l,d,e){var u=e._iconAttribute,f=e._loadingClass,h=e._imageClass,p=e._appendedClass;function v(e,t){var i;return"<?"===e.slice(0,2)&&(i=e.indexOf(">"),e=e.slice(i+1)),e=-1!==(i=(e=e.replace("viewbox=","viewBox=").replace("preserveaspectratio=","preserveAspectRatio=")).indexOf("</"))?e.replace("</",t+"</"):e.replace("/>",">"+t+"</svg>")}d.renderSVG=function(t){var e,i,n,o,r,s,a=d.getImageAttributes(t),c=l.getIcon(t.icon);a[u]=t.icon,e=new d.SVG(c),n=document.createElement("svg"),r=e.attributes(a),Object.keys(r.attributes).forEach(function(e){try{n.setAttribute(e,r.attributes[e])}catch(e){}}),Object.keys(r.elementAttributes).forEach(function(e){try{(r.append?t.element:n).setAttribute(e,r.elementAttributes[e])}catch(e){}}),t.loading&&(n.classList.remove(f),r.append&&t.element.classList.remove(f)),n.classList.add(h),s=v(n.outerHTML,r.body),(o=document.createElement("span")).innerHTML=s,i=o.childNodes[0],r.append?(t.element.classList.add(p),t.element.appendChild(i)):(t.element.parentNode.replaceChild(i,t.element),t.element=i),delete t.parser,delete t.loading},l.getSVG=function(e,t){var i,n,o;return!!l.iconExists(e)&&(i=new d.SVG(l.getIcon(e)),o=i.attributes(t,!1),n=document.createElement("svg"),Object.keys(o.attributes).forEach(function(e){try{n.setAttribute(e,o.attributes[e])}catch(e){}}),v(n.outerHTML,o.body))}}(n,u,u.config),l=n,(d=u).scanDOM=function(){var t=!1;function e(){d.findNewImages().forEach(function(e){d.loadImage(e)&&(t||(t=!0,l.pauseObserving()),d.renderSVG(e))})}if(d.ready)e();else try{e()}catch(e){}t&&l.resumeObserving()},l.scanDOM=d.scanDOM,l.getVersion=function(){return d.version}}(self.Iconify,self));
"use strict";void 0===self.Iconify&&(self.Iconify={isReady:!1},self.SimpleSVG=self.Iconify,function(n,e){var t,i,r,s,a,o,c,l,u,d={config:{},version:"1.0.0-rc1"};t=d,function(){function e(e,t){var i;return t=t||{bubbles:!1,cancelable:!1,detail:void 0},(i=document.createEvent("CustomEvent")).initCustomEvent(e,t.bubbles,t.cancelable,t.detail),i}"function"!=typeof window.CustomEvent&&(e.prototype=window.Event.prototype,window.CustomEvent=e)}(),t.event=function(e,t){document.dispatchEvent(new CustomEvent(e,t))},function(t,i,n){var o=null;function e(){document.removeEventListener("DOMContentLoaded",e),window.removeEventListener("load",e),i.DOMReadyCallback()}i.DOMReadyCallback=function(){i.domready=!0,i.nextInitItem()},i.initTimeout=function(e){function t(){if(null!==o){if(!1!==o.callback())return o.stop(),void i.nextInitItem();o.counter++,10!==o.counter&&25!==o.counter||(window.clearInterval(o.id),o.id=window.setInterval(t,10===o.counter?250:1e3))}}null!==o&&o.stop(),o={id:window.setInterval(t,100),counter:0,callback:e,stop:function(){window.clearInterval(o.id),o=null},nextTick:t}},i.domready=!1,i.ready=!1,i.initQueue=[],i.readyQueue=[],i.nextInitItem=function(){var e;if(!i.ready){if(i.initQueue.length)e=i.initQueue.shift();else{if(!i.domready)return void i.initTimeout(function(){return!i.domready&&document.body&&i.scanDOM(),i.domready});if(!i.readyQueue.length)return i.ready=t.isReady=!0,i.event(n._readyEvent),void i.scanDOM();e=i.readyQueue.shift()}!1!==e()&&i.nextInitItem()}},i.addStylesheet=function(e){var t;return document.head&&document.body?((t=document.createElement("style")).type="text/css",t.innerHTML="span.iconify, i.iconify, iconify-icon { display: inline-block; width: 1em; }",null!==document.head.firstChild?document.head.insertBefore(t,document.head.firstChild):document.head.appendChild(t),!0):!!i.domready||(e||i.initTimeout(i.addStylesheet.bind(null,!0)),!1)},i.initQueue.push(i.addStylesheet.bind(null,!1)),t.ready=function(e){t.isReady?window.setTimeout(e):document.addEventListener(n._readyEvent,e)},window.setTimeout(function(){"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?i.domready=!0:(document.addEventListener("DOMContentLoaded",e),window.addEventListener("load",e)),i.nextInitItem()})}(n,d,d.config),(i=d.config).SVGAttributes={},i._imageClass="iconify",i._loadingClass="svg-loading",i._iconAttribute="data-icon",i._rotateAttribute="data-rotate",i._flipAttribute="data-flip",i._inlineModeAttribute="data-inline",i._alignAttribute="data-align",i._appendAttribute="data-icon-append",i._appendedClass="svg-appended",i._readyEvent="IconifyReady",i._webComponentsPolyfill="//cdnjs.cloudflare.com/ajax/libs/webcomponentsjs/0.7.24/webcomponents-lite.min.js",i._classListPolyfill="//cdnjs.cloudflare.com/ajax/libs/classlist/1.1.20150312/classList.min.js",function(e,i,t,o){function n(t,i,e){var n=t;if("_"!==t.slice(0,1)){if(void 0===o[t]){if(!e||void 0===o["_"+t])return;n="_"+t}switch(n){case"API":case"SVGAttributes":Object.keys(i).forEach(function(e){null===i[t]?delete o[n][e]:o[n][e]=i[e]});break;default:o[n]=i}}}e.setConfig=function(e,t){n(e,t,!1)},e.setCustomAPI=function(e,t){switch(typeof e){case"string":[e];break;case"object":if(e instanceof Array){e;break}default:return}e.forEach(function(e){null===t?delete o.API[e]:o.API[e]=t})},e.getConfig=function(e){return void 0===o[e]?void 0===o["_"+e]?null:o["_"+e]:o[e]},["SimpleSVG","Iconify"].forEach(function(e){var t;void 0!==i[e+"Config"]&&"object"==typeof i[e+"Config"]&&(t=i[e+"Config"],Object.keys(t).forEach(function(e){n(e,t,!0)}))})}(n,e,0,d.config),s=(r=d).config,a=e,r.initQueue.push(function(){var e={observer:!1,classList:!1},t={observer:!1,classList:!1};function i(e){var t;return!e.length||(document.head?((t=document.createElement("script")).setAttribute("src",e),t.setAttribute("type","text/javascript"),document.head.appendChild(t),!0):r.domready)}function n(){return"classList"in document.createElement("div")||(t.classList||(t.classList=i(s._classListPolyfill)),!1)}function o(){return a.MutationObserver&&a.WeakMap||t.observer||(t.observer=i(s._webComponentsPolyfill)),!0}return e.classList=!n(),e.observer=!o(),!e.classList&&!e.observer||(r.initTimeout(function(){return!(e.observer&&!o()||e.classList&&!n())}),!1)}),d.getPrefix=function(e,t){var i;return"string"==typeof t&&""!==t?{prefix:t,icon:e}:2===(i=e.split(":")).length?{prefix:i[0],icon:i[1]}:1<(i=e.split("-")).length?{prefix:t=i.shift(),icon:i.join("-")}:{prefix:"",icon:e}},function(){var s=d.getPrefix,t={left:0,top:0,width:16,height:16,rotate:0,vFlip:!1,hFlip:!1},e=["left","top","width","height","body","rotate","vFlip","hFlip","inlineTop","inlineHeight","verticalAlign"];function a(e,t){return function(e,t){switch(e){case"rotate":return t=parseInt(t),isNaN(t)?null:t;case"width":case"height":case"inlineHeight":case"inlineTop":case"verticalAlign":return t=parseFloat(t),isNaN(t)?null:t;case"vFlip":case"hFlip":return!!t;case"body":case"parent":return"string"==typeof t?t:null}return t}("rotate",e+t)}function c(e,t){return!!e!=!!t}function l(e){var i={};return(void 0===e._defaults?[e,t]:[e,e._defaults,t]).forEach(function(t){Object.keys(t).forEach(function(e){"object"!=typeof t[e]&&void 0===i[e]&&(i[e]=t[e])})}),void 0===i.inlineTop&&(i.inlineTop=i.top),void 0===i.inlineHeight&&(i.inlineHeight=i.height),void 0===i.verticalAlign&&(i.height%7==0&&i.height%8!=0?i.verticalAlign=-.143:i.verticalAlign=-.125),i}function i(){return this._icons={},this._aliases={},this._resolved={},this._add=function(e,t,i){var n=e?"_aliases":"_icons";void 0===this._resolved[t.prefix]?(this._resolved[t.prefix]={},this._icons[t.prefix]={},this._aliases[t.prefix]={}):(delete this._icons[t.prefix][t.icon],delete this._aliases[t.prefix][t.icon]),this._resolved[t.prefix][t.icon]=!1,this[n][t.prefix][t.icon]=i},this._resolveIcon=function(e){var t,i,n,o,r,s;if(void 0===this._resolved[e.prefix]||void 0===this._resolved[e.prefix][e.icon])return null;if(!1!==this._resolved[e.prefix][e.icon])return this._resolved[e.prefix][e.icon];if(void 0!==this._icons[e.prefix][e.icon])return this._resolved[e.prefix][e.icon]=l(this._icons[e.prefix][e.icon]);for(i=0,t=this._aliases[e.prefix][e.icon],n={},Object.keys(t).forEach(function(e){"parent"!==e&&(n[e]=t[e])}),o=t.parent;;){if(5<++i||void 0===this._resolved[e.prefix][o])return this._resolved[e.prefix][e.icon]=null;if(r=void 0===this._icons[e.prefix][o],s=this[r?"_aliases":"_icons"][e.prefix][o],Object.keys(s).forEach(function(e){if(void 0!==n[e])switch(e){case"rotate":n[e]=a(n[e],s[e]);break;case"hFlip":case"vFlip":n[e]=c(n[e],s[e])}else"parent"!==e&&(n[e]=s[e])}),!r)break;o=s.parent}return this._resolved[e.prefix][e.icon]=l(n)},this.addCollection=function(n){var o=this,r={};e.forEach(function(e){void 0!==n[e]?r[e]=n[e]:void 0!==t[e]&&(r[e]=t[e])}),void 0!==n.icons&&Object.keys(n.icons).forEach(function(e){var t=s(e,n.prefix),i=n.icons[e];void 0!==i.body&&(i._defaults=r,o._add(!1,t,i))}),void 0!==n.aliases&&Object.keys(n.aliases).forEach(function(e){var t=s(e,n.prefix),i=n.aliases[e];if(void 0!==i.parent){if(void 0===n.prefix){if(i.parent.slice(0,t.prefix.length)!==t.prefix)return;i.parent=i.parent.slice(t.prefix.length+1)}o._add(!0,t,i)}})},this.addIcon=function(e,t,i){var n=void 0!==t.parent,o=s(e,i);if(n&&void 0===i){if(t.parent.slice(0,o.prefix.length)!==o.prefix)return;t.parent=t.parent.slice(o.prefix.length+1)}this._add(n,o,t)},this.exists=function(e,t){var i=s(e,t);return void 0!==this._resolved[i.prefix]&&void 0!==this._resolved[i.prefix][i.icon]},this.getIcon=function(e,t){var i=s(e,t);return this._resolveIcon(i)},this.copyIcon=function(e,t){var i,n=this.getIcon(e,t);return null===n?null:(i={},Object.keys(n).forEach(function(e){i[e]=n[e]}),i)},this.list=function(e){var i,n;return void 0!==e?void 0===this._resolved[e]?[]:Object.keys(this._resolved[e]):(i=[],n=this._resolved,Object.keys(n).forEach(function(t){i=i.concat(Object.keys(n[t]).map(function(e){return""===t&&-1===e.indexOf("-")?e:t+":"+e}))}),i)},this}i.mergeFlip=c,i.mergeRotation=a,i.blankIcon=function(){return l({body:"",width:16,height:16})},d.Storage=i}(),function(t,e,i){var n=!1,o=new e.Storage;function r(){n&&(n=!1,e.scanDOM())}t.addCollection=function(e){o.addCollection(e),n||(n=!0,window.setTimeout(r,0))},t.addIcon=function(e,t){o.addIcon(e,t),n||(n=!0,window.setTimeout(r,0))},t.iconExists=o.exists.bind(o),t.getIcon=o.copyIcon.bind(o),t.listIcons=o.list.bind(o),["SimpleSVG","Iconify"].forEach(function(e){void 0!==i[e+"Preload"]&&i[e+"Preload"]instanceof Array&&i[e+"Preload"].forEach(function(e){"object"==typeof e&&void 0!==e.icons&&t.addCollection(e)})})}(n,d,e),function(){var e=d.Storage,w=d.config,c=/(-?[0-9.]*[0-9]+[0-9.]*)/g,l=/^-?[0-9.]*[0-9]+[0-9.]*$/g,_=["width","height","inline"],x=0;function A(e,t,i){var n,o,r,s,a;if(1===t)return e;if(i=void 0===i?100:i,"number"==typeof e)return Math.ceil(e*t*i)/i;if("string"!=typeof e)return e;if(null===(n=e.split(c))||!n.length)return e;for(o=[],r=n.shift(),s=l.test(r);;){if(s?(a=parseFloat(r),isNaN(a)?o.push(r):o.push(Math.ceil(a*t*i)/i)):o.push(r),void 0===(r=n.shift()))return o.join("");s=!s}}function E(e,t,i){var n,o,r;for(n=0;n<t.length;n++)if(void 0!==e[o=t[n]])switch(typeof(r=e[o])){case"boolean":return r;case"number":return!!r;case"string":switch(r.toLowerCase()){case"1":case"true":case o:return!0;case"0":case"false":case"":return!1}}return i}function I(e,t,i){var n,o;for(n=0;n<t.length;n++)if(void 0!==e[o=t[n]])return e[o];return i}d.SVG=function(y){return y||(y=e.blankIcon()),this.item=y,this.height=function(e,t,i){return void 0===e?t?this.item.inlineHeight:this.item.height:A(e,(t?this.item.inlineHeight:this.item.height)/this.item.width,i)},this.width=function(e,t,i){return void 0===e?this.item.width:A(e,this.item.width/(t?this.item.inlineHeight:this.item.height),i)},this.defaultAttributes=function(){return{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":"true"}},this.preserveAspectRatio=function(e,t,i){var n="";switch(e){case"left":n+="xMin";break;case"right":n+="xMax";break;default:n+="xMid"}switch(t){case"top":n+="YMin";break;case"bottom":n+="YMax";break;default:n+="YMid"}return n+=!0===i?" slice":" meet"},this.attributes=function(t){var e,i,n,o,r,s,a,c,l,u,d,f,h,p={horizontal:"center",vertical:"middle",crop:!1},v={rotate:y.rotate,hFlip:y.hFlip,vFlip:y.vFlip},g="",b=this.defaultAttributes(),m=[];if(s=E(t="object"==typeof t?t:{},[w._inlineModeAttribute,"inline"],!0),u=E(t,[w._appendAttribute],!1),e={left:y.left,top:s?y.inlineTop:y.top,width:y.width,height:s?y.inlineHeight:y.height},"string"==typeof t[w._flipAttribute]&&t[w._flipAttribute].split(/[\s,]+/).forEach(function(e){switch(e=e.toLowerCase()){case"horizontal":v.hFlip=!v.hFlip;break;case"vertical":v.vFlip=!v.vFlip}}),void 0!==t[w._rotateAttribute])if("number"==typeof(c=t[w._rotateAttribute]))v.rotate+=c;else if("string"==typeof c)if(""===(d=c.replace(/^-?[0-9.]*/,"")))c=parseInt(c),isNaN(c)||(v.rotate+=c);else if(d!==c){switch(l=!1,d){case"%":l=25;break;case"deg":l=90}l&&(c=parseInt(c.slice(0,c.length-d.length)),isNaN(c)||(v.rotate+=Math.round(c/l)))}switch(v.hFlip?v.vFlip?v.rotate+=2:(m.push("translate("+(e.width+e.left)+" "+(0-e.top)+")"),m.push("scale(-1 1)"),e.top=e.left=0):v.vFlip&&(m.push("translate("+(0-e.left)+" "+(e.height+e.top)+")"),m.push("scale(1 -1)"),e.top=e.left=0),v.rotate%4){case 1:h=e.height/2+e.top,m.unshift("rotate(90 "+h+" "+h+")"),0===e.left&&0===e.top||(h=e.left,e.left=e.top,e.top=h),e.width!==e.height&&(h=e.width,e.width=e.height,e.height=h);break;case 2:m.unshift("rotate(180 "+(e.width/2+e.left)+" "+(e.height/2+e.top)+")");break;case 3:h=e.width/2+e.left,m.unshift("rotate(-90 "+h+" "+h+")"),0===e.left&&0===e.top||(h=e.left,e.left=e.top,e.top=h),e.width!==e.height&&(h=e.width,e.width=e.height,e.height=h)}return i=I(t,["data-width","width"],null),n=I(t,["data-height","height"],null),null===i&&null===n&&(n="1em"),null!==i&&null!==n?(o=i,r=n):null!==i?r=A(o=i,e.height/e.width):o=A(r=n,e.width/e.height),!1!==o&&(b.width="auto"===o?e.width:o),!1!==r&&(b.height="auto"===r?e.height:r),s&&0!==y.verticalAlign&&(g+="vertical-align: "+y.verticalAlign+"em;"),"string"==typeof t[w._alignAttribute]&&t[w._alignAttribute].toLowerCase().split(/[\s,]+/).forEach(function(e){switch(e){case"left":case"right":case"center":p.horizontal=e;break;case"top":case"bottom":case"middle":p.vertical=e;break;case"crop":p.crop=!0;break;case"meet":p.crop=!1}}),g+="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);",b.style=g+(void 0===t.style?"":t.style),b.preserveAspectRatio=this.preserveAspectRatio(p.horizontal,p.vertical,p.crop),b.viewBox=e.left+" "+e.top+" "+e.width+" "+e.height,a=function(i){var e,n,t=/\sid="(\S+)"/g,o=[];function r(e,t,i){for(var n=0;-1!==(n=i.indexOf(e,n));)i=i.slice(0,n)+t+i.slice(n+e.length),n+=t.length;return i}for(;e=t.exec(i);)o.push(e[1]);return o.length&&(n="IconifyId-"+Date.now().toString(16)+"-"+(16777216*Math.random()|0).toString(16)+"-",o.forEach(function(e){var t=n+x;x++,i=r("(#"+e+")","(#"+t+")",i=r('="#'+e+'"','="#'+t+'"',i=r('="'+e+'"','="'+t+'"',i)))})),i}(this.item.body),m.length&&(a='<g transform="'+m.join(" ")+'">'+a+"</g>"),f={},Object.keys(t).forEach(function(e){void 0===b[e]&&-1===_.indexOf(e)&&(f[e]=t[e])}),{attributes:b,elementAttributes:f,body:a,append:u}},this}}(),c=(o=d).config._loadingClass,o.newImage=function(e,t,i){return{element:e,icon:t,parser:i,loading:e.classList.contains(c)}},o.parsedImage=function(e,t){return{element:e,icon:t}},o.getImageAttributes=function(t){var e,i,n={};if(!t.element.hasAttributes())return n;for(e=0;e<t.element.attributes.length;e++)i=t.element.attributes[e],n[i.name]=i.value;return t.parser&&void 0!==t.parser.filterAttributes&&(n=t.parser.filterAttributes(t,n)),void 0!==n.class&&(n.class=n.class.split(" ").filter(function(e){return e!==c}),t.parser&&void 0!==t.parser.filterClasses&&(n.class=t.parser.filterClasses(t,n.class)),n.class=n.class.join(" ")),void 0!==t.attributes&&Object.keys(t.attributes).forEach(function(e){n[e]=t.attributes[e]}),n},function(n,f,e){var s=e._imageClass,t=e._loadingClass,i=e._appendedClass,a=e._iconAttribute,o=e._inlineModeAttribute,r=":not(svg):not(."+i+")",c=":not(."+t+")",l="."+t,h={iconify:{selector:"."+s,selectorAll:"."+s+r,selectorNew:"."+s+r+c,selectorLoading:"."+s+r+l,icon:function(e){var t,i=e.getAttribute(a);if("string"==typeof i)return i;for(var n=0;n<e.classList.length;n++)if(5<(t=e.classList[n]).length&&"icon:"===t.slice(0,5))return t.slice(5);return""},filterClasses:function(e,t){var i,n,o;for(n=0;n<t.length;n++)"icon-"===(i=t[n]).slice(0,5)&&2===(i=i.slice(5).split(":")).length&&(o="data-"+i[0],void 0===e.attributes&&(e.attributes={}),e.attributes[o]=i[1]);return t}}},p=Object.keys(h);n.addFinder=function(e,t){void 0===t.selectorAll&&(t.selectorAll=t.selector+r),void 0===t.selectorNew&&(t.selectorNew=t.selector+r+c),void 0===t.selectorLoading&&(t.selectorLoading=t.selector+r+l),h[e]=t,p=Object.keys(h),n.isReady&&n.scanDOM()},n.addTag=function(e,i,t){n.addFinder("tag-"+e,{selector:e,icon:null==t?h.iconify.icon:t,filterAttributes:function(e,t){return void 0===t[o]&&(t[o]=i),t}})};try{"object"==typeof Reflect&&"object"==typeof customElements&&Object.setPrototypeOf&&function(){function e(){return Reflect.construct(HTMLElement,[],e)}Object.setPrototypeOf(e.prototype,HTMLElement.prototype),Object.setPrototypeOf(e,HTMLElement),customElements.define("iconify-icon",e)}()}catch(e){}n.addTag("iconify-icon",!1),f.findNewImages=function(c,l){var u=[],d=[];return(c=void 0===c?void 0===e._root?document.body:e._root:c)&&p.forEach(function(e){var t,i,n,o,r=h[e],s=!0===l?r.selectorLoading:!1===l?r.selectorNew:r.selectorAll,a=c.querySelectorAll(s);for(t=0;t<a.length;t++)i=a[t],(n=r.icon(i))&&-1===d.indexOf(i)&&(d.push(i),o=f.newImage(i,n,r),u.push(o))}),u},f.findParsedImages=function(e){var t,i,n,o=[],r=e.querySelectorAll("svg."+s);for(t=0;t<r.length;t++)(n=(i=r[t]).getAttribute(a))&&o.push(f.parsedImage(i,n));return o}}(n,d,d.config),d.loadImage=function(e,t){var i=d.getPrefix(e.icon);return n.iconExists(i.icon,i.prefix)},n.pauseObserving=function(){},n.resumeObserving=function(){},function(l,u,e){var d=e._iconAttribute,f=e._loadingClass,h=e._imageClass,p=e._appendedClass;function v(e,t){var i;return"<?"===e.slice(0,2)&&(i=e.indexOf(">"),e=e.slice(i+1)),e=-1!==(i=(e=e.replace("viewbox=","viewBox=").replace("preserveaspectratio=","preserveAspectRatio=")).indexOf("</"))?e.replace("</",t+"</"):e.replace("/>",">"+t+"</svg>")}u.renderSVG=function(t){var e,i,n,o,r,s,a=u.getImageAttributes(t),c=l.getIcon(t.icon);a[d]=t.icon,e=new u.SVG(c),n=document.createElement("svg"),r=e.attributes(a),Object.keys(r.attributes).forEach(function(e){try{n.setAttribute(e,r.attributes[e])}catch(e){}}),Object.keys(r.elementAttributes).forEach(function(e){try{(r.append?t.element:n).setAttribute(e,r.elementAttributes[e])}catch(e){}}),t.loading&&(n.classList.remove(f),r.append&&t.element.classList.remove(f)),n.classList.add(h),s=v(n.outerHTML,r.body),(o=document.createElement("span")).innerHTML=s,i=o.childNodes[0],r.append?(t.element.classList.add(p),t.element.appendChild(i)):(t.element.parentNode.replaceChild(i,t.element),t.element=i),delete t.parser,delete t.loading},l.getSVG=function(e,t){var i,n,o;return!!l.iconExists(e)&&(i=new u.SVG(l.getIcon(e)),o=i.attributes(t,!1),n=document.createElement("svg"),Object.keys(o.attributes).forEach(function(e){try{n.setAttribute(e,o.attributes[e])}catch(e){}}),v(n.outerHTML,o.body))}}(n,d,d.config),l=n,(u=d).scanDOM=function(){var t=!1;function e(){u.findNewImages().forEach(function(e){u.loadImage(e)&&(t||(t=!0,l.pauseObserving()),u.renderSVG(e))})}if(u.ready)e();else try{e()}catch(e){}t&&l.resumeObserving()},l.scanDOM=u.scanDOM,l.getVersion=function(){return u.version}}(self.Iconify,self));

@@ -1,1 +0,1 @@

"use strict";void 0===self.Iconify&&(self.Iconify={isReady:!1},self.SimpleSVG=self.Iconify,function(e,t){var i,n,o,r,s,a,c,l,d,u,f={config:{},version:"1.0.0-beta7"};i=f,function(){function e(e,t){var i;return t=t||{bubbles:!1,cancelable:!1,detail:void 0},(i=document.createEvent("CustomEvent")).initCustomEvent(e,t.bubbles,t.cancelable,t.detail),i}"function"!=typeof window.CustomEvent&&(e.prototype=window.Event.prototype,window.CustomEvent=e)}(),i.event=function(e,t){document.dispatchEvent(new CustomEvent(e,t))},function(t,i,n){var o=null;function e(){document.removeEventListener("DOMContentLoaded",e),window.removeEventListener("load",e),i.DOMReadyCallback()}i.DOMReadyCallback=function(){i.domready=!0,i.nextInitItem()},i.initTimeout=function(e){function t(){if(null!==o){if(!1!==o.callback())return o.stop(),void i.nextInitItem();o.counter++,10!==o.counter&&25!==o.counter||(window.clearInterval(o.id),o.id=window.setInterval(t,10===o.counter?250:1e3))}}null!==o&&o.stop(),o={id:window.setInterval(t,100),counter:0,callback:e,stop:function(){window.clearInterval(o.id),o=null},nextTick:t}},i.domready=!1,i.ready=!1,i.initQueue=[],i.readyQueue=[],i.nextInitItem=function(){var e;if(!i.ready){if(i.initQueue.length)e=i.initQueue.shift();else{if(!i.domready)return void i.initTimeout(function(){return!i.domready&&document.body&&i.scanDOM(),i.domready});if(!i.readyQueue.length)return i.ready=t.isReady=!0,i.event(n._readyEvent),void i.scanDOM();e=i.readyQueue.shift()}!1!==e()&&i.nextInitItem()}},i.addStylesheet=function(e){var t;return document.head&&document.body?((t=document.createElement("style")).type="text/css",t.innerHTML="span.iconify, i.iconify, iconify-icon { display: inline-block; width: 1em; }",null!==document.head.firstChild?document.head.insertBefore(t,document.head.firstChild):document.head.appendChild(t),!0):!!i.domready||(e||i.initTimeout(i.addStylesheet.bind(null,!0)),!1)},i.initQueue.push(i.addStylesheet.bind(null,!1)),t.ready=function(e){t.isReady?window.setTimeout(e):document.addEventListener(n._readyEvent,e)},window.setTimeout(function(){"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?i.domready=!0:(document.addEventListener("DOMContentLoaded",e),window.addEventListener("load",e)),i.nextInitItem()})}(e,f,f.config),(n=f.config).SVGAttributes={},n._imageClass="iconify",n._loadingClass="svg-loading",n._iconAttribute="data-icon",n._rotateAttribute="data-rotate",n._flipAttribute="data-flip",n._inlineModeAttribute="data-inline",n._alignAttribute="data-align",n._appendAttribute="data-icon-append",n._appendedClass="svg-appended",n._readyEvent="IconifyReady",n._webComponentsPolyfill="//cdnjs.cloudflare.com/ajax/libs/webcomponentsjs/0.7.24/webcomponents-lite.min.js",n._classListPolyfill="//cdnjs.cloudflare.com/ajax/libs/classlist/1.1.20150312/classList.min.js",(o=f.config).defaultAPI="//api.iconify.design/{prefix}.js?icons={icons}",o.API={},o.loaderMaxURLSize=500,o.loadBeforeDOMReady=!(document&&document.body),o._loaderEvent="IconifyAddedIcons",o.sessionStorage=!0,o.localStorage=!!(window&&window.localStorage&&window.localStorage.length),function(e,i,t,o){function n(t,i,e){var n=t;if("_"!==t.slice(0,1)){if(void 0===o[t]){if(!e||void 0===o["_"+t])return;n="_"+t}switch(n){case"API":case"SVGAttributes":Object.keys(i).forEach(function(e){null===i[t]?delete o[n][e]:o[n][e]=i[e]});break;default:o[n]=i}}}e.setConfig=function(e,t){n(e,t,!1)},e.setCustomAPI=function(e,t){switch(typeof e){case"string":[e];break;case"object":if(e instanceof Array){e;break}default:return}e.forEach(function(e){null===t?delete o.API[e]:o.API[e]=t})},e.getConfig=function(e){return void 0===o[e]?void 0===o["_"+e]?null:o["_"+e]:o[e]},["SimpleSVG","Iconify"].forEach(function(e){var t;void 0!==i[e+"Config"]&&"object"==typeof i[e+"Config"]&&(t=i[e+"Config"],Object.keys(t).forEach(function(e){n(e,t,!0)}))})}(e,t,0,f.config),s=(r=f).config,a=t,r.initQueue.push(function(){var e={observer:!1,classList:!1},t={observer:!1,classList:!1};function i(e){var t;return!e.length||(document.head?((t=document.createElement("script")).setAttribute("src",e),t.setAttribute("type","text/javascript"),document.head.appendChild(t),!0):r.domready)}function n(){return"classList"in document.createElement("div")||(t.classList||(t.classList=i(s._classListPolyfill)),!1)}function o(){return a.MutationObserver&&a.WeakMap||t.observer||(t.observer=i(s._webComponentsPolyfill)),!0}return e.classList=!n(),e.observer=!o(),!e.classList&&!e.observer||(r.initTimeout(function(){return!(e.observer&&!o()||e.classList&&!n())}),!1)}),f.getPrefix=function(e,t){var i;return"string"==typeof t&&""!==t?{prefix:t,icon:e}:2===(i=e.split(":")).length?{prefix:i[0],icon:i[1]}:1<(i=e.split("-")).length?{prefix:t=i.shift(),icon:i.join("-")}:{prefix:"",icon:e}},function(){var a=f.getPrefix,t={left:0,top:0,width:16,height:16,rotate:0,vFlip:!1,hFlip:!1},e=["left","top","width","height","body","rotate","vFlip","hFlip","inlineTop","inlineHeight","verticalAlign"];function c(e,t){return function(e,t){switch(e){case"rotate":return t=parseInt(t),isNaN(t)?null:t;case"width":case"height":case"inlineHeight":case"inlineTop":case"verticalAlign":return t=parseFloat(t),isNaN(t)?null:t;case"vFlip":case"hFlip":return!!t;case"body":case"parent":return"string"==typeof t?t:null}return t}("rotate",e+t)}function l(e,t){return!!e!=!!t}function d(e){var i={};return(void 0===e._defaults?[e,t]:[e,e._defaults,t]).forEach(function(t){Object.keys(t).forEach(function(e){"_"!==e.slice(0,1)&&void 0===i[e]&&(i[e]=t[e])})}),void 0===i.inlineTop&&(i.inlineTop=i.top),void 0===i.inlineHeight&&(i.inlineHeight=i.height),void 0===i.verticalAlign&&(i.height%7==0&&i.height%8!=0?i.verticalAlign=-.143:i.verticalAlign=-.125),i}function i(){return this._icons={},this._aliases={},this._resolved={},this._add=function(e,t,i){var n=e?"_aliases":"_icons";void 0===this._resolved[t.prefix]?(this._resolved[t.prefix]={},this._icons[t.prefix]={},this._aliases[t.prefix]={}):void 0!==this._resolved[t.prefix]&&(delete this._icons[t.prefix][t.icon],delete this._aliases[t.prefix][t.icon]),this._resolved[t.prefix][t.icon]=!1,this[n][t.prefix][t.icon]=i},this._resolveIcon=function(e){var t,i,n,o,r,s;if(void 0===this._resolved[e.prefix]||void 0===this._resolved[e.prefix][e.icon])return null;if(!1!==this._resolved[e.prefix][e.icon])return this._resolved[e.prefix][e.icon];if(void 0!==this._icons[e.prefix][e.icon])return this._resolved[e.prefix][e.icon]=d(this._icons[e.prefix][e.icon]);for(i=0,t=this._aliases[e.prefix][e.icon],n={},Object.keys(t).forEach(function(e){"parent"!==e&&(n[e]=t[e])}),o=a(t.parent,t._prefix);;){if(5<++i||void 0===this._resolved[o.prefix]||void 0===this._resolved[o.prefix][o.icon])return this._resolved[e.prefix][e.icon]=null;if(r=void 0===this._icons[o.prefix][o.icon],s=this[r?"_aliases":"_icons"][o.prefix][o.icon],Object.keys(s).forEach(function(e){if(void 0!==n[e])switch(e){case"rotate":n[e]=c(n[e],s[e]);break;case"hFlip":case"vFlip":n[e]=l(n[e],s[e])}else"parent"!==e&&(n[e]=s[e])}),!r)break;o=a(s.parent,s._prefix)}return this._resolved[e.prefix][e.icon]=d(n)},this.addCollection=function(n){var o=this,r={},s=n.prefix;e.forEach(function(e){void 0!==n[e]?r[e]=n[e]:void 0!==t[e]&&(r[e]=t[e])}),void 0!==n.icons&&Object.keys(n.icons).forEach(function(e){var t=a(e,s),i=n.icons[e];void 0!==i.body&&(i._defaults=r,o._add(!1,t,i))}),void 0!==n.aliases&&Object.keys(n.aliases).forEach(function(e){var t=a(e,s),i=n.aliases[e];void 0!==i.parent&&(i._defaults=r,i._prefix=s,o._add(!0,t,i))})},this.addIcon=function(e,t,i){var n=void 0!==t.parent,o=a(e,i);n&&"string"==typeof i&&(t._prefix=i),this._add(n,o,t)},this.exists=function(e,t){var i=a(e,t);return void 0!==this._resolved[i.prefix]&&void 0!==this._resolved[i.prefix][i.icon]},this.getIcon=function(e,t){var i=a(e,t);return this._resolveIcon(i)},this.copyIcon=function(e,t){var i,n=this.getIcon(e,t);return null===n?null:(i={},Object.keys(n).forEach(function(e){i[e]=n[e]}),i)},this.list=function(e){var i,n;return void 0!==e?void 0===this._resolved[e]?[]:Object.keys(this._resolved[e]):(i=[],n=this._resolved,Object.keys(n).forEach(function(t){i=i.concat(Object.keys(n[t]).map(function(e){return""===t&&-1===e.indexOf("-")?e:t+":"+e}))}),i)},this}i.mergeFlip=l,i.mergeRotation=c,i.blankIcon=function(){return d({body:"",width:16,height:16})},f.Storage=i}(),function(t,e,i){var n=!1,o=new e.Storage;function r(){n&&(n=!1,e.scanDOM())}t.addCollection=function(e){o.addCollection(e),n||(n=!0,window.setTimeout(r,0))},t.addIcon=function(e,t){o.addIcon(e,t),n||(n=!0,window.setTimeout(r,0))},t.iconExists=o.exists.bind(o),t.getIcon=o.copyIcon.bind(o),t.listIcons=o.list.bind(o),["SimpleSVG","Iconify"].forEach(function(e){void 0!==i[e+"Preload"]&&i[e+"Preload"]instanceof Array&&i[e+"Preload"].forEach(function(e){"object"==typeof e&&void 0!==e.icons&&t.addCollection(e)})})}(e,f,t),function(){var e=f.Storage,w=f.config,c=/(-?[0-9.]*[0-9]+[0-9.]*)/g,l=/^-?[0-9.]*[0-9]+[0-9.]*$/g,_=["width","height","inline"],x=0;function I(e,t,i){var n,o,r,s,a;if(1===t)return e;if(i=void 0===i?100:i,"number"==typeof e)return Math.ceil(e*t*i)/i;if("string"!=typeof e)return e;if(null===(n=e.split(c))||!n.length)return e;for(o=[],r=n.shift(),s=l.test(r);;){if(s?(a=parseFloat(r),isNaN(a)?o.push(r):o.push(Math.ceil(a*t*i)/i)):o.push(r),void 0===(r=n.shift()))return o.join("");s=!s}}function A(e,t,i){var n,o,r;for(n=0;n<t.length;n++)if(void 0!==e[o=t[n]])switch(typeof(r=e[o])){case"boolean":return r;case"number":return!!r;case"string":switch(r.toLowerCase()){case"1":case"true":case o:return!0;case"0":case"false":case"":return!1}}return i}function E(e,t,i){var n,o;for(n=0;n<t.length;n++)if(void 0!==e[o=t[n]])return e[o];return i}f.SVG=function(y){return y||(y=e.blankIcon()),this.item=y,this.height=function(e,t,i){return void 0===e?t?this.item.inlineHeight:this.item.height:I(e,(t?this.item.inlineHeight:this.item.height)/this.item.width,i)},this.width=function(e,t,i){return void 0===e?this.item.width:I(e,this.item.width/(t?this.item.inlineHeight:this.item.height),i)},this.defaultAttributes=function(){return{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":"true"}},this.preserveAspectRatio=function(e,t,i){var n="";switch(e){case"left":n+="xMin";break;case"right":n+="xMax";break;default:n+="xMid"}switch(t){case"top":n+="YMin";break;case"bottom":n+="YMax";break;default:n+="YMid"}return n+=!0===i?" slice":" meet"},this.attributes=function(t){var e,i,n,o,r,s,a,c,l,d,u,f,h,p={horizontal:"center",vertical:"middle",crop:!1},v={rotate:y.rotate,hFlip:y.hFlip,vFlip:y.vFlip},g="",b=this.defaultAttributes(),m=[];if(s=A(t="object"==typeof t?t:{},[w._inlineModeAttribute,"inline"],!0),d=A(t,[w._appendAttribute],!1),e={left:y.left,top:s?y.inlineTop:y.top,width:y.width,height:s?y.inlineHeight:y.height},"string"==typeof t[w._flipAttribute]&&t[w._flipAttribute].split(/[\s,]+/).forEach(function(e){switch(e=e.toLowerCase()){case"horizontal":v.hFlip=!v.hFlip;break;case"vertical":v.vFlip=!v.vFlip}}),void 0!==t[w._rotateAttribute])if("number"==typeof(c=t[w._rotateAttribute]))v.rotate+=c;else if("string"==typeof c)if(""===(u=c.replace(/^-?[0-9.]*/,"")))c=parseInt(c),isNaN(c)||(v.rotate+=c);else if(u!==c){switch(l=!1,u){case"%":l=25;break;case"deg":l=90}l&&(c=parseInt(c.slice(0,c.length-u.length)),isNaN(c)||(v.rotate+=Math.round(c/l)))}switch(v.hFlip?v.vFlip?v.rotate+=2:(m.push("translate("+(e.width+e.left)+" "+(0-e.top)+")"),m.push("scale(-1 1)"),e.top=e.left=0):v.vFlip&&(m.push("translate("+(0-e.left)+" "+(e.height+e.top)+")"),m.push("scale(1 -1)"),e.top=e.left=0),v.rotate%4){case 1:h=e.height/2+e.top,m.unshift("rotate(90 "+h+" "+h+")"),0===e.left&&0===e.top||(h=e.left,e.left=e.top,e.top=h),e.width!==e.height&&(h=e.width,e.width=e.height,e.height=h);break;case 2:m.unshift("rotate(180 "+(e.width/2+e.left)+" "+(e.height/2+e.top)+")");break;case 3:h=e.width/2+e.left,m.unshift("rotate(-90 "+h+" "+h+")"),0===e.left&&0===e.top||(h=e.left,e.left=e.top,e.top=h),e.width!==e.height&&(h=e.width,e.width=e.height,e.height=h)}return i=E(t,["data-width","width"],null),n=E(t,["data-height","height"],null),null===i&&null===n&&(n="1em"),null!==i&&null!==n?(o=i,r=n):null!==i?r=I(o=i,e.height/e.width):o=I(r=n,e.width/e.height),!1!==o&&(b.width="auto"===o?e.width:o),!1!==r&&(b.height="auto"===r?e.height:r),s&&0!==y.verticalAlign&&(g+="vertical-align: "+y.verticalAlign+"em;"),"string"==typeof t[w._alignAttribute]&&t[w._alignAttribute].toLowerCase().split(/[\s,]+/).forEach(function(e){switch(e){case"left":case"right":case"center":p.horizontal=e;break;case"top":case"bottom":case"middle":p.vertical=e;break;case"crop":p.crop=!0;break;case"meet":p.crop=!1}}),g+="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);",b.style=g+(void 0===t.style?"":t.style),b.preserveAspectRatio=this.preserveAspectRatio(p.horizontal,p.vertical,p.crop),b.viewBox=e.left+" "+e.top+" "+e.width+" "+e.height,a=function(i){var e,n,t=/\sid="(\S+)"/g,o=[];function r(e,t,i){for(var n=0;-1!==(n=i.indexOf(e,n));)i=i.slice(0,n)+t+i.slice(n+e.length),n+=t.length;return i}for(;e=t.exec(i);)o.push(e[1]);return o.length&&(n="IconifyId-"+Date.now().toString(16)+"-"+(16777216*Math.random()|0).toString(16)+"-",o.forEach(function(e){var t=n+x;x++,i=r("(#"+e+")","(#"+t+")",i=r('="#'+e+'"','="#'+t+'"',i=r('="'+e+'"','="'+t+'"',i)))})),i}(this.item.body),m.length&&(a='<g transform="'+m.join(" ")+'">'+a+"</g>"),f={},Object.keys(t).forEach(function(e){void 0===b[e]&&-1===_.indexOf(e)&&(f[e]=t[e])}),{attributes:b,elementAttributes:f,body:a,append:d}},this}}(),l=(c=f).config._loadingClass,c.newImage=function(e,t,i){return{element:e,icon:t,parser:i,loading:e.classList.contains(l)}},c.parsedImage=function(e,t){return{element:e,icon:t}},c.getImageAttributes=function(t){var e,i,n={};if(!t.element.hasAttributes())return n;for(e=0;e<t.element.attributes.length;e++)i=t.element.attributes[e],n[i.name]=i.value;return t.parser&&void 0!==t.parser.filterAttributes&&(n=t.parser.filterAttributes(t,n)),void 0!==n.class&&(n.class=n.class.split(" ").filter(function(e){return e!==l}),t.parser&&void 0!==t.parser.filterClasses&&(n.class=t.parser.filterClasses(t,n.class)),n.class=n.class.join(" ")),void 0!==t.attributes&&Object.keys(t.attributes).forEach(function(e){n[e]=t.attributes[e]}),n},function(n,f,e){var s=e._imageClass,t=e._loadingClass,i=e._appendedClass,a=e._iconAttribute,o=e._inlineModeAttribute,r=":not(svg):not(."+i+")",c=":not(."+t+")",l="."+t,h={ssvg:{selector:"."+s,selectorAll:"."+s+r,selectorNew:"."+s+r+c,selectorLoading:"."+s+r+l,icon:function(e){var t,i=e.getAttribute(a);if("string"==typeof i)return i;for(var n=0;n<e.classList.length;n++)if(5<(t=e.classList[n]).length&&"icon:"===t.slice(0,5))return t.slice(5);return""},filterClasses:function(e,t){var i,n,o;for(n=0;n<t.length;n++)"icon-"===(i=t[n]).slice(0,5)&&2===(i=i.slice(5).split(":")).length&&(o="data-"+i[0],void 0===e.attributes&&(e.attributes={}),e.attributes[o]=i[1]);return t}}},p=Object.keys(h);n.addFinder=function(e,t){void 0===t.selectorAll&&(t.selectorAll=t.selector+r),void 0===t.selectorNew&&(t.selectorNew=t.selector+r+c),void 0===t.selectorLoading&&(t.selectorLoading=t.selector+r+l),h[e]=t,p=Object.keys(h),n.isReady&&n.scanDOM()},n.addTag=function(e,i,t){n.addFinder("tag-"+e,{selector:e,icon:null==t?h.ssvg.icon:t,filterAttributes:function(e,t){return void 0===t[o]&&(t[o]=i),t}})};try{"object"==typeof Reflect&&"object"==typeof customElements&&Object.setPrototypeOf&&function(){function e(){return Reflect.construct(HTMLElement,[],e)}Object.setPrototypeOf(e.prototype,HTMLElement.prototype),Object.setPrototypeOf(e,HTMLElement),customElements.define("iconify-icon",e)}()}catch(e){}n.addTag("iconify-icon",!1),f.findNewImages=function(c,l){var d=[],u=[];return(c=void 0===c?void 0===e._root?document.body:e._root:c)&&p.forEach(function(e){var t,i,n,o,r=h[e],s=!0===l?r.selectorLoading:!1===l?r.selectorNew:r.selectorAll,a=c.querySelectorAll(s);for(t=0;t<a.length;t++)i=a[t],(n=r.icon(i))&&-1===u.indexOf(i)&&(u.push(i),o=f.newImage(i,n,r),d.push(o))}),d},f.findParsedImages=function(e){var t,i,n,o=[],r=e.querySelectorAll("svg."+s);for(t=0;t<r.length;t++)(n=(i=r[t]).getAttribute(a))&&o.push(f.parsedImage(i,n));return o}}(e,f,f.config),function(r,s,c,o){var l={},d={},a={},u=!1,f={session:!0,local:!0},h={session:0,local:0};function p(){var r=c.loaderMaxURLSize,o={};function s(e,t){var i,n=o[e];n=n.replace("{icons}",t.join(",")),(i=document.createElement("script")).setAttribute("type","text/javascript"),i.setAttribute("src",n),i.setAttribute("async",!0),document.head.appendChild(i)}function a(e){var t=void 0===c.API[e]?c.defaultAPI:c.API[e];return-1===t.indexOf("{icons}")?(o[e]=t,null):(t=t.replace("{prefix}",e).replace("{callback}","Iconify._loaderCallback"),(o[e]=t).replace("{icons}","").length)}Object.keys(l).forEach(function(i){var n=a(i),o=[];if(null===n)return s(i,[]),void(d[i]=!0);l[i].forEach(function(e,t){n+=e.length+1,r<=n&&(s(i,o),o=[],n=a(i)+e.length+1),o.push(e)}),o.length&&s(i,o),d[i]=void 0===d[i]?l[i]:d[i].concat(l[i]),delete l[i]}),u=!1}function v(e,t,i){return i||s.domready||c.loadBeforeDOMReady?(void 0===l[e]||-1===l[e].indexOf(t))&&(void 0===d[e]||!0!==d[e]&&-1===d[e].indexOf(t))&&(void 0===l[e]&&(l[e]=[]),l[e].push(t),u||(u=!0,window.setTimeout(p,0)),!0):(o=t,void 0===a[n=e]&&(a[n]={}),a[n][o]=!0,void 0===s._loaderDOMReady&&(s._loaderDOMReady=s.DOMReadyCallback,s.DOMReadyCallback=function(){s._loaderDOMReady(),Object.keys(a).forEach(function(t){Object.keys(a[t]).forEach(function(e){r.iconExists(e,t)||v(t,e,!0)})})}),!0);var n,o}r._loaderCallback=function(i){var n=!1;"object"==typeof i&&(r.addCollection(i),["local","session"].forEach(function(t){var e;if(!n&&f[t]&&c[t+"Storage"]){e=o[t+"Storage"];try{h[t]||e.setItem("ssvg-version",s.version),e.setItem("ssvg-icons"+h[t],JSON.stringify(i)),n=!0,h[t]++,e.setItem("ssvg-count",h[t])}catch(e){f[t]=!1}}}),s.event(c._loaderEvent))},s.loadImage=function(e,t){var i=s.getPrefix(e.icon);return!!r.iconExists(i.icon,i.prefix)||(!1!==t&&v(i.prefix,i.icon,!1)&&e.element.classList.add(c._loadingClass),!1)},r.preloadImages=function(e){var t,i=!1;return e.forEach(function(e){t=s.getPrefix(e),r.iconExists(t.icon,t.prefix)||(v(t.prefix,t.icon,!0),i=!0)}),i},["local","session"].forEach(function(t){var e,i,n;try{if("object"!=typeof(e=o[t+"Storage"]))return void(f[t]=!1);if(e.getItem("ssvg-version")!==s.version)return;if("number"!=typeof(n=parseInt(e.getItem("ssvg-count")))||isNaN(n))return;for(;;){if(h[t]>=n)return;if("string"!=typeof(i=e.getItem("ssvg-icons"+h[t])))return;"object"==typeof(i=JSON.parse(i))&&r.addCollection(i),h[t]++}}catch(e){f[t]=!1}})}(e,f,f.config,t),function(e,t,i,n){var o=null,r=0,s=null,a=!1,c={childList:!0,subtree:!0};function l(){var e;!1!==a&&a.length?(e=a,a=!1,t.scanDOM(e)):a=!1}function d(e){e.forEach(function(e){var t;if(!1===a&&(a=[],window.setTimeout(l,0)),e.addedNodes)for(t=0;t<e.addedNodes.length;t++)a.push(e.addedNodes[t])})}function u(){o.observe(void 0===i._root?document.querySelector("body"):i._root,c)}e.pauseObserving=function(){null!==o&&(r||(s=o.takeRecords(),o.disconnect())),r++},e.resumeObserving=function(){null!==o?r&&(--r||(u(),null!==s&&s.length&&d(s))):r--},e.isObserverPaused=function(){return null===o||!!r},t.readyQueue.push(function(){return o=new n.MutationObserver(d),r||u(),!0})}(e,f,f.config,t),function(l,d,e){var u=e._iconAttribute,f=e._loadingClass,h=e._imageClass,p=e._appendedClass;function v(e,t){var i;return"<?"===e.slice(0,2)&&(i=e.indexOf(">"),e=e.slice(i+1)),e=-1!==(i=(e=e.replace("viewbox=","viewBox=").replace("preserveaspectratio=","preserveAspectRatio=")).indexOf("</"))?e.replace("</",t+"</"):e.replace("/>",">"+t+"</svg>")}d.renderSVG=function(t){var e,i,n,o,r,s,a=d.getImageAttributes(t),c=l.getIcon(t.icon);a[u]=t.icon,e=new d.SVG(c),n=document.createElement("svg"),r=e.attributes(a),Object.keys(r.attributes).forEach(function(e){try{n.setAttribute(e,r.attributes[e])}catch(e){}}),Object.keys(r.elementAttributes).forEach(function(e){try{(r.append?t.element:n).setAttribute(e,r.elementAttributes[e])}catch(e){}}),t.loading&&(n.classList.remove(f),r.append&&t.element.classList.remove(f)),n.classList.add(h),s=v(n.outerHTML,r.body),(o=document.createElement("span")).innerHTML=s,i=o.childNodes[0],r.append?(t.element.classList.add(p),t.element.appendChild(i)):(t.element.parentNode.replaceChild(i,t.element),t.element=i),delete t.parser,delete t.loading},l.getSVG=function(e,t){var i,n,o;return!!l.iconExists(e)&&(i=new d.SVG(l.getIcon(e)),o=i.attributes(t,!1),n=document.createElement("svg"),Object.keys(o.attributes).forEach(function(e){try{n.setAttribute(e,o.attributes[e])}catch(e){}}),v(n.outerHTML,o.body))}}(e,f,f.config),d=e,(u=f).scanDOM=function(){var t=!1;function e(){u.findNewImages().forEach(function(e){u.loadImage(e)&&(t||(t=!0,d.pauseObserving()),u.renderSVG(e))})}if(u.ready)e();else try{e()}catch(e){}t&&d.resumeObserving()},d.scanDOM=u.scanDOM,d.getVersion=function(){return u.version}}(self.Iconify,self));
"use strict";void 0===self.Iconify&&(self.Iconify={isReady:!1},self.SimpleSVG=self.Iconify,function(e,t){var i,n,o,r,s,a,c,l,d,u,f={config:{},version:"1.0.0-rc1"};i=f,function(){function e(e,t){var i;return t=t||{bubbles:!1,cancelable:!1,detail:void 0},(i=document.createEvent("CustomEvent")).initCustomEvent(e,t.bubbles,t.cancelable,t.detail),i}"function"!=typeof window.CustomEvent&&(e.prototype=window.Event.prototype,window.CustomEvent=e)}(),i.event=function(e,t){document.dispatchEvent(new CustomEvent(e,t))},function(t,i,n){var o=null;function e(){document.removeEventListener("DOMContentLoaded",e),window.removeEventListener("load",e),i.DOMReadyCallback()}i.DOMReadyCallback=function(){i.domready=!0,i.nextInitItem()},i.initTimeout=function(e){function t(){if(null!==o){if(!1!==o.callback())return o.stop(),void i.nextInitItem();o.counter++,10!==o.counter&&25!==o.counter||(window.clearInterval(o.id),o.id=window.setInterval(t,10===o.counter?250:1e3))}}null!==o&&o.stop(),o={id:window.setInterval(t,100),counter:0,callback:e,stop:function(){window.clearInterval(o.id),o=null},nextTick:t}},i.domready=!1,i.ready=!1,i.initQueue=[],i.readyQueue=[],i.nextInitItem=function(){var e;if(!i.ready){if(i.initQueue.length)e=i.initQueue.shift();else{if(!i.domready)return void i.initTimeout(function(){return!i.domready&&document.body&&i.scanDOM(),i.domready});if(!i.readyQueue.length)return i.ready=t.isReady=!0,i.event(n._readyEvent),void i.scanDOM();e=i.readyQueue.shift()}!1!==e()&&i.nextInitItem()}},i.addStylesheet=function(e){var t;return document.head&&document.body?((t=document.createElement("style")).type="text/css",t.innerHTML="span.iconify, i.iconify, iconify-icon { display: inline-block; width: 1em; }",null!==document.head.firstChild?document.head.insertBefore(t,document.head.firstChild):document.head.appendChild(t),!0):!!i.domready||(e||i.initTimeout(i.addStylesheet.bind(null,!0)),!1)},i.initQueue.push(i.addStylesheet.bind(null,!1)),t.ready=function(e){t.isReady?window.setTimeout(e):document.addEventListener(n._readyEvent,e)},window.setTimeout(function(){"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?i.domready=!0:(document.addEventListener("DOMContentLoaded",e),window.addEventListener("load",e)),i.nextInitItem()})}(e,f,f.config),(n=f.config).SVGAttributes={},n._imageClass="iconify",n._loadingClass="svg-loading",n._iconAttribute="data-icon",n._rotateAttribute="data-rotate",n._flipAttribute="data-flip",n._inlineModeAttribute="data-inline",n._alignAttribute="data-align",n._appendAttribute="data-icon-append",n._appendedClass="svg-appended",n._readyEvent="IconifyReady",n._webComponentsPolyfill="//cdnjs.cloudflare.com/ajax/libs/webcomponentsjs/0.7.24/webcomponents-lite.min.js",n._classListPolyfill="//cdnjs.cloudflare.com/ajax/libs/classlist/1.1.20150312/classList.min.js",(o=f.config).defaultAPI="//api.iconify.design/{prefix}.js?icons={icons}",o.API={},o.loaderMaxURLSize=500,o.loadBeforeDOMReady=!(document&&document.body),o._loaderEvent="IconifyAddedIcons",o.sessionStorage=!0,o.localStorage=!!(window&&window.localStorage&&window.localStorage.length),function(e,i,t,o){function n(t,i,e){var n=t;if("_"!==t.slice(0,1)){if(void 0===o[t]){if(!e||void 0===o["_"+t])return;n="_"+t}switch(n){case"API":case"SVGAttributes":Object.keys(i).forEach(function(e){null===i[t]?delete o[n][e]:o[n][e]=i[e]});break;default:o[n]=i}}}e.setConfig=function(e,t){n(e,t,!1)},e.setCustomAPI=function(e,t){switch(typeof e){case"string":[e];break;case"object":if(e instanceof Array){e;break}default:return}e.forEach(function(e){null===t?delete o.API[e]:o.API[e]=t})},e.getConfig=function(e){return void 0===o[e]?void 0===o["_"+e]?null:o["_"+e]:o[e]},["SimpleSVG","Iconify"].forEach(function(e){var t;void 0!==i[e+"Config"]&&"object"==typeof i[e+"Config"]&&(t=i[e+"Config"],Object.keys(t).forEach(function(e){n(e,t,!0)}))})}(e,t,0,f.config),s=(r=f).config,a=t,r.initQueue.push(function(){var e={observer:!1,classList:!1},t={observer:!1,classList:!1};function i(e){var t;return!e.length||(document.head?((t=document.createElement("script")).setAttribute("src",e),t.setAttribute("type","text/javascript"),document.head.appendChild(t),!0):r.domready)}function n(){return"classList"in document.createElement("div")||(t.classList||(t.classList=i(s._classListPolyfill)),!1)}function o(){return a.MutationObserver&&a.WeakMap||t.observer||(t.observer=i(s._webComponentsPolyfill)),!0}return e.classList=!n(),e.observer=!o(),!e.classList&&!e.observer||(r.initTimeout(function(){return!(e.observer&&!o()||e.classList&&!n())}),!1)}),f.getPrefix=function(e,t){var i;return"string"==typeof t&&""!==t?{prefix:t,icon:e}:2===(i=e.split(":")).length?{prefix:i[0],icon:i[1]}:1<(i=e.split("-")).length?{prefix:t=i.shift(),icon:i.join("-")}:{prefix:"",icon:e}},function(){var s=f.getPrefix,t={left:0,top:0,width:16,height:16,rotate:0,vFlip:!1,hFlip:!1},e=["left","top","width","height","body","rotate","vFlip","hFlip","inlineTop","inlineHeight","verticalAlign"];function a(e,t){return function(e,t){switch(e){case"rotate":return t=parseInt(t),isNaN(t)?null:t;case"width":case"height":case"inlineHeight":case"inlineTop":case"verticalAlign":return t=parseFloat(t),isNaN(t)?null:t;case"vFlip":case"hFlip":return!!t;case"body":case"parent":return"string"==typeof t?t:null}return t}("rotate",e+t)}function c(e,t){return!!e!=!!t}function l(e){var i={};return(void 0===e._defaults?[e,t]:[e,e._defaults,t]).forEach(function(t){Object.keys(t).forEach(function(e){"object"!=typeof t[e]&&void 0===i[e]&&(i[e]=t[e])})}),void 0===i.inlineTop&&(i.inlineTop=i.top),void 0===i.inlineHeight&&(i.inlineHeight=i.height),void 0===i.verticalAlign&&(i.height%7==0&&i.height%8!=0?i.verticalAlign=-.143:i.verticalAlign=-.125),i}function i(){return this._icons={},this._aliases={},this._resolved={},this._add=function(e,t,i){var n=e?"_aliases":"_icons";void 0===this._resolved[t.prefix]?(this._resolved[t.prefix]={},this._icons[t.prefix]={},this._aliases[t.prefix]={}):(delete this._icons[t.prefix][t.icon],delete this._aliases[t.prefix][t.icon]),this._resolved[t.prefix][t.icon]=!1,this[n][t.prefix][t.icon]=i},this._resolveIcon=function(e){var t,i,n,o,r,s;if(void 0===this._resolved[e.prefix]||void 0===this._resolved[e.prefix][e.icon])return null;if(!1!==this._resolved[e.prefix][e.icon])return this._resolved[e.prefix][e.icon];if(void 0!==this._icons[e.prefix][e.icon])return this._resolved[e.prefix][e.icon]=l(this._icons[e.prefix][e.icon]);for(i=0,t=this._aliases[e.prefix][e.icon],n={},Object.keys(t).forEach(function(e){"parent"!==e&&(n[e]=t[e])}),o=t.parent;;){if(5<++i||void 0===this._resolved[e.prefix][o])return this._resolved[e.prefix][e.icon]=null;if(r=void 0===this._icons[e.prefix][o],s=this[r?"_aliases":"_icons"][e.prefix][o],Object.keys(s).forEach(function(e){if(void 0!==n[e])switch(e){case"rotate":n[e]=a(n[e],s[e]);break;case"hFlip":case"vFlip":n[e]=c(n[e],s[e])}else"parent"!==e&&(n[e]=s[e])}),!r)break;o=s.parent}return this._resolved[e.prefix][e.icon]=l(n)},this.addCollection=function(n){var o=this,r={};e.forEach(function(e){void 0!==n[e]?r[e]=n[e]:void 0!==t[e]&&(r[e]=t[e])}),void 0!==n.icons&&Object.keys(n.icons).forEach(function(e){var t=s(e,n.prefix),i=n.icons[e];void 0!==i.body&&(i._defaults=r,o._add(!1,t,i))}),void 0!==n.aliases&&Object.keys(n.aliases).forEach(function(e){var t=s(e,n.prefix),i=n.aliases[e];if(void 0!==i.parent){if(void 0===n.prefix){if(i.parent.slice(0,t.prefix.length)!==t.prefix)return;i.parent=i.parent.slice(t.prefix.length+1)}o._add(!0,t,i)}})},this.addIcon=function(e,t,i){var n=void 0!==t.parent,o=s(e,i);if(n&&void 0===i){if(t.parent.slice(0,o.prefix.length)!==o.prefix)return;t.parent=t.parent.slice(o.prefix.length+1)}this._add(n,o,t)},this.exists=function(e,t){var i=s(e,t);return void 0!==this._resolved[i.prefix]&&void 0!==this._resolved[i.prefix][i.icon]},this.getIcon=function(e,t){var i=s(e,t);return this._resolveIcon(i)},this.copyIcon=function(e,t){var i,n=this.getIcon(e,t);return null===n?null:(i={},Object.keys(n).forEach(function(e){i[e]=n[e]}),i)},this.list=function(e){var i,n;return void 0!==e?void 0===this._resolved[e]?[]:Object.keys(this._resolved[e]):(i=[],n=this._resolved,Object.keys(n).forEach(function(t){i=i.concat(Object.keys(n[t]).map(function(e){return""===t&&-1===e.indexOf("-")?e:t+":"+e}))}),i)},this}i.mergeFlip=c,i.mergeRotation=a,i.blankIcon=function(){return l({body:"",width:16,height:16})},f.Storage=i}(),function(t,e,i){var n=!1,o=new e.Storage;function r(){n&&(n=!1,e.scanDOM())}t.addCollection=function(e){o.addCollection(e),n||(n=!0,window.setTimeout(r,0))},t.addIcon=function(e,t){o.addIcon(e,t),n||(n=!0,window.setTimeout(r,0))},t.iconExists=o.exists.bind(o),t.getIcon=o.copyIcon.bind(o),t.listIcons=o.list.bind(o),["SimpleSVG","Iconify"].forEach(function(e){void 0!==i[e+"Preload"]&&i[e+"Preload"]instanceof Array&&i[e+"Preload"].forEach(function(e){"object"==typeof e&&void 0!==e.icons&&t.addCollection(e)})})}(e,f,t),function(){var e=f.Storage,w=f.config,c=/(-?[0-9.]*[0-9]+[0-9.]*)/g,l=/^-?[0-9.]*[0-9]+[0-9.]*$/g,_=["width","height","inline"],x=0;function I(e,t,i){var n,o,r,s,a;if(1===t)return e;if(i=void 0===i?100:i,"number"==typeof e)return Math.ceil(e*t*i)/i;if("string"!=typeof e)return e;if(null===(n=e.split(c))||!n.length)return e;for(o=[],r=n.shift(),s=l.test(r);;){if(s?(a=parseFloat(r),isNaN(a)?o.push(r):o.push(Math.ceil(a*t*i)/i)):o.push(r),void 0===(r=n.shift()))return o.join("");s=!s}}function A(e,t,i){var n,o,r;for(n=0;n<t.length;n++)if(void 0!==e[o=t[n]])switch(typeof(r=e[o])){case"boolean":return r;case"number":return!!r;case"string":switch(r.toLowerCase()){case"1":case"true":case o:return!0;case"0":case"false":case"":return!1}}return i}function E(e,t,i){var n,o;for(n=0;n<t.length;n++)if(void 0!==e[o=t[n]])return e[o];return i}f.SVG=function(y){return y||(y=e.blankIcon()),this.item=y,this.height=function(e,t,i){return void 0===e?t?this.item.inlineHeight:this.item.height:I(e,(t?this.item.inlineHeight:this.item.height)/this.item.width,i)},this.width=function(e,t,i){return void 0===e?this.item.width:I(e,this.item.width/(t?this.item.inlineHeight:this.item.height),i)},this.defaultAttributes=function(){return{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":"true"}},this.preserveAspectRatio=function(e,t,i){var n="";switch(e){case"left":n+="xMin";break;case"right":n+="xMax";break;default:n+="xMid"}switch(t){case"top":n+="YMin";break;case"bottom":n+="YMax";break;default:n+="YMid"}return n+=!0===i?" slice":" meet"},this.attributes=function(t){var e,i,n,o,r,s,a,c,l,d,u,f,h,p={horizontal:"center",vertical:"middle",crop:!1},v={rotate:y.rotate,hFlip:y.hFlip,vFlip:y.vFlip},g="",b=this.defaultAttributes(),m=[];if(s=A(t="object"==typeof t?t:{},[w._inlineModeAttribute,"inline"],!0),d=A(t,[w._appendAttribute],!1),e={left:y.left,top:s?y.inlineTop:y.top,width:y.width,height:s?y.inlineHeight:y.height},"string"==typeof t[w._flipAttribute]&&t[w._flipAttribute].split(/[\s,]+/).forEach(function(e){switch(e=e.toLowerCase()){case"horizontal":v.hFlip=!v.hFlip;break;case"vertical":v.vFlip=!v.vFlip}}),void 0!==t[w._rotateAttribute])if("number"==typeof(c=t[w._rotateAttribute]))v.rotate+=c;else if("string"==typeof c)if(""===(u=c.replace(/^-?[0-9.]*/,"")))c=parseInt(c),isNaN(c)||(v.rotate+=c);else if(u!==c){switch(l=!1,u){case"%":l=25;break;case"deg":l=90}l&&(c=parseInt(c.slice(0,c.length-u.length)),isNaN(c)||(v.rotate+=Math.round(c/l)))}switch(v.hFlip?v.vFlip?v.rotate+=2:(m.push("translate("+(e.width+e.left)+" "+(0-e.top)+")"),m.push("scale(-1 1)"),e.top=e.left=0):v.vFlip&&(m.push("translate("+(0-e.left)+" "+(e.height+e.top)+")"),m.push("scale(1 -1)"),e.top=e.left=0),v.rotate%4){case 1:h=e.height/2+e.top,m.unshift("rotate(90 "+h+" "+h+")"),0===e.left&&0===e.top||(h=e.left,e.left=e.top,e.top=h),e.width!==e.height&&(h=e.width,e.width=e.height,e.height=h);break;case 2:m.unshift("rotate(180 "+(e.width/2+e.left)+" "+(e.height/2+e.top)+")");break;case 3:h=e.width/2+e.left,m.unshift("rotate(-90 "+h+" "+h+")"),0===e.left&&0===e.top||(h=e.left,e.left=e.top,e.top=h),e.width!==e.height&&(h=e.width,e.width=e.height,e.height=h)}return i=E(t,["data-width","width"],null),n=E(t,["data-height","height"],null),null===i&&null===n&&(n="1em"),null!==i&&null!==n?(o=i,r=n):null!==i?r=I(o=i,e.height/e.width):o=I(r=n,e.width/e.height),!1!==o&&(b.width="auto"===o?e.width:o),!1!==r&&(b.height="auto"===r?e.height:r),s&&0!==y.verticalAlign&&(g+="vertical-align: "+y.verticalAlign+"em;"),"string"==typeof t[w._alignAttribute]&&t[w._alignAttribute].toLowerCase().split(/[\s,]+/).forEach(function(e){switch(e){case"left":case"right":case"center":p.horizontal=e;break;case"top":case"bottom":case"middle":p.vertical=e;break;case"crop":p.crop=!0;break;case"meet":p.crop=!1}}),g+="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);",b.style=g+(void 0===t.style?"":t.style),b.preserveAspectRatio=this.preserveAspectRatio(p.horizontal,p.vertical,p.crop),b.viewBox=e.left+" "+e.top+" "+e.width+" "+e.height,a=function(i){var e,n,t=/\sid="(\S+)"/g,o=[];function r(e,t,i){for(var n=0;-1!==(n=i.indexOf(e,n));)i=i.slice(0,n)+t+i.slice(n+e.length),n+=t.length;return i}for(;e=t.exec(i);)o.push(e[1]);return o.length&&(n="IconifyId-"+Date.now().toString(16)+"-"+(16777216*Math.random()|0).toString(16)+"-",o.forEach(function(e){var t=n+x;x++,i=r("(#"+e+")","(#"+t+")",i=r('="#'+e+'"','="#'+t+'"',i=r('="'+e+'"','="'+t+'"',i)))})),i}(this.item.body),m.length&&(a='<g transform="'+m.join(" ")+'">'+a+"</g>"),f={},Object.keys(t).forEach(function(e){void 0===b[e]&&-1===_.indexOf(e)&&(f[e]=t[e])}),{attributes:b,elementAttributes:f,body:a,append:d}},this}}(),l=(c=f).config._loadingClass,c.newImage=function(e,t,i){return{element:e,icon:t,parser:i,loading:e.classList.contains(l)}},c.parsedImage=function(e,t){return{element:e,icon:t}},c.getImageAttributes=function(t){var e,i,n={};if(!t.element.hasAttributes())return n;for(e=0;e<t.element.attributes.length;e++)i=t.element.attributes[e],n[i.name]=i.value;return t.parser&&void 0!==t.parser.filterAttributes&&(n=t.parser.filterAttributes(t,n)),void 0!==n.class&&(n.class=n.class.split(" ").filter(function(e){return e!==l}),t.parser&&void 0!==t.parser.filterClasses&&(n.class=t.parser.filterClasses(t,n.class)),n.class=n.class.join(" ")),void 0!==t.attributes&&Object.keys(t.attributes).forEach(function(e){n[e]=t.attributes[e]}),n},function(n,f,e){var s=e._imageClass,t=e._loadingClass,i=e._appendedClass,a=e._iconAttribute,o=e._inlineModeAttribute,r=":not(svg):not(."+i+")",c=":not(."+t+")",l="."+t,h={iconify:{selector:"."+s,selectorAll:"."+s+r,selectorNew:"."+s+r+c,selectorLoading:"."+s+r+l,icon:function(e){var t,i=e.getAttribute(a);if("string"==typeof i)return i;for(var n=0;n<e.classList.length;n++)if(5<(t=e.classList[n]).length&&"icon:"===t.slice(0,5))return t.slice(5);return""},filterClasses:function(e,t){var i,n,o;for(n=0;n<t.length;n++)"icon-"===(i=t[n]).slice(0,5)&&2===(i=i.slice(5).split(":")).length&&(o="data-"+i[0],void 0===e.attributes&&(e.attributes={}),e.attributes[o]=i[1]);return t}}},p=Object.keys(h);n.addFinder=function(e,t){void 0===t.selectorAll&&(t.selectorAll=t.selector+r),void 0===t.selectorNew&&(t.selectorNew=t.selector+r+c),void 0===t.selectorLoading&&(t.selectorLoading=t.selector+r+l),h[e]=t,p=Object.keys(h),n.isReady&&n.scanDOM()},n.addTag=function(e,i,t){n.addFinder("tag-"+e,{selector:e,icon:null==t?h.iconify.icon:t,filterAttributes:function(e,t){return void 0===t[o]&&(t[o]=i),t}})};try{"object"==typeof Reflect&&"object"==typeof customElements&&Object.setPrototypeOf&&function(){function e(){return Reflect.construct(HTMLElement,[],e)}Object.setPrototypeOf(e.prototype,HTMLElement.prototype),Object.setPrototypeOf(e,HTMLElement),customElements.define("iconify-icon",e)}()}catch(e){}n.addTag("iconify-icon",!1),f.findNewImages=function(c,l){var d=[],u=[];return(c=void 0===c?void 0===e._root?document.body:e._root:c)&&p.forEach(function(e){var t,i,n,o,r=h[e],s=!0===l?r.selectorLoading:!1===l?r.selectorNew:r.selectorAll,a=c.querySelectorAll(s);for(t=0;t<a.length;t++)i=a[t],(n=r.icon(i))&&-1===u.indexOf(i)&&(u.push(i),o=f.newImage(i,n,r),d.push(o))}),d},f.findParsedImages=function(e){var t,i,n,o=[],r=e.querySelectorAll("svg."+s);for(t=0;t<r.length;t++)(n=(i=r[t]).getAttribute(a))&&o.push(f.parsedImage(i,n));return o}}(e,f,f.config),function(r,s,c,o){var l={},d={},a={},u=!1,f={session:!0,local:!0},h={session:0,local:0};function p(){var r=c.loaderMaxURLSize,o={};function s(e,t){var i,n=o[e];n=n.replace("{icons}",t.join(",")),(i=document.createElement("script")).setAttribute("type","text/javascript"),i.setAttribute("src",n),i.setAttribute("async",!0),document.head.appendChild(i)}function a(e){var t=void 0===c.API[e]?c.defaultAPI:c.API[e];return-1===t.indexOf("{icons}")?(o[e]=t,null):(t=t.replace("{prefix}",e).replace("{callback}","Iconify._loaderCallback"),(o[e]=t).replace("{icons}","").length)}Object.keys(l).forEach(function(i){var n=a(i),o=[];if(null===n)return s(i,[]),void(d[i]=!0);l[i].forEach(function(e,t){n+=e.length+1,r<=n&&(s(i,o),o=[],n=a(i)+e.length+1),o.push(e)}),o.length&&s(i,o),d[i]=void 0===d[i]?l[i]:d[i].concat(l[i]),delete l[i]}),u=!1}function v(e,t,i){return i||s.domready||c.loadBeforeDOMReady?(void 0===l[e]||-1===l[e].indexOf(t))&&(void 0===d[e]||!0!==d[e]&&-1===d[e].indexOf(t))&&(void 0===l[e]&&(l[e]=[]),l[e].push(t),u||(u=!0,window.setTimeout(p,0)),!0):(o=t,void 0===a[n=e]&&(a[n]={}),a[n][o]=!0,void 0===s._loaderDOMReady&&(s._loaderDOMReady=s.DOMReadyCallback,s.DOMReadyCallback=function(){s._loaderDOMReady(),Object.keys(a).forEach(function(t){Object.keys(a[t]).forEach(function(e){r.iconExists(e,t)||v(t,e,!0)})})}),!0);var n,o}r._loaderCallback=function(i){var n=!1;"object"==typeof i&&(["local","session"].forEach(function(t){var e;if(!n&&f[t]&&c[t+"Storage"]){e=o[t+"Storage"];try{h[t]||e.setItem("iconify-version",s.version),e.setItem("iconify"+h[t],JSON.stringify(i)),n=!0,h[t]++,e.setItem("iconify-count",h[t])}catch(e){f[t]=!1}}}),r.addCollection(i),s.event(c._loaderEvent))},s.loadImage=function(e,t){var i=s.getPrefix(e.icon);return!!r.iconExists(i.icon,i.prefix)||(!1!==t&&v(i.prefix,i.icon,!1)&&e.element.classList.add(c._loadingClass),!1)},r.preloadImages=function(e){var t,i=!1;return e.forEach(function(e){t=s.getPrefix(e),r.iconExists(t.icon,t.prefix)||(v(t.prefix,t.icon,!0),i=!0)}),i},["local","session"].forEach(function(t){var e,i,n;try{if("object"!=typeof(e=o[t+"Storage"]))return void(f[t]=!1);if(e.getItem("iconify-version")!==s.version)return;if("number"!=typeof(n=parseInt(e.getItem("iconify-count")))||isNaN(n))return;for(;;){if(h[t]>=n)return;if("string"!=typeof(i=e.getItem("iconify"+h[t])))return;"object"==typeof(i=JSON.parse(i))&&r.addCollection(i),h[t]++}}catch(e){f[t]=!1}})}(e,f,f.config,t),function(e,t,i,n){var o=null,r=0,s=null,a=!1,c={childList:!0,subtree:!0};function l(){var e;!1!==a&&a.length?(e=a,a=!1,t.scanDOM(e)):a=!1}function d(e){e.forEach(function(e){var t;if(!1===a&&(a=[],window.setTimeout(l,0)),e.addedNodes)for(t=0;t<e.addedNodes.length;t++)a.push(e.addedNodes[t])})}function u(){o.observe(void 0===i._root?document.querySelector("body"):i._root,c)}e.pauseObserving=function(){null!==o&&(r||(s=o.takeRecords(),o.disconnect())),r++},e.resumeObserving=function(){null!==o?r&&(--r||(u(),null!==s&&s.length&&d(s))):r--},e.isObserverPaused=function(){return null===o||!!r},t.readyQueue.push(function(){return o=new n.MutationObserver(d),r||u(),!0})}(e,f,f.config,t),function(l,d,e){var u=e._iconAttribute,f=e._loadingClass,h=e._imageClass,p=e._appendedClass;function v(e,t){var i;return"<?"===e.slice(0,2)&&(i=e.indexOf(">"),e=e.slice(i+1)),e=-1!==(i=(e=e.replace("viewbox=","viewBox=").replace("preserveaspectratio=","preserveAspectRatio=")).indexOf("</"))?e.replace("</",t+"</"):e.replace("/>",">"+t+"</svg>")}d.renderSVG=function(t){var e,i,n,o,r,s,a=d.getImageAttributes(t),c=l.getIcon(t.icon);a[u]=t.icon,e=new d.SVG(c),n=document.createElement("svg"),r=e.attributes(a),Object.keys(r.attributes).forEach(function(e){try{n.setAttribute(e,r.attributes[e])}catch(e){}}),Object.keys(r.elementAttributes).forEach(function(e){try{(r.append?t.element:n).setAttribute(e,r.elementAttributes[e])}catch(e){}}),t.loading&&(n.classList.remove(f),r.append&&t.element.classList.remove(f)),n.classList.add(h),s=v(n.outerHTML,r.body),(o=document.createElement("span")).innerHTML=s,i=o.childNodes[0],r.append?(t.element.classList.add(p),t.element.appendChild(i)):(t.element.parentNode.replaceChild(i,t.element),t.element=i),delete t.parser,delete t.loading},l.getSVG=function(e,t){var i,n,o;return!!l.iconExists(e)&&(i=new d.SVG(l.getIcon(e)),o=i.attributes(t,!1),n=document.createElement("svg"),Object.keys(o.attributes).forEach(function(e){try{n.setAttribute(e,o.attributes[e])}catch(e){}}),v(n.outerHTML,o.body))}}(e,f,f.config),d=e,(u=f).scanDOM=function(){var t=!1;function e(){u.findNewImages().forEach(function(e){u.loadImage(e)&&(t||(t=!0,d.pauseObserving()),u.renderSVG(e))})}if(u.ready)e();else try{e()}catch(e){}t&&d.resumeObserving()},d.scanDOM=u.scanDOM,d.getVersion=function(){return u.version}}(self.Iconify,self));

@@ -1,1 +0,1 @@

"use strict";void 0===self.Iconify&&(self.Iconify={isReady:!1},self.SimpleSVG=self.Iconify,function(e,t){var i,n,o,r,s,a,c,l,d,u,f={config:{},version:"1.0.0-beta7"};i=f,function(){function e(e,t){var i;return t=t||{bubbles:!1,cancelable:!1,detail:void 0},(i=document.createEvent("CustomEvent")).initCustomEvent(e,t.bubbles,t.cancelable,t.detail),i}"function"!=typeof window.CustomEvent&&(e.prototype=window.Event.prototype,window.CustomEvent=e)}(),i.event=function(e,t){document.dispatchEvent(new CustomEvent(e,t))},function(t,i,n){var o=null;function e(){document.removeEventListener("DOMContentLoaded",e),window.removeEventListener("load",e),i.DOMReadyCallback()}i.DOMReadyCallback=function(){i.domready=!0,i.nextInitItem()},i.initTimeout=function(e){function t(){if(null!==o){if(!1!==o.callback())return o.stop(),void i.nextInitItem();o.counter++,10!==o.counter&&25!==o.counter||(window.clearInterval(o.id),o.id=window.setInterval(t,10===o.counter?250:1e3))}}null!==o&&o.stop(),o={id:window.setInterval(t,100),counter:0,callback:e,stop:function(){window.clearInterval(o.id),o=null},nextTick:t}},i.domready=!1,i.ready=!1,i.initQueue=[],i.readyQueue=[],i.nextInitItem=function(){var e;if(!i.ready){if(i.initQueue.length)e=i.initQueue.shift();else{if(!i.domready)return void i.initTimeout(function(){return!i.domready&&document.body&&i.scanDOM(),i.domready});if(!i.readyQueue.length)return i.ready=t.isReady=!0,i.event(n._readyEvent),void i.scanDOM();e=i.readyQueue.shift()}!1!==e()&&i.nextInitItem()}},i.addStylesheet=function(e){var t;return document.head&&document.body?((t=document.createElement("style")).type="text/css",t.innerHTML="span.iconify, i.iconify, iconify-icon { display: inline-block; width: 1em; }",null!==document.head.firstChild?document.head.insertBefore(t,document.head.firstChild):document.head.appendChild(t),!0):!!i.domready||(e||i.initTimeout(i.addStylesheet.bind(null,!0)),!1)},i.initQueue.push(i.addStylesheet.bind(null,!1)),t.ready=function(e){t.isReady?window.setTimeout(e):document.addEventListener(n._readyEvent,e)},window.setTimeout(function(){"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?i.domready=!0:(document.addEventListener("DOMContentLoaded",e),window.addEventListener("load",e)),i.nextInitItem()})}(e,f,f.config),(n=f.config).SVGAttributes={},n._imageClass="iconify",n._loadingClass="svg-loading",n._iconAttribute="data-icon",n._rotateAttribute="data-rotate",n._flipAttribute="data-flip",n._inlineModeAttribute="data-inline",n._alignAttribute="data-align",n._appendAttribute="data-icon-append",n._appendedClass="svg-appended",n._readyEvent="IconifyReady",n._webComponentsPolyfill="//cdnjs.cloudflare.com/ajax/libs/webcomponentsjs/0.7.24/webcomponents-lite.min.js",n._classListPolyfill="//cdnjs.cloudflare.com/ajax/libs/classlist/1.1.20150312/classList.min.js",(o=f.config).defaultAPI="//api.iconify.design/{prefix}.js?icons={icons}",o.API={},o.loaderMaxURLSize=500,o.loadBeforeDOMReady=!(document&&document.body),o._loaderEvent="IconifyAddedIcons",o.sessionStorage=!0,o.localStorage=!!(window&&window.localStorage&&window.localStorage.length),function(e,i,t,o){function n(t,i,e){var n=t;if("_"!==t.slice(0,1)){if(void 0===o[t]){if(!e||void 0===o["_"+t])return;n="_"+t}switch(n){case"API":case"SVGAttributes":Object.keys(i).forEach(function(e){null===i[t]?delete o[n][e]:o[n][e]=i[e]});break;default:o[n]=i}}}e.setConfig=function(e,t){n(e,t,!1)},e.setCustomAPI=function(e,t){switch(typeof e){case"string":[e];break;case"object":if(e instanceof Array){e;break}default:return}e.forEach(function(e){null===t?delete o.API[e]:o.API[e]=t})},e.getConfig=function(e){return void 0===o[e]?void 0===o["_"+e]?null:o["_"+e]:o[e]},["SimpleSVG","Iconify"].forEach(function(e){var t;void 0!==i[e+"Config"]&&"object"==typeof i[e+"Config"]&&(t=i[e+"Config"],Object.keys(t).forEach(function(e){n(e,t,!0)}))})}(e,t,0,f.config),s=(r=f).config,a=t,r.initQueue.push(function(){var e={observer:!1,classList:!1},t={observer:!1,classList:!1};function i(e){var t;return!e.length||(document.head?((t=document.createElement("script")).setAttribute("src",e),t.setAttribute("type","text/javascript"),document.head.appendChild(t),!0):r.domready)}function n(){return"classList"in document.createElement("div")||(t.classList||(t.classList=i(s._classListPolyfill)),!1)}function o(){return a.MutationObserver&&a.WeakMap||t.observer||(t.observer=i(s._webComponentsPolyfill)),!0}return e.classList=!n(),e.observer=!o(),!e.classList&&!e.observer||(r.initTimeout(function(){return!(e.observer&&!o()||e.classList&&!n())}),!1)}),f.getPrefix=function(e,t){var i;return"string"==typeof t&&""!==t?{prefix:t,icon:e}:2===(i=e.split(":")).length?{prefix:i[0],icon:i[1]}:1<(i=e.split("-")).length?{prefix:t=i.shift(),icon:i.join("-")}:{prefix:"",icon:e}},function(){var a=f.getPrefix,t={left:0,top:0,width:16,height:16,rotate:0,vFlip:!1,hFlip:!1},e=["left","top","width","height","body","rotate","vFlip","hFlip","inlineTop","inlineHeight","verticalAlign"];function c(e,t){return function(e,t){switch(e){case"rotate":return t=parseInt(t),isNaN(t)?null:t;case"width":case"height":case"inlineHeight":case"inlineTop":case"verticalAlign":return t=parseFloat(t),isNaN(t)?null:t;case"vFlip":case"hFlip":return!!t;case"body":case"parent":return"string"==typeof t?t:null}return t}("rotate",e+t)}function l(e,t){return!!e!=!!t}function d(e){var i={};return(void 0===e._defaults?[e,t]:[e,e._defaults,t]).forEach(function(t){Object.keys(t).forEach(function(e){"_"!==e.slice(0,1)&&void 0===i[e]&&(i[e]=t[e])})}),void 0===i.inlineTop&&(i.inlineTop=i.top),void 0===i.inlineHeight&&(i.inlineHeight=i.height),void 0===i.verticalAlign&&(i.height%7==0&&i.height%8!=0?i.verticalAlign=-.143:i.verticalAlign=-.125),i}function i(){return this._icons={},this._aliases={},this._resolved={},this._add=function(e,t,i){var n=e?"_aliases":"_icons";void 0===this._resolved[t.prefix]?(this._resolved[t.prefix]={},this._icons[t.prefix]={},this._aliases[t.prefix]={}):void 0!==this._resolved[t.prefix]&&(delete this._icons[t.prefix][t.icon],delete this._aliases[t.prefix][t.icon]),this._resolved[t.prefix][t.icon]=!1,this[n][t.prefix][t.icon]=i},this._resolveIcon=function(e){var t,i,n,o,r,s;if(void 0===this._resolved[e.prefix]||void 0===this._resolved[e.prefix][e.icon])return null;if(!1!==this._resolved[e.prefix][e.icon])return this._resolved[e.prefix][e.icon];if(void 0!==this._icons[e.prefix][e.icon])return this._resolved[e.prefix][e.icon]=d(this._icons[e.prefix][e.icon]);for(i=0,t=this._aliases[e.prefix][e.icon],n={},Object.keys(t).forEach(function(e){"parent"!==e&&(n[e]=t[e])}),o=a(t.parent,t._prefix);;){if(5<++i||void 0===this._resolved[o.prefix]||void 0===this._resolved[o.prefix][o.icon])return this._resolved[e.prefix][e.icon]=null;if(r=void 0===this._icons[o.prefix][o.icon],s=this[r?"_aliases":"_icons"][o.prefix][o.icon],Object.keys(s).forEach(function(e){if(void 0!==n[e])switch(e){case"rotate":n[e]=c(n[e],s[e]);break;case"hFlip":case"vFlip":n[e]=l(n[e],s[e])}else"parent"!==e&&(n[e]=s[e])}),!r)break;o=a(s.parent,s._prefix)}return this._resolved[e.prefix][e.icon]=d(n)},this.addCollection=function(n){var o=this,r={},s=n.prefix;e.forEach(function(e){void 0!==n[e]?r[e]=n[e]:void 0!==t[e]&&(r[e]=t[e])}),void 0!==n.icons&&Object.keys(n.icons).forEach(function(e){var t=a(e,s),i=n.icons[e];void 0!==i.body&&(i._defaults=r,o._add(!1,t,i))}),void 0!==n.aliases&&Object.keys(n.aliases).forEach(function(e){var t=a(e,s),i=n.aliases[e];void 0!==i.parent&&(i._defaults=r,i._prefix=s,o._add(!0,t,i))})},this.addIcon=function(e,t,i){var n=void 0!==t.parent,o=a(e,i);n&&"string"==typeof i&&(t._prefix=i),this._add(n,o,t)},this.exists=function(e,t){var i=a(e,t);return void 0!==this._resolved[i.prefix]&&void 0!==this._resolved[i.prefix][i.icon]},this.getIcon=function(e,t){var i=a(e,t);return this._resolveIcon(i)},this.copyIcon=function(e,t){var i,n=this.getIcon(e,t);return null===n?null:(i={},Object.keys(n).forEach(function(e){i[e]=n[e]}),i)},this.list=function(e){var i,n;return void 0!==e?void 0===this._resolved[e]?[]:Object.keys(this._resolved[e]):(i=[],n=this._resolved,Object.keys(n).forEach(function(t){i=i.concat(Object.keys(n[t]).map(function(e){return""===t&&-1===e.indexOf("-")?e:t+":"+e}))}),i)},this}i.mergeFlip=l,i.mergeRotation=c,i.blankIcon=function(){return d({body:"",width:16,height:16})},f.Storage=i}(),function(t,e,i){var n=!1,o=new e.Storage;function r(){n&&(n=!1,e.scanDOM())}t.addCollection=function(e){o.addCollection(e),n||(n=!0,window.setTimeout(r,0))},t.addIcon=function(e,t){o.addIcon(e,t),n||(n=!0,window.setTimeout(r,0))},t.iconExists=o.exists.bind(o),t.getIcon=o.copyIcon.bind(o),t.listIcons=o.list.bind(o),["SimpleSVG","Iconify"].forEach(function(e){void 0!==i[e+"Preload"]&&i[e+"Preload"]instanceof Array&&i[e+"Preload"].forEach(function(e){"object"==typeof e&&void 0!==e.icons&&t.addCollection(e)})})}(e,f,t),function(){var e=f.Storage,w=f.config,c=/(-?[0-9.]*[0-9]+[0-9.]*)/g,l=/^-?[0-9.]*[0-9]+[0-9.]*$/g,_=["width","height","inline"],x=0;function I(e,t,i){var n,o,r,s,a;if(1===t)return e;if(i=void 0===i?100:i,"number"==typeof e)return Math.ceil(e*t*i)/i;if("string"!=typeof e)return e;if(null===(n=e.split(c))||!n.length)return e;for(o=[],r=n.shift(),s=l.test(r);;){if(s?(a=parseFloat(r),isNaN(a)?o.push(r):o.push(Math.ceil(a*t*i)/i)):o.push(r),void 0===(r=n.shift()))return o.join("");s=!s}}function A(e,t,i){var n,o,r;for(n=0;n<t.length;n++)if(void 0!==e[o=t[n]])switch(typeof(r=e[o])){case"boolean":return r;case"number":return!!r;case"string":switch(r.toLowerCase()){case"1":case"true":case o:return!0;case"0":case"false":case"":return!1}}return i}function E(e,t,i){var n,o;for(n=0;n<t.length;n++)if(void 0!==e[o=t[n]])return e[o];return i}f.SVG=function(y){return y||(y=e.blankIcon()),this.item=y,this.height=function(e,t,i){return void 0===e?t?this.item.inlineHeight:this.item.height:I(e,(t?this.item.inlineHeight:this.item.height)/this.item.width,i)},this.width=function(e,t,i){return void 0===e?this.item.width:I(e,this.item.width/(t?this.item.inlineHeight:this.item.height),i)},this.defaultAttributes=function(){return{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":"true"}},this.preserveAspectRatio=function(e,t,i){var n="";switch(e){case"left":n+="xMin";break;case"right":n+="xMax";break;default:n+="xMid"}switch(t){case"top":n+="YMin";break;case"bottom":n+="YMax";break;default:n+="YMid"}return n+=!0===i?" slice":" meet"},this.attributes=function(t){var e,i,n,o,r,s,a,c,l,d,u,f,h,p={horizontal:"center",vertical:"middle",crop:!1},v={rotate:y.rotate,hFlip:y.hFlip,vFlip:y.vFlip},g="",b=this.defaultAttributes(),m=[];if(s=A(t="object"==typeof t?t:{},[w._inlineModeAttribute,"inline"],!0),d=A(t,[w._appendAttribute],!1),e={left:y.left,top:s?y.inlineTop:y.top,width:y.width,height:s?y.inlineHeight:y.height},"string"==typeof t[w._flipAttribute]&&t[w._flipAttribute].split(/[\s,]+/).forEach(function(e){switch(e=e.toLowerCase()){case"horizontal":v.hFlip=!v.hFlip;break;case"vertical":v.vFlip=!v.vFlip}}),void 0!==t[w._rotateAttribute])if("number"==typeof(c=t[w._rotateAttribute]))v.rotate+=c;else if("string"==typeof c)if(""===(u=c.replace(/^-?[0-9.]*/,"")))c=parseInt(c),isNaN(c)||(v.rotate+=c);else if(u!==c){switch(l=!1,u){case"%":l=25;break;case"deg":l=90}l&&(c=parseInt(c.slice(0,c.length-u.length)),isNaN(c)||(v.rotate+=Math.round(c/l)))}switch(v.hFlip?v.vFlip?v.rotate+=2:(m.push("translate("+(e.width+e.left)+" "+(0-e.top)+")"),m.push("scale(-1 1)"),e.top=e.left=0):v.vFlip&&(m.push("translate("+(0-e.left)+" "+(e.height+e.top)+")"),m.push("scale(1 -1)"),e.top=e.left=0),v.rotate%4){case 1:h=e.height/2+e.top,m.unshift("rotate(90 "+h+" "+h+")"),0===e.left&&0===e.top||(h=e.left,e.left=e.top,e.top=h),e.width!==e.height&&(h=e.width,e.width=e.height,e.height=h);break;case 2:m.unshift("rotate(180 "+(e.width/2+e.left)+" "+(e.height/2+e.top)+")");break;case 3:h=e.width/2+e.left,m.unshift("rotate(-90 "+h+" "+h+")"),0===e.left&&0===e.top||(h=e.left,e.left=e.top,e.top=h),e.width!==e.height&&(h=e.width,e.width=e.height,e.height=h)}return i=E(t,["data-width","width"],null),n=E(t,["data-height","height"],null),null===i&&null===n&&(n="1em"),null!==i&&null!==n?(o=i,r=n):null!==i?r=I(o=i,e.height/e.width):o=I(r=n,e.width/e.height),!1!==o&&(b.width="auto"===o?e.width:o),!1!==r&&(b.height="auto"===r?e.height:r),s&&0!==y.verticalAlign&&(g+="vertical-align: "+y.verticalAlign+"em;"),"string"==typeof t[w._alignAttribute]&&t[w._alignAttribute].toLowerCase().split(/[\s,]+/).forEach(function(e){switch(e){case"left":case"right":case"center":p.horizontal=e;break;case"top":case"bottom":case"middle":p.vertical=e;break;case"crop":p.crop=!0;break;case"meet":p.crop=!1}}),g+="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);",b.style=g+(void 0===t.style?"":t.style),b.preserveAspectRatio=this.preserveAspectRatio(p.horizontal,p.vertical,p.crop),b.viewBox=e.left+" "+e.top+" "+e.width+" "+e.height,a=function(i){var e,n,t=/\sid="(\S+)"/g,o=[];function r(e,t,i){for(var n=0;-1!==(n=i.indexOf(e,n));)i=i.slice(0,n)+t+i.slice(n+e.length),n+=t.length;return i}for(;e=t.exec(i);)o.push(e[1]);return o.length&&(n="IconifyId-"+Date.now().toString(16)+"-"+(16777216*Math.random()|0).toString(16)+"-",o.forEach(function(e){var t=n+x;x++,i=r("(#"+e+")","(#"+t+")",i=r('="#'+e+'"','="#'+t+'"',i=r('="'+e+'"','="'+t+'"',i)))})),i}(this.item.body),m.length&&(a='<g transform="'+m.join(" ")+'">'+a+"</g>"),f={},Object.keys(t).forEach(function(e){void 0===b[e]&&-1===_.indexOf(e)&&(f[e]=t[e])}),{attributes:b,elementAttributes:f,body:a,append:d}},this}}(),l=(c=f).config._loadingClass,c.newImage=function(e,t,i){return{element:e,icon:t,parser:i,loading:e.classList.contains(l)}},c.parsedImage=function(e,t){return{element:e,icon:t}},c.getImageAttributes=function(t){var e,i,n={};if(!t.element.hasAttributes())return n;for(e=0;e<t.element.attributes.length;e++)i=t.element.attributes[e],n[i.name]=i.value;return t.parser&&void 0!==t.parser.filterAttributes&&(n=t.parser.filterAttributes(t,n)),void 0!==n.class&&(n.class=n.class.split(" ").filter(function(e){return e!==l}),t.parser&&void 0!==t.parser.filterClasses&&(n.class=t.parser.filterClasses(t,n.class)),n.class=n.class.join(" ")),void 0!==t.attributes&&Object.keys(t.attributes).forEach(function(e){n[e]=t.attributes[e]}),n},function(n,f,e){var s=e._imageClass,t=e._loadingClass,i=e._appendedClass,a=e._iconAttribute,o=e._inlineModeAttribute,r=":not(svg):not(."+i+")",c=":not(."+t+")",l="."+t,h={ssvg:{selector:"."+s,selectorAll:"."+s+r,selectorNew:"."+s+r+c,selectorLoading:"."+s+r+l,icon:function(e){var t,i=e.getAttribute(a);if("string"==typeof i)return i;for(var n=0;n<e.classList.length;n++)if(5<(t=e.classList[n]).length&&"icon:"===t.slice(0,5))return t.slice(5);return""},filterClasses:function(e,t){var i,n,o;for(n=0;n<t.length;n++)"icon-"===(i=t[n]).slice(0,5)&&2===(i=i.slice(5).split(":")).length&&(o="data-"+i[0],void 0===e.attributes&&(e.attributes={}),e.attributes[o]=i[1]);return t}}},p=Object.keys(h);n.addFinder=function(e,t){void 0===t.selectorAll&&(t.selectorAll=t.selector+r),void 0===t.selectorNew&&(t.selectorNew=t.selector+r+c),void 0===t.selectorLoading&&(t.selectorLoading=t.selector+r+l),h[e]=t,p=Object.keys(h),n.isReady&&n.scanDOM()},n.addTag=function(e,i,t){n.addFinder("tag-"+e,{selector:e,icon:null==t?h.ssvg.icon:t,filterAttributes:function(e,t){return void 0===t[o]&&(t[o]=i),t}})};try{"object"==typeof Reflect&&"object"==typeof customElements&&Object.setPrototypeOf&&function(){function e(){return Reflect.construct(HTMLElement,[],e)}Object.setPrototypeOf(e.prototype,HTMLElement.prototype),Object.setPrototypeOf(e,HTMLElement),customElements.define("iconify-icon",e)}()}catch(e){}n.addTag("iconify-icon",!1),f.findNewImages=function(c,l){var d=[],u=[];return(c=void 0===c?void 0===e._root?document.body:e._root:c)&&p.forEach(function(e){var t,i,n,o,r=h[e],s=!0===l?r.selectorLoading:!1===l?r.selectorNew:r.selectorAll,a=c.querySelectorAll(s);for(t=0;t<a.length;t++)i=a[t],(n=r.icon(i))&&-1===u.indexOf(i)&&(u.push(i),o=f.newImage(i,n,r),d.push(o))}),d},f.findParsedImages=function(e){var t,i,n,o=[],r=e.querySelectorAll("svg."+s);for(t=0;t<r.length;t++)(n=(i=r[t]).getAttribute(a))&&o.push(f.parsedImage(i,n));return o}}(e,f,f.config),function(r,s,c,o){var l={},d={},a={},u=!1,f={session:!0,local:!0},h={session:0,local:0};function p(){var r=c.loaderMaxURLSize,o={};function s(e,t){var i,n=o[e];n=n.replace("{icons}",t.join(",")),(i=document.createElement("script")).setAttribute("type","text/javascript"),i.setAttribute("src",n),i.setAttribute("async",!0),document.head.appendChild(i)}function a(e){var t=void 0===c.API[e]?c.defaultAPI:c.API[e];return-1===t.indexOf("{icons}")?(o[e]=t,null):(t=t.replace("{prefix}",e).replace("{callback}","Iconify._loaderCallback"),(o[e]=t).replace("{icons}","").length)}Object.keys(l).forEach(function(i){var n=a(i),o=[];if(null===n)return s(i,[]),void(d[i]=!0);l[i].forEach(function(e,t){n+=e.length+1,r<=n&&(s(i,o),o=[],n=a(i)+e.length+1),o.push(e)}),o.length&&s(i,o),d[i]=void 0===d[i]?l[i]:d[i].concat(l[i]),delete l[i]}),u=!1}function v(e,t,i){return i||s.domready||c.loadBeforeDOMReady?(void 0===l[e]||-1===l[e].indexOf(t))&&(void 0===d[e]||!0!==d[e]&&-1===d[e].indexOf(t))&&(void 0===l[e]&&(l[e]=[]),l[e].push(t),u||(u=!0,window.setTimeout(p,0)),!0):(o=t,void 0===a[n=e]&&(a[n]={}),a[n][o]=!0,void 0===s._loaderDOMReady&&(s._loaderDOMReady=s.DOMReadyCallback,s.DOMReadyCallback=function(){s._loaderDOMReady(),Object.keys(a).forEach(function(t){Object.keys(a[t]).forEach(function(e){r.iconExists(e,t)||v(t,e,!0)})})}),!0);var n,o}r._loaderCallback=function(i){var n=!1;"object"==typeof i&&(r.addCollection(i),["local","session"].forEach(function(t){var e;if(!n&&f[t]&&c[t+"Storage"]){e=o[t+"Storage"];try{h[t]||e.setItem("ssvg-version",s.version),e.setItem("ssvg-icons"+h[t],JSON.stringify(i)),n=!0,h[t]++,e.setItem("ssvg-count",h[t])}catch(e){f[t]=!1}}}),s.event(c._loaderEvent))},s.loadImage=function(e,t){var i=s.getPrefix(e.icon);return!!r.iconExists(i.icon,i.prefix)||(!1!==t&&v(i.prefix,i.icon,!1)&&e.element.classList.add(c._loadingClass),!1)},r.preloadImages=function(e){var t,i=!1;return e.forEach(function(e){t=s.getPrefix(e),r.iconExists(t.icon,t.prefix)||(v(t.prefix,t.icon,!0),i=!0)}),i},["local","session"].forEach(function(t){var e,i,n;try{if("object"!=typeof(e=o[t+"Storage"]))return void(f[t]=!1);if(e.getItem("ssvg-version")!==s.version)return;if("number"!=typeof(n=parseInt(e.getItem("ssvg-count")))||isNaN(n))return;for(;;){if(h[t]>=n)return;if("string"!=typeof(i=e.getItem("ssvg-icons"+h[t])))return;"object"==typeof(i=JSON.parse(i))&&r.addCollection(i),h[t]++}}catch(e){f[t]=!1}})}(e,f,f.config,t),e.pauseObserving=function(){},e.resumeObserving=function(){},function(l,d,e){var u=e._iconAttribute,f=e._loadingClass,h=e._imageClass,p=e._appendedClass;function v(e,t){var i;return"<?"===e.slice(0,2)&&(i=e.indexOf(">"),e=e.slice(i+1)),e=-1!==(i=(e=e.replace("viewbox=","viewBox=").replace("preserveaspectratio=","preserveAspectRatio=")).indexOf("</"))?e.replace("</",t+"</"):e.replace("/>",">"+t+"</svg>")}d.renderSVG=function(t){var e,i,n,o,r,s,a=d.getImageAttributes(t),c=l.getIcon(t.icon);a[u]=t.icon,e=new d.SVG(c),n=document.createElement("svg"),r=e.attributes(a),Object.keys(r.attributes).forEach(function(e){try{n.setAttribute(e,r.attributes[e])}catch(e){}}),Object.keys(r.elementAttributes).forEach(function(e){try{(r.append?t.element:n).setAttribute(e,r.elementAttributes[e])}catch(e){}}),t.loading&&(n.classList.remove(f),r.append&&t.element.classList.remove(f)),n.classList.add(h),s=v(n.outerHTML,r.body),(o=document.createElement("span")).innerHTML=s,i=o.childNodes[0],r.append?(t.element.classList.add(p),t.element.appendChild(i)):(t.element.parentNode.replaceChild(i,t.element),t.element=i),delete t.parser,delete t.loading},l.getSVG=function(e,t){var i,n,o;return!!l.iconExists(e)&&(i=new d.SVG(l.getIcon(e)),o=i.attributes(t,!1),n=document.createElement("svg"),Object.keys(o.attributes).forEach(function(e){try{n.setAttribute(e,o.attributes[e])}catch(e){}}),v(n.outerHTML,o.body))}}(e,f,f.config),d=e,(u=f).scanDOM=function(){var t=!1;function e(){u.findNewImages().forEach(function(e){u.loadImage(e)&&(t||(t=!0,d.pauseObserving()),u.renderSVG(e))})}if(u.ready)e();else try{e()}catch(e){}t&&d.resumeObserving()},d.scanDOM=u.scanDOM,d.getVersion=function(){return u.version}}(self.Iconify,self));
"use strict";void 0===self.Iconify&&(self.Iconify={isReady:!1},self.SimpleSVG=self.Iconify,function(e,t){var i,n,o,r,s,a,c,l,d,f,u={config:{},version:"1.0.0-rc1"};i=u,function(){function e(e,t){var i;return t=t||{bubbles:!1,cancelable:!1,detail:void 0},(i=document.createEvent("CustomEvent")).initCustomEvent(e,t.bubbles,t.cancelable,t.detail),i}"function"!=typeof window.CustomEvent&&(e.prototype=window.Event.prototype,window.CustomEvent=e)}(),i.event=function(e,t){document.dispatchEvent(new CustomEvent(e,t))},function(t,i,n){var o=null;function e(){document.removeEventListener("DOMContentLoaded",e),window.removeEventListener("load",e),i.DOMReadyCallback()}i.DOMReadyCallback=function(){i.domready=!0,i.nextInitItem()},i.initTimeout=function(e){function t(){if(null!==o){if(!1!==o.callback())return o.stop(),void i.nextInitItem();o.counter++,10!==o.counter&&25!==o.counter||(window.clearInterval(o.id),o.id=window.setInterval(t,10===o.counter?250:1e3))}}null!==o&&o.stop(),o={id:window.setInterval(t,100),counter:0,callback:e,stop:function(){window.clearInterval(o.id),o=null},nextTick:t}},i.domready=!1,i.ready=!1,i.initQueue=[],i.readyQueue=[],i.nextInitItem=function(){var e;if(!i.ready){if(i.initQueue.length)e=i.initQueue.shift();else{if(!i.domready)return void i.initTimeout(function(){return!i.domready&&document.body&&i.scanDOM(),i.domready});if(!i.readyQueue.length)return i.ready=t.isReady=!0,i.event(n._readyEvent),void i.scanDOM();e=i.readyQueue.shift()}!1!==e()&&i.nextInitItem()}},i.addStylesheet=function(e){var t;return document.head&&document.body?((t=document.createElement("style")).type="text/css",t.innerHTML="span.iconify, i.iconify, iconify-icon { display: inline-block; width: 1em; }",null!==document.head.firstChild?document.head.insertBefore(t,document.head.firstChild):document.head.appendChild(t),!0):!!i.domready||(e||i.initTimeout(i.addStylesheet.bind(null,!0)),!1)},i.initQueue.push(i.addStylesheet.bind(null,!1)),t.ready=function(e){t.isReady?window.setTimeout(e):document.addEventListener(n._readyEvent,e)},window.setTimeout(function(){"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?i.domready=!0:(document.addEventListener("DOMContentLoaded",e),window.addEventListener("load",e)),i.nextInitItem()})}(e,u,u.config),(n=u.config).SVGAttributes={},n._imageClass="iconify",n._loadingClass="svg-loading",n._iconAttribute="data-icon",n._rotateAttribute="data-rotate",n._flipAttribute="data-flip",n._inlineModeAttribute="data-inline",n._alignAttribute="data-align",n._appendAttribute="data-icon-append",n._appendedClass="svg-appended",n._readyEvent="IconifyReady",n._webComponentsPolyfill="//cdnjs.cloudflare.com/ajax/libs/webcomponentsjs/0.7.24/webcomponents-lite.min.js",n._classListPolyfill="//cdnjs.cloudflare.com/ajax/libs/classlist/1.1.20150312/classList.min.js",(o=u.config).defaultAPI="//api.iconify.design/{prefix}.js?icons={icons}",o.API={},o.loaderMaxURLSize=500,o.loadBeforeDOMReady=!(document&&document.body),o._loaderEvent="IconifyAddedIcons",o.sessionStorage=!0,o.localStorage=!!(window&&window.localStorage&&window.localStorage.length),function(e,i,t,o){function n(t,i,e){var n=t;if("_"!==t.slice(0,1)){if(void 0===o[t]){if(!e||void 0===o["_"+t])return;n="_"+t}switch(n){case"API":case"SVGAttributes":Object.keys(i).forEach(function(e){null===i[t]?delete o[n][e]:o[n][e]=i[e]});break;default:o[n]=i}}}e.setConfig=function(e,t){n(e,t,!1)},e.setCustomAPI=function(e,t){switch(typeof e){case"string":[e];break;case"object":if(e instanceof Array){e;break}default:return}e.forEach(function(e){null===t?delete o.API[e]:o.API[e]=t})},e.getConfig=function(e){return void 0===o[e]?void 0===o["_"+e]?null:o["_"+e]:o[e]},["SimpleSVG","Iconify"].forEach(function(e){var t;void 0!==i[e+"Config"]&&"object"==typeof i[e+"Config"]&&(t=i[e+"Config"],Object.keys(t).forEach(function(e){n(e,t,!0)}))})}(e,t,0,u.config),s=(r=u).config,a=t,r.initQueue.push(function(){var e={observer:!1,classList:!1},t={observer:!1,classList:!1};function i(e){var t;return!e.length||(document.head?((t=document.createElement("script")).setAttribute("src",e),t.setAttribute("type","text/javascript"),document.head.appendChild(t),!0):r.domready)}function n(){return"classList"in document.createElement("div")||(t.classList||(t.classList=i(s._classListPolyfill)),!1)}function o(){return a.MutationObserver&&a.WeakMap||t.observer||(t.observer=i(s._webComponentsPolyfill)),!0}return e.classList=!n(),e.observer=!o(),!e.classList&&!e.observer||(r.initTimeout(function(){return!(e.observer&&!o()||e.classList&&!n())}),!1)}),u.getPrefix=function(e,t){var i;return"string"==typeof t&&""!==t?{prefix:t,icon:e}:2===(i=e.split(":")).length?{prefix:i[0],icon:i[1]}:1<(i=e.split("-")).length?{prefix:t=i.shift(),icon:i.join("-")}:{prefix:"",icon:e}},function(){var s=u.getPrefix,t={left:0,top:0,width:16,height:16,rotate:0,vFlip:!1,hFlip:!1},e=["left","top","width","height","body","rotate","vFlip","hFlip","inlineTop","inlineHeight","verticalAlign"];function a(e,t){return function(e,t){switch(e){case"rotate":return t=parseInt(t),isNaN(t)?null:t;case"width":case"height":case"inlineHeight":case"inlineTop":case"verticalAlign":return t=parseFloat(t),isNaN(t)?null:t;case"vFlip":case"hFlip":return!!t;case"body":case"parent":return"string"==typeof t?t:null}return t}("rotate",e+t)}function c(e,t){return!!e!=!!t}function l(e){var i={};return(void 0===e._defaults?[e,t]:[e,e._defaults,t]).forEach(function(t){Object.keys(t).forEach(function(e){"object"!=typeof t[e]&&void 0===i[e]&&(i[e]=t[e])})}),void 0===i.inlineTop&&(i.inlineTop=i.top),void 0===i.inlineHeight&&(i.inlineHeight=i.height),void 0===i.verticalAlign&&(i.height%7==0&&i.height%8!=0?i.verticalAlign=-.143:i.verticalAlign=-.125),i}function i(){return this._icons={},this._aliases={},this._resolved={},this._add=function(e,t,i){var n=e?"_aliases":"_icons";void 0===this._resolved[t.prefix]?(this._resolved[t.prefix]={},this._icons[t.prefix]={},this._aliases[t.prefix]={}):(delete this._icons[t.prefix][t.icon],delete this._aliases[t.prefix][t.icon]),this._resolved[t.prefix][t.icon]=!1,this[n][t.prefix][t.icon]=i},this._resolveIcon=function(e){var t,i,n,o,r,s;if(void 0===this._resolved[e.prefix]||void 0===this._resolved[e.prefix][e.icon])return null;if(!1!==this._resolved[e.prefix][e.icon])return this._resolved[e.prefix][e.icon];if(void 0!==this._icons[e.prefix][e.icon])return this._resolved[e.prefix][e.icon]=l(this._icons[e.prefix][e.icon]);for(i=0,t=this._aliases[e.prefix][e.icon],n={},Object.keys(t).forEach(function(e){"parent"!==e&&(n[e]=t[e])}),o=t.parent;;){if(5<++i||void 0===this._resolved[e.prefix][o])return this._resolved[e.prefix][e.icon]=null;if(r=void 0===this._icons[e.prefix][o],s=this[r?"_aliases":"_icons"][e.prefix][o],Object.keys(s).forEach(function(e){if(void 0!==n[e])switch(e){case"rotate":n[e]=a(n[e],s[e]);break;case"hFlip":case"vFlip":n[e]=c(n[e],s[e])}else"parent"!==e&&(n[e]=s[e])}),!r)break;o=s.parent}return this._resolved[e.prefix][e.icon]=l(n)},this.addCollection=function(n){var o=this,r={};e.forEach(function(e){void 0!==n[e]?r[e]=n[e]:void 0!==t[e]&&(r[e]=t[e])}),void 0!==n.icons&&Object.keys(n.icons).forEach(function(e){var t=s(e,n.prefix),i=n.icons[e];void 0!==i.body&&(i._defaults=r,o._add(!1,t,i))}),void 0!==n.aliases&&Object.keys(n.aliases).forEach(function(e){var t=s(e,n.prefix),i=n.aliases[e];if(void 0!==i.parent){if(void 0===n.prefix){if(i.parent.slice(0,t.prefix.length)!==t.prefix)return;i.parent=i.parent.slice(t.prefix.length+1)}o._add(!0,t,i)}})},this.addIcon=function(e,t,i){var n=void 0!==t.parent,o=s(e,i);if(n&&void 0===i){if(t.parent.slice(0,o.prefix.length)!==o.prefix)return;t.parent=t.parent.slice(o.prefix.length+1)}this._add(n,o,t)},this.exists=function(e,t){var i=s(e,t);return void 0!==this._resolved[i.prefix]&&void 0!==this._resolved[i.prefix][i.icon]},this.getIcon=function(e,t){var i=s(e,t);return this._resolveIcon(i)},this.copyIcon=function(e,t){var i,n=this.getIcon(e,t);return null===n?null:(i={},Object.keys(n).forEach(function(e){i[e]=n[e]}),i)},this.list=function(e){var i,n;return void 0!==e?void 0===this._resolved[e]?[]:Object.keys(this._resolved[e]):(i=[],n=this._resolved,Object.keys(n).forEach(function(t){i=i.concat(Object.keys(n[t]).map(function(e){return""===t&&-1===e.indexOf("-")?e:t+":"+e}))}),i)},this}i.mergeFlip=c,i.mergeRotation=a,i.blankIcon=function(){return l({body:"",width:16,height:16})},u.Storage=i}(),function(t,e,i){var n=!1,o=new e.Storage;function r(){n&&(n=!1,e.scanDOM())}t.addCollection=function(e){o.addCollection(e),n||(n=!0,window.setTimeout(r,0))},t.addIcon=function(e,t){o.addIcon(e,t),n||(n=!0,window.setTimeout(r,0))},t.iconExists=o.exists.bind(o),t.getIcon=o.copyIcon.bind(o),t.listIcons=o.list.bind(o),["SimpleSVG","Iconify"].forEach(function(e){void 0!==i[e+"Preload"]&&i[e+"Preload"]instanceof Array&&i[e+"Preload"].forEach(function(e){"object"==typeof e&&void 0!==e.icons&&t.addCollection(e)})})}(e,u,t),function(){var e=u.Storage,w=u.config,c=/(-?[0-9.]*[0-9]+[0-9.]*)/g,l=/^-?[0-9.]*[0-9]+[0-9.]*$/g,_=["width","height","inline"],x=0;function I(e,t,i){var n,o,r,s,a;if(1===t)return e;if(i=void 0===i?100:i,"number"==typeof e)return Math.ceil(e*t*i)/i;if("string"!=typeof e)return e;if(null===(n=e.split(c))||!n.length)return e;for(o=[],r=n.shift(),s=l.test(r);;){if(s?(a=parseFloat(r),isNaN(a)?o.push(r):o.push(Math.ceil(a*t*i)/i)):o.push(r),void 0===(r=n.shift()))return o.join("");s=!s}}function A(e,t,i){var n,o,r;for(n=0;n<t.length;n++)if(void 0!==e[o=t[n]])switch(typeof(r=e[o])){case"boolean":return r;case"number":return!!r;case"string":switch(r.toLowerCase()){case"1":case"true":case o:return!0;case"0":case"false":case"":return!1}}return i}function E(e,t,i){var n,o;for(n=0;n<t.length;n++)if(void 0!==e[o=t[n]])return e[o];return i}u.SVG=function(y){return y||(y=e.blankIcon()),this.item=y,this.height=function(e,t,i){return void 0===e?t?this.item.inlineHeight:this.item.height:I(e,(t?this.item.inlineHeight:this.item.height)/this.item.width,i)},this.width=function(e,t,i){return void 0===e?this.item.width:I(e,this.item.width/(t?this.item.inlineHeight:this.item.height),i)},this.defaultAttributes=function(){return{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":"true"}},this.preserveAspectRatio=function(e,t,i){var n="";switch(e){case"left":n+="xMin";break;case"right":n+="xMax";break;default:n+="xMid"}switch(t){case"top":n+="YMin";break;case"bottom":n+="YMax";break;default:n+="YMid"}return n+=!0===i?" slice":" meet"},this.attributes=function(t){var e,i,n,o,r,s,a,c,l,d,f,u,h,p={horizontal:"center",vertical:"middle",crop:!1},v={rotate:y.rotate,hFlip:y.hFlip,vFlip:y.vFlip},g="",b=this.defaultAttributes(),m=[];if(s=A(t="object"==typeof t?t:{},[w._inlineModeAttribute,"inline"],!0),d=A(t,[w._appendAttribute],!1),e={left:y.left,top:s?y.inlineTop:y.top,width:y.width,height:s?y.inlineHeight:y.height},"string"==typeof t[w._flipAttribute]&&t[w._flipAttribute].split(/[\s,]+/).forEach(function(e){switch(e=e.toLowerCase()){case"horizontal":v.hFlip=!v.hFlip;break;case"vertical":v.vFlip=!v.vFlip}}),void 0!==t[w._rotateAttribute])if("number"==typeof(c=t[w._rotateAttribute]))v.rotate+=c;else if("string"==typeof c)if(""===(f=c.replace(/^-?[0-9.]*/,"")))c=parseInt(c),isNaN(c)||(v.rotate+=c);else if(f!==c){switch(l=!1,f){case"%":l=25;break;case"deg":l=90}l&&(c=parseInt(c.slice(0,c.length-f.length)),isNaN(c)||(v.rotate+=Math.round(c/l)))}switch(v.hFlip?v.vFlip?v.rotate+=2:(m.push("translate("+(e.width+e.left)+" "+(0-e.top)+")"),m.push("scale(-1 1)"),e.top=e.left=0):v.vFlip&&(m.push("translate("+(0-e.left)+" "+(e.height+e.top)+")"),m.push("scale(1 -1)"),e.top=e.left=0),v.rotate%4){case 1:h=e.height/2+e.top,m.unshift("rotate(90 "+h+" "+h+")"),0===e.left&&0===e.top||(h=e.left,e.left=e.top,e.top=h),e.width!==e.height&&(h=e.width,e.width=e.height,e.height=h);break;case 2:m.unshift("rotate(180 "+(e.width/2+e.left)+" "+(e.height/2+e.top)+")");break;case 3:h=e.width/2+e.left,m.unshift("rotate(-90 "+h+" "+h+")"),0===e.left&&0===e.top||(h=e.left,e.left=e.top,e.top=h),e.width!==e.height&&(h=e.width,e.width=e.height,e.height=h)}return i=E(t,["data-width","width"],null),n=E(t,["data-height","height"],null),null===i&&null===n&&(n="1em"),null!==i&&null!==n?(o=i,r=n):null!==i?r=I(o=i,e.height/e.width):o=I(r=n,e.width/e.height),!1!==o&&(b.width="auto"===o?e.width:o),!1!==r&&(b.height="auto"===r?e.height:r),s&&0!==y.verticalAlign&&(g+="vertical-align: "+y.verticalAlign+"em;"),"string"==typeof t[w._alignAttribute]&&t[w._alignAttribute].toLowerCase().split(/[\s,]+/).forEach(function(e){switch(e){case"left":case"right":case"center":p.horizontal=e;break;case"top":case"bottom":case"middle":p.vertical=e;break;case"crop":p.crop=!0;break;case"meet":p.crop=!1}}),g+="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);",b.style=g+(void 0===t.style?"":t.style),b.preserveAspectRatio=this.preserveAspectRatio(p.horizontal,p.vertical,p.crop),b.viewBox=e.left+" "+e.top+" "+e.width+" "+e.height,a=function(i){var e,n,t=/\sid="(\S+)"/g,o=[];function r(e,t,i){for(var n=0;-1!==(n=i.indexOf(e,n));)i=i.slice(0,n)+t+i.slice(n+e.length),n+=t.length;return i}for(;e=t.exec(i);)o.push(e[1]);return o.length&&(n="IconifyId-"+Date.now().toString(16)+"-"+(16777216*Math.random()|0).toString(16)+"-",o.forEach(function(e){var t=n+x;x++,i=r("(#"+e+")","(#"+t+")",i=r('="#'+e+'"','="#'+t+'"',i=r('="'+e+'"','="'+t+'"',i)))})),i}(this.item.body),m.length&&(a='<g transform="'+m.join(" ")+'">'+a+"</g>"),u={},Object.keys(t).forEach(function(e){void 0===b[e]&&-1===_.indexOf(e)&&(u[e]=t[e])}),{attributes:b,elementAttributes:u,body:a,append:d}},this}}(),l=(c=u).config._loadingClass,c.newImage=function(e,t,i){return{element:e,icon:t,parser:i,loading:e.classList.contains(l)}},c.parsedImage=function(e,t){return{element:e,icon:t}},c.getImageAttributes=function(t){var e,i,n={};if(!t.element.hasAttributes())return n;for(e=0;e<t.element.attributes.length;e++)i=t.element.attributes[e],n[i.name]=i.value;return t.parser&&void 0!==t.parser.filterAttributes&&(n=t.parser.filterAttributes(t,n)),void 0!==n.class&&(n.class=n.class.split(" ").filter(function(e){return e!==l}),t.parser&&void 0!==t.parser.filterClasses&&(n.class=t.parser.filterClasses(t,n.class)),n.class=n.class.join(" ")),void 0!==t.attributes&&Object.keys(t.attributes).forEach(function(e){n[e]=t.attributes[e]}),n},function(n,u,e){var s=e._imageClass,t=e._loadingClass,i=e._appendedClass,a=e._iconAttribute,o=e._inlineModeAttribute,r=":not(svg):not(."+i+")",c=":not(."+t+")",l="."+t,h={iconify:{selector:"."+s,selectorAll:"."+s+r,selectorNew:"."+s+r+c,selectorLoading:"."+s+r+l,icon:function(e){var t,i=e.getAttribute(a);if("string"==typeof i)return i;for(var n=0;n<e.classList.length;n++)if(5<(t=e.classList[n]).length&&"icon:"===t.slice(0,5))return t.slice(5);return""},filterClasses:function(e,t){var i,n,o;for(n=0;n<t.length;n++)"icon-"===(i=t[n]).slice(0,5)&&2===(i=i.slice(5).split(":")).length&&(o="data-"+i[0],void 0===e.attributes&&(e.attributes={}),e.attributes[o]=i[1]);return t}}},p=Object.keys(h);n.addFinder=function(e,t){void 0===t.selectorAll&&(t.selectorAll=t.selector+r),void 0===t.selectorNew&&(t.selectorNew=t.selector+r+c),void 0===t.selectorLoading&&(t.selectorLoading=t.selector+r+l),h[e]=t,p=Object.keys(h),n.isReady&&n.scanDOM()},n.addTag=function(e,i,t){n.addFinder("tag-"+e,{selector:e,icon:null==t?h.iconify.icon:t,filterAttributes:function(e,t){return void 0===t[o]&&(t[o]=i),t}})};try{"object"==typeof Reflect&&"object"==typeof customElements&&Object.setPrototypeOf&&function(){function e(){return Reflect.construct(HTMLElement,[],e)}Object.setPrototypeOf(e.prototype,HTMLElement.prototype),Object.setPrototypeOf(e,HTMLElement),customElements.define("iconify-icon",e)}()}catch(e){}n.addTag("iconify-icon",!1),u.findNewImages=function(c,l){var d=[],f=[];return(c=void 0===c?void 0===e._root?document.body:e._root:c)&&p.forEach(function(e){var t,i,n,o,r=h[e],s=!0===l?r.selectorLoading:!1===l?r.selectorNew:r.selectorAll,a=c.querySelectorAll(s);for(t=0;t<a.length;t++)i=a[t],(n=r.icon(i))&&-1===f.indexOf(i)&&(f.push(i),o=u.newImage(i,n,r),d.push(o))}),d},u.findParsedImages=function(e){var t,i,n,o=[],r=e.querySelectorAll("svg."+s);for(t=0;t<r.length;t++)(n=(i=r[t]).getAttribute(a))&&o.push(u.parsedImage(i,n));return o}}(e,u,u.config),function(r,s,c,o){var l={},d={},a={},f=!1,u={session:!0,local:!0},h={session:0,local:0};function p(){var r=c.loaderMaxURLSize,o={};function s(e,t){var i,n=o[e];n=n.replace("{icons}",t.join(",")),(i=document.createElement("script")).setAttribute("type","text/javascript"),i.setAttribute("src",n),i.setAttribute("async",!0),document.head.appendChild(i)}function a(e){var t=void 0===c.API[e]?c.defaultAPI:c.API[e];return-1===t.indexOf("{icons}")?(o[e]=t,null):(t=t.replace("{prefix}",e).replace("{callback}","Iconify._loaderCallback"),(o[e]=t).replace("{icons}","").length)}Object.keys(l).forEach(function(i){var n=a(i),o=[];if(null===n)return s(i,[]),void(d[i]=!0);l[i].forEach(function(e,t){n+=e.length+1,r<=n&&(s(i,o),o=[],n=a(i)+e.length+1),o.push(e)}),o.length&&s(i,o),d[i]=void 0===d[i]?l[i]:d[i].concat(l[i]),delete l[i]}),f=!1}function v(e,t,i){return i||s.domready||c.loadBeforeDOMReady?(void 0===l[e]||-1===l[e].indexOf(t))&&(void 0===d[e]||!0!==d[e]&&-1===d[e].indexOf(t))&&(void 0===l[e]&&(l[e]=[]),l[e].push(t),f||(f=!0,window.setTimeout(p,0)),!0):(o=t,void 0===a[n=e]&&(a[n]={}),a[n][o]=!0,void 0===s._loaderDOMReady&&(s._loaderDOMReady=s.DOMReadyCallback,s.DOMReadyCallback=function(){s._loaderDOMReady(),Object.keys(a).forEach(function(t){Object.keys(a[t]).forEach(function(e){r.iconExists(e,t)||v(t,e,!0)})})}),!0);var n,o}r._loaderCallback=function(i){var n=!1;"object"==typeof i&&(["local","session"].forEach(function(t){var e;if(!n&&u[t]&&c[t+"Storage"]){e=o[t+"Storage"];try{h[t]||e.setItem("iconify-version",s.version),e.setItem("iconify"+h[t],JSON.stringify(i)),n=!0,h[t]++,e.setItem("iconify-count",h[t])}catch(e){u[t]=!1}}}),r.addCollection(i),s.event(c._loaderEvent))},s.loadImage=function(e,t){var i=s.getPrefix(e.icon);return!!r.iconExists(i.icon,i.prefix)||(!1!==t&&v(i.prefix,i.icon,!1)&&e.element.classList.add(c._loadingClass),!1)},r.preloadImages=function(e){var t,i=!1;return e.forEach(function(e){t=s.getPrefix(e),r.iconExists(t.icon,t.prefix)||(v(t.prefix,t.icon,!0),i=!0)}),i},["local","session"].forEach(function(t){var e,i,n;try{if("object"!=typeof(e=o[t+"Storage"]))return void(u[t]=!1);if(e.getItem("iconify-version")!==s.version)return;if("number"!=typeof(n=parseInt(e.getItem("iconify-count")))||isNaN(n))return;for(;;){if(h[t]>=n)return;if("string"!=typeof(i=e.getItem("iconify"+h[t])))return;"object"==typeof(i=JSON.parse(i))&&r.addCollection(i),h[t]++}}catch(e){u[t]=!1}})}(e,u,u.config,t),e.pauseObserving=function(){},e.resumeObserving=function(){},function(l,d,e){var f=e._iconAttribute,u=e._loadingClass,h=e._imageClass,p=e._appendedClass;function v(e,t){var i;return"<?"===e.slice(0,2)&&(i=e.indexOf(">"),e=e.slice(i+1)),e=-1!==(i=(e=e.replace("viewbox=","viewBox=").replace("preserveaspectratio=","preserveAspectRatio=")).indexOf("</"))?e.replace("</",t+"</"):e.replace("/>",">"+t+"</svg>")}d.renderSVG=function(t){var e,i,n,o,r,s,a=d.getImageAttributes(t),c=l.getIcon(t.icon);a[f]=t.icon,e=new d.SVG(c),n=document.createElement("svg"),r=e.attributes(a),Object.keys(r.attributes).forEach(function(e){try{n.setAttribute(e,r.attributes[e])}catch(e){}}),Object.keys(r.elementAttributes).forEach(function(e){try{(r.append?t.element:n).setAttribute(e,r.elementAttributes[e])}catch(e){}}),t.loading&&(n.classList.remove(u),r.append&&t.element.classList.remove(u)),n.classList.add(h),s=v(n.outerHTML,r.body),(o=document.createElement("span")).innerHTML=s,i=o.childNodes[0],r.append?(t.element.classList.add(p),t.element.appendChild(i)):(t.element.parentNode.replaceChild(i,t.element),t.element=i),delete t.parser,delete t.loading},l.getSVG=function(e,t){var i,n,o;return!!l.iconExists(e)&&(i=new d.SVG(l.getIcon(e)),o=i.attributes(t,!1),n=document.createElement("svg"),Object.keys(o.attributes).forEach(function(e){try{n.setAttribute(e,o.attributes[e])}catch(e){}}),v(n.outerHTML,o.body))}}(e,u,u.config),d=e,(f=u).scanDOM=function(){var t=!1;function e(){f.findNewImages().forEach(function(e){f.loadImage(e)&&(t||(t=!0,d.pauseObserving()),f.renderSVG(e))})}if(f.ready)e();else try{e()}catch(e){}t&&d.resumeObserving()},d.scanDOM=f.scanDOM,d.getVersion=function(){return f.version}}(self.Iconify,self));

@@ -15,159 +15,159 @@ /**

(function(Iconify) {
"use strict";
"use strict";
/**
* List of FontAwesome class names that do not represent icons
*
* @type {[string]}
*/
var faReserved = ['fa-lg', 'fa-fw', 'fa-ul', 'fa-li', 'fa-border', 'fa-pull-left', 'fa-pull-right', 'fa-spin', 'fa-pulse', 'fa-rotate-90', 'fa-rotate-180', 'fa-rotate-270', 'fa-flip-horizontal', 'fa-flip-vertical', 'fa-stack', 'fa-stack-1x', 'fa-stack-2x', 'fa-inverse'],
rotateAttribute = Iconify.getConfig('_rotateAttribute'),
flipAttribute = Iconify.getConfig('_flipAttribute'),
inlineAttribute = Iconify.getConfig('_inlineModeAttribute'),
i;
/**
* List of FontAwesome class names that do not represent icons
*
* @type {[string]}
*/
var faReserved = ['fa-lg', 'fa-fw', 'fa-ul', 'fa-li', 'fa-border', 'fa-pull-left', 'fa-pull-right', 'fa-spin', 'fa-pulse', 'fa-rotate-90', 'fa-rotate-180', 'fa-rotate-270', 'fa-flip-horizontal', 'fa-flip-vertical', 'fa-stack', 'fa-stack-1x', 'fa-stack-2x', 'fa-inverse'],
rotateAttribute = Iconify.getConfig('_rotateAttribute'),
flipAttribute = Iconify.getConfig('_flipAttribute'),
inlineAttribute = Iconify.getConfig('_inlineModeAttribute'),
i;
/**
* Link to stylesheet
*
* @type {string}
*/
var stylesheetCDN = '//code.iconify.design/css/fa.css';
/**
* Link to stylesheet
*
* @type {string}
*/
var stylesheetCDN = '//code.iconify.design/css/fa.css';
/**
* True if stylesheet has been added
*
* @type {boolean}
*/
var styleAdded = false;
/**
* True if stylesheet has been added
*
* @type {boolean}
*/
var styleAdded = false;
/**
* Inserts short version of FontAwesome stylesheet into DOM
*/
function insertStylesheet() {
var element = document.createElement('link');
/**
* Inserts short version of FontAwesome stylesheet into DOM
*/
function insertStylesheet() {
var element = document.createElement('link');
styleAdded = true;
styleAdded = true;
element.setAttribute('rel', 'stylesheet');
element.setAttribute('type', 'text/css');
element.setAttribute('href', stylesheetCDN);
document.head.appendChild(element);
}
element.setAttribute('rel', 'stylesheet');
element.setAttribute('type', 'text/css');
element.setAttribute('href', stylesheetCDN);
document.head.appendChild(element);
}
/**
* Create finder object
*
* @param {string} selector
* @param {string} prefix
* @returns {object}
*/
function finder(selector, prefix) {
return {
selector: selector,
/**
* Create finder object
*
* @param {string} selector
* @param {string} prefix
* @returns {object}
*/
function finder(selector, prefix) {
return {
selector: selector,
/**
* Get icon name from element
*
* @param {Element} element
* @return {string}
*/
icon: function(element) {
var item;
/**
* Get icon name from element
*
* @param {Element} element
* @return {string}
*/
icon: function(element) {
var item;
for (var i = 0; i < element.classList.length; i++) {
item = element.classList[i];
if (item.slice(0, 3) === 'fa-' && faReserved.indexOf(item) === -1) {
return prefix + ':' + item.slice(3);
}
}
for (var i = 0; i < element.classList.length; i++) {
item = element.classList[i];
if (item.slice(0, 3) === 'fa-' && faReserved.indexOf(item) === -1) {
return prefix + ':' + item.slice(3);
}
}
return '';
},
return '';
},
/**
* Filter class names list, removing any FontAwesome specific classes
*
* @param {object} image
* @param {Array|DOMTokenList} list
* @return {Array}
*/
filterClasses: function(image, list) {
var results = [],
transform = {
rotate: 0,
hFlip: false,
vFlip: false
};
/**
* Filter class names list, removing any FontAwesome specific classes
*
* @param {object} image
* @param {Array|DOMTokenList} list
* @return {Array}
*/
filterClasses: function(image, list) {
var results = [],
transform = {
rotate: 0,
hFlip: false,
vFlip: false
};
if (image.attributes === void 0) {
image.attributes = {};
}
if (image.attributes === void 0) {
image.attributes = {};
}
for (var i = 0; i < list.length; i++) {
switch (list[i]) {
case 'fa-rotate-90':
transform.rotate = 1;
break;
for (var i = 0; i < list.length; i++) {
switch (list[i]) {
case 'fa-rotate-90':
transform.rotate = 1;
break;
case 'fa-rotate-180':
transform.rotate = 2;
break;
case 'fa-rotate-180':
transform.rotate = 2;
break;
case 'fa-rotate-270':
transform.rotate = 3;
break;
case 'fa-rotate-270':
transform.rotate = 3;
break;
case 'fa-flip-horizontal':
transform.hFlip = true;
break;
case 'fa-flip-horizontal':
transform.hFlip = true;
break;
case 'fa-flip-vertical':
transform.vFlip = true;
break;
case 'fa-flip-vertical':
transform.vFlip = true;
break;
default:
results.push(list[i]);
}
}
default:
results.push(list[i]);
}
}
if (image.attributes[inlineAttribute] === void 0) {
image.attributes[inlineAttribute] = true;
}
if (image.attributes[inlineAttribute] === void 0) {
image.attributes[inlineAttribute] = true;
}
// Add transformation as attributes
if (transform.rotate) {
image.attributes[rotateAttribute] = transform.rotate;
}
if (transform.hFlip || transform.vFlip) {
image.attributes[flipAttribute] = (transform.hFlip && transform.vFlip) ? 'horizontal vertical' : (
transform.hFlip ? 'horizontal' : 'vertical'
);
}
// Add transformation as attributes
if (transform.rotate) {
image.attributes[rotateAttribute] = transform.rotate;
}
if (transform.hFlip || transform.vFlip) {
image.attributes[flipAttribute] = (transform.hFlip && transform.vFlip) ? 'horizontal vertical' : (
transform.hFlip ? 'horizontal' : 'vertical'
);
}
// Insert short version of FontAwesome stylesheet into DOM
if (!styleAdded) {
insertStylesheet();
}
// Insert short version of FontAwesome stylesheet into DOM
if (!styleAdded) {
insertStylesheet();
}
return results;
}
};
}
return results;
}
};
}
/**
* Add more reserved keywords
*/
for (i = 2; i < 11; i ++) {
faReserved.push('fa-' + i + 'x');
}
/**
* Add more reserved keywords
*/
for (i = 2; i < 11; i ++) {
faReserved.push('fa-' + i + 'x');
}
/**
* Add finder to list of finders
*/
Iconify.addFinder('fa', finder('.fa', 'fa'));
Iconify.addFinder('fas', finder('.fas', 'fa-solid'));
Iconify.addFinder('far', finder('.far', 'fa-regular'));
Iconify.addFinder('fal', finder('.fal', 'fa-light')); // pro only
Iconify.addFinder('fab', finder('.fab', 'fa-brands'));
/**
* Add finder to list of finders
*/
Iconify.addFinder('fa', finder('.fa', 'fa'));
Iconify.addFinder('fas', finder('.fas', 'fa-solid'));
Iconify.addFinder('far', finder('.far', 'fa-regular'));
Iconify.addFinder('fal', finder('.fal', 'fa-light')); // pro only
Iconify.addFinder('fab', finder('.fab', 'fa-brands'));
})(Iconify);

@@ -15,66 +15,66 @@ /**

(function(Iconify) {
"use strict";
"use strict";
/**
* List of icalicons class names that do not represent icons
*
* @type {[string]}
*/
var inlineAttribute = Iconify.getConfig('_inlineModeAttribute');
/**
* List of icalicons class names that do not represent icons
*
* @type {[string]}
*/
var inlineAttribute = Iconify.getConfig('_inlineModeAttribute');
/**
* Add finder to list of finders
*/
Iconify.addFinder('il', {
selector: '.il',
/**
* Add finder to list of finders
*/
Iconify.addFinder('il', {
selector: '.il',
/**
* Get icon name from element
*
* @param {Element} element
* @return {string}
*/
icon: function(element) {
var item;
/**
* Get icon name from element
*
* @param {Element} element
* @return {string}
*/
icon: function(element) {
var item;
for (var i = 0; i < element.classList.length; i++) {
item = element.classList[i];
if (item.slice(0, 3) === 'il-') {
return item;
}
}
for (var i = 0; i < element.classList.length; i++) {
item = element.classList[i];
if (item.slice(0, 3) === 'il-') {
return item;
}
}
return '';
},
return '';
},
/**
* Filter class names list, removing any icalicons specific classes
*
* @param {object} image
* @param {Array|DOMTokenList} list
* @return {Array}
*/
filterClasses: function(image, list) {
var results;
/**
* Filter class names list, removing any icalicons specific classes
*
* @param {object} image
* @param {Array|DOMTokenList} list
* @return {Array}
*/
filterClasses: function(image, list) {
var results;
results = list.filter(function(item) {
return item !== 'il' && item.slice(0, 3) !== 'il-';
});
results = list.filter(function(item) {
return item !== 'il' && item.slice(0, 3) !== 'il-';
});
if (image.attributes === void 0) {
image.attributes = {};
}
if (image.attributes === void 0) {
image.attributes = {};
}
if (image.attributes[inlineAttribute] === void 0) {
image.attributes[inlineAttribute] = true;
}
if (image.attributes[inlineAttribute] === void 0) {
image.attributes[inlineAttribute] = true;
}
image.attributes.width = '1em';
image.attributes.height = '1em';
image.attributes.width = '1em';
image.attributes.height = '1em';
return results;
}
});
return results;
}
});
})(Iconify);

@@ -15,613 +15,613 @@ /**

(function(Iconify) {
"use strict";
"use strict";
/**
* Config variables
*
* @type {string}
*/
var inlineAttribute = Iconify.getConfig('_inlineModeAttribute');
var appendAttribute = Iconify.getConfig('_appendAttribute');
/**
* Config variables
*
* @type {string}
*/
var inlineAttribute = Iconify.getConfig('_inlineModeAttribute');
var appendAttribute = Iconify.getConfig('_appendAttribute');
/**
* Characters map, generated
*
* @type {object}
*/
var map = {
"21": "itunes",
"22": "kik",
"23": "krop",
"24": "last",
"25": "linkedin",
"26": "linkedin-alt",
"27": "livejournal",
"28": "lovedsgn",
"29": "meetup",
"30": "gowalla",
"31": "gowalla-alt",
"32": "grooveshark",
"33": "hacker-news",
"34": "hi5",
"35": "hype-machine",
"36": "hyves",
"37": "icq",
"38": "identi",
"39": "instapaper",
"40": "orkut",
"41": "dropbox",
"42": "drupal",
"43": "dzone",
"44": "ebay",
"45": "ember",
"46": "etsy",
"47": "evernote",
"48": "facebook",
"49": "facebook-alt",
"50": "forrst",
"51": "foursquare",
"52": "friendfeed",
"53": "friendster",
"54": "gdgt",
"55": "github",
"56": "github-alt",
"57": "goodreads",
"58": "google",
"59": "google-buzz",
"60": "picasa",
"61": "aim",
"62": "arto",
"63": "aws",
"64": "baidu",
"65": "basecamp",
"66": "bebo",
"67": "behance",
"68": "bing",
"69": "blip",
"70": "creative-commons",
"71": "dailybooth",
"72": "delicious",
"73": "designbump",
"74": "designfloat",
"75": "designmoo",
"76": "deviantart",
"77": "digg",
"78": "digg-alt",
"79": "diigo",
"6a": "blogger",
"6b": "bnter",
"6c": "brightkite",
"6d": "cinch",
"6e": "cloudapp",
"6f": "coroflot",
"7a": "dribbble",
"4a": "facebook-places",
"4b": "facto",
"4c": "feedburner",
"4d": "flickr",
"4e": "folkd",
"4f": "formspring",
"5a": "google-talk",
"2a": "metacafe",
"2b": "ming",
"2c": "mister-wong",
"2d": "mixx",
"2e": "mixx-alt",
"2f": "mobileme",
"3a": "msn-messenger",
"3b": "myspace",
"3c": "myspace-alt",
"3d": "newsvine",
"3e": "official",
"3f": "openid",
"5b": "pandora",
"5d": "path",
"5e": "paypal",
"5f": "photobucket",
"7b": "picassa",
"7c": "pinboard",
"7d": "ping",
"7e": "pingchat",
"5c": "playstation",
"e000": "plixi",
"e001": "plurk",
"e002": "podcast",
"e003": "posterous",
"e004": "qik",
"e005": "quik",
"e006": "quora",
"e007": "rdio",
"e008": "readernaut",
"e009": "reddit",
"e00a": "retweet",
"e00b": "robo",
"e00c": "rss",
"e00d": "scribd",
"e00e": "sharethis",
"e00f": "simplenote",
"e010": "skype",
"e011": "slashdot",
"e012": "slideshare",
"e013": "smugmug",
"e014": "soundcloud",
"e015": "spotify",
"e016": "squarespace",
"e017": "squidoo",
"e018": "steam",
"e019": "stumbleupon",
"e01a": "technorati",
"e01b": "threewords",
"e01c": "tribe",
"e01d": "tripit",
"e01e": "tumblr",
"e01f": "twitter",
"e020": "twitter-alt",
"e021": "vcard",
"e022": "viddler",
"e023": "vimeo",
"e024": "virb",
"e025": "w3",
"e026": "whatsapp",
"e027": "wikipedia",
"e028": "windows",
"e029": "wists",
"e02a": "wordpress",
"e02b": "wordpress-alt",
"e02c": "xing",
"e02d": "yahoo",
"e02e": "yahoo-buzz",
"e02f": "yahoo-messenger",
"e030": "yelp",
"e031": "youtube",
"e032": "youtube-alt",
"e033": "zerply",
"e034": "zootool",
"e035": "zynga",
"e036": "aim-alt",
"e037": "amazon",
"e038": "app-store",
"e039": "apple",
"e03a": "girl",
"e03b": "girl-sad",
"e03c": "girl-confused",
"e03d": "bank-safe",
"e03e": "shopping-cart",
"e03f": "blaster",
"e040": "helm",
"e041": "boiled-egg",
"e042": "boiled-egg-finger",
"e043": "cart",
"e044": "coin",
"e045": "coins",
"e046": "couple",
"e047": "credit-card",
"e048": "crown",
"e049": "daft-punk",
"e04a": "dollar-bill",
"e04b": "dollars",
"e04c": "music",
"e04d": "headphones",
"e04e": "headset",
"e04f": "egg",
"e050": "fried-egg",
"e051": "euro-bill",
"e052": "extinguisher",
"e053": "fuck",
"e054": "full-screen",
"e055": "gamepad",
"e056": "girl-2",
"e057": "girl-angel",
"e058": "girl-angry",
"e059": "girl-big-smile",
"e05a": "girl-cry",
"e05b": "girl-flushed",
"e05c": "girl-open-mouth",
"e05d": "girl-sleep",
"e05e": "girl-smile",
"e05f": "girl-user",
"e060": "guy",
"e061": "guy-angel",
"e062": "guy-angry",
"e063": "guy-big-smile",
"e064": "guy-confused",
"e065": "guy-cry",
"e066": "guy-flushed",
"e067": "guy-happy",
"e068": "guy-o-mouth",
"e069": "girl-o-mouth",
"e06a": "guy-open-mouth",
"e06b": "guy-sad",
"e06c": "guy-sleep",
"e06d": "guy-smile",
"e06e": "guy-user",
"e06f": "guy-wrong",
"e070": "hand",
"e071": "hand-pointer-left",
"e072": "hand-pointer-right",
"e073": "hand-pointer-top",
"e074": "mayo-hotdog",
"e075": "hotdog",
"e076": "hungry",
"e077": "enlarge",
"e078": "laptop",
"e079": "mail",
"e07a": "mail-back",
"e07b": "mail-bill",
"e07c": "mail-stamp",
"e07d": "moon",
"e07e": "music-score",
"e07f": "open-padlock",
"e080": "organisation",
"e081": "padlock",
"e082": "paper-tablet",
"e083": "pdiddy",
"e084": "people-team",
"e085": "piggy-bank",
"e086": "piggy-bank-coins",
"e087": "power",
"e088": "printer",
"e089": "promo",
"e08a": "puzzle",
"e08b": "resize",
"e08c": "road",
"e08d": "rss-icon",
"e08e": "safe",
"e08f": "sale-tag",
"e090": "save",
"e091": "shield",
"e092": "store",
"e093": "sign",
"e094": "sreenshot",
"e095": "sun",
"e096": "cart-supermarket",
"e097": "tag",
"e098": "token",
"e099": "delete",
"e09a": "user",
"e09b": "wallet",
"e09c": "watch",
"e09d": "30-80",
"e09e": "40-105",
"e09f": "50-120",
"e0a0": "60-140",
"e0a1": "70-160",
"e0a2": "95-200",
"e0a3": "airplane",
"e0a4": "any-solvent",
"e0a5": "any-solvent-without-tetrachlorethylene",
"e0a6": "attachment",
"e0a7": "warning",
"e0a8": "barrel",
"e0a9": "bike",
"e0aa": "triangle",
"e0ab": "broken-link",
"e0ac": "bubble",
"e0ad": "prison-school-bus",
"e0ae": "car",
"e0af": "cocktail",
"e0b0": "do-not-bleach",
"e0b1": "do-not-dry",
"e0b2": "do-not-iron",
"e0b3": "do-not-wash",
"e0b4": "do-not-wring",
"e0b5": "double-arrow",
"e0b6": "drip-dry",
"e0b7": "drop",
"e0b8": "dry",
"e0b9": "dry-flat",
"e0ba": "dry-in-the-shade",
"e0bb": "dry-normal-hight-heat",
"e0bc": "dry-normal-low-heat",
"e0bd": "heat",
"e0be": "dry-normal-no-heat",
"e0bf": "eject",
"e0c0": "switch",
"e0c1": "film",
"e0c2": "apps",
"e0c3": "gun",
"e0c4": "hand-wash",
"e0c5": "disabled",
"e0c6": "hang-to-dry",
"e0c7": "hard-drive",
"e0c8": "hourglass",
"e0c9": "important",
"e0ca": "iron-any-temp",
"e0cb": "justice",
"e0cc": "keyboard",
"e0cd": "link",
"e0ce": "branch",
"e0cf": "liquor",
"e0d0": "bus-london",
"e0d1": "machine-wash",
"e0d2": "machine-wash-gentle-or-delicate",
"e0d3": "machine-wash-permanent-press",
"e0d4": "wand",
"e0d5": "magnifying-glass",
"e0d6": "maximum-temp-110-230",
"e0d7": "maximum-temp-150-300",
"e0d8": "maximum-temp-200-390",
"e0d9": "megaphone",
"e0da": "man",
"e0db": "mic",
"e0dc": "mic-off",
"e0dd": "next",
"e0de": "non-chlorine-bleach-if-needed",
"e0df": "penknife",
"e0e0": "petroleum-solvent-steam",
"e0e1": "phone",
"e0e2": "piano",
"e0e3": "pin",
"e0e4": "filter",
"e0e5": "plane",
"e0e6": "previous",
"e0e7": "quote",
"e0e8": "retweet-1",
"e0e9": "sound",
"e0ea": "sound-down",
"e0eb": "sound-level-one",
"e0ec": "sound-level-two",
"e0ed": "sound-plus",
"e0ee": "stethoscope",
"e0ef": "suitcase",
"e0f0": "target",
"e0f1": "ticket",
"e0f2": "trophy",
"e0f3": "tumble-dry",
"e0f4": "ufo",
"e0f5": "video-camera",
"e0f6": "truck-1",
"e0f7": "water-temperature-30",
"e0f8": "water-temperature-40",
"e0f9": "water-temperature-50",
"e0fa": "water-temperature-60",
"e0fb": "water-temperature-70",
"e0fc": "water-temperature-95",
"e0fd": "clothes-water",
"e0fe": "woman",
"e0ff": "zoom-in",
"e100": "zoom-out",
"e101": "anchor",
"e102": "left",
"e103": "right",
"e104": "up",
"e105": "down",
"e106": "play",
"e107": "forward",
"e108": "rewind",
"e109": "forbidden",
"e10a": "stats",
"e10b": "bar-code",
"e10c": "lab",
"e10d": "beer",
"e10e": "bell",
"e10f": "book-tag",
"e110": "minus-circle-1",
"e111": "plus-box",
"e112": "minus-box",
"e113": "plus",
"e114": "minus",
"e115": "arrow-right",
"e116": "down-arrow-circle",
"e117": "up-arrow-circle",
"e118": "right-arrow-circle",
"e119": "left-arrow-circle",
"e11a": "contrast",
"e11b": "align-justified",
"e11c": "align-right",
"e11d": "align-left",
"e11e": "minus-circle",
"e11f": "book",
"e120": "label-hogwarts",
"e121": "label",
"e122": "leaf",
"e123": "work-case",
"e124": "bug",
"e125": "building",
"e126": "calendar",
"e127": "calendar-grid",
"e128": "align-centered",
"e129": "camera",
"e12a": "check-box-empty",
"e12b": "check-box",
"e12c": "radio-empty",
"e12d": "radio",
"e12e": "coffee",
"e12f": "coffee-hot",
"e130": "compass",
"e131": "bull-right",
"e132": "bull-left",
"e133": "chat-alt",
"e134": "chat",
"e135": "code",
"e136": "flag-corner",
"e137": "flag-scout",
"e138": "flag",
"e139": "row-setting",
"e13a": "copy",
"e13b": "file",
"e13c": "crop",
"e13d": "iphone",
"e13e": "ipad",
"e13f": "mac",
"e140": "random",
"e141": "arrow-box",
"e142": "scissors",
"e143": "dashboard",
"e144": "world",
"e145": "download",
"e146": "upload",
"e147": "fire",
"e148": "eye",
"e149": "no-eye",
"e14a": "folder",
"e14b": "clock",
"e14c": "mouse",
"e14d": "backpack",
"e14e": "ipod",
"e14f": "iwatch",
"e150": "battery",
"e151": "battery-charge",
"e152": "lightning",
"e153": "image",
"e154": "gift",
"e155": "cutlery",
"e156": "pen",
"e157": "archive",
"e158": "arrow-down",
"e159": "arrow-left",
"e15a": "arrow-up",
"e15b": "asterisk",
"e15c": "browser",
"e15d": "check",
"e15e": "cloud",
"e15f": "download-from-cloud",
"e160": "upload-to-cloud",
"e161": "checked",
"e162": "ambulance",
"e163": "mailbox",
"e164": "plus-circle",
"e165": "truck",
"e166": "girl-sad-hunappy",
"e167": "spades-card",
"e168": "diamonds-card",
"e169": "clubs-card",
"e16a": "hearts-card",
"e16b": "pull",
"e16c": "pant",
"e16d": "data-board",
"e16e": "board",
"e16f": "shoe",
"e170": "globe",
"e171": "pin-map",
"e172": "bonnet",
"e173": "contact",
"e174": "fish",
"e175": "cookie",
"e176": "pizza",
"e177": "birthday",
"e178": "pc",
"e179": "ram",
"e17a": "cpu",
"e17b": "milkshake",
"e17c": "tacos",
"e17d": "burger",
"e17e": "home",
"e17f": "lego",
"e180": "preston"
};
/**
* Characters map, generated
*
* @type {object}
*/
var map = {
"21": "itunes",
"22": "kik",
"23": "krop",
"24": "last",
"25": "linkedin",
"26": "linkedin-alt",
"27": "livejournal",
"28": "lovedsgn",
"29": "meetup",
"30": "gowalla",
"31": "gowalla-alt",
"32": "grooveshark",
"33": "hacker-news",
"34": "hi5",
"35": "hype-machine",
"36": "hyves",
"37": "icq",
"38": "identi",
"39": "instapaper",
"40": "orkut",
"41": "dropbox",
"42": "drupal",
"43": "dzone",
"44": "ebay",
"45": "ember",
"46": "etsy",
"47": "evernote",
"48": "facebook",
"49": "facebook-alt",
"50": "forrst",
"51": "foursquare",
"52": "friendfeed",
"53": "friendster",
"54": "gdgt",
"55": "github",
"56": "github-alt",
"57": "goodreads",
"58": "google",
"59": "google-buzz",
"60": "picasa",
"61": "aim",
"62": "arto",
"63": "aws",
"64": "baidu",
"65": "basecamp",
"66": "bebo",
"67": "behance",
"68": "bing",
"69": "blip",
"70": "creative-commons",
"71": "dailybooth",
"72": "delicious",
"73": "designbump",
"74": "designfloat",
"75": "designmoo",
"76": "deviantart",
"77": "digg",
"78": "digg-alt",
"79": "diigo",
"6a": "blogger",
"6b": "bnter",
"6c": "brightkite",
"6d": "cinch",
"6e": "cloudapp",
"6f": "coroflot",
"7a": "dribbble",
"4a": "facebook-places",
"4b": "facto",
"4c": "feedburner",
"4d": "flickr",
"4e": "folkd",
"4f": "formspring",
"5a": "google-talk",
"2a": "metacafe",
"2b": "ming",
"2c": "mister-wong",
"2d": "mixx",
"2e": "mixx-alt",
"2f": "mobileme",
"3a": "msn-messenger",
"3b": "myspace",
"3c": "myspace-alt",
"3d": "newsvine",
"3e": "official",
"3f": "openid",
"5b": "pandora",
"5d": "path",
"5e": "paypal",
"5f": "photobucket",
"7b": "picassa",
"7c": "pinboard",
"7d": "ping",
"7e": "pingchat",
"5c": "playstation",
"e000": "plixi",
"e001": "plurk",
"e002": "podcast",
"e003": "posterous",
"e004": "qik",
"e005": "quik",
"e006": "quora",
"e007": "rdio",
"e008": "readernaut",
"e009": "reddit",
"e00a": "retweet",
"e00b": "robo",
"e00c": "rss",
"e00d": "scribd",
"e00e": "sharethis",
"e00f": "simplenote",
"e010": "skype",
"e011": "slashdot",
"e012": "slideshare",
"e013": "smugmug",
"e014": "soundcloud",
"e015": "spotify",
"e016": "squarespace",
"e017": "squidoo",
"e018": "steam",
"e019": "stumbleupon",
"e01a": "technorati",
"e01b": "threewords",
"e01c": "tribe",
"e01d": "tripit",
"e01e": "tumblr",
"e01f": "twitter",
"e020": "twitter-alt",
"e021": "vcard",
"e022": "viddler",
"e023": "vimeo",
"e024": "virb",
"e025": "w3",
"e026": "whatsapp",
"e027": "wikipedia",
"e028": "windows",
"e029": "wists",
"e02a": "wordpress",
"e02b": "wordpress-alt",
"e02c": "xing",
"e02d": "yahoo",
"e02e": "yahoo-buzz",
"e02f": "yahoo-messenger",
"e030": "yelp",
"e031": "youtube",
"e032": "youtube-alt",
"e033": "zerply",
"e034": "zootool",
"e035": "zynga",
"e036": "aim-alt",
"e037": "amazon",
"e038": "app-store",
"e039": "apple",
"e03a": "girl",
"e03b": "girl-sad",
"e03c": "girl-confused",
"e03d": "bank-safe",
"e03e": "shopping-cart",
"e03f": "blaster",
"e040": "helm",
"e041": "boiled-egg",
"e042": "boiled-egg-finger",
"e043": "cart",
"e044": "coin",
"e045": "coins",
"e046": "couple",
"e047": "credit-card",
"e048": "crown",
"e049": "daft-punk",
"e04a": "dollar-bill",
"e04b": "dollars",
"e04c": "music",
"e04d": "headphones",
"e04e": "headset",
"e04f": "egg",
"e050": "fried-egg",
"e051": "euro-bill",
"e052": "extinguisher",
"e053": "fuck",
"e054": "full-screen",
"e055": "gamepad",
"e056": "girl-2",
"e057": "girl-angel",
"e058": "girl-angry",
"e059": "girl-big-smile",
"e05a": "girl-cry",
"e05b": "girl-flushed",
"e05c": "girl-open-mouth",
"e05d": "girl-sleep",
"e05e": "girl-smile",
"e05f": "girl-user",
"e060": "guy",
"e061": "guy-angel",
"e062": "guy-angry",
"e063": "guy-big-smile",
"e064": "guy-confused",
"e065": "guy-cry",
"e066": "guy-flushed",
"e067": "guy-happy",
"e068": "guy-o-mouth",
"e069": "girl-o-mouth",
"e06a": "guy-open-mouth",
"e06b": "guy-sad",
"e06c": "guy-sleep",
"e06d": "guy-smile",
"e06e": "guy-user",
"e06f": "guy-wrong",
"e070": "hand",
"e071": "hand-pointer-left",
"e072": "hand-pointer-right",
"e073": "hand-pointer-top",
"e074": "mayo-hotdog",
"e075": "hotdog",
"e076": "hungry",
"e077": "enlarge",
"e078": "laptop",
"e079": "mail",
"e07a": "mail-back",
"e07b": "mail-bill",
"e07c": "mail-stamp",
"e07d": "moon",
"e07e": "music-score",
"e07f": "open-padlock",
"e080": "organisation",
"e081": "padlock",
"e082": "paper-tablet",
"e083": "pdiddy",
"e084": "people-team",
"e085": "piggy-bank",
"e086": "piggy-bank-coins",
"e087": "power",
"e088": "printer",
"e089": "promo",
"e08a": "puzzle",
"e08b": "resize",
"e08c": "road",
"e08d": "rss-icon",
"e08e": "safe",
"e08f": "sale-tag",
"e090": "save",
"e091": "shield",
"e092": "store",
"e093": "sign",
"e094": "sreenshot",
"e095": "sun",
"e096": "cart-supermarket",
"e097": "tag",
"e098": "token",
"e099": "delete",
"e09a": "user",
"e09b": "wallet",
"e09c": "watch",
"e09d": "30-80",
"e09e": "40-105",
"e09f": "50-120",
"e0a0": "60-140",
"e0a1": "70-160",
"e0a2": "95-200",
"e0a3": "airplane",
"e0a4": "any-solvent",
"e0a5": "any-solvent-without-tetrachlorethylene",
"e0a6": "attachment",
"e0a7": "warning",
"e0a8": "barrel",
"e0a9": "bike",
"e0aa": "triangle",
"e0ab": "broken-link",
"e0ac": "bubble",
"e0ad": "prison-school-bus",
"e0ae": "car",
"e0af": "cocktail",
"e0b0": "do-not-bleach",
"e0b1": "do-not-dry",
"e0b2": "do-not-iron",
"e0b3": "do-not-wash",
"e0b4": "do-not-wring",
"e0b5": "double-arrow",
"e0b6": "drip-dry",
"e0b7": "drop",
"e0b8": "dry",
"e0b9": "dry-flat",
"e0ba": "dry-in-the-shade",
"e0bb": "dry-normal-hight-heat",
"e0bc": "dry-normal-low-heat",
"e0bd": "heat",
"e0be": "dry-normal-no-heat",
"e0bf": "eject",
"e0c0": "switch",
"e0c1": "film",
"e0c2": "apps",
"e0c3": "gun",
"e0c4": "hand-wash",
"e0c5": "disabled",
"e0c6": "hang-to-dry",
"e0c7": "hard-drive",
"e0c8": "hourglass",
"e0c9": "important",
"e0ca": "iron-any-temp",
"e0cb": "justice",
"e0cc": "keyboard",
"e0cd": "link",
"e0ce": "branch",
"e0cf": "liquor",
"e0d0": "bus-london",
"e0d1": "machine-wash",
"e0d2": "machine-wash-gentle-or-delicate",
"e0d3": "machine-wash-permanent-press",
"e0d4": "wand",
"e0d5": "magnifying-glass",
"e0d6": "maximum-temp-110-230",
"e0d7": "maximum-temp-150-300",
"e0d8": "maximum-temp-200-390",
"e0d9": "megaphone",
"e0da": "man",
"e0db": "mic",
"e0dc": "mic-off",
"e0dd": "next",
"e0de": "non-chlorine-bleach-if-needed",
"e0df": "penknife",
"e0e0": "petroleum-solvent-steam",
"e0e1": "phone",
"e0e2": "piano",
"e0e3": "pin",
"e0e4": "filter",
"e0e5": "plane",
"e0e6": "previous",
"e0e7": "quote",
"e0e8": "retweet-1",
"e0e9": "sound",
"e0ea": "sound-down",
"e0eb": "sound-level-one",
"e0ec": "sound-level-two",
"e0ed": "sound-plus",
"e0ee": "stethoscope",
"e0ef": "suitcase",
"e0f0": "target",
"e0f1": "ticket",
"e0f2": "trophy",
"e0f3": "tumble-dry",
"e0f4": "ufo",
"e0f5": "video-camera",
"e0f6": "truck-1",
"e0f7": "water-temperature-30",
"e0f8": "water-temperature-40",
"e0f9": "water-temperature-50",
"e0fa": "water-temperature-60",
"e0fb": "water-temperature-70",
"e0fc": "water-temperature-95",
"e0fd": "clothes-water",
"e0fe": "woman",
"e0ff": "zoom-in",
"e100": "zoom-out",
"e101": "anchor",
"e102": "left",
"e103": "right",
"e104": "up",
"e105": "down",
"e106": "play",
"e107": "forward",
"e108": "rewind",
"e109": "forbidden",
"e10a": "stats",
"e10b": "bar-code",
"e10c": "lab",
"e10d": "beer",
"e10e": "bell",
"e10f": "book-tag",
"e110": "minus-circle-1",
"e111": "plus-box",
"e112": "minus-box",
"e113": "plus",
"e114": "minus",
"e115": "arrow-right",
"e116": "down-arrow-circle",
"e117": "up-arrow-circle",
"e118": "right-arrow-circle",
"e119": "left-arrow-circle",
"e11a": "contrast",
"e11b": "align-justified",
"e11c": "align-right",
"e11d": "align-left",
"e11e": "minus-circle",
"e11f": "book",
"e120": "label-hogwarts",
"e121": "label",
"e122": "leaf",
"e123": "work-case",
"e124": "bug",
"e125": "building",
"e126": "calendar",
"e127": "calendar-grid",
"e128": "align-centered",
"e129": "camera",
"e12a": "check-box-empty",
"e12b": "check-box",
"e12c": "radio-empty",
"e12d": "radio",
"e12e": "coffee",
"e12f": "coffee-hot",
"e130": "compass",
"e131": "bull-right",
"e132": "bull-left",
"e133": "chat-alt",
"e134": "chat",
"e135": "code",
"e136": "flag-corner",
"e137": "flag-scout",
"e138": "flag",
"e139": "row-setting",
"e13a": "copy",
"e13b": "file",
"e13c": "crop",
"e13d": "iphone",
"e13e": "ipad",
"e13f": "mac",
"e140": "random",
"e141": "arrow-box",
"e142": "scissors",
"e143": "dashboard",
"e144": "world",
"e145": "download",
"e146": "upload",
"e147": "fire",
"e148": "eye",
"e149": "no-eye",
"e14a": "folder",
"e14b": "clock",
"e14c": "mouse",
"e14d": "backpack",
"e14e": "ipod",
"e14f": "iwatch",
"e150": "battery",
"e151": "battery-charge",
"e152": "lightning",
"e153": "image",
"e154": "gift",
"e155": "cutlery",
"e156": "pen",
"e157": "archive",
"e158": "arrow-down",
"e159": "arrow-left",
"e15a": "arrow-up",
"e15b": "asterisk",
"e15c": "browser",
"e15d": "check",
"e15e": "cloud",
"e15f": "download-from-cloud",
"e160": "upload-to-cloud",
"e161": "checked",
"e162": "ambulance",
"e163": "mailbox",
"e164": "plus-circle",
"e165": "truck",
"e166": "girl-sad-hunappy",
"e167": "spades-card",
"e168": "diamonds-card",
"e169": "clubs-card",
"e16a": "hearts-card",
"e16b": "pull",
"e16c": "pant",
"e16d": "data-board",
"e16e": "board",
"e16f": "shoe",
"e170": "globe",
"e171": "pin-map",
"e172": "bonnet",
"e173": "contact",
"e174": "fish",
"e175": "cookie",
"e176": "pizza",
"e177": "birthday",
"e178": "pc",
"e179": "ram",
"e17a": "cpu",
"e17b": "milkshake",
"e17c": "tacos",
"e17d": "burger",
"e17e": "home",
"e17f": "lego",
"e180": "preston"
};
function changeAttributes(image) {
if (image.attributes === void 0) {
image.attributes = {};
}
function changeAttributes(image) {
if (image.attributes === void 0) {
image.attributes = {};
}
if (image.attributes[inlineAttribute] === void 0) {
image.attributes[inlineAttribute] = true;
}
if (image.append) {
image.attributes[appendAttribute] = true;
}
}
if (image.attributes[inlineAttribute] === void 0) {
image.attributes[inlineAttribute] = true;
}
if (image.append) {
image.attributes[appendAttribute] = true;
}
}
/**
* Add finder to list of finders
*/
Iconify.addFinder('ps-class', {
selector: '.ps-icon',
/**
* Add finder to list of finders
*/
Iconify.addFinder('ps-class', {
selector: '.ps-icon',
/**
* Get icon name from element
*
* @param {Element} element
* @return {string|object}
*/
icon: function(element) {
var match = 'ps-icon-';
var item, name;
/**
* Get icon name from element
*
* @param {Element} element
* @return {string|object}
*/
icon: function(element) {
var match = 'ps-icon-';
var item, name;
for (var i = 0; i < element.classList.length; i++) {
item = element.classList[i];
if (item.slice(0, match.length) === match) {
name = 'ps-' + item.slice(match.length);
if (element.tagName.toUpperCase() === 'DIV') {
return {
icon: name,
append: true
}
}
return name;
}
}
for (var i = 0; i < element.classList.length; i++) {
item = element.classList[i];
if (item.slice(0, match.length) === match) {
name = 'ps-' + item.slice(match.length);
if (element.tagName.toUpperCase() === 'DIV') {
return {
icon: name,
append: true
}
}
return name;
}
}
return '';
},
return '';
},
/**
* Filter class names list, removing any PrestaShop specific classes
*
* @param {object} image
* @param {Array|DOMTokenList} list
* @return {Array}
*/
filterClasses: function(image, list) {
var results;
/**
* Filter class names list, removing any PrestaShop specific classes
*
* @param {object} image
* @param {Array|DOMTokenList} list
* @return {Array}
*/
filterClasses: function(image, list) {
var results;
results = list.filter(function(item) {
return (image.append || item !== 'ps-icon') && item.slice(0, 8) !== 'ps-icon-';
});
results = list.filter(function(item) {
return (image.append || item !== 'ps-icon') && item.slice(0, 8) !== 'ps-icon-';
});
changeAttributes(image);
changeAttributes(image);
return results;
},
});
return results;
},
});
/**
* Add finder to list of finders
*/
Iconify.addFinder('ps-attr', {
selector: '[data-ps-icon]',
/**
* Add finder to list of finders
*/
Iconify.addFinder('ps-attr', {
selector: '[data-ps-icon]',
/**
* Get icon name from element
*
* @param {Element} element
* @return {string|object}
*/
icon: function(element) {
var char = element.getAttribute('data-ps-icon'),
code, name;
/**
* Get icon name from element
*
* @param {Element} element
* @return {string|object}
*/
icon: function(element) {
var char = element.getAttribute('data-ps-icon'),
code, name;
code = char.charCodeAt(0).toString(16);
if (map[code] === void 0) {
return '';
}
code = char.charCodeAt(0).toString(16);
if (map[code] === void 0) {
return '';
}
name = 'ps-' + map[code];
if (element.tagName.toUpperCase() === 'DIV') {
return {
icon: name,
append: true
}
}
return name;
},
name = 'ps-' + map[code];
if (element.tagName.toUpperCase() === 'DIV') {
return {
icon: name,
append: true
}
}
return name;
},
/**
* Extract icon name from attributes
*
* @param image
* @param attributes
* @return {*}
*/
filterAttributes: function(image, attributes) {
image.element.removeAttribute('data-ps-icon');
delete attributes['data-ps-icon'];
/**
* Extract icon name from attributes
*
* @param image
* @param attributes
* @return {*}
*/
filterAttributes: function(image, attributes) {
image.element.removeAttribute('data-ps-icon');
delete attributes['data-ps-icon'];
changeAttributes(image);
changeAttributes(image);
return attributes;
}
});
return attributes;
}
});
})(Iconify);

@@ -5,3 +5,3 @@ {

"author": "Vjacheslav Trushkin <cyberalien@gmail.com> (artodia.com)",
"version": "1.0.0-beta7",
"version": "1.0.0-rc1",
"license": "MIT",

@@ -8,0 +8,0 @@ "keywords": [

@@ -1,7 +0,5 @@

### Important beta and backwards compatibility notice
### Important backwards compatibility notice
Important: project is marked as beta, which means there might be some bugs and there might be big changes before final release.
Important: as of version 1.0.0-beta6 project has been renamed from SimpleSVG to Iconify.
Important: as of beta 6 project has been renamed from SimpleSVG to Iconify.
Many changes from SimpleSVG 1.0.0-beta5 to Iconify 1.0.0-beta6 are not backwards compatible. If you wrote code for SimpleSVG

@@ -39,3 +37,3 @@ project, there are few changes you need to make to code to work with new version:

```
<script src="//code.iconify.design/1/1.0.0-beta7/iconify.min.js"></script>
<script src="//code.iconify.design/1/1.0.0-rc1/iconify.min.js"></script>
```

@@ -293,3 +291,3 @@

There is a tutorial that explains all differences. See http://iconify.design/docs/simplesvg-svg-fonts/
There is a tutorial that explains all differences. See http://iconify.design/docs/iconify-svg-fonts/

@@ -313,3 +311,3 @@

<script src="//code.iconify.design/1/1.0.0-beta7/plugin-fa.min.js"></script>
<script src="//code.iconify.design/1/1.0.0-rc1/plugin-fa.min.js"></script>

@@ -316,0 +314,0 @@ Replace link to FontAwesome with link to Iconify and link to FontAwesome plugin and you can keep using old FontAwesome

@@ -32,3 +32,3 @@ /**

var finders = {
ssvg: {
iconify: {
selector: '.' + imageClass,

@@ -154,3 +154,3 @@ selectorAll: '.' + imageClass + negativeSelectors,

selector: name,
icon: resolver === void 0 || resolver === null ? finders.ssvg.icon : resolver,
icon: resolver === void 0 || resolver === null ? finders.iconify.icon : resolver,
filterAttributes: function(image, attributes) {

@@ -157,0 +157,0 @@ if (attributes[inlineAttribute] === void 0) {

@@ -223,4 +223,2 @@ /**

if (typeof data === 'object') {
Iconify.addCollection(data);
// Add to storage

@@ -236,8 +234,8 @@ ['local', 'session'].forEach(function(key) {

if (!storageIndex[key]) {
func.setItem('ssvg-version', local.version);
func.setItem('iconify-version', local.version);
}
func.setItem('ssvg-icons' + storageIndex[key], JSON.stringify(data));
func.setItem('iconify' + storageIndex[key], JSON.stringify(data));
stored = true;
storageIndex[key] ++;
func.setItem('ssvg-count', storageIndex[key]);
func.setItem('iconify-count', storageIndex[key]);
} catch (err) {

@@ -248,2 +246,5 @@ useStorage[key] = false;

// Add icons to collection and parse icons
Iconify.addCollection(data);
// Dispatch event

@@ -311,3 +312,3 @@ local.event(config._loaderEvent);

if (func.getItem('ssvg-version') !== local.version) {
if (func.getItem('iconify-version') !== local.version) {
// Ignore stored data, overwrite it starting with index 0

@@ -317,3 +318,3 @@ return;

limit = parseInt(func.getItem('ssvg-count'));
limit = parseInt(func.getItem('iconify-count'));
if (typeof limit !== 'number' || isNaN(limit)) {

@@ -328,3 +329,3 @@ return;

}
item = func.getItem('ssvg-icons' + storageIndex[key]);
item = func.getItem('iconify' + storageIndex[key]);
if (typeof item === 'string') {

@@ -331,0 +332,0 @@ item = JSON.parse(item);

@@ -114,3 +114,3 @@ /**

Object.keys(values).forEach(function(attr) {
if (attr.slice(0, 1) !== '_' && result[attr] === void 0) {
if (typeof values[attr] !== 'object' && result[attr] === void 0) {
result[attr] = values[attr];

@@ -171,3 +171,3 @@ }

this._aliases[icon.prefix] = {};
} else if (this._resolved[icon.prefix] !== void 0) {
} else {
// Delete old item with same name

@@ -217,12 +217,12 @@ delete this._icons[icon.prefix][icon.icon];

});
parentIcon = getPrefix(item.parent, item._prefix);
parentIcon = item.parent;
while (true) {
counter ++;
if (counter > 5 || this._resolved[parentIcon.prefix] === void 0 || this._resolved[parentIcon.prefix][parentIcon.icon] === void 0) {
if (counter > 5 || this._resolved[icon.prefix][parentIcon] === void 0) {
return this._resolved[icon.prefix][icon.icon] = null;
}
isAlias = this._icons[parentIcon.prefix][parentIcon.icon] === void 0;
parent = this[isAlias ? '_aliases' : '_icons'][parentIcon.prefix][parentIcon.icon];
isAlias = this._icons[icon.prefix][parentIcon] === void 0;
parent = this[isAlias ? '_aliases' : '_icons'][icon.prefix][parentIcon];

@@ -251,3 +251,3 @@ // Merge data

}
parentIcon = getPrefix(parent.parent, parent._prefix);
parentIcon = parent.parent;
}

@@ -266,4 +266,3 @@

var that = this,
defaults = {},
prefix = json.prefix;
defaults = {};

@@ -282,3 +281,3 @@ // Get default values for icons

Object.keys(json.icons).forEach(function(key) {
var icon = getPrefix(key, prefix),
var icon = getPrefix(key, json.prefix),
item = json.icons[key];

@@ -296,3 +295,3 @@ if (item.body === void 0) {

Object.keys(json.aliases).forEach(function(key) {
var icon = getPrefix(key, prefix),
var icon = getPrefix(key, json.prefix),
item = json.aliases[key];

@@ -302,4 +301,9 @@ if (item.parent === void 0) {

}
item._defaults = defaults;
item._prefix = prefix;
if (json.prefix === void 0) {
// Remove prefix from parent item
if (item.parent.slice(0, icon.prefix.length) !== icon.prefix) {
return;
}
item.parent = item.parent.slice(icon.prefix.length + 1);
}
that._add(true, icon, item);

@@ -321,4 +325,8 @@ });

if (alias && typeof prefix === 'string') {
data._prefix = prefix;
if (alias && prefix === void 0) {
// Remove prefix from parent item
if (data.parent.slice(0, icon.prefix.length) !== icon.prefix) {
return;
}
data.parent = data.parent.slice(icon.prefix.length + 1);
}

@@ -325,0 +333,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc