/*! For license information please see sharedFileViewVideo.60310af9.js.LICENSE.txt */ (self.webpackChunkseahub_frontend=self.webpackChunkseahub_frontend||[]).push([[9650],{51925:function(e,t,n){"use strict";var r=n(23029),i=n(92901),a=n(39874),o=n(85501),s=n(9950),u=n(17119),l=n(65604),c=n(97011),d=n(40326),p=n(4086),h=n(44414),f=window.app.pageOptions.isOrgContext,m=function(e){function t(e){var n;return(0,r.A)(this,t),(n=(0,a.A)(this,t,[e])).getContainer=function(){return u.findDOMNode(n)},n.handleProps=function(){n.state.showInfo?n.addEvents():n.removeEvents()},n.addEvents=function(){["click","touchstart","keyup"].forEach((function(e){return document.addEventListener(e,n.handleDocumentClick,!0)}))},n.removeEvents=function(){["click","touchstart","keyup"].forEach((function(e){return document.removeEventListener(e,n.handleDocumentClick,!0)}))},n.handleDocumentClick=function(e){if(!e||3!==e.which&&("keyup"!==e.type||e.which===l.Aq.keyCodes.tab)){var t=n.getContainer();(!t.contains(e.target)||t===e.target||"keyup"===e.type&&e.which!==l.Aq.keyCodes.tab)&&n.setState({showInfo:!n.state.showInfo})}},n.onClickAccount=function(e){e.preventDefault(),n.isFirstMounted?(c.e.getAccountInfo().then((function(e){n.setState({userName:e.data.name,contactEmail:e.data.email,usageRate:e.data.space_usage,quotaUsage:l.Aq.bytesToSize(e.data.usage),quotaTotal:l.Aq.bytesToSize(e.data.total),isStaff:e.data.is_staff,isInstAdmin:e.data.is_inst_admin,isOrgStaff:1===e.data.is_org_staff,showInfo:!n.state.showInfo,enableSubscription:e.data.enable_subscription})})).catch((function(e){var t=l.Aq.getErrorMsg(e);p.A.danger(t)})),n.isFirstMounted=!1):n.setState({showInfo:!n.state.showInfo})},n.renderMenu=function(){var e,t=n.state,r=t.isStaff,i=t.isOrgStaff,a=t.isInstAdmin;return n.props.isAdminPanel?r?e={url:d.Yc,text:(0,d.AP)("Exit System Admin")}:i?e={url:d.Yc,text:(0,d.AP)("Exit Organization Admin")}:a&&(e={url:d.Yc,text:(0,d.AP)("Exit Institution Admin")}):r?e={url:"".concat(d.Yc,"sys/info/"),text:(0,d.AP)("System Admin")}:i?e={url:"".concat(d.Yc,"org/info/"),text:(0,d.AP)("Organization Admin")}:d.am&&a&&(e={url:"".concat(d.Yc,"inst/useradmin/"),text:(0,d.AP)("Institution Admin")}),e&&(0,h.jsx)("a",{href:e.url,title:e.text,className:"item",children:e.text})},n.renderAvatar=function(){return(0,h.jsx)("img",{src:d.wg,width:"36",height:"36",className:"avatar",alt:(0,d.AP)("Avatar")})},n.state={showInfo:!1,userName:"",contactEmail:"",quotaUsage:"",quotaTotal:"",isStaff:!1,isOrgStaff:!1,usageRate:"",enableSubscription:!1},n.isFirstMounted=!0,n}return(0,o.A)(t,e),(0,i.A)(t,[{key:"componentDidUpdate",value:function(e){this.handleProps()}},{key:"render",value:function(){return(0,h.jsxs)("div",{id:"account",children:[(0,h.jsx)("a",{id:"my-info",href:"#",onClick:this.onClickAccount,className:"account-toggle no-deco d-none d-md-block","aria-label":(0,d.AP)("View profile and more"),children:this.renderAvatar()}),(0,h.jsx)("span",{className:"account-toggle sf2-icon-more mobile-icon d-md-none","aria-label":(0,d.AP)("View profile and more"),onClick:this.onClickAccount}),(0,h.jsxs)("div",{id:"user-info-popup",className:"account-popup sf-popover ".concat(this.state.showInfo?"":"hide"),children:[(0,h.jsx)("div",{className:"outer-caret up-outer-caret",children:(0,h.jsx)("div",{className:"inner-caret"})}),(0,h.jsxs)("div",{className:"sf-popover-con",children:[(0,h.jsxs)("div",{className:"item o-hidden",children:[this.renderAvatar(),(0,h.jsx)("div",{className:"txt",children:this.state.userName})]}),(0,h.jsx)("div",{id:"space-traffic",children:(0,h.jsxs)("div",{className:"item",children:[(0,h.jsxs)("p",{children:[(0,d.AP)("Used:")," ",this.state.quotaUsage," / ",this.state.quotaTotal]}),(0,h.jsx)("div",{id:"quota-bar",children:(0,h.jsx)("span",{id:"quota-usage",className:"usage",style:{width:this.state.usageRate}})})]})}),(0,h.jsx)("a",{href:d.Yc+"profile/",className:"item",children:(0,d.AP)("Settings")}),this.state.enableSubscription&&!f&&(0,h.jsx)("a",{href:d.Yc+"subscription/",className:"item",children:"\u4ed8\u8d39\u7ba1\u7406"}),this.renderMenu(),d.p8&&(0,h.jsx)("a",{href:d.Yc+"sso-to-thirdpart/",className:"item",children:(0,d.AP)("Customer Portal")}),(0,h.jsx)("a",{href:d.Yc+"accounts/logout/",className:"item",children:(0,d.AP)("Log out")})]})]})]})}}])}(s.Component);m.defaultProps={isAdminPanel:!1},t.A=m},22695:function(e,t,n){"use strict";n.d(t,{A:function(){return T}});var r=n(90675),i=n(10467),a=n(23029),o=n(92901),s=n(39874),u=n(85501),l=n(9950),c=n(85077),d=n(4086),p=n(81446),h=n(77574),f=n(47991),m=n(89615),g=n(97011),v=n(40326),y=n(65604),_=n(13042),b=n(44414),w=function(e){function t(e){var n;return(0,a.A)(this,t),(n=(0,s.A)(this,t,[e])).onOtherRepoToggle=(0,i.A)((0,r.A)().mark((function e(){var t,i,a,o,s,u;return(0,r.A)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,g.e.listRepos();case 3:t=e.sent,i=t.data.repos,a=[],o=[],i.forEach((function(e){"rw"===e.permission&&(n.props.repoID&&e.repo_name===n.state.currentRepoInfo.repo_name||o.includes(e.repo_id)||(a.push(e),o.push(e.repo_id)))})),s=y.Aq.sortRepos(a,"name","asc"),n.setState({repoList:s,isOtherRepoShow:!n.state.isOtherRepoShow,selectedItemInfo:{}}),e.next=16;break;case 12:e.prev=12,e.t0=e.catch(0),u=y.Aq.getErrorMsg(e.t0),d.A.danger(u);case 16:case"end":return e.stop()}}),e,null,[[0,12]])}))),n.onCurrentRepoToggle=function(){n.setState({isCurrentRepoShow:!n.state.isCurrentRepoShow})},n.onDirentItemClick=function(e,t,r){n.props.onDirentItemClick(e,t,r),n.setState({selectedRepo:e,selectedPath:t})},n.onRepoItemClick=function(e){n.props.onRepoItemClick&&n.props.onRepoItemClick(e),n.setState({selectedRepo:e,selectedPath:"/"})},n.onCloseSearching=function(){n.setState({isSearching:!1,isResultGot:!1,isBrowsing:!1,browsingPath:"",searchInfo:"",searchResults:[],selectedPath:n.props.currentPath,selectedItemInfo:{}}),n.inputValue="",n.timer=null,n.source=null},n.onSearchInfoChanged=function(e){var t=e.target.value.trim();if(!n.state.searchResults.length&&t.length>0&&n.setState({isSearching:!0,isResultGot:!1}),n.setState({searchInfo:t}),n.inputValue===t)return!1;if(n.inputValue=t,""===n.inputValue)return n.setState({isSearching:!1,isResultGot:!1}),!1;var r=n.props.repoID,i=n.props.isShowFile,a={q:t,search_repo:"only_current_library"===n.props.mode?r:"all",search_ftypes:"all",obj_type:i?"file":"dir"};n.timer&&clearTimeout(n.timer),n.timer=setTimeout(n.getSearchResult(a),500)},n.getSearchResult=function(e){n.source&&n.cancelRequest(),n.setState({isResultGot:!1}),n.source=g.e.getSource(),n.sendRequest(e,n.source.token)},n.sendRequest=function(e,t){v.am&&g.e.searchFiles(e,t).then((function(e){var t,r=(t=e.data.results,"only_other_libraries"===n.props.mode?t.filter((function(e){return e.repo_id!==n.state.currentRepoInfo.repo_id})):t);n.setState({searchResults:e.data.total?n.formatResultItems(r):[],isResultGot:!0}),n.source=null}))},n.cancelRequest=function(){n.source.cancel("prev request is cancelled")},n.getValueLength=function(e){for(var t,n=0,r=0;n=128&&t<=2047?r+=2:t>=2048&&t<=65535&&(r+=3);return r},n.formatResultItems=function(e){for(var t=[],n=e.length>10?10:e.length,r=0;r0?(0,b.jsx)(f.A,{searchResults:n.state.searchResults,onItemClick:n.onSearchedItemClick,onSearchedItemDoubleClick:n.onSearchedItemDoubleClick}):void 0:(0,b.jsx)(p.A,{})},n.onSearchedItemDoubleClick=function(){var e=(0,i.A)((0,r.A)().mark((function e(t){var a,o,s,u,l,c,p;return(0,r.A)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("dir"===t.type){e.next=2;break}return e.abrupt("return");case 2:if(a=n.props.repoID,o=n.state.currentRepoInfo,s={repoID:t.repo_id,filePath:t.path},n.setState({selectedItemInfo:s}),u=function(e,t){n.setState({selectedRepo:e,selectedPath:t,isCurrentRepoShow:!0})},l=function(e){var t=y.Aq.getErrorMsg(e);d.A.danger(t)},c=function(){var e=(0,i.A)((0,r.A)().mark((function e(){var n,i,o;return(0,r.A)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,g.e.getRepoInfo(a);case 3:n=e.sent,i=new m.A(n.data),o=t.path.substring(0,t.path.length-1),u(i,o),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),l(e.t0);case 12:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(){return e.apply(this,arguments)}}(),p=function(){var e=(0,i.A)((0,r.A)().mark((function e(){var i,s,u,c,d,p,h;return(0,r.A)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,g.e.listRepos();case 3:i=e.sent,s=i.data.repos,u=[],c=[],s.forEach((function(e){"rw"===e.permission&&(a&&e.repo_name===o.repo_name||c.includes(e.repo_id)||(u.push(e),c.push(e.repo_id)))})),d=y.Aq.sortRepos(u,"name","asc"),p=d.find((function(e){return e.repo_id===t.repo_id})),h=t.path.substring(0,t.path.length-1),n.setState({repoList:d,isOtherRepoShow:!0,selectedPath:h,selectedRepo:p}),e.next=17;break;case 14:e.prev=14,e.t0=e.catch(0),l(e.t0);case 17:case"end":return e.stop()}}),e,null,[[0,14]])})));return function(){return e.apply(this,arguments)}}(),!a||t.repo_id!==a){e.next=15;break}return e.next=13,c();case 13:e.next=17;break;case 15:return e.next=17,p();case 17:n.setState({isSearching:!1,isResultGot:!1,searchResults:[],isBrowsing:!0,browsingPath:t.path.substring(0,t.path.length-1)}),n.inputValue="",n.timer=null,n.source=null;case 21:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),n.onScroll=function(e){e.stopPropagation()},n.renderRepoListView=function(){var e=n.props,t=e.mode,r=e.currentPath,i=e.isShowFile,a=e.fileSuffixes,o=n.state,s=o.isCurrentRepoShow,u=o.isOtherRepoShow,l=o.currentRepoInfo,c=o.repoList,d=o.selectedRepo,p=o.selectedPath,f=o.selectedItemInfo;return(0,b.jsx)(h.A,{mode:t,currentPath:r,isShowFile:i,fileSuffixes:a,isBrowsing:n.state.isBrowsing,browsingPath:n.state.browsingPath,selectedItemInfo:f,currentRepoInfo:l,selectedRepo:d,isCurrentRepoShow:s,isOtherRepoShow:u,selectedPath:p,repoList:c,onCurrentRepoToggle:n.onCurrentRepoToggle,onOtherRepoToggle:n.onOtherRepoToggle,handleClickRepo:n.onRepoItemClick,handleClickDirent:n.onDirentItemClick})},n.state={isCurrentRepoShow:!0,isOtherRepoShow:!1,repoList:[],currentRepoInfo:null,selectedRepo:null,selectedPath:n.props.currentPath||"/",isSearching:!1,isResultGot:!1,searchInfo:"",searchResults:[],selectedItemInfo:{},isBrowsing:!1,browsingPath:""},n.inputValue="",n.timer=null,n.source=null,n}return(0,u.A)(t,e),(0,o.A)(t,[{key:"componentDidMount",value:function(){var e=(0,i.A)((0,r.A)().mark((function e(){var t,n,a,o=this;return(0,r.A)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.props.repoID,n=function(){var e=(0,i.A)((0,r.A)().mark((function e(t){var n,i,a;return(0,r.A)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,g.e.getRepoInfo(t);case 3:n=e.sent,i=new m.A(n.data),o.setState({currentRepoInfo:i,selectedRepo:i}),e.next=12;break;case 8:e.prev=8,e.t0=e.catch(0),a=y.Aq.getErrorMsg(e.t0),d.A.danger(a);case 12:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(t){return e.apply(this,arguments)}}(),a=function(){var e=(0,i.A)((0,r.A)().mark((function e(){var t,n,i,a,s,u;return(0,r.A)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,g.e.listRepos();case 3:t=e.sent,n=t.data.repos,i=[],a=[],n.forEach((function(e){"rw"!==e.permission||a.includes(e.repo_id)||(i.push(e),a.push(e.repo_id))})),s=y.Aq.sortRepos(i,"name","asc"),o.setState({repoList:s}),e.next=16;break;case 12:e.prev=12,e.t0=e.catch(0),u=y.Aq.getErrorMsg(e.t0),d.A.danger(u);case 16:case"end":return e.stop()}}),e,null,[[0,12]])})));return function(){return e.apply(this,arguments)}}(),!t){e.next=8;break}return e.next=6,n(t);case 6:e.next=10;break;case 8:return e.next=10,a();case 10:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"componentDidUpdate",value:function(e,t){e.mode!==this.props.mode&&(this.setState({isSearching:!1,isResultGot:!1,isBrowsing:!1,browsingPath:"",searchInfo:"",searchResults:[]}),this.props.mode===_.wY.ONLY_OTHER_LIBRARIES&&this.onOtherRepoToggle())}},{key:"render",value:function(){var e=this.props,t=e.repoID,n=e.mode,r=this.state,i=r.selectedRepo,a=r.searchInfo,o=r.isSearching;return!i&&t?"":(0,b.jsxs)(l.Fragment,{children:[v.am&&"recently_used"!==n&&(0,b.jsxs)("div",{className:"file-chooser-search-input",children:[(0,b.jsx)(c.A,{className:"search-input",placeholder:(0,v.AP)("Search"),type:"text",value:a,onChange:this.onSearchInfoChanged}),0!==a.length&&(0,b.jsx)("span",{className:"search-control attr-action-icon sf3-font sf3-font-x-01",onClick:this.onCloseSearching})]}),o?(0,b.jsx)("div",{className:"file-chooser-search-container",children:this.renderSearchedView()}):this.renderRepoListView()]})}}])}(l.Component);w.defaultProps={isShowFile:!1,hideLibraryName:!1,repoID:"",onDirentItemClick:function(){},onRepoItemClick:function(){},fileSuffixes:[],currentPath:"",searchResults:[],selectedSearchedItem:{},selectedRepo:null,selectedPath:""};var T=w},77574:function(e,t,n){"use strict";n.d(t,{A:function(){return N}});var r=n(9950),i=n(23029),a=n(92901),o=n(39874),s=n(85501),u=n(90675),l=n(10467),c=n(44414),d=function(e){function t(e){var n,r;return(0,i.A)(this,t),(n=(0,o.A)(this,t,[e])).onToggleClick=function(e){e.stopPropagation();var t=n.props.node;t.isExpanded?n.props.onNodeCollapse(t):n.props.onNodeExpanded(t)},n.onItemClick=function(e){e.stopPropagation();var t=!1;n.props.selectedRepo&&(t=n.props.selectedRepo.repo_id===n.props.repo.repo_id),t?n.props.selectedPath!==n.state.filePath?n.props.onDirentItemClick(n.state.filePath,n.props.node.object):"dir"===n.props.node.object.type&&n.onToggleClick(e):n.props.onDirentItemClick(n.state.filePath,n.props.node.object)},n.renderChildren=function(){var e=n.props.node;return e.hasChildren()?(0,c.jsx)("div",{className:"list-view-content",children:e.children.map((function(e){return(0,c.jsx)(t,{node:e,onNodeCollapse:n.props.onNodeCollapse,onNodeExpanded:n.props.onNodeExpanded,repo:n.props.repo,onDirentItemClick:n.props.onDirentItemClick,selectedRepo:n.props.selectedRepo,selectedPath:n.props.selectedPath,fileSuffixes:n.props.fileSuffixes,filePath:n.state.filePath,level:(n.props.level||0)+1},e.path)}))}):""},r="/"===n.props.filePath?"/"+n.props.node.object.name:n.props.filePath?n.props.filePath+"/"+n.props.node.object.name:n.props.node.path,n.state={filePath:r},n}return(0,s.A)(t,e),(0,a.A)(t,[{key:"render",value:function(){var e=this.props.node,t=!1;this.props.selectedRepo&&(t=this.props.selectedRepo.repo_id===this.props.repo.repo_id);var n=this.props.selectedPath===this.state.filePath||this.props.selectedPath===e.path,r=e.object.name;if(this.props.fileSuffixes&&r&&"file"===e.object.type)if(-1!==r.indexOf(".")){var i=r.slice(r.lastIndexOf(".")+1).toLowerCase();if(!this.props.fileSuffixes.includes(i))return null}else if("file"===e.object.type)return null;var a="".concat(20*this.props.level,"px");return(0,c.jsxs)("div",{className:"file-chooser-item",children:[(0,c.jsx)("div",{className:"".concat("/"===e.path?"hide":""),children:(0,c.jsxs)("div",{className:"".concat(t&&n?"item-active":""," item-info"),onClick:this.onItemClick,style:{paddingLeft:a},children:[(0,c.jsxs)("div",{className:"item-left-icon",children:["file"!==e.object.type&&(0,c.jsx)("span",{className:"icon item-toggle sf3-font ".concat(e.isExpanded?"sf3-font-down":"sf3-font-down rotate-270 d-inline-block"),onClick:this.onToggleClick}),(0,c.jsx)("i",{className:"tree-node-icon",children:(0,c.jsx)("span",{className:"icon sf3-font ".concat("dir"===e.object.type?"sf3-font-folder":"sf3-font-file")})})]}),(0,c.jsx)("div",{className:"item-text",children:(0,c.jsx)("span",{className:"name user-select-none ellipsis",title:e.object&&e.object.name,children:e.object&&e.object.name})})]})}),e.isExpanded&&this.renderChildren()]})}}])}(r.Component),p=function(e){function t(){return(0,i.A)(this,t),(0,o.A)(this,t,arguments)}return(0,s.A)(t,e),(0,a.A)(t,[{key:"render",value:function(){var e=this.props,t=e.treeData,n=e.selectedPath,r=e.onNodeCollapse,i=e.onNodeExpanded,a=e.repo,o=e.onDirentItemClick,s=e.selectedRepo,u=e.fileSuffixes,l=t.root;return(0,c.jsx)("div",{className:"list-view-content",children:(0,c.jsx)(d,{node:l,onNodeCollapse:r,onNodeExpanded:i,repo:a,onDirentItemClick:o,selectedRepo:s,selectedPath:n,fileSuffixes:u,level:0})})}}])}(r.Component),h=p,f=n(56044),m=n(84878),g=n(97011),v=n(25547),y=n(65604),_=n(4086),b=function(e){function t(e){var n;return(0,i.A)(this,t),(n=(0,o.A)(this,t,[e])).clearLoadRepoTimer=function(){n.loadRepoTimer&&(clearTimeout(n.loadRepoTimer),n.loadRepoTimer=null)},n.loadRepoDirentList=function(){var e=(0,l.A)((0,u.A)().mark((function e(t){var r,i,a,o,s;return(0,u.A)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!n.state.hasLoaded){e.next=3;break}return e.abrupt("return");case 3:return r=t.repo_id,e.prev=4,e.next=7,g.e.listDir(r,"/");case 7:if(i=e.sent,n.isComponentMounted){e.next=10;break}return e.abrupt("return");case 10:a=n.state.treeData.clone(),o=n.props.isShowFile?i.data.dirent_list:i.data.dirent_list.filter((function(e){return"dir"===e.type})),n.addResponseListToNode(o,a.root),n.setState({treeData:a,hasLoaded:!0}),e.next=22;break;case 16:if(e.prev=16,e.t0=e.catch(4),n.isComponentMounted){e.next=20;break}return e.abrupt("return");case 20:s=y.Aq.getErrorMsg(e.t0),_.A.danger(s);case 22:case"end":return e.stop()}}),e,null,[[4,16]])})));return function(t){return e.apply(this,arguments)}}(),n.addResponseListToNode=function(e,t){t.isLoaded=!0,t.isExpanded=!0;var n=e.map((function(e){return new m.A(e)})),r=(n=y.Aq.sortDirents(n,"name","asc")).map((function(e){return new f.A({object:e})}));t.addChildren(r)},n.onNodeExpanded=function(e){var t=n.props.repo.repo_id,r=n.state.treeData.clone();(e=r.getNodeByPath(e.path)).isLoaded?(r.expandNode(e),n.setState({treeData:r})):g.e.listDir(t,e.path).then((function(t){var i=[];i=!0===n.props.isShowFile?t.data.dirent_list:t.data.dirent_list.filter((function(e){return"dir"===e.type})),n.addResponseListToNode(i,e),n.setState({treeData:r})})).catch((function(e){var t=y.Aq.getErrorMsg(e);_.A.danger(t)}))},n.onNodeCollapse=function(e){var t=v.A.collapseNode(n.state.treeData,e);n.setState({treeData:t})},n.loadNodeAndParentsByPath=function(e,t,r){var i=n.state.treeData.clone();g.e.listDir(e,t,{with_parents:!0}).then((function(e){var a=e.data.dirent_list;a=a.filter((function(e){return"dir"===e.type}));for(var o={},s=0;s0&&i.map((function(t,i){return(0,c.jsx)(w,{isCurrentRepo:!!n,currentPath:r,repo:t,initToShowChildren:o,selectedRepo:e.props.selectedRepo,selectedPath:e.props.selectedPath,onRepoItemClick:e.props.onRepoItemClick,onDirentItemClick:e.props.onDirentItemClick,isShowFile:e.props.isShowFile,fileSuffixes:e.props.fileSuffixes,selectedItemInfo:e.props.selectedItemInfo,newFolderName:e.props.newFolderName},t.repo_id)}))})}}])}(r.Component);T.defaultProps={currentRepoInfo:null,isShowFile:!1,repo:null,repoList:[],selectedRepo:null,selectedPath:"",fileSuffixes:[],selectedItemInfo:null,currentPath:""};var k=T,S=n(60436),E=n(5544),C=function(e){var t=e.item,n=e.isSelected,r=e.onItemClick;if(!t||"string"!==typeof t.path)return"";var i=y.Aq.getFileName(t.path)||t.repo.repo_name;return(0,c.jsx)("li",{children:(0,c.jsxs)("div",{className:"".concat(n?"item-active":""," item-info recently-used"),onClick:function(){r(t.repo,t.path)},children:[(0,c.jsx)("div",{className:"item-left-icon",children:(0,c.jsx)("i",{className:"tree-node-icon",children:(0,c.jsx)("span",{className:"icon sf3-font sf3-font-folder tree-node-icon"})})}),(0,c.jsx)("div",{className:"item-text",children:(0,c.jsx)("span",{className:"name user-select-none ellipsis",title:i,children:i})})]})})},A=function(e){var t=e.currentRepoInfo,n=e.repoList,i=e.onDirentItemClick,a=(0,r.useState)(null),o=(0,E.A)(a,2),s=o[0],u=o[1],l=(0,r.useMemo)((function(){var e=JSON.parse(localStorage.getItem("recently-used-list"))||[],r=[].concat((0,S.A)(n),[t]);return e.map((function(e){var t=r.find((function(t){return t.repo_id===e.repo_id}));return t?{path:e.path,repo:t}:null})).filter((function(e){return null!==e}))}),[t,n]),d=function(e,t){u(t),i(e,t)};return(0,c.jsx)("ul",{className:"list-view-content file-chooser-item",children:l.length>0&&l.map((function(e,t){return(0,c.jsx)(C,{item:e,isSelected:s===e.path,onItemClick:d},t)}))})},x=n(40326),P=n(47991),I=n(81009),O=n(13042),R=n(81446),L=function(e){var t=e.mode,n=e.isShowFile,r=e.fileSuffixes,i=e.currentPath,a=e.isCurrentRepoShow,o=e.currentRepoInfo,s=e.selectedRepo,u=e.selectedPath,l=e.isOtherRepoShow,d=e.selectedItemInfo,p=e.repoList,h=e.searchStatus,f=e.searchResults,m=e.onSearchedItemClick,g=e.onSearchedItemDoubleClick,v=e.selectedSearchedRepo,y=e.newFolderName,_=e.initToShowChildren;return(0,c.jsx)("div",{className:"file-chooser-scroll-wrapper",onScroll:function(e){e.stopPropagation()},children:(0,c.jsxs)("div",{className:"file-chooser-container user-select-none",children:[t===O.wY.CURRENT_AND_OTHER_REPOS&&(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("div",{className:"list-view",children:[(0,c.jsxs)("div",{className:"file-chooser-list-view-header",children:[(0,c.jsx)("span",{className:"item-toggle sf3-font ".concat(a?"sf3-font-down":"sf3-font-down rotate-270 d-inline-block"),onClick:e.onCurrentRepoToggle}),(0,c.jsx)("span",{className:"library",children:(0,x.AP)("Current Library")})]}),a&&o&&(0,c.jsx)(k,{initToShowChildren:!0,currentRepoInfo:o,currentPath:i,selectedRepo:s,selectedPath:u,isShowFile:n,fileSuffixes:r,selectedItemInfo:d,onRepoItemClick:e.handleClickRepo,onDirentItemClick:e.handleClickDirent})]}),(0,c.jsxs)("div",{className:"list-view",children:[(0,c.jsxs)("div",{className:"file-chooser-list-view-header",children:[(0,c.jsx)("span",{className:"item-toggle sf3-font ".concat(l?"sf3-font-down":"sf3-font-down rotate-270 d-inline-block"),onClick:e.onOtherRepoToggle}),(0,c.jsx)("span",{className:"library",children:(0,x.AP)("Other Libraries")})]}),l&&(0,c.jsx)(k,{initToShowChildren:!0,repoList:p,selectedRepo:s,selectedPath:u,isShowFile:n,fileSuffixes:r,selectedItemInfo:d,onRepoItemClick:e.handleClickRepo,onDirentItemClick:e.handleClickDirent})]})]}),t===O.wY.ONLY_CURRENT_LIBRARY&&(0,c.jsx)("div",{className:"list-view",children:(0,c.jsx)(k,{initToShowChildren:!0,currentRepoInfo:o,currentPath:i,selectedRepo:s,selectedPath:u,isShowFile:n,fileSuffixes:r,selectedItemInfo:d,onRepoItemClick:e.handleClickRepo,onDirentItemClick:e.handleClickDirent,selectedSearchedRepo:v,newFolderName:y})}),t===O.wY.ONLY_ALL_REPOS&&(0,c.jsx)("div",{className:"file-chooser-container",children:(0,c.jsxs)("div",{className:"list-view",children:[(0,c.jsxs)("div",{className:"file-chooser-list-view-header",children:[(0,c.jsx)("span",{className:"item-toggle sf3-font sf3-font-down"}),(0,c.jsx)("span",{className:"library",children:(0,x.AP)("Libraries")})]}),(0,c.jsx)(k,{initToShowChildren:!1,repoList:p,selectedRepo:s,selectedPath:u,isShowFile:n,fileSuffixes:r,selectedItemInfo:d,onRepoItemClick:e.handleClickRepo,onDirentItemClick:e.handleClickDirent})]})}),t===O.wY.ONLY_OTHER_LIBRARIES&&(0,c.jsx)("div",{className:"list-view",children:(0,c.jsx)(k,{initToShowChildren:_,repoList:p,selectedRepo:s,selectedPath:u,isShowFile:n,fileSuffixes:r,selectedItemInfo:d,onRepoItemClick:e.handleClickRepo,onDirentItemClick:e.handleClickDirent,selectedSearchedRepo:v,newFolderName:y})}),t===O.wY.RECENTLY_USED&&(0,c.jsx)("div",{className:"list-view",children:(0,c.jsx)(A,{currentRepoInfo:o,repoList:p,onDirentItemClick:e.handleClickDirent})}),t===O.wY.SEARCH_RESULTS&&(0,c.jsx)("div",{className:"list-view",children:function(){switch(h){case I.z.LOADING:return(0,c.jsx)(R.A,{});case I.z.RESULTS:return(0,c.jsx)(c.Fragment,{children:0===f.length?(0,c.jsx)("div",{className:"search-results-none text-center",children:(0,x.AP)("No results matching")}):(0,c.jsx)(P.A,{searchResults:f,onItemClick:m,onSearchedItemDoubleClick:g})});default:return null}}()})]})})};L.defaultProps={isShowFile:!1,fileSuffixes:[]};var N=L},47991:function(e,t,n){"use strict";n.d(t,{A:function(){return f}});var r=n(23029),i=n(92901),a=n(39874),o=n(85501),s=n(9950),u=n(48738),l=n.n(u),c=n(65604),d=n(44414),p=function(e){function t(){var e;(0,r.A)(this,t);for(var n=arguments.length,i=new Array(n),o=0;o0?e.searchResults[0]:null,currentIndex:e.searchResults.length>0?0:-1},n.itemRef=s.createRef(),n}return(0,o.A)(t,e),(0,i.A)(t,[{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown)}},{key:"render",value:function(){var e=this;return(0,d.jsxs)("table",{className:"table-thead-hidden file-chooser-table",rules:"node",frame:"void",children:[(0,d.jsx)("thead",{children:(0,d.jsxs)("tr",{children:[(0,d.jsx)("th",{width:"8%"}),(0,d.jsx)("th",{width:"92%"})]})}),(0,d.jsx)("tbody",{children:this.props.searchResults.map((function(t,n){return(0,d.jsx)(h,{ref:e.itemRef,item:t,currentItem:e.state.currentItem,onItemClick:function(){return e.onItemClick(t,n)},onSearchedItemDoubleClick:e.props.onSearchedItemDoubleClick,initToShowChildren:!1},n)}))})]})}}])}(s.Component)},81009:function(e,t,n){"use strict";n.d(t,{z:function(){return d},A:function(){return p}});var r=n(5544),i=n(9950),a=n(85077),o=n(40326),s=n(97011),u=n(47089),l=n(13042),c=n(44414),d={LOADING:"loading",RESULTS:"results"},p=function(e){var t=e.onUpdateMode,n=e.onUpdateSearchStatus,p=e.onUpdateSearchResults,h=e.onClose,f=(0,i.useState)(""),m=(0,r.A)(f,2),g=m[0],v=m[1],y=(0,i.useRef)(null),_=(0,i.useRef)(null),b=(0,i.useRef)(null);(0,i.useEffect)((function(){var e=function(e){y.current&&!y.current.contains(e.target)&&""===g&&h()};return document.addEventListener("mousedown",e),function(){document.removeEventListener("mousedown",e)}}),[g,h]);var w=(0,i.useCallback)((function(e){b.current&&b.current.cancel("prev request is cancelled"),b.current=s.e.getSource(),s.e.searchFiles(e,b.current.token).then((function(e){n(d.RESULTS),p(e.data.total?k(e.data.results):[]),b.current=null})).catch((function(e){b.current=null}))}),[n,p]),T=(0,i.useCallback)((function(e){var t=e.target.value.trim();if(v(t),0!==t.length){n(d.LOADING);var r={q:t,search_repo:"all",search_ftypes:"all",obj_type:"dir"};_&&clearTimeout(_.current),_.current=setTimeout((function(){w(r)}),500)}else p([])}),[n,p,w]),k=function(e){for(var t=[],n=e.length>10?10:e.length,r=0;r0&&t(l.wY.SEARCH_RESULTS)}),[g,t]),E=(0,i.useCallback)((function(){v(""),h()}),[h]);return(0,c.jsx)("div",{className:"search-container file-chooser-searcher",style:{zIndex:u.X7},children:(0,c.jsxs)("div",{className:"search-input-container",children:[(0,c.jsx)("i",{className:"search-icon-left input-icon-addon sf3-font sf3-font-search"}),(0,c.jsx)(a.A,{innerRef:y,className:"search-input",placeholder:(0,o.AP)("Search"),type:"text",value:g,onChange:T,onKeyDown:S,autoFocus:!0}),0!==g.length&&(0,c.jsx)("span",{className:"search-control attr-action-icon sf3-font sf3-font-x-01",onClick:E})]})})}},81446:function(e,t,n){"use strict";n(9950);var r=n(44414);t.A=function(){return(0,r.jsx)("span",{className:"loading-icon loading-tip"})}},15167:function(e,t,n){"use strict";var r=n(23029),i=n(92901),a=n(39874),o=n(85501),s=n(9950),u=n(40326),l=n(44414),c=window.shared.pageOptions,d=c.err,p=c.trafficOverLimit,h=c.zipped,f=c.filePath,m=c.canDownload,g=function(e){function t(){return(0,r.A)(this,t),(0,a.A)(this,t,arguments)}return(0,o.A)(t,e),(0,i.A)(t,[{key:"render",value:function(){var e;e="File preview unsupported"==d?(0,l.jsx)("p",{children:(0,u.AP)("Online view is not applicable to this file format")}):(0,l.jsx)("p",{className:"error",children:d||this.props.errorMsg});var t=m&&!p;return(0,l.jsx)("div",{className:"shared-file-view-body",children:(0,l.jsxs)("div",{className:"file-view-tip ".concat(t?"":"pt-7"),children:[e,t&&(0,l.jsx)("a",{href:"?".concat(h?"p="+encodeURIComponent(f)+"&":"","dl=1"),className:"btn btn-secondary",children:(0,u.AP)("Download")})]})})}}])}(s.Component);t.A=g},88204:function(e,t,n){"use strict";n.d(t,{A:function(){return X}});var r,i=n(23029),a=n(92901),o=n(39874),s=n(85501),u=n(9950),l=n(51925),c=n(40326),d=n(18849),p=n(65604),h=n(58195),f=n(14113),m=n(99308),g=n(76115),v=n(85907),y=n(97011),_=n(22695),b=n(44414),w=function(e){function t(e){var n;return(0,i.A)(this,t),(n=(0,o.A)(this,t,[e])).onSaveSharedFile=function(){var e=n.props,t=e.sharedToken,r=e.filePath;y.e.saveSharedFile(n.state.repo.repo_id,n.state.selectedPath,t,r).then((function(e){n.props.toggleCancel(),n.props.handleSaveSharedFile()})).catch((function(e){var t=p.Aq.getErrorMsg(e);n.setState({errMessage:t})}))},n.onDirentItemClick=function(e,t,r){"dir"===r.type?n.setState({repo:e,selectedPath:t}):n.setState({repo:null,selectedPath:""})},n.onRepoItemClick=function(e){n.setState({repo:e,selectedPath:"/"})},n.state={repo:null,selectedPath:"",errMessage:""},n}return(0,s.A)(t,e),(0,a.A)(t,[{key:"render",value:function(){return(0,b.jsxs)(h.A,{isOpen:!0,className:"sf-save-file",children:[(0,b.jsx)(f.A,{toggle:this.props.toggleCancel,children:(0,c.AP)("Save to:")}),(0,b.jsxs)(m.A,{children:[(0,b.jsx)(_.A,{isShowFile:!1,onDirentItemClick:this.onDirentItemClick,onRepoItemClick:this.onRepoItemClick,mode:"only_all_repos"}),this.state.errMessage&&(0,b.jsx)(g.A,{color:"danger",children:this.state.errMessage})]}),(0,b.jsxs)(v.A,{children:[(0,b.jsx)(d.A,{color:"secondary",onClick:this.props.toggleCancel,children:(0,c.AP)("Cancel")}),this.state.selectedPath?(0,b.jsx)(d.A,{color:"primary",onClick:this.onSaveSharedFile,children:(0,c.AP)("Submit")}):(0,b.jsx)(d.A,{color:"primary",disabled:!0,children:(0,c.AP)("Submit")})]})]})}}])}(u.Component),T=w,k=n(19247),S=n(76152),E=n(55627),C=n(85077),A=n(4086),x=function(e){function t(e){var n;return(0,i.A)(this,t),(n=(0,o.A)(this,t,[e])).onAbuseReport=function(){n.state.reporter?y.e.addAbuseReport(n.props.sharedToken,n.state.abuseType,n.state.description,n.state.reporter,n.props.filePath).then((function(e){n.props.toggleAddAbuseReportDialog(),A.A.success((0,c.AP)("Abuse report added"),{duration:2})})).catch((function(e){e.response&&n.setState({errMessage:e.response.data.error_msg})})):n.setState({errMessage:(0,c.AP)("Contact information is required.")})},n.onAbuseTypeChange=function(e){var t=e.target.value;t!==n.state.abuseType&&n.setState({abuseType:t})},n.setReporter=function(e){var t=e.target.value.trim();n.setState({reporter:t})},n.setDescription=function(e){var t=e.target.value.trim();n.setState({description:t})},n.state={abuseType:"copyright",description:"",reporter:n.props.contactEmail,errMessage:""},n}return(0,s.A)(t,e),(0,a.A)(t,[{key:"render",value:function(){var e=this;return(0,b.jsxs)(h.A,{isOpen:this.props.isAddAbuseReportDialogOpen,toggle:this.props.toggleAddAbuseReportDialog,children:[(0,b.jsx)(f.A,{toggle:this.props.toggleAddAbuseReportDialog,children:(0,c.AP)("Report Abuse")}),(0,b.jsxs)(m.A,{children:[(0,b.jsxs)(k.A,{children:[(0,b.jsxs)(S.A,{children:[(0,b.jsx)(E.A,{for:"abuse-type-select",children:(0,c.AP)("Abuse Type")}),(0,b.jsxs)(C.A,{type:"select",id:"abuse-type-select",onChange:function(t){return e.onAbuseTypeChange(t)},children:[(0,b.jsx)("option",{value:"copyright",children:(0,c.AP)("Copyright Infringement")}),(0,b.jsx)("option",{value:"virus",children:(0,c.AP)("Virus")}),(0,b.jsx)("option",{value:"abuse_content",children:(0,c.AP)("Abuse Content")}),(0,b.jsx)("option",{value:"other",children:(0,c.AP)("Other")})]})]}),(0,b.jsxs)(S.A,{children:[(0,b.jsx)(E.A,{children:(0,c.AP)("Contact Information")}),(0,b.jsx)(C.A,{type:"text",value:this.state.reporter,onChange:function(t){return e.setReporter(t)}})]}),(0,b.jsxs)(S.A,{children:[(0,b.jsx)(E.A,{children:(0,c.AP)("Description")}),(0,b.jsx)(C.A,{type:"textarea",onChange:function(t){return e.setDescription(t)}})]})]}),this.state.errMessage&&(0,b.jsx)(g.A,{color:"danger",children:this.state.errMessage})]}),(0,b.jsxs)(v.A,{children:[(0,b.jsx)(d.A,{color:"secondary",onClick:this.props.toggleAddAbuseReportDialog,children:(0,c.AP)("Cancel")}),(0,b.jsx)(d.A,{color:"primary",onClick:this.onAbuseReport,children:(0,c.AP)("Submit")})]})]})}}])}(u.Component),P=n(47838),I=n.n(P),O=window.app.pageOptions.name,R=window.app.pageOptions.contactEmail,L=window.shared.pageOptions,N=L.sharedToken,D=L.trafficOverLimit,M=L.fileName,U=L.fileSize,F=L.sharedBy,j=L.siteName,B=L.enableWatermark,q=L.canDownload,H=L.zipped,z=L.filePath,V=L.enableShareLinkReportAbuse,W=L.sharedFileDownloadURL,G=function(e){function t(e){var n;return(0,i.A)(this,t),(n=(0,o.A)(this,t,[e])).handleSaveSharedFileDialog=function(){n.setState({showSaveSharedFileDialog:!0})},n.toggleCancel=function(){n.setState({showSaveSharedFileDialog:!1})},n.handleSaveSharedFile=function(){A.A.success((0,c.AP)("Successfully saved"),{duration:3})},n.toggleAddAbuseReportDialog=function(){n.setState({isAddAbuseReportDialogOpen:!n.state.isAddAbuseReportDialogOpen})},n.renderPath=function(){return(0,b.jsxs)(u.Fragment,{children:[H.map((function(e,t){return t!=H.length-1?(0,b.jsxs)(u.Fragment,{children:[(0,b.jsx)("a",{className:"text-truncate mx-1",href:"".concat(c.Yc,"d/").concat(N,"/?p=").concat(encodeURIComponent(e.path)),title:e.name,children:e.name}),(0,b.jsx)("span",{children:" / "})]},t):null})),(0,b.jsx)("span",{className:"text-truncate ml-1",title:H[H.length-1].name,children:H[H.length-1].name})]})},n.state={showSaveSharedFileDialog:!1,isAddAbuseReportDialogOpen:!1},n}return(0,s.A)(t,e),(0,a.A)(t,[{key:"componentDidMount",value:function(){var e=p.Aq.getFileIconUrl(M);document.getElementById("favicon").href=e,D&&A.A.danger((0,c.AP)("File download is disabled: the share link traffic of owner is used up."),{duration:3}),q||(document.addEventListener("contextmenu",(function(e){return e.preventDefault(),!1})),document.addEventListener("keydown",(function(e){if((e.ctrlKey||e.metaKey)&&(83==e.which||80==e.which||65==e.which||67==e.which))return e.preventDefault(),e.stopPropagation(),!1})))}},{key:"render",value:function(){var e=this.props.fileType;return(0,b.jsxs)("div",{className:"shared-file-view-md",children:[(0,b.jsxs)("div",{className:"shared-file-view-md-header d-flex",children:[(0,b.jsx)(u.Fragment,{children:(0,b.jsx)("a",{href:c.Yc,children:(0,b.jsx)("img",{src:c.SG+c.VI,height:c.hM,width:c.gA,title:c.q0,alt:"logo"})})}),O&&(0,b.jsx)(l.A,{})]}),(0,b.jsxs)("div",{className:"shared-file-view-md-main",children:[(0,b.jsxs)("div",{className:"shared-file-view-head ".concat("md"==e||"pdf"==e?"w-100 px-4":""),children:[(0,b.jsxs)("div",{className:"text-truncate",children:[(0,b.jsx)("h2",{className:"ellipsis",title:M,children:M}),H?(0,b.jsxs)("p",{className:"m-0 d-flex",children:[(0,c.AP)("Current path: "),this.renderPath()]}):(0,b.jsxs)("p",{className:"share-by ellipsis",children:[(0,c.AP)("Shared by:")," ",F]})]}),(0,b.jsxs)("div",{className:"flex-shrink-0 ml-4",children:[q&&O&&O!==F&&(0,b.jsx)(d.A,{color:"secondary",id:"save",onClick:this.handleSaveSharedFileDialog,children:(0,c.AP)("Save as ...")})," ",q&&!D&&(0,b.jsxs)("a",{href:"".concat(H?"?p="+encodeURIComponent(z)+"&dl=1":W),className:"btn btn-success",children:[(0,c.AP)("Download")," (",p.Aq.bytesToSize(U),")"]})," ",V&&O!==F&&(0,b.jsx)(d.A,{onClick:this.toggleAddAbuseReportDialog,children:(0,c.AP)("Report Abuse")})]})]}),this.props.content]}),this.state.showSaveSharedFileDialog&&(0,b.jsx)(T,{sharedToken:N,filePath:H?z:"",toggleCancel:this.toggleCancel,handleSaveSharedFile:this.handleSaveSharedFile}),this.state.isAddAbuseReportDialogOpen&&V&&(0,b.jsx)(x,{sharedToken:N,filePath:z,toggleAddAbuseReportDialog:this.toggleAddAbuseReportDialog,isAddAbuseReportDialogOpen:this.state.isAddAbuseReportDialogOpen,contactEmail:R})]})}}])}(u.Component);B&&(r=O?j+" "+O:F?j+" "+F:(0,c.AP)("Anonymous User"),I().init({watermark_txt:r,watermark_alpha:.075}));var X=G},4086:function(e,t,n){"use strict";n.d(t,{A:function(){return k}});var r=n(89379),i=n(92901),a=n(23029),o=n(9950),s=n(17119),u=n(80045),l=n(60436),c=n(24765),d=n(39874),p=n(85501),h=n(29357),f=n(44414),m=function(e){function t(){return(0,a.A)(this,t),(0,d.A)(this,t,arguments)}return(0,p.A)(t,e),(0,i.A)(t,[{key:"getIconClass",value:function(e){switch(e){case"success":default:return"sf3-font sf3-font-check-circle";case"warning":return"sf3-font sf3-font-exclamation-triangle";case"none":case"danger":return"sf3-font sf3-font-exclamation-circle";case"notify-in-progress":return"loading-icon"}}},{key:"render",value:function(){var e=this.props,t=e.intent,n=e.title,r=e.children,i=e.isRemovable,a=e.onRemove,o=this.getIconClass(t);return(0,f.jsxs)("div",{className:"seahub-toast-alert-container ".concat(t||"success"),children:[(0,f.jsx)("div",{className:"toast-alert-icon",children:(0,f.jsx)("i",{className:o})}),(0,f.jsxs)("div",{className:"toast-text-container",children:[(0,f.jsx)("p",{className:"toast-text-title",children:n}),r?(0,f.jsx)("p",{className:"toast-text-child",children:r}):null]}),i&&(0,f.jsx)("div",{onClick:a,className:"toast-close",children:(0,f.jsx)("span",{children:"\xd7"})})]})}}])}(o.PureComponent),g=m,v=function(e){function t(){var e;(0,a.A)(this,t);for(var n=arguments.length,r=new Array(n),i=0;i1&&void 0!==arguments[1]?arguments[1]:{};return t.notifyHandler(e,(0,r.A)((0,r.A)({},n),{},{intent:"none"}))},this.notifyInProgress=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.notifyHandler(e,(0,r.A)((0,r.A)({},n),{},{intent:"notify-in-progress"}))},this.success=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.notifyHandler(e,(0,r.A)((0,r.A)({},n),{},{intent:"success"}))},this.warning=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.notifyHandler(e,(0,r.A)((0,r.A)({},n),{},{intent:"warning"}))},this.danger=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.notifyHandler(e,(0,r.A)((0,r.A)({},n),{},{intent:"danger"}))},w){var n=document.createElement("div");n.setAttribute("data-evergreen-toaster-container",""),document.body.appendChild(n),s.render((0,f.jsx)(b,{bindNotify:this._bindNotify,bindGetToasts:this._bindGetToasts,bindCloseAll:this._bindCloseAll}),n)}})),k=new T},25547:function(e,t,n){"use strict";n.d(t,{A:function(){return d}});var r=n(23029),i=n(92901),a=n(65604),o=n(60436),s=n(56044),u=function(){function e(){(0,r.A)(this,e),this.root=null}return(0,i.A)(e,[{key:"clone",value:function(){var t=new e;return this.root&&(t.root=this.root.clone()),t}},{key:"setRoot",value:function(e){this.root=e}},{key:"getNodeByPath",value:function(e){var t=null;return this.traverseDF((function(n){return n.path===e&&(t=n,!0)})),t}},{key:"getNodeChildrenObject",value:function(e){return e.children.map((function(e){return e.object}))}},{key:"addNodeToParent",value:function(e,t){t.addChild(e)}},{key:"addNodeListToParent",value:function(e,t){e.forEach((function(e){t.addChild(e)}))}},{key:"deleteNode",value:function(e){this.getNodeByPath(e.parentNode.path).deleteChild(e)}},{key:"deleteNodeList",value:function(e){var t=this;e.forEach((function(e){t.deleteNode(e)}))}},{key:"renameNode",value:function(e,t){e.rename(t)}},{key:"updateNode",value:function(e,t,n){e.updateObjectParam(t,n)}},{key:"moveNode",value:function(e,t){this.deleteNode(e),t.addChild(e)}},{key:"copyNode",value:function(e,t){t.addChild(e)}},{key:"traverseDF",value:function(e){var t=[],n=!1;t.unshift(this.root);for(var r=t.shift();!n&&r;)(n=1==e(r))||(t.unshift.apply(t,(0,o.A)(r.children)),r=t.shift())}},{key:"traverseBF",value:function(e){var t=[],n=!1;t.push(this.root);for(var r=t.shift();!n&&r;)(n=!0===e(r))||(t.push.apply(t,(0,o.A)(r.children)),r=t.shift())}},{key:"expandNode",value:function(e){for(e.isExpanded=!0;e.parentNode;)e.parentNode.isExpanded=!0,e=e.parentNode}},{key:"collapseNode",value:function(e){e.isExpanded=!1}},{key:"isNodeChild",value:function(e,t){return t.children.some((function(t){return t.path===e.path}))}},{key:"serializeToJson",value:function(){return this.root.serializeToJson()}},{key:"deserializefromJson",value:function(t){var n=s.A.deserializefromJson(t),r=new e;return r.setRoot(n),r}}])}(),l=n(84878),c=function(){return(0,i.A)((function e(){(0,r.A)(this,e)}),[{key:"expandNode",value:function(e,t){e.expandNode(t)}},{key:"collapseNode",value:function(e,t){var n=e.clone();return t=n.getNodeByPath(t.path),n.collapseNode(t),n}},{key:"findNodeByPath",value:function(e,t){return e.clone().getNodeByPath(t)}},{key:"getNodeChildrenObject",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"name",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"asc",i=e.getNodeChildrenObject(t);return i=a.Aq.sortDirents(i,n,r)}},{key:"addNodeToParent",value:function(e,t,n){return e.addNodeToParentNode(t,n),e}},{key:"addNodeListToParent",value:function(e,t,n){return e.addNodeListToParent(t,n),e}},{key:"addNodeToParentByPath",value:function(e,t,n){var r=e.clone(),i=r.getNodeByPath(n);return r.addNodeToParent(t,i),r}},{key:"deleteNodeByPath",value:function(e,t){var n=e.clone(),r=n.getNodeByPath(t);return r&&n.deleteNode(r),n}},{key:"deleteNodeListByPaths",value:function(e,t){var n=e.clone();return t.forEach((function(e){var t=n.getNodeByPath(e);t&&n.deleteNode(t)})),n}},{key:"renameNodeByPath",value:function(e,t,n){var r=e.clone(),i=r.getNodeByPath(t);return i?(r.renameNode(i,n),r):r}},{key:"updateNodeByPath",value:function(e,t,n,r){var i=e.clone(),a=i.getNodeByPath(t);return i.updateNode(a,n,r),i}},{key:"moveNodeByPath",value:function(e,t,n,r){var i=e.clone(),a=i.getNodeByPath(t),o=i.getNodeByPath(n);return o&&a&&(a.object.name=r,i.moveNode(a,o)),!o&&a&&i.deleteNode(a),i}},{key:"moveNodeListByPaths",value:function(e,t,n){var r=e.clone(),i=r.getNodeByPath(n);return i?t.forEach((function(e){var t=r.getNodeByPath(e);r.moveNode(t,i)})):t.forEach((function(e){var t=r.getNodeByPath(e);r.delete(t)})),r}},{key:"copyNodeByPath",value:function(e,t,n,r){var i=e.clone(),a=i.getNodeByPath(n),o=i.getNodeByPath(t);if(a){var s=o.clone();s.object.name=r,i.copyNode(s,a)}return i}},{key:"copyNodeListByPaths",value:function(e,t,n){var r=e.clone(),i=r.getNodeByPath(n);return i&&t.forEach((function(e){var t=r.getNodeByPath(e);r.copyNode(t,i)})),r}},{key:"buildTree",value:function(){var e=new u,t=new l.A({name:"/"}),n=new s.A({object:t,isLoaded:!1,isExpanded:!0});return e.setRoot(n),e}}])}(),d=new c},56044:function(e,t,n){"use strict";var r=n(23029),i=n(92901),a=function(){function e(t){var n=t.path,i=t.object,a=t.isLoaded,o=t.isPreload,s=t.isExpanded,u=t.parentNode;(0,r.A)(this,e),this.path=n||i.name,this.object=i,this.isLoaded=a||!1,this.isPreload=o||!1,this.isExpanded=s||!1,this.children=[],this.parentNode=u||null}return(0,i.A)(e,[{key:"clone",value:function(t){var n=new e({path:this.path,object:this.object.clone(),isLoaded:this.isLoaded,isPreload:this.isPreload,isExpanded:this.isExpanded,parentNode:t||null});return n.children=this.children.map((function(e){return e.clone(n)})),n}},{key:"setParent",value:function(e){this.path=this.generatePath(e),this.parentNode=e,this.isLoaded=!1}},{key:"hasChildren",value:function(){return 0!==this.children.length}},{key:"addChild",value:function(e){e.setParent(this);var t=this.children;if(e.object.isDir())this.children.unshift(e);else{for(var n=-1,r=0;r0&&void 0!==arguments[0]&&arguments[0]?1:0},t=this.server+"/api/v2.1/groups/";return this.req.get(t,{params:e})}},{key:"listGroupRepos",value:function(e,t,n){var r=this.server+"/api/v2.1/groups/"+e+"/libraries/",i={};return void 0!=t&&(i.page=t),void 0!=n&&(i.per_page=n),this.req.get(r,{params:i})}},{key:"getGroup",value:function(e){var t=this.server+"/api/v2.1/groups/"+e+"/";return this.req.get(t)}},{key:"createGroup",value:function(e){var t=this.server+"/api/v2.1/groups/",n=new(s());return n.append("name",e),this._sendPostRequest(t,n)}},{key:"renameGroup",value:function(e,t){var n=this.server+"/api/v2.1/groups/"+e+"/",r={name:t};return this.req.put(n,r)}},{key:"deleteGroup",value:function(e){var t=this.server+"/api/v2.1/groups/"+e+"/";return this.req.delete(t)}},{key:"transferGroup",value:function(e,t){var n=this.server+"/api/v2.1/groups/"+e+"/",r={owner:t};return this.req.put(n,r)}},{key:"quitGroup",value:function(e,t){var n=encodeURIComponent(t),r=this.server+"/api/v2.1/groups/"+e+"/members/"+n+"/";return this.req.delete(r)}},{key:"listGroupMembers",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:64,a=this.server+"/api/v2.1/groups/"+e+"/members/",o={page:t||1,per_page:n||100,is_admin:r,avatar_size:i};return this.req.get(a,{params:o})}},{key:"searchGroupMember",value:function(e,t){var n=this.server+"/api/v2.1/groups/"+e+"/search-member/",r={q:t};return this.req.get(n,{params:r})}},{key:"addGroupMember",value:function(e,t){var n=this.server+"/api/v2.1/groups/"+e+"/members/",r={email:t};return this.req.post(n,r)}},{key:"addGroupMembers",value:function(e,t){var n=this.server+"/api/v2.1/groups/"+e+"/members/bulk/",r=new(s());return r.append("emails",t.join(",")),this._sendPostRequest(n,r)}},{key:"importGroupMembersViaFile",value:function(e,t){var n=this.server+"/api/v2.1/groups/"+e+"/members/import/",r=new(s());return r.append("file",t),this._sendPostRequest(n,r)}},{key:"deleteGroupMember",value:function(e,t){var n=encodeURIComponent(t),r=this.server+"/api/v2.1/groups/"+e+"/members/"+n+"/";return this.req.delete(r)}},{key:"setGroupAdmin",value:function(e,t,n){var r=encodeURIComponent(t),i=this.server+"/api/v2.1/groups/"+e+"/members/"+r+"/",a={is_admin:n};return this.req.put(i,a)}},{key:"createGroupOwnedLibrary",value:function(e,t){var n=t.repo_name,r=t.permission?t.permission:"rw",i=this.server+"/api/v2.1/groups/"+e+"/group-owned-libraries/",a=new(s());return a.append("name",n),t.passwd&&a.append("passwd",t.passwd),a.append("permission",r),t.library_template&&a.append("library_template",t.library_template),this._sendPostRequest(i,a)}},{key:"deleteGroupOwnedLibrary",value:function(e,t){var n=this.server+"/api/v2.1/groups/"+e+"/group-owned-libraries/"+t+"/";return this.req.delete(n)}},{key:"renameGroupOwnedLibrary",value:function(e,t,n){var r=this.server+"/api/v2.1/groups/"+e+"/group-owned-libraries/"+t+"/",i=new(s());return i.append("name",n),this.req.put(r,i)}},{key:"shareGroupOwnedRepoToUser",value:function(e,t,n,r){var i=this.server+"/api/v2.1/group-owned-libraries/"+e+"/user-share/",a=new(s());return a.append("permission",t),a.append("path",r),Array.isArray(n)?n.forEach((function(e){a.append("username",e)})):a.append("username",n),this._sendPostRequest(i,a)}},{key:"modifyGroupOwnedRepoUserSharedPermission",value:function(e,t,n,r){var i=this.server+"/api/v2.1/group-owned-libraries/"+e+"/user-share/",a=new(s());return a.append("permission",t),a.append("username",n),a.append("path",r),this.req.put(i,a)}},{key:"deleteGroupOwnedRepoSharedUserItem",value:function(e,t,n){var r=this.server+"/api/v2.1/group-owned-libraries/"+e+"/user-share/",i={username:t,path:n};return this.req.delete(r,{data:i})}},{key:"shareGroupOwnedRepoToGroup",value:function(e,t,n,r){var i=this.server+"/api/v2.1/group-owned-libraries/"+e+"/group-share/",a=new(s());return a.append("permission",t),a.append("path",r),Array.isArray(n)?n.forEach((function(e){a.append("group_id",e)})):a.append("group_id",n),this._sendPostRequest(i,a)}},{key:"modifyGroupOwnedRepoGroupSharedPermission",value:function(e,t,n,r){var i=this.server+"/api/v2.1/group-owned-libraries/"+e+"/group-share/",a=new(s());return a.append("permission",t),a.append("group_id",n),a.append("path",r),this.req.put(i,a)}},{key:"deleteGroupOwnedRepoSharedGroupItem",value:function(e,t,n){var r=this.server+"/api/v2.1/group-owned-libraries/"+e+"/group-share/",i={group_id:t,path:n};return this.req.delete(r,{data:i})}},{key:"listShareLinks",value:function(e){var t=e.repoID,n=e.path,r=e.page,i=e.perPage,a=this.server+"/api/v2.1/share-links/",o={};return t&&n&&(o.repo_id=t,o.path=n),o.page=r||1,o.per_page=i||25,this.req.get(a,{params:o})}},{key:"createMultiShareLink",value:function(e,t,n,r,i){var a=this.server+"/api/v2.1/multi-share-links/",o=new(s());return o.append("path",t),o.append("repo_id",e),i&&o.append("permissions",i),n&&o.append("password",n),r&&o.append("expiration_time",r),this._sendPostRequest(a,o)}},{key:"batchCreateMultiShareLink",value:function(e,t,n,r,i,a){var o=this.server+"/api/v2.1/multi-share-links/batch/",u=new(s());return u.append("path",t),u.append("repo_id",e),u.append("number",n),u.append("auto_generate_password",r),a&&u.append("permissions",a),i&&u.append("expiration_time",i),this._sendPostRequest(o,u)}},{key:"createShareLink",value:function(e,t,n,r,i){var a=this.server+"/api/v2.1/share-links/",o=new(s());return o.append("path",t),o.append("repo_id",e),i&&o.append("permissions",i),n&&o.append("password",n),r&&o.append("expiration_time",r),this._sendPostRequest(a,o)}},{key:"updateShareLink",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=this.server+"/api/v2.1/share-links/"+e+"/",i=new(s());return t&&i.append("permissions",t),n&&i.append("expiration_time",n),this.req.put(r,i)}},{key:"deleteShareLink",value:function(e){var t=this.server+"/api/v2.1/share-links/"+e+"/";return this.req.delete(t)}},{key:"deleteShareLinks",value:function(e){var t=this.server+"/api/v2.1/share-links/",n={tokens:e};return this.req.delete(t,{data:n})}},{key:"cleanInvalidShareLinks",value:function(){var e=this.server+"/api/v2.1/share-links/clean-invalid/";return this.req.delete(e)}},{key:"sendShareLink",value:function(e,t,n){var r=this.server+"/api2/send-share-link/",i=new(s());return i.append("token",e),i.append("email",t),n&&i.append("extra_msg",n),this._sendPostRequest(r,i)}},{key:"getRepoFolderShareInfo",value:function(e,t){var n=this.server+"/api/v2.1/repos/"+e+"/share-info/",r={};return void 0!=t&&(r.path=t),this.req.get(n,{params:r})}},{key:"listRepoShareLinks",value:function(e){var t=this.server+"/api/v2.1/repos/"+e+"/share-links/";return this.req.get(t)}},{key:"deleteRepoShareLink",value:function(e,t){var n=this.server+"/api/v2.1/repos/"+e+"/share-links/"+t+"/";return this.req.delete(n)}},{key:"listSharedRepos",value:function(){var e=this.server+"/api/v2.1/shared-repos/";return this.req.get(e)}},{key:"getShareLinkRepoTags",value:function(e){var t=this.server+"/api/v2.1/share-links/"+e+"/repo-tags/";return this.req.get(t)}},{key:"getShareLinkTaggedFiles",value:function(e,t){var n=this.server+"/api/v2.1/share-links/"+e+"/tagged-files/"+t+"/";return this.req.get(n)}},{key:"getAllRepoFolderShareInfo",value:function(e,t){var n=this.server+"/api/v2.1/repo-folder-share-info/",r={repo_id:e};return t&&(r.share_to=t),this.req.get(n,{params:r})}},{key:"listUserUploadLinks",value:function(){var e=this.server+"/api/v2.1/upload-links/";return this.req.get(e)}},{key:"getUploadLink",value:function(e,t){var n=this.server+"/api/v2.1/upload-links/?repo_id="+e+"&path="+encodeURIComponent(t);return this.req.get(n)}},{key:"createUploadLink",value:function(e,t,n,r){var i=this.server+"/api/v2.1/upload-links/",a=new(s());return a.append("path",t),a.append("repo_id",e),n&&a.append("password",n),r&&a.append("expiration_time",r),this._sendPostRequest(i,a)}},{key:"updateUploadLink",value:function(e,t){var n=this.server+"/api/v2.1/upload-links/"+e+"/",r=new(s());return r.append("expiration_time",t),this.req.put(n,r)}},{key:"deleteUploadLink",value:function(e){var t=this.server+"/api/v2.1/upload-links/"+e+"/";return this.req.delete(t)}},{key:"cleanInvalidUploadLinks",value:function(){var e=this.server+"/api/v2.1/upload-links/clean-invalid/";return this.req.delete(e)}},{key:"sendUploadLink",value:function(e,t,n){var r=this.server+"/api2/send-upload-link/",i=new(s());return i.append("token",e),i.append("email",t),n&&i.append("extra_msg",n),this._sendPostRequest(r,i)}},{key:"listRepoUploadLinks",value:function(e){var t=this.server+"/api/v2.1/repos/"+e+"/upload-links/";return this.req.get(t)}},{key:"deleteRepoUploadLink",value:function(e,t){var n=this.server+"/api/v2.1/repos/"+e+"/upload-links/"+t+"/";return this.req.delete(n)}},{key:"listSharedItems",value:function(e,t,n){t=encodeURIComponent(t);var r=this.server+"/api2/repos/"+e+"/dir/shared_items/?p="+t+"&share_type="+n;return this.req.get(r)}},{key:"getBeSharedRepos",value:function(){var e=this.server+"/api2/beshared-repos/";return this.req.get(e)}},{key:"leaveShareRepo",value:function(e,t){var n=this.server+"/api2/beshared-repos/"+e+"/";return this.req.delete(n,{params:t})}},{key:"deleteShareToUserItem",value:function(e,t,n,r){t=encodeURIComponent(t);var i=this.server+"/api2/repos/"+e+"/dir/shared_items/?p="+t+"&share_type="+n+"&username="+encodeURIComponent(r);return this.req.delete(i)}},{key:"updateShareToUserItemPermission",value:function(e,t,n,r,i){t=encodeURIComponent(t);var a=this.server+"/api2/repos/"+e+"/dir/shared_items/?p="+t+"&share_type="+n+"&username="+encodeURIComponent(r),o=new(s());return o.append("permission",i),this._sendPostRequest(a,o)}},{key:"deleteShareToGroupItem",value:function(e,t,n,r){t=encodeURIComponent(t);var i=this.server+"/api2/repos/"+e+"/dir/shared_items/?p="+t+"&share_type="+n+"&group_id="+r;return this.req.delete(i)}},{key:"updateShareToGroupItemPermission",value:function(e,t,n,r,i){t=encodeURIComponent(t);var a=this.server+"/api2/repos/"+e+"/dir/shared_items/?p="+t+"&share_type="+n+"&group_id="+r,o=new(s());return o.append("permission",i),this._sendPostRequest(a,o)}},{key:"leaveShareGroupOwnedRepo",value:function(e){var t=this.server+"/api/v2.1/group-owned-libraries/user-share-in-libraries/"+e+"/";return this.req.delete(t)}},{key:"shareableGroups",value:function(){var e=this.server+"/api/v2.1/shareable-groups/";return this.req.get(e)}},{key:"getSharedRepos",value:function(){var e=this.server+"/api2/shared-repos/";return this.req.get(e)}},{key:"updateRepoSharePerm",value:function(e,t){var n=this.server+"/api/v2.1/shared-repos/"+e+"/";return this.req.put(n,t)}},{key:"unshareRepo",value:function(e,t){var n=this.server+"/api/v2.1/shared-repos/"+e+"/";return this.req.delete(n,{params:t})}},{key:"unshareRepoToGroup",value:function(e,t){var n=this.server+"/api/v2.1/groups/"+t+"/libraries/"+e+"/";return this.req.delete(n)}},{key:"shareFolder",value:function(e,t,n,r,i){t=encodeURIComponent(t);var a=new(s());if(a.append("share_type",n),a.append("permission",r),"user"==n)for(var o=0;o2&&void 0!==arguments[2]?arguments[2]:{},r=n.recursive,i=void 0!==r&&r,a=n.type,o=void 0===a?"":a,s=n.with_thumbnail,u=void 0!==s&&s,l=n.with_parents,c=void 0!==l&&l,d=this.server+"/api/v2.1/repos/"+e+"/dir/",p={};return p.p=t,i&&(p.recursive=i?1:0),o&&(p.t=o),u&&(p.with_thumbnail=u),c&&(p.with_parents=c),this.req.get(d,{params:p})}},{key:"listWikiDir",value:function(e,t,n){var r=encodeURIComponent(t),i=this.server+"/api/v2.1/wikis/"+encodeURIComponent(e)+"/dir/?p="+r;return n&&(i=this.server+"/api/v2.1/wikis/"+encodeURIComponent(e)+"/dir/?p="+r+"&with_parents="+n),this.req.get(i)}},{key:"getDirInfo",value:function(e,t){var n=encodeURIComponent(t),r=this.server+"/api/v2.1/repos/"+e+"/dir/detail/?path="+n;return this.req.get(r)}},{key:"createDir",value:function(e,t){var n=encodeURIComponent(t),r=this.server+"/api2/repos/"+e+"/dir/?p="+n,i=new(s());return i.append("operation","mkdir"),this._sendPostRequest(r,i)}},{key:"renameDir",value:function(e,t,n){var r=encodeURIComponent(t),i=this.server+"/api2/repos/"+e+"/dir/?p="+r,a=new(s());return a.append("operation","rename"),a.append("newname",n),this._sendPostRequest(i,a)}},{key:"deleteDir",value:function(e,t){var n=encodeURIComponent(t),r=this.server+"/api/v2.1/repos/"+e+"/dir/?p="+n;return this.req.delete(r)}},{key:"copyDir",value:function(e,t,n,r,i){var a=[],o=this.server;o+=e===t?"/api/v2.1/repos/sync-batch-copy-item/":"/api/v2.1/repos/async-batch-copy-item/",Array.isArray(i)?a=i:a.push(i);var s={src_repo_id:e,src_parent_dir:r,dst_repo_id:t,dst_parent_dir:n,src_dirents:a};return this._sendPostRequest(o,s,{headers:{"Content-Type":"application/json"}})}},{key:"moveDir",value:function(e,t,n,r,i){var a=[],o=this.server;o+=e===t?"/api/v2.1/repos/sync-batch-move-item/":"/api/v2.1/repos/async-batch-move-item/",Array.isArray(i)?a=i:a.push(i);var s={src_repo_id:e,src_parent_dir:r,dst_repo_id:t,dst_parent_dir:n,src_dirents:a};return this._sendPostRequest(o,s,{headers:{"Content-Type":"application/json"}})}},{key:"queryAsyncOperationProgress",value:function(e){var t=this.server+"/api/v2.1/query-copy-move-progress/?task_id="+e;return this.req.get(t)}},{key:"cancelCopyMoveOperation",value:function(e){var t=this.server+"/api/v2.1/copy-move-task/",n={task_id:e};return this.req.delete(t,{data:n})}},{key:"deleteMutipleDirents",value:function(e,t,n){var r=this.server+"/api/v2.1/repos/batch-delete-item/",i={repo_id:e,parent_dir:t,dirents:n};return this.req.delete(r,{data:i},{headers:{"Content-Type":"application/json"}})}},{key:"zipDownload",value:function(e,t,n){var r=this.server+"/api/v2.1/repos/"+e+"/zip-task/",i=new(s());return i.append("parent_dir",t),Array.isArray(n)?n.forEach((function(e){i.append("dirents",e)})):i.append("dirents",n),this._sendPostRequest(r,i)}},{key:"queryZipProgress",value:function(e){var t=this.server+"/api/v2.1/query-zip-progress/?token="+e;return this.req.get(t)}},{key:"cancelZipTask",value:function(e){var t=this.server+"/api/v2.1/cancel-zip-task/",n=new(s());return n.append("token",e),this.req.post(t,n)}},{key:"getFileInfo",value:function(e,t){var n=encodeURIComponent(t),r=this.server+"/api2/repos/"+e+"/file/detail/?p="+n;return this.req.get(r)}},{key:"getFileHistory",value:function(e,t){var n=this.server+"/api2/repos/"+e+"/file/history/?p="+encodeURIComponent(t);return this.req.get(n)}},{key:"getFileDownloadLink",value:function(e,t){var n=encodeURIComponent(t),r=this.server+"/api2/repos/"+e+"/file/?p="+n+"&reuse=1";return this.req.get(r)}},{key:"getFileContent",value:function(e){return a.A.create().get(e)}},{key:"createFile",value:function(e,t,n){var r=encodeURIComponent(t),i=this.server+"/api/v2.1/repos/"+e+"/file/?p="+r,a=new(s());return a.append("operation","create"),a.append("is_draft",n),this._sendPostRequest(i,a)}},{key:"renameFile",value:function(e,t,n){var r=encodeURIComponent(t),i=this.server+"/api/v2.1/repos/"+e+"/file/?p="+r,a=new(s());return a.append("operation","rename"),a.append("newname",n),this._sendPostRequest(i,a)}},{key:"convertFile",value:function(e,t,n){var r=encodeURIComponent(t),i=this.server+"/api/v2.1/repos/"+e+"/file/?p="+r,a=new(s());return a.append("operation","convert"),a.append("dst_type",n),this._sendPostRequest(i,a)}},{key:"lockfile",value:function(e,t,n){var r=this.server+"/api/v2.1/repos/"+e+"/file/?p="+encodeURIComponent(t),i=new(s());return i.append("operation","lock"),void 0!=n&&i.append("expire",n),this.req.put(r,i)}},{key:"unlockfile",value:function(e,t){var n=this.server+"/api/v2.1/repos/"+e+"/file/?p="+encodeURIComponent(t),r=new(s());return r.append("operation","unlock"),this.req.put(n,r)}},{key:"revertFile",value:function(e,t,n){var r=this.server+"/api/v2.1/repos/"+e+"/file/?p="+encodeURIComponent(t),i=new(s());return i.append("operation","revert"),i.append("commit_id",n),this._sendPostRequest(r,i)}},{key:"revertFolder",value:function(e,t,n){var r=this.server+"/api/v2.1/repos/"+e+"/dir/?p="+encodeURIComponent(t),i=new(s());return i.append("operation","revert"),i.append("commit_id",n),this._sendPostRequest(r,i)}},{key:"revertRepo",value:function(e,t){var n=this.server+"/api/v2.1/repos/"+e+"/commits/"+t+"/revert/";return this.req.post(n)}},{key:"deleteFile",value:function(e,t){var n=encodeURIComponent(t),r=this.server+"/api/v2.1/repos/"+e+"/file/?p="+n;return this.req.delete(r)}},{key:"getFileServerUploadLink",value:function(e,t){var n=encodeURIComponent(t),r=this.server+"/api2/repos/"+e+"/upload-link/?p="+n+"&from=web";return this.req.get(r)}},{key:"sharedLinkGetFileUploadUrl",value:function(e,t){var n=this.server+"/api/v2.1/share-links/"+e+"/upload/?path="+encodeURIComponent(t);return this.req.get(n)}},{key:"getFileUploadedBytes",value:function(e,t,n){var r=this.server+"/api/v2.1/repos/"+e+"/file-uploaded-bytes/",i={parent_dir:t,file_name:n};return this.req.get(r,{params:i})}},{key:"sharedUploadLinkGetFileUploadUrl",value:function(e){var t=this.server+"/api/v2.1/upload-links/"+e+"/upload/";return this.req.get(t)}},{key:"shareLinksUploadDone",value:function(e,t,n){var r=this.server+"/api/v2.1/share-links/"+e+"/upload/done/",i=new(s());return i.append("file_path",t),void 0!=n&&i.append("is_dir",n),this._sendPostRequest(r,i)}},{key:"uploadImage",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return a.A.create()({method:"post",data:t,url:e,onUploadProgress:n})}},{key:"getUpdateLink",value:function(e,t){var n=this.server+"/api2/repos/"+e+"/update-link/?p="+encodeURIComponent(t);return this.req.get(n)}},{key:"updateFile",value:function(e,t,n,r){var i=new(s());i.append("target_file",t),i.append("filename",n);var o=new Blob([r],{type:"text/plain"});return i.append("file",o),a.A.create()({method:"post",url:e,data:i})}},{key:"listFileHistoryRecords",value:function(e,t,n,r){var i=this.server+"/api/v2.1/repos/"+e+"/file/new_history/",a={path:t,page:n,per_page:r};return this.req.get(i,{params:a})}},{key:"listOldFileHistoryRecords",value:function(e,t,n){var r=this.server+"/api/v2.1/repos/"+e+"/file/history/",i={path:t,commit_id:n};return this.req.get(r,{params:i})}},{key:"getFileRevision",value:function(e,t,n){var r=this.server+"/api2/repos/"+e+"/file/revision/?p="+encodeURIComponent(n)+"&commit_id="+t;return this.req.get(r)}},{key:"getFileExtendedProperties",value:function(e,t){var n=this.server+"/api/v2.1/repos/"+e+"/extended-properties/?path="+t;return this.req.get(n)}},{key:"newFileExtendedProperties",value:function(e,t,n){var r=this.server+"/api/v2.1/repos/"+e+"/extended-properties/",i=new(s());return i.append("path",t),i.append("props_data",JSON.stringify(n)),this._sendPostRequest(r,i)}},{key:"updateFileExtendedProperties",value:function(e,t,n){var r=this.server+"/api/v2.1/repos/"+e+"/extended-properties/",i=new(s());return i.append("path",t),i.append("props_data",JSON.stringify(n)),this.req.put(r,i)}},{key:"deleteFileExtendedProperties",value:function(e,t){var n=this.server+"/api/v2.1/repos/"+e+"/extended-properties/?path="+t;return this.req.delete(n)}},{key:"applyFolderExtendedProperties",value:function(e,t){var n=this.server+"/api/v2.1/repos/"+e+"/apply-folder-extended-properties/",r=new(s());return r.append("path",t),this.req.post(n,r)}},{key:"deleteComment",value:function(e,t){var n=this.server+"/api2/repos/"+e+"/file/comments/"+t+"/";return this.req.delete(n)}},{key:"listComments",value:function(e,t,n){var r=encodeURIComponent(t),i=this.server+"/api2/repos/"+e+"/file/comments/?p="+r;return n&&(i=i+"&resolved="+n),this.req.get(i)}},{key:"postComment",value:function(e,t,n,r){var i=encodeURIComponent(t),a=this.server+"/api2/repos/"+e+"/file/comments/?p="+i,o=new(s());return o.append("comment",n),r&&o.append("detail",r),this._sendPostRequest(a,o)}},{key:"getCommentsNumber",value:function(e,t){var n=encodeURIComponent(t),r=this.server+"/api2/repos/"+e+"/file/comments/counts/?p="+n;return this.req.get(r)}},{key:"updateComment",value:function(e,t,n,r,i){var a=this.server+"/api2/repos/"+e+"/file/comments/"+t+"/",o={};return n&&(o.resolved=n),r&&(o.detail=r),i&&(o.comment=i),this.req.put(a,o)}},{key:"listStarredItems",value:function(){var e=this.server+"/api/v2.1/starred-items/";return this.req.get(e)}},{key:"starItem",value:function(e,t){var n=this.server+"/api/v2.1/starred-items/",r=new(s());return r.append("repo_id",e),r.append("path",t),this._sendPostRequest(n,r)}},{key:"unstarItem",value:function(e,t){var n=this.server+"/api/v2.1/starred-items/?repo_id="+e+"&path="+encodeURIComponent(t);return this.req.delete(n)}},{key:"monitorRepo",value:function(e){var t=this.server+"/api/v2.1/monitored-repos/",n=new(s());return n.append("repo_id",e),this._sendPostRequest(t,n)}},{key:"unMonitorRepo",value:function(e){var t=this.server+"/api/v2.1/monitored-repos/"+e+"/";return this.req.delete(t)}},{key:"listRepoTags",value:function(e){var t=this.server+"/api/v2.1/repos/"+e+"/repo-tags/";return this.req.get(t)}},{key:"createRepoTag",value:function(e,t,n){var r=this.server+"/api/v2.1/repos/"+e+"/repo-tags/",i=new(s());return i.append("name",t),i.append("color",n),this._sendPostRequest(r,i)}},{key:"createRepoTags",value:function(e,t){var n=this.server+"/api/v2.1/repos/"+e+"/repo-tags/",r={tags:t};return this.req.put(n,r)}},{key:"deleteRepoTag",value:function(e,t){var n=this.server+"/api/v2.1/repos/"+e+"/repo-tags/"+t+"/";return this.req.delete(n)}},{key:"updateRepoTag",value:function(e,t,n,r){var i=this.server+"/api/v2.1/repos/"+e+"/repo-tags/"+t+"/",a={name:n,color:r};return this.req.put(i,a)}},{key:"listTaggedFiles",value:function(e,t){var n=this.server+"/api/v2.1/repos/"+e+"/tagged-files/"+t+"/";return this.req.get(n)}},{key:"listFileTags",value:function(e,t){var n=encodeURIComponent(t),r=this.server+"/api/v2.1/repos/"+e+"/file-tags/?file_path="+n;return this.req.get(r)}},{key:"addFileTag",value:function(e,t,n){var r=new(s());r.append("file_path",t),r.append("repo_tag_id",n);var i=this.server+"/api/v2.1/repos/"+e+"/file-tags/";return this._sendPostRequest(i,r)}},{key:"deleteFileTag",value:function(e,t){var n=this.server+"/api/v2.1/repos/"+e+"/file-tags/"+t+"/";return this.req.delete(n)}},{key:"saveSharedFile",value:function(e,t,n,r){var i=this.server+"/api/v2.1/share-links/"+n+"/save-file-to-repo/",a=new(s());return a.append("dst_repo_id",e),a.append("dst_parent_dir",t),r&&a.append("path",r),this._sendPostRequest(i,a)}},{key:"saveSharedDir",value:function(e,t,n,r,i){var a=this.server+"/api/v2.1/share-links/"+n+"/save-items-to-repo/",o=new(s());return o.append("src_parent_dir",r),i.forEach((function(e){o.append("src_dirents",e)})),o.append("dst_repo_id",e),o.append("dst_parent_dir",t),this._sendPostRequest(a,o)}},{key:"addAbuseReport",value:function(e,t,n,r,i){var a=this.server+"/api/v2.1/abuse-reports/",o=new(s());return o.append("share_link_token",e),o.append("abuse_type",t),o.append("description",n),o.append("reporter",r),o.append("file_path",i),this._sendPostRequest(a,o)}},{key:"getInternalLink",value:function(e,t,n){var r="dir"===n,i=encodeURIComponent(t),a=this.server+"/api/v2.1/smart-link/?repo_id="+e+"&path="+i+"&is_dir="+r;return this.req.get(a)}},{key:"getWikiFileContent",value:function(e,t){var n=encodeURIComponent(t),r=(new Date).getTime(),i=this.server+"/api/v2.1/wikis/"+encodeURIComponent(e)+"/content/?p="+n+"&_="+r;return this.req.get(i)}},{key:"getUserAvatar",value:function(e,t){var n=this.server+"/api2/avatars/user/"+encodeURIComponent(e)+"/resized/"+t+"/";return this.req.get(n)}},{key:"listNotifications",value:function(e,t){var n=this.server+"/api/v2.1/notifications/",r={page:e,per_page:t};return this.req.get(n,{params:r})}},{key:"updateNotifications",value:function(){var e=this.server+"/api/v2.1/notifications/";return this.req.put(e)}},{key:"deleteNotifications",value:function(){var e=this.server+"/api/v2.1/notifications/";return this.req.delete(e)}},{key:"getUnseenNotificationCount",value:function(){var e=this.server+"/api/v2.1/notifications/";return this.req.get(e)}},{key:"markNoticeAsRead",value:function(e){var t=this.server+"/api/v2.1/notification/",n=new(s());return n.append("notice_id",e),this.req.put(t,n)}},{key:"listLinkedDevices",value:function(){var e=this.server+"/api2/devices/";return this.req.get(e)}},{key:"unlinkDevice",value:function(e,t,n){var r=this.server+"/api2/devices/",i={platform:e,device_id:t,wipe_device:n?"true":"false"};return this.req.delete(r,{data:i})}},{key:"listActivities",value:function(e){var t=this.server+"/api/v2.1/activities/?page="+e;return this.req.get(t)}},{key:"createThumbnail",value:function(e,t,n){var r=this.server+"/thumbnail/"+e+"/create/?path="+encodeURIComponent(t)+"&size="+n;return this.req.get(r,{headers:{"X-Requested-With":"XMLHttpRequest"}})}},{key:"searchUsers",value:function(e){var t=this.server+"/api2/search-user/?q="+encodeURIComponent(e);return this.req.get(t)}},{key:"listWikis",value:function(e){var t=this.server+"/api/v2.1/wikis/";return e?this.req.get(t,{params:e,paramsSerializer:{serialize:function(e){var t=[];for(var n in e)if(Array.isArray(e[n]))for(var r=0,i=e[n].length;r=0&&t=r&&t=i&&t=a&&t=o?(t/o).toFixed(n)+" TB":t+" B"},formatBitRate:function(e){var t;return"number"!==typeof e?"":(t=e/8)>=1e9?(t/1e9).toFixed(2)+" GB/s":t>=1e6?(t/1e6).toFixed(2)+" MB/s":t>=1e3?(t/1e3).toFixed(2)+" kB/s":t.toFixed(2)+" B/s"},isMarkdownFile:function(e){var t=e.lastIndexOf(".");if(-1===t)return!1;var n=e.substring(t).toLowerCase();return".md"===n||".markdown"===n},isSdocFile:function(e){var t=e.lastIndexOf(".");return-1!==t&&".sdoc"===e.substring(t).toLowerCase()},isDocxFile:function(e){var t=e.lastIndexOf(".");return-1!==t&&".docx"===e.substring(t).toLowerCase()},isPptxFile:function(e){var t=e.lastIndexOf(".");return-1!==t&&".pptx"===e.substring(t).toLowerCase()},isDescriptionSupportedFile:function(e){return h.isSdocFile(e)||h.isMarkdownFile(e)||h.pdfCheck(e)||h.isDocxFile(e)||h.isPptxFile(e)},isFileMetadata:function(e){return e===p.AT.FILE_EXTENDED_PROPERTIES},isInternalFileLink:function(e,t){return new RegExp(i.xW+"/lib/"+t+"/file.*").test(e)},isInternalMarkdownLink:function(e,t){return new RegExp(i.xW+"/lib/"+t+".*.md$").test(e)},isInternalDirLink:function(e,t){return new RegExp(i.xW+"/library/"+t+".*").test(e)},getPathFromInternalMarkdownLink:function(e,t){var n=new RegExp(i.xW+"/lib/"+t+"/file(.*.md)").exec(e);return decodeURIComponent(n[1])},getPathFromInternalDirLink:function(e,t){var n=new RegExp(i.xW+"/library/"+t+"(/.*)").exec(e),r=decodeURIComponent(n[1]);return r=(r=r.slice(1)).slice(r.indexOf("/"))},isWikiInternalMarkdownLink:function(e,t){return t=encodeURIComponent(t),new RegExp(i.xW+"/published/"+t+".*.md$").test(e)},isWikiInternalDirLink:function(e,t){return t=encodeURIComponent(t),new RegExp(i.xW+"/published/"+t+".*").test(e)},getPathFromWikiInternalMarkdownLink:function(e,t){t=encodeURIComponent(t);var n=new RegExp(i.xW+"/published/"+t+"(.*.md)").exec(e)[1];try{n=decodeURIComponent(n)}catch(r){n=n.replace(/%/g,"%25"),n=decodeURIComponent(n)}return n},getPathFromWikiInternalDirLink:function(e,t){t=encodeURIComponent(t);var n=new RegExp(i.xW+"/published/"+t+"(/.*)").exec(e)[1];try{n=decodeURIComponent(n)}catch(r){n=n.replace(/%/g,"%25"),n=decodeURIComponent(n)}return n},compareTwoWord:function(e,t){return function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(l(e)&&l(t))return e.localeCompare(t,"zh-Hans-CN",{numeric:!0});if(c(e)&&c(t))return e.localeCompare(t,"zh-Hans-CN",{numeric:!0});for(var r=d(e,n),i=d(t,n),a=0,o=Math.min(r.length,i.length),s=0;si.length?1:r.length=t)-(e<=t)},sortRepos:function(e,t,n){var r,i=this;switch("".concat(t,"-").concat(n)){case"name-asc":r=function(e,t){return e.repo_name?t.repo_name?i.compareTwoWord(e.repo_name,t.repo_name):-1:1};break;case"name-desc":r=function(e,t){return e.repo_name?t.repo_name?-i.compareTwoWord(e.repo_name,t.repo_name):1:-1};break;case"time-asc":r=function(e,t){return e.last_modified0&&h.changeMarkdownNodes(e.children,t)})),e},chooseLanguage:function(e){var t;switch(e){case"py":t="python";break;case"js":t="javascript";break;case"c":t="c";break;case"cpp":t="cpp";break;case"cs":t="csharp";break;case"java":t="java";break;case"mdf":t="text/x-sql";break;case"html":t="html";break;case"sh":t="shell";break;default:t=e}return t},DARK_COLOR_MAP:{red:"#D11507",orange:"#FF8C00",yellow:"#EDEF00",green:"#006400",cyan:"#00E0E1",blue:"#2510A3",indigo:"#350C56",purple:"#551054",pink:"#E3A5B0",azure:"#C4D0D0",lime:"#00E100",teal:"#006A6B",gray:"#545454","#FFA8A8":"#E49090","#FFA94D":"#E39136","#FFD43B":"#E0B815","#A0EC50":"#83CF32","#A9E34B":"#8DC72E","#63E6BE":"#43CAA4","#4FD2C9":"#2DB9B0","#72C3FC":"#57ABE3","#91A7FF":"#7A91E7","#E599F7":"#CC82DE","#B197FC":"#9B82E5","#F783AC":"#DF6D97","#CED4DA":"#A8ADB2"},getDarkColor:function(e){return this.DARK_COLOR_MAP[e]},getCopySuccessfulMessage:function(e){var t=e.length;return(1===t?(0,i.AP)("Successfully copied %(name)s."):2===t?(0,i.AP)("Successfully copied %(name)s and 1 other item."):(0,i.AP)("Successfully copied %(name)s and %(amount)s other items.").replace("%(amount)s",t-1)).replace("%(name)s",e[0])},getMoveSuccessMessage:function(e){var t=e.length;return(1===t?(0,i.AP)("Successfully moved %(name)s."):2===t?(0,i.AP)("Successfully moved %(name)s and 1 other item."):(0,i.AP)("Successfully moved %(name)s and %(amount)s other items.").replace("%(amount)s",t-1)).replace("%(name)s",e[0])},getCopyFailedMessage:function(e){var t=e.length;return(t>1?(0,i.AP)("Failed to copy %(name)s and %(amount)s other item(s).").replace("%(amount)s",t-1):(0,i.AP)("Failed to copy %(name)s.")).replace("%(name)s",e[0])},getMoveFailedMessage:function(e){var t=e.length;return(t>1?(0,i.AP)("Failed to move %(name)s and %(amount)s other item(s).").replace("%(amount)s",t-1):(0,i.AP)("Failed to move %(name)s.")).replace("%(name)s",e[0])},handleSearchedItemClick:function(e){if(!0===e.is_dir){var t=i.Yc+"library/"+e.repo_id+"/"+e.repo_name+e.path;window.open("about:blank").location.href=t}else{var n=i.Yc+"lib/"+e.repo_id+"/file"+h.encodePath(e.path);window.open("about:blank").location.href=n}},generatePassword:function(e){var t="";t+=String.fromCharCode(Math.floor(25*Math.random()+65)),t+=String.fromCharCode(Math.floor(25*Math.random()+97)),t+=String.fromCharCode(Math.floor(9*Math.random()+48)),t+=String.fromCharCode(Math.floor(14*Math.random()+33));for(var n=0;n60&&(n=parseInt(t/60),t=parseInt(t%60)),n>60&&(r=parseInt(n/60),n=parseInt(n%60));var i=("00"+parseInt(t)).slice(-2);return i=n>0?("00"+parseInt(n)).slice(-2)+":"+i:"00:"+i,i=r>0?("00"+parseInt(r)).slice(-2)+":"+i:"00:"+i},hasNextPage:function(e,t,n){return e*t=48&&e<=57?1:e>=65&&e<=90?2:e>=97&&e<=122?4:8},calculateBitwise:function(e){for(var t=0,n=0;n<4;n++)1&e&&t++,e>>>=1;return t},getSharedPermission:function(e){var t=e.permission;return e.is_admin&&(t="admin"),e.permission.startsWith("custom-")&&(t=e.permission.slice(7)),t},getUserPermission:function(e){var t=window.custom_permission;if(!t||["rw","r","admin","cloud-edit","preview"].indexOf(e)>-1)return{isCustomPermission:!1};if(t&&t.id===parseInt(e.split("-")[1]))return{isCustomPermission:!0,customPermission:t};return{isCustomPermission:!1}},onKeyDown:function(e){"Enter"!=e.key&&"Space"!=e.key||e.target.click()},updateTabTitle:function(e){document.getElementsByTagName("title")[0].innerText=e},generateHistoryURL:function(e,t,n){return e&&t&&n?e+"repo/file_revisions/"+t+"/?p="+this.encodePath(n):""},generateRevisionURL:function(e,t,n){return e&&t&&n?e+"repo/sdoc_revision/"+t+"/?p="+this.encodePath(n):""},generateRevisionsURL:function(e,t,n){return e&&t&&n?e+"repo/sdoc_revisions/"+t+"/?p="+this.encodePath(n):""},isFunction:function(e){return e&&"[object Function]"==={}.toString.call(e)},getUrlSearches:function(){var e=location.search,t={};return 0===e.length||e.split("?")[1].split("&").forEach((function(e){var n=e.split("=");t[n[0]]=decodeURI(n[1])})),t},updateSearchParameter:function(e,t){var n=location,r=n.origin,i=n.pathname,a=this.getUrlSearches();a[e]=t;var o="?";for(var s in a){var u=a[s];u&&(o="?"===o?"?".concat(s,"=").concat(u):"".concat(o,"&").concat(s,"=").concat(u))}history.replaceState(null,"",r+i+o)},isRelativePath:function(e){return!new RegExp("^(?:[a-z]+:)?//","i").test(e)},isMac:function(){var e=navigator.platform;return"Mac68K"==e||"MacPPC"==e||"Macintosh"==e||"MacIntel"==e}},f="undefined"!==typeof window&&(window.innerWidth<768||null!=navigator.userAgent.toLowerCase().match(/(ipod|ipad|iphone|android|coolpad|mmp|smartphone|midp|wap|xoom|symbian|j2me|blackberry|wince)/i)),m=function(e){var t=0,n=e.length,r=/[A-Z]/.test(e),i=/[a-z]/.test(e),a=/\d/.test(e),o=/[`~!@#$%^&*()_\-+=<>?:"{}|,./;'\\]/.test(e);return 0===n?"empty":(n>=16?t+=4:n>=12?t+=3:n>=8?t+=2:n>=6&&(t+=1),r&&(t+=1),i&&(t+=1),a&&(t+=1),o&&(t+=1),t>=8?"very_strong":t>=6?"strong":t>=4?"medium":"weak")},g=function(e){var t=window.app.pageOptions.userStrongPasswordRequired,n=m(e);return(t?["strong","very_strong"]:["medium","strong","very_strong"]).includes(n)},v=function(e){var t=!0,n="";return e&&e.trim()?e.includes("/")?{isValid:t=!1,errMessage:n=(0,i.AP)("Name cannot contain slash")}:e.includes("`")?{isValid:t=!1,errMessage:n=(0,i.AP)("Name cannot contain backtick")}:e.includes("\\")?{isValid:t=!1,errMessage:n=(0,i.AP)("Name cannot contain backslash")}:".."===e?{isValid:t=!1,errMessage:n=(0,i.AP)("Name cannot be double dots")}:{isValid:t,errMessage:n}:{isValid:t=!1,errMessage:n=(0,i.AP)("Name is required")}}},61045:function(e,t,n){"use strict";var r=n(77626);e.exports=function(e,t){return void 0===t&&(t=!1),function(n,i,a){if(n)e(n);else if(i.statusCode>=400&&i.statusCode<=599){var o=a;if(t)if(r.TextDecoder){var s=function(e){void 0===e&&(e="");return e.toLowerCase().split(";").reduce((function(e,t){var n=t.split("="),r=n[0],i=n[1];return"charset"===r.trim()?i.trim():e}),"utf-8")}(i.headers&&i.headers["content-type"]);try{o=new TextDecoder(s).decode(a)}catch(u){}}else o=String.fromCharCode.apply(null,new Uint8Array(a));e({cause:o})}else e(null,a)}}},96938:function(e,t,n){"use strict";var r=n(77626),i=n(72253),a=n(28650);u.httpHandler=n(61045);var o=function(e){var t={};return e?(e.trim().split("\n").forEach((function(e){var n=e.indexOf(":"),r=e.slice(0,n).trim().toLowerCase(),i=e.slice(n+1).trim();"undefined"===typeof t[r]?t[r]=i:Array.isArray(t[r])?t[r].push(i):t[r]=[t[r],i]})),t):t};function s(e,t,n){var r=e;return a(t)?(n=t,"string"===typeof e&&(r={uri:e})):r=i({},t,{uri:e}),r.callback=n,r}function u(e,t,n){return l(t=s(e,t,n))}function l(e){if("undefined"===typeof e.callback)throw new Error("callback argument missing");var t=!1,n=function(n,r,i){t||(t=!0,e.callback(n,r,i))};function r(){var e=void 0;if(e=c.response?c.response:c.responseText||function(e){try{if("document"===e.responseType)return e.responseXML;var t=e.responseXML&&"parsererror"===e.responseXML.documentElement.nodeName;if(""===e.responseType&&!t)return e.responseXML}catch(n){}return null}(c),v)try{e=JSON.parse(e)}catch(t){}return e}function i(e){return clearTimeout(d),e instanceof Error||(e=new Error(""+(e||"Unknown XMLHttpRequest Error"))),e.statusCode=0,n(e,y)}function a(){if(!l){var t;clearTimeout(d),t=e.useXDR&&void 0===c.status?200:1223===c.status?204:c.status;var i=y,a=null;return 0!==t?(i={body:r(),statusCode:t,method:h,headers:{},url:p,rawRequest:c},c.getAllResponseHeaders&&(i.headers=o(c.getAllResponseHeaders()))):a=new Error("Internal XMLHttpRequest Error"),n(a,i,i.body)}}var s,l,c=e.xhr||null;c||(c=e.cors||e.useXDR?new u.XDomainRequest:new u.XMLHttpRequest);var d,p=c.url=e.uri||e.url,h=c.method=e.method||"GET",f=e.body||e.data,m=c.headers=e.headers||{},g=!!e.sync,v=!1,y={body:void 0,headers:{},statusCode:0,method:h,url:p,rawRequest:c};if("json"in e&&!1!==e.json&&(v=!0,m.accept||m.Accept||(m.Accept="application/json"),"GET"!==h&&"HEAD"!==h&&(m["content-type"]||m["Content-Type"]||(m["Content-Type"]="application/json"),f=JSON.stringify(!0===e.json?f:e.json))),c.onreadystatechange=function(){4===c.readyState&&setTimeout(a,0)},c.onload=a,c.onerror=i,c.onprogress=function(){},c.onabort=function(){l=!0},c.ontimeout=i,c.open(h,p,!g,e.username,e.password),g||(c.withCredentials=!!e.withCredentials),!g&&e.timeout>0&&(d=setTimeout((function(){if(!l){l=!0,c.abort("timeout");var e=new Error("XMLHttpRequest timeout");e.code="ETIMEDOUT",i(e)}}),e.timeout)),c.setRequestHeader)for(s in m)m.hasOwnProperty(s)&&c.setRequestHeader(s,m[s]);else if(e.headers&&!function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}(e.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in e&&(c.responseType=e.responseType),"beforeSend"in e&&"function"===typeof e.beforeSend&&e.beforeSend(c),c.send(f||null),c}e.exports=u,e.exports.default=u,u.XMLHttpRequest=r.XMLHttpRequest||function(){},u.XDomainRequest="withCredentials"in new u.XMLHttpRequest?u.XMLHttpRequest:r.XDomainRequest,function(e,t){for(var n=0;n=t+n||t?new java.lang.String(e,t,n)+"":e}function v(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}p.prototype.parseFromString=function(e,t){var n=this.options,r=new c,i=n.domBuilder||new h,o=n.errorHandler,s=n.locator,l=n.xmlns||{},p=/\/x?html?$/.test(t),f=p?a.HTML_ENTITIES:a.XML_ENTITIES;s&&i.setDocumentLocator(s),r.errorHandler=function(e,t,n){if(!e){if(t instanceof h)return t;e=t}var r={},i=e instanceof Function;function a(t){var a=e[t];!a&&i&&(a=2==e.length?function(n){e(t,n)}:e),r[t]=a&&function(e){a("[xmldom "+t+"]\t"+e+m(n))}||function(){}}return n=n||{},a("warning"),a("error"),a("fatalError"),r}(o,i,s),r.domBuilder=n.domBuilder||i,p&&(l[""]=u.HTML),l.xml=l.xml||u.XML;var g=n.normalizeLineEndings||d;return e&&"string"===typeof e?r.parse(g(e),l,f):r.errorHandler.error("invalid doc source"),i.doc},h.prototype={startDocument:function(){this.doc=(new s).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,n,r){var i=this.doc,a=i.createElementNS(e,n||t),o=r.length;v(this,a),this.currentElement=a,this.locator&&f(this.locator,a);for(var s=0;s=0))throw new P(A,new Error(e.tagName+"@"+n));for(var i=t.length-1;r"==e&&">")||"&"==e&&"&"||'"'==e&&"""||"&#"+e.charCodeAt()+";"}function B(e,t){if(t(e))return!0;if(e=e.firstChild)do{if(B(e,t))return!0}while(e=e.nextSibling)}function q(){this.ownerDocument=this}function H(e,t,n,r){e&&e._inc++,n.namespaceURI===a.XMLNS&&delete t._nsMap[n.prefix?n.localName:""]}function z(e,t,n){if(e&&e._inc){e._inc++;var r=t.childNodes;if(n)r[r.length++]=n;else{for(var i=t.firstChild,a=0;i;)r[a++]=i,i=i.nextSibling;r.length=a,delete r[r.length]}}}function V(e,t){var n=t.previousSibling,r=t.nextSibling;return n?n.nextSibling=r:e.firstChild=r,r?r.previousSibling=n:e.lastChild=n,t.parentNode=null,t.previousSibling=null,t.nextSibling=null,z(e.ownerDocument,e),t}function W(e){return e&&e.nodeType===F.DOCUMENT_TYPE_NODE}function G(e){return e&&e.nodeType===F.ELEMENT_NODE}function X(e){return e&&e.nodeType===F.TEXT_NODE}function K(e,t){var n=e.childNodes||[];if(i(n,G)||W(t))return!1;var r=i(n,W);return!(t&&r&&n.indexOf(r)>n.indexOf(t))}function $(e,t){var n=e.childNodes||[];if(i(n,(function(e){return G(e)&&e!==t})))return!1;var r=i(n,W);return!(t&&r&&n.indexOf(r)>n.indexOf(t))}function Y(e,t,n){if(!function(e){return e&&(e.nodeType===F.DOCUMENT_NODE||e.nodeType===F.DOCUMENT_FRAGMENT_NODE||e.nodeType===F.ELEMENT_NODE)}(e))throw new P(C,"Unexpected parent node type "+e.nodeType);if(n&&n.parentNode!==e)throw new P(A,"child not in parent");if(!function(e){return e&&(G(e)||X(e)||W(e)||e.nodeType===F.DOCUMENT_FRAGMENT_NODE||e.nodeType===F.COMMENT_NODE||e.nodeType===F.PROCESSING_INSTRUCTION_NODE)}(t)||W(t)&&e.nodeType!==F.DOCUMENT_NODE)throw new P(C,"Unexpected node type "+t.nodeType+" for parent node type "+e.nodeType)}function Q(e,t,n){var r=e.childNodes||[],a=t.childNodes||[];if(t.nodeType===F.DOCUMENT_FRAGMENT_NODE){var o=a.filter(G);if(o.length>1||i(a,X))throw new P(C,"More than one element or text in fragment");if(1===o.length&&!K(e,n))throw new P(C,"Element in fragment can not be inserted before doctype")}if(G(t)&&!K(e,n))throw new P(C,"Only one element can be added and only after doctype");if(W(t)){if(i(r,W))throw new P(C,"Only one doctype is allowed");var s=i(r,G);if(n&&r.indexOf(s)1||i(a,X))throw new P(C,"More than one element or text in fragment");if(1===o.length&&!$(e,n))throw new P(C,"Element in fragment can not be inserted before doctype")}if(G(t)&&!$(e,n))throw new P(C,"Only one element can be added and only after doctype");if(W(t)){if(i(r,(function(e){return W(e)&&e!==n})))throw new P(C,"Only one doctype is allowed");var s=i(r,G);if(n&&r.indexOf(s)=0;k--){if(""===(S=i[k]).prefix&&S.namespace===e.namespaceURI){d=S.namespace;break}}if(d!==e.namespaceURI)for(k=i.length-1;k>=0;k--){var S;if((S=i[k]).namespace===e.namespaceURI){S.prefix&&(c=S.prefix+":"+l);break}}}t.push("<",c);for(var E=0;E"),n&&/^script$/i.test(l))for(;u;)u.data?t.push(u.data):ge(u,t,n,r,i.slice()),u=u.nextSibling;else for(;u;)ge(u,t,n,r,i.slice()),u=u.nextSibling;t.push("")}else t.push("/>");return;case b:case T:for(u=e.firstChild;u;)ge(u,t,n,r,i.slice()),u=u.nextSibling;return;case h:return me(t,e.name,e.value);case f:return t.push(e.data.replace(/[<&>]/g,j));case m:return t.push("");case _:return t.push("\x3c!--",e.data,"--\x3e");case w:var P=e.publicId,I=e.systemId;if(t.push("");else if(I&&"."!=I)t.push(" SYSTEM ",I,">");else{var O=e.internalSubset;O&&t.push(" [",O,"]"),t.push(">")}return;case y:return t.push("");case g:return t.push("&",e.nodeName,";");default:t.push("??",e.nodeName)}}function ve(e,t,n){var r;switch(t.nodeType){case p:(r=t.cloneNode(!1)).ownerDocument=e;case T:break;case h:n=!0}if(r||(r=t.cloneNode(!1)),r.ownerDocument=e,r.parentNode=null,n)for(var i=t.firstChild;i;)r.appendChild(ve(e,i,n)),i=i.nextSibling;return r}function ye(e,t,n){var r=new t.constructor;for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var a=t[i];"object"!=typeof a&&a!=r[i]&&(r[i]=a)}switch(t.childNodes&&(r.childNodes=new I),r.ownerDocument=e,r.nodeType){case p:var o=t.attributes,s=r.attributes=new L,u=o.length;s._ownerElement=r;for(var l=0;l=0&&e0},lookupPrefix:function(e){for(var t=this;t;){var n=t._nsMap;if(n)for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)&&n[r]===e)return r;t=t.nodeType==h?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var n=t._nsMap;if(n&&Object.prototype.hasOwnProperty.call(n,e))return n[e];t=t.nodeType==h?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return null==this.lookupPrefix(e)}},l(d,F),l(d,F.prototype),q.prototype={nodeName:"#document",nodeType:b,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==T){for(var n=e.firstChild;n;){var r=n.nextSibling;this.insertBefore(n,t),n=r}return e}return Z(this,e,t),e.ownerDocument=this,null===this.documentElement&&e.nodeType===p&&(this.documentElement=e),e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),V(this,e)},replaceChild:function(e,t){Z(this,e,t,J),e.ownerDocument=this,t&&this.removeChild(t),G(e)&&(this.documentElement=e)},importNode:function(e,t){return ve(this,e,t)},getElementById:function(e){var t=null;return B(this.documentElement,(function(n){if(n.nodeType==p&&n.getAttribute("id")==e)return t=n,!0})),t},getElementsByClassName:function(e){var t=u(e);return new O(this,(function(n){var r=[];return t.length>0&&B(n.documentElement,(function(i){if(i!==n&&i.nodeType===p){var a=i.getAttribute("class");if(a){var o=e===a;if(!o){var s=u(a);o=t.every((l=s,function(e){return l&&-1!==l.indexOf(e)}))}o&&r.push(i)}}var l})),r}))},createElement:function(e){var t=new ee;return t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new I,(t.attributes=new L)._ownerElement=t,t},createDocumentFragment:function(){var e=new ce;return e.ownerDocument=this,e.childNodes=new I,e},createTextNode:function(e){var t=new re;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new ie;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){var t=new ae;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var n=new de;return n.ownerDocument=this,n.tagName=n.nodeName=n.target=e,n.nodeValue=n.data=t,n},createAttribute:function(e){var t=new te;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){var t=new le;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var n=new ee,r=t.split(":"),i=n.attributes=new L;return n.childNodes=new I,n.ownerDocument=this,n.nodeName=t,n.tagName=t,n.namespaceURI=e,2==r.length?(n.prefix=r[0],n.localName=r[1]):n.localName=t,i._ownerElement=n,n},createAttributeNS:function(e,t){var n=new te,r=t.split(":");return n.ownerDocument=this,n.nodeName=t,n.name=t,n.namespaceURI=e,n.specified=!0,2==r.length?(n.prefix=r[0],n.localName=r[1]):n.localName=t,n}},c(q,F),ee.prototype={nodeType:p,hasAttribute:function(e){return null!=this.getAttributeNode(e)},getAttribute:function(e){var t=this.getAttributeNode(e);return t&&t.value||""},getAttributeNode:function(e){return this.attributes.getNamedItem(e)},setAttribute:function(e,t){var n=this.ownerDocument.createAttribute(e);n.value=n.nodeValue=""+t,this.setAttributeNode(n)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},appendChild:function(e){return e.nodeType===T?this.insertBefore(e,null):function(e,t){return t.parentNode&&t.parentNode.removeChild(t),t.parentNode=e,t.previousSibling=e.lastChild,t.nextSibling=null,t.previousSibling?t.previousSibling.nextSibling=t:e.firstChild=t,e.lastChild=t,z(e.ownerDocument,e,t),t}(this,e)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);n&&this.removeAttributeNode(n)},hasAttributeNS:function(e,t){return null!=this.getAttributeNodeNS(e,t)},getAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);return n&&n.value||""},setAttributeNS:function(e,t,n){var r=this.ownerDocument.createAttributeNS(e,t);r.value=r.nodeValue=""+n,this.setAttributeNode(r)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new O(this,(function(t){var n=[];return B(t,(function(r){r===t||r.nodeType!=p||"*"!==e&&r.tagName!=e||n.push(r)})),n}))},getElementsByTagNameNS:function(e,t){return new O(this,(function(n){var r=[];return B(n,(function(i){i===n||i.nodeType!==p||"*"!==e&&i.namespaceURI!==e||"*"!==t&&i.localName!=t||r.push(i)})),r}))}},q.prototype.getElementsByTagName=ee.prototype.getElementsByTagName,q.prototype.getElementsByTagNameNS=ee.prototype.getElementsByTagNameNS,c(ee,F),te.prototype.nodeType=h,c(te,F),ne.prototype={data:"",substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},appendChild:function(e){throw new Error(E[C])},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,n){n=this.data.substring(0,e)+n+this.data.substring(e+t),this.nodeValue=this.data=n,this.length=n.length}},c(ne,F),re.prototype={nodeName:"#text",nodeType:f,splitText:function(e){var t=this.data,n=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var r=this.ownerDocument.createTextNode(n);return this.parentNode&&this.parentNode.insertBefore(r,this.nextSibling),r}},c(re,ne),ie.prototype={nodeName:"#comment",nodeType:_},c(ie,ne),ae.prototype={nodeName:"#cdata-section",nodeType:m},c(ae,ne),oe.prototype.nodeType=w,c(oe,F),se.prototype.nodeType=k,c(se,F),ue.prototype.nodeType=v,c(ue,F),le.prototype.nodeType=g,c(le,F),ce.prototype.nodeName="#document-fragment",ce.prototype.nodeType=T,c(ce,F),de.prototype.nodeType=y,c(de,F),pe.prototype.serializeToString=function(e,t,n){return he.call(e,t,n)},F.prototype.toString=he;try{if(Object.defineProperty){var be=function(e){switch(e.nodeType){case p:case T:var t=[];for(e=e.firstChild;e;)7!==e.nodeType&&8!==e.nodeType&&t.push(be(e)),e=e.nextSibling;return t.join("");default:return e.nodeValue}};Object.defineProperty(O.prototype,"length",{get:function(){return R(this),this.$$length}}),Object.defineProperty(F.prototype,"textContent",{get:function(){return be(this)},set:function(e){switch(this.nodeType){case p:case T:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),_e=function(e,t,n){e["$$"+t]=n}}}catch(we){}t.DocumentType=oe,t.DOMException=P,t.DOMImplementation=U,t.Element=ee,t.Node=F,t.NodeList=I,t.XMLSerializer=pe},4489:function(e,t,n){"use strict";var r=n(12132).freeze;t.XML_ENTITIES=r({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),t.HTML_ENTITIES=r({Aacute:"\xc1",aacute:"\xe1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223e",acd:"\u223f",acE:"\u223e\u0333",Acirc:"\xc2",acirc:"\xe2",acute:"\xb4",Acy:"\u0410",acy:"\u0430",AElig:"\xc6",aelig:"\xe6",af:"\u2061",Afr:"\ud835\udd04",afr:"\ud835\udd1e",Agrave:"\xc0",agrave:"\xe0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03b1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2a3f",AMP:"&",amp:"&",And:"\u2a53",and:"\u2227",andand:"\u2a55",andd:"\u2a5c",andslope:"\u2a58",andv:"\u2a5a",ang:"\u2220",ange:"\u29a4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29a8",angmsdab:"\u29a9",angmsdac:"\u29aa",angmsdad:"\u29ab",angmsdae:"\u29ac",angmsdaf:"\u29ad",angmsdag:"\u29ae",angmsdah:"\u29af",angrt:"\u221f",angrtvb:"\u22be",angrtvbd:"\u299d",angsph:"\u2222",angst:"\xc5",angzarr:"\u237c",Aogon:"\u0104",aogon:"\u0105",Aopf:"\ud835\udd38",aopf:"\ud835\udd52",ap:"\u2248",apacir:"\u2a6f",apE:"\u2a70",ape:"\u224a",apid:"\u224b",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224a",Aring:"\xc5",aring:"\xe5",Ascr:"\ud835\udc9c",ascr:"\ud835\udcb6",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224d",Atilde:"\xc3",atilde:"\xe3",Auml:"\xc4",auml:"\xe4",awconint:"\u2233",awint:"\u2a11",backcong:"\u224c",backepsilon:"\u03f6",backprime:"\u2035",backsim:"\u223d",backsimeq:"\u22cd",Backslash:"\u2216",Barv:"\u2ae7",barvee:"\u22bd",Barwed:"\u2306",barwed:"\u2305",barwedge:"\u2305",bbrk:"\u23b5",bbrktbrk:"\u23b6",bcong:"\u224c",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201e",becaus:"\u2235",Because:"\u2235",because:"\u2235",bemptyv:"\u29b0",bepsi:"\u03f6",bernou:"\u212c",Bernoullis:"\u212c",Beta:"\u0392",beta:"\u03b2",beth:"\u2136",between:"\u226c",Bfr:"\ud835\udd05",bfr:"\ud835\udd1f",bigcap:"\u22c2",bigcirc:"\u25ef",bigcup:"\u22c3",bigodot:"\u2a00",bigoplus:"\u2a01",bigotimes:"\u2a02",bigsqcup:"\u2a06",bigstar:"\u2605",bigtriangledown:"\u25bd",bigtriangleup:"\u25b3",biguplus:"\u2a04",bigvee:"\u22c1",bigwedge:"\u22c0",bkarow:"\u290d",blacklozenge:"\u29eb",blacksquare:"\u25aa",blacktriangle:"\u25b4",blacktriangledown:"\u25be",blacktriangleleft:"\u25c2",blacktriangleright:"\u25b8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20e5",bnequiv:"\u2261\u20e5",bNot:"\u2aed",bnot:"\u2310",Bopf:"\ud835\udd39",bopf:"\ud835\udd53",bot:"\u22a5",bottom:"\u22a5",bowtie:"\u22c8",boxbox:"\u29c9",boxDL:"\u2557",boxDl:"\u2556",boxdL:"\u2555",boxdl:"\u2510",boxDR:"\u2554",boxDr:"\u2553",boxdR:"\u2552",boxdr:"\u250c",boxH:"\u2550",boxh:"\u2500",boxHD:"\u2566",boxHd:"\u2564",boxhD:"\u2565",boxhd:"\u252c",boxHU:"\u2569",boxHu:"\u2567",boxhU:"\u2568",boxhu:"\u2534",boxminus:"\u229f",boxplus:"\u229e",boxtimes:"\u22a0",boxUL:"\u255d",boxUl:"\u255c",boxuL:"\u255b",boxul:"\u2518",boxUR:"\u255a",boxUr:"\u2559",boxuR:"\u2558",boxur:"\u2514",boxV:"\u2551",boxv:"\u2502",boxVH:"\u256c",boxVh:"\u256b",boxvH:"\u256a",boxvh:"\u253c",boxVL:"\u2563",boxVl:"\u2562",boxvL:"\u2561",boxvl:"\u2524",boxVR:"\u2560",boxVr:"\u255f",boxvR:"\u255e",boxvr:"\u251c",bprime:"\u2035",Breve:"\u02d8",breve:"\u02d8",brvbar:"\xa6",Bscr:"\u212c",bscr:"\ud835\udcb7",bsemi:"\u204f",bsim:"\u223d",bsime:"\u22cd",bsol:"\\",bsolb:"\u29c5",bsolhsub:"\u27c8",bull:"\u2022",bullet:"\u2022",bump:"\u224e",bumpE:"\u2aae",bumpe:"\u224f",Bumpeq:"\u224e",bumpeq:"\u224f",Cacute:"\u0106",cacute:"\u0107",Cap:"\u22d2",cap:"\u2229",capand:"\u2a44",capbrcup:"\u2a49",capcap:"\u2a4b",capcup:"\u2a47",capdot:"\u2a40",CapitalDifferentialD:"\u2145",caps:"\u2229\ufe00",caret:"\u2041",caron:"\u02c7",Cayleys:"\u212d",ccaps:"\u2a4d",Ccaron:"\u010c",ccaron:"\u010d",Ccedil:"\xc7",ccedil:"\xe7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2a4c",ccupssm:"\u2a50",Cdot:"\u010a",cdot:"\u010b",cedil:"\xb8",Cedilla:"\xb8",cemptyv:"\u29b2",cent:"\xa2",CenterDot:"\xb7",centerdot:"\xb7",Cfr:"\u212d",cfr:"\ud835\udd20",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03a7",chi:"\u03c7",cir:"\u25cb",circ:"\u02c6",circeq:"\u2257",circlearrowleft:"\u21ba",circlearrowright:"\u21bb",circledast:"\u229b",circledcirc:"\u229a",circleddash:"\u229d",CircleDot:"\u2299",circledR:"\xae",circledS:"\u24c8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cirE:"\u29c3",cire:"\u2257",cirfnint:"\u2a10",cirmid:"\u2aef",cirscir:"\u29c2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201d",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",Colon:"\u2237",colon:":",Colone:"\u2a74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2a6d",Congruent:"\u2261",Conint:"\u222f",conint:"\u222e",ContourIntegral:"\u222e",Copf:"\u2102",copf:"\ud835\udd54",coprod:"\u2210",Coproduct:"\u2210",COPY:"\xa9",copy:"\xa9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21b5",Cross:"\u2a2f",cross:"\u2717",Cscr:"\ud835\udc9e",cscr:"\ud835\udcb8",csub:"\u2acf",csube:"\u2ad1",csup:"\u2ad0",csupe:"\u2ad2",ctdot:"\u22ef",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22de",cuesc:"\u22df",cularr:"\u21b6",cularrp:"\u293d",Cup:"\u22d3",cup:"\u222a",cupbrcap:"\u2a48",CupCap:"\u224d",cupcap:"\u2a46",cupcup:"\u2a4a",cupdot:"\u228d",cupor:"\u2a45",cups:"\u222a\ufe00",curarr:"\u21b7",curarrm:"\u293c",curlyeqprec:"\u22de",curlyeqsucc:"\u22df",curlyvee:"\u22ce",curlywedge:"\u22cf",curren:"\xa4",curvearrowleft:"\u21b6",curvearrowright:"\u21b7",cuvee:"\u22ce",cuwed:"\u22cf",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232d",Dagger:"\u2021",dagger:"\u2020",daleth:"\u2138",Darr:"\u21a1",dArr:"\u21d3",darr:"\u2193",dash:"\u2010",Dashv:"\u2ae4",dashv:"\u22a3",dbkarow:"\u290f",dblac:"\u02dd",Dcaron:"\u010e",dcaron:"\u010f",Dcy:"\u0414",dcy:"\u0434",DD:"\u2145",dd:"\u2146",ddagger:"\u2021",ddarr:"\u21ca",DDotrahd:"\u2911",ddotseq:"\u2a77",deg:"\xb0",Del:"\u2207",Delta:"\u0394",delta:"\u03b4",demptyv:"\u29b1",dfisht:"\u297f",Dfr:"\ud835\udd07",dfr:"\ud835\udd21",dHar:"\u2965",dharl:"\u21c3",dharr:"\u21c2",DiacriticalAcute:"\xb4",DiacriticalDot:"\u02d9",DiacriticalDoubleAcute:"\u02dd",DiacriticalGrave:"`",DiacriticalTilde:"\u02dc",diam:"\u22c4",Diamond:"\u22c4",diamond:"\u22c4",diamondsuit:"\u2666",diams:"\u2666",die:"\xa8",DifferentialD:"\u2146",digamma:"\u03dd",disin:"\u22f2",div:"\xf7",divide:"\xf7",divideontimes:"\u22c7",divonx:"\u22c7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231e",dlcrop:"\u230d",dollar:"$",Dopf:"\ud835\udd3b",dopf:"\ud835\udd55",Dot:"\xa8",dot:"\u02d9",DotDot:"\u20dc",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22a1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222f",DoubleDot:"\xa8",DoubleDownArrow:"\u21d3",DoubleLeftArrow:"\u21d0",DoubleLeftRightArrow:"\u21d4",DoubleLeftTee:"\u2ae4",DoubleLongLeftArrow:"\u27f8",DoubleLongLeftRightArrow:"\u27fa",DoubleLongRightArrow:"\u27f9",DoubleRightArrow:"\u21d2",DoubleRightTee:"\u22a8",DoubleUpArrow:"\u21d1",DoubleUpDownArrow:"\u21d5",DoubleVerticalBar:"\u2225",DownArrow:"\u2193",Downarrow:"\u21d3",downarrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21f5",DownBreve:"\u0311",downdownarrows:"\u21ca",downharpoonleft:"\u21c3",downharpoonright:"\u21c2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295e",DownLeftVector:"\u21bd",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295f",DownRightVector:"\u21c1",DownRightVectorBar:"\u2957",DownTee:"\u22a4",DownTeeArrow:"\u21a7",drbkarow:"\u2910",drcorn:"\u231f",drcrop:"\u230c",Dscr:"\ud835\udc9f",dscr:"\ud835\udcb9",DScy:"\u0405",dscy:"\u0455",dsol:"\u29f6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22f1",dtri:"\u25bf",dtrif:"\u25be",duarr:"\u21f5",duhar:"\u296f",dwangle:"\u29a6",DZcy:"\u040f",dzcy:"\u045f",dzigrarr:"\u27ff",Eacute:"\xc9",eacute:"\xe9",easter:"\u2a6e",Ecaron:"\u011a",ecaron:"\u011b",ecir:"\u2256",Ecirc:"\xca",ecirc:"\xea",ecolon:"\u2255",Ecy:"\u042d",ecy:"\u044d",eDDot:"\u2a77",Edot:"\u0116",eDot:"\u2251",edot:"\u0117",ee:"\u2147",efDot:"\u2252",Efr:"\ud835\udd08",efr:"\ud835\udd22",eg:"\u2a9a",Egrave:"\xc8",egrave:"\xe8",egs:"\u2a96",egsdot:"\u2a98",el:"\u2a99",Element:"\u2208",elinters:"\u23e7",ell:"\u2113",els:"\u2a95",elsdot:"\u2a97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25fb",emptyv:"\u2205",EmptyVerySmallSquare:"\u25ab",emsp:"\u2003",emsp13:"\u2004",emsp14:"\u2005",ENG:"\u014a",eng:"\u014b",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\ud835\udd3c",eopf:"\ud835\udd56",epar:"\u22d5",eparsl:"\u29e3",eplus:"\u2a71",epsi:"\u03b5",Epsilon:"\u0395",epsilon:"\u03b5",epsiv:"\u03f5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2a96",eqslantless:"\u2a95",Equal:"\u2a75",equals:"=",EqualTilde:"\u2242",equest:"\u225f",Equilibrium:"\u21cc",equiv:"\u2261",equivDD:"\u2a78",eqvparsl:"\u29e5",erarr:"\u2971",erDot:"\u2253",Escr:"\u2130",escr:"\u212f",esdot:"\u2250",Esim:"\u2a73",esim:"\u2242",Eta:"\u0397",eta:"\u03b7",ETH:"\xd0",eth:"\xf0",Euml:"\xcb",euml:"\xeb",euro:"\u20ac",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",ExponentialE:"\u2147",exponentiale:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\ufb03",fflig:"\ufb00",ffllig:"\ufb04",Ffr:"\ud835\udd09",ffr:"\ud835\udd23",filig:"\ufb01",FilledSmallSquare:"\u25fc",FilledVerySmallSquare:"\u25aa",fjlig:"fj",flat:"\u266d",fllig:"\ufb02",fltns:"\u25b1",fnof:"\u0192",Fopf:"\ud835\udd3d",fopf:"\ud835\udd57",ForAll:"\u2200",forall:"\u2200",fork:"\u22d4",forkv:"\u2ad9",Fouriertrf:"\u2131",fpartint:"\u2a0d",frac12:"\xbd",frac13:"\u2153",frac14:"\xbc",frac15:"\u2155",frac16:"\u2159",frac18:"\u215b",frac23:"\u2154",frac25:"\u2156",frac34:"\xbe",frac35:"\u2157",frac38:"\u215c",frac45:"\u2158",frac56:"\u215a",frac58:"\u215d",frac78:"\u215e",frasl:"\u2044",frown:"\u2322",Fscr:"\u2131",fscr:"\ud835\udcbb",gacute:"\u01f5",Gamma:"\u0393",gamma:"\u03b3",Gammad:"\u03dc",gammad:"\u03dd",gap:"\u2a86",Gbreve:"\u011e",gbreve:"\u011f",Gcedil:"\u0122",Gcirc:"\u011c",gcirc:"\u011d",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",gE:"\u2267",ge:"\u2265",gEl:"\u2a8c",gel:"\u22db",geq:"\u2265",geqq:"\u2267",geqslant:"\u2a7e",ges:"\u2a7e",gescc:"\u2aa9",gesdot:"\u2a80",gesdoto:"\u2a82",gesdotol:"\u2a84",gesl:"\u22db\ufe00",gesles:"\u2a94",Gfr:"\ud835\udd0a",gfr:"\ud835\udd24",Gg:"\u22d9",gg:"\u226b",ggg:"\u22d9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gl:"\u2277",gla:"\u2aa5",glE:"\u2a92",glj:"\u2aa4",gnap:"\u2a8a",gnapprox:"\u2a8a",gnE:"\u2269",gne:"\u2a88",gneq:"\u2a88",gneqq:"\u2269",gnsim:"\u22e7",Gopf:"\ud835\udd3e",gopf:"\ud835\udd58",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22db",GreaterFullEqual:"\u2267",GreaterGreater:"\u2aa2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2a7e",GreaterTilde:"\u2273",Gscr:"\ud835\udca2",gscr:"\u210a",gsim:"\u2273",gsime:"\u2a8e",gsiml:"\u2a90",Gt:"\u226b",GT:">",gt:">",gtcc:"\u2aa7",gtcir:"\u2a7a",gtdot:"\u22d7",gtlPar:"\u2995",gtquest:"\u2a7c",gtrapprox:"\u2a86",gtrarr:"\u2978",gtrdot:"\u22d7",gtreqless:"\u22db",gtreqqless:"\u2a8c",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\ufe00",gvnE:"\u2269\ufe00",Hacek:"\u02c7",hairsp:"\u200a",half:"\xbd",hamilt:"\u210b",HARDcy:"\u042a",hardcy:"\u044a",hArr:"\u21d4",harr:"\u2194",harrcir:"\u2948",harrw:"\u21ad",Hat:"^",hbar:"\u210f",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22b9",Hfr:"\u210c",hfr:"\ud835\udd25",HilbertSpace:"\u210b",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21ff",homtht:"\u223b",hookleftarrow:"\u21a9",hookrightarrow:"\u21aa",Hopf:"\u210d",hopf:"\ud835\udd59",horbar:"\u2015",HorizontalLine:"\u2500",Hscr:"\u210b",hscr:"\ud835\udcbd",hslash:"\u210f",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224e",HumpEqual:"\u224f",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xcd",iacute:"\xed",ic:"\u2063",Icirc:"\xce",icirc:"\xee",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xa1",iff:"\u21d4",Ifr:"\u2111",ifr:"\ud835\udd26",Igrave:"\xcc",igrave:"\xec",ii:"\u2148",iiiint:"\u2a0c",iiint:"\u222d",iinfin:"\u29dc",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Im:"\u2111",Imacr:"\u012a",imacr:"\u012b",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22b7",imped:"\u01b5",Implies:"\u21d2",in:"\u2208",incare:"\u2105",infin:"\u221e",infintie:"\u29dd",inodot:"\u0131",Int:"\u222c",int:"\u222b",intcal:"\u22ba",integers:"\u2124",Integral:"\u222b",intercal:"\u22ba",Intersection:"\u22c2",intlarhk:"\u2a17",intprod:"\u2a3c",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012e",iogon:"\u012f",Iopf:"\ud835\udd40",iopf:"\ud835\udd5a",Iota:"\u0399",iota:"\u03b9",iprod:"\u2a3c",iquest:"\xbf",Iscr:"\u2110",iscr:"\ud835\udcbe",isin:"\u2208",isindot:"\u22f5",isinE:"\u22f9",isins:"\u22f4",isinsv:"\u22f3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xcf",iuml:"\xef",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\ud835\udd0d",jfr:"\ud835\udd27",jmath:"\u0237",Jopf:"\ud835\udd41",jopf:"\ud835\udd5b",Jscr:"\ud835\udca5",jscr:"\ud835\udcbf",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039a",kappa:"\u03ba",kappav:"\u03f0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041a",kcy:"\u043a",Kfr:"\ud835\udd0e",kfr:"\ud835\udd28",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040c",kjcy:"\u045c",Kopf:"\ud835\udd42",kopf:"\ud835\udd5c",Kscr:"\ud835\udca6",kscr:"\ud835\udcc0",lAarr:"\u21da",Lacute:"\u0139",lacute:"\u013a",laemptyv:"\u29b4",lagran:"\u2112",Lambda:"\u039b",lambda:"\u03bb",Lang:"\u27ea",lang:"\u27e8",langd:"\u2991",langle:"\u27e8",lap:"\u2a85",Laplacetrf:"\u2112",laquo:"\xab",Larr:"\u219e",lArr:"\u21d0",larr:"\u2190",larrb:"\u21e4",larrbfs:"\u291f",larrfs:"\u291d",larrhk:"\u21a9",larrlp:"\u21ab",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21a2",lat:"\u2aab",lAtail:"\u291b",latail:"\u2919",late:"\u2aad",lates:"\u2aad\ufe00",lBarr:"\u290e",lbarr:"\u290c",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298b",lbrksld:"\u298f",lbrkslu:"\u298d",Lcaron:"\u013d",lcaron:"\u013e",Lcedil:"\u013b",lcedil:"\u013c",lceil:"\u2308",lcub:"{",Lcy:"\u041b",lcy:"\u043b",ldca:"\u2936",ldquo:"\u201c",ldquor:"\u201e",ldrdhar:"\u2967",ldrushar:"\u294b",ldsh:"\u21b2",lE:"\u2266",le:"\u2264",LeftAngleBracket:"\u27e8",LeftArrow:"\u2190",Leftarrow:"\u21d0",leftarrow:"\u2190",LeftArrowBar:"\u21e4",LeftArrowRightArrow:"\u21c6",leftarrowtail:"\u21a2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27e6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21c3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230a",leftharpoondown:"\u21bd",leftharpoonup:"\u21bc",leftleftarrows:"\u21c7",LeftRightArrow:"\u2194",Leftrightarrow:"\u21d4",leftrightarrow:"\u2194",leftrightarrows:"\u21c6",leftrightharpoons:"\u21cb",leftrightsquigarrow:"\u21ad",LeftRightVector:"\u294e",LeftTee:"\u22a3",LeftTeeArrow:"\u21a4",LeftTeeVector:"\u295a",leftthreetimes:"\u22cb",LeftTriangle:"\u22b2",LeftTriangleBar:"\u29cf",LeftTriangleEqual:"\u22b4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21bf",LeftUpVectorBar:"\u2958",LeftVector:"\u21bc",LeftVectorBar:"\u2952",lEg:"\u2a8b",leg:"\u22da",leq:"\u2264",leqq:"\u2266",leqslant:"\u2a7d",les:"\u2a7d",lescc:"\u2aa8",lesdot:"\u2a7f",lesdoto:"\u2a81",lesdotor:"\u2a83",lesg:"\u22da\ufe00",lesges:"\u2a93",lessapprox:"\u2a85",lessdot:"\u22d6",lesseqgtr:"\u22da",lesseqqgtr:"\u2a8b",LessEqualGreater:"\u22da",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2aa1",lesssim:"\u2272",LessSlantEqual:"\u2a7d",LessTilde:"\u2272",lfisht:"\u297c",lfloor:"\u230a",Lfr:"\ud835\udd0f",lfr:"\ud835\udd29",lg:"\u2276",lgE:"\u2a91",lHar:"\u2962",lhard:"\u21bd",lharu:"\u21bc",lharul:"\u296a",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",Ll:"\u22d8",ll:"\u226a",llarr:"\u21c7",llcorner:"\u231e",Lleftarrow:"\u21da",llhard:"\u296b",lltri:"\u25fa",Lmidot:"\u013f",lmidot:"\u0140",lmoust:"\u23b0",lmoustache:"\u23b0",lnap:"\u2a89",lnapprox:"\u2a89",lnE:"\u2268",lne:"\u2a87",lneq:"\u2a87",lneqq:"\u2268",lnsim:"\u22e6",loang:"\u27ec",loarr:"\u21fd",lobrk:"\u27e6",LongLeftArrow:"\u27f5",Longleftarrow:"\u27f8",longleftarrow:"\u27f5",LongLeftRightArrow:"\u27f7",Longleftrightarrow:"\u27fa",longleftrightarrow:"\u27f7",longmapsto:"\u27fc",LongRightArrow:"\u27f6",Longrightarrow:"\u27f9",longrightarrow:"\u27f6",looparrowleft:"\u21ab",looparrowright:"\u21ac",lopar:"\u2985",Lopf:"\ud835\udd43",lopf:"\ud835\udd5d",loplus:"\u2a2d",lotimes:"\u2a34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25ca",lozenge:"\u25ca",lozf:"\u29eb",lpar:"(",lparlt:"\u2993",lrarr:"\u21c6",lrcorner:"\u231f",lrhar:"\u21cb",lrhard:"\u296d",lrm:"\u200e",lrtri:"\u22bf",lsaquo:"\u2039",Lscr:"\u2112",lscr:"\ud835\udcc1",Lsh:"\u21b0",lsh:"\u21b0",lsim:"\u2272",lsime:"\u2a8d",lsimg:"\u2a8f",lsqb:"[",lsquo:"\u2018",lsquor:"\u201a",Lstrok:"\u0141",lstrok:"\u0142",Lt:"\u226a",LT:"<",lt:"<",ltcc:"\u2aa6",ltcir:"\u2a79",ltdot:"\u22d6",lthree:"\u22cb",ltimes:"\u22c9",ltlarr:"\u2976",ltquest:"\u2a7b",ltri:"\u25c3",ltrie:"\u22b4",ltrif:"\u25c2",ltrPar:"\u2996",lurdshar:"\u294a",luruhar:"\u2966",lvertneqq:"\u2268\ufe00",lvnE:"\u2268\ufe00",macr:"\xaf",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21a6",mapsto:"\u21a6",mapstodown:"\u21a7",mapstoleft:"\u21a4",mapstoup:"\u21a5",marker:"\u25ae",mcomma:"\u2a29",Mcy:"\u041c",mcy:"\u043c",mdash:"\u2014",mDDot:"\u223a",measuredangle:"\u2221",MediumSpace:"\u205f",Mellintrf:"\u2133",Mfr:"\ud835\udd10",mfr:"\ud835\udd2a",mho:"\u2127",micro:"\xb5",mid:"\u2223",midast:"*",midcir:"\u2af0",middot:"\xb7",minus:"\u2212",minusb:"\u229f",minusd:"\u2238",minusdu:"\u2a2a",MinusPlus:"\u2213",mlcp:"\u2adb",mldr:"\u2026",mnplus:"\u2213",models:"\u22a7",Mopf:"\ud835\udd44",mopf:"\ud835\udd5e",mp:"\u2213",Mscr:"\u2133",mscr:"\ud835\udcc2",mstpos:"\u223e",Mu:"\u039c",mu:"\u03bc",multimap:"\u22b8",mumap:"\u22b8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20d2",nap:"\u2249",napE:"\u2a70\u0338",napid:"\u224b\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266e",natural:"\u266e",naturals:"\u2115",nbsp:"\xa0",nbump:"\u224e\u0338",nbumpe:"\u224f\u0338",ncap:"\u2a43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2a6d\u0338",ncup:"\u2a42",Ncy:"\u041d",ncy:"\u043d",ndash:"\u2013",ne:"\u2260",nearhk:"\u2924",neArr:"\u21d7",nearr:"\u2197",nearrow:"\u2197",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200b",NegativeThickSpace:"\u200b",NegativeThinSpace:"\u200b",NegativeVeryThinSpace:"\u200b",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226b",NestedLessLess:"\u226a",NewLine:"\n",nexist:"\u2204",nexists:"\u2204",Nfr:"\ud835\udd11",nfr:"\ud835\udd2b",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2a7e\u0338",nges:"\u2a7e\u0338",nGg:"\u22d9\u0338",ngsim:"\u2275",nGt:"\u226b\u20d2",ngt:"\u226f",ngtr:"\u226f",nGtv:"\u226b\u0338",nhArr:"\u21ce",nharr:"\u21ae",nhpar:"\u2af2",ni:"\u220b",nis:"\u22fc",nisd:"\u22fa",niv:"\u220b",NJcy:"\u040a",njcy:"\u045a",nlArr:"\u21cd",nlarr:"\u219a",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nLeftarrow:"\u21cd",nleftarrow:"\u219a",nLeftrightarrow:"\u21ce",nleftrightarrow:"\u21ae",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2a7d\u0338",nles:"\u2a7d\u0338",nless:"\u226e",nLl:"\u22d8\u0338",nlsim:"\u2274",nLt:"\u226a\u20d2",nlt:"\u226e",nltri:"\u22ea",nltrie:"\u22ec",nLtv:"\u226a\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xa0",Nopf:"\u2115",nopf:"\ud835\udd5f",Not:"\u2aec",not:"\xac",NotCongruent:"\u2262",NotCupCap:"\u226d",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226f",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226b\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2a7e\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224e\u0338",NotHumpEqual:"\u224f\u0338",notin:"\u2209",notindot:"\u22f5\u0338",notinE:"\u22f9\u0338",notinva:"\u2209",notinvb:"\u22f7",notinvc:"\u22f6",NotLeftTriangle:"\u22ea",NotLeftTriangleBar:"\u29cf\u0338",NotLeftTriangleEqual:"\u22ec",NotLess:"\u226e",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226a\u0338",NotLessSlantEqual:"\u2a7d\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2aa2\u0338",NotNestedLessLess:"\u2aa1\u0338",notni:"\u220c",notniva:"\u220c",notnivb:"\u22fe",notnivc:"\u22fd",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2aaf\u0338",NotPrecedesSlantEqual:"\u22e0",NotReverseElement:"\u220c",NotRightTriangle:"\u22eb",NotRightTriangleBar:"\u29d0\u0338",NotRightTriangleEqual:"\u22ed",NotSquareSubset:"\u228f\u0338",NotSquareSubsetEqual:"\u22e2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22e3",NotSubset:"\u2282\u20d2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2ab0\u0338",NotSucceedsSlantEqual:"\u22e1",NotSucceedsTilde:"\u227f\u0338",NotSuperset:"\u2283\u20d2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2afd\u20e5",npart:"\u2202\u0338",npolint:"\u2a14",npr:"\u2280",nprcue:"\u22e0",npre:"\u2aaf\u0338",nprec:"\u2280",npreceq:"\u2aaf\u0338",nrArr:"\u21cf",nrarr:"\u219b",nrarrc:"\u2933\u0338",nrarrw:"\u219d\u0338",nRightarrow:"\u21cf",nrightarrow:"\u219b",nrtri:"\u22eb",nrtrie:"\u22ed",nsc:"\u2281",nsccue:"\u22e1",nsce:"\u2ab0\u0338",Nscr:"\ud835\udca9",nscr:"\ud835\udcc3",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22e2",nsqsupe:"\u22e3",nsub:"\u2284",nsubE:"\u2ac5\u0338",nsube:"\u2288",nsubset:"\u2282\u20d2",nsubseteq:"\u2288",nsubseteqq:"\u2ac5\u0338",nsucc:"\u2281",nsucceq:"\u2ab0\u0338",nsup:"\u2285",nsupE:"\u2ac6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20d2",nsupseteq:"\u2289",nsupseteqq:"\u2ac6\u0338",ntgl:"\u2279",Ntilde:"\xd1",ntilde:"\xf1",ntlg:"\u2278",ntriangleleft:"\u22ea",ntrianglelefteq:"\u22ec",ntriangleright:"\u22eb",ntrianglerighteq:"\u22ed",Nu:"\u039d",nu:"\u03bd",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224d\u20d2",nVDash:"\u22af",nVdash:"\u22ae",nvDash:"\u22ad",nvdash:"\u22ac",nvge:"\u2265\u20d2",nvgt:">\u20d2",nvHarr:"\u2904",nvinfin:"\u29de",nvlArr:"\u2902",nvle:"\u2264\u20d2",nvlt:"<\u20d2",nvltrie:"\u22b4\u20d2",nvrArr:"\u2903",nvrtrie:"\u22b5\u20d2",nvsim:"\u223c\u20d2",nwarhk:"\u2923",nwArr:"\u21d6",nwarr:"\u2196",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xd3",oacute:"\xf3",oast:"\u229b",ocir:"\u229a",Ocirc:"\xd4",ocirc:"\xf4",Ocy:"\u041e",ocy:"\u043e",odash:"\u229d",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2a38",odot:"\u2299",odsold:"\u29bc",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29bf",Ofr:"\ud835\udd12",ofr:"\ud835\udd2c",ogon:"\u02db",Ograve:"\xd2",ograve:"\xf2",ogt:"\u29c1",ohbar:"\u29b5",ohm:"\u03a9",oint:"\u222e",olarr:"\u21ba",olcir:"\u29be",olcross:"\u29bb",oline:"\u203e",olt:"\u29c0",Omacr:"\u014c",omacr:"\u014d",Omega:"\u03a9",omega:"\u03c9",Omicron:"\u039f",omicron:"\u03bf",omid:"\u29b6",ominus:"\u2296",Oopf:"\ud835\udd46",oopf:"\ud835\udd60",opar:"\u29b7",OpenCurlyDoubleQuote:"\u201c",OpenCurlyQuote:"\u2018",operp:"\u29b9",oplus:"\u2295",Or:"\u2a54",or:"\u2228",orarr:"\u21bb",ord:"\u2a5d",order:"\u2134",orderof:"\u2134",ordf:"\xaa",ordm:"\xba",origof:"\u22b6",oror:"\u2a56",orslope:"\u2a57",orv:"\u2a5b",oS:"\u24c8",Oscr:"\ud835\udcaa",oscr:"\u2134",Oslash:"\xd8",oslash:"\xf8",osol:"\u2298",Otilde:"\xd5",otilde:"\xf5",Otimes:"\u2a37",otimes:"\u2297",otimesas:"\u2a36",Ouml:"\xd6",ouml:"\xf6",ovbar:"\u233d",OverBar:"\u203e",OverBrace:"\u23de",OverBracket:"\u23b4",OverParenthesis:"\u23dc",par:"\u2225",para:"\xb6",parallel:"\u2225",parsim:"\u2af3",parsl:"\u2afd",part:"\u2202",PartialD:"\u2202",Pcy:"\u041f",pcy:"\u043f",percnt:"%",period:".",permil:"\u2030",perp:"\u22a5",pertenk:"\u2031",Pfr:"\ud835\udd13",pfr:"\ud835\udd2d",Phi:"\u03a6",phi:"\u03c6",phiv:"\u03d5",phmmat:"\u2133",phone:"\u260e",Pi:"\u03a0",pi:"\u03c0",pitchfork:"\u22d4",piv:"\u03d6",planck:"\u210f",planckh:"\u210e",plankv:"\u210f",plus:"+",plusacir:"\u2a23",plusb:"\u229e",pluscir:"\u2a22",plusdo:"\u2214",plusdu:"\u2a25",pluse:"\u2a72",PlusMinus:"\xb1",plusmn:"\xb1",plussim:"\u2a26",plustwo:"\u2a27",pm:"\xb1",Poincareplane:"\u210c",pointint:"\u2a15",Popf:"\u2119",popf:"\ud835\udd61",pound:"\xa3",Pr:"\u2abb",pr:"\u227a",prap:"\u2ab7",prcue:"\u227c",prE:"\u2ab3",pre:"\u2aaf",prec:"\u227a",precapprox:"\u2ab7",preccurlyeq:"\u227c",Precedes:"\u227a",PrecedesEqual:"\u2aaf",PrecedesSlantEqual:"\u227c",PrecedesTilde:"\u227e",preceq:"\u2aaf",precnapprox:"\u2ab9",precneqq:"\u2ab5",precnsim:"\u22e8",precsim:"\u227e",Prime:"\u2033",prime:"\u2032",primes:"\u2119",prnap:"\u2ab9",prnE:"\u2ab5",prnsim:"\u22e8",prod:"\u220f",Product:"\u220f",profalar:"\u232e",profline:"\u2312",profsurf:"\u2313",prop:"\u221d",Proportion:"\u2237",Proportional:"\u221d",propto:"\u221d",prsim:"\u227e",prurel:"\u22b0",Pscr:"\ud835\udcab",pscr:"\ud835\udcc5",Psi:"\u03a8",psi:"\u03c8",puncsp:"\u2008",Qfr:"\ud835\udd14",qfr:"\ud835\udd2e",qint:"\u2a0c",Qopf:"\u211a",qopf:"\ud835\udd62",qprime:"\u2057",Qscr:"\ud835\udcac",qscr:"\ud835\udcc6",quaternions:"\u210d",quatint:"\u2a16",quest:"?",questeq:"\u225f",QUOT:'"',quot:'"',rAarr:"\u21db",race:"\u223d\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221a",raemptyv:"\u29b3",Rang:"\u27eb",rang:"\u27e9",rangd:"\u2992",range:"\u29a5",rangle:"\u27e9",raquo:"\xbb",Rarr:"\u21a0",rArr:"\u21d2",rarr:"\u2192",rarrap:"\u2975",rarrb:"\u21e5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291e",rarrhk:"\u21aa",rarrlp:"\u21ac",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21a3",rarrw:"\u219d",rAtail:"\u291c",ratail:"\u291a",ratio:"\u2236",rationals:"\u211a",RBarr:"\u2910",rBarr:"\u290f",rbarr:"\u290d",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298c",rbrksld:"\u298e",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201d",rdquor:"\u201d",rdsh:"\u21b3",Re:"\u211c",real:"\u211c",realine:"\u211b",realpart:"\u211c",reals:"\u211d",rect:"\u25ad",REG:"\xae",reg:"\xae",ReverseElement:"\u220b",ReverseEquilibrium:"\u21cb",ReverseUpEquilibrium:"\u296f",rfisht:"\u297d",rfloor:"\u230b",Rfr:"\u211c",rfr:"\ud835\udd2f",rHar:"\u2964",rhard:"\u21c1",rharu:"\u21c0",rharul:"\u296c",Rho:"\u03a1",rho:"\u03c1",rhov:"\u03f1",RightAngleBracket:"\u27e9",RightArrow:"\u2192",Rightarrow:"\u21d2",rightarrow:"\u2192",RightArrowBar:"\u21e5",RightArrowLeftArrow:"\u21c4",rightarrowtail:"\u21a3",RightCeiling:"\u2309",RightDoubleBracket:"\u27e7",RightDownTeeVector:"\u295d",RightDownVector:"\u21c2",RightDownVectorBar:"\u2955",RightFloor:"\u230b",rightharpoondown:"\u21c1",rightharpoonup:"\u21c0",rightleftarrows:"\u21c4",rightleftharpoons:"\u21cc",rightrightarrows:"\u21c9",rightsquigarrow:"\u219d",RightTee:"\u22a2",RightTeeArrow:"\u21a6",RightTeeVector:"\u295b",rightthreetimes:"\u22cc",RightTriangle:"\u22b3",RightTriangleBar:"\u29d0",RightTriangleEqual:"\u22b5",RightUpDownVector:"\u294f",RightUpTeeVector:"\u295c",RightUpVector:"\u21be",RightUpVectorBar:"\u2954",RightVector:"\u21c0",RightVectorBar:"\u2953",ring:"\u02da",risingdotseq:"\u2253",rlarr:"\u21c4",rlhar:"\u21cc",rlm:"\u200f",rmoust:"\u23b1",rmoustache:"\u23b1",rnmid:"\u2aee",roang:"\u27ed",roarr:"\u21fe",robrk:"\u27e7",ropar:"\u2986",Ropf:"\u211d",ropf:"\ud835\udd63",roplus:"\u2a2e",rotimes:"\u2a35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2a12",rrarr:"\u21c9",Rrightarrow:"\u21db",rsaquo:"\u203a",Rscr:"\u211b",rscr:"\ud835\udcc7",Rsh:"\u21b1",rsh:"\u21b1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22cc",rtimes:"\u22ca",rtri:"\u25b9",rtrie:"\u22b5",rtrif:"\u25b8",rtriltri:"\u29ce",RuleDelayed:"\u29f4",ruluhar:"\u2968",rx:"\u211e",Sacute:"\u015a",sacute:"\u015b",sbquo:"\u201a",Sc:"\u2abc",sc:"\u227b",scap:"\u2ab8",Scaron:"\u0160",scaron:"\u0161",sccue:"\u227d",scE:"\u2ab4",sce:"\u2ab0",Scedil:"\u015e",scedil:"\u015f",Scirc:"\u015c",scirc:"\u015d",scnap:"\u2aba",scnE:"\u2ab6",scnsim:"\u22e9",scpolint:"\u2a13",scsim:"\u227f",Scy:"\u0421",scy:"\u0441",sdot:"\u22c5",sdotb:"\u22a1",sdote:"\u2a66",searhk:"\u2925",seArr:"\u21d8",searr:"\u2198",searrow:"\u2198",sect:"\xa7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\ud835\udd16",sfr:"\ud835\udd30",sfrown:"\u2322",sharp:"\u266f",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xad",Sigma:"\u03a3",sigma:"\u03c3",sigmaf:"\u03c2",sigmav:"\u03c2",sim:"\u223c",simdot:"\u2a6a",sime:"\u2243",simeq:"\u2243",simg:"\u2a9e",simgE:"\u2aa0",siml:"\u2a9d",simlE:"\u2a9f",simne:"\u2246",simplus:"\u2a24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2a33",smeparsl:"\u29e4",smid:"\u2223",smile:"\u2323",smt:"\u2aaa",smte:"\u2aac",smtes:"\u2aac\ufe00",SOFTcy:"\u042c",softcy:"\u044c",sol:"/",solb:"\u29c4",solbar:"\u233f",Sopf:"\ud835\udd4a",sopf:"\ud835\udd64",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\ufe00",sqcup:"\u2294",sqcups:"\u2294\ufe00",Sqrt:"\u221a",sqsub:"\u228f",sqsube:"\u2291",sqsubset:"\u228f",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25a1",Square:"\u25a1",square:"\u25a1",SquareIntersection:"\u2293",SquareSubset:"\u228f",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25aa",squf:"\u25aa",srarr:"\u2192",Sscr:"\ud835\udcae",sscr:"\ud835\udcc8",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22c6",Star:"\u22c6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03f5",straightphi:"\u03d5",strns:"\xaf",Sub:"\u22d0",sub:"\u2282",subdot:"\u2abd",subE:"\u2ac5",sube:"\u2286",subedot:"\u2ac3",submult:"\u2ac1",subnE:"\u2acb",subne:"\u228a",subplus:"\u2abf",subrarr:"\u2979",Subset:"\u22d0",subset:"\u2282",subseteq:"\u2286",subseteqq:"\u2ac5",SubsetEqual:"\u2286",subsetneq:"\u228a",subsetneqq:"\u2acb",subsim:"\u2ac7",subsub:"\u2ad5",subsup:"\u2ad3",succ:"\u227b",succapprox:"\u2ab8",succcurlyeq:"\u227d",Succeeds:"\u227b",SucceedsEqual:"\u2ab0",SucceedsSlantEqual:"\u227d",SucceedsTilde:"\u227f",succeq:"\u2ab0",succnapprox:"\u2aba",succneqq:"\u2ab6",succnsim:"\u22e9",succsim:"\u227f",SuchThat:"\u220b",Sum:"\u2211",sum:"\u2211",sung:"\u266a",Sup:"\u22d1",sup:"\u2283",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",supdot:"\u2abe",supdsub:"\u2ad8",supE:"\u2ac6",supe:"\u2287",supedot:"\u2ac4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27c9",suphsub:"\u2ad7",suplarr:"\u297b",supmult:"\u2ac2",supnE:"\u2acc",supne:"\u228b",supplus:"\u2ac0",Supset:"\u22d1",supset:"\u2283",supseteq:"\u2287",supseteqq:"\u2ac6",supsetneq:"\u228b",supsetneqq:"\u2acc",supsim:"\u2ac8",supsub:"\u2ad4",supsup:"\u2ad6",swarhk:"\u2926",swArr:"\u21d9",swarr:"\u2199",swarrow:"\u2199",swnwar:"\u292a",szlig:"\xdf",Tab:"\t",target:"\u2316",Tau:"\u03a4",tau:"\u03c4",tbrk:"\u23b4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20db",telrec:"\u2315",Tfr:"\ud835\udd17",tfr:"\ud835\udd31",there4:"\u2234",Therefore:"\u2234",therefore:"\u2234",Theta:"\u0398",theta:"\u03b8",thetasym:"\u03d1",thetav:"\u03d1",thickapprox:"\u2248",thicksim:"\u223c",ThickSpace:"\u205f\u200a",thinsp:"\u2009",ThinSpace:"\u2009",thkap:"\u2248",thksim:"\u223c",THORN:"\xde",thorn:"\xfe",Tilde:"\u223c",tilde:"\u02dc",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",times:"\xd7",timesb:"\u22a0",timesbar:"\u2a31",timesd:"\u2a30",tint:"\u222d",toea:"\u2928",top:"\u22a4",topbot:"\u2336",topcir:"\u2af1",Topf:"\ud835\udd4b",topf:"\ud835\udd65",topfork:"\u2ada",tosa:"\u2929",tprime:"\u2034",TRADE:"\u2122",trade:"\u2122",triangle:"\u25b5",triangledown:"\u25bf",triangleleft:"\u25c3",trianglelefteq:"\u22b4",triangleq:"\u225c",triangleright:"\u25b9",trianglerighteq:"\u22b5",tridot:"\u25ec",trie:"\u225c",triminus:"\u2a3a",TripleDot:"\u20db",triplus:"\u2a39",trisb:"\u29cd",tritime:"\u2a3b",trpezium:"\u23e2",Tscr:"\ud835\udcaf",tscr:"\ud835\udcc9",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040b",tshcy:"\u045b",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226c",twoheadleftarrow:"\u219e",twoheadrightarrow:"\u21a0",Uacute:"\xda",uacute:"\xfa",Uarr:"\u219f",uArr:"\u21d1",uarr:"\u2191",Uarrocir:"\u2949",Ubrcy:"\u040e",ubrcy:"\u045e",Ubreve:"\u016c",ubreve:"\u016d",Ucirc:"\xdb",ucirc:"\xfb",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21c5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296e",ufisht:"\u297e",Ufr:"\ud835\udd18",ufr:"\ud835\udd32",Ugrave:"\xd9",ugrave:"\xf9",uHar:"\u2963",uharl:"\u21bf",uharr:"\u21be",uhblk:"\u2580",ulcorn:"\u231c",ulcorner:"\u231c",ulcrop:"\u230f",ultri:"\u25f8",Umacr:"\u016a",umacr:"\u016b",uml:"\xa8",UnderBar:"_",UnderBrace:"\u23df",UnderBracket:"\u23b5",UnderParenthesis:"\u23dd",Union:"\u22c3",UnionPlus:"\u228e",Uogon:"\u0172",uogon:"\u0173",Uopf:"\ud835\udd4c",uopf:"\ud835\udd66",UpArrow:"\u2191",Uparrow:"\u21d1",uparrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21c5",UpDownArrow:"\u2195",Updownarrow:"\u21d5",updownarrow:"\u2195",UpEquilibrium:"\u296e",upharpoonleft:"\u21bf",upharpoonright:"\u21be",uplus:"\u228e",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",Upsi:"\u03d2",upsi:"\u03c5",upsih:"\u03d2",Upsilon:"\u03a5",upsilon:"\u03c5",UpTee:"\u22a5",UpTeeArrow:"\u21a5",upuparrows:"\u21c8",urcorn:"\u231d",urcorner:"\u231d",urcrop:"\u230e",Uring:"\u016e",uring:"\u016f",urtri:"\u25f9",Uscr:"\ud835\udcb0",uscr:"\ud835\udcca",utdot:"\u22f0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25b5",utrif:"\u25b4",uuarr:"\u21c8",Uuml:"\xdc",uuml:"\xfc",uwangle:"\u29a7",vangrt:"\u299c",varepsilon:"\u03f5",varkappa:"\u03f0",varnothing:"\u2205",varphi:"\u03d5",varpi:"\u03d6",varpropto:"\u221d",vArr:"\u21d5",varr:"\u2195",varrho:"\u03f1",varsigma:"\u03c2",varsubsetneq:"\u228a\ufe00",varsubsetneqq:"\u2acb\ufe00",varsupsetneq:"\u228b\ufe00",varsupsetneqq:"\u2acc\ufe00",vartheta:"\u03d1",vartriangleleft:"\u22b2",vartriangleright:"\u22b3",Vbar:"\u2aeb",vBar:"\u2ae8",vBarv:"\u2ae9",Vcy:"\u0412",vcy:"\u0432",VDash:"\u22ab",Vdash:"\u22a9",vDash:"\u22a8",vdash:"\u22a2",Vdashl:"\u2ae6",Vee:"\u22c1",vee:"\u2228",veebar:"\u22bb",veeeq:"\u225a",vellip:"\u22ee",Verbar:"\u2016",verbar:"|",Vert:"\u2016",vert:"|",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200a",Vfr:"\ud835\udd19",vfr:"\ud835\udd33",vltri:"\u22b2",vnsub:"\u2282\u20d2",vnsup:"\u2283\u20d2",Vopf:"\ud835\udd4d",vopf:"\ud835\udd67",vprop:"\u221d",vrtri:"\u22b3",Vscr:"\ud835\udcb1",vscr:"\ud835\udccb",vsubnE:"\u2acb\ufe00",vsubne:"\u228a\ufe00",vsupnE:"\u2acc\ufe00",vsupne:"\u228b\ufe00",Vvdash:"\u22aa",vzigzag:"\u299a",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2a5f",Wedge:"\u22c0",wedge:"\u2227",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\ud835\udd1a",wfr:"\ud835\udd34",Wopf:"\ud835\udd4e",wopf:"\ud835\udd68",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\ud835\udcb2",wscr:"\ud835\udccc",xcap:"\u22c2",xcirc:"\u25ef",xcup:"\u22c3",xdtri:"\u25bd",Xfr:"\ud835\udd1b",xfr:"\ud835\udd35",xhArr:"\u27fa",xharr:"\u27f7",Xi:"\u039e",xi:"\u03be",xlArr:"\u27f8",xlarr:"\u27f5",xmap:"\u27fc",xnis:"\u22fb",xodot:"\u2a00",Xopf:"\ud835\udd4f",xopf:"\ud835\udd69",xoplus:"\u2a01",xotime:"\u2a02",xrArr:"\u27f9",xrarr:"\u27f6",Xscr:"\ud835\udcb3",xscr:"\ud835\udccd",xsqcup:"\u2a06",xuplus:"\u2a04",xutri:"\u25b3",xvee:"\u22c1",xwedge:"\u22c0",Yacute:"\xdd",yacute:"\xfd",YAcy:"\u042f",yacy:"\u044f",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042b",ycy:"\u044b",yen:"\xa5",Yfr:"\ud835\udd1c",yfr:"\ud835\udd36",YIcy:"\u0407",yicy:"\u0457",Yopf:"\ud835\udd50",yopf:"\ud835\udd6a",Yscr:"\ud835\udcb4",yscr:"\ud835\udcce",YUcy:"\u042e",yucy:"\u044e",Yuml:"\u0178",yuml:"\xff",Zacute:"\u0179",zacute:"\u017a",Zcaron:"\u017d",zcaron:"\u017e",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017b",zdot:"\u017c",zeetrf:"\u2128",ZeroWidthSpace:"\u200b",Zeta:"\u0396",zeta:"\u03b6",Zfr:"\u2128",zfr:"\ud835\udd37",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21dd",Zopf:"\u2124",zopf:"\ud835\udd6b",Zscr:"\ud835\udcb5",zscr:"\ud835\udccf",zwj:"\u200d",zwnj:"\u200c"}),t.entityMap=t.HTML_ENTITIES},65820:function(e,t,n){var r=n(66188);r.DOMImplementation,r.XMLSerializer,t.DOMParser=n(96018).DOMParser},47748:function(e,t,n){var r=n(12132).NAMESPACE,i=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,a=new RegExp("[\\-\\.0-9"+i.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),o=new RegExp("^"+i.source+a.source+"*(?::"+i.source+a.source+"*)?$");function s(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,s)}function u(){}function l(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function c(e,t,n,i,a,o){function s(e,t,r){n.attributeNames.hasOwnProperty(e)&&o.fatalError("Attribute "+e+" redefined"),n.addValue(e,t.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,a),r)}for(var u,l=++t,c=0;;){var d=e.charAt(l);switch(d){case"=":if(1===c)u=e.slice(t,l),c=3;else{if(2!==c)throw new Error("attribute equal must after attrName");c=3}break;case"'":case'"':if(3===c||1===c){if(1===c&&(o.warning('attribute value must after "="'),u=e.slice(t,l)),t=l+1,!((l=e.indexOf(d,t))>0))throw new Error("attribute value no end '"+d+"' match");s(u,p=e.slice(t,l),t-1),c=5}else{if(4!=c)throw new Error('attribute value must after "="');s(u,p=e.slice(t,l),t),o.warning('attribute "'+u+'" missed start quot('+d+")!!"),t=l+1,c=5}break;case"/":switch(c){case 0:n.setTagName(e.slice(t,l));case 5:case 6:case 7:c=7,n.closed=!0;case 4:case 1:break;case 2:n.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return o.error("unexpected end of input"),0==c&&n.setTagName(e.slice(t,l)),l;case">":switch(c){case 0:n.setTagName(e.slice(t,l));case 5:case 6:case 7:break;case 4:case 1:"/"===(p=e.slice(t,l)).slice(-1)&&(n.closed=!0,p=p.slice(0,-1));case 2:2===c&&(p=u),4==c?(o.warning('attribute "'+p+'" missed quot(")!'),s(u,p,t)):(r.isHTML(i[""])&&p.match(/^(?:disabled|checked|selected)$/i)||o.warning('attribute "'+p+'" missed value!! "'+p+'" instead!!'),s(p,p,t));break;case 3:throw new Error("attribute value missed!!")}return l;case"\x80":d=" ";default:if(d<=" ")switch(c){case 0:n.setTagName(e.slice(t,l)),c=6;break;case 1:u=e.slice(t,l),c=2;break;case 4:var p=e.slice(t,l);o.warning('attribute "'+p+'" missed quot(")!!'),s(u,p,t);case 5:c=6}else switch(c){case 2:n.tagName;r.isHTML(i[""])&&u.match(/^(?:disabled|checked|selected)$/i)||o.warning('attribute "'+u+'" missed value!! "'+u+'" instead2!!'),s(u,u,t),t=l,c=1;break;case 5:o.warning('attribute space is required"'+u+'"!!');case 6:c=1,t=l;break;case 3:c=4,t=l;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}l++}}function d(e,t,n){for(var i=e.tagName,a=null,o=e.length;o--;){var s=e[o],u=s.qName,l=s.value;if((h=u.indexOf(":"))>0)var c=s.prefix=u.slice(0,h),d=u.slice(h+1),p="xmlns"===c&&d;else d=u,c=null,p="xmlns"===u&&"";s.localName=d,!1!==p&&(null==a&&(a={},f(n,n={})),n[p]=a[p]=l,s.uri=r.XMLNS,t.startPrefixMapping(p,l))}for(o=e.length;o--;){(c=(s=e[o]).prefix)&&("xml"===c&&(s.uri=r.XML),"xmlns"!==c&&(s.uri=n[c||""]))}var h;(h=i.indexOf(":"))>0?(c=e.prefix=i.slice(0,h),d=e.localName=i.slice(h+1)):(c=null,d=e.localName=i);var m=e.uri=n[c||""];if(t.startElement(m,d,i,e),!e.closed)return e.currentNSMap=n,e.localNSMap=a,!0;if(t.endElement(m,d,i),a)for(c in a)Object.prototype.hasOwnProperty.call(a,c)&&t.endPrefixMapping(c)}function p(e,t,n,r,i){if(/^(?:script|textarea)$/i.test(n)){var a=e.indexOf("",t),o=e.substring(t+1,a);if(/[&<]/.test(o))return/^script$/i.test(n)?(i.characters(o,0,o.length),a):(o=o.replace(/&#?\w+;/g,r),i.characters(o,0,o.length),a)}return t+1}function h(e,t,n,r){var i=r[n];return null==i&&((i=e.lastIndexOf(""))t?(n.comment(e,t+4,i-t-4),i+3):(r.error("Unclosed comment"),-1):-1;if("CDATA["==e.substr(t+3,6)){var i=e.indexOf("]]>",t+9);return n.startCDATA(),n.characters(e,t+9,i-t-9),n.endCDATA(),i+3}var a=function(e,t){var n,r=[],i=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;i.lastIndex=t,i.exec(e);for(;n=i.exec(e);)if(r.push(n),n[1])return r}(e,t),o=a.length;if(o>1&&/!doctype/i.test(a[0][0])){var s=a[1][0],u=!1,l=!1;o>3&&(/^public$/i.test(a[2][0])?(u=a[3][0],l=o>4&&a[4][0]):/^system$/i.test(a[2][0])&&(l=a[3][0]));var c=a[o-1];return n.startDTD(s,u,l),n.endDTD(),c.index+c[0].length}return-1}function g(e,t,n){var r=e.indexOf("?>",t);if(r){var i=e.substring(t,r).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(i){i[0].length;return n.processingInstruction(i[1],i[2]),r+2}return-1}return-1}function v(){this.attributeNames={}}s.prototype=new Error,s.prototype.name=s.name,u.prototype={parse:function(e,t,n){var i=this.domBuilder;i.startDocument(),f(t,t={}),function(e,t,n,i,a){function o(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}function u(e){var t=e.slice(1,-1);return Object.hasOwnProperty.call(n,t)?n[t]:"#"===t.charAt(0)?o(parseInt(t.substr(1).replace("x","0x"))):(a.error("entity not found:"+e),e)}function f(t){if(t>E){var n=e.substring(E,t).replace(/&#?\w+;/g,u);T&&y(E),i.characters(n,0,t-E),E=t}}function y(t,n){for(;t>=b&&(n=w.exec(e));)_=n.index,b=_+n[0].length,T.lineNumber++;T.columnNumber=t-_+1}var _=0,b=0,w=/.*(?:\r\n?|\n)|.*$/g,T=i.locator,k=[{currentNSMap:t}],S={},E=0;for(;;){try{var C=e.indexOf("<",E);if(C<0){if(!e.substr(E).match(/^\s*$/)){var A=i.doc,x=A.createTextNode(e.substr(E));A.appendChild(x),i.currentElement=x}return}switch(C>E&&f(C),e.charAt(C+1)){case"/":var P=e.indexOf(">",C+3),I=e.substring(C+2,P).replace(/[ \t\n\r]+$/g,""),O=k.pop();P<0?(I=e.substring(C+2).replace(/[\s<].*/,""),a.error("end tag name: "+I+" is not complete:"+O.tagName),P=C+1+I.length):I.match(/\sE?E=P:f(Math.max(C,E)+1)}}(e,t,n,i,this.errorHandler),i.endDocument()}},v.prototype={setTagName:function(e){if(!o.test(e))throw new Error("invalid tagName:"+e);this.tagName=e},addValue:function(e,t,n){if(!o.test(e))throw new Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:n}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}},t.XMLReader=u,t.ParseError=s},46676:function(e,t){"use strict";t.byteLength=function(e){var t=s(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,a=s(e),o=a[0],u=a[1],l=new i(function(e,t,n){return 3*(t+n)/4-n}(0,o,u)),c=0,d=u>0?o-4:o;for(n=0;n>16&255,l[c++]=t>>8&255,l[c++]=255&t;2===u&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,l[c++]=255&t);1===u&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,l[c++]=t>>8&255,l[c++]=255&t);return l},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,a=[],o=16383,s=0,l=r-i;sl?l:s+o));1===i?(t=e[r-1],a.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],a.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return a.join("")};for(var n=[],r=[],i="undefined"!==typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0;o<64;++o)n[o]=a[o],r[a.charCodeAt(o)]=o;function s(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e,t,r){for(var i,a,o=[],s=t;s>18&63]+n[a>>12&63]+n[a>>6&63]+n[63&a]);return o.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},93325:function(e,t,n){"use strict";var r=n(17383).default,i=n(34579).default,a=n(18336).default,o=n(29511).default,s=n(46676),u=n(66897),l="function"===typeof Symbol&&"function"===typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.hp=p,t.IS=50;var c=2147483647;function d(e){if(e>c)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,p.prototype),t}function p(e,t,n){if("number"===typeof e){if("string"===typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return m(e)}return h(e,t,n)}function h(e,t,n){if("string"===typeof e)return function(e,t){"string"===typeof t&&""!==t||(t="utf8");if(!p.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var n=0|_(e,t),r=d(n),i=r.write(e,t);i!==n&&(r=r.slice(0,i));return r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(Z(e,Uint8Array)){var t=new Uint8Array(e);return v(t.buffer,t.byteOffset,t.byteLength)}return g(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(Z(e,ArrayBuffer)||e&&Z(e.buffer,ArrayBuffer))return v(e,t,n);if("undefined"!==typeof SharedArrayBuffer&&(Z(e,SharedArrayBuffer)||e&&Z(e.buffer,SharedArrayBuffer)))return v(e,t,n);if("number"===typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return p.from(r,t,n);var i=function(e){if(p.isBuffer(e)){var t=0|y(e.length),n=d(t);return 0===n.length||e.copy(n,0,0,t),n}if(void 0!==e.length)return"number"!==typeof e.length||ee(e.length)?d(0):g(e);if("Buffer"===e.type&&Array.isArray(e.data))return g(e.data)}(e);if(i)return i;if("undefined"!==typeof Symbol&&null!=Symbol.toPrimitive&&"function"===typeof e[Symbol.toPrimitive])return p.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function f(e){if("number"!==typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function m(e){return f(e),d(e<0?0:0|y(e))}function g(e){for(var t=e.length<0?0:0|y(e.length),n=d(t),r=0;r=c)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+c.toString(16)+" bytes");return 0|e}function _(e,t){if(p.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Z(e,ArrayBuffer))return e.byteLength;if("string"!==typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return Y(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Q(e).length;default:if(i)return r?-1:Y(e).length;t=(""+t).toLowerCase(),i=!0}}function b(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return N(this,t,n);case"utf8":case"utf-8":return I(this,t,n);case"ascii":return R(this,t,n);case"latin1":case"binary":return L(this,t,n);case"base64":return P(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return D(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function w(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function T(e,t,n,r,i){if(0===e.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),ee(n=+n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"===typeof t&&(t=p.from(t,r)),p.isBuffer(t))return 0===t.length?-1:k(e,t,n,r,i);if("number"===typeof t)return t&=255,"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):k(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function k(e,t,n,r,i){var a,o=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;o=2,s/=2,u/=2,n/=2}function l(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var c=-1;for(a=n;as&&(n=s-u),a=n;a>=0;a--){for(var d=!0,p=0;pi&&(r=i):r=i;var a,o=t.length;for(r>o/2&&(r=o/2),a=0;a>8,i=n%256,a.push(i),a.push(r);return a}(t,e.length-n),e,n,r)}function P(e,t,n){return 0===t&&n===e.length?s.fromByteArray(e):s.fromByteArray(e.slice(t,n))}function I(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i239?4:a>223?3:a>191?2:1;if(i+s<=n){var u=void 0,l=void 0,c=void 0,d=void 0;switch(s){case 1:a<128&&(o=a);break;case 2:128===(192&(u=e[i+1]))&&(d=(31&a)<<6|63&u)>127&&(o=d);break;case 3:u=e[i+1],l=e[i+2],128===(192&u)&&128===(192&l)&&(d=(15&a)<<12|(63&u)<<6|63&l)>2047&&(d<55296||d>57343)&&(o=d);break;case 4:u=e[i+1],l=e[i+2],c=e[i+3],128===(192&u)&&128===(192&l)&&128===(192&c)&&(d=(15&a)<<18|(63&u)<<12|(63&l)<<6|63&c)>65535&&d<1114112&&(o=d)}}null===o?(o=65533,s=1):o>65535&&(o-=65536,r.push(o>>>10&1023|55296),o=56320|1023&o),r.push(o),i+=s}return function(e){var t=e.length;if(t<=O)return String.fromCharCode.apply(String,e);var n="",r=0;for(;rr.length?(p.isBuffer(a)||(a=p.from(a)),a.copy(r,i)):Uint8Array.prototype.set.call(r,a,i);else{if(!p.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,i)}i+=a.length}return r},p.byteLength=_,p.prototype._isBuffer=!0,p.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;tn&&(e+=" ... "),""},l&&(p.prototype[l]=p.prototype.inspect),p.prototype.compare=function(e,t,n,r,i){if(Z(e,Uint8Array)&&(e=p.from(e,e.offset,e.byteLength)),!p.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var a=(i>>>=0)-(r>>>=0),o=(n>>>=0)-(t>>>=0),s=Math.min(a,o),u=this.slice(r,i),l=e.slice(t,n),c=0;c>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var a=!1;;)switch(r){case"hex":return S(this,e,t,n);case"utf8":case"utf-8":return E(this,e,t,n);case"ascii":case"latin1":case"binary":return C(this,e,t,n);case"base64":return A(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(this,e,t,n);default:if(a)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),a=!0}},p.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var O=4096;function R(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;ir)&&(n=r);for(var i="",a=t;an)throw new RangeError("Trying to access beyond buffer length")}function U(e,t,n,r,i,a){if(!p.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function F(e,t,n,r,i){G(t,r,i,e,n,7);var a=Number(t&BigInt(4294967295));e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a;var o=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,n}function j(e,t,n,r,i){G(t,r,i,e,n,7);var a=Number(t&BigInt(4294967295));e[n+7]=a,a>>=8,e[n+6]=a,a>>=8,e[n+5]=a,a>>=8,e[n+4]=a;var o=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=o,o>>=8,e[n+2]=o,o>>=8,e[n+1]=o,o>>=8,e[n]=o,n+8}function B(e,t,n,r,i,a){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function q(e,t,n,r,i){return t=+t,n>>>=0,i||B(e,0,n,4),u.write(e,t,n,r,23,4),n+4}function H(e,t,n,r,i){return t=+t,n>>>=0,i||B(e,0,n,8),u.write(e,t,n,r,52,8),n+8}p.prototype.slice=function(e,t){var n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t>>=0,t>>>=0,n||M(e,t,this.length);for(var r=this[e],i=1,a=0;++a>>=0,t>>>=0,n||M(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},p.prototype.readUint8=p.prototype.readUInt8=function(e,t){return e>>>=0,t||M(e,1,this.length),this[e]},p.prototype.readUint16LE=p.prototype.readUInt16LE=function(e,t){return e>>>=0,t||M(e,2,this.length),this[e]|this[e+1]<<8},p.prototype.readUint16BE=p.prototype.readUInt16BE=function(e,t){return e>>>=0,t||M(e,2,this.length),this[e]<<8|this[e+1]},p.prototype.readUint32LE=p.prototype.readUInt32LE=function(e,t){return e>>>=0,t||M(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},p.prototype.readUint32BE=p.prototype.readUInt32BE=function(e,t){return e>>>=0,t||M(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},p.prototype.readBigUInt64LE=ne((function(e){X(e>>>=0,"offset");var t=this[e],n=this[e+7];void 0!==t&&void 0!==n||K(e,this.length-8);var r=t+this[++e]*Math.pow(2,8)+this[++e]*Math.pow(2,16)+this[++e]*Math.pow(2,24),i=this[++e]+this[++e]*Math.pow(2,8)+this[++e]*Math.pow(2,16)+n*Math.pow(2,24);return BigInt(r)+(BigInt(i)<>>=0,"offset");var t=this[e],n=this[e+7];void 0!==t&&void 0!==n||K(e,this.length-8);var r=t*Math.pow(2,24)+this[++e]*Math.pow(2,16)+this[++e]*Math.pow(2,8)+this[++e],i=this[++e]*Math.pow(2,24)+this[++e]*Math.pow(2,16)+this[++e]*Math.pow(2,8)+n;return(BigInt(r)<>>=0,t>>>=0,n||M(e,t,this.length);for(var r=this[e],i=1,a=0;++a=(i*=128)&&(r-=Math.pow(2,8*t)),r},p.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||M(e,t,this.length);for(var r=t,i=1,a=this[e+--r];r>0&&(i*=256);)a+=this[e+--r]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*t)),a},p.prototype.readInt8=function(e,t){return e>>>=0,t||M(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},p.prototype.readInt16LE=function(e,t){e>>>=0,t||M(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},p.prototype.readInt16BE=function(e,t){e>>>=0,t||M(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},p.prototype.readInt32LE=function(e,t){return e>>>=0,t||M(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},p.prototype.readInt32BE=function(e,t){return e>>>=0,t||M(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},p.prototype.readBigInt64LE=ne((function(e){X(e>>>=0,"offset");var t=this[e],n=this[e+7];void 0!==t&&void 0!==n||K(e,this.length-8);var r=this[e+4]+this[e+5]*Math.pow(2,8)+this[e+6]*Math.pow(2,16)+(n<<24);return(BigInt(r)<>>=0,"offset");var t=this[e],n=this[e+7];void 0!==t&&void 0!==n||K(e,this.length-8);var r=(t<<24)+this[++e]*Math.pow(2,16)+this[++e]*Math.pow(2,8)+this[++e];return(BigInt(r)<>>=0,t||M(e,4,this.length),u.read(this,e,!0,23,4)},p.prototype.readFloatBE=function(e,t){return e>>>=0,t||M(e,4,this.length),u.read(this,e,!1,23,4)},p.prototype.readDoubleLE=function(e,t){return e>>>=0,t||M(e,8,this.length),u.read(this,e,!0,52,8)},p.prototype.readDoubleBE=function(e,t){return e>>>=0,t||M(e,8,this.length),u.read(this,e,!1,52,8)},p.prototype.writeUintLE=p.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t>>>=0,n>>>=0,r)||U(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,a=0;for(this[t]=255&e;++a>>=0,n>>>=0,r)||U(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,a=1;for(this[t+i]=255&e;--i>=0&&(a*=256);)this[t+i]=e/a&255;return t+n},p.prototype.writeUint8=p.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||U(this,e,t,1,255,0),this[t]=255&e,t+1},p.prototype.writeUint16LE=p.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||U(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},p.prototype.writeUint16BE=p.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||U(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},p.prototype.writeUint32LE=p.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||U(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},p.prototype.writeUint32BE=p.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||U(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},p.prototype.writeBigUInt64LE=ne((function(e){return F(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,BigInt(0),BigInt("0xffffffffffffffff"))})),p.prototype.writeBigUInt64BE=ne((function(e){return j(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,BigInt(0),BigInt("0xffffffffffffffff"))})),p.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);U(this,e,t,n,i-1,-i)}var a=0,o=1,s=0;for(this[t]=255&e;++a>>=0,!r){var i=Math.pow(2,8*n-1);U(this,e,t,n,i-1,-i)}var a=n-1,o=1,s=0;for(this[t+a]=255&e;--a>=0&&(o*=256);)e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/o|0)-s&255;return t+n},p.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||U(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},p.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||U(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},p.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||U(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},p.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||U(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},p.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||U(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},p.prototype.writeBigInt64LE=ne((function(e){return F(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),p.prototype.writeBigInt64BE=ne((function(e){return j(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),p.prototype.writeFloatLE=function(e,t,n){return q(this,e,t,!0,n)},p.prototype.writeFloatBE=function(e,t,n){return q(this,e,t,!1,n)},p.prototype.writeDoubleLE=function(e,t,n){return H(this,e,t,!0,n)},p.prototype.writeDoubleBE=function(e,t,n){return H(this,e,t,!1,n)},p.prototype.copy=function(e,t,n,r){if(!p.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"===typeof e)for(a=t;a=r+4;n-=3)t="_".concat(e.slice(n-3,n)).concat(t);return"".concat(e.slice(0,n)).concat(t)}function G(e,t,n,r,i,a){if(e>n||e3?0===t||t===BigInt(0)?">= 0".concat(s," and < 2").concat(s," ** ").concat(8*(a+1)).concat(s):">= -(2".concat(s," ** ").concat(8*(a+1)-1).concat(s,") and < 2 ** ")+"".concat(8*(a+1)-1).concat(s):">= ".concat(t).concat(s," and <= ").concat(n).concat(s),new z.ERR_OUT_OF_RANGE("value",o,e)}!function(e,t,n){X(t,"offset"),void 0!==e[t]&&void 0!==e[t+n]||K(t,e.length-(n+1))}(r,i,a)}function X(e,t){if("number"!==typeof e)throw new z.ERR_INVALID_ARG_TYPE(t,"number",e)}function K(e,t,n){if(Math.floor(e)!==e)throw X(e,n),new z.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new z.ERR_BUFFER_OUT_OF_BOUNDS;throw new z.ERR_OUT_OF_RANGE(n||"offset",">= ".concat(n?1:0," and <= ").concat(t),e)}V("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?"".concat(e," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"}),RangeError),V("ERR_INVALID_ARG_TYPE",(function(e,t){return'The "'.concat(e,'" argument must be of type number. Received type ').concat(typeof t)}),TypeError),V("ERR_OUT_OF_RANGE",(function(e,t,n){var r='The value of "'.concat(e,'" is out of range.'),i=n;return Number.isInteger(n)&&Math.abs(n)>Math.pow(2,32)?i=W(String(n)):"bigint"===typeof n&&(i=String(n),(n>Math.pow(BigInt(2),BigInt(32))||n<-Math.pow(BigInt(2),BigInt(32)))&&(i=W(i)),i+="n"),r+=" It must be ".concat(t,". Received ").concat(i)}),RangeError);var $=/[^+/0-9A-Za-z-_]/g;function Y(e,t){var n;t=t||1/0;for(var r=e.length,i=null,a=[],o=0;o55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(o+1===r){(t-=3)>-1&&a.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function Q(e){return s.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace($,"")).length<2)return"";for(;e.length%4!==0;)e+="=";return e}(e))}function J(e,t,n,r){var i;for(i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function Z(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function ee(e){return e!==e}var te=function(){for(var e="0123456789abcdef",t=new Array(256),n=0;n<16;++n)for(var r=16*n,i=0;i<16;++i)t[r+i]=e[n]+e[i];return t}();function ne(e){return"undefined"===typeof BigInt?re:e}function re(){throw new Error("BigInt not supported")}},63785:function(e,t){"use strict";t.parse=function(e,t){if("string"!==typeof e)throw new TypeError("argument str must be a string");for(var r={},a=t||{},s=e.split(i),u=a.decode||n,l=0;l=t?e:""+Array(t+1-r.length).join(n)+e},y={s:v,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?"+":"-")+v(r,2,"0")+":"+v(i,2,"0")},m:function e(t,n){if(t.date()0,g<=m.r||!m.r){g<=1&&f>0&&(m=p[f-1]);var v=d[m.l];s&&(g=s(""+g)),l="string"==typeof v?v.replace("%d",g):v(g,r,m.l,c);break}}if(r)return l;var y=c?d.future:d.past;return"function"==typeof y?y(l):y.replace("%s",l)},r.to=function(e,t){return a(e,t,this,!0)},r.from=function(e,t){return a(e,t,this)};var o=function(e){return e.$u?n.utc():n()};r.toNow=function(e){return this.to(o(this),e)},r.fromNow=function(e){return this.from(o(this),e)}}}()},85520:function(e){e.exports="object"==typeof self?self.FormData:window.FormData},15063:function(e,t,n){var r,i="undefined"!==typeof n.g?n.g:"undefined"!==typeof window?window:{},a=n(80542);"undefined"!==typeof document?r=document:(r=i["__GLOBAL_DOCUMENT_CACHE@4"])||(r=i["__GLOBAL_DOCUMENT_CACHE@4"]=a),e.exports=r},77626:function(e,t,n){var r;r="undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:"undefined"!==typeof self?self:{},e.exports=r},66897:function(e,t){t.read=function(e,t,n,r,i){var a,o,s=8*i-r-1,u=(1<>1,c=-7,d=n?i-1:0,p=n?-1:1,h=e[t+d];for(d+=p,a=h&(1<<-c)-1,h>>=-c,c+=s;c>0;a=256*a+e[t+d],d+=p,c-=8);for(o=a&(1<<-c)-1,a>>=-c,c+=r;c>0;o=256*o+e[t+d],d+=p,c-=8);if(0===a)a=1-l;else{if(a===u)return o?NaN:1/0*(h?-1:1);o+=Math.pow(2,r),a-=l}return(h?-1:1)*o*Math.pow(2,a-r)},t.write=function(e,t,n,r,i,a){var o,s,u,l=8*a-i-1,c=(1<>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:a-1,f=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,o=c):(o=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-o))<1&&(o--,u*=2),(t+=o+d>=1?p/u:p*Math.pow(2,1-d))*u>=2&&(o++,u/=2),o+d>=c?(s=0,o=c):o+d>=1?(s=(t*u-1)*Math.pow(2,i),o+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),o=0));i>=8;e[n+h]=255&s,h+=f,s/=256,i-=8);for(o=o<0;e[n+h]=255&o,h+=f,o/=256,l-=8);e[n+h-f]|=128*m}},28650:function(e){e.exports=function(e){if(!e)return!1;var n=t.call(e);return"[object Function]"===n||"function"===typeof e&&"[object RegExp]"!==n||"undefined"!==typeof window&&(e===window.setTimeout||e===window.alert||e===window.confirm||e===window.prompt)};var t=Object.prototype.toString},26391:function(e,t){function n(e){if(e&&"object"===typeof e){var t=e.which||e.keyCode||e.charCode;t&&(e=t)}if("number"===typeof e)return o[e];var n,a=String(e);return(n=r[a.toLowerCase()])?n:(n=i[a.toLowerCase()])||(1===a.length?a.charCodeAt(0):void 0)}n.isEventKey=function(e,t){if(e&&"object"===typeof e){var n=e.which||e.keyCode||e.charCode;if(null===n||void 0===n)return!1;if("string"===typeof t){var a;if(a=r[t.toLowerCase()])return a===n;if(a=i[t.toLowerCase()])return a===n}else if("number"===typeof t)return t===n;return!1}};var r=(t=e.exports=n).code=t.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},i=t.aliases={windows:91,"\u21e7":16,"\u2325":18,"\u2303":17,"\u2318":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,spacebar:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};for(a=97;a<123;a++)r[String.fromCharCode(a)]=a-32;for(var a=48;a<58;a++)r[a-48]=a;for(a=1;a<13;a++)r["f"+a]=a+111;for(a=0;a<10;a++)r["numpad "+a]=a+96;var o=t.names=t.title={};for(a in r)o[r[a]]=a;for(var s in i)r[s]=i[s]},72024:function(e,t,n){var r=n(45672).getUint64;e.exports=function(e){var t=new DataView(e.buffer,e.byteOffset,e.byteLength),n={version:e[0],flags:new Uint8Array(e.subarray(1,4)),references:[],referenceId:t.getUint32(4),timescale:t.getUint32(8)},i=12;0===n.version?(n.earliestPresentationTime=t.getUint32(i),n.firstOffset=t.getUint32(i+4),i+=8):(n.earliestPresentationTime=r(e.subarray(i)),n.firstOffset=r(e.subarray(i+8)),i+=16),i+=2;var a=t.getUint16(i);for(i+=2;a>0;i+=12,a--)n.references.push({referenceType:(128&e[i])>>>7,referencedSize:2147483647&t.getUint32(i),subsegmentDuration:t.getUint32(i+4),startsWithSap:!!(128&e[i+8]),sapType:(112&e[i+8])>>>4,sapDeltaTime:268435455&t.getUint32(i+8)});return n}},82356:function(e){var t,n,r,i,a,o,s,u=9e4;t=function(e){return e*u},n=function(e,t){return e*t},r=function(e){return e/u},i=function(e,t){return e/t},a=function(e,n){return t(i(e,n))},o=function(e,t){return n(r(e),t)},s=function(e,t,n){return r(n?e:e-t)},e.exports={ONE_SECOND_IN_TS:u,secondsToVideoTs:t,secondsToAudioTs:n,videoTsToSeconds:r,audioTsToSeconds:i,audioTsToVideoTs:a,videoTsToAudioTs:o,metadataTsToSeconds:s}},45672:function(e){var t=Math.pow(2,32);e.exports={getUint64:function(e){var n,r=new DataView(e.buffer,e.byteOffset,e.byteLength);return r.getBigUint64?(n=r.getBigUint64(0))1)for(var n=1;n