diff --git a/README.md b/README.md index 16e4a1dcf..24669ec1e 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,10 @@ We'll use the following tools to design and produce icons: * Inkscribe * SVGO for optimization +### SVG Framework + +Work for the new SVG Framework will be taking place inside the `svg-framework` directory. Go there now, [it's got its own README](https://github.com/FortAwesome/Font-Awesome-Pro/tree/master/svg-framework). + ## Contributing Contributions, in code and constructive feedback, are very welcome. Please read through our [contributing guidelines](https://github.com/FortAwesome/Font-Awesome-Pro/blob/master/CONTRIBUTING.md). Included are directions for opening issues, coding standards, and community expectations. diff --git a/svg-framework/README.md b/svg-framework/README.md new file mode 100644 index 000000000..9931d3db4 --- /dev/null +++ b/svg-framework/README.md @@ -0,0 +1,159 @@ +

Font Awesome 5

+ +Our $1,000,000 Kickstarter stretch goal brought our **SVG Framework** to all of +Font Awesome 5. We are super-excited to bring this to you. + +As a Pro backer your early access preview gives you access to this new +framework and we need your help! + +[We're collecting feedback here.](https://github.com/FortAwesome/Font-Awesome-Pro/issues/412) + +## Different styles + +With Font Awesome 5 Pro we are introducing three styles of icons - Solid, Regular, and Light. Each icon will look similar across styles, but will generally have different line thickness or outlines instead of solid fills. Also, some icons may have more customized treatments across styles as well. + +| Style | prefix | +|---------|--------| +| solid | fa* | +| regular | far | +| light | fal | + +\* Use can use `fas` as well. This is an alias for `fa` + +## How do I try the SVG Framework out? + +You have two options: + +### Option 1: JavaScript + +1. Grab one or more of the styles (ex: `alpha/solid.js`) in the `alpha` directory +1. Grab the loader `alpha/loader.js` +1. Place these files in your project static files +1. Include them in the `` of your document + +Example: + +```html + + + + + + + +``` + +Or if you want to use the light style: + +```html + + + + + + + +``` + +Or multiple styles: + +```html + + + + + + + + + +``` + +Optional prefix: + +```html + + + + + + You don't have to have the prefix + +``` + +You can also check out the `alpha/demo-js.html` file included to see an example of how to set this up as well as a reference for what icons you can currently use. + +Pros: + +- Most familiar (still use ``) +- Replaces icons with inline `` elements for you +- Includes and packages the CSS features of Font Awesome (like `.fa-spin`) +- Easy, automatic accessibility handling +- Support for unicode and ligatures (not complete yet) + +Cons: + +- You need JavaScript +- Not as performant as sprites +- DOM mutations take special handling +- Has a few moving parts + +Browser support (tested using BrowserStack): + +| On | Edge | IE | Chrome | Firefox | Safari | Opera | Yandex | +|------------------|--------|-----------------|----------------------------|----------------------------|-----------|--------|--------| +| Desktop versions | last 2 | last 2 (10, 11) | last 2 | last 2 | last 2 | last 2 | 14 | +| Mobile versions | - | - | iOS latest Android 6, 5, 4 | iOS latest Android 6, 5, 4 | iOS 9, 10 | - | - | + +### Option 2: SVG Sprite + +1. Grab one of the sprite files (`alpha/solid.svg`) in the `alpha` directory +1. Place this file in your project static files +1. In your HTML put something like this: + +```html + + + + + +``` + +You can also check out the `alpha/demo-sprite.html` file included to see an example of how to set this up as well as a reference for what icons you can currently use. + +The way SVG Sprites work in this example is by auto-loading the URL for `solid.svg` and then using the `` with the id of `alarm-clock`. + +**Cross-origin caveat** This requires that you are serving the sprite from the same domain and port as the page. + +**Serving locally** For this sprite to load you need to be serving it from `http` or `https`. If you try to open +`alpha/demo-sprite.html` from the file system (if your address begins with `file://`) it will fail to load. + +Pros: + +- No JavaScript +- Super simple +- Fast! + +Cons: + +- Cross-origin loading (like a CDN) is pretty tough +- Doesn't include the CSS framework +- Not backward compatible (cannot use ``) +- Takes extra effort to make it accessible + +Browser support (tested using BrowserStack): + +| On | Edge | IE | Chrome | Firefox | Safari | Opera | Yandex | +|------------------|--------|-----------------|----------------------------|----------------------------|-----------|--------|--------| +| Desktop versions | last 2 | no* | last 2 | last 2 | last 2 | last 2 | 14 | +| Mobile versions | - | - | iOS latest Android 6, 5, 4 | iOS latest Android 6, 5, 4 | iOS 9, 10 | - | - | + +\* IE will not automatically download SVG documents referenced with `xlink:href` + +## See it in action using a HTTP server on localhost + +The quickest way to see these things in action is to launch a cheap (as in time) web server: + +1. Open a shell/terminal window and `cd svg-framework/alpha` +1. Run `python -m SimpleHTTPServer 8080` +1. Open [`http://localhost:8080/demo-js.html`](http://localhost:8080/demo-js.html) or [`http://localhost:8080/demo-sprite.html`](http://localhost:8080/demo-sprite.html) in your browser diff --git a/svg-framework/alpha/demo-js.html b/svg-framework/alpha/demo-js.html new file mode 100644 index 000000000..1180cc0cc --- /dev/null +++ b/svg-framework/alpha/demo-js.html @@ -0,0 +1,724 @@ + + + + + + + + + + + + + + + + + + + +

Demo

+ +
+

Solid

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+

Regular

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+

Light

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + diff --git a/svg-framework/alpha/demo-sprite.html b/svg-framework/alpha/demo-sprite.html new file mode 100644 index 000000000..9a3b7b4de --- /dev/null +++ b/svg-framework/alpha/demo-sprite.html @@ -0,0 +1,2037 @@ + + + + + + + + + + + + + +

Demo

+ +
+

Solid

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+

Regular

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+

Light

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + diff --git a/svg-framework/alpha/light.js b/svg-framework/alpha/light.js new file mode 100644 index 000000000..70ddf84aa --- /dev/null +++ b/svg-framework/alpha/light.js @@ -0,0 +1 @@ +!function(){"use strict";function c(c){var l=E.call(c,I),h=c[I];try{c[I]=void 0;var v=!0}catch(c){}var z=$.call(c);return v&&(l?c[I]=h:delete c[I]),z}function l(c){return U.call(c)}function h(h){return null==h?void 0===h?D:B:N&&N in Object(h)?c(h):l(h)}function v(c){var l=typeof c;return null!=c&&("object"==l||"function"==l)}function z(c){if(!v(c))return!1;var l=h(c);return l==G||l==W||l==R||l==J}function r(c){return!!Q&&Q in c}function e(c){if(null!=c){try{return X.call(c)}catch(c){}try{return c+""}catch(c){}}return""}function t(c){return!(!v(c)||r(c))&&(z(c)?zc:Z).test(e(c))}function o(c,l){return null==c?void 0:c[l]}function M(c,l){var h=o(c,l);return t(h)?h:void 0}function n(c,l,h){"__proto__"==l&&rc?rc(c,l,{configurable:!0,enumerable:!0,value:h,writable:!0}):c[l]=h}function a(c,l){return c===l||c!==c&&l!==l}function f(c,l,h){var v=c[l];ec.call(c,l)&&a(v,h)&&(void 0!==h||l in c)||n(c,l,h)}function H(c,l,h,v){var z=!h;h||(h={});for(var r=-1,e=l.length;++r-1&&c%1==0&&c<=Hc}function i(c){return null!=c&&u(c.length)&&!z(c)}function p(c,l){return!!(l=null==l?mc:l)&&("number"==typeof c||Lc.test(c))&&c>-1&&c%1==0&&c0){if(++l>=Mc)return arguments[0]}else l=0;return c.apply(void 0,arguments)}}(oc),Hc=9007199254740991,mc=9007199254740991,Lc=/^(?:0|[1-9]\d*)$/,Vc=Object.prototype,sc="[object Arguments]",Cc=Object.prototype,uc=Cc.hasOwnProperty,ic=Cc.propertyIsEnumerable,pc=y(function(){return arguments}())?y:function(c){return g(c)&&uc.call(c,"callee")&&!ic.call(c,"callee")},bc=Array.isArray,dc="object"==typeof exports&&exports&&!exports.nodeType&&exports,wc=dc&&"object"==typeof module&&module&&!module.nodeType&&module,gc=wc&&wc.exports===dc?P.Buffer:void 0,yc=(gc?gc.isBuffer:void 0)||j,jc={};jc["[object Float32Array]"]=jc["[object Float64Array]"]=jc["[object Int8Array]"]=jc["[object Int16Array]"]=jc["[object Int32Array]"]=jc["[object Uint8Array]"]=jc["[object Uint8ClampedArray]"]=jc["[object Uint16Array]"]=jc["[object Uint32Array]"]=!0,jc["[object Arguments]"]=jc["[object Array]"]=jc["[object ArrayBuffer]"]=jc["[object Boolean]"]=jc["[object DataView]"]=jc["[object Date]"]=jc["[object Error]"]=jc["[object Function]"]=jc["[object Map]"]=jc["[object Number]"]=jc["[object Object]"]=jc["[object RegExp]"]=jc["[object Set]"]=jc["[object String]"]=jc["[object WeakMap]"]=!1;var Sc="object"==typeof exports&&exports&&!exports.nodeType&&exports,kc=Sc&&"object"==typeof module&&module&&!module.nodeType&&module,Oc=kc&&kc.exports===Sc&&q.process,Ac=function(){try{return Oc&&Oc.binding&&Oc.binding("util")}catch(c){}}(),xc=Ac&&Ac.isTypedArray,qc=xc?function(c){return function(l){return c(l)}}(xc):S,_c=Object.prototype.hasOwnProperty,Pc=function(c,l){return function(h){return c(l(h))}}(Object.keys,Object),Fc=Object.prototype.hasOwnProperty,Tc=Object.prototype.hasOwnProperty,Ec=function(c){return C(function(l,h){var v=-1,z=h.length,r=z>1?h[z-1]:void 0,e=z>2?h[2]:void 0;for(r=c.length>3&&"function"==typeof r?(z--,r):void 0,e&&b(h[0],h[1],e)&&(r=z<3?void 0:r,z=1),l=Object(l);++v + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/svg-framework/alpha/loader.js b/svg-framework/alpha/loader.js new file mode 100644 index 000000000..216cd26c7 --- /dev/null +++ b/svg-framework/alpha/loader.js @@ -0,0 +1 @@ +!function(){"use strict";function t(t){var n=vn.call(t,bn),e=t[bn];try{t[bn]=void 0;var r=!0}catch(t){}var o=gn.call(t);return r&&(n?t[bn]=e:delete t[bn]),o}function n(t){return mn.call(t)}function e(e){return null==e?void 0===e?_n:yn:jn&&jn in Object(e)?t(e):n(e)}function r(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}function o(t){if(!r(t))return!1;var n=e(t);return n==On||n==xn||n==wn||n==kn}function i(t){return!!zn&&zn in t}function a(t){if(null!=t){try{return Sn.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function u(t){return!(!r(t)||i(t))&&(o(t)?Cn:Mn).test(a(t))}function c(t,n){return null==t?void 0:t[n]}function f(t,n){var e=c(t,n);return u(e)?e:void 0}function s(t,n,e){"__proto__"==n&&Nn?Nn(t,n,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[n]=e}function l(t,n){return t===n||t!==t&&n!==n}function p(t,n,e){var r=t[n];Bn.call(t,n)&&l(r,e)&&(void 0!==e||n in t)||s(t,n,e)}function h(t,n,e,r){var o=!e;e||(e={});for(var i=-1,a=n.length;++i-1&&t%1==0&&t<=Wn}function _(t){return null!=t&&y(t.length)&&!o(t)}function j(t,n){return!!(n=null==n?Xn:n)&&("number"==typeof t||qn.test(t))&&t>-1&&t%1==0&&t>>0;e--;)n[e]=t[e];return n}function D(t){return t.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function I(t){return 0===t.length?"":" "+t.join(" ")}function C(t){var n=t.iconName,e=t.width,r=t.height,o=t.layers,i=t.title,a=t.extraClasses,u=P(t.extraAttributes).map(function(t){return t.name+'="'+D(t.value)+'"'}),c=i?''+D(i)+"":"";return''+c+''}function N(t,n,e,r){var o=-1,i=null==t?0:t.length;for(r&&i&&(e=t[++o]);++o-1}function R(t,n){var e=this.__data__,r=F(e,t);return r<0?(++this.size,e.push([t,n])):e[r][1]=n,this}function W(t){var n=-1,e=null==t?0:t.length;for(this.clear();++nu))return!1;var f=i.get(t);if(f&&i.get(n))return f==n;var s=-1,l=!0,p=e&Te?new ht:void 0;for(i.set(t,n),i.set(n,t);++s0&&!on(n.addedNodes[0],ge.replacementClass)&&t(n.target)})}).observe(document.getElementsByTagName("body")[0],{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function cn(t){return P(t.classList).reduce(function(t,n){var e=tn(n);return Lr[n]?t.prefix=n:e?(t.iconName=e.iconName,t.prefix=e.prefix):t.rest.push(n),t},{iconName:"",prefix:"",rest:[]})}function fn(t){var n=Object.keys(Lr),e=n.map(function(t){return"."+t}),r=n.map(function(t){return'*[class|="'+t+'"]'}),o=e.concat(r).join(", ");0!==o.length&&an(P(t.querySelectorAll(o)).reduce(function(t,n){var e=cn(n),r=e.iconName,o=e.prefix,i=e.rest;if(!Lr[o])return t;var a=r;if(void 0!==n.innerText&&n.innerText.length>1?a=en(o,n.innerText):void 0!==n.innerText&&1===n.innerText.length&&(a=nn(o,rn(n.innerText))),a&&o&&Lr[o][a]){var u=Lr[o][a],c=n.getAttribute("title");ge.autoA11y&&!c&&n.setAttribute("aria-hidden","true"),ge.autoA11y&&c&&n.setAttribute("aria-labelledby",ge.replacementClass+"-"+a+"-title");var f=Br(u),s=f[0],l=f[1],p=(f[2],f[3],C({iconName:r,width:s,height:l,layers:f.slice(4),title:c,extraClasses:i,extraAttributes:P(n.attributes).filter(function(t){return"class"!==t.name})}));t.push([n,p])}return t},[]))}var sn="object"==typeof global&&global&&global.Object===Object&&global,ln="object"==typeof self&&self&&self.Object===Object&&self,pn=sn||ln||Function("return this")(),hn=pn.Symbol,dn=Object.prototype,vn=dn.hasOwnProperty,gn=dn.toString,bn=hn?hn.toStringTag:void 0,mn=Object.prototype.toString,yn="[object Null]",_n="[object Undefined]",jn=hn?hn.toStringTag:void 0,wn="[object AsyncFunction]",On="[object Function]",xn="[object GeneratorFunction]",kn="[object Proxy]",An=pn["__core-js_shared__"],zn=function(){var t=/[^.]+$/.exec(An&&An.keys&&An.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),Sn=Function.prototype.toString,Tn=/[\\^$.*+?()[\]{}|]/g,Mn=/^\[object .+?Constructor\]$/,En=Function.prototype,Pn=Object.prototype,Dn=En.toString,In=Pn.hasOwnProperty,Cn=RegExp("^"+Dn.call(In).replace(Tn,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Nn=function(){try{var t=f(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),Bn=Object.prototype.hasOwnProperty,Ln=Math.max,Fn=Nn?function(t,n){return Nn(t,"toString",{configurable:!0,enumerable:!1,value:b(n),writable:!0})}:d,$n=800,Un=16,Vn=Date.now,Rn=function(t){var n=0,e=0;return function(){var r=Vn(),o=Un-(r-e);if(e=r,o>0){if(++n>=$n)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}(Fn),Wn=9007199254740991,Xn=9007199254740991,qn=/^(?:0|[1-9]\d*)$/,Gn=Object.prototype,Hn="[object Arguments]",Jn=Object.prototype,Kn=Jn.hasOwnProperty,Qn=Jn.propertyIsEnumerable,Yn=A(function(){return arguments}())?A:function(t){return k(t)&&Kn.call(t,"callee")&&!Qn.call(t,"callee")},Zn=Array.isArray,te="object"==typeof exports&&exports&&!exports.nodeType&&exports,ne=te&&"object"==typeof module&&module&&!module.nodeType&&module,ee=ne&&ne.exports===te?pn.Buffer:void 0,re=(ee?ee.isBuffer:void 0)||z,oe={};oe["[object Float32Array]"]=oe["[object Float64Array]"]=oe["[object Int8Array]"]=oe["[object Int16Array]"]=oe["[object Int32Array]"]=oe["[object Uint8Array]"]=oe["[object Uint8ClampedArray]"]=oe["[object Uint16Array]"]=oe["[object Uint32Array]"]=!0,oe["[object Arguments]"]=oe["[object Array]"]=oe["[object ArrayBuffer]"]=oe["[object Boolean]"]=oe["[object DataView]"]=oe["[object Date]"]=oe["[object Error]"]=oe["[object Function]"]=oe["[object Map]"]=oe["[object Number]"]=oe["[object Object]"]=oe["[object RegExp]"]=oe["[object Set]"]=oe["[object String]"]=oe["[object WeakMap]"]=!1;var ie="object"==typeof exports&&exports&&!exports.nodeType&&exports,ae=ie&&"object"==typeof module&&module&&!module.nodeType&&module,ue=ae&&ae.exports===ie&&sn.process,ce=function(){try{return ue&&ue.binding&&ue.binding("util")}catch(t){}}(),fe=ce&&ce.isTypedArray,se=fe?function(t){return function(n){return t(n)}}(fe):S,le=Object.prototype.hasOwnProperty,pe=function(t,n){return function(e){return t(n(e))}}(Object.keys,Object),he=Object.prototype.hasOwnProperty,de=Object.prototype.hasOwnProperty,ve=function(t){return m(function(n,e){var r=-1,o=e.length,i=o>1?e[o-1]:void 0,a=o>2?e[2]:void 0;for(i=t.length>3&&"function"==typeof i?(o--,i):void 0,a&&w(e[0],e[1],a)&&(i=o<3?void 0:i,o=1),n=Object(n);++r li {\n position: relative; }\n\n.fa-li {\n position: absolute;\n left: -2.14286em;\n width: 2.14286em;\n top: 0.14286em;\n text-align: center; }\n .fa-li.fa-lg {\n left: -1.85714em; }\n\n.fa-border {\n padding: .2em .25em .15em;\n border: solid 0.08em #eee;\n border-radius: .1em; }\n\n.fa-pull-left {\n float: left; }\n\n.fa-pull-right {\n float: right; }\n\n.fa.fa-pull-left {\n margin-right: .3em; }\n\n.fa.fa-pull-right {\n margin-left: .3em; }\n\n/* Deprecated as of 4.4.0 */\n.pull-right {\n float: right; }\n\n.pull-left {\n float: left; }\n\n.fa.pull-left {\n margin-right: .3em; }\n\n.fa.pull-right {\n margin-left: .3em; }\n\n.fa-spin {\n -webkit-animation: fa-spin 2s infinite linear;\n animation: fa-spin 2s infinite linear; }\n\n.fa-pulse {\n -webkit-animation: fa-spin 1s infinite steps(8);\n animation: fa-spin 1s infinite steps(8); }\n\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg); }\n 100% {\n -webkit-transform: rotate(359deg);\n transform: rotate(359deg); } }\n\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg); }\n 100% {\n -webkit-transform: rotate(359deg);\n transform: rotate(359deg); } }\n\n.fa-rotate-90 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n -webkit-transform: rotate(90deg);\n -ms-transform: rotate(90deg);\n transform: rotate(90deg); }\n\n.fa-rotate-180 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n -webkit-transform: rotate(180deg);\n -ms-transform: rotate(180deg);\n transform: rotate(180deg); }\n\n.fa-rotate-270 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n -webkit-transform: rotate(270deg);\n -ms-transform: rotate(270deg);\n transform: rotate(270deg); }\n\n.fa-flip-horizontal {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n -webkit-transform: scale(-1, 1);\n -ms-transform: scale(-1, 1);\n transform: scale(-1, 1); }\n\n.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(1, -1);\n -ms-transform: scale(1, -1);\n transform: scale(1, -1); }\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical {\n filter: none; }\n\n.fa-stack {\n position: relative;\n display: inline-block;\n width: 2em;\n height: 2em; }\n\n.fa-stack-1x, .fa-stack-2x {\n position: absolute;\n margin: auto;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0; }\n\n.fa-stack-1x {\n width: 2em;\n height: 2em; }\n\n.fa-stack-2x {\n width: 1em;\n height: 1em; }\n\n.fa-inverse {\n color: #fff; }\n\n.sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n border: 0; }\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n position: static;\n width: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n clip: auto; }\n'),Mr.hooks=ve({},Mr.hooks,{addPack:function(t,n){Mr.packs[t]=ve({},Mr.packs[t]||{},n),Cr(),fn(document)}}),function(t){Ur?setTimeout(t,0):Fr.push(t)}(function(){Object.keys(Mr.packs).length>0&&fn(document),ge.observeMutations&&"function"==typeof MutationObserver&&un(fn)})}(); diff --git a/svg-framework/alpha/regular.js b/svg-framework/alpha/regular.js new file mode 100644 index 000000000..7e551ab90 --- /dev/null +++ b/svg-framework/alpha/regular.js @@ -0,0 +1 @@ +!function(){"use strict";function c(c){var l=E.call(c,I),h=c[I];try{c[I]=void 0;var z=!0}catch(c){}var v=$.call(c);return z&&(l?c[I]=h:delete c[I]),v}function l(c){return U.call(c)}function h(h){return null==h?void 0===h?D:B:N&&N in Object(h)?c(h):l(h)}function z(c){var l=typeof c;return null!=c&&("object"==l||"function"==l)}function v(c){if(!z(c))return!1;var l=h(c);return l==G||l==W||l==R||l==J}function r(c){return!!Q&&Q in c}function e(c){if(null!=c){try{return X.call(c)}catch(c){}try{return c+""}catch(c){}}return""}function t(c){return!(!z(c)||r(c))&&(v(c)?vc:Z).test(e(c))}function o(c,l){return null==c?void 0:c[l]}function n(c,l){var h=o(c,l);return t(h)?h:void 0}function a(c,l,h){"__proto__"==l&&rc?rc(c,l,{configurable:!0,enumerable:!0,value:h,writable:!0}):c[l]=h}function M(c,l){return c===l||c!==c&&l!==l}function f(c,l,h){var z=c[l];ec.call(c,l)&&M(z,h)&&(void 0!==h||l in c)||a(c,l,h)}function m(c,l,h,z){var v=!h;h||(h={});for(var r=-1,e=l.length;++r-1&&c%1==0&&c<=mc}function C(c){return null!=c&&i(c.length)&&!v(c)}function p(c,l){return!!(l=null==l?Hc:l)&&("number"==typeof c||Lc.test(c))&&c>-1&&c%1==0&&c0){if(++l>=nc)return arguments[0]}else l=0;return c.apply(void 0,arguments)}}(oc),mc=9007199254740991,Hc=9007199254740991,Lc=/^(?:0|[1-9]\d*)$/,Vc=Object.prototype,sc="[object Arguments]",uc=Object.prototype,ic=uc.hasOwnProperty,Cc=uc.propertyIsEnumerable,pc=y(function(){return arguments}())?y:function(c){return g(c)&&ic.call(c,"callee")&&!Cc.call(c,"callee")},bc=Array.isArray,dc="object"==typeof exports&&exports&&!exports.nodeType&&exports,wc=dc&&"object"==typeof module&&module&&!module.nodeType&&module,gc=wc&&wc.exports===dc?P.Buffer:void 0,yc=(gc?gc.isBuffer:void 0)||S,Sc={};Sc["[object Float32Array]"]=Sc["[object Float64Array]"]=Sc["[object Int8Array]"]=Sc["[object Int16Array]"]=Sc["[object Int32Array]"]=Sc["[object Uint8Array]"]=Sc["[object Uint8ClampedArray]"]=Sc["[object Uint16Array]"]=Sc["[object Uint32Array]"]=!0,Sc["[object Arguments]"]=Sc["[object Array]"]=Sc["[object ArrayBuffer]"]=Sc["[object Boolean]"]=Sc["[object DataView]"]=Sc["[object Date]"]=Sc["[object Error]"]=Sc["[object Function]"]=Sc["[object Map]"]=Sc["[object Number]"]=Sc["[object Object]"]=Sc["[object RegExp]"]=Sc["[object Set]"]=Sc["[object String]"]=Sc["[object WeakMap]"]=!1;var jc="object"==typeof exports&&exports&&!exports.nodeType&&exports,kc=jc&&"object"==typeof module&&module&&!module.nodeType&&module,Oc=kc&&kc.exports===jc&&q.process,xc=function(){try{return Oc&&Oc.binding&&Oc.binding("util")}catch(c){}}(),Ac=xc&&xc.isTypedArray,qc=Ac?function(c){return function(l){return c(l)}}(Ac):j,_c=Object.prototype.hasOwnProperty,Pc=function(c,l){return function(h){return c(l(h))}}(Object.keys,Object),Fc=Object.prototype.hasOwnProperty,Tc=Object.prototype.hasOwnProperty,Ec=function(c){return u(function(l,h){var z=-1,v=h.length,r=v>1?h[v-1]:void 0,e=v>2?h[2]:void 0;for(r=c.length>3&&"function"==typeof r?(v--,r):void 0,e&&b(h[0],h[1],e)&&(r=v<3?void 0:r,v=1),l=Object(l);++z + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/svg-framework/alpha/solid.js b/svg-framework/alpha/solid.js new file mode 100644 index 000000000..41bd5550c --- /dev/null +++ b/svg-framework/alpha/solid.js @@ -0,0 +1 @@ +!function(){"use strict";function c(c){var l=$.call(c,U),h=c[U];try{c[U]=void 0;var r=!0}catch(c){}var e=I.call(c);return r&&(l?c[U]=h:delete c[U]),e}function l(c){return B.call(c)}function h(h){return null==h?void 0===h?N:D:R&&R in Object(h)?c(h):l(h)}function r(c){var l=typeof c;return null!=c&&("object"==l||"function"==l)}function e(c){if(!r(c))return!1;var l=h(c);return l==W||l==J||l==G||l==K}function v(c){return!!X&&X in c}function t(c){if(null!=c){try{return Y.call(c)}catch(c){}try{return c+""}catch(c){}}return""}function z(c){return!(!r(c)||v(c))&&(e(c)?vc:cc).test(t(c))}function o(c,l){return null==c?void 0:c[l]}function n(c,l){var h=o(c,l);return z(h)?h:void 0}function a(c,l,h){"__proto__"==l&&tc?tc(c,l,{configurable:!0,enumerable:!0,value:h,writable:!0}):c[l]=h}function f(c,l){return c===l||c!==c&&l!==l}function M(c,l,h){var r=c[l];zc.call(c,l)&&f(r,h)&&(void 0!==h||l in c)||a(c,l,h)}function L(c,l,h,r){var e=!h;h||(h={});for(var v=-1,t=l.length;++v-1&&c%1==0&&c<=sc}function p(c){return null!=c&&i(c.length)&&!e(c)}function b(c,l){return!!(l=null==l?Hc:l)&&("number"==typeof c||Vc.test(c))&&c>-1&&c%1==0&&c0){if(++l>=ac)return arguments[0]}else l=0;return c.apply(void 0,arguments)}}(nc),sc=9007199254740991,Hc=9007199254740991,Vc=/^(?:0|[1-9]\d*)$/,mc=Object.prototype,uc="[object Arguments]",ic=Object.prototype,pc=ic.hasOwnProperty,bc=ic.propertyIsEnumerable,Cc=y(function(){return arguments}())?y:function(c){return g(c)&&pc.call(c,"callee")&&!bc.call(c,"callee")},dc=Array.isArray,wc="object"==typeof exports&&exports&&!exports.nodeType&&exports,gc=wc&&"object"==typeof module&&module&&!module.nodeType&&module,yc=gc&&gc.exports===wc?F.Buffer:void 0,jc=(yc?yc.isBuffer:void 0)||j,Sc={};Sc["[object Float32Array]"]=Sc["[object Float64Array]"]=Sc["[object Int8Array]"]=Sc["[object Int16Array]"]=Sc["[object Int32Array]"]=Sc["[object Uint8Array]"]=Sc["[object Uint8ClampedArray]"]=Sc["[object Uint16Array]"]=Sc["[object Uint32Array]"]=!0,Sc["[object Arguments]"]=Sc["[object Array]"]=Sc["[object ArrayBuffer]"]=Sc["[object Boolean]"]=Sc["[object DataView]"]=Sc["[object Date]"]=Sc["[object Error]"]=Sc["[object Function]"]=Sc["[object Map]"]=Sc["[object Number]"]=Sc["[object Object]"]=Sc["[object RegExp]"]=Sc["[object Set]"]=Sc["[object String]"]=Sc["[object WeakMap]"]=!1;var kc="object"==typeof exports&&exports&&!exports.nodeType&&exports,Oc=kc&&"object"==typeof module&&module&&!module.nodeType&&module,xc=Oc&&Oc.exports===kc&&_.process,Ac=function(){try{return xc&&xc.binding&&xc.binding("util")}catch(c){}}(),qc=Ac&&Ac.isTypedArray,_c=qc?function(c){return function(l){return c(l)}}(qc):S,Pc=Object.prototype.hasOwnProperty,Fc=function(c,l){return function(h){return c(l(h))}}(Object.keys,Object),Tc=Object.prototype.hasOwnProperty,Ec=Object.prototype.hasOwnProperty,$c=function(c){return u(function(l,h){var r=-1,e=h.length,v=e>1?h[e-1]:void 0,t=e>2?h[2]:void 0;for(v=c.length>3&&"function"==typeof v?(e--,v):void 0,t&&C(h[0],h[1],t)&&(v=e<3?void 0:v,e=1),l=Object(l);++r + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +