Mercurial > repos > fubar > jbrowse2
view x/static/js/1725.795fc4d3.chunk.js @ 133:cec274db51c0 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/jbrowse2 commit 7d28252954cae9f8db5f8a85d8f29cb2865b504b-dirty
author | fubar |
---|---|
date | Fri, 18 Oct 2024 11:57:55 +0000 |
parents | 49f3d3878413 |
children |
line wrap: on
line source
"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[1725],{1114:(e,t,r)=>{r.d(t,{A:()=>o});var i=r(74893),n=r(69500);const o=(0,i.A)((0,n.jsx)("path",{d:"M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}),"Grade")},69833:(e,t,r)=>{r.d(t,{A:()=>o});var i=r(74893),n=r(69500);const o=(0,i.A)((0,n.jsx)("path",{d:"M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9m-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8z"}),"History")},922:(e,t,r)=>{r.d(t,{A:()=>o});var i=r(74893),n=r(69500);const o=(0,i.A)((0,n.jsx)("path",{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"}),"Menu")},30476:(e,t,r)=>{r.d(t,{A:()=>o});var i=r(74893),n=r(69500);const o=(0,i.A)((0,n.jsx)("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"MoreHoriz")},7215:(e,t,r)=>{r.d(t,{A:()=>o});var i=r(74893),n=r(69500);const o=(0,i.A)((0,n.jsx)("path",{d:"M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2M1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49c.08-.14.12-.31.12-.48 0-.55-.45-1-1-1H5.21l-.94-2zm16 16c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2"}),"ShoppingCart")},1185:(e,t,r)=>{r.d(t,{A:()=>o});var i=r(74893),n=r(69500);const o=(0,i.A)((0,n.jsx)("path",{d:"M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}),"Star")},84181:(e,t,r)=>{r.d(t,{A:()=>o});var i=r(74893),n=r(69500);const o=(0,i.A)((0,n.jsx)("path",{d:"m22 9.24-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28z"}),"StarBorderOutlined")},84885:(e,t,r)=>{r.d(t,{A:()=>v});var i=r(7552),n=r(93878),o=r(43583),a=r(70799),s=r(1045);var l=r(51148),c=r(60129),d=r(58520),u=r(4785),h=r(15622),p=r(47839),f=r(69500);const g=(0,l.Ay)("span",{name:"MuiBadge",slot:"Root",overridesResolver:(e,t)=>t.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),m=(0,l.Ay)("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.badge,t[r.variant],t[`anchorOrigin${(0,h.A)(r.anchorOrigin.vertical)}${(0,h.A)(r.anchorOrigin.horizontal)}${(0,h.A)(r.overlap)}`],"default"!==r.color&&t[`color${(0,h.A)(r.color)}`],r.invisible&&t.invisible]}})((0,c.A)((({theme:e})=>({display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen}),variants:[...Object.entries(e.palette).filter((0,d.A)(["contrastText"])).map((([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main,color:(e.vars||e).palette[t].contrastText}}))),{props:{variant:"dot"},style:{borderRadius:4,height:8,minWidth:8,padding:0}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${p.A.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${p.A.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${p.A.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${p.A.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${p.A.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${p.A.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${p.A.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${p.A.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:{invisible:!0},style:{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}}]})))),v=i.forwardRef((function(e,t){const r=(0,u.b)({props:e,name:"MuiBadge"}),{anchorOrigin:i={vertical:"top",horizontal:"right"},className:l,classes:c,component:d,components:v={},componentsProps:_={},children:b,overlap:z="rectangular",color:S="default",invisible:y=!1,max:w=99,badgeContent:O,slots:x,slotProps:A,showZero:R=!1,variant:I="standard",...C}=r,{badgeContent:T,invisible:M,max:L,displayValue:W}=function(e){const{badgeContent:t,invisible:r=!1,max:i=99,showZero:n=!1}=e,a=(0,o.A)({badgeContent:t,max:i});let s=r;!1!==r||0!==t||n||(s=!0);const{badgeContent:l,max:c=i}=s?a:e;return{badgeContent:l,invisible:s,max:c,displayValue:l&&Number(l)>c?`${c}+`:l}}({max:w,invisible:y,badgeContent:O,showZero:R}),k=(0,o.A)({anchorOrigin:i,color:S,overlap:z,variant:I,badgeContent:O}),E=M||null==T&&"dot"!==I,{color:D=S,overlap:N=z,anchorOrigin:H=i,variant:F=I}=E?k:r,P="dot"!==F?W:void 0,$={...r,badgeContent:T,invisible:E,max:L,displayValue:P,showZero:R,anchorOrigin:H,color:D,overlap:N,variant:F},B=(e=>{const{color:t,anchorOrigin:r,invisible:i,overlap:n,variant:o,classes:s={}}=e,l={root:["root"],badge:["badge",o,i&&"invisible",`anchorOrigin${(0,h.A)(r.vertical)}${(0,h.A)(r.horizontal)}`,`anchorOrigin${(0,h.A)(r.vertical)}${(0,h.A)(r.horizontal)}${(0,h.A)(n)}`,`overlap${(0,h.A)(n)}`,"default"!==t&&`color${(0,h.A)(t)}`]};return(0,a.A)(l,p.w,s)})($),j=x?.root??v.Root??g,q=x?.badge??v.Badge??m,V=A?.root??_.root,U=A?.badge??_.badge,Z=(0,s.A)({elementType:j,externalSlotProps:V,externalForwardedProps:C,additionalProps:{ref:t,as:d},ownerState:$,className:(0,n.A)(V?.className,B.root,l)}),K=(0,s.A)({elementType:q,externalSlotProps:U,ownerState:$,className:(0,n.A)(B.badge,U?.className)});return(0,f.jsxs)(j,{...Z,children:[b,(0,f.jsx)(q,{...K,children:P})]})}))},47839:(e,t,r)=>{r.d(t,{A:()=>a,w:()=>o});var i=r(33761),n=r(85693);function o(e){return(0,n.Ay)("MuiBadge",e)}const a=(0,i.A)("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"])},62859:(e,t,r)=>{r.d(t,{A:()=>m});var i=r(7552),n=r(93878),o=r(70799),a=r(48054),s=r(15622),l=r(1791),c=r(55270),d=r(51148),u=r(60129),h=r(58520),p=r(4785),f=r(69500);const g=(0,d.Ay)(a.A,{name:"MuiFab",slot:"Root",shouldForwardProp:e=>(0,c.A)(e)||"classes"===e,overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`size${(0,s.A)(r.size)}`],"inherit"===r.color&&t.colorInherit,t[(0,s.A)(r.size)],t[r.color]]}})((0,u.A)((({theme:e})=>({...e.typography.button,minHeight:36,transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),borderRadius:"50%",padding:0,minWidth:0,width:56,height:56,zIndex:(e.vars||e).zIndex.fab,boxShadow:(e.vars||e).shadows[6],"&:active":{boxShadow:(e.vars||e).shadows[12]},color:e.vars?e.vars.palette.text.primary:e.palette.getContrastText?.(e.palette.grey[300]),backgroundColor:(e.vars||e).palette.grey[300],"&:hover":{backgroundColor:(e.vars||e).palette.grey.A100,"@media (hover: none)":{backgroundColor:(e.vars||e).palette.grey[300]},textDecoration:"none"},[`&.${l.A.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},variants:[{props:{size:"small"},style:{width:40,height:40}},{props:{size:"medium"},style:{width:48,height:48}},{props:{variant:"extended"},style:{borderRadius:24,padding:"0 16px",width:"auto",minHeight:"auto",minWidth:48,height:48}},{props:{variant:"extended",size:"small"},style:{width:"auto",padding:"0 8px",borderRadius:17,minWidth:34,height:34}},{props:{variant:"extended",size:"medium"},style:{width:"auto",padding:"0 16px",borderRadius:20,minWidth:40,height:40}},{props:{color:"inherit"},style:{color:"inherit"}}]}))),(0,u.A)((({theme:e})=>({variants:[...Object.entries(e.palette).filter((0,h.A)(["dark","contrastText"])).map((([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].contrastText,backgroundColor:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:(e.vars||e).palette[t].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t].main}}}})))]}))),(0,u.A)((({theme:e})=>({[`&.${l.A.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}})))),m=i.forwardRef((function(e,t){const r=(0,p.b)({props:e,name:"MuiFab"}),{children:i,className:a,color:c="default",component:d="button",disabled:u=!1,disableFocusRipple:h=!1,focusVisibleClassName:m,size:v="large",variant:_="circular",...b}=r,z={...r,color:c,component:d,disabled:u,disableFocusRipple:h,size:v,variant:_},S=(e=>{const{color:t,variant:r,classes:i,size:n}=e,a={root:["root",r,`size${(0,s.A)(n)}`,"inherit"===t?"colorInherit":t]},c=(0,o.A)(a,l.C,i);return{...i,...c}})(z);return(0,f.jsx)(g,{className:(0,n.A)(S.root,a),component:d,disabled:u,focusRipple:!h,focusVisibleClassName:(0,n.A)(S.focusVisible,m),ownerState:z,ref:t,...b,classes:S,children:i})}))},1791:(e,t,r)=>{r.d(t,{A:()=>a,C:()=>o});var i=r(33761),n=r(85693);function o(e){return(0,n.Ay)("MuiFab",e)}const a=(0,i.A)("MuiFab",["root","primary","secondary","extended","circular","focusVisible","disabled","colorInherit","sizeSmall","sizeMedium","sizeLarge","info","error","warning","success"])},28685:(e,t,r)=>{r.d(t,{Ay:()=>u});var i=r(7552);let n;n="undefined"!=typeof window?window:"undefined"!=typeof self?self:r.g;let o=null,a=null;const s=n.clearTimeout,l=n.setTimeout,c=n.cancelAnimationFrame||n.mozCancelAnimationFrame||n.webkitCancelAnimationFrame,d=n.requestAnimationFrame||n.mozRequestAnimationFrame||n.webkitRequestAnimationFrame;null==c||null==d?(o=s,a=function(e){return l(e,20)}):(o=function([e,t]){c(e),s(t)},a=function(e){const t=d((function(){s(r),e()})),r=l((function(){c(t),e()}),20);return[t,r]});class u extends i.Component{constructor(...e){super(...e),this.state={height:this.props.defaultHeight||0,scaledHeight:this.props.defaultHeight||0,scaledWidth:this.props.defaultWidth||0,width:this.props.defaultWidth||0},this._autoSizer=null,this._detectElementResize=null,this._parentNode=null,this._resizeObserver=null,this._timeoutId=null,this._onResize=()=>{this._timeoutId=null;const{disableHeight:e,disableWidth:t,onResize:r}=this.props;if(this._parentNode){const i=window.getComputedStyle(this._parentNode)||{},n=parseFloat(i.paddingLeft||"0"),o=parseFloat(i.paddingRight||"0"),a=parseFloat(i.paddingTop||"0"),s=parseFloat(i.paddingBottom||"0"),l=this._parentNode.getBoundingClientRect(),c=l.height-a-s,d=l.width-n-o,u=this._parentNode.offsetHeight-a-s,h=this._parentNode.offsetWidth-n-o;(e||this.state.height===u&&this.state.scaledHeight===c)&&(t||this.state.width===h&&this.state.scaledWidth===d)||(this.setState({height:u,width:h,scaledHeight:c,scaledWidth:d}),"function"==typeof r&&r({height:u,scaledHeight:c,scaledWidth:d,width:h}))}},this._setRef=e=>{this._autoSizer=e}}componentDidMount(){const{nonce:e}=this.props,t=this._autoSizer?this._autoSizer.parentNode:null;if(null!=t&&t.ownerDocument&&t.ownerDocument.defaultView&&t instanceof t.ownerDocument.defaultView.HTMLElement){this._parentNode=t;const r=t.ownerDocument.defaultView.ResizeObserver;null!=r?(this._resizeObserver=new r((()=>{this._timeoutId=setTimeout(this._onResize,0)})),this._resizeObserver.observe(t)):(this._detectElementResize=function(e){let t,r,i,s,l,c,d;const u="undefined"!=typeof document&&document.attachEvent;if(!u){c=function(e){const t=e.__resizeTriggers__,r=t.firstElementChild,i=t.lastElementChild,n=r.firstElementChild;i.scrollLeft=i.scrollWidth,i.scrollTop=i.scrollHeight,n.style.width=r.offsetWidth+1+"px",n.style.height=r.offsetHeight+1+"px",r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight},l=function(e){return e.offsetWidth!==e.__resizeLast__.width||e.offsetHeight!==e.__resizeLast__.height},d=function(e){if(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)return;const t=this;c(this),this.__resizeRAF__&&o(this.__resizeRAF__),this.__resizeRAF__=a((function(){l(t)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach((function(r){r.call(t,e)})))}))};let e=!1,n="";i="animationstart";const u="Webkit Moz O ms".split(" ");let h="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),p="";{const t=document.createElement("fakeelement");if(void 0!==t.style.animationName&&(e=!0),!1===e)for(let r=0;r<u.length;r++)if(void 0!==t.style[u[r]+"AnimationName"]){p=u[r],n="-"+p.toLowerCase()+"-",i=h[r],e=!0;break}}r="resizeanim",t="@"+n+"keyframes "+r+" { from { opacity: 0; } to { opacity: 0; } } ",s=n+"animation: 1ms "+r+"; "}return{addResizeListener:function(o,a){if(u)o.attachEvent("onresize",a);else{if(!o.__resizeTriggers__){const a=o.ownerDocument,l=n.getComputedStyle(o);l&&"static"===l.position&&(o.style.position="relative"),function(r){if(!r.getElementById("detectElementResize")){const i=(t||"")+".resize-triggers { "+(s||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',n=r.head||r.getElementsByTagName("head")[0],o=r.createElement("style");o.id="detectElementResize",o.type="text/css",null!=e&&o.setAttribute("nonce",e),o.styleSheet?o.styleSheet.cssText=i:o.appendChild(r.createTextNode(i)),n.appendChild(o)}}(a),o.__resizeLast__={},o.__resizeListeners__=[],(o.__resizeTriggers__=a.createElement("div")).className="resize-triggers";const u=a.createElement("div");u.className="expand-trigger",u.appendChild(a.createElement("div"));const h=a.createElement("div");h.className="contract-trigger",o.__resizeTriggers__.appendChild(u),o.__resizeTriggers__.appendChild(h),o.appendChild(o.__resizeTriggers__),c(o),o.addEventListener("scroll",d,!0),i&&(o.__resizeTriggers__.__animationListener__=function(e){e.animationName===r&&c(o)},o.__resizeTriggers__.addEventListener(i,o.__resizeTriggers__.__animationListener__))}o.__resizeListeners__.push(a)}},removeResizeListener:function(e,t){if(u)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",d,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(i,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}(e),this._detectElementResize.addResizeListener(t,this._onResize)),this._onResize()}}componentWillUnmount(){this._parentNode&&(this._detectElementResize&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize),null!==this._timeoutId&&clearTimeout(this._timeoutId),this._resizeObserver&&this._resizeObserver.disconnect())}render(){const{children:e,defaultHeight:t,defaultWidth:r,disableHeight:n=!1,disableWidth:o=!1,doNotBailOutOnEmptyChildren:a=!1,nonce:s,onResize:l,style:c={},tagName:d="div",...u}=this.props,{height:h,scaledHeight:p,scaledWidth:f,width:g}=this.state,m={overflow:"visible"},v={};let _=!1;return n||(0===h&&(_=!0),m.height=0,v.height=h,v.scaledHeight=p),o||(0===g&&(_=!0),m.width=0,v.width=g,v.scaledWidth=f),a&&(_=!1),(0,i.createElement)(d,{ref:this._setRef,style:{...m,...c},...u},!_&&e(v))}}},32296:(e,t,r)=>{r.d(t,{SS:()=>M});var i=r(7552),n=r(6614),o=r(60191),a=r(80467);var s=function(){},l=function(e,t){return void 0===t&&(t=null),{child:null,isShown:!t||t.public.isOpen&&t.isShown,parent:t,public:e,sibling:null,visited:!1}},c=function(e,t){return(0,t.getRecordData)(e).data.id},d=function(e){return function(t,r,i){return i.refresh?function(e,t,r){var i=e.createRecord,n=t.buildingTaskTimeout,o=t.placeholder,a=t.async,s=void 0!==a&&a,l=t.treeWalker,c=s&&void 0!==r.records,d=r.records,u=[],h=new Map,p=n?{timeout:n}:void 0,f=new WeakMap,g=l(),m=g.next().value,v=i(m.data,r,void 0,c?d.get(m.data.id):void 0);h.set(v.public.data.id,v),f.set(v,m);var _=v,b=!0,z=v,S=void 0!==o&&!(null===o&&!r.order),y=S?function(e){return e.timeRemaining()>0}:function(){return!0},w=function e(t){for(;null!==_;){if(!y(t))return void requestIdleCallback(e,p);if(_.visited)_.visited=!1,_=null!==_.sibling?_.sibling:_.parent,z=_;else{var n=g.next(f.get(_)).value;if(void 0===n){b?b=!1:(_.isShown&&u.push(_.public.data.id),_.visited=null!==_.child,_=null!==_.child?_.child:null!==_.sibling?_.sibling:_.parent),z=_;continue}var o=i(n.data,r,b?void 0:_,c?d.get(n.data.id):void 0);h.set(o.public.data.id,o),f.set(o,n),b||z!==_?z.sibling=o:z.child=o,z=o}}S&&r.setState({order:u,records:h,updateRequest:{}})};return S?requestIdleCallback(w,p):w(),void 0!==o&&s&&r.order?r:{order:u,records:h}}(e,t,r):function(e,t){var r=e.order,i=e.records,n=t.opennessState;if("object"!=typeof n)return null;for(var o in n)if(i.has(o)){var a=n[o],l=i.get(o),c="boolean"==typeof a?{open:a}:a,d=c.open,u=c.subtreeCallback,h=void 0===u?s:u,p=s,f=s;l.isShown&&(d?function(){for(var e=r.indexOf(o),t=l;null!==t;){if(null!==t.sibling){t=t.sibling;break}t=t.parent}var i=null===t?r.length-1-e:r.indexOf(t.public.data.id)-1-e,n=[[e+1,i]];p=function(t){if(t.isShown=!t.parent||t.parent.public.isOpen&&t.parent.isShown,t.isShown){var r=n[n.length-1];r.push(t.public.data.id),32770===r.length&&n.push([e+1+32768*n.length,0])}},f=function(){for(var e=0;e<n.length;e++){var t;(t=r).splice.apply(t,n[e])}}}():l.public.isOpen&&function(){var e=r.indexOf(o),t=0;p=function(e){e.isShown&&(t+=1),e.isShown=!e.parent||e.parent.public.isOpen&&e.parent.isShown},f=function(){r.splice(e+1,t)}}());for(var g=l;null!==g;)g.visited?(g.visited=!1,g=g===l?null:null!==g.sibling?g.sibling:g.parent):(g.public.isOpen=g===l?d:g.public.isOpen,h(g.public,l.public),g!==l&&p(g),g.visited=null!==g.child,g=null!==g.child?g.child:g===l?null:null!==g.sibling?g.sibling:g.parent);f()}return{order:r,records:i,updateRequest:{}}}(r,i)}},u=function(e){function t(t,r){var n;return(n=e.call(this,t,r)||this).getRecordData=n.getRecordData.bind((0,o.A)(n)),n.state={list:(0,i.createRef)(),recomputeTree:n.recomputeTree.bind((0,o.A)(n)),setState:n.setState.bind((0,o.A)(n))},n}(0,a.A)(t,e),t.getDerivedStateFromProps=function(e,t){var r,i=e.listRef,o=void 0===i?null:i,a=e.treeWalker,s=t.computeTree,l=t.list,c=t.order,d=t.treeWalker;return(0,n.A)({attachRefs:(r=[l,o],function(e){r.forEach((function(t){"function"==typeof t?t(e):null!=t&&(t.current=e)}))})},a===d&&c?null:s(e,t,{refresh:!0}),{treeWalker:a})};var r=t.prototype;return r.getItemData=function(){var e=this.props,t=e.children,r=e.itemData;return{component:t,getRecordData:this.getRecordData,treeData:r}},r.getRecordData=function(e){var t=this.state,r=t.order;return t.records.get(r[e]).public},r.recomputeTree=function(e){var t=this;return new Promise((function(r){t.setState((function(r){return r.computeTree(t.props,r,{opennessState:e})}),r)}))},r.scrollTo=function(e){var t;null==(t=this.state.list.current)||t.scrollTo(e)},r.scrollToItem=function(e,t){var r;null==(r=this.state.list.current)||r.scrollToItem(this.state.order.indexOf(e),t)},t}(i.PureComponent);u.defaultProps={rowComponent:function(e){var t=e.index,r=e.data,n=r.component,o=r.getRecordData,a=r.treeData,s=e.style,l=e.isScrolling,c=o(t);return i.createElement(n,Object.assign({isScrolling:l,style:s,treeData:a},c))}};const h=u;d({createRecord:function(e,t,r,i){var n=t.recomputeTree;return l({data:e,isOpen:i?i.public.isOpen:e.isOpenByDefault,setOpen:function(t){var r;return n(((r={})[e.id]=t,r))}},r)}});var p=r(83673),f=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function g(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!((i=e[r])===(n=t[r])||f(i)&&f(n)))return!1;var i,n;return!0}const m=function(e,t){var r;void 0===t&&(t=g);var i,n=[],o=!1;return function(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];return o&&r===this&&t(a,n)||(i=e.apply(this,a),o=!0,r=this,n=a),i}};var v="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function _(e){cancelAnimationFrame(e.id)}var b=-1;function z(e){if(void 0===e&&(e=!1),-1===b||e){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",document.body.appendChild(t),b=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return b}var S=null;function y(e){if(void 0===e&&(e=!1),null===S||e){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",r.direction="rtl";var i=document.createElement("div"),n=i.style;return n.width="100px",n.height="100px",t.appendChild(i),document.body.appendChild(t),t.scrollLeft>0?S="positive-descending":(t.scrollLeft=1,S=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t),S}return S}var w=function(e,t){return e};function O(e){var t,r=e.getItemOffset,s=e.getEstimatedTotalSize,l=e.getItemSize,c=e.getOffsetForIndexAndAlignment,d=e.getStartIndexForOffset,u=e.getStopIndexForStartIndex,h=e.initInstanceProps,p=e.shouldResetStyleCacheOnItemSizeChange,f=e.validateProps;return t=function(e){function t(t){var i;return(i=e.call(this,t)||this)._instanceProps=h(i.props,(0,o.A)(i)),i._outerRef=void 0,i._resetIsScrollingTimeoutId=null,i.state={instance:(0,o.A)(i),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof i.props.initialScrollOffset?i.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},i._callOnItemsRendered=void 0,i._callOnItemsRendered=m((function(e,t,r,n){return i.props.onItemsRendered({overscanStartIndex:e,overscanStopIndex:t,visibleStartIndex:r,visibleStopIndex:n})})),i._callOnScroll=void 0,i._callOnScroll=m((function(e,t,r){return i.props.onScroll({scrollDirection:e,scrollOffset:t,scrollUpdateWasRequested:r})})),i._getItemStyle=void 0,i._getItemStyle=function(e){var t,n=i.props,o=n.direction,a=n.itemSize,s=n.layout,c=i._getItemStyleCache(p&&a,p&&s,p&&o);if(c.hasOwnProperty(e))t=c[e];else{var d=r(i.props,e,i._instanceProps),u=l(i.props,e,i._instanceProps),h="horizontal"===o||"horizontal"===s,f="rtl"===o,g=h?d:0;c[e]=t={position:"absolute",left:f?void 0:g,right:f?g:void 0,top:h?0:d,height:h?"100%":u,width:h?u:"100%"}}return t},i._getItemStyleCache=void 0,i._getItemStyleCache=m((function(e,t,r){return{}})),i._onScrollHorizontal=function(e){var t=e.currentTarget,r=t.clientWidth,n=t.scrollLeft,o=t.scrollWidth;i.setState((function(e){if(e.scrollOffset===n)return null;var t=i.props.direction,a=n;if("rtl"===t)switch(y()){case"negative":a=-n;break;case"positive-descending":a=o-r-n}return a=Math.max(0,Math.min(a,o-r)),{isScrolling:!0,scrollDirection:e.scrollOffset<a?"forward":"backward",scrollOffset:a,scrollUpdateWasRequested:!1}}),i._resetIsScrollingDebounced)},i._onScrollVertical=function(e){var t=e.currentTarget,r=t.clientHeight,n=t.scrollHeight,o=t.scrollTop;i.setState((function(e){if(e.scrollOffset===o)return null;var t=Math.max(0,Math.min(o,n-r));return{isScrolling:!0,scrollDirection:e.scrollOffset<t?"forward":"backward",scrollOffset:t,scrollUpdateWasRequested:!1}}),i._resetIsScrollingDebounced)},i._outerRefSetter=function(e){var t=i.props.outerRef;i._outerRef=e,"function"==typeof t?t(e):null!=t&&"object"==typeof t&&t.hasOwnProperty("current")&&(t.current=e)},i._resetIsScrollingDebounced=function(){var e,t,r,n;null!==i._resetIsScrollingTimeoutId&&_(i._resetIsScrollingTimeoutId),i._resetIsScrollingTimeoutId=(e=i._resetIsScrolling,t=150,r=v(),n={id:requestAnimationFrame((function i(){v()-r>=t?e.call(null):n.id=requestAnimationFrame(i)}))})},i._resetIsScrolling=function(){i._resetIsScrollingTimeoutId=null,i.setState({isScrolling:!1},(function(){i._getItemStyleCache(-1,null)}))},i}(0,a.A)(t,e),t.getDerivedStateFromProps=function(e,t){return x(e,t),f(e),null};var g=t.prototype;return g.scrollTo=function(e){e=Math.max(0,e),this.setState((function(t){return t.scrollOffset===e?null:{scrollDirection:t.scrollOffset<e?"forward":"backward",scrollOffset:e,scrollUpdateWasRequested:!0}}),this._resetIsScrollingDebounced)},g.scrollToItem=function(e,t){void 0===t&&(t="auto");var r=this.props,i=r.itemCount,n=r.layout,o=this.state.scrollOffset;e=Math.max(0,Math.min(e,i-1));var a=0;if(this._outerRef){var s=this._outerRef;a="vertical"===n?s.scrollWidth>s.clientWidth?z():0:s.scrollHeight>s.clientHeight?z():0}this.scrollTo(c(this.props,e,t,o,this._instanceProps,a))},g.componentDidMount=function(){var e=this.props,t=e.direction,r=e.initialScrollOffset,i=e.layout;if("number"==typeof r&&null!=this._outerRef){var n=this._outerRef;"horizontal"===t||"horizontal"===i?n.scrollLeft=r:n.scrollTop=r}this._callPropsCallbacks()},g.componentDidUpdate=function(){var e=this.props,t=e.direction,r=e.layout,i=this.state,n=i.scrollOffset;if(i.scrollUpdateWasRequested&&null!=this._outerRef){var o=this._outerRef;if("horizontal"===t||"horizontal"===r)if("rtl"===t)switch(y()){case"negative":o.scrollLeft=-n;break;case"positive-ascending":o.scrollLeft=n;break;default:var a=o.clientWidth,s=o.scrollWidth;o.scrollLeft=s-a-n}else o.scrollLeft=n;else o.scrollTop=n}this._callPropsCallbacks()},g.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&_(this._resetIsScrollingTimeoutId)},g.render=function(){var e=this.props,t=e.children,r=e.className,o=e.direction,a=e.height,l=e.innerRef,c=e.innerElementType,d=e.innerTagName,u=e.itemCount,h=e.itemData,p=e.itemKey,f=void 0===p?w:p,g=e.layout,m=e.outerElementType,v=e.outerTagName,_=e.style,b=e.useIsScrolling,z=e.width,S=this.state.isScrolling,y="horizontal"===o||"horizontal"===g,O=y?this._onScrollHorizontal:this._onScrollVertical,x=this._getRangeToRender(),A=x[0],R=x[1],I=[];if(u>0)for(var C=A;C<=R;C++)I.push((0,i.createElement)(t,{data:h,key:f(C,h),index:C,isScrolling:b?S:void 0,style:this._getItemStyle(C)}));var T=s(this.props,this._instanceProps);return(0,i.createElement)(m||v||"div",{className:r,onScroll:O,ref:this._outerRefSetter,style:(0,n.A)({position:"relative",height:a,width:z,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:o},_)},(0,i.createElement)(c||d||"div",{children:I,ref:l,style:{height:y?"100%":T,pointerEvents:S?"none":void 0,width:y?T:"100%"}}))},g._callPropsCallbacks=function(){if("function"==typeof this.props.onItemsRendered&&this.props.itemCount>0){var e=this._getRangeToRender(),t=e[0],r=e[1],i=e[2],n=e[3];this._callOnItemsRendered(t,r,i,n)}if("function"==typeof this.props.onScroll){var o=this.state,a=o.scrollDirection,s=o.scrollOffset,l=o.scrollUpdateWasRequested;this._callOnScroll(a,s,l)}},g._getRangeToRender=function(){var e=this.props,t=e.itemCount,r=e.overscanCount,i=this.state,n=i.isScrolling,o=i.scrollDirection,a=i.scrollOffset;if(0===t)return[0,0,0,0];var s=d(this.props,a,this._instanceProps),l=u(this.props,s,a,this._instanceProps),c=n&&"backward"!==o?1:Math.max(1,r),h=n&&"forward"!==o?1:Math.max(1,r);return[Math.max(0,s-c),Math.max(0,Math.min(t-1,l+h)),s,l]},t}(i.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var x=function(e,t){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,t.instance},A=function(e,t,r){var i=e.itemSize,n=r.itemMetadataMap,o=r.lastMeasuredIndex;if(t>o){var a=0;if(o>=0){var s=n[o];a=s.offset+s.size}for(var l=o+1;l<=t;l++){var c=i(l);n[l]={offset:a,size:c},a+=c}r.lastMeasuredIndex=t}return n[t]},R=function(e,t,r,i,n){for(;i<=r;){var o=i+Math.floor((r-i)/2),a=A(e,o,t).offset;if(a===n)return o;a<n?i=o+1:a>n&&(r=o-1)}return i>0?i-1:0},I=function(e,t){var r=e.itemCount,i=t.itemMetadataMap,n=t.estimatedItemSize,o=t.lastMeasuredIndex,a=0;if(o>=r&&(o=r-1),o>=0){var s=i[o];a=s.offset+s.size}return a+(r-o-1)*n},C=O({getItemOffset:function(e,t,r){return A(e,t,r).offset},getItemSize:function(e,t,r){return r.itemMetadataMap[t].size},getEstimatedTotalSize:I,getOffsetForIndexAndAlignment:function(e,t,r,i,n,o){var a=e.direction,s=e.height,l=e.layout,c=e.width,d="horizontal"===a||"horizontal"===l?c:s,u=A(e,t,n),h=I(e,n),p=Math.max(0,Math.min(h-d,u.offset)),f=Math.max(0,u.offset-d+u.size+o);switch("smart"===r&&(r=i>=f-d&&i<=p+d?"auto":"center"),r){case"start":return p;case"end":return f;case"center":return Math.round(f+(p-f)/2);default:return i>=f&&i<=p?i:i<f?f:p}},getStartIndexForOffset:function(e,t,r){return function(e,t,r){var i=t.itemMetadataMap,n=t.lastMeasuredIndex;return(n>0?i[n].offset:0)>=r?R(e,t,n,0,r):function(e,t,r,i){for(var n=e.itemCount,o=1;r<n&&A(e,r,t).offset<i;)r+=o,o*=2;return R(e,t,Math.min(r,n-1),Math.floor(r/2),i)}(e,t,Math.max(0,n),r)}(e,r,t)},getStopIndexForStartIndex:function(e,t,r,i){for(var n=e.direction,o=e.height,a=e.itemCount,s=e.layout,l=e.width,c="horizontal"===n||"horizontal"===s?l:o,d=A(e,t,i),u=r+c,h=d.offset+d.size,p=t;p<a-1&&h<u;)p++,h+=A(e,p,i).size;return p},initInstanceProps:function(e,t){var r={itemMetadataMap:{},estimatedItemSize:e.estimatedItemSize||50,lastMeasuredIndex:-1};return t.resetAfterIndex=function(e,i){void 0===i&&(i=!0),r.lastMeasuredIndex=Math.min(r.lastMeasuredIndex,e-1),t._getItemStyleCache(-1),i&&t.forceUpdate()},r},shouldResetStyleCacheOnItemSizeChange:!1,validateProps:function(e){e.itemSize}}),T=d({createRecord:function(e,t,r,i){var n=t.recomputeTree,o=t.resetAfterId,a=l({data:e,height:i?i.public.height:e.defaultHeight,isOpen:i?i.public.isOpen:e.isOpenByDefault,resize:function(e,t){a.public.height=e,o(a.public.data.id,t)},setOpen:function(t){var r;return n(((r={})[e.id]=t,r))}},r);return a}}),M=function(e){function t(t,r){var i;return(i=e.call(this,t,r)||this).getItemSize=i.getItemSize.bind((0,o.A)(i)),i.state=(0,n.A)({},i.state,{computeTree:T,resetAfterId:i.resetAfterId.bind((0,o.A)(i))}),i}(0,a.A)(t,e);var r=t.prototype;return r.resetAfterId=function(e,t){var r;void 0===t&&(t=!1);var i=this.state,n=i.list,o=i.order;null==(r=n.current)||r.resetAfterIndex(o.indexOf(e),t)},r.recomputeTree=function(t){var r=this;return e.prototype.recomputeTree.call(this,t).then((function(){var e;null==(e=r.state.list.current)||e.resetAfterIndex(0,!0)}))},r.render=function(){var e=this.props,t=(e.children,e.placeholder),r=e.itemSize,n=e.rowComponent,o=(e.treeWalker,(0,p.A)(e,["children","placeholder","itemSize","rowComponent","treeWalker"])),a=this.state,s=a.attachRefs,l=a.order;return t&&0===l.length?t:i.createElement(C,Object.assign({},o,{itemCount:l.length,itemData:this.getItemData(),itemKey:c,itemSize:null!=r?r:this.getItemSize,ref:s}),n)},r.getItemSize=function(e){return this.getRecordData(e).height},t}(h)}}]); //# sourceMappingURL=1725.795fc4d3.chunk.js.map