@abtnode/webapp 1.16.25-next-be3a37f4 → 1.16.25-next-0ba03ffc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/blocklet.js +1 -1
- package/blocklet.yml +1 -1
- package/build/asset-manifest.json +39 -39
- package/build/index.html +1 -1
- package/build/service-worker.js +1 -1
- package/build/static/js/{1371.97ef96e6.chunk.js → 1371.384ff23d.chunk.js} +1 -1
- package/build/static/js/{1685.79e259fc.chunk.js → 1685.38dde44d.chunk.js} +2 -2
- package/build/static/js/{2168.4aa1c106.chunk.js → 2168.f1dd9639.chunk.js} +1 -1
- package/build/static/js/{2294.9e37053f.chunk.js → 2294.c34a84c9.chunk.js} +1 -1
- package/build/static/js/{2362.5f1e7e82.chunk.js → 2362.94b92a48.chunk.js} +1 -1
- package/build/static/js/{2746.6d8ac071.chunk.js → 2746.2d05d722.chunk.js} +1 -1
- package/build/static/js/{2960.a4c9635f.chunk.js → 2960.b8de1df9.chunk.js} +1 -1
- package/build/static/js/{3135.d72dbe37.chunk.js → 3135.77d2718d.chunk.js} +1 -1
- package/build/static/js/{3217.c3294084.chunk.js → 3217.ca7a654b.chunk.js} +1 -1
- package/build/static/js/{3555.b1ed2b24.chunk.js → 3555.91119c44.chunk.js} +2 -2
- package/build/static/js/{406.9e49d99c.chunk.js → 406.45183388.chunk.js} +1 -1
- package/build/static/js/{4232.7e43822b.chunk.js → 4232.e30e2ef3.chunk.js} +1 -1
- package/build/static/js/{436.d3dfe09b.chunk.js → 436.e7d7ead3.chunk.js} +1 -1
- package/build/static/js/{4509.f22f0238.chunk.js → 4509.1938d091.chunk.js} +2 -2
- package/build/static/js/{4852.5da43bce.chunk.js → 4852.312e3379.chunk.js} +1 -1
- package/build/static/js/{4901.719512e8.chunk.js → 4901.dce8c299.chunk.js} +1 -1
- package/build/static/js/{4930.c4c5d5d1.chunk.js → 4930.fa6304c9.chunk.js} +1 -1
- package/build/static/js/{5015.dda1435a.chunk.js → 5015.0b517513.chunk.js} +1 -1
- package/build/static/js/{5374.1135dab5.chunk.js → 5374.cc49abd9.chunk.js} +1 -1
- package/build/static/js/{5526.6683805e.chunk.js → 5526.c2f14847.chunk.js} +2 -2
- package/build/static/js/{5706.c53e6f7a.chunk.js → 5706.f5e6f131.chunk.js} +2 -2
- package/build/static/js/{592.c99306f8.chunk.js → 592.083d62e1.chunk.js} +2 -2
- package/build/static/js/{5973.b1923a12.chunk.js → 5973.d38f90d1.chunk.js} +1 -1
- package/build/static/js/662.72ee2e58.chunk.js +1 -0
- package/build/static/js/{670.e1d2eada.chunk.js → 670.6c2a6ee0.chunk.js} +1 -1
- package/build/static/js/6931.74ed2340.chunk.js +1 -0
- package/build/static/js/{7020.b9df1e44.chunk.js → 7020.9c60b23b.chunk.js} +1 -1
- package/build/static/js/7022.e13082c0.chunk.js +1 -0
- package/build/static/js/{7638.c558497d.chunk.js → 7638.9fd0dda5.chunk.js} +1 -1
- package/build/static/js/{7676.96ca7a9d.chunk.js → 7676.f117fb2d.chunk.js} +2 -2
- package/build/static/js/{7718.301ab3f8.chunk.js → 7718.678a95dc.chunk.js} +1 -1
- package/build/static/js/{8537.dc816763.chunk.js → 8537.4b795ccc.chunk.js} +1 -1
- package/build/static/js/{8986.2f7c6ea5.chunk.js → 8986.e83fc797.chunk.js} +1 -1
- package/build/static/js/{9041.bdd7c1f3.chunk.js → 9041.138dc887.chunk.js} +1 -1
- package/build/static/js/{9085.970be618.chunk.js → 9085.e0db3e1b.chunk.js} +1 -1
- package/build/static/js/{9590.3877fd54.chunk.js → 9590.c4195c8f.chunk.js} +2 -2
- package/build/static/js/{9662.2281f1d0.chunk.js → 9662.ac7b0a78.chunk.js} +1 -1
- package/build/static/js/main.c136b673.js +2 -0
- package/package.json +1 -1
- package/build/static/js/4471.ddd34e83.chunk.js +0 -1
- package/build/static/js/6931.61297d93.chunk.js +0 -1
- package/build/static/js/7022.242a07f7.chunk.js +0 -1
- package/build/static/js/main.e2907b63.js +0 -2
- /package/build/static/js/{1685.79e259fc.chunk.js.LICENSE.txt → 1685.38dde44d.chunk.js.LICENSE.txt} +0 -0
- /package/build/static/js/{3555.b1ed2b24.chunk.js.LICENSE.txt → 3555.91119c44.chunk.js.LICENSE.txt} +0 -0
- /package/build/static/js/{4509.f22f0238.chunk.js.LICENSE.txt → 4509.1938d091.chunk.js.LICENSE.txt} +0 -0
- /package/build/static/js/{5526.6683805e.chunk.js.LICENSE.txt → 5526.c2f14847.chunk.js.LICENSE.txt} +0 -0
- /package/build/static/js/{5706.c53e6f7a.chunk.js.LICENSE.txt → 5706.f5e6f131.chunk.js.LICENSE.txt} +0 -0
- /package/build/static/js/{592.c99306f8.chunk.js.LICENSE.txt → 592.083d62e1.chunk.js.LICENSE.txt} +0 -0
- /package/build/static/js/{7676.96ca7a9d.chunk.js.LICENSE.txt → 7676.f117fb2d.chunk.js.LICENSE.txt} +0 -0
- /package/build/static/js/{9590.3877fd54.chunk.js.LICENSE.txt → 9590.c4195c8f.chunk.js.LICENSE.txt} +0 -0
- /package/build/static/js/{main.e2907b63.js.LICENSE.txt → main.c136b673.js.LICENSE.txt} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[2168],{94464:(e,t,o)=>{o.d(t,{Z:()=>h});var r=o(55898),l=o.n(r),n=o(76569),a=o(23985),i=o(76223),s=o(47685),c=o(96266);const d="index",u={tabs:"".concat(d,"-tabs"),tab:"".concat(d,"-tab")},b=(0,s.zo)(n.Z)((e=>{let{theme:t}=e;return{["& .".concat(u.tabs)]:{},["& .".concat(u.tab)]:{fontSize:"0.875rem",[t.breakpoints.up("md")]:{fontSize:"1rem"}}}}));function p(e){let{tabs:t,current:o,onChange:r,...l}=e;return(0,c.jsx)(n.Z,{scrollButtons:"auto",value:o,onChange:(e,t)=>r(t),...l,variant:"scrollable",sx:{minHeight:"auto",".MuiTabs-scrollButtons.Mui-disabled":{opacity:.3,cursor:"not-allowed",pointerEvents:"auto"},".MuiTabs-scroller":{borderRadius:"100vw"},".MuiTabs-flexContainer":{borderRadius:"100vw",backgroundColor:i.E.backgroundsBgComponent,padding:.5,display:"inline-flex",columnGap:.25},".MuiTab-root":{borderRadius:"100vw",border:"1px solid transparent",minHeight:"auto",lineHeight:1,py:1,color:i.E.foregroundsFgSubtile,fontSize:"13px",fontWeight:"normal",textTransform:"capitalize",transition:"background-color 0.2s ease","&.Mui-selected, &:hover":{backgroundColor:"white",borderColor:i.E.lineBorderBase,color:i.E.foregroundsFgBase}},".MuiTabs-indicator":{display:"none"},...l.sx},children:t.map((e=>(0,c.jsx)(a.Z,{className:u.tab,value:e.value,label:e.label,icon:e.icon||null},e.value)))})}function f(e){let{tabs:t,current:o,onChange:r,...l}=e;return(0,c.jsx)(n.Z,{scrollButtons:"auto",value:o,onChange:(e,t)=>r(t),...l,variant:"scrollable",sx:{minHeight:"auto",".MuiTabs-scrollButtons.Mui-disabled":{opacity:.3,cursor:"not-allowed",pointerEvents:"auto"},".MuiTabs-scroller":{"&::after":{content:'""',display:"block",width:"100%",height:"1px",backgroundColor:i.E.strokeBorderStrong,bottom:0}},".MuiTabs-flexContainer":{display:"inline-flex",columnGap:2.5,px:0,pb:.5},".MuiTab-root":{border:"1px solid transparent",minHeight:"auto",lineHeight:1,py:1,px:0,color:i.E.foregroundsFgSubtile,fontSize:"14px",fontWeight:500,textTransform:"capitalize",minWidth:"auto","&.Mui-selected, &:hover":{color:i.E.foregroundsFgBase}},".MuiTabs-indicator":{height:"1px",backgroundColor:i.E.foregroundsFgBase},...l.sx},children:t.map((e=>(0,c.jsx)(a.Z,{className:u.tab,value:e.value,label:e.label,icon:e.icon||null},e.value)))})}function h(e){let{tabs:t,current:o,onChange:r,...l}=e;return"card"===l.variant?(0,c.jsx)(p,{...l,tabs:t,current:o,onChange:r}):"line"===l.variant?(0,c.jsx)(f,{...l,tabs:t,current:o,onChange:r}):(0,c.jsx)(b,{scrollButtons:"auto",variant:"scrollable",value:o,onChange:(e,t)=>r(t),indicatorColor:"primary",...l,className:[u.tabs,l.className||""].join(" "),children:t.map((e=>(0,c.jsx)(a.Z,{className:u.tab,value:e.value,label:e.label,icon:e.icon||null},e.value)))})}p.propTypes={tabs:l().array.isRequired,current:l().string.isRequired,onChange:l().func.isRequired},f.propTypes={tabs:l().array.isRequired,current:l().string.isRequired,onChange:l().func.isRequired},h.propTypes={tabs:l().array.isRequired,current:l().string.isRequired,onChange:l().func.isRequired}},27773:(e,t,o)=>{var r=o(71600);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(o(56930)),n=o(96266);t.default=(0,l.default)((0,n.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"}),"Delete")},83294:(e,t,o)=>{var r=o(71600);t.Z=void 0;var l=r(o(56930)),n=o(96266);t.Z=(0,l.default)((0,n.jsx)("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"MoreVert")},25506:(e,t,o)=>{o.d(t,{Z:()=>v});var r=o(31461),l=o(7896),n=o(5057),a=o(9978),i=o(82261),s=o(62773),c=o(42908),d=o(81937),u=o(38038),b=o(43070),p=o(96266);const f=["className","row"],h=(0,s.ZP)("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.row&&t.row]}})((e=>{let{ownerState:t}=e;return(0,l.Z)({display:"flex",flexDirection:"column",flexWrap:"wrap"},t.row&&{flexDirection:"row"})})),v=n.forwardRef((function(e,t){const o=(0,c.Z)({props:e,name:"MuiFormGroup"}),{className:n,row:s=!1}=o,v=(0,r.Z)(o,f),m=(0,u.Z)(),g=(0,b.Z)({props:o,muiFormControl:m,states:["error"]}),w=(0,l.Z)({},o,{row:s,error:g.error}),x=(e=>{const{classes:t,row:o,error:r}=e,l={root:["root",o&&"row",r&&"error"]};return(0,i.Z)(l,d.y,t)})(w);return(0,p.jsx)(h,(0,l.Z)({className:(0,a.Z)(x.root,n),ownerState:w,ref:t},v))}))},81937:(e,t,o)=>{o.d(t,{Z:()=>a,y:()=>n});var r=o(46849),l=o(96036);function n(e){return(0,l.ZP)("MuiFormGroup",e)}const a=(0,r.Z)("MuiFormGroup",["root","row","error"])},23985:(e,t,o)=>{o.d(t,{Z:()=>w});var r=o(31461),l=o(7896),n=o(5057),a=o(9978),i=o(82261),s=o(66230),c=o(6285),d=o(42908),u=o(62773),b=o(46849),p=o(96036);function f(e){return(0,p.ZP)("MuiTab",e)}const h=(0,b.Z)("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]);var v=o(96266);const m=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],g=(0,u.ZP)(s.Z,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.label&&o.icon&&t.labelIcon,t["textColor".concat((0,c.Z)(o.textColor))],o.fullWidth&&t.fullWidth,o.wrapped&&t.wrapped]}})((e=>{let{theme:t,ownerState:o}=e;return(0,l.Z)({},t.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},o.label&&{flexDirection:"top"===o.iconPosition||"bottom"===o.iconPosition?"column":"row"},{lineHeight:1.25},o.icon&&o.label&&{minHeight:72,paddingTop:9,paddingBottom:9,["& > .".concat(h.iconWrapper)]:(0,l.Z)({},"top"===o.iconPosition&&{marginBottom:6},"bottom"===o.iconPosition&&{marginTop:6},"start"===o.iconPosition&&{marginRight:t.spacing(1)},"end"===o.iconPosition&&{marginLeft:t.spacing(1)})},"inherit"===o.textColor&&{color:"inherit",opacity:.6,["&.".concat(h.selected)]:{opacity:1},["&.".concat(h.disabled)]:{opacity:(t.vars||t).palette.action.disabledOpacity}},"primary"===o.textColor&&{color:(t.vars||t).palette.text.secondary,["&.".concat(h.selected)]:{color:(t.vars||t).palette.primary.main},["&.".concat(h.disabled)]:{color:(t.vars||t).palette.text.disabled}},"secondary"===o.textColor&&{color:(t.vars||t).palette.text.secondary,["&.".concat(h.selected)]:{color:(t.vars||t).palette.secondary.main},["&.".concat(h.disabled)]:{color:(t.vars||t).palette.text.disabled}},o.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},o.wrapped&&{fontSize:t.typography.pxToRem(12)})})),w=n.forwardRef((function(e,t){const o=(0,d.Z)({props:e,name:"MuiTab"}),{className:s,disabled:u=!1,disableFocusRipple:b=!1,fullWidth:p,icon:h,iconPosition:w="top",indicator:x,label:S,onChange:Z,onClick:y,onFocus:C,selected:B,selectionFollowsFocus:M,textColor:R="inherit",value:E,wrapped:T=!1}=o,N=(0,r.Z)(o,m),P=(0,l.Z)({},o,{disabled:u,disableFocusRipple:b,selected:B,icon:!!h,iconPosition:w,label:!!S,fullWidth:p,textColor:R,wrapped:T}),W=(e=>{const{classes:t,textColor:o,fullWidth:r,wrapped:l,icon:n,label:a,selected:s,disabled:d}=e,u={root:["root",n&&a&&"labelIcon","textColor".concat((0,c.Z)(o)),r&&"fullWidth",l&&"wrapped",s&&"selected",d&&"disabled"],iconWrapper:["iconWrapper"]};return(0,i.Z)(u,f,t)})(P),I=h&&S&&n.isValidElement(h)?n.cloneElement(h,{className:(0,a.Z)(W.iconWrapper,h.props.className)}):h;return(0,v.jsxs)(g,(0,l.Z)({focusRipple:!b,className:(0,a.Z)(W.root,s),ref:t,role:"tab","aria-selected":B,disabled:u,onClick:e=>{!B&&Z&&Z(e,E),y&&y(e)},onFocus:e=>{M&&!B&&Z&&Z(e,E),C&&C(e)},ownerState:P,tabIndex:B?0:-1},N,{children:["top"===w||"start"===w?(0,v.jsxs)(n.Fragment,{children:[I,S]}):(0,v.jsxs)(n.Fragment,{children:[S,I]}),x]}))}))},76569:(e,t,o)=>{o.d(t,{Z:()=>Y});var r=o(31461),l=o(7896),n=o(5057),a=(o(97408),o(9978)),i=o(15109),s=o(82261),c=o(62773),d=o(42908),u=o(96366),b=o(50049);let p;function f(){if(p)return p;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),p="reverse",e.scrollLeft>0?p="default":(e.scrollLeft=1,0===e.scrollLeft&&(p="negative")),document.body.removeChild(e),p}function h(e,t){const o=e.scrollLeft;if("rtl"!==t)return o;switch(f()){case"negative":return e.scrollWidth-e.clientWidth+o;case"reverse":return e.scrollWidth-e.clientWidth-o;default:return o}}function v(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}var m=o(61121),g=o(23406),w=o(96266);const x=["onChange"],S={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};var Z=o(4601),y=o(50999),C=o(66230),B=o(46849),M=o(96036);function R(e){return(0,M.ZP)("MuiTabScrollButton",e)}const E=(0,B.Z)("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),T=["className","slots","slotProps","direction","orientation","disabled"],N=(0,c.ZP)(C.Z,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.orientation&&t[o.orientation]]}})((e=>{let{ownerState:t}=e;return(0,l.Z)({width:40,flexShrink:0,opacity:.8,["&.".concat(E.disabled)]:{opacity:0}},"vertical"===t.orientation&&{width:"100%",height:40,"& svg":{transform:"rotate(".concat(t.isRtl?-90:90,"deg)")}})})),P=n.forwardRef((function(e,t){var o,n;const c=(0,d.Z)({props:e,name:"MuiTabScrollButton"}),{className:b,slots:p={},slotProps:f={},direction:h}=c,v=(0,r.Z)(c,T),m="rtl"===(0,u.Z)().direction,g=(0,l.Z)({isRtl:m},c),x=(e=>{const{classes:t,orientation:o,disabled:r}=e,l={root:["root",o,r&&"disabled"]};return(0,s.Z)(l,R,t)})(g),S=null!=(o=p.StartScrollButtonIcon)?o:Z.Z,C=null!=(n=p.EndScrollButtonIcon)?n:y.Z,B=(0,i.y)({elementType:S,externalSlotProps:f.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:g}),M=(0,i.y)({elementType:C,externalSlotProps:f.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:g});return(0,w.jsx)(N,(0,l.Z)({component:"div",className:(0,a.Z)(x.root,b),ref:t,role:null,ownerState:g,tabIndex:null},v,{children:"left"===h?(0,w.jsx)(S,(0,l.Z)({},B)):(0,w.jsx)(C,(0,l.Z)({},M))}))}));var W=o(5862),I=o(18759),k=o(33897);const z=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],F=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,j=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,L=(e,t,o)=>{let r=!1,l=o(e,t);for(;l;){if(l===e.firstChild){if(r)return;r=!0}const t=l.disabled||"true"===l.getAttribute("aria-disabled");if(l.hasAttribute("tabindex")&&!t)return void l.focus();l=o(e,l)}},H=(0,c.ZP)("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{["& .".concat(I.Z.scrollButtons)]:t.scrollButtons},{["& .".concat(I.Z.scrollButtons)]:o.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,o.vertical&&t.vertical]}})((e=>{let{ownerState:t,theme:o}=e;return(0,l.Z)({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},t.vertical&&{flexDirection:"column"},t.scrollButtonsHideMobile&&{["& .".concat(I.Z.scrollButtons)]:{[o.breakpoints.down("sm")]:{display:"none"}}})})),A=(0,c.ZP)("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.scroller,o.fixed&&t.fixed,o.hideScrollbar&&t.hideScrollbar,o.scrollableX&&t.scrollableX,o.scrollableY&&t.scrollableY]}})((e=>{let{ownerState:t}=e;return(0,l.Z)({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},t.fixed&&{overflowX:"hidden",width:"100%"},t.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},t.scrollableX&&{overflowX:"auto",overflowY:"hidden"},t.scrollableY&&{overflowY:"auto",overflowX:"hidden"})})),O=(0,c.ZP)("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.flexContainer,o.vertical&&t.flexContainerVertical,o.centered&&t.centered]}})((e=>{let{ownerState:t}=e;return(0,l.Z)({display:"flex"},t.vertical&&{flexDirection:"column"},t.centered&&{justifyContent:"center"})})),X=(0,c.ZP)("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})((e=>{let{ownerState:t,theme:o}=e;return(0,l.Z)({position:"absolute",height:2,bottom:0,width:"100%",transition:o.transitions.create()},"primary"===t.indicatorColor&&{backgroundColor:(o.vars||o).palette.primary.main},"secondary"===t.indicatorColor&&{backgroundColor:(o.vars||o).palette.secondary.main},t.vertical&&{height:"100%",width:2,right:0})})),q=(0,c.ZP)((function(e){const{onChange:t}=e,o=(0,r.Z)(e,x),a=n.useRef(),i=n.useRef(null),s=()=>{a.current=i.current.offsetHeight-i.current.clientHeight};return(0,m.Z)((()=>{const e=(0,b.Z)((()=>{const e=a.current;s(),e!==a.current&&t(a.current)})),o=(0,g.Z)(i.current);return o.addEventListener("resize",e),()=>{e.clear(),o.removeEventListener("resize",e)}}),[t]),n.useEffect((()=>{s(),t(a.current)}),[t]),(0,w.jsx)("div",(0,l.Z)({style:S,ref:i},o))}))({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),D={};const Y=n.forwardRef((function(e,t){const o=(0,d.Z)({props:e,name:"MuiTabs"}),c=(0,u.Z)(),p="rtl"===c.direction,{"aria-label":m,"aria-labelledby":x,action:S,centered:Z=!1,children:y,className:C,component:B="div",allowScrollButtonsMobile:M=!1,indicatorColor:R="primary",onChange:E,orientation:T="horizontal",ScrollButtonComponent:N=P,scrollButtons:Y="auto",selectionFollowsFocus:G,slots:V={},slotProps:_={},TabIndicatorProps:J={},TabScrollButtonProps:K={},textColor:U="primary",value:Q,variant:$="standard",visibleScrollbar:ee=!1}=o,te=(0,r.Z)(o,z),oe="scrollable"===$,re="vertical"===T,le=re?"scrollTop":"scrollLeft",ne=re?"top":"left",ae=re?"bottom":"right",ie=re?"clientHeight":"clientWidth",se=re?"height":"width",ce=(0,l.Z)({},o,{component:B,allowScrollButtonsMobile:M,indicatorColor:R,orientation:T,vertical:re,scrollButtons:Y,textColor:U,variant:$,visibleScrollbar:ee,fixed:!oe,hideScrollbar:oe&&!ee,scrollableX:oe&&!re,scrollableY:oe&&re,centered:Z&&!oe,scrollButtonsHideMobile:!M}),de=(e=>{const{vertical:t,fixed:o,hideScrollbar:r,scrollableX:l,scrollableY:n,centered:a,scrollButtonsHideMobile:i,classes:c}=e,d={root:["root",t&&"vertical"],scroller:["scroller",o&&"fixed",r&&"hideScrollbar",l&&"scrollableX",n&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",a&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",i&&"scrollButtonsHideMobile"],scrollableX:[l&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]};return(0,s.Z)(d,I.m,c)})(ce),ue=(0,i.y)({elementType:V.StartScrollButtonIcon,externalSlotProps:_.startScrollButtonIcon,ownerState:ce}),be=(0,i.y)({elementType:V.EndScrollButtonIcon,externalSlotProps:_.endScrollButtonIcon,ownerState:ce});const[pe,fe]=n.useState(!1),[he,ve]=n.useState(D),[me,ge]=n.useState(!1),[we,xe]=n.useState(!1),[Se,Ze]=n.useState(!1),[ye,Ce]=n.useState({overflow:"hidden",scrollbarWidth:0}),Be=new Map,Me=n.useRef(null),Re=n.useRef(null),Ee=()=>{const e=Me.current;let t,o;if(e){const o=e.getBoundingClientRect();t={clientWidth:e.clientWidth,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop,scrollLeftNormalized:h(e,c.direction),scrollWidth:e.scrollWidth,top:o.top,bottom:o.bottom,left:o.left,right:o.right}}if(e&&!1!==Q){const e=Re.current.children;if(e.length>0){const t=e[Be.get(Q)];0,o=t?t.getBoundingClientRect():null}}return{tabsMeta:t,tabMeta:o}},Te=(0,W.Z)((()=>{const{tabsMeta:e,tabMeta:t}=Ee();let o,r=0;if(re)o="top",t&&e&&(r=t.top-e.top+e.scrollTop);else if(o=p?"right":"left",t&&e){const l=p?e.scrollLeftNormalized+e.clientWidth-e.scrollWidth:e.scrollLeft;r=(p?-1:1)*(t[o]-e[o]+l)}const l={[o]:r,[se]:t?t[se]:0};if(isNaN(he[o])||isNaN(he[se]))ve(l);else{const e=Math.abs(he[o]-l[o]),t=Math.abs(he[se]-l[se]);(e>=1||t>=1)&&ve(l)}})),Ne=function(e){let{animation:t=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t?function(e,t,o){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:()=>{};const{ease:n=v,duration:a=300}=r;let i=null;const s=t[e];let c=!1;const d=()=>{c=!0},u=r=>{if(c)return void l(new Error("Animation cancelled"));null===i&&(i=r);const d=Math.min(1,(r-i)/a);t[e]=n(d)*(o-s)+s,d>=1?requestAnimationFrame((()=>{l(null)})):requestAnimationFrame(u)};s===o?l(new Error("Element already at target position")):requestAnimationFrame(u)}(le,Me.current,e,{duration:c.transitions.duration.standard}):Me.current[le]=e},Pe=e=>{let t=Me.current[le];re?t+=e:(t+=e*(p?-1:1),t*=p&&"reverse"===f()?-1:1),Ne(t)},We=()=>{const e=Me.current[ie];let t=0;const o=Array.from(Re.current.children);for(let r=0;r<o.length;r+=1){const l=o[r];if(t+l[ie]>e){0===r&&(t=e);break}t+=l[ie]}return t},Ie=()=>{Pe(-1*We())},ke=()=>{Pe(We())},ze=n.useCallback((e=>{Ce({overflow:null,scrollbarWidth:e})}),[]),Fe=(0,W.Z)((e=>{const{tabsMeta:t,tabMeta:o}=Ee();if(o&&t)if(o[ne]<t[ne]){const r=t[le]+(o[ne]-t[ne]);Ne(r,{animation:e})}else if(o[ae]>t[ae]){const r=t[le]+(o[ae]-t[ae]);Ne(r,{animation:e})}})),je=(0,W.Z)((()=>{oe&&!1!==Y&&Ze(!Se)}));n.useEffect((()=>{const e=(0,b.Z)((()=>{Me.current&&Te()}));let t;const o=o=>{o.forEach((e=>{e.removedNodes.forEach((e=>{var o;null==(o=t)||o.unobserve(e)})),e.addedNodes.forEach((e=>{var o;null==(o=t)||o.observe(e)}))})),e(),je()},r=(0,g.Z)(Me.current);let l;return r.addEventListener("resize",e),"undefined"!==typeof ResizeObserver&&(t=new ResizeObserver(e),Array.from(Re.current.children).forEach((e=>{t.observe(e)}))),"undefined"!==typeof MutationObserver&&(l=new MutationObserver(o),l.observe(Re.current,{childList:!0})),()=>{var o,n;e.clear(),r.removeEventListener("resize",e),null==(o=l)||o.disconnect(),null==(n=t)||n.disconnect()}}),[Te,je]),n.useEffect((()=>{const e=Array.from(Re.current.children),t=e.length;if("undefined"!==typeof IntersectionObserver&&t>0&&oe&&!1!==Y){const o=e[0],r=e[t-1],l={root:Me.current,threshold:.99},n=new IntersectionObserver((e=>{ge(!e[0].isIntersecting)}),l);n.observe(o);const a=new IntersectionObserver((e=>{xe(!e[0].isIntersecting)}),l);return a.observe(r),()=>{n.disconnect(),a.disconnect()}}}),[oe,Y,Se,null==y?void 0:y.length]),n.useEffect((()=>{fe(!0)}),[]),n.useEffect((()=>{Te()})),n.useEffect((()=>{Fe(D!==he)}),[Fe,he]),n.useImperativeHandle(S,(()=>({updateIndicator:Te,updateScrollButtons:je})),[Te,je]);const Le=(0,w.jsx)(X,(0,l.Z)({},J,{className:(0,a.Z)(de.indicator,J.className),ownerState:ce,style:(0,l.Z)({},he,J.style)}));let He=0;const Ae=n.Children.map(y,(e=>{if(!n.isValidElement(e))return null;const t=void 0===e.props.value?He:e.props.value;Be.set(t,He);const o=t===Q;return He+=1,n.cloneElement(e,(0,l.Z)({fullWidth:"fullWidth"===$,indicator:o&&!pe&&Le,selected:o,selectionFollowsFocus:G,onChange:E,textColor:U,value:t},1!==He||!1!==Q||e.props.tabIndex?{}:{tabIndex:0}))})),Oe=(()=>{const e={};e.scrollbarSizeListener=oe?(0,w.jsx)(q,{onChange:ze,className:(0,a.Z)(de.scrollableX,de.hideScrollbar)}):null;const t=oe&&("auto"===Y&&(me||we)||!0===Y);return e.scrollButtonStart=t?(0,w.jsx)(N,(0,l.Z)({slots:{StartScrollButtonIcon:V.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:ue},orientation:T,direction:p?"right":"left",onClick:Ie,disabled:!me},K,{className:(0,a.Z)(de.scrollButtons,K.className)})):null,e.scrollButtonEnd=t?(0,w.jsx)(N,(0,l.Z)({slots:{EndScrollButtonIcon:V.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:be},orientation:T,direction:p?"left":"right",onClick:ke,disabled:!we},K,{className:(0,a.Z)(de.scrollButtons,K.className)})):null,e})();return(0,w.jsxs)(H,(0,l.Z)({className:(0,a.Z)(de.root,C),ownerState:ce,ref:t,as:B},te,{children:[Oe.scrollButtonStart,Oe.scrollbarSizeListener,(0,w.jsxs)(A,{className:de.scroller,ownerState:ce,style:{overflow:ye.overflow,[re?"margin".concat(p?"Left":"Right"):"marginBottom"]:ee?void 0:-ye.scrollbarWidth},ref:Me,children:[(0,w.jsx)(O,{"aria-label":m,"aria-labelledby":x,"aria-orientation":"vertical"===T?"vertical":null,className:de.flexContainer,ownerState:ce,onKeyDown:e=>{const t=Re.current,o=(0,k.Z)(t).activeElement;if("tab"!==o.getAttribute("role"))return;let r="horizontal"===T?"ArrowLeft":"ArrowUp",l="horizontal"===T?"ArrowRight":"ArrowDown";switch("horizontal"===T&&p&&(r="ArrowRight",l="ArrowLeft"),e.key){case r:e.preventDefault(),L(t,o,j);break;case l:e.preventDefault(),L(t,o,F);break;case"Home":e.preventDefault(),L(t,null,F);break;case"End":e.preventDefault(),L(t,null,j)}},ref:Re,role:"tablist",children:Ae}),pe&&Le]}),Oe.scrollButtonEnd]}))}))},18759:(e,t,o)=>{o.d(t,{Z:()=>a,m:()=>n});var r=o(46849),l=o(96036);function n(e){return(0,l.ZP)("MuiTabs",e)}const a=(0,r.Z)("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"])},4601:(e,t,o)=>{o.d(t,{Z:()=>n});o(5057);var r=o(57471),l=o(96266);const n=(0,r.Z)((0,l.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft")},50999:(e,t,o)=>{o.d(t,{Z:()=>n});o(5057);var r=o(57471),l=o(96266);const n=(0,r.Z)((0,l.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight")},67654:(e,t,o)=>{var r=o(5057),l=o(77931);t.Z=function(e,t,o){if(!l.isBrowser)return[t,l.noop,l.noop];if(!e)throw new Error("useLocalStorage key may not be falsy");var n=o?o.raw?function(e){return e}:o.deserializer:JSON.parse,a=r.useRef((function(e){try{var r=o?o.raw?String:o.serializer:JSON.stringify,l=localStorage.getItem(e);return null!==l?n(l):(t&&localStorage.setItem(e,r(t)),t)}catch(i){return t}})),i=r.useState((function(){return a.current(e)})),s=i[0],c=i[1];r.useLayoutEffect((function(){return c(a.current(e))}),[e]);var d=r.useCallback((function(t){try{var r="function"===typeof t?t(s):t;if("undefined"===typeof r)return;var l=void 0;l=o?o.raw?"string"===typeof r?r:JSON.stringify(r):o.serializer?o.serializer(r):JSON.stringify(r):JSON.stringify(r),localStorage.setItem(e,l),c(n(l))}catch(i){}}),[e,c]),u=r.useCallback((function(){try{localStorage.removeItem(e),c(void 0)}catch(i){}}),[e,c]);return[s,d,u]}}}]);
|
|
1
|
+
"use strict";(self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[2168],{94464:(e,t,o)=>{o.d(t,{Z:()=>h});var r=o(55898),l=o.n(r),n=o(76569),a=o(23985),i=o(76223),s=o(47685),c=o(96266);const d="index",u={tabs:"".concat(d,"-tabs"),tab:"".concat(d,"-tab")},b=(0,s.zo)(n.Z)((e=>{let{theme:t}=e;return{["& .".concat(u.tabs)]:{},["& .".concat(u.tab)]:{fontSize:"0.875rem",[t.breakpoints.up("md")]:{fontSize:"1rem"}}}}));function p(e){let{tabs:t,current:o,onChange:r,...l}=e;return(0,c.jsx)(n.Z,{scrollButtons:"auto",value:o,onChange:(e,t)=>r(t),...l,variant:"scrollable",sx:{minHeight:"auto",".MuiTabs-scrollButtons.Mui-disabled":{opacity:.3,cursor:"not-allowed",pointerEvents:"auto"},".MuiTabs-scroller":{borderRadius:"100vw"},".MuiTabs-flexContainer":{borderRadius:"100vw",backgroundColor:i.E.backgroundsBgComponent,padding:.5,display:"inline-flex",columnGap:.25},".MuiTab-root":{borderRadius:"100vw",border:"1px solid transparent",minHeight:"auto",lineHeight:1,py:1,color:i.E.foregroundsFgSubtile,fontSize:"13px",fontWeight:"normal",textTransform:"capitalize",transition:"background-color 0.2s ease","&.Mui-selected, &:hover":{backgroundColor:"white",borderColor:i.E.lineBorderBase,color:i.E.foregroundsFgBase}},".MuiTabs-indicator":{display:"none"},...l.sx},children:t.map((e=>(0,c.jsx)(a.Z,{className:u.tab,value:e.value,label:e.label,icon:e.icon||null},e.value)))})}function f(e){let{tabs:t,current:o,onChange:r,...l}=e;return(0,c.jsx)(n.Z,{scrollButtons:"auto",value:o,onChange:(e,t)=>r(t),...l,variant:"scrollable",sx:{minHeight:"auto",".MuiTabs-scrollButtons.Mui-disabled":{opacity:.3,cursor:"not-allowed",pointerEvents:"auto"},".MuiTabs-scroller":{"&::after":{content:'""',display:"block",width:"100%",height:"1px",backgroundColor:i.E.strokeBorderStrong,bottom:0}},".MuiTabs-flexContainer":{display:"inline-flex",columnGap:2.5,px:0,pb:.5},".MuiTab-root":{border:"1px solid transparent",minHeight:"auto",lineHeight:1,py:1,px:0,color:i.E.foregroundsFgSubtile,fontSize:"14px",fontWeight:500,textTransform:"capitalize",minWidth:"auto","&.Mui-selected, &:hover":{color:i.E.foregroundsFgBase}},".MuiTabs-indicator":{height:"1px",backgroundColor:i.E.foregroundsFgBase},...l.sx},children:t.map((e=>(0,c.jsx)(a.Z,{className:u.tab,value:e.value,label:e.label,icon:e.icon||null},e.value)))})}function h(e){let{tabs:t,current:o,onChange:r,...l}=e;return"card"===l.variant?(0,c.jsx)(p,{...l,tabs:t,current:o,onChange:r}):"line"===l.variant?(0,c.jsx)(f,{...l,tabs:t,current:o,onChange:r}):(0,c.jsx)(b,{scrollButtons:"auto",variant:"scrollable",value:o,onChange:(e,t)=>r(t),indicatorColor:"primary",...l,className:[u.tabs,l.className||""].join(" "),children:t.map((e=>(0,c.jsx)(a.Z,{className:u.tab,value:e.value,label:e.label,icon:e.icon||null},e.value)))})}p.propTypes={tabs:l().array.isRequired,current:l().string.isRequired,onChange:l().func.isRequired},f.propTypes={tabs:l().array.isRequired,current:l().string.isRequired,onChange:l().func.isRequired},h.propTypes={tabs:l().array.isRequired,current:l().string.isRequired,onChange:l().func.isRequired}},27773:(e,t,o)=>{var r=o(71600);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(o(56930)),n=o(96266);t.default=(0,l.default)((0,n.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"}),"Delete")},83294:(e,t,o)=>{var r=o(71600);t.Z=void 0;var l=r(o(56930)),n=o(96266);t.Z=(0,l.default)((0,n.jsx)("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"MoreVert")},25506:(e,t,o)=>{o.d(t,{Z:()=>v});var r=o(29218),l=o(7896),n=o(5057),a=o(9978),i=o(82261),s=o(62773),c=o(42908),d=o(81937),u=o(38038),b=o(43070),p=o(96266);const f=["className","row"],h=(0,s.ZP)("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.row&&t.row]}})((e=>{let{ownerState:t}=e;return(0,l.Z)({display:"flex",flexDirection:"column",flexWrap:"wrap"},t.row&&{flexDirection:"row"})})),v=n.forwardRef((function(e,t){const o=(0,c.Z)({props:e,name:"MuiFormGroup"}),{className:n,row:s=!1}=o,v=(0,r.Z)(o,f),m=(0,u.Z)(),g=(0,b.Z)({props:o,muiFormControl:m,states:["error"]}),w=(0,l.Z)({},o,{row:s,error:g.error}),x=(e=>{const{classes:t,row:o,error:r}=e,l={root:["root",o&&"row",r&&"error"]};return(0,i.Z)(l,d.y,t)})(w);return(0,p.jsx)(h,(0,l.Z)({className:(0,a.Z)(x.root,n),ownerState:w,ref:t},v))}))},81937:(e,t,o)=>{o.d(t,{Z:()=>a,y:()=>n});var r=o(46849),l=o(96036);function n(e){return(0,l.ZP)("MuiFormGroup",e)}const a=(0,r.Z)("MuiFormGroup",["root","row","error"])},23985:(e,t,o)=>{o.d(t,{Z:()=>w});var r=o(29218),l=o(7896),n=o(5057),a=o(9978),i=o(82261),s=o(66230),c=o(6285),d=o(42908),u=o(62773),b=o(46849),p=o(96036);function f(e){return(0,p.ZP)("MuiTab",e)}const h=(0,b.Z)("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]);var v=o(96266);const m=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],g=(0,u.ZP)(s.Z,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.label&&o.icon&&t.labelIcon,t["textColor".concat((0,c.Z)(o.textColor))],o.fullWidth&&t.fullWidth,o.wrapped&&t.wrapped]}})((e=>{let{theme:t,ownerState:o}=e;return(0,l.Z)({},t.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},o.label&&{flexDirection:"top"===o.iconPosition||"bottom"===o.iconPosition?"column":"row"},{lineHeight:1.25},o.icon&&o.label&&{minHeight:72,paddingTop:9,paddingBottom:9,["& > .".concat(h.iconWrapper)]:(0,l.Z)({},"top"===o.iconPosition&&{marginBottom:6},"bottom"===o.iconPosition&&{marginTop:6},"start"===o.iconPosition&&{marginRight:t.spacing(1)},"end"===o.iconPosition&&{marginLeft:t.spacing(1)})},"inherit"===o.textColor&&{color:"inherit",opacity:.6,["&.".concat(h.selected)]:{opacity:1},["&.".concat(h.disabled)]:{opacity:(t.vars||t).palette.action.disabledOpacity}},"primary"===o.textColor&&{color:(t.vars||t).palette.text.secondary,["&.".concat(h.selected)]:{color:(t.vars||t).palette.primary.main},["&.".concat(h.disabled)]:{color:(t.vars||t).palette.text.disabled}},"secondary"===o.textColor&&{color:(t.vars||t).palette.text.secondary,["&.".concat(h.selected)]:{color:(t.vars||t).palette.secondary.main},["&.".concat(h.disabled)]:{color:(t.vars||t).palette.text.disabled}},o.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},o.wrapped&&{fontSize:t.typography.pxToRem(12)})})),w=n.forwardRef((function(e,t){const o=(0,d.Z)({props:e,name:"MuiTab"}),{className:s,disabled:u=!1,disableFocusRipple:b=!1,fullWidth:p,icon:h,iconPosition:w="top",indicator:x,label:S,onChange:Z,onClick:y,onFocus:C,selected:B,selectionFollowsFocus:M,textColor:R="inherit",value:E,wrapped:T=!1}=o,N=(0,r.Z)(o,m),P=(0,l.Z)({},o,{disabled:u,disableFocusRipple:b,selected:B,icon:!!h,iconPosition:w,label:!!S,fullWidth:p,textColor:R,wrapped:T}),W=(e=>{const{classes:t,textColor:o,fullWidth:r,wrapped:l,icon:n,label:a,selected:s,disabled:d}=e,u={root:["root",n&&a&&"labelIcon","textColor".concat((0,c.Z)(o)),r&&"fullWidth",l&&"wrapped",s&&"selected",d&&"disabled"],iconWrapper:["iconWrapper"]};return(0,i.Z)(u,f,t)})(P),I=h&&S&&n.isValidElement(h)?n.cloneElement(h,{className:(0,a.Z)(W.iconWrapper,h.props.className)}):h;return(0,v.jsxs)(g,(0,l.Z)({focusRipple:!b,className:(0,a.Z)(W.root,s),ref:t,role:"tab","aria-selected":B,disabled:u,onClick:e=>{!B&&Z&&Z(e,E),y&&y(e)},onFocus:e=>{M&&!B&&Z&&Z(e,E),C&&C(e)},ownerState:P,tabIndex:B?0:-1},N,{children:["top"===w||"start"===w?(0,v.jsxs)(n.Fragment,{children:[I,S]}):(0,v.jsxs)(n.Fragment,{children:[S,I]}),x]}))}))},76569:(e,t,o)=>{o.d(t,{Z:()=>Y});var r=o(29218),l=o(7896),n=o(5057),a=(o(97408),o(9978)),i=o(15109),s=o(82261),c=o(62773),d=o(42908),u=o(96366),b=o(50049);let p;function f(){if(p)return p;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),p="reverse",e.scrollLeft>0?p="default":(e.scrollLeft=1,0===e.scrollLeft&&(p="negative")),document.body.removeChild(e),p}function h(e,t){const o=e.scrollLeft;if("rtl"!==t)return o;switch(f()){case"negative":return e.scrollWidth-e.clientWidth+o;case"reverse":return e.scrollWidth-e.clientWidth-o;default:return o}}function v(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}var m=o(61121),g=o(23406),w=o(96266);const x=["onChange"],S={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};var Z=o(4601),y=o(50999),C=o(66230),B=o(46849),M=o(96036);function R(e){return(0,M.ZP)("MuiTabScrollButton",e)}const E=(0,B.Z)("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),T=["className","slots","slotProps","direction","orientation","disabled"],N=(0,c.ZP)(C.Z,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.orientation&&t[o.orientation]]}})((e=>{let{ownerState:t}=e;return(0,l.Z)({width:40,flexShrink:0,opacity:.8,["&.".concat(E.disabled)]:{opacity:0}},"vertical"===t.orientation&&{width:"100%",height:40,"& svg":{transform:"rotate(".concat(t.isRtl?-90:90,"deg)")}})})),P=n.forwardRef((function(e,t){var o,n;const c=(0,d.Z)({props:e,name:"MuiTabScrollButton"}),{className:b,slots:p={},slotProps:f={},direction:h}=c,v=(0,r.Z)(c,T),m="rtl"===(0,u.Z)().direction,g=(0,l.Z)({isRtl:m},c),x=(e=>{const{classes:t,orientation:o,disabled:r}=e,l={root:["root",o,r&&"disabled"]};return(0,s.Z)(l,R,t)})(g),S=null!=(o=p.StartScrollButtonIcon)?o:Z.Z,C=null!=(n=p.EndScrollButtonIcon)?n:y.Z,B=(0,i.y)({elementType:S,externalSlotProps:f.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:g}),M=(0,i.y)({elementType:C,externalSlotProps:f.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:g});return(0,w.jsx)(N,(0,l.Z)({component:"div",className:(0,a.Z)(x.root,b),ref:t,role:null,ownerState:g,tabIndex:null},v,{children:"left"===h?(0,w.jsx)(S,(0,l.Z)({},B)):(0,w.jsx)(C,(0,l.Z)({},M))}))}));var W=o(5862),I=o(18759),k=o(33897);const z=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],F=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,j=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,L=(e,t,o)=>{let r=!1,l=o(e,t);for(;l;){if(l===e.firstChild){if(r)return;r=!0}const t=l.disabled||"true"===l.getAttribute("aria-disabled");if(l.hasAttribute("tabindex")&&!t)return void l.focus();l=o(e,l)}},H=(0,c.ZP)("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{["& .".concat(I.Z.scrollButtons)]:t.scrollButtons},{["& .".concat(I.Z.scrollButtons)]:o.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,o.vertical&&t.vertical]}})((e=>{let{ownerState:t,theme:o}=e;return(0,l.Z)({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},t.vertical&&{flexDirection:"column"},t.scrollButtonsHideMobile&&{["& .".concat(I.Z.scrollButtons)]:{[o.breakpoints.down("sm")]:{display:"none"}}})})),A=(0,c.ZP)("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.scroller,o.fixed&&t.fixed,o.hideScrollbar&&t.hideScrollbar,o.scrollableX&&t.scrollableX,o.scrollableY&&t.scrollableY]}})((e=>{let{ownerState:t}=e;return(0,l.Z)({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},t.fixed&&{overflowX:"hidden",width:"100%"},t.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},t.scrollableX&&{overflowX:"auto",overflowY:"hidden"},t.scrollableY&&{overflowY:"auto",overflowX:"hidden"})})),O=(0,c.ZP)("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.flexContainer,o.vertical&&t.flexContainerVertical,o.centered&&t.centered]}})((e=>{let{ownerState:t}=e;return(0,l.Z)({display:"flex"},t.vertical&&{flexDirection:"column"},t.centered&&{justifyContent:"center"})})),X=(0,c.ZP)("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})((e=>{let{ownerState:t,theme:o}=e;return(0,l.Z)({position:"absolute",height:2,bottom:0,width:"100%",transition:o.transitions.create()},"primary"===t.indicatorColor&&{backgroundColor:(o.vars||o).palette.primary.main},"secondary"===t.indicatorColor&&{backgroundColor:(o.vars||o).palette.secondary.main},t.vertical&&{height:"100%",width:2,right:0})})),q=(0,c.ZP)((function(e){const{onChange:t}=e,o=(0,r.Z)(e,x),a=n.useRef(),i=n.useRef(null),s=()=>{a.current=i.current.offsetHeight-i.current.clientHeight};return(0,m.Z)((()=>{const e=(0,b.Z)((()=>{const e=a.current;s(),e!==a.current&&t(a.current)})),o=(0,g.Z)(i.current);return o.addEventListener("resize",e),()=>{e.clear(),o.removeEventListener("resize",e)}}),[t]),n.useEffect((()=>{s(),t(a.current)}),[t]),(0,w.jsx)("div",(0,l.Z)({style:S,ref:i},o))}))({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),D={};const Y=n.forwardRef((function(e,t){const o=(0,d.Z)({props:e,name:"MuiTabs"}),c=(0,u.Z)(),p="rtl"===c.direction,{"aria-label":m,"aria-labelledby":x,action:S,centered:Z=!1,children:y,className:C,component:B="div",allowScrollButtonsMobile:M=!1,indicatorColor:R="primary",onChange:E,orientation:T="horizontal",ScrollButtonComponent:N=P,scrollButtons:Y="auto",selectionFollowsFocus:G,slots:V={},slotProps:_={},TabIndicatorProps:J={},TabScrollButtonProps:K={},textColor:U="primary",value:Q,variant:$="standard",visibleScrollbar:ee=!1}=o,te=(0,r.Z)(o,z),oe="scrollable"===$,re="vertical"===T,le=re?"scrollTop":"scrollLeft",ne=re?"top":"left",ae=re?"bottom":"right",ie=re?"clientHeight":"clientWidth",se=re?"height":"width",ce=(0,l.Z)({},o,{component:B,allowScrollButtonsMobile:M,indicatorColor:R,orientation:T,vertical:re,scrollButtons:Y,textColor:U,variant:$,visibleScrollbar:ee,fixed:!oe,hideScrollbar:oe&&!ee,scrollableX:oe&&!re,scrollableY:oe&&re,centered:Z&&!oe,scrollButtonsHideMobile:!M}),de=(e=>{const{vertical:t,fixed:o,hideScrollbar:r,scrollableX:l,scrollableY:n,centered:a,scrollButtonsHideMobile:i,classes:c}=e,d={root:["root",t&&"vertical"],scroller:["scroller",o&&"fixed",r&&"hideScrollbar",l&&"scrollableX",n&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",a&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",i&&"scrollButtonsHideMobile"],scrollableX:[l&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]};return(0,s.Z)(d,I.m,c)})(ce),ue=(0,i.y)({elementType:V.StartScrollButtonIcon,externalSlotProps:_.startScrollButtonIcon,ownerState:ce}),be=(0,i.y)({elementType:V.EndScrollButtonIcon,externalSlotProps:_.endScrollButtonIcon,ownerState:ce});const[pe,fe]=n.useState(!1),[he,ve]=n.useState(D),[me,ge]=n.useState(!1),[we,xe]=n.useState(!1),[Se,Ze]=n.useState(!1),[ye,Ce]=n.useState({overflow:"hidden",scrollbarWidth:0}),Be=new Map,Me=n.useRef(null),Re=n.useRef(null),Ee=()=>{const e=Me.current;let t,o;if(e){const o=e.getBoundingClientRect();t={clientWidth:e.clientWidth,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop,scrollLeftNormalized:h(e,c.direction),scrollWidth:e.scrollWidth,top:o.top,bottom:o.bottom,left:o.left,right:o.right}}if(e&&!1!==Q){const e=Re.current.children;if(e.length>0){const t=e[Be.get(Q)];0,o=t?t.getBoundingClientRect():null}}return{tabsMeta:t,tabMeta:o}},Te=(0,W.Z)((()=>{const{tabsMeta:e,tabMeta:t}=Ee();let o,r=0;if(re)o="top",t&&e&&(r=t.top-e.top+e.scrollTop);else if(o=p?"right":"left",t&&e){const l=p?e.scrollLeftNormalized+e.clientWidth-e.scrollWidth:e.scrollLeft;r=(p?-1:1)*(t[o]-e[o]+l)}const l={[o]:r,[se]:t?t[se]:0};if(isNaN(he[o])||isNaN(he[se]))ve(l);else{const e=Math.abs(he[o]-l[o]),t=Math.abs(he[se]-l[se]);(e>=1||t>=1)&&ve(l)}})),Ne=function(e){let{animation:t=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t?function(e,t,o){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:()=>{};const{ease:n=v,duration:a=300}=r;let i=null;const s=t[e];let c=!1;const d=()=>{c=!0},u=r=>{if(c)return void l(new Error("Animation cancelled"));null===i&&(i=r);const d=Math.min(1,(r-i)/a);t[e]=n(d)*(o-s)+s,d>=1?requestAnimationFrame((()=>{l(null)})):requestAnimationFrame(u)};s===o?l(new Error("Element already at target position")):requestAnimationFrame(u)}(le,Me.current,e,{duration:c.transitions.duration.standard}):Me.current[le]=e},Pe=e=>{let t=Me.current[le];re?t+=e:(t+=e*(p?-1:1),t*=p&&"reverse"===f()?-1:1),Ne(t)},We=()=>{const e=Me.current[ie];let t=0;const o=Array.from(Re.current.children);for(let r=0;r<o.length;r+=1){const l=o[r];if(t+l[ie]>e){0===r&&(t=e);break}t+=l[ie]}return t},Ie=()=>{Pe(-1*We())},ke=()=>{Pe(We())},ze=n.useCallback((e=>{Ce({overflow:null,scrollbarWidth:e})}),[]),Fe=(0,W.Z)((e=>{const{tabsMeta:t,tabMeta:o}=Ee();if(o&&t)if(o[ne]<t[ne]){const r=t[le]+(o[ne]-t[ne]);Ne(r,{animation:e})}else if(o[ae]>t[ae]){const r=t[le]+(o[ae]-t[ae]);Ne(r,{animation:e})}})),je=(0,W.Z)((()=>{oe&&!1!==Y&&Ze(!Se)}));n.useEffect((()=>{const e=(0,b.Z)((()=>{Me.current&&Te()}));let t;const o=o=>{o.forEach((e=>{e.removedNodes.forEach((e=>{var o;null==(o=t)||o.unobserve(e)})),e.addedNodes.forEach((e=>{var o;null==(o=t)||o.observe(e)}))})),e(),je()},r=(0,g.Z)(Me.current);let l;return r.addEventListener("resize",e),"undefined"!==typeof ResizeObserver&&(t=new ResizeObserver(e),Array.from(Re.current.children).forEach((e=>{t.observe(e)}))),"undefined"!==typeof MutationObserver&&(l=new MutationObserver(o),l.observe(Re.current,{childList:!0})),()=>{var o,n;e.clear(),r.removeEventListener("resize",e),null==(o=l)||o.disconnect(),null==(n=t)||n.disconnect()}}),[Te,je]),n.useEffect((()=>{const e=Array.from(Re.current.children),t=e.length;if("undefined"!==typeof IntersectionObserver&&t>0&&oe&&!1!==Y){const o=e[0],r=e[t-1],l={root:Me.current,threshold:.99},n=new IntersectionObserver((e=>{ge(!e[0].isIntersecting)}),l);n.observe(o);const a=new IntersectionObserver((e=>{xe(!e[0].isIntersecting)}),l);return a.observe(r),()=>{n.disconnect(),a.disconnect()}}}),[oe,Y,Se,null==y?void 0:y.length]),n.useEffect((()=>{fe(!0)}),[]),n.useEffect((()=>{Te()})),n.useEffect((()=>{Fe(D!==he)}),[Fe,he]),n.useImperativeHandle(S,(()=>({updateIndicator:Te,updateScrollButtons:je})),[Te,je]);const Le=(0,w.jsx)(X,(0,l.Z)({},J,{className:(0,a.Z)(de.indicator,J.className),ownerState:ce,style:(0,l.Z)({},he,J.style)}));let He=0;const Ae=n.Children.map(y,(e=>{if(!n.isValidElement(e))return null;const t=void 0===e.props.value?He:e.props.value;Be.set(t,He);const o=t===Q;return He+=1,n.cloneElement(e,(0,l.Z)({fullWidth:"fullWidth"===$,indicator:o&&!pe&&Le,selected:o,selectionFollowsFocus:G,onChange:E,textColor:U,value:t},1!==He||!1!==Q||e.props.tabIndex?{}:{tabIndex:0}))})),Oe=(()=>{const e={};e.scrollbarSizeListener=oe?(0,w.jsx)(q,{onChange:ze,className:(0,a.Z)(de.scrollableX,de.hideScrollbar)}):null;const t=oe&&("auto"===Y&&(me||we)||!0===Y);return e.scrollButtonStart=t?(0,w.jsx)(N,(0,l.Z)({slots:{StartScrollButtonIcon:V.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:ue},orientation:T,direction:p?"right":"left",onClick:Ie,disabled:!me},K,{className:(0,a.Z)(de.scrollButtons,K.className)})):null,e.scrollButtonEnd=t?(0,w.jsx)(N,(0,l.Z)({slots:{EndScrollButtonIcon:V.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:be},orientation:T,direction:p?"left":"right",onClick:ke,disabled:!we},K,{className:(0,a.Z)(de.scrollButtons,K.className)})):null,e})();return(0,w.jsxs)(H,(0,l.Z)({className:(0,a.Z)(de.root,C),ownerState:ce,ref:t,as:B},te,{children:[Oe.scrollButtonStart,Oe.scrollbarSizeListener,(0,w.jsxs)(A,{className:de.scroller,ownerState:ce,style:{overflow:ye.overflow,[re?"margin".concat(p?"Left":"Right"):"marginBottom"]:ee?void 0:-ye.scrollbarWidth},ref:Me,children:[(0,w.jsx)(O,{"aria-label":m,"aria-labelledby":x,"aria-orientation":"vertical"===T?"vertical":null,className:de.flexContainer,ownerState:ce,onKeyDown:e=>{const t=Re.current,o=(0,k.Z)(t).activeElement;if("tab"!==o.getAttribute("role"))return;let r="horizontal"===T?"ArrowLeft":"ArrowUp",l="horizontal"===T?"ArrowRight":"ArrowDown";switch("horizontal"===T&&p&&(r="ArrowRight",l="ArrowLeft"),e.key){case r:e.preventDefault(),L(t,o,j);break;case l:e.preventDefault(),L(t,o,F);break;case"Home":e.preventDefault(),L(t,null,F);break;case"End":e.preventDefault(),L(t,null,j)}},ref:Re,role:"tablist",children:Ae}),pe&&Le]}),Oe.scrollButtonEnd]}))}))},18759:(e,t,o)=>{o.d(t,{Z:()=>a,m:()=>n});var r=o(46849),l=o(96036);function n(e){return(0,l.ZP)("MuiTabs",e)}const a=(0,r.Z)("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"])},4601:(e,t,o)=>{o.d(t,{Z:()=>n});o(5057);var r=o(57471),l=o(96266);const n=(0,r.Z)((0,l.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft")},50999:(e,t,o)=>{o.d(t,{Z:()=>n});o(5057);var r=o(57471),l=o(96266);const n=(0,r.Z)((0,l.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight")},67654:(e,t,o)=>{var r=o(5057),l=o(77931);t.Z=function(e,t,o){if(!l.isBrowser)return[t,l.noop,l.noop];if(!e)throw new Error("useLocalStorage key may not be falsy");var n=o?o.raw?function(e){return e}:o.deserializer:JSON.parse,a=r.useRef((function(e){try{var r=o?o.raw?String:o.serializer:JSON.stringify,l=localStorage.getItem(e);return null!==l?n(l):(t&&localStorage.setItem(e,r(t)),t)}catch(i){return t}})),i=r.useState((function(){return a.current(e)})),s=i[0],c=i[1];r.useLayoutEffect((function(){return c(a.current(e))}),[e]);var d=r.useCallback((function(t){try{var r="function"===typeof t?t(s):t;if("undefined"===typeof r)return;var l=void 0;l=o?o.raw?"string"===typeof r?r:JSON.stringify(r):o.serializer?o.serializer(r):JSON.stringify(r):JSON.stringify(r),localStorage.setItem(e,l),c(n(l))}catch(i){}}),[e,c]),u=r.useCallback((function(){try{localStorage.removeItem(e),c(void 0)}catch(i){}}),[e,c]);return[s,d,u]}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[2294],{82266:(e,t,a)=>{a.d(t,{Z:()=>y});var o=a(
|
|
1
|
+
"use strict";(self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[2294],{82266:(e,t,a)=>{a.d(t,{Z:()=>y});var o=a(29218),r=a(7896),n=a(5057),i=a(9978),l=a(82261),s=a(13058),c=a(42908),d=a(62773),p=a(94158),g=a(96266);const u=["className","component","padding","size","stickyHeader"],v=(0,d.ZP)("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:a}=e;return[t.root,a.stickyHeader&&t.stickyHeader]}})((e=>{let{theme:t,ownerState:a}=e;return(0,r.Z)({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":(0,r.Z)({},t.typography.body2,{padding:t.spacing(2),color:(t.vars||t).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},a.stickyHeader&&{borderCollapse:"separate"})})),m="table",y=n.forwardRef((function(e,t){const a=(0,c.Z)({props:e,name:"MuiTable"}),{className:d,component:y=m,padding:Z="normal",size:h="medium",stickyHeader:b=!1}=a,f=(0,o.Z)(a,u),x=(0,r.Z)({},a,{component:y,padding:Z,size:h,stickyHeader:b}),k=(e=>{const{classes:t,stickyHeader:a}=e,o={root:["root",a&&"stickyHeader"]};return(0,l.Z)(o,p.K,t)})(x),w=n.useMemo((()=>({padding:Z,size:h,stickyHeader:b})),[Z,h,b]);return(0,g.jsx)(s.Z.Provider,{value:w,children:(0,g.jsx)(v,(0,r.Z)({as:y,role:y===m?null:"table",ref:t,className:(0,i.Z)(k.root,d),ownerState:x},f))})}))},13058:(e,t,a)=>{a.d(t,{Z:()=>o});const o=a(5057).createContext()},27864:(e,t,a)=>{a.d(t,{Z:()=>o});const o=a(5057).createContext()},94158:(e,t,a)=>{a.d(t,{K:()=>n,Z:()=>i});var o=a(46849),r=a(96036);function n(e){return(0,r.ZP)("MuiTable",e)}const i=(0,o.Z)("MuiTable",["root","stickyHeader"])},30067:(e,t,a)=>{a.d(t,{Z:()=>Z});var o=a(7896),r=a(29218),n=a(5057),i=a(9978),l=a(82261),s=a(27864),c=a(42908),d=a(62773),p=a(65378),g=a(96266);const u=["className","component"],v=(0,d.ZP)("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),m={variant:"body"},y="tbody",Z=n.forwardRef((function(e,t){const a=(0,c.Z)({props:e,name:"MuiTableBody"}),{className:n,component:d=y}=a,Z=(0,r.Z)(a,u),h=(0,o.Z)({},a,{component:d}),b=(e=>{const{classes:t}=e;return(0,l.Z)({root:["root"]},p.j,t)})(h);return(0,g.jsx)(s.Z.Provider,{value:m,children:(0,g.jsx)(v,(0,o.Z)({className:(0,i.Z)(b.root,n),as:d,ref:t,role:d===y?null:"rowgroup",ownerState:h},Z))})}))},65378:(e,t,a)=>{a.d(t,{Z:()=>i,j:()=>n});var o=a(46849),r=a(96036);function n(e){return(0,r.ZP)("MuiTableBody",e)}const i=(0,o.Z)("MuiTableBody",["root"])},28627:(e,t,a)=>{a.d(t,{Z:()=>h});var o=a(29218),r=a(7896),n=a(5057),i=a(9978),l=a(82261),s=a(96295),c=a(6285),d=a(13058),p=a(27864),g=a(42908),u=a(62773),v=a(80799),m=a(96266);const y=["align","className","component","padding","scope","size","sortDirection","variant"],Z=(0,u.ZP)("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:a}=e;return[t.root,t[a.variant],t["size".concat((0,c.Z)(a.size))],"normal"!==a.padding&&t["padding".concat((0,c.Z)(a.padding))],"inherit"!==a.align&&t["align".concat((0,c.Z)(a.align))],a.stickyHeader&&t.stickyHeader]}})((e=>{let{theme:t,ownerState:a}=e;return(0,r.Z)({},t.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:t.vars?"1px solid ".concat(t.vars.palette.TableCell.border):"1px solid\n ".concat("light"===t.palette.mode?(0,s.$n)((0,s.Fq)(t.palette.divider,1),.88):(0,s._j)((0,s.Fq)(t.palette.divider,1),.68)),textAlign:"left",padding:16},"head"===a.variant&&{color:(t.vars||t).palette.text.primary,lineHeight:t.typography.pxToRem(24),fontWeight:t.typography.fontWeightMedium},"body"===a.variant&&{color:(t.vars||t).palette.text.primary},"footer"===a.variant&&{color:(t.vars||t).palette.text.secondary,lineHeight:t.typography.pxToRem(21),fontSize:t.typography.pxToRem(12)},"small"===a.size&&{padding:"6px 16px",["&.".concat(v.Z.paddingCheckbox)]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},"checkbox"===a.padding&&{width:48,padding:"0 0 0 4px"},"none"===a.padding&&{padding:0},"left"===a.align&&{textAlign:"left"},"center"===a.align&&{textAlign:"center"},"right"===a.align&&{textAlign:"right",flexDirection:"row-reverse"},"justify"===a.align&&{textAlign:"justify"},a.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(t.vars||t).palette.background.default})})),h=n.forwardRef((function(e,t){const a=(0,g.Z)({props:e,name:"MuiTableCell"}),{align:s="inherit",className:u,component:h,padding:b,scope:f,size:x,sortDirection:k,variant:w}=a,C=(0,o.Z)(a,y),H=n.useContext(d.Z),R=n.useContext(p.Z),T=R&&"head"===R.variant;let M;M=h||(T?"th":"td");let z=f;"td"===M?z=void 0:!z&&T&&(z="col");const N=w||R&&R.variant,S=(0,r.Z)({},a,{align:s,component:M,padding:b||(H&&H.padding?H.padding:"normal"),size:x||(H&&H.size?H.size:"medium"),sortDirection:k,stickyHeader:"head"===N&&H&&H.stickyHeader,variant:N}),j=(e=>{const{classes:t,variant:a,align:o,padding:r,size:n,stickyHeader:i}=e,s={root:["root",a,i&&"stickyHeader","inherit"!==o&&"align".concat((0,c.Z)(o)),"normal"!==r&&"padding".concat((0,c.Z)(r)),"size".concat((0,c.Z)(n))]};return(0,l.Z)(s,v.U,t)})(S);let P=null;return k&&(P="asc"===k?"ascending":"descending"),(0,m.jsx)(Z,(0,r.Z)({as:M,ref:t,className:(0,i.Z)(j.root,u),"aria-sort":P,scope:z,ownerState:S},C))}))},80799:(e,t,a)=>{a.d(t,{U:()=>n,Z:()=>i});var o=a(46849),r=a(96036);function n(e){return(0,r.ZP)("MuiTableCell",e)}const i=(0,o.Z)("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"])},83366:(e,t,a)=>{a.d(t,{Z:()=>Z});var o=a(7896),r=a(29218),n=a(5057),i=a(9978),l=a(82261),s=a(96295),c=a(27864),d=a(42908),p=a(62773),g=a(55865),u=a(96266);const v=["className","component","hover","selected"],m=(0,p.ZP)("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:a}=e;return[t.root,a.head&&t.head,a.footer&&t.footer]}})((e=>{let{theme:t}=e;return{color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,["&.".concat(g.Z.hover,":hover")]:{backgroundColor:(t.vars||t).palette.action.hover},["&.".concat(g.Z.selected)]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / ").concat(t.vars.palette.action.selectedOpacity,")"):(0,s.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity),"&:hover":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / calc(").concat(t.vars.palette.action.selectedOpacity," + ").concat(t.vars.palette.action.hoverOpacity,"))"):(0,s.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity)}}}})),y="tr",Z=n.forwardRef((function(e,t){const a=(0,d.Z)({props:e,name:"MuiTableRow"}),{className:s,component:p=y,hover:Z=!1,selected:h=!1}=a,b=(0,r.Z)(a,v),f=n.useContext(c.Z),x=(0,o.Z)({},a,{component:p,hover:Z,selected:h,head:f&&"head"===f.variant,footer:f&&"footer"===f.variant}),k=(e=>{const{classes:t,selected:a,hover:o,head:r,footer:n}=e,i={root:["root",a&&"selected",o&&"hover",r&&"head",n&&"footer"]};return(0,l.Z)(i,g.G,t)})(x);return(0,u.jsx)(m,(0,o.Z)({as:p,ref:t,className:(0,i.Z)(k.root,s),role:p===y?null:"row",ownerState:x},b))}))},55865:(e,t,a)=>{a.d(t,{G:()=>n,Z:()=>i});var o=a(46849),r=a(96036);function n(e){return(0,r.ZP)("MuiTableRow",e)}const i=(0,o.Z)("MuiTableRow",["root","selected","hover","head","footer"])}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[2362],{62362:(e,t,a)=>{a.d(t,{ZP:()=>ee});var r=a(31461),n=a(7896),o=a(5057),l=a(9978),i=a(15109),s=a(89081),c=a(82261),u=a(87749),d=a(83026),m=a(12175),v=a(66059),p=a(6087),b=a(68991),h=a(48272);const f={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:-1,overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};var g=a(7165);function x(e,t){return e-t}function k(e,t){var a;const{index:r}=null!=(a=e.reduce(((e,a,r)=>{const n=Math.abs(t-a);return null===e||n<e.distance||n===e.distance?{distance:n,index:r}:e}),null))?a:{};return r}function y(e,t){if(void 0!==t.current&&e.changedTouches){const a=e;for(let e=0;e<a.changedTouches.length;e+=1){const r=a.changedTouches[e];if(r.identifier===t.current)return{x:r.clientX,y:r.clientY}}return!1}return{x:e.clientX,y:e.clientY}}function w(e,t,a){return 100*(e-t)/(a-t)}function S(e,t,a){const r=Math.round((e-a)/t)*t+a;return Number(r.toFixed(function(e){if(Math.abs(e)<1){const t=e.toExponential().split("e-"),a=t[0].split(".")[1];return(a?a.length:0)+parseInt(t[1],10)}const t=e.toString().split(".")[1];return t?t.length:0}(t)))}function Z(e){let{values:t,newValue:a,index:r}=e;const n=t.slice();return n[r]=a,n.sort(x)}function L(e){let{sliderRef:t,activeIndex:a,setActive:r}=e;var n,o;const l=(0,u.Z)(t.current);var i;null!=(n=t.current)&&n.contains(l.activeElement)&&Number(null==l||null==(o=l.activeElement)?void 0:o.getAttribute("data-index"))===a||(null==(i=t.current)||i.querySelector('[type="range"][data-index="'.concat(a,'"]')).focus());r&&r(a)}function C(e,t){return"number"===typeof e&&"number"===typeof t?e===t:"object"===typeof e&&"object"===typeof t&&function(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(e,t)=>e===t;return e.length===t.length&&e.every(((e,r)=>a(e,t[r])))}(e,t)}const P={horizontal:{offset:e=>({left:"".concat(e,"%")}),leap:e=>({width:"".concat(e,"%")})},"horizontal-reverse":{offset:e=>({right:"".concat(e,"%")}),leap:e=>({width:"".concat(e,"%")})},vertical:{offset:e=>({bottom:"".concat(e,"%")}),leap:e=>({height:"".concat(e,"%")})}},R=e=>e;let z;function A(){return void 0===z&&(z="undefined"===typeof CSS||"function"!==typeof CSS.supports||CSS.supports("touch-action","none")),z}function T(e){const{"aria-labelledby":t,defaultValue:a,disabled:r=!1,disableSwap:l=!1,isRtl:i=!1,marks:s=!1,max:c=100,min:z=0,name:T,onChange:N,onChangeCommitted:I,orientation:M="horizontal",rootRef:E,scale:j=R,step:F=1,shiftStep:V=10,tabIndex:O,value:D}=e,X=o.useRef(),[Y,_]=o.useState(-1),[B,K]=o.useState(-1),[W,q]=o.useState(!1),H=o.useRef(0),[U,$]=(0,d.Z)({controlled:D,default:null!=a?a:z,name:"Slider"}),G=N&&((e,t,a)=>{const r=e.nativeEvent||e,n=new r.constructor(r.type,r);Object.defineProperty(n,"target",{writable:!0,value:{value:t,name:T}}),N(n,t,a)}),J=Array.isArray(U);let Q=J?U.slice().sort(x):[U];Q=Q.map((e=>null==e?z:(0,m.Z)(e,z,c)));const ee=!0===s&&null!==F?[...Array(Math.floor((c-z)/F)+1)].map(((e,t)=>({value:z+F*t}))):s||[],te=ee.map((e=>e.value)),{isFocusVisibleRef:ae,onBlur:re,onFocus:ne,ref:oe}=(0,v.Z)(),[le,ie]=o.useState(-1),se=o.useRef(),ce=(0,p.Z)(oe,se),ue=(0,p.Z)(E,ce),de=e=>t=>{var a;const r=Number(t.currentTarget.getAttribute("data-index"));ne(t),!0===ae.current&&ie(r),K(r),null==e||null==(a=e.onFocus)||a.call(e,t)},me=e=>t=>{var a;re(t),!1===ae.current&&ie(-1),K(-1),null==e||null==(a=e.onBlur)||a.call(e,t)},ve=(e,t)=>{const a=Number(e.currentTarget.getAttribute("data-index")),r=Q[a],n=te.indexOf(r);let o=t;if(ee&&null==F){const e=te[te.length-1];o=o>e?e:o<te[0]?te[0]:o<r?te[n-1]:te[n+1]}if(o=(0,m.Z)(o,z,c),J){l&&(o=(0,m.Z)(o,Q[a-1]||-1/0,Q[a+1]||1/0));const e=o;o=Z({values:Q,newValue:o,index:a});let t=a;l||(t=o.indexOf(e)),L({sliderRef:se,activeIndex:t})}$(o),ie(a),G&&!C(o,U)&&G(e,o,a),I&&I(e,o)},pe=e=>t=>{var a;if(null!==F){const e=Number(t.currentTarget.getAttribute("data-index")),a=Q[e];let r=null;("ArrowLeft"===t.key||"ArrowDown"===t.key)&&t.shiftKey||"PageDown"===t.key?r=Math.max(a-V,z):(("ArrowRight"===t.key||"ArrowUp"===t.key)&&t.shiftKey||"PageUp"===t.key)&&(r=Math.min(a+V,c)),null!==r&&(ve(t,r),t.preventDefault())}null==e||null==(a=e.onKeyDown)||a.call(e,t)};(0,b.Z)((()=>{var e;r&&se.current.contains(document.activeElement)&&(null==(e=document.activeElement)||e.blur())}),[r]),r&&-1!==Y&&_(-1),r&&-1!==le&&ie(-1);const be=o.useRef();let he=M;i&&"horizontal"===M&&(he+="-reverse");const fe=e=>{let{finger:t,move:a=!1}=e;const{current:r}=se,{width:n,height:o,bottom:i,left:s}=r.getBoundingClientRect();let u,d;if(u=0===he.indexOf("vertical")?(i-t.y)/o:(t.x-s)/n,-1!==he.indexOf("-reverse")&&(u=1-u),d=function(e,t,a){return(a-t)*e+t}(u,z,c),F)d=S(d,F,z);else{const e=k(te,d);d=te[e]}d=(0,m.Z)(d,z,c);let v=0;if(J){v=a?be.current:k(Q,d),l&&(d=(0,m.Z)(d,Q[v-1]||-1/0,Q[v+1]||1/0));const e=d;d=Z({values:Q,newValue:d,index:v}),l&&a||(v=d.indexOf(e),be.current=v)}return{newValue:d,activeIndex:v}},ge=(0,h.Z)((e=>{const t=y(e,X);if(!t)return;if(H.current+=1,"mousemove"===e.type&&0===e.buttons)return void xe(e);const{newValue:a,activeIndex:r}=fe({finger:t,move:!0});L({sliderRef:se,activeIndex:r,setActive:_}),$(a),!W&&H.current>2&&q(!0),G&&!C(a,U)&&G(e,a,r)})),xe=(0,h.Z)((e=>{const t=y(e,X);if(q(!1),!t)return;const{newValue:a}=fe({finger:t,move:!0});_(-1),"touchend"===e.type&&K(-1),I&&I(e,a),X.current=void 0,ye()})),ke=(0,h.Z)((e=>{if(r)return;A()||e.preventDefault();const t=e.changedTouches[0];null!=t&&(X.current=t.identifier);const a=y(e,X);if(!1!==a){const{newValue:t,activeIndex:r}=fe({finger:a});L({sliderRef:se,activeIndex:r,setActive:_}),$(t),G&&!C(t,U)&&G(e,t,r)}H.current=0;const n=(0,u.Z)(se.current);n.addEventListener("touchmove",ge,{passive:!0}),n.addEventListener("touchend",xe,{passive:!0})})),ye=o.useCallback((()=>{const e=(0,u.Z)(se.current);e.removeEventListener("mousemove",ge),e.removeEventListener("mouseup",xe),e.removeEventListener("touchmove",ge),e.removeEventListener("touchend",xe)}),[xe,ge]);o.useEffect((()=>{const{current:e}=se;return e.addEventListener("touchstart",ke,{passive:A()}),()=>{e.removeEventListener("touchstart",ke),ye()}}),[ye,ke]),o.useEffect((()=>{r&&ye()}),[r,ye]);const we=w(J?Q[0]:z,z,c),Se=w(Q[Q.length-1],z,c)-we,Ze=e=>t=>{var a;null==(a=e.onMouseLeave)||a.call(e,t),K(-1)};return{active:Y,axis:he,axisProps:P,dragging:W,focusedThumbIndex:le,getHiddenInputProps:function(){let a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var o;const l=(0,g._)(a),s={onChange:(u=l||{},e=>{var t;null==(t=u.onChange)||t.call(u,e),ve(e,e.target.valueAsNumber)}),onFocus:de(l||{}),onBlur:me(l||{}),onKeyDown:pe(l||{})};var u;const d=(0,n.Z)({},l,s);return(0,n.Z)({tabIndex:O,"aria-labelledby":t,"aria-orientation":M,"aria-valuemax":j(c),"aria-valuemin":j(z),name:T,type:"range",min:e.min,max:e.max,step:null===e.step&&e.marks?"any":null!=(o=e.step)?o:void 0,disabled:r},a,d,{style:(0,n.Z)({},f,{direction:i?"rtl":"ltr",width:"100%",height:"100%"})})},getRootProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=(0,g._)(e),a={onMouseDown:(o=t||{},e=>{var t;if(null==(t=o.onMouseDown)||t.call(o,e),r)return;if(e.defaultPrevented)return;if(0!==e.button)return;e.preventDefault();const a=y(e,X);if(!1!==a){const{newValue:t,activeIndex:r}=fe({finger:a});L({sliderRef:se,activeIndex:r,setActive:_}),$(t),G&&!C(t,U)&&G(e,t,r)}H.current=0;const n=(0,u.Z)(se.current);n.addEventListener("mousemove",ge,{passive:!0}),n.addEventListener("mouseup",xe)})};var o;const l=(0,n.Z)({},t,a);return(0,n.Z)({},e,{ref:ue},l)},getThumbProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=(0,g._)(e),a={onMouseOver:(r=t||{},e=>{var t;null==(t=r.onMouseOver)||t.call(r,e);const a=Number(e.currentTarget.getAttribute("data-index"));K(a)}),onMouseLeave:Ze(t||{})};var r;return(0,n.Z)({},e,t,a)},marks:ee,open:B,range:J,rootRef:ue,trackLeap:Se,trackOffset:we,values:Q,getThumbStyle:e=>({pointerEvents:-1!==Y&&Y!==e?"none":void 0})}}var N=a(96295),I=a(42908),M=a(62773),E=a(96366);const j=e=>!e||!(0,s.X)(e);var F=a(6285),V=a(46849),O=a(96036);function D(e){return(0,O.ZP)("MuiSlider",e)}const X=(0,V.Z)("MuiSlider",["root","active","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","thumbColorError","thumbColorSuccess","thumbColorInfo","thumbColorWarning","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]);var Y=a(96266);const _=["aria-label","aria-valuetext","aria-labelledby","component","components","componentsProps","color","classes","className","disableSwap","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","orientation","shiftStep","size","step","scale","slotProps","slots","tabIndex","track","value","valueLabelDisplay","valueLabelFormat"];function B(e){return e}const K=(0,M.ZP)("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:a}=e;return[t.root,t["color".concat((0,F.Z)(a.color))],"medium"!==a.size&&t["size".concat((0,F.Z)(a.size))],a.marked&&t.marked,"vertical"===a.orientation&&t.vertical,"inverted"===a.track&&t.trackInverted,!1===a.track&&t.trackFalse]}})((e=>{let{theme:t,ownerState:a}=e;return(0,n.Z)({borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",color:(t.vars||t).palette[a.color].main,WebkitTapHighlightColor:"transparent"},"horizontal"===a.orientation&&(0,n.Z)({height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}},"small"===a.size&&{height:2},a.marked&&{marginBottom:20}),"vertical"===a.orientation&&(0,n.Z)({height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}},"small"===a.size&&{width:2},a.marked&&{marginRight:44}),{"@media print":{colorAdjust:"exact"},["&.".concat(X.disabled)]:{pointerEvents:"none",cursor:"default",color:(t.vars||t).palette.grey[400]},["&.".concat(X.dragging)]:{["& .".concat(X.thumb,", & .").concat(X.track)]:{transition:"none"}}})})),W=(0,M.ZP)("span",{name:"MuiSlider",slot:"Rail",overridesResolver:(e,t)=>t.rail})((e=>{let{ownerState:t}=e;return(0,n.Z)({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38},"horizontal"===t.orientation&&{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"},"vertical"===t.orientation&&{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"},"inverted"===t.track&&{opacity:1})})),q=(0,M.ZP)("span",{name:"MuiSlider",slot:"Track",overridesResolver:(e,t)=>t.track})((e=>{let{theme:t,ownerState:a}=e;const r="light"===t.palette.mode?(0,N.$n)(t.palette[a.color].main,.62):(0,N._j)(t.palette[a.color].main,.5);return(0,n.Z)({display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:t.transitions.create(["left","width","bottom","height"],{duration:t.transitions.duration.shortest})},"small"===a.size&&{border:"none"},"horizontal"===a.orientation&&{height:"inherit",top:"50%",transform:"translateY(-50%)"},"vertical"===a.orientation&&{width:"inherit",left:"50%",transform:"translateX(-50%)"},!1===a.track&&{display:"none"},"inverted"===a.track&&{backgroundColor:t.vars?t.vars.palette.Slider["".concat(a.color,"Track")]:r,borderColor:t.vars?t.vars.palette.Slider["".concat(a.color,"Track")]:r})})),H=(0,M.ZP)("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:a}=e;return[t.thumb,t["thumbColor".concat((0,F.Z)(a.color))],"medium"!==a.size&&t["thumbSize".concat((0,F.Z)(a.size))]]}})((e=>{let{theme:t,ownerState:a}=e;return(0,n.Z)({position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:t.transitions.create(["box-shadow","left","bottom"],{duration:t.transitions.duration.shortest})},"small"===a.size&&{width:12,height:12},"horizontal"===a.orientation&&{top:"50%",transform:"translate(-50%, -50%)"},"vertical"===a.orientation&&{left:"50%",transform:"translate(-50%, 50%)"},{"&::before":(0,n.Z)({position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(t.vars||t).shadows[2]},"small"===a.size&&{boxShadow:"none"}),"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},["&:hover, &.".concat(X.focusVisible)]:{boxShadow:"0px 0px 0px 8px ".concat(t.vars?"rgba(".concat(t.vars.palette[a.color].mainChannel," / 0.16)"):(0,N.Fq)(t.palette[a.color].main,.16)),"@media (hover: none)":{boxShadow:"none"}},["&.".concat(X.active)]:{boxShadow:"0px 0px 0px 14px ".concat(t.vars?"rgba(".concat(t.vars.palette[a.color].mainChannel," / 0.16)"):(0,N.Fq)(t.palette[a.color].main,.16))},["&.".concat(X.disabled)]:{"&:hover":{boxShadow:"none"}}})})),U=(0,M.ZP)((function(e){const{children:t,className:a,value:r}=e,n=(e=>{const{open:t}=e;return{offset:(0,l.Z)(t&&X.valueLabelOpen),circle:X.valueLabelCircle,label:X.valueLabelLabel}})(e);return t?o.cloneElement(t,{className:(0,l.Z)(t.props.className)},(0,Y.jsxs)(o.Fragment,{children:[t.props.children,(0,Y.jsx)("span",{className:(0,l.Z)(n.offset,a),"aria-hidden":!0,children:(0,Y.jsx)("span",{className:n.circle,children:(0,Y.jsx)("span",{className:n.label,children:r})})})]})):null}),{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(e,t)=>t.valueLabel})((e=>{let{theme:t,ownerState:a}=e;return(0,n.Z)({["&.".concat(X.valueLabelOpen)]:{transform:"".concat("vertical"===a.orientation?"translateY(-50%)":"translateY(-100%)"," scale(1)")},zIndex:1,whiteSpace:"nowrap"},t.typography.body2,{fontWeight:500,transition:t.transitions.create(["transform"],{duration:t.transitions.duration.shortest}),transform:"".concat("vertical"===a.orientation?"translateY(-50%)":"translateY(-100%)"," scale(0)"),position:"absolute",backgroundColor:(t.vars||t).palette.grey[600],borderRadius:2,color:(t.vars||t).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem"},"horizontal"===a.orientation&&{top:"-10px",transformOrigin:"bottom center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"}},"vertical"===a.orientation&&{right:"small"===a.size?"20px":"30px",top:"50%",transformOrigin:"right center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, -50%) rotate(45deg)",backgroundColor:"inherit",right:-8,top:"50%"}},"small"===a.size&&{fontSize:t.typography.pxToRem(12),padding:"0.25rem 0.5rem"})})),$=(0,M.ZP)("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>(0,M.Dz)(e)&&"markActive"!==e,overridesResolver:(e,t)=>{const{markActive:a}=e;return[t.mark,a&&t.markActive]}})((e=>{let{theme:t,ownerState:a,markActive:r}=e;return(0,n.Z)({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor"},"horizontal"===a.orientation&&{top:"50%",transform:"translate(-1px, -50%)"},"vertical"===a.orientation&&{left:"50%",transform:"translate(-50%, 1px)"},r&&{backgroundColor:(t.vars||t).palette.background.paper,opacity:.8})})),G=(0,M.ZP)("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>(0,M.Dz)(e)&&"markLabelActive"!==e,overridesResolver:(e,t)=>t.markLabel})((e=>{let{theme:t,ownerState:a,markLabelActive:r}=e;return(0,n.Z)({},t.typography.body2,{color:(t.vars||t).palette.text.secondary,position:"absolute",whiteSpace:"nowrap"},"horizontal"===a.orientation&&{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}},"vertical"===a.orientation&&{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}},r&&{color:(t.vars||t).palette.text.primary})})),J=e=>{let{children:t}=e;return t},Q=o.forwardRef((function(e,t){var a,u,d,m,v,p,b,h,f,g,x,k,y,S,Z,L,C,P,R,z,A,N,M,V;const O=(0,I.Z)({props:e,name:"MuiSlider"}),X="rtl"===(0,E.Z)().direction,{"aria-label":Q,"aria-valuetext":ee,"aria-labelledby":te,component:ae="span",components:re={},componentsProps:ne={},color:oe="primary",classes:le,className:ie,disableSwap:se=!1,disabled:ce=!1,getAriaLabel:ue,getAriaValueText:de,marks:me=!1,max:ve=100,min:pe=0,orientation:be="horizontal",shiftStep:he=10,size:fe="medium",step:ge=1,scale:xe=B,slotProps:ke,slots:ye,track:we="normal",valueLabelDisplay:Se="off",valueLabelFormat:Ze=B}=O,Le=(0,r.Z)(O,_),Ce=(0,n.Z)({},O,{isRtl:X,max:ve,min:pe,classes:le,disabled:ce,disableSwap:se,orientation:be,marks:me,color:oe,size:fe,step:ge,shiftStep:he,scale:xe,track:we,valueLabelDisplay:Se,valueLabelFormat:Ze}),{axisProps:Pe,getRootProps:Re,getHiddenInputProps:ze,getThumbProps:Ae,open:Te,active:Ne,axis:Ie,focusedThumbIndex:Me,range:Ee,dragging:je,marks:Fe,values:Ve,trackOffset:Oe,trackLeap:De,getThumbStyle:Xe}=T((0,n.Z)({},Ce,{rootRef:t}));Ce.marked=Fe.length>0&&Fe.some((e=>e.label)),Ce.dragging=je,Ce.focusedThumbIndex=Me;const Ye=(e=>{const{disabled:t,dragging:a,marked:r,orientation:n,track:o,classes:l,color:i,size:s}=e,u={root:["root",t&&"disabled",a&&"dragging",r&&"marked","vertical"===n&&"vertical","inverted"===o&&"trackInverted",!1===o&&"trackFalse",i&&"color".concat((0,F.Z)(i)),s&&"size".concat((0,F.Z)(s))],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled",s&&"thumbSize".concat((0,F.Z)(s)),i&&"thumbColor".concat((0,F.Z)(i))],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return(0,c.Z)(u,D,l)})(Ce),_e=null!=(a=null!=(u=null==ye?void 0:ye.root)?u:re.Root)?a:K,Be=null!=(d=null!=(m=null==ye?void 0:ye.rail)?m:re.Rail)?d:W,Ke=null!=(v=null!=(p=null==ye?void 0:ye.track)?p:re.Track)?v:q,We=null!=(b=null!=(h=null==ye?void 0:ye.thumb)?h:re.Thumb)?b:H,qe=null!=(f=null!=(g=null==ye?void 0:ye.valueLabel)?g:re.ValueLabel)?f:U,He=null!=(x=null!=(k=null==ye?void 0:ye.mark)?k:re.Mark)?x:$,Ue=null!=(y=null!=(S=null==ye?void 0:ye.markLabel)?S:re.MarkLabel)?y:G,$e=null!=(Z=null!=(L=null==ye?void 0:ye.input)?L:re.Input)?Z:"input",Ge=null!=(C=null==ke?void 0:ke.root)?C:ne.root,Je=null!=(P=null==ke?void 0:ke.rail)?P:ne.rail,Qe=null!=(R=null==ke?void 0:ke.track)?R:ne.track,et=null!=(z=null==ke?void 0:ke.thumb)?z:ne.thumb,tt=null!=(A=null==ke?void 0:ke.valueLabel)?A:ne.valueLabel,at=null!=(N=null==ke?void 0:ke.mark)?N:ne.mark,rt=null!=(M=null==ke?void 0:ke.markLabel)?M:ne.markLabel,nt=null!=(V=null==ke?void 0:ke.input)?V:ne.input,ot=(0,i.y)({elementType:_e,getSlotProps:Re,externalSlotProps:Ge,externalForwardedProps:Le,additionalProps:(0,n.Z)({},j(_e)&&{as:ae}),ownerState:(0,n.Z)({},Ce,null==Ge?void 0:Ge.ownerState),className:[Ye.root,ie]}),lt=(0,i.y)({elementType:Be,externalSlotProps:Je,ownerState:Ce,className:Ye.rail}),it=(0,i.y)({elementType:Ke,externalSlotProps:Qe,additionalProps:{style:(0,n.Z)({},Pe[Ie].offset(Oe),Pe[Ie].leap(De))},ownerState:(0,n.Z)({},Ce,null==Qe?void 0:Qe.ownerState),className:Ye.track}),st=(0,i.y)({elementType:We,getSlotProps:Ae,externalSlotProps:et,ownerState:(0,n.Z)({},Ce,null==et?void 0:et.ownerState),className:Ye.thumb}),ct=(0,i.y)({elementType:qe,externalSlotProps:tt,ownerState:(0,n.Z)({},Ce,null==tt?void 0:tt.ownerState),className:Ye.valueLabel}),ut=(0,i.y)({elementType:He,externalSlotProps:at,ownerState:Ce,className:Ye.mark}),dt=(0,i.y)({elementType:Ue,externalSlotProps:rt,ownerState:Ce,className:Ye.markLabel}),mt=(0,i.y)({elementType:$e,getSlotProps:ze,externalSlotProps:nt,ownerState:Ce});return(0,Y.jsxs)(_e,(0,n.Z)({},ot,{children:[(0,Y.jsx)(Be,(0,n.Z)({},lt)),(0,Y.jsx)(Ke,(0,n.Z)({},it)),Fe.filter((e=>e.value>=pe&&e.value<=ve)).map(((e,t)=>{const a=w(e.value,pe,ve),r=Pe[Ie].offset(a);let i;return i=!1===we?-1!==Ve.indexOf(e.value):"normal"===we&&(Ee?e.value>=Ve[0]&&e.value<=Ve[Ve.length-1]:e.value<=Ve[0])||"inverted"===we&&(Ee?e.value<=Ve[0]||e.value>=Ve[Ve.length-1]:e.value>=Ve[0]),(0,Y.jsxs)(o.Fragment,{children:[(0,Y.jsx)(He,(0,n.Z)({"data-index":t},ut,!(0,s.X)(He)&&{markActive:i},{style:(0,n.Z)({},r,ut.style),className:(0,l.Z)(ut.className,i&&Ye.markActive)})),null!=e.label?(0,Y.jsx)(Ue,(0,n.Z)({"aria-hidden":!0,"data-index":t},dt,!(0,s.X)(Ue)&&{markLabelActive:i},{style:(0,n.Z)({},r,dt.style),className:(0,l.Z)(Ye.markLabel,dt.className,i&&Ye.markLabelActive),children:e.label})):null]},t)})),Ve.map(((e,t)=>{const a=w(e,pe,ve),r=Pe[Ie].offset(a),o="off"===Se?J:qe;return(0,Y.jsx)(o,(0,n.Z)({},!(0,s.X)(o)&&{valueLabelFormat:Ze,valueLabelDisplay:Se,value:"function"===typeof Ze?Ze(xe(e),t):Ze,index:t,open:Te===t||Ne===t||"on"===Se,disabled:ce},ct,{children:(0,Y.jsx)(We,(0,n.Z)({"data-index":t},st,{className:(0,l.Z)(Ye.thumb,st.className,Ne===t&&Ye.active,Me===t&&Ye.focusVisible),style:(0,n.Z)({},r,Xe(t),st.style),children:(0,Y.jsx)($e,(0,n.Z)({"data-index":t,"aria-label":ue?ue(t):Q,"aria-valuenow":xe(e),"aria-labelledby":te,"aria-valuetext":de?de(xe(e),t):ee,value:Ve[t]},mt))}))}),t)}))]}))})),ee=Q}}]);
|
|
1
|
+
"use strict";(self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[2362],{62362:(e,t,a)=>{a.d(t,{ZP:()=>ee});var r=a(29218),n=a(7896),o=a(5057),l=a(9978),i=a(15109),s=a(89081),c=a(82261),u=a(87749),d=a(83026),m=a(12175),v=a(66059),p=a(6087),b=a(68991),h=a(48272);const f={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:-1,overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};var g=a(7165);function x(e,t){return e-t}function k(e,t){var a;const{index:r}=null!=(a=e.reduce(((e,a,r)=>{const n=Math.abs(t-a);return null===e||n<e.distance||n===e.distance?{distance:n,index:r}:e}),null))?a:{};return r}function y(e,t){if(void 0!==t.current&&e.changedTouches){const a=e;for(let e=0;e<a.changedTouches.length;e+=1){const r=a.changedTouches[e];if(r.identifier===t.current)return{x:r.clientX,y:r.clientY}}return!1}return{x:e.clientX,y:e.clientY}}function w(e,t,a){return 100*(e-t)/(a-t)}function S(e,t,a){const r=Math.round((e-a)/t)*t+a;return Number(r.toFixed(function(e){if(Math.abs(e)<1){const t=e.toExponential().split("e-"),a=t[0].split(".")[1];return(a?a.length:0)+parseInt(t[1],10)}const t=e.toString().split(".")[1];return t?t.length:0}(t)))}function Z(e){let{values:t,newValue:a,index:r}=e;const n=t.slice();return n[r]=a,n.sort(x)}function L(e){let{sliderRef:t,activeIndex:a,setActive:r}=e;var n,o;const l=(0,u.Z)(t.current);var i;null!=(n=t.current)&&n.contains(l.activeElement)&&Number(null==l||null==(o=l.activeElement)?void 0:o.getAttribute("data-index"))===a||(null==(i=t.current)||i.querySelector('[type="range"][data-index="'.concat(a,'"]')).focus());r&&r(a)}function C(e,t){return"number"===typeof e&&"number"===typeof t?e===t:"object"===typeof e&&"object"===typeof t&&function(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(e,t)=>e===t;return e.length===t.length&&e.every(((e,r)=>a(e,t[r])))}(e,t)}const P={horizontal:{offset:e=>({left:"".concat(e,"%")}),leap:e=>({width:"".concat(e,"%")})},"horizontal-reverse":{offset:e=>({right:"".concat(e,"%")}),leap:e=>({width:"".concat(e,"%")})},vertical:{offset:e=>({bottom:"".concat(e,"%")}),leap:e=>({height:"".concat(e,"%")})}},R=e=>e;let z;function A(){return void 0===z&&(z="undefined"===typeof CSS||"function"!==typeof CSS.supports||CSS.supports("touch-action","none")),z}function T(e){const{"aria-labelledby":t,defaultValue:a,disabled:r=!1,disableSwap:l=!1,isRtl:i=!1,marks:s=!1,max:c=100,min:z=0,name:T,onChange:N,onChangeCommitted:I,orientation:M="horizontal",rootRef:E,scale:j=R,step:F=1,shiftStep:V=10,tabIndex:O,value:D}=e,X=o.useRef(),[Y,_]=o.useState(-1),[B,K]=o.useState(-1),[W,q]=o.useState(!1),H=o.useRef(0),[U,$]=(0,d.Z)({controlled:D,default:null!=a?a:z,name:"Slider"}),G=N&&((e,t,a)=>{const r=e.nativeEvent||e,n=new r.constructor(r.type,r);Object.defineProperty(n,"target",{writable:!0,value:{value:t,name:T}}),N(n,t,a)}),J=Array.isArray(U);let Q=J?U.slice().sort(x):[U];Q=Q.map((e=>null==e?z:(0,m.Z)(e,z,c)));const ee=!0===s&&null!==F?[...Array(Math.floor((c-z)/F)+1)].map(((e,t)=>({value:z+F*t}))):s||[],te=ee.map((e=>e.value)),{isFocusVisibleRef:ae,onBlur:re,onFocus:ne,ref:oe}=(0,v.Z)(),[le,ie]=o.useState(-1),se=o.useRef(),ce=(0,p.Z)(oe,se),ue=(0,p.Z)(E,ce),de=e=>t=>{var a;const r=Number(t.currentTarget.getAttribute("data-index"));ne(t),!0===ae.current&&ie(r),K(r),null==e||null==(a=e.onFocus)||a.call(e,t)},me=e=>t=>{var a;re(t),!1===ae.current&&ie(-1),K(-1),null==e||null==(a=e.onBlur)||a.call(e,t)},ve=(e,t)=>{const a=Number(e.currentTarget.getAttribute("data-index")),r=Q[a],n=te.indexOf(r);let o=t;if(ee&&null==F){const e=te[te.length-1];o=o>e?e:o<te[0]?te[0]:o<r?te[n-1]:te[n+1]}if(o=(0,m.Z)(o,z,c),J){l&&(o=(0,m.Z)(o,Q[a-1]||-1/0,Q[a+1]||1/0));const e=o;o=Z({values:Q,newValue:o,index:a});let t=a;l||(t=o.indexOf(e)),L({sliderRef:se,activeIndex:t})}$(o),ie(a),G&&!C(o,U)&&G(e,o,a),I&&I(e,o)},pe=e=>t=>{var a;if(null!==F){const e=Number(t.currentTarget.getAttribute("data-index")),a=Q[e];let r=null;("ArrowLeft"===t.key||"ArrowDown"===t.key)&&t.shiftKey||"PageDown"===t.key?r=Math.max(a-V,z):(("ArrowRight"===t.key||"ArrowUp"===t.key)&&t.shiftKey||"PageUp"===t.key)&&(r=Math.min(a+V,c)),null!==r&&(ve(t,r),t.preventDefault())}null==e||null==(a=e.onKeyDown)||a.call(e,t)};(0,b.Z)((()=>{var e;r&&se.current.contains(document.activeElement)&&(null==(e=document.activeElement)||e.blur())}),[r]),r&&-1!==Y&&_(-1),r&&-1!==le&&ie(-1);const be=o.useRef();let he=M;i&&"horizontal"===M&&(he+="-reverse");const fe=e=>{let{finger:t,move:a=!1}=e;const{current:r}=se,{width:n,height:o,bottom:i,left:s}=r.getBoundingClientRect();let u,d;if(u=0===he.indexOf("vertical")?(i-t.y)/o:(t.x-s)/n,-1!==he.indexOf("-reverse")&&(u=1-u),d=function(e,t,a){return(a-t)*e+t}(u,z,c),F)d=S(d,F,z);else{const e=k(te,d);d=te[e]}d=(0,m.Z)(d,z,c);let v=0;if(J){v=a?be.current:k(Q,d),l&&(d=(0,m.Z)(d,Q[v-1]||-1/0,Q[v+1]||1/0));const e=d;d=Z({values:Q,newValue:d,index:v}),l&&a||(v=d.indexOf(e),be.current=v)}return{newValue:d,activeIndex:v}},ge=(0,h.Z)((e=>{const t=y(e,X);if(!t)return;if(H.current+=1,"mousemove"===e.type&&0===e.buttons)return void xe(e);const{newValue:a,activeIndex:r}=fe({finger:t,move:!0});L({sliderRef:se,activeIndex:r,setActive:_}),$(a),!W&&H.current>2&&q(!0),G&&!C(a,U)&&G(e,a,r)})),xe=(0,h.Z)((e=>{const t=y(e,X);if(q(!1),!t)return;const{newValue:a}=fe({finger:t,move:!0});_(-1),"touchend"===e.type&&K(-1),I&&I(e,a),X.current=void 0,ye()})),ke=(0,h.Z)((e=>{if(r)return;A()||e.preventDefault();const t=e.changedTouches[0];null!=t&&(X.current=t.identifier);const a=y(e,X);if(!1!==a){const{newValue:t,activeIndex:r}=fe({finger:a});L({sliderRef:se,activeIndex:r,setActive:_}),$(t),G&&!C(t,U)&&G(e,t,r)}H.current=0;const n=(0,u.Z)(se.current);n.addEventListener("touchmove",ge,{passive:!0}),n.addEventListener("touchend",xe,{passive:!0})})),ye=o.useCallback((()=>{const e=(0,u.Z)(se.current);e.removeEventListener("mousemove",ge),e.removeEventListener("mouseup",xe),e.removeEventListener("touchmove",ge),e.removeEventListener("touchend",xe)}),[xe,ge]);o.useEffect((()=>{const{current:e}=se;return e.addEventListener("touchstart",ke,{passive:A()}),()=>{e.removeEventListener("touchstart",ke),ye()}}),[ye,ke]),o.useEffect((()=>{r&&ye()}),[r,ye]);const we=w(J?Q[0]:z,z,c),Se=w(Q[Q.length-1],z,c)-we,Ze=e=>t=>{var a;null==(a=e.onMouseLeave)||a.call(e,t),K(-1)};return{active:Y,axis:he,axisProps:P,dragging:W,focusedThumbIndex:le,getHiddenInputProps:function(){let a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var o;const l=(0,g._)(a),s={onChange:(u=l||{},e=>{var t;null==(t=u.onChange)||t.call(u,e),ve(e,e.target.valueAsNumber)}),onFocus:de(l||{}),onBlur:me(l||{}),onKeyDown:pe(l||{})};var u;const d=(0,n.Z)({},l,s);return(0,n.Z)({tabIndex:O,"aria-labelledby":t,"aria-orientation":M,"aria-valuemax":j(c),"aria-valuemin":j(z),name:T,type:"range",min:e.min,max:e.max,step:null===e.step&&e.marks?"any":null!=(o=e.step)?o:void 0,disabled:r},a,d,{style:(0,n.Z)({},f,{direction:i?"rtl":"ltr",width:"100%",height:"100%"})})},getRootProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=(0,g._)(e),a={onMouseDown:(o=t||{},e=>{var t;if(null==(t=o.onMouseDown)||t.call(o,e),r)return;if(e.defaultPrevented)return;if(0!==e.button)return;e.preventDefault();const a=y(e,X);if(!1!==a){const{newValue:t,activeIndex:r}=fe({finger:a});L({sliderRef:se,activeIndex:r,setActive:_}),$(t),G&&!C(t,U)&&G(e,t,r)}H.current=0;const n=(0,u.Z)(se.current);n.addEventListener("mousemove",ge,{passive:!0}),n.addEventListener("mouseup",xe)})};var o;const l=(0,n.Z)({},t,a);return(0,n.Z)({},e,{ref:ue},l)},getThumbProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=(0,g._)(e),a={onMouseOver:(r=t||{},e=>{var t;null==(t=r.onMouseOver)||t.call(r,e);const a=Number(e.currentTarget.getAttribute("data-index"));K(a)}),onMouseLeave:Ze(t||{})};var r;return(0,n.Z)({},e,t,a)},marks:ee,open:B,range:J,rootRef:ue,trackLeap:Se,trackOffset:we,values:Q,getThumbStyle:e=>({pointerEvents:-1!==Y&&Y!==e?"none":void 0})}}var N=a(96295),I=a(42908),M=a(62773),E=a(96366);const j=e=>!e||!(0,s.X)(e);var F=a(6285),V=a(46849),O=a(96036);function D(e){return(0,O.ZP)("MuiSlider",e)}const X=(0,V.Z)("MuiSlider",["root","active","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","thumbColorError","thumbColorSuccess","thumbColorInfo","thumbColorWarning","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]);var Y=a(96266);const _=["aria-label","aria-valuetext","aria-labelledby","component","components","componentsProps","color","classes","className","disableSwap","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","orientation","shiftStep","size","step","scale","slotProps","slots","tabIndex","track","value","valueLabelDisplay","valueLabelFormat"];function B(e){return e}const K=(0,M.ZP)("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:a}=e;return[t.root,t["color".concat((0,F.Z)(a.color))],"medium"!==a.size&&t["size".concat((0,F.Z)(a.size))],a.marked&&t.marked,"vertical"===a.orientation&&t.vertical,"inverted"===a.track&&t.trackInverted,!1===a.track&&t.trackFalse]}})((e=>{let{theme:t,ownerState:a}=e;return(0,n.Z)({borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",color:(t.vars||t).palette[a.color].main,WebkitTapHighlightColor:"transparent"},"horizontal"===a.orientation&&(0,n.Z)({height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}},"small"===a.size&&{height:2},a.marked&&{marginBottom:20}),"vertical"===a.orientation&&(0,n.Z)({height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}},"small"===a.size&&{width:2},a.marked&&{marginRight:44}),{"@media print":{colorAdjust:"exact"},["&.".concat(X.disabled)]:{pointerEvents:"none",cursor:"default",color:(t.vars||t).palette.grey[400]},["&.".concat(X.dragging)]:{["& .".concat(X.thumb,", & .").concat(X.track)]:{transition:"none"}}})})),W=(0,M.ZP)("span",{name:"MuiSlider",slot:"Rail",overridesResolver:(e,t)=>t.rail})((e=>{let{ownerState:t}=e;return(0,n.Z)({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38},"horizontal"===t.orientation&&{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"},"vertical"===t.orientation&&{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"},"inverted"===t.track&&{opacity:1})})),q=(0,M.ZP)("span",{name:"MuiSlider",slot:"Track",overridesResolver:(e,t)=>t.track})((e=>{let{theme:t,ownerState:a}=e;const r="light"===t.palette.mode?(0,N.$n)(t.palette[a.color].main,.62):(0,N._j)(t.palette[a.color].main,.5);return(0,n.Z)({display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:t.transitions.create(["left","width","bottom","height"],{duration:t.transitions.duration.shortest})},"small"===a.size&&{border:"none"},"horizontal"===a.orientation&&{height:"inherit",top:"50%",transform:"translateY(-50%)"},"vertical"===a.orientation&&{width:"inherit",left:"50%",transform:"translateX(-50%)"},!1===a.track&&{display:"none"},"inverted"===a.track&&{backgroundColor:t.vars?t.vars.palette.Slider["".concat(a.color,"Track")]:r,borderColor:t.vars?t.vars.palette.Slider["".concat(a.color,"Track")]:r})})),H=(0,M.ZP)("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:a}=e;return[t.thumb,t["thumbColor".concat((0,F.Z)(a.color))],"medium"!==a.size&&t["thumbSize".concat((0,F.Z)(a.size))]]}})((e=>{let{theme:t,ownerState:a}=e;return(0,n.Z)({position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:t.transitions.create(["box-shadow","left","bottom"],{duration:t.transitions.duration.shortest})},"small"===a.size&&{width:12,height:12},"horizontal"===a.orientation&&{top:"50%",transform:"translate(-50%, -50%)"},"vertical"===a.orientation&&{left:"50%",transform:"translate(-50%, 50%)"},{"&::before":(0,n.Z)({position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(t.vars||t).shadows[2]},"small"===a.size&&{boxShadow:"none"}),"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},["&:hover, &.".concat(X.focusVisible)]:{boxShadow:"0px 0px 0px 8px ".concat(t.vars?"rgba(".concat(t.vars.palette[a.color].mainChannel," / 0.16)"):(0,N.Fq)(t.palette[a.color].main,.16)),"@media (hover: none)":{boxShadow:"none"}},["&.".concat(X.active)]:{boxShadow:"0px 0px 0px 14px ".concat(t.vars?"rgba(".concat(t.vars.palette[a.color].mainChannel," / 0.16)"):(0,N.Fq)(t.palette[a.color].main,.16))},["&.".concat(X.disabled)]:{"&:hover":{boxShadow:"none"}}})})),U=(0,M.ZP)((function(e){const{children:t,className:a,value:r}=e,n=(e=>{const{open:t}=e;return{offset:(0,l.Z)(t&&X.valueLabelOpen),circle:X.valueLabelCircle,label:X.valueLabelLabel}})(e);return t?o.cloneElement(t,{className:(0,l.Z)(t.props.className)},(0,Y.jsxs)(o.Fragment,{children:[t.props.children,(0,Y.jsx)("span",{className:(0,l.Z)(n.offset,a),"aria-hidden":!0,children:(0,Y.jsx)("span",{className:n.circle,children:(0,Y.jsx)("span",{className:n.label,children:r})})})]})):null}),{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(e,t)=>t.valueLabel})((e=>{let{theme:t,ownerState:a}=e;return(0,n.Z)({["&.".concat(X.valueLabelOpen)]:{transform:"".concat("vertical"===a.orientation?"translateY(-50%)":"translateY(-100%)"," scale(1)")},zIndex:1,whiteSpace:"nowrap"},t.typography.body2,{fontWeight:500,transition:t.transitions.create(["transform"],{duration:t.transitions.duration.shortest}),transform:"".concat("vertical"===a.orientation?"translateY(-50%)":"translateY(-100%)"," scale(0)"),position:"absolute",backgroundColor:(t.vars||t).palette.grey[600],borderRadius:2,color:(t.vars||t).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem"},"horizontal"===a.orientation&&{top:"-10px",transformOrigin:"bottom center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"}},"vertical"===a.orientation&&{right:"small"===a.size?"20px":"30px",top:"50%",transformOrigin:"right center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, -50%) rotate(45deg)",backgroundColor:"inherit",right:-8,top:"50%"}},"small"===a.size&&{fontSize:t.typography.pxToRem(12),padding:"0.25rem 0.5rem"})})),$=(0,M.ZP)("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>(0,M.Dz)(e)&&"markActive"!==e,overridesResolver:(e,t)=>{const{markActive:a}=e;return[t.mark,a&&t.markActive]}})((e=>{let{theme:t,ownerState:a,markActive:r}=e;return(0,n.Z)({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor"},"horizontal"===a.orientation&&{top:"50%",transform:"translate(-1px, -50%)"},"vertical"===a.orientation&&{left:"50%",transform:"translate(-50%, 1px)"},r&&{backgroundColor:(t.vars||t).palette.background.paper,opacity:.8})})),G=(0,M.ZP)("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>(0,M.Dz)(e)&&"markLabelActive"!==e,overridesResolver:(e,t)=>t.markLabel})((e=>{let{theme:t,ownerState:a,markLabelActive:r}=e;return(0,n.Z)({},t.typography.body2,{color:(t.vars||t).palette.text.secondary,position:"absolute",whiteSpace:"nowrap"},"horizontal"===a.orientation&&{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}},"vertical"===a.orientation&&{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}},r&&{color:(t.vars||t).palette.text.primary})})),J=e=>{let{children:t}=e;return t},Q=o.forwardRef((function(e,t){var a,u,d,m,v,p,b,h,f,g,x,k,y,S,Z,L,C,P,R,z,A,N,M,V;const O=(0,I.Z)({props:e,name:"MuiSlider"}),X="rtl"===(0,E.Z)().direction,{"aria-label":Q,"aria-valuetext":ee,"aria-labelledby":te,component:ae="span",components:re={},componentsProps:ne={},color:oe="primary",classes:le,className:ie,disableSwap:se=!1,disabled:ce=!1,getAriaLabel:ue,getAriaValueText:de,marks:me=!1,max:ve=100,min:pe=0,orientation:be="horizontal",shiftStep:he=10,size:fe="medium",step:ge=1,scale:xe=B,slotProps:ke,slots:ye,track:we="normal",valueLabelDisplay:Se="off",valueLabelFormat:Ze=B}=O,Le=(0,r.Z)(O,_),Ce=(0,n.Z)({},O,{isRtl:X,max:ve,min:pe,classes:le,disabled:ce,disableSwap:se,orientation:be,marks:me,color:oe,size:fe,step:ge,shiftStep:he,scale:xe,track:we,valueLabelDisplay:Se,valueLabelFormat:Ze}),{axisProps:Pe,getRootProps:Re,getHiddenInputProps:ze,getThumbProps:Ae,open:Te,active:Ne,axis:Ie,focusedThumbIndex:Me,range:Ee,dragging:je,marks:Fe,values:Ve,trackOffset:Oe,trackLeap:De,getThumbStyle:Xe}=T((0,n.Z)({},Ce,{rootRef:t}));Ce.marked=Fe.length>0&&Fe.some((e=>e.label)),Ce.dragging=je,Ce.focusedThumbIndex=Me;const Ye=(e=>{const{disabled:t,dragging:a,marked:r,orientation:n,track:o,classes:l,color:i,size:s}=e,u={root:["root",t&&"disabled",a&&"dragging",r&&"marked","vertical"===n&&"vertical","inverted"===o&&"trackInverted",!1===o&&"trackFalse",i&&"color".concat((0,F.Z)(i)),s&&"size".concat((0,F.Z)(s))],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled",s&&"thumbSize".concat((0,F.Z)(s)),i&&"thumbColor".concat((0,F.Z)(i))],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return(0,c.Z)(u,D,l)})(Ce),_e=null!=(a=null!=(u=null==ye?void 0:ye.root)?u:re.Root)?a:K,Be=null!=(d=null!=(m=null==ye?void 0:ye.rail)?m:re.Rail)?d:W,Ke=null!=(v=null!=(p=null==ye?void 0:ye.track)?p:re.Track)?v:q,We=null!=(b=null!=(h=null==ye?void 0:ye.thumb)?h:re.Thumb)?b:H,qe=null!=(f=null!=(g=null==ye?void 0:ye.valueLabel)?g:re.ValueLabel)?f:U,He=null!=(x=null!=(k=null==ye?void 0:ye.mark)?k:re.Mark)?x:$,Ue=null!=(y=null!=(S=null==ye?void 0:ye.markLabel)?S:re.MarkLabel)?y:G,$e=null!=(Z=null!=(L=null==ye?void 0:ye.input)?L:re.Input)?Z:"input",Ge=null!=(C=null==ke?void 0:ke.root)?C:ne.root,Je=null!=(P=null==ke?void 0:ke.rail)?P:ne.rail,Qe=null!=(R=null==ke?void 0:ke.track)?R:ne.track,et=null!=(z=null==ke?void 0:ke.thumb)?z:ne.thumb,tt=null!=(A=null==ke?void 0:ke.valueLabel)?A:ne.valueLabel,at=null!=(N=null==ke?void 0:ke.mark)?N:ne.mark,rt=null!=(M=null==ke?void 0:ke.markLabel)?M:ne.markLabel,nt=null!=(V=null==ke?void 0:ke.input)?V:ne.input,ot=(0,i.y)({elementType:_e,getSlotProps:Re,externalSlotProps:Ge,externalForwardedProps:Le,additionalProps:(0,n.Z)({},j(_e)&&{as:ae}),ownerState:(0,n.Z)({},Ce,null==Ge?void 0:Ge.ownerState),className:[Ye.root,ie]}),lt=(0,i.y)({elementType:Be,externalSlotProps:Je,ownerState:Ce,className:Ye.rail}),it=(0,i.y)({elementType:Ke,externalSlotProps:Qe,additionalProps:{style:(0,n.Z)({},Pe[Ie].offset(Oe),Pe[Ie].leap(De))},ownerState:(0,n.Z)({},Ce,null==Qe?void 0:Qe.ownerState),className:Ye.track}),st=(0,i.y)({elementType:We,getSlotProps:Ae,externalSlotProps:et,ownerState:(0,n.Z)({},Ce,null==et?void 0:et.ownerState),className:Ye.thumb}),ct=(0,i.y)({elementType:qe,externalSlotProps:tt,ownerState:(0,n.Z)({},Ce,null==tt?void 0:tt.ownerState),className:Ye.valueLabel}),ut=(0,i.y)({elementType:He,externalSlotProps:at,ownerState:Ce,className:Ye.mark}),dt=(0,i.y)({elementType:Ue,externalSlotProps:rt,ownerState:Ce,className:Ye.markLabel}),mt=(0,i.y)({elementType:$e,getSlotProps:ze,externalSlotProps:nt,ownerState:Ce});return(0,Y.jsxs)(_e,(0,n.Z)({},ot,{children:[(0,Y.jsx)(Be,(0,n.Z)({},lt)),(0,Y.jsx)(Ke,(0,n.Z)({},it)),Fe.filter((e=>e.value>=pe&&e.value<=ve)).map(((e,t)=>{const a=w(e.value,pe,ve),r=Pe[Ie].offset(a);let i;return i=!1===we?-1!==Ve.indexOf(e.value):"normal"===we&&(Ee?e.value>=Ve[0]&&e.value<=Ve[Ve.length-1]:e.value<=Ve[0])||"inverted"===we&&(Ee?e.value<=Ve[0]||e.value>=Ve[Ve.length-1]:e.value>=Ve[0]),(0,Y.jsxs)(o.Fragment,{children:[(0,Y.jsx)(He,(0,n.Z)({"data-index":t},ut,!(0,s.X)(He)&&{markActive:i},{style:(0,n.Z)({},r,ut.style),className:(0,l.Z)(ut.className,i&&Ye.markActive)})),null!=e.label?(0,Y.jsx)(Ue,(0,n.Z)({"aria-hidden":!0,"data-index":t},dt,!(0,s.X)(Ue)&&{markLabelActive:i},{style:(0,n.Z)({},r,dt.style),className:(0,l.Z)(Ye.markLabel,dt.className,i&&Ye.markLabelActive),children:e.label})):null]},t)})),Ve.map(((e,t)=>{const a=w(e,pe,ve),r=Pe[Ie].offset(a),o="off"===Se?J:qe;return(0,Y.jsx)(o,(0,n.Z)({},!(0,s.X)(o)&&{valueLabelFormat:Ze,valueLabelDisplay:Se,value:"function"===typeof Ze?Ze(xe(e),t):Ze,index:t,open:Te===t||Ne===t||"on"===Se,disabled:ce},ct,{children:(0,Y.jsx)(We,(0,n.Z)({"data-index":t},st,{className:(0,l.Z)(Ye.thumb,st.className,Ne===t&&Ye.active,Me===t&&Ye.focusVisible),style:(0,n.Z)({},r,Xe(t),st.style),children:(0,Y.jsx)($e,(0,n.Z)({"data-index":t,"aria-label":ue?ue(t):Q,"aria-valuenow":xe(e),"aria-labelledby":te,"aria-valuetext":de?de(xe(e),t):ee,value:Ve[t]},mt))}))}),t)}))]}))})),ee=Q}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[2746],{35258:(t,o,e)=>{"use strict";var a=e(71600);o.Z=void 0;var r=a(e(56930)),n=e(96266);o.Z=(0,r.default)((0,n.jsx)("path",{d:"M12 6v3l4-4-4-4v3c-4.42 0-8 3.58-8 8 0 1.57.46 3.03 1.24 4.26L6.7 14.8c-.45-.83-.7-1.79-.7-2.8 0-3.31 2.69-6 6-6m6.76 1.74L17.3 9.2c.44.84.7 1.79.7 2.8 0 3.31-2.69 6-6 6v-3l-4 4 4 4v-3c4.42 0 8-3.58 8-8 0-1.57-.46-3.03-1.24-4.26"}),"Autorenew")},70648:(t,o,e)=>{"use strict";var a=e(71600);o.Z=void 0;var r=a(e(56930)),n=e(96266);o.Z=(0,r.default)((0,n.jsx)("path",{d:"M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3m-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3m0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5m8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5"}),"Group")},22754:(t,o,e)=>{"use strict";var a=e(71600);o.Z=void 0;var r=a(e(56930)),n=e(96266);o.Z=(0,r.default)((0,n.jsx)("path",{d:"M8 5v14l11-7z"}),"PlayArrow")},49647:(t,o,e)=>{"use strict";var a=e(71600);o.Z=void 0;var r=a(e(56930)),n=e(96266);o.Z=(0,r.default)((0,n.jsx)("path",{d:"M18 17H6v-2h12zm0-4H6v-2h12zm0-4H6V7h12zM3 22l1.5-1.5L6 22l1.5-1.5L9 22l1.5-1.5L12 22l1.5-1.5L15 22l1.5-1.5L18 22l1.5-1.5L21 22V2l-1.5 1.5L18 2l-1.5 1.5L15 2l-1.5 1.5L12 2l-1.5 1.5L9 2 7.5 3.5 6 2 4.5 3.5 3 2z"}),"Receipt")},32207:(t,o,e)=>{"use strict";var a=e(71600);Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var r=a(e(56930)),n=e(96266);o.default=(0,r.default)((0,n.jsx)("path",{d:"M12 5V1L7 6l5 5V7c3.31 0 6 2.69 6 6s-2.69 6-6 6-6-2.69-6-6H4c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8"}),"Replay")},17545:(t,o,e)=>{"use strict";var a=e(71600);o.Z=void 0;var r=a(e(56930)),n=e(96266);o.Z=(0,r.default)((0,n.jsx)("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"}),"Settings")},98451:(t,o,e)=>{"use strict";var a=e(71600);o.Z=void 0;var r=a(e(56930)),n=e(96266);o.Z=(0,r.default)((0,n.jsx)("path",{d:"M6 6h12v12H6z"}),"Stop")},80633:(t,o,e)=>{"use strict";e.d(o,{Z:()=>z});var a=e(31461),r=e(7896),n=e(5057),i=e(9978),l=e(82261),c=e(96295),d=e(88781),s=e(6285),u=e(62773),p=e(42908),v=e(46849),h=e(96036);function m(t){return(0,h.ZP)("MuiButtonGroup",t)}const f=(0,v.Z)("MuiButtonGroup",["root","contained","outlined","text","disableElevation","disabled","firstButton","fullWidth","vertical","grouped","groupedHorizontal","groupedVertical","groupedText","groupedTextHorizontal","groupedTextVertical","groupedTextPrimary","groupedTextSecondary","groupedOutlined","groupedOutlinedHorizontal","groupedOutlinedVertical","groupedOutlinedPrimary","groupedOutlinedSecondary","groupedContained","groupedContainedHorizontal","groupedContainedVertical","groupedContainedPrimary","groupedContainedSecondary","lastButton","middleButton"]);var g=e(17681),b=e(27258),Z=e(96266);const x=["children","className","color","component","disabled","disableElevation","disableFocusRipple","disableRipple","fullWidth","orientation","size","variant"],R=(0,u.ZP)("div",{name:"MuiButtonGroup",slot:"Root",overridesResolver:(t,o)=>{const{ownerState:e}=t;return[{["& .".concat(f.grouped)]:o.grouped},{["& .".concat(f.grouped)]:o["grouped".concat((0,s.Z)(e.orientation))]},{["& .".concat(f.grouped)]:o["grouped".concat((0,s.Z)(e.variant))]},{["& .".concat(f.grouped)]:o["grouped".concat((0,s.Z)(e.variant)).concat((0,s.Z)(e.orientation))]},{["& .".concat(f.grouped)]:o["grouped".concat((0,s.Z)(e.variant)).concat((0,s.Z)(e.color))]},{["& .".concat(f.firstButton)]:o.firstButton},{["& .".concat(f.lastButton)]:o.lastButton},{["& .".concat(f.middleButton)]:o.middleButton},o.root,o[e.variant],!0===e.disableElevation&&o.disableElevation,e.fullWidth&&o.fullWidth,"vertical"===e.orientation&&o.vertical]}})((t=>{let{theme:o,ownerState:e}=t;return(0,r.Z)({display:"inline-flex",borderRadius:(o.vars||o).shape.borderRadius},"contained"===e.variant&&{boxShadow:(o.vars||o).shadows[2]},e.disableElevation&&{boxShadow:"none"},e.fullWidth&&{width:"100%"},"vertical"===e.orientation&&{flexDirection:"column"},{["& .".concat(f.grouped)]:(0,r.Z)({minWidth:40,"&:hover":(0,r.Z)({},"contained"===e.variant&&{boxShadow:"none"})},"contained"===e.variant&&{boxShadow:"none"}),["& .".concat(f.firstButton,",& .").concat(f.middleButton)]:(0,r.Z)({},"horizontal"===e.orientation&&{borderTopRightRadius:0,borderBottomRightRadius:0},"vertical"===e.orientation&&{borderBottomRightRadius:0,borderBottomLeftRadius:0},"text"===e.variant&&"horizontal"===e.orientation&&{borderRight:o.vars?"1px solid rgba(".concat(o.vars.palette.common.onBackgroundChannel," / 0.23)"):"1px solid ".concat("light"===o.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),["&.".concat(f.disabled)]:{borderRight:"1px solid ".concat((o.vars||o).palette.action.disabled)}},"text"===e.variant&&"vertical"===e.orientation&&{borderBottom:o.vars?"1px solid rgba(".concat(o.vars.palette.common.onBackgroundChannel," / 0.23)"):"1px solid ".concat("light"===o.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),["&.".concat(f.disabled)]:{borderBottom:"1px solid ".concat((o.vars||o).palette.action.disabled)}},"text"===e.variant&&"inherit"!==e.color&&{borderColor:o.vars?"rgba(".concat(o.vars.palette[e.color].mainChannel," / 0.5)"):(0,c.Fq)(o.palette[e.color].main,.5)},"outlined"===e.variant&&"horizontal"===e.orientation&&{borderRightColor:"transparent"},"outlined"===e.variant&&"vertical"===e.orientation&&{borderBottomColor:"transparent"},"contained"===e.variant&&"horizontal"===e.orientation&&{borderRight:"1px solid ".concat((o.vars||o).palette.grey[400]),["&.".concat(f.disabled)]:{borderRight:"1px solid ".concat((o.vars||o).palette.action.disabled)}},"contained"===e.variant&&"vertical"===e.orientation&&{borderBottom:"1px solid ".concat((o.vars||o).palette.grey[400]),["&.".concat(f.disabled)]:{borderBottom:"1px solid ".concat((o.vars||o).palette.action.disabled)}},"contained"===e.variant&&"inherit"!==e.color&&{borderColor:(o.vars||o).palette[e.color].dark},{"&:hover":(0,r.Z)({},"outlined"===e.variant&&"horizontal"===e.orientation&&{borderRightColor:"currentColor"},"outlined"===e.variant&&"vertical"===e.orientation&&{borderBottomColor:"currentColor"})}),["& .".concat(f.lastButton,",& .").concat(f.middleButton)]:(0,r.Z)({},"horizontal"===e.orientation&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},"vertical"===e.orientation&&{borderTopRightRadius:0,borderTopLeftRadius:0},"outlined"===e.variant&&"horizontal"===e.orientation&&{marginLeft:-1},"outlined"===e.variant&&"vertical"===e.orientation&&{marginTop:-1})})})),z=n.forwardRef((function(t,o){const e=(0,p.Z)({props:t,name:"MuiButtonGroup"}),{children:c,className:u,color:v="primary",component:h="div",disabled:f=!1,disableElevation:z=!1,disableFocusRipple:C=!1,disableRipple:B=!1,fullWidth:S=!1,orientation:y="horizontal",size:w="medium",variant:k="outlined"}=e,j=(0,a.Z)(e,x),M=(0,r.Z)({},e,{color:v,component:h,disabled:f,disableElevation:z,disableFocusRipple:C,disableRipple:B,fullWidth:S,orientation:y,size:w,variant:k}),L=(t=>{const{classes:o,color:e,disabled:a,disableElevation:r,fullWidth:n,orientation:i,variant:c}=t,d={root:["root",c,"vertical"===i&&"vertical",n&&"fullWidth",r&&"disableElevation"],grouped:["grouped","grouped".concat((0,s.Z)(i)),"grouped".concat((0,s.Z)(c)),"grouped".concat((0,s.Z)(c)).concat((0,s.Z)(i)),"grouped".concat((0,s.Z)(c)).concat((0,s.Z)(e)),a&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return(0,l.Z)(d,m,o)})(M),P=n.useMemo((()=>({className:L.grouped,color:v,disabled:f,disableElevation:z,disableFocusRipple:C,disableRipple:B,fullWidth:S,size:w,variant:k})),[v,f,z,C,B,S,w,k,L.grouped]),E=(0,d.Z)(c),V=E.length,O=t=>{const o=0===t,e=t===V-1;return o&&e?"":o?L.firstButton:e?L.lastButton:L.middleButton};return(0,Z.jsx)(R,(0,r.Z)({as:h,role:"group",className:(0,i.Z)(L.root,u),ref:o,ownerState:M},j,{children:(0,Z.jsx)(g.Z.Provider,{value:P,children:E.map(((t,o)=>(0,Z.jsx)(b.Z.Provider,{value:O(o),children:t},o)))})}))}))},65140:(t,o,e)=>{"use strict";e.d(o,{Z:()=>L});var a=e(31461),r=e(7896),n=e(5057),i=e(9978),l=e(82261),c=e(96295),d=e(39273),s=e(42908),u=e(57471),p=e(96266);const v=(0,u.Z)((0,p.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),h=(0,u.Z)((0,p.jsx)("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked");var m=e(62773);const f=(0,m.ZP)("span",{shouldForwardProp:m.FO})({position:"relative",display:"flex"}),g=(0,m.ZP)(v)({transform:"scale(1)"}),b=(0,m.ZP)(h)((t=>{let{theme:o,ownerState:e}=t;return(0,r.Z)({left:0,position:"absolute",transform:"scale(0)",transition:o.transitions.create("transform",{easing:o.transitions.easing.easeIn,duration:o.transitions.duration.shortest})},e.checked&&{transform:"scale(1)",transition:o.transitions.create("transform",{easing:o.transitions.easing.easeOut,duration:o.transitions.duration.shortest})})}));const Z=function(t){const{checked:o=!1,classes:e={},fontSize:a}=t,n=(0,r.Z)({},t,{checked:o});return(0,p.jsxs)(f,{className:e.root,ownerState:n,children:[(0,p.jsx)(g,{fontSize:a,className:e.background,ownerState:n}),(0,p.jsx)(b,{fontSize:a,className:e.dot,ownerState:n})]})};var x=e(6285),R=e(26393),z=e(42903);var C=e(46849),B=e(96036);function S(t){return(0,B.ZP)("MuiRadio",t)}const y=(0,C.Z)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),w=["checked","checkedIcon","color","icon","name","onChange","size","className"],k=(0,m.ZP)(d.Z,{shouldForwardProp:t=>(0,m.FO)(t)||"classes"===t,name:"MuiRadio",slot:"Root",overridesResolver:(t,o)=>{const{ownerState:e}=t;return[o.root,"medium"!==e.size&&o["size".concat((0,x.Z)(e.size))],o["color".concat((0,x.Z)(e.color))]]}})((t=>{let{theme:o,ownerState:e}=t;return(0,r.Z)({color:(o.vars||o).palette.text.secondary},!e.disableRipple&&{"&:hover":{backgroundColor:o.vars?"rgba(".concat("default"===e.color?o.vars.palette.action.activeChannel:o.vars.palette[e.color].mainChannel," / ").concat(o.vars.palette.action.hoverOpacity,")"):(0,c.Fq)("default"===e.color?o.palette.action.active:o.palette[e.color].main,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==e.color&&{["&.".concat(y.checked)]:{color:(o.vars||o).palette[e.color].main}},{["&.".concat(y.disabled)]:{color:(o.vars||o).palette.action.disabled}})}));const j=(0,p.jsx)(Z,{checked:!0}),M=(0,p.jsx)(Z,{}),L=n.forwardRef((function(t,o){var e,c;const d=(0,s.Z)({props:t,name:"MuiRadio"}),{checked:u,checkedIcon:v=j,color:h="primary",icon:m=M,name:f,onChange:g,size:b="medium",className:Z}=d,C=(0,a.Z)(d,w),B=(0,r.Z)({},d,{color:h,size:b}),y=(t=>{const{classes:o,color:e,size:a}=t,n={root:["root","color".concat((0,x.Z)(e)),"medium"!==a&&"size".concat((0,x.Z)(a))]};return(0,r.Z)({},o,(0,l.Z)(n,S,o))})(B),L=n.useContext(z.Z);let P=u;const E=(0,R.Z)(g,L&&L.onChange);let V=f;var O,W;return L&&("undefined"===typeof P&&(O=L.value,P="object"===typeof(W=d.value)&&null!==W?O===W:String(O)===String(W)),"undefined"===typeof V&&(V=L.name)),(0,p.jsx)(k,(0,r.Z)({type:"radio",icon:n.cloneElement(m,{fontSize:null!=(e=M.props.fontSize)?e:b}),checkedIcon:n.cloneElement(v,{fontSize:null!=(c=j.props.fontSize)?c:b}),ownerState:B,classes:y,name:V,checked:P,onChange:E,ref:o,className:(0,i.Z)(y.root,Z)},C))}))},87916:(t,o,e)=>{"use strict";e.d(o,{Z:()=>v});var a=e(7896),r=e(31461),n=e(5057),i=e(25506),l=e(2286),c=e(58708),d=e(42903),s=e(80538),u=e(96266);const p=["actions","children","defaultValue","name","onChange","value"],v=n.forwardRef((function(t,o){const{actions:e,children:v,defaultValue:h,name:m,onChange:f,value:g}=t,b=(0,r.Z)(t,p),Z=n.useRef(null),[x,R]=(0,c.Z)({controlled:g,default:h,name:"RadioGroup"});n.useImperativeHandle(e,(()=>({focus:()=>{let t=Z.current.querySelector("input:not(:disabled):checked");t||(t=Z.current.querySelector("input:not(:disabled)")),t&&t.focus()}})),[]);const z=(0,l.Z)(o,Z),C=(0,s.Z)(m),B=n.useMemo((()=>({name:C,onChange(t){R(t.target.value),f&&f(t,t.target.value)},value:x})),[C,f,R,x]);return(0,u.jsx)(d.Z.Provider,{value:B,children:(0,u.jsx)(i.Z,(0,a.Z)({role:"radiogroup",ref:z},b,{children:v}))})}))},42903:(t,o,e)=>{"use strict";e.d(o,{Z:()=>a});const a=e(5057).createContext(void 0)},88781:(t,o,e)=>{"use strict";e.d(o,{Z:()=>r});var a=e(5057);function r(t){return a.Children.toArray(t).filter((t=>a.isValidElement(t)))}},3895:(t,o,e)=>{var a=e(98323),r=e(97247),n=e(89479),i=e(73470),l=e(74631),c=e(51565);t.exports=function(t,o,e,d){var s=-1,u=r,p=!0,v=t.length,h=[],m=o.length;if(!v)return h;e&&(o=i(o,l(e))),d?(u=n,p=!1):o.length>=200&&(u=c,p=!1,o=new a(o));t:for(;++s<v;){var f=t[s],g=null==e?f:e(f);if(f=d||0!==f?f:0,p&&g===g){for(var b=m;b--;)if(o[b]===g)continue t;h.push(f)}else u(o,g,d)||h.push(f)}return h}},13973:(t,o,e)=>{var a=e(3895),r=e(61350),n=e(43676);t.exports=function(t,o,e){var i=t.length;if(i<2)return i?n(t[0]):[];for(var l=-1,c=Array(i);++l<i;)for(var d=t[l],s=-1;++s<i;)s!=l&&(c[l]=a(c[l]||d,t[s],o,e));return n(r(c,1),o,e)}},69163:(t,o,e)=>{var a=e(5948),r=e(86456),n=e(13973),i=e(7244),l=e(59408),c=r((function(t){var o=l(t);return o="function"==typeof o?o:void 0,n(a(t,i),void 0,o)}));t.exports=c}}]);
|
|
1
|
+
(self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[2746],{35258:(t,o,e)=>{"use strict";var a=e(71600);o.Z=void 0;var r=a(e(56930)),n=e(96266);o.Z=(0,r.default)((0,n.jsx)("path",{d:"M12 6v3l4-4-4-4v3c-4.42 0-8 3.58-8 8 0 1.57.46 3.03 1.24 4.26L6.7 14.8c-.45-.83-.7-1.79-.7-2.8 0-3.31 2.69-6 6-6m6.76 1.74L17.3 9.2c.44.84.7 1.79.7 2.8 0 3.31-2.69 6-6 6v-3l-4 4 4 4v-3c4.42 0 8-3.58 8-8 0-1.57-.46-3.03-1.24-4.26"}),"Autorenew")},70648:(t,o,e)=>{"use strict";var a=e(71600);o.Z=void 0;var r=a(e(56930)),n=e(96266);o.Z=(0,r.default)((0,n.jsx)("path",{d:"M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3m-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3m0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5m8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5"}),"Group")},22754:(t,o,e)=>{"use strict";var a=e(71600);o.Z=void 0;var r=a(e(56930)),n=e(96266);o.Z=(0,r.default)((0,n.jsx)("path",{d:"M8 5v14l11-7z"}),"PlayArrow")},49647:(t,o,e)=>{"use strict";var a=e(71600);o.Z=void 0;var r=a(e(56930)),n=e(96266);o.Z=(0,r.default)((0,n.jsx)("path",{d:"M18 17H6v-2h12zm0-4H6v-2h12zm0-4H6V7h12zM3 22l1.5-1.5L6 22l1.5-1.5L9 22l1.5-1.5L12 22l1.5-1.5L15 22l1.5-1.5L18 22l1.5-1.5L21 22V2l-1.5 1.5L18 2l-1.5 1.5L15 2l-1.5 1.5L12 2l-1.5 1.5L9 2 7.5 3.5 6 2 4.5 3.5 3 2z"}),"Receipt")},32207:(t,o,e)=>{"use strict";var a=e(71600);Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var r=a(e(56930)),n=e(96266);o.default=(0,r.default)((0,n.jsx)("path",{d:"M12 5V1L7 6l5 5V7c3.31 0 6 2.69 6 6s-2.69 6-6 6-6-2.69-6-6H4c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8"}),"Replay")},17545:(t,o,e)=>{"use strict";var a=e(71600);o.Z=void 0;var r=a(e(56930)),n=e(96266);o.Z=(0,r.default)((0,n.jsx)("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"}),"Settings")},98451:(t,o,e)=>{"use strict";var a=e(71600);o.Z=void 0;var r=a(e(56930)),n=e(96266);o.Z=(0,r.default)((0,n.jsx)("path",{d:"M6 6h12v12H6z"}),"Stop")},80633:(t,o,e)=>{"use strict";e.d(o,{Z:()=>z});var a=e(29218),r=e(7896),n=e(5057),i=e(9978),l=e(82261),c=e(96295),d=e(88781),s=e(6285),u=e(62773),p=e(42908),v=e(46849),h=e(96036);function m(t){return(0,h.ZP)("MuiButtonGroup",t)}const f=(0,v.Z)("MuiButtonGroup",["root","contained","outlined","text","disableElevation","disabled","firstButton","fullWidth","vertical","grouped","groupedHorizontal","groupedVertical","groupedText","groupedTextHorizontal","groupedTextVertical","groupedTextPrimary","groupedTextSecondary","groupedOutlined","groupedOutlinedHorizontal","groupedOutlinedVertical","groupedOutlinedPrimary","groupedOutlinedSecondary","groupedContained","groupedContainedHorizontal","groupedContainedVertical","groupedContainedPrimary","groupedContainedSecondary","lastButton","middleButton"]);var g=e(17681),b=e(27258),Z=e(96266);const x=["children","className","color","component","disabled","disableElevation","disableFocusRipple","disableRipple","fullWidth","orientation","size","variant"],R=(0,u.ZP)("div",{name:"MuiButtonGroup",slot:"Root",overridesResolver:(t,o)=>{const{ownerState:e}=t;return[{["& .".concat(f.grouped)]:o.grouped},{["& .".concat(f.grouped)]:o["grouped".concat((0,s.Z)(e.orientation))]},{["& .".concat(f.grouped)]:o["grouped".concat((0,s.Z)(e.variant))]},{["& .".concat(f.grouped)]:o["grouped".concat((0,s.Z)(e.variant)).concat((0,s.Z)(e.orientation))]},{["& .".concat(f.grouped)]:o["grouped".concat((0,s.Z)(e.variant)).concat((0,s.Z)(e.color))]},{["& .".concat(f.firstButton)]:o.firstButton},{["& .".concat(f.lastButton)]:o.lastButton},{["& .".concat(f.middleButton)]:o.middleButton},o.root,o[e.variant],!0===e.disableElevation&&o.disableElevation,e.fullWidth&&o.fullWidth,"vertical"===e.orientation&&o.vertical]}})((t=>{let{theme:o,ownerState:e}=t;return(0,r.Z)({display:"inline-flex",borderRadius:(o.vars||o).shape.borderRadius},"contained"===e.variant&&{boxShadow:(o.vars||o).shadows[2]},e.disableElevation&&{boxShadow:"none"},e.fullWidth&&{width:"100%"},"vertical"===e.orientation&&{flexDirection:"column"},{["& .".concat(f.grouped)]:(0,r.Z)({minWidth:40,"&:hover":(0,r.Z)({},"contained"===e.variant&&{boxShadow:"none"})},"contained"===e.variant&&{boxShadow:"none"}),["& .".concat(f.firstButton,",& .").concat(f.middleButton)]:(0,r.Z)({},"horizontal"===e.orientation&&{borderTopRightRadius:0,borderBottomRightRadius:0},"vertical"===e.orientation&&{borderBottomRightRadius:0,borderBottomLeftRadius:0},"text"===e.variant&&"horizontal"===e.orientation&&{borderRight:o.vars?"1px solid rgba(".concat(o.vars.palette.common.onBackgroundChannel," / 0.23)"):"1px solid ".concat("light"===o.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),["&.".concat(f.disabled)]:{borderRight:"1px solid ".concat((o.vars||o).palette.action.disabled)}},"text"===e.variant&&"vertical"===e.orientation&&{borderBottom:o.vars?"1px solid rgba(".concat(o.vars.palette.common.onBackgroundChannel," / 0.23)"):"1px solid ".concat("light"===o.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),["&.".concat(f.disabled)]:{borderBottom:"1px solid ".concat((o.vars||o).palette.action.disabled)}},"text"===e.variant&&"inherit"!==e.color&&{borderColor:o.vars?"rgba(".concat(o.vars.palette[e.color].mainChannel," / 0.5)"):(0,c.Fq)(o.palette[e.color].main,.5)},"outlined"===e.variant&&"horizontal"===e.orientation&&{borderRightColor:"transparent"},"outlined"===e.variant&&"vertical"===e.orientation&&{borderBottomColor:"transparent"},"contained"===e.variant&&"horizontal"===e.orientation&&{borderRight:"1px solid ".concat((o.vars||o).palette.grey[400]),["&.".concat(f.disabled)]:{borderRight:"1px solid ".concat((o.vars||o).palette.action.disabled)}},"contained"===e.variant&&"vertical"===e.orientation&&{borderBottom:"1px solid ".concat((o.vars||o).palette.grey[400]),["&.".concat(f.disabled)]:{borderBottom:"1px solid ".concat((o.vars||o).palette.action.disabled)}},"contained"===e.variant&&"inherit"!==e.color&&{borderColor:(o.vars||o).palette[e.color].dark},{"&:hover":(0,r.Z)({},"outlined"===e.variant&&"horizontal"===e.orientation&&{borderRightColor:"currentColor"},"outlined"===e.variant&&"vertical"===e.orientation&&{borderBottomColor:"currentColor"})}),["& .".concat(f.lastButton,",& .").concat(f.middleButton)]:(0,r.Z)({},"horizontal"===e.orientation&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},"vertical"===e.orientation&&{borderTopRightRadius:0,borderTopLeftRadius:0},"outlined"===e.variant&&"horizontal"===e.orientation&&{marginLeft:-1},"outlined"===e.variant&&"vertical"===e.orientation&&{marginTop:-1})})})),z=n.forwardRef((function(t,o){const e=(0,p.Z)({props:t,name:"MuiButtonGroup"}),{children:c,className:u,color:v="primary",component:h="div",disabled:f=!1,disableElevation:z=!1,disableFocusRipple:C=!1,disableRipple:B=!1,fullWidth:S=!1,orientation:y="horizontal",size:w="medium",variant:k="outlined"}=e,j=(0,a.Z)(e,x),M=(0,r.Z)({},e,{color:v,component:h,disabled:f,disableElevation:z,disableFocusRipple:C,disableRipple:B,fullWidth:S,orientation:y,size:w,variant:k}),L=(t=>{const{classes:o,color:e,disabled:a,disableElevation:r,fullWidth:n,orientation:i,variant:c}=t,d={root:["root",c,"vertical"===i&&"vertical",n&&"fullWidth",r&&"disableElevation"],grouped:["grouped","grouped".concat((0,s.Z)(i)),"grouped".concat((0,s.Z)(c)),"grouped".concat((0,s.Z)(c)).concat((0,s.Z)(i)),"grouped".concat((0,s.Z)(c)).concat((0,s.Z)(e)),a&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return(0,l.Z)(d,m,o)})(M),P=n.useMemo((()=>({className:L.grouped,color:v,disabled:f,disableElevation:z,disableFocusRipple:C,disableRipple:B,fullWidth:S,size:w,variant:k})),[v,f,z,C,B,S,w,k,L.grouped]),E=(0,d.Z)(c),V=E.length,O=t=>{const o=0===t,e=t===V-1;return o&&e?"":o?L.firstButton:e?L.lastButton:L.middleButton};return(0,Z.jsx)(R,(0,r.Z)({as:h,role:"group",className:(0,i.Z)(L.root,u),ref:o,ownerState:M},j,{children:(0,Z.jsx)(g.Z.Provider,{value:P,children:E.map(((t,o)=>(0,Z.jsx)(b.Z.Provider,{value:O(o),children:t},o)))})}))}))},65140:(t,o,e)=>{"use strict";e.d(o,{Z:()=>L});var a=e(29218),r=e(7896),n=e(5057),i=e(9978),l=e(82261),c=e(96295),d=e(39273),s=e(42908),u=e(57471),p=e(96266);const v=(0,u.Z)((0,p.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),h=(0,u.Z)((0,p.jsx)("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked");var m=e(62773);const f=(0,m.ZP)("span",{shouldForwardProp:m.FO})({position:"relative",display:"flex"}),g=(0,m.ZP)(v)({transform:"scale(1)"}),b=(0,m.ZP)(h)((t=>{let{theme:o,ownerState:e}=t;return(0,r.Z)({left:0,position:"absolute",transform:"scale(0)",transition:o.transitions.create("transform",{easing:o.transitions.easing.easeIn,duration:o.transitions.duration.shortest})},e.checked&&{transform:"scale(1)",transition:o.transitions.create("transform",{easing:o.transitions.easing.easeOut,duration:o.transitions.duration.shortest})})}));const Z=function(t){const{checked:o=!1,classes:e={},fontSize:a}=t,n=(0,r.Z)({},t,{checked:o});return(0,p.jsxs)(f,{className:e.root,ownerState:n,children:[(0,p.jsx)(g,{fontSize:a,className:e.background,ownerState:n}),(0,p.jsx)(b,{fontSize:a,className:e.dot,ownerState:n})]})};var x=e(6285),R=e(26393),z=e(42903);var C=e(46849),B=e(96036);function S(t){return(0,B.ZP)("MuiRadio",t)}const y=(0,C.Z)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),w=["checked","checkedIcon","color","icon","name","onChange","size","className"],k=(0,m.ZP)(d.Z,{shouldForwardProp:t=>(0,m.FO)(t)||"classes"===t,name:"MuiRadio",slot:"Root",overridesResolver:(t,o)=>{const{ownerState:e}=t;return[o.root,"medium"!==e.size&&o["size".concat((0,x.Z)(e.size))],o["color".concat((0,x.Z)(e.color))]]}})((t=>{let{theme:o,ownerState:e}=t;return(0,r.Z)({color:(o.vars||o).palette.text.secondary},!e.disableRipple&&{"&:hover":{backgroundColor:o.vars?"rgba(".concat("default"===e.color?o.vars.palette.action.activeChannel:o.vars.palette[e.color].mainChannel," / ").concat(o.vars.palette.action.hoverOpacity,")"):(0,c.Fq)("default"===e.color?o.palette.action.active:o.palette[e.color].main,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==e.color&&{["&.".concat(y.checked)]:{color:(o.vars||o).palette[e.color].main}},{["&.".concat(y.disabled)]:{color:(o.vars||o).palette.action.disabled}})}));const j=(0,p.jsx)(Z,{checked:!0}),M=(0,p.jsx)(Z,{}),L=n.forwardRef((function(t,o){var e,c;const d=(0,s.Z)({props:t,name:"MuiRadio"}),{checked:u,checkedIcon:v=j,color:h="primary",icon:m=M,name:f,onChange:g,size:b="medium",className:Z}=d,C=(0,a.Z)(d,w),B=(0,r.Z)({},d,{color:h,size:b}),y=(t=>{const{classes:o,color:e,size:a}=t,n={root:["root","color".concat((0,x.Z)(e)),"medium"!==a&&"size".concat((0,x.Z)(a))]};return(0,r.Z)({},o,(0,l.Z)(n,S,o))})(B),L=n.useContext(z.Z);let P=u;const E=(0,R.Z)(g,L&&L.onChange);let V=f;var O,W;return L&&("undefined"===typeof P&&(O=L.value,P="object"===typeof(W=d.value)&&null!==W?O===W:String(O)===String(W)),"undefined"===typeof V&&(V=L.name)),(0,p.jsx)(k,(0,r.Z)({type:"radio",icon:n.cloneElement(m,{fontSize:null!=(e=M.props.fontSize)?e:b}),checkedIcon:n.cloneElement(v,{fontSize:null!=(c=j.props.fontSize)?c:b}),ownerState:B,classes:y,name:V,checked:P,onChange:E,ref:o,className:(0,i.Z)(y.root,Z)},C))}))},87916:(t,o,e)=>{"use strict";e.d(o,{Z:()=>v});var a=e(7896),r=e(29218),n=e(5057),i=e(25506),l=e(2286),c=e(58708),d=e(42903),s=e(80538),u=e(96266);const p=["actions","children","defaultValue","name","onChange","value"],v=n.forwardRef((function(t,o){const{actions:e,children:v,defaultValue:h,name:m,onChange:f,value:g}=t,b=(0,r.Z)(t,p),Z=n.useRef(null),[x,R]=(0,c.Z)({controlled:g,default:h,name:"RadioGroup"});n.useImperativeHandle(e,(()=>({focus:()=>{let t=Z.current.querySelector("input:not(:disabled):checked");t||(t=Z.current.querySelector("input:not(:disabled)")),t&&t.focus()}})),[]);const z=(0,l.Z)(o,Z),C=(0,s.Z)(m),B=n.useMemo((()=>({name:C,onChange(t){R(t.target.value),f&&f(t,t.target.value)},value:x})),[C,f,R,x]);return(0,u.jsx)(d.Z.Provider,{value:B,children:(0,u.jsx)(i.Z,(0,a.Z)({role:"radiogroup",ref:z},b,{children:v}))})}))},42903:(t,o,e)=>{"use strict";e.d(o,{Z:()=>a});const a=e(5057).createContext(void 0)},88781:(t,o,e)=>{"use strict";e.d(o,{Z:()=>r});var a=e(5057);function r(t){return a.Children.toArray(t).filter((t=>a.isValidElement(t)))}},3895:(t,o,e)=>{var a=e(98323),r=e(97247),n=e(89479),i=e(73470),l=e(74631),c=e(51565);t.exports=function(t,o,e,d){var s=-1,u=r,p=!0,v=t.length,h=[],m=o.length;if(!v)return h;e&&(o=i(o,l(e))),d?(u=n,p=!1):o.length>=200&&(u=c,p=!1,o=new a(o));t:for(;++s<v;){var f=t[s],g=null==e?f:e(f);if(f=d||0!==f?f:0,p&&g===g){for(var b=m;b--;)if(o[b]===g)continue t;h.push(f)}else u(o,g,d)||h.push(f)}return h}},13973:(t,o,e)=>{var a=e(3895),r=e(61350),n=e(43676);t.exports=function(t,o,e){var i=t.length;if(i<2)return i?n(t[0]):[];for(var l=-1,c=Array(i);++l<i;)for(var d=t[l],s=-1;++s<i;)s!=l&&(c[l]=a(c[l]||d,t[s],o,e));return n(r(c,1),o,e)}},69163:(t,o,e)=>{var a=e(5948),r=e(86456),n=e(13973),i=e(7244),l=e(59408),c=r((function(t){var o=l(t);return o="function"==typeof o?o:void 0,n(a(t,i),void 0,o)}));t.exports=c}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[2960],{77327:(e,n,t)=>{t.r(n),t.d(n,{BlockletList:()=>ce,default:()=>se});var o,r,l=t(71171),a=t(5057),i=t(33518),s=t(75506),c=t.n(s),d=t(85493),m=t(15849),u=t(67654),p=t(11750),f=t(80576),h=t(51177),x=t(74490),g=t(39948),b=t(15715),y=t(75760),v=t(49384),k=t(44846),Z=t(35966),j=t(25710),w=t(88574),C=t(28726),S=t(68420),P=t(35432),_=t(86229),E=t(81010),L=t(87363),B=t(22228),R=t(32349),A=t(1722),T=t(38242),z=t(75793),N=t(52926),D=t(74094),F=t(78123),I=t(38898),M=t(24138),U=t(96266);function O(e){let{blocklet:n,skipAccessibilityCheck:t=!1,...o}=e;const{t:r}=(0,a.useContext)(S.RD),{urls:l,loading:i,recommendedUrl:s}=(0,M.BZ)(n);if(i&&!t)return(0,U.jsx)(k.Z,{size:12,...o});const c=t?l[0]:s;return c?(0,U.jsx)(V,{...o,children:(0,U.jsx)(W,{children:(0,U.jsx)(I.Z,{href:c,target:"_blank",className:"blocklet-interface",underline:"hover",children:r("common.open")})})}):r("blocklet.router.noAccessibleUrl")}const W=i.Z.div(o||(o=(0,l.Z)(["\n display: flex;\n margin: 4px 0;\n"]))),V=i.Z.div(r||(r=(0,l.Z)(["\n .blocklet-interface {\n display: flex;\n align-items: center;\n justify-content: flex-start;\n white-space: nowrap;\n\n img {\n margin-right: 4px;\n }\n }\n"])));O.defaultProps={skipAccessibilityCheck:!1};var J=t(44919),K=t(17682),q=t(61813),G=t(31853),H=t(13128),$=t(55372),Q=t(47020),X=t(22425),Y=t(73545);const ee={title:/^.{3,40}$/,description:/^.{3,160}$/};function ne(e){let{onCancel:n,onSuccess:t}=e;const{info:o}=(0,z.h6)(),{t:r}=(0,S.PE)(),{api:l}=(0,Y.T)(),[a,i]=(0,G.Z)({loading:!1,title:"",titleError:"",description:"",descriptionError:"",isConnectOpen:!1}),s=e=>{const{value:n,name:t}=e.target;i({["".concat(t,"Error")]:n&&!ee[t].test(n)?r("blocklet.".concat(t,"ValidationError")):""})},c=e=>{const{value:n,name:t}=e.target,o="".concat(t,"Error");a[o]?i({[t]:n,[o]:n&&!ee[t].test(n)?r("blocklet.".concat(t,"ValidationError")):""}):i({[t]:n})};return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(H.ZP,{title:r("blocklet.installFromCreate"),fullWidth:!0,maxWidth:"sm",onClose:()=>n(),showCloseButton:!0,open:!0,actions:(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(C.Z,{onClick:e=>{e.stopPropagation(),n()},color:"inherit",children:r("common.cancel")}),(0,U.jsxs)(C.Z,{onClick:e=>{e.stopPropagation(),i({loading:!0,isConnectOpen:!0})},color:"primary","data-cy":"install-blocklet-next-step",variant:"contained",disabled:a.loading||a.titleError||a.descriptionError||!a.title||!a.description,style:{marginLeft:8},children:[a.loading&&(0,U.jsx)(k.Z,{size:16}),r("common.create")]})]}),children:(0,U.jsx)($.Z,{component:"div",children:(0,U.jsxs)(p.Z,{component:"div",children:[(0,U.jsx)(Q.Z,{style:{marginBottom:24},label:"Blocklet ".concat(r("common.title")),autoComplete:"off",variant:"outlined",fullWidth:!0,autoFocus:!0,name:"title",value:a.title,onBlur:s,onChange:c,error:!!a.titleError,helperText:a.titleError,disabled:a.loading}),(0,U.jsx)(Q.Z,{label:"Blocklet ".concat(r("common.description")),autoComplete:"off",variant:"outlined",fullWidth:!0,name:"description",value:a.description,onBlur:s,onChange:c,error:!!a.descriptionError,helperText:a.descriptionError,disabled:a.loading})]})})}),(0,U.jsx)(X.Z,{popup:!0,open:a.isConnectOpen,forceConnected:!1,className:"launch-from-create-auth",action:"launch-free-blocklet-by-session",checkFn:l.get,checkTimeout:3e5,webWalletUrl:(0,D.yP)(o),onSuccess:e=>{i({loading:!1,isConnectOpen:!1}),t(e)},extraParams:{title:a.title,description:a.description},messages:{title:r("setup.keyPair.title"),scan:r("setup.keyPair.scan"),confirm:r("setup.keyPair.confirm"),success:r("setup.keyPair.success")},onClose:()=>{i({loading:!1,isConnectOpen:!1})}})]})}function te(e){let{onCreate:n}=e;const t=(0,d.useNavigate)(),{t:o}=(0,S.PE)(),[r,l]=(0,a.useState)(""),[i,s]=(0,a.useState)(""),[c,m]=(0,a.useState)(null),[u,p]=(0,a.useState)(null),f=()=>{m(null)};return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsxs)(K.Z,{onClick:()=>t("/store"),menuButtonProps:{"data-cy":"open-install-menu"},menu:[(0,U.jsx)(K.Z.Item,{"data-cy":"open-install-form",onClick:()=>{m({onCancel:()=>{f(),m(null)},onSuccess:()=>{f()}})},children:o("blocklet.installFromUrl")},"1"),(0,U.jsx)(K.Z.Item,{"data-cy":"open-create-form",onClick:()=>{p({onCancel:()=>{p(null)},onSuccess:function(){p(null),n(...arguments)}})},children:o("blocklet.installFromCreate")},"2"),(0,U.jsx)(K.Z.Item,{"data-cy":"open-install-from-spaces",onClick:()=>{t("/blocklets/restore")},children:o("blocklet.restoreFromSpaces.title")},"3"),(0,U.jsx)(K.Z.Item,{"data-cy":"open-install-from-spaces",onClick:()=>(()=>{const e=new URL("http://localhost");e.searchParams.set("restoreFrom","server"),e.searchParams.set("serverUrl",window.location.href),t("/blocklets/restore".concat(e.search))})(),children:o("blocklet.installFromDiskBackup")},"3")].filter(Boolean),children:[(0,U.jsx)(J.Z,{}),o("blocklet.installFromMarket")]}),!!r&&(0,U.jsx)(_.Z,{variant:"error",message:r,onClose:()=>l("")}),!!i&&(0,U.jsx)(_.Z,{variant:"success",duration:3e3,message:i,onClose:()=>s("")}),c&&(0,U.jsx)(q.Z,{onCancel:c.onCancel,onSuccess:c.onSuccess}),u&&(0,U.jsx)(ne,{onCancel:u.onCancel,onSuccess:u.onSuccess})]})}ne.defaultProps={},te.defaultProps={onCreate:()=>{}};var oe,re,le=t(7199);const ae="internal",ie="external";function se(){return(0,U.jsx)(L.g,{children:(0,U.jsx)(ce,{})})}function ce(){const e=(0,d.useNavigate)(),n=(0,z.h6)(),[t,o]=(0,m.useSearchParams)(),{data:r,externalData:l,error:i,refresh:s,loading:I}=(0,N.RJ)(),{deletingBlocklets:M,addDeletingDid:W,removeDeletingDid:V,matchDeletingDid:J}=(0,L.K)(),{t:K,locale:q}=(0,S.PE)(),[G,H]=(0,a.useState)(t.get("searchText")),[$]=(0,u.Z)("show-external-blocklet-actions",!1),Q=[{id:ae,name:K("blocklet.internal")},{id:ie,name:K("blocklet.external")}],[X,Y]=(0,u.Z)("blocklet-type-filter",ae),ee=X===ae?r:l,ne=(null===n||void 0===n?void 0:n.info.mode)!==P.NODE_MODES.SERVERLESS;J(ee.map((e=>e.meta.did)));const oe=e=>{let{action:n,blocklet:t}=e;"remove"===n&&W(t.meta.did)},re=e=>{if(e.error)return _.Z.error(e.error.message),void("remove"===e.action&&V(e.blocklet.meta.did));"remove"===e.action&&n.refresh({silent:!0})},se=(0,b.Z)((e=>e.breakpoints.up("md")));let ce=null;const ue=ee||[];if(i)ce=(0,U.jsx)(w.Z,{type:"error",variant:"icon",children:(0,U.jsxs)("div",{children:[(0,D.Z)(i),(0,U.jsx)(C.Z,{onClick:()=>s({silent:!1}),children:(0,U.jsx)("span",{style:{color:"#44cdc6",textDecoration:"underline"},children:K("common.retry")})})]})});else if(ue.length>0||I){const e=["installedAt","startedAt","stoppedAt","createdAt"],n=e=>{if("starting"===e.status)return new Date("2199").getTime();if("running"===e.status){if(e.appRuntimeInfo)return e.appRuntimeInfo.startAt;if(e.startedAt)return e.startedAt.getTime()}return 0};let t=ue.map((n=>(e.forEach((e=>{if(n[e]){const t=new Date(n[e]);n[e]=t}})),n))).sort(((e,t)=>{const o=n(e);return n(t)-o}));G&&(t=t.filter((e=>{var n;const t=(0,T.getDisplayName)(e)||"",o=(null===(n=e.site)||void 0===n?void 0:n.domainAliases)||[],r=G.trim().toLocaleLowerCase();return e.appDid===G||e.appPid===G||t.toLocaleLowerCase().includes(r)||o.some((e=>{var n;return null===(n=e.value)||void 0===n?void 0:n.toLocaleLowerCase().includes(r)}))})));const r=(0,y.$)("blocklets-list");r.searchText&&!G&&H(r.searchText);const l=[{label:K("common.name"),name:"meta.title",options:{customBodyRenderLite(e){const n=t[e],o=(0,T.getAppMissingConfigs)(n).length>0?"components":"overview";return(0,U.jsx)(m.Link,{to:"/blocklets/".concat(n.meta.did,"/").concat(o),className:"blocklet-name-wrapper",children:(0,U.jsxs)(p.Z,{component:"strong",variant:"body1",className:"blocklet-name",children:[(0,U.jsx)(A.Z,{blocklet:n,style:{marginRight:8}}),(0,U.jsxs)(g.Z,{children:[(0,U.jsx)(g.Z,{children:(0,T.getDisplayName)(n)}),(0,U.jsxs)(g.Z,{children:[(0,U.jsx)(R.Z,{mode:n.mode||""}),!c()(n.controller)&&(0,U.jsx)(B.Z,{type:"primary",children:K("blocklet.external")})]})]})]})},n.meta.did)}}},X===ae?{label:K("common.visit"),name:"runtimeInfo.pid",align:"left",options:{sort:!1,customBodyRenderLite(e){const n=t[e];return(0,U.jsx)(O,{blocklet:n},n.meta.did)}}}:null,{label:K("common.uptime"),name:"runtimeInfo.uptime",options:{customBodyRenderLite(e){const n=t[e];return"running"===n.status&&n.appRuntimeInfo?(0,U.jsx)(v.Z,{value:n.appRuntimeInfo.startAt,locale:q},n.meta.did):""}}},{label:K("common.installedAt"),name:"installedAt",options:{customBodyRenderLite(e){const n=t[e];return n.installedAt?(0,U.jsx)(v.Z,{value:n.installedAt.getTime(),locale:q},n.meta.did):n.createdAt?(0,U.jsx)(v.Z,{value:n.createdAt.getTime(),locale:q},n.meta.did):""}}},{label:K("common.updatedAt"),name:"updatedAt",options:{customBodyRenderLite(e){const n=t[e];return(0,U.jsx)(v.Z,{value:n.updatedAt,locale:q},n.meta.did)}}},{label:K("common.status"),name:"status",width:120,align:"center",options:{customBodyRenderLite(e){const n=t[e];return(0,U.jsx)(E.Z,{"data-cy":"blocklet-status","status-blocklet-did":n.meta.did,status:M.includes(n.meta.did)?"deleting":n.status,source:n.source,progress:n.progress},n.meta.did)}}},X===ae||$?{label:K("common.actions"),name:"",width:90,options:{sort:!1,customBodyRenderLite(e){const n=t[e];return(0,U.jsx)(F.Z,{blocklet:n,variant:"menu",onStart:oe,onComplete:re},n.meta.did)}}}:null].filter(Boolean),a={};se||(a.TableBody=function(e){if(I)return(0,U.jsx)(Z.Z,{relative:"parent",children:(0,U.jsx)(k.Z,{})});const{page:n,rowsPerPage:o}=e,r=t.slice(n*o,(n+1)*o);return r.length?(0,U.jsx)("div",{children:r.map((e=>{const n=(0,T.getAppMissingConfigs)(e).length>0?"components":"overview";return(0,U.jsxs)(g.Z,{className:"blocklet-item--mobile",display:"flex",justifyContent:"space-between",alignItems:"center",children:[(0,U.jsx)(A.Z,{className:"blocklet__avatar",blocklet:e,size:se?40:60}),(0,U.jsxs)(m.Link,{className:"blocklet__content",to:"/blocklets/".concat(e.meta.did,"/").concat(n),children:[(0,U.jsxs)(g.Z,{display:"flex",justifyContent:"space-between",alignItems:"flex-start",children:[(0,U.jsx)(p.Z,{component:"strong",variant:"body1",className:"blocklet__name",children:(0,T.getDisplayName)(e,!0)}),(0,U.jsx)(F.Z,{blocklet:e,variant:"menu",onStart:oe,onComplete:re},e.meta.did)]}),(0,U.jsxs)(p.Z,{component:"small",className:"blocklet__addons",children:[(0,U.jsx)(g.Z,{display:"flex",alignItems:"center",children:(0,U.jsx)(O,{blocklet:e,style:{marginLeft:16,fontSize:14}})}),(0,U.jsx)(E.Z,{"status-blocklet-did":e.meta.did,status:e.status,source:e.source,progress:e.progress},e.meta.did)]})]})]})}))}):(0,U.jsx)(j.Z,{children:K("common.empty")})}),ce=(0,U.jsx)(de,{children:(0,U.jsx)(y.Z,{loading:I,className:"blocklet-list",title:(0,U.jsx)(g.Z,{display:"flex",alignItems:"center",children:K("blocklet.index.tableTitle")}),locale:q,data:t,columns:l,durable:"blocklets-list",options:{download:!1,filter:!1,print:!1,searchPlaceholder:K("common.search"),searchAlwaysOpen:!1,sortOrder:{name:"uptime",direction:"desc"},searchDebounceTime:300,onSearchChange:e=>{H(e),o({searchText:null!==e&&void 0!==e?e:""})},customSearch:()=>!0,...r,searchText:G},components:a})})}else 0===ue.length&&(ce=(0,U.jsx)(w.Z,{type:"warning",variant:"icon",children:K("blocklet.index.noBlocklet")}));const pe=l&&l.length>0;return(0,U.jsxs)(me,{children:[(0,U.jsxs)(p.Z,{component:"h2",variant:"h4",className:"page-header",color:"textPrimary",children:[(0,U.jsxs)(g.Z,{display:"flex",alignItems:"center",children:[K("common.blocklets"),(pe||X===ie)&&(0,U.jsx)(f.Z,{sx:{ml:1},children:(0,U.jsx)(h.Z,{value:X,onChange:e=>Y(e.target.value),size:"small",children:Q.map((e=>(0,U.jsx)(x.Z,{value:e.id,children:K(e.name)},e.id)))})})]}),(0,U.jsx)(le.Z,{permission:"mutate_blocklets",children:ne&&(0,U.jsx)(te,{onCreate:n=>{e("/blocklets/".concat(n.appDid,"/components"))}})})]}),ce]})}const de=i.Z.div(oe||(oe=(0,l.Z)(["\n .blocklet-item--mobile {\n padding: 16px 0;\n }\n"]))),me=i.Z.main(re||(re=(0,l.Z)(["\n .page-header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n\n .blocklet-list {\n .blocklet-item--mobile {\n .blocklet__avatar {\n margin-right: -60px;\n }\n .blocklet__content {\n padding-left: 68px;\n flex: 1;\n display: flex;\n flex-direction: column;\n z-index: 1;\n }\n .blocklet__name {\n font-weight: bold;\n text-decoration: none;\n white-space: normal;\n word-break: break-all;\n }\n .blocklet__addons {\n display: flex;\n justify-content: space-between;\n margin-top: 5px;\n margin-bottom: -10px;\n }\n }\n .blocklet-name-wrapper {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: flex-start;\n }\n .blocklet-name {\n font-weight: bold;\n text-decoration: underline;\n display: flex;\n align-items: center;\n white-space: normal;\n word-break: break-all;\n }\n\n .blocklet-interface {\n display: flex;\n align-items: center;\n justify-content: flex-start;\n\n img {\n margin-right: 4px;\n }\n }\n\n .MuiToolbar-root {\n display: flex;\n }\n }\n"])))},61813:(e,n,t)=>{t.d(n,{Z:()=>S});var o=t(5057),r=t(55898),l=t.n(r),a=t(13128),i=t(44846),s=t(55372),c=t(11750),d=t(47020),m=t(20870),u=t(31089),p=t(71767),f=t(64886),h=t(22425),x=t(68420),g=t(28726),b=t(88574),y=t(38242),v=t(58238),k=t(73545),Z=t(14491),j=t(4651),w=t(17450),C=t(96266);function S(e){let{defaultUrl:n,onCancel:t,onSuccess:r,onError:l,mode:S,handleText:P}=e;const{api:_}=(0,v.h6)(),{api:E}=(0,k.T)(),[L,B]=(0,o.useState)(!1),[R,A]=(0,o.useState)(""),{t:T}=(0,x.PE)(),z={dist:{}},[N,D]=(0,o.useState)(n),[F,I]=(0,o.useState)(n?1:0),[M,U]=(0,o.useState)(z),[O,W]=(0,o.useState)(!1),[V,J]=(0,o.useState)({}),K="component"===S,q=!!K||!n,G=async()=>{U(z),A(null),B(!0);try{const e=decodeURIComponent(N.trim());try{new URL(e)}catch{throw new Error("Invalid URL")}const{meta:n,inStore:t,registryUrl:o}=await _.getBlockletMetaFromUrl({input:{url:e}});U(n),J({inStore:t,registryUrl:o,inputUrl:N.trim()})}catch(e){console.error(e);const n="Blocklet Install failed: ".concat((0,Z.Z)(e));A(n),l(e)}finally{B(!1)}};(0,o.useEffect)((()=>{n&&G()}),[n]);const H=[{name:T("common.name"),value:(0,y.getDisplayName)({meta:M},!0)},{name:T("common.version"),value:M.version},{name:T("common.did"),value:(0,C.jsx)(w.Z,{did:M.did})},{name:T("common.author"),value:(0,Z.rq)(M.author)},{name:T("blocklet.dist.downloadLink"),value:M.dist.tarball}],$=[{label:T("blocklet.fromUrl.step0"),body:(0,C.jsx)(c.Z,{component:"div",children:(0,C.jsx)(d.Z,{label:T("blocklet.fromUrl.label"),autoComplete:"off",variant:"outlined",name:"url","data-cy":"blocklet-url-input",fullWidth:!0,autoFocus:!0,style:{marginBottom:32},margin:"dense",helperText:T("blocklet.fromUrl.description"),value:N,onChange:e=>{A(null),D(e.target.value)},disabled:L,onKeyPress:e=>{"Enter"===e.key&&(e.preventDefault(),G(),I(1))}})}),cancel:T("common.cancel"),confirm:T("common.next"),onCancel:t,onConfirm:()=>{G(),I(1)}},{label:T("blocklet.fromUrl.step1"),body:L?(0,C.jsx)("div",{style:{height:200,width:"100%",display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column"},children:(0,C.jsx)(i.Z,{})}):M.did?(0,C.jsx)("div",{style:{paddingLeft:"10%"},children:H.map((e=>e.name===T("common.did")?(0,C.jsx)(f.Z,{valueComponent:"div",nameWidth:120,name:e.name,nameFormatter:()=>T("common.did"),children:e.value},e.name):(0,C.jsx)(f.Z,{valueComponent:"div",nameWidth:120,name:e.name,children:e.value},e.name)))}):null,cancel:T(q?"common.pre":"common.cancel"),confirm:(null===P||void 0===P?void 0:P.confirm)||T("blocklet.fromUrl.confirm"),onCancel:()=>{q?I((e=>e-1)):t()},onConfirm:()=>{(()=>{if(K)return r({meta:M,...V}),void t();B(!0),W(!0)})()}}],Q=$[F];return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsxs)(a.ZP,{title:(null===P||void 0===P?void 0:P.title)||T("blocklet.fromUrl.title"),fullWidth:!0,maxWidth:"md",onClose:()=>Q.onCancel(),showCloseButton:0===F,disableEscapeKeyDown:!0,open:!0,actions:(0,C.jsxs)(C.Fragment,{children:[Q.cancel&&(0,C.jsx)(g.Z,{onClick:e=>{e.stopPropagation(),A(null),Q.onCancel()},color:"inherit",children:Q.cancel||T("common.cancel")}),(0,C.jsxs)(g.Z,{onClick:e=>{e.stopPropagation(),Q.onConfirm()},color:"primary","data-cy":"install-blocklet-next-step",disabled:L||!N||R,variant:"contained",autoFocus:!0,style:{marginLeft:8},children:[L&&0===F&&(0,C.jsx)(i.Z,{size:16}),Q.confirm]})]}),children:[q&&(0,C.jsx)(m.Z,{alternativeLabel:!0,activeStep:F,children:$.map((e=>{let{label:n}=e;return(0,C.jsx)(u.Z,{children:(0,C.jsx)(p.Z,{children:n})},n)}))}),(0,C.jsx)(s.Z,{component:"div",style:{marginTop:24},children:Q.body}),!!R&&(0,C.jsx)(b.Z,{type:"error",style:{width:"100%",marginTop:8},children:R})]}),M&&O&&(0,C.jsx)(h.Z,{popup:!0,open:!0,forceConnected:!1,className:"launch-from-url-auth",action:"launch-free-blocklet-by-session",checkFn:E.get,checkTimeout:3e5,onSuccess:()=>{B(!1),W(!1),r({meta:M,...V}),t()},extraParams:{title:M.title,wt:(0,j.iK)(M),blockletMetaUrl:decodeURIComponent(N.trim())},messages:{title:T("setup.keyPair.title"),scan:T("setup.keyPair.scan"),confirm:T("setup.keyPair.confirm"),success:T("setup.keyPair.success")},onClose:()=>{B(!1),W(!1)}})]})}S.propTypes={defaultUrl:l().string,onCancel:l().func.isRequired,onSuccess:l().func.isRequired,onError:l().func,mode:l().oneOf(["install","component"]),handleText:l().object},S.defaultProps={onError:()=>{},defaultUrl:"",mode:"install",handleText:{}}},32349:(e,n,t)=>{t.d(n,{Z:()=>i});var o=t(55898),r=t.n(o),l=t(22228),a=t(96266);function i(e){let{mode:n,...t}=e;return"development"===n?(0,a.jsx)(l.Z,{type:"primary",...t,children:"DEV"}):null}i.propTypes={mode:r().string.isRequired}},64886:(e,n,t)=>{t.d(n,{Z:()=>x});var o,r=t(71171),l=t(55898),a=t.n(l),i=t(51540),s=t.n(i),c=t(26538),d=t.n(c),m=t(11750),u=t(47685),p=t(96266);function f(e){let{name:n,nameFormatter:t,layout:o,children:r,valueComponent:l,nameWidth:a,...i}=e;return(0,p.jsxs)(h,{layout:o,width:a,...i,children:[(0,p.jsx)(m.Z,{color:"textSecondary",className:"info-row__name",children:t(n)}),r&&(0,p.jsx)(m.Z,{color:"textPrimary",component:l,className:"info-row__value",children:r})]})}f.propTypes={name:a().any.isRequired,layout:a().oneOf(["horizontal","vertical"]),children:a().any,nameFormatter:a().func,valueComponent:a().string,nameWidth:a().number},f.defaultProps={children:null,nameWidth:90,nameFormatter:e=>{const n=e.split(" ").map((e=>d()(s()(e)))).join(" ");return"string"===typeof e?n:e},valueComponent:"div",layout:"horizontal"};const h=(0,u.zo)("div")(o||(o=(0,r.Z)(["\n display: flex;\n flex-direction: ",";\n justify-content: flex-start;\n align-items: ",";\n margin-bottom: 16px;\n\n .info-row__name {\n width: ","px;\n margin-right: ",";\n margin-bottom: ",";\n text-transform: capitalize;\n }\n\n .info-row__value {\n flex: 1;\n overflow: auto;\n word-wrap: break-word;\n font-weight: 500;\n }\n\n @media (max-width: ","px) {\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n .info-row__name {\n font-weight: bold;\n }\n\n .info-row__value {\n width: 100%;\n font-size: 12px;\n margin-top: 8px;\n }\n }\n"])),(e=>"vertical"===e.layout?"column":"row"),(e=>"vertical"===e.layout?"flex-start":"center"),(e=>e.width),(e=>"vertical"===e.layout?"0":"8px"),(e=>"vertical"===e.layout?"8px":"0"),(e=>e.theme.breakpoints.values.md)),x=f},17682:(e,n,t)=>{t.d(n,{Z:()=>k});var o,r,l=t(71171),a=t(5057),i=t(55898),s=t.n(i),c=t(76720),d=t(49020),m=t(25228),u=t(72113),p=t(1733),f=t(74490),h=t(80633),x=t(56556),g=t(92706),b=t.n(g),y=t(47685),v=t(96266);function k(e){const{size:n,color:t,menu:o,children:r,variant:l,onClick:i,menuButtonProps:s,...d}=e,[h,g]=(0,a.useState)(!1),b=(0,a.useRef)(null),y=Array.isArray(o)?o.map(((e,n)=>(0,a.isValidElement)(e)?e:(0,a.createElement)(f.Z,{...e,key:n}))):o;return(0,v.jsxs)(v.Fragment,{children:[(0,v.jsxs)(Z,{variant:l,size:n,color:t,ref:b,...d,children:["function"===typeof r?r():(0,v.jsx)(x.Z,{onClick:i,color:t,children:r}),(0,v.jsx)(x.Z,{onClick:()=>{g((e=>!e))},color:t,...s,"aria-label":"more functions",children:(0,v.jsx)(c.Z,{})})]}),(0,v.jsx)(j,{open:h,anchorEl:b.current,placement:"bottom-end",disablePortal:!1,children:(0,v.jsx)(m.Z,{children:(0,v.jsx)(u.d,{onClickAway:e=>{b.current&&b.current.contains(e.target)||g(!1)},children:(0,v.jsx)(p.Z,{onClick:e=>{e.target.closest(".MuiMenuItem-root")&&g(!1)},children:y})})})})]})}k.propTypes={size:s().oneOf(["small","medium","large"]),color:s().oneOf(["primary","secondary","inherit"]),menu:s().oneOfType([s().node,s().array]),children:s().node,variant:s().oneOf(["outlined","contained"]),onClick:s().func,menuButtonProps:s().object},k.defaultProps={size:"medium",color:"primary",menu:[],children:null,variant:"contained",onClick:b(),menuButtonProps:{}},k.Item=f.Z;const Z=(0,y.zo)(h.Z)(o||(o=(0,l.Z)(["\n > .MuiButtonBase-root:last-of-type {\n min-width: 2em;\n padding-left: 0;\n padding-right: 0;\n }\n"]))),j=(0,y.zo)(d.Z)(r||(r=(0,l.Z)(["\n z-index: ",";\n .MuiList-root {\n padding: 4px 0;\n }\n .MuiListItem-root {\n padding-top: 4px;\n padding-bottom: 4px;\n }\n"])),(e=>e.theme.zIndex.tooltip))},44919:(e,n,t)=>{var o=t(71600);n.Z=void 0;var r=o(t(56930)),l=t(96266);n.Z=(0,r.default)((0,l.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add")},27773:(e,n,t)=>{var o=t(71600);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=o(t(56930)),l=t(96266);n.default=(0,r.default)((0,l.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"}),"Delete")},83294:(e,n,t)=>{var o=t(71600);n.Z=void 0;var r=o(t(56930)),l=t(96266);n.Z=(0,r.default)((0,l.jsx)("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"MoreVert")},25506:(e,n,t)=>{t.d(n,{Z:()=>x});var o=t(31461),r=t(7896),l=t(5057),a=t(9978),i=t(82261),s=t(62773),c=t(42908),d=t(81937),m=t(38038),u=t(43070),p=t(96266);const f=["className","row"],h=(0,s.ZP)("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.root,t.row&&n.row]}})((e=>{let{ownerState:n}=e;return(0,r.Z)({display:"flex",flexDirection:"column",flexWrap:"wrap"},n.row&&{flexDirection:"row"})})),x=l.forwardRef((function(e,n){const t=(0,c.Z)({props:e,name:"MuiFormGroup"}),{className:l,row:s=!1}=t,x=(0,o.Z)(t,f),g=(0,m.Z)(),b=(0,u.Z)({props:t,muiFormControl:g,states:["error"]}),y=(0,r.Z)({},t,{row:s,error:b.error}),v=(e=>{const{classes:n,row:t,error:o}=e,r={root:["root",t&&"row",o&&"error"]};return(0,i.Z)(r,d.y,n)})(y);return(0,p.jsx)(h,(0,r.Z)({className:(0,a.Z)(v.root,l),ownerState:y,ref:n},x))}))},81937:(e,n,t)=>{t.d(n,{Z:()=>a,y:()=>l});var o=t(46849),r=t(96036);function l(e){return(0,r.ZP)("MuiFormGroup",e)}const a=(0,o.Z)("MuiFormGroup",["root","row","error"])},4601:(e,n,t)=>{t.d(n,{Z:()=>l});t(5057);var o=t(57471),r=t(96266);const l=(0,o.Z)((0,r.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft")},50999:(e,n,t)=>{t.d(n,{Z:()=>l});t(5057);var o=t(57471),r=t(96266);const l=(0,o.Z)((0,r.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight")},67654:(e,n,t)=>{var o=t(5057),r=t(77931);n.Z=function(e,n,t){if(!r.isBrowser)return[n,r.noop,r.noop];if(!e)throw new Error("useLocalStorage key may not be falsy");var l=t?t.raw?function(e){return e}:t.deserializer:JSON.parse,a=o.useRef((function(e){try{var o=t?t.raw?String:t.serializer:JSON.stringify,r=localStorage.getItem(e);return null!==r?l(r):(n&&localStorage.setItem(e,o(n)),n)}catch(i){return n}})),i=o.useState((function(){return a.current(e)})),s=i[0],c=i[1];o.useLayoutEffect((function(){return c(a.current(e))}),[e]);var d=o.useCallback((function(n){try{var o="function"===typeof n?n(s):n;if("undefined"===typeof o)return;var r=void 0;r=t?t.raw?"string"===typeof o?o:JSON.stringify(o):t.serializer?t.serializer(o):JSON.stringify(o):JSON.stringify(o),localStorage.setItem(e,r),c(l(r))}catch(i){}}),[e,c]),m=o.useCallback((function(){try{localStorage.removeItem(e),c(void 0)}catch(i){}}),[e,c]);return[s,d,m]}}}]);
|
|
1
|
+
"use strict";(self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[2960],{77327:(e,n,t)=>{t.r(n),t.d(n,{BlockletList:()=>ce,default:()=>se});var o,r,l=t(71171),a=t(5057),i=t(33518),s=t(75506),c=t.n(s),d=t(85493),m=t(15849),u=t(67654),p=t(11750),f=t(80576),h=t(51177),x=t(74490),g=t(39948),b=t(15715),y=t(75760),v=t(49384),k=t(44846),Z=t(35966),j=t(25710),w=t(88574),C=t(28726),S=t(68420),P=t(35432),_=t(86229),E=t(81010),L=t(87363),B=t(22228),R=t(32349),A=t(1722),T=t(38242),z=t(75793),N=t(52926),D=t(74094),F=t(78123),I=t(38898),M=t(24138),U=t(96266);function O(e){let{blocklet:n,skipAccessibilityCheck:t=!1,...o}=e;const{t:r}=(0,a.useContext)(S.RD),{urls:l,loading:i,recommendedUrl:s}=(0,M.BZ)(n);if(i&&!t)return(0,U.jsx)(k.Z,{size:12,...o});const c=t?l[0]:s;return c?(0,U.jsx)(V,{...o,children:(0,U.jsx)(W,{children:(0,U.jsx)(I.Z,{href:c,target:"_blank",className:"blocklet-interface",underline:"hover",children:r("common.open")})})}):r("blocklet.router.noAccessibleUrl")}const W=i.Z.div(o||(o=(0,l.Z)(["\n display: flex;\n margin: 4px 0;\n"]))),V=i.Z.div(r||(r=(0,l.Z)(["\n .blocklet-interface {\n display: flex;\n align-items: center;\n justify-content: flex-start;\n white-space: nowrap;\n\n img {\n margin-right: 4px;\n }\n }\n"])));O.defaultProps={skipAccessibilityCheck:!1};var J=t(44919),K=t(17682),q=t(61813),G=t(31853),H=t(13128),$=t(55372),Q=t(47020),X=t(22425),Y=t(73545);const ee={title:/^.{3,40}$/,description:/^.{3,160}$/};function ne(e){let{onCancel:n,onSuccess:t}=e;const{info:o}=(0,z.h6)(),{t:r}=(0,S.PE)(),{api:l}=(0,Y.T)(),[a,i]=(0,G.Z)({loading:!1,title:"",titleError:"",description:"",descriptionError:"",isConnectOpen:!1}),s=e=>{const{value:n,name:t}=e.target;i({["".concat(t,"Error")]:n&&!ee[t].test(n)?r("blocklet.".concat(t,"ValidationError")):""})},c=e=>{const{value:n,name:t}=e.target,o="".concat(t,"Error");a[o]?i({[t]:n,[o]:n&&!ee[t].test(n)?r("blocklet.".concat(t,"ValidationError")):""}):i({[t]:n})};return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(H.ZP,{title:r("blocklet.installFromCreate"),fullWidth:!0,maxWidth:"sm",onClose:()=>n(),showCloseButton:!0,open:!0,actions:(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(C.Z,{onClick:e=>{e.stopPropagation(),n()},color:"inherit",children:r("common.cancel")}),(0,U.jsxs)(C.Z,{onClick:e=>{e.stopPropagation(),i({loading:!0,isConnectOpen:!0})},color:"primary","data-cy":"install-blocklet-next-step",variant:"contained",disabled:a.loading||a.titleError||a.descriptionError||!a.title||!a.description,style:{marginLeft:8},children:[a.loading&&(0,U.jsx)(k.Z,{size:16}),r("common.create")]})]}),children:(0,U.jsx)($.Z,{component:"div",children:(0,U.jsxs)(p.Z,{component:"div",children:[(0,U.jsx)(Q.Z,{style:{marginBottom:24},label:"Blocklet ".concat(r("common.title")),autoComplete:"off",variant:"outlined",fullWidth:!0,autoFocus:!0,name:"title",value:a.title,onBlur:s,onChange:c,error:!!a.titleError,helperText:a.titleError,disabled:a.loading}),(0,U.jsx)(Q.Z,{label:"Blocklet ".concat(r("common.description")),autoComplete:"off",variant:"outlined",fullWidth:!0,name:"description",value:a.description,onBlur:s,onChange:c,error:!!a.descriptionError,helperText:a.descriptionError,disabled:a.loading})]})})}),(0,U.jsx)(X.Z,{popup:!0,open:a.isConnectOpen,forceConnected:!1,className:"launch-from-create-auth",action:"launch-free-blocklet-by-session",checkFn:l.get,checkTimeout:3e5,webWalletUrl:(0,D.yP)(o),onSuccess:e=>{i({loading:!1,isConnectOpen:!1}),t(e)},extraParams:{title:a.title,description:a.description},messages:{title:r("setup.keyPair.title"),scan:r("setup.keyPair.scan"),confirm:r("setup.keyPair.confirm"),success:r("setup.keyPair.success")},onClose:()=>{i({loading:!1,isConnectOpen:!1})}})]})}function te(e){let{onCreate:n}=e;const t=(0,d.useNavigate)(),{t:o}=(0,S.PE)(),[r,l]=(0,a.useState)(""),[i,s]=(0,a.useState)(""),[c,m]=(0,a.useState)(null),[u,p]=(0,a.useState)(null),f=()=>{m(null)};return(0,U.jsxs)(U.Fragment,{children:[(0,U.jsxs)(K.Z,{onClick:()=>t("/store"),menuButtonProps:{"data-cy":"open-install-menu"},menu:[(0,U.jsx)(K.Z.Item,{"data-cy":"open-install-form",onClick:()=>{m({onCancel:()=>{f(),m(null)},onSuccess:()=>{f()}})},children:o("blocklet.installFromUrl")},"1"),(0,U.jsx)(K.Z.Item,{"data-cy":"open-create-form",onClick:()=>{p({onCancel:()=>{p(null)},onSuccess:function(){p(null),n(...arguments)}})},children:o("blocklet.installFromCreate")},"2"),(0,U.jsx)(K.Z.Item,{"data-cy":"open-install-from-spaces",onClick:()=>{t("/blocklets/restore")},children:o("blocklet.restoreFromSpaces.title")},"3"),(0,U.jsx)(K.Z.Item,{"data-cy":"open-install-from-spaces",onClick:()=>(()=>{const e=new URL("http://localhost");e.searchParams.set("restoreFrom","server"),e.searchParams.set("serverUrl",window.location.href),t("/blocklets/restore".concat(e.search))})(),children:o("blocklet.installFromDiskBackup")},"3")].filter(Boolean),children:[(0,U.jsx)(J.Z,{}),o("blocklet.installFromMarket")]}),!!r&&(0,U.jsx)(_.Z,{variant:"error",message:r,onClose:()=>l("")}),!!i&&(0,U.jsx)(_.Z,{variant:"success",duration:3e3,message:i,onClose:()=>s("")}),c&&(0,U.jsx)(q.Z,{onCancel:c.onCancel,onSuccess:c.onSuccess}),u&&(0,U.jsx)(ne,{onCancel:u.onCancel,onSuccess:u.onSuccess})]})}ne.defaultProps={},te.defaultProps={onCreate:()=>{}};var oe,re,le=t(7199);const ae="internal",ie="external";function se(){return(0,U.jsx)(L.g,{children:(0,U.jsx)(ce,{})})}function ce(){const e=(0,d.useNavigate)(),n=(0,z.h6)(),[t,o]=(0,m.useSearchParams)(),{data:r,externalData:l,error:i,refresh:s,loading:I}=(0,N.RJ)(),{deletingBlocklets:M,addDeletingDid:W,removeDeletingDid:V,matchDeletingDid:J}=(0,L.K)(),{t:K,locale:q}=(0,S.PE)(),[G,H]=(0,a.useState)(t.get("searchText")),[$]=(0,u.Z)("show-external-blocklet-actions",!1),Q=[{id:ae,name:K("blocklet.internal")},{id:ie,name:K("blocklet.external")}],[X,Y]=(0,u.Z)("blocklet-type-filter",ae),ee=X===ae?r:l,ne=(null===n||void 0===n?void 0:n.info.mode)!==P.NODE_MODES.SERVERLESS;J(ee.map((e=>e.meta.did)));const oe=e=>{let{action:n,blocklet:t}=e;"remove"===n&&W(t.meta.did)},re=e=>{if(e.error)return _.Z.error(e.error.message),void("remove"===e.action&&V(e.blocklet.meta.did));"remove"===e.action&&n.refresh({silent:!0})},se=(0,b.Z)((e=>e.breakpoints.up("md")));let ce=null;const ue=ee||[];if(i)ce=(0,U.jsx)(w.Z,{type:"error",variant:"icon",children:(0,U.jsxs)("div",{children:[(0,D.Z)(i),(0,U.jsx)(C.Z,{onClick:()=>s({silent:!1}),children:(0,U.jsx)("span",{style:{color:"#44cdc6",textDecoration:"underline"},children:K("common.retry")})})]})});else if(ue.length>0||I){const e=["installedAt","startedAt","stoppedAt","createdAt"],n=e=>{if("starting"===e.status)return new Date("2199").getTime();if("running"===e.status){if(e.appRuntimeInfo)return e.appRuntimeInfo.startAt;if(e.startedAt)return e.startedAt.getTime()}return 0};let t=ue.map((n=>(e.forEach((e=>{if(n[e]){const t=new Date(n[e]);n[e]=t}})),n))).sort(((e,t)=>{const o=n(e);return n(t)-o}));G&&(t=t.filter((e=>{var n;const t=(0,T.getDisplayName)(e)||"",o=(null===(n=e.site)||void 0===n?void 0:n.domainAliases)||[],r=G.trim().toLocaleLowerCase();return e.appDid===G||e.appPid===G||t.toLocaleLowerCase().includes(r)||o.some((e=>{var n;return null===(n=e.value)||void 0===n?void 0:n.toLocaleLowerCase().includes(r)}))})));const r=(0,y.$)("blocklets-list");r.searchText&&!G&&H(r.searchText);const l=[{label:K("common.name"),name:"meta.title",options:{customBodyRenderLite(e){const n=t[e],o=(0,T.getAppMissingConfigs)(n).length>0?"components":"overview";return(0,U.jsx)(m.Link,{to:"/blocklets/".concat(n.meta.did,"/").concat(o),className:"blocklet-name-wrapper",children:(0,U.jsxs)(p.Z,{component:"strong",variant:"body1",className:"blocklet-name",children:[(0,U.jsx)(A.Z,{blocklet:n,style:{marginRight:8}}),(0,U.jsxs)(g.Z,{children:[(0,U.jsx)(g.Z,{children:(0,T.getDisplayName)(n)}),(0,U.jsxs)(g.Z,{children:[(0,U.jsx)(R.Z,{mode:n.mode||""}),!c()(n.controller)&&(0,U.jsx)(B.Z,{type:"primary",children:K("blocklet.external")})]})]})]})},n.meta.did)}}},X===ae?{label:K("common.visit"),name:"runtimeInfo.pid",align:"left",options:{sort:!1,customBodyRenderLite(e){const n=t[e];return(0,U.jsx)(O,{blocklet:n},n.meta.did)}}}:null,{label:K("common.uptime"),name:"runtimeInfo.uptime",options:{customBodyRenderLite(e){const n=t[e];return"running"===n.status&&n.appRuntimeInfo?(0,U.jsx)(v.Z,{value:n.appRuntimeInfo.startAt,locale:q},n.meta.did):""}}},{label:K("common.installedAt"),name:"installedAt",options:{customBodyRenderLite(e){const n=t[e];return n.installedAt?(0,U.jsx)(v.Z,{value:n.installedAt.getTime(),locale:q},n.meta.did):n.createdAt?(0,U.jsx)(v.Z,{value:n.createdAt.getTime(),locale:q},n.meta.did):""}}},{label:K("common.updatedAt"),name:"updatedAt",options:{customBodyRenderLite(e){const n=t[e];return(0,U.jsx)(v.Z,{value:n.updatedAt,locale:q},n.meta.did)}}},{label:K("common.status"),name:"status",width:120,align:"center",options:{customBodyRenderLite(e){const n=t[e];return(0,U.jsx)(E.Z,{"data-cy":"blocklet-status","status-blocklet-did":n.meta.did,status:M.includes(n.meta.did)?"deleting":n.status,source:n.source,progress:n.progress},n.meta.did)}}},X===ae||$?{label:K("common.actions"),name:"",width:90,options:{sort:!1,customBodyRenderLite(e){const n=t[e];return(0,U.jsx)(F.Z,{blocklet:n,variant:"menu",onStart:oe,onComplete:re},n.meta.did)}}}:null].filter(Boolean),a={};se||(a.TableBody=function(e){if(I)return(0,U.jsx)(Z.Z,{relative:"parent",children:(0,U.jsx)(k.Z,{})});const{page:n,rowsPerPage:o}=e,r=t.slice(n*o,(n+1)*o);return r.length?(0,U.jsx)("div",{children:r.map((e=>{const n=(0,T.getAppMissingConfigs)(e).length>0?"components":"overview";return(0,U.jsxs)(g.Z,{className:"blocklet-item--mobile",display:"flex",justifyContent:"space-between",alignItems:"center",children:[(0,U.jsx)(A.Z,{className:"blocklet__avatar",blocklet:e,size:se?40:60}),(0,U.jsxs)(m.Link,{className:"blocklet__content",to:"/blocklets/".concat(e.meta.did,"/").concat(n),children:[(0,U.jsxs)(g.Z,{display:"flex",justifyContent:"space-between",alignItems:"flex-start",children:[(0,U.jsx)(p.Z,{component:"strong",variant:"body1",className:"blocklet__name",children:(0,T.getDisplayName)(e,!0)}),(0,U.jsx)(F.Z,{blocklet:e,variant:"menu",onStart:oe,onComplete:re},e.meta.did)]}),(0,U.jsxs)(p.Z,{component:"small",className:"blocklet__addons",children:[(0,U.jsx)(g.Z,{display:"flex",alignItems:"center",children:(0,U.jsx)(O,{blocklet:e,style:{marginLeft:16,fontSize:14}})}),(0,U.jsx)(E.Z,{"status-blocklet-did":e.meta.did,status:e.status,source:e.source,progress:e.progress},e.meta.did)]})]})]})}))}):(0,U.jsx)(j.Z,{children:K("common.empty")})}),ce=(0,U.jsx)(de,{children:(0,U.jsx)(y.Z,{loading:I,className:"blocklet-list",title:(0,U.jsx)(g.Z,{display:"flex",alignItems:"center",children:K("blocklet.index.tableTitle")}),locale:q,data:t,columns:l,durable:"blocklets-list",options:{download:!1,filter:!1,print:!1,searchPlaceholder:K("common.search"),searchAlwaysOpen:!1,sortOrder:{name:"uptime",direction:"desc"},searchDebounceTime:300,onSearchChange:e=>{H(e),o({searchText:null!==e&&void 0!==e?e:""})},customSearch:()=>!0,...r,searchText:G},components:a})})}else 0===ue.length&&(ce=(0,U.jsx)(w.Z,{type:"warning",variant:"icon",children:K("blocklet.index.noBlocklet")}));const pe=l&&l.length>0;return(0,U.jsxs)(me,{children:[(0,U.jsxs)(p.Z,{component:"h2",variant:"h4",className:"page-header",color:"textPrimary",children:[(0,U.jsxs)(g.Z,{display:"flex",alignItems:"center",children:[K("common.blocklets"),(pe||X===ie)&&(0,U.jsx)(f.Z,{sx:{ml:1},children:(0,U.jsx)(h.Z,{value:X,onChange:e=>Y(e.target.value),size:"small",children:Q.map((e=>(0,U.jsx)(x.Z,{value:e.id,children:K(e.name)},e.id)))})})]}),(0,U.jsx)(le.Z,{permission:"mutate_blocklets",children:ne&&(0,U.jsx)(te,{onCreate:n=>{e("/blocklets/".concat(n.appDid,"/components"))}})})]}),ce]})}const de=i.Z.div(oe||(oe=(0,l.Z)(["\n .blocklet-item--mobile {\n padding: 16px 0;\n }\n"]))),me=i.Z.main(re||(re=(0,l.Z)(["\n .page-header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n\n .blocklet-list {\n .blocklet-item--mobile {\n .blocklet__avatar {\n margin-right: -60px;\n }\n .blocklet__content {\n padding-left: 68px;\n flex: 1;\n display: flex;\n flex-direction: column;\n z-index: 1;\n }\n .blocklet__name {\n font-weight: bold;\n text-decoration: none;\n white-space: normal;\n word-break: break-all;\n }\n .blocklet__addons {\n display: flex;\n justify-content: space-between;\n margin-top: 5px;\n margin-bottom: -10px;\n }\n }\n .blocklet-name-wrapper {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: flex-start;\n }\n .blocklet-name {\n font-weight: bold;\n text-decoration: underline;\n display: flex;\n align-items: center;\n white-space: normal;\n word-break: break-all;\n }\n\n .blocklet-interface {\n display: flex;\n align-items: center;\n justify-content: flex-start;\n\n img {\n margin-right: 4px;\n }\n }\n\n .MuiToolbar-root {\n display: flex;\n }\n }\n"])))},61813:(e,n,t)=>{t.d(n,{Z:()=>S});var o=t(5057),r=t(55898),l=t.n(r),a=t(13128),i=t(44846),s=t(55372),c=t(11750),d=t(47020),m=t(20870),u=t(31089),p=t(71767),f=t(64886),h=t(22425),x=t(68420),g=t(28726),b=t(88574),y=t(38242),v=t(58238),k=t(73545),Z=t(14491),j=t(4651),w=t(17450),C=t(96266);function S(e){let{defaultUrl:n,onCancel:t,onSuccess:r,onError:l,mode:S,handleText:P}=e;const{api:_}=(0,v.h6)(),{api:E}=(0,k.T)(),[L,B]=(0,o.useState)(!1),[R,A]=(0,o.useState)(""),{t:T}=(0,x.PE)(),z={dist:{}},[N,D]=(0,o.useState)(n),[F,I]=(0,o.useState)(n?1:0),[M,U]=(0,o.useState)(z),[O,W]=(0,o.useState)(!1),[V,J]=(0,o.useState)({}),K="component"===S,q=!!K||!n,G=async()=>{U(z),A(null),B(!0);try{const e=decodeURIComponent(N.trim());try{new URL(e)}catch{throw new Error("Invalid URL")}const{meta:n,inStore:t,registryUrl:o}=await _.getBlockletMetaFromUrl({input:{url:e}});U(n),J({inStore:t,registryUrl:o,inputUrl:N.trim()})}catch(e){console.error(e);const n="Blocklet Install failed: ".concat((0,Z.Z)(e));A(n),l(e)}finally{B(!1)}};(0,o.useEffect)((()=>{n&&G()}),[n]);const H=[{name:T("common.name"),value:(0,y.getDisplayName)({meta:M},!0)},{name:T("common.version"),value:M.version},{name:T("common.did"),value:(0,C.jsx)(w.Z,{did:M.did})},{name:T("common.author"),value:(0,Z.rq)(M.author)},{name:T("blocklet.dist.downloadLink"),value:M.dist.tarball}],$=[{label:T("blocklet.fromUrl.step0"),body:(0,C.jsx)(c.Z,{component:"div",children:(0,C.jsx)(d.Z,{label:T("blocklet.fromUrl.label"),autoComplete:"off",variant:"outlined",name:"url","data-cy":"blocklet-url-input",fullWidth:!0,autoFocus:!0,style:{marginBottom:32},margin:"dense",helperText:T("blocklet.fromUrl.description"),value:N,onChange:e=>{A(null),D(e.target.value)},disabled:L,onKeyPress:e=>{"Enter"===e.key&&(e.preventDefault(),G(),I(1))}})}),cancel:T("common.cancel"),confirm:T("common.next"),onCancel:t,onConfirm:()=>{G(),I(1)}},{label:T("blocklet.fromUrl.step1"),body:L?(0,C.jsx)("div",{style:{height:200,width:"100%",display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column"},children:(0,C.jsx)(i.Z,{})}):M.did?(0,C.jsx)("div",{style:{paddingLeft:"10%"},children:H.map((e=>e.name===T("common.did")?(0,C.jsx)(f.Z,{valueComponent:"div",nameWidth:120,name:e.name,nameFormatter:()=>T("common.did"),children:e.value},e.name):(0,C.jsx)(f.Z,{valueComponent:"div",nameWidth:120,name:e.name,children:e.value},e.name)))}):null,cancel:T(q?"common.pre":"common.cancel"),confirm:(null===P||void 0===P?void 0:P.confirm)||T("blocklet.fromUrl.confirm"),onCancel:()=>{q?I((e=>e-1)):t()},onConfirm:()=>{(()=>{if(K)return r({meta:M,...V}),void t();B(!0),W(!0)})()}}],Q=$[F];return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsxs)(a.ZP,{title:(null===P||void 0===P?void 0:P.title)||T("blocklet.fromUrl.title"),fullWidth:!0,maxWidth:"md",onClose:()=>Q.onCancel(),showCloseButton:0===F,disableEscapeKeyDown:!0,open:!0,actions:(0,C.jsxs)(C.Fragment,{children:[Q.cancel&&(0,C.jsx)(g.Z,{onClick:e=>{e.stopPropagation(),A(null),Q.onCancel()},color:"inherit",children:Q.cancel||T("common.cancel")}),(0,C.jsxs)(g.Z,{onClick:e=>{e.stopPropagation(),Q.onConfirm()},color:"primary","data-cy":"install-blocklet-next-step",disabled:L||!N||R,variant:"contained",autoFocus:!0,style:{marginLeft:8},children:[L&&0===F&&(0,C.jsx)(i.Z,{size:16}),Q.confirm]})]}),children:[q&&(0,C.jsx)(m.Z,{alternativeLabel:!0,activeStep:F,children:$.map((e=>{let{label:n}=e;return(0,C.jsx)(u.Z,{children:(0,C.jsx)(p.Z,{children:n})},n)}))}),(0,C.jsx)(s.Z,{component:"div",style:{marginTop:24},children:Q.body}),!!R&&(0,C.jsx)(b.Z,{type:"error",style:{width:"100%",marginTop:8},children:R})]}),M&&O&&(0,C.jsx)(h.Z,{popup:!0,open:!0,forceConnected:!1,className:"launch-from-url-auth",action:"launch-free-blocklet-by-session",checkFn:E.get,checkTimeout:3e5,onSuccess:()=>{B(!1),W(!1),r({meta:M,...V}),t()},extraParams:{title:M.title,wt:(0,j.iK)(M),blockletMetaUrl:decodeURIComponent(N.trim())},messages:{title:T("setup.keyPair.title"),scan:T("setup.keyPair.scan"),confirm:T("setup.keyPair.confirm"),success:T("setup.keyPair.success")},onClose:()=>{B(!1),W(!1)}})]})}S.propTypes={defaultUrl:l().string,onCancel:l().func.isRequired,onSuccess:l().func.isRequired,onError:l().func,mode:l().oneOf(["install","component"]),handleText:l().object},S.defaultProps={onError:()=>{},defaultUrl:"",mode:"install",handleText:{}}},32349:(e,n,t)=>{t.d(n,{Z:()=>i});var o=t(55898),r=t.n(o),l=t(22228),a=t(96266);function i(e){let{mode:n,...t}=e;return"development"===n?(0,a.jsx)(l.Z,{type:"primary",...t,children:"DEV"}):null}i.propTypes={mode:r().string.isRequired}},64886:(e,n,t)=>{t.d(n,{Z:()=>x});var o,r=t(71171),l=t(55898),a=t.n(l),i=t(51540),s=t.n(i),c=t(26538),d=t.n(c),m=t(11750),u=t(47685),p=t(96266);function f(e){let{name:n,nameFormatter:t,layout:o,children:r,valueComponent:l,nameWidth:a,...i}=e;return(0,p.jsxs)(h,{layout:o,width:a,...i,children:[(0,p.jsx)(m.Z,{color:"textSecondary",className:"info-row__name",children:t(n)}),r&&(0,p.jsx)(m.Z,{color:"textPrimary",component:l,className:"info-row__value",children:r})]})}f.propTypes={name:a().any.isRequired,layout:a().oneOf(["horizontal","vertical"]),children:a().any,nameFormatter:a().func,valueComponent:a().string,nameWidth:a().number},f.defaultProps={children:null,nameWidth:90,nameFormatter:e=>{const n=e.split(" ").map((e=>d()(s()(e)))).join(" ");return"string"===typeof e?n:e},valueComponent:"div",layout:"horizontal"};const h=(0,u.zo)("div")(o||(o=(0,r.Z)(["\n display: flex;\n flex-direction: ",";\n justify-content: flex-start;\n align-items: ",";\n margin-bottom: 16px;\n\n .info-row__name {\n width: ","px;\n margin-right: ",";\n margin-bottom: ",";\n text-transform: capitalize;\n }\n\n .info-row__value {\n flex: 1;\n overflow: auto;\n word-wrap: break-word;\n font-weight: 500;\n }\n\n @media (max-width: ","px) {\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n .info-row__name {\n font-weight: bold;\n }\n\n .info-row__value {\n width: 100%;\n font-size: 12px;\n margin-top: 8px;\n }\n }\n"])),(e=>"vertical"===e.layout?"column":"row"),(e=>"vertical"===e.layout?"flex-start":"center"),(e=>e.width),(e=>"vertical"===e.layout?"0":"8px"),(e=>"vertical"===e.layout?"8px":"0"),(e=>e.theme.breakpoints.values.md)),x=f},17682:(e,n,t)=>{t.d(n,{Z:()=>k});var o,r,l=t(71171),a=t(5057),i=t(55898),s=t.n(i),c=t(76720),d=t(49020),m=t(25228),u=t(72113),p=t(1733),f=t(74490),h=t(80633),x=t(56556),g=t(92706),b=t.n(g),y=t(47685),v=t(96266);function k(e){const{size:n,color:t,menu:o,children:r,variant:l,onClick:i,menuButtonProps:s,...d}=e,[h,g]=(0,a.useState)(!1),b=(0,a.useRef)(null),y=Array.isArray(o)?o.map(((e,n)=>(0,a.isValidElement)(e)?e:(0,a.createElement)(f.Z,{...e,key:n}))):o;return(0,v.jsxs)(v.Fragment,{children:[(0,v.jsxs)(Z,{variant:l,size:n,color:t,ref:b,...d,children:["function"===typeof r?r():(0,v.jsx)(x.Z,{onClick:i,color:t,children:r}),(0,v.jsx)(x.Z,{onClick:()=>{g((e=>!e))},color:t,...s,"aria-label":"more functions",children:(0,v.jsx)(c.Z,{})})]}),(0,v.jsx)(j,{open:h,anchorEl:b.current,placement:"bottom-end",disablePortal:!1,children:(0,v.jsx)(m.Z,{children:(0,v.jsx)(u.d,{onClickAway:e=>{b.current&&b.current.contains(e.target)||g(!1)},children:(0,v.jsx)(p.Z,{onClick:e=>{e.target.closest(".MuiMenuItem-root")&&g(!1)},children:y})})})})]})}k.propTypes={size:s().oneOf(["small","medium","large"]),color:s().oneOf(["primary","secondary","inherit"]),menu:s().oneOfType([s().node,s().array]),children:s().node,variant:s().oneOf(["outlined","contained"]),onClick:s().func,menuButtonProps:s().object},k.defaultProps={size:"medium",color:"primary",menu:[],children:null,variant:"contained",onClick:b(),menuButtonProps:{}},k.Item=f.Z;const Z=(0,y.zo)(h.Z)(o||(o=(0,l.Z)(["\n > .MuiButtonBase-root:last-of-type {\n min-width: 2em;\n padding-left: 0;\n padding-right: 0;\n }\n"]))),j=(0,y.zo)(d.Z)(r||(r=(0,l.Z)(["\n z-index: ",";\n .MuiList-root {\n padding: 4px 0;\n }\n .MuiListItem-root {\n padding-top: 4px;\n padding-bottom: 4px;\n }\n"])),(e=>e.theme.zIndex.tooltip))},44919:(e,n,t)=>{var o=t(71600);n.Z=void 0;var r=o(t(56930)),l=t(96266);n.Z=(0,r.default)((0,l.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add")},27773:(e,n,t)=>{var o=t(71600);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=o(t(56930)),l=t(96266);n.default=(0,r.default)((0,l.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"}),"Delete")},83294:(e,n,t)=>{var o=t(71600);n.Z=void 0;var r=o(t(56930)),l=t(96266);n.Z=(0,r.default)((0,l.jsx)("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"MoreVert")},25506:(e,n,t)=>{t.d(n,{Z:()=>x});var o=t(29218),r=t(7896),l=t(5057),a=t(9978),i=t(82261),s=t(62773),c=t(42908),d=t(81937),m=t(38038),u=t(43070),p=t(96266);const f=["className","row"],h=(0,s.ZP)("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.root,t.row&&n.row]}})((e=>{let{ownerState:n}=e;return(0,r.Z)({display:"flex",flexDirection:"column",flexWrap:"wrap"},n.row&&{flexDirection:"row"})})),x=l.forwardRef((function(e,n){const t=(0,c.Z)({props:e,name:"MuiFormGroup"}),{className:l,row:s=!1}=t,x=(0,o.Z)(t,f),g=(0,m.Z)(),b=(0,u.Z)({props:t,muiFormControl:g,states:["error"]}),y=(0,r.Z)({},t,{row:s,error:b.error}),v=(e=>{const{classes:n,row:t,error:o}=e,r={root:["root",t&&"row",o&&"error"]};return(0,i.Z)(r,d.y,n)})(y);return(0,p.jsx)(h,(0,r.Z)({className:(0,a.Z)(v.root,l),ownerState:y,ref:n},x))}))},81937:(e,n,t)=>{t.d(n,{Z:()=>a,y:()=>l});var o=t(46849),r=t(96036);function l(e){return(0,r.ZP)("MuiFormGroup",e)}const a=(0,o.Z)("MuiFormGroup",["root","row","error"])},4601:(e,n,t)=>{t.d(n,{Z:()=>l});t(5057);var o=t(57471),r=t(96266);const l=(0,o.Z)((0,r.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft")},50999:(e,n,t)=>{t.d(n,{Z:()=>l});t(5057);var o=t(57471),r=t(96266);const l=(0,o.Z)((0,r.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight")},67654:(e,n,t)=>{var o=t(5057),r=t(77931);n.Z=function(e,n,t){if(!r.isBrowser)return[n,r.noop,r.noop];if(!e)throw new Error("useLocalStorage key may not be falsy");var l=t?t.raw?function(e){return e}:t.deserializer:JSON.parse,a=o.useRef((function(e){try{var o=t?t.raw?String:t.serializer:JSON.stringify,r=localStorage.getItem(e);return null!==r?l(r):(n&&localStorage.setItem(e,o(n)),n)}catch(i){return n}})),i=o.useState((function(){return a.current(e)})),s=i[0],c=i[1];o.useLayoutEffect((function(){return c(a.current(e))}),[e]);var d=o.useCallback((function(n){try{var o="function"===typeof n?n(s):n;if("undefined"===typeof o)return;var r=void 0;r=t?t.raw?"string"===typeof o?o:JSON.stringify(o):t.serializer?t.serializer(o):JSON.stringify(o):JSON.stringify(o),localStorage.setItem(e,r),c(l(r))}catch(i){}}),[e,c]),m=o.useCallback((function(){try{localStorage.removeItem(e),c(void 0)}catch(i){}}),[e,c]);return[s,d,m]}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[3135],{40265:(e,n,t)=>{t.d(n,{Z:()=>y});var r=t(71171),o=t(5057),i=t(33518),s=t(55898),a=t.n(s),l=t(44846),c=t(28726),p=t(13128);function u(e){let{disabled:n,children:t,onConfirm:r}=e;return(0,o.useEffect)((()=>{if(n)return()=>{};const e=e=>{"Enter"!==e.code||!0!==e.metaKey&&!0!==e.ctrlKey||(e.preventDefault(),e.stopPropagation(),r())};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[n,r]),t}u.propTypes={disabled:a().bool,children:a().any.isRequired,onConfirm:a().func.isRequired},u.defaultProps={disabled:!1};var d,h=t(96266);function f(e){let{onContinue:n,nextDisabled:t,launching:r,texts:i,description:s}=e;const[a,d]=(0,o.useState)(!1);return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(m,{children:(0,h.jsxs)(u,{disabled:t,onConfirm:n,children:[(0,h.jsx)("div",{className:"eula-trigger",onClick:()=>d((e=>!e)),children:i.listenName}),(0,h.jsx)(c.Z,{disabled:t,color:"primary",variant:"contained",className:"next-button",onClick:n,children:r?(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(l.Z,{size:14}),i.launchingText]}):i.buttonNext})]})}),(0,h.jsx)(p.ZP,{open:a,title:i.listenName,onClose:()=>d(!1),children:s})]})}f.propTypes={onContinue:a().func.isRequired,nextDisabled:a().bool,launching:a().bool,description:a().any,texts:a().object},f.defaultProps={nextDisabled:!1,launching:!1,description:"",texts:{listenName:"",launchingText:"",buttonNext:""}};const m=i.Z.div(d||(d=(0,r.Z)(["\n margin: 0 auto;\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n @media (max-width: ","px) {\n flex-direction: column;\n }\n\n .eula-trigger {\n cursor: pointer;\n text-decoration: underline;\n "," {\n padding-right: 24px;\n }\n "," {\n padding: 16px;\n }\n font-size: 14px;\n white-space: nowrap;\n &:hover {\n color: ",";\n }\n }\n\n .next-button {\n min-width: 200px;\n }\n"])),(e=>e.theme.breakpoints.values.sm),(e=>e.theme.breakpoints.up("md")),(e=>e.theme.breakpoints.down("md")),(e=>e.theme.palette.primary.main)),y=f},44566:(e,n,t)=>{t.d(n,{Z:()=>Q});var r=t(71171),o=t(5057),i=t(55898),s=t.n(i),a=t(38242),l=t(43681),c=t.n(l),p=t(33518),u=t(37003),d=t(43382),h=t(29065),f=t(80443),m=t(18580),y=t(33313),v=t(67474);const x={}.hasOwnProperty;function b(e,n,t){if("function"!==typeof e)throw new TypeError("h is not a function");const r=function(e){const n=e("div",{});return Boolean(n&&("_owner"in n||"_store"in n)&&(void 0===n.key||null===n.key))}(e),o=function(e){const n=e("div",{});return Boolean(n&&n.context&&n.context._isVue)}(e),i=function(e){const n=e("div",{});return"VirtualNode"===n.type}(e);let s,a;if("string"===typeof t||"boolean"===typeof t?(s=t,t={}):(t||(t={}),s=t.prefix),n&&"root"===n.type){const e=n.children[0];a=1===n.children.length&&"element"===e.type?e:{type:"element",tagName:"div",properties:{},children:n.children}}else{if(!n||"element"!==n.type)throw new Error("Expected root or element, not `"+(n&&n.type||n)+"`");a=n}return g(e,a,{schema:"svg"===t.space?u.YP:u.dy,prefix:void 0===s||null===s?r||o||i?"h-":void 0:"string"===typeof s?s:s?"h-":void 0,key:0,react:r,vue:o,vdom:i,hyperscript:j(e)})}function g(e,n,t){const r=t.schema;let o=r,i=n.tagName;const s={},a=[];let l,c=-1;for(l in"html"===r.space&&"svg"===i.toLowerCase()&&(o=u.YP,t.schema=o),n.properties)n.properties&&x.call(n.properties,l)&&w(s,l,n.properties[l],t,i);if(t.vdom&&("html"===o.space?i=i.toUpperCase():o.space&&(s.namespace=v.t[o.space])),t.prefix&&(t.key++,s.key=t.prefix+t.key),n.children)for(;++c<n.children.length;){const r=n.children[c];"element"===r.type?a.push(g(e,r,t)):"text"===r.type&&a.push(r.value)}return t.schema=r,a.length>0?e.call(n,i,s,a):e.call(n,i,s)}function w(e,n,t,r,o){const i=(0,d.s)(r.schema,n);let s;void 0===t||null===t||"number"===typeof t&&Number.isNaN(t)||!1===t&&(r.vue||r.vdom||r.hyperscript)||!t&&i.boolean&&(r.vue||r.vdom||r.hyperscript)||(Array.isArray(t)&&(t=i.commaSeparated?(0,m.P)(t):(0,f.P)(t)),i.boolean&&r.hyperscript&&(t=""),"style"===i.property&&"string"===typeof t&&(r.react||r.vue||r.vdom)&&(t=function(e,n){const t={};try{(0,y.Z)(e,((e,n)=>{"-ms-"===e.slice(0,4)&&(e="ms-"+e.slice(4)),t[e.replace(/-([a-z])/g,((e,n)=>n.toUpperCase()))]=n}))}catch(r){const e=r;throw e.message=n+"[style]"+e.message.slice(9),e}return t}(t,o)),r.vue?"style"!==i.property&&(s="attrs"):i.mustUseProperty||(r.vdom?"style"!==i.property&&(s="attributes"):r.hyperscript&&(s="attrs")),s?e[s]=Object.assign(e[s]||{},{[i.attribute]:t}):i.space&&r.react?e[h.D[i.property]||i.property]=t:e[i.attribute]=t)}function j(e){return"context"in e&&"cleanup"in e}var k=t(79630),N=t(38482);const Z={}.hasOwnProperty,C=new Set(["table","thead","tbody","tfoot","tr"]);var E=t(82266),P=t(30067),T=t(28627),q=t(7896),D=t(31461),O=t(9978),S=t(82261),z=t(42908),I=t(62773),_=t(46849),R=t(96036);function A(e){return(0,R.ZP)("MuiTableContainer",e)}(0,_.Z)("MuiTableContainer",["root"]);var B=t(96266);const F=["className","component"],M=(0,I.ZP)("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,n)=>n.root})({width:"100%",overflowX:"auto"}),U=o.forwardRef((function(e,n){const t=(0,z.Z)({props:e,name:"MuiTableContainer"}),{className:r,component:o="div"}=t,i=(0,D.Z)(t,F),s=(0,q.Z)({},t,{component:o}),a=(e=>{const{classes:n}=e;return(0,S.Z)({root:["root"]},A,n)})(s);return(0,B.jsx)(M,(0,q.Z)({ref:n,as:o,className:(0,O.Z)(a.root,r),ownerState:s},i))}));var K,L=t(83366);const X=new function(e){if(!e||"function"!==typeof e.createElement)throw new TypeError("createElement is not a function");const n=e.createElement,t=!1!==e.fixTableCellAlign;function r(t,r,o){if(o&&C.has(t)&&(o=o.filter((e=>!(0,N.Q)(e)))),e.components&&Z.call(e.components,t)){const i=e.components[t];return e.passNode&&"function"===typeof i&&(r=Object.assign({node:this},r)),n(i,r,o)}return n(t,r,o)}Object.assign(this,{Compiler:function(o){let i=b(r,t?k(o):o,e.prefix);if("root"===o.type)return i=i&&"object"===typeof i&&"type"in i&&"props"in i&&"div"===i.type&&(1!==o.children.length||"element"!==o.children[0].type)?i.props.children:[i],n(e.Fragment||"div",{},i);return i}})}({createElement:o.createElement}).Compiler,Y={zh:{appinfo:{name:"\u5e94\u7528\u540d",version:"\u7248\u672c\u53f7",author:"\u5f00\u53d1\u8005",description:"\u63cf\u8ff0",community:"\u793e\u533a\u5730\u5740",documentation:"\u6587\u6863\u624b\u518c",support:"\u670d\u52a1\u652f\u6301",overview:"\u6982\u8ff0",requirements:"\u8282\u70b9\u7248\u672c\u8981\u6c42"}},en:{appinfo:{name:"Name",version:"Version",author:"Author",description:"Description",community:"Community",documentation:"Documentation",support:"Support",overview:"Overview",requirements:"Server requirements"}}};function V(e){let{blockletMeta:n,locale:t,handleDescEle:r}=e;const{data:o}=n,i=(0,a.getDisplayName)({meta:o}),s=o&&o.htmlAst?X(o.htmlAst):"",l=!(p=o).payment||(p.payment.price||[]).map((e=>e.value||0)).every((e=>0===e));var p;const u=[{key:c()(Y[t],"appinfo.name"),value:(0,a.getDisplayName)({meta:o})},{key:c()(Y[t],"appinfo.version"),value:o.version},{key:c()(Y[t],"appinfo.author"),value:c()(o,"author.name")},{type:"description",key:c()(Y[t],"appinfo.description"),value:o.description}];let d;return o.requirements&&u.push({key:c()(Y[t],"appinfo.requirements"),value:o.requirements.server}),o.community&&u.push({key:c()(Y[t],"appinfo.community"),value:(0,B.jsx)("a",{href:o.community,target:"_blank",rel:"noreferrer",children:o.community})}),o.documentation&&u.push({key:c()(Y[t],"appinfo.documentation"),value:(0,B.jsx)("a",{href:o.documentation,target:"_blank",rel:"noreferrer",children:o.documentation})}),o.support&&u.push({key:c()(Y[t],"appinfo.support"),value:(0,B.jsx)("a",{href:"mailto:".concat(o.support),target:"_blank",rel:"noreferrer",children:o.support})}),s&&u.push({key:c()(Y[t],"appinfo.overview"),value:""}),d="zh"===t?(0,B.jsxs)(B.Fragment,{children:[l?(0,B.jsxs)("p",{children:["\u60a8\u53ef\u4ee5\u514d\u8d39\u4f7f\u7528 ",(0,B.jsx)("b",{children:i}),"\uff1b"]}):(0,B.jsxs)("p",{children:["\u60a8\u9700\u8981\u8d2d\u4e70\u624d\u80fd\u4f7f\u7528 ",(0,B.jsx)("b",{children:i}),"\uff1b"]}),(0,B.jsx)("p",{children:"\u5728\u5e94\u7528\u542f\u52a8\u524d\uff0c\u9700\u8981\u9009\u62e9\u60a8\u7684\u8282\u70b9\uff1b"}),(0,B.jsx)("p",{children:"\u5982\u679c\u60a8\u6ca1\u6709\u8282\u70b9\uff0c\u6211\u4eec\u4f1a\u5f15\u5bfc\u60a8\u521b\u5efa\u65b0\u7684\u8282\u70b9\uff1b"}),(0,B.jsx)("p",{children:"\u4e0b\u9762\u4e3a\u8be5\u5e94\u7528\u7684\u4fe1\u606f\uff1a"})]}):(0,B.jsxs)(B.Fragment,{children:[l?(0,B.jsxs)("p",{children:["You can use ",(0,B.jsx)("b",{children:i})," for free;"]}):(0,B.jsxs)("p",{children:["You need to purchase before launch ",(0,B.jsx)("b",{children:i}),";"]}),(0,B.jsx)("p",{children:"Before the blocklet starts, you need to select your Blocklet Server; "}),(0,B.jsx)("p",{children:"If you do not have any Blocklet Server, we will guide you to create a new one; "}),(0,B.jsx)("p",{children:"Below is the information for the blocklet: "})]}),(0,B.jsxs)(H,{children:[r||d,(0,B.jsx)("div",{className:"info-table",children:(0,B.jsx)(U,{children:(0,B.jsx)(E.Z,{size:"small",children:(0,B.jsx)(P.Z,{children:u.map((e=>(0,B.jsxs)(L.Z,{children:[(0,B.jsx)(T.Z,{component:"th",scope:"row",style:{width:100},children:(0,B.jsx)("div",{style:{fontWeight:"bold",whiteSpace:"nowrap"},children:e.key})}),(0,B.jsx)(T.Z,{children:e.value})]},e.key)))})})})}),(0,B.jsx)("div",{className:"app-overview",children:s})]})}const H=p.Z.div(K||(K=(0,r.Z)(["\n .info-table {\n a {\n word-break: break-all;\n }\n }\n .app-overview {\n font-size: 16px;\n margin: 16px 0 0 16px;\n h1 {\n margin: 8px 0;\n font-size: 20px;\n }\n h2 {\n margin: 8px 0;\n font-size: 18px;\n }\n ul {\n display: block;\n list-style-type: disc;\n padding-left: 2em;\n li {\n display: list-item;\n list-style: disc;\n }\n }\n blockquote {\n margin-left: 2em;\n }\n }\n"])));V.propTypes={blockletMeta:s().object.isRequired,locale:s().string.isRequired,handleDescEle:s().node},V.defaultProps={handleDescEle:""};const Q=V},79630:(e,n,t)=>{var r=t(44231),o=Object.prototype.hasOwnProperty,i={align:"text-align",valign:"vertical-align",height:"height",width:"width"};function s(e){var n;if("tr"===e.tagName||"td"===e.tagName||"th"===e.tagName)for(n in i)o.call(i,n)&&void 0!==e.properties[n]&&(a(e,i[n],e.properties[n]),delete e.properties[n])}function a(e,n,t){var r=(e.properties.style||"").trim();r&&!/;\s*/.test(r)&&(r+=";"),r&&(r+=" ");var o=r+n+": "+t+";";e.properties.style=o}e.exports=function(e){return r(e,"element",s),e}},45938:e=>{function n(e){if("string"===typeof e)return function(e){return n;function n(n){return Boolean(n&&n.type===e)}}(e);if(null===e||void 0===e)return o;if("object"===typeof e)return("length"in e?r:t)(e);if("function"===typeof e)return e;throw new Error("Expected function, string, or object as test")}function t(e){return function(n){var t;for(t in e)if(n[t]!==e[t])return!1;return!0}}function r(e){var t=function(e){for(var t=[],r=e.length,o=-1;++o<r;)t[o]=n(e[o]);return t}(e),r=t.length;return function(){var e=-1;for(;++e<r;)if(t[e].apply(this,arguments))return!0;return!1}}function o(){return!0}e.exports=n},84962:(e,n,t)=>{e.exports=a;var r=t(45938),o=!0,i="skip",s=!1;function a(e,n,t,o){var a;function c(e,r,p){var u,d=[];return(n&&!a(e,r,p[p.length-1]||null)||(d=l(t(e,p)))[0]!==s)&&e.children&&d[0]!==i?(u=l(function(e,n){var t,r=-1,i=o?-1:1,a=(o?e.length:r)+i;for(;a>r&&a<e.length;){if((t=c(e[a],a,n))[0]===s)return t;a="number"===typeof t[1]?t[1]:a+i}}(e.children,p.concat(e))),u[0]===s?u:d):d}"function"===typeof n&&"function"!==typeof t&&(o=t,t=n,n=null),a=r(n),c(e,null,[])}function l(e){return null!==e&&"object"===typeof e&&"length"in e?e:"number"===typeof e?[o,e]:[e]}a.CONTINUE=o,a.SKIP=i,a.EXIT=s},44231:(e,n,t)=>{e.exports=a;var r=t(84962),o=r.CONTINUE,i=r.SKIP,s=r.EXIT;function a(e,n,t,o){"function"===typeof n&&"function"!==typeof t&&(o=t,t=n,n=null),r(e,n,(function(e,n){var r=n[n.length-1],o=r?r.children.indexOf(e):null;return t(e,o,r)}),o)}a.CONTINUE=o,a.SKIP=i,a.EXIT=s},48086:(e,n,t)=>{var r=t(71600);n.Z=void 0;var o=r(t(56930)),i=t(96266);n.Z=(0,o.default)((0,i.jsx)("path",{d:"m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward")}}]);
|
|
1
|
+
"use strict";(self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[3135],{40265:(e,n,t)=>{t.d(n,{Z:()=>y});var r=t(71171),o=t(5057),i=t(33518),s=t(55898),a=t.n(s),l=t(44846),c=t(28726),p=t(13128);function u(e){let{disabled:n,children:t,onConfirm:r}=e;return(0,o.useEffect)((()=>{if(n)return()=>{};const e=e=>{"Enter"!==e.code||!0!==e.metaKey&&!0!==e.ctrlKey||(e.preventDefault(),e.stopPropagation(),r())};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[n,r]),t}u.propTypes={disabled:a().bool,children:a().any.isRequired,onConfirm:a().func.isRequired},u.defaultProps={disabled:!1};var d,h=t(96266);function f(e){let{onContinue:n,nextDisabled:t,launching:r,texts:i,description:s}=e;const[a,d]=(0,o.useState)(!1);return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(m,{children:(0,h.jsxs)(u,{disabled:t,onConfirm:n,children:[(0,h.jsx)("div",{className:"eula-trigger",onClick:()=>d((e=>!e)),children:i.listenName}),(0,h.jsx)(c.Z,{disabled:t,color:"primary",variant:"contained",className:"next-button",onClick:n,children:r?(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(l.Z,{size:14}),i.launchingText]}):i.buttonNext})]})}),(0,h.jsx)(p.ZP,{open:a,title:i.listenName,onClose:()=>d(!1),children:s})]})}f.propTypes={onContinue:a().func.isRequired,nextDisabled:a().bool,launching:a().bool,description:a().any,texts:a().object},f.defaultProps={nextDisabled:!1,launching:!1,description:"",texts:{listenName:"",launchingText:"",buttonNext:""}};const m=i.Z.div(d||(d=(0,r.Z)(["\n margin: 0 auto;\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n @media (max-width: ","px) {\n flex-direction: column;\n }\n\n .eula-trigger {\n cursor: pointer;\n text-decoration: underline;\n "," {\n padding-right: 24px;\n }\n "," {\n padding: 16px;\n }\n font-size: 14px;\n white-space: nowrap;\n &:hover {\n color: ",";\n }\n }\n\n .next-button {\n min-width: 200px;\n }\n"])),(e=>e.theme.breakpoints.values.sm),(e=>e.theme.breakpoints.up("md")),(e=>e.theme.breakpoints.down("md")),(e=>e.theme.palette.primary.main)),y=f},44566:(e,n,t)=>{t.d(n,{Z:()=>Q});var r=t(71171),o=t(5057),i=t(55898),s=t.n(i),a=t(38242),l=t(43681),c=t.n(l),p=t(33518),u=t(37003),d=t(43382),h=t(29065),f=t(80443),m=t(18580),y=t(33313),v=t(67474);const x={}.hasOwnProperty;function b(e,n,t){if("function"!==typeof e)throw new TypeError("h is not a function");const r=function(e){const n=e("div",{});return Boolean(n&&("_owner"in n||"_store"in n)&&(void 0===n.key||null===n.key))}(e),o=function(e){const n=e("div",{});return Boolean(n&&n.context&&n.context._isVue)}(e),i=function(e){const n=e("div",{});return"VirtualNode"===n.type}(e);let s,a;if("string"===typeof t||"boolean"===typeof t?(s=t,t={}):(t||(t={}),s=t.prefix),n&&"root"===n.type){const e=n.children[0];a=1===n.children.length&&"element"===e.type?e:{type:"element",tagName:"div",properties:{},children:n.children}}else{if(!n||"element"!==n.type)throw new Error("Expected root or element, not `"+(n&&n.type||n)+"`");a=n}return g(e,a,{schema:"svg"===t.space?u.YP:u.dy,prefix:void 0===s||null===s?r||o||i?"h-":void 0:"string"===typeof s?s:s?"h-":void 0,key:0,react:r,vue:o,vdom:i,hyperscript:j(e)})}function g(e,n,t){const r=t.schema;let o=r,i=n.tagName;const s={},a=[];let l,c=-1;for(l in"html"===r.space&&"svg"===i.toLowerCase()&&(o=u.YP,t.schema=o),n.properties)n.properties&&x.call(n.properties,l)&&w(s,l,n.properties[l],t,i);if(t.vdom&&("html"===o.space?i=i.toUpperCase():o.space&&(s.namespace=v.t[o.space])),t.prefix&&(t.key++,s.key=t.prefix+t.key),n.children)for(;++c<n.children.length;){const r=n.children[c];"element"===r.type?a.push(g(e,r,t)):"text"===r.type&&a.push(r.value)}return t.schema=r,a.length>0?e.call(n,i,s,a):e.call(n,i,s)}function w(e,n,t,r,o){const i=(0,d.s)(r.schema,n);let s;void 0===t||null===t||"number"===typeof t&&Number.isNaN(t)||!1===t&&(r.vue||r.vdom||r.hyperscript)||!t&&i.boolean&&(r.vue||r.vdom||r.hyperscript)||(Array.isArray(t)&&(t=i.commaSeparated?(0,m.P)(t):(0,f.P)(t)),i.boolean&&r.hyperscript&&(t=""),"style"===i.property&&"string"===typeof t&&(r.react||r.vue||r.vdom)&&(t=function(e,n){const t={};try{(0,y.Z)(e,((e,n)=>{"-ms-"===e.slice(0,4)&&(e="ms-"+e.slice(4)),t[e.replace(/-([a-z])/g,((e,n)=>n.toUpperCase()))]=n}))}catch(r){const e=r;throw e.message=n+"[style]"+e.message.slice(9),e}return t}(t,o)),r.vue?"style"!==i.property&&(s="attrs"):i.mustUseProperty||(r.vdom?"style"!==i.property&&(s="attributes"):r.hyperscript&&(s="attrs")),s?e[s]=Object.assign(e[s]||{},{[i.attribute]:t}):i.space&&r.react?e[h.D[i.property]||i.property]=t:e[i.attribute]=t)}function j(e){return"context"in e&&"cleanup"in e}var k=t(79630),N=t(38482);const Z={}.hasOwnProperty,C=new Set(["table","thead","tbody","tfoot","tr"]);var E=t(82266),P=t(30067),T=t(28627),q=t(7896),D=t(29218),O=t(9978),S=t(82261),z=t(42908),I=t(62773),_=t(46849),R=t(96036);function A(e){return(0,R.ZP)("MuiTableContainer",e)}(0,_.Z)("MuiTableContainer",["root"]);var B=t(96266);const F=["className","component"],M=(0,I.ZP)("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,n)=>n.root})({width:"100%",overflowX:"auto"}),U=o.forwardRef((function(e,n){const t=(0,z.Z)({props:e,name:"MuiTableContainer"}),{className:r,component:o="div"}=t,i=(0,D.Z)(t,F),s=(0,q.Z)({},t,{component:o}),a=(e=>{const{classes:n}=e;return(0,S.Z)({root:["root"]},A,n)})(s);return(0,B.jsx)(M,(0,q.Z)({ref:n,as:o,className:(0,O.Z)(a.root,r),ownerState:s},i))}));var K,L=t(83366);const X=new function(e){if(!e||"function"!==typeof e.createElement)throw new TypeError("createElement is not a function");const n=e.createElement,t=!1!==e.fixTableCellAlign;function r(t,r,o){if(o&&C.has(t)&&(o=o.filter((e=>!(0,N.Q)(e)))),e.components&&Z.call(e.components,t)){const i=e.components[t];return e.passNode&&"function"===typeof i&&(r=Object.assign({node:this},r)),n(i,r,o)}return n(t,r,o)}Object.assign(this,{Compiler:function(o){let i=b(r,t?k(o):o,e.prefix);if("root"===o.type)return i=i&&"object"===typeof i&&"type"in i&&"props"in i&&"div"===i.type&&(1!==o.children.length||"element"!==o.children[0].type)?i.props.children:[i],n(e.Fragment||"div",{},i);return i}})}({createElement:o.createElement}).Compiler,Y={zh:{appinfo:{name:"\u5e94\u7528\u540d",version:"\u7248\u672c\u53f7",author:"\u5f00\u53d1\u8005",description:"\u63cf\u8ff0",community:"\u793e\u533a\u5730\u5740",documentation:"\u6587\u6863\u624b\u518c",support:"\u670d\u52a1\u652f\u6301",overview:"\u6982\u8ff0",requirements:"\u8282\u70b9\u7248\u672c\u8981\u6c42"}},en:{appinfo:{name:"Name",version:"Version",author:"Author",description:"Description",community:"Community",documentation:"Documentation",support:"Support",overview:"Overview",requirements:"Server requirements"}}};function V(e){let{blockletMeta:n,locale:t,handleDescEle:r}=e;const{data:o}=n,i=(0,a.getDisplayName)({meta:o}),s=o&&o.htmlAst?X(o.htmlAst):"",l=!(p=o).payment||(p.payment.price||[]).map((e=>e.value||0)).every((e=>0===e));var p;const u=[{key:c()(Y[t],"appinfo.name"),value:(0,a.getDisplayName)({meta:o})},{key:c()(Y[t],"appinfo.version"),value:o.version},{key:c()(Y[t],"appinfo.author"),value:c()(o,"author.name")},{type:"description",key:c()(Y[t],"appinfo.description"),value:o.description}];let d;return o.requirements&&u.push({key:c()(Y[t],"appinfo.requirements"),value:o.requirements.server}),o.community&&u.push({key:c()(Y[t],"appinfo.community"),value:(0,B.jsx)("a",{href:o.community,target:"_blank",rel:"noreferrer",children:o.community})}),o.documentation&&u.push({key:c()(Y[t],"appinfo.documentation"),value:(0,B.jsx)("a",{href:o.documentation,target:"_blank",rel:"noreferrer",children:o.documentation})}),o.support&&u.push({key:c()(Y[t],"appinfo.support"),value:(0,B.jsx)("a",{href:"mailto:".concat(o.support),target:"_blank",rel:"noreferrer",children:o.support})}),s&&u.push({key:c()(Y[t],"appinfo.overview"),value:""}),d="zh"===t?(0,B.jsxs)(B.Fragment,{children:[l?(0,B.jsxs)("p",{children:["\u60a8\u53ef\u4ee5\u514d\u8d39\u4f7f\u7528 ",(0,B.jsx)("b",{children:i}),"\uff1b"]}):(0,B.jsxs)("p",{children:["\u60a8\u9700\u8981\u8d2d\u4e70\u624d\u80fd\u4f7f\u7528 ",(0,B.jsx)("b",{children:i}),"\uff1b"]}),(0,B.jsx)("p",{children:"\u5728\u5e94\u7528\u542f\u52a8\u524d\uff0c\u9700\u8981\u9009\u62e9\u60a8\u7684\u8282\u70b9\uff1b"}),(0,B.jsx)("p",{children:"\u5982\u679c\u60a8\u6ca1\u6709\u8282\u70b9\uff0c\u6211\u4eec\u4f1a\u5f15\u5bfc\u60a8\u521b\u5efa\u65b0\u7684\u8282\u70b9\uff1b"}),(0,B.jsx)("p",{children:"\u4e0b\u9762\u4e3a\u8be5\u5e94\u7528\u7684\u4fe1\u606f\uff1a"})]}):(0,B.jsxs)(B.Fragment,{children:[l?(0,B.jsxs)("p",{children:["You can use ",(0,B.jsx)("b",{children:i})," for free;"]}):(0,B.jsxs)("p",{children:["You need to purchase before launch ",(0,B.jsx)("b",{children:i}),";"]}),(0,B.jsx)("p",{children:"Before the blocklet starts, you need to select your Blocklet Server; "}),(0,B.jsx)("p",{children:"If you do not have any Blocklet Server, we will guide you to create a new one; "}),(0,B.jsx)("p",{children:"Below is the information for the blocklet: "})]}),(0,B.jsxs)(H,{children:[r||d,(0,B.jsx)("div",{className:"info-table",children:(0,B.jsx)(U,{children:(0,B.jsx)(E.Z,{size:"small",children:(0,B.jsx)(P.Z,{children:u.map((e=>(0,B.jsxs)(L.Z,{children:[(0,B.jsx)(T.Z,{component:"th",scope:"row",style:{width:100},children:(0,B.jsx)("div",{style:{fontWeight:"bold",whiteSpace:"nowrap"},children:e.key})}),(0,B.jsx)(T.Z,{children:e.value})]},e.key)))})})})}),(0,B.jsx)("div",{className:"app-overview",children:s})]})}const H=p.Z.div(K||(K=(0,r.Z)(["\n .info-table {\n a {\n word-break: break-all;\n }\n }\n .app-overview {\n font-size: 16px;\n margin: 16px 0 0 16px;\n h1 {\n margin: 8px 0;\n font-size: 20px;\n }\n h2 {\n margin: 8px 0;\n font-size: 18px;\n }\n ul {\n display: block;\n list-style-type: disc;\n padding-left: 2em;\n li {\n display: list-item;\n list-style: disc;\n }\n }\n blockquote {\n margin-left: 2em;\n }\n }\n"])));V.propTypes={blockletMeta:s().object.isRequired,locale:s().string.isRequired,handleDescEle:s().node},V.defaultProps={handleDescEle:""};const Q=V},79630:(e,n,t)=>{var r=t(44231),o=Object.prototype.hasOwnProperty,i={align:"text-align",valign:"vertical-align",height:"height",width:"width"};function s(e){var n;if("tr"===e.tagName||"td"===e.tagName||"th"===e.tagName)for(n in i)o.call(i,n)&&void 0!==e.properties[n]&&(a(e,i[n],e.properties[n]),delete e.properties[n])}function a(e,n,t){var r=(e.properties.style||"").trim();r&&!/;\s*/.test(r)&&(r+=";"),r&&(r+=" ");var o=r+n+": "+t+";";e.properties.style=o}e.exports=function(e){return r(e,"element",s),e}},45938:e=>{function n(e){if("string"===typeof e)return function(e){return n;function n(n){return Boolean(n&&n.type===e)}}(e);if(null===e||void 0===e)return o;if("object"===typeof e)return("length"in e?r:t)(e);if("function"===typeof e)return e;throw new Error("Expected function, string, or object as test")}function t(e){return function(n){var t;for(t in e)if(n[t]!==e[t])return!1;return!0}}function r(e){var t=function(e){for(var t=[],r=e.length,o=-1;++o<r;)t[o]=n(e[o]);return t}(e),r=t.length;return function(){var e=-1;for(;++e<r;)if(t[e].apply(this,arguments))return!0;return!1}}function o(){return!0}e.exports=n},84962:(e,n,t)=>{e.exports=a;var r=t(45938),o=!0,i="skip",s=!1;function a(e,n,t,o){var a;function c(e,r,p){var u,d=[];return(n&&!a(e,r,p[p.length-1]||null)||(d=l(t(e,p)))[0]!==s)&&e.children&&d[0]!==i?(u=l(function(e,n){var t,r=-1,i=o?-1:1,a=(o?e.length:r)+i;for(;a>r&&a<e.length;){if((t=c(e[a],a,n))[0]===s)return t;a="number"===typeof t[1]?t[1]:a+i}}(e.children,p.concat(e))),u[0]===s?u:d):d}"function"===typeof n&&"function"!==typeof t&&(o=t,t=n,n=null),a=r(n),c(e,null,[])}function l(e){return null!==e&&"object"===typeof e&&"length"in e?e:"number"===typeof e?[o,e]:[e]}a.CONTINUE=o,a.SKIP=i,a.EXIT=s},44231:(e,n,t)=>{e.exports=a;var r=t(84962),o=r.CONTINUE,i=r.SKIP,s=r.EXIT;function a(e,n,t,o){"function"===typeof n&&"function"!==typeof t&&(o=t,t=n,n=null),r(e,n,(function(e,n){var r=n[n.length-1],o=r?r.children.indexOf(e):null;return t(e,o,r)}),o)}a.CONTINUE=o,a.SKIP=i,a.EXIT=s},48086:(e,n,t)=>{var r=t(71600);n.Z=void 0;var o=r(t(56930)),i=t(96266);n.Z=(0,o.default)((0,i.jsx)("path",{d:"m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward")}}]);
|