From b513b42e32f1fe379c951f8b23aaca15970e14bc Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Fri, 5 Jan 2018 09:10:44 +0100 Subject: trailing slash --- public/bundle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public/bundle.js') diff --git a/public/bundle.js b/public/bundle.js index 52f474e..00a6dc9 100644 --- a/public/bundle.js +++ b/public/bundle.js @@ -1,2 +1,2 @@ -!function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=16)}([function(t,e,n){t.exports=n(21)()},function(t,e,n){"use strict";(function(t){function r(){return null}function o(t){var e=t.nodeName,n=t.attributes;t.attributes={},e.defaultProps&&w(t.attributes,e.defaultProps),n&&w(t.attributes,n)}function i(t,e){var n,r,o;if(e){for(o in e)if(n=$.test(o))break;if(n){r=t.attributes={};for(o in e)e.hasOwnProperty(o)&&(r[$.test(o)?o.replace(/([A-Z0-9])/,"-$1").toLowerCase():o]=e[o])}}}function a(t,e,n){var r=e&&e._preactCompatRendered&&e._preactCompatRendered.base;r&&r.parentNode!==e&&(r=null),r||(r=e.children[0]);for(var o=e.childNodes.length;o--;)e.childNodes[o]!==r&&e.removeChild(e.childNodes[o]);var i=q.render(t,e,r);return e&&(e._preactCompatRendered=i&&(i._component||{base:i})),"function"==typeof n&&n(),i&&i._component||i}function c(t,e,n,r){var o=q.h(J,{context:t.context},e),i=a(o,n);return r&&r(i),i._component||i.base}function u(t){var e=t._preactCompatRendered&&t._preactCompatRendered.base;return!(!e||e.parentNode!==t)&&(q.render(q.h(r),t,e),!0)}function s(t){return d.bind(null,t)}function l(t,e){for(var n=e||0;n0;)n[r]=arguments[r+2];if(!m(t))return t;var o=t.attributes||t.props,i=q.h(t.nodeName||t.type,o,t.children||o&&o.children),a=[i,e];return n&&n.length?a.push(n):e&&e.children&&a.push(e.children),y(q.cloneElement.apply(void 0,a))}function m(t){return t&&(t instanceof G||t.$$typeof===D)}function b(t,e){return e._refProxies[t]||(e._refProxies[t]=function(n){e&&e.refs&&(e.refs[t]=n,null===n&&(delete e._refProxies[t],e=null))})}function g(t){var e=t.nodeName,n=t.attributes;if(n&&"string"==typeof e){var r={};for(var o in n)r[o.toLowerCase()]=o;if(r.ondoubleclick&&(n.ondblclick=n[r.ondoubleclick],delete n[r.ondoubleclick]),r.onchange&&("textarea"===e||"input"===e.toLowerCase()&&!/^fil|che|rad/i.test(n.type))){var i=r.oninput||"oninput";n[i]||(n[i]=R([n[i],n[r.onchange]]),delete n[r.onchange])}}}function _(t){var e=t.attributes;if(e){var n=e.className||e.class;n&&(e.className=n)}}function w(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function O(t,e){for(var n in t)if(!(n in e))return!0;for(var r in e)if(t[r]!==e[r])return!0;return!1}function P(t){return t&&t.base||t}function x(){}function j(t){function e(t,e){T(this),M.call(this,t,e,F),S.call(this,t,e)}return t=w({constructor:e},t),t.mixins&&E(t,C(t.mixins)),t.statics&&w(e,t.statics),t.propTypes&&(e.propTypes=t.propTypes),t.defaultProps&&(e.defaultProps=t.defaultProps),t.getDefaultProps&&(e.defaultProps=t.getDefaultProps()),x.prototype=M.prototype,e.prototype=w(new x,t),e.displayName=t.displayName||"Component",e}function C(t){for(var e={},n=0;n2;)L.push(arguments[a]);for(n&&null!=n.children&&(L.length||L.push(n.children),delete n.children);L.length;)if((o=L.pop())&&void 0!==o.pop)for(a=o.length;a--;)L.push(o[a]);else!0!==o&&!1!==o||(o=null),(i="function"!=typeof t)&&(null==o?o="":"number"==typeof o?o=String(o):"string"!=typeof o&&(i=!1)),i&&r?c[c.length-1]+=o:c===A?c=[o]:c.push(o),r=i;var u=new e;return u.nodeName=t,u.children=c,u.attributes=null==n?void 0:n,u.key=null==n?void 0:n.key,void 0!==S.vnode&&S.vnode(u),u}function r(t,e){for(var n in e)t[n]=e[n];return t}function o(t,e){return n(t.nodeName,r(r({},t.attributes),e),arguments.length>2?[].slice.call(arguments,2):t.children)}function i(t){!t.__d&&(t.__d=!0)&&1==M.push(t)&&(S.debounceRendering||setTimeout)(a)}function a(){var t,e=M;for(M=[];t=e.pop();)t.__d&&C(t)}function c(t,e,n){return"string"==typeof e||"number"==typeof e?void 0!==t.splitText:"string"==typeof e.nodeName?!t._componentConstructor&&u(t,e.nodeName):n||t._componentConstructor===e.nodeName}function u(t,e){return t.__n===e||t.nodeName.toLowerCase()===e.toLowerCase()}function s(t){var e=r({},t.attributes);e.children=t.children;var n=t.nodeName.defaultProps;if(void 0!==n)for(var o in n)void 0===e[o]&&(e[o]=n[o]);return e}function l(t,e){var n=e?document.createElementNS("http://www.w3.org/2000/svg",t):document.createElement(t);return n.__n=t,n}function p(t){t.parentNode&&t.parentNode.removeChild(t)}function f(t,e,n,r,o){if("className"===e&&(e="class"),"key"===e);else if("ref"===e)n&&n(null),r&&r(t);else if("class"!==e||o)if("style"===e){if(r&&"string"!=typeof r&&"string"!=typeof n||(t.style.cssText=r||""),r&&"object"==typeof r){if("string"!=typeof n)for(var i in n)i in r||(t.style[i]="");for(var i in r)t.style[i]="number"==typeof r[i]&&!1===N.test(i)?r[i]+"px":r[i]}}else if("dangerouslySetInnerHTML"===e)r&&(t.innerHTML=r.__html||"");else if("o"==e[0]&&"n"==e[1]){var a=e!==(e=e.replace(/Capture$/,""));e=e.toLowerCase().substring(2),r?n||t.addEventListener(e,d,a):t.removeEventListener(e,d,a),(t.__l||(t.__l={}))[e]=r}else if("list"!==e&&"type"!==e&&!o&&e in t)h(t,e,null==r?"":r),null!=r&&!1!==r||t.removeAttribute(e);else{var c=o&&e!==(e=e.replace(/^xlink\:?/,""));null==r||!1===r?c?t.removeAttributeNS("http://www.w3.org/1999/xlink",e.toLowerCase()):t.removeAttribute(e):"function"!=typeof r&&(c?t.setAttributeNS("http://www.w3.org/1999/xlink",e.toLowerCase(),r):t.setAttribute(e,r))}else t.className=r||""}function h(t,e,n){try{t[e]=n}catch(t){}}function d(t){return this.__l[t.type](S.event&&S.event(t)||t)}function y(){for(var t;t=U.pop();)S.afterMount&&S.afterMount(t),t.componentDidMount&&t.componentDidMount()}function v(t,e,n,r,o,i){W++||(H=null!=o&&void 0!==o.ownerSVGElement,q=null!=t&&!("__preactattr_"in t));var a=m(t,e,n,r,i);return o&&a.parentNode!==o&&o.appendChild(a),--W||(q=!1,i||y()),a}function m(t,e,n,r,o){var i=t,a=H;if(null==e&&(e=""),"string"==typeof e)return t&&void 0!==t.splitText&&t.parentNode&&(!t._component||o)?t.nodeValue!=e&&(t.nodeValue=e):(i=document.createTextNode(e),t&&(t.parentNode&&t.parentNode.replaceChild(i,t),g(t,!0))),i.__preactattr_=!0,i;if("function"==typeof e.nodeName)return E(t,e,n,r);if(H="svg"===e.nodeName||"foreignObject"!==e.nodeName&&H,(!t||!u(t,String(e.nodeName)))&&(i=l(String(e.nodeName),H),t)){for(;t.firstChild;)i.appendChild(t.firstChild);t.parentNode&&t.parentNode.replaceChild(i,t),g(t,!0)}var c=i.firstChild,s=i.__preactattr_||(i.__preactattr_={}),p=e.children;return!q&&p&&1===p.length&&"string"==typeof p[0]&&null!=c&&void 0!==c.splitText&&null==c.nextSibling?c.nodeValue!=p[0]&&(c.nodeValue=p[0]):(p&&p.length||null!=c)&&b(i,p,n,r,q||null!=s.dangerouslySetInnerHTML),w(i,e.attributes,s),H=a,i}function b(t,e,n,r,o){var i,a,u,s,l=t.childNodes,f=[],h={},d=0,y=0,v=l.length,b=0,_=e?e.length:0;if(0!==v)for(var w=0;w=v?t.appendChild(s):s!==l[w]&&(s===l[w+1]?p(l[w]):t.insertBefore(s,l[w]||null)))}if(d)for(var w in h)void 0!==h[w]&&g(h[w],!1);for(;y<=b;)void 0!==(s=f[b--])&&g(s,!1)}function g(t,e){var n=t._component;n?T(n):(null!=t.__preactattr_&&t.__preactattr_.ref&&t.__preactattr_.ref(null),!1!==e&&null!=t.__preactattr_||p(t),_(t))}function _(t){for(t=t.lastChild;t;){var e=t.previousSibling;g(t,!0),t=e}}function w(t,e,n){var r;for(r in n)e&&null!=e[r]||null==n[r]||f(t,r,n[r],n[r]=void 0,H);for(r in e)"children"===r||"innerHTML"===r||r in n&&e[r]===("value"===r||"checked"===r?t[r]:n[r])||f(t,r,n[r],n[r]=e[r],H)}function O(t){var e=t.constructor.name;(I[e]||(I[e]=[])).push(t)}function P(t,e,n){var r,o=I[t.name];if(t.prototype&&t.prototype.render?(r=new t(e,n),k.call(r,e,n)):(r=new k(e,n),r.constructor=t,r.render=x),o)for(var i=o.length;i--;)if(o[i].constructor===t){r.__b=o[i].__b,o.splice(i,1);break}return r}function x(t,e,n){return this.constructor(t,n)}function j(t,e,n,r,o){t.__x||(t.__x=!0,(t.__r=e.ref)&&delete e.ref,(t.__k=e.key)&&delete e.key,!t.base||o?t.componentWillMount&&t.componentWillMount():t.componentWillReceiveProps&&t.componentWillReceiveProps(e,r),r&&r!==t.context&&(t.__c||(t.__c=t.context),t.context=r),t.__p||(t.__p=t.props),t.props=e,t.__x=!1,0!==n&&(1!==n&&!1===S.syncComponentUpdates&&t.base?i(t):C(t,1,o)),t.__r&&t.__r(t))}function C(t,e,n,o){if(!t.__x){var i,a,c,u=t.props,l=t.state,p=t.context,f=t.__p||u,h=t.__s||l,d=t.__c||p,m=t.base,b=t.__b,_=m||b,w=t._component,O=!1;if(m&&(t.props=f,t.state=h,t.context=d,2!==e&&t.shouldComponentUpdate&&!1===t.shouldComponentUpdate(u,l,p)?O=!0:t.componentWillUpdate&&t.componentWillUpdate(u,l,p),t.props=u,t.state=l,t.context=p),t.__p=t.__s=t.__c=t.__b=null,t.__d=!1,!O){i=t.render(u,l,p),t.getChildContext&&(p=r(r({},p),t.getChildContext()));var x,E,k=i&&i.nodeName;if("function"==typeof k){var R=s(i);a=w,a&&a.constructor===k&&R.key==a.__k?j(a,R,1,p,!1):(x=a,t._component=a=P(k,R,p),a.__b=a.__b||b,a.__u=t,j(a,R,0,p,!1),C(a,1,n,!0)),E=a.base}else c=_,x=w,x&&(c=t._component=null),(_||1===e)&&(c&&(c._component=null),E=v(c,i,p,n||!m,_&&_.parentNode,!0));if(_&&E!==_&&a!==w){var L=_.parentNode;L&&E!==L&&(L.replaceChild(E,_),x||(_._component=null,g(_,!1)))}if(x&&T(x),t.base=E,E&&!o){for(var A=t,N=t;N=N.__u;)(A=N).base=E;E._component=A,E._componentConstructor=A.constructor}}if(!m||n?U.unshift(t):O||(y(),t.componentDidUpdate&&t.componentDidUpdate(f,h,d),S.afterUpdate&&S.afterUpdate(t)),null!=t.__h)for(;t.__h.length;)t.__h.pop().call(t);W||o||y()}}function E(t,e,n,r){for(var o=t&&t._component,i=o,a=t,c=o&&t._componentConstructor===e.nodeName,u=c,l=s(e);o&&!u&&(o=o.__u);)u=o.constructor===e.nodeName;return o&&u&&(!r||o._component)?(j(o,l,3,n,r),t=o.base):(i&&!c&&(T(i),t=a=null),o=P(e.nodeName,l,n),t&&!o.__b&&(o.__b=t,a=null),j(o,l,1,n,r),t=o.base,a&&t!==a&&(a._component=null,g(a,!1))),t}function T(t){S.beforeUnmount&&S.beforeUnmount(t);var e=t.base;t.__x=!0,t.componentWillUnmount&&t.componentWillUnmount(),t.base=null;var n=t._component;n?T(n):e&&(e.__preactattr_&&e.__preactattr_.ref&&e.__preactattr_.ref(null),t.__b=e,p(e),O(t),_(e)),t.__r&&t.__r(null)}function k(t,e){this.__d=!0,this.context=e,this.props=t,this.state=this.state||{}}function R(t,e,n){return v(n,t,{},!1,e,!1)}var S={},L=[],A=[],N=/acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i,M=[],U=[],W=0,H=!1,q=!1,I={};r(k.prototype,{setState:function(t,e){var n=this.state;this.__s||(this.__s=r({},n)),r(n,"function"==typeof t?t(n,this.props):t),e&&(this.__h=this.__h||[]).push(e),i(this)},forceUpdate:function(t){t&&(this.__h=this.__h||[]).push(t),C(this,2)},render:function(){}});var D={h:n,createElement:n,cloneElement:o,Component:k,render:R,rerender:a,options:S};t.exports=D}()},function(t,e,n){"use strict";var r=function(){};t.exports=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(19);n.d(e,"BrowserRouter",function(){return r.a});var o=n(38);n.d(e,"HashRouter",function(){return o.a});var i=n(15);n.d(e,"Link",function(){return i.a});var a=n(40);n.d(e,"MemoryRouter",function(){return a.a});var c=n(41);n.d(e,"NavLink",function(){return c.a});var u=n(42);n.d(e,"Prompt",function(){return u.a});var s=n(43);n.d(e,"Redirect",function(){return s.a});var l=n(44);n.d(e,"Route",function(){return l.a});var p=n(45);n.d(e,"Router",function(){return p.a});var f=n(46);n.d(e,"StaticRouter",function(){return f.a});var h=n(47);n.d(e,"Switch",function(){return h.a});var d=n(48);n.d(e,"matchPath",function(){return d.a});var y=n(49);n.d(e,"withRouter",function(){return y.a})},function(t,e,n){"use strict";e.__esModule=!0;var r=(e.addLeadingSlash=function(t){return"/"===t.charAt(0)?t:"/"+t},e.stripLeadingSlash=function(t){return"/"===t.charAt(0)?t.substr(1):t},e.hasBasename=function(t,e){return new RegExp("^"+e+"(\\/|\\?|#|$)","i").test(t)});e.stripBasename=function(t,e){return r(t,e)?t.substr(e.length):t},e.stripTrailingSlash=function(t){return"/"===t.charAt(t.length-1)?t.slice(0,-1):t},e.parsePath=function(t){var e=t||"/",n="",r="",o=e.indexOf("#");-1!==o&&(r=e.substr(o),e=e.substr(0,o));var i=e.indexOf("?");return-1!==i&&(n=e.substr(i),e=e.substr(0,i)),{pathname:e,search:"?"===n?"":n,hash:"#"===r?"":r}},e.createPath=function(t){var e=t.pathname,n=t.search,r=t.hash,o=e||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}},function(t,e,n){"use strict";var r=function(t,e,n,r,o,i,a,c){if(!t){var u;if(void 0===e)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,o,i,a,c],l=0;u=new Error(e.replace(/%s/g,function(){return s[l++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}};t.exports=r},function(t,e,n){"use strict";function r(t){return Math.random()*t|0}function o(t,e){return Math.random()*(e-t)+t|0}function i(t){return t[r(t.length)]}Object.defineProperty(e,"__esModule",{value:!0});var a=!!navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPod/i),c=!!navigator.userAgent.match(/iPad/i),u=!!navigator.userAgent.match(/Android/i),s=a||c||u,l=!s;document.body.classList.add(l?"desktop":"mobile"),e.isIphone=a,e.isIpad=c,e.isAndroid=u,e.isMobile=s,e.isDesktop=l,e.randint=r,e.randrange=o,e.choice=i},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0,e.locationsAreEqual=e.createLocation=void 0;var o=Object.assign||function(t){for(var e=1;e may have only one child element"),this.unlisten=r.listen(function(){t.setState({match:t.computeMatch(r.location.pathname)})})},e.prototype.componentWillReceiveProps=function(t){c.a(this.props.history===t.history,"You cannot change ")},e.prototype.componentWillUnmount=function(){this.unlisten()},e.prototype.render=function(){var t=this.props.children;return t?l.a.Children.only(t):null},e}(l.a.Component);d.propTypes={history:f.a.object.isRequired,children:f.a.node},d.contextTypes={router:f.a.object},d.childContextTypes={router:f.a.object.isRequired},e.a=d},function(t,e,n){"use strict";var r=n(32),o=n.n(r),i={},a=0,c=function(t,e){var n=""+e.end+e.strict,r=i[n]||(i[n]={});if(r[t])return r[t];var c=[],u=o.a(t,c,e),s={re:u,keys:c};return a<1e4&&(r[t]=s,a++),s},u=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};"string"==typeof e&&(e={path:e});var n=e,r=n.path,o=void 0===r?"/":r,i=n.exact,a=void 0!==i&&i,u=n.strict,s=void 0!==u&&u,l=c(o,{end:a,strict:s}),p=l.re,f=l.keys,h=p.exec(t);if(!h)return null;var d=h[0],y=h.slice(1),v=t===d;return a&&!v?null:{path:o,url:"/"===o&&""===d?"/":d,isExact:v,params:f.reduce(function(t,e,n){return t[e.name]=y[n],t},{})}};e.a=u},function(t,e,n){"use strict";e.__esModule=!0;e.canUseDOM=!("undefined"==typeof window||!window.document||!window.document.createElement),e.addEventListener=function(t,e,n){return t.addEventListener?t.addEventListener(e,n,!1):t.attachEvent("on"+e,n)},e.removeEventListener=function(t,e,n){return t.removeEventListener?t.removeEventListener(e,n,!1):t.detachEvent("on"+e,n)},e.getConfirmation=function(t,e){return e(window.confirm(t))},e.supportsHistory=function(){var t=window.navigator.userAgent;return(-1===t.indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&(window.history&&"pushState"in window.history)},e.supportsPopStateOnHashChange=function(){return-1===window.navigator.userAgent.indexOf("Trident")},e.supportsGoWithoutReloadUsingHash=function(){return-1===window.navigator.userAgent.indexOf("Firefox")},e.isExtraneousPopstateEvent=function(t){return void 0===t.state&&-1===navigator.userAgent.indexOf("CriOS")}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(4),c=n.n(a),u=n(1),s=n(0),l=n.n(s),p=n(12),f=Object.assign||function(t){for(var e=1;e and in the same route; will be ignored"),c.a(!(e&&r),"You should not use and in the same route; will be ignored"),c.a(!(n&&r),"You should not use and in the same route; will be ignored")},e.prototype.componentWillReceiveProps=function(t,e){c.a(!(t.location&&!this.props.location),' elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),c.a(!(!t.location&&this.props.location),' elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.'),this.setState({match:this.computeMatch(t,e.router)})},e.prototype.render=function(){var t=this.state.match,e=this.props,n=e.children,r=e.component,o=e.render,i=this.context.router,a=i.history,c=i.route,s=i.staticContext,l=this.props.location||c.location,p={match:t,location:l,history:a,staticContext:s};return r?t?u.a.createElement(r,p):null:o?t?o(p):null:n?"function"==typeof n?n(p):!Array.isArray(n)||n.length?u.a.Children.only(n):null:null},e}(u.a.Component);h.propTypes={computedMatch:l.a.object,path:l.a.string,exact:l.a.bool,strict:l.a.bool,component:l.a.func,render:l.a.func,children:l.a.oneOfType([l.a.func,l.a.node]),location:l.a.object},h.contextTypes={router:l.a.shape({history:l.a.object.isRequired,route:l.a.object.isRequired,staticContext:l.a.object})},h.childContextTypes={router:l.a.object.isRequired},e.a=h},function(t,e,n){"use strict";function r(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}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(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}function a(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)}var c=n(1),u=n(0),s=n.n(u),l=Object.assign||function(t){for(var e=1;e1)for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:{};(0,s.default)(d.canUseDOM,"Browser history needs a DOM");var e=window.history,n=(0,d.supportsHistory)(),r=!(0,d.supportsPopStateOnHashChange)(),a=t.forceRefresh,u=void 0!==a&&a,f=t.getUserConfirmation,v=void 0===f?d.getConfirmation:f,m=t.keyLength,b=void 0===m?6:m,g=t.basename?(0,p.stripTrailingSlash)((0,p.addLeadingSlash)(t.basename)):"",_=function(t){var e=t||{},n=e.key,r=e.state,o=window.location,i=o.pathname,a=o.search,u=o.hash,s=i+a+u;return(0,c.default)(!g||(0,p.hasBasename)(s,g),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+s+'" to begin with "'+g+'".'),g&&(s=(0,p.stripBasename)(s,g)),(0,l.createLocation)(s,r,n)},w=function(){return Math.random().toString(36).substr(2,b)},O=(0,h.default)(),P=function(t){i(B,t),B.length=e.length,O.notifyListeners(B.location,B.action)},x=function(t){(0,d.isExtraneousPopstateEvent)(t)||E(_(t.state))},j=function(){E(_(y()))},C=!1,E=function(t){if(C)C=!1,P();else{O.confirmTransitionTo(t,"POP",v,function(e){e?P({action:"POP",location:t}):T(t)})}},T=function(t){var e=B.location,n=R.indexOf(e.key);-1===n&&(n=0);var r=R.indexOf(t.key);-1===r&&(r=0);var o=n-r;o&&(C=!0,N(o))},k=_(y()),R=[k.key],S=function(t){return g+(0,p.createPath)(t)},L=function(t,r){(0,c.default)(!("object"===(void 0===t?"undefined":o(t))&&void 0!==t.state&&void 0!==r),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var i=(0,l.createLocation)(t,r,w(),B.location);O.confirmTransitionTo(i,"PUSH",v,function(t){if(t){var r=S(i),o=i.key,a=i.state;if(n)if(e.pushState({key:o,state:a},null,r),u)window.location.href=r;else{var s=R.indexOf(B.location.key),l=R.slice(0,-1===s?0:s+1);l.push(i.key),R=l,P({action:"PUSH",location:i})}else(0,c.default)(void 0===a,"Browser history cannot push state in browsers that do not support HTML5 history"),window.location.href=r}})},A=function(t,r){(0,c.default)(!("object"===(void 0===t?"undefined":o(t))&&void 0!==t.state&&void 0!==r),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var i=(0,l.createLocation)(t,r,w(),B.location);O.confirmTransitionTo(i,"REPLACE",v,function(t){if(t){var r=S(i),o=i.key,a=i.state;if(n)if(e.replaceState({key:o,state:a},null,r),u)window.location.replace(r);else{var s=R.indexOf(B.location.key);-1!==s&&(R[s]=i.key),P({action:"REPLACE",location:i})}else(0,c.default)(void 0===a,"Browser history cannot replace state in browsers that do not support HTML5 history"),window.location.replace(r)}})},N=function(t){e.go(t)},M=function(){return N(-1)},U=function(){return N(1)},W=0,H=function(t){W+=t,1===W?((0,d.addEventListener)(window,"popstate",x),r&&(0,d.addEventListener)(window,"hashchange",j)):0===W&&((0,d.removeEventListener)(window,"popstate",x),r&&(0,d.removeEventListener)(window,"hashchange",j))},q=!1,I=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=O.setPrompt(t);return q||(H(1),q=!0),function(){return q&&(q=!1,H(-1)),e()}},D=function(t){var e=O.appendListener(t);return H(1),function(){H(-1),e()}},B={length:e.length,action:"POP",location:k,createHref:S,push:L,replace:A,go:N,goBack:M,goForward:U,block:I,listen:D};return B};e.default=v},function(t,e,n){"use strict";var r=function(t){return"/"===t.charAt(0)},o=function(t,e){for(var n=e,r=n+1,o=t.length;r1&&void 0!==arguments[1]?arguments[1]:"",n=t&&t.split("/")||[],i=e&&e.split("/")||[],a=t&&r(t),c=e&&r(e),u=a||c;if(t&&r(t)?i=n:n.length&&(i.pop(),i=i.concat(n)),!i.length)return"/";var s=void 0;if(i.length){var l=i[i.length-1];s="."===l||".."===l||""===l}else s=!1;for(var p=0,f=i.length;f>=0;f--){var h=i[f];"."===h?o(i,f):".."===h?(o(i,f),p++):p&&(o(i,f),p--)}if(!u)for(;p--;p)i.unshift("..");!u||""===i[0]||i[0]&&r(i[0])||i.unshift("");var d=i.join("/");return s&&"/"!==d.substr(-1)&&(d+="/"),d};t.exports=i},function(t,e,n){"use strict";e.__esModule=!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=function t(e,n){if(e===n)return!0;if(null==e||null==n)return!1;if(Array.isArray(e))return Array.isArray(n)&&e.length===n.length&&e.every(function(e,r){return t(e,n[r])});var o=void 0===e?"undefined":r(e);if(o!==(void 0===n?"undefined":r(n)))return!1;if("object"===o){var i=e.valueOf(),a=n.valueOf();if(i!==e||a!==n)return t(i,a);var c=Object.keys(e),u=Object.keys(n);return c.length===u.length&&c.every(function(r){return t(e[r],n[r])})}return!1};e.default=o},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(1),c=n(0),u=n.n(c),s=n(29),l=n.n(s),p=n(11),f=function(t){function e(){var n,i,a;r(this,e);for(var c=arguments.length,u=Array(c),s=0;s0&&void 0!==arguments[0]?arguments[0]:{},e=t.getUserConfirmation,n=t.initialEntries,r=void 0===n?["/"]:n,a=t.initialIndex,l=void 0===a?0:a,h=t.keyLength,d=void 0===h?6:h,y=(0,p.default)(),v=function(t){i(k,t),k.length=k.entries.length,y.notifyListeners(k.location,k.action)},m=function(){return Math.random().toString(36).substr(2,d)},b=f(l,0,r.length-1),g=r.map(function(t){return"string"==typeof t?(0,s.createLocation)(t,void 0,m()):(0,s.createLocation)(t,void 0,t.key||m())}),_=u.createPath,w=function(t,n){(0,c.default)(!("object"===(void 0===t?"undefined":o(t))&&void 0!==t.state&&void 0!==n),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var r=(0,s.createLocation)(t,n,m(),k.location);y.confirmTransitionTo(r,"PUSH",e,function(t){if(t){var e=k.index,n=e+1,o=k.entries.slice(0);o.length>n?o.splice(n,o.length-n,r):o.push(r),v({action:"PUSH",location:r,index:n,entries:o})}})},O=function(t,n){(0,c.default)(!("object"===(void 0===t?"undefined":o(t))&&void 0!==t.state&&void 0!==n),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var r=(0,s.createLocation)(t,n,m(),k.location);y.confirmTransitionTo(r,"REPLACE",e,function(t){t&&(k.entries[k.index]=r,v({action:"REPLACE",location:r}))})},P=function(t){var n=f(k.index+t,0,k.entries.length-1),r=k.entries[n];y.confirmTransitionTo(r,"POP",e,function(t){t?v({action:"POP",location:r,index:n}):v()})},x=function(){return P(-1)},j=function(){return P(1)},C=function(t){var e=k.index+t;return e>=0&&e0&&void 0!==arguments[0]&&arguments[0];return y.setPrompt(t)},T=function(t){return y.appendListener(t)},k={length:g.length,action:"POP",location:g[b],index:b,entries:g,createHref:_,push:w,replace:O,go:P,goBack:x,goForward:j,canGo:C,block:E,listen:T};return k};e.default=h},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(1),c=n(0),u=n.n(c),s=function(t){function e(){return r(this,e),o(this,t.apply(this,arguments))}return i(e,t),e.prototype.enable=function(t){this.unblock&&this.unblock(),this.unblock=this.context.router.history.block(t)},e.prototype.disable=function(){this.unblock&&(this.unblock(),this.unblock=null)},e.prototype.componentWillMount=function(){this.props.when&&this.enable(this.props.message)},e.prototype.componentWillReceiveProps=function(t){t.when?this.props.when&&this.props.message===t.message||this.enable(t.message):this.disable()},e.prototype.componentWillUnmount=function(){this.disable()},e.prototype.render=function(){return null},e}(a.a.Component);s.propTypes={when:u.a.bool,message:u.a.oneOfType([u.a.func,u.a.string]).isRequired},s.defaultProps={when:!0},s.contextTypes={router:u.a.shape({history:u.a.shape({block:u.a.func.isRequired}).isRequired}).isRequired},e.a=s},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(1),c=n(0),u=n.n(c),s=function(t){function e(){return r(this,e),o(this,t.apply(this,arguments))}return i(e,t),e.prototype.isStatic=function(){return this.context.router&&this.context.router.staticContext},e.prototype.componentWillMount=function(){this.isStatic()&&this.perform()},e.prototype.componentDidMount=function(){this.isStatic()||this.perform()},e.prototype.perform=function(){var t=this.context.router.history,e=this.props,n=e.push,r=e.to;n?t.push(r):t.replace(r)},e.prototype.render=function(){return null},e}(a.a.Component);s.propTypes={push:u.a.bool,from:u.a.string,to:u.a.oneOfType([u.a.string,u.a.object])},s.defaultProps={push:!1},s.contextTypes={router:u.a.shape({history:u.a.shape({push:u.a.func.isRequired,replace:u.a.func.isRequired}).isRequired,staticContext:u.a.object}).isRequired},e.a=s},function(t,e,n){function r(t,e){for(var n,r=[],o=0,i=0,a="",c=e&&e.delimiter||"/";null!=(n=b.exec(t));){var l=n[0],p=n[1],f=n.index;if(a+=t.slice(i,f),i=f+l.length,p)a+=p[1];else{var h=t[i],d=n[2],y=n[3],v=n[4],m=n[5],g=n[6],_=n[7];a&&(r.push(a),a="");var w=null!=d&&null!=h&&h!==d,O="+"===g||"*"===g,P="?"===g||"*"===g,x=n[2]||c,j=v||m;r.push({name:y||o++,prefix:d||"",delimiter:x,optional:P,repeat:O,partial:w,asterisk:!!_,pattern:j?s(j):_?".*":"[^"+u(x)+"]+?"})}}return i=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(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}function a(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)}var c=n(7),u=n.n(c),s=n(1),l=n(0),p=n.n(l),f=n(6),h=(n.n(f),n(11)),d=Object.assign||function(t){for(var e=1;e",t)}},w=function(){},O=function(t){function e(){var n,r,a;o(this,e);for(var c=arguments.length,u=Array(c),s=0;s elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),l.a(!(!t.location&&this.props.location),' elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.')},e.prototype.render=function(){var t=this.context.router.route,e=this.props.children,n=this.props.location||t.location,r=void 0,o=void 0;return a.a.Children.forEach(e,function(e){if(a.a.isValidElement(e)){var i=e.props,c=i.path,u=i.exact,s=i.strict,l=i.from,f=c||l;null==r&&(o=e,r=f?p.a(n.pathname,{path:f,exact:u,strict:s}):t.match)}}),r?a.a.cloneElement(o,{location:n,computedMatch:r}):null},e}(a.a.Component);f.contextTypes={router:u.a.shape({route:u.a.object.isRequired}).isRequired},f.propTypes={children:u.a.node,location:u.a.object},e.a=f},function(t,e,n){"use strict";function r(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 o=n(1),i=n(0),a=n.n(i),c=n(37),u=n.n(c),s=n(14),l=Object.assign||function(t){for(var e=1;e=0?e:0)+"#"+t)},b=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,u.default)(h.canUseDOM,"Hash history needs a DOM");var e=window.history,n=(0,h.supportsGoWithoutReloadUsingHash)(),r=t.getUserConfirmation,i=void 0===r?h.getConfirmation:r,c=t.hashType,p=void 0===c?"slash":c,b=t.basename?(0,l.stripTrailingSlash)((0,l.addLeadingSlash)(t.basename)):"",g=d[p],_=g.encodePath,w=g.decodePath,O=function(){var t=w(y());return(0,a.default)(!b||(0,l.hasBasename)(t,b),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+t+'" to begin with "'+b+'".'),b&&(t=(0,l.stripBasename)(t,b)),(0,s.createLocation)(t)},P=(0,f.default)(),x=function(t){o(F,t),F.length=e.length,P.notifyListeners(F.location,F.action)},j=!1,C=null,E=function(){var t=y(),e=_(t);if(t!==e)m(e);else{var n=O(),r=F.location;if(!j&&(0,s.locationsAreEqual)(r,n))return;if(C===(0,l.createPath)(n))return;C=null,T(n)}},T=function(t){if(j)j=!1,x();else{P.confirmTransitionTo(t,"POP",i,function(e){e?x({action:"POP",location:t}):k(t)})}},k=function(t){var e=F.location,n=A.lastIndexOf((0,l.createPath)(e));-1===n&&(n=0);var r=A.lastIndexOf((0,l.createPath)(t));-1===r&&(r=0);var o=n-r;o&&(j=!0,W(o))},R=y(),S=_(R);R!==S&&m(S);var L=O(),A=[(0,l.createPath)(L)],N=function(t){return"#"+_(b+(0,l.createPath)(t))},M=function(t,e){(0,a.default)(void 0===e,"Hash history cannot push state; it is ignored");var n=(0,s.createLocation)(t,void 0,void 0,F.location);P.confirmTransitionTo(n,"PUSH",i,function(t){if(t){var e=(0,l.createPath)(n),r=_(b+e);if(y()!==r){C=e,v(r);var o=A.lastIndexOf((0,l.createPath)(F.location)),i=A.slice(0,-1===o?0:o+1);i.push(e),A=i,x({action:"PUSH",location:n})}else(0,a.default)(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),x()}})},U=function(t,e){(0,a.default)(void 0===e,"Hash history cannot replace state; it is ignored");var n=(0,s.createLocation)(t,void 0,void 0,F.location);P.confirmTransitionTo(n,"REPLACE",i,function(t){if(t){var e=(0,l.createPath)(n),r=_(b+e);y()!==r&&(C=e,m(r));var o=A.indexOf((0,l.createPath)(F.location));-1!==o&&(A[o]=e),x({action:"REPLACE",location:n})}})},W=function(t){(0,a.default)(n,"Hash history go(n) causes a full page reload in this browser"),e.go(t)},H=function(){return W(-1)},q=function(){return W(1)},I=0,D=function(t){I+=t,1===I?(0,h.addEventListener)(window,"hashchange",E):0===I&&(0,h.removeEventListener)(window,"hashchange",E)},B=!1,Y=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=P.setPrompt(t);return B||(D(1),B=!0),function(){return B&&(B=!1,D(-1)),e()}},$=function(t){var e=P.appendListener(t);return D(1),function(){D(-1),e()}},F={length:e.length,action:"POP",location:L,createHref:N,push:M,replace:U,go:W,goBack:H,goForward:q,block:Y,listen:$};return F};e.default=b},function(t,e,n){"use strict";var r=n(2);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";function r(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 o=n(1),i=n(0),a=n.n(i),c=n(2),u=n(15),s=Object.assign||function(t){for(var e=1;e"))))}),e=this.props.data.page[0],n=(e.body||"").replace(/\n/g,"
"),r=(0,c.h)("div",{class:"cell"},(0,c.h)("div",{class:"painting"},(0,c.h)("a",{href:"http://asdf.us/pepper/",target:"_blank"},(0,c.h)("div",{class:"image",style:"background-image: url("+e.image.uri+")"}))),(0,c.h)("div",{class:"about"},(0,c.h)("div",{dangerouslySetInnerHTML:{__html:n}})));return(0,c.h)("div",{class:"paintings"},t,r)}}]),e}(c.Component);e.default=l},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}function a(t){t=t||"";for(var e=/(https?:\/\/[^\s]+)/g,n=e.exec(t),r=[],o=void 0,i={};null!=n;)o=n[0].replace(/",?/,""),o&&!i[o]&&(i[o]=!0,r.push((0,s.h)("a",{href:o,key:o},(0,s.h)(p,{source:o})))),n=e.exec(t);return r}function c(t){return(t||"").split("} {").map(function(t){return(0,s.h)("div",null,t,(0,s.h)("br",null),(0,s.h)("br",null))})}Object.defineProperty(e,"__esModule",{value:!0});var u=function(){function t(t,e){for(var n=0;n0;)n[r]=arguments[r+2];if(!m(t))return t;var o=t.attributes||t.props,i=q.h(t.nodeName||t.type,o,t.children||o&&o.children),a=[i,e];return n&&n.length?a.push(n):e&&e.children&&a.push(e.children),y(q.cloneElement.apply(void 0,a))}function m(t){return t&&(t instanceof G||t.$$typeof===D)}function b(t,e){return e._refProxies[t]||(e._refProxies[t]=function(n){e&&e.refs&&(e.refs[t]=n,null===n&&(delete e._refProxies[t],e=null))})}function g(t){var e=t.nodeName,n=t.attributes;if(n&&"string"==typeof e){var r={};for(var o in n)r[o.toLowerCase()]=o;if(r.ondoubleclick&&(n.ondblclick=n[r.ondoubleclick],delete n[r.ondoubleclick]),r.onchange&&("textarea"===e||"input"===e.toLowerCase()&&!/^fil|che|rad/i.test(n.type))){var i=r.oninput||"oninput";n[i]||(n[i]=R([n[i],n[r.onchange]]),delete n[r.onchange])}}}function _(t){var e=t.attributes;if(e){var n=e.className||e.class;n&&(e.className=n)}}function w(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function O(t,e){for(var n in t)if(!(n in e))return!0;for(var r in e)if(t[r]!==e[r])return!0;return!1}function P(t){return t&&t.base||t}function x(){}function j(t){function e(t,e){T(this),M.call(this,t,e,F),S.call(this,t,e)}return t=w({constructor:e},t),t.mixins&&E(t,C(t.mixins)),t.statics&&w(e,t.statics),t.propTypes&&(e.propTypes=t.propTypes),t.defaultProps&&(e.defaultProps=t.defaultProps),t.getDefaultProps&&(e.defaultProps=t.getDefaultProps()),x.prototype=M.prototype,e.prototype=w(new x,t),e.displayName=t.displayName||"Component",e}function C(t){for(var e={},n=0;n2;)L.push(arguments[a]);for(n&&null!=n.children&&(L.length||L.push(n.children),delete n.children);L.length;)if((o=L.pop())&&void 0!==o.pop)for(a=o.length;a--;)L.push(o[a]);else!0!==o&&!1!==o||(o=null),(i="function"!=typeof t)&&(null==o?o="":"number"==typeof o?o=String(o):"string"!=typeof o&&(i=!1)),i&&r?c[c.length-1]+=o:c===A?c=[o]:c.push(o),r=i;var u=new e;return u.nodeName=t,u.children=c,u.attributes=null==n?void 0:n,u.key=null==n?void 0:n.key,void 0!==S.vnode&&S.vnode(u),u}function r(t,e){for(var n in e)t[n]=e[n];return t}function o(t,e){return n(t.nodeName,r(r({},t.attributes),e),arguments.length>2?[].slice.call(arguments,2):t.children)}function i(t){!t.__d&&(t.__d=!0)&&1==M.push(t)&&(S.debounceRendering||setTimeout)(a)}function a(){var t,e=M;for(M=[];t=e.pop();)t.__d&&C(t)}function c(t,e,n){return"string"==typeof e||"number"==typeof e?void 0!==t.splitText:"string"==typeof e.nodeName?!t._componentConstructor&&u(t,e.nodeName):n||t._componentConstructor===e.nodeName}function u(t,e){return t.__n===e||t.nodeName.toLowerCase()===e.toLowerCase()}function s(t){var e=r({},t.attributes);e.children=t.children;var n=t.nodeName.defaultProps;if(void 0!==n)for(var o in n)void 0===e[o]&&(e[o]=n[o]);return e}function l(t,e){var n=e?document.createElementNS("http://www.w3.org/2000/svg",t):document.createElement(t);return n.__n=t,n}function p(t){t.parentNode&&t.parentNode.removeChild(t)}function f(t,e,n,r,o){if("className"===e&&(e="class"),"key"===e);else if("ref"===e)n&&n(null),r&&r(t);else if("class"!==e||o)if("style"===e){if(r&&"string"!=typeof r&&"string"!=typeof n||(t.style.cssText=r||""),r&&"object"==typeof r){if("string"!=typeof n)for(var i in n)i in r||(t.style[i]="");for(var i in r)t.style[i]="number"==typeof r[i]&&!1===N.test(i)?r[i]+"px":r[i]}}else if("dangerouslySetInnerHTML"===e)r&&(t.innerHTML=r.__html||"");else if("o"==e[0]&&"n"==e[1]){var a=e!==(e=e.replace(/Capture$/,""));e=e.toLowerCase().substring(2),r?n||t.addEventListener(e,d,a):t.removeEventListener(e,d,a),(t.__l||(t.__l={}))[e]=r}else if("list"!==e&&"type"!==e&&!o&&e in t)h(t,e,null==r?"":r),null!=r&&!1!==r||t.removeAttribute(e);else{var c=o&&e!==(e=e.replace(/^xlink\:?/,""));null==r||!1===r?c?t.removeAttributeNS("http://www.w3.org/1999/xlink",e.toLowerCase()):t.removeAttribute(e):"function"!=typeof r&&(c?t.setAttributeNS("http://www.w3.org/1999/xlink",e.toLowerCase(),r):t.setAttribute(e,r))}else t.className=r||""}function h(t,e,n){try{t[e]=n}catch(t){}}function d(t){return this.__l[t.type](S.event&&S.event(t)||t)}function y(){for(var t;t=U.pop();)S.afterMount&&S.afterMount(t),t.componentDidMount&&t.componentDidMount()}function v(t,e,n,r,o,i){W++||(H=null!=o&&void 0!==o.ownerSVGElement,q=null!=t&&!("__preactattr_"in t));var a=m(t,e,n,r,i);return o&&a.parentNode!==o&&o.appendChild(a),--W||(q=!1,i||y()),a}function m(t,e,n,r,o){var i=t,a=H;if(null==e&&(e=""),"string"==typeof e)return t&&void 0!==t.splitText&&t.parentNode&&(!t._component||o)?t.nodeValue!=e&&(t.nodeValue=e):(i=document.createTextNode(e),t&&(t.parentNode&&t.parentNode.replaceChild(i,t),g(t,!0))),i.__preactattr_=!0,i;if("function"==typeof e.nodeName)return E(t,e,n,r);if(H="svg"===e.nodeName||"foreignObject"!==e.nodeName&&H,(!t||!u(t,String(e.nodeName)))&&(i=l(String(e.nodeName),H),t)){for(;t.firstChild;)i.appendChild(t.firstChild);t.parentNode&&t.parentNode.replaceChild(i,t),g(t,!0)}var c=i.firstChild,s=i.__preactattr_||(i.__preactattr_={}),p=e.children;return!q&&p&&1===p.length&&"string"==typeof p[0]&&null!=c&&void 0!==c.splitText&&null==c.nextSibling?c.nodeValue!=p[0]&&(c.nodeValue=p[0]):(p&&p.length||null!=c)&&b(i,p,n,r,q||null!=s.dangerouslySetInnerHTML),w(i,e.attributes,s),H=a,i}function b(t,e,n,r,o){var i,a,u,s,l=t.childNodes,f=[],h={},d=0,y=0,v=l.length,b=0,_=e?e.length:0;if(0!==v)for(var w=0;w=v?t.appendChild(s):s!==l[w]&&(s===l[w+1]?p(l[w]):t.insertBefore(s,l[w]||null)))}if(d)for(var w in h)void 0!==h[w]&&g(h[w],!1);for(;y<=b;)void 0!==(s=f[b--])&&g(s,!1)}function g(t,e){var n=t._component;n?T(n):(null!=t.__preactattr_&&t.__preactattr_.ref&&t.__preactattr_.ref(null),!1!==e&&null!=t.__preactattr_||p(t),_(t))}function _(t){for(t=t.lastChild;t;){var e=t.previousSibling;g(t,!0),t=e}}function w(t,e,n){var r;for(r in n)e&&null!=e[r]||null==n[r]||f(t,r,n[r],n[r]=void 0,H);for(r in e)"children"===r||"innerHTML"===r||r in n&&e[r]===("value"===r||"checked"===r?t[r]:n[r])||f(t,r,n[r],n[r]=e[r],H)}function O(t){var e=t.constructor.name;(I[e]||(I[e]=[])).push(t)}function P(t,e,n){var r,o=I[t.name];if(t.prototype&&t.prototype.render?(r=new t(e,n),k.call(r,e,n)):(r=new k(e,n),r.constructor=t,r.render=x),o)for(var i=o.length;i--;)if(o[i].constructor===t){r.__b=o[i].__b,o.splice(i,1);break}return r}function x(t,e,n){return this.constructor(t,n)}function j(t,e,n,r,o){t.__x||(t.__x=!0,(t.__r=e.ref)&&delete e.ref,(t.__k=e.key)&&delete e.key,!t.base||o?t.componentWillMount&&t.componentWillMount():t.componentWillReceiveProps&&t.componentWillReceiveProps(e,r),r&&r!==t.context&&(t.__c||(t.__c=t.context),t.context=r),t.__p||(t.__p=t.props),t.props=e,t.__x=!1,0!==n&&(1!==n&&!1===S.syncComponentUpdates&&t.base?i(t):C(t,1,o)),t.__r&&t.__r(t))}function C(t,e,n,o){if(!t.__x){var i,a,c,u=t.props,l=t.state,p=t.context,f=t.__p||u,h=t.__s||l,d=t.__c||p,m=t.base,b=t.__b,_=m||b,w=t._component,O=!1;if(m&&(t.props=f,t.state=h,t.context=d,2!==e&&t.shouldComponentUpdate&&!1===t.shouldComponentUpdate(u,l,p)?O=!0:t.componentWillUpdate&&t.componentWillUpdate(u,l,p),t.props=u,t.state=l,t.context=p),t.__p=t.__s=t.__c=t.__b=null,t.__d=!1,!O){i=t.render(u,l,p),t.getChildContext&&(p=r(r({},p),t.getChildContext()));var x,E,k=i&&i.nodeName;if("function"==typeof k){var R=s(i);a=w,a&&a.constructor===k&&R.key==a.__k?j(a,R,1,p,!1):(x=a,t._component=a=P(k,R,p),a.__b=a.__b||b,a.__u=t,j(a,R,0,p,!1),C(a,1,n,!0)),E=a.base}else c=_,x=w,x&&(c=t._component=null),(_||1===e)&&(c&&(c._component=null),E=v(c,i,p,n||!m,_&&_.parentNode,!0));if(_&&E!==_&&a!==w){var L=_.parentNode;L&&E!==L&&(L.replaceChild(E,_),x||(_._component=null,g(_,!1)))}if(x&&T(x),t.base=E,E&&!o){for(var A=t,N=t;N=N.__u;)(A=N).base=E;E._component=A,E._componentConstructor=A.constructor}}if(!m||n?U.unshift(t):O||(y(),t.componentDidUpdate&&t.componentDidUpdate(f,h,d),S.afterUpdate&&S.afterUpdate(t)),null!=t.__h)for(;t.__h.length;)t.__h.pop().call(t);W||o||y()}}function E(t,e,n,r){for(var o=t&&t._component,i=o,a=t,c=o&&t._componentConstructor===e.nodeName,u=c,l=s(e);o&&!u&&(o=o.__u);)u=o.constructor===e.nodeName;return o&&u&&(!r||o._component)?(j(o,l,3,n,r),t=o.base):(i&&!c&&(T(i),t=a=null),o=P(e.nodeName,l,n),t&&!o.__b&&(o.__b=t,a=null),j(o,l,1,n,r),t=o.base,a&&t!==a&&(a._component=null,g(a,!1))),t}function T(t){S.beforeUnmount&&S.beforeUnmount(t);var e=t.base;t.__x=!0,t.componentWillUnmount&&t.componentWillUnmount(),t.base=null;var n=t._component;n?T(n):e&&(e.__preactattr_&&e.__preactattr_.ref&&e.__preactattr_.ref(null),t.__b=e,p(e),O(t),_(e)),t.__r&&t.__r(null)}function k(t,e){this.__d=!0,this.context=e,this.props=t,this.state=this.state||{}}function R(t,e,n){return v(n,t,{},!1,e,!1)}var S={},L=[],A=[],N=/acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i,M=[],U=[],W=0,H=!1,q=!1,I={};r(k.prototype,{setState:function(t,e){var n=this.state;this.__s||(this.__s=r({},n)),r(n,"function"==typeof t?t(n,this.props):t),e&&(this.__h=this.__h||[]).push(e),i(this)},forceUpdate:function(t){t&&(this.__h=this.__h||[]).push(t),C(this,2)},render:function(){}});var D={h:n,createElement:n,cloneElement:o,Component:k,render:R,rerender:a,options:S};t.exports=D}()},function(t,e,n){"use strict";var r=function(){};t.exports=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(19);n.d(e,"BrowserRouter",function(){return r.a});var o=n(38);n.d(e,"HashRouter",function(){return o.a});var i=n(15);n.d(e,"Link",function(){return i.a});var a=n(40);n.d(e,"MemoryRouter",function(){return a.a});var c=n(41);n.d(e,"NavLink",function(){return c.a});var u=n(42);n.d(e,"Prompt",function(){return u.a});var s=n(43);n.d(e,"Redirect",function(){return s.a});var l=n(44);n.d(e,"Route",function(){return l.a});var p=n(45);n.d(e,"Router",function(){return p.a});var f=n(46);n.d(e,"StaticRouter",function(){return f.a});var h=n(47);n.d(e,"Switch",function(){return h.a});var d=n(48);n.d(e,"matchPath",function(){return d.a});var y=n(49);n.d(e,"withRouter",function(){return y.a})},function(t,e,n){"use strict";e.__esModule=!0;var r=(e.addLeadingSlash=function(t){return"/"===t.charAt(0)?t:"/"+t},e.stripLeadingSlash=function(t){return"/"===t.charAt(0)?t.substr(1):t},e.hasBasename=function(t,e){return new RegExp("^"+e+"(\\/|\\?|#|$)","i").test(t)});e.stripBasename=function(t,e){return r(t,e)?t.substr(e.length):t},e.stripTrailingSlash=function(t){return"/"===t.charAt(t.length-1)?t.slice(0,-1):t},e.parsePath=function(t){var e=t||"/",n="",r="",o=e.indexOf("#");-1!==o&&(r=e.substr(o),e=e.substr(0,o));var i=e.indexOf("?");return-1!==i&&(n=e.substr(i),e=e.substr(0,i)),{pathname:e,search:"?"===n?"":n,hash:"#"===r?"":r}},e.createPath=function(t){var e=t.pathname,n=t.search,r=t.hash,o=e||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}},function(t,e,n){"use strict";var r=function(t,e,n,r,o,i,a,c){if(!t){var u;if(void 0===e)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,o,i,a,c],l=0;u=new Error(e.replace(/%s/g,function(){return s[l++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}};t.exports=r},function(t,e,n){"use strict";function r(t){return Math.random()*t|0}function o(t,e){return Math.random()*(e-t)+t|0}function i(t){return t[r(t.length)]}Object.defineProperty(e,"__esModule",{value:!0});var a=!!navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPod/i),c=!!navigator.userAgent.match(/iPad/i),u=!!navigator.userAgent.match(/Android/i),s=a||c||u,l=!s;document.body.classList.add(l?"desktop":"mobile"),e.isIphone=a,e.isIpad=c,e.isAndroid=u,e.isMobile=s,e.isDesktop=l,e.randint=r,e.randrange=o,e.choice=i},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0,e.locationsAreEqual=e.createLocation=void 0;var o=Object.assign||function(t){for(var e=1;e may have only one child element"),this.unlisten=r.listen(function(){t.setState({match:t.computeMatch(r.location.pathname)})})},e.prototype.componentWillReceiveProps=function(t){c.a(this.props.history===t.history,"You cannot change ")},e.prototype.componentWillUnmount=function(){this.unlisten()},e.prototype.render=function(){var t=this.props.children;return t?l.a.Children.only(t):null},e}(l.a.Component);d.propTypes={history:f.a.object.isRequired,children:f.a.node},d.contextTypes={router:f.a.object},d.childContextTypes={router:f.a.object.isRequired},e.a=d},function(t,e,n){"use strict";var r=n(32),o=n.n(r),i={},a=0,c=function(t,e){var n=""+e.end+e.strict,r=i[n]||(i[n]={});if(r[t])return r[t];var c=[],u=o.a(t,c,e),s={re:u,keys:c};return a<1e4&&(r[t]=s,a++),s},u=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};"string"==typeof e&&(e={path:e});var n=e,r=n.path,o=void 0===r?"/":r,i=n.exact,a=void 0!==i&&i,u=n.strict,s=void 0!==u&&u,l=c(o,{end:a,strict:s}),p=l.re,f=l.keys,h=p.exec(t);if(!h)return null;var d=h[0],y=h.slice(1),v=t===d;return a&&!v?null:{path:o,url:"/"===o&&""===d?"/":d,isExact:v,params:f.reduce(function(t,e,n){return t[e.name]=y[n],t},{})}};e.a=u},function(t,e,n){"use strict";e.__esModule=!0;e.canUseDOM=!("undefined"==typeof window||!window.document||!window.document.createElement),e.addEventListener=function(t,e,n){return t.addEventListener?t.addEventListener(e,n,!1):t.attachEvent("on"+e,n)},e.removeEventListener=function(t,e,n){return t.removeEventListener?t.removeEventListener(e,n,!1):t.detachEvent("on"+e,n)},e.getConfirmation=function(t,e){return e(window.confirm(t))},e.supportsHistory=function(){var t=window.navigator.userAgent;return(-1===t.indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&(window.history&&"pushState"in window.history)},e.supportsPopStateOnHashChange=function(){return-1===window.navigator.userAgent.indexOf("Trident")},e.supportsGoWithoutReloadUsingHash=function(){return-1===window.navigator.userAgent.indexOf("Firefox")},e.isExtraneousPopstateEvent=function(t){return void 0===t.state&&-1===navigator.userAgent.indexOf("CriOS")}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(4),c=n.n(a),u=n(1),s=n(0),l=n.n(s),p=n(12),f=Object.assign||function(t){for(var e=1;e and in the same route; will be ignored"),c.a(!(e&&r),"You should not use and in the same route; will be ignored"),c.a(!(n&&r),"You should not use and in the same route; will be ignored")},e.prototype.componentWillReceiveProps=function(t,e){c.a(!(t.location&&!this.props.location),' elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),c.a(!(!t.location&&this.props.location),' elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.'),this.setState({match:this.computeMatch(t,e.router)})},e.prototype.render=function(){var t=this.state.match,e=this.props,n=e.children,r=e.component,o=e.render,i=this.context.router,a=i.history,c=i.route,s=i.staticContext,l=this.props.location||c.location,p={match:t,location:l,history:a,staticContext:s};return r?t?u.a.createElement(r,p):null:o?t?o(p):null:n?"function"==typeof n?n(p):!Array.isArray(n)||n.length?u.a.Children.only(n):null:null},e}(u.a.Component);h.propTypes={computedMatch:l.a.object,path:l.a.string,exact:l.a.bool,strict:l.a.bool,component:l.a.func,render:l.a.func,children:l.a.oneOfType([l.a.func,l.a.node]),location:l.a.object},h.contextTypes={router:l.a.shape({history:l.a.object.isRequired,route:l.a.object.isRequired,staticContext:l.a.object})},h.childContextTypes={router:l.a.object.isRequired},e.a=h},function(t,e,n){"use strict";function r(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}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(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}function a(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)}var c=n(1),u=n(0),s=n.n(u),l=Object.assign||function(t){for(var e=1;e1)for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:{};(0,s.default)(d.canUseDOM,"Browser history needs a DOM");var e=window.history,n=(0,d.supportsHistory)(),r=!(0,d.supportsPopStateOnHashChange)(),a=t.forceRefresh,u=void 0!==a&&a,f=t.getUserConfirmation,v=void 0===f?d.getConfirmation:f,m=t.keyLength,b=void 0===m?6:m,g=t.basename?(0,p.stripTrailingSlash)((0,p.addLeadingSlash)(t.basename)):"",_=function(t){var e=t||{},n=e.key,r=e.state,o=window.location,i=o.pathname,a=o.search,u=o.hash,s=i+a+u;return(0,c.default)(!g||(0,p.hasBasename)(s,g),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+s+'" to begin with "'+g+'".'),g&&(s=(0,p.stripBasename)(s,g)),(0,l.createLocation)(s,r,n)},w=function(){return Math.random().toString(36).substr(2,b)},O=(0,h.default)(),P=function(t){i(B,t),B.length=e.length,O.notifyListeners(B.location,B.action)},x=function(t){(0,d.isExtraneousPopstateEvent)(t)||E(_(t.state))},j=function(){E(_(y()))},C=!1,E=function(t){if(C)C=!1,P();else{O.confirmTransitionTo(t,"POP",v,function(e){e?P({action:"POP",location:t}):T(t)})}},T=function(t){var e=B.location,n=R.indexOf(e.key);-1===n&&(n=0);var r=R.indexOf(t.key);-1===r&&(r=0);var o=n-r;o&&(C=!0,N(o))},k=_(y()),R=[k.key],S=function(t){return g+(0,p.createPath)(t)},L=function(t,r){(0,c.default)(!("object"===(void 0===t?"undefined":o(t))&&void 0!==t.state&&void 0!==r),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var i=(0,l.createLocation)(t,r,w(),B.location);O.confirmTransitionTo(i,"PUSH",v,function(t){if(t){var r=S(i),o=i.key,a=i.state;if(n)if(e.pushState({key:o,state:a},null,r),u)window.location.href=r;else{var s=R.indexOf(B.location.key),l=R.slice(0,-1===s?0:s+1);l.push(i.key),R=l,P({action:"PUSH",location:i})}else(0,c.default)(void 0===a,"Browser history cannot push state in browsers that do not support HTML5 history"),window.location.href=r}})},A=function(t,r){(0,c.default)(!("object"===(void 0===t?"undefined":o(t))&&void 0!==t.state&&void 0!==r),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var i=(0,l.createLocation)(t,r,w(),B.location);O.confirmTransitionTo(i,"REPLACE",v,function(t){if(t){var r=S(i),o=i.key,a=i.state;if(n)if(e.replaceState({key:o,state:a},null,r),u)window.location.replace(r);else{var s=R.indexOf(B.location.key);-1!==s&&(R[s]=i.key),P({action:"REPLACE",location:i})}else(0,c.default)(void 0===a,"Browser history cannot replace state in browsers that do not support HTML5 history"),window.location.replace(r)}})},N=function(t){e.go(t)},M=function(){return N(-1)},U=function(){return N(1)},W=0,H=function(t){W+=t,1===W?((0,d.addEventListener)(window,"popstate",x),r&&(0,d.addEventListener)(window,"hashchange",j)):0===W&&((0,d.removeEventListener)(window,"popstate",x),r&&(0,d.removeEventListener)(window,"hashchange",j))},q=!1,I=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=O.setPrompt(t);return q||(H(1),q=!0),function(){return q&&(q=!1,H(-1)),e()}},D=function(t){var e=O.appendListener(t);return H(1),function(){H(-1),e()}},B={length:e.length,action:"POP",location:k,createHref:S,push:L,replace:A,go:N,goBack:M,goForward:U,block:I,listen:D};return B};e.default=v},function(t,e,n){"use strict";var r=function(t){return"/"===t.charAt(0)},o=function(t,e){for(var n=e,r=n+1,o=t.length;r1&&void 0!==arguments[1]?arguments[1]:"",n=t&&t.split("/")||[],i=e&&e.split("/")||[],a=t&&r(t),c=e&&r(e),u=a||c;if(t&&r(t)?i=n:n.length&&(i.pop(),i=i.concat(n)),!i.length)return"/";var s=void 0;if(i.length){var l=i[i.length-1];s="."===l||".."===l||""===l}else s=!1;for(var p=0,f=i.length;f>=0;f--){var h=i[f];"."===h?o(i,f):".."===h?(o(i,f),p++):p&&(o(i,f),p--)}if(!u)for(;p--;p)i.unshift("..");!u||""===i[0]||i[0]&&r(i[0])||i.unshift("");var d=i.join("/");return s&&"/"!==d.substr(-1)&&(d+="/"),d};t.exports=i},function(t,e,n){"use strict";e.__esModule=!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=function t(e,n){if(e===n)return!0;if(null==e||null==n)return!1;if(Array.isArray(e))return Array.isArray(n)&&e.length===n.length&&e.every(function(e,r){return t(e,n[r])});var o=void 0===e?"undefined":r(e);if(o!==(void 0===n?"undefined":r(n)))return!1;if("object"===o){var i=e.valueOf(),a=n.valueOf();if(i!==e||a!==n)return t(i,a);var c=Object.keys(e),u=Object.keys(n);return c.length===u.length&&c.every(function(r){return t(e[r],n[r])})}return!1};e.default=o},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(1),c=n(0),u=n.n(c),s=n(29),l=n.n(s),p=n(11),f=function(t){function e(){var n,i,a;r(this,e);for(var c=arguments.length,u=Array(c),s=0;s0&&void 0!==arguments[0]?arguments[0]:{},e=t.getUserConfirmation,n=t.initialEntries,r=void 0===n?["/"]:n,a=t.initialIndex,l=void 0===a?0:a,h=t.keyLength,d=void 0===h?6:h,y=(0,p.default)(),v=function(t){i(k,t),k.length=k.entries.length,y.notifyListeners(k.location,k.action)},m=function(){return Math.random().toString(36).substr(2,d)},b=f(l,0,r.length-1),g=r.map(function(t){return"string"==typeof t?(0,s.createLocation)(t,void 0,m()):(0,s.createLocation)(t,void 0,t.key||m())}),_=u.createPath,w=function(t,n){(0,c.default)(!("object"===(void 0===t?"undefined":o(t))&&void 0!==t.state&&void 0!==n),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var r=(0,s.createLocation)(t,n,m(),k.location);y.confirmTransitionTo(r,"PUSH",e,function(t){if(t){var e=k.index,n=e+1,o=k.entries.slice(0);o.length>n?o.splice(n,o.length-n,r):o.push(r),v({action:"PUSH",location:r,index:n,entries:o})}})},O=function(t,n){(0,c.default)(!("object"===(void 0===t?"undefined":o(t))&&void 0!==t.state&&void 0!==n),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var r=(0,s.createLocation)(t,n,m(),k.location);y.confirmTransitionTo(r,"REPLACE",e,function(t){t&&(k.entries[k.index]=r,v({action:"REPLACE",location:r}))})},P=function(t){var n=f(k.index+t,0,k.entries.length-1),r=k.entries[n];y.confirmTransitionTo(r,"POP",e,function(t){t?v({action:"POP",location:r,index:n}):v()})},x=function(){return P(-1)},j=function(){return P(1)},C=function(t){var e=k.index+t;return e>=0&&e0&&void 0!==arguments[0]&&arguments[0];return y.setPrompt(t)},T=function(t){return y.appendListener(t)},k={length:g.length,action:"POP",location:g[b],index:b,entries:g,createHref:_,push:w,replace:O,go:P,goBack:x,goForward:j,canGo:C,block:E,listen:T};return k};e.default=h},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(1),c=n(0),u=n.n(c),s=function(t){function e(){return r(this,e),o(this,t.apply(this,arguments))}return i(e,t),e.prototype.enable=function(t){this.unblock&&this.unblock(),this.unblock=this.context.router.history.block(t)},e.prototype.disable=function(){this.unblock&&(this.unblock(),this.unblock=null)},e.prototype.componentWillMount=function(){this.props.when&&this.enable(this.props.message)},e.prototype.componentWillReceiveProps=function(t){t.when?this.props.when&&this.props.message===t.message||this.enable(t.message):this.disable()},e.prototype.componentWillUnmount=function(){this.disable()},e.prototype.render=function(){return null},e}(a.a.Component);s.propTypes={when:u.a.bool,message:u.a.oneOfType([u.a.func,u.a.string]).isRequired},s.defaultProps={when:!0},s.contextTypes={router:u.a.shape({history:u.a.shape({block:u.a.func.isRequired}).isRequired}).isRequired},e.a=s},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}var a=n(1),c=n(0),u=n.n(c),s=function(t){function e(){return r(this,e),o(this,t.apply(this,arguments))}return i(e,t),e.prototype.isStatic=function(){return this.context.router&&this.context.router.staticContext},e.prototype.componentWillMount=function(){this.isStatic()&&this.perform()},e.prototype.componentDidMount=function(){this.isStatic()||this.perform()},e.prototype.perform=function(){var t=this.context.router.history,e=this.props,n=e.push,r=e.to;n?t.push(r):t.replace(r)},e.prototype.render=function(){return null},e}(a.a.Component);s.propTypes={push:u.a.bool,from:u.a.string,to:u.a.oneOfType([u.a.string,u.a.object])},s.defaultProps={push:!1},s.contextTypes={router:u.a.shape({history:u.a.shape({push:u.a.func.isRequired,replace:u.a.func.isRequired}).isRequired,staticContext:u.a.object}).isRequired},e.a=s},function(t,e,n){function r(t,e){for(var n,r=[],o=0,i=0,a="",c=e&&e.delimiter||"/";null!=(n=b.exec(t));){var l=n[0],p=n[1],f=n.index;if(a+=t.slice(i,f),i=f+l.length,p)a+=p[1];else{var h=t[i],d=n[2],y=n[3],v=n[4],m=n[5],g=n[6],_=n[7];a&&(r.push(a),a="");var w=null!=d&&null!=h&&h!==d,O="+"===g||"*"===g,P="?"===g||"*"===g,x=n[2]||c,j=v||m;r.push({name:y||o++,prefix:d||"",delimiter:x,optional:P,repeat:O,partial:w,asterisk:!!_,pattern:j?s(j):_?".*":"[^"+u(x)+"]+?"})}}return i=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(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}function a(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)}var c=n(7),u=n.n(c),s=n(1),l=n(0),p=n.n(l),f=n(6),h=(n.n(f),n(11)),d=Object.assign||function(t){for(var e=1;e",t)}},w=function(){},O=function(t){function e(){var n,r,a;o(this,e);for(var c=arguments.length,u=Array(c),s=0;s elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),l.a(!(!t.location&&this.props.location),' elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.')},e.prototype.render=function(){var t=this.context.router.route,e=this.props.children,n=this.props.location||t.location,r=void 0,o=void 0;return a.a.Children.forEach(e,function(e){if(a.a.isValidElement(e)){var i=e.props,c=i.path,u=i.exact,s=i.strict,l=i.from,f=c||l;null==r&&(o=e,r=f?p.a(n.pathname,{path:f,exact:u,strict:s}):t.match)}}),r?a.a.cloneElement(o,{location:n,computedMatch:r}):null},e}(a.a.Component);f.contextTypes={router:u.a.shape({route:u.a.object.isRequired}).isRequired},f.propTypes={children:u.a.node,location:u.a.object},e.a=f},function(t,e,n){"use strict";function r(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 o=n(1),i=n(0),a=n.n(i),c=n(37),u=n.n(c),s=n(14),l=Object.assign||function(t){for(var e=1;e=0?e:0)+"#"+t)},b=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,u.default)(h.canUseDOM,"Hash history needs a DOM");var e=window.history,n=(0,h.supportsGoWithoutReloadUsingHash)(),r=t.getUserConfirmation,i=void 0===r?h.getConfirmation:r,c=t.hashType,p=void 0===c?"slash":c,b=t.basename?(0,l.stripTrailingSlash)((0,l.addLeadingSlash)(t.basename)):"",g=d[p],_=g.encodePath,w=g.decodePath,O=function(){var t=w(y());return(0,a.default)(!b||(0,l.hasBasename)(t,b),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+t+'" to begin with "'+b+'".'),b&&(t=(0,l.stripBasename)(t,b)),(0,s.createLocation)(t)},P=(0,f.default)(),x=function(t){o(F,t),F.length=e.length,P.notifyListeners(F.location,F.action)},j=!1,C=null,E=function(){var t=y(),e=_(t);if(t!==e)m(e);else{var n=O(),r=F.location;if(!j&&(0,s.locationsAreEqual)(r,n))return;if(C===(0,l.createPath)(n))return;C=null,T(n)}},T=function(t){if(j)j=!1,x();else{P.confirmTransitionTo(t,"POP",i,function(e){e?x({action:"POP",location:t}):k(t)})}},k=function(t){var e=F.location,n=A.lastIndexOf((0,l.createPath)(e));-1===n&&(n=0);var r=A.lastIndexOf((0,l.createPath)(t));-1===r&&(r=0);var o=n-r;o&&(j=!0,W(o))},R=y(),S=_(R);R!==S&&m(S);var L=O(),A=[(0,l.createPath)(L)],N=function(t){return"#"+_(b+(0,l.createPath)(t))},M=function(t,e){(0,a.default)(void 0===e,"Hash history cannot push state; it is ignored");var n=(0,s.createLocation)(t,void 0,void 0,F.location);P.confirmTransitionTo(n,"PUSH",i,function(t){if(t){var e=(0,l.createPath)(n),r=_(b+e);if(y()!==r){C=e,v(r);var o=A.lastIndexOf((0,l.createPath)(F.location)),i=A.slice(0,-1===o?0:o+1);i.push(e),A=i,x({action:"PUSH",location:n})}else(0,a.default)(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),x()}})},U=function(t,e){(0,a.default)(void 0===e,"Hash history cannot replace state; it is ignored");var n=(0,s.createLocation)(t,void 0,void 0,F.location);P.confirmTransitionTo(n,"REPLACE",i,function(t){if(t){var e=(0,l.createPath)(n),r=_(b+e);y()!==r&&(C=e,m(r));var o=A.indexOf((0,l.createPath)(F.location));-1!==o&&(A[o]=e),x({action:"REPLACE",location:n})}})},W=function(t){(0,a.default)(n,"Hash history go(n) causes a full page reload in this browser"),e.go(t)},H=function(){return W(-1)},q=function(){return W(1)},I=0,D=function(t){I+=t,1===I?(0,h.addEventListener)(window,"hashchange",E):0===I&&(0,h.removeEventListener)(window,"hashchange",E)},B=!1,Y=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=P.setPrompt(t);return B||(D(1),B=!0),function(){return B&&(B=!1,D(-1)),e()}},$=function(t){var e=P.appendListener(t);return D(1),function(){D(-1),e()}},F={length:e.length,action:"POP",location:L,createHref:N,push:M,replace:U,go:W,goBack:H,goForward:q,block:Y,listen:$};return F};e.default=b},function(t,e,n){"use strict";var r=n(2);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";function r(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 o=n(1),i=n(0),a=n.n(i),c=n(2),u=n(15),s=Object.assign||function(t){for(var e=1;e"))))}),e=this.props.data.page[0],n=(e.body||"").replace(/\n/g,"
"),r=(0,c.h)("div",{class:"cell"},(0,c.h)("div",{class:"painting"},(0,c.h)("a",{href:"http://asdf.us/pepper/",target:"_blank"},(0,c.h)("div",{class:"image",style:"background-image: url("+e.image.uri+")"}))),(0,c.h)("div",{class:"about"},(0,c.h)("div",{dangerouslySetInnerHTML:{__html:n}})));return(0,c.h)("div",{class:"paintings"},t,r)}}]),e}(c.Component);e.default=l},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}function a(t){t=t||"";for(var e=/(https?:\/\/[^\s]+)/g,n=e.exec(t),r=[],o=void 0,i={};null!=n;)o=n[0].replace(/",?/,""),o&&!i[o]&&(i[o]=!0,r.push((0,s.h)("a",{href:o,key:o},(0,s.h)(p,{source:o})))),n=e.exec(t);return r}function c(t){return(t||"").split("} {").map(function(t){return(0,s.h)("div",null,t,(0,s.h)("br",null),(0,s.h)("br",null))})}Object.defineProperty(e,"__esModule",{value:!0});var u=function(){function t(t,e){for(var n=0;n