-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent---src-pages-index-jsx-26055a535bb4613a0ada.js
2 lines (2 loc) · 11.4 KB
/
component---src-pages-index-jsx-26055a535bb4613a0ada.js
1
2
webpackJsonp([0xc23565d713b7],{94:function(e,t,n){"use strict";function o(e){return e}function r(e,t,n){function r(e,t){var n=_.hasOwnProperty(t)?_[t]:null;M.hasOwnProperty(t)&&u("OVERRIDE_BASE"===n,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t),e&&u("DEFINE_MANY"===n||"DEFINE_MANY_MERGED"===n,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",t)}function a(e,n){if(n){u("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),u(!t(n),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var o=e.prototype,a=o.__reactAutoBindPairs;n.hasOwnProperty(l)&&v.mixins(e,n.mixins);for(var i in n)if(n.hasOwnProperty(i)&&i!==l){var s=n[i],c=o.hasOwnProperty(i);if(r(c,i),v.hasOwnProperty(i))v[i](e,s);else{var p=_.hasOwnProperty(i),h="function"==typeof s,y=h&&!p&&!c&&n.autobind!==!1;if(y)a.push(i,s),o[i]=s;else if(c){var m=_[i];u(p&&("DEFINE_MANY_MERGED"===m||"DEFINE_MANY"===m),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",m,i),"DEFINE_MANY_MERGED"===m?o[i]=f(o[i],s):"DEFINE_MANY"===m&&(o[i]=d(o[i],s))}else o[i]=s}}}else;}function c(e,t){if(t)for(var n in t){var o=t[n];if(t.hasOwnProperty(n)){var r=n in v;u(!r,'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',n);var a=n in e;if(a){var i=b.hasOwnProperty(n)?b[n]:null;return u("DEFINE_MANY_MERGED"===i,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),void(e[n]=f(e[n],o))}e[n]=o}}}function p(e,t){u(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.");for(var n in t)t.hasOwnProperty(n)&&(u(void 0===e[n],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",n),e[n]=t[n]);return e}function f(e,t){return function(){var n=e.apply(this,arguments),o=t.apply(this,arguments);if(null==n)return o;if(null==o)return n;var r={};return p(r,n),p(r,o),r}}function d(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function h(e,t){var n=t.bind(e);return n}function y(e){for(var t=e.__reactAutoBindPairs,n=0;n<t.length;n+=2){var o=t[n],r=t[n+1];e[o]=h(e,r)}}function m(e){var t=o(function(e,o,r){this.__reactAutoBindPairs.length&&y(this),this.props=e,this.context=o,this.refs=s,this.updater=r||n,this.state=null;var a=this.getInitialState?this.getInitialState():null;u("object"==typeof a&&!Array.isArray(a),"%s.getInitialState(): must return an object or null",t.displayName||"ReactCompositeComponent"),this.state=a});t.prototype=new x,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],E.forEach(a.bind(null,t)),a(t,g),a(t,e),a(t,N),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),u(t.prototype.render,"createClass(...): Class specification must implement a `render` method.");for(var r in _)t.prototype[r]||(t.prototype[r]=null);return t}var E=[],_={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",UNSAFE_componentWillMount:"DEFINE_MANY",UNSAFE_componentWillReceiveProps:"DEFINE_MANY",UNSAFE_componentWillUpdate:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},b={getDerivedStateFromProps:"DEFINE_MANY_MERGED"},v={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)a(e,t[n])},childContextTypes:function(e,t){e.childContextTypes=i({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=i({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=f(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){e.propTypes=i({},e.propTypes,t)},statics:function(e,t){c(e,t)},autobind:function(){}},g={componentDidMount:function(){this.__isMounted=!0}},N={componentWillUnmount:function(){this.__isMounted=!1}},M={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},x=function(){};return i(x.prototype,e.prototype,M),m}var a,i=n(4),s=n(32),u=n(1),l="mixins";a={},e.exports=r},278:function(e,t){},4:function(e,t){"use strict";function n(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function o(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var o=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if("0123456789"!==o.join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}var r=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=o()?Object.assign:function(e,t){for(var o,s,u=n(e),l=1;l<arguments.length;l++){o=Object(arguments[l]);for(var c in o)a.call(o,c)&&(u[c]=o[c]);if(r){s=r(o);for(var p=0;p<s.length;p++)i.call(o,s[p])&&(u[s[p]]=o[s[p]])}}return u}},381:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),c=n(5),p=o(c),f=n(7),d=o(f),h=n(382),y=o(h),m=function(e){function t(){a(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.displayName="FontAwesome",e}return s(t,e),l(t,[{key:"render",value:function(){var e=this.props,t=e.border,n=e.cssModule,o=e.className,a=e.fixedWidth,i=e.flip,s=e.inverse,l=e.name,c=e.pulse,f=e.rotate,d=e.size,h=e.spin,m=e.stack,E=e.tag,_=void 0===E?"span":E,b=e.ariaLabel,v=r(e,["border","cssModule","className","fixedWidth","flip","inverse","name","pulse","rotate","size","spin","stack","tag","ariaLabel"]),g=[];return n?(g.push(n.fa),g.push(n["fa-"+l]),d&&g.push(n["fa-"+d]),h&&g.push(n["fa-spin"]),c&&g.push(n["fa-pulse"]),t&&g.push(n["fa-border"]),a&&g.push(n["fa-fw"]),s&&g.push(n["fa-inverse"]),i&&g.push(n["fa-flip-"+i]),f&&g.push(n["fa-rotate-"+f]),m&&g.push(n["fa-stack-"+m])):(g.push("fa"),g.push("fa-"+l),d&&g.push("fa-"+d),h&&g.push("fa-spin"),c&&g.push("fa-pulse"),t&&g.push("fa-border"),a&&g.push("fa-fw"),s&&g.push("fa-inverse"),i&&g.push("fa-flip-"+i),f&&g.push("fa-rotate-"+f),m&&g.push("fa-stack-"+m)),o&&g.push(o),p.default.createElement(_,u({},v,{"aria-hidden":!0,className:g.join(" ")}),b?p.default.createElement("span",{style:y.default},b):null)}}]),t}(p.default.Component);m.propTypes={ariaLabel:d.default.string,border:d.default.bool,className:d.default.string,cssModule:d.default.object,fixedWidth:d.default.bool,flip:d.default.oneOf(["horizontal","vertical"]),inverse:d.default.bool,name:d.default.string.isRequired,pulse:d.default.bool,rotate:d.default.oneOf([90,180,270]),size:d.default.oneOf(["lg","2x","3x","4x","5x"]),spin:d.default.bool,stack:d.default.oneOf(["1x","2x"]),tag:d.default.string},t.default=m,e.exports=t.default},382:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={position:"absolute",width:"1px",height:"1px",padding:"0px",margin:"-1px",overflow:"hidden",clip:"rect(0px, 0px, 0px, 0px)",border:"0px"},e.exports=t.default},279:function(e,t){},195:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=n(5),a=o(r);n(279),t.default=function(e){var t=e.children;return a.default.createElement("div",null,t)},e.exports=t.default},196:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=n(5),a=o(r),i=n(381),s=o(i);t.default=function(e){var t=e.url,n=e.iconName,o=e.color;return a.default.createElement("a",{href:t,style:{color:o}},a.default.createElement(s.default,{name:n}))},e.exports=t.default},197:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(5),u=o(s),l=n(196),c=o(l);n(278);var p=function(e){function t(n){r(this,t);var o=a(this,e.call(this,n));return o._getRandomColor=function(){var e=Math.floor(Math.random()*o.colors.length);return o.colors[e]},o.colors=["red","orange","royalblue","purple"],o.state={data:n.data},o}return i(t,e),t.prototype.render=function(){var e=this._getRandomColor(),t=this.state.data.map(function(t){var n=t.iconName,o=t.url;return u.default.createElement(c.default,{key:n,url:o,iconName:n,color:e})});return u.default.createElement("div",{style:{display:"flex",justifyContent:"space-around"}},t)},t}(u.default.Component);t.default=p,e.exports=t.default},200:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.query=void 0;var r=n(5),a=o(r),i=n(195),s=o(i),u=n(197),l=o(u),c=function(e){var t=e.data;return a.default.createElement(s.default,null,a.default.createElement("h1",{style:{marginBottom:"1px"}},"Alex"),a.default.createElement("h1",null,"Chrostowski"),a.default.createElement(l.default,{data:t.site.siteMetadata.social}))};t.default=c;t.query="** extracted graphql fragment **"}});
//# sourceMappingURL=component---src-pages-index-jsx-26055a535bb4613a0ada.js.map