Files
Julien Lengrand-Lambert 605bbd9695 adds failing test
2021-01-20 17:15:50 +01:00

1 line
24 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{1:function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"version",(function(){return a})),n.d(t,"DOM",(function(){return O})),n.d(t,"Children",(function(){return x})),n.d(t,"render",(function(){return b})),n.d(t,"createClass",(function(){return B})),n.d(t,"createFactory",(function(){return P})),n.d(t,"createElement",(function(){return T})),n.d(t,"cloneElement",(function(){return E})),n.d(t,"isValidElement",(function(){return U})),n.d(t,"findDOMNode",(function(){return D})),n.d(t,"unmountComponentAtNode",(function(){return C})),n.d(t,"Component",(function(){return K})),n.d(t,"PureComponent",(function(){return G})),n.d(t,"unstable_renderSubtreeIntoContainer",(function(){return g})),n.d(t,"__spread",(function(){return M}));var r=n(0),o=n.n(r);n.d(t,"PropTypes",(function(){return o.a}));var i=n(4),a="15.1.0",c="a abbr address area article aside audio b base bdi bdo big blockquote body br button canvas caption cite code col colgroup data datalist dd del details dfn dialog div dl dt em embed fieldset figcaption figure footer form h1 h2 h3 h4 h5 h6 head header hgroup hr html i iframe img input ins kbd keygen label legend li link main map mark menu menuitem meta meter nav noscript object ol optgroup option output p param picture pre progress q rp rt ruby s samp script section select small source span strong style sub summary sup table tbody td textarea tfoot th thead time title tr track u ul var video wbr circle clipPath defs ellipse g image line linearGradient mask path pattern polygon polyline radialGradient rect stop svg text tspan".split(" "),l="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,s="undefined"!=typeof Symbol?Symbol.for("__preactCompatWrapper"):"__preactCompatWrapper",p={constructor:1,render:1,shouldComponentUpdate:1,componentWillReceiveProps:1,componentWillUpdate:1,componentDidUpdate:1,componentWillMount:1,componentDidMount:1,componentWillUnmount:1,componentDidUnmount:1},u=/^(?:accent|alignment|arabic|baseline|cap|clip|color|fill|flood|font|glyph|horiz|marker|overline|paint|stop|strikethrough|stroke|text|underline|unicode|units|v|vector|vert|word|writing|x)[A-Z]/,f={},d=void 0===e||!e.env||!1;function h(){return null}var y=Object(i.c)("a",null).constructor;y.prototype.$$typeof=l,y.prototype.preactCompatUpgraded=!1,y.prototype.preactCompatNormalized=!1,Object.defineProperty(y.prototype,"type",{get:function(){return this.nodeName},set:function(e){this.nodeName=e},configurable:!0}),Object.defineProperty(y.prototype,"props",{get:function(){return this.attributes},set:function(e){this.attributes=e},configurable:!0});var m=i.d.event;i.d.event=function(e){return m&&(e=m(e)),e.persist=Object,e.nativeEvent=e,e};var v=i.d.vnode;function b(e,t,n){var r=t&&t._preactCompatRendered&&t._preactCompatRendered.base;r&&r.parentNode!==t&&(r=null),!r&&t&&(r=t.firstElementChild);for(var o=t.childNodes.length;o--;)t.childNodes[o]!==r&&t.removeChild(t.childNodes[o]);var a=Object(i.e)(e,t,r);return t&&(t._preactCompatRendered=a&&(a._component||{base:a})),"function"==typeof n&&n(),a&&a._component||a}i.d.vnode=function(e){if(!e.preactCompatUpgraded){e.preactCompatUpgraded=!0;var t=e.nodeName,n=e.attributes=M({},e.attributes);"function"==typeof t?(!0===t[s]||t.prototype&&"isReactComponent"in t.prototype)&&(e.children&&""===String(e.children)&&(e.children=void 0),e.children&&(n.children=e.children),e.preactCompatNormalized||R(e),function(e){var t=e.nodeName,n=e.attributes;e.attributes={},t.defaultProps&&M(e.attributes,t.defaultProps);n&&M(e.attributes,n)}(e)):(e.children&&""===String(e.children)&&(e.children=void 0),e.children&&(n.children=e.children),n.defaultValue&&(n.value||0===n.value||(n.value=n.defaultValue),delete n.defaultValue),function(e,t){var n,r,o;if(t){for(o in t)if(n=u.test(o))break;if(n)for(o in r=e.attributes={},t)t.hasOwnProperty(o)&&(r[u.test(o)?o.replace(/([A-Z0-9])/,"-$1").toLowerCase():o]=t[o])}}(e,n))}v&&v(e)};var _=function(){};function g(e,t,n,r){var o=b(Object(i.c)(_,{context:e.context},t),n),a=o._component||o.base;return r&&r.call(a,o),a}function C(e){var t=e._preactCompatRendered&&e._preactCompatRendered.base;return!(!t||t.parentNode!==e)&&(Object(i.e)(Object(i.c)(h),e,t),!0)}_.prototype.getChildContext=function(){return this.props.context},_.prototype.render=function(e){return e.children[0]};var N,w=[],x={map:function(e,t,n){return null==e?null:(e=x.toArray(e),n&&n!==e&&(t=t.bind(n)),e.map(t))},forEach:function(e,t,n){if(null==e)return null;e=x.toArray(e),n&&n!==e&&(t=t.bind(n)),e.forEach(t)},count:function(e){return e&&e.length||0},only:function(e){if(1!==(e=x.toArray(e)).length)throw new Error("Children.only() expects only one child.");return e[0]},toArray:function(e){return null==e?[]:w.concat(e)}};function P(e){return T.bind(null,e)}for(var O={},k=c.length;k--;)O[c[k]]=P(c[k]);function j(e,t){for(var n=t||0;n<e.length;n++){var r=e[n];Array.isArray(r)?j(r):r&&"object"==typeof r&&!U(r)&&(r.props&&r.type||r.attributes&&r.nodeName||r.children)&&(e[n]=T(r.type||r.nodeName,r.props||r.attributes,r.children))}}function S(e){var t,n=e[s];return n?!0===n?e:n:(n=B({displayName:(t=e).displayName||t.name,render:function(){return t(this.props,this.context)}}),Object.defineProperty(n,s,{configurable:!0,value:!0}),n.displayName=e.displayName,n.propTypes=e.propTypes,n.defaultProps=e.defaultProps,Object.defineProperty(e,s,{configurable:!0,value:n}),n)}function T(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return j(e,2),R(i.c.apply(void 0,e))}function R(e){var t;e.preactCompatNormalized=!0,function(e){var t=e.attributes||(e.attributes={});A.enumerable="className"in t,t.className&&(t.class=t.className);Object.defineProperty(t,"className",A)}(e),"function"!=typeof(t=e.nodeName)||t.prototype&&t.prototype.render||(e.nodeName=S(e.nodeName));var n,r,o=e.attributes.ref,i=o&&typeof o;return!N||"string"!==i&&"number"!==i||(e.attributes.ref=(n=o,(r=N)._refProxies[n]||(r._refProxies[n]=function(e){r&&r.refs&&(r.refs[n]=e,null===e&&(delete r._refProxies[n],r=null))}))),function(e){var t=e.nodeName,n=e.attributes;if(!n||"string"!=typeof t)return;var r={};for(var o in n)r[o.toLowerCase()]=o;r.ondoubleclick&&(n.ondblclick=n[r.ondoubleclick],delete n[r.ondoubleclick]);if(r.onchange&&("textarea"===t||"input"===t.toLowerCase()&&!/^fil|che|rad/i.test(n.type))){var i=r.oninput||"oninput";n[i]||(n[i]=q([n[i],n[r.onchange]]),delete n[r.onchange])}}(e),e}function E(e,t){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];if(!U(e))return e;var o=e.attributes||e.props,a=Object(i.c)(e.nodeName||e.type,o,e.children||o&&o.children),c=[a,t];return n&&n.length?c.push(n):t&&t.children&&c.push(t.children),R(i.b.apply(void 0,c))}function U(e){return e&&(e instanceof y||e.$$typeof===l)}var A={configurable:!0,get:function(){return this.class},set:function(e){this.class=e}};function M(e,t){for(var n=arguments,r=1,o=void 0;r<arguments.length;r++)if(o=n[r])for(var i in o)o.hasOwnProperty(i)&&(e[i]=o[i]);return e}function W(e,t){for(var n in e)if(!(n in t))return!0;for(var r in t)if(e[r]!==t[r])return!0;return!1}function D(e){return e&&e.base||e}function L(){}function B(e){function t(e,t){!function(e){for(var t in e){var n=e[t];"function"!=typeof n||n.__bound||p.hasOwnProperty(t)||((e[t]=n.bind(e)).__bound=!0)}}(this),K.call(this,e,t,f),H.call(this,e,t)}return(e=M({constructor:t},e)).mixins&&function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=q(t[n].concat(e[n]||w),"getDefaultProps"===n||"getInitialState"===n||"getChildContext"===n))}(e,function(e){for(var t={},n=0;n<e.length;n++){var r=e[n];for(var o in r)r.hasOwnProperty(o)&&"function"==typeof r[o]&&(t[o]||(t[o]=[])).push(r[o])}return t}(e.mixins)),e.statics&&M(t,e.statics),e.propTypes&&(t.propTypes=e.propTypes),e.defaultProps&&(t.defaultProps=e.defaultProps),e.getDefaultProps&&(t.defaultProps=e.getDefaultProps()),L.prototype=K.prototype,t.prototype=M(new L,e),t.displayName=e.displayName||"Component",t}function V(e,t,n){if("string"==typeof t&&(t=e.constructor.prototype[t]),"function"==typeof t)return t.apply(e,n)}function q(e,t){return function(){for(var n,r=arguments,o=this,i=0;i<e.length;i++){var a=V(o,e[i],r);if(t&&null!=a)for(var c in n||(n={}),a)a.hasOwnProperty(c)&&(n[c]=a[c]);else void 0!==a&&(n=a)}return n}}function H(e,t){z.call(this,e,t),this.componentWillReceiveProps=q([z,this.componentWillReceiveProps||"componentWillReceiveProps"]),this.render=q([z,I,this.render||"render",$])}function z(e,t){if(e){var n=e.children;if(n&&Array.isArray(n)&&1===n.length&&("string"==typeof n[0]||"function"==typeof n[0]||n[0]instanceof y)&&(e.children=n[0],e.children&&"object"==typeof e.children&&(e.children.length=1,e.children[0]=e.children)),d){var r="function"==typeof this?this:this.constructor,i=this.propTypes||r.propTypes,a=this.displayName||r.name;i&&o.a.checkPropTypes(i,e,"prop",a)}}}function I(e){N=this}function $(){N===this&&(N=null)}function K(e,t,n){i.a.call(this,e,t),this.state=this.getInitialState?this.getInitialState():{},this.refs={},this._refProxies={},n!==f&&H.call(this,e,t)}function G(e,t){K.call(this,e,t)}M(K.prototype=new i.a,{constructor:K,isReactComponent:{},replaceState:function(e,t){for(var n in this.setState(e,t),this.state)n in e||delete this.state[n]},getDOMNode:function(){return this.base},isMounted:function(){return!!this.base}}),L.prototype=K.prototype,G.prototype=new L,G.prototype.isPureReactComponent=!0,G.prototype.shouldComponentUpdate=function(e,t){return W(this.props,e)||W(this.state,t)};var F={version:a,DOM:O,PropTypes:o.a,Children:x,render:b,createClass:B,createFactory:P,createElement:T,cloneElement:E,isValidElement:U,findDOMNode:D,unmountComponentAtNode:C,Component:K,PureComponent:G,unstable_renderSubtreeIntoContainer:g,__spread:M};t.default=F}.call(this,n(35))},4:function(e,t,n){"use strict";function r(){}n.d(t,"c",(function(){return c})),n.d(t,"b",(function(){return p})),n.d(t,"a",(function(){return W})),n.d(t,"e",(function(){return D})),n.d(t,"d",(function(){return o}));var o={},i=[],a=[];function c(e,t){var n,c,l,s,p=a;for(s=arguments.length;s-- >2;)i.push(arguments[s]);for(t&&null!=t.children&&(i.length||i.push(t.children),delete t.children);i.length;)if((c=i.pop())&&void 0!==c.pop)for(s=c.length;s--;)i.push(c[s]);else"boolean"==typeof c&&(c=null),(l="function"!=typeof e)&&(null==c?c="":"number"==typeof c?c=String(c):"string"!=typeof c&&(l=!1)),l&&n?p[p.length-1]+=c:p===a?p=[c]:p.push(c),n=l;var u=new r;return u.nodeName=e,u.children=p,u.attributes=null==t?void 0:t,u.key=null==t?void 0:t.key,void 0!==o.vnode&&o.vnode(u),u}function l(e,t){for(var n in t)e[n]=t[n];return e}var s="function"==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):setTimeout;function p(e,t){return c(e.nodeName,l(l({},e.attributes),t),arguments.length>2?[].slice.call(arguments,2):e.children)}var u=/acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i,f=[];function d(e){!e._dirty&&(e._dirty=!0)&&1==f.push(e)&&(o.debounceRendering||s)(h)}function h(){var e,t=f;for(f=[];e=t.pop();)e._dirty&&A(e)}function y(e,t,n){return"string"==typeof t||"number"==typeof t?void 0!==e.splitText:"string"==typeof t.nodeName?!e._componentConstructor&&m(e,t.nodeName):n||e._componentConstructor===t.nodeName}function m(e,t){return e.normalizedNodeName===t||e.nodeName.toLowerCase()===t.toLowerCase()}function v(e){var t=l({},e.attributes);t.children=e.children;var n=e.nodeName.defaultProps;if(void 0!==n)for(var r in n)void 0===t[r]&&(t[r]=n[r]);return t}function b(e){var t=e.parentNode;t&&t.removeChild(e)}function _(e,t,n,r,o){if("className"===t&&(t="class"),"key"===t);else if("ref"===t)n&&n(null),r&&r(e);else if("class"!==t||o)if("style"===t){if(r&&"string"!=typeof r&&"string"!=typeof n||(e.style.cssText=r||""),r&&"object"==typeof r){if("string"!=typeof n)for(var i in n)i in r||(e.style[i]="");for(var i in r)e.style[i]="number"==typeof r[i]&&!1===u.test(i)?r[i]+"px":r[i]}}else if("dangerouslySetInnerHTML"===t)r&&(e.innerHTML=r.__html||"");else if("o"==t[0]&&"n"==t[1]){var a=t!==(t=t.replace(/Capture$/,""));t=t.toLowerCase().substring(2),r?n||e.addEventListener(t,g,a):e.removeEventListener(t,g,a),(e._listeners||(e._listeners={}))[t]=r}else if("list"!==t&&"type"!==t&&!o&&t in e)!function(e,t,n){try{e[t]=n}catch(e){}}(e,t,null==r?"":r),null!=r&&!1!==r||e.removeAttribute(t);else{var c=o&&t!==(t=t.replace(/^xlink\:?/,""));null==r||!1===r?c?e.removeAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase()):e.removeAttribute(t):"function"!=typeof r&&(c?e.setAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase(),r):e.setAttribute(t,r))}else e.className=r||""}function g(e){return this._listeners[e.type](o.event&&o.event(e)||e)}var C=[],N=0,w=!1,x=!1;function P(){for(var e;e=C.pop();)o.afterMount&&o.afterMount(e),e.componentDidMount&&e.componentDidMount()}function O(e,t,n,r,o,i){N++||(w=null!=o&&void 0!==o.ownerSVGElement,x=null!=e&&!("__preactattr_"in e));var a=k(e,t,n,r,i);return o&&a.parentNode!==o&&o.appendChild(a),--N||(x=!1,i||P()),a}function k(e,t,n,r,o){var i=e,a=w;if(null!=t&&"boolean"!=typeof t||(t=""),"string"==typeof t||"number"==typeof t)return e&&void 0!==e.splitText&&e.parentNode&&(!e._component||o)?e.nodeValue!=t&&(e.nodeValue=t):(i=document.createTextNode(t),e&&(e.parentNode&&e.parentNode.replaceChild(i,e),j(e,!0))),i.__preactattr_=!0,i;var c,l,s=t.nodeName;if("function"==typeof s)return function(e,t,n,r){var o=e&&e._component,i=o,a=e,c=o&&e._componentConstructor===t.nodeName,l=c,s=v(t);for(;o&&!l&&(o=o._parentComponent);)l=o.constructor===t.nodeName;o&&l&&(!r||o._component)?(U(o,s,3,n,r),e=o.base):(i&&!c&&(M(i),e=a=null),o=R(t.nodeName,s,n),e&&!o.nextBase&&(o.nextBase=e,a=null),U(o,s,1,n,r),e=o.base,a&&e!==a&&(a._component=null,j(a,!1)));return e}(e,t,n,r);if(w="svg"===s||"foreignObject"!==s&&w,s=String(s),(!e||!m(e,s))&&(c=s,(l=w?document.createElementNS("http://www.w3.org/2000/svg",c):document.createElement(c)).normalizedNodeName=c,i=l,e)){for(;e.firstChild;)i.appendChild(e.firstChild);e.parentNode&&e.parentNode.replaceChild(i,e),j(e,!0)}var p=i.firstChild,u=i.__preactattr_,f=t.children;if(null==u){u=i.__preactattr_={};for(var d=i.attributes,h=d.length;h--;)u[d[h].name]=d[h].value}return!x&&f&&1===f.length&&"string"==typeof f[0]&&null!=p&&void 0!==p.splitText&&null==p.nextSibling?p.nodeValue!=f[0]&&(p.nodeValue=f[0]):(f&&f.length||null!=p)&&function(e,t,n,r,o){var i,a,c,l,s,p=e.childNodes,u=[],f={},d=0,h=0,m=p.length,v=0,_=t?t.length:0;if(0!==m)for(var g=0;g<m;g++){var C=p[g],N=C.__preactattr_;null!=(w=_&&N?C._component?C._component.__key:N.key:null)?(d++,f[w]=C):(N||(void 0!==C.splitText?!o||C.nodeValue.trim():o))&&(u[v++]=C)}if(0!==_)for(g=0;g<_;g++){var w;if(l=t[g],s=null,null!=(w=l.key))d&&void 0!==f[w]&&(s=f[w],f[w]=void 0,d--);else if(!s&&h<v)for(i=h;i<v;i++)if(void 0!==u[i]&&y(a=u[i],l,o)){s=a,u[i]=void 0,i===v-1&&v--,i===h&&h++;break}s=k(s,l,n,r),c=p[g],s&&s!==e&&s!==c&&(null==c?e.appendChild(s):s===c.nextSibling?b(c):e.insertBefore(s,c))}if(d)for(var g in f)void 0!==f[g]&&j(f[g],!1);for(;h<=v;)void 0!==(s=u[v--])&&j(s,!1)}(i,f,n,r,x||null!=u.dangerouslySetInnerHTML),function(e,t,n){var r;for(r in n)t&&null!=t[r]||null==n[r]||_(e,r,n[r],n[r]=void 0,w);for(r in t)"children"===r||"innerHTML"===r||r in n&&t[r]===("value"===r||"checked"===r?e[r]:n[r])||_(e,r,n[r],n[r]=t[r],w)}(i,t.attributes,u),w=a,i}function j(e,t){var n=e._component;n?M(n):(null!=e.__preactattr_&&e.__preactattr_.ref&&e.__preactattr_.ref(null),!1!==t&&null!=e.__preactattr_||b(e),S(e))}function S(e){for(e=e.lastChild;e;){var t=e.previousSibling;j(e,!0),e=t}}var T={};function R(e,t,n){var r,o=T[e.name];if(e.prototype&&e.prototype.render?(r=new e(t,n),W.call(r,t,n)):((r=new W(t,n)).constructor=e,r.render=E),o)for(var i=o.length;i--;)if(o[i].constructor===e){r.nextBase=o[i].nextBase,o.splice(i,1);break}return r}function E(e,t,n){return this.constructor(e,n)}function U(e,t,n,r,i){e._disable||(e._disable=!0,(e.__ref=t.ref)&&delete t.ref,(e.__key=t.key)&&delete t.key,!e.base||i?e.componentWillMount&&e.componentWillMount():e.componentWillReceiveProps&&e.componentWillReceiveProps(t,r),r&&r!==e.context&&(e.prevContext||(e.prevContext=e.context),e.context=r),e.prevProps||(e.prevProps=e.props),e.props=t,e._disable=!1,0!==n&&(1!==n&&!1===o.syncComponentUpdates&&e.base?d(e):A(e,1,i)),e.__ref&&e.__ref(e))}function A(e,t,n,r){if(!e._disable){var i,a,c,s=e.props,p=e.state,u=e.context,f=e.prevProps||s,d=e.prevState||p,h=e.prevContext||u,y=e.base,m=e.nextBase,b=y||m,_=e._component,g=!1;if(y&&(e.props=f,e.state=d,e.context=h,2!==t&&e.shouldComponentUpdate&&!1===e.shouldComponentUpdate(s,p,u)?g=!0:e.componentWillUpdate&&e.componentWillUpdate(s,p,u),e.props=s,e.state=p,e.context=u),e.prevProps=e.prevState=e.prevContext=e.nextBase=null,e._dirty=!1,!g){i=e.render(s,p,u),e.getChildContext&&(u=l(l({},u),e.getChildContext()));var w,x,k=i&&i.nodeName;if("function"==typeof k){var S=v(i);(a=_)&&a.constructor===k&&S.key==a.__key?U(a,S,1,u,!1):(w=a,e._component=a=R(k,S,u),a.nextBase=a.nextBase||m,a._parentComponent=e,U(a,S,0,u,!1),A(a,1,n,!0)),x=a.base}else c=b,(w=_)&&(c=e._component=null),(b||1===t)&&(c&&(c._component=null),x=O(c,i,u,n||!y,b&&b.parentNode,!0));if(b&&x!==b&&a!==_){var T=b.parentNode;T&&x!==T&&(T.replaceChild(x,b),w||(b._component=null,j(b,!1)))}if(w&&M(w),e.base=x,x&&!r){for(var E=e,W=e;W=W._parentComponent;)(E=W).base=x;x._component=E,x._componentConstructor=E.constructor}}if(!y||n?C.unshift(e):g||(e.componentDidUpdate&&e.componentDidUpdate(f,d,h),o.afterUpdate&&o.afterUpdate(e)),null!=e._renderCallbacks)for(;e._renderCallbacks.length;)e._renderCallbacks.pop().call(e);N||r||P()}}function M(e){o.beforeUnmount&&o.beforeUnmount(e);var t=e.base;e._disable=!0,e.componentWillUnmount&&e.componentWillUnmount(),e.base=null;var n=e._component;n?M(n):t&&(t.__preactattr_&&t.__preactattr_.ref&&t.__preactattr_.ref(null),e.nextBase=t,b(t),function(e){var t=e.constructor.name;(T[t]||(T[t]=[])).push(e)}(e),S(t)),e.__ref&&e.__ref(null)}function W(e,t){this._dirty=!0,this.context=t,this.props=e,this.state=this.state||{}}function D(e,t,n){return O(n,e,{},!1,t,!1)}l(W.prototype,{setState:function(e,t){var n=this.state;this.prevState||(this.prevState=l({},n)),l(n,"function"==typeof e?e(n,this.props):e),t&&(this._renderCallbacks=this._renderCallbacks||[]).push(t),d(this)},forceUpdate:function(e){e&&(this._renderCallbacks=this._renderCallbacks||[]).push(e),A(this,2)},render:function(){}})},46:function(e,t,n){"use strict"},7:function(e,t,n){"use strict";n.d(t,"a",(function(){return h})),n.d(t,"b",(function(){return k})),n.d(t,"c",(function(){return j})),n.d(t,"d",(function(){return E}));var r=n(2),o=n.n(r),i=n(1),a=n(0),c=n.n(a),l=n(20),s=n.n(l),p=n(12).a;function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(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}var d=function(e){function t(){var n,r;u(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=f(this,e.call.apply(e,[this].concat(i))),r.history=s()(r.props),f(r,n)}return function(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,e),t.prototype.componentWillMount=function(){o()(!this.props.history,"<BrowserRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { BrowserRouter as Router }`.")},t.prototype.render=function(){return i.default.createElement(p,{history:this.history,children:this.props.children})},t}(i.default.Component);d.propTypes={basename:c.a.string,forceRefresh:c.a.bool,getUserConfirmation:c.a.func,keyLength:c.a.number,children:c.a.node};var h=d,y=n(21),m=n.n(y);function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(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}var _=function(e){function t(){var n,r;v(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=b(this,e.call.apply(e,[this].concat(i))),r.history=m()(r.props),b(r,n)}return function(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,e),t.prototype.componentWillMount=function(){o()(!this.props.history,"<HashRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { HashRouter as Router }`.")},t.prototype.render=function(){return i.default.createElement(p,{history:this.history,children:this.props.children})},t}(i.default.Component);_.propTypes={basename:c.a.string,getUserConfirmation:c.a.func,hashType:c.a.oneOf(["hashbang","noslash","slash"]),children:c.a.node};var g=n(3),C=n.n(g),N=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function w(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x(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}var P=function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)},O=function(e){function t(){var n,r;w(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=x(this,e.call.apply(e,[this].concat(i))),r.handleClick=function(e){if(r.props.onClick&&r.props.onClick(e),!e.defaultPrevented&&0===e.button&&!r.props.target&&!P(e)){e.preventDefault();var t=r.context.router.history,n=r.props,o=n.replace,i=n.to;o?t.replace(i):t.push(i)}},x(r,n)}return function(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,e),t.prototype.render=function(){var e=this.props,t=(e.replace,e.to),n=e.innerRef,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["replace","to","innerRef"]);C()(this.context.router,"You should not use <Link> outside a <Router>");var o=this.context.router.history.createHref("string"==typeof t?{pathname:t}:t);return i.default.createElement("a",N({},r,{onClick:this.handleClick,href:o,ref:n}))},t}(i.default.Component);O.propTypes={onClick:c.a.func,target:c.a.string,replace:c.a.bool,to:c.a.oneOfType([c.a.string,c.a.object]).isRequired,innerRef:c.a.oneOfType([c.a.string,c.a.func])},O.defaultProps={replace:!1},O.contextTypes={router:c.a.shape({history:c.a.shape({push:c.a.func.isRequired,replace:c.a.func.isRequired,createHref:c.a.func.isRequired}).isRequired}).isRequired};var k=O,j=(n(22).a,n(14).a),S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var R=function(e){var t=e.to,n=e.exact,r=e.strict,o=e.location,a=e.activeClassName,c=e.className,l=e.activeStyle,s=e.style,p=e.isActive,u=e.ariaCurrent,f=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["to","exact","strict","location","activeClassName","className","activeStyle","style","isActive","ariaCurrent"]);return i.default.createElement(j,{path:"object"===(void 0===t?"undefined":T(t))?t.pathname:t,exact:n,strict:r,location:o,children:function(e){var n=e.location,r=e.match,o=!!(p?p(r,n):r);return i.default.createElement(k,S({to:t,className:o?[c,a].filter((function(e){return e})).join(" "):c,style:o?S({},s,l):s,"aria-current":o&&u},f))}})};R.propTypes={to:k.propTypes.to,exact:c.a.bool,strict:c.a.bool,location:c.a.object,activeClassName:c.a.string,className:c.a.string,activeStyle:c.a.object,style:c.a.object,isActive:c.a.func,ariaCurrent:c.a.oneOf(["page","step","location","true"])},R.defaultProps={activeClassName:"active",ariaCurrent:"true"};n(25).a,n(31).a,n(26).a;var E=n(27).a;n(13).a,n(28).a}}]);