define("metaserver/static/js/prod_assets_web_modules/history-v4",["exports"],(function(t){"use strict";function n(){return(n=Object.assign||function(t){for(var n=1;n=0;h--){var p=a[h];"."===p?r(a,h):".."===p?(r(a,h),l++):l&&(r(a,h),l--)}if(!s)for(;l--;l)a.unshift("..");!s||""===a[0]||a[0]&&e(a[0])||a.unshift("");var d=a.join("/");return o&&"/"!==d.substr(-1)&&(d+="/"),d})(c.pathname,a.pathname)):c.pathname=a.pathname:c.pathname||(c.pathname="/"),c}function p(){var t=null,n=[];return{setPrompt:function(n){return t=n,function(){t===n&&(t=null)}},confirmTransitionTo:function(n,e,r,o){if(null!=t){var i="function"==typeof t?t(n,e):t;"string"==typeof i?"function"==typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(t){var e=!0;function r(){e&&t.apply(void 0,arguments)}return n.push(r),function(){e=!1,n=n.filter((function(t){return t!==r}))}},notifyListeners:function(){for(var t=arguments.length,e=new Array(t),r=0;rn?r.splice(n,r.length-n,o):r.push(o),d({action:e,location:o,index:n,entries:r})}}))},replace:function(t,n){var e="REPLACE",o=h(t,n,v(),b.location);f.confirmTransitionTo(o,e,r,(function(t){t&&(b.entries[b.index]=o,d({action:e,location:o}))}))},go:w,goBack:function(){w(-1)},goForward:function(){w(1)},canGo:function(t){var n=b.index+t;return n>=0&&n=0;h--){var p=o[h];"."===p?c(o,h):".."===p?(c(o,h),l++):l&&(c(o,h),l--)}if(!s)for(;l--;l)o.unshift("..");!s||""===o[0]||o[0]&&a(o[0])||o.unshift("");var d=o.join("/");return e&&"/"!==d.substr(-1)&&(d+="/"),d})(o.pathname,r.pathname)):o.pathname=r.pathname:o.pathname||(o.pathname="/"),o}function v(){var t=null,n=[];return{setPrompt:function(n){return t=n,function(){t===n&&(t=null)}},confirmTransitionTo:function(n,e,r,o){if(null!=t){var i="function"==typeof t?t(n,e):t;"string"==typeof i?"function"==typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(t){var e=!0;function r(){e&&t.apply(void 0,arguments)}return n.push(r),function(){e=!1,n=n.filter((function(t){return t!==r}))}},notifyListeners:function(){for(var t=arguments.length,e=new Array(t),r=0;r=0||(o[e]=t[e]);return o}k.resetWarningCache=C,(function(){function t(t,n,e,r,o,i){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==i){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function n(){return t}t.isRequired=t;var e={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:n,element:t,elementType:t,instanceOf:n,node:t,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:k,resetWarningCache:C};e.PropTypes=e})();var S=(function(t){function e(){for(var n,e=arguments.length,r=new Array(e),o=0;o=0;h--){var p=o[h];"."===p?f(o,h):".."===p?(f(o,h),l++):l&&(f(o,h),l--)}if(!c)for(;l--;l)o.unshift("..");!c||""===o[0]||o[0]&&s(o[0])||o.unshift("");var d=o.join("/");return e&&"/"!==d.substr(-1)&&(d+="/"),d})(o.pathname,r.pathname)):o.pathname=r.pathname:o.pathname||(o.pathname="/"),o}function v(t,n){return t.pathname===n.pathname&&t.search===n.search&&t.hash===n.hash&&t.key===n.key&&(function t(n,e){if(n===e)return!0;if(null==n||null==e)return!1;if(Array.isArray(n))return Array.isArray(e)&&n.length===e.length&&n.every((function(n,r){return t(n,e[r])}));if("object"==typeof n||"object"==typeof e){var r=l(n),o=l(e);return r!==n||o!==e?t(r,o):Object.keys(Object.assign({},n,e)).every((function(r){return t(n[r],e[r])}))}return!1})(t.state,n.state)}function m(t,n,e){return Math.min(Math.max(t,n),e)}function y(t){void 0===t&&(t={});var n,e,r=t,o=r.getUserConfirmation,i=r.initialEntries,a=void 0===i?["/"]:i,c=r.initialIndex,s=void 0===c?0:c,f=r.keyLength,l=void 0===f?6:f,h=(n=null,e=[],{setPrompt:function(t){return n=t,function(){n===t&&(n=null)}},confirmTransitionTo:function(t,e,r,o){if(null!=n){var i="function"==typeof n?n(t,e):n;"string"==typeof i?"function"==typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(t){var n=!0;function r(){n&&t.apply(void 0,arguments)}return e.push(r),function(){n=!1,e=e.filter((function(t){return t!==r}))}},notifyListeners:function(){for(var t=arguments.length,n=new Array(t),r=0;rn?o.splice(n,o.length-n,r):o.push(r),v({action:e,location:r,index:n,entries:o})}}))},replace:function(t,n){var e="REPLACE",r=d(t,n,y(),P.location);h.confirmTransitionTo(r,e,o,(function(t){t&&(P.entries[P.index]=r,v({action:e,location:r}))}))},go:x,goBack:function(){x(-1)},goForward:function(){x(1)},canGo:function(t){var n=P.index+t;return n>=0&&n=0||(o[e]=t[e]);return o}U.AsyncMode=q,U.ConcurrentMode=V,U.ContextConsumer=W,U.ContextProvider=D,U.Element=I,U.ForwardRef=K,U.Fragment=F,U.Lazy=Y,U.Memo=J,U.Portal=H,U.Profiler=N,U.StrictMode=B,U.Suspense=z,U.isAsyncMode=function(t){return et(t)||nt(t)===q},U.isConcurrentMode=et,U.isContextConsumer=function(t){return nt(t)===W},U.isContextProvider=function(t){return nt(t)===D},U.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===I},U.isForwardRef=function(t){return nt(t)===K},U.isFragment=function(t){return nt(t)===F},U.isLazy=function(t){return nt(t)===Y},U.isMemo=function(t){return nt(t)===J},U.isPortal=function(t){return nt(t)===H},U.isProfiler=function(t){return nt(t)===N},U.isStrictMode=function(t){return nt(t)===B},U.isSuspense=function(t){return nt(t)===z},U.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===F||t===V||t===N||t===B||t===z||t===G||"object"==typeof t&&null!==t&&(t.$$typeof===Y||t.$$typeof===J||t.$$typeof===D||t.$$typeof===W||t.$$typeof===K||t.$$typeof===X||t.$$typeof===Z||t.$$typeof===tt||t.$$typeof===Q)},U.typeOf=nt,M.exports=U;var ot=M.exports,it={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},at={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},ct={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ut={};function st(t){return ot.isMemo(t)?ct:ut[t.$$typeof]||it}ut[ot.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ut[ot.Memo]=ct;var ft=Object.defineProperty,lt=Object.getOwnPropertyNames,ht=Object.getOwnPropertySymbols,pt=Object.getOwnPropertyDescriptor,dt=Object.getPrototypeOf,vt=Object.prototype,mt=(function(t){var n=x();return n.displayName=t,n})("Router-History"),yt=(function(t){var n=x();return n.displayName=t,n})("Router"),gt=(function(t){function n(n){var e;return(e=t.call(this,n)||this).state={location:n.history.location},e._isMounted=!1,e._pendingLocation=null,n.staticContext||(e.unlisten=n.history.listen((function(t){e._isMounted?e.setState({location:t}):e._pendingLocation=t}))),e}r(n,t),n.computeRootMatch=function(t){return{path:"/",url:"/",params:{},isExact:"/"===t}};var o=n.prototype;return o.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},o.componentWillUnmount=function(){this.unlisten&&this.unlisten()},o.render=function(){return e.default.createElement(yt.Provider,{value:{history:this.props.history,location:this.state.location,match:n.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},e.default.createElement(mt.Provider,{children:this.props.children||null,value:this.props.history}))},n})(e.default.Component),wt=(function(t){function n(){for(var n,e=arguments.length,r=new Array(e),o=0;o