omni-layout 0.0.4-beta.3 → 0.0.5-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/demo/src/App.d.ts +14 -0
- package/dist/demo/src/index.d.ts +1 -0
- package/dist/demo/src/layouts/BasicLayout.d.ts +16 -0
- package/dist/demo/src/pages/ArticlesPage.d.ts +10 -0
- package/dist/demo/src/pages/CategoryPage.d.ts +9 -0
- package/dist/demo/src/pages/Dashboard.d.ts +10 -0
- package/dist/demo/src/pages/DetailPage.d.ts +10 -0
- package/dist/demo/src/pages/ListPage.d.ts +10 -0
- package/dist/demo/src/pages/SettingPage.d.ts +13 -0
- package/dist/demo/vite.config.d.ts +2 -0
- package/dist/index.css +16 -5
- package/dist/index.esm.css +16 -5
- package/dist/index.esm.js +2 -2
- package/dist/index.js +1923 -285
- package/dist/{RouteContext.d.ts → src/RouteContext.d.ts} +1 -1
- package/dist/{compontent → src/compontent}/app/index.d.ts +1 -1
- package/dist/{compontent → src/compontent}/defaultSettings.d.ts +1 -1
- package/dist/{compontent → src/compontent}/footer/footer.d.ts +3 -3
- package/dist/{compontent → src/compontent}/header/all.d.ts +2 -2
- package/dist/src/compontent/header/favorate.d.ts +3 -0
- package/dist/{compontent → src/compontent}/header/help.d.ts +4 -4
- package/dist/{compontent → src/compontent}/header/index.d.ts +1 -1
- package/dist/{compontent → src/compontent}/search/index.d.ts +1 -1
- package/dist/{compontent → src/compontent}/sidemenu/BaseMenu.d.ts +1 -1
- package/dist/{compontent → src/compontent}/test/index.d.ts +2 -2
- package/dist/{compontent → src/compontent}/typings.d.ts +27 -6
- package/dist/src/mock/appInfos.d.ts +16 -0
- package/dist/src/mock/data.d.ts +5 -0
- package/dist/{model → src/model}/base.d.ts +8 -3
- package/dist/{model → src/model}/menu.d.ts +6 -1
- package/dist/{util → src/util}/getBreadcrumbProps.d.ts +1 -1
- package/dist/src/util/request.d.ts +11 -0
- package/package.json +6 -4
- package/dist/compontent/header/favorate.d.ts +0 -3
- package/dist/util/request.d.ts +0 -4
- /package/dist/{compontent → src/compontent}/GridContent/index.d.ts +0 -0
- /package/dist/{compontent → src/compontent}/NoticeIcon/NoticeList.d.ts +0 -0
- /package/dist/{compontent → src/compontent}/NoticeIcon/index.d.ts +0 -0
- /package/dist/{compontent → src/compontent}/PageHeaderWrapper/index.d.ts +0 -0
- /package/dist/{compontent → src/compontent}/PageHeaderWtihTagWrapper/index.d.ts +0 -0
- /package/dist/{compontent → src/compontent}/footer/index.d.ts +0 -0
- /package/dist/{compontent → src/compontent}/noticebox/index.d.ts +0 -0
- /package/dist/{compontent → src/compontent}/sidemenu/SiderMenu.d.ts +0 -0
- /package/dist/{compontent → src/compontent}/sidemenu/SiderMenuUtils.d.ts +0 -0
- /package/dist/{compontent → src/compontent}/sidemenu/index.d.ts +0 -0
- /package/dist/{const.d.ts → src/const.d.ts} +0 -0
- /package/dist/{data → src/data}/allmenu.d.ts +0 -0
- /package/dist/{data → src/data}/data.d.ts +0 -0
- /package/dist/{getPageTitle.d.ts → src/getPageTitle.d.ts} +0 -0
- /package/dist/{index.d.ts → src/index.d.ts} +0 -0
- /package/dist/{store → src/store}/common.d.ts +0 -0
- /package/dist/{util → src/util}/check.d.ts +0 -0
- /package/dist/{util → src/util}/data.d.ts +0 -0
- /package/dist/{util → src/util}/getMenuData.d.ts +0 -0
- /package/dist/{util → src/util}/pathTools.d.ts +0 -0
- /package/dist/{util → src/util}/tree.d.ts +0 -0
- /package/dist/{util → src/util}/utils.d.ts +0 -0
- /package/dist/{util → src/util}/watermark.d.ts +0 -0
package/dist/index.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import e,{Component as t,Fragment as n,useState as r,createContext as a,useEffect as i}from"react";import"antd/lib/avatar/style";import s from"antd/lib/avatar";import"antd/lib/menu/style";import o from"antd/lib/menu";import l,{CaretDownOutlined as u,CloseOutlined as c,BellOutlined as d,LogoutOutlined as h,createFromIconfontCN as f,CopyrightOutlined as m}from"@ant-design/icons";import{Icon as p}from"@ant-design/compatible";import y from"classnames";import"antd/lib/select/style";import v from"antd/lib/select";import"antd/lib/dropdown/style";import _ from"antd/lib/dropdown";import"antd/lib/badge/style";import g from"antd/lib/badge";import"antd/lib/spin/style";import w from"antd/lib/spin";import"antd/lib/tabs/style";import b from"antd/lib/tabs";import"antd/lib/list/style";import k from"antd/lib/list";import{SizeMe as S}from"react-sizeme";import"antd/lib/drawer/style";import M from"antd/lib/drawer";import"antd/lib/layout/style";import D from"antd/lib/layout";import"antd/lib/input/style";import E from"antd/lib/input";import O from"path-to-regexp";import Y from"lodash/isEqual";import N from"memoize-one";import{extend as x}from"umi-request";import"antd/lib/message/style";import T from"antd/lib/message";import"antd/lib/page-header/style";import C from"antd/lib/page-header";import"antd/lib/tag/style";import P from"antd/lib/tag";import"antd/lib/button/style";import R from"antd/lib/button";function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function L(e){for(var t=1;arguments.length>t;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?A(Object(n),!0).forEach((function(t){H(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function W(e){return W="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},W(e)}function U(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,X(r.key),r)}}function j(e,t,n){return t&&I(e.prototype,t),n&&I(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function H(e,t,n){return(t=X(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function V(){return V=Object.assign?Object.assign.bind():function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},V.apply(this,arguments)}function F(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&z(e,t)}function G(e){return G=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},G(e)}function z(e,t){return z=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},z(e,t)}function B(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;i.length>r;r++)0>t.indexOf(n=i[r])&&(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;i.length>r;r++)0>t.indexOf(n=i[r])&&Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function Z(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function K(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=G(e);if(t){var a=G(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return Z(this,n)}}function $(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i,s,o=[],l=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(o.push(r.value),o.length!==t);l=!0);}catch(e){u=!0,a=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(u)throw a}}return o}}(e,t)||J(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function q(e){return function(e){if(Array.isArray(e))return Q(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||J(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function J(e,t){if(e){if("string"==typeof e)return Q(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Q(e,t):void 0}}function Q(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);t>n;n++)r[n]=e[n];return r}function X(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}var ee=/(((^https?:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+(?::\d+)?|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\+~%\/.\w-_]*))?)$/;function te(e){return ee.test(e)}var ne=v.Option,re=function(n){F(a,t);var r=K(a);function a(){var e;U(this,a);for(var t=arguments.length,n=Array(t),i=0;t>i;i++)n[i]=arguments[i];return(e=r.call.apply(r,[this].concat(n))).state={overActive:!1,searchData:"",menus:[]},e}return j(a,[{key:"componentWillReceiveProps",value:function(e){if(this.props.allApps!=e.allApps){var t=function(e){var t;t=[];for(var n=0;e.length>n;n++)for(var r=0;e[n].menu.length>r;r++)t.push(e[n].menu[r]);return t}(e.allApps||[]);this.setState({menus:t})}}},{key:"render",value:function(){var t=this,n=this.state,r=n.overActive,a=n.menus,i=this.props,s=i.allApps,o=void 0===s?[]:s,l=i.historyUsed,d=void 0===l?[]:l,h=i.openWithOtherTab,f=y("item-wrapper","omni-topnav-all",{"omni-topnav-all-hover":r});return e.createElement("div",{onMouseLeave:function(){t.setState({overActive:!1})},onClick:function(){t.setState({overActive:!r})},className:f},e.createElement("div",{className:"omni-topnav-all-inner"},e.createElement("div",{className:"omni-topnav-all-tool"},"全部控制台",e.createElement(u,null)),e.createElement("div",{onClick:function(e){e.stopPropagation()},className:"omni-topnav-all-menu"},e.createElement("div",{className:"omni-topnav-all-menu-inner"},e.createElement(c,{onClick:function(e){e.preventDefault(),e.stopPropagation(),t.setState({overActive:!1})},className:"omni-topnav-all-close"}),function(t,n){return e.createElement(v,{className:"omni-headerSearch",placeholder:"通过名称或者关键词来查找后台",filterOption:function(e,t){return t.props.value.toLowerCase().indexOf(e.toLowerCase())>=0||t.props.title.toLowerCase().indexOf(e.toLowerCase())>=0||(t.props.pinyin||"").toLowerCase().indexOf(e.toLowerCase())>=0},onChange:function(e){te(e)&&(window.location.href=e)},showSearch:!0,style:{width:"80%"}},t.map((function(t){return e.createElement(ne,L({key:t.name,value:t.url,title:t.name},t),e.createElement("a",{style:{color:"#333"},href:t.url,target:n?"_blank":"_self"},e.createElement("div",{style:{width:"100%"}},t.name)))})))}(a,h),e.createElement("div",{className:"omni-topnav-all-body"},function(t,n){return e.createElement("div",{className:"omni-masonry"},t.map((function(t){return e.createElement("div",{key:t.name,className:"omni-masonry-block"},e.createElement("h3",null,t.name),e.createElement("ul",null,t.menu&&t.menu.map((function(t){return e.createElement("a",{target:n?"_blank":"_self",key:t.name,href:t.url||"/"},e.createElement("li",null,t.name||""))}))))})))}(o,h),function(t,n){return e.createElement("div",{className:"history-used"},e.createElement("h2",null,"历史记录"),e.createElement("ul",null,t&&t.map((function(t){return e.createElement("a",{target:n?"_blank":"_self",key:t.name,href:t.url||"/"},e.createElement("li",null,t.name||""))}))))}(d,h))))))}}]),a}(),ae=function(t){var n=t.favoriteApps,r=t.openWithOtherTab,a=t.app;return e.createElement(e.Fragment,null,(void 0===n?[]:n).map((function(t){return e.createElement("a",{key:t.name,className:y("item-link",{active:t.app===a}),href:t.url||"",target:r?"_blank":"_self"},e.createElement("div",{className:"item-wrapper"},t.name))})))},ie=["overlayClassName"],se=function(t){var n=t.overlayClassName,r=B(t,ie);return e.createElement(_,V({overlayClassName:y("omni-layout-header-dropdown",n)},r))},oe=function(t){var n=t.data,r=void 0===n?[]:n,a=t.onClick,i=t.onClear,o=t.title,l=t.onViewMore,u=t.emptyText,c=t.showClear,d=void 0===c||c,h=t.clearText,f=t.viewMoreText,m=t.showViewMore,p=void 0!==m&&m;return 0===r.length?e.createElement("div",null,e.createElement("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/sAuJeJzSKbUmHfBQRzmZ.svg",alt:"not found"}),e.createElement("div",null,u)):e.createElement("div",null,e.createElement(k,{dataSource:r,renderItem:function(t,n){return e.createElement(k.Item,{key:t.key||n,onClick:function(){return a&&a(t)}},e.createElement(k.Item.Meta,{avatar:t.avatar?"string"==typeof t.avatar?e.createElement(s,{src:t.avatar}):e.createElement("span",null,t.avatar):null,title:e.createElement("div",null,t.title,e.createElement("div",null,t.extra)),description:e.createElement("div",null,e.createElement("div",null,t.description),e.createElement("div",null,t.datetime))}))}}),e.createElement("div",null,d?e.createElement("div",{onClick:i},h," ",o):null,p?e.createElement("div",{onClick:function(e){l&&l(e)}},f):null))},le=b.TabPane,ue=function(n){F(a,t);var r=K(a);function a(){var e;U(this,a);for(var t=arguments.length,n=Array(t),i=0;t>i;i++)n[i]=arguments[i];return(e=r.call.apply(r,[this].concat(n))).state={visible:!1},e.onItemClick=function(t,n){var r=e.props.onItemClick;r&&r(t,n)},e.onClear=function(t,n){var r=e.props.onClear;r&&r(t,n)},e.onTabChange=function(t){var n=e.props.onTabChange;n&&n(t)},e.onViewMore=function(t,n){var r=e.props.onViewMore;r&&r(t,n)},e.handleVisibleChange=function(t){var n=e.props.onPopupVisibleChange;e.setState({visible:t}),n&&n(t)},e}return j(a,[{key:"getNotificationBox",value:function(){var t=this,n=this.props,r=n.children,a=n.loading,i=n.clearText,s=n.viewMoreText;if(!r)return null;var o=e.Children.map(r,(function(n){if(!n)return null;var r=n.props,a=r.list,o=r.title,l=r.count,u=r.tabKey,c=r.showClear,d=r.showViewMore,h=l||0===l?l:a&&a.length?a.length:0,f=h>0?"".concat(o," (").concat(h,")"):o;return e.createElement(le,{tab:f,key:o},e.createElement(oe,L({clearText:i,viewMoreText:s,data:a,onClear:function(){return t.onClear(o,u)},onClick:function(e){return t.onItemClick(e,n.props)},onViewMore:function(e){return t.onViewMore(n.props,e)},showClear:c,showViewMore:d},n.props)))}));return e.createElement(e.Fragment,null,e.createElement(w,{spinning:a,delay:300},e.createElement(b,{className:"tabs",onChange:this.onTabChange},o)))}},{key:"render",value:function(){var t=this.props,n=t.count,r=t.bell,a=this.state.visible,i=y(t.className,"noticeButton"),s=r||e.createElement(d,{className:"icon"}),o=e.createElement("span",{className:y(i,{opened:a})},e.createElement(g,{count:n,style:{boxShadow:"none"},className:"badge"},s));return e.createElement("div",null,o)}}]),a}();ue.Tab=oe,ue.defaultProps={onItemClick:function(){},onPopupVisibleChange:function(){},onTabChange:function(){},onClear:function(){},onViewMore:function(){},loading:!1,clearClose:!1,emptyImage:"https://gw.alipayobjects.com/zos/rmsportal/wAhyIChODzsoKIOBHcBk.svg"};var ce=e.createContext({state:{routes:[],user:{username:"匿名用户",uid:0},allApps:[],favoriteApps:[],historyUsed:[],noticeBoxShow:!1,noticeCount:0,notices:[],routesMap:{},tabList:[]}}),de=function(e,t){switch(t.type){case"UPDATE_VALUE":return L(L({},e),t.value);case"INSERT_TAB":var n=q(e.tabList);return n.filter((function(e){return t.value===e})).length||n.push(t.value),L(L({},e),{},{tabList:n});case"DELETE_TAB":return n=(n=q(e.tabList)).filter((function(e){return t.value!==e})),L(L({},e),{},{tabList:n});case"CLEAR_TABS":return L(L({},e),{},{tabList:[]});default:return e}},he=function(t){var n=t.children,r=$(e.useReducer(de,{routes:[],user:{username:"匿名用户",uid:0},allApps:[],favoriteApps:[],historyUsed:[],noticeBoxShow:!1,noticeCount:0,notices:[],routesMap:{},tabList:[]}),2);return e.createElement(ce.Provider,{value:{state:r[0],dispatch:r[1]}},n)},fe=function(t){var n=e.useContext(ce),r=n.state,a=r.noticeBoxShow,i=r.noticeCount,l=r.historyUsed,u=r.favoriteApps,c=r.allApps,d=r.user,f=e.createElement(o,{selectedKeys:[]},e.createElement(o.Item,{onClick:function(){window.location.href=t.logoutPath||"/__logout"},key:"logout"},e.createElement(h,null),"退出")),m=t.logo,v=t.headerLinks,_=t.openWithOtherTab,g=t.noticeSwitch,w=t.app;return e.createElement("div",{className:"omni-header-nav"},e.createElement("div",{className:"left"},e.createElement("div",{className:"item-wrapper header-log"},m&&function(t){return"string"==typeof t?e.createElement("img",{src:t,alt:"logo"}):"function"==typeof t?t():t}(m)),e.createElement(re,{allApps:c,historyUsed:l,openWithOtherTab:_}),e.createElement(ae,{openWithOtherTab:_,favoriteApps:u,app:w}),v.map((function(t){return e.createElement("a",{key:t.url,className:"item-link",href:t.url||""},e.createElement("div",{className:"item-wrapper"},t.icon&&e.createElement(p,{type:t.icon,style:{marginRight:4}}),t.name))}))),e.createElement("div",{className:"right"},e.createElement("div",{className:"right-slot"},function(e){return!1===e.headerRightRender?null:e.headerRightRender?e.headerRightRender(L({},e),null):null}(t)),g&&e.createElement("span",{onClick:function(){n.dispatch({type:"UPDATE_VALUE",value:{noticeBoxShow:!a}})},className:y("item-wrapper","omni-notice",{active:a})},e.createElement(ue,{count:i})),e.createElement(se,{overlay:f},e.createElement("span",{className:"item-wrapper"},e.createElement(s,{size:"small",className:"header-dropdown-avatar",src:"https://gw.alipayobjects.com/zos/antfincdn/XAosXuNZyF/BiazfanxmamNRoxxVxka.png",alt:"avatar"}),e.createElement("span",{className:"header-dropdown-title"},d.username)))))};function me(e){if("/"===e)return["/"];var t=e.split("/").filter((function(e){return e}));return t.map((function(e,n){return"/".concat(t.slice(0,n+1).join("/"))}))}var pe=function e(){var t=[];return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(n){n&&(t.push(n.path),n.children&&(t=t.concat(e(n.children))))})),t},ye=function(){var e=arguments.length>1?arguments[1]:void 0;return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).filter((function(t){return t&&O(t).test(e)}))},ve=function(e){var t=e.location,n=e.flatMenuKeys;return me((void 0===t?{pathname:"/"}:t).pathname).map((function(e){return ye(n,e)[0]})).filter((function(e){return e})).reduce((function(e,t){return[].concat(q(e),[t])}),["/"])},_e=o.SubMenu,ge=f({scriptUrl:""}),we=function(t){return"string"==typeof t?te(t)?e.createElement(l,{component:function(){return e.createElement("img",{src:t,alt:"icon",className:"omni-pro-sider-menu-icon"})}}):t.startsWith("icon")?e.createElement(ge,{type:t}):e.createElement(p,{type:t}):t},be=function(n){F(a,t);var r=K(a);function a(t){var n;U(this,a),(n=r.call(this,t)).warp=void 0,n.state={},n.getNavMenuItems=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).filter((function(e){return e.name&&!e.hideInMenu})).map((function(e){return n.getSubMenuOrItem(e)})).filter((function(e){return e}))},n.getSelectedMenuKeys=function(e){var t=n.props.flatMenuKeys;return me(e).map((function(e){return ye(t,e).pop()})).filter((function(e){return e}))},n.getSubMenuOrItem=function(t){if(Array.isArray(t.children)&&!t.hideChildrenInMenu&&t.children.some((function(e){return e&&!!e.name}))){var r=n.getIntlName(t);return e.createElement(_e,{title:t.icon?e.createElement("span",null,we(t.icon),e.createElement("span",null,r)):r,key:t.path},n.getNavMenuItems(t.children))}return e.createElement(o.Item,{onClick:function(){n.props.commonStore.dispatch({type:"INSERT_TAB",value:t.path})},key:t.path},n.getMenuItemPath(t))},n.getIntlName=function(e){var t=e.name,r=e.locale,a=n.props,i=a.menu,s=a.formatMessage;return r&&(void 0===i?{locale:!1}:i).locale&&s?s({id:r,defaultMessage:t}):t},n.getMenuItemPath=function(t){var r=n.conversionPath(t.path),a=we(t.icon),i=n.props,s=i.location,o=void 0===s?{pathname:"/"}:s,l=i.isMobile,u=i.onCollapse,c=i.menuItemRender,d=t.target,h=n.getIntlName(t),f=e.createElement(e.Fragment,null,a,e.createElement("span",null,h));return/^https?:\/\//.test(r)&&(f=e.createElement("a",{href:r,target:d},a,e.createElement("span",null,h))),c?c(L(L({},t),{},{itemPath:r,replace:r===o.pathname,onClick:function(){return l?u&&u(!0):null}}),f):f},n.conversionPath=function(e){return e&&0===e.indexOf("http")?e:"/".concat(e||"").replace(/\/+/g,"/")},n.getPopupContainer=function(e,t){return e&&"topmenu"===t&&n.warp?n.warp:document.body},n.getRef=function(e){n.warp=e};var i=t.iconfontUrl;return i&&(ge=f({scriptUrl:i})),n}return j(a,[{key:"render",value:function(){var t=this,n=this.props,r=n.openKeys,a=n.theme,i=n.mode,s=n.location,l=n.className,u=n.collapsed,c=n.handleOpenChange,d=n.style,h=n.fixedHeader,f=void 0!==h&&h,m=n.layout,p=void 0===m?"sidemenu":m,v=n.menuData,_=n.inlineIndent,g=n.searchKeys,w=void 0===g?[]:g,b=this.getSelectedMenuKeys((void 0===s?{pathname:"/"}:s).pathname);!b.length&&r&&(b=[r[r.length-1]]);var k={};r&&!u&&"sidemenu"===p&&(k={openKeys:0===r.length?q(b):r});var S=y(l,{"top-nav-menu":"horizontal"===i}),M=[].concat(q(r),q(w));return e.createElement(e.Fragment,null,e.createElement(o,L(L({},k),{},{openKeys:M,key:"Menu",mode:i,theme:a,onOpenChange:c,selectedKeys:b,style:d,inlineIndent:_,className:S,getPopupContainer:function(){return t.getPopupContainer(f,p)}}),this.getNavMenuItems(v)),e.createElement("div",{ref:this.getRef}))}}],[{key:"getDerivedStateFromProps",value:function(e){var t=e.iconfontUrl;return t&&(ge=f({scriptUrl:t})),null}}]),a}();function ke(e,t,n){return e.filter((function(e){return e.children&&(e.children=ke(e.children,t,n)),(t.test(e.name)||e.children&&e.children.length>0)&&n.push(e.path),t.test(e.name)||e.children&&e.children.length>0}))}be.defaultProps={flatMenuKeys:[],searchKeys:[],onCollapse:function(){},isMobile:!1,openKeys:[],collapsed:!1,handleOpenChange:function(){},menuData:[],onOpenChange:function(){},inlineIndent:12};var Se=E.Search,Me=D.Sider,De=!0,Ee=function(n){F(a,t);var r=K(a);function a(e){var t;return U(this,a),(t=r.call(this,e)).isMainMenu=function(e){var n=t.props.menuData;return(void 0===n?[]:n).some((function(t){return!!e&&(t.key===e||t.path===e)}))},t.handleOpenChange=function(e){var n=e.filter((function(e){return t.isMainMenu(e)})).length>1;t.setState(n?{openKeys:[e.pop()].filter((function(e){return e}))}:{openKeys:q(e)})},t.state={openKeys:ve(e),searchText:""},t}return j(a,[{key:"componentDidMount",value:function(){De=!1}},{key:"render",value:function(){var t=this,n=this.props,r=n.collapsed,a=n.title,i=n.onCollapse,s=n.theme,o=n.siderWidth,l=void 0===o?206:o,u=n.isMobile,c=n.collapsedWidth,d=n.siderSearchSwitch,h=n.menuData,f=this.state,m=f.searchText,p=r||"sidemenu"!==n.layout?{}:{openKeys:f.openKeys},v=y("omni-pro-sider-menu-sider",{"fix-sider-bar":n.fixSiderbar,light:"light"===s}),_=[],g=[];return g=m?ke(JSON.parse(JSON.stringify(h)),RegExp(m),_):h,e.createElement(Me,{collapsible:!0,trigger:null,collapsed:r,breakpoint:"lg",onCollapse:function(e){!De&&u||i&&i(e)},collapsedWidth:c,width:l,theme:s,className:v},e.createElement("div",{className:"omni-pro-sider-menu-logo",id:"logo"},e.createElement("a",null,e.createElement("h1",null,a))),e.createElement("div",{style:{display:d?"block":"none"},className:"omni-sider-menu-search"},e.createElement(Se,{placeholder:"搜索",onSearch:function(e){t.setState({searchText:e})}})),e.createElement(be,L(L({},this.props),{},{menuData:g,searchKeys:_,mode:"inline",handleOpenChange:this.handleOpenChange,onOpenChange:this.handleOpenChange,style:{padding:"8px 0",width:"100%",top:d?100:50}},p)))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.location,r=void 0===n?{pathname:"/"}:n,a=e.flatMenuKeys,i=void 0===a?[]:a;return r.pathname!==t.pathname||i.length!==t.flatMenuKeysLen?{pathname:r.pathname,flatMenuKeysLen:i.length,openKeys:ve(e)}:null}}]),a}();Ee.defaultProps={flatMenuKeys:[],onCollapse:function(){},isMobile:!1,openKeys:[],collapsed:!1,handleOpenChange:function(){},menuData:[],onOpenChange:function(){}};var Oe=function(t){var n=t.isMobile,r=t.collapsed,a=t.onCollapse,i=t.siderSearchSwitch,s=pe(t.menuData),o=e.useContext(ce);return n?e.createElement(M,{visible:!r,placement:"left",className:"omni-pro-sider-menu",onClose:function(){return a&&a(!0)},style:{padding:0,height:"100vh"}},e.createElement(Ee,L(L({},t),{},{commonStore:o,flatMenuKeys:s,collapsed:!n&&r}))):e.createElement(Ee,L(L({className:"omni-pro-sider-menu",style:{top:i?100:50}},t),{},{commonStore:o,flatMenuKeys:s}))};Oe.defaultProps={onCollapse:function(){}};var Ye,Ne,xe=function(t){var n=t.links,r=t.copyright,a=y("omni-layout-global-footer",t.className);return e.createElement("footer",{className:a},n&&e.createElement("div",{className:"omni-layout-global-footer-links"},n.map((function(t){return e.createElement("a",{key:t.key,title:t.key,target:t.blankTarget?"_blank":"_self",href:t.href},t.title)}))),r&&e.createElement("div",{className:"omni-layout-global-footer-copyright"},r))},Te=D.Footer,Ce=function(){return e.createElement(Te,{style:{padding:0}},e.createElement(xe,{links:[],copyright:e.createElement(n,null,"Copyright ",e.createElement(m,null)," 2020 WSD出品")}))};function Pe(){return Ye.apply(null,arguments)}function Re(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function Ae(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function Le(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function We(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(Le(e,t))return!1;return!0}function Ue(e){return void 0===e}function Ie(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function je(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function He(e,t){var n,r=[],a=e.length;for(n=0;a>n;++n)r.push(t(e[n],n));return r}function Ve(e,t){for(var n in t)Le(t,n)&&(e[n]=t[n]);return Le(t,"toString")&&(e.toString=t.toString),Le(t,"valueOf")&&(e.valueOf=t.valueOf),e}function Fe(e,t,n,r){return cr(e,t,n,r,!0).utc()}function Ge(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function ze(e){if(null==e._isValid){var t=Ge(e),n=Ne.call(t.parsedDateParts,(function(e){return null!=e})),r=!isNaN(e._d.getTime())&&0>t.overflow&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function Be(e){var t=Fe(NaN);return null!=e?Ve(Ge(t),e):Ge(t).userInvalidated=!0,t}Ne=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n.length>>>0;for(t=0;r>t;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var Ze=Pe.momentProperties=[],Ke=!1;function $e(e,t){var n,r,a,i=Ze.length;if(Ue(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),Ue(t._i)||(e._i=t._i),Ue(t._f)||(e._f=t._f),Ue(t._l)||(e._l=t._l),Ue(t._strict)||(e._strict=t._strict),Ue(t._tzm)||(e._tzm=t._tzm),Ue(t._isUTC)||(e._isUTC=t._isUTC),Ue(t._offset)||(e._offset=t._offset),Ue(t._pf)||(e._pf=Ge(t)),Ue(t._locale)||(e._locale=t._locale),i>0)for(n=0;i>n;n++)Ue(a=t[r=Ze[n]])||(e[r]=a);return e}function qe(e){$e(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===Ke&&(Ke=!0,Pe.updateOffset(this),Ke=!1)}function Je(e){return e instanceof qe||null!=e&&null!=e._isAMomentObject}function Qe(e){!1===Pe.suppressDeprecationWarnings&&void 0!==console&&console.warn&&console.warn("Deprecation warning: "+e)}function Xe(e,t){var n=!0;return Ve((function(){if(null!=Pe.deprecationHandler&&Pe.deprecationHandler(null,e),n){var r,a,i,s=[],o=arguments.length;for(a=0;o>a;a++){if(r="","object"==typeof arguments[a]){for(i in r+="\n["+a+"] ",arguments[0])Le(arguments[0],i)&&(r+=i+": "+arguments[0][i]+", ");r=r.slice(0,-2)}else r=arguments[a];s.push(r)}Qe(e+"\nArguments: "+Array.prototype.slice.call(s).join("")+"\n"+Error().stack),n=!1}return t.apply(this,arguments)}),t)}var et,tt={};function nt(e,t){null!=Pe.deprecationHandler&&Pe.deprecationHandler(e,t),tt[e]||(Qe(t),tt[e]=!0)}function rt(e){return void 0!==Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function at(e,t){var n,r=Ve({},e);for(n in t)Le(t,n)&&(Ae(e[n])&&Ae(t[n])?(r[n]={},Ve(r[n],e[n]),Ve(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)Le(e,n)&&!Le(t,n)&&Ae(e[n])&&(r[n]=Ve({},r[n]));return r}function it(e){null!=e&&this.set(e)}Pe.suppressDeprecationWarnings=!1,Pe.deprecationHandler=null,et=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)Le(e,t)&&n.push(t);return n};function st(e,t,n){var r=""+Math.abs(e);return(e>=0?n?"+":"":"-")+(""+Math.pow(10,Math.max(0,t-r.length))).substr(1)+r}var ot=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,lt=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ut={},ct={};function dt(e,t,n,r){var a=r;"string"==typeof r&&(a=function(){return this[r]()}),e&&(ct[e]=a),t&&(ct[t[0]]=function(){return st(a.apply(this,arguments),t[1],t[2])}),n&&(ct[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function ht(e,t){return e.isValid()?(t=ft(t,e.localeData()),ut[t]=ut[t]||function(e){var t,n,r,a=e.match(ot);for(t=0,n=a.length;n>t;t++)a[t]=ct[a[t]]?ct[a[t]]:(r=a[t]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");return function(t){var r,i="";for(r=0;n>r;r++)i+=rt(a[r])?a[r].call(t,e):a[r];return i}}(t),ut[t](e)):e.localeData().invalidDate()}function ft(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(lt.lastIndex=0;n>=0&<.test(e);)e=e.replace(lt,r),lt.lastIndex=0,n-=1;return e}var mt={};function pt(e,t){var n=e.toLowerCase();mt[n]=mt[n+"s"]=mt[t]=e}function yt(e){return"string"==typeof e?mt[e]||mt[e.toLowerCase()]:void 0}function vt(e){var t,n,r={};for(n in e)Le(e,n)&&(t=yt(n))&&(r[t]=e[n]);return r}var _t={};function gt(e,t){_t[e]=t}function wt(e){return e%4==0&&e%100!=0||e%400==0}function bt(e){return 0>e?Math.ceil(e)||0:Math.floor(e)}function kt(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=bt(t)),n}function St(e,t){return function(n){return null!=n?(Dt(this,e,n),Pe.updateOffset(this,t),this):Mt(this,e)}}function Mt(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Dt(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&wt(e.year())&&1===e.month()&&29===e.date()?(n=kt(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),on(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var Et,Ot=/\d/,Yt=/\d\d/,Nt=/\d{3}/,xt=/\d{4}/,Tt=/[+-]?\d{6}/,Ct=/\d\d?/,Pt=/\d\d\d\d?/,Rt=/\d\d\d\d\d\d?/,At=/\d{1,3}/,Lt=/\d{1,4}/,Wt=/[+-]?\d{1,6}/,Ut=/\d+/,It=/[+-]?\d+/,jt=/Z|[+-]\d\d:?\d\d/gi,Ht=/Z|[+-]\d\d(?::?\d\d)?/gi,Vt=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function Ft(e,t,n){Et[e]=rt(t)?t:function(e,r){return e&&n?n:t}}function Gt(e,t){return Le(Et,e)?Et[e](t._strict,t._locale):RegExp(zt(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,a){return t||n||r||a}))))}function zt(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Et={};var Bt={};function Zt(e,t){var n,r,a=t;for("string"==typeof e&&(e=[e]),Ie(t)&&(a=function(e,n){n[t]=kt(e)}),r=e.length,n=0;r>n;n++)Bt[e[n]]=a}function Kt(e,t){Zt(e,(function(e,n,r,a){r._w=r._w||{},t(e,r._w,r,a)}))}function $t(e,t,n){null!=t&&Le(Bt,e)&&Bt[e](t,n._a,n,e)}var qt,Jt=0,Qt=1,Xt=2,en=3,tn=4,nn=5,rn=6,an=7,sn=8;function on(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,r=(t%(n=12)+n)%n;return e+=(t-r)/12,1===r?wt(e)?29:28:31-r%7%2}qt=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;this.length>t;++t)if(this[t]===e)return t;return-1},dt("M",["MM",2],"Mo",(function(){return this.month()+1})),dt("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),dt("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),pt("month","M"),gt("month",8),Ft("M",Ct),Ft("MM",Ct,Yt),Ft("MMM",(function(e,t){return t.monthsShortRegex(e)})),Ft("MMMM",(function(e,t){return t.monthsRegex(e)})),Zt(["M","MM"],(function(e,t){t[Qt]=kt(e)-1})),Zt(["MMM","MMMM"],(function(e,t,n,r){var a=n._locale.monthsParse(e,r,n._strict);null!=a?t[Qt]=a:Ge(n).invalidMonth=e}));var ln="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),un="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),cn=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,dn=Vt,hn=Vt;function fn(e,t,n){var r,a,i,s=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;12>r;++r)i=Fe([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(a=qt.call(this._shortMonthsParse,s))?a:null:-1!==(a=qt.call(this._longMonthsParse,s))?a:null:"MMM"===t?-1!==(a=qt.call(this._shortMonthsParse,s))||-1!==(a=qt.call(this._longMonthsParse,s))?a:null:-1!==(a=qt.call(this._longMonthsParse,s))||-1!==(a=qt.call(this._shortMonthsParse,s))?a:null}function mn(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=kt(t);else if(!Ie(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),on(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function pn(e){return null!=e?(mn(this,e),Pe.updateOffset(this,!0),this):Mt(this,"Month")}function yn(){function e(e,t){return t.length-e.length}var t,n,r=[],a=[],i=[];for(t=0;12>t;t++)n=Fe([2e3,t]),r.push(this.monthsShort(n,"")),a.push(this.months(n,"")),i.push(this.months(n,"")),i.push(this.monthsShort(n,""));for(r.sort(e),a.sort(e),i.sort(e),t=0;12>t;t++)r[t]=zt(r[t]),a[t]=zt(a[t]);for(t=0;24>t;t++)i[t]=zt(i[t]);this._monthsRegex=RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=RegExp("^("+a.join("|")+")","i"),this._monthsShortStrictRegex=RegExp("^("+r.join("|")+")","i")}function vn(e){return wt(e)?366:365}dt("Y",0,0,(function(){var e=this.year();return e>9999?"+"+e:st(e,4)})),dt(0,["YY",2],0,(function(){return this.year()%100})),dt(0,["YYYY",4],0,"year"),dt(0,["YYYYY",5],0,"year"),dt(0,["YYYYYY",6,!0],0,"year"),pt("year","y"),gt("year",1),Ft("Y",It),Ft("YY",Ct,Yt),Ft("YYYY",Lt,xt),Ft("YYYYY",Wt,Tt),Ft("YYYYYY",Wt,Tt),Zt(["YYYYY","YYYYYY"],Jt),Zt("YYYY",(function(e,t){t[Jt]=2===e.length?Pe.parseTwoDigitYear(e):kt(e)})),Zt("YY",(function(e,t){t[Jt]=Pe.parseTwoDigitYear(e)})),Zt("Y",(function(e,t){t[Jt]=parseInt(e,10)})),Pe.parseTwoDigitYear=function(e){return kt(e)+(kt(e)>68?1900:2e3)};var _n=St("FullYear",!0);function gn(e,t,n,r,a,i,s){var o;return 100>e&&e>=0?isFinite((o=new Date(e+400,t,n,r,a,i,s)).getFullYear())&&o.setFullYear(e):o=new Date(e,t,n,r,a,i,s),o}function wn(e){var t,n;return 100>e&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function bn(e,t,n){var r=7+t-n;return-((7+wn(e,0,r).getUTCDay()-t)%7)+r-1}function kn(e,t,n,r,a){var i,s,o=1+7*(t-1)+(7+n-r)%7+bn(e,r,a);return o>0?o>vn(e)?(i=e+1,s=o-vn(e)):(i=e,s=o):s=vn(i=e-1)+o,{year:i,dayOfYear:s}}function Sn(e,t,n){var r,a,i=bn(e.year(),t,n),s=Math.floor((e.dayOfYear()-i-1)/7)+1;return 1>s?r=s+Mn(a=e.year()-1,t,n):s>Mn(e.year(),t,n)?(r=s-Mn(e.year(),t,n),a=e.year()+1):(a=e.year(),r=s),{week:r,year:a}}function Mn(e,t,n){var r=bn(e,t,n),a=bn(e+1,t,n);return(vn(e)-r+a)/7}dt("w",["ww",2],"wo","week"),dt("W",["WW",2],"Wo","isoWeek"),pt("week","w"),pt("isoWeek","W"),gt("week",5),gt("isoWeek",5),Ft("w",Ct),Ft("ww",Ct,Yt),Ft("W",Ct),Ft("WW",Ct,Yt),Kt(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=kt(e)}));function Dn(e,t){return e.slice(t,7).concat(e.slice(0,t))}dt("d",0,"do","day"),dt("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),dt("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),dt("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),dt("e",0,0,"weekday"),dt("E",0,0,"isoWeekday"),pt("day","d"),pt("weekday","e"),pt("isoWeekday","E"),gt("day",11),gt("weekday",11),gt("isoWeekday",11),Ft("d",Ct),Ft("e",Ct),Ft("E",Ct),Ft("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Ft("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Ft("dddd",(function(e,t){return t.weekdaysRegex(e)})),Kt(["dd","ddd","dddd"],(function(e,t,n,r){var a=n._locale.weekdaysParse(e,r,n._strict);null!=a?t.d=a:Ge(n).invalidWeekday=e})),Kt(["d","e","E"],(function(e,t,n,r){t[r]=kt(e)}));var En="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),On="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Yn="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Nn=Vt,xn=Vt,Tn=Vt;function Cn(e,t,n){var r,a,i,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;7>r;++r)i=Fe([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(a=qt.call(this._weekdaysParse,s))?a:null:"ddd"===t?-1!==(a=qt.call(this._shortWeekdaysParse,s))?a:null:-1!==(a=qt.call(this._minWeekdaysParse,s))?a:null:"dddd"===t?-1!==(a=qt.call(this._weekdaysParse,s))||-1!==(a=qt.call(this._shortWeekdaysParse,s))||-1!==(a=qt.call(this._minWeekdaysParse,s))?a:null:"ddd"===t?-1!==(a=qt.call(this._shortWeekdaysParse,s))||-1!==(a=qt.call(this._weekdaysParse,s))||-1!==(a=qt.call(this._minWeekdaysParse,s))?a:null:-1!==(a=qt.call(this._minWeekdaysParse,s))||-1!==(a=qt.call(this._weekdaysParse,s))||-1!==(a=qt.call(this._shortWeekdaysParse,s))?a:null}function Pn(){function e(e,t){return t.length-e.length}var t,n,r,a,i,s=[],o=[],l=[],u=[];for(t=0;7>t;t++)n=Fe([2e3,1]).day(t),r=zt(this.weekdaysMin(n,"")),a=zt(this.weekdaysShort(n,"")),i=zt(this.weekdays(n,"")),s.push(r),o.push(a),l.push(i),u.push(r),u.push(a),u.push(i);s.sort(e),o.sort(e),l.sort(e),u.sort(e),this._weekdaysRegex=RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=RegExp("^("+s.join("|")+")","i")}function Rn(){return this.hours()%12||12}function An(e,t){dt(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Ln(e,t){return t._meridiemParse}dt("H",["HH",2],0,"hour"),dt("h",["hh",2],0,Rn),dt("k",["kk",2],0,(function(){return this.hours()||24})),dt("hmm",0,0,(function(){return""+Rn.apply(this)+st(this.minutes(),2)})),dt("hmmss",0,0,(function(){return""+Rn.apply(this)+st(this.minutes(),2)+st(this.seconds(),2)})),dt("Hmm",0,0,(function(){return""+this.hours()+st(this.minutes(),2)})),dt("Hmmss",0,0,(function(){return""+this.hours()+st(this.minutes(),2)+st(this.seconds(),2)})),An("a",!0),An("A",!1),pt("hour","h"),gt("hour",13),Ft("a",Ln),Ft("A",Ln),Ft("H",Ct),Ft("h",Ct),Ft("k",Ct),Ft("HH",Ct,Yt),Ft("hh",Ct,Yt),Ft("kk",Ct,Yt),Ft("hmm",Pt),Ft("hmmss",Rt),Ft("Hmm",Pt),Ft("Hmmss",Rt),Zt(["H","HH"],en),Zt(["k","kk"],(function(e,t,n){var r=kt(e);t[en]=24===r?0:r})),Zt(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),Zt(["h","hh"],(function(e,t,n){t[en]=kt(e),Ge(n).bigHour=!0})),Zt("hmm",(function(e,t,n){var r=e.length-2;t[en]=kt(e.substr(0,r)),t[tn]=kt(e.substr(r)),Ge(n).bigHour=!0})),Zt("hmmss",(function(e,t,n){var r=e.length-4,a=e.length-2;t[en]=kt(e.substr(0,r)),t[tn]=kt(e.substr(r,2)),t[nn]=kt(e.substr(a)),Ge(n).bigHour=!0})),Zt("Hmm",(function(e,t,n){var r=e.length-2;t[en]=kt(e.substr(0,r)),t[tn]=kt(e.substr(r))})),Zt("Hmmss",(function(e,t,n){var r=e.length-4,a=e.length-2;t[en]=kt(e.substr(0,r)),t[tn]=kt(e.substr(r,2)),t[nn]=kt(e.substr(a))}));var Wn=St("Hours",!0);var Un,In={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:ln,monthsShort:un,week:{dow:0,doy:6},weekdays:En,weekdaysMin:Yn,weekdaysShort:On,meridiemParse:/[ap]\.?m?\.?/i},jn={},Hn={};function Vn(e,t){var n,r=Math.min(e.length,t.length);for(n=0;r>n;n+=1)if(e[n]!==t[n])return n;return r}function Fn(e){return e?e.toLowerCase().replace("_","-"):e}function Gn(e){var t=null;if(void 0===jn[e]&&"undefined"!=typeof module&&module&&module.exports&&function(e){return null!=e.match("^[^/\\\\]*$")}(e))try{t=Un._abbr,require("./locale/"+e),zn(t)}catch(t){jn[e]=null}return jn[e]}function zn(e,t){var n;return e&&((n=Ue(t)?Zn(e):Bn(e,t))?Un=n:void 0!==console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Un._abbr}function Bn(e,t){if(null!==t){var n,r=In;if(t.abbr=e,null!=jn[e])nt("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=jn[e]._config;else if(null!=t.parentLocale)if(null!=jn[t.parentLocale])r=jn[t.parentLocale]._config;else{if(null==(n=Gn(t.parentLocale)))return Hn[t.parentLocale]||(Hn[t.parentLocale]=[]),Hn[t.parentLocale].push({name:e,config:t}),null;r=n._config}return jn[e]=new it(at(r,t)),Hn[e]&&Hn[e].forEach((function(e){Bn(e.name,e.config)})),zn(e),jn[e]}return delete jn[e],null}function Zn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Un;if(!Re(e)){if(t=Gn(e))return t;e=[e]}return function(e){for(var t,n,r,a,i=0;e.length>i;){for(t=(a=Fn(e[i]).split("-")).length,n=(n=Fn(e[i+1]))?n.split("-"):null;t>0;){if(r=Gn(a.slice(0,t).join("-")))return r;if(n&&n.length>=t&&Vn(a,n)>=t-1)break;t--}i++}return Un}(e)}function Kn(e){var t,n=e._a;return n&&-2===Ge(e).overflow&&(t=0>n[Qt]||n[Qt]>11?Qt:1>n[Xt]||n[Xt]>on(n[Jt],n[Qt])?Xt:0>n[en]||n[en]>24||24===n[en]&&(0!==n[tn]||0!==n[nn]||0!==n[rn])?en:0>n[tn]||n[tn]>59?tn:0>n[nn]||n[nn]>59?nn:0>n[rn]||n[rn]>999?rn:-1,Ge(e)._overflowDayOfYear&&(Jt>t||t>Xt)&&(t=Xt),Ge(e)._overflowWeeks&&-1===t&&(t=an),Ge(e)._overflowWeekday&&-1===t&&(t=sn),Ge(e).overflow=t),e}var $n=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,qn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Jn=/Z|[+-]\d\d(?::?\d\d)?/,Qn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Xn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],er=/^\/?Date\((-?\d+)/i,tr=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,nr={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function rr(e){var t,n,r,a,i,s,o=e._i,l=$n.exec(o)||qn.exec(o),u=Qn.length,c=Xn.length;if(l){for(Ge(e).iso=!0,t=0,n=u;n>t;t++)if(Qn[t][1].exec(l[1])){a=Qn[t][0],r=!1!==Qn[t][2];break}if(null==a)return void(e._isValid=!1);if(l[3]){for(t=0,n=c;n>t;t++)if(Xn[t][1].exec(l[3])){i=(l[2]||" ")+Xn[t][0];break}if(null==i)return void(e._isValid=!1)}if(!r&&null!=i)return void(e._isValid=!1);if(l[4]){if(!Jn.exec(l[4]))return void(e._isValid=!1);s="Z"}e._f=a+(i||"")+(s||""),lr(e)}else e._isValid=!1}function ar(e){var t=parseInt(e,10);return t>49?t>999?t:1900+t:2e3+t}function ir(e){var t,n,r,a,i,s,o,l=tr.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(l){if(n=l[3],r=l[2],a=l[5],i=l[6],s=l[7],o=[ar(l[4]),un.indexOf(n),parseInt(r,10),parseInt(a,10),parseInt(i,10)],s&&o.push(parseInt(s,10)),!function(e,t,n){return!e||On.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(Ge(n).weekdayMismatch=!0,n._isValid=!1,!1)}(l[1],t=o,e))return;e._a=t,e._tzm=function(e,t,n){if(e)return nr[e];if(t)return 0;var r=parseInt(n,10),a=r%100;return(r-a)/100*60+a}(l[8],l[9],l[10]),e._d=wn.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),Ge(e).rfc2822=!0}else e._isValid=!1}function sr(e,t,n){return null!=e?e:null!=t?t:n}function or(e){var t,n,r,a,i,s=[];if(!e._d){for(r=function(e){var t=new Date(Pe.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[Xt]&&null==e._a[Qt]&&function(e){var t,n,r,a,i,s,o,l,u;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(i=1,s=4,n=sr(t.GG,e._a[Jt],Sn(dr(),1,4).year),r=sr(t.W,1),(1>(a=sr(t.E,1))||a>7)&&(l=!0)):(i=e._locale._week.dow,s=e._locale._week.doy,u=Sn(dr(),i,s),n=sr(t.gg,e._a[Jt],u.year),r=sr(t.w,u.week),null!=t.d?(0>(a=t.d)||a>6)&&(l=!0):null!=t.e?(a=t.e+i,(0>t.e||t.e>6)&&(l=!0)):a=i);1>r||r>Mn(n,i,s)?Ge(e)._overflowWeeks=!0:null!=l?Ge(e)._overflowWeekday=!0:(o=kn(n,r,a,i,s),e._a[Jt]=o.year,e._dayOfYear=o.dayOfYear)}(e),null!=e._dayOfYear&&(i=sr(e._a[Jt],r[Jt]),(e._dayOfYear>vn(i)||0===e._dayOfYear)&&(Ge(e)._overflowDayOfYear=!0),n=wn(i,0,e._dayOfYear),e._a[Qt]=n.getUTCMonth(),e._a[Xt]=n.getUTCDate()),t=0;3>t&&null==e._a[t];++t)e._a[t]=s[t]=r[t];for(;7>t;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[en]&&0===e._a[tn]&&0===e._a[nn]&&0===e._a[rn]&&(e._nextDay=!0,e._a[en]=0),e._d=(e._useUTC?wn:gn).apply(null,s),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[en]=24),e._w&&void 0!==e._w.d&&e._w.d!==a&&(Ge(e).weekdayMismatch=!0)}}function lr(e){if(e._f!==Pe.ISO_8601)if(e._f!==Pe.RFC_2822){e._a=[],Ge(e).empty=!0;var t,n,r,a,i,s,o,l=""+e._i,u=l.length,c=0;for(o=(r=ft(e._f,e._locale).match(ot)||[]).length,t=0;o>t;t++)(n=(l.match(Gt(a=r[t],e))||[])[0])&&((i=l.substr(0,l.indexOf(n))).length>0&&Ge(e).unusedInput.push(i),l=l.slice(l.indexOf(n)+n.length),c+=n.length),ct[a]?(n?Ge(e).empty=!1:Ge(e).unusedTokens.push(a),$t(a,n,e)):e._strict&&!n&&Ge(e).unusedTokens.push(a);Ge(e).charsLeftOver=u-c,l.length>0&&Ge(e).unusedInput.push(l),12>=e._a[en]&&!0===Ge(e).bigHour&&e._a[en]>0&&(Ge(e).bigHour=void 0),Ge(e).parsedDateParts=e._a.slice(0),Ge(e).meridiem=e._meridiem,e._a[en]=function(e,t,n){var r;if(null==n)return t;return null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&12>t&&(t+=12),r||12!==t||(t=0),t):t}(e._locale,e._a[en],e._meridiem),null!==(s=Ge(e).era)&&(e._a[Jt]=e._locale.erasConvertYear(s,e._a[Jt])),or(e),Kn(e)}else ir(e);else rr(e)}function ur(e){var t=e._i,n=e._f;return e._locale=e._locale||Zn(e._l),null===t||void 0===n&&""===t?Be({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),Je(t)?new qe(Kn(t)):(je(t)?e._d=t:Re(n)?function(e){var t,n,r,a,i,s,o=!1,l=e._f.length;if(0===l)return Ge(e).invalidFormat=!0,void(e._d=new Date(NaN));for(a=0;l>a;a++)i=0,s=!1,t=$e({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[a],lr(t),ze(t)&&(s=!0),i+=Ge(t).charsLeftOver,i+=10*Ge(t).unusedTokens.length,Ge(t).score=i,o?r>i&&(r=i,n=t):(null==r||r>i||s)&&(r=i,n=t,s&&(o=!0));Ve(e,n||t)}(e):n?lr(e):function(e){var t=e._i;Ue(t)?e._d=new Date(Pe.now()):je(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=er.exec(e._i);null===t?(rr(e),!1===e._isValid&&(delete e._isValid,ir(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:Pe.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):Re(t)?(e._a=He(t.slice(0),(function(e){return parseInt(e,10)})),or(e)):Ae(t)?function(e){if(!e._d){var t=vt(e._i);e._a=He([t.year,t.month,void 0===t.day?t.date:t.day,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),or(e)}}(e):Ie(t)?e._d=new Date(t):Pe.createFromInputFallback(e)}(e),ze(e)||(e._d=null),e))}function cr(e,t,n,r,a){var i,s={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(Ae(e)&&We(e)||Re(e)&&0===e.length)&&(e=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=a,s._l=n,s._i=e,s._f=t,s._strict=r,(i=new qe(Kn(ur(s))))._nextDay&&(i.add(1,"d"),i._nextDay=void 0),i}function dr(e,t,n,r){return cr(e,t,n,r,!1)}Pe.createFromInputFallback=Xe("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),Pe.ISO_8601=function(){},Pe.RFC_2822=function(){};var hr=Xe("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=dr.apply(null,arguments);return this.isValid()&&e.isValid()?this>e?this:e:Be()})),fr=Xe("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=dr.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Be()}));function mr(e,t){var n,r;if(1===t.length&&Re(t[0])&&(t=t[0]),!t.length)return dr();for(n=t[0],r=1;t.length>r;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var pr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function yr(e){var t=vt(e),n=t.year||0,r=t.quarter||0,a=t.month||0,i=t.week||t.isoWeek||0,s=t.day||0,o=t.hour||0,l=t.minute||0,u=t.second||0,c=t.millisecond||0;this._isValid=function(e){var t,n,r=!1,a=pr.length;for(t in e)if(Le(e,t)&&(-1===qt.call(pr,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;a>n;++n)if(e[pr[n]]){if(r)return!1;parseFloat(e[pr[n]])!==kt(e[pr[n]])&&(r=!0)}return!0}(t),this._milliseconds=+c+1e3*u+6e4*l+1e3*o*60*60,this._days=+s+7*i,this._months=+a+3*r+12*n,this._data={},this._locale=Zn(),this._bubble()}function vr(e){return e instanceof yr}function _r(e){return 0>e?-1*Math.round(-1*e):Math.round(e)}function gr(e,t){dt(e,0,0,(function(){var e=this.utcOffset(),n="+";return 0>e&&(e=-e,n="-"),n+st(~~(e/60),2)+t+st(~~e%60,2)}))}gr("Z",":"),gr("ZZ",""),Ft("Z",Ht),Ft("ZZ",Ht),Zt(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=br(Ht,e)}));var wr=/([\+\-]|\d\d)/gi;function br(e,t){var n,r,a=(t||"").match(e);return null===a?null:0===(r=60*(n=((a[a.length-1]||[])+"").match(wr)||["-",0,0])[1]+kt(n[2]))?0:"+"===n[0]?r:-r}function kr(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(Je(e)||je(e)?e.valueOf():dr(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),Pe.updateOffset(n,!1),n):dr(e).local()}function Sr(e){return-Math.round(e._d.getTimezoneOffset())}function Mr(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}Pe.updateOffset=function(){};var Dr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Er=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Or(e,t){var n,r,a,i=e,s=null;return vr(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:Ie(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(s=Dr.exec(e))?(n="-"===s[1]?-1:1,i={y:0,d:kt(s[Xt])*n,h:kt(s[en])*n,m:kt(s[tn])*n,s:kt(s[nn])*n,ms:kt(_r(1e3*s[rn]))*n}):(s=Er.exec(e))?i={y:Yr(s[2],n="-"===s[1]?-1:1),M:Yr(s[3],n),w:Yr(s[4],n),d:Yr(s[5],n),h:Yr(s[6],n),m:Yr(s[7],n),s:Yr(s[8],n)}:null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(a=function(e,t){var n;if(!e.isValid()||!t.isValid())return{milliseconds:0,months:0};t=kr(t,e),e.isBefore(t)?n=Nr(e,t):((n=Nr(t,e)).milliseconds=-n.milliseconds,n.months=-n.months);return n}(dr(i.from),dr(i.to)),(i={}).ms=a.milliseconds,i.M=a.months),r=new yr(i),vr(e)&&Le(e,"_locale")&&(r._locale=e._locale),vr(e)&&Le(e,"_isValid")&&(r._isValid=e._isValid),r}function Yr(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Nr(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function xr(e,t){return function(n,r){var a;return null===r||isNaN(+r)||(nt(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=n,n=r,r=a),Tr(this,Or(n,r),e),this}}function Tr(e,t,n,r){var a=t._milliseconds,i=_r(t._days),s=_r(t._months);e.isValid()&&(r=null==r||r,s&&mn(e,Mt(e,"Month")+s*n),i&&Dt(e,"Date",Mt(e,"Date")+i*n),a&&e._d.setTime(e._d.valueOf()+a*n),r&&Pe.updateOffset(e,i||s))}Or.fn=yr.prototype,Or.invalid=function(){return Or(NaN)};var Cr=xr(1,"add"),Pr=xr(-1,"subtract");function Rr(e){return"string"==typeof e||e instanceof String}function Ar(e){return Je(e)||je(e)||Rr(e)||Ie(e)||function(e){var t=Re(e),n=!1;t&&(n=0===e.filter((function(t){return!Ie(t)&&Rr(e)})).length);return t&&n}(e)||function(e){var t,n=Ae(e)&&!We(e),r=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],i=a.length;for(t=0;i>t;t+=1)r=r||Le(e,a[t]);return n&&r}(e)||null==e}function Lr(e,t){if(e.date()<t.date())return-Lr(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(0>t-r?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(n+1,"months")-r)))||0}function Wr(e){var t;return void 0===e?this._locale._abbr:(null!=(t=Zn(e))&&(this._locale=t),this)}Pe.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",Pe.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Ur=Xe("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function Ir(){return this._locale}var jr=1e3,Hr=60*jr,Vr=60*Hr,Fr=3506328*Vr;function Gr(e,t){return(e%t+t)%t}function zr(e,t,n){return 100>e&&e>=0?new Date(e+400,t,n)-Fr:new Date(e,t,n).valueOf()}function Br(e,t,n){return 100>e&&e>=0?Date.UTC(e+400,t,n)-Fr:Date.UTC(e,t,n)}function Zr(e,t){return t.erasAbbrRegex(e)}function Kr(){var e,t,n=[],r=[],a=[],i=[],s=this.eras();for(e=0,t=s.length;t>e;++e)r.push(zt(s[e].name)),n.push(zt(s[e].abbr)),a.push(zt(s[e].narrow)),i.push(zt(s[e].name)),i.push(zt(s[e].abbr)),i.push(zt(s[e].narrow));this._erasRegex=RegExp("^("+i.join("|")+")","i"),this._erasNameRegex=RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=RegExp("^("+a.join("|")+")","i")}function $r(e,t){dt(0,[e,e.length],0,t)}function qr(e,t,n,r,a){var i;return null==e?Sn(this,r,a).year:(t>(i=Mn(e,r,a))&&(t=i),Jr.call(this,e,t,n,r,a))}function Jr(e,t,n,r,a){var i=kn(e,t,n,r,a),s=wn(i.year,0,i.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}dt("N",0,0,"eraAbbr"),dt("NN",0,0,"eraAbbr"),dt("NNN",0,0,"eraAbbr"),dt("NNNN",0,0,"eraName"),dt("NNNNN",0,0,"eraNarrow"),dt("y",["y",1],"yo","eraYear"),dt("y",["yy",2],0,"eraYear"),dt("y",["yyy",3],0,"eraYear"),dt("y",["yyyy",4],0,"eraYear"),Ft("N",Zr),Ft("NN",Zr),Ft("NNN",Zr),Ft("NNNN",(function(e,t){return t.erasNameRegex(e)})),Ft("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),Zt(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var a=n._locale.erasParse(e,r,n._strict);a?Ge(n).era=a:Ge(n).invalidEra=e})),Ft("y",Ut),Ft("yy",Ut),Ft("yyy",Ut),Ft("yyyy",Ut),Ft("yo",(function(e,t){return t._eraYearOrdinalRegex||Ut})),Zt(["y","yy","yyy","yyyy"],Jt),Zt(["yo"],(function(e,t,n,r){var a;n._locale._eraYearOrdinalRegex&&(a=e.match(n._locale._eraYearOrdinalRegex)),t[Jt]=n._locale.eraYearOrdinalParse?n._locale.eraYearOrdinalParse(e,a):parseInt(e,10)})),dt(0,["gg",2],0,(function(){return this.weekYear()%100})),dt(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),$r("gggg","weekYear"),$r("ggggg","weekYear"),$r("GGGG","isoWeekYear"),$r("GGGGG","isoWeekYear"),pt("weekYear","gg"),pt("isoWeekYear","GG"),gt("weekYear",1),gt("isoWeekYear",1),Ft("G",It),Ft("g",It),Ft("GG",Ct,Yt),Ft("gg",Ct,Yt),Ft("GGGG",Lt,xt),Ft("gggg",Lt,xt),Ft("GGGGG",Wt,Tt),Ft("ggggg",Wt,Tt),Kt(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=kt(e)})),Kt(["gg","GG"],(function(e,t,n,r){t[r]=Pe.parseTwoDigitYear(e)})),dt("Q",0,"Qo","quarter"),pt("quarter","Q"),gt("quarter",7),Ft("Q",Ot),Zt("Q",(function(e,t){t[Qt]=3*(kt(e)-1)})),dt("D",["DD",2],"Do","date"),pt("date","D"),gt("date",9),Ft("D",Ct),Ft("DD",Ct,Yt),Ft("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Zt(["D","DD"],Xt),Zt("Do",(function(e,t){t[Xt]=kt(e.match(Ct)[0])}));var Qr=St("Date",!0);dt("DDD",["DDDD",3],"DDDo","dayOfYear"),pt("dayOfYear","DDD"),gt("dayOfYear",4),Ft("DDD",At),Ft("DDDD",Nt),Zt(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=kt(e)})),dt("m",["mm",2],0,"minute"),pt("minute","m"),gt("minute",14),Ft("m",Ct),Ft("mm",Ct,Yt),Zt(["m","mm"],tn);var Xr=St("Minutes",!1);dt("s",["ss",2],0,"second"),pt("second","s"),gt("second",15),Ft("s",Ct),Ft("ss",Ct,Yt),Zt(["s","ss"],nn);var ea,ta,na=St("Seconds",!1);for(dt("S",0,0,(function(){return~~(this.millisecond()/100)})),dt(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),dt(0,["SSS",3],0,"millisecond"),dt(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),dt(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),dt(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),dt(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),dt(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),dt(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),pt("millisecond","ms"),gt("millisecond",16),Ft("S",At,Ot),Ft("SS",At,Yt),Ft("SSS",At,Nt),ea="SSSS";9>=ea.length;ea+="S")Ft(ea,Ut);function ra(e,t){t[rn]=kt(1e3*("0."+e))}for(ea="S";9>=ea.length;ea+="S")Zt(ea,ra);ta=St("Milliseconds",!1),dt("z",0,0,"zoneAbbr"),dt("zz",0,0,"zoneName");var aa=qe.prototype;function ia(e){return e}aa.add=Cr,aa.calendar=function(e,t){1===arguments.length&&(arguments[0]?Ar(arguments[0])?(e=arguments[0],t=void 0):function(e){var t,n=Ae(e)&&!We(e),r=!1,a=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;a.length>t;t+=1)r=r||Le(e,a[t]);return n&&r}(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||dr(),r=kr(n,this).startOf("day"),a=Pe.calendarFormat(this,r)||"sameElse",i=t&&(rt(t[a])?t[a].call(this,n):t[a]);return this.format(i||this.localeData().calendar(a,this,dr(n)))},aa.clone=function(){return new qe(this)},aa.diff=function(e,t,n){var r,a,i;if(!this.isValid())return NaN;if(!(r=kr(e,this)).isValid())return NaN;switch(a=6e4*(r.utcOffset()-this.utcOffset()),t=yt(t)){case"year":i=Lr(this,r)/12;break;case"month":i=Lr(this,r);break;case"quarter":i=Lr(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-a)/864e5;break;case"week":i=(this-r-a)/6048e5;break;default:i=this-r}return n?i:bt(i)},aa.endOf=function(e){var t,n;if(void 0===(e=yt(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?Br:zr,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Vr-Gr(t+(this._isUTC?0:this.utcOffset()*Hr),Vr)-1;break;case"minute":t=this._d.valueOf(),t+=Hr-Gr(t,Hr)-1;break;case"second":t=this._d.valueOf(),t+=jr-Gr(t,jr)-1}return this._d.setTime(t),Pe.updateOffset(this,!0),this},aa.format=function(e){e||(e=this.isUtc()?Pe.defaultFormatUtc:Pe.defaultFormat);var t=ht(this,e);return this.localeData().postformat(t)},aa.from=function(e,t){return this.isValid()&&(Je(e)&&e.isValid()||dr(e).isValid())?Or({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},aa.fromNow=function(e){return this.from(dr(),e)},aa.to=function(e,t){return this.isValid()&&(Je(e)&&e.isValid()||dr(e).isValid())?Or({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},aa.toNow=function(e){return this.to(dr(),e)},aa.get=function(e){return rt(this[e=yt(e)])?this[e]():this},aa.invalidAt=function(){return Ge(this).overflow},aa.isAfter=function(e,t){var n=Je(e)?e:dr(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=yt(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},aa.isBefore=function(e,t){var n=Je(e)?e:dr(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=yt(t)||"millisecond")?n.valueOf()>this.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},aa.isBetween=function(e,t,n,r){var a=Je(e)?e:dr(e),i=Je(t)?t:dr(t);return!!(this.isValid()&&a.isValid()&&i.isValid())&&(("("===(r=r||"()")[0]?this.isAfter(a,n):!this.isBefore(a,n))&&(")"===r[1]?this.isBefore(i,n):!this.isAfter(i,n)))},aa.isSame=function(e,t){var n,r=Je(e)?e:dr(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=yt(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},aa.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},aa.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},aa.isValid=function(){return ze(this)},aa.lang=Ur,aa.locale=Wr,aa.localeData=Ir,aa.max=fr,aa.min=hr,aa.parsingFlags=function(){return Ve({},Ge(this))},aa.set=function(e,t){if("object"==typeof e){var n,r=function(e){var t,n=[];for(t in e)Le(e,t)&&n.push({unit:t,priority:_t[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}(e=vt(e)),a=r.length;for(n=0;a>n;n++)this[r[n].unit](e[r[n].unit])}else if(rt(this[e=yt(e)]))return this[e](t);return this},aa.startOf=function(e){var t,n;if(void 0===(e=yt(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?Br:zr,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Gr(t+(this._isUTC?0:this.utcOffset()*Hr),Vr);break;case"minute":t=this._d.valueOf(),t-=Gr(t,Hr);break;case"second":t=this._d.valueOf(),t-=Gr(t,jr)}return this._d.setTime(t),Pe.updateOffset(this,!0),this},aa.subtract=Pr,aa.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},aa.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},aa.toDate=function(){return new Date(this.valueOf())},aa.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return 0>n.year()||n.year()>9999?ht(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):rt(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",ht(n,"Z")):ht(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},aa.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n="moment",r="";return this.isLocal()||(n=0===this.utcOffset()?"moment.utc":"moment.parseZone",r="Z"),e="["+n+'("]',t=0>this.year()||this.year()>9999?"YYYYYY":"YYYY","-MM-DD[T]HH:mm:ss.SSS",this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+(r+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(aa[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),aa.toJSON=function(){return this.isValid()?this.toISOString():null},aa.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},aa.unix=function(){return Math.floor(this.valueOf()/1e3)},aa.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},aa.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},aa.eraName=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;t>e;++e){if((n=this.clone().startOf("day").valueOf())>=r[e].since&&r[e].until>=n)return r[e].name;if(n>=r[e].until&&r[e].since>=n)return r[e].name}return""},aa.eraNarrow=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;t>e;++e){if((n=this.clone().startOf("day").valueOf())>=r[e].since&&r[e].until>=n)return r[e].narrow;if(n>=r[e].until&&r[e].since>=n)return r[e].narrow}return""},aa.eraAbbr=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;t>e;++e){if((n=this.clone().startOf("day").valueOf())>=r[e].since&&r[e].until>=n)return r[e].abbr;if(n>=r[e].until&&r[e].since>=n)return r[e].abbr}return""},aa.eraYear=function(){var e,t,n,r,a=this.localeData().eras();for(e=0,t=a.length;t>e;++e)if(n=a[e].since>a[e].until?-1:1,(r=this.clone().startOf("day").valueOf())>=a[e].since&&a[e].until>=r||r>=a[e].until&&a[e].since>=r)return(this.year()-Pe(a[e].since).year())*n+a[e].offset;return this.year()},aa.year=_n,aa.isLeapYear=function(){return wt(this.year())},aa.weekYear=function(e){return qr.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},aa.isoWeekYear=function(e){return qr.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},aa.quarter=aa.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},aa.month=pn,aa.daysInMonth=function(){return on(this.year(),this.month())},aa.week=aa.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},aa.isoWeek=aa.isoWeeks=function(e){var t=Sn(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},aa.weeksInYear=function(){var e=this.localeData()._week;return Mn(this.year(),e.dow,e.doy)},aa.weeksInWeekYear=function(){var e=this.localeData()._week;return Mn(this.weekYear(),e.dow,e.doy)},aa.isoWeeksInYear=function(){return Mn(this.year(),1,4)},aa.isoWeeksInISOWeekYear=function(){return Mn(this.isoWeekYear(),1,4)},aa.date=Qr,aa.day=aa.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},aa.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},aa.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},aa.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},aa.hour=aa.hours=Wn,aa.minute=aa.minutes=Xr,aa.second=aa.seconds=na,aa.millisecond=aa.milliseconds=ta,aa.utcOffset=function(e,t,n){var r,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=br(Ht,e)))return this}else 16>Math.abs(e)&&!n&&(e*=60);return!this._isUTC&&t&&(r=Sr(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),a!==e&&(!t||this._changeInProgress?Tr(this,Or(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,Pe.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:Sr(this)},aa.utc=function(e){return this.utcOffset(0,e)},aa.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Sr(this),"m")),this},aa.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=br(jt,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},aa.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?dr(e).utcOffset():0,(this.utcOffset()-e)%60==0)},aa.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},aa.isLocal=function(){return!!this.isValid()&&!this._isUTC},aa.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},aa.isUtc=Mr,aa.isUTC=Mr,aa.zoneAbbr=function(){return this._isUTC?"UTC":""},aa.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},aa.dates=Xe("dates accessor is deprecated. Use date instead.",Qr),aa.months=Xe("months accessor is deprecated. Use month instead",pn),aa.years=Xe("years accessor is deprecated. Use year instead",_n),aa.zone=Xe("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),aa.isDSTShifted=Xe("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!Ue(this._isDSTShifted))return this._isDSTShifted;var e,t={};return $e(t,this),(t=ur(t))._a?(e=t._isUTC?Fe(t._a):dr(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var r,a=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),s=0;for(r=0;a>r;r++)(n&&e[r]!==t[r]||!n&&kt(e[r])!==kt(t[r]))&&s++;return s+i}(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var sa=it.prototype;function oa(e,t,n,r){var a=Zn(),i=Fe().set(r,t);return a[n](i,e)}function la(e,t,n){if(Ie(e)&&(t=e,e=void 0),e=e||"",null!=t)return oa(e,t,n,"month");var r,a=[];for(r=0;12>r;r++)a[r]=oa(e,r,n,"month");return a}function ua(e,t,n,r){"boolean"==typeof e?(Ie(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,Ie(t)&&(n=t,t=void 0),t=t||"");var a,i=Zn(),s=e?i._week.dow:0,o=[];if(null!=n)return oa(t,(n+s)%7,r,"day");for(a=0;7>a;a++)o[a]=oa(t,(a+s)%7,r,"day");return o}sa.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return rt(r)?r.call(t,n):r},sa.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(ot).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},sa.invalidDate=function(){return this._invalidDate},sa.ordinal=function(e){return this._ordinal.replace("%d",e)},sa.preparse=ia,sa.postformat=ia,sa.relativeTime=function(e,t,n,r){var a=this._relativeTime[n];return rt(a)?a(e,t,n,r):a.replace(/%d/i,e)},sa.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return rt(n)?n(t):n.replace(/%s/i,t)},sa.set=function(e){var t,n;for(n in e)Le(e,n)&&(rt(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},sa.eras=function(e,t){var n,r,a,i=this._eras||Zn("en")._eras;for(n=0,r=i.length;r>n;++n){if("string"==typeof i[n].since)a=Pe(i[n].since).startOf("day"),i[n].since=a.valueOf();switch(typeof i[n].until){case"undefined":i[n].until=1/0;break;case"string":a=Pe(i[n].until).startOf("day").valueOf(),i[n].until=a.valueOf()}}return i},sa.erasParse=function(e,t,n){var r,a,i,s,o,l=this.eras();for(e=e.toUpperCase(),r=0,a=l.length;a>r;++r)if(i=l[r].name.toUpperCase(),s=l[r].abbr.toUpperCase(),o=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(s===e)return l[r];break;case"NNNN":if(i===e)return l[r];break;case"NNNNN":if(o===e)return l[r]}else if([i,s,o].indexOf(e)>=0)return l[r]},sa.erasConvertYear=function(e,t){var n=e.since>e.until?-1:1;return void 0===t?Pe(e.since).year():Pe(e.since).year()+(t-e.offset)*n},sa.erasAbbrRegex=function(e){return Le(this,"_erasAbbrRegex")||Kr.call(this),e?this._erasAbbrRegex:this._erasRegex},sa.erasNameRegex=function(e){return Le(this,"_erasNameRegex")||Kr.call(this),e?this._erasNameRegex:this._erasRegex},sa.erasNarrowRegex=function(e){return Le(this,"_erasNarrowRegex")||Kr.call(this),e?this._erasNarrowRegex:this._erasRegex},sa.months=function(e,t){return e?Re(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||cn).test(t)?"format":"standalone"][e.month()]:Re(this._months)?this._months:this._months.standalone},sa.monthsShort=function(e,t){return e?Re(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[cn.test(t)?"format":"standalone"][e.month()]:Re(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},sa.monthsParse=function(e,t,n){var r,a,i;if(this._monthsParseExact)return fn.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;12>r;r++){if(a=Fe([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[r]=RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},sa.monthsRegex=function(e){return this._monthsParseExact?(Le(this,"_monthsRegex")||yn.call(this),e?this._monthsStrictRegex:this._monthsRegex):(Le(this,"_monthsRegex")||(this._monthsRegex=hn),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},sa.monthsShortRegex=function(e){return this._monthsParseExact?(Le(this,"_monthsRegex")||yn.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(Le(this,"_monthsShortRegex")||(this._monthsShortRegex=dn),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},sa.week=function(e){return Sn(e,this._week.dow,this._week.doy).week},sa.firstDayOfYear=function(){return this._week.doy},sa.firstDayOfWeek=function(){return this._week.dow},sa.weekdays=function(e,t){var n=Re(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Dn(n,this._week.dow):e?n[e.day()]:n},sa.weekdaysMin=function(e){return!0===e?Dn(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},sa.weekdaysShort=function(e){return!0===e?Dn(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},sa.weekdaysParse=function(e,t,n){var r,a,i;if(this._weekdaysParseExact)return Cn.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;7>r;r++){if(a=Fe([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[r]=RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},sa.weekdaysRegex=function(e){return this._weekdaysParseExact?(Le(this,"_weekdaysRegex")||Pn.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(Le(this,"_weekdaysRegex")||(this._weekdaysRegex=Nn),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},sa.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(Le(this,"_weekdaysRegex")||Pn.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Le(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=xn),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},sa.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(Le(this,"_weekdaysRegex")||Pn.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Le(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Tn),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},sa.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},sa.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},zn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===kt(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),Pe.lang=Xe("moment.lang is deprecated. Use moment.locale instead.",zn),Pe.langData=Xe("moment.langData is deprecated. Use moment.localeData instead.",Zn);var ca=Math.abs;function da(e,t,n,r){var a=Or(t,n);return e._milliseconds+=r*a._milliseconds,e._days+=r*a._days,e._months+=r*a._months,e._bubble()}function ha(e){return 0>e?Math.floor(e):Math.ceil(e)}function fa(e){return 4800*e/146097}function ma(e){return 146097*e/4800}function pa(e){return function(){return this.as(e)}}var ya=pa("ms"),va=pa("s"),_a=pa("m"),ga=pa("h"),wa=pa("d"),ba=pa("w"),ka=pa("M"),Sa=pa("Q"),Ma=pa("y");function Da(e){return function(){return this.isValid()?this._data[e]:NaN}}var Ea=Da("milliseconds"),Oa=Da("seconds"),Ya=Da("minutes"),Na=Da("hours"),xa=Da("days"),Ta=Da("months"),Ca=Da("years");var Pa=Math.round,Ra={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Aa(e,t,n,r,a){return a.relativeTime(t||1,!!n,e,r)}var La=Math.abs;function Wa(e){return(e>0)-(0>e)||+e}function Ua(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,a,i,s,o,l=La(this._milliseconds)/1e3,u=La(this._days),c=La(this._months),d=this.asSeconds();return d?(e=bt(l/60),t=bt(e/60),l%=60,e%=60,n=bt(c/12),c%=12,r=l?l.toFixed(3).replace(/\.?0+$/,""):"",a=0>d?"-":"",i=Wa(this._months)!==Wa(d)?"-":"",s=Wa(this._days)!==Wa(d)?"-":"",o=Wa(this._milliseconds)!==Wa(d)?"-":"",a+"P"+(n?i+n+"Y":"")+(c?i+c+"M":"")+(u?s+u+"D":"")+(t||e||l?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(l?o+r+"S":"")):"P0D"}var Ia=yr.prototype;Ia.isValid=function(){return this._isValid},Ia.abs=function(){var e=this._data;return this._milliseconds=ca(this._milliseconds),this._days=ca(this._days),this._months=ca(this._months),e.milliseconds=ca(e.milliseconds),e.seconds=ca(e.seconds),e.minutes=ca(e.minutes),e.hours=ca(e.hours),e.months=ca(e.months),e.years=ca(e.years),this},Ia.add=function(e,t){return da(this,e,t,1)},Ia.subtract=function(e,t){return da(this,e,t,-1)},Ia.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=yt(e))||"quarter"===e||"year"===e)switch(n=this._months+fa(t=this._days+r/864e5),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(ma(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw Error("Unknown unit "+e)}},Ia.asMilliseconds=ya,Ia.asSeconds=va,Ia.asMinutes=_a,Ia.asHours=ga,Ia.asDays=wa,Ia.asWeeks=ba,Ia.asMonths=ka,Ia.asQuarters=Sa,Ia.asYears=Ma,Ia.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*kt(this._months/12):NaN},Ia._bubble=function(){var e,t,n,r,a,i=this._milliseconds,s=this._days,o=this._months,l=this._data;return(0>i||0>s||0>o)&&(i>0||s>0||o>0)&&(i+=864e5*ha(ma(o)+s),s=0,o=0),l.milliseconds=i%1e3,e=bt(i/1e3),l.seconds=e%60,t=bt(e/60),l.minutes=t%60,n=bt(t/60),l.hours=n%24,s+=bt(n/24),o+=a=bt(fa(s)),s-=ha(ma(a)),r=bt(o/12),o%=12,l.days=s,l.months=o,l.years=r,this},Ia.clone=function(){return Or(this)},Ia.get=function(e){return e=yt(e),this.isValid()?this[e+"s"]():NaN},Ia.milliseconds=Ea,Ia.seconds=Oa,Ia.minutes=Ya,Ia.hours=Na,Ia.days=xa,Ia.weeks=function(){return bt(this.days()/7)},Ia.months=Ta,Ia.years=Ca,Ia.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,a=!1,i=Ra;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(a=e),"object"==typeof t&&(i=Object.assign({},Ra,t),null!=t.s&&null==t.ss&&(i.ss=t.s-1)),r=function(e,t,n,r){var a=Or(e).abs(),i=Pa(a.as("s")),s=Pa(a.as("m")),o=Pa(a.as("h")),l=Pa(a.as("d")),u=Pa(a.as("M")),c=Pa(a.as("w")),d=Pa(a.as("y")),h=n.ss>=i&&["s",i]||n.s>i&&["ss",i]||1>=s&&["m"]||n.m>s&&["mm",s]||1>=o&&["h"]||n.h>o&&["hh",o]||1>=l&&["d"]||n.d>l&&["dd",l];return null!=n.w&&(h=h||1>=c&&["w"]||n.w>c&&["ww",c]),(h=h||1>=u&&["M"]||n.M>u&&["MM",u]||1>=d&&["y"]||["yy",d])[2]=t,h[3]=+e>0,h[4]=r,Aa.apply(null,h)}(this,!a,i,n=this.localeData()),a&&(r=n.pastFuture(+this,r)),n.postformat(r)},Ia.toISOString=Ua,Ia.toString=Ua,Ia.toJSON=Ua,Ia.locale=Wr,Ia.localeData=Ir,Ia.toIsoString=Xe("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ua),Ia.lang=Ur,dt("X",0,0,"unix"),dt("x",0,0,"valueOf"),Ft("x",It),Ft("X",/[+-]?\d+(\.\d{1,3})?/),Zt("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),Zt("x",(function(e,t,n){n._d=new Date(kt(e))})),
|
|
1
|
+
import e,{Component as t,Fragment as n,useState as a,createContext as i,useEffect as r}from"react";import"antd/lib/avatar/style";import o from"antd/lib/avatar";import"antd/lib/menu/style";import s from"antd/lib/menu";import l,{CaretDownOutlined as u,CloseOutlined as c,BellOutlined as d,LogoutOutlined as m,createFromIconfontCN as p,CopyrightOutlined as h}from"@ant-design/icons";import{Icon as f}from"@ant-design/compatible";import y from"classnames";import"antd/lib/select/style";import g from"antd/lib/select";import"antd/lib/dropdown/style";import v from"antd/lib/dropdown";import"antd/lib/badge/style";import w from"antd/lib/badge";import"antd/lib/spin/style";import b from"antd/lib/spin";import"antd/lib/tabs/style";import _ from"antd/lib/tabs";import"antd/lib/list/style";import x from"antd/lib/list";import{SizeMe as k}from"react-sizeme";import"antd/lib/drawer/style";import z from"antd/lib/drawer";import"antd/lib/layout/style";import M from"antd/lib/layout";import"antd/lib/input/style";import S from"antd/lib/input";import D from"path-to-regexp";import O from"lodash/isEqual";import E from"memoize-one";import{extend as j}from"umi-request";import"antd/lib/message/style";import N from"antd/lib/message";import"antd/lib/tag/style";import T from"antd/lib/tag";import"antd/lib/button/style";import Y from"antd/lib/button";import{PageHeader as C}from"@ant-design/pro-layout";function P(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);t>n;n++)a[n]=e[n];return a}function A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R(e,t){for(var n=0;t.length>n;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,J(a.key),a)}}function L(e,t,n){return t&&R(e.prototype,t),n&&R(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function W(e){var t=F();return function(){var n,a=H(e);if(t){var i=H(this).constructor;n=Reflect.construct(a,arguments,i)}else n=a.apply(this,arguments);return function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function I(e,t,n){return(t=J(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function U(){return U=Object.assign?Object.assign.bind():function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},U.apply(null,arguments)}function H(e){return H=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},H(e)}function V(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&K(e,t)}function F(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(F=function(){return!!e})()}function G(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function B(e){for(var t=1;arguments.length>t;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?G(Object(n),!0).forEach((function(t){I(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):G(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function q(e,t){if(null==e)return{};var n,a,i=function(e,t){if(null==e)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(-1!==t.indexOf(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;r.length>a;a++)-1===t.indexOf(n=r[a])&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function K(e,t){return K=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},K(e,t)}function Z(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,i,r,o,s=[],l=!0,u=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=r.call(n)).done)&&(s.push(a.value),s.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw i}}return s}}(e,t)||X(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $(e){return function(e){if(Array.isArray(e))return P(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||X(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function J(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}function Q(e){return Q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Q(e)}function X(e,t){if(e){if("string"==typeof e)return P(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?P(e,t):void 0}}var ee=/(((^https?:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+(?::\d+)?|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\+~%\/.\w-_]*))?)$/;function te(e){return ee.test(e)}var ne=g.Option,ae=function(n){V(i,t);var a=W(i);function i(){var e;return A(this,i),(e=a.apply(this,arguments)).state={overActive:!1,searchData:"",menus:[]},e}return L(i,[{key:"componentWillReceiveProps",value:function(e){if(this.props.allApps!=e.allApps){var t=function(e){var t;t=[];for(var n=0;e.length>n;n++)for(var a=0;e[n].menu.length>a;a++)t.push(e[n].menu[a]);return t}(e.allApps||[]);this.setState({menus:t})}}},{key:"render",value:function(){var t=this,n=this.state,a=n.overActive,i=n.menus,r=this.props,o=r.allApps,s=void 0===o?[]:o,l=r.historyUsed,d=void 0===l?[]:l,m=r.openWithOtherTab,p=y("item-wrapper","omni-topnav-all",{"omni-topnav-all-hover":a});return e.createElement("div",{onMouseLeave:function(){t.setState({overActive:!1})},onClick:function(){t.setState({overActive:!a})},className:p},e.createElement("div",{className:"omni-topnav-all-inner"},e.createElement("div",{className:"omni-topnav-all-tool"},"全部控制台",e.createElement(u,null)),e.createElement("div",{onClick:function(e){e.stopPropagation()},className:"omni-topnav-all-menu"},e.createElement("div",{className:"omni-topnav-all-menu-inner"},e.createElement(c,{onClick:function(e){e.preventDefault(),e.stopPropagation(),t.setState({overActive:!1})},className:"omni-topnav-all-close"}),function(t,n){return e.createElement(g,{className:"omni-headerSearch",placeholder:"通过名称或者关键词来查找后台",filterOption:function(e,t){return t.props.value.toLowerCase().indexOf(e.toLowerCase())>=0||t.props.title.toLowerCase().indexOf(e.toLowerCase())>=0||(t.props.pinyin||"").toLowerCase().indexOf(e.toLowerCase())>=0},onChange:function(e){te(e)&&(window.location.href=e)},showSearch:!0,style:{width:"80%"}},t.map((function(t){return e.createElement(ne,Object.assign({key:t.name,value:t.url,title:t.name},t),e.createElement("a",{style:{color:"#333"},href:t.url,target:n?"_blank":"_self"},e.createElement("div",{style:{width:"100%"}},t.name)))})))}(i,m),e.createElement("div",{className:"omni-topnav-all-body"},function(t,n){return e.createElement("div",{className:"omni-masonry"},t.map((function(t){return e.createElement("div",{key:t.name,className:"omni-masonry-block"},e.createElement("h3",null,t.name),e.createElement("ul",null,t.menu&&t.menu.map((function(t){return e.createElement("a",{target:n?"_blank":"_self",key:t.name,href:t.url||"/"},e.createElement("li",null,t.name||""))}))))})))}(s,m),function(t,n){return e.createElement("div",{className:"history-used"},e.createElement("h2",null,"历史记录"),e.createElement("ul",null,t&&t.map((function(t){return e.createElement("a",{target:n?"_blank":"_self",key:t.name,href:t.url||"/"},e.createElement("li",null,t.name||""))}))))}(d,m))))))}}]),i}(),ie=function(t){var n=t.favoriteApps,a=t.openWithOtherTab,i=t.app;return e.createElement(e.Fragment,null,(void 0===n?[]:n).map((function(t){return e.createElement("a",{key:t.name,className:y("item-link",{active:t.app===i}),href:t.url||"",target:a?"_blank":"_self"},e.createElement("div",{className:"item-wrapper"},t.name))})))},re=["overlayClassName"],oe=function(t){var n=t.overlayClassName,a=q(t,re);return e.createElement(v,U({overlayClassName:y("omni-layout-header-dropdown",n)},a))},se=function(t){var n=t.data,a=void 0===n?[]:n,i=t.onClick,r=t.onClear,s=t.title,l=t.onViewMore,u=t.emptyText,c=t.showClear,d=void 0===c||c,m=t.clearText,p=t.viewMoreText,h=t.showViewMore,f=void 0!==h&&h;return 0===a.length?e.createElement("div",null,e.createElement("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/sAuJeJzSKbUmHfBQRzmZ.svg",alt:"not found"}),e.createElement("div",null,u)):e.createElement("div",null,e.createElement(x,{dataSource:a,renderItem:function(t,n){return e.createElement(x.Item,{key:t.key||n,onClick:function(){return i&&i(t)}},e.createElement(x.Item.Meta,{avatar:t.avatar?"string"==typeof t.avatar?e.createElement(o,{src:t.avatar}):e.createElement("span",null,t.avatar):null,title:e.createElement("div",null,t.title,e.createElement("div",null,t.extra)),description:e.createElement("div",null,e.createElement("div",null,t.description),e.createElement("div",null,t.datetime))}))}}),e.createElement("div",null,d?e.createElement("div",{onClick:r},m," ",s):null,f?e.createElement("div",{onClick:function(e){l&&l(e)}},p):null))},le=_.TabPane,ue=function(n){V(i,t);var a=W(i);function i(){var e;return A(this,i),(e=a.apply(this,arguments)).state={visible:!1},e.onItemClick=function(t,n){var a=e.props.onItemClick;a&&a(t,n)},e.onClear=function(t,n){var a=e.props.onClear;a&&a(t,n)},e.onTabChange=function(t){var n=e.props.onTabChange;n&&n(t)},e.onViewMore=function(t,n){var a=e.props.onViewMore;a&&a(t,n)},e.handleVisibleChange=function(t){var n=e.props.onPopupVisibleChange;e.setState({visible:t}),n&&n(t)},e}return L(i,[{key:"getNotificationBox",value:function(){var t=this,n=this.props,a=n.children,i=n.loading,r=n.clearText,o=n.viewMoreText;if(!a)return null;var s=e.Children.map(a,(function(n){if(!n)return null;var a=n.props,i=a.list,s=a.title,l=a.count,u=a.tabKey,c=a.showClear,d=a.showViewMore,m=l||0===l?l:i&&i.length?i.length:0,p=m>0?"".concat(s," (").concat(m,")"):s;return e.createElement(le,{tab:p,key:s},e.createElement(se,Object.assign({clearText:r,viewMoreText:o,data:i,onClear:function(){return t.onClear(s,u)},onClick:function(e){return t.onItemClick(e,n.props)},onViewMore:function(e){return t.onViewMore(n.props,e)},showClear:c,showViewMore:d},n.props)))}));return e.createElement(e.Fragment,null,e.createElement(b,{spinning:i,delay:300},e.createElement(_,{className:"tabs",onChange:this.onTabChange},s)))}},{key:"render",value:function(){var t=this.props,n=t.count,a=t.bell,i=this.state.visible,r=y(t.className,"noticeButton"),o=a||e.createElement(d,{className:"icon"}),s=e.createElement("span",{className:y(r,{opened:i})},e.createElement(w,{count:n,style:{boxShadow:"none"},className:"badge"},o));return e.createElement("div",null,s)}}]),i}();ue.Tab=se,ue.defaultProps={onItemClick:function(){},onPopupVisibleChange:function(){},onTabChange:function(){},onClear:function(){},onViewMore:function(){},loading:!1,clearClose:!1,emptyImage:"https://gw.alipayobjects.com/zos/rmsportal/wAhyIChODzsoKIOBHcBk.svg"};var ce=e.createContext({state:{routes:[],user:{username:"匿名用户",uid:0},allApps:[],favoriteApps:[],historyUsed:[],noticeBoxShow:!1,noticeCount:0,notices:[],routesMap:{},tabList:[]}}),de=function(e,t){switch(t.type){case"UPDATE_VALUE":return B(B({},e),t.value);case"INSERT_TAB":var n=$(e.tabList);return n.filter((function(e){return t.value===e})).length||n.push(t.value),B(B({},e),{},{tabList:n});case"DELETE_TAB":return n=(n=$(e.tabList)).filter((function(e){return t.value!==e})),B(B({},e),{},{tabList:n});case"CLEAR_TABS":return B(B({},e),{},{tabList:[]});default:return e}},me=function(t){var n=t.children,a=Z(e.useReducer(de,{routes:[],user:{username:"匿名用户",uid:0},allApps:[],favoriteApps:[],historyUsed:[],noticeBoxShow:!1,noticeCount:0,notices:[],routesMap:{},tabList:[]}),2);return e.createElement(ce.Provider,{value:{state:a[0],dispatch:a[1]}},n)},pe=function(t){var n=e.useContext(ce),a=n.state,i=a.noticeBoxShow,r=a.noticeCount,l=a.historyUsed,u=a.favoriteApps,c=a.allApps,d=a.user,p=e.createElement(s,{selectedKeys:[]},e.createElement(s.Item,{onClick:function(){window.location.href=t.logoutPath||"/__logout"},key:"logout"},e.createElement(m,null),"退出")),h=t.logo,g=t.headerLinks,v=t.openWithOtherTab,w=t.noticeSwitch,b=t.app;return e.createElement("div",{className:"omni-header-nav"},e.createElement("div",{className:"left"},e.createElement("div",{className:"item-wrapper header-log"},h&&function(t){return"string"==typeof t?e.createElement("img",{src:t,alt:"logo"}):"function"==typeof t?t():t}(h)),e.createElement(ae,{allApps:c,historyUsed:l,openWithOtherTab:v}),e.createElement(ie,{openWithOtherTab:v,favoriteApps:u,app:b}),g.map((function(t){return e.createElement("a",{key:t.url,className:"item-link",href:t.url||""},e.createElement("div",{className:"item-wrapper"},t.icon&&e.createElement(f,{type:t.icon,style:{marginRight:4}}),t.name))}))),e.createElement("div",{className:"right"},e.createElement("div",{className:"right-slot"},function(e){return!1===e.headerRightRender?null:e.headerRightRender?e.headerRightRender(B({},e),null):null}(t)),w&&e.createElement("span",{onClick:function(){n.dispatch({type:"UPDATE_VALUE",value:{noticeBoxShow:!i}})},className:y("item-wrapper","omni-notice",{active:i})},e.createElement(ue,{count:r})),e.createElement(oe,{overlay:p},e.createElement("span",{className:"item-wrapper"},e.createElement(o,{size:"small",className:"header-dropdown-avatar",src:"https://gw.alipayobjects.com/zos/antfincdn/XAosXuNZyF/BiazfanxmamNRoxxVxka.png",alt:"avatar"}),e.createElement("span",{className:"header-dropdown-title"},d.username)))))};function he(e){if("/"===e)return["/"];var t=e.split("/").filter((function(e){return e}));return t.map((function(e,n){return"/".concat(t.slice(0,n+1).join("/"))}))}var fe=function e(){var t=[];return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(n){n&&(t.push(n.path),n.children&&(t=t.concat(e(n.children))))})),t},ye=function(){var e=arguments.length>1?arguments[1]:void 0;return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).filter((function(t){return t&&D(t).test(e)}))},ge=function(e){var t=e.location,n=e.flatMenuKeys;return he((void 0===t?{pathname:"/"}:t).pathname).map((function(e){return ye(n,e)[0]})).filter((function(e){return e})).reduce((function(e,t){return[].concat($(e),[t])}),["/"])},ve=s.SubMenu,we=p({scriptUrl:""}),be=function(t){return"string"==typeof t?te(t)?e.createElement(l,{component:function(){return e.createElement("img",{src:t,alt:"icon",className:"omni-pro-sider-menu-icon"})}}):t.startsWith("icon")?e.createElement(we,{type:t}):e.createElement(f,{type:t}):t},_e=function(n){V(i,t);var a=W(i);function i(t){var n;A(this,i),(n=a.call(this,t)).state={},n.getNavMenuItems=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).filter((function(e){return e.name&&!e.hideInMenu})).map((function(e){return n.getSubMenuOrItem(e)})).filter((function(e){return e}))},n.getSelectedMenuKeys=function(e){var t=n.props.flatMenuKeys;return he(e).map((function(e){return ye(t,e).pop()})).filter((function(e){return e}))},n.getSubMenuOrItem=function(t){if(Array.isArray(t.children)&&!t.hideChildrenInMenu&&t.children.some((function(e){return e&&!!e.name}))){var a=n.getIntlName(t);return e.createElement(ve,{title:t.icon?e.createElement("span",null,be(t.icon),e.createElement("span",null,a)):a,key:t.path},n.getNavMenuItems(t.children))}return e.createElement(s.Item,{onClick:function(){n.props.commonStore.dispatch({type:"INSERT_TAB",value:t.path})},key:t.path},n.getMenuItemPath(t))},n.getIntlName=function(e){var t=e.name,a=e.locale,i=n.props,r=i.menu,o=i.formatMessage;return a&&(void 0===r?{locale:!1}:r).locale&&o?o({id:a,defaultMessage:t}):t},n.getMenuItemPath=function(t){var a=n.conversionPath(t.path),i=be(t.icon),r=n.props,o=r.location,s=void 0===o?{pathname:"/"}:o,l=r.isMobile,u=r.onCollapse,c=r.menuItemRender,d=t.target,m=n.getIntlName(t),p=e.createElement(e.Fragment,null,i,e.createElement("span",null,m));return/^https?:\/\//.test(a)&&(p=e.createElement("a",{href:a,target:d},i,e.createElement("span",null,m))),c?c(B(B({},t),{},{itemPath:a,replace:a===s.pathname,onClick:function(){return l?u&&u(!0):null}}),p):p},n.conversionPath=function(e){return e&&0===e.indexOf("http")?e:"/".concat(e||"").replace(/\/+/g,"/")},n.getPopupContainer=function(e,t){return e&&"topmenu"===t&&n.warp?n.warp:document.body},n.getRef=function(e){n.warp=e};var r=t.iconfontUrl;return r&&(we=p({scriptUrl:r})),n}return L(i,[{key:"render",value:function(){var t=this,n=this.props,a=n.openKeys,i=n.theme,r=n.mode,o=n.location,l=n.className,u=n.collapsed,c=n.handleOpenChange,d=n.style,m=n.fixedHeader,p=void 0!==m&&m,h=n.layout,f=void 0===h?"sidemenu":h,g=n.menuData,v=n.inlineIndent,w=n.searchKeys,b=void 0===w?[]:w,_=this.getSelectedMenuKeys((void 0===o?{pathname:"/"}:o).pathname);!_.length&&a&&(_=[a[a.length-1]]);var x={};a&&!u&&"sidemenu"===f&&(x={openKeys:0===a.length?$(_):a});var k=y(l,{"top-nav-menu":"horizontal"===r}),z=[].concat($(a),$(b));return e.createElement(e.Fragment,null,e.createElement(s,Object.assign({},x,{openKeys:z,key:"Menu",mode:r,theme:i,onOpenChange:c,selectedKeys:_,style:d,inlineIndent:v,className:k,getPopupContainer:function(){return t.getPopupContainer(p,f)}}),this.getNavMenuItems(g)),e.createElement("div",{ref:this.getRef}))}}],[{key:"getDerivedStateFromProps",value:function(e){var t=e.iconfontUrl;return t&&(we=p({scriptUrl:t})),null}}]),i}();function xe(e,t,n){return e.filter((function(e){return e.children&&(e.children=xe(e.children,t,n)),(t.test(e.name)||e.children&&e.children.length>0)&&n.push(e.path),t.test(e.name)||e.children&&e.children.length>0}))}_e.defaultProps={flatMenuKeys:[],searchKeys:[],onCollapse:function(){},isMobile:!1,openKeys:[],collapsed:!1,handleOpenChange:function(){},menuData:[],onOpenChange:function(){},inlineIndent:12};var ke=S.Search,ze=M.Sider,Me=!0,Se=function(n){V(i,t);var a=W(i);function i(e){var t;return A(this,i),(t=a.call(this,e)).isMainMenu=function(e){var n=t.props.menuData;return(void 0===n?[]:n).some((function(t){return!!e&&(t.key===e||t.path===e)}))},t.handleOpenChange=function(e){var n=e.filter((function(e){return t.isMainMenu(e)})).length>1;t.setState(n?{openKeys:[e.pop()].filter((function(e){return e}))}:{openKeys:$(e)})},t.state={openKeys:ge(e),searchText:""},t}return L(i,[{key:"componentDidMount",value:function(){Me=!1}},{key:"render",value:function(){var t=this,n=this.props,a=n.collapsed,i=n.title,r=n.onCollapse,o=n.theme,s=n.siderWidth,l=void 0===s?206:s,u=n.isMobile,c=n.collapsedWidth,d=n.siderSearchSwitch,m=n.menuData,p=this.state,h=p.searchText,f=a||"sidemenu"!==n.layout?{}:{openKeys:p.openKeys},g=y("omni-pro-sider-menu-sider",{"fix-sider-bar":n.fixSiderbar,light:"light"===o}),v=[],w=[];return w=h?xe(JSON.parse(JSON.stringify(m)),RegExp(h),v):m,e.createElement(ze,{collapsible:!0,trigger:null,collapsed:a,breakpoint:"lg",onCollapse:function(e){!Me&&u||r&&r(e)},collapsedWidth:c,width:l,theme:o,className:g},e.createElement("div",{className:"omni-pro-sider-menu-logo",id:"logo"},e.createElement("a",null,e.createElement("h1",null,i))),e.createElement("div",{style:{display:d?"block":"none"},className:"omni-sider-menu-search"},e.createElement(ke,{placeholder:"搜索",onSearch:function(e){t.setState({searchText:e})}})),e.createElement(_e,Object.assign({},this.props,{menuData:w,searchKeys:v,mode:"inline",handleOpenChange:this.handleOpenChange,onOpenChange:this.handleOpenChange,style:{padding:"8px 0",width:"100%",top:d?100:50}},f)))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.location,a=void 0===n?{pathname:"/"}:n,i=e.flatMenuKeys,r=void 0===i?[]:i;return a.pathname!==t.pathname||r.length!==t.flatMenuKeysLen?{pathname:a.pathname,flatMenuKeysLen:r.length,openKeys:ge(e)}:null}}]),i}();Se.defaultProps={flatMenuKeys:[],onCollapse:function(){},isMobile:!1,openKeys:[],collapsed:!1,handleOpenChange:function(){},menuData:[],onOpenChange:function(){}};var De=function(t){var n=t.isMobile,a=t.collapsed,i=t.onCollapse,r=t.siderSearchSwitch,o=fe(t.menuData),s=e.useContext(ce);return n?e.createElement(z,{open:!a,placement:"left",rootClassName:"omni-pro-sider-menu",onClose:function(){return i&&i(!0)},rootStyle:{padding:0,height:"100vh"}},e.createElement(Se,Object.assign({},t,{commonStore:s,flatMenuKeys:o,collapsed:!n&&a}))):e.createElement(Se,Object.assign({className:"omni-pro-sider-menu",style:{top:r?100:50}},t,{commonStore:s,flatMenuKeys:o}))};De.defaultProps={onCollapse:function(){}};var Oe,Ee,je=function(t){var n=t.links,a=t.copyright,i=y("omni-layout-global-footer",t.className);return e.createElement("footer",{className:i},n&&e.createElement("div",{className:"omni-layout-global-footer-links"},n.map((function(t){return e.createElement("a",{key:t.key,title:t.key,target:t.blankTarget?"_blank":"_self",href:t.href},t.title)}))),a&&e.createElement("div",{className:"omni-layout-global-footer-copyright"},a))},Ne=M.Footer,Te=(new Date).getFullYear(),Ye=Te>2020?"2020-".concat(Te):"2020",Ce=function(){return e.createElement(Ne,{style:{padding:0}},e.createElement(je,{links:[],copyright:e.createElement(n,null,"Copyright ",e.createElement(h,null)," ",Ye," WSD出品")}))};function Pe(){return Oe.apply(null,arguments)}function Ae(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function Re(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function Le(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function We(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(Le(e,t))return!1;return!0}function Ie(e){return void 0===e}function Ue(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function He(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function Ve(e,t){var n,a=[],i=e.length;for(n=0;i>n;++n)a.push(t(e[n],n));return a}function Fe(e,t){for(var n in t)Le(t,n)&&(e[n]=t[n]);return Le(t,"toString")&&(e.toString=t.toString),Le(t,"valueOf")&&(e.valueOf=t.valueOf),e}function Ge(e,t,n,a){return ma(e,t,n,a,!0).utc()}function Be(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function qe(e){if(null==e._isValid){var t=Be(e),n=Ee.call(t.parsedDateParts,(function(e){return null!=e})),a=!isNaN(e._d.getTime())&&0>t.overflow&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(a=a&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return a;e._isValid=a}return e._isValid}function Ke(e){var t=Ge(NaN);return null!=e?Fe(Be(t),e):Be(t).userInvalidated=!0,t}Ee=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),a=n.length>>>0;for(t=0;a>t;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var Ze=Pe.momentProperties=[],$e=!1;function Je(e,t){var n,a,i,r=Ze.length;if(Ie(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),Ie(t._i)||(e._i=t._i),Ie(t._f)||(e._f=t._f),Ie(t._l)||(e._l=t._l),Ie(t._strict)||(e._strict=t._strict),Ie(t._tzm)||(e._tzm=t._tzm),Ie(t._isUTC)||(e._isUTC=t._isUTC),Ie(t._offset)||(e._offset=t._offset),Ie(t._pf)||(e._pf=Be(t)),Ie(t._locale)||(e._locale=t._locale),r>0)for(n=0;r>n;n++)Ie(i=t[a=Ze[n]])||(e[a]=i);return e}function Qe(e){Je(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===$e&&($e=!0,Pe.updateOffset(this),$e=!1)}function Xe(e){return e instanceof Qe||null!=e&&null!=e._isAMomentObject}function et(e){!1===Pe.suppressDeprecationWarnings&&void 0!==console&&console.warn&&console.warn("Deprecation warning: "+e)}function tt(e,t){var n=!0;return Fe((function(){if(null!=Pe.deprecationHandler&&Pe.deprecationHandler(null,e),n){var a,i,r,o=[],s=arguments.length;for(i=0;s>i;i++){if(a="","object"==typeof arguments[i]){for(r in a+="\n["+i+"] ",arguments[0])Le(arguments[0],r)&&(a+=r+": "+arguments[0][r]+", ");a=a.slice(0,-2)}else a=arguments[i];o.push(a)}et(e+"\nArguments: "+Array.prototype.slice.call(o).join("")+"\n"+Error().stack),n=!1}return t.apply(this,arguments)}),t)}var nt,at={};function it(e,t){null!=Pe.deprecationHandler&&Pe.deprecationHandler(e,t),at[e]||(et(t),at[e]=!0)}function rt(e){return void 0!==Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function ot(e,t){var n,a=Fe({},e);for(n in t)Le(t,n)&&(Re(e[n])&&Re(t[n])?(a[n]={},Fe(a[n],e[n]),Fe(a[n],t[n])):null!=t[n]?a[n]=t[n]:delete a[n]);for(n in e)Le(e,n)&&!Le(t,n)&&Re(e[n])&&(a[n]=Fe({},a[n]));return a}function st(e){null!=e&&this.set(e)}Pe.suppressDeprecationWarnings=!1,Pe.deprecationHandler=null,nt=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)Le(e,t)&&n.push(t);return n};function lt(e,t,n){var a=""+Math.abs(e);return(e>=0?n?"+":"":"-")+(""+Math.pow(10,Math.max(0,t-a.length))).substr(1)+a}var ut=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ct=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,dt={},mt={};function pt(e,t,n,a){var i=a;"string"==typeof a&&(i=function(){return this[a]()}),e&&(mt[e]=i),t&&(mt[t[0]]=function(){return lt(i.apply(this,arguments),t[1],t[2])}),n&&(mt[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function ht(e,t){return e.isValid()?(t=ft(t,e.localeData()),dt[t]=dt[t]||function(e){var t,n,a,i=e.match(ut);for(t=0,n=i.length;n>t;t++)i[t]=mt[i[t]]?mt[i[t]]:(a=i[t]).match(/\[[\s\S]/)?a.replace(/^\[|\]$/g,""):a.replace(/\\/g,"");return function(t){var a,r="";for(a=0;n>a;a++)r+=rt(i[a])?i[a].call(t,e):i[a];return r}}(t),dt[t](e)):e.localeData().invalidDate()}function ft(e,t){var n=5;function a(e){return t.longDateFormat(e)||e}for(ct.lastIndex=0;n>=0&&ct.test(e);)e=e.replace(ct,a),ct.lastIndex=0,n-=1;return e}var yt={};function gt(e,t){var n=e.toLowerCase();yt[n]=yt[n+"s"]=yt[t]=e}function vt(e){return"string"==typeof e?yt[e]||yt[e.toLowerCase()]:void 0}function wt(e){var t,n,a={};for(n in e)Le(e,n)&&(t=vt(n))&&(a[t]=e[n]);return a}var bt={};function _t(e,t){bt[e]=t}function xt(e){return e%4==0&&e%100!=0||e%400==0}function kt(e){return 0>e?Math.ceil(e)||0:Math.floor(e)}function zt(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=kt(t)),n}function Mt(e,t){return function(n){return null!=n?(Dt(this,e,n),Pe.updateOffset(this,t),this):St(this,e)}}function St(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Dt(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&xt(e.year())&&1===e.month()&&29===e.date()?(n=zt(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),un(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var Ot,Et=/\d/,jt=/\d\d/,Nt=/\d{3}/,Tt=/\d{4}/,Yt=/[+-]?\d{6}/,Ct=/\d\d?/,Pt=/\d\d\d\d?/,At=/\d\d\d\d\d\d?/,Rt=/\d{1,3}/,Lt=/\d{1,4}/,Wt=/[+-]?\d{1,6}/,It=/\d+/,Ut=/[+-]?\d+/,Ht=/Z|[+-]\d\d:?\d\d/gi,Vt=/Z|[+-]\d\d(?::?\d\d)?/gi,Ft=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function Gt(e,t,n){Ot[e]=rt(t)?t:function(e,a){return e&&n?n:t}}function Bt(e,t){return Le(Ot,e)?Ot[e](t._strict,t._locale):RegExp(qt(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,a,i){return t||n||a||i}))))}function qt(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Ot={};var Kt={};function Zt(e,t){var n,a,i=t;for("string"==typeof e&&(e=[e]),Ue(t)&&(i=function(e,n){n[t]=zt(e)}),a=e.length,n=0;a>n;n++)Kt[e[n]]=i}function $t(e,t){Zt(e,(function(e,n,a,i){a._w=a._w||{},t(e,a._w,a,i)}))}function Jt(e,t,n){null!=t&&Le(Kt,e)&&Kt[e](t,n._a,n,e)}var Qt,Xt=0,en=1,tn=2,nn=3,an=4,rn=5,on=6,sn=7,ln=8;function un(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,a=(t%(n=12)+n)%n;return e+=(t-a)/12,1===a?xt(e)?29:28:31-a%7%2}Qt=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;this.length>t;++t)if(this[t]===e)return t;return-1},pt("M",["MM",2],"Mo",(function(){return this.month()+1})),pt("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),pt("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),gt("month","M"),_t("month",8),Gt("M",Ct),Gt("MM",Ct,jt),Gt("MMM",(function(e,t){return t.monthsShortRegex(e)})),Gt("MMMM",(function(e,t){return t.monthsRegex(e)})),Zt(["M","MM"],(function(e,t){t[en]=zt(e)-1})),Zt(["MMM","MMMM"],(function(e,t,n,a){var i=n._locale.monthsParse(e,a,n._strict);null!=i?t[en]=i:Be(n).invalidMonth=e}));var cn="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),dn="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),mn=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,pn=Ft,hn=Ft;function fn(e,t,n){var a,i,r,o=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],a=0;12>a;++a)r=Ge([2e3,a]),this._shortMonthsParse[a]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[a]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=Qt.call(this._shortMonthsParse,o))?i:null:-1!==(i=Qt.call(this._longMonthsParse,o))?i:null:"MMM"===t?-1!==(i=Qt.call(this._shortMonthsParse,o))||-1!==(i=Qt.call(this._longMonthsParse,o))?i:null:-1!==(i=Qt.call(this._longMonthsParse,o))||-1!==(i=Qt.call(this._shortMonthsParse,o))?i:null}function yn(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=zt(t);else if(!Ue(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),un(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function gn(e){return null!=e?(yn(this,e),Pe.updateOffset(this,!0),this):St(this,"Month")}function vn(){function e(e,t){return t.length-e.length}var t,n,a=[],i=[],r=[];for(t=0;12>t;t++)n=Ge([2e3,t]),a.push(this.monthsShort(n,"")),i.push(this.months(n,"")),r.push(this.months(n,"")),r.push(this.monthsShort(n,""));for(a.sort(e),i.sort(e),r.sort(e),t=0;12>t;t++)a[t]=qt(a[t]),i[t]=qt(i[t]);for(t=0;24>t;t++)r[t]=qt(r[t]);this._monthsRegex=RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=RegExp("^("+a.join("|")+")","i")}function wn(e){return xt(e)?366:365}pt("Y",0,0,(function(){var e=this.year();return e>9999?"+"+e:lt(e,4)})),pt(0,["YY",2],0,(function(){return this.year()%100})),pt(0,["YYYY",4],0,"year"),pt(0,["YYYYY",5],0,"year"),pt(0,["YYYYYY",6,!0],0,"year"),gt("year","y"),_t("year",1),Gt("Y",Ut),Gt("YY",Ct,jt),Gt("YYYY",Lt,Tt),Gt("YYYYY",Wt,Yt),Gt("YYYYYY",Wt,Yt),Zt(["YYYYY","YYYYYY"],Xt),Zt("YYYY",(function(e,t){t[Xt]=2===e.length?Pe.parseTwoDigitYear(e):zt(e)})),Zt("YY",(function(e,t){t[Xt]=Pe.parseTwoDigitYear(e)})),Zt("Y",(function(e,t){t[Xt]=parseInt(e,10)})),Pe.parseTwoDigitYear=function(e){return zt(e)+(zt(e)>68?1900:2e3)};var bn=Mt("FullYear",!0);function _n(e,t,n,a,i,r,o){var s;return 100>e&&e>=0?isFinite((s=new Date(e+400,t,n,a,i,r,o)).getFullYear())&&s.setFullYear(e):s=new Date(e,t,n,a,i,r,o),s}function xn(e){var t,n;return 100>e&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function kn(e,t,n){var a=7+t-n;return-((7+xn(e,0,a).getUTCDay()-t)%7)+a-1}function zn(e,t,n,a,i){var r,o,s=1+7*(t-1)+(7+n-a)%7+kn(e,a,i);return s>0?s>wn(e)?(r=e+1,o=s-wn(e)):(r=e,o=s):o=wn(r=e-1)+s,{year:r,dayOfYear:o}}function Mn(e,t,n){var a,i,r=kn(e.year(),t,n),o=Math.floor((e.dayOfYear()-r-1)/7)+1;return 1>o?a=o+Sn(i=e.year()-1,t,n):o>Sn(e.year(),t,n)?(a=o-Sn(e.year(),t,n),i=e.year()+1):(i=e.year(),a=o),{week:a,year:i}}function Sn(e,t,n){var a=kn(e,t,n),i=kn(e+1,t,n);return(wn(e)-a+i)/7}pt("w",["ww",2],"wo","week"),pt("W",["WW",2],"Wo","isoWeek"),gt("week","w"),gt("isoWeek","W"),_t("week",5),_t("isoWeek",5),Gt("w",Ct),Gt("ww",Ct,jt),Gt("W",Ct),Gt("WW",Ct,jt),$t(["w","ww","W","WW"],(function(e,t,n,a){t[a.substr(0,1)]=zt(e)}));function Dn(e,t){return e.slice(t,7).concat(e.slice(0,t))}pt("d",0,"do","day"),pt("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),pt("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),pt("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),pt("e",0,0,"weekday"),pt("E",0,0,"isoWeekday"),gt("day","d"),gt("weekday","e"),gt("isoWeekday","E"),_t("day",11),_t("weekday",11),_t("isoWeekday",11),Gt("d",Ct),Gt("e",Ct),Gt("E",Ct),Gt("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Gt("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Gt("dddd",(function(e,t){return t.weekdaysRegex(e)})),$t(["dd","ddd","dddd"],(function(e,t,n,a){var i=n._locale.weekdaysParse(e,a,n._strict);null!=i?t.d=i:Be(n).invalidWeekday=e})),$t(["d","e","E"],(function(e,t,n,a){t[a]=zt(e)}));var On="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),En="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),jn="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Nn=Ft,Tn=Ft,Yn=Ft;function Cn(e,t,n){var a,i,r,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],a=0;7>a;++a)r=Ge([2e3,1]).day(a),this._minWeekdaysParse[a]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[a]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[a]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=Qt.call(this._weekdaysParse,o))?i:null:"ddd"===t?-1!==(i=Qt.call(this._shortWeekdaysParse,o))?i:null:-1!==(i=Qt.call(this._minWeekdaysParse,o))?i:null:"dddd"===t?-1!==(i=Qt.call(this._weekdaysParse,o))||-1!==(i=Qt.call(this._shortWeekdaysParse,o))||-1!==(i=Qt.call(this._minWeekdaysParse,o))?i:null:"ddd"===t?-1!==(i=Qt.call(this._shortWeekdaysParse,o))||-1!==(i=Qt.call(this._weekdaysParse,o))||-1!==(i=Qt.call(this._minWeekdaysParse,o))?i:null:-1!==(i=Qt.call(this._minWeekdaysParse,o))||-1!==(i=Qt.call(this._weekdaysParse,o))||-1!==(i=Qt.call(this._shortWeekdaysParse,o))?i:null}function Pn(){function e(e,t){return t.length-e.length}var t,n,a,i,r,o=[],s=[],l=[],u=[];for(t=0;7>t;t++)n=Ge([2e3,1]).day(t),a=qt(this.weekdaysMin(n,"")),i=qt(this.weekdaysShort(n,"")),r=qt(this.weekdays(n,"")),o.push(a),s.push(i),l.push(r),u.push(a),u.push(i),u.push(r);o.sort(e),s.sort(e),l.sort(e),u.sort(e),this._weekdaysRegex=RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=RegExp("^("+o.join("|")+")","i")}function An(){return this.hours()%12||12}function Rn(e,t){pt(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Ln(e,t){return t._meridiemParse}pt("H",["HH",2],0,"hour"),pt("h",["hh",2],0,An),pt("k",["kk",2],0,(function(){return this.hours()||24})),pt("hmm",0,0,(function(){return""+An.apply(this)+lt(this.minutes(),2)})),pt("hmmss",0,0,(function(){return""+An.apply(this)+lt(this.minutes(),2)+lt(this.seconds(),2)})),pt("Hmm",0,0,(function(){return""+this.hours()+lt(this.minutes(),2)})),pt("Hmmss",0,0,(function(){return""+this.hours()+lt(this.minutes(),2)+lt(this.seconds(),2)})),Rn("a",!0),Rn("A",!1),gt("hour","h"),_t("hour",13),Gt("a",Ln),Gt("A",Ln),Gt("H",Ct),Gt("h",Ct),Gt("k",Ct),Gt("HH",Ct,jt),Gt("hh",Ct,jt),Gt("kk",Ct,jt),Gt("hmm",Pt),Gt("hmmss",At),Gt("Hmm",Pt),Gt("Hmmss",At),Zt(["H","HH"],nn),Zt(["k","kk"],(function(e,t,n){var a=zt(e);t[nn]=24===a?0:a})),Zt(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),Zt(["h","hh"],(function(e,t,n){t[nn]=zt(e),Be(n).bigHour=!0})),Zt("hmm",(function(e,t,n){var a=e.length-2;t[nn]=zt(e.substr(0,a)),t[an]=zt(e.substr(a)),Be(n).bigHour=!0})),Zt("hmmss",(function(e,t,n){var a=e.length-4,i=e.length-2;t[nn]=zt(e.substr(0,a)),t[an]=zt(e.substr(a,2)),t[rn]=zt(e.substr(i)),Be(n).bigHour=!0})),Zt("Hmm",(function(e,t,n){var a=e.length-2;t[nn]=zt(e.substr(0,a)),t[an]=zt(e.substr(a))})),Zt("Hmmss",(function(e,t,n){var a=e.length-4,i=e.length-2;t[nn]=zt(e.substr(0,a)),t[an]=zt(e.substr(a,2)),t[rn]=zt(e.substr(i))}));var Wn=Mt("Hours",!0);var In,Un={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:cn,monthsShort:dn,week:{dow:0,doy:6},weekdays:On,weekdaysMin:jn,weekdaysShort:En,meridiemParse:/[ap]\.?m?\.?/i},Hn={},Vn={};function Fn(e,t){var n,a=Math.min(e.length,t.length);for(n=0;a>n;n+=1)if(e[n]!==t[n])return n;return a}function Gn(e){return e?e.toLowerCase().replace("_","-"):e}function Bn(e){var t=null;if(void 0===Hn[e]&&"undefined"!=typeof module&&module&&module.exports&&function(e){return null!=e.match("^[^/\\\\]*$")}(e))try{t=In._abbr,require("./locale/"+e),qn(t)}catch(t){Hn[e]=null}return Hn[e]}function qn(e,t){var n;return e&&((n=Ie(t)?Zn(e):Kn(e,t))?In=n:void 0!==console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),In._abbr}function Kn(e,t){if(null!==t){var n,a=Un;if(t.abbr=e,null!=Hn[e])it("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),a=Hn[e]._config;else if(null!=t.parentLocale)if(null!=Hn[t.parentLocale])a=Hn[t.parentLocale]._config;else{if(null==(n=Bn(t.parentLocale)))return Vn[t.parentLocale]||(Vn[t.parentLocale]=[]),Vn[t.parentLocale].push({name:e,config:t}),null;a=n._config}return Hn[e]=new st(ot(a,t)),Vn[e]&&Vn[e].forEach((function(e){Kn(e.name,e.config)})),qn(e),Hn[e]}return delete Hn[e],null}function Zn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return In;if(!Ae(e)){if(t=Bn(e))return t;e=[e]}return function(e){for(var t,n,a,i,r=0;e.length>r;){for(t=(i=Gn(e[r]).split("-")).length,n=(n=Gn(e[r+1]))?n.split("-"):null;t>0;){if(a=Bn(i.slice(0,t).join("-")))return a;if(n&&n.length>=t&&Fn(i,n)>=t-1)break;t--}r++}return In}(e)}function $n(e){var t,n=e._a;return n&&-2===Be(e).overflow&&(t=0>n[en]||n[en]>11?en:1>n[tn]||n[tn]>un(n[Xt],n[en])?tn:0>n[nn]||n[nn]>24||24===n[nn]&&(0!==n[an]||0!==n[rn]||0!==n[on])?nn:0>n[an]||n[an]>59?an:0>n[rn]||n[rn]>59?rn:0>n[on]||n[on]>999?on:-1,Be(e)._overflowDayOfYear&&(Xt>t||t>tn)&&(t=tn),Be(e)._overflowWeeks&&-1===t&&(t=sn),Be(e)._overflowWeekday&&-1===t&&(t=ln),Be(e).overflow=t),e}var Jn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Qn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Xn=/Z|[+-]\d\d(?::?\d\d)?/,ea=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],ta=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],na=/^\/?Date\((-?\d+)/i,aa=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,ia={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function ra(e){var t,n,a,i,r,o,s=e._i,l=Jn.exec(s)||Qn.exec(s),u=ea.length,c=ta.length;if(l){for(Be(e).iso=!0,t=0,n=u;n>t;t++)if(ea[t][1].exec(l[1])){i=ea[t][0],a=!1!==ea[t][2];break}if(null==i)return void(e._isValid=!1);if(l[3]){for(t=0,n=c;n>t;t++)if(ta[t][1].exec(l[3])){r=(l[2]||" ")+ta[t][0];break}if(null==r)return void(e._isValid=!1)}if(!a&&null!=r)return void(e._isValid=!1);if(l[4]){if(!Xn.exec(l[4]))return void(e._isValid=!1);o="Z"}e._f=i+(r||"")+(o||""),ca(e)}else e._isValid=!1}function oa(e){var t=parseInt(e,10);return t>49?t>999?t:1900+t:2e3+t}function sa(e){var t,n,a,i,r,o,s,l=aa.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(l){if(n=l[3],a=l[2],i=l[5],r=l[6],o=l[7],s=[oa(l[4]),dn.indexOf(n),parseInt(a,10),parseInt(i,10),parseInt(r,10)],o&&s.push(parseInt(o,10)),!function(e,t,n){return!e||En.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(Be(n).weekdayMismatch=!0,n._isValid=!1,!1)}(l[1],t=s,e))return;e._a=t,e._tzm=function(e,t,n){if(e)return ia[e];if(t)return 0;var a=parseInt(n,10),i=a%100;return(a-i)/100*60+i}(l[8],l[9],l[10]),e._d=xn.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),Be(e).rfc2822=!0}else e._isValid=!1}function la(e,t,n){return null!=e?e:null!=t?t:n}function ua(e){var t,n,a,i,r,o=[];if(!e._d){for(a=function(e){var t=new Date(Pe.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[tn]&&null==e._a[en]&&function(e){var t,n,a,i,r,o,s,l,u;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(r=1,o=4,n=la(t.GG,e._a[Xt],Mn(pa(),1,4).year),a=la(t.W,1),(1>(i=la(t.E,1))||i>7)&&(l=!0)):(r=e._locale._week.dow,o=e._locale._week.doy,u=Mn(pa(),r,o),n=la(t.gg,e._a[Xt],u.year),a=la(t.w,u.week),null!=t.d?(0>(i=t.d)||i>6)&&(l=!0):null!=t.e?(i=t.e+r,(0>t.e||t.e>6)&&(l=!0)):i=r);1>a||a>Sn(n,r,o)?Be(e)._overflowWeeks=!0:null!=l?Be(e)._overflowWeekday=!0:(s=zn(n,a,i,r,o),e._a[Xt]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(r=la(e._a[Xt],a[Xt]),(e._dayOfYear>wn(r)||0===e._dayOfYear)&&(Be(e)._overflowDayOfYear=!0),n=xn(r,0,e._dayOfYear),e._a[en]=n.getUTCMonth(),e._a[tn]=n.getUTCDate()),t=0;3>t&&null==e._a[t];++t)e._a[t]=o[t]=a[t];for(;7>t;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[nn]&&0===e._a[an]&&0===e._a[rn]&&0===e._a[on]&&(e._nextDay=!0,e._a[nn]=0),e._d=(e._useUTC?xn:_n).apply(null,o),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[nn]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(Be(e).weekdayMismatch=!0)}}function ca(e){if(e._f!==Pe.ISO_8601)if(e._f!==Pe.RFC_2822){e._a=[],Be(e).empty=!0;var t,n,a,i,r,o,s,l=""+e._i,u=l.length,c=0;for(s=(a=ft(e._f,e._locale).match(ut)||[]).length,t=0;s>t;t++)(n=(l.match(Bt(i=a[t],e))||[])[0])&&((r=l.substr(0,l.indexOf(n))).length>0&&Be(e).unusedInput.push(r),l=l.slice(l.indexOf(n)+n.length),c+=n.length),mt[i]?(n?Be(e).empty=!1:Be(e).unusedTokens.push(i),Jt(i,n,e)):e._strict&&!n&&Be(e).unusedTokens.push(i);Be(e).charsLeftOver=u-c,l.length>0&&Be(e).unusedInput.push(l),12>=e._a[nn]&&!0===Be(e).bigHour&&e._a[nn]>0&&(Be(e).bigHour=void 0),Be(e).parsedDateParts=e._a.slice(0),Be(e).meridiem=e._meridiem,e._a[nn]=function(e,t,n){var a;if(null==n)return t;return null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((a=e.isPM(n))&&12>t&&(t+=12),a||12!==t||(t=0),t):t}(e._locale,e._a[nn],e._meridiem),null!==(o=Be(e).era)&&(e._a[Xt]=e._locale.erasConvertYear(o,e._a[Xt])),ua(e),$n(e)}else sa(e);else ra(e)}function da(e){var t=e._i,n=e._f;return e._locale=e._locale||Zn(e._l),null===t||void 0===n&&""===t?Ke({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),Xe(t)?new Qe($n(t)):(He(t)?e._d=t:Ae(n)?function(e){var t,n,a,i,r,o,s=!1,l=e._f.length;if(0===l)return Be(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;l>i;i++)r=0,o=!1,t=Je({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],ca(t),qe(t)&&(o=!0),r+=Be(t).charsLeftOver,r+=10*Be(t).unusedTokens.length,Be(t).score=r,s?a>r&&(a=r,n=t):(null==a||a>r||o)&&(a=r,n=t,o&&(s=!0));Fe(e,n||t)}(e):n?ca(e):function(e){var t=e._i;Ie(t)?e._d=new Date(Pe.now()):He(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=na.exec(e._i);null===t?(ra(e),!1===e._isValid&&(delete e._isValid,sa(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:Pe.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):Ae(t)?(e._a=Ve(t.slice(0),(function(e){return parseInt(e,10)})),ua(e)):Re(t)?function(e){if(!e._d){var t=wt(e._i);e._a=Ve([t.year,t.month,void 0===t.day?t.date:t.day,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),ua(e)}}(e):Ue(t)?e._d=new Date(t):Pe.createFromInputFallback(e)}(e),qe(e)||(e._d=null),e))}function ma(e,t,n,a,i){var r,o={};return!0!==t&&!1!==t||(a=t,t=void 0),!0!==n&&!1!==n||(a=n,n=void 0),(Re(e)&&We(e)||Ae(e)&&0===e.length)&&(e=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=n,o._i=e,o._f=t,o._strict=a,(r=new Qe($n(da(o))))._nextDay&&(r.add(1,"d"),r._nextDay=void 0),r}function pa(e,t,n,a){return ma(e,t,n,a,!1)}Pe.createFromInputFallback=tt("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),Pe.ISO_8601=function(){},Pe.RFC_2822=function(){};var ha=tt("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=pa.apply(null,arguments);return this.isValid()&&e.isValid()?this>e?this:e:Ke()})),fa=tt("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=pa.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Ke()}));function ya(e,t){var n,a;if(1===t.length&&Ae(t[0])&&(t=t[0]),!t.length)return pa();for(n=t[0],a=1;t.length>a;++a)t[a].isValid()&&!t[a][e](n)||(n=t[a]);return n}var ga=["year","quarter","month","week","day","hour","minute","second","millisecond"];function va(e){var t=wt(e),n=t.year||0,a=t.quarter||0,i=t.month||0,r=t.week||t.isoWeek||0,o=t.day||0,s=t.hour||0,l=t.minute||0,u=t.second||0,c=t.millisecond||0;this._isValid=function(e){var t,n,a=!1,i=ga.length;for(t in e)if(Le(e,t)&&(-1===Qt.call(ga,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;i>n;++n)if(e[ga[n]]){if(a)return!1;parseFloat(e[ga[n]])!==zt(e[ga[n]])&&(a=!0)}return!0}(t),this._milliseconds=+c+1e3*u+6e4*l+1e3*s*60*60,this._days=+o+7*r,this._months=+i+3*a+12*n,this._data={},this._locale=Zn(),this._bubble()}function wa(e){return e instanceof va}function ba(e){return 0>e?-1*Math.round(-1*e):Math.round(e)}function _a(e,t){pt(e,0,0,(function(){var e=this.utcOffset(),n="+";return 0>e&&(e=-e,n="-"),n+lt(~~(e/60),2)+t+lt(~~e%60,2)}))}_a("Z",":"),_a("ZZ",""),Gt("Z",Vt),Gt("ZZ",Vt),Zt(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=ka(Vt,e)}));var xa=/([\+\-]|\d\d)/gi;function ka(e,t){var n,a,i=(t||"").match(e);return null===i?null:0===(a=60*(n=((i[i.length-1]||[])+"").match(xa)||["-",0,0])[1]+zt(n[2]))?0:"+"===n[0]?a:-a}function za(e,t){var n,a;return t._isUTC?(n=t.clone(),a=(Xe(e)||He(e)?e.valueOf():pa(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+a),Pe.updateOffset(n,!1),n):pa(e).local()}function Ma(e){return-Math.round(e._d.getTimezoneOffset())}function Sa(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}Pe.updateOffset=function(){};var Da=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Oa=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ea(e,t){var n,a,i,r=e,o=null;return wa(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:Ue(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(o=Da.exec(e))?(n="-"===o[1]?-1:1,r={y:0,d:zt(o[tn])*n,h:zt(o[nn])*n,m:zt(o[an])*n,s:zt(o[rn])*n,ms:zt(ba(1e3*o[on]))*n}):(o=Oa.exec(e))?r={y:ja(o[2],n="-"===o[1]?-1:1),M:ja(o[3],n),w:ja(o[4],n),d:ja(o[5],n),h:ja(o[6],n),m:ja(o[7],n),s:ja(o[8],n)}:null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(i=function(e,t){var n;if(!e.isValid()||!t.isValid())return{milliseconds:0,months:0};t=za(t,e),e.isBefore(t)?n=Na(e,t):((n=Na(t,e)).milliseconds=-n.milliseconds,n.months=-n.months);return n}(pa(r.from),pa(r.to)),(r={}).ms=i.milliseconds,r.M=i.months),a=new va(r),wa(e)&&Le(e,"_locale")&&(a._locale=e._locale),wa(e)&&Le(e,"_isValid")&&(a._isValid=e._isValid),a}function ja(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Na(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Ta(e,t){return function(n,a){var i;return null===a||isNaN(+a)||(it(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=a,a=i),Ya(this,Ea(n,a),e),this}}function Ya(e,t,n,a){var i=t._milliseconds,r=ba(t._days),o=ba(t._months);e.isValid()&&(a=null==a||a,o&&yn(e,St(e,"Month")+o*n),r&&Dt(e,"Date",St(e,"Date")+r*n),i&&e._d.setTime(e._d.valueOf()+i*n),a&&Pe.updateOffset(e,r||o))}Ea.fn=va.prototype,Ea.invalid=function(){return Ea(NaN)};var Ca=Ta(1,"add"),Pa=Ta(-1,"subtract");function Aa(e){return"string"==typeof e||e instanceof String}function Ra(e){return Xe(e)||He(e)||Aa(e)||Ue(e)||function(e){var t=Ae(e),n=!1;t&&(n=0===e.filter((function(t){return!Ue(t)&&Aa(e)})).length);return t&&n}(e)||function(e){var t,n=Re(e)&&!We(e),a=!1,i=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],r=i.length;for(t=0;r>t;t+=1)a=a||Le(e,i[t]);return n&&a}(e)||null==e}function La(e,t){if(e.date()<t.date())return-La(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),a=e.clone().add(n,"months");return-(n+(0>t-a?(t-a)/(a-e.clone().add(n-1,"months")):(t-a)/(e.clone().add(n+1,"months")-a)))||0}function Wa(e){var t;return void 0===e?this._locale._abbr:(null!=(t=Zn(e))&&(this._locale=t),this)}Pe.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",Pe.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Ia=tt("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function Ua(){return this._locale}var Ha=1e3,Va=60*Ha,Fa=60*Va,Ga=3506328*Fa;function Ba(e,t){return(e%t+t)%t}function qa(e,t,n){return 100>e&&e>=0?new Date(e+400,t,n)-Ga:new Date(e,t,n).valueOf()}function Ka(e,t,n){return 100>e&&e>=0?Date.UTC(e+400,t,n)-Ga:Date.UTC(e,t,n)}function Za(e,t){return t.erasAbbrRegex(e)}function $a(){var e,t,n=[],a=[],i=[],r=[],o=this.eras();for(e=0,t=o.length;t>e;++e)a.push(qt(o[e].name)),n.push(qt(o[e].abbr)),i.push(qt(o[e].narrow)),r.push(qt(o[e].name)),r.push(qt(o[e].abbr)),r.push(qt(o[e].narrow));this._erasRegex=RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=RegExp("^("+a.join("|")+")","i"),this._erasAbbrRegex=RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=RegExp("^("+i.join("|")+")","i")}function Ja(e,t){pt(0,[e,e.length],0,t)}function Qa(e,t,n,a,i){var r;return null==e?Mn(this,a,i).year:(t>(r=Sn(e,a,i))&&(t=r),Xa.call(this,e,t,n,a,i))}function Xa(e,t,n,a,i){var r=zn(e,t,n,a,i),o=xn(r.year,0,r.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}pt("N",0,0,"eraAbbr"),pt("NN",0,0,"eraAbbr"),pt("NNN",0,0,"eraAbbr"),pt("NNNN",0,0,"eraName"),pt("NNNNN",0,0,"eraNarrow"),pt("y",["y",1],"yo","eraYear"),pt("y",["yy",2],0,"eraYear"),pt("y",["yyy",3],0,"eraYear"),pt("y",["yyyy",4],0,"eraYear"),Gt("N",Za),Gt("NN",Za),Gt("NNN",Za),Gt("NNNN",(function(e,t){return t.erasNameRegex(e)})),Gt("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),Zt(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,a){var i=n._locale.erasParse(e,a,n._strict);i?Be(n).era=i:Be(n).invalidEra=e})),Gt("y",It),Gt("yy",It),Gt("yyy",It),Gt("yyyy",It),Gt("yo",(function(e,t){return t._eraYearOrdinalRegex||It})),Zt(["y","yy","yyy","yyyy"],Xt),Zt(["yo"],(function(e,t,n,a){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),t[Xt]=n._locale.eraYearOrdinalParse?n._locale.eraYearOrdinalParse(e,i):parseInt(e,10)})),pt(0,["gg",2],0,(function(){return this.weekYear()%100})),pt(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Ja("gggg","weekYear"),Ja("ggggg","weekYear"),Ja("GGGG","isoWeekYear"),Ja("GGGGG","isoWeekYear"),gt("weekYear","gg"),gt("isoWeekYear","GG"),_t("weekYear",1),_t("isoWeekYear",1),Gt("G",Ut),Gt("g",Ut),Gt("GG",Ct,jt),Gt("gg",Ct,jt),Gt("GGGG",Lt,Tt),Gt("gggg",Lt,Tt),Gt("GGGGG",Wt,Yt),Gt("ggggg",Wt,Yt),$t(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,a){t[a.substr(0,2)]=zt(e)})),$t(["gg","GG"],(function(e,t,n,a){t[a]=Pe.parseTwoDigitYear(e)})),pt("Q",0,"Qo","quarter"),gt("quarter","Q"),_t("quarter",7),Gt("Q",Et),Zt("Q",(function(e,t){t[en]=3*(zt(e)-1)})),pt("D",["DD",2],"Do","date"),gt("date","D"),_t("date",9),Gt("D",Ct),Gt("DD",Ct,jt),Gt("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Zt(["D","DD"],tn),Zt("Do",(function(e,t){t[tn]=zt(e.match(Ct)[0])}));var ei=Mt("Date",!0);pt("DDD",["DDDD",3],"DDDo","dayOfYear"),gt("dayOfYear","DDD"),_t("dayOfYear",4),Gt("DDD",Rt),Gt("DDDD",Nt),Zt(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=zt(e)})),pt("m",["mm",2],0,"minute"),gt("minute","m"),_t("minute",14),Gt("m",Ct),Gt("mm",Ct,jt),Zt(["m","mm"],an);var ti=Mt("Minutes",!1);pt("s",["ss",2],0,"second"),gt("second","s"),_t("second",15),Gt("s",Ct),Gt("ss",Ct,jt),Zt(["s","ss"],rn);var ni,ai,ii=Mt("Seconds",!1);for(pt("S",0,0,(function(){return~~(this.millisecond()/100)})),pt(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),pt(0,["SSS",3],0,"millisecond"),pt(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),pt(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),pt(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),pt(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),pt(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),pt(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),gt("millisecond","ms"),_t("millisecond",16),Gt("S",Rt,Et),Gt("SS",Rt,jt),Gt("SSS",Rt,Nt),ni="SSSS";9>=ni.length;ni+="S")Gt(ni,It);function ri(e,t){t[on]=zt(1e3*("0."+e))}for(ni="S";9>=ni.length;ni+="S")Zt(ni,ri);ai=Mt("Milliseconds",!1),pt("z",0,0,"zoneAbbr"),pt("zz",0,0,"zoneName");var oi=Qe.prototype;function si(e){return e}oi.add=Ca,oi.calendar=function(e,t){1===arguments.length&&(arguments[0]?Ra(arguments[0])?(e=arguments[0],t=void 0):function(e){var t,n=Re(e)&&!We(e),a=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;i.length>t;t+=1)a=a||Le(e,i[t]);return n&&a}(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||pa(),a=za(n,this).startOf("day"),i=Pe.calendarFormat(this,a)||"sameElse",r=t&&(rt(t[i])?t[i].call(this,n):t[i]);return this.format(r||this.localeData().calendar(i,this,pa(n)))},oi.clone=function(){return new Qe(this)},oi.diff=function(e,t,n){var a,i,r;if(!this.isValid())return NaN;if(!(a=za(e,this)).isValid())return NaN;switch(i=6e4*(a.utcOffset()-this.utcOffset()),t=vt(t)){case"year":r=La(this,a)/12;break;case"month":r=La(this,a);break;case"quarter":r=La(this,a)/3;break;case"second":r=(this-a)/1e3;break;case"minute":r=(this-a)/6e4;break;case"hour":r=(this-a)/36e5;break;case"day":r=(this-a-i)/864e5;break;case"week":r=(this-a-i)/6048e5;break;default:r=this-a}return n?r:kt(r)},oi.endOf=function(e){var t,n;if(void 0===(e=vt(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?Ka:qa,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Fa-Ba(t+(this._isUTC?0:this.utcOffset()*Va),Fa)-1;break;case"minute":t=this._d.valueOf(),t+=Va-Ba(t,Va)-1;break;case"second":t=this._d.valueOf(),t+=Ha-Ba(t,Ha)-1}return this._d.setTime(t),Pe.updateOffset(this,!0),this},oi.format=function(e){e||(e=this.isUtc()?Pe.defaultFormatUtc:Pe.defaultFormat);var t=ht(this,e);return this.localeData().postformat(t)},oi.from=function(e,t){return this.isValid()&&(Xe(e)&&e.isValid()||pa(e).isValid())?Ea({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},oi.fromNow=function(e){return this.from(pa(),e)},oi.to=function(e,t){return this.isValid()&&(Xe(e)&&e.isValid()||pa(e).isValid())?Ea({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},oi.toNow=function(e){return this.to(pa(),e)},oi.get=function(e){return rt(this[e=vt(e)])?this[e]():this},oi.invalidAt=function(){return Be(this).overflow},oi.isAfter=function(e,t){var n=Xe(e)?e:pa(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=vt(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},oi.isBefore=function(e,t){var n=Xe(e)?e:pa(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=vt(t)||"millisecond")?n.valueOf()>this.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},oi.isBetween=function(e,t,n,a){var i=Xe(e)?e:pa(e),r=Xe(t)?t:pa(t);return!!(this.isValid()&&i.isValid()&&r.isValid())&&(("("===(a=a||"()")[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===a[1]?this.isBefore(r,n):!this.isAfter(r,n)))},oi.isSame=function(e,t){var n,a=Xe(e)?e:pa(e);return!(!this.isValid()||!a.isValid())&&("millisecond"===(t=vt(t)||"millisecond")?this.valueOf()===a.valueOf():(n=a.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},oi.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},oi.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},oi.isValid=function(){return qe(this)},oi.lang=Ia,oi.locale=Wa,oi.localeData=Ua,oi.max=fa,oi.min=ha,oi.parsingFlags=function(){return Fe({},Be(this))},oi.set=function(e,t){if("object"==typeof e){var n,a=function(e){var t,n=[];for(t in e)Le(e,t)&&n.push({unit:t,priority:bt[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}(e=wt(e)),i=a.length;for(n=0;i>n;n++)this[a[n].unit](e[a[n].unit])}else if(rt(this[e=vt(e)]))return this[e](t);return this},oi.startOf=function(e){var t,n;if(void 0===(e=vt(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?Ka:qa,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Ba(t+(this._isUTC?0:this.utcOffset()*Va),Fa);break;case"minute":t=this._d.valueOf(),t-=Ba(t,Va);break;case"second":t=this._d.valueOf(),t-=Ba(t,Ha)}return this._d.setTime(t),Pe.updateOffset(this,!0),this},oi.subtract=Pa,oi.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},oi.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},oi.toDate=function(){return new Date(this.valueOf())},oi.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return 0>n.year()||n.year()>9999?ht(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):rt(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",ht(n,"Z")):ht(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},oi.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n="moment",a="";return this.isLocal()||(n=0===this.utcOffset()?"moment.utc":"moment.parseZone",a="Z"),e="["+n+'("]',t=0>this.year()||this.year()>9999?"YYYYYY":"YYYY","-MM-DD[T]HH:mm:ss.SSS",this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+(a+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(oi[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),oi.toJSON=function(){return this.isValid()?this.toISOString():null},oi.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},oi.unix=function(){return Math.floor(this.valueOf()/1e3)},oi.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},oi.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},oi.eraName=function(){var e,t,n,a=this.localeData().eras();for(e=0,t=a.length;t>e;++e){if((n=this.clone().startOf("day").valueOf())>=a[e].since&&a[e].until>=n)return a[e].name;if(n>=a[e].until&&a[e].since>=n)return a[e].name}return""},oi.eraNarrow=function(){var e,t,n,a=this.localeData().eras();for(e=0,t=a.length;t>e;++e){if((n=this.clone().startOf("day").valueOf())>=a[e].since&&a[e].until>=n)return a[e].narrow;if(n>=a[e].until&&a[e].since>=n)return a[e].narrow}return""},oi.eraAbbr=function(){var e,t,n,a=this.localeData().eras();for(e=0,t=a.length;t>e;++e){if((n=this.clone().startOf("day").valueOf())>=a[e].since&&a[e].until>=n)return a[e].abbr;if(n>=a[e].until&&a[e].since>=n)return a[e].abbr}return""},oi.eraYear=function(){var e,t,n,a,i=this.localeData().eras();for(e=0,t=i.length;t>e;++e)if(n=i[e].since>i[e].until?-1:1,(a=this.clone().startOf("day").valueOf())>=i[e].since&&i[e].until>=a||a>=i[e].until&&i[e].since>=a)return(this.year()-Pe(i[e].since).year())*n+i[e].offset;return this.year()},oi.year=bn,oi.isLeapYear=function(){return xt(this.year())},oi.weekYear=function(e){return Qa.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},oi.isoWeekYear=function(e){return Qa.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},oi.quarter=oi.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},oi.month=gn,oi.daysInMonth=function(){return un(this.year(),this.month())},oi.week=oi.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},oi.isoWeek=oi.isoWeeks=function(e){var t=Mn(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},oi.weeksInYear=function(){var e=this.localeData()._week;return Sn(this.year(),e.dow,e.doy)},oi.weeksInWeekYear=function(){var e=this.localeData()._week;return Sn(this.weekYear(),e.dow,e.doy)},oi.isoWeeksInYear=function(){return Sn(this.year(),1,4)},oi.isoWeeksInISOWeekYear=function(){return Sn(this.isoWeekYear(),1,4)},oi.date=ei,oi.day=oi.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},oi.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},oi.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},oi.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},oi.hour=oi.hours=Wn,oi.minute=oi.minutes=ti,oi.second=oi.seconds=ii,oi.millisecond=oi.milliseconds=ai,oi.utcOffset=function(e,t,n){var a,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=ka(Vt,e)))return this}else 16>Math.abs(e)&&!n&&(e*=60);return!this._isUTC&&t&&(a=Ma(this)),this._offset=e,this._isUTC=!0,null!=a&&this.add(a,"m"),i!==e&&(!t||this._changeInProgress?Ya(this,Ea(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,Pe.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:Ma(this)},oi.utc=function(e){return this.utcOffset(0,e)},oi.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ma(this),"m")),this},oi.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=ka(Ht,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},oi.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?pa(e).utcOffset():0,(this.utcOffset()-e)%60==0)},oi.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},oi.isLocal=function(){return!!this.isValid()&&!this._isUTC},oi.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},oi.isUtc=Sa,oi.isUTC=Sa,oi.zoneAbbr=function(){return this._isUTC?"UTC":""},oi.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},oi.dates=tt("dates accessor is deprecated. Use date instead.",ei),oi.months=tt("months accessor is deprecated. Use month instead",gn),oi.years=tt("years accessor is deprecated. Use year instead",bn),oi.zone=tt("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),oi.isDSTShifted=tt("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!Ie(this._isDSTShifted))return this._isDSTShifted;var e,t={};return Je(t,this),(t=da(t))._a?(e=t._isUTC?Ge(t._a):pa(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var a,i=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),o=0;for(a=0;i>a;a++)(n&&e[a]!==t[a]||!n&&zt(e[a])!==zt(t[a]))&&o++;return o+r}(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var li=st.prototype;function ui(e,t,n,a){var i=Zn(),r=Ge().set(a,t);return i[n](r,e)}function ci(e,t,n){if(Ue(e)&&(t=e,e=void 0),e=e||"",null!=t)return ui(e,t,n,"month");var a,i=[];for(a=0;12>a;a++)i[a]=ui(e,a,n,"month");return i}function di(e,t,n,a){"boolean"==typeof e?(Ue(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,Ue(t)&&(n=t,t=void 0),t=t||"");var i,r=Zn(),o=e?r._week.dow:0,s=[];if(null!=n)return ui(t,(n+o)%7,a,"day");for(i=0;7>i;i++)s[i]=ui(t,(i+o)%7,a,"day");return s}li.calendar=function(e,t,n){var a=this._calendar[e]||this._calendar.sameElse;return rt(a)?a.call(t,n):a},li.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(ut).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},li.invalidDate=function(){return this._invalidDate},li.ordinal=function(e){return this._ordinal.replace("%d",e)},li.preparse=si,li.postformat=si,li.relativeTime=function(e,t,n,a){var i=this._relativeTime[n];return rt(i)?i(e,t,n,a):i.replace(/%d/i,e)},li.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return rt(n)?n(t):n.replace(/%s/i,t)},li.set=function(e){var t,n;for(n in e)Le(e,n)&&(rt(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},li.eras=function(e,t){var n,a,i,r=this._eras||Zn("en")._eras;for(n=0,a=r.length;a>n;++n){if("string"==typeof r[n].since)i=Pe(r[n].since).startOf("day"),r[n].since=i.valueOf();switch(typeof r[n].until){case"undefined":r[n].until=1/0;break;case"string":i=Pe(r[n].until).startOf("day").valueOf(),r[n].until=i.valueOf()}}return r},li.erasParse=function(e,t,n){var a,i,r,o,s,l=this.eras();for(e=e.toUpperCase(),a=0,i=l.length;i>a;++a)if(r=l[a].name.toUpperCase(),o=l[a].abbr.toUpperCase(),s=l[a].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[a];break;case"NNNN":if(r===e)return l[a];break;case"NNNNN":if(s===e)return l[a]}else if([r,o,s].indexOf(e)>=0)return l[a]},li.erasConvertYear=function(e,t){var n=e.since>e.until?-1:1;return void 0===t?Pe(e.since).year():Pe(e.since).year()+(t-e.offset)*n},li.erasAbbrRegex=function(e){return Le(this,"_erasAbbrRegex")||$a.call(this),e?this._erasAbbrRegex:this._erasRegex},li.erasNameRegex=function(e){return Le(this,"_erasNameRegex")||$a.call(this),e?this._erasNameRegex:this._erasRegex},li.erasNarrowRegex=function(e){return Le(this,"_erasNarrowRegex")||$a.call(this),e?this._erasNarrowRegex:this._erasRegex},li.months=function(e,t){return e?Ae(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||mn).test(t)?"format":"standalone"][e.month()]:Ae(this._months)?this._months:this._months.standalone},li.monthsShort=function(e,t){return e?Ae(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[mn.test(t)?"format":"standalone"][e.month()]:Ae(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},li.monthsParse=function(e,t,n){var a,i,r;if(this._monthsParseExact)return fn.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),a=0;12>a;a++){if(i=Ge([2e3,a]),n&&!this._longMonthsParse[a]&&(this._longMonthsParse[a]=RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[a]=RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[a]||(r="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[a]=RegExp(r.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[a].test(e))return a;if(n&&"MMM"===t&&this._shortMonthsParse[a].test(e))return a;if(!n&&this._monthsParse[a].test(e))return a}},li.monthsRegex=function(e){return this._monthsParseExact?(Le(this,"_monthsRegex")||vn.call(this),e?this._monthsStrictRegex:this._monthsRegex):(Le(this,"_monthsRegex")||(this._monthsRegex=hn),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},li.monthsShortRegex=function(e){return this._monthsParseExact?(Le(this,"_monthsRegex")||vn.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(Le(this,"_monthsShortRegex")||(this._monthsShortRegex=pn),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},li.week=function(e){return Mn(e,this._week.dow,this._week.doy).week},li.firstDayOfYear=function(){return this._week.doy},li.firstDayOfWeek=function(){return this._week.dow},li.weekdays=function(e,t){var n=Ae(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Dn(n,this._week.dow):e?n[e.day()]:n},li.weekdaysMin=function(e){return!0===e?Dn(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},li.weekdaysShort=function(e){return!0===e?Dn(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},li.weekdaysParse=function(e,t,n){var a,i,r;if(this._weekdaysParseExact)return Cn.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),a=0;7>a;a++){if(i=Ge([2e3,1]).day(a),n&&!this._fullWeekdaysParse[a]&&(this._fullWeekdaysParse[a]=RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[a]=RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[a]=RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[a]||(r="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[a]=RegExp(r.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[a].test(e))return a;if(n&&"ddd"===t&&this._shortWeekdaysParse[a].test(e))return a;if(n&&"dd"===t&&this._minWeekdaysParse[a].test(e))return a;if(!n&&this._weekdaysParse[a].test(e))return a}},li.weekdaysRegex=function(e){return this._weekdaysParseExact?(Le(this,"_weekdaysRegex")||Pn.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(Le(this,"_weekdaysRegex")||(this._weekdaysRegex=Nn),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},li.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(Le(this,"_weekdaysRegex")||Pn.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Le(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Tn),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},li.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(Le(this,"_weekdaysRegex")||Pn.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Le(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Yn),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},li.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},li.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},qn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===zt(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),Pe.lang=tt("moment.lang is deprecated. Use moment.locale instead.",qn),Pe.langData=tt("moment.langData is deprecated. Use moment.localeData instead.",Zn);var mi=Math.abs;function pi(e,t,n,a){var i=Ea(t,n);return e._milliseconds+=a*i._milliseconds,e._days+=a*i._days,e._months+=a*i._months,e._bubble()}function hi(e){return 0>e?Math.floor(e):Math.ceil(e)}function fi(e){return 4800*e/146097}function yi(e){return 146097*e/4800}function gi(e){return function(){return this.as(e)}}var vi=gi("ms"),wi=gi("s"),bi=gi("m"),_i=gi("h"),xi=gi("d"),ki=gi("w"),zi=gi("M"),Mi=gi("Q"),Si=gi("y");function Di(e){return function(){return this.isValid()?this._data[e]:NaN}}var Oi=Di("milliseconds"),Ei=Di("seconds"),ji=Di("minutes"),Ni=Di("hours"),Ti=Di("days"),Yi=Di("months"),Ci=Di("years");var Pi=Math.round,Ai={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Ri(e,t,n,a,i){return i.relativeTime(t||1,!!n,e,a)}var Li=Math.abs;function Wi(e){return(e>0)-(0>e)||+e}function Ii(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,a,i,r,o,s,l=Li(this._milliseconds)/1e3,u=Li(this._days),c=Li(this._months),d=this.asSeconds();return d?(e=kt(l/60),t=kt(e/60),l%=60,e%=60,n=kt(c/12),c%=12,a=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=0>d?"-":"",r=Wi(this._months)!==Wi(d)?"-":"",o=Wi(this._days)!==Wi(d)?"-":"",s=Wi(this._milliseconds)!==Wi(d)?"-":"",i+"P"+(n?r+n+"Y":"")+(c?r+c+"M":"")+(u?o+u+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+a+"S":"")):"P0D"}var Ui=va.prototype;Ui.isValid=function(){return this._isValid},Ui.abs=function(){var e=this._data;return this._milliseconds=mi(this._milliseconds),this._days=mi(this._days),this._months=mi(this._months),e.milliseconds=mi(e.milliseconds),e.seconds=mi(e.seconds),e.minutes=mi(e.minutes),e.hours=mi(e.hours),e.months=mi(e.months),e.years=mi(e.years),this},Ui.add=function(e,t){return pi(this,e,t,1)},Ui.subtract=function(e,t){return pi(this,e,t,-1)},Ui.as=function(e){if(!this.isValid())return NaN;var t,n,a=this._milliseconds;if("month"===(e=vt(e))||"quarter"===e||"year"===e)switch(n=this._months+fi(t=this._days+a/864e5),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(yi(this._months)),e){case"week":return t/7+a/6048e5;case"day":return t+a/864e5;case"hour":return 24*t+a/36e5;case"minute":return 1440*t+a/6e4;case"second":return 86400*t+a/1e3;case"millisecond":return Math.floor(864e5*t)+a;default:throw Error("Unknown unit "+e)}},Ui.asMilliseconds=vi,Ui.asSeconds=wi,Ui.asMinutes=bi,Ui.asHours=_i,Ui.asDays=xi,Ui.asWeeks=ki,Ui.asMonths=zi,Ui.asQuarters=Mi,Ui.asYears=Si,Ui.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*zt(this._months/12):NaN},Ui._bubble=function(){var e,t,n,a,i,r=this._milliseconds,o=this._days,s=this._months,l=this._data;return(0>r||0>o||0>s)&&(r>0||o>0||s>0)&&(r+=864e5*hi(yi(s)+o),o=0,s=0),l.milliseconds=r%1e3,e=kt(r/1e3),l.seconds=e%60,t=kt(e/60),l.minutes=t%60,n=kt(t/60),l.hours=n%24,o+=kt(n/24),s+=i=kt(fi(o)),o-=hi(yi(i)),a=kt(s/12),s%=12,l.days=o,l.months=s,l.years=a,this},Ui.clone=function(){return Ea(this)},Ui.get=function(e){return e=vt(e),this.isValid()?this[e+"s"]():NaN},Ui.milliseconds=Oi,Ui.seconds=Ei,Ui.minutes=ji,Ui.hours=Ni,Ui.days=Ti,Ui.weeks=function(){return kt(this.days()/7)},Ui.months=Yi,Ui.years=Ci,Ui.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,a,i=!1,r=Ai;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(r=Object.assign({},Ai,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),a=function(e,t,n,a){var i=Ea(e).abs(),r=Pi(i.as("s")),o=Pi(i.as("m")),s=Pi(i.as("h")),l=Pi(i.as("d")),u=Pi(i.as("M")),c=Pi(i.as("w")),d=Pi(i.as("y")),m=n.ss>=r&&["s",r]||n.s>r&&["ss",r]||1>=o&&["m"]||n.m>o&&["mm",o]||1>=s&&["h"]||n.h>s&&["hh",s]||1>=l&&["d"]||n.d>l&&["dd",l];return null!=n.w&&(m=m||1>=c&&["w"]||n.w>c&&["ww",c]),(m=m||1>=u&&["M"]||n.M>u&&["MM",u]||1>=d&&["y"]||["yy",d])[2]=t,m[3]=+e>0,m[4]=a,Ri.apply(null,m)}(this,!i,r,n=this.localeData()),i&&(a=n.pastFuture(+this,a)),n.postformat(a)},Ui.toISOString=Ii,Ui.toString=Ii,Ui.toJSON=Ii,Ui.locale=Wa,Ui.localeData=Ua,Ui.toIsoString=tt("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ii),Ui.lang=Ia,pt("X",0,0,"unix"),pt("x",0,0,"valueOf"),Gt("x",Ut),Gt("X",/[+-]?\d+(\.\d{1,3})?/),Zt("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),Zt("x",(function(e,t,n){n._d=new Date(zt(e))})),
|
|
2
2
|
//! moment.js
|
|
3
|
-
Pe.version="2.29.4",Ye=dr,Pe.fn=aa,Pe.min=function(){return mr("isBefore",[].slice.call(arguments,0))},Pe.max=function(){return mr("isAfter",[].slice.call(arguments,0))},Pe.now=function(){return Date.now?Date.now():+new Date},Pe.utc=Fe,Pe.unix=function(e){return dr(1e3*e)},Pe.months=function(e,t){return la(e,t,"months")},Pe.isDate=je,Pe.locale=zn,Pe.invalid=Be,Pe.duration=Or,Pe.isMoment=Je,Pe.weekdays=function(e,t,n){return ua(e,t,n,"weekdays")},Pe.parseZone=function(){return dr.apply(null,arguments).parseZone()},Pe.localeData=Zn,Pe.isDuration=vr,Pe.monthsShort=function(e,t){return la(e,t,"monthsShort")},Pe.weekdaysMin=function(e,t,n){return ua(e,t,n,"weekdaysMin")},Pe.defineLocale=Bn,Pe.updateLocale=function(e,t){if(null!=t){var n,r,a=In;null!=jn[e]&&null!=jn[e].parentLocale?jn[e].set(at(jn[e]._config,t)):(null!=(r=Gn(e))&&(a=r._config),t=at(a,t),null==r&&(t.abbr=e),(n=new it(t)).parentLocale=jn[e],jn[e]=n),zn(e)}else null!=jn[e]&&(null!=jn[e].parentLocale?(jn[e]=jn[e].parentLocale,e===zn()&&zn(e)):null!=jn[e]&&delete jn[e]);return jn[e]},Pe.locales=function(){return et(jn)},Pe.weekdaysShort=function(e,t,n){return ua(e,t,n,"weekdaysShort")},Pe.normalizeUnits=yt,Pe.relativeTimeRounding=function(e){return void 0===e?Pa:"function"==typeof e&&(Pa=e,!0)},Pe.relativeTimeThreshold=function(e,t){return void 0!==Ra[e]&&(void 0===t?Ra[e]:(Ra[e]=t,"s"===e&&(Ra.ss=t-1),!0))},Pe.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return-6>n?"sameElse":-1>n?"lastWeek":0>n?"lastDay":1>n?"sameDay":2>n?"nextDay":7>n?"nextWeek":"sameElse"},Pe.prototype=aa,Pe.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};var ja=function(t){var n=e.useContext(ce),r=n.state,a=r.notices;return e.createElement("div",{className:y("omni-notice-box",{show:r.noticeBoxShow})},e.createElement("div",{className:"tool-inner"},e.createElement("div",{className:"tool-head"},e.createElement("h3",{className:"tool-head-title"},"消息中心"),e.createElement("a",{className:"tool-more"},"查看更多"),e.createElement("a",{className:"tool-head-close"},e.createElement(c,{onClick:function(){n.dispatch({type:"UPDATE_VALUE",value:{noticeBoxShow:!1}})}}))),e.createElement("div",{className:"tool-body"},e.createElement("div",{className:"nav-message-list"},a&&a.map((function(t){return e.createElement("div",{key:t.id,className:"nav-message-inner"},e.createElement("div",{className:"nav-message-div"},e.createElement("span",{className:"nav-message-text"},t.title),e.createElement("span",{className:"nav-message-time"},Pe(1e3*t.time).format("YYYY-MM-DD HH:mm:SS"))),e.createElement("div",{className:"message-dd-hover"},e.createElement("a",{href:"javascript:;"},"标记已读")),e.createElement("a",{href:t.link,title:"查看站内信详情"},t.msg))}))))))};var Ha=function(t){return!1===t.footerRender?null:t.footerRender?t.footerRender(L({},t),e.createElement(Ce,null)):e.createElement(Ce,null)};function Va(t){var n=$(r(!1),2),a=n[0],i=n[1],s=e.useContext(ce).state.user,o=t.menuData,l=t.children,u=t.title,c=y("omni-layout-app",{"aside-hover":a}),d=pe(o||[]);return e.createElement("div",{className:c},e.createElement("div",{className:"aside"},e.createElement("div",{className:"aside-area"},e.createElement("div",{className:"aside-area-main"},e.createElement(Oe,L(L({},t),{},{onCollapse:function(){i(!1)},layout:"sidemenu",collapsedWidth:63,theme:"dark",title:u,flatMenuKeys:d,collapsed:a})))),e.createElement("div",{onClick:function(){i(!a)},className:"menu-fold"},e.createElement(p,{type:a?"menu-unfold":"menu-fold"}))),e.createElement("div",{className:"main"},e.createElement(S,{monitorHeight:!0},(function(n){var r=n.size;return s.uid&&setTimeout((function(){!function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(e){var r=document.getElementById("watermark-warpper");r&&document.getElementById("omni-layout-comment")&&document.getElementById("omni-layout-comment").removeChild&&document.getElementById("omni-layout-comment").removeChild(r);var a={text1:"text",text2:"text",start_x:80,start_y:130,space_x:120,space_y:350,width:210,height:80,fontSize:20,color:"#aaa",alpha:.2,rotate:15};if(3===arguments.length&&"object"===W(arguments[1])){var i=arguments[1]||{};for(var s in i)i[s]&&a[s]&&i[s]===a[s]||i[s]&&(a[s]=i[s])}var o=e.scrollWidth,l=(n||e.clientHeight)-64,u=document.createElement("div");u.id="watermark-warpper";var c=function e(t){return t.offsetParent?{x:t.offsetLeft+e(t.offsetParent).x,y:t.offsetTop+e(t.offsetParent).y}:{x:t.offsetLeft,y:t.offsetTop}}(e),d=c.x+a.start_x,h=c.y+a.start_y;do{do{var f=document.createElement("div");f.style.position="absolute",f.style.zIndex="99999",f.style.left="".concat(d,"px"),f.style.top="".concat(h,"px"),f.style.width="".concat(a.width,"px"),f.style.height="".concat(a.height,"px"),f.style.fontSize="".concat(a.fontSize,"px"),f.style.color=a.color,f.style.textAlign="center",f.style.opacity=a.alpha,f.style.filter="alpha(opacity=".concat(100*a.alpha,")"),f.style.webkitTransform="rotate(-".concat(a.rotate,"deg)"),f.style.MozTransform="rotate(-".concat(a.rotate,"deg)"),f.style.msTransform="rotate(-".concat(a.rotate,"deg)"),f.style.OTransform="rotate(-".concat(a.rotate,"deg)"),f.style.transform="rotate(-".concat(a.rotate,"deg)"),f.style.pointerEvents="none";var m=document.createElement("div");m.appendChild(document.createTextNode(a.text1)),f.append(m);var p=document.createElement("div");p.appendChild(document.createTextNode(a.text2)),f.append(p),u.append(f),d=d+a.width+a.space_x}while(o+c.x>d+a.width);d=c.x+a.start_x,h=h+a.height+a.space_y}while(l+c.y>h+a.height);e.append(u)}}(document.getElementById("omni-layout-comment"),{text1:s.username,text2:(new Date).toLocaleString(),height:65},r.height||0)})),e.createElement("div",{id:"omni-layout-comment",className:"main-inner"},l,Ha(L(L({},t),{},{collapsed:a})))}))),e.createElement(ja,null))}var Fa=function e(t,n){return t?t.map((function(t){return t.path&&(n[t.path]=t.name),{name:t.name||"",path:t.path||"",icon:t.icon||"",children:e(t.children,n)}})):[]};var Ga,za=N((function e(t){var n=t.menu,r=t.formatMessage,a=t.authority,i=t.parentName;return t.data.filter((function(e){return e&&e.name&&e.path})).map((function(){var s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{path:""};if(!s.name)return s;var o=s.name,l="".concat(i||"menu",".").concat(o),u=n.locale||!r?o:r({id:l,defaultMessage:o}),c=L(L({},s),{},{name:u,locale:l,routes:null});if(s.routes){var d=e(L(L({},t),{},{authority:s.authority||a,data:s.routes,parentName:l}));c.children=d}return c}))}),Y),Ba=function e(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).filter((function(e){return e&&e.name&&!e.hideInMenu})).map((function(t){if(t.children&&Array.isArray(t.children)&&!t.hideChildrenInMenu&&t.children.some((function(e){return!!e.name}))){var n=e(t.children);if(n.length)return L(L({},t),{},{children:n})}return L(L({},t),{},{children:void 0})})).filter((function(e){return e}))},Za=N((function(e){var t={};return function e(n){n.forEach((function(n){n&&(n&&n.children&&e(n.children),t[n.path]=n)}))}(e),t}),Y),Ka=function(e,t,n,r){var a=za({data:e,formatMessage:n,menu:t||{locale:!1}});r&&(a=r(a));var i=Ba(a);return{breadcrumb:Za(a),menuData:i}},$a=function(e){var t=e.pathname,n=e.formatMessage,r=e.title,a=void 0===r?"Omni Layout":r,i=e.menu,s=void 0===i?{locale:!1}:i;if(!t)return a;var o=function(e,t){if(t){var n=Object.keys(t).find((function(t){return O(t).test(e)}));if(n)return t[n]}return{path:""}}(t,e.breadcrumb);if(!o)return a;var l=o.name;return s.locale&&o.locale&&(l=n({id:o.locale||"",defaultMessage:o.name})),l?"".concat(l," - ").concat(a):a},qa=function(t){return e.createElement("a",null,t.breadcrumbName)},Ja=function(e,t,n){if(!e)return[];var r=me(e.pathname).map((function(e){var r=function(e,t){if(!e)return{path:""};var n=e[t];return n||Object.keys(e).forEach((function(r){O(r).test(t)&&(n=e[r])})),n||{path:""}}(t,e);if(r.inherited)return{path:"",breadcrumbName:""};var a=function(e,t){var n=t.formatMessage,r=t.menu;return e.locale&&n&&(void 0===r?{locale:!1}:r).locale?n({id:e.locale,defaultMessage:e.name}):e.name}(r,n);return a&&!r.hideInBreadcrumb?{path:e,breadcrumbName:a,component:r.component}:{path:"",breadcrumbName:""}})).filter((function(e){return e&&e.path}));return r},Qa=function(e){var t=e.breadcrumbRender,n=e.itemRender,r=function(e){var t=e.breadcrumbList,n=function(e){return{location:e.location,breadcrumb:e.breadcrumb}}(e),r=n.location,a=n.breadcrumb;return t&&t.length?function(e){var t=e.breadcrumbList;return(void 0===t?[]:t).map((function(e){return{path:e.href,breadcrumbName:e.title}})).filter((function(e){return e.path}))}(e):r&&r.pathname&&a?Ja(r,a,e):[]}(e),a=n||qa,i=r;return t&&(i=t(i)||[]),i&&2>i.length&&(i=void 0),{routes:i,itemRender:a}},Xa=a({}),ei=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{credentials:"include"};U(this,e),this.requset=void 0,this.defaultOptions=void 0,this.requset=x({maxCache:10,prefix:t.prefix||"",errorHandler:function(e){}}),this.defaultOptions=n}return j(e,[{key:"get",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=L(L({},this.defaultOptions),t);return this.requset.get(e,L({credentials:"include"},r)).then((function(e){return!(t=e)||(t&&401===t.error&&t.data&&t.data.url?(T.warn("没有登录,请刷新页面!!!"),1):t&&0!==t.error)?n:e&&e.data||{};var t}))}}]),e}(),ti=function(e){F(n,ei);var t=K(n);function n(e){return U(this,n),t.call(this,e)}return j(n,[{key:"getList",value:function(e,t){return this.get(e,{params:t})}}]),n}(),ni=function(t){return e.createElement(Xa.Consumer,null,(function(n){var r="ant-pro-grid-content";return"Fixed"===(t.contentWidth||n.contentWidth)&&(r="ant-pro-grid-content wide"),e.createElement("div",{className:r},t.children)}))},ri=["title","content","pageHeaderRender","extraContent"],ai="ant-pro-page-header-wrap",ii=function(t){var n=t.tabList,r=t.tabRender,a=t.location,i=t.commonStore,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n=n&&n.filter((function(e){return s[e]})),r&&Object.keys(s).length&&n&&n.length?e.createElement("div",{className:"omni-tmp-link-list"},e.createElement(R,{size:"small",icon:e.createElement(c,null),style:{marginRight:10},onClick:function(){i.dispatch({type:"CLEAR_TABS",value:""})}},"清除全部"),n.map((function(t,n){return e.createElement(P,{closable:!0,key:t,onClose:function(){i.dispatch({type:"DELETE_TAB",value:t})}},e.createElement("div",{className:y({"omni-tmp-link-list-item":!0,"omni-tmp-link-list-active":a&&a.pathname===t})},r?r(s[t],t):s[t]))}))):null},si=function(t,n){var r=t.title,a=t.content,i=t.pageHeaderRender,s=t.extraContent,o=B(t,ri);return e.createElement(Xa.Consumer,null,(function(l){return i?i(L(L({},t),l)):e.createElement(C,L(L(L({},l),{},{title:l.title||r},o),{},{footer:ii(o,n)}),function(t,n){return t||n?e.createElement("div",{className:"".concat(ai,"-detail")},e.createElement("div",{className:"".concat(ai,"-main")},e.createElement("div",{className:"".concat(ai,"-row")},t&&e.createElement("div",{className:"".concat(ai,"-content")},t),n&&e.createElement("div",{className:"".concat(ai,"-extraContent")},n)))):null}(a,s))}))},oi=function(t){var n=t.children,r=e.useContext(ce),a=r.state,i=a.routesMap,s=a.tabList;return e.createElement("div",null,e.createElement("div",{className:"".concat(ai,"-page-header-warp")},e.createElement(ni,null,si(L(L({},t),{},{tabList:s,commonStore:r}),i))),n?e.createElement(ni,null,e.createElement("div",{className:"".concat(ai,"-children-content")},n)):null)},li=function(e,t){var n=t.pageTitleRender;if(!1===n)return t.title||"";if(n){var r=n(e);if("string"==typeof r)return r;console.warn("pro-layout: renderPageTitle return value should be a string")}return $a(e)},ui=function(e,t,n,r){t&&e.getList(t,n).then((function(e){r&&r(e)}))};function ci(t){var n,r=e.useContext(ce);i((function(){var e=t.menuList,a=t.app,i=t.userInfo,s=t.allApp,o=t.favorite,l=t.refreshInterval,u=t.historyApps,c=t.refreshSwitch,d=t.refreshSwitchAction,h=t.noticesApi,f=t.noticeSwitch,m=t.location;return m&&m.pathname&&r.dispatch({type:"INSERT_TAB",value:m.pathname}),Ga||(Ga=new ti({prefix:t.domain||""})),ui(Ga,e,{app:a},(function(e){var t={},n=Fa(e.list||[],t);r.dispatch({type:"UPDATE_VALUE",value:{routes:n,routesMap:t}})})),ui(Ga,i,{},(function(e){e&&e.username?r.dispatch({type:"UPDATE_VALUE",value:{user:e}}):c&&d&&d()})),ui(Ga,s,{app:a},(function(e){e&&e.list&&r.dispatch({type:"UPDATE_VALUE",value:{allApps:e.list||[]}})})),ui(Ga,o,{},(function(e){e&&e.list&&r.dispatch({type:"UPDATE_VALUE",value:{favoriteApps:e.list||[]}})})),ui(Ga,u,{},(function(e){e&&e.list&&r.dispatch({type:"UPDATE_VALUE",value:{historyUsed:e.list||[]}})})),f&&ui(Ga,h,{},(function(e){e&&e.list&&r.dispatch({type:"UPDATE_VALUE",value:{notices:e.list||[],noticeCount:e.count||0}})})),!n&&"number"==typeof l&&l>0&&(n=setInterval((function(){i&&Ga.get(i,{}).then((function(e){}))}),l)),function(){n&&clearInterval(n)}}),[]);var a=t.children,s=t.noPageHeader,o=t.location,l=void 0===o?{pathname:"/"}:o,u=t.title,c=void 0===u?"Omni Layout":u,d=t.headerLinks,h=t.noticeSwitch,f=t.logoutPath,m=t.logo,p=void 0===m?function(){return e.createElement("h3",{className:"defaultLogo",style:{paddingLeft:10,lineHeight:"50px",height:50}},"OmniLayout")}:m,y=function(e){var t=e.defaultMessage;return t||e.id},v=Ka(r.state.routes,{locale:!0},y,t.menuDataRender),_=v.breadcrumb,g=v.menuData,w=L(L({},t),{},{formatMessage:y,breadcrumb:_}),b=li(L({pathname:l.pathname},w),t),k=Qa(L(L({},t),{},{breadcrumb:_}));return i((function(){setTimeout((function(){document.title=b}))}),[b]),e.createElement("div",{className:"omni-layout"},e.createElement(fe,L({headerLinks:d,logo:p,title:c,logoutPath:f,noticeSwitch:h},t)),e.createElement(Va,L(L({menuItemRender:function(t,n){return e.createElement("a",{href:t.path},n)}},t),{},{menuData:g}),e.createElement(Xa.Provider,{value:L(L({},t),{},{breadcrumb:k,menuData:g,title:b.split("-")[0]})},s?a:e.createElement(oi,L({},t),a))))}ci.defaultProps={title:"Omni Layout",menuList:"/api/base/menu/list",userInfo:"/api/base/user/info",allApp:"/api/base/app/infos",favorite:"/api/base/app/favorite",historyApps:"/api/base/app/history",noticesApi:"/api/base/notice/list",logoutPath:"/__logout",refreshInterval:3e5,headerLinks:[{url:"/#/app/collection",name:"收藏应用",icon:"plus"}],openWithOtherTab:!1,refreshSwitch:!1,refreshSwitchAction:function(){window.location&&window.location.reload(!0)},noticeSwitch:!1,siderSearchSwitch:!1,tabList:[{key:"/base/manage/world"}]};var di=function(t){return e.createElement(he,null,e.createElement(ci,L({},t)))};window.OmniLayout=di;export default di;export{oi as PageHeaderWrapper,Ga as menuModel};
|
|
3
|
+
Pe.version="2.29.4",Oe=pa,Pe.fn=oi,Pe.min=function(){return ya("isBefore",[].slice.call(arguments,0))},Pe.max=function(){return ya("isAfter",[].slice.call(arguments,0))},Pe.now=function(){return Date.now?Date.now():+new Date},Pe.utc=Ge,Pe.unix=function(e){return pa(1e3*e)},Pe.months=function(e,t){return ci(e,t,"months")},Pe.isDate=He,Pe.locale=qn,Pe.invalid=Ke,Pe.duration=Ea,Pe.isMoment=Xe,Pe.weekdays=function(e,t,n){return di(e,t,n,"weekdays")},Pe.parseZone=function(){return pa.apply(null,arguments).parseZone()},Pe.localeData=Zn,Pe.isDuration=wa,Pe.monthsShort=function(e,t){return ci(e,t,"monthsShort")},Pe.weekdaysMin=function(e,t,n){return di(e,t,n,"weekdaysMin")},Pe.defineLocale=Kn,Pe.updateLocale=function(e,t){if(null!=t){var n,a,i=Un;null!=Hn[e]&&null!=Hn[e].parentLocale?Hn[e].set(ot(Hn[e]._config,t)):(null!=(a=Bn(e))&&(i=a._config),t=ot(i,t),null==a&&(t.abbr=e),(n=new st(t)).parentLocale=Hn[e],Hn[e]=n),qn(e)}else null!=Hn[e]&&(null!=Hn[e].parentLocale?(Hn[e]=Hn[e].parentLocale,e===qn()&&qn(e)):null!=Hn[e]&&delete Hn[e]);return Hn[e]},Pe.locales=function(){return nt(Hn)},Pe.weekdaysShort=function(e,t,n){return di(e,t,n,"weekdaysShort")},Pe.normalizeUnits=vt,Pe.relativeTimeRounding=function(e){return void 0===e?Pi:"function"==typeof e&&(Pi=e,!0)},Pe.relativeTimeThreshold=function(e,t){return void 0!==Ai[e]&&(void 0===t?Ai[e]:(Ai[e]=t,"s"===e&&(Ai.ss=t-1),!0))},Pe.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return-6>n?"sameElse":-1>n?"lastWeek":0>n?"lastDay":1>n?"sameDay":2>n?"nextDay":7>n?"nextWeek":"sameElse"},Pe.prototype=oi,Pe.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};var Hi=function(t){var n=e.useContext(ce),a=n.state,i=a.notices;return e.createElement("div",{className:y("omni-notice-box",{show:a.noticeBoxShow})},e.createElement("div",{className:"tool-inner"},e.createElement("div",{className:"tool-head"},e.createElement("h3",{className:"tool-head-title"},"消息中心"),e.createElement("a",{className:"tool-more"},"查看更多"),e.createElement("a",{className:"tool-head-close"},e.createElement(c,{onClick:function(){n.dispatch({type:"UPDATE_VALUE",value:{noticeBoxShow:!1}})}}))),e.createElement("div",{className:"tool-body"},e.createElement("div",{className:"nav-message-list"},i&&i.map((function(t){return e.createElement("div",{key:t.id,className:"nav-message-inner"},e.createElement("div",{className:"nav-message-div"},e.createElement("span",{className:"nav-message-text"},t.title),e.createElement("span",{className:"nav-message-time"},Pe(1e3*t.time).format("YYYY-MM-DD HH:mm:SS"))),e.createElement("div",{className:"message-dd-hover"},e.createElement("a",{href:"javascript:;"},"标记已读")),e.createElement("a",{href:t.link,title:"查看站内信详情"},t.msg))}))))))};var Vi=function(t){return!1===t.footerRender?null:t.footerRender?t.footerRender(B({},t),e.createElement(Ce,null)):e.createElement(Ce,null)};function Fi(t){var n=Z(a(!1),2),i=n[0],r=n[1],o=e.useContext(ce).state.user,s=t.menuData,l=t.children,u=t.title,c=y("omni-layout-app",{"aside-hover":i}),d=fe(s||[]);return e.createElement("div",{className:c},e.createElement("div",{className:"aside"},e.createElement("div",{className:"aside-area"},e.createElement("div",{className:"aside-area-main"},e.createElement(De,Object.assign({},t,{onCollapse:function(){r(!1)},layout:"sidemenu",collapsedWidth:63,theme:"dark",title:u,flatMenuKeys:d,collapsed:i})))),e.createElement("div",{onClick:function(){r(!i)},className:"menu-fold"},e.createElement(f,{type:i?"menu-unfold":"menu-fold"}))),e.createElement("div",{className:"main"},e.createElement(k,{monitorHeight:!0},(function(n){var a=n.size;return o.uid&&setTimeout((function(){!function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(e){var a=document.getElementById("watermark-warpper");a&&document.getElementById("omni-layout-comment")&&document.getElementById("omni-layout-comment").removeChild&&document.getElementById("omni-layout-comment").removeChild(a);var i={text1:"text",text2:"text",start_x:80,start_y:130,space_x:120,space_y:350,width:210,height:80,fontSize:20,color:"#aaa",alpha:.2,rotate:15};if(3===arguments.length&&"object"===Q(arguments[1])){var r=arguments[1]||{};for(var o in r)r[o]&&i[o]&&r[o]===i[o]||r[o]&&(i[o]=r[o])}var s=e.scrollWidth,l=(n||e.clientHeight)-64,u=document.createElement("div");u.id="watermark-warpper";var c=function e(t){return t.offsetParent?{x:t.offsetLeft+e(t.offsetParent).x,y:t.offsetTop+e(t.offsetParent).y}:{x:t.offsetLeft,y:t.offsetTop}}(e),d=c.x+i.start_x,m=c.y+i.start_y;do{do{var p=document.createElement("div");p.style.position="absolute",p.style.zIndex="99999",p.style.left="".concat(d,"px"),p.style.top="".concat(m,"px"),p.style.width="".concat(i.width,"px"),p.style.height="".concat(i.height,"px"),p.style.fontSize="".concat(i.fontSize,"px"),p.style.color=i.color,p.style.textAlign="center",p.style.opacity=i.alpha,p.style.filter="alpha(opacity=".concat(100*i.alpha,")"),p.style.webkitTransform="rotate(-".concat(i.rotate,"deg)"),p.style.MozTransform="rotate(-".concat(i.rotate,"deg)"),p.style.msTransform="rotate(-".concat(i.rotate,"deg)"),p.style.OTransform="rotate(-".concat(i.rotate,"deg)"),p.style.transform="rotate(-".concat(i.rotate,"deg)"),p.style.pointerEvents="none";var h=document.createElement("div");h.appendChild(document.createTextNode(i.text1)),p.append(h);var f=document.createElement("div");f.appendChild(document.createTextNode(i.text2)),p.append(f),u.append(p),d=d+i.width+i.space_x}while(s+c.x>d+i.width);d=c.x+i.start_x,m=m+i.height+i.space_y}while(l+c.y>m+i.height);e.append(u)}}(document.getElementById("omni-layout-comment"),{text1:o.username,text2:(new Date).toLocaleString(),height:65},a.height||0)})),e.createElement("div",{id:"omni-layout-comment",className:"main-inner"},l,Vi(B(B({},t),{},{collapsed:i})))}))),e.createElement(Hi,null))}var Gi=function e(t,n){return t?t.map((function(t){var a=e(t.children,n);return t.path&&(n[t.path]=t.name),{name:t.name||"",path:t.path||"",icon:t.icon||"",children:a,routes:a}})):[]};var Bi,qi=E((function e(t){var n=t.menu,a=t.formatMessage,i=t.authority,r=t.parentName;return t.data.filter((function(e){return e&&e.name&&e.path})).map((function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{path:""};if(!o.name)return o;var s=o.name,l="".concat(r||"menu",".").concat(s),u=n.locale||!a?s:a({id:l,defaultMessage:s}),c=B(B({},o),{},{name:u,locale:l,routes:null}),d=o.routes||o.children;if(d){var m=e(B(B({},t),{},{authority:o.authority||i,data:d,parentName:l}));c.children=m}return c}))}),O),Ki=function e(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).filter((function(e){return e&&e.name&&!e.hideInMenu})).map((function(t){if(t.children&&Array.isArray(t.children)&&!t.hideChildrenInMenu&&t.children.some((function(e){return!!e.name}))){var n=e(t.children);if(n.length)return B(B({},t),{},{children:n})}return B(B({},t),{},{children:void 0})})).filter((function(e){return e}))},Zi=E((function(e){var t={};return function e(n){n.forEach((function(n){n&&(n&&n.children&&e(n.children),t[n.path]=n)}))}(e),t}),O),$i=function(e,t,n,a){var i=qi({data:e,formatMessage:n,menu:t||{locale:!1}});a&&(i=a(i));var r=Ki(i);return{breadcrumb:Zi(i),menuData:r}},Ji=function(e){var t=e.pathname,n=e.formatMessage,a=e.title,i=void 0===a?"Omni Layout":a,r=e.menu,o=void 0===r?{locale:!1}:r;if(!t)return i;var s=function(e,t){if(t){var n=Object.keys(t).find((function(t){return D(t).test(e)}));if(n)return t[n]}return{path:""}}(t,e.breadcrumb);if(!s)return i;var l=s.name;return o.locale&&s.locale&&(l=n({id:s.locale||"",defaultMessage:s.name})),l?"".concat(l," - ").concat(i):i},Qi=function(t){return e.createElement("a",null,t.title||t.breadcrumbName)},Xi=function(e,t,n){if(!e)return[];var a=he(e.pathname).map((function(e){var a=function(e,t){if(!e)return{path:""};var n=e[t];return n||Object.keys(e).forEach((function(a){D(a).test(t)&&(n=e[a])})),n||{path:""}}(t,e);if(a.inherited)return{path:"",breadcrumbName:""};var i=function(e,t){var n=t.formatMessage,a=t.menu;return e.locale&&n&&(void 0===a?{locale:!1}:a).locale?n({id:e.locale,defaultMessage:e.name}):e.name}(a,n);return i&&!a.hideInBreadcrumb?{path:e,title:i,breadcrumbName:i,component:a.component}:{path:"",breadcrumbName:""}})).filter((function(e){return e&&e.path}));return a},er=function(e){var t=e.breadcrumbRender,n=e.itemRender,a=function(e){var t=e.breadcrumbList,n=function(e){return{location:e.location,breadcrumb:e.breadcrumb}}(e),a=n.location,i=n.breadcrumb;return t&&t.length?function(e){var t=e.breadcrumbList;return(void 0===t?[]:t).map((function(e){var t=e.title;return{path:e.href,title:t,breadcrumbName:t}})).filter((function(e){return e.path}))}(e):a&&a.pathname&&i?Xi(a,i,e):[]}(e),i=n||Qi,r=a;return t&&(r=t(r)||[]),r&&2>r.length&&(r=void 0),{routes:r,itemRender:i}},tr=i({}),nr={"/api/base/menu/list":{error:0,msg:"ok",data:{list:[{name:"应用管理",path:"/app",icon:"windows",permission:"permitted",type:"",expanded:!1,isShowTabs:!1,key:"",children:[{name:"收藏管理",path:"/app/collection",icon:"windows",permission:"permitted",type:"",expanded:!1,isShowTabs:!1,key:"",children:null},{name:"爱速搭应用",path:"/app/aisuda",icon:"user",permission:"app.aisuda",type:"",expanded:!1,isShowTabs:!1,key:"",children:null}]},{name:"系统管理",path:"/manage",icon:"setting",permission:"permitted",type:"",expanded:!0,isShowTabs:!1,key:"",children:[{name:"欢迎界面",path:"/manage/world",icon:"setting",permission:"permitted",type:"",expanded:!0,isShowTabs:!1,key:"",children:null},{name:"权限列表",path:"/manage/pms",icon:"setting",permission:"manage.pms",type:"",expanded:!0,isShowTabs:!1,key:"",children:null},{name:"数据权限",path:"/manage/data",icon:"setting",permission:"manage.data",type:"",expanded:!0,isShowTabs:!1,key:"",children:null}]},{name:"内容管理",path:"/content",icon:"file-text",permission:"permitted",type:"",expanded:!1,isShowTabs:!1,key:"",children:[{name:"文章列表",path:"/content/articles",icon:"file-text",permission:"permitted",type:"",expanded:!1,isShowTabs:!1,key:"",children:[{name:"文章详情",path:"/content/articles/detail",icon:"file-text",permission:"permitted",type:"",expanded:!1,isShowTabs:!1,key:"",children:null}]},{name:"分类管理",path:"/content/category",icon:"tags",permission:"permitted",type:"",expanded:!1,isShowTabs:!1,key:"",children:null}]}]}},"/api/base/user/info":{error:0,msg:"ok",data:{username:"admin",uid:123456,userId:"123456",avatar:"https://gw.alipayobjects.com/zos/rmsportal/WhxQTCkHUdjPnLvklGfh.png",email:"admin@example.com",realName:"管理员",dept:"IT部门"}},"/api/base/app/infos":{error:0,msg:"ok",data:{list:[{name:"ERP",menu:[{name:"KPI目标管理平台",url:"http://clive.dz11.com/s/fed-kpi-okr/index.html",app:"wsd-kpi-srv-java",pinyin:"KPImubiaoguanlipingtai"},{name:"人事后台管理系统",url:"http://clive.dz11.com/s/fed-human-resources/index.html#/",app:"hr",pinyin:"renshihoutaiguanlixitong"},{name:"公共数据权限平台",url:"https://clive.dz11.com/s/data_access_platform/index.html#/",app:"wsd-data-node-admin-java",pinyin:"gonggongshujuquanxianpingtai"},{name:"斗鱼up主管理",url:"https://clive.dz11.com/s/fed-erp-up-manage/index.html#/",app:"wsd-uploader-crm-app-java",pinyin:"douyuupzhuguanli"},{name:"新OA",url:"http://newoalive.dz11.com/index.html",app:"oaplatform",pinyin:"xinOA"},{name:"知识产权平台",url:"http://clive.dz11.com/s/intellectual-property/index.html",app:"wsd-intellectual-property-admin-java",pinyin:"zhishichanquanpingtai"},{name:"章鱼crm",url:"https://clive.dz11.com/s/octopus-crm/index.html#/",app:"308",pinyin:"zhangyucrm"},{name:"虚拟资源管理系统",url:"http://vrp-admin.live.dz11.com",app:"wsd-erp-v2-vrp-admin-java",pinyin:"xuniziyuanguanlixitong"},{name:"财务共享数据中心",url:"http://cwsharing.live.dz11.com",app:"wsd-erp-v2-cw-sharing-admin-java",pinyin:"caiwugongxiangshujuzhongxin"}]},{name:"中台",menu:[{name:"CPS推广后台",url:"http://clive.dz11.com/s/fed-cps-admin-front/index.html",app:"cps",pinyin:"CPStuiguanghoutai"},{name:"api治理管理后台",url:"http://clive.dz11.com/s/wsd-api-studio-admin-front/index.html",app:"api-studio",pinyin:"apizhiliguanlihoutai"},{name:"会员中台",url:"https://dyadmin-usercenter-live.dz11.com",app:"64",pinyin:"huiyuanzhongtai"},{name:"全链路压测",url:"http://clive.dz11.com/s/stress/index.html",app:"stress",pinyin:"quanlianluyace"},{name:"后羿系统",url:"http://clive.dz11.com/s/fed-precision-operation/index.html",app:"precision-operation-java",pinyin:"houyixitong"},{name:"异地多活流量调度",url:"http://clive.dz11.com/s/wsd-dispatch-platform-front/index.html",app:"dispatch",pinyin:"yididuohuoliuliangdiaodu"},{name:"房间中台管理系统",url:"http://clive.dz11.com/s/wsd-live-admin-room-admin-front/index.html",app:"roomadmin",pinyin:"fangjianzhongtaiguanlixitong"},{name:"数据库管理中台",url:"10.1.104.15",app:"145",pinyin:"shujukuguanlizhongtai"},{name:"斗鱼360",url:"http://douyu360.live.dz11.com/#/polestar/visit/overall",app:"polestar",pinyin:"douyu360"},{name:"斗鱼代码质量分析平台",url:"http://clive.dz11.com/s/dy-code-analysis-platform-front/index.html#/",app:"cap",pinyin:"douyudaimazhiliangfenxipingtai"},{name:"斗鱼开放平台管理后台",url:"http://clive.dz11.com/s/wsd-live-admin-openadmin-front/index.html#/manage/world",app:"61",pinyin:"douyukaifangpingtaiguanlihoutai"},{name:"斗鱼监控中心",url:"http://clive.dz11.com/monitor/index.html",app:"monitor",pinyin:"douyujiankongzhongxin"},{name:"日志平台",url:"http://clive.dz11.com/log/index.html",app:"aliyunlog",pinyin:"rizhipingtai"},{name:"标签中台",url:"http://clive.dz11.com/s/fed-tag-platform/index.html#/",app:"label",pinyin:"biaoqianzhongtai"},{name:"榜单中台配置",url:"https://liverankadmin.dz11.com",app:"65",pinyin:"bangdanzhongtaipeizhi"},{name:"活动管理后台",url:"http://carnival.live.dz11.com/#/",app:"carnivaladmin",pinyin:"huodongguanlihoutai"},{name:"熔断限流",url:"http://clive.dz11.com/s/wsd-sentinel-console-fed/index.html",app:"breaker",pinyin:"rongduanxianliu"},{name:"盘古",url:"http://dymlive.dz11.com/pangu/index.html#/manage/world",app:"pangu",pinyin:"pangu"},{name:"礼物中台",url:"http://clive.dz11.com/s/fed-gift-admin/index.html",app:"wsd-gift-core-admin-java",pinyin:"liwuzhongtai"},{name:"站内信中台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=imPlatform",app:"imPlatform",pinyin:"zhanneixinzhongtai"},{name:"结算中台",url:"http://clive.dz11.com/s/fed-settlement-platform/index.html",app:"wsd-settle-admin-java",pinyin:"jiesuanzhongtai"},{name:"统一RPC平台",url:"https://rpcconsole.live.dz11.com",app:"70",pinyin:"tongyiRPCpingtai"},{name:"营销中台-任务平台",url:"http://clive.dz11.com/msroomtask/index.html",app:"msroomtask",pinyin:"yingxiaozhongtai-renwupingtai"},{name:"营销中台管理后台",url:"http://clive.dz11.com/marketing/index.html",app:"marketing",pinyin:"yingxiaozhongtaiguanlihoutai"},{name:"识别中台管理后台",url:"https://clive.dz11.com/s/yami-front/index.html#/manage/world",app:"yami",pinyin:"shibiezhongtaiguanlihoutai"},{name:"诊断平台",url:"http://clive.dz11.com/sandbox-mgr/index.html#/",app:"sandbox-mgr",pinyin:"zhenduanpingtai"},{name:"货币中台",url:"http://clive.dz11.com/currencyadmin/#/",app:"currencyadmin",pinyin:"huobizhongtai"},{name:"通知管理后台",url:"https://clive.dz11.com/s/wsd-base-notify-admin-front/index.html#/",app:"notify",pinyin:"tongzhiguanlihoutai"}]},{name:"其他",menu:[{name:"CDN管理平台",url:"http://clive.dz11.com/s/wsd-cdn-manager-front/index.html#/",app:"cdn-manager",pinyin:"CDNguanlipingtai"},{name:"CDN调度",url:"wsd-lstream-admin-cerda-live.dz11.com",app:"77",pinyin:"CDNdiaodu"},{name:"ClickHouse管理平台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=ClickHousekAdmin",app:"ClickHousekAdmin",pinyin:"ClickHouseguanlipingtai"},{name:"Discover报表系统",url:"http://dataworks.ocean.dz11.com",app:"discover",pinyin:"Discoverbaobiaoxitong"},{name:"Flash发布系统",url:"http://flashdeploy.dz11.com",app:"8",pinyin:"Flashfabuxitong"},{name:"I18N测试应用",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=firstiI18NappInTheUniverse",app:"firstiI18NappInTheUniverse",pinyin:"I18Nceshiyingyong"},{name:"KPI目标管理平台_旧",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=kpi",app:"kpi",pinyin:"KPImubiaoguanlipingtai_jiu"},{name:"Minerva微服务管理后台(Juno)",url:"http://juno.coldlake.cn",app:"juno",pinyin:"Minervaweifuwuguanlihoutai(Juno)"},{name:"NONO主播管理系统",url:"http://nono-anchor.live.dz11.com",app:"220",pinyin:"NONOzhuboguanlixitong"},{name:"NodePMS",url:"http://10.117.24.120:4000",app:"338",pinyin:"NodePMS"},{name:"OKR目标管理平台",url:"http://clive.dz11.com/s/fed-okr-platform/index.html",app:"okr",pinyin:"OKRmubiaoguanlipingtai"},{name:"OpsPerm",url:"http://10.1.61.141",app:"87",pinyin:"OpsPerm"},{name:"PC客户端管理后台",url:"http://dyadmin-auth-live.dz11.com/pcadmin",app:"68",pinyin:"PCkehuduanguanlihoutai"},{name:"RPC互通",url:"http://clive.dz11.com/s/dy-dubbo-admin-front/index.html#/",app:"dubbo-admin",pinyin:"RPChutong"},{name:"ToolPlatform",url:"http://tp.dz11.com",app:"123",pinyin:"ToolPlatform"},{name:"cloudcenter-go",url:"http://cloud.live.dz11.com",app:"105",pinyin:"cloudcenter-go"},{name:"cmdb",url:"http://live-dayu.dz11.com",app:"90",pinyin:"cmdb"},{name:"console.dy21",url:"/consoledy21",app:"47",pinyin:"console.dy21"},{name:"dabaotest",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=dabaotest",app:"dabaotest",pinyin:"dabaotest"},{name:"dubbo_monitor",url:"/dubbo_monitor",app:"49",pinyin:"dubbo_monitor"},{name:"gateway",url:"http://btc-api-gateway-janus-srv-java.live.unp.oyw",app:"126",pinyin:"gateway"},{name:"goweb",url:"http://goweb.dz11.com",app:"12",pinyin:"goweb"},{name:"hab项目",url:"http://hab.dz11.com",app:"330",pinyin:"habxiangmu"},{name:"hugh2020",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=hugo2020",app:"hugo2020",pinyin:"hugh2020"},{name:"noah agent管理后台",url:"http://clive.dz11.com/noah/#/agent/version",app:"noah",pinyin:"noahagentguanlihoutai"},{name:"oacenter live",url:"http://oacenter.live.dz11.com",app:"57",pinyin:"oacenterlive"},{name:"ops-resources-cost-admin-java",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=opsresourceadmin",app:"opsresourceadmin",pinyin:"ops-resources-cost-admin-java"},{name:"qww",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=qwwqw",app:"qwwqw",pinyin:"qww"},{name:"test",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=apptest111",app:"apptest111",pinyin:"test"},{name:"venus-admin-dev",url:"http://暂无",app:"60",pinyin:"venus-admin-dev"},{name:"xj测试",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=testxj",app:"testxj",pinyin:"xjceshi"},{name:"【废弃】公共权限",url:"#",app:"138",pinyin:"[feiqi]gonggongquanxian"},{name:"一站式埋点平台",url:"http://track.ocean.dz11.com",app:"track",pinyin:"yizhanshimaidianpingtai"},{name:"一起看",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=watchtogather#/manage/world",app:"watchtogather",pinyin:"yiqikan"},{name:"业务鹰眼",url:"http://insightlive.dz11.com/#/overview",app:"insightAdmin",pinyin:"yewuyingyan"},{name:"个推查询后台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=bdRecom",app:"bdRecom",pinyin:"getuichaxunhoutai"},{name:"主播CRM管理系统",url:"http://crm-japan.live.dz11.com",app:"262",pinyin:"zhuboCRMguanlixitong"},{name:"主播侧推送后台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=mcTaskPush",app:"mcTaskPush",pinyin:"zhubocetuisonghoutai"},{name:"主播大数据管理平台",url:"http://odp.live.dz11.com",app:"odp",pinyin:"zhubodashujuguanlipingtai"},{name:"主播广告接单系统",url:"wsd-anchor-order-java.live.dz11.com",app:"115",pinyin:"zhuboguanggaojiedanxitong"},{name:"主播广告管理后台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=anchorAdsManage",app:"anchorAdsManage",pinyin:"zhuboguanggaoguanlihoutai"},{name:"主播数据服务管理后台",url:"http://clive.dz11.com/adcAdmin",app:"387",pinyin:"zhuboshujufuwuguanlihoutai"},{name:"主播薪酬管理(java)",url:"http://anchor-salary.live.dz11.com",app:"304",pinyin:"zhuboxinchouguanli(java)"},{name:"主播薪酬系统(live)",url:"https://livepayroll.dz11.com",app:"24",pinyin:"zhuboxinchouxitong(live)"},{name:"主播运营管理平台",url:"http://dy-wsd-anchor-java.live.dz11.com",app:"92",pinyin:"zhuboyunyingguanlipingtai"},{name:"主站后台审核系统",url:"http://checklive.dz11.com",app:"13",pinyin:"zhuzhanhoutaishenhexitong"},{name:"主站后台管理系统",url:"http://live.dz11.com/admin",app:"16",pinyin:"zhuzhanhoutaiguanlixitong"},{name:"云真机平台",url:"http://172.18.120.53",app:"353",pinyin:"yunzhenjipingtai"},{name:"互动平台",url:"https://dyadmin-auth-live.dz11.com/iep",app:"80",pinyin:"hudongpingtai"},{name:"交易体系管理后台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=tradeAdmin",app:"tradeAdmin",pinyin:"jiaoyitixiguanlihoutai"},{name:"人事系统绩效模块",url:"http://dymhr.live.dz11.com",app:"154",pinyin:"renshixitongjixiaomokuai"},{name:"任务中台",url:"http://marketing-task-admin-console.live.dz11.com",app:"100",pinyin:"renwuzhongtai"},{name:"优惠券管理后台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=tradeAdmin#/manage/world",app:"268",pinyin:"youhuiquanguanlihoutai"},{name:"低代码平台",url:"http://clive.dz11.com/s/dy-lcdp-admin-front/index.html",app:"dy-lcdp-java",pinyin:"didaimapingtai"},{name:"元数据管理",url:"10.117.21.149:8390",app:"metadata",pinyin:"yuanshujuguanli"},{name:"内容标签管理后台",url:"http://clive.dz11.com/s/fed-content-tag-admin/index.html",app:"content-tag-admin",pinyin:"neirongbiaoqianguanlihoutai"},{name:"内容理解平台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=contUnderPlat",app:"contUnderPlat",pinyin:"neironglijiepingtai"},{name:"内容运营平台",url:"http://cop-admin-live.dz11.com",app:"55",pinyin:"neirongyunyingpingtai"},{name:"冯银超的赫拉站点3",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=fychera3",app:"fychera3",pinyin:"fengyinchaodehelazhandian3"},{name:"创作中心管理系统",url:"https://apolloadminlive.dz11.com",app:"15",pinyin:"chuangzuozhongxinguanlixitong"},{name:"北京前端综合",url:"http://clive.dz11.com/s/wsd-bj-tools-front/index.html#/welcome",app:"bj_frontend_pro",pinyin:"beijingqianduanzonghe"},{name:"北京新TV管理后台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=bjNewTVAdmin",app:"bjNewTVAdmin",pinyin:"beijingxinTVguanlihoutai"},{name:"北京游戏管理后台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=bjrevenuegameconfig",app:"bjrevenuegameconfig",pinyin:"beijingyouxiguanlihoutai"},{name:"北京远程资源管理平台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=bjRemoteResourceManage",app:"bjRemoteResourceManage",pinyin:"beijingyuanchengziyuanguanlipingtai"},{name:"北京鱼吧管理后台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=bjyubasystem",app:"bjyubasystem",pinyin:"beijingyubaguanlihoutai"},{name:"北京鱼吧管理后台-后端",url:"http://api.adm.develop.ybserver.com",app:"278",pinyin:"beijingyubaguanlihoutai-houduan"},{name:"单点登录后台",url:"http://live.passport-admin.dz11.com",app:"6",pinyin:"dandiandengluhoutai"},{name:"即席查询",url:"http://dataworks.ocean.dz11.com/#/welcome",app:"ocean-ad-hoc",pinyin:"jixichaxun"},{name:"合同管理",url:"http://contract.live.dz11.com",app:"76",pinyin:"hetongguanli"},{name:"合规检测平台",url:"https://clive.dz11.com/s/compliance-check-platform/index.html",app:"wsd-client-safe-admin-java",pinyin:"heguijiancepingtai"},{name:"同步",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=testmerge",app:"test123456",pinyin:"tongbu"},{name:"吕布",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=lvbu",app:"lvbu",pinyin:"lvbu"},{name:"员工管理测试",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=staffManagementTest",app:"staffManagementTest",pinyin:"yuangongguanliceshi"},{name:"咕咕360",url:"https://clive.dz11.com/s/dyh-gugu-admin/index.html#/",app:"372",pinyin:"gugu360"},{name:"咕咕dubbo后台",url:"http://dyheart-dubbo-admin-java.pub.unp.oyw",app:"390",pinyin:"gugudubbohoutai"},{name:"咕咕交易中台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=dyhTradeAdmin",app:"dyhTradeAdmin",pinyin:"gugujiaoyizhongtai"},{name:"咕咕会员中台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=gugu",app:"gugu",pinyin:"guguhuiyuanzhongtai"},{name:"咕咕公会审核后台",url:"http://dymclubheartlive.dz11.com/voice",app:"367",pinyin:"gugugonghuishenhehoutai"},{name:"咕咕榜单中台",url:"https://gugurankadmin.dz11.com",app:"389",pinyin:"gugubangdanzhongtai"},{name:"咕咕研发支持",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=guguToolbox",app:"guguToolbox",pinyin:"guguyanfazhichi"},{name:"咕咕语音后台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=voiceSocial",app:"voiceSocial",pinyin:"guguyuyinhoutai"},{name:"咕咕飓风-任务平台",url:"http://clive.dz11.com/dyhtyphon/index.html",app:"dyhtyphontask",pinyin:"gugujufeng-renwupingtai"},{name:"哈哈哈哈哈哈哈哈哈哈",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=hahah",app:"hahah",pinyin:"hahahahahahahahahaha"},{name:"商务数据后台",url:"http://clive.dz11.com/s/business-data-admin/index.html",app:"businessdataadmin",pinyin:"shangwushujuhoutai"},{name:"国际化服务后台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=overseasI18nService",app:"overseasI18nService",pinyin:"guojihuafuwuhoutai"},{name:"大数据推荐管理后台",url:"http://127.0.0.1:8911",app:"135",pinyin:"dashujutuijianguanlihoutai"},{name:"天枢",url:"http://10.1.101.12:9090/#/",app:"tianshu",pinyin:"tianshu"},{name:"定时任务服务端",url:"http://cron.dz11.com",app:"4",pinyin:"dingshirenwufuwuduan"},{name:"实时数据CK管理平台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=clickhouseManager",app:"clickhouseManager",pinyin:"shishishujuCKguanlipingtai"},{name:"客服机器人管理后台(live)",url:"http://robot.live.dz11.com",app:"249",pinyin:"kefujiqirenguanlihoutai(live)"},{name:"客服系统(live)",url:"http://icslive.dz11.com",app:"26",pinyin:"kefuxitong(live)"},{name:"小天鹅(测试)",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=littleswan",app:"littleswan",pinyin:"xiaotiane(ceshi)"},{name:"工作报表平台",url:"http://clive.dz11.com/s/wsd-work-report-front/index.html",app:"workreport",pinyin:"gongzuobaobiaopingtai"},{name:"差旅费用报销平台",url:"http://expense.live.dz11.com",app:"62",pinyin:"chalvfeiyongbaoxiaopingtai"},{name:"平台业务管理后台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=platformBizManager",app:"platformBizManager",pinyin:"pingtaiyewuguanlihoutai"},{name:"广告渠道投放平台",url:"http://clive.dz11.com/s/fed-ai-serving/index.html#/landingManage",app:"313",pinyin:"guanggaoqudaotoufangpingtai"},{name:"广告自助管理平台",url:"http://wsd-adx-ssp-java.live.dz11.com/api/admin/report/ssp/v2/getSspName",app:"130",pinyin:"guanggaozizhuguanlipingtai"},{name:"应用管理后台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=appTest",app:"appTest",pinyin:"yingyongguanlihoutai"},{name:"建站后台搭建测试",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=testProjest",app:"testProjest",pinyin:"jianzhanhoutaidajianceshi"},{name:"张振铎test",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=zzdtest",app:"zzdtest",pinyin:"zhangzhenduotest"},{name:"微信智能监控后台",url:"https://dyadmin-auth-live.dz11.com/wechatpush/alarm/index/index",app:"85",pinyin:"weixinzhinengjiankonghoutai"},{name:"心愿官后台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=actWishOfficer",app:"actWishOfficer",pinyin:"xinyuanguanhoutai"},{name:"房间业务管理系统",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=roommanage",app:"roommanage",pinyin:"fangjianyewuguanlixitong"},{name:"手游数据平台",url:"http://biz-stat.live.dz11.com",app:"74",pinyin:"shouyoushujupingtai"},{name:"手游管理后台",url:"http://dymanagelive.dz11.com",app:"10",pinyin:"shouyouguanlihoutai"},{name:"托管应用",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=test1",app:"test1",pinyin:"tuoguanyingyong"},{name:"找游戏管理页",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=lookGame",app:"lookGame",pinyin:"zhaoyouxiguanliye"},{name:"投诉系统",url:"http://fwlive.dz11.com",app:"58",pinyin:"tousuxitong"},{name:"招采平台",url:"http://dymzb.live.dz11.com/index.html#",app:"59",pinyin:"zhaocaipingtai"},{name:"推荐位竞价",url:"http://clive.dz11.com/s/dym-recommend-admin-front/index.html",app:"dym-recommend",pinyin:"tuijianweijingjia"},{name:"搜索管理后台",url:"http://127.0.0.1:8080",app:"113",pinyin:"sousuoguanlihoutai"},{name:"支付管理平台",url:"http://payadmin-live.dz11.com",app:"7",pinyin:"zhifuguanlipingtai"},{name:"敏感词后台管理系统",url:"http://ismnewlive.dz11.com",app:"32",pinyin:"mingancihoutaiguanlixitong"},{name:"数据修复管理后台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=dataRecovery",app:"dataRecovery",pinyin:"shujuxiufuguanlihoutai"},{name:"数据库多云管理平台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=coudDBA",app:"coudDBA",pinyin:"shujukuduoyunguanlipingtai"},{name:"数据开发平台",url:"http://10.124.20.14:8790",app:"uddp",pinyin:"shujukaifapingtai"},{name:"数据服务权限系统",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=bigdataDataAuth",app:"bigdataDataAuth",pinyin:"shujufuwuquanxianxitong"},{name:"数据服务管理平台",url:"http://clive.dz11.com/s/fed-data-service-admin/index.html",app:"data-service-admin",pinyin:"shujufuwuguanlipingtai"},{name:"数据权限管理",url:"10.117.21.158",app:"dpms",pinyin:"shujuquanxianguanli"},{name:"数据管理平台",url:"http://dmclive.dz11.com",app:"11",pinyin:"shujuguanlipingtai"},{name:"数据资产管理平台",url:"1",app:"323",pinyin:"shujuzichanguanlipingtai"},{name:"文件预览服务",url:"http://srv-preview.live.dz11.com/",app:"66",pinyin:"wenjianyulanfuwu"},{name:"斗鱼OA",url:"https://liveoa.dz11.com",app:"17",pinyin:"douyuOA"},{name:"斗鱼OA日本",url:"http://newoajp.live.dz11.com",app:"157",pinyin:"douyuOAriben"},{name:"斗鱼企业门户后台管理系统",url:"portallive.dz11.com",app:"18",pinyin:"douyuqiyemenhuhoutaiguanlixitong"},{name:"斗鱼天网系统",url:"http://wsd-audit-admin-java.live.dz11.com",app:"275",pinyin:"douyutianwangxitong"},{name:"斗鱼建站后台",url:"http://clive.dz11.com/s/fed-backstage-admin-front/index.html",app:"fed-backstage-admin-front",pinyin:"douyujianzhanhoutai"},{name:"斗鱼控制台",url:"https://clive.dz11.com",app:"129",pinyin:"douyukongzhitai"},{name:"斗鱼操作记录平台",url:"http://clive.dz11.com/s/auditlog-app-front/index.html",app:"audit-logging-app",pinyin:"douyucaozuojilupingtai"},{name:"斗鱼数据平台",url:"http://ocean-dataplat.live.dz11.com/dataplat/auth/callback",app:"227",pinyin:"douyushujupingtai"},{name:"斗鱼新点播后台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=videoManage",app:"videoManage",pinyin:"douyuxindianbohoutai"},{name:"斗鱼星海管理后台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=starsea",app:"starsea",pinyin:"douyuxinghaiguanlihoutai"},{name:"斗鱼星球管理后台",url:"https://clive.dz11.com/s/device-manage-platform/index.html?app=grs",app:"grs",pinyin:"douyuxingqiuguanlihoutai"},{name:"斗鱼自定义表单",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html",app:"customform",pinyin:"douyuzidingyibiaodan"},{name:"斗鱼财报系统后台",url:"http://cb.live.dz11.com",app:"leopard_admin",pinyin:"douyucaibaoxitonghoutai"},{name:"斗鱼音乐管理系统",url:"/musicadmin/index.html",app:"29",pinyin:"douyuyinyueguanlixitong"},{name:"新后台基础平台",url:"http://clive.dz11.com/s/admin-audit-center/index.html#/",app:"38",pinyin:"xinhoutaijichupingtai"},{name:"新审核",url:"http://s.live.dz11.com",app:"401",pinyin:"xinshenhe"},{name:"新审核后台",url:"http://wsd-check-admin-java.live.dz11.com",app:"86",pinyin:"xinshenhehoutai"},{name:"新广告管理后台",url:"http://adadminlive.dz11.com",app:"19",pinyin:"xinguanggaoguanlihoutai"},{name:"新移动端管理平台",url:"https://clive.dz11.com/s/new-app-admin-front/index.html",app:"new-app-admin",pinyin:"xinyidongduanguanlipingtai"},{name:"新营收互动任务管理后台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=InteractionTaskAdmin",app:"InteractionTaskAdmin",pinyin:"xinyingshouhudongrenwuguanlihoutai"},{name:"日本主播薪酬",url:"anchor-salary-java-jp.live.unp.oyw",app:"380",pinyin:"ribenzhuboxinchou"},{name:"智能投放平台",url:"http://clive.dz11.com/s/fed-ai-serving/index.html",app:"dsp-platform-java",pinyin:"zhinengtoufangpingtai"},{name:"权限管理系统",url:"https://pmslive.dz11.com",app:"1",pinyin:"quanxianguanlixitong"},{name:"柠檬精",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=LEMON",app:"LEMON",pinyin:"ningmengjing"},{name:"标签中台2.0管理后台",url:"http://wsd-tag-center-admin-java.live.unp.oyw",app:"378",pinyin:"biaoqianzhongtai2.0guanlihoutai"},{name:"活动裂变保活检测服务",url:"http://clive.dz11.com/s/dy-act-anti-blockade-front/index.html#/",app:"act-unblocked",pinyin:"huodongliebianbaohuojiancefuwu"},{name:"流程测试demo",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=flowTestDemo",app:"flowTestDemo",pinyin:"liuchengceshidemo"},{name:"流量分发管控系统",url:"https://athenalive.dz11.com",app:"9",pinyin:"liuliangfenfaguankongxitong"},{name:"流量线管理后台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=flow",app:"flow",pinyin:"liuliangxianguanlihoutai"},{name:"测试demo",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=testDemo",app:"testDemo",pinyin:"ceshidemo"},{name:"测试应用12315",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=hera12315",app:"hera12315",pinyin:"ceshiyingyong12315"},{name:"测试应用9",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=hera7112222",app:"hera7112222",pinyin:"ceshiyingyong9"},{name:"测试搭建应用7",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=hera7",app:"hera7",pinyin:"ceshidajianyingyong7"},{name:"测试虚拟应用",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=testApp",app:"testApp",pinyin:"ceshixuniyingyong"},{name:"测试页面",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=testxiami",app:"testxiami",pinyin:"ceshiyemian"},{name:"海外交易中台",url:"https://admin.sandboxes.tv/s/trade-admin/index.html#/home",app:"dyTradeAdminOverseas",pinyin:"haiwaijiaoyizhongtai"},{name:"海外会员中台",url:"https://admin.sandboxes.tv/s/hera-global-base/index.html?app=dyMemberAdminOverseas#/",app:"dyMemberAdminOverseas",pinyin:"haiwaihuiyuanzhongtai"},{name:"海外语音后台",url:"https://admin.sandboxes.tv/s/guguk-admin/index.html#/home",app:"voiceSocialOverseas",pinyin:"haiwaiyuyinhoutai"},{name:"海外陪玩后台",url:"http://admin.sandboxes.tv/s/peilian_backend/index.html",app:"408",pinyin:"haiwaipeiwanhoutai"},{name:"消息推送管理后台",url:"http://clive.dz11.com/s/grd-ejabberd-admin-nodejs/index.html",app:"365",pinyin:"xiaoxituisongguanlihoutai"},{name:"演示权限接入demo",url:"http://juno.pre.dz11.com",app:"show_demo",pinyin:"yanshiquanxianjierudemo"},{name:"潘舟的第一个赫拉管理后台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=pzTest",app:"pzTest",pinyin:"panzhoudediyigehelaguanlihoutai"},{name:"潮玩盒子业务管理后台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=luckyBoxAdmin",app:"luckyBoxAdmin",pinyin:"chaowanheziyewuguanlihoutai"},{name:"点播审核系统",url:"https://vodreviewlive.dz11.com",app:"3",pinyin:"dianboshenhexitong"},{name:"点播管理系统",url:"https://adminvodlive.dz11.com",app:"2",pinyin:"dianboguanlixitong"},{name:"熔断降级平台",url:"http://clive.dz11.com/cloud-mgr/#/",app:"cloud-mgr",pinyin:"rongduanjiangjipingtai"},{name:"爬山测试应用",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=dongshengzhaoyang",app:"dongshengzhaoyang",pinyin:"pashanceshiyingyong"},{name:"版本管理后台",url:"https://venusadminlive.dz11.com",app:"23",pinyin:"banbenguanlihoutai"},{name:"物资管理系统",url:"material.live.dz11.com",app:"78",pinyin:"wuziguanlixitong"},{name:"玄武计算平台",url:"10.117.21.53:8299",app:"xuanwu",pinyin:"xuanwujisuanpingtai"},{name:"王成测试",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=wctest",app:"wctest",pinyin:"wangchengceshi"},{name:"用户管理后台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=testUser",app:"testUser",pinyin:"yonghuguanlihoutai"},{name:"监控中心管理后台",url:"http://wsd-monitor-center-admin-java.live.dz11.com",app:"94",pinyin:"jiankongzhongxinguanlihoutai"},{name:"监控管理后台",url:"http://monitor.live.dz11.com",app:"21",pinyin:"jiankongguanlihoutai"},{name:"直播带货管理后台",url:"http://clive.dz11.com/s/fed-live-market-platform/index.html",app:"liveMarket",pinyin:"zhibodaihuoguanlihoutai"},{name:"直播研发业务组件平台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=liverdBizTools2",app:"liverdBizTools2",pinyin:"zhiboyanfayewuzujianpingtai"},{name:"直播间资源投放管理平台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=CustomServingManager",app:"CustomServingManager",pinyin:"zhibojianziyuantoufangguanlipingtai"},{name:"直播间配置信息live站",url:"https://aresadminlive.dz11.com",app:"31",pinyin:"zhibojianpeizhixinxilivezhan"},{name:"短网址管理后台",url:"https://dyadmin-auth-live.dz11.com/shorturl/index.html#/",app:"30",pinyin:"duanwangzhiguanlihoutai"},{name:"研发宝盒",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=liverdBizToolBox",app:"liverdBizToolBox",pinyin:"yanfabaohe"},{name:"研发项目管理",url:"http://project.dev.dz11.com",app:"67",pinyin:"yanfaxiangmuguanli"},{name:"社区数据管理后台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=community",app:"community",pinyin:"shequshujuguanlihoutai"},{name:"社区数据运营中心",url:"http://clive.dz11.com/s/fed-community-data/index.html",app:"bd-community-platform-java",pinyin:"shequshujuyunyingzhongxin"},{name:"社区管理后台",url:"https://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=communityManage#/manage/world",app:"communityManage",pinyin:"shequguanlihoutai"},{name:"私信中台-管理后台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=bjimmsg",app:"bjimmsg",pinyin:"sixinzhongtai-guanlihoutai"},{name:"移动端日志平台",url:"https://tower-admin-live.dz11.com",app:"83",pinyin:"yidongduanrizhipingtai"},{name:"竞价广告运营平台",url:"https://adx-ssp-live.dz11.com",app:"71",pinyin:"jingjiaguanggaoyunyingpingtai"},{name:"管理控制台",url:"http://wsd-permit-admin-java.live.wh03",app:"73",pinyin:"guanlikongzhitai"},{name:"经纪公司管理后台",url:"https://zeusadminlive.dz11.com",app:"20",pinyin:"jingjigongsiguanlihoutai"},{name:"统一发放后台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=tradeDeliver",app:"tradeDeliver",pinyin:"tongyifafanghoutai"},{name:"维表系统",url:"http://dataworks.ocean-dz11.com/vienna",app:"vienna",pinyin:"weibiaoxitong"},{name:"网关管理后台-pub",url:"http://btc-api-gateway-janus-admin-java.pub.dz11.com",app:"133",pinyin:"wangguanguanlihoutai-pub"},{name:"肖建测试",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=xjtest",app:"xjtest",pinyin:"xiaojianceshi"},{name:"胡国东测试",url:"http://clive.dz11.com/s/wsd-huguodong-admin-front/index.html#/welcome",app:"huguodongtest",pinyin:"huguodongceshi"},{name:"胡爽测试管理后台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=hushuang",app:"hushuang",pinyin:"hushuangceshiguanlihoutai"},{name:"自动代码生成",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=platformCodeGenerator",app:"platformCodeGenerator",pinyin:"zidongdaimashengcheng"},{name:"营收线业务支持平台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=revenueSupport",app:"revenueSupport",pinyin:"yingshouxianyewuzhichipingtai"},{name:"营收线管理后台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=revenue",app:"revenue",pinyin:"yingshouxianguanlihoutai"},{name:"虾饺交易中台",url:"https://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=dyxTradeAdmin",app:"dyxTradeAdmin",pinyin:"xiajiaojiaoyizhongtai"},{name:"虾饺会员中台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=xiajiao",app:"xiajiao",pinyin:"xiajiaohuiyuanzhongtai"},{name:"虾饺研发支持",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=dyxSupportAdmin",app:"dyxSupportAdmin",pinyin:"xiajiaoyanfazhichi"},{name:"虾饺语音后台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=xiajiaobackend",app:"xiajiaobackend",pinyin:"xiajiaoyuyinhoutai"},{name:"行为分析",url:"http://douyu360.live.dz11.com/#/action",app:"actionanalysis",pinyin:"xingweifenxi"},{name:"评论中台系统",url:"https://comment-admin-live.dz11.com",app:"54",pinyin:"pinglunzhongtaixitong"},{name:"识别测试中心",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=ocrtest",app:"ocrtest",pinyin:"shibieceshizhongxin"},{name:"语音社交后台",url:"http://clive.dz11.com/s/wsd-videosocial-admin-front/index.html#/welcome",app:"videosocial-admin",pinyin:"yuyinshejiaohoutai"},{name:"贝他猫",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=beitamao",app:"beitamao",pinyin:"beitamao"},{name:"贴耳会员管理后台",url:"https://dyheart-test.douyucdn.cn/static-heart/new-voice-user-management-live/index.html#/manage/world",app:"dyheart-member-base-admin-java",pinyin:"tieerhuiyuanguanlihoutai"},{name:"赛事分析平台",url:"http://bd-match-platform-java.ocean.dz11.com",app:"317",pinyin:"saishifenxipingtai"},{name:"赫拉建站后台操作合并测试",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=test-douyu#/manage/world",app:"186",pinyin:"helajianzhanhoutaicaozuohebingceshi"},{name:"辣条哈密瓜的QQ空间",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=lizhou",app:"lizhou",pinyin:"latiaohamiguadeQQkongjian"},{name:"运维门户网站建站",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=opsFxBProject",app:"opsFxBProject",pinyin:"yunweimenhuwangzhanjianzhan"},{name:"邮件投递服务平台",url:"http://message-deliver-admin.pub.dz11.com",app:"140",pinyin:"youjiantoudifuwupingtai"},{name:"问卷调查",url:"http://wj.live.dz11.com",app:"95",pinyin:"wenjuandiaocha"},{name:"陪玩后台",url:"http://clive.dz11.com/s/wsd-accplay-admin-front/index.html#/welcome",app:"acc-play-admin",pinyin:"peiwanhoutai"},{name:"预算项目管理后台",url:"http://bpm.live.dz11.com",app:"254",pinyin:"yusuanxiangmuguanlihoutai"},{name:"风向标",url:"http://beaconlive.dz11.com",app:"350",pinyin:"fengxiangbiao"},{name:"鱼吧工具合集",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=yubaTools",app:"yubaTools",pinyin:"yubagongjuheji"},{name:"鲁班10号(非可视化)",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=luban10",app:"luban10",pinyin:"luban10hao(feikeshihua)"},{name:"鹦鹉计划",url:"http://wsd-parrot-plan-java.live.dz11.com",app:"97",pinyin:"yingwujihua"},{name:"黄天赐测试站",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=htc",app:"htc",pinyin:"huangtianciceshizhan"}]},{name:"商务活动线",menu:[{name:"商务基础服务应用",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=bizmisc",app:"bizmisc",pinyin:"shangwujichufuwuyingyong"},{name:"商务诊断管理平台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=diagnosis",app:"diagnosis",pinyin:"shangwuzhenduanguanlipingtai"},{name:"手游控制台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=mgame",app:"mgame",pinyin:"shouyoukongzhitai"},{name:"运营管理后台",url:"http://clive.dz11.com/s/operation-admin/index.html",app:"taiyi-admin",pinyin:"yunyingguanlihoutai"}]},{menu:[{name:"AB测试平台",url:"http://clive.dz11.com/s/ABTest/index.html",app:"abadmin",pinyin:"ABceshipingtai"},{name:"IM管理平台",url:"http://clive.dz11.com/s/ord-server-messaging-admin-front/index.html",app:"ord-server-messaging-admin-app-go",pinyin:"IMguanlipingtai"},{name:"Pubg积分商城管理后台",url:"http://clive.dz11.com/s/pubg-admin/index.html",app:"ord-server-activity-pubg-admin-go",pinyin:"Pubgjifenshangchengguanlihoutai"},{name:"内容管理平台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=contentManager",app:"contentManager",pinyin:"neirongguanlipingtai"},{name:"创作者中心后台",url:"https://clive.dz11.com/s/fed-creative-center-backend-front/index.html",app:"wsd-vod-app-creative-go",pinyin:"chuangzuozhezhongxinhoutai"},{name:"厂商资源管理平台",url:"https://clive.dz11.com/s/firm-prop-manage/index.html#/prop",app:"firm-prop-admin",pinyin:"changshangziyuanguanlipingtai"},{name:"和平PEL赛事手册管理后台",url:"https://clive.dz11.com/s/peace-pel-admin/index.html#/activityList",app:"ord-server-activity-peacematch-admin-go",pinyin:"hepingPELsaishishouceguanlihoutai"},{name:"和平手册管理平台",url:"https://txlive.dz11.com/peace",app:"ord-server-activity-peace_admin-go",pinyin:"hepingshouceguanlipingtai"},{name:"增长策略管理后台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=growthStrategyManager",app:"growthStrategyManager",pinyin:"zengzhangcelveguanlihoutai"},{name:"小程序",url:"http://clive.dz11.com/s/wsd-live-app-wechatadmin-front/index.html",app:"wechatadmin",pinyin:"xiaochengxu"},{name:"文件存储管理平台",url:"http://clive.dz11.com/s/wsd-base-app-storageadmin-front/index.html?appkey=28444d33638f",app:"storageadmin",pinyin:"wenjiancunchuguanlipingtai"},{name:"斗鱼校园管理后台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=campusAdmin#/manage/world",app:"campusAdmin",pinyin:"douyuxiaoyuanguanlihoutai"},{name:"极速版",url:"http://clive.dz11.com/speedadmin/index.html",app:"speedadmin",pinyin:"jisuban"},{name:"渠道投放管理后台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=advertisement",app:"advertisement",pinyin:"qudaotoufangguanlihoutai"},{name:"移动端管理平台",url:"http://clive.dz11.com/s/wsd-live-app-appadmin-front/index.html",app:"appadmin",pinyin:"yidongduanguanlipingtai"},{name:"视频中台",url:"http://clive.dz11.com/s/wsd-vod2-admin-videostorage-front/index.html",app:"videostorage",pinyin:"shipinzhongtai"},{name:"资源管理云平台",url:"https://dyadmin-auth-live.dz11.com/efs",app:"efs",pinyin:"ziyuanguanliyunpingtai"},{name:"赛事数据后台",url:"https://live.dz11.com/pages/match-data-platform/dataManage",app:"matchcenter",pinyin:"saishishujuhoutai"},{name:"赛事管理后台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=MatchManage",app:"MatchManage",pinyin:"saishiguanlihoutai"},{name:"道具商城后台",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=propmall#/manage/world",app:"propmall",pinyin:"daojushangchenghoutai"}],name:"流量线"},{name:"营收线",menu:[{name:"北京营收实体后台",url:"http://clive.dz11.com/s/wsd-newrevenue-admin-front/index.html#/welcome",app:"wsd-newrevenue-admin-front",pinyin:"beijingyingshoushitihoutai"},{name:"北京营收线管理后台3",url:"http://clive.dz11.com/s/wsd-base-admin-customform-front/index.html?app=bjrevenue3",app:"bjrevenue3",pinyin:"beijingyingshouxianguanlihoutai3"}]}]}},"/api/base/app/favorite":{error:0,msg:"ok",data:{list:[{name:"应用管理",url:"http://localhost:8001",app:"common"},{name:"数据中心",url:"http://localhost:8002",app:"common"}]}},"/api/base/app/history":{error:0,msg:"ok",data:{list:[{name:"数据中心",url:"http://localhost:8002",lastAccessTime:"2024-01-15 10:30:00"},{name:"应用管理",url:"http://localhost:8001",lastAccessTime:"2024-01-15 09:45:00"}]}},"/api/base/notice/list":{error:0,msg:"ok",data:{list:[{key:"1",title:"系统更新通知",description:"系统将在今晚 10 点进行定期维护",datetime:"2024-01-15 09:00:00",read:!1},{key:"2",title:"版本发布提醒",description:"新版本已完成发布,请关注变更说明",datetime:"2024-01-14 18:30:00",read:!0}],count:3}}},ar=function(e){var t=e.split("?")[0],n=nr[t];return n?JSON.parse(JSON.stringify(n)):{error:404,msg:"mock response not found for ".concat(t),data:{}}},ir=function(){function e(t){var n,a,i,r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{credentials:"include"};A(this,e),this.requset=(a=j({headers:{},maxCache:10,prefix:(n=t).prefix||"",errorHandler:function(e){}}),i=n.proxyDomain?j({headers:{},maxCache:10,prefix:n.proxyDomain,errorHandler:function(e){}}):a,r=void 0!==n.mockMode&&n.mockMode,{get:function(e,t){return"mock"===(n.apiRouteModes&&n.apiRouteModes[e]||(r?"mock":"proxy"))?Promise.resolve(ar(e)):i.get(e,B({credentials:"include"},t||{}))}}),this.defaultOptions=o}return L(e,[{key:"get",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=B(B({},this.defaultOptions),t);return this.requset.get(e,B({credentials:"include"},a)).then((function(e){return!(t=e)||(t&&401===t.error&&t.data&&t.data.url?(N.warning("没有登录,请刷新页面!!!"),1):t&&0!==t.error)?n:e&&e.data||{};var t}))}}]),e}(),rr=function(e){V(n,ir);var t=W(n);function n(e){return A(this,n),t.call(this,e)}return L(n,[{key:"getList",value:function(e,t){return this.get(e,{params:t})}}]),n}(),or=function(t){return e.createElement(tr.Consumer,null,(function(n){var a="ant-pro-grid-content";return"Fixed"===(t.contentWidth||n.contentWidth)&&(a="ant-pro-grid-content wide"),e.createElement("div",{className:a},t.children)}))},sr=["title","content","pageHeaderRender","extraContent"],lr="ant-pro-page-header-wrap",ur=function(t){var n=t.tabList,a=t.tabRender,i=t.location,r=t.commonStore,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n=n&&n.filter((function(e){return o[e]})),a&&Object.keys(o).length&&n&&n.length?e.createElement("div",{className:"omni-tmp-link-list"},e.createElement(Y,{size:"small",icon:e.createElement(c,null),style:{marginRight:10},onClick:function(){r.dispatch({type:"CLEAR_TABS",value:""})}},"清除全部"),n.map((function(t,n){return e.createElement(T,{closable:!0,key:t,onClose:function(){r.dispatch({type:"DELETE_TAB",value:t})}},e.createElement("div",{className:y({"omni-tmp-link-list-item":!0,"omni-tmp-link-list-active":i&&i.pathname===t})},a?a(o[t],t):o[t]))}))):null},cr=function(t,n){var a=t.title,i=t.content,r=t.pageHeaderRender,o=t.extraContent,s=q(t,sr);return e.createElement(tr.Consumer,null,(function(l){return r?r(B(B({},t),l)):e.createElement(C,Object.assign({},l,{title:l.title||a},s,{footer:ur(s,n)}),function(t,n){return t||n?e.createElement("div",{className:"".concat(lr,"-detail")},e.createElement("div",{className:"".concat(lr,"-main")},e.createElement("div",{className:"".concat(lr,"-row")},t&&e.createElement("div",{className:"".concat(lr,"-content")},t),n&&e.createElement("div",{className:"".concat(lr,"-extraContent")},n)))):null}(i,o))}))},dr=function(t){var n=t.children,a=e.useContext(ce),i=a.state,r=i.routesMap,o=i.tabList;return e.createElement("div",null,e.createElement("div",{className:"".concat(lr,"-page-header-warp")},e.createElement(or,null,cr(B(B({},t),{},{tabList:o,commonStore:a}),r))),n?e.createElement(or,null,e.createElement("div",{className:"".concat(lr,"-children-content")},n)):null)},mr=function(e,t){var n=t.pageTitleRender;if(!1===n)return t.title||"";if(n){var a=n(e);if("string"==typeof a)return a;console.warn("pro-layout: renderPageTitle return value should be a string")}return Ji(e)},pr=function(e,t,n,a){t&&e.getList(t,n).then((function(e){a&&a(e)}))};function hr(t){var n,a=e.useContext(ce);r((function(){var e=t.menuList,i=t.app,r=t.userInfo,o=t.allApp,s=t.favorite,l=t.refreshInterval,u=t.historyApps,c=t.refreshSwitch,d=t.refreshSwitchAction,m=t.noticesApi,p=t.noticeSwitch,h=t.location;return h&&h.pathname&&a.dispatch({type:"INSERT_TAB",value:h.pathname}),Bi=new rr({prefix:t.domain||"",mockMode:t.mockMode,apiRouteModes:t.apiRouteModes,proxyDomain:t.proxyDomain}),pr(Bi,e,{app:i},(function(e){var t={},n=Gi(e.list||[],t);a.dispatch({type:"UPDATE_VALUE",value:{routes:n,routesMap:t}})})),pr(Bi,r,{},(function(e){e&&e.username?a.dispatch({type:"UPDATE_VALUE",value:{user:e}}):c&&d&&d()})),pr(Bi,o,{app:i},(function(e){e&&e.list&&a.dispatch({type:"UPDATE_VALUE",value:{allApps:e.list||[]}})})),pr(Bi,s,{},(function(e){e&&e.list&&a.dispatch({type:"UPDATE_VALUE",value:{favoriteApps:e.list||[]}})})),pr(Bi,u,{},(function(e){e&&e.list&&a.dispatch({type:"UPDATE_VALUE",value:{historyUsed:e.list||[]}})})),p&&pr(Bi,m,{},(function(e){e&&e.list&&a.dispatch({type:"UPDATE_VALUE",value:{notices:e.list||[],noticeCount:e.count||0}})})),!n&&"number"==typeof l&&l>0&&(n=setInterval((function(){r&&Bi.get(r,{}).then((function(e){}))}),l)),function(){n&&clearInterval(n)}}),[]);var i=t.children,o=t.noPageHeader,s=t.location,l=void 0===s?{pathname:"/"}:s,u=t.title,c=void 0===u?"Omni Layout":u,d=t.headerLinks,m=t.noticeSwitch,p=t.logoutPath,h=t.logo,f=void 0===h?function(){return e.createElement("h3",{className:"defaultLogo",style:{paddingLeft:10,lineHeight:"50px",height:50}},"OmniLayout")}:h,y=function(e){var t=e.defaultMessage;return t||e.id},g=$i(a.state.routes,{locale:!0},y,t.menuDataRender),v=g.breadcrumb,w=g.menuData,b=B(B({},t),{},{formatMessage:y,breadcrumb:v}),_=mr(B({pathname:l.pathname},b),t),x=er(B(B({},t),{},{breadcrumb:v}));return r((function(){setTimeout((function(){document.title=_}))}),[_]),e.createElement("div",{className:"omni-layout"},e.createElement(pe,Object.assign({headerLinks:d,logo:f,title:c,logoutPath:p,noticeSwitch:m},t)),e.createElement(Fi,Object.assign({menuItemRender:function(t,n){return e.createElement("a",{href:t.path},n)}},t,{menuData:w}),e.createElement(tr.Provider,{value:B(B({},t),{},{breadcrumb:x,menuData:w,title:_.split("-")[0]})},o?i:e.createElement(dr,Object.assign({},t),i))))}hr.defaultProps={title:"Omni Layout",menuList:"/api/base/menu/list",userInfo:"/api/base/user/info",allApp:"/api/base/app/infos",favorite:"/api/base/app/favorite",historyApps:"/api/base/app/history",noticesApi:"/api/base/notice/list",logoutPath:"/__logout",refreshInterval:3e5,headerLinks:[{url:"/#/app/collection",name:"收藏应用",icon:"plus"}],openWithOtherTab:!1,refreshSwitch:!1,refreshSwitchAction:function(){window.location&&window.location.reload(!0)},noticeSwitch:!1,siderSearchSwitch:!1,tabList:[{key:"/base/manage/world"}]};var fr=function(t){return e.createElement(me,null,e.createElement(hr,Object.assign({},t)))};window.OmniLayout=fr;export default fr;export{dr as PageHeaderWrapper,Bi as menuModel};
|