index4single.js
33.8 KB
!function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("React"),require("mobx"),require("mobxReact"),require("ReactRouter"),require("ReactDOM"),require("weaCustomSetting")):"function"===typeof define&&define.amd?define(["React","mobx","mobxReact","ReactRouter","ReactDOM","weaCustomSetting"],e):"object"===typeof exports?exports.weaCustomSetting=e(require("React"),require("mobx"),require("mobxReact"),require("ReactRouter"),require("ReactDOM"),require("weaCustomSetting")):t.weaCustomSetting=e(t.React,t.mobx,t.mobxReact,t.ReactRouter,t.ReactDOM,t.weaCustomSetting)}(this,function(t,e,n,r,o,i){return 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={};return 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="/spa/customSetting/",e(e.s=683)}({0:function(e,n){e.exports=t},10:function(t,e){var n=t.exports={version:"2.5.6"};"number"==typeof __e&&(__e=n)},107:function(t,e,n){"use strict";e.__esModule=!0;e.PUSH="PUSH",e.REPLACE="REPLACE",e.POP="POP"},108:function(t,e,n){"use strict";e.__esModule=!0;e.canUseDOM=!("undefined"===typeof window||!window.document||!window.document.createElement)},11:function(t,n){t.exports=e},112:function(t,e,n){var r=n(28),o=n(65),i=n(113);t.exports=function(t){return function(e,n,u){var a,c=r(e),f=o(c.length),s=i(u,f);if(t&&n!=n){for(;f>s;)if((a=c[s++])!=a)return!0}else for(;f>s;s++)if((t||s in c)&&c[s]===n)return t||s||0;return!t&&-1}}},113:function(t,e,n){var r=n(53),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},117:function(t,e,n){n(118),t.exports=n(10).Object.assign},118:function(t,e,n){var r=n(16);r(r.S+r.F,"Object",{assign:n(119)})},119:function(t,e,n){"use strict";var r=n(41),o=n(67),i=n(54),u=n(38),a=n(64),c=Object.assign;t.exports=!c||n(27)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=r})?function(t,e){for(var n=u(t),c=arguments.length,f=1,s=o.f,l=i.f;c>f;)for(var d,p=a(arguments[f++]),h=s?r(p).concat(s(p)):r(p),v=h.length,y=0;v>y;)l.call(p,d=h[y++])&&(n[d]=p[d]);return n}:c},12:function(t,e){t.exports=n},13:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},15:function(t,e,n){"use strict";e.__esModule=!0;var r=n(68),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=o.default||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}},153:function(t,e,n){"use strict";e.__esModule=!0,e.go=e.replaceLocation=e.pushLocation=e.startListener=e.getUserConfirmation=e.getCurrentLocation=void 0;var r=n(48),o=n(75),i=n(257),u=n(37),a=n(108),c=a.canUseDOM&&!(0,o.supportsPopstateOnHashchange)(),f=function(t){var e=t&&t.key;return(0,r.createLocation)({pathname:window.location.pathname,search:window.location.search,hash:window.location.hash,state:e?(0,i.readState)(e):void 0},void 0,e)},s=e.getCurrentLocation=function(){var t=void 0;try{t=window.history.state||{}}catch(e){t={}}return f(t)},l=(e.getUserConfirmation=function(t,e){return e(window.confirm(t))},e.startListener=function(t){var e=function(e){(0,o.isExtraneousPopstateEvent)(e)||t(f(e.state))};(0,o.addEventListener)(window,"popstate",e);var n=function(){return t(s())};return c&&(0,o.addEventListener)(window,"hashchange",n),function(){(0,o.removeEventListener)(window,"popstate",e),c&&(0,o.removeEventListener)(window,"hashchange",n)}},function(t,e){var n=t.state,r=t.key;void 0!==n&&(0,i.saveState)(r,n),e({key:r},(0,u.createPath)(t))});e.pushLocation=function(t){return l(t,function(t,e){return window.history.pushState(t,null,e)})},e.replaceLocation=function(t){return l(t,function(t,e){return window.history.replaceState(t,null,e)})},e.go=function(t){t&&window.history.go(t)}},154:function(t,e,n){"use strict";e.__esModule=!0;var r=n(688),o=n(37),i=n(155),u=function(t){return t&&t.__esModule?t:{default:t}}(i),a=n(107),c=n(48),f=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.getCurrentLocation,n=t.getUserConfirmation,i=t.pushLocation,f=t.replaceLocation,s=t.go,l=t.keyLength,d=void 0,p=void 0,h=[],v=[],y=[],g=function(){return p&&p.action===a.POP?y.indexOf(p.key):d?y.indexOf(d.key):-1},b=function(t){var e=g();d=t,d.action===a.PUSH?y=[].concat(y.slice(0,e+1),[d.key]):d.action===a.REPLACE&&(y[e]=d.key),v.forEach(function(t){return t(d)})},m=function(t){return h.push(t),function(){return h=h.filter(function(e){return e!==t})}},w=function(t){return v.push(t),function(){return v=v.filter(function(e){return e!==t})}},O=function(t,e){(0,r.loopAsync)(h.length,function(e,n,r){(0,u.default)(h[e],t,function(t){return null!=t?r(t):n()})},function(t){n&&"string"===typeof t?n(t,function(t){return e(!1!==t)}):e(!1!==t)})},P=function(t){d&&(0,c.locationsAreEqual)(d,t)||p&&(0,c.locationsAreEqual)(p,t)||(p=t,O(t,function(e){if(p===t)if(p=null,e){if(t.action===a.PUSH){var n=(0,o.createPath)(d),r=(0,o.createPath)(t);r===n&&(0,c.statesAreEqual)(d.state,t.state)&&(t.action=a.REPLACE)}t.action===a.POP?b(t):t.action===a.PUSH?!1!==i(t)&&b(t):t.action===a.REPLACE&&!1!==f(t)&&b(t)}else if(d&&t.action===a.POP){var u=y.indexOf(d.key),l=y.indexOf(t.key);-1!==u&&-1!==l&&s(u-l)}}))},_=function(t){return P(M(t,a.PUSH))},j=function(t){return P(M(t,a.REPLACE))},x=function(){return s(-1)},L=function(){return s(1)},E=function(){return Math.random().toString(36).substr(2,l||6)},S=function(t){return(0,o.createPath)(t)},M=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:E();return(0,c.createLocation)(t,e,n)};return{getCurrentLocation:e,listenBefore:m,listen:w,transitionTo:P,push:_,replace:j,go:s,goBack:x,goForward:L,createKey:E,createPath:o.createPath,createHref:S,createLocation:M}};e.default=f},155:function(t,e,n){"use strict";e.__esModule=!0;var r=n(49),o=(function(t){t&&t.__esModule}(r),function(t,e,n){var r=t(e,n);t.length<2&&n(r)});e.default=o},16:function(t,e,n){var r=n(13),o=n(10),i=n(36),u=n(33),a=n(26),c=function(t,e,n){var f,s,l,d=t&c.F,p=t&c.G,h=t&c.S,v=t&c.P,y=t&c.B,g=t&c.W,b=p?o:o[e]||(o[e]={}),m=b.prototype,w=p?r:h?r[e]:(r[e]||{}).prototype;p&&(n=e);for(f in n)(s=!d&&w&&void 0!==w[f])&&a(b,f)||(l=s?w[f]:n[f],b[f]=p&&"function"!=typeof w[f]?n[f]:y&&s?i(l,r):g&&w[f]==l?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):v&&"function"==typeof l?i(Function.call,l):l,v&&((b.virtual||(b.virtual={}))[f]=l,t&c.R&&m&&!m[f]&&u(m,f,l)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},18:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},19:function(t,e,n){t.exports=!n(27)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},20:function(t,e,n){var r=n(21),o=n(77),i=n(62),u=Object.defineProperty;e.f=n(19)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return u(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},21:function(t,e,n){var r=n(18);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},257:function(t,e,n){"use strict";e.__esModule=!0,e.readState=e.saveState=void 0;var r=n(49),o=(function(t){t&&t.__esModule}(r),{QuotaExceededError:!0,QUOTA_EXCEEDED_ERR:!0}),i={SecurityError:!0},u=function(t){return"@@History/"+t};e.saveState=function(t,e){if(window.sessionStorage)try{null==e?window.sessionStorage.removeItem(u(t)):window.sessionStorage.setItem(u(t),JSON.stringify(e))}catch(t){if(i[t.name])return;if(o[t.name]&&0===window.sessionStorage.length)return;throw t}},e.readState=function(t){var e=void 0;try{e=window.sessionStorage.getItem(u(t))}catch(t){if(i[t.name])return}if(e)try{return JSON.parse(e)}catch(t){}}},26:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},27:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},28:function(t,e,n){var r=n(64),o=n(50);t.exports=function(t){return r(o(t))}},33:function(t,e,n){var r=n(20),o=n(40);t.exports=n(19)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},36:function(t,e,n){var r=n(52);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},37:function(t,e,n){"use strict";e.__esModule=!0,e.createPath=e.parsePath=e.getQueryStringValueFromPath=e.stripQueryStringValueFromPath=e.addQueryStringValueToPath=void 0;var r=n(49),o=(function(t){t&&t.__esModule}(r),e.addQueryStringValueToPath=function(t,e,n){var r=i(t),o=r.pathname,a=r.search,c=r.hash;return u({pathname:o,search:a+(-1===a.indexOf("?")?"?":"&")+e+"="+n,hash:c})},e.stripQueryStringValueFromPath=function(t,e){var n=i(t),r=n.pathname,o=n.search,a=n.hash;return u({pathname:r,search:o.replace(new RegExp("([?&])"+e+"=[a-zA-Z0-9]+(&?)"),function(t,e,n){return"?"===e?e:n}),hash:a})},e.getQueryStringValueFromPath=function(t,e){var n=i(t),r=n.search,o=r.match(new RegExp("[?&]"+e+"=([a-zA-Z0-9]+)"));return o&&o[1]},function(t){var e=t.match(/^(https?:)?\/\/[^\/]*/);return null==e?t:t.substring(e[0].length)}),i=e.parsePath=function(t){var e=o(t),n="",r="",i=e.indexOf("#");-1!==i&&(r=e.substring(i),e=e.substring(0,i));var u=e.indexOf("?");return-1!==u&&(n=e.substring(u),e=e.substring(0,u)),""===e&&(e="/"),{pathname:e,search:n,hash:r}},u=e.createPath=function(t){if(null==t||"string"===typeof t)return t;var e=t.basename,n=t.pathname,r=t.search,o=t.hash,i=(e||"")+n;return r&&"?"!==r&&(i+=r),o&&(i+=o),i}},38:function(t,e,n){var r=n(50);t.exports=function(t){return Object(r(t))}},39:function(t,e){t.exports=!0},40:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},41:function(t,e,n){var r=n(78),o=n(66);t.exports=Object.keys||function(t){return r(t,o)}},42:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},48:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0,e.locationsAreEqual=e.statesAreEqual=e.createLocation=e.createQuery=void 0;var o="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},i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},u=n(74),a=r(u),c=n(49),f=(r(c),n(37)),s=n(107),l=(e.createQuery=function(t){return i(Object.create(null),t)},e.createLocation=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.POP,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r="string"===typeof t?(0,f.parsePath)(t):t;return{pathname:r.pathname||"/",search:r.search||"",hash:r.hash||"",state:r.state,action:e,key:n}},function(t){return"[object Date]"===Object.prototype.toString.call(t)}),d=e.statesAreEqual=function t(e,n){if(e===n)return!0;var r="undefined"===typeof e?"undefined":o(e);if(r!==("undefined"===typeof n?"undefined":o(n)))return!1;if("function"===r&&(0,a.default)(!1),"object"===r){if(l(e)&&l(n)&&(0,a.default)(!1),!Array.isArray(e)){var i=Object.keys(e),u=Object.keys(n);return i.length===u.length&&i.every(function(r){return t(e[r],n[r])})}return Array.isArray(n)&&e.length===n.length&&e.every(function(e,r){return t(e,n[r])})}return!1};e.locationsAreEqual=function(t,e){return t.key===e.key&&t.pathname===e.pathname&&t.search===e.search&&t.hash===e.hash&&d(t.state,e.state)}},49:function(t,e,n){"use strict";var r=function(){};t.exports=r},50:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},51:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},52:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},53:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},54:function(t,e){e.f={}.propertyIsEnumerable},59:function(t,e,n){var r=n(60)("keys"),o=n(51);t.exports=function(t){return r[t]||(r[t]=o(t))}},60:function(t,e,n){var r=n(10),o=n(13),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(39)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},61:function(t,e,n){var r=n(18),o=n(13).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},62:function(t,e,n){var r=n(18);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},64:function(t,e,n){var r=n(42);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},65:function(t,e,n){var r=n(53),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},66:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},67:function(t,e){e.f=Object.getOwnPropertySymbols},68:function(t,e,n){t.exports={default:n(117),__esModule:!0}},683:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var o=n(15),i=r(o),u=n(0),a=r(u),c=n(684),f=r(c),s=n(12),l=n(685),d=n(76),p=n(697),h=n(698),v=r(h),y=(0,d.useRouterHistory)(l.createHashHistory)({queryKey:"_key",basename:"/"}),g=new p.RouterStore,b=(0,i.default)({routing:g},v.default.store),m=(0,p.syncHistoryWithStore)(y,b.routing);window.weaHistory=m;var w=function(){return a.default.createElement(s.Provider,b,a.default.createElement(d.Router,{history:m},a.default.createElement(d.Route,{path:"/",component:function(t){return t.children}},v.default.Route)))};f.default.render(a.default.createElement(w,null),document.getElementById("container"))},684:function(t,e){t.exports=o},685:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0,e.locationsAreEqual=e.Actions=e.useQueries=e.useBeforeUnload=e.useBasename=e.createMemoryHistory=e.createHashHistory=e.createHistory=void 0;var o=n(48);Object.defineProperty(e,"locationsAreEqual",{enumerable:!0,get:function(){return o.locationsAreEqual}});var i=n(686),u=r(i),a=n(689),c=r(a),f=n(691),s=r(f),l=n(692),d=r(l),p=n(693),h=r(p),v=n(694),y=r(v),g=n(107),b=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(g);e.createHistory=u.default,e.createHashHistory=c.default,e.createMemoryHistory=s.default,e.useBasename=d.default,e.useBeforeUnload=h.default,e.useQueries=y.default,e.Actions=b},686:function(t,e,n){"use strict";function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function o(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},u=n(74),a=o(u),c=n(108),f=n(153),s=r(f),l=n(687),d=r(l),p=n(75),h=n(154),v=o(h),y=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};c.canUseDOM||(0,a.default)(!1);var e=t.forceRefresh||!(0,p.supportsHistory)(),n=e?d:s,r=n.getUserConfirmation,o=n.getCurrentLocation,u=n.pushLocation,f=n.replaceLocation,l=n.go,h=(0,v.default)(i({getUserConfirmation:r},t,{getCurrentLocation:o,pushLocation:u,replaceLocation:f,go:l})),y=0,g=void 0,b=function(t,e){1===++y&&(g=s.startListener(h.transitionTo));var n=e?h.listenBefore(t):h.listen(t);return function(){n(),0===--y&&g()}};return i({},h,{listenBefore:function(t){return b(t,!0)},listen:function(t){return b(t,!1)}})};e.default=y},687:function(t,e,n){"use strict";e.__esModule=!0,e.replaceLocation=e.pushLocation=e.getCurrentLocation=e.go=e.getUserConfirmation=void 0;var r=n(153);Object.defineProperty(e,"getUserConfirmation",{enumerable:!0,get:function(){return r.getUserConfirmation}}),Object.defineProperty(e,"go",{enumerable:!0,get:function(){return r.go}});var o=n(48),i=n(37);e.getCurrentLocation=function(){return(0,o.createLocation)(window.location)},e.pushLocation=function(t){return window.location.href=(0,i.createPath)(t),!1},e.replaceLocation=function(t){return window.location.replace((0,i.createPath)(t)),!1}},688:function(t,e,n){"use strict";e.__esModule=!0;e.loopAsync=function(t,e,n){var r=0,o=!1,i=!1,u=!1,a=void 0,c=function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];if(o=!0,i)return void(a=e);n.apply(void 0,e)};!function f(){if(!o&&(u=!0,!i)){for(i=!0;!o&&r<t&&u;)u=!1,e(r++,f,c);if(i=!1,o)return void n.apply(void 0,a);r>=t&&u&&(o=!0,n())}}()}},689:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},i=n(49),u=(r(i),n(74)),a=r(u),c=n(108),f=n(75),s=n(690),l=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(s),d=n(154),p=r(d),h=function(t){return"/"===t.charAt(0)?t:"/"+t},v={hashbang:{encodePath:function(t){return"!"===t.charAt(0)?t:"!"+t},decodePath:function(t){return"!"===t.charAt(0)?t.substring(1):t}},noslash:{encodePath:function(t){return"/"===t.charAt(0)?t.substring(1):t},decodePath:h},slash:{encodePath:h,decodePath:h}},y=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};c.canUseDOM||(0,a.default)(!1);var e=t.queryKey,n=t.hashType;"string"!==typeof e&&(e="_k"),null==n&&(n="slash"),n in v||(n="slash");var r=v[n],i=l.getUserConfirmation,u=function(){return l.getCurrentLocation(r,e)},s=function(t){return l.pushLocation(t,r,e)},d=function(t){return l.replaceLocation(t,r,e)},h=(0,p.default)(o({getUserConfirmation:i},t,{getCurrentLocation:u,pushLocation:s,replaceLocation:d,go:l.go})),y=0,g=void 0,b=function(t,n){1===++y&&(g=l.startListener(h.transitionTo,r,e));var o=n?h.listenBefore(t):h.listen(t);return function(){o(),0===--y&&g()}},m=function(t){return b(t,!0)},w=function(t){return b(t,!1)};(0,f.supportsGoWithoutReloadUsingHash)();return o({},h,{listenBefore:m,listen:w,go:function(t){h.go(t)},createHref:function(t){return"#"+r.encodePath(h.createHref(t))}})};e.default=y},690:function(t,e,n){"use strict";e.__esModule=!0,e.replaceLocation=e.pushLocation=e.startListener=e.getCurrentLocation=e.go=e.getUserConfirmation=void 0;var r=n(153);Object.defineProperty(e,"getUserConfirmation",{enumerable:!0,get:function(){return r.getUserConfirmation}}),Object.defineProperty(e,"go",{enumerable:!0,get:function(){return r.go}});var o=n(49),i=(function(t){t&&t.__esModule}(o),n(48)),u=n(75),a=n(257),c=n(37),f=function(){var t=window.location.href,e=t.indexOf("#");return-1===e?"":t.substring(e+1)},s=function(t){return window.location.hash=t},l=function(t){var e=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,e>=0?e:0)+"#"+t)},d=e.getCurrentLocation=function(t,e){var n=t.decodePath(f()),r=(0,c.getQueryStringValueFromPath)(n,e),o=void 0;r&&(n=(0,c.stripQueryStringValueFromPath)(n,e),o=(0,a.readState)(r));var u=(0,c.parsePath)(n);return u.state=o,(0,i.createLocation)(u,void 0,r)},p=void 0,h=(e.startListener=function(t,e,n){var r=function(){var r=f(),o=e.encodePath(r);if(r!==o)l(o);else{var i=d(e,n);if(p&&i.key&&p.key===i.key)return;p=i,t(i)}},o=f(),i=e.encodePath(o);return o!==i&&l(i),(0,u.addEventListener)(window,"hashchange",r),function(){return(0,u.removeEventListener)(window,"hashchange",r)}},function(t,e,n,r){var o=t.state,i=t.key,u=e.encodePath((0,c.createPath)(t));void 0!==o&&(u=(0,c.addQueryStringValueToPath)(u,n,i),(0,a.saveState)(i,o)),p=t,r(u)});e.pushLocation=function(t,e,n){return h(t,e,n,function(t){f()!==t&&s(t)})},e.replaceLocation=function(t,e,n){return h(t,e,n,function(t){f()!==t&&l(t)})}},691:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},i=n(49),u=(r(i),n(74)),a=r(u),c=n(48),f=n(37),s=n(154),l=r(s),d=n(107),p=function(t){return t.filter(function(t){return t.state}).reduce(function(t,e){return t[e.key]=e.state,t},{})},h=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Array.isArray(t)?t={entries:t}:"string"===typeof t&&(t={entries:[t]});var e=function(){var t=v[y],e=(0,f.createPath)(t),n=void 0,r=void 0;t.key&&(n=t.key,r=m(n));var i=(0,f.parsePath)(e);return(0,c.createLocation)(o({},i,{state:r}),void 0,n)},n=function(t){var e=y+t;return e>=0&&e<v.length},r=function(t){if(t&&n(t)){y+=t;var r=e();s.transitionTo(o({},r,{action:d.POP}))}},i=function(t){y+=1,y<v.length&&v.splice(y),v.push(t),b(t.key,t.state)},u=function(t){v[y]=t,b(t.key,t.state)},s=(0,l.default)(o({},t,{getCurrentLocation:e,pushLocation:i,replaceLocation:u,go:r})),h=t,v=h.entries,y=h.current;"string"===typeof v?v=[v]:Array.isArray(v)||(v=["/"]),v=v.map(function(t){return(0,c.createLocation)(t)}),null==y?y=v.length-1:y>=0&&y<v.length||(0,a.default)(!1);var g=p(v),b=function(t,e){return g[t]=e},m=function(t){return g[t]};return o({},s,{canGo:n})};e.default=h},692:function(t,e,n){"use strict";e.__esModule=!0;var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o=n(155),i=function(t){return t&&t.__esModule?t:{default:t}}(o),u=n(37),a=function(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t(e),o=e.basename,a=function(t){return t?(o&&null==t.basename&&(0===t.pathname.toLowerCase().indexOf(o.toLowerCase())?(t.pathname=t.pathname.substring(o.length),t.basename=o,""===t.pathname&&(t.pathname="/")):t.basename=""),t):t},c=function(t){if(!o)return t;var e="string"===typeof t?(0,u.parsePath)(t):t,n=e.pathname,i="/"===o.slice(-1)?o:o+"/",a="/"===n.charAt(0)?n.slice(1):n;return r({},e,{pathname:i+a})};return r({},n,{getCurrentLocation:function(){return a(n.getCurrentLocation())},listenBefore:function(t){return n.listenBefore(function(e,n){return(0,i.default)(t,a(e),n)})},listen:function(t){return n.listen(function(e){return t(a(e))})},push:function(t){return n.push(c(t))},replace:function(t){return n.replace(c(t))},createPath:function(t){return n.createPath(c(t))},createHref:function(t){return n.createHref(c(t))},createLocation:function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),o=1;o<e;o++)r[o-1]=arguments[o];return a(n.createLocation.apply(n,[c(t)].concat(r)))}})}};e.default=a},693:function(t,e,n){"use strict";e.__esModule=!0;var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o=n(74),i=function(t){return t&&t.__esModule?t:{default:t}}(o),u=n(75),a=n(108),c=function(t){var e=function(e){var n=t();if("string"===typeof n)return(e||window.event).returnValue=n,n};return(0,u.addEventListener)(window,"beforeunload",e),function(){return(0,u.removeEventListener)(window,"beforeunload",e)}},f=function(t){return a.canUseDOM||(0,i.default)(!1),function(e){var n=t(e),o=[],i=void 0,u=function(){for(var t=void 0,e=0,n=o.length;null==t&&e<n;++e)t=o[e].call();return t};return r({},n,{listenBeforeUnload:function(t){return 1===o.push(t)&&(i=c(u)),function(){o=o.filter(function(e){return e!==t}),0===o.length&&i&&(i(),i=null)}}})}};e.default=f},694:function(t,e,n){"use strict";e.__esModule=!0;var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o=n(695),i=n(155),u=function(t){return t&&t.__esModule?t:{default:t}}(i),a=n(48),c=n(37),f=function(t){return(0,o.stringify)(t).replace(/%20/g,"+")},s=o.parse,l=function(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t(e),o=e.stringifyQuery,i=e.parseQueryString;"function"!==typeof o&&(o=f),"function"!==typeof i&&(i=s);var l=function(t){return t?(null==t.query&&(t.query=i(t.search.substring(1))),t):t},d=function(t,e){if(null==e)return t;var n="string"===typeof t?(0,c.parsePath)(t):t,i=o(e);return r({},n,{search:i?"?"+i:""})};return r({},n,{getCurrentLocation:function(){return l(n.getCurrentLocation())},listenBefore:function(t){return n.listenBefore(function(e,n){return(0,u.default)(t,l(e),n)})},listen:function(t){return n.listen(function(e){return t(l(e))})},push:function(t){return n.push(d(t,t.query))},replace:function(t){return n.replace(d(t,t.query))},createPath:function(t){return n.createPath(d(t,t.query))},createHref:function(t){return n.createHref(d(t,t.query))},createLocation:function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),o=1;o<e;o++)r[o-1]=arguments[o];var i=n.createLocation.apply(n,[d(t,t.query)].concat(r));return t.query&&(i.query=(0,a.createQuery)(t.query)),l(i)}})}};e.default=l},695:function(t,e,n){"use strict";function r(t){switch(t.arrayFormat){case"index":return function(e,n,r){return null===n?[i(e,t),"[",r,"]"].join(""):[i(e,t),"[",i(r,t),"]=",i(n,t)].join("")};case"bracket":return function(e,n){return null===n?i(e,t):[i(e,t),"[]=",i(n,t)].join("")};default:return function(e,n){return null===n?i(e,t):[i(e,t),"=",i(n,t)].join("")}}}function o(t){var e;switch(t.arrayFormat){case"index":return function(t,n,r){if(e=/\[(\d*)\]$/.exec(t),t=t.replace(/\[\d*\]$/,""),!e)return void(r[t]=n);void 0===r[t]&&(r[t]={}),r[t][e[1]]=n};case"bracket":return function(t,n,r){return e=/(\[\])$/.exec(t),t=t.replace(/\[\]$/,""),e?void 0===r[t]?void(r[t]=[n]):void(r[t]=[].concat(r[t],n)):void(r[t]=n)};default:return function(t,e,n){if(void 0===n[t])return void(n[t]=e);n[t]=[].concat(n[t],e)}}}function i(t,e){return e.encode?e.strict?a(t):encodeURIComponent(t):t}function u(t){return Array.isArray(t)?t.sort():"object"===typeof t?u(Object.keys(t)).sort(function(t,e){return Number(t)-Number(e)}).map(function(e){return t[e]}):t}var a=n(696),c=n(97);e.extract=function(t){return t.split("?")[1]||""},e.parse=function(t,e){e=c({arrayFormat:"none"},e);var n=o(e),r=Object.create(null);return"string"!==typeof t?r:(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach(function(t){var e=t.replace(/\+/g," ").split("="),o=e.shift(),i=e.length>0?e.join("="):void 0;i=void 0===i?null:decodeURIComponent(i),n(decodeURIComponent(o),i,r)}),Object.keys(r).sort().reduce(function(t,e){var n=r[e];return Boolean(n)&&"object"===typeof n&&!Array.isArray(n)?t[e]=u(n):t[e]=n,t},Object.create(null))):r},e.stringify=function(t,e){e=c({encode:!0,strict:!0,arrayFormat:"none"},e);var n=r(e);return t?Object.keys(t).sort().map(function(r){var o=t[r];if(void 0===o)return"";if(null===o)return i(r,e);if(Array.isArray(o)){var u=[];return o.slice().forEach(function(t){void 0!==t&&u.push(n(r,t,u.length))}),u.join("&")}return i(r,e)+"="+i(o,e)}).filter(function(t){return t.length>0}).join("&"):""}},696:function(t,e,n){"use strict";t.exports=function(t){return encodeURIComponent(t).replace(/[!'()*]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}},697:function(t,e,n){!function(e,r){t.exports=r(n(11))}(0,function(t){return 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={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,e,n){Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},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=4)}([function(e,n){e.exports=t},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(2);Object.keys(r).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return r[t]}})});var o=n(3);Object.keys(o).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return o[t]}})})},function(t,e,n){"use strict";function r(t,e,n,r){n&&Object.defineProperty(t,e,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(r):void 0})}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e,n,r,o){var i={};return Object.keys(r).forEach(function(t){i[t]=r[t]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce(function(n,r){return r(t,e,n)||n},i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(t,e,i),i=null),i}Object.defineProperty(e,"__esModule",{value:!0}),e.RouterStore=void 0;var u,a,c=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),f=n(0);e.RouterStore=(u=function(){function t(){o(this,t),r(this,"location",a,this),this.history=null,this.push=this.push.bind(this),this.replace=this.replace.bind(this),this.go=this.go.bind(this),this.goBack=this.goBack.bind(this),this.goForward=this.goForward.bind(this)}return c(t,[{key:"_updateLocation",value:function(t){this.location=t}},{key:"push",value:function(t){this.history.push(t)}},{key:"replace",value:function(t){this.history.replace(t)}},{key:"go",value:function(t){this.history.go(t)}},{key:"goBack",value:function(){this.history.goBack()}},{key:"goForward",value:function(){this.history.goForward()}}]),t}(),a=i(u.prototype,"location",[f.observable],{enumerable:!0,initializer:function(){return null}}),i(u.prototype,"_updateLocation",[f.action],Object.getOwnPropertyDescriptor(u.prototype,"_updateLocation"),u.prototype),u)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.syncHistoryWithStore=void 0;var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o=n(0);e.syncHistoryWithStore=function(t,e){e.history=t;var n=function(t){e._updateLocation(t)},i=t.listen(n);return n(t.getCurrentLocation()),r({},t,{listen:function(t){var n=function(n){t(e.location)},r=(0,o.observe)(e,"location",n);return t(e.location),function(){r()}},unsubscribe:function(){i()}})}},function(t,e,n){t.exports=n(1)}])})},698:function(t,e){t.exports=i},74:function(t,e,n){"use strict";var r=function(t,e,n,r,o,i,u,a){if(!t){var c;if(void 0===e)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var f=[n,r,o,i,u,a],s=0;c=new Error(e.replace(/%s/g,function(){return f[s++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}};t.exports=r},75:function(t,e,n){"use strict";e.__esModule=!0;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.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.supportsGoWithoutReloadUsingHash=function(){return-1===window.navigator.userAgent.indexOf("Firefox")},e.supportsPopstateOnHashchange=function(){return-1===window.navigator.userAgent.indexOf("Trident")},e.isExtraneousPopstateEvent=function(t){return void 0===t.state&&-1===navigator.userAgent.indexOf("CriOS")}},76:function(t,e){t.exports=r},77:function(t,e,n){t.exports=!n(19)&&!n(27)(function(){return 7!=Object.defineProperty(n(61)("div"),"a",{get:function(){return 7}}).a})},78:function(t,e,n){var r=n(26),o=n(28),i=n(112)(!1),u=n(59)("IE_PROTO");t.exports=function(t,e){var n,a=o(t),c=0,f=[];for(n in a)n!=u&&r(a,n)&&f.push(n);for(;e.length>c;)r(a,n=e[c++])&&(~i(f,n)||f.push(n));return f}},97:function(t,e,n){"use strict";function r(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}var o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(t){r[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var n,a,c=r(t),f=1;f<arguments.length;f++){n=Object(arguments[f]);for(var s in n)i.call(n,s)&&(c[s]=n[s]);if(o){a=o(n);for(var l=0;l<a.length;l++)u.call(n,a[l])&&(c[a[l]]=n[a[l]])}}return c}}})});
//# sourceMappingURL=index4single.js.map?v=e29da9c5