-
Notifications
You must be signed in to change notification settings - Fork 0
/
0-fe5355f65c459ea883fa.js
12 lines (12 loc) · 27 KB
/
0-fe5355f65c459ea883fa.js
1
2
3
4
5
6
7
8
9
10
11
12
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{156:function(t,e,n){"use strict";var r=n(41);e.__esModule=!0,e.withPrefix=T,e.navigateTo=e.replace=e.push=e.navigate=e.default=void 0;var o=r(n(245)),i=r(n(246)),a=r(n(12)),u=r(n(53)),c=r(n(59)),s=r(n(8)),f=r(n(0)),l=n(25),p=n(168);function T(t){return function(t){return t.replace(/\/+/g,"/")}("/"+t)}var d={activeClassName:s.default.string,activeStyle:s.default.object},E=function(t){function e(e){var n;n=t.call(this)||this,(0,c.default)((0,u.default)((0,u.default)(n)),"defaultGetProps",function(t){return t.isCurrent?{className:[n.props.className,n.props.activeClassName].filter(Boolean).join(" "),style:(0,i.default)({},n.props.style,n.props.activeStyle)}:null});var r=!1;"undefined"!=typeof window&&window.IntersectionObserver&&(r=!0);var o=e.location;return n.state={IOSupported:r,location:o},n.handleRef=n.handleRef.bind((0,u.default)((0,u.default)(n))),n}(0,a.default)(e,t);var n=e.prototype;return n.componentDidUpdate=function(t,e){this.props.to===t.to||this.state.IOSupported||___loader.enqueue((0,p.parsePath)(this.props.to).pathname)},n.componentDidMount=function(){this.state.IOSupported||___loader.enqueue((0,p.parsePath)(this.props.to).pathname)},n.handleRef=function(t){var e,n,r,o=this;this.props.innerRef&&this.props.innerRef(t),this.state.IOSupported&&t&&(e=t,n=function(){___loader.enqueue((0,p.parsePath)(o.props.to).pathname)},(r=new window.IntersectionObserver(function(t){t.forEach(function(t){e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(r.unobserve(e),r.disconnect(),n())})})).observe(e))},n.render=function(){var t=this,e=this.props,n=e.to,r=e.getProps,a=void 0===r?this.defaultGetProps:r,u=e.onClick,c=e.onMouseEnter,s=e.location,d=(e.activeClassName,e.activeStyle,e.ref,e.innerRef,e.state),E=(0,o.default)(e,["to","getProps","onClick","onMouseEnter","location","activeClassName","activeStyle","ref","innerRef","state"]),h=T(n);return f.default.createElement(l.Link,(0,i.default)({to:h,state:d,getProps:a,innerRef:this.handleRef,onMouseEnter:function(t){c&&c(t),___loader.hovering((0,p.parsePath)(n).pathname)},onClick:function(e){if(u&&u(e),!(0!==e.button||t.props.target||e.defaultPrevented||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)){e.preventDefault();var n=(0,p.parsePath)(h),r=n.pathname,o=n.hash;if(r===s.pathname||!r){var i=o?document.getElementById(o.substr(1)):null;null!==i?i.scrollIntoView():window.scrollTo(0,0)}A(h,{state:d})}return!0}},E))},e}(f.default.Component);E.propTypes=(0,i.default)({},d,{innerRef:s.default.func,onClick:s.default.func,to:s.default.string.isRequired});var h,y=(h=E,function(t){return f.default.createElement(l.Location,null,function(e){var n=e.location;return f.default.createElement(h,(0,i.default)({location:n},t))})});e.default=y;var A=function(t,e){window.___navigate(t,e)};e.navigate=A;var v=function(t){console.warn('The "push" method is now deprecated and will be removed in Gatsby v3. Please use "navigate" instead.'),window.___push(t)};e.push=v,e.replace=function(t){console.warn('The "replace" method is now deprecated and will be removed in Gatsby v3. Please use "navigate" instead.'),window.___replace(t)},e.navigateTo=function(t){return console.warn('The "navigateTo" method is now deprecated and will be removed in Gatsby v3. Please use "push" instead.'),v(t)}},157:function(t,e,n){n(228)("asyncIterator")},158:function(t,e,n){"use strict";var r=n(6),o=n(27),i=n(17),a=n(4),u=n(18),c=n(234).KEY,s=n(13),f=n(56),l=n(40),p=n(36),T=n(3),d=n(229),E=n(228),h=n(235),y=n(87),A=n(9),v=n(10),S=n(34),b=n(85),m=n(55),_=n(60),O=n(236),P=n(237),g=n(26),w=n(37),R=P.f,M=g.f,C=O.f,I=r.Symbol,N=r.JSON,L=N&&N.stringify,G=T("_hidden"),j=T("toPrimitive"),H={}.propertyIsEnumerable,k=f("symbol-registry"),x=f("symbols"),U=f("op-symbols"),B=Object.prototype,D="function"==typeof I,F=r.QObject,Y=!F||!F.prototype||!F.prototype.findChild,q=i&&s(function(){return 7!=_(M({},"a",{get:function(){return M(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=R(B,e);r&&delete B[e],M(t,e,n),r&&t!==B&&M(B,e,r)}:M,K=function(t){var e=x[t]=_(I.prototype);return e._k=t,e},W=D&&"symbol"==typeof I.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof I},J=function(t,e,n){return t===B&&J(U,e,n),A(t),e=b(e,!0),A(n),o(x,e)?(n.enumerable?(o(t,G)&&t[G][e]&&(t[G][e]=!1),n=_(n,{enumerable:m(0,!1)})):(o(t,G)||M(t,G,m(1,{})),t[G][e]=!0),q(t,e,n)):M(t,e,n)},X=function(t,e){A(t);for(var n,r=h(e=S(e)),o=0,i=r.length;i>o;)J(t,n=r[o++],e[n]);return t},V=function(t){var e=H.call(this,t=b(t,!0));return!(this===B&&o(x,t)&&!o(U,t))&&(!(e||!o(this,t)||!o(x,t)||o(this,G)&&this[G][t])||e)},z=function(t,e){if(t=S(t),e=b(e,!0),t!==B||!o(x,e)||o(U,e)){var n=R(t,e);return!n||!o(x,e)||o(t,G)&&t[G][e]||(n.enumerable=!0),n}},Q=function(t){for(var e,n=C(S(t)),r=[],i=0;n.length>i;)o(x,e=n[i++])||e==G||e==c||r.push(e);return r},Z=function(t){for(var e,n=t===B,r=C(n?U:S(t)),i=[],a=0;r.length>a;)!o(x,e=r[a++])||n&&!o(B,e)||i.push(x[e]);return i};D||(u((I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===B&&e.call(U,n),o(this,G)&&o(this[G],t)&&(this[G][t]=!1),q(this,t,m(1,n))};return i&&Y&&q(B,t,{configurable:!0,set:e}),K(t)}).prototype,"toString",function(){return this._k}),P.f=z,g.f=J,n(230).f=O.f=Q,n(84).f=V,n(86).f=Z,i&&!n(38)&&u(B,"propertyIsEnumerable",V,!0),d.f=function(t){return K(T(t))}),a(a.G+a.W+a.F*!D,{Symbol:I});for(var $="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),tt=0;$.length>tt;)T($[tt++]);for(var et=w(T.store),nt=0;et.length>nt;)E(et[nt++]);a(a.S+a.F*!D,"Symbol",{for:function(t){return o(k,t+="")?k[t]:k[t]=I(t)},keyFor:function(t){if(!W(t))throw TypeError(t+" is not a symbol!");for(var e in k)if(k[e]===t)return e},useSetter:function(){Y=!0},useSimple:function(){Y=!1}}),a(a.S+a.F*!D,"Object",{create:function(t,e){return void 0===e?_(t):X(_(t),e)},defineProperty:J,defineProperties:X,getOwnPropertyDescriptor:z,getOwnPropertyNames:Q,getOwnPropertySymbols:Z}),N&&a(a.S+a.F*(!D||s(function(){var t=I();return"[null]"!=L([t])||"{}"!=L({a:t})||"{}"!=L(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=e=r[1],(v(e)||void 0!==t)&&!W(t))return y(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!W(e))return e}),r[1]=e,L.apply(N,r)}}),I.prototype[j]||n(11)(I.prototype,j,I.prototype.valueOf),l(I,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},159:function(t,e,n){var r=n(4);r(r.S,"Array",{isArray:n(87)})},162:function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},166:function(t,e,n){e.__esModule=!0,e.Helmet=void 0;var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=l(n(0)),a=l(n(8)),u=l(n(238)),c=l(n(241)),s=n(244),f=n(231);function l(t){return t&&t.__esModule?t:{default:t}}function p(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}var T,d,E,h=(0,u.default)(s.reducePropsToState,s.handleClientStateChange,s.mapStateOnServer)(function(){return null}),y=(T=h,E=d=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.shouldComponentUpdate=function(t){return!(0,c.default)(this.props,t)},e.prototype.mapNestedChildrenToProps=function(t,e){if(!e)return null;switch(t.type){case f.TAG_NAMES.SCRIPT:case f.TAG_NAMES.NOSCRIPT:return{innerHTML:e};case f.TAG_NAMES.STYLE:return{cssText:e}}throw new Error("<"+t.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},e.prototype.flattenArrayTypeChildren=function(t){var e,n=t.child,o=t.arrayTypeChildren,i=t.newChildProps,a=t.nestedChildren;return r({},o,((e={})[n.type]=[].concat(o[n.type]||[],[r({},i,this.mapNestedChildrenToProps(n,a))]),e))},e.prototype.mapObjectTypeChildren=function(t){var e,n,o=t.child,i=t.newProps,a=t.newChildProps,u=t.nestedChildren;switch(o.type){case f.TAG_NAMES.TITLE:return r({},i,((e={})[o.type]=u,e.titleAttributes=r({},a),e));case f.TAG_NAMES.BODY:return r({},i,{bodyAttributes:r({},a)});case f.TAG_NAMES.HTML:return r({},i,{htmlAttributes:r({},a)})}return r({},i,((n={})[o.type]=r({},a),n))},e.prototype.mapArrayTypeChildrenToProps=function(t,e){var n=r({},e);return Object.keys(t).forEach(function(e){var o;n=r({},n,((o={})[e]=t[e],o))}),n},e.prototype.warnOnInvalidChildren=function(t,e){return!0},e.prototype.mapChildrenToProps=function(t,e){var n=this,r={};return i.default.Children.forEach(t,function(t){if(t&&t.props){var o=t.props,i=o.children,a=p(o,["children"]),u=(0,s.convertReactPropstoHtmlAttributes)(a);switch(n.warnOnInvalidChildren(t,i),t.type){case f.TAG_NAMES.LINK:case f.TAG_NAMES.META:case f.TAG_NAMES.NOSCRIPT:case f.TAG_NAMES.SCRIPT:case f.TAG_NAMES.STYLE:r=n.flattenArrayTypeChildren({child:t,arrayTypeChildren:r,newChildProps:u,nestedChildren:i});break;default:e=n.mapObjectTypeChildren({child:t,newProps:e,newChildProps:u,nestedChildren:i})}}}),e=this.mapArrayTypeChildrenToProps(r,e)},e.prototype.render=function(){var t=this.props,e=t.children,n=p(t,["children"]),o=r({},n);return e&&(o=this.mapChildrenToProps(e,o)),i.default.createElement(T,o)},o(e,null,[{key:"canUseDOM",set:function(t){T.canUseDOM=t}}]),e}(i.default.Component),d.propTypes={base:a.default.object,bodyAttributes:a.default.object,children:a.default.oneOfType([a.default.arrayOf(a.default.node),a.default.node]),defaultTitle:a.default.string,defer:a.default.bool,encodeSpecialCharacters:a.default.bool,htmlAttributes:a.default.object,link:a.default.arrayOf(a.default.object),meta:a.default.arrayOf(a.default.object),noscript:a.default.arrayOf(a.default.object),onChangeClientState:a.default.func,script:a.default.arrayOf(a.default.object),style:a.default.arrayOf(a.default.object),title:a.default.string,titleAttributes:a.default.object,titleTemplate:a.default.string},d.defaultProps={defer:!0,encodeSpecialCharacters:!0},d.peek=T.peek,d.rewind=function(){var t=T.rewind();return t||(t=(0,s.mapStateOnServer)({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),t},E);y.renderStatic=y.rewind,e.Helmet=y,e.default=y},228:function(t,e,n){var r=n(6),o=n(19),i=n(38),a=n(229),u=n(26).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||u(e,t,{value:a.f(t)})}},229:function(t,e,n){e.f=n(3)},230:function(t,e,n){var r=n(89),o=n(57).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},231:function(t,e){e.__esModule=!0,e.ATTRIBUTE_NAMES={BODY:"bodyAttributes",HTML:"htmlAttributes",TITLE:"titleAttributes"};var n=e.TAG_NAMES={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},r=(e.VALID_TAG_NAMES=Object.keys(n).map(function(t){return n[t]}),e.TAG_PROPERTIES={CHARSET:"charset",CSS_TEXT:"cssText",HREF:"href",HTTPEQUIV:"http-equiv",INNER_HTML:"innerHTML",ITEM_PROP:"itemprop",NAME:"name",PROPERTY:"property",REL:"rel",SRC:"src"},e.REACT_TAG_MAP={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"});e.HELMET_PROPS={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate"},e.HTML_TAG_MAP=Object.keys(r).reduce(function(t,e){return t[r[e]]=e,t},{}),e.SELF_CLOSING_TAGS=[n.NOSCRIPT,n.SCRIPT,n.STYLE],e.HELMET_ATTRIBUTE="data-react-helmet"},234:function(t,e,n){var r=n(36)("meta"),o=n(10),i=n(27),a=n(26).f,u=0,c=Object.isExtensible||function(){return!0},s=!n(13)(function(){return c(Object.preventExtensions({}))}),f=function(t){a(t,r,{value:{i:"O"+ ++u,w:{}}})},l=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!c(t))return"F";if(!e)return"E";f(t)}return t[r].i},getWeak:function(t,e){if(!i(t,r)){if(!c(t))return!0;if(!e)return!1;f(t)}return t[r].w},onFreeze:function(t){return s&&l.NEED&&c(t)&&!i(t,r)&&f(t),t}}},235:function(t,e,n){var r=n(37),o=n(86),i=n(84);t.exports=function(t){var e=r(t),n=o.f;if(n)for(var a,u=n(t),c=i.f,s=0;u.length>s;)c.call(t,a=u[s++])&&e.push(a);return e}},236:function(t,e,n){var r=n(34),o=n(230).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return a.slice()}}(t):o(r(t))}},237:function(t,e,n){var r=n(84),o=n(55),i=n(34),a=n(85),u=n(27),c=n(88),s=Object.getOwnPropertyDescriptor;e.f=n(17)?s:function(t,e){if(t=i(t),e=a(e,!0),c)try{return s(t,e)}catch(t){}if(u(t,e))return o(!r.f.call(t,e),t[e])}},238:function(t,e,n){"use strict";function r(t){return t&&"object"==typeof t&&"default"in t?t.default:t}var o=n(0),i=r(o),a=r(n(239)),u=r(n(240));t.exports=function(t,e,n){if("function"!=typeof t)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof e)throw new Error("Expected handleStateChangeOnClient to be a function.");if(void 0!==n&&"function"!=typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(r){if("function"!=typeof r)throw new Error("Expected WrappedComponent to be a React component.");var c=[],s=void 0;function f(){s=t(c.map(function(t){return t.props})),l.canUseDOM?e(s):n&&(s=n(s))}var l=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.peek=function(){return s},e.rewind=function(){if(e.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var t=s;return s=void 0,c=[],t},e.prototype.shouldComponentUpdate=function(t){return!u(t,this.props)},e.prototype.componentWillMount=function(){c.push(this),f()},e.prototype.componentDidUpdate=function(){f()},e.prototype.componentWillUnmount=function(){var t=c.indexOf(this);c.splice(t,1),f()},e.prototype.render=function(){return i.createElement(r,this.props)},e}(o.Component);return l.displayName="SideEffect("+function(t){return t.displayName||t.name||"Component"}(r)+")",l.canUseDOM=a.canUseDOM,l}}},239:function(t,e,n){var r;
/*!
Copyright (c) 2015 Jed Watson.
Based on code that is Copyright 2013-2015, Facebook, Inc.
All rights reserved.
*/
/*!
Copyright (c) 2015 Jed Watson.
Based on code that is Copyright 2013-2015, Facebook, Inc.
All rights reserved.
*/!function(){"use strict";var o=!("undefined"==typeof window||!window.document||!window.document.createElement),i={canUseDOM:o,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:o&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:o&&!!window.screen};void 0===(r=function(){return i}.call(e,n,e,t))||(t.exports=r)}()},240:function(t,e){t.exports=function(t,e,n,r){var o=n?n.call(r,t,e):void 0;if(void 0!==o)return!!o;if(t===e)return!0;if("object"!=typeof t||!t||"object"!=typeof e||!e)return!1;var i=Object.keys(t),a=Object.keys(e);if(i.length!==a.length)return!1;for(var u=Object.prototype.hasOwnProperty.bind(e),c=0;c<i.length;c++){var s=i[c];if(!u(s))return!1;var f=t[s],l=e[s];if(!1===(o=n?n.call(r,f,l,s):void 0)||void 0===o&&f!==l)return!1}return!0}},241:function(t,e,n){var r=Array.prototype.slice,o=n(242),i=n(243),a=t.exports=function(t,e,n){return n||(n={}),t===e||(t instanceof Date&&e instanceof Date?t.getTime()===e.getTime():!t||!e||"object"!=typeof t&&"object"!=typeof e?n.strict?t===e:t==e:function(t,e,n){var s,f;if(u(t)||u(e))return!1;if(t.prototype!==e.prototype)return!1;if(i(t))return!!i(e)&&(t=r.call(t),e=r.call(e),a(t,e,n));if(c(t)){if(!c(e))return!1;if(t.length!==e.length)return!1;for(s=0;s<t.length;s++)if(t[s]!==e[s])return!1;return!0}try{var l=o(t),p=o(e)}catch(t){return!1}if(l.length!=p.length)return!1;for(l.sort(),p.sort(),s=l.length-1;s>=0;s--)if(l[s]!=p[s])return!1;for(s=l.length-1;s>=0;s--)if(f=l[s],!a(t[f],e[f],n))return!1;return typeof t==typeof e}(t,e,n))};function u(t){return null===t||void 0===t}function c(t){return!(!t||"object"!=typeof t||"number"!=typeof t.length||"function"!=typeof t.copy||"function"!=typeof t.slice||t.length>0&&"number"!=typeof t[0])}},242:function(t,e){function n(t){var e=[];for(var n in t)e.push(n);return e}(t.exports="function"==typeof Object.keys?Object.keys:n).shim=n},243:function(t,e){var n="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();function r(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function o(t){return t&&"object"==typeof t&&"number"==typeof t.length&&Object.prototype.hasOwnProperty.call(t,"callee")&&!Object.prototype.propertyIsEnumerable.call(t,"callee")||!1}(e=t.exports=n?r:o).supported=r,e.unsupported=o},244:function(t,e,n){(function(t){e.__esModule=!0,e.warn=e.requestAnimationFrame=e.reducePropsToState=e.mapStateOnServer=e.handleClientStateChange=e.convertReactPropstoHtmlAttributes=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},i=c(n(0)),a=c(n(58)),u=n(231);function c(t){return t&&t.__esModule?t:{default:t}}var s,f=function(t){return!1===(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])?String(t):String(t).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},l=function(t,e){return e.filter(function(e){return void 0!==e[t]}).map(function(e){return e[t]}).reduce(function(t,e){return o({},t,e)},{})},p=function(t,e,n){var o={};return n.filter(function(e){return!!Array.isArray(e[t])||(void 0!==e[t]&&A("Helmet: "+t+' should be of type "Array". Instead found type "'+r(e[t])+'"'),!1)}).map(function(e){return e[t]}).reverse().reduce(function(t,n){var r={};n.filter(function(t){for(var n=void 0,i=Object.keys(t),a=0;a<i.length;a++){var c=i[a],s=c.toLowerCase();-1===e.indexOf(s)||n===u.TAG_PROPERTIES.REL&&"canonical"===t[n].toLowerCase()||s===u.TAG_PROPERTIES.REL&&"stylesheet"===t[s].toLowerCase()||(n=s),-1===e.indexOf(c)||c!==u.TAG_PROPERTIES.INNER_HTML&&c!==u.TAG_PROPERTIES.CSS_TEXT&&c!==u.TAG_PROPERTIES.ITEM_PROP||(n=c)}if(!n||!t[n])return!1;var f=t[n].toLowerCase();return o[n]||(o[n]={}),r[n]||(r[n]={}),!o[n][f]&&(r[n][f]=!0,!0)}).reverse().forEach(function(e){return t.push(e)});for(var i=Object.keys(r),c=0;c<i.length;c++){var s=i[c],f=(0,a.default)({},o[s],r[s]);o[s]=f}return t},[]).reverse()},T=function(t,e){for(var n=t.length-1;n>=0;n--){var r=t[n];if(r.hasOwnProperty(e))return r[e]}return null},d=(s=Date.now(),function(t){var e=Date.now();e-s>16?(s=e,t(e)):setTimeout(function(){d(t)},0)}),E=function(t){return clearTimeout(t)},h="undefined"!=typeof window?window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||d:t.requestAnimationFrame||d,y="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||E:t.cancelAnimationFrame||E,A=function(t){return console&&"function"==typeof console.warn&&console.warn(t)},v=null,S=function(t,e){var n=t.baseTag,r=t.bodyAttributes,o=t.htmlAttributes,i=t.linkTags,a=t.metaTags,c=t.noscriptTags,s=t.onChangeClientState,f=t.scriptTags,l=t.styleTags,p=t.title,T=t.titleAttributes;_(u.TAG_NAMES.BODY,r),_(u.TAG_NAMES.HTML,o),m(p,T);var d={baseTag:O(u.TAG_NAMES.BASE,n),linkTags:O(u.TAG_NAMES.LINK,i),metaTags:O(u.TAG_NAMES.META,a),noscriptTags:O(u.TAG_NAMES.NOSCRIPT,c),scriptTags:O(u.TAG_NAMES.SCRIPT,f),styleTags:O(u.TAG_NAMES.STYLE,l)},E={},h={};Object.keys(d).forEach(function(t){var e=d[t],n=e.newTags,r=e.oldTags;n.length&&(E[t]=n),r.length&&(h[t]=d[t].oldTags)}),e&&e(),s(t,E,h)},b=function(t){return Array.isArray(t)?t.join(""):t},m=function(t,e){void 0!==t&&document.title!==t&&(document.title=b(t)),_(u.TAG_NAMES.TITLE,e)},_=function(t,e){var n=document.getElementsByTagName(t)[0];if(n){for(var r=n.getAttribute(u.HELMET_ATTRIBUTE),o=r?r.split(","):[],i=[].concat(o),a=Object.keys(e),c=0;c<a.length;c++){var s=a[c],f=e[s]||"";n.getAttribute(s)!==f&&n.setAttribute(s,f),-1===o.indexOf(s)&&o.push(s);var l=i.indexOf(s);-1!==l&&i.splice(l,1)}for(var p=i.length-1;p>=0;p--)n.removeAttribute(i[p]);o.length===i.length?n.removeAttribute(u.HELMET_ATTRIBUTE):n.getAttribute(u.HELMET_ATTRIBUTE)!==a.join(",")&&n.setAttribute(u.HELMET_ATTRIBUTE,a.join(","))}},O=function(t,e){var n=document.head||document.querySelector(u.TAG_NAMES.HEAD),r=n.querySelectorAll(t+"["+u.HELMET_ATTRIBUTE+"]"),o=Array.prototype.slice.call(r),i=[],a=void 0;return e&&e.length&&e.forEach(function(e){var n=document.createElement(t);for(var r in e)if(e.hasOwnProperty(r))if(r===u.TAG_PROPERTIES.INNER_HTML)n.innerHTML=e.innerHTML;else if(r===u.TAG_PROPERTIES.CSS_TEXT)n.styleSheet?n.styleSheet.cssText=e.cssText:n.appendChild(document.createTextNode(e.cssText));else{var c=void 0===e[r]?"":e[r];n.setAttribute(r,c)}n.setAttribute(u.HELMET_ATTRIBUTE,"true"),o.some(function(t,e){return a=e,n.isEqualNode(t)})?o.splice(a,1):i.push(n)}),o.forEach(function(t){return t.parentNode.removeChild(t)}),i.forEach(function(t){return n.appendChild(t)}),{oldTags:o,newTags:i}},P=function(t){return Object.keys(t).reduce(function(e,n){var r=void 0!==t[n]?n+'="'+t[n]+'"':""+n;return e?e+" "+r:r},"")},g=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).reduce(function(e,n){return e[u.REACT_TAG_MAP[n]||n]=t[n],e},e)},w=function(t,e,n){switch(t){case u.TAG_NAMES.TITLE:return{toComponent:function(){return t=e.title,n=e.titleAttributes,(r={key:t})[u.HELMET_ATTRIBUTE]=!0,o=g(n,r),[i.default.createElement(u.TAG_NAMES.TITLE,o,t)];var t,n,r,o},toString:function(){return function(t,e,n,r){var o=P(n),i=b(e);return o?"<"+t+" "+u.HELMET_ATTRIBUTE+'="true" '+o+">"+f(i,r)+"</"+t+">":"<"+t+" "+u.HELMET_ATTRIBUTE+'="true">'+f(i,r)+"</"+t+">"}(t,e.title,e.titleAttributes,n)}};case u.ATTRIBUTE_NAMES.BODY:case u.ATTRIBUTE_NAMES.HTML:return{toComponent:function(){return g(e)},toString:function(){return P(e)}};default:return{toComponent:function(){return function(t,e){return e.map(function(e,n){var r,o=((r={key:n})[u.HELMET_ATTRIBUTE]=!0,r);return Object.keys(e).forEach(function(t){var n=u.REACT_TAG_MAP[t]||t;if(n===u.TAG_PROPERTIES.INNER_HTML||n===u.TAG_PROPERTIES.CSS_TEXT){var r=e.innerHTML||e.cssText;o.dangerouslySetInnerHTML={__html:r}}else o[n]=e[t]}),i.default.createElement(t,o)})}(t,e)},toString:function(){return function(t,e,n){return e.reduce(function(e,r){var o=Object.keys(r).filter(function(t){return!(t===u.TAG_PROPERTIES.INNER_HTML||t===u.TAG_PROPERTIES.CSS_TEXT)}).reduce(function(t,e){var o=void 0===r[e]?e:e+'="'+f(r[e],n)+'"';return t?t+" "+o:o},""),i=r.innerHTML||r.cssText||"",a=-1===u.SELF_CLOSING_TAGS.indexOf(t);return e+"<"+t+" "+u.HELMET_ATTRIBUTE+'="true" '+o+(a?"/>":">"+i+"</"+t+">")},"")}(t,e,n)}}}};e.convertReactPropstoHtmlAttributes=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).reduce(function(e,n){return e[u.HTML_TAG_MAP[n]||n]=t[n],e},e)},e.handleClientStateChange=function(t){v&&y(v),t.defer?v=h(function(){S(t,function(){v=null})}):(S(t),v=null)},e.mapStateOnServer=function(t){var e=t.baseTag,n=t.bodyAttributes,r=t.encode,o=t.htmlAttributes,i=t.linkTags,a=t.metaTags,c=t.noscriptTags,s=t.scriptTags,f=t.styleTags,l=t.title,p=void 0===l?"":l,T=t.titleAttributes;return{base:w(u.TAG_NAMES.BASE,e,r),bodyAttributes:w(u.ATTRIBUTE_NAMES.BODY,n,r),htmlAttributes:w(u.ATTRIBUTE_NAMES.HTML,o,r),link:w(u.TAG_NAMES.LINK,i,r),meta:w(u.TAG_NAMES.META,a,r),noscript:w(u.TAG_NAMES.NOSCRIPT,c,r),script:w(u.TAG_NAMES.SCRIPT,s,r),style:w(u.TAG_NAMES.STYLE,f,r),title:w(u.TAG_NAMES.TITLE,{title:p,titleAttributes:T},r)}},e.reducePropsToState=function(t){return{baseTag:function(t,e){return e.filter(function(t){return void 0!==t[u.TAG_NAMES.BASE]}).map(function(t){return t[u.TAG_NAMES.BASE]}).reverse().reduce(function(e,n){if(!e.length)for(var r=Object.keys(n),o=0;o<r.length;o++){var i=r[o].toLowerCase();if(-1!==t.indexOf(i)&&n[i])return e.concat(n)}return e},[])}([u.TAG_PROPERTIES.HREF],t),bodyAttributes:l(u.ATTRIBUTE_NAMES.BODY,t),defer:T(t,u.HELMET_PROPS.DEFER),encode:T(t,u.HELMET_PROPS.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:l(u.ATTRIBUTE_NAMES.HTML,t),linkTags:p(u.TAG_NAMES.LINK,[u.TAG_PROPERTIES.REL,u.TAG_PROPERTIES.HREF],t),metaTags:p(u.TAG_NAMES.META,[u.TAG_PROPERTIES.NAME,u.TAG_PROPERTIES.CHARSET,u.TAG_PROPERTIES.HTTPEQUIV,u.TAG_PROPERTIES.PROPERTY,u.TAG_PROPERTIES.ITEM_PROP],t),noscriptTags:p(u.TAG_NAMES.NOSCRIPT,[u.TAG_PROPERTIES.INNER_HTML],t),onChangeClientState:function(t){return T(t,u.HELMET_PROPS.ON_CHANGE_CLIENT_STATE)||function(){}}(t),scriptTags:p(u.TAG_NAMES.SCRIPT,[u.TAG_PROPERTIES.SRC,u.TAG_PROPERTIES.INNER_HTML],t),styleTags:p(u.TAG_NAMES.STYLE,[u.TAG_PROPERTIES.CSS_TEXT],t),title:function(t){var e=T(t,u.TAG_NAMES.TITLE),n=T(t,u.HELMET_PROPS.TITLE_TEMPLATE);if(n&&e)return n.replace(/%s/g,function(){return e});var r=T(t,u.HELMET_PROPS.DEFAULT_TITLE);return e||r||void 0}(t),titleAttributes:l(u.ATTRIBUTE_NAMES.TITLE,t)}},e.requestAnimationFrame=h,e.warn=A}).call(this,n(162))},245:function(t,e){t.exports=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}},246:function(t,e){function n(){return t.exports=n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},n.apply(this,arguments)}t.exports=n}}]);
//# sourceMappingURL=0-fe5355f65c459ea883fa.js.map