@abtnode/blocklet-services 1.16.38-beta-20250110-093740-edc58f78 → 1.16.38-beta-20250114-011103-277f0108

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.
Files changed (63) hide show
  1. package/api/libs/connect/session.js +47 -9
  2. package/api/routes/oauth.js +5 -7
  3. package/api/routes/user.js +6 -8
  4. package/dist/assets/{access-control-DcliPEX2.js → access-control-DYH-J6hX.js} +1 -1
  5. package/dist/assets/{add-component-core-DSlHbXth.js → add-component-core-BWkCzqAe.js} +1 -1
  6. package/dist/assets/{add-resource-B9SUcn9b.js → add-resource-gJH8Kf-h.js} +1 -1
  7. package/dist/assets/{analytics-BVmtToBr.js → analytics-Bv-kTIMo.js} +1 -1
  8. package/dist/assets/{audit-logs-DOpEhbRi.js → audit-logs-1KlkVb5T.js} +1 -1
  9. package/dist/assets/{branding-BIbnR-Yt.js → branding-CKhye1G1.js} +2 -2
  10. package/dist/assets/{bundle-avatar-DqROxHMq.js → bundle-avatar-B19h7IBb.js} +1 -1
  11. package/dist/assets/{complete-B_C_fwut.js → complete-XH7CJJ1E.js} +1 -1
  12. package/dist/assets/{component-eAmweIYL.js → component-B4nl0OGh.js} +1 -1
  13. package/dist/assets/{config-CWoxBu0J.js → config-B8mAOrZA.js} +1 -1
  14. package/dist/assets/{config-navigation-jKhcoDId.js → config-navigation-Y__TwRFz.js} +3 -3
  15. package/dist/assets/{config-space-Dofzrh5m.js → config-space-DJZf5rEq.js} +1 -1
  16. package/dist/assets/{confirm-C0rryr4e.js → confirm-CucPiuHr.js} +1 -1
  17. package/dist/assets/{connect-Wiz0Gw9I.js → connect-CPSe4Vws.js} +1 -1
  18. package/dist/assets/{connect-CfWNBUY4.js → connect-DH0hj2CX.js} +1 -1
  19. package/dist/assets/{connect-to-Dsq1ST9l.js → connect-to-DfzH7XJt.js} +1 -1
  20. package/dist/assets/{dashboard-Ca8O6iHB.js → dashboard-D7XqaqMa.js} +3 -3
  21. package/dist/assets/{domain-DJyjDPmO.js → domain-D80mBbZ5.js} +1 -1
  22. package/dist/assets/{domain-list-BEjAE8hh.js → domain-list-DGgkgu6r.js} +1 -1
  23. package/dist/assets/{email-C3ggDSGp.js → email-C1ha_p9W.js} +1 -1
  24. package/dist/assets/{exchange-passport-4QuzoW2F.js → exchange-passport-4uu5i0rP.js} +1 -1
  25. package/dist/assets/{form-text-input-CT57jMfW.js → form-text-input-DB90dWTR.js} +1 -1
  26. package/dist/assets/{fuel-CJ-CsgDu.js → fuel-PiarpzYg.js} +1 -1
  27. package/dist/assets/{index-CQT4qLcx.js → index-8ktBk2aq.js} +1 -1
  28. package/dist/assets/{index-CrvlY8Z5.js → index-B5PaGLoo.js} +1 -1
  29. package/dist/assets/{index-CqPx8QUY.js → index-BCUhK2IK.js} +1 -1
  30. package/dist/assets/{index-l4yaELph.js → index-BPFeU32W.js} +1 -1
  31. package/dist/assets/{index-BZnWmdZ0.js → index-BdipdMDv.js} +1 -1
  32. package/dist/assets/{index-BPF3oif7.js → index-CYcUSW9Y.js} +5 -5
  33. package/dist/assets/{index-IdPbsC-k.js → index-Cn9hlGXz.js} +1 -1
  34. package/dist/assets/{index-DMelUylN.js → index-D97FQw7_.js} +3 -3
  35. package/dist/assets/{index-BQxL3qXG.js → index-DDHKg1sP.js} +1 -1
  36. package/dist/assets/{index-wG4Kh8A_.js → index-DgZ1ypbb.js} +3 -3
  37. package/dist/assets/{index-Bxg1LKG8.js → index-N-iuMUsJ.js} +1 -1
  38. package/dist/assets/{index-ROkOEO9F.js → index-PIIZTXU1.js} +1 -1
  39. package/dist/assets/{invitation-Dn2JFqk3.js → invitation-D0h9V7Yr.js} +1 -1
  40. package/dist/assets/{invite-k-THgUaE.js → invite-CLadQHSg.js} +1 -1
  41. package/dist/assets/{issue-passport-Cp0z7zOC.js → issue-passport-DOvL3-GM.js} +1 -1
  42. package/dist/assets/{item-DqTNLhw3.js → item-BKMUYpdp.js} +1 -1
  43. package/dist/assets/{layout-BRN0uPvp.js → layout-Bb4get3W.js} +1 -1
  44. package/dist/assets/{log-D1ShKaDY.js → log-r4HRH3tf.js} +1 -1
  45. package/dist/assets/{login-D9awP98G.js → login-IiYHalJQ.js} +1 -1
  46. package/dist/assets/{logo-uploader-BA8U554_.js → logo-uploader-C1-XCCMv.js} +3 -3
  47. package/dist/assets/{lost-passport-kJqVsdV1.js → lost-passport-EcYlR7v6.js} +1 -1
  48. package/dist/assets/open-window-B-5Hms7z.js +1 -1
  49. package/dist/assets/{overview-4bff7RWe.js → overview-Bc6RN_5G.js} +1 -1
  50. package/dist/assets/{publish-resource-BhQQlAPL.js → publish-resource-cSMHC1nt.js} +1 -1
  51. package/dist/assets/{relative-time-BXb5Mt72.js → relative-time-BzZIQh7e.js} +1 -1
  52. package/dist/assets/{setup-DTQXAoXZ.js → setup-CdCyHLLn.js} +3 -3
  53. package/dist/assets/{start-DNpygdxp.js → start-owo1aKq8.js} +1 -1
  54. package/dist/assets/{step-actions-ClTz1KhK.js → step-actions-DnckX9Zh.js} +1 -1
  55. package/dist/assets/{transfer-A_yTwCWw.js → transfer-De5_Rua8.js} +1 -1
  56. package/dist/assets/{unsubscribe-uaBnibKD.js → unsubscribe-B0kFTEaS.js} +1 -1
  57. package/dist/assets/{user-center-B3stHKHJ.js → user-center-B9_0ML8Q.js} +1 -1
  58. package/dist/assets/{util-ao8gSgii.js → util-Ci0WMGC4.js} +1 -1
  59. package/dist/assets/{wrap-locale-DNve09jN.js → wrap-locale-D_rplmnG.js} +1 -1
  60. package/dist/index.html +1 -1
  61. package/dist/service-worker.js +1 -1
  62. package/dist/share/shared-service-worker.js +60 -2
  63. package/package.json +21 -21
@@ -1,4 +1,4 @@
1
- var Sw=Object.defineProperty;var Pw=(e,t,n)=>t in e?Sw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Uo=(e,t,n)=>Pw(e,typeof t!="symbol"?t+"":t,n);import{a1 as Se,j as w,a3 as Re,a4 as Fn,E as ie,cC as Qb,cD as Zb,cE as Tw,bs as Jb,aa as Lt,cF as Js,bR as Gt,H as el,cG as di,br as Xn,c2 as ut,aw as Ot,cH as kw,cI as Dw,cJ as Rw,cp as Te,co as Ze,cr as Ew,c as Pe,_ as L,cK as gr,cL as Ke,cM as Mw,cN as bs,b as zn,cO as Ka,cP as $w,c3 as Ow,cQ as Iw,bS as _w,ck as Aw,cR as Bw,c4 as jw,g as ze,a as Le,k as Fe,cS as ev,u as Ht,cT as Lw,d as tn,cU as tl,cV as Mp,o as rn,cW as tv,i as jr,cX as Nw,cY as fi,cZ as Fw,c_ as $p,f as hd,c$ as nv,d0 as zw,d1 as Ww,p as nl,J as Vw,d2 as Uw,bm as Op,ad as Ip,M as Zt,I as bn,t as qw,al as Hn,T as vs,a2 as Lr,e as Hw,aM as Gw,aQ as rl,d3 as Kw,bx as Yw,aN as Su,by as _p,aK as rv,x as Xw,D as Ap,ab as Bp,r as jp,bJ as Lp,bN as Bi,y as Qw,aO as Zw}from"./vendor-mui-core-BlX2BJoA.js";import{j as ov}from"./vendor-utils-DCpRgzMR.js";import{r as S,R as Jw,d as pi,a as $e,g as gd,b as tt,e as av,c as eS,k as iv}from"./vendor-react-D-afvo_7.js";import{ad as wr,g as Xt,z as ot,cC as tS,cD as nS,cm as Ce,aY as Np,aZ as rS,a_ as oS,a$ as aS,bf as iS,ao as mi,aO as Fp,bb as sS,cE as lS,cF as cS,af as Sr,aG as uS,al as bd,d as je,aa as dS,aq as fS,b2 as Yn,ag as ji,aM as pS}from"./vendor-arcblock-CiLB_TiI.js";import{d as sv}from"./Add-2VCvBnGd.js";import{F as mS,d as vd}from"./form-text-input-CT57jMfW.js";import{y as Kt,B as Wr,L as Ya,h as Gn,f as mt,al as bo,aB as hS,a5 as Nr,a4 as yd,aa as Pu,ao as lv,aC as cv,aD as gS,b as $a,m as oc,aE as bS}from"./index-wG4Kh8A_.js";import{b as vS,W as vo,c as yS,e as Cd,B as uv,f as CS}from"./dashboard-Ca8O6iHB.js";import{S as xS}from"./switch-control-D-IROOaC.js";import{P as Tu,w as Do}from"./permission-SgzW7fBj.js";import{r as wS}from"./index-DcfIKM1A.js";import{o as SS,e as PS,i as TS,p as kS,g as DS,d as zp,c as RS,b as nt,_ as Je,r as Pr}from"./slicedToArray-DNAGECrJ.js";import{r as Ye,a as xd,t as Yt,b as qe,e as ku,d as ES,s as ys,g as Du,m as dv,c as fv,f as MS,h as $S,i as Ru,j as pv,k as OS,l as IS,n as mv,o as wd,p as Wp,q as _S,u as Vp,v as AS,w as BS,x as ar,y as jS,z as Up,A as LS,B as ac,C as qp,D as NS,E as Li,F as Yr,G as FS,H as zS,I as Ni,J as ic,K as Fi,L as sc,M as lc,N as WS,O as VS,P as US,Q as qS,R as HS,S as GS,T as KS,U as YS,V as XS,W as QS}from"./index-BP6sEHV5.js";import{a as Qe,u as Me,r as Xa,d as Vr,b as ZS,w as Cs,g as hv,e as gv,c as JS,o as Eu}from"./raf-schd.esm-Cxhj8umC.js";import{C as Hp}from"./click-to-copy-DNu8CktB.js";import{d as Gp}from"./ChevronRight-B8pf890W.js";import{d as e1}from"./ChevronLeft-BfF37o7u.js";import{d as t1}from"./ArrowDropDown-BdHlAt9a.js";import{f as fn}from"./format-error-C0Ke3VXF.js";import{A as n1,a as r1,b as o1,d as bv,B as a1,f as i1}from"./add-component-core-DSlHbXth.js";import{C as Ro}from"./confirm-C0rryr4e.js";import{v as s1,a as xs}from"./util-ao8gSgii.js";import{d as l1}from"./LockIcon-DQtUl5vk.js";import{d as vv}from"./Launch-BOCFiYoz.js";import{C as c1}from"./item-DqTNLhw3.js";import{d as u1}from"./InfoOutlined-BFP30UJa.js";import{B as d1}from"./bundle-avatar-DqROxHMq.js";import{d as f1}from"./PlayArrow-oA7gV2MA.js";import{A as yv}from"./actions-BEpPU26q.js";import{I as cc}from"./index-mnKcDZP2.js";import{W as p1}from"./did-address-49U3oRW2.js";import{t as m1}from"./toUpper-BQrWudMF.js";import"./vendor-hooks-CLzfFpO7.js";import"./Done-BCESxXX2.js";import"./logo-uploader-BA8U554_.js";import"./index-DoZ2YM4T.js";import"./EditIcon-BF2eKBD0.js";import"./useLocalStorage-CSyjxtUy.js";import"./get-safe-url-RTzyOi09.js";import"./index-CQT4qLcx.js";import"./session-ocxAyn6f.js";import"./useAsyncRetry-KXMle3o0.js";import"./useAsync-cdOzMWPw.js";import"./useSetState-Crt4S51m.js";import"./launch-result-message-zXOcVqEr.js";import"./page-header-6EUz18Qu.js";import"./config-space-Dofzrh5m.js";import"./api-C0C4sDJA.js";import"./index-IdPbsC-k.js";import"./Google-rxW6OGq8.js";import"./index-Bi1xb9O8.js";import"./index-BGO2DsWz.js";import"./use-mobile-DAR0hmJd.js";import"./content-layout-CK_AzZZ-.js";import"./connect-to-Dsq1ST9l.js";import"./DeleteOutline-VzoIEqow.js";import"./shorten-label-BnvWOC_s.js";import"./MoreHoriz-DnFq43xg.js";var Sd={},h1=Se;Object.defineProperty(Sd,"__esModule",{value:!0});var Cv=Sd.default=void 0,g1=h1(wr()),b1=w;Cv=Sd.default=(0,g1.default)((0,b1.jsx)("path",{d:"M21 10.12h-6.78l2.74-2.82c-2.73-2.7-7.15-2.8-9.88-.1-2.73 2.71-2.73 7.08 0 9.79s7.15 2.71 9.88 0C18.32 15.65 19 14.08 19 12.1h2c0 1.98-.88 4.55-2.64 6.29-3.51 3.48-9.21 3.48-12.72 0-3.5-3.47-3.53-9.11-.02-12.58s9.14-3.47 12.65 0L21 3zM12.5 8v4.25l3.5 2.08-.72 1.21L11 13V8z"}),"Update");var Pd={},v1=Se;Object.defineProperty(Pd,"__esModule",{value:!0});var xv=Pd.default=void 0,y1=v1(wr()),C1=w;xv=Pd.default=(0,y1.default)((0,C1.jsx)("path",{d:"m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward");function Td({children:e,...t}){var l;const{t:n}=Xt(),{api:r}=Kt(),{blocklet:o}=Wr(),a=(l=o==null?void 0:o.settings)==null?void 0:l.autoCheckUpdate,i=async d=>{await r.updateAutoCheckUpdate({input:{did:o.meta.did,autoCheckUpdate:d}})},s=async()=>{try{const d=!(a!=null&&a.enabled);await i({enabled:d}),ot.success(n(d?"storage.spaces.autoCheckUpdate.enabled":"storage.spaces.autoCheckUpdate.disabled"))}catch(d){ot.error(d.message)}},c=!!(a!=null&&a.enabled);return w.jsxs(Re,{display:"flex",flexDirection:"row",alignItems:"center",children:[e,w.jsx(Fn,{title:n("storage.spaces.autoCheckUpdate.title"),arrow:!0,placement:"right",children:w.jsx("div",{children:w.jsx(xS,{checked:c,onChange:s,name:"enableWelcomePage",style:{...t.style,zoom:.8}})})})]})}Td.propTypes={children:ie.any};Td.defaultProps={children:null};var kd={},x1=Se;Object.defineProperty(kd,"__esModule",{value:!0});var ol=kd.default=void 0,w1=x1(wr()),S1=w;ol=kd.default=(0,w1.default)((0,S1.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"}),"Edit");var wv={},qo={},uc={};function Sv(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Sv(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function ye(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Sv(e))&&(r&&(r+=" "),r+=t);return r}function Ne(e,t,n=void 0){const r={};for(const o in e){const a=e[o];let i="",s=!0;for(let c=0;c<a.length;c+=1){const l=a[c];l&&(i+=(s===!0?"":" ")+t(l),s=!1,n&&n[l]&&(i+=" "+n[l]))}r[o]=i}return r}function ws(e){return typeof e=="string"}function Mu(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}function Pv(e){if(typeof e!="string")throw new Error(Mu(7));return e.charAt(0).toUpperCase()+e.slice(1)}function fr(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Tv(e){if(!fr(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=Tv(e[n])}),t}function Br(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return fr(e)&&fr(t)&&Object.keys(t).forEach(o=>{fr(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&fr(e[o])?r[o]=Br(e[o],t[o],n):n.clone?r[o]=fr(t[o])?Tv(t[o]):t[o]:r[o]=t[o]}),r}function La(e,t){return t?Br(e,t,{clone:!1}):e}function P1(e,t){if(!e.containerQueries)return t;const n=Object.keys(t).filter(r=>r.startsWith("@container")).sort((r,o)=>{var i,s;const a=/min-width:\s*([0-9.]+)/;return+(((i=r.match(a))==null?void 0:i[1])||0)-+(((s=o.match(a))==null?void 0:s[1])||0)});return n.length?n.reduce((r,o)=>{const a=t[o];return delete r[o],r[o]=a,r},{...t}):t}function T1(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function k1(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,r,o]=n,a=Number.isNaN(+r)?r||0:+r;return e.containerQueries(o).up(a)}function D1(e){const t=(a,i)=>a.replace("@media",i?`@container ${i}`:"@container");function n(a,i){a.up=(...s)=>t(e.breakpoints.up(...s),i),a.down=(...s)=>t(e.breakpoints.down(...s),i),a.between=(...s)=>t(e.breakpoints.between(...s),i),a.only=(...s)=>t(e.breakpoints.only(...s),i),a.not=(...s)=>{const c=t(e.breakpoints.not(...s),i);return c.includes("not all and")?c.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):c}}const r={},o=a=>(n(r,a),r);return n(o),{...e,containerQueries:o}}const al={xs:0,sm:600,md:900,lg:1200,xl:1536},Kp={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${al[e]}px)`},R1={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:al[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function Qn(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const a=r.breakpoints||Kp;return t.reduce((i,s,c)=>(i[a.up(a.keys[c])]=n(t[c]),i),{})}if(typeof t=="object"){const a=r.breakpoints||Kp;return Object.keys(t).reduce((i,s)=>{if(T1(a.keys,s)){const c=k1(r.containerQueries?r:R1,s);c&&(i[c]=n(t[s],s))}else if(Object.keys(a.values||al).includes(s)){const c=a.up(s);i[c]=n(t[s],s)}else{const c=s;i[c]=t[c]}return i},{})}return n(t)}function E1(e={}){var n;return((n=e.keys)==null?void 0:n.reduce((r,o)=>{const a=e.up(o);return r[a]={},r},{}))||{}}function M1(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function il(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((o,a)=>o&&o[a]?o[a]:null,e);if(r!=null)return r}return t.split(".").reduce((r,o)=>r&&r[o]!=null?r[o]:null,e)}function Ss(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=il(e,n)||r,t&&(o=t(o,r,e)),o}function Et(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,a=i=>{if(i[t]==null)return null;const s=i[t],c=i.theme,l=il(c,r)||{};return Qn(i,s,u=>{let f=Ss(l,o,u);return u===f&&typeof u=="string"&&(f=Ss(l,o,`${t}${u==="default"?"":Pv(u)}`,u)),n===!1?f:{[n]:f}})};return a.propTypes={},a.filterProps=[t],a}function $1(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const O1={m:"margin",p:"padding"},I1={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Yp={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},_1=$1(e=>{if(e.length>2)if(Yp[e])e=Yp[e];else return[e];const[t,n]=e.split(""),r=O1[t],o=I1[n]||"";return Array.isArray(o)?o.map(a=>r+a):[r+o]}),Dd=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Rd=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Dd,...Rd];function hi(e,t,n,r){const o=il(e,t,!0)??n;return typeof o=="number"||typeof o=="string"?a=>typeof a=="string"?a:typeof o=="string"?`calc(${a} * ${o})`:o*a:Array.isArray(o)?a=>{if(typeof a=="string")return a;const i=Math.abs(a),s=o[i];return a>=0?s:typeof s=="number"?-s:`-${s}`}:typeof o=="function"?o:()=>{}}function Ed(e){return hi(e,"spacing",8)}function gi(e,t){return typeof t=="string"||t==null?t:e(t)}function A1(e,t){return n=>e.reduce((r,o)=>(r[o]=gi(t,n),r),{})}function B1(e,t,n,r){if(!t.includes(n))return null;const o=_1(n),a=A1(o,r),i=e[n];return Qn(e,i,a)}function kv(e,t){const n=Ed(e.theme);return Object.keys(e).map(r=>B1(e,t,r,n)).reduce(La,{})}function Ct(e){return kv(e,Dd)}Ct.propTypes={};Ct.filterProps=Dd;function xt(e){return kv(e,Rd)}xt.propTypes={};xt.filterProps=Rd;function sl(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(a=>{r[a]=o}),r),{}),n=r=>Object.keys(r).reduce((o,a)=>t[a]?La(o,t[a](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function pn(e){return typeof e!="number"?e:`${e}px solid`}function Pn(e,t){return Et({prop:e,themeKey:"borders",transform:t})}const j1=Pn("border",pn),L1=Pn("borderTop",pn),N1=Pn("borderRight",pn),F1=Pn("borderBottom",pn),z1=Pn("borderLeft",pn),W1=Pn("borderColor"),V1=Pn("borderTopColor"),U1=Pn("borderRightColor"),q1=Pn("borderBottomColor"),H1=Pn("borderLeftColor"),G1=Pn("outline",pn),K1=Pn("outlineColor"),ll=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=hi(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:gi(t,r)});return Qn(e,e.borderRadius,n)}return null};ll.propTypes={};ll.filterProps=["borderRadius"];sl(j1,L1,N1,F1,z1,W1,V1,U1,q1,H1,ll,G1,K1);const cl=e=>{if(e.gap!==void 0&&e.gap!==null){const t=hi(e.theme,"spacing",8),n=r=>({gap:gi(t,r)});return Qn(e,e.gap,n)}return null};cl.propTypes={};cl.filterProps=["gap"];const ul=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=hi(e.theme,"spacing",8),n=r=>({columnGap:gi(t,r)});return Qn(e,e.columnGap,n)}return null};ul.propTypes={};ul.filterProps=["columnGap"];const dl=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=hi(e.theme,"spacing",8),n=r=>({rowGap:gi(t,r)});return Qn(e,e.rowGap,n)}return null};dl.propTypes={};dl.filterProps=["rowGap"];const Y1=Et({prop:"gridColumn"}),X1=Et({prop:"gridRow"}),Q1=Et({prop:"gridAutoFlow"}),Z1=Et({prop:"gridAutoColumns"}),J1=Et({prop:"gridAutoRows"}),eP=Et({prop:"gridTemplateColumns"}),tP=Et({prop:"gridTemplateRows"}),nP=Et({prop:"gridTemplateAreas"}),rP=Et({prop:"gridArea"});sl(cl,ul,dl,Y1,X1,Q1,Z1,J1,eP,tP,nP,rP);function fo(e,t){return t==="grey"?t:e}const oP=Et({prop:"color",themeKey:"palette",transform:fo}),aP=Et({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:fo}),iP=Et({prop:"backgroundColor",themeKey:"palette",transform:fo});sl(oP,aP,iP);function Jt(e){return e<=1&&e!==0?`${e*100}%`:e}const sP=Et({prop:"width",transform:Jt}),Md=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var o,a,i,s,c;const r=((i=(a=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:a.values)==null?void 0:i[n])||al[n];return r?((c=(s=e.theme)==null?void 0:s.breakpoints)==null?void 0:c.unit)!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:Jt(n)}};return Qn(e,e.maxWidth,t)}return null};Md.filterProps=["maxWidth"];const lP=Et({prop:"minWidth",transform:Jt}),cP=Et({prop:"height",transform:Jt}),uP=Et({prop:"maxHeight",transform:Jt}),dP=Et({prop:"minHeight",transform:Jt});Et({prop:"size",cssProperty:"width",transform:Jt});Et({prop:"size",cssProperty:"height",transform:Jt});const fP=Et({prop:"boxSizing"});sl(sP,Md,lP,cP,uP,dP,fP);const bi={border:{themeKey:"borders",transform:pn},borderTop:{themeKey:"borders",transform:pn},borderRight:{themeKey:"borders",transform:pn},borderBottom:{themeKey:"borders",transform:pn},borderLeft:{themeKey:"borders",transform:pn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:pn},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:ll},color:{themeKey:"palette",transform:fo},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:fo},backgroundColor:{themeKey:"palette",transform:fo},p:{style:xt},pt:{style:xt},pr:{style:xt},pb:{style:xt},pl:{style:xt},px:{style:xt},py:{style:xt},padding:{style:xt},paddingTop:{style:xt},paddingRight:{style:xt},paddingBottom:{style:xt},paddingLeft:{style:xt},paddingX:{style:xt},paddingY:{style:xt},paddingInline:{style:xt},paddingInlineStart:{style:xt},paddingInlineEnd:{style:xt},paddingBlock:{style:xt},paddingBlockStart:{style:xt},paddingBlockEnd:{style:xt},m:{style:Ct},mt:{style:Ct},mr:{style:Ct},mb:{style:Ct},ml:{style:Ct},mx:{style:Ct},my:{style:Ct},margin:{style:Ct},marginTop:{style:Ct},marginRight:{style:Ct},marginBottom:{style:Ct},marginLeft:{style:Ct},marginX:{style:Ct},marginY:{style:Ct},marginInline:{style:Ct},marginInlineStart:{style:Ct},marginInlineEnd:{style:Ct},marginBlock:{style:Ct},marginBlockStart:{style:Ct},marginBlockEnd:{style:Ct},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:cl},rowGap:{style:dl},columnGap:{style:ul},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Jt},maxWidth:{style:Md},minWidth:{transform:Jt},height:{transform:Jt},maxHeight:{transform:Jt},minHeight:{transform:Jt},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function pP(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function mP(e,t){return typeof e=="function"?e(t):e}function hP(){function e(n,r,o,a){const i={[n]:r,theme:o},s=a[n];if(!s)return{[n]:r};const{cssProperty:c=n,themeKey:l,transform:d,style:u}=s;if(r==null)return null;if(l==="typography"&&r==="inherit")return{[n]:r};const f=il(o,l)||{};return u?u(i):Qn(i,r,b=>{let h=Ss(f,d,b);return b===h&&typeof b=="string"&&(h=Ss(f,d,`${n}${b==="default"?"":Pv(b)}`,b)),c===!1?h:{[c]:h}})}function t(n){const{sx:r,theme:o={}}=n||{};if(!r)return null;const a=o.unstable_sxConfig??bi;function i(s){let c=s;if(typeof s=="function")c=s(o);else if(typeof s!="object")return s;if(!c)return null;const l=E1(o.breakpoints),d=Object.keys(l);let u=l;return Object.keys(c).forEach(f=>{const m=mP(c[f],o);if(m!=null)if(typeof m=="object")if(a[f])u=La(u,e(f,m,o,a));else{const b=Qn({theme:o},m,h=>({[f]:h}));pP(b,m)?u[f]=t({sx:m,theme:o}):u=La(u,b)}else u=La(u,e(f,m,o,a))}),P1(o,M1(d,u))}return Array.isArray(r)?r.map(i):i(r)}return t}const Ur=hP();Ur.filterProps=["sx"];const gP=e=>{var r;const t={systemProps:{},otherProps:{}},n=((r=e==null?void 0:e.theme)==null?void 0:r.unstable_sxConfig)??bi;return Object.keys(e).forEach(o=>{n[o]?t.systemProps[o]=e[o]:t.otherProps[o]=e[o]}),t};function Dv(e){const{sx:t,...n}=e,{systemProps:r,otherProps:o}=gP(n);let a;return Array.isArray(t)?a=[r,...t]:typeof t=="function"?a=(...i)=>{const s=t(...i);return fr(s)?{...r,...s}:r}:a={...r,...t},{...o,sx:a}}const bP=e=>{const t=Zb(e);class n extends Tw{constructor(o){super(o),this.prepend=t.sheet.prepend}}return t.sheet=new n({key:t.key,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy,prepend:t.sheet.prepend,insertionPoint:t.sheet.insertionPoint}),t};let $u;typeof document=="object"&&($u=bP({key:"css",prepend:!0}));function vP(e){const{injectFirst:t,children:n}=e;return t&&$u?w.jsx(Qb,{value:$u,children:n}):n}function yP(e){return e==null||Object.keys(e).length===0}function Rv(e){const{styles:t,defaultTheme:n={}}=e,r=typeof t=="function"?o=>t(yP(o)?n:o):t;return w.jsx(Jb,{styles:r})}/**
1
+ var Sw=Object.defineProperty;var Pw=(e,t,n)=>t in e?Sw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Uo=(e,t,n)=>Pw(e,typeof t!="symbol"?t+"":t,n);import{a1 as Se,j as w,a3 as Re,a4 as Fn,E as ie,cC as Qb,cD as Zb,cE as Tw,bs as Jb,aa as Lt,cF as Js,bR as Gt,H as el,cG as di,br as Xn,c2 as ut,aw as Ot,cH as kw,cI as Dw,cJ as Rw,cp as Te,co as Ze,cr as Ew,c as Pe,_ as L,cK as gr,cL as Ke,cM as Mw,cN as bs,b as zn,cO as Ka,cP as $w,c3 as Ow,cQ as Iw,bS as _w,ck as Aw,cR as Bw,c4 as jw,g as ze,a as Le,k as Fe,cS as ev,u as Ht,cT as Lw,d as tn,cU as tl,cV as Mp,o as rn,cW as tv,i as jr,cX as Nw,cY as fi,cZ as Fw,c_ as $p,f as hd,c$ as nv,d0 as zw,d1 as Ww,p as nl,J as Vw,d2 as Uw,bm as Op,ad as Ip,M as Zt,I as bn,t as qw,al as Hn,T as vs,a2 as Lr,e as Hw,aM as Gw,aQ as rl,d3 as Kw,bx as Yw,aN as Su,by as _p,aK as rv,x as Xw,D as Ap,ab as Bp,r as jp,bJ as Lp,bN as Bi,y as Qw,aO as Zw}from"./vendor-mui-core-BlX2BJoA.js";import{j as ov}from"./vendor-utils-DCpRgzMR.js";import{r as S,R as Jw,d as pi,a as $e,g as gd,b as tt,e as av,c as eS,k as iv}from"./vendor-react-D-afvo_7.js";import{ad as wr,g as Xt,z as ot,cC as tS,cD as nS,cm as Ce,aY as Np,aZ as rS,a_ as oS,a$ as aS,bf as iS,ao as mi,aO as Fp,bb as sS,cE as lS,cF as cS,af as Sr,aG as uS,al as bd,d as je,aa as dS,aq as fS,b2 as Yn,ag as ji,aM as pS}from"./vendor-arcblock-CiLB_TiI.js";import{d as sv}from"./Add-2VCvBnGd.js";import{F as mS,d as vd}from"./form-text-input-DB90dWTR.js";import{y as Kt,B as Wr,L as Ya,h as Gn,f as mt,al as bo,aB as hS,a5 as Nr,a4 as yd,aa as Pu,ao as lv,aC as cv,aD as gS,b as $a,m as oc,aE as bS}from"./index-DgZ1ypbb.js";import{b as vS,W as vo,c as yS,e as Cd,B as uv,f as CS}from"./dashboard-D7XqaqMa.js";import{S as xS}from"./switch-control-D-IROOaC.js";import{P as Tu,w as Do}from"./permission-SgzW7fBj.js";import{r as wS}from"./index-DcfIKM1A.js";import{o as SS,e as PS,i as TS,p as kS,g as DS,d as zp,c as RS,b as nt,_ as Je,r as Pr}from"./slicedToArray-DNAGECrJ.js";import{r as Ye,a as xd,t as Yt,b as qe,e as ku,d as ES,s as ys,g as Du,m as dv,c as fv,f as MS,h as $S,i as Ru,j as pv,k as OS,l as IS,n as mv,o as wd,p as Wp,q as _S,u as Vp,v as AS,w as BS,x as ar,y as jS,z as Up,A as LS,B as ac,C as qp,D as NS,E as Li,F as Yr,G as FS,H as zS,I as Ni,J as ic,K as Fi,L as sc,M as lc,N as WS,O as VS,P as US,Q as qS,R as HS,S as GS,T as KS,U as YS,V as XS,W as QS}from"./index-BP6sEHV5.js";import{a as Qe,u as Me,r as Xa,d as Vr,b as ZS,w as Cs,g as hv,e as gv,c as JS,o as Eu}from"./raf-schd.esm-Cxhj8umC.js";import{C as Hp}from"./click-to-copy-DNu8CktB.js";import{d as Gp}from"./ChevronRight-B8pf890W.js";import{d as e1}from"./ChevronLeft-BfF37o7u.js";import{d as t1}from"./ArrowDropDown-BdHlAt9a.js";import{f as fn}from"./format-error-C0Ke3VXF.js";import{A as n1,a as r1,b as o1,d as bv,B as a1,f as i1}from"./add-component-core-BWkCzqAe.js";import{C as Ro}from"./confirm-CucPiuHr.js";import{v as s1,a as xs}from"./util-Ci0WMGC4.js";import{d as l1}from"./LockIcon-DQtUl5vk.js";import{d as vv}from"./Launch-BOCFiYoz.js";import{C as c1}from"./item-BKMUYpdp.js";import{d as u1}from"./InfoOutlined-BFP30UJa.js";import{B as d1}from"./bundle-avatar-B19h7IBb.js";import{d as f1}from"./PlayArrow-oA7gV2MA.js";import{A as yv}from"./actions-BEpPU26q.js";import{I as cc}from"./index-mnKcDZP2.js";import{W as p1}from"./did-address-49U3oRW2.js";import{t as m1}from"./toUpper-BQrWudMF.js";import"./vendor-hooks-CLzfFpO7.js";import"./Done-BCESxXX2.js";import"./logo-uploader-C1-XCCMv.js";import"./index-DoZ2YM4T.js";import"./EditIcon-BF2eKBD0.js";import"./useLocalStorage-CSyjxtUy.js";import"./get-safe-url-CVhAz4Qr.js";import"./index-8ktBk2aq.js";import"./session-ocxAyn6f.js";import"./useAsyncRetry-KXMle3o0.js";import"./useAsync-cdOzMWPw.js";import"./useSetState-Crt4S51m.js";import"./launch-result-message-zXOcVqEr.js";import"./page-header-6EUz18Qu.js";import"./config-space-DJZf5rEq.js";import"./api-C0C4sDJA.js";import"./index-Cn9hlGXz.js";import"./Google-rxW6OGq8.js";import"./index-Bi1xb9O8.js";import"./index-BGO2DsWz.js";import"./use-mobile-DAR0hmJd.js";import"./content-layout-CK_AzZZ-.js";import"./connect-to-DfzH7XJt.js";import"./DeleteOutline-VzoIEqow.js";import"./shorten-label-BnvWOC_s.js";import"./MoreHoriz-DnFq43xg.js";var Sd={},h1=Se;Object.defineProperty(Sd,"__esModule",{value:!0});var Cv=Sd.default=void 0,g1=h1(wr()),b1=w;Cv=Sd.default=(0,g1.default)((0,b1.jsx)("path",{d:"M21 10.12h-6.78l2.74-2.82c-2.73-2.7-7.15-2.8-9.88-.1-2.73 2.71-2.73 7.08 0 9.79s7.15 2.71 9.88 0C18.32 15.65 19 14.08 19 12.1h2c0 1.98-.88 4.55-2.64 6.29-3.51 3.48-9.21 3.48-12.72 0-3.5-3.47-3.53-9.11-.02-12.58s9.14-3.47 12.65 0L21 3zM12.5 8v4.25l3.5 2.08-.72 1.21L11 13V8z"}),"Update");var Pd={},v1=Se;Object.defineProperty(Pd,"__esModule",{value:!0});var xv=Pd.default=void 0,y1=v1(wr()),C1=w;xv=Pd.default=(0,y1.default)((0,C1.jsx)("path",{d:"m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward");function Td({children:e,...t}){var l;const{t:n}=Xt(),{api:r}=Kt(),{blocklet:o}=Wr(),a=(l=o==null?void 0:o.settings)==null?void 0:l.autoCheckUpdate,i=async d=>{await r.updateAutoCheckUpdate({input:{did:o.meta.did,autoCheckUpdate:d}})},s=async()=>{try{const d=!(a!=null&&a.enabled);await i({enabled:d}),ot.success(n(d?"storage.spaces.autoCheckUpdate.enabled":"storage.spaces.autoCheckUpdate.disabled"))}catch(d){ot.error(d.message)}},c=!!(a!=null&&a.enabled);return w.jsxs(Re,{display:"flex",flexDirection:"row",alignItems:"center",children:[e,w.jsx(Fn,{title:n("storage.spaces.autoCheckUpdate.title"),arrow:!0,placement:"right",children:w.jsx("div",{children:w.jsx(xS,{checked:c,onChange:s,name:"enableWelcomePage",style:{...t.style,zoom:.8}})})})]})}Td.propTypes={children:ie.any};Td.defaultProps={children:null};var kd={},x1=Se;Object.defineProperty(kd,"__esModule",{value:!0});var ol=kd.default=void 0,w1=x1(wr()),S1=w;ol=kd.default=(0,w1.default)((0,S1.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"}),"Edit");var wv={},qo={},uc={};function Sv(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Sv(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function ye(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Sv(e))&&(r&&(r+=" "),r+=t);return r}function Ne(e,t,n=void 0){const r={};for(const o in e){const a=e[o];let i="",s=!0;for(let c=0;c<a.length;c+=1){const l=a[c];l&&(i+=(s===!0?"":" ")+t(l),s=!1,n&&n[l]&&(i+=" "+n[l]))}r[o]=i}return r}function ws(e){return typeof e=="string"}function Mu(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}function Pv(e){if(typeof e!="string")throw new Error(Mu(7));return e.charAt(0).toUpperCase()+e.slice(1)}function fr(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Tv(e){if(!fr(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=Tv(e[n])}),t}function Br(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return fr(e)&&fr(t)&&Object.keys(t).forEach(o=>{fr(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&fr(e[o])?r[o]=Br(e[o],t[o],n):n.clone?r[o]=fr(t[o])?Tv(t[o]):t[o]:r[o]=t[o]}),r}function La(e,t){return t?Br(e,t,{clone:!1}):e}function P1(e,t){if(!e.containerQueries)return t;const n=Object.keys(t).filter(r=>r.startsWith("@container")).sort((r,o)=>{var i,s;const a=/min-width:\s*([0-9.]+)/;return+(((i=r.match(a))==null?void 0:i[1])||0)-+(((s=o.match(a))==null?void 0:s[1])||0)});return n.length?n.reduce((r,o)=>{const a=t[o];return delete r[o],r[o]=a,r},{...t}):t}function T1(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function k1(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,r,o]=n,a=Number.isNaN(+r)?r||0:+r;return e.containerQueries(o).up(a)}function D1(e){const t=(a,i)=>a.replace("@media",i?`@container ${i}`:"@container");function n(a,i){a.up=(...s)=>t(e.breakpoints.up(...s),i),a.down=(...s)=>t(e.breakpoints.down(...s),i),a.between=(...s)=>t(e.breakpoints.between(...s),i),a.only=(...s)=>t(e.breakpoints.only(...s),i),a.not=(...s)=>{const c=t(e.breakpoints.not(...s),i);return c.includes("not all and")?c.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):c}}const r={},o=a=>(n(r,a),r);return n(o),{...e,containerQueries:o}}const al={xs:0,sm:600,md:900,lg:1200,xl:1536},Kp={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${al[e]}px)`},R1={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:al[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function Qn(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const a=r.breakpoints||Kp;return t.reduce((i,s,c)=>(i[a.up(a.keys[c])]=n(t[c]),i),{})}if(typeof t=="object"){const a=r.breakpoints||Kp;return Object.keys(t).reduce((i,s)=>{if(T1(a.keys,s)){const c=k1(r.containerQueries?r:R1,s);c&&(i[c]=n(t[s],s))}else if(Object.keys(a.values||al).includes(s)){const c=a.up(s);i[c]=n(t[s],s)}else{const c=s;i[c]=t[c]}return i},{})}return n(t)}function E1(e={}){var n;return((n=e.keys)==null?void 0:n.reduce((r,o)=>{const a=e.up(o);return r[a]={},r},{}))||{}}function M1(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function il(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((o,a)=>o&&o[a]?o[a]:null,e);if(r!=null)return r}return t.split(".").reduce((r,o)=>r&&r[o]!=null?r[o]:null,e)}function Ss(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=il(e,n)||r,t&&(o=t(o,r,e)),o}function Et(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,a=i=>{if(i[t]==null)return null;const s=i[t],c=i.theme,l=il(c,r)||{};return Qn(i,s,u=>{let f=Ss(l,o,u);return u===f&&typeof u=="string"&&(f=Ss(l,o,`${t}${u==="default"?"":Pv(u)}`,u)),n===!1?f:{[n]:f}})};return a.propTypes={},a.filterProps=[t],a}function $1(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const O1={m:"margin",p:"padding"},I1={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Yp={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},_1=$1(e=>{if(e.length>2)if(Yp[e])e=Yp[e];else return[e];const[t,n]=e.split(""),r=O1[t],o=I1[n]||"";return Array.isArray(o)?o.map(a=>r+a):[r+o]}),Dd=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Rd=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Dd,...Rd];function hi(e,t,n,r){const o=il(e,t,!0)??n;return typeof o=="number"||typeof o=="string"?a=>typeof a=="string"?a:typeof o=="string"?`calc(${a} * ${o})`:o*a:Array.isArray(o)?a=>{if(typeof a=="string")return a;const i=Math.abs(a),s=o[i];return a>=0?s:typeof s=="number"?-s:`-${s}`}:typeof o=="function"?o:()=>{}}function Ed(e){return hi(e,"spacing",8)}function gi(e,t){return typeof t=="string"||t==null?t:e(t)}function A1(e,t){return n=>e.reduce((r,o)=>(r[o]=gi(t,n),r),{})}function B1(e,t,n,r){if(!t.includes(n))return null;const o=_1(n),a=A1(o,r),i=e[n];return Qn(e,i,a)}function kv(e,t){const n=Ed(e.theme);return Object.keys(e).map(r=>B1(e,t,r,n)).reduce(La,{})}function Ct(e){return kv(e,Dd)}Ct.propTypes={};Ct.filterProps=Dd;function xt(e){return kv(e,Rd)}xt.propTypes={};xt.filterProps=Rd;function sl(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(a=>{r[a]=o}),r),{}),n=r=>Object.keys(r).reduce((o,a)=>t[a]?La(o,t[a](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function pn(e){return typeof e!="number"?e:`${e}px solid`}function Pn(e,t){return Et({prop:e,themeKey:"borders",transform:t})}const j1=Pn("border",pn),L1=Pn("borderTop",pn),N1=Pn("borderRight",pn),F1=Pn("borderBottom",pn),z1=Pn("borderLeft",pn),W1=Pn("borderColor"),V1=Pn("borderTopColor"),U1=Pn("borderRightColor"),q1=Pn("borderBottomColor"),H1=Pn("borderLeftColor"),G1=Pn("outline",pn),K1=Pn("outlineColor"),ll=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=hi(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:gi(t,r)});return Qn(e,e.borderRadius,n)}return null};ll.propTypes={};ll.filterProps=["borderRadius"];sl(j1,L1,N1,F1,z1,W1,V1,U1,q1,H1,ll,G1,K1);const cl=e=>{if(e.gap!==void 0&&e.gap!==null){const t=hi(e.theme,"spacing",8),n=r=>({gap:gi(t,r)});return Qn(e,e.gap,n)}return null};cl.propTypes={};cl.filterProps=["gap"];const ul=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=hi(e.theme,"spacing",8),n=r=>({columnGap:gi(t,r)});return Qn(e,e.columnGap,n)}return null};ul.propTypes={};ul.filterProps=["columnGap"];const dl=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=hi(e.theme,"spacing",8),n=r=>({rowGap:gi(t,r)});return Qn(e,e.rowGap,n)}return null};dl.propTypes={};dl.filterProps=["rowGap"];const Y1=Et({prop:"gridColumn"}),X1=Et({prop:"gridRow"}),Q1=Et({prop:"gridAutoFlow"}),Z1=Et({prop:"gridAutoColumns"}),J1=Et({prop:"gridAutoRows"}),eP=Et({prop:"gridTemplateColumns"}),tP=Et({prop:"gridTemplateRows"}),nP=Et({prop:"gridTemplateAreas"}),rP=Et({prop:"gridArea"});sl(cl,ul,dl,Y1,X1,Q1,Z1,J1,eP,tP,nP,rP);function fo(e,t){return t==="grey"?t:e}const oP=Et({prop:"color",themeKey:"palette",transform:fo}),aP=Et({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:fo}),iP=Et({prop:"backgroundColor",themeKey:"palette",transform:fo});sl(oP,aP,iP);function Jt(e){return e<=1&&e!==0?`${e*100}%`:e}const sP=Et({prop:"width",transform:Jt}),Md=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var o,a,i,s,c;const r=((i=(a=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:a.values)==null?void 0:i[n])||al[n];return r?((c=(s=e.theme)==null?void 0:s.breakpoints)==null?void 0:c.unit)!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:Jt(n)}};return Qn(e,e.maxWidth,t)}return null};Md.filterProps=["maxWidth"];const lP=Et({prop:"minWidth",transform:Jt}),cP=Et({prop:"height",transform:Jt}),uP=Et({prop:"maxHeight",transform:Jt}),dP=Et({prop:"minHeight",transform:Jt});Et({prop:"size",cssProperty:"width",transform:Jt});Et({prop:"size",cssProperty:"height",transform:Jt});const fP=Et({prop:"boxSizing"});sl(sP,Md,lP,cP,uP,dP,fP);const bi={border:{themeKey:"borders",transform:pn},borderTop:{themeKey:"borders",transform:pn},borderRight:{themeKey:"borders",transform:pn},borderBottom:{themeKey:"borders",transform:pn},borderLeft:{themeKey:"borders",transform:pn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:pn},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:ll},color:{themeKey:"palette",transform:fo},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:fo},backgroundColor:{themeKey:"palette",transform:fo},p:{style:xt},pt:{style:xt},pr:{style:xt},pb:{style:xt},pl:{style:xt},px:{style:xt},py:{style:xt},padding:{style:xt},paddingTop:{style:xt},paddingRight:{style:xt},paddingBottom:{style:xt},paddingLeft:{style:xt},paddingX:{style:xt},paddingY:{style:xt},paddingInline:{style:xt},paddingInlineStart:{style:xt},paddingInlineEnd:{style:xt},paddingBlock:{style:xt},paddingBlockStart:{style:xt},paddingBlockEnd:{style:xt},m:{style:Ct},mt:{style:Ct},mr:{style:Ct},mb:{style:Ct},ml:{style:Ct},mx:{style:Ct},my:{style:Ct},margin:{style:Ct},marginTop:{style:Ct},marginRight:{style:Ct},marginBottom:{style:Ct},marginLeft:{style:Ct},marginX:{style:Ct},marginY:{style:Ct},marginInline:{style:Ct},marginInlineStart:{style:Ct},marginInlineEnd:{style:Ct},marginBlock:{style:Ct},marginBlockStart:{style:Ct},marginBlockEnd:{style:Ct},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:cl},rowGap:{style:dl},columnGap:{style:ul},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Jt},maxWidth:{style:Md},minWidth:{transform:Jt},height:{transform:Jt},maxHeight:{transform:Jt},minHeight:{transform:Jt},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function pP(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function mP(e,t){return typeof e=="function"?e(t):e}function hP(){function e(n,r,o,a){const i={[n]:r,theme:o},s=a[n];if(!s)return{[n]:r};const{cssProperty:c=n,themeKey:l,transform:d,style:u}=s;if(r==null)return null;if(l==="typography"&&r==="inherit")return{[n]:r};const f=il(o,l)||{};return u?u(i):Qn(i,r,b=>{let h=Ss(f,d,b);return b===h&&typeof b=="string"&&(h=Ss(f,d,`${n}${b==="default"?"":Pv(b)}`,b)),c===!1?h:{[c]:h}})}function t(n){const{sx:r,theme:o={}}=n||{};if(!r)return null;const a=o.unstable_sxConfig??bi;function i(s){let c=s;if(typeof s=="function")c=s(o);else if(typeof s!="object")return s;if(!c)return null;const l=E1(o.breakpoints),d=Object.keys(l);let u=l;return Object.keys(c).forEach(f=>{const m=mP(c[f],o);if(m!=null)if(typeof m=="object")if(a[f])u=La(u,e(f,m,o,a));else{const b=Qn({theme:o},m,h=>({[f]:h}));pP(b,m)?u[f]=t({sx:m,theme:o}):u=La(u,b)}else u=La(u,e(f,m,o,a))}),P1(o,M1(d,u))}return Array.isArray(r)?r.map(i):i(r)}return t}const Ur=hP();Ur.filterProps=["sx"];const gP=e=>{var r;const t={systemProps:{},otherProps:{}},n=((r=e==null?void 0:e.theme)==null?void 0:r.unstable_sxConfig)??bi;return Object.keys(e).forEach(o=>{n[o]?t.systemProps[o]=e[o]:t.otherProps[o]=e[o]}),t};function Dv(e){const{sx:t,...n}=e,{systemProps:r,otherProps:o}=gP(n);let a;return Array.isArray(t)?a=[r,...t]:typeof t=="function"?a=(...i)=>{const s=t(...i);return fr(s)?{...r,...s}:r}:a={...r,...t},{...o,sx:a}}const bP=e=>{const t=Zb(e);class n extends Tw{constructor(o){super(o),this.prepend=t.sheet.prepend}}return t.sheet=new n({key:t.key,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy,prepend:t.sheet.prepend,insertionPoint:t.sheet.insertionPoint}),t};let $u;typeof document=="object"&&($u=bP({key:"css",prepend:!0}));function vP(e){const{injectFirst:t,children:n}=e;return t&&$u?w.jsx(Qb,{value:$u,children:n}):n}function yP(e){return e==null||Object.keys(e).length===0}function Rv(e){const{styles:t,defaultTheme:n={}}=e,r=typeof t=="function"?o=>t(yP(o)?n:o):t;return w.jsx(Jb,{styles:r})}/**
2
2
  * @mui/styled-engine v6.1.0
3
3
  *
4
4
  * @license MIT
@@ -1,4 +1,4 @@
1
- import{j as n,aa as I,E as g,t as U}from"./vendor-mui-core-BlX2BJoA.js";import{r as l}from"./vendor-react-D-afvo_7.js";import{j as q}from"./vendor-utils-DCpRgzMR.js";import{g as F,d as G,b6 as z,bk as H,bA as M,z as D}from"./vendor-arcblock-CiLB_TiI.js";import{S as Y}from"./index-IdPbsC-k.js";import{P as Q}from"./page-header-6EUz18Qu.js";import{o as $,H as V,h as u,f as T}from"./index-wG4Kh8A_.js";import{S as W}from"./layout-BRN0uPvp.js";import{S as X}from"./step-actions-ClTz1KhK.js";import{S as J}from"./button-Bo5ZAcJk.js";import"./vendor-hooks-CLzfFpO7.js";import"./Done-BCESxXX2.js";import"./Google-rxW6OGq8.js";import"./logo-uploader-BA8U554_.js";import"./index-DoZ2YM4T.js";import"./content-layout-CK_AzZZ-.js";function x({children:C,bottom:E,onBottomFix:f}){const i=l.useRef(null),s=l.useRef(null),m=l.useRef(null),r=l.useRef(null),[L,h]=l.useState(!1);return l.useEffect(()=>{let t;const a=()=>{t||(t=setTimeout(()=>{s.current&&(s.current.scrollHeight>i.current.clientHeight-m.current.clientHeight?(r.current!=="fix"&&(f("fix"),r.current="fix"),h(!0)):(r.current!=="scroll"&&(f("scroll"),r.current="scroll"),h(!1))),t=null},50))};let d;return window.ResizeObserver?d=new ResizeObserver(a):window.addEventListener("resize",a),d.observe(i.current),d.observe(s.current),()=>{d?d.disconnect():window.removeEventListener("resize",a),t&&clearTimeout(t)}},[f]),n.jsxs(Z,{ref:i,className:`${L?"scroll-mode":""}`,children:[n.jsx("div",{className:"compact-context",ref:s,children:C}),n.jsx("div",{className:"fix-container",ref:m,children:E})]})}const Z=I.div`
1
+ import{j as n,aa as I,E as g,t as U}from"./vendor-mui-core-BlX2BJoA.js";import{r as l}from"./vendor-react-D-afvo_7.js";import{j as q}from"./vendor-utils-DCpRgzMR.js";import{g as F,d as G,b6 as z,bk as H,bA as M,z as D}from"./vendor-arcblock-CiLB_TiI.js";import{S as Y}from"./index-Cn9hlGXz.js";import{P as Q}from"./page-header-6EUz18Qu.js";import{o as $,H as V,h as u,f as T}from"./index-DgZ1ypbb.js";import{S as W}from"./layout-Bb4get3W.js";import{S as X}from"./step-actions-DnckX9Zh.js";import{S as J}from"./button-Bo5ZAcJk.js";import"./vendor-hooks-CLzfFpO7.js";import"./Done-BCESxXX2.js";import"./Google-rxW6OGq8.js";import"./logo-uploader-C1-XCCMv.js";import"./index-DoZ2YM4T.js";import"./content-layout-CK_AzZZ-.js";function x({children:C,bottom:E,onBottomFix:f}){const i=l.useRef(null),s=l.useRef(null),m=l.useRef(null),r=l.useRef(null),[L,h]=l.useState(!1);return l.useEffect(()=>{let t;const a=()=>{t||(t=setTimeout(()=>{s.current&&(s.current.scrollHeight>i.current.clientHeight-m.current.clientHeight?(r.current!=="fix"&&(f("fix"),r.current="fix"),h(!0)):(r.current!=="scroll"&&(f("scroll"),r.current="scroll"),h(!1))),t=null},50))};let d;return window.ResizeObserver?d=new ResizeObserver(a):window.addEventListener("resize",a),d.observe(i.current),d.observe(s.current),()=>{d?d.disconnect():window.removeEventListener("resize",a),t&&clearTimeout(t)}},[f]),n.jsxs(Z,{ref:i,className:`${L?"scroll-mode":""}`,children:[n.jsx("div",{className:"compact-context",ref:s,children:C}),n.jsx("div",{className:"fix-container",ref:m,children:E})]})}const Z=I.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;