From 9cbc111bd0470bc1bbac6ca0391a935ec62bec4b Mon Sep 17 00:00:00 2001 From: bplok20010 <505931977@qq.com> Date: Wed, 5 Aug 2020 11:54:11 +0800 Subject: [PATCH] v1.0 --- README.md | 253 ++++++++++++++++++++++- docs/asset-manifest.json | 7 + docs/index.html | 1 + docs/static/css/index.4ca12b27.chunk.css | 1 + docs/static/js/2.b694e620.chunk.js | 1 + docs/static/js/index.4ca12b27.chunk.js | 1 + docs/static/js/runtime-index.92eae014.js | 1 + package-lock.json | 11 +- src/index.tsx | 28 ++- style/package.json | 2 +- 10 files changed, 288 insertions(+), 18 deletions(-) create mode 100644 docs/asset-manifest.json create mode 100644 docs/index.html create mode 100644 docs/static/css/index.4ca12b27.chunk.css create mode 100644 docs/static/js/2.b694e620.chunk.js create mode 100644 docs/static/js/index.4ca12b27.chunk.js create mode 100644 docs/static/js/runtime-index.92eae014.js diff --git a/README.md b/README.md index 62cfb3c..6b1a090 100644 --- a/README.md +++ b/README.md @@ -1 +1,252 @@ -# tooltip \ No newline at end of file +# tooltip + +Tooltip组件 + +## 安装 + +`npm install --save react-widget-tooltip` + + +## 使用 + +[![Edit elated-montalcini-7mici](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/elated-montalcini-7mici?fontsize=14&hidenavigation=1&theme=dark) + +```js +import React from "react"; +import Tooltip from "react-widget-tooltip"; +import "react-widget-tooltip/style"; +import "./styles.css"; + +export default function App() { + return ( +
+ + + +
+ ); +} + +``` + +### Interfaces + +```ts +export interface TooltipProps extends Omit { + /** 提示文字 */ + title?: React.ReactNode | (() => React.ReactNode); + /** 提示框位置,可选 top left right bottom topLeft topRight bottomLeft bottomRight leftTop leftBottom rightTop rightBottom */ + placement?: TriggerProps["placement"]; + /** 默认是否显隐 */ + defaultVisible?: boolean; + /** 用于手动控制浮层显隐,受控 */ + visible?: boolean; + /** 触发行为,可选 "click" | "contextMenu" | "focus" | "hover" 可使用数组设置多个触发行为 */ + trigger?: TriggerProps["action"]; + /** 提示框偏移量 */ + offset?: number; + /** 是否显示提示箭头 */ + visibleArrow?: boolean; + /** 箭头大小,默认为:6 */ + arrowSize?: number; + /** 箭头保持在中间 */ + keepArrowAtCenter?: boolean; + /** 关闭后是否销毁 */ + destroyTooltipOnHide?: boolean; + /** 提示动画,参考 react-transition-group*/ + transition?: TriggerProps["popupTransition"]; + /** 显示隐藏的回调 */ + onVisibleChange?: (visible: boolean) => void; +} +``` + +其他参数 [trigger](https://github.com/react-widget/trigger) + +### defaultProps +```js +{ + prefixCls: "rw-tooltip", + placement: "top", + defaultVisible: false, + visibleArrow: true, + keepArrowAtCenter: false, + destroyTooltipOnHide: true, + arrowSize: 6, + offset: 0, + delay: 100, + trigger: ["hover"], + outsideHideEventName: ["mousedown", "click"], + transition: { + classNames: { + appear: "tooltip-animated", + appearActive: "tooltip-fade-in", + appearDone: "", + enter: "tooltip-animated", + enterActive: "tooltip-fade-in", + enterDone: "", + exit: "tooltip-animated", + exitActive: "tooltip-fade-out", + exitDone: "", + }, + timeout: 300, + }, +} +``` + +### 基础样式 + +```css +.rw-tooltip-root { + position: absolute; + left: 0; + right: 0; + top: 0; +} + +.rw-tooltip { + position: absolute; + left: 0; + top: 0; + font-size: 14px; + z-index: 2000; +} + +.rw-tooltip-mask { + position: fixed; + left: 0; + top: 0; + right: 0; + bottom: 0; + background: #000; + opacity: 0.1; + z-index: 2000; +} + +.rw-tooltip-inner { + position: relative; + min-width: 30px; + min-height: 32px; + padding: 6px 8px; + color: #fff; + text-align: left; + text-decoration: none; + word-wrap: break-word; + background-color: rgba(0, 0, 0, 0.9); + border-radius: 2px; + box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05); + box-sizing: border-box; +} + +.rw-tooltip-arrow { + position: absolute; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; + + box-sizing: border-box; +} + +.rw-tooltip-placement-top > .rw-tooltip-arrow, +.rw-tooltip-placement-top-left > .rw-tooltip-arrow, +.rw-tooltip-placement-top-right > .rw-tooltip-arrow { + bottom: -5px; + border-width: 5px 5px 0; + border-top-color: rgba(0, 0, 0, 0.9); +} + +.rw-tooltip-placement-bottom > .rw-tooltip-arrow, +.rw-tooltip-placement-bottom-left > .rw-tooltip-arrow, +.rw-tooltip-placement-bottom-right > .rw-tooltip-arrow { + top: -5px; + border-width: 0 5px 5px; + border-bottom-color: rgba(0, 0, 0, 0.9); +} + +.rw-tooltip-placement-left > .rw-tooltip-arrow, +.rw-tooltip-placement-left-top > .rw-tooltip-arrow, +.rw-tooltip-placement-left-bottom > .rw-tooltip-arrow { + right: -5px; + border-width: 5px 0 5px 5px; + border-left-color: rgba(0, 0, 0, 0.9); +} + +.rw-tooltip-placement-right > .rw-tooltip-arrow, +.rw-tooltip-placement-right-top > .rw-tooltip-arrow, +.rw-tooltip-placement-right-bottom > .rw-tooltip-arrow { + left: -5px; + border-width: 5px 5px 5px 0; + border-right-color: rgba(0, 0, 0, 0.9); +} + +.rw-tooltip-placement-top-left > .rw-tooltip-arrow, +.rw-tooltip-placement-bottom-left > .rw-tooltip-arrow { + left: 16px; +} + +.rw-tooltip-placement-top > .rw-tooltip-arrow, +.rw-tooltip-placement-bottom > .rw-tooltip-arrow { + left: 50%; + margin-left: -5px; +} + +.rw-tooltip-placement-top-right > .rw-tooltip-arrow, +.rw-tooltip-placement-bottom-right > .rw-tooltip-arrow { + right: 16px; +} + +.rw-tooltip-placement-left-top > .rw-tooltip-arrow, +.rw-tooltip-placement-right-top > .rw-tooltip-arrow { + top: 8px; +} + +.rw-tooltip-placement-left > .rw-tooltip-arrow, +.rw-tooltip-placement-right > .rw-tooltip-arrow { + top: 50%; + margin-top: -5px; +} + +.rw-tooltip-placement-left-bottom > .rw-tooltip-arrow, +.rw-tooltip-placement-right-bottom > .rw-tooltip-arrow { + bottom: 8px; +} + +.tooltip-animated { + animation-duration: 0.3s; +} + +.tooltip-fade-in { + animation-name: TooltipFadeIn; +} + +.tooltip-fade-out { + animation-name: TooltipFadeOut; +} + +@keyframes TooltipFadeIn { + from { + opacity: 0; + } + + to { + opacity: 1; + } +} +@keyframes TooltipFadeOut { + from { + opacity: 1; + } + + to { + opacity: 0; + } +} + +``` diff --git a/docs/asset-manifest.json b/docs/asset-manifest.json new file mode 100644 index 0000000..8f1fbcf --- /dev/null +++ b/docs/asset-manifest.json @@ -0,0 +1,7 @@ +{ + "index.css": "static/css/index.4ca12b27.chunk.css", + "index.js": "static/js/index.4ca12b27.chunk.js", + "runtime-index.js": "static/js/runtime-index.92eae014.js", + "static/js/2.b694e620.chunk.js": "static/js/2.b694e620.chunk.js", + "index.html": "index.html" +} \ No newline at end of file diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 0000000..0249b46 --- /dev/null +++ b/docs/index.html @@ -0,0 +1 @@ +Tooltip
\ No newline at end of file diff --git a/docs/static/css/index.4ca12b27.chunk.css b/docs/static/css/index.4ca12b27.chunk.css new file mode 100644 index 0000000..884dd16 --- /dev/null +++ b/docs/static/css/index.4ca12b27.chunk.css @@ -0,0 +1 @@ +.container{display:flex;height:100%}.slider{width:200px;border-right:1px solid #f2f2fe}.slider>div{padding:10px;border-bottom:1px solid #f2f2fe;cursor:pointer}.slider .active{background:#39f;color:#fff}.content{overflow:auto;padding:10px;flex:1 1}.upload-test{width:400px;margin:0 auto}.upload1{border:2px dashed #ececec;border-radius:5px;height:100px;line-height:96px;position:relative}.tips,.upload1{text-align:center}.tips{position:absolute;bottom:0;left:0;right:0;padding:30px}.upload2{margin-top:20px;text-align:center}.upload2 button{width:100%;padding:8px}button{line-height:26px}.animated{animation-duration:.3s;animation-fill-mode:both}.animated.infinite{animation-iteration-count:infinite}.animated.delay500{animation-delay:.5s}@keyframes fadeIn{0%{opacity:0}to{opacity:.1}}.fadeIn{animation-name:fadeIn}@keyframes fadeOut{0%{opacity:.1}to{opacity:0}}.fadeOut{animation-name:fadeOut}@keyframes fadeInDown{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.fadeInDown{animation-name:fadeInDown}@keyframes fadeBottomIn{0%{opacity:0;transform:translateY(20%)}to{opacity:1;transform:translateY(0)}}.fadeBottomIn{animation-name:fadeBottomIn}@keyframes fadeBottomOut{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(20%)}}.fadeBottomOut{animation-name:fadeBottomOut}@keyframes fadeInTop{0%{opacity:0;transform:translate3d(0,20px,0)}to{opacity:1;transform:translateZ(0)}}.fadeInTop{animation-name:fadeInTop}@keyframes fadeInRight{0%{opacity:0;transform:translate3d(20px,0,0)}to{opacity:1;transform:translateZ(0)}}.fadeInRight{animation-name:fadeInRight}@keyframes fadeOutLeft{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(-20px,0,0)}}.fadeOutLeft{animation-name:fadeOutLeft}@keyframes k-loadingF{0%{opacity:0}to{opacity:1}}.k-letter{animation-name:k-loadingF;animation-iteration-count:infinite;animation-direction:linear;display:inline-block}@keyframes cycle-loader{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.cycle-loading{display:inline-block;border-radius:50%;position:relative;border-style:solid;animation:cycle-loader 1.1s linear infinite}.rw-tooltip-root{right:0}.rw-tooltip,.rw-tooltip-root{position:absolute;left:0;top:0}.rw-tooltip{font-size:14px;z-index:2000}.rw-tooltip-mask{position:fixed;left:0;top:0;right:0;bottom:0;background:#000;opacity:.1;z-index:2000}.rw-tooltip-inner{position:relative;min-width:30px;min-height:32px;padding:6px 8px;color:#fff;text-align:left;text-decoration:none;word-wrap:break-word;background-color:rgba(0,0,0,.9);border-radius:2px;box-shadow:0 3px 6px -4px rgba(0,0,0,.12),0 6px 16px 0 rgba(0,0,0,.08),0 9px 28px 8px rgba(0,0,0,.05);box-sizing:border-box}.rw-tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid;box-sizing:border-box}.rw-tooltip-placement-top-left>.rw-tooltip-arrow,.rw-tooltip-placement-top-right>.rw-tooltip-arrow,.rw-tooltip-placement-top>.rw-tooltip-arrow{bottom:-5px;border-width:5px 5px 0;border-top-color:rgba(0,0,0,.9)}.rw-tooltip-placement-bottom-left>.rw-tooltip-arrow,.rw-tooltip-placement-bottom-right>.rw-tooltip-arrow,.rw-tooltip-placement-bottom>.rw-tooltip-arrow{top:-5px;border-width:0 5px 5px;border-bottom-color:rgba(0,0,0,.9)}.rw-tooltip-placement-left-bottom>.rw-tooltip-arrow,.rw-tooltip-placement-left-top>.rw-tooltip-arrow,.rw-tooltip-placement-left>.rw-tooltip-arrow{right:-5px;border-width:5px 0 5px 5px;border-left-color:rgba(0,0,0,.9)}.rw-tooltip-placement-right-bottom>.rw-tooltip-arrow,.rw-tooltip-placement-right-top>.rw-tooltip-arrow,.rw-tooltip-placement-right>.rw-tooltip-arrow{left:-5px;border-width:5px 5px 5px 0;border-right-color:rgba(0,0,0,.9)}.rw-tooltip-placement-bottom-left>.rw-tooltip-arrow,.rw-tooltip-placement-top-left>.rw-tooltip-arrow{left:16px}.rw-tooltip-placement-bottom>.rw-tooltip-arrow,.rw-tooltip-placement-top>.rw-tooltip-arrow{left:50%;margin-left:-5px}.rw-tooltip-placement-bottom-right>.rw-tooltip-arrow,.rw-tooltip-placement-top-right>.rw-tooltip-arrow{right:16px}.rw-tooltip-placement-left-top>.rw-tooltip-arrow,.rw-tooltip-placement-right-top>.rw-tooltip-arrow{top:8px}.rw-tooltip-placement-left>.rw-tooltip-arrow,.rw-tooltip-placement-right>.rw-tooltip-arrow{top:50%;margin-top:-5px}.rw-tooltip-placement-left-bottom>.rw-tooltip-arrow,.rw-tooltip-placement-right-bottom>.rw-tooltip-arrow{bottom:8px}.tooltip-animated{animation-duration:.3s}.tooltip-fade-in{animation-name:TooltipFadeIn}.tooltip-fade-out{animation-name:TooltipFadeOut}@keyframes TooltipFadeIn{0%{opacity:0}to{opacity:1}}@keyframes TooltipFadeOut{0%{opacity:1}to{opacity:0}} \ No newline at end of file diff --git a/docs/static/js/2.b694e620.chunk.js b/docs/static/js/2.b694e620.chunk.js new file mode 100644 index 0000000..8cfefe2 --- /dev/null +++ b/docs/static/js/2.b694e620.chunk.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[2],[function(e,t,n){"use strict";e.exports=n(116)},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t,n){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}}(),e.exports=n(117)},function(e,t,n){"use strict";var r=n(20);function o(e,t){return function(e){var t=Object(r.a)(e);return t&&t.defaultView||window}(e).getComputedStyle(e,t)}var i=/([A-Z])/g;var l=/^ms-/;function a(e){return function(e){return e.replace(i,"-$1").toLowerCase()}(e).replace(l,"-ms-")}var u=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;t.a=function(e,t){var n="",r="";if("string"===typeof t)return e.style.getPropertyValue(a(t))||o(e).getPropertyValue(a(t));Object.keys(t).forEach((function(o){var i=t[o];i||0===i?!function(e){return!(!e||!u.test(e))}(o)?n+=a(o)+": "+i+";":r+=o+"("+i+") ":e.style.removeProperty(a(o))})),r&&(n+="transform: "+r+";"),e.style.cssText+=";"+n}},function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")()}).call(this,n(84))},function(e,t,n){var r=n(5),o=n(51),i=n(10),l=n(54),a=n(55),u=n(85),s=o("wks"),c=r.Symbol,f=u?c:c&&c.withoutSetter||l;e.exports=function(e){return i(s,e)||(a&&i(c,e)?s[e]=c[e]:s[e]=f("Symbol."+e)),s[e]}},function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},function(e,t){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},function(e,t,n){"use strict";function r(e){return e&&e.ownerDocument||document}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(26),o=n(20),i=n(22);function l(e){var t="pageXOffset"===e?"scrollLeft":"scrollTop";return function(n,r){var o=Object(i.a)(n);if(void 0===r)return o?o[e]:n[t];o?o.scrollTo(o[e],r):n[t]=r}}var a=l("pageXOffset"),u=l("pageYOffset");function s(e){var t=Object(o.a)(e),n={top:0,left:0,height:0,width:0},i=t&&t.documentElement;return i&&Object(r.a)(i,e)?(void 0!==e.getBoundingClientRect&&(n=e.getBoundingClientRect()),n={top:n.top+u(i)-(i.clientTop||0),left:n.left+a(i)-(i.clientLeft||0),width:n.width,height:n.height}):n}var c=n(4),f=n(32);function p(e,t){var n,r={top:0,left:0};if("fixed"===Object(c.a)(e,"position"))n=e.getBoundingClientRect();else{var i=t||function(e){for(var t,n=Object(o.a)(e),r=e&&e.offsetParent;(t=r)&&"offsetParent"in t&&"HTML"!==r.nodeName&&"static"===Object(c.a)(r,"position");)r=r.offsetParent;return r||n.documentElement}(e);n=s(e),"html"!==function(e){return e.nodeName&&e.nodeName.toLowerCase()}(i)&&(r=s(i));var l=String(Object(c.a)(i,"borderTopWidth")||0);r.top+=parseInt(l,10)-u(i)||0;var p=String(Object(c.a)(i,"borderLeftWidth")||0);r.left+=parseInt(p,10)-a(i)||0}var d=String(Object(c.a)(e,"marginTop")||0),h=String(Object(c.a)(e,"marginLeft")||0);return Object(f.a)({},n,{top:n.top-r.top-(parseInt(d,10)||0),left:n.left-r.left-(parseInt(h,10)||0)})}t.a=function(e,t){if(!t)return s(e);var n,r,o,i,l,a,u=Object(c.a)(e,"position"),f={},d={};"static"===u&&(e.style.position="relative"),l=s(e),o=Object(c.a)(e,"top"),a=Object(c.a)(e,"left"),("absolute"===u||"fixed"===u)&&(o+a).indexOf("auto")>-1?(i=(n=p(e)).top,r=n.left):(i=parseFloat(o)||0,r=parseFloat(a)||0),null!=t.top&&(d.top=t.top-l.top+i,f.top=d.top+"px"),null!=t.left&&(d.left=t.left-l.left+r,f.left=d.left+"px"),t.using?t.using(d):Object(c.a)(e,f)}},function(e,t,n){"use strict";function r(e){return"window"in e&&e.window===e?e:"nodeType"in(t=e)&&t.nodeType===document.DOCUMENT_NODE&&e.defaultView||!1;var t}n.d(t,"a",(function(){return r}))},function(e,t){e.exports=!1},function(e,t){e.exports={}},function(e,t,n){var r=n(5),o=n(16),i=n(10),l=n(35),a=n(42),u=n(41),s=u.get,c=u.enforce,f=String(String).split("String");(e.exports=function(e,t,n,a){var u=!!a&&!!a.unsafe,s=!!a&&!!a.enumerable,p=!!a&&!!a.noTargetGet;"function"==typeof n&&("string"!=typeof t||i(n,"name")||o(n,"name",t),c(n).source=f.join("string"==typeof t?t:"")),e!==r?(u?!p&&e[t]&&(s=!0):delete e[t],s?e[t]=n:o(e,t,n)):s?e[t]=n:l(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&s(this).source||a(this)}))},function(e,t,n){"use strict";function r(e,t){return e.contains?e.contains(t):e.compareDocumentPosition?e===t||!!(16&e.compareDocumentPosition(t)):void 0}n.d(t,"a",(function(){return r}))},function(e,t,n){var r=n(34),o=n(50);e.exports=function(e){return r(o(e))}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(59),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(50);e.exports=function(e){return Object(r(e))}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t=74)&&(r=l.match(/Chrome\/(\d+)/))&&(o=r[1]),e.exports=o&&+o},function(e,t,n){"use strict";var r=n(18),o=n(7),i=n(74),l=n(11),a=n(30),u=n(29),s=n(123),c=n(75),f=n(76),p=n(6),d=n(46),h=p("isConcatSpreadable"),m=d>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),v=f("concat"),y=function(e){if(!l(e))return!1;var t=e[h];return void 0!==t?!!t:i(e)};r({target:"Array",proto:!0,forced:!m||!v},{concat:function(e){var t,n,r,o,i,l=a(this),f=c(l,0),p=0;for(t=-1,r=arguments.length;t9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n=9007199254740991)throw TypeError("Maximum allowed index exceeded");s(f,p++,i)}return f.length=p,f}})},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t,n){"use strict";n.d(t,"b",(function(){return ye}));var r=n(9),o=n.n(r),i=n(2),l=n.n(i),a=n(8),u=n.n(a),s=n(1),c=n.n(s),f=n(0),p=n.n(f),d=n(3),h=n.n(d),m=n(19),v=n.n(m),y=(n(78),n(48),n(33)),g=n.n(y),b=p.a.createContext(null);function w(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}function x(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}n(77);var k=!1,E="exited",T=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=E,r.appearStatus="entering"):o="entered":o=t.unmountOnExit||t.mountOnEnter?"unmounted":E,r.state={status:o},r.nextCallback=null,r}x(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&"unmounted"===t.status?{status:E}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?"entering"!==n&&"entered"!==n&&(t="entering"):"entering"!==n&&"entered"!==n||(t="exiting")}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!==typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),"entering"===t?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===E&&this.setState({status:"unmounted"})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[h.a.findDOMNode(this),r],i=o[0],l=o[1],a=this.getTimeouts(),u=r?a.appear:a.enter;!e&&!n||k?this.safeSetState({status:"entered"},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,l),this.safeSetState({status:"entering"},(function(){t.props.onEntering(i,l),t.onTransitionEnd(u,(function(){t.safeSetState({status:"entered"},(function(){t.props.onEntered(i,l)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:h.a.findDOMNode(this);t&&!k?(this.props.onExit(r),this.safeSetState({status:"exiting"},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:E},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:E},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:h.a.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],l=o[1];this.props.addEndListener(i,l)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if("unmounted"===e)return null;var t=this.props,n=t.children,r=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,w(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return p.a.createElement(b.Provider,{value:null},"function"===typeof n?n(e,r):p.a.cloneElement(p.a.Children.only(n),r))},t}(p.a.Component);function S(){}T.contextType=b,T.propTypes={},T.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:S,onEntering:S,onEntered:S,onExit:S,onExiting:S,onExited:S},T.UNMOUNTED="unmounted",T.EXITED=E,T.ENTERING="entering",T.ENTERED="entered",T.EXITING="exiting";var C=T,_=n(32);function P(e,t){e.classList?e.classList.add(t):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(e,t)||("string"===typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function O(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function N(e,t){e.classList?e.classList.remove(t):"string"===typeof e.className?e.className=O(e.className,t):e.setAttribute("class",O(e.className&&e.className.baseVal||"",t))}var M=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return N(e,t)}))},j=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;oi?a>0&&u<=0?(n=e.left+a+t.collisionWidth-i-o,e.left+=a-n):e.left=u>0&&a<=0?o:a>u?o+i-t.collisionWidth:o:a>0?e.left+=a:u>0?e.left-=u:e.left=Z(e.left-l,e.left)},top:function(e,t){var n,r=t.within,o=r.isWindow?r.scrollTop:r.offset.top,i=t.within.height,l=e.top-t.collisionPosition.marginTop,a=o-l,u=l+t.collisionHeight-i-o;t.collisionHeight>i?a>0&&u<=0?(n=e.top+a+t.collisionHeight-i-o,e.top+=a-n):e.top=u>0&&a<=0?o:a>u?o+i-t.collisionHeight:o:a>0?e.top+=a:u>0?e.top-=u:e.top=Z(e.top-l,e.top)}},flip:{left:function(e,t){var n,r,o=t.within,i=o.offset.left+o.scrollLeft,l=o.width,a=o.isWindow?o.scrollLeft:o.offset.left,u=e.left-t.collisionPosition.marginLeft,s=u-a,c=u+t.collisionWidth-l-a,f="left"===t.my[0]?-t.elemWidth:"right"===t.my[0]?t.elemWidth:0,p="left"===t.at[0]?t.targetWidth:"right"===t.at[0]?-t.targetWidth:0,d=-2*t.offset[0];s<0?((n=e.left+f+p+d+t.collisionWidth-l-i)<0||n0&&((r=e.left-t.collisionPosition.marginLeft+f+p+d-a)>0||J(r)0&&((n=e.top-t.collisionPosition.marginTop+p+d+h-a)>0||J(n)0?"right":"center",vertical:s<0?"top":a>0?"bottom":"middle",important:"vertical",at:k,my:E};rZ(J(a),J(s))?c.important="horizontal":c.important="vertical",t.using.call(this,e,c)}}d.offset(G.extend(w,a?{using:a}:{}))}))}function fe(e,t){return ce(G(e),t)}function pe(e){return!!e&&("object"===typeof e||"function"===typeof e)&&"function"===typeof e.then}var de=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o0?"+"+r:r),o&&(t+=o>0?"+"+o:o),[e,t].join(" ")}var ve={left:function(e){return{at:me("left","center",e),my:"right center"}},top:function(e){return{at:me("center","top",e),my:"center bottom"}},right:function(e){return{at:me("right","center",e),my:"left center"}},bottom:function(e){return{at:me("center","bottom",e),my:"center top"}},topLeft:function(e){return{at:me("left","top",e),my:"left bottom"}},topRight:function(e){return{at:me("right","top",e),my:"right bottom"}},leftTop:function(e){return{at:me("left","top",e),my:"right top"}},leftBottom:function(e){return{at:me("left","bottom",e),my:"right bottom"}},rightTop:function(e){return{at:me("right","top",e),my:"left top"}},rightBottom:function(e){return{at:me("right","bottom",e),my:"left bottom"}},bottomLeft:function(e){return{at:me("left","bottom",e),my:"left top"}},bottomRight:function(e){return{at:me("right","bottom",e),my:"right top"}}};function ye(e){return{center_top_center_bottom:"top",left_top_left_bottom:"top-left",right_top_right_bottom:"top-right",center_bottom_center_top:"bottom",left_bottom_left_top:"bottom-left",right_bottom_right_top:"bottom-right",left_center_right_center:"left",left_top_right_top:"left-top",left_bottom_right_bottom:"left-bottom",right_center_left_center:"right",right_top_left_top:"right-top",right_bottom_left_bottom:"right-bottom"}[e.at.join("_")+"_"+e.my.join("_")]}var ge=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o"+e+"<\/script>"},h=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(t){}h=r?function(e){e.write(d("")),e.close();var t=e.parentWindow.Object;return e=null,t}(r):function(){var e,t=s("iframe");return t.style.display="none",u.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F}();for(var e=l.length;e--;)delete h.prototype[l[e]];return h()};a[f]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(p.prototype=o(e),n=new p,p.prototype=null,n[f]=e):n=h(),void 0===t?n:i(n,t)}},function(e,t,n){var r=n(58),o=n(39);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){var r=n(10),o=n(27),i=n(87).indexOf,l=n(38);e.exports=function(e,t){var n,a=o(e),u=0,s=[];for(n in a)!r(l,n)&&r(a,n)&&s.push(n);for(;t.length>u;)r(a,n=t[u++])&&(~i(s,n)||s.push(n));return s}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(17);e.exports=r("document","documentElement")},function(e,t,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:r},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(7),o=/#|\.prototype\./,i=function(e,t){var n=a[l(e)];return n==s||n!=u&&("function"==typeof t?r(t):!!t)},l=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},a=i.data={},u=i.NATIVE="N",s=i.POLYFILL="P";e.exports=i},function(e,t,n){"use strict";var r,o,i,l=n(65),a=n(16),u=n(10),s=n(6),c=n(23),f=s("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=l(l(i)))!==Object.prototype&&(r=o):p=!0),void 0==r&&(r={}),c||u(r,f)||a(r,f,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},function(e,t,n){var r=n(10),o=n(30),i=n(40),l=n(96),a=i("IE_PROTO"),u=Object.prototype;e.exports=l?Object.getPrototypeOf:function(e){return e=o(e),r(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?u:null}},function(e,t,n){var r=n(5);e.exports=r.Promise},function(e,t,n){var r=n(12),o=n(31),i=n(6)("species");e.exports=function(e,t){var n,l=r(e).constructor;return void 0===l||void 0==(n=r(l)[i])?t:o(n)}},function(e,t,n){var r,o,i,l=n(5),a=n(7),u=n(15),s=n(45),c=n(60),f=n(36),p=n(69),d=l.location,h=l.setImmediate,m=l.clearImmediate,v=l.process,y=l.MessageChannel,g=l.Dispatch,b=0,w={},x=function(e){if(w.hasOwnProperty(e)){var t=w[e];delete w[e],t()}},k=function(e){return function(){x(e)}},E=function(e){x(e.data)},T=function(e){l.postMessage(e+"",d.protocol+"//"+d.host)};h&&m||(h=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return w[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(b),b},m=function(e){delete w[e]},"process"==u(v)?r=function(e){v.nextTick(k(e))}:g&&g.now?r=function(e){g.now(k(e))}:y&&!p?(i=(o=new y).port2,o.port1.onmessage=E,r=s(i.postMessage,i,1)):!l.addEventListener||"function"!=typeof postMessage||l.importScripts||a(T)||"file:"===d.protocol?r="onreadystatechange"in f("script")?function(e){c.appendChild(f("script")).onreadystatechange=function(){c.removeChild(this),x(e)}}:function(e){setTimeout(k(e),0)}:(r=T,l.addEventListener("message",E,!1))),e.exports={set:h,clear:m}},function(e,t,n){var r=n(70);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},function(e,t,n){var r=n(17);e.exports=r("navigator","userAgent")||""},function(e,t,n){var r=n(12),o=n(11),i=n(72);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){"use strict";var r=n(31),o=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new o(e)}},function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function l(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(o){return!1}}()?Object.assign:function(e,t){for(var n,a,u=l(e),s=1;s=51||!r((function(){var t=[];return(t.constructor={})[l]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},function(e,t,n){e.exports=n(129)()},function(e,t,n){var r=n(128),o=n(2);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!==typeof t?o(e):t}},,,function(e,t,n){"use strict";n(82),n(99),n(113),n(114)},function(e,t,n){"use strict";var r=n(27),o=n(83),i=n(24),l=n(41),a=n(91),u=l.set,s=l.getterFor("Array Iterator");e.exports=a(Array,"Array",(function(e,t){u(this,{type:"Array Iterator",target:r(e),index:0,kind:t})}),(function(){var e=s(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(e,t,n){var r=n(6),o=n(56),i=n(14),l=r("unscopables"),a=Array.prototype;void 0==a[l]&&i.f(a,l,{configurable:!0,value:o(null)}),e.exports=function(e){a[l][e]=!0}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(55);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,n){var r=n(13),o=n(14),i=n(12),l=n(57);e.exports=r?Object.defineProperties:function(e,t){i(e);for(var n,r=l(t),a=r.length,u=0;a>u;)o.f(e,n=r[u++],t[n]);return e}},function(e,t,n){var r=n(27),o=n(29),i=n(88),l=function(e){return function(t,n,l){var a,u=r(t),s=o(u.length),c=i(l,s);if(e&&n!=n){for(;s>c;)if((a=u[c++])!=a)return!0}else for(;s>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:l(!0),indexOf:l(!1)}},function(e,t,n){var r=n(59),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},function(e,t,n){var r=n(5);e.exports=r},function(e,t,n){var r=n(5),o=n(42),i=r.WeakMap;e.exports="function"===typeof i&&/native code/.test(o(i))},function(e,t,n){"use strict";var r=n(18),o=n(95),i=n(65),l=n(97),a=n(44),u=n(16),s=n(25),c=n(6),f=n(23),p=n(24),d=n(64),h=d.IteratorPrototype,m=d.BUGGY_SAFARI_ITERATORS,v=c("iterator"),y=function(){return this};e.exports=function(e,t,n,c,d,g,b){o(n,t,c);var w,x,k,E=function(e){if(e===d&&P)return P;if(!m&&e in C)return C[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},T=t+" Iterator",S=!1,C=e.prototype,_=C[v]||C["@@iterator"]||d&&C[d],P=!m&&_||E(d),O="Array"==t&&C.entries||_;if(O&&(w=i(O.call(new e)),h!==Object.prototype&&w.next&&(f||i(w)===h||(l?l(w,h):"function"!=typeof w[v]&&u(w,v,y)),a(w,T,!0,!0),f&&(p[T]=y))),"values"==d&&_&&"values"!==_.name&&(S=!0,P=function(){return _.call(this)}),f&&!b||C[v]===P||u(C,v,P),p[t]=P,d)if(x={values:E("values"),keys:g?P:E("keys"),entries:E("entries")},b)for(k in x)(m||S||!(k in C))&&s(C,k,x[k]);else r({target:t,proto:!0,forced:m||S},x);return x}},function(e,t,n){var r=n(10),o=n(93),i=n(43),l=n(14);e.exports=function(e,t){for(var n=o(t),a=l.f,u=i.f,s=0;s=51&&/native code/.test(A))return!1;var e=A.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[I]=t,!(e.then((function(){}))instanceof t)})),Y=K||!k((function(e){A.all(e).catch((function(){}))})),X=function(e){var t;return!(!v(e)||"function"!=typeof(t=e.then))&&t},G=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;S((function(){for(var o=t.value,i=1==t.state,l=0;r.length>l;){var a,u,s,c=r[l++],f=i?c.ok:c.fail,p=c.resolve,d=c.reject,h=c.domain;try{f?(i||(2===t.rejection&&te(e,t),t.rejection=1),!0===f?a=o:(h&&h.enter(),a=f(o),h&&(h.exit(),s=!0)),a===c.promise?d(H("Promise-chain cycle")):(u=X(a))?u.call(a,p,d):p(a)):d(o)}catch(m){h&&!s&&h.exit(),d(m)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&J(e,t)}))}},Z=function(e,t,n){var r,o;q?((r=W.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),s.dispatchEvent(r)):r={promise:t,reason:n},(o=s["on"+e])?o(r):"unhandledrejection"===e&&_("Unhandled promise rejection",n)},J=function(e,t){T.call(s,(function(){var n,r=t.value;if(ee(t)&&(n=O((function(){Q?U.emit("unhandledRejection",r,e):Z("unhandledrejection",e,r)})),t.rejection=Q||ee(t)?2:1,n.error))throw n.value}))},ee=function(e){return 1!==e.rejection&&!e.parent},te=function(e,t){T.call(s,(function(){Q?U.emit("rejectionHandled",e):Z("rejectionhandled",e,t.value)}))},ne=function(e,t,n,r){return function(o){e(t,n,o,r)}},re=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=2,G(e,t,!0))},oe=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw H("Promise can't be resolved itself");var o=X(n);o?S((function(){var r={done:!1};try{o.call(n,ne(oe,e,r,t),ne(re,e,r,t))}catch(i){re(e,r,i,t)}})):(t.value=n,t.state=1,G(e,t,!1))}catch(i){re(e,{done:!1},i,t)}}};K&&(A=function(e){g(this,A,R),y(e),r.call(this);var t=z(this);try{e(ne(oe,this,t),ne(re,this,t))}catch(n){re(this,t,n)}},(r=function(e){L(this,{type:R,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=d(A.prototype,{then:function(e,t){var n=F(this),r=B(E(this,A));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=Q?U.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&G(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r,t=z(e);this.promise=e,this.resolve=ne(oe,e,t),this.reject=ne(re,e,t)},P.f=B=function(e){return e===A||e===i?new o(e):$(e)},u||"function"!=typeof f||(l=f.prototype.then,p(f.prototype,"then",(function(e,t){var n=this;return new A((function(e,t){l.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof V&&a({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return C(A,V.apply(s,arguments))}}))),a({global:!0,wrap:!0,forced:K},{Promise:A}),h(A,R,!1,!0),m(R),i=c(R),a({target:R,stat:!0,forced:K},{reject:function(e){var t=B(this);return t.reject.call(void 0,e),t.promise}}),a({target:R,stat:!0,forced:u||K},{resolve:function(e){return C(u&&this===i?A:this,e)}}),a({target:R,stat:!0,forced:Y},{all:function(e){var t=this,n=B(t),r=n.resolve,o=n.reject,i=O((function(){var n=y(t.resolve),i=[],l=0,a=1;x(e,(function(e){var u=l++,s=!1;i.push(void 0),a++,n.call(t,e).then((function(e){s||(s=!0,i[u]=e,--a||r(i))}),o)})),--a||r(i)}));return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=B(t),r=n.reject,o=O((function(){var o=y(t.resolve);x(e,(function(e){o.call(t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},function(e,t,n){var r=n(25);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},function(e,t,n){"use strict";var r=n(17),o=n(14),i=n(6),l=n(13),a=i("species");e.exports=function(e){var t=r(e),n=o.f;l&&t&&!t[a]&&n(t,a,{configurable:!0,get:function(){return this}})}},function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},function(e,t,n){var r=n(12),o=n(104),i=n(29),l=n(45),a=n(105),u=n(108),s=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,n,c,f){var p,d,h,m,v,y,g,b=l(t,n,c?2:1);if(f)p=e;else{if("function"!=typeof(d=a(e)))throw TypeError("Target is not iterable");if(o(d)){for(h=0,m=i(e.length);m>h;h++)if((v=c?b(r(g=e[h])[0],g[1]):b(e[h]))&&v instanceof s)return v;return new s(!1)}p=d.call(e)}for(y=p.next;!(g=y.call(p)).done;)if("object"==typeof(v=u(p,b,g.value,c))&&v&&v instanceof s)return v;return new s(!1)}).stop=function(e){return new s(!0,e)}},function(e,t,n){var r=n(6),o=n(24),i=r("iterator"),l=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||l[i]===e)}},function(e,t,n){var r=n(106),o=n(24),i=n(6)("iterator");e.exports=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||o[r(e)]}},function(e,t,n){var r=n(107),o=n(15),i=n(6)("toStringTag"),l="Arguments"==o(function(){return arguments}());e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(n){}}(t=Object(e),i))?n:l?o(t):"Object"==(r=o(t))&&"function"==typeof t.callee?"Arguments":r}},function(e,t,n){var r={};r[n(6)("toStringTag")]="z",e.exports="[object z]"===String(r)},function(e,t,n){var r=n(12);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(l){var i=e.return;throw void 0!==i&&r(i.call(e)),l}}},function(e,t,n){var r=n(6)("iterator"),o=!1;try{var i=0,l={next:function(){return{done:!!i++}},return:function(){o=!0}};l[r]=function(){return this},Array.from(l,(function(){throw 2}))}catch(a){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(a){}return n}},function(e,t,n){var r,o,i,l,a,u,s,c,f=n(5),p=n(43).f,d=n(15),h=n(68).set,m=n(69),v=f.MutationObserver||f.WebKitMutationObserver,y=f.process,g=f.Promise,b="process"==d(y),w=p(f,"queueMicrotask"),x=w&&w.value;x||(r=function(){var e,t;for(b&&(e=y.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(n){throw o?l():i=void 0,n}}i=void 0,e&&e.enter()},b?l=function(){y.nextTick(r)}:v&&!m?(a=!0,u=document.createTextNode(""),new v(r).observe(u,{characterData:!0}),l=function(){u.data=a=!a}):g&&g.resolve?(s=g.resolve(void 0),c=s.then,l=function(){c.call(s,r)}):l=function(){h.call(f,r)}),e.exports=x||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,l()),i=t}},function(e,t,n){var r=n(5);e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},function(e,t,n){"use strict";var r=n(18),o=n(23),i=n(66),l=n(7),a=n(17),u=n(67),s=n(71),c=n(25);r({target:"Promise",proto:!0,real:!0,forced:!!i&&l((function(){i.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=u(this,a("Promise")),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then((function(){return n}))}:e,n?function(n){return s(t,e()).then((function(){throw n}))}:e)}}),o||"function"!=typeof i||i.prototype.finally||c(i.prototype,"finally",a("Promise").prototype.finally)},function(e,t,n){var r=n(18),o=n(115);r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},function(e,t,n){"use strict";var r=n(13),o=n(7),i=n(57),l=n(62),a=n(61),u=n(30),s=n(34),c=Object.assign,f=Object.defineProperty;e.exports=!c||o((function(){if(r&&1!==c({b:1},c(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=c({},e)[n]||"abcdefghijklmnopqrst"!=i(c({},t)).join("")}))?function(e,t){for(var n=u(e),o=arguments.length,c=1,f=l.f,p=a.f;o>c;)for(var d,h=s(arguments[c++]),m=f?i(h).concat(f(h)):i(h),v=m.length,y=0;v>y;)d=m[y++],r&&!p.call(h,d)||(n[d]=h[d]);return n}:c},function(e,t,n){"use strict";var r=n(73),o="function"===typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,l=o?Symbol.for("react.portal"):60106,a=o?Symbol.for("react.fragment"):60107,u=o?Symbol.for("react.strict_mode"):60108,s=o?Symbol.for("react.profiler"):60114,c=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.forward_ref"):60112,d=o?Symbol.for("react.suspense"):60113,h=o?Symbol.for("react.memo"):60115,m=o?Symbol.for("react.lazy"):60116,v="function"===typeof Symbol&&Symbol.iterator;function y(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;nN.length&&N.push(e)}function D(e,t,n){return null==e?0:function e(t,n,r,o){var a=typeof t;"undefined"!==a&&"boolean"!==a||(t=null);var u=!1;if(null===t)u=!0;else switch(a){case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case i:case l:u=!0}}if(u)return r(o,t,""===n?"."+I(t,0):n),1;if(u=0,n=""===n?".":n+":",Array.isArray(t))for(var s=0;s