@abtnode/webapp 1.16.25-beta-023ec101 → 1.16.25-beta-bc165d9b
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 +58 -58
- package/build/index.html +1 -1
- package/build/service-worker.js +1 -1
- package/build/static/js/1059.446f653a.chunk.js +1 -0
- package/build/static/js/1366.bf33872e.chunk.js +2 -0
- package/build/static/js/{1371.97ef96e6.chunk.js → 1371.384ff23d.chunk.js} +1 -1
- package/build/static/js/1575.9889e444.chunk.js +1 -0
- package/build/static/js/{1685.8aa7ded2.chunk.js → 1685.d0fc9f5b.chunk.js} +2 -2
- package/build/static/js/2019.c4e134a4.chunk.js +1 -0
- package/build/static/js/{2168.af9a9b9f.chunk.js → 2168.642bfc2e.chunk.js} +1 -1
- package/build/static/js/{2294.9e37053f.chunk.js → 2294.c34a84c9.chunk.js} +1 -1
- package/build/static/js/233.5cf94cae.chunk.js +1 -0
- package/build/static/js/{2362.5f9c8ab2.chunk.js → 2362.e2682916.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/3803.a22da8fb.chunk.js +1 -0
- package/build/static/js/3930.5079b881.chunk.js +1 -0
- package/build/static/js/{406.e384bf0e.chunk.js → 406.7c629ae6.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/4423.fc17ebc1.chunk.js +1 -0
- package/build/static/js/4465.88a081e5.chunk.js +1 -0
- package/build/static/js/{4509.391ff49f.chunk.js → 4509.2b57b6dd.chunk.js} +2 -2
- package/build/static/js/{4549.59d35b13.chunk.js → 4549.40b371f5.chunk.js} +1 -1
- package/build/static/js/{4852.5661d7a7.chunk.js → 4852.5c585b9f.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/5059.963d527c.chunk.js +1 -0
- package/build/static/js/{5374.1135dab5.chunk.js → 5374.cc49abd9.chunk.js} +1 -1
- package/build/static/js/{5526.2e5b0dfe.chunk.js → 5526.09906842.chunk.js} +2 -2
- package/build/static/js/5672.c3cf88bf.chunk.js +1 -0
- package/build/static/js/{5706.c53e6f7a.chunk.js → 5706.f5e6f131.chunk.js} +2 -2
- package/build/static/js/5748.d017d106.chunk.js +1 -0
- package/build/static/js/{592.c99306f8.chunk.js → 592.083d62e1.chunk.js} +2 -2
- package/build/static/js/{5973.219778da.chunk.js → 5973.7e97d6d8.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/6906.6c830eaf.chunk.js +1 -0
- package/build/static/js/6931.fa818149.chunk.js +1 -0
- package/build/static/js/6944.ac06ea4a.chunk.js +1 -0
- package/build/static/js/{7020.b16a6be6.chunk.js → 7020.30a59f59.chunk.js} +1 -1
- package/build/static/js/7022.76c60285.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.b9fb672b.chunk.js → 7718.43bea793.chunk.js} +1 -1
- package/build/static/js/{8170.a05bcf8e.chunk.js → 8170.4ad15204.chunk.js} +1 -1
- package/build/static/js/8427.9d00acc3.chunk.js +2 -0
- package/build/static/js/{8537.a2ae5cb3.chunk.js → 8537.a9d1958b.chunk.js} +1 -1
- package/build/static/js/8590.f6c87639.chunk.js +1 -0
- package/build/static/js/{8986.bf90d91b.chunk.js → 8986.ecf4d834.chunk.js} +1 -1
- package/build/static/js/9041.a5b13c5d.chunk.js +1 -0
- package/build/static/js/{9085.2eba86ab.chunk.js → 9085.d0aa2a89.chunk.js} +1 -1
- package/build/static/js/9484.1660aee4.chunk.js +1 -0
- package/build/static/js/9586.e21d0d28.chunk.js +1 -0
- package/build/static/js/{9590.3c9e0821.chunk.js → 9590.694b5369.chunk.js} +2 -2
- package/build/static/js/{9662.604d1362.chunk.js → 9662.0639afb1.chunk.js} +1 -1
- package/build/static/js/main.20a607fe.js +2 -0
- package/package.json +1 -1
- package/build/static/js/1059.ca2cbdc1.chunk.js +0 -1
- package/build/static/js/1366.90b8b406.chunk.js +0 -2
- package/build/static/js/1575.898bc099.chunk.js +0 -1
- package/build/static/js/2019.17ea2088.chunk.js +0 -1
- package/build/static/js/233.3215dc68.chunk.js +0 -1
- package/build/static/js/2746.b74c83cd.chunk.js +0 -1
- package/build/static/js/3803.fb647887.chunk.js +0 -1
- package/build/static/js/3930.6b76ec36.chunk.js +0 -1
- package/build/static/js/4423.2dd278be.chunk.js +0 -1
- package/build/static/js/4465.05c1536b.chunk.js +0 -1
- package/build/static/js/4471.ddd34e83.chunk.js +0 -1
- package/build/static/js/5059.e78ab607.chunk.js +0 -1
- package/build/static/js/5672.6b3a406d.chunk.js +0 -1
- package/build/static/js/5748.07d72ea2.chunk.js +0 -1
- package/build/static/js/6906.8e78a1d1.chunk.js +0 -1
- package/build/static/js/6931.f7a04871.chunk.js +0 -1
- package/build/static/js/6944.9098ce0d.chunk.js +0 -1
- package/build/static/js/7022.32cbb1ae.chunk.js +0 -1
- package/build/static/js/8427.4eeb503c.chunk.js +0 -2
- package/build/static/js/8590.871b6ecb.chunk.js +0 -1
- package/build/static/js/9041.bdd7c1f3.chunk.js +0 -1
- package/build/static/js/9586.a2caaa51.chunk.js +0 -1
- package/build/static/js/main.f59c1050.js +0 -2
- /package/build/static/js/{1366.90b8b406.chunk.js.LICENSE.txt → 1366.bf33872e.chunk.js.LICENSE.txt} +0 -0
- /package/build/static/js/{1685.8aa7ded2.chunk.js.LICENSE.txt → 1685.d0fc9f5b.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.391ff49f.chunk.js.LICENSE.txt → 4509.2b57b6dd.chunk.js.LICENSE.txt} +0 -0
- /package/build/static/js/{5526.2e5b0dfe.chunk.js.LICENSE.txt → 5526.09906842.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/{8427.4eeb503c.chunk.js.LICENSE.txt → 8427.9d00acc3.chunk.js.LICENSE.txt} +0 -0
- /package/build/static/js/{9590.3c9e0821.chunk.js.LICENSE.txt → 9590.694b5369.chunk.js.LICENSE.txt} +0 -0
- /package/build/static/js/{main.f59c1050.js.LICENSE.txt → main.20a607fe.js.LICENSE.txt} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[7020],{90067:(e,r,o)=>{o.d(r,{Z:()=>x});var t,a=o(
|
|
1
|
+
"use strict";(self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[7020],{90067:(e,r,o)=>{o.d(r,{Z:()=>x});var t,a=o(29218),s=o(7896),n=o(5057),i=o(9978),l=o(82261),d=o(43070),c=o(38038),u=o(62773),m=o(6285),p=o(44029),f=o(42908),Z=o(96266);const h=["children","className","component","disabled","error","filled","focused","margin","required","variant"],b=(0,u.ZP)("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:o}=e;return[r.root,o.size&&r["size".concat((0,m.Z)(o.size))],o.contained&&r.contained,o.filled&&r.filled]}})((e=>{let{theme:r,ownerState:o}=e;return(0,s.Z)({color:(r.vars||r).palette.text.secondary},r.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,["&.".concat(p.Z.disabled)]:{color:(r.vars||r).palette.text.disabled},["&.".concat(p.Z.error)]:{color:(r.vars||r).palette.error.main}},"small"===o.size&&{marginTop:4},o.contained&&{marginLeft:14,marginRight:14})})),x=n.forwardRef((function(e,r){const o=(0,f.Z)({props:e,name:"MuiFormHelperText"}),{children:n,className:u,component:x="p"}=o,v=(0,a.Z)(o,h),w=(0,c.Z)(),k=(0,d.Z)({props:o,muiFormControl:w,states:["variant","size","disabled","error","filled","focused","required"]}),F=(0,s.Z)({},o,{component:x,contained:"filled"===k.variant||"outlined"===k.variant,variant:k.variant,size:k.size,disabled:k.disabled,error:k.error,filled:k.filled,focused:k.focused,required:k.required}),z=(e=>{const{classes:r,contained:o,size:t,disabled:a,error:s,filled:n,focused:i,required:d}=e,c={root:["root",a&&"disabled",s&&"error",t&&"size".concat((0,m.Z)(t)),o&&"contained",i&&"focused",n&&"filled",d&&"required"]};return(0,l.Z)(c,p.E,r)})(F);return(0,Z.jsx)(b,(0,s.Z)({as:x,ownerState:F,className:(0,i.Z)(z.root,u),ref:r},v,{children:" "===n?t||(t=(0,Z.jsx)("span",{className:"notranslate",children:"\u200b"})):n}))}))},44029:(e,r,o)=>{o.d(r,{E:()=>s,Z:()=>n});var t=o(46849),a=o(96036);function s(e){return(0,a.ZP)("MuiFormHelperText",e)}const n=(0,t.Z)("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"])},6041:(e,r,o)=>{o.d(r,{Z:()=>g});var t=o(29218),a=o(7896),s=o(5057),n=o(82261),i=o(9978),l=o(43070),d=o(38038),c=o(6285),u=o(42908),m=o(62773),p=o(46849),f=o(96036);function Z(e){return(0,f.ZP)("MuiFormLabel",e)}const h=(0,p.Z)("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]);var b=o(96266);const x=["children","className","color","component","disabled","error","filled","focused","required"],v=(0,m.ZP)("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(e,r)=>{let{ownerState:o}=e;return(0,a.Z)({},r.root,"secondary"===o.color&&r.colorSecondary,o.filled&&r.filled)}})((e=>{let{theme:r,ownerState:o}=e;return(0,a.Z)({color:(r.vars||r).palette.text.secondary},r.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",["&.".concat(h.focused)]:{color:(r.vars||r).palette[o.color].main},["&.".concat(h.disabled)]:{color:(r.vars||r).palette.text.disabled},["&.".concat(h.error)]:{color:(r.vars||r).palette.error.main}})})),w=(0,m.ZP)("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,r)=>r.asterisk})((e=>{let{theme:r}=e;return{["&.".concat(h.error)]:{color:(r.vars||r).palette.error.main}}})),k=s.forwardRef((function(e,r){const o=(0,u.Z)({props:e,name:"MuiFormLabel"}),{children:s,className:m,component:p="label"}=o,f=(0,t.Z)(o,x),h=(0,d.Z)(),k=(0,l.Z)({props:o,muiFormControl:h,states:["color","required","focused","disabled","error","filled"]}),F=(0,a.Z)({},o,{color:k.color||"primary",component:p,disabled:k.disabled,error:k.error,filled:k.filled,focused:k.focused,required:k.required}),z=(e=>{const{classes:r,color:o,focused:t,disabled:a,error:s,filled:i,required:l}=e,d={root:["root","color".concat((0,c.Z)(o)),a&&"disabled",s&&"error",i&&"filled",t&&"focused",l&&"required"],asterisk:["asterisk",s&&"error"]};return(0,n.Z)(d,Z,r)})(F);return(0,b.jsxs)(v,(0,a.Z)({as:p,ownerState:F,className:(0,i.Z)(z.root,m),ref:r},f,{children:[s,k.required&&(0,b.jsxs)(w,{ownerState:F,"aria-hidden":!0,className:z.asterisk,children:["\u2009","*"]})]}))}));var F=o(32618),z=o(12823);const q=["disableAnimation","margin","shrink","variant","className"],R=(0,m.ZP)(k,{shouldForwardProp:e=>(0,F.Z)(e)||"classes"===e,name:"MuiInputLabel",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:o}=e;return[{["& .".concat(h.asterisk)]:r.asterisk},r.root,o.formControl&&r.formControl,"small"===o.size&&r.sizeSmall,o.shrink&&r.shrink,!o.disableAnimation&&r.animated,o.focused&&r.focused,r[o.variant]]}})((e=>{let{theme:r,ownerState:o}=e;return(0,a.Z)({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},o.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===o.size&&{transform:"translate(0, 17px) scale(1)"},o.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!o.disableAnimation&&{transition:r.transitions.create(["color","transform","max-width"],{duration:r.transitions.duration.shorter,easing:r.transitions.easing.easeOut})},"filled"===o.variant&&(0,a.Z)({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===o.size&&{transform:"translate(12px, 13px) scale(1)"},o.shrink&&(0,a.Z)({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===o.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===o.variant&&(0,a.Z)({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===o.size&&{transform:"translate(14px, 9px) scale(1)"},o.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}))})),g=s.forwardRef((function(e,r){const o=(0,u.Z)({name:"MuiInputLabel",props:e}),{disableAnimation:s=!1,shrink:m,className:p}=o,f=(0,t.Z)(o,q),Z=(0,d.Z)();let h=m;"undefined"===typeof h&&Z&&(h=Z.filled||Z.focused||Z.adornedStart);const x=(0,l.Z)({props:o,muiFormControl:Z,states:["size","variant","required","focused"]}),v=(0,a.Z)({},o,{disableAnimation:s,formControl:Z,shrink:h,size:x.size,variant:x.variant,required:x.required,focused:x.focused}),w=(e=>{const{classes:r,formControl:o,size:t,shrink:s,disableAnimation:i,variant:l,required:d}=e,u={root:["root",o&&"formControl",!i&&"animated",s&&"shrink",t&&"normal"!==t&&"size".concat((0,c.Z)(t)),l],asterisk:[d&&"asterisk"]},m=(0,n.Z)(u,z.Y,r);return(0,a.Z)({},r,m)})(v);return(0,b.jsx)(R,(0,a.Z)({"data-shrink":h,ownerState:v,ref:r,className:(0,i.Z)(w.root,p)},f,{classes:w}))}))},12823:(e,r,o)=>{o.d(r,{Y:()=>s,Z:()=>n});var t=o(46849),a=o(96036);function s(e){return(0,a.ZP)("MuiInputLabel",e)}const n=(0,t.Z)("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"])},47020:(e,r,o)=>{o.d(r,{Z:()=>z});var t=o(7896),a=o(29218),s=o(5057),n=o(9978),i=o(82261),l=o(41366),d=o(62773),c=o(42908),u=o(49083),m=o(91877),p=o(12594),f=o(6041),Z=o(80576),h=o(90067),b=o(51177),x=o(13421),v=o(96266);const w=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],k={standard:u.Z,filled:m.Z,outlined:p.Z},F=(0,d.ZP)(Z.Z,{name:"MuiTextField",slot:"Root",overridesResolver:(e,r)=>r.root})({}),z=s.forwardRef((function(e,r){const o=(0,c.Z)({props:e,name:"MuiTextField"}),{autoComplete:s,autoFocus:d=!1,children:u,className:m,color:p="primary",defaultValue:Z,disabled:z=!1,error:q=!1,FormHelperTextProps:R,fullWidth:g=!1,helperText:S,id:y,InputLabelProps:P,inputProps:C,InputProps:M,inputRef:N,label:T,maxRows:I,minRows:L,multiline:W=!1,name:j,onBlur:A,onChange:H,onFocus:E,placeholder:B,required:O=!1,rows:_,select:V=!1,SelectProps:Y,type:D,value:G,variant:J="outlined"}=o,K=(0,a.Z)(o,w),Q=(0,t.Z)({},o,{autoFocus:d,color:p,disabled:z,error:q,fullWidth:g,multiline:W,required:O,select:V,variant:J}),U=(e=>{const{classes:r}=e;return(0,i.Z)({root:["root"]},x.I,r)})(Q);const X={};"outlined"===J&&(P&&"undefined"!==typeof P.shrink&&(X.notched=P.shrink),X.label=T),V&&(Y&&Y.native||(X.id=void 0),X["aria-describedby"]=void 0);const $=(0,l.Z)(y),ee=S&&$?"".concat($,"-helper-text"):void 0,re=T&&$?"".concat($,"-label"):void 0,oe=k[J],te=(0,v.jsx)(oe,(0,t.Z)({"aria-describedby":ee,autoComplete:s,autoFocus:d,defaultValue:Z,fullWidth:g,multiline:W,name:j,rows:_,maxRows:I,minRows:L,type:D,value:G,id:$,inputRef:N,onBlur:A,onChange:H,onFocus:E,placeholder:B,inputProps:C},X,M));return(0,v.jsxs)(F,(0,t.Z)({className:(0,n.Z)(U.root,m),disabled:z,error:q,fullWidth:g,ref:r,required:O,color:p,variant:J,ownerState:Q},K,{children:[null!=T&&""!==T&&(0,v.jsx)(f.Z,(0,t.Z)({htmlFor:$,id:re},P,{children:T})),V?(0,v.jsx)(b.Z,(0,t.Z)({"aria-describedby":ee,id:$,labelId:re,value:G,input:te},Y,{children:u})):te,S&&(0,v.jsx)(h.Z,(0,t.Z)({id:ee},R,{children:S}))]}))}))},13421:(e,r,o)=>{o.d(r,{I:()=>s,Z:()=>n});var t=o(46849),a=o(96036);function s(e){return(0,a.ZP)("MuiTextField",e)}const n=(0,t.Z)("MuiTextField",["root"])}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[7022],{21289:(e,t,n)=>{n.d(t,{$8:()=>G,y0:()=>M});var o=n(5057),i=n(68420),s=n(29054),a=n(40807),l=n.n(a),r=n(24914),d=n.n(r),u=n(77277),c=n(86229),m=n(14491),v=n(4651),p=n(6352),g=n.n(p),f=n(32243),h=n.n(f),k=n(35432),b=n(49714),S=n(41365),y=n.n(S);const D=h()((e=>{const{origin:t,hostname:n}=new URL(e);return n===window.location.hostname||y()(g()(t,k.WELLKNOWN_PING_PREFIX))})),C={};function E(e){let{urls:t,checkAccessible:n=y(),disableCache:i=!1}=e;const s=(0,o.useRef)(t.filter((e=>C[e])).map((e=>C[e]))),a=s.current.length===t.length,[l,r]=(0,o.useState)(a?s.current:[]),[d,u]=(0,o.useState)(!a),c=(0,o.useMemo)((()=>!d&&l.length?l[0]:null),[l,d]);return(0,o.useEffect)((()=>{if((null===t||void 0===t?void 0:t.length)>0&&!a){(async()=>{let e;if(u(!0),i)e=await(0,b.evaluateURLs)(t,{checkAccessible:n}),e.forEach((e=>{C[e.url]=e}));else{(await(0,b.evaluateURLs)(t.filter((e=>!C[e])),{checkAccessible:n})).forEach((e=>{C[e.url]=e})),e=t.map((e=>C[e])).sort(((e,t)=>t.score-e.score))}r(e),u(!1)})()}}),[t,i,a]),{urlsState:l,loading:d,recommendedUrlState:c,recommendedUrl:null===c||void 0===c?void 0:c.url}}const B=(e,t)=>{const n="number"!==typeof t?Number(t):t;if(Number.isNaN(n)||n<=0)return 0;const o=Math.floor(e/n*100);return Math.min(Math.max(o,0),100)},w="ttl-";function I(e){localStorage.removeItem(w+e)}let P=null;function R(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=Date.now();if(!(!e&&P&&t-P<3e5)){P=t;for(let e=0;e<localStorage.length;e++){const o=localStorage.key(e);if(o.startsWith(w)){const e=localStorage.getItem(o);if(e){let i;try{i=JSON.parse(e)}catch(n){continue}t>i.expiry&&localStorage.removeItem(o)}}}}}R();const x=e=>"blocklet-status-".concat(e),N={installed:1,starting:1,running:1,stopped:1,upgrading:1,restarting:1,deleting:1};function L(e){if(e){const t=e.children||[];let n=!1;t.forEach((t=>{if("downloading"===t.status){var o;const e=function(e){R();const t=localStorage.getItem(w+e);if(!t)return null;const n=JSON.parse(t);return Date.now()>n.expiry?(localStorage.removeItem(w+e),null):n.value}(x(null===(o=t.meta)||void 0===o?void 0:o.bundleDid));t.status=e||t.status,"extracting"===e&&(n=!0)}else if(N[e.status]){var i;I(x(null===(i=t.meta)||void 0===i?void 0:i.bundleDid))}})),n&&(e.status="extracting")}}function U(e){var t,n,i,s,a,r,p,g;let{did:f,client:h,useSubscription:k,getIP:b,useLocaleContext:S,disableSubscription:y,getOptionalComponents:C=!1}=e;const{t:P,locale:R}=S(),[N,U]=(0,o.useState)(null),[A,O]=(0,o.useState)(!1),[_,T]=(0,o.useState)(!1),[F,H]=(0,o.useState)(),[G,M]=(0,o.useState)({cpu:[],memory:[]}),[J,K]=(0,o.useState)({}),Z=null!==F&&void 0!==F&&null!==(t=F.site)&&void 0!==t&&null!==(t=t.domainAliases)&&void 0!==t&&t.length?JSON.stringify(F.site.domainAliases.map((e=>e.value))):"",W=(0,o.useMemo)((()=>{var e;return((null===F||void 0===F||null===(e=F.site)||void 0===e?void 0:e.domainAliases)||[]).map((e=>e.value))}),[Z]),{domainsAccessibility:j,recommendedDomain:q}=function(e){const t=(0,o.useMemo)((()=>e.map((e=>(0,m.Sk)(e)))),[e]),{urlsState:n,loading:i,recommendedUrl:s}=E({urls:t,checkAccessible:D});let a;if(i)a={domainsAccessibility:e.reduce(((e,t)=>({...e,[t]:{loading:!0}})),{}),recommendedDomain:null};else{var l;const e=n.reduce(((e,t)=>{const n=new URL(t.url).hostname;return e[n]={...t,domain:n},e}),{}),t=(null===(l=n.find((e=>e.accessible)))||void 0===l?void 0:l.url)||s;a={domainsAccessibility:e,recommendedDomain:t?new URL(t).hostname:null}}return a}(W),$=async function(){let{showError:e=!0,attachRuntimeInfo:t=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!A)try{O(!0),U(null);const{blocklet:e}=await h.getBlocklet({input:{did:f,getOptionalComponents:C}});if(!e)throw new Error(P("blocklet.notFound"));H((t=>((0,v.Gv)(e,{fixRuntime:"merge-old",oldBlocklet:t}),L(e),e))),O(!1),t&&((async()=>{T(!0);try{const{blocklet:e}=await h.getBlocklet({input:{did:f,attachRuntimeInfo:!0,getOptionalComponents:C}});await(0,v.Gv)(e,{getIP:b}),L(e),H(e)}catch(e){c.Z.error(e.message)}finally{T(!1)}})(),(async()=>{try{const e=await h.getBlockletRuntimeHistory({input:{did:f,hours:6}});e&&M({cpu:e.history.map((e=>({date:e.date,value:e.cpu}))),memory:e.history.map((e=>({date:e.date,value:e.mem})))})}catch(e){c.Z.error(e.message)}})())}catch(n){O(!1),U(n),e&&c.Z.error(n.message)}},Q=e=>{var t;(null===e||void 0===e||null===(t=e.meta)||void 0===t?void 0:t.did)===F.meta.did&&$({showError:!1})},X=e=>{var t;(null===e||void 0===e||null===(t=e.meta)||void 0===t?void 0:t.did)===F.meta.did&&$({attachRuntimeInfo:!1,showError:!1})},Y=()=>{f&&Z&&h.checkDomains({input:{did:f}}).catch((e=>{console.error(e)}))};(0,o.useEffect)((()=>{Z&&!y&&Y()}),[Z,y]),k(u.BlockletEvents.domainStatus,(e=>{K((t=>({...t,[e.domain]:{...t[e.domain],...e}})))}),[null===F||void 0===F||null===(n=F.meta)||void 0===n?void 0:n.did,!y]),k(u.BlockletEvents.statusChange,(e=>{var t;(null===e||void 0===e||null===(t=e.meta)||void 0===t?void 0:t.did)===F.meta.did&&(H((t=>{const n={...t};return n.status=(0,u.fromBlockletStatus)(e.status),(n.children||[]).forEach((t=>{const n=e.children.find((e=>{var n,o;return(null===(n=e.meta)||void 0===n?void 0:n.did)===(null===(o=t.meta)||void 0===o?void 0:o.did)}));n&&(t.status=(0,u.fromBlockletStatus)(n.status))})),n})),X(e))}),[null===F||void 0===F||null===(i=F.meta)||void 0===i?void 0:i.did,!y]),k(u.BlockletEvents.storeChange,X,[null===F||void 0===F||null===(s=F.meta)||void 0===s?void 0:s.did,!y]),k(u.BlockletEvents.installed,Q,[null===F||void 0===F||null===(a=F.meta)||void 0===a?void 0:a.did,!y]),k(u.BlockletEvents.upgraded,Q,[null===F||void 0===F||null===(r=F.meta)||void 0===r?void 0:r.did,!y]),k(u.BlockletEvents.updated,Q,[null===F||void 0===F||null===(p=F.meta)||void 0===p?void 0:p.did,!y]),k(u.BlockletEvents.downloadBundleProgress,(e=>{var t,n;e&&(null===(t=e.meta)||void 0===t?void 0:t.did)===(null===F||void 0===F||null===(n=F.meta)||void 0===n?void 0:n.did)&&("extracting"===e.status&&H((t=>{if(!t)return t;const n=t.children||[];return n.forEach((t=>{var n,o,i;(null===(n=t.meta)||void 0===n?void 0:n.bundleDid)===(null===(o=e.component)||void 0===o?void 0:o.did)&&(!function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null===t||void 0===t)return void localStorage.removeItem(w+e);const o={value:t,expiry:Date.now()+n};localStorage.setItem(w+e,JSON.stringify(o))}(x(null===(i=t.meta)||void 0===i?void 0:i.bundleDid),e.status,3e5),t.status=e.status)})),{...t,children:n,status:e.status}})),"downloading"===e.status&&e.total&&H((t=>{if(!t)return t;const n=t.children||[];let o=t.progress||0;return n.forEach((t=>{var n,i,s;(null===(n=t.meta)||void 0===n?void 0:n.bundleDid)===(null===(i=e.component)||void 0===i?void 0:i.did)&&(t.progress=B(e.current,e.total),t.status=e.status,t.progress>o&&(o=t.progress),I(x(null===(s=t.meta)||void 0===s?void 0:s.bundleDid)))})),{...t,children:n,progress:o}})))}),[null===F||void 0===F||null===(g=F.meta)||void 0===g?void 0:g.did,!y]);const z=F?l()(F,{site:{domainAliases:F.site.domainAliases.map((e=>{const t=e.value,n=(0,m.H$)(t);return e.domainStatus=d()(J[n],["domain","meta"]),e.accessibility=d()(j[t],["domain"]),e.href=(0,m.vH)({blocklet:F,domain:e,params:(0,m.f0)(F,R)}),e}))}}):null;return{loading:A,loadingRuntimeInfo:_,error:N,blocklet:z,runtimeHistory:G,recommendedDomain:q||"",actions:{refreshBlocklet:$,refreshDomainStatus:Y,setBlocklet:H,configNavigations:async e=>{const{blocklet:t}=await h.configNavigations({input:{did:f,navigations:e}});H(t)}}}}var A=n(38242),O=n(75793),_=n(33234),T=n(96266);const{Provider:F,Consumer:H}=s.BlockletContext;function G(e){let{did:t,children:n}=e;const{api:s,ws:{useSubscription:a}}=(0,O.h6)(),{loading:l,loadingRuntimeInfo:r,error:d,blocklet:u,recommendedDomain:c,runtimeHistory:m,actions:{refreshBlocklet:v,refreshDomainStatus:p,setBlocklet:g,configNavigations:f}}=U({did:t,client:s,useSubscription:a,getIP:_.Z,useLocaleContext:i.PE,getOptionalComponents:!0});(0,o.useEffect)((()=>{v()}),[t]);const h={did:t,client:s,loading:l,loadingRuntimeInfo:r,error:d,blocklet:u,recommendedDomain:c,runtimeHistory:m,appIdList:u?(0,A.getBlockletAppIdList)(u):[],actions:{refreshBlocklet:v,refreshDomainStatus:p,setBlocklet:g,configNavigations:f}};return(0,T.jsx)(F,{value:h,children:n})}function M(){return(0,o.useContext)(s.BlockletContext)}},17022:(e,t,n)=>{n.d(t,{G6:()=>E});var o=n(5057),i=n(35432),s=n(77277),a=n(38242),l=n(86229),r=n(14491),d=n(17425),u=n(4651),c=n(68420),m=n(75793),v=n(21289),p=n(34937),g=n(96266);const{Provider:f,Consumer:h}=d.TeamContext,k=(e,t,n)=>e===t.did?t.name:n?(0,a.getDisplayName)(n):"",b=(e,t,n)=>{if(n){const e=n.environments.find((e=>e.key===s.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_PASSPORT_COLOR));return e?e.value:"auto"}return"default"},S=(e,t,n)=>e===t.did?t.trustedPassports||[]:n&&n.trustedPassports||[],y=(e,t,n)=>e===t.did?t.trustedFactories||[]:n&&n.trustedFactories||[],D=(e,t,n)=>{if(e===t.did)return e;if(n){return((n.environments||[]).find((e=>"BLOCKLET_APP_ID"===e.key))||{}).value||""}return""},C=(e,t,n)=>e===t.did?!1!==t.enablePassportIssuance:!n||!1!==n.enablePassportIssuance;function E(e){let{teamDid:t,children:n}=e;const{t:a,locale:d}=(0,c.PE)(),{api:h,info:E}=(0,m.h6)(),{recommendedDomain:B,blocklet:w}=(0,v.y0)()||{},[I,P]=(0,o.useState)([]),[R,x]=(0,o.useState)([]),[N,L]=(0,o.useState)([]),U=k(t,E,w),A=b(t,E,w),O=S(t,E,w),_=y(t,E,w),T=D(t,E,w),F=C(t,E,w),H=async e=>{try{const t=await h.doBatchQuery({getRoles:{input:{teamDid:e}},getPermissions:{input:{teamDid:e}},getInvitations:{input:{teamDid:e}}});x((t.getRoles.roles||[]).filter((e=>!i.RBAC_CONFIG.roles.some((t=>t.name===e.name&&(!t.passport||t.noHuman))))).map((e=>(e.hasDescription=!!e.description,e.hasDescription||(e.description=a("team.passport.description",{teamName:U,title:e.title})),e)))),L(t.getPermissions.permissions||[]),P(t.getInvitations.invitations||[])}catch(t){l.Z.error(t.message)}};(0,o.useEffect)((()=>{H(t)}),[t]),(0,o.useEffect)((()=>{x((e=>e.map((e=>(e.hasDescription||(e.description=a("team.passport.description",{teamName:U,title:e.title})),{...e})))))}),[a,d]);const G=e=>{e.teamDid===t&&H(t)};(0,p.mU)(s.TeamEvents.userAdded,G,[t]),(0,p.mU)(s.TeamEvents.userRemoved,G,[t]),(0,p.mU)(s.TeamEvents.userUpdated,G,[t]);const M={teamDid:t,teamIssuerDid:T,teamName:U,invitations:I,roles:R,permissions:N,trustedPassports:O,trustedFactories:_,isNodeTeam:t===E.did,enablePassportIssuance:F,refresh:()=>H(t),passportColor:A,endpoint:t===E.did?(0,u.RU)(E):(0,r.Sk)(B),blocklet:w,api:{getUser:function(){let{did:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n={teamDid:t,user:{did:e}};return h.getUser({input:n})},getUsers:function(){let{query:e,paging:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const o={teamDid:t};return n&&(o.paging=n),e&&(o.query=e),o.sort={lastLoginAt:-1},h.getUsers({input:o})},getUsersCountPerRole:()=>h.getUsersCountPerRole({input:{teamDid:t}})}};return(0,g.jsx)(f,{value:M,children:n})}E.defaultProps={}},29054:(e,t,n)=>{n.d(t,{BlockletContext:()=>i,y0:()=>l});var o=n(5057);const i=(0,o.createContext)({}),{Provider:s,Consumer:a}=i;function l(){return(0,o.useContext)(i)}},17425:(e,t,n)=>{n.d(t,{DJ:()=>l,TeamContext:()=>i});var o=n(5057);const i=(0,o.createContext)({}),{Provider:s,Consumer:a}=i;function l(){return(0,o.useContext)(i)}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[7638],{31089:(e,t,o)=>{o.d(t,{Z:()=>h});var a=o(31461),r=o(7896),n=o(5057),l=o(9978),i=o(82261),c=o(77397),s=o(43740),d=o(42908),p=o(62773),v=o(46849),m=o(96036);function b(e){return(0,m.ZP)("MuiStep",e)}(0,v.Z)("MuiStep",["root","horizontal","vertical","alternativeLabel","completed"]);var u=o(96266);const Z=["active","children","className","component","completed","disabled","expanded","index","last"],x=(0,p.ZP)("div",{name:"MuiStep",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation],o.alternativeLabel&&t.alternativeLabel,o.completed&&t.completed]}})((e=>{let{ownerState:t}=e;return(0,r.Z)({},"horizontal"===t.orientation&&{paddingLeft:8,paddingRight:8},t.alternativeLabel&&{flex:1,position:"relative"})})),h=n.forwardRef((function(e,t){const o=(0,d.Z)({props:e,name:"MuiStep"}),{active:p,children:v,className:m,component:h="div",completed:S,disabled:L,expanded:f=!1,index:w,last:C}=o,y=(0,a.Z)(o,Z),{activeStep:g,connector:M,alternativeLabel:N,orientation:P,nonLinear:R}=n.useContext(c.Z);let[j=!1,z=!1,I=!1]=[p,S,L];g===w?j=void 0===p||p:!R&&g>w?z=void 0===S||S:!R&&g<w&&(I=void 0===L||L);const k=n.useMemo((()=>({index:w,last:C,expanded:f,icon:w+1,active:j,completed:z,disabled:I})),[w,C,f,j,z,I]),T=(0,r.Z)({},o,{active:j,orientation:P,alternativeLabel:N,completed:z,disabled:I,expanded:f,component:h}),W=(e=>{const{classes:t,orientation:o,alternativeLabel:a,completed:r}=e,n={root:["root",o,a&&"alternativeLabel",r&&"completed"]};return(0,i.Z)(n,b,t)})(T),A=(0,u.jsxs)(x,(0,r.Z)({as:h,className:(0,l.Z)(W.root,m),ref:t,ownerState:T},y,{children:[M&&N&&0!==w?M:null,v]}));return(0,u.jsx)(s.Z.Provider,{value:k,children:M&&!N&&0!==w?(0,u.jsxs)(n.Fragment,{children:[M,A]}):A})}))},43740:(e,t,o)=>{o.d(t,{Z:()=>r});const a=o(5057).createContext({});const r=a},71767:(e,t,o)=>{o.d(t,{Z:()=>T});var a=o(31461),r=o(7896),n=o(5057),l=o(9978),i=o(82261),c=o(62773),s=o(42908),d=o(57471),p=o(96266);const v=(0,d.Z)((0,p.jsx)("path",{d:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z"}),"CheckCircle"),m=(0,d.Z)((0,p.jsx)("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}),"Warning");var b=o(82555),u=o(46849),Z=o(96036);function x(e){return(0,Z.ZP)("MuiStepIcon",e)}const h=(0,u.Z)("MuiStepIcon",["root","active","completed","error","text"]);var S;const L=["active","className","completed","error","icon"],f=(0,c.ZP)(b.Z,{name:"MuiStepIcon",slot:"Root",overridesResolver:(e,t)=>t.root})((e=>{let{theme:t}=e;return{display:"block",transition:t.transitions.create("color",{duration:t.transitions.duration.shortest}),color:(t.vars||t).palette.text.disabled,["&.".concat(h.completed)]:{color:(t.vars||t).palette.primary.main},["&.".concat(h.active)]:{color:(t.vars||t).palette.primary.main},["&.".concat(h.error)]:{color:(t.vars||t).palette.error.main}}})),w=(0,c.ZP)("text",{name:"MuiStepIcon",slot:"Text",overridesResolver:(e,t)=>t.text})((e=>{let{theme:t}=e;return{fill:(t.vars||t).palette.primary.contrastText,fontSize:t.typography.caption.fontSize,fontFamily:t.typography.fontFamily}})),C=n.forwardRef((function(e,t){const o=(0,s.Z)({props:e,name:"MuiStepIcon"}),{active:n=!1,className:c,completed:d=!1,error:b=!1,icon:u}=o,Z=(0,a.Z)(o,L),h=(0,r.Z)({},o,{active:n,completed:d,error:b}),C=(e=>{const{classes:t,active:o,completed:a,error:r}=e,n={root:["root",o&&"active",a&&"completed",r&&"error"],text:["text"]};return(0,i.Z)(n,x,t)})(h);if("number"===typeof u||"string"===typeof u){const e=(0,l.Z)(c,C.root);return b?(0,p.jsx)(f,(0,r.Z)({as:m,className:e,ref:t,ownerState:h},Z)):d?(0,p.jsx)(f,(0,r.Z)({as:v,className:e,ref:t,ownerState:h},Z)):(0,p.jsxs)(f,(0,r.Z)({className:e,ref:t,ownerState:h},Z,{children:[S||(S=(0,p.jsx)("circle",{cx:"12",cy:"12",r:"12"})),(0,p.jsx)(w,{className:C.text,x:"12",y:"12",textAnchor:"middle",dominantBaseline:"central",ownerState:h,children:u})]}))}return u}));var y=o(77397),g=o(43740);function M(e){return(0,Z.ZP)("MuiStepLabel",e)}const N=(0,u.Z)("MuiStepLabel",["root","horizontal","vertical","label","active","completed","error","disabled","iconContainer","alternativeLabel","labelContainer"]),P=["children","className","componentsProps","error","icon","optional","slotProps","StepIconComponent","StepIconProps"],R=(0,c.ZP)("span",{name:"MuiStepLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation]]}})((e=>{let{ownerState:t}=e;return(0,r.Z)({display:"flex",alignItems:"center",["&.".concat(N.alternativeLabel)]:{flexDirection:"column"},["&.".concat(N.disabled)]:{cursor:"default"}},"vertical"===t.orientation&&{textAlign:"left",padding:"8px 0"})})),j=(0,c.ZP)("span",{name:"MuiStepLabel",slot:"Label",overridesResolver:(e,t)=>t.label})((e=>{let{theme:t}=e;return(0,r.Z)({},t.typography.body2,{display:"block",transition:t.transitions.create("color",{duration:t.transitions.duration.shortest}),["&.".concat(N.active)]:{color:(t.vars||t).palette.text.primary,fontWeight:500},["&.".concat(N.completed)]:{color:(t.vars||t).palette.text.primary,fontWeight:500},["&.".concat(N.alternativeLabel)]:{marginTop:16},["&.".concat(N.error)]:{color:(t.vars||t).palette.error.main}})})),z=(0,c.ZP)("span",{name:"MuiStepLabel",slot:"IconContainer",overridesResolver:(e,t)=>t.iconContainer})((()=>({flexShrink:0,display:"flex",paddingRight:8,["&.".concat(N.alternativeLabel)]:{paddingRight:0}}))),I=(0,c.ZP)("span",{name:"MuiStepLabel",slot:"LabelContainer",overridesResolver:(e,t)=>t.labelContainer})((e=>{let{theme:t}=e;return{width:"100%",color:(t.vars||t).palette.text.secondary,["&.".concat(N.alternativeLabel)]:{textAlign:"center"}}})),k=n.forwardRef((function(e,t){var o;const c=(0,s.Z)({props:e,name:"MuiStepLabel"}),{children:d,className:v,componentsProps:m={},error:b=!1,icon:u,optional:Z,slotProps:x={},StepIconComponent:h,StepIconProps:S}=c,L=(0,a.Z)(c,P),{alternativeLabel:f,orientation:w}=n.useContext(y.Z),{active:N,disabled:k,completed:T,icon:W}=n.useContext(g.Z),A=u||W;let _=h;A&&!_&&(_=C);const D=(0,r.Z)({},c,{active:N,alternativeLabel:f,completed:T,disabled:k,error:b,orientation:w}),F=(e=>{const{classes:t,orientation:o,active:a,completed:r,error:n,disabled:l,alternativeLabel:c}=e,s={root:["root",o,n&&"error",l&&"disabled",c&&"alternativeLabel"],label:["label",a&&"active",r&&"completed",n&&"error",l&&"disabled",c&&"alternativeLabel"],iconContainer:["iconContainer",a&&"active",r&&"completed",n&&"error",l&&"disabled",c&&"alternativeLabel"],labelContainer:["labelContainer",c&&"alternativeLabel"]};return(0,i.Z)(s,M,t)})(D),B=null!=(o=x.label)?o:m.label;return(0,p.jsxs)(R,(0,r.Z)({className:(0,l.Z)(F.root,v),ref:t,ownerState:D},L,{children:[A||_?(0,p.jsx)(z,{className:F.iconContainer,ownerState:D,children:(0,p.jsx)(_,(0,r.Z)({completed:T,active:N,error:b,icon:A},S))}):null,(0,p.jsxs)(I,{className:F.labelContainer,ownerState:D,children:[d?(0,p.jsx)(j,(0,r.Z)({ownerState:D},B,{className:(0,l.Z)(F.label,null==B?void 0:B.className),children:d})):null,Z]})]}))}));k.muiName="StepLabel";const T=k},20870:(e,t,o)=>{o.d(t,{Z:()=>g});var a=o(31461),r=o(7896),n=o(5057),l=o(9978),i=o(82261),c=o(42908),s=o(62773),d=o(46849),p=o(96036);function v(e){return(0,p.ZP)("MuiStepper",e)}(0,d.Z)("MuiStepper",["root","horizontal","vertical","alternativeLabel"]);var m=o(6285),b=o(77397),u=o(43740);function Z(e){return(0,p.ZP)("MuiStepConnector",e)}(0,d.Z)("MuiStepConnector",["root","horizontal","vertical","alternativeLabel","active","completed","disabled","line","lineHorizontal","lineVertical"]);var x=o(96266);const h=["className"],S=(0,s.ZP)("div",{name:"MuiStepConnector",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation],o.alternativeLabel&&t.alternativeLabel,o.completed&&t.completed]}})((e=>{let{ownerState:t}=e;return(0,r.Z)({flex:"1 1 auto"},"vertical"===t.orientation&&{marginLeft:12},t.alternativeLabel&&{position:"absolute",top:12,left:"calc(-50% + 20px)",right:"calc(50% + 20px)"})})),L=(0,s.ZP)("span",{name:"MuiStepConnector",slot:"Line",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.line,t["line".concat((0,m.Z)(o.orientation))]]}})((e=>{let{ownerState:t,theme:o}=e;const a="light"===o.palette.mode?o.palette.grey[400]:o.palette.grey[600];return(0,r.Z)({display:"block",borderColor:o.vars?o.vars.palette.StepConnector.border:a},"horizontal"===t.orientation&&{borderTopStyle:"solid",borderTopWidth:1},"vertical"===t.orientation&&{borderLeftStyle:"solid",borderLeftWidth:1,minHeight:24})})),f=n.forwardRef((function(e,t){const o=(0,c.Z)({props:e,name:"MuiStepConnector"}),{className:s}=o,d=(0,a.Z)(o,h),{alternativeLabel:p,orientation:v="horizontal"}=n.useContext(b.Z),{active:f,disabled:w,completed:C}=n.useContext(u.Z),y=(0,r.Z)({},o,{alternativeLabel:p,orientation:v,active:f,completed:C,disabled:w}),g=(e=>{const{classes:t,orientation:o,alternativeLabel:a,active:r,completed:n,disabled:l}=e,c={root:["root",o,a&&"alternativeLabel",r&&"active",n&&"completed",l&&"disabled"],line:["line","line".concat((0,m.Z)(o))]};return(0,i.Z)(c,Z,t)})(y);return(0,x.jsx)(S,(0,r.Z)({className:(0,l.Z)(g.root,s),ref:t,ownerState:y},d,{children:(0,x.jsx)(L,{className:g.line,ownerState:y})}))})),w=["activeStep","alternativeLabel","children","className","component","connector","nonLinear","orientation"],C=(0,s.ZP)("div",{name:"MuiStepper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation],o.alternativeLabel&&t.alternativeLabel]}})((e=>{let{ownerState:t}=e;return(0,r.Z)({display:"flex"},"horizontal"===t.orientation&&{flexDirection:"row",alignItems:"center"},"vertical"===t.orientation&&{flexDirection:"column"},t.alternativeLabel&&{alignItems:"flex-start"})})),y=(0,x.jsx)(f,{}),g=n.forwardRef((function(e,t){const o=(0,c.Z)({props:e,name:"MuiStepper"}),{activeStep:s=0,alternativeLabel:d=!1,children:p,className:m,component:u="div",connector:Z=y,nonLinear:h=!1,orientation:S="horizontal"}=o,L=(0,a.Z)(o,w),f=(0,r.Z)({},o,{alternativeLabel:d,orientation:S,component:u}),g=(e=>{const{orientation:t,alternativeLabel:o,classes:a}=e,r={root:["root",t,o&&"alternativeLabel"]};return(0,i.Z)(r,v,a)})(f),M=n.Children.toArray(p).filter(Boolean),N=M.map(((e,t)=>n.cloneElement(e,(0,r.Z)({index:t,last:t+1===M.length},e.props)))),P=n.useMemo((()=>({activeStep:s,alternativeLabel:d,connector:Z,nonLinear:h,orientation:S})),[s,d,Z,h,S]);return(0,x.jsx)(b.Z.Provider,{value:P,children:(0,x.jsx)(C,(0,r.Z)({as:u,ownerState:f,className:(0,l.Z)(g.root,m),ref:t},L,{children:N}))})}))},77397:(e,t,o)=>{o.d(t,{Z:()=>r});const a=o(5057).createContext({});const r=a}}]);
|
|
1
|
+
"use strict";(self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[7638],{31089:(e,t,o)=>{o.d(t,{Z:()=>h});var a=o(29218),r=o(7896),n=o(5057),l=o(9978),i=o(82261),c=o(77397),s=o(43740),d=o(42908),p=o(62773),v=o(46849),m=o(96036);function b(e){return(0,m.ZP)("MuiStep",e)}(0,v.Z)("MuiStep",["root","horizontal","vertical","alternativeLabel","completed"]);var u=o(96266);const Z=["active","children","className","component","completed","disabled","expanded","index","last"],x=(0,p.ZP)("div",{name:"MuiStep",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation],o.alternativeLabel&&t.alternativeLabel,o.completed&&t.completed]}})((e=>{let{ownerState:t}=e;return(0,r.Z)({},"horizontal"===t.orientation&&{paddingLeft:8,paddingRight:8},t.alternativeLabel&&{flex:1,position:"relative"})})),h=n.forwardRef((function(e,t){const o=(0,d.Z)({props:e,name:"MuiStep"}),{active:p,children:v,className:m,component:h="div",completed:S,disabled:L,expanded:f=!1,index:w,last:C}=o,y=(0,a.Z)(o,Z),{activeStep:g,connector:M,alternativeLabel:N,orientation:P,nonLinear:R}=n.useContext(c.Z);let[j=!1,z=!1,I=!1]=[p,S,L];g===w?j=void 0===p||p:!R&&g>w?z=void 0===S||S:!R&&g<w&&(I=void 0===L||L);const k=n.useMemo((()=>({index:w,last:C,expanded:f,icon:w+1,active:j,completed:z,disabled:I})),[w,C,f,j,z,I]),T=(0,r.Z)({},o,{active:j,orientation:P,alternativeLabel:N,completed:z,disabled:I,expanded:f,component:h}),W=(e=>{const{classes:t,orientation:o,alternativeLabel:a,completed:r}=e,n={root:["root",o,a&&"alternativeLabel",r&&"completed"]};return(0,i.Z)(n,b,t)})(T),A=(0,u.jsxs)(x,(0,r.Z)({as:h,className:(0,l.Z)(W.root,m),ref:t,ownerState:T},y,{children:[M&&N&&0!==w?M:null,v]}));return(0,u.jsx)(s.Z.Provider,{value:k,children:M&&!N&&0!==w?(0,u.jsxs)(n.Fragment,{children:[M,A]}):A})}))},43740:(e,t,o)=>{o.d(t,{Z:()=>r});const a=o(5057).createContext({});const r=a},71767:(e,t,o)=>{o.d(t,{Z:()=>T});var a=o(29218),r=o(7896),n=o(5057),l=o(9978),i=o(82261),c=o(62773),s=o(42908),d=o(57471),p=o(96266);const v=(0,d.Z)((0,p.jsx)("path",{d:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z"}),"CheckCircle"),m=(0,d.Z)((0,p.jsx)("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}),"Warning");var b=o(82555),u=o(46849),Z=o(96036);function x(e){return(0,Z.ZP)("MuiStepIcon",e)}const h=(0,u.Z)("MuiStepIcon",["root","active","completed","error","text"]);var S;const L=["active","className","completed","error","icon"],f=(0,c.ZP)(b.Z,{name:"MuiStepIcon",slot:"Root",overridesResolver:(e,t)=>t.root})((e=>{let{theme:t}=e;return{display:"block",transition:t.transitions.create("color",{duration:t.transitions.duration.shortest}),color:(t.vars||t).palette.text.disabled,["&.".concat(h.completed)]:{color:(t.vars||t).palette.primary.main},["&.".concat(h.active)]:{color:(t.vars||t).palette.primary.main},["&.".concat(h.error)]:{color:(t.vars||t).palette.error.main}}})),w=(0,c.ZP)("text",{name:"MuiStepIcon",slot:"Text",overridesResolver:(e,t)=>t.text})((e=>{let{theme:t}=e;return{fill:(t.vars||t).palette.primary.contrastText,fontSize:t.typography.caption.fontSize,fontFamily:t.typography.fontFamily}})),C=n.forwardRef((function(e,t){const o=(0,s.Z)({props:e,name:"MuiStepIcon"}),{active:n=!1,className:c,completed:d=!1,error:b=!1,icon:u}=o,Z=(0,a.Z)(o,L),h=(0,r.Z)({},o,{active:n,completed:d,error:b}),C=(e=>{const{classes:t,active:o,completed:a,error:r}=e,n={root:["root",o&&"active",a&&"completed",r&&"error"],text:["text"]};return(0,i.Z)(n,x,t)})(h);if("number"===typeof u||"string"===typeof u){const e=(0,l.Z)(c,C.root);return b?(0,p.jsx)(f,(0,r.Z)({as:m,className:e,ref:t,ownerState:h},Z)):d?(0,p.jsx)(f,(0,r.Z)({as:v,className:e,ref:t,ownerState:h},Z)):(0,p.jsxs)(f,(0,r.Z)({className:e,ref:t,ownerState:h},Z,{children:[S||(S=(0,p.jsx)("circle",{cx:"12",cy:"12",r:"12"})),(0,p.jsx)(w,{className:C.text,x:"12",y:"12",textAnchor:"middle",dominantBaseline:"central",ownerState:h,children:u})]}))}return u}));var y=o(77397),g=o(43740);function M(e){return(0,Z.ZP)("MuiStepLabel",e)}const N=(0,u.Z)("MuiStepLabel",["root","horizontal","vertical","label","active","completed","error","disabled","iconContainer","alternativeLabel","labelContainer"]),P=["children","className","componentsProps","error","icon","optional","slotProps","StepIconComponent","StepIconProps"],R=(0,c.ZP)("span",{name:"MuiStepLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation]]}})((e=>{let{ownerState:t}=e;return(0,r.Z)({display:"flex",alignItems:"center",["&.".concat(N.alternativeLabel)]:{flexDirection:"column"},["&.".concat(N.disabled)]:{cursor:"default"}},"vertical"===t.orientation&&{textAlign:"left",padding:"8px 0"})})),j=(0,c.ZP)("span",{name:"MuiStepLabel",slot:"Label",overridesResolver:(e,t)=>t.label})((e=>{let{theme:t}=e;return(0,r.Z)({},t.typography.body2,{display:"block",transition:t.transitions.create("color",{duration:t.transitions.duration.shortest}),["&.".concat(N.active)]:{color:(t.vars||t).palette.text.primary,fontWeight:500},["&.".concat(N.completed)]:{color:(t.vars||t).palette.text.primary,fontWeight:500},["&.".concat(N.alternativeLabel)]:{marginTop:16},["&.".concat(N.error)]:{color:(t.vars||t).palette.error.main}})})),z=(0,c.ZP)("span",{name:"MuiStepLabel",slot:"IconContainer",overridesResolver:(e,t)=>t.iconContainer})((()=>({flexShrink:0,display:"flex",paddingRight:8,["&.".concat(N.alternativeLabel)]:{paddingRight:0}}))),I=(0,c.ZP)("span",{name:"MuiStepLabel",slot:"LabelContainer",overridesResolver:(e,t)=>t.labelContainer})((e=>{let{theme:t}=e;return{width:"100%",color:(t.vars||t).palette.text.secondary,["&.".concat(N.alternativeLabel)]:{textAlign:"center"}}})),k=n.forwardRef((function(e,t){var o;const c=(0,s.Z)({props:e,name:"MuiStepLabel"}),{children:d,className:v,componentsProps:m={},error:b=!1,icon:u,optional:Z,slotProps:x={},StepIconComponent:h,StepIconProps:S}=c,L=(0,a.Z)(c,P),{alternativeLabel:f,orientation:w}=n.useContext(y.Z),{active:N,disabled:k,completed:T,icon:W}=n.useContext(g.Z),A=u||W;let _=h;A&&!_&&(_=C);const D=(0,r.Z)({},c,{active:N,alternativeLabel:f,completed:T,disabled:k,error:b,orientation:w}),F=(e=>{const{classes:t,orientation:o,active:a,completed:r,error:n,disabled:l,alternativeLabel:c}=e,s={root:["root",o,n&&"error",l&&"disabled",c&&"alternativeLabel"],label:["label",a&&"active",r&&"completed",n&&"error",l&&"disabled",c&&"alternativeLabel"],iconContainer:["iconContainer",a&&"active",r&&"completed",n&&"error",l&&"disabled",c&&"alternativeLabel"],labelContainer:["labelContainer",c&&"alternativeLabel"]};return(0,i.Z)(s,M,t)})(D),B=null!=(o=x.label)?o:m.label;return(0,p.jsxs)(R,(0,r.Z)({className:(0,l.Z)(F.root,v),ref:t,ownerState:D},L,{children:[A||_?(0,p.jsx)(z,{className:F.iconContainer,ownerState:D,children:(0,p.jsx)(_,(0,r.Z)({completed:T,active:N,error:b,icon:A},S))}):null,(0,p.jsxs)(I,{className:F.labelContainer,ownerState:D,children:[d?(0,p.jsx)(j,(0,r.Z)({ownerState:D},B,{className:(0,l.Z)(F.label,null==B?void 0:B.className),children:d})):null,Z]})]}))}));k.muiName="StepLabel";const T=k},20870:(e,t,o)=>{o.d(t,{Z:()=>g});var a=o(29218),r=o(7896),n=o(5057),l=o(9978),i=o(82261),c=o(42908),s=o(62773),d=o(46849),p=o(96036);function v(e){return(0,p.ZP)("MuiStepper",e)}(0,d.Z)("MuiStepper",["root","horizontal","vertical","alternativeLabel"]);var m=o(6285),b=o(77397),u=o(43740);function Z(e){return(0,p.ZP)("MuiStepConnector",e)}(0,d.Z)("MuiStepConnector",["root","horizontal","vertical","alternativeLabel","active","completed","disabled","line","lineHorizontal","lineVertical"]);var x=o(96266);const h=["className"],S=(0,s.ZP)("div",{name:"MuiStepConnector",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation],o.alternativeLabel&&t.alternativeLabel,o.completed&&t.completed]}})((e=>{let{ownerState:t}=e;return(0,r.Z)({flex:"1 1 auto"},"vertical"===t.orientation&&{marginLeft:12},t.alternativeLabel&&{position:"absolute",top:12,left:"calc(-50% + 20px)",right:"calc(50% + 20px)"})})),L=(0,s.ZP)("span",{name:"MuiStepConnector",slot:"Line",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.line,t["line".concat((0,m.Z)(o.orientation))]]}})((e=>{let{ownerState:t,theme:o}=e;const a="light"===o.palette.mode?o.palette.grey[400]:o.palette.grey[600];return(0,r.Z)({display:"block",borderColor:o.vars?o.vars.palette.StepConnector.border:a},"horizontal"===t.orientation&&{borderTopStyle:"solid",borderTopWidth:1},"vertical"===t.orientation&&{borderLeftStyle:"solid",borderLeftWidth:1,minHeight:24})})),f=n.forwardRef((function(e,t){const o=(0,c.Z)({props:e,name:"MuiStepConnector"}),{className:s}=o,d=(0,a.Z)(o,h),{alternativeLabel:p,orientation:v="horizontal"}=n.useContext(b.Z),{active:f,disabled:w,completed:C}=n.useContext(u.Z),y=(0,r.Z)({},o,{alternativeLabel:p,orientation:v,active:f,completed:C,disabled:w}),g=(e=>{const{classes:t,orientation:o,alternativeLabel:a,active:r,completed:n,disabled:l}=e,c={root:["root",o,a&&"alternativeLabel",r&&"active",n&&"completed",l&&"disabled"],line:["line","line".concat((0,m.Z)(o))]};return(0,i.Z)(c,Z,t)})(y);return(0,x.jsx)(S,(0,r.Z)({className:(0,l.Z)(g.root,s),ref:t,ownerState:y},d,{children:(0,x.jsx)(L,{className:g.line,ownerState:y})}))})),w=["activeStep","alternativeLabel","children","className","component","connector","nonLinear","orientation"],C=(0,s.ZP)("div",{name:"MuiStepper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation],o.alternativeLabel&&t.alternativeLabel]}})((e=>{let{ownerState:t}=e;return(0,r.Z)({display:"flex"},"horizontal"===t.orientation&&{flexDirection:"row",alignItems:"center"},"vertical"===t.orientation&&{flexDirection:"column"},t.alternativeLabel&&{alignItems:"flex-start"})})),y=(0,x.jsx)(f,{}),g=n.forwardRef((function(e,t){const o=(0,c.Z)({props:e,name:"MuiStepper"}),{activeStep:s=0,alternativeLabel:d=!1,children:p,className:m,component:u="div",connector:Z=y,nonLinear:h=!1,orientation:S="horizontal"}=o,L=(0,a.Z)(o,w),f=(0,r.Z)({},o,{alternativeLabel:d,orientation:S,component:u}),g=(e=>{const{orientation:t,alternativeLabel:o,classes:a}=e,r={root:["root",t,o&&"alternativeLabel"]};return(0,i.Z)(r,v,a)})(f),M=n.Children.toArray(p).filter(Boolean),N=M.map(((e,t)=>n.cloneElement(e,(0,r.Z)({index:t,last:t+1===M.length},e.props)))),P=n.useMemo((()=>({activeStep:s,alternativeLabel:d,connector:Z,nonLinear:h,orientation:S})),[s,d,Z,h,S]);return(0,x.jsx)(b.Z.Provider,{value:P,children:(0,x.jsx)(C,(0,r.Z)({as:u,ownerState:f,className:(0,l.Z)(g.root,m),ref:t},L,{children:N}))})}))},77397:(e,t,o)=>{o.d(t,{Z:()=>r});const a=o(5057).createContext({});const r=a}}]);
|