wizards 0.2.41 → 0.2.42
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/apps/web/dist/assets/{ChangelogDialog-D3nkBHzo.js → ChangelogDialog-BxRBTR8P.js} +1 -1
- package/apps/web/dist/assets/{CreditsDialog-DnI1-cxI.js → CreditsDialog-DPglouDr.js} +1 -1
- package/apps/web/dist/assets/{EditorPage-Bl6kef8d.js → EditorPage-BKAFzzWk.js} +1 -1
- package/apps/web/dist/assets/{FlowPreview-8sN-J3Wt.js → FlowPreview-CQN5acxA.js} +1 -1
- package/apps/web/dist/assets/{Harness-BQIznJjo.js → Harness-BFxUFB7B.js} +1 -1
- package/apps/web/dist/assets/{HomePage-BRz-wGtK.js → HomePage-BZuwrr-b.js} +1 -1
- package/apps/web/dist/assets/{ImportWizard-B2STI62b.js → ImportWizard-JGMemER4.js} +1 -1
- package/apps/web/dist/assets/{NewWizardPage-3Bl7JPTj.js → NewWizardPage-BwHAsJwj.js} +2 -2
- package/apps/web/dist/assets/{ProjectPage-CuurGBsI.js → ProjectPage--ijr1jPE.js} +1 -1
- package/apps/web/dist/assets/{PublicRunner-DDFg4Dfr.js → PublicRunner-D9Oe-_vs.js} +1 -1
- package/apps/web/dist/assets/{RunDrawer-CMr7z8PZ.js → RunDrawer-BfociUm2.js} +1 -1
- package/apps/web/dist/assets/{RunnerView-DyMVB56S.js → RunnerView-D2b84UTY.js} +1 -1
- package/apps/web/dist/assets/{SettingsPage-VeFv2IjG.js → SettingsPage-9rk9IRdr.js} +1 -1
- package/apps/web/dist/assets/{SetupPage-Db4fhE5q.js → SetupPage-BUJh_v9q.js} +1 -1
- package/apps/web/dist/assets/{SharePage-zCPxDPTo.js → SharePage-sNJ_s1RE.js} +1 -1
- package/apps/web/dist/assets/{ThemeSwitch-BOlH2F42.js → ThemeSwitch-NDTEeh0R.js} +1 -1
- package/apps/web/dist/assets/arrow-right-C1xLSnNa.js +1 -0
- package/apps/web/dist/assets/changelog-BSVi9hHS.js +1 -0
- package/apps/web/dist/assets/{circle-alert-BAwp-sT4.js → circle-alert-B0rwkpC7.js} +1 -1
- package/apps/web/dist/assets/{copy-DbRfBUN6.js → copy-DgbMaHoj.js} +1 -1
- package/apps/web/dist/assets/{definition-pJhOorRU.js → definition-FVgbAXOo.js} +1 -1
- package/apps/web/dist/assets/{external-link-Ckgj8QwI.js → external-link-pP6YfR9-.js} +1 -1
- package/apps/web/dist/assets/{image-D9msyNQi.js → image-D2X6TWdq.js} +1 -1
- package/apps/web/dist/assets/index-CBjgitjd.js +78 -0
- package/apps/web/dist/assets/{lock-B5ky3SKB.js → lock-BG4mi_lJ.js} +1 -1
- package/apps/web/dist/assets/{meta-BZ2z-OsJ.js → meta-BD9yulXs.js} +1 -1
- package/apps/web/dist/assets/{pen-line-nCoUBOra.js → pen-line-D54vxrGl.js} +1 -1
- package/apps/web/dist/assets/{refresh-cw-Q00Jfvvq.js → refresh-cw-DvTgdpdf.js} +1 -1
- package/apps/web/dist/assets/{session-CjfNwKNU.js → session-CT1AZIlE.js} +1 -1
- package/apps/web/dist/assets/{settings-menu-DA3a4Ys5.js → settings-menu-DJATAPGg.js} +1 -1
- package/apps/web/dist/assets/{star-CUJ_2U_I.js → star-CaOg5c-D.js} +1 -1
- package/apps/web/dist/assets/{trash-BlT75Cyj.js → trash-DAcf34LR.js} +1 -1
- package/apps/web/dist/assets/{type-BmqZVGnw.js → type-BU0mWqf3.js} +1 -1
- package/apps/web/dist/assets/{ui-CPp6zNQ9.js → ui-Bxf6zX5k.js} +1 -1
- package/apps/web/dist/assets/{video-BGwhi8uR.js → video-C6qoFAAs.js} +1 -1
- package/apps/web/dist/assets/{volume-2-BjoY3RjZ.js → volume-2-Dw4p9Ln4.js} +1 -1
- package/apps/web/dist/assets/{wand-sparkles-7vcrrSnD.js → wand-sparkles-Bw4tu2An.js} +1 -1
- package/apps/web/dist/index.html +11 -10
- package/apps/web/dist/mcp/flow.html +1 -1
- package/package.json +1 -1
- package/apps/web/dist/assets/arrow-right-CtFLf9GU.js +0 -1
- package/apps/web/dist/assets/changelog-BKYvAkhc.js +0 -1
- package/apps/web/dist/assets/index-CBRcxIRM.js +0 -78
|
@@ -1 +1 @@
|
|
|
1
|
-
import{G as e}from"./ui-
|
|
1
|
+
import{G as e}from"./ui-Bxf6zX5k.js";var t={name:`lock`,size:24,node:[[`rect`,{width:`18`,height:`11`,x:`3`,y:`11`,rx:`2`,ry:`2`,key:`1w4ew1`}],[`path`,{d:`M7 11V7a5 5 0 0 1 10 0v4`,key:`fwvmzm`}]]};t.node;var n=e(t);export{n as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{G as e,j as t}from"./ui-
|
|
1
|
+
import{G as e,j as t}from"./ui-Bxf6zX5k.js";import{i as n,r}from"./type-BU0mWqf3.js";import{n as i,t as a}from"./image-D2X6TWdq.js";import{r as o,t as s}from"./wand-sparkles-Bw4tu2An.js";import{t as c}from"./video-C6qoFAAs.js";import{z as l}from"./index-CBjgitjd.js";var u={name:`bot`,size:24,node:[[`path`,{d:`M12 8V4H8`,key:`hb8ula`}],[`rect`,{width:`16`,height:`12`,x:`4`,y:`8`,rx:`2`,key:`enze0r`}],[`path`,{d:`M2 14h2`,key:`vft8re`}],[`path`,{d:`M20 14h2`,key:`4cs60a`}],[`path`,{d:`M15 13v2`,key:`1xurst`}],[`path`,{d:`M9 13v2`,key:`rq6x2g`}]]};u.node;var d=e(u),f={name:`flag`,size:24,node:[[`path`,{d:`M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528`,key:`1jaruq`}]]};f.node;var p=e(f),m={name:`layout-dashboard`,size:24,node:[[`rect`,{width:`7`,height:`9`,x:`3`,y:`3`,rx:`1`,key:`10lvy0`}],[`rect`,{width:`7`,height:`5`,x:`14`,y:`3`,rx:`1`,key:`16une8`}],[`rect`,{width:`7`,height:`9`,x:`14`,y:`12`,rx:`1`,key:`1hutg5`}],[`rect`,{width:`7`,height:`5`,x:`3`,y:`16`,rx:`1`,key:`ldoo1y`}]]};m.node;var h=e(m),g={name:`layout-template`,size:24,node:[[`rect`,{width:`18`,height:`7`,x:`3`,y:`3`,rx:`1`,key:`f1a2em`}],[`rect`,{width:`9`,height:`7`,x:`3`,y:`14`,rx:`1`,key:`jqznyg`}],[`rect`,{width:`5`,height:`7`,x:`16`,y:`14`,rx:`1`,key:`q5h2i8`}]]};g.node;var _=e(g);function v(e){switch(e.type){case`page`:return r;case`agent`:return d;case`generate`:return e.asset===`image`?a:e.asset===`video`?c:e.asset===`dashboard`?h:l;case`widget`:return n;case`surface`:return _;case`film`:return i;case`review`:return o;case`result`:return p}return s}var y={page:`bg-cobalt-tint text-cobalt`,agent:`bg-ember-tint text-ember-strong`,generate:`bg-amber-tint text-ink-2`,widget:`bg-ember-veil text-ember-strong`,surface:`bg-ember-veil text-ember-strong`,film:`bg-amber-tint text-ink-2`,review:`bg-moss-tint text-moss`,result:`bg-paper-2 text-ink-2`};function b(e){return t(`type.${e.type}`)}var x=[`web_search`,`web_fetch`,`browser`,`sandbox`,`image`,`http`,`pages`];function S(e){return x.includes(e)?t(`tool.${e}`):e}function C(e){switch(e.type){case`page`:return e.fields.map(e=>e.label).join(` · `);case`agent`:{let t=e.tools.map(S),n=e.mcp?.length?[`MCP: ${e.mcp.join(`, `)}`]:[];return[...t,...n].join(` · `)||e.instructions.slice(0,90)}case`generate`:{let t=[e.asset];return e.options?.aspectRatio&&t.push(e.options.aspectRatio),e.options?.duration&&t.push(`${e.options.duration}s`),e.options?.resolution&&t.push(e.options.resolution),e.options?.template&&t.push(e.options.template),t.join(` · `)}case`widget`:return[e.entry,Object.keys(e.data).join(`, `)].filter(Boolean).join(` · `);case`surface`:return e.candidates?e.candidates.map(e=>e.id).join(` · `):Object.keys(e.data).join(`, `);case`film`:return[e.format,e.seconds?`${e.seconds}s`:null,e.skills.join(`, `)].filter(Boolean).join(` · `);case`review`:return[e.edit?t(`editor.reviewEditable`):null,e.regenerate?t(`editor.reviewRedo`):null].filter(Boolean).join(` · `);case`result`:return e.deliverables.map(e=>`${e.label??e.from} (${e.formats.join(`, `)})`).join(` · `)}return``}export{b as a,d as c,S as i,v as n,_ as o,C as r,p as s,y as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{G as e}from"./ui-
|
|
1
|
+
import{G as e}from"./ui-Bxf6zX5k.js";var t={name:`pen-line`,size:24,node:[[`path`,{d:`M13 21h8`,key:`1jsn5i`}],[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`,key:`1a8usu`}]],aliases:[`edit-3`]};t.node;var n=e(t);export{n as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{G as e}from"./ui-
|
|
1
|
+
import{G as e}from"./ui-Bxf6zX5k.js";var t={name:`refresh-cw`,size:24,node:[[`path`,{d:`M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8`,key:`v9h5vc`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}],[`path`,{d:`M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16`,key:`3uifl3`}],[`path`,{d:`M8 16H3v5`,key:`1cv678`}]]};t.node;var n=e(t);export{n as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e,n as t}from"./jsx-runtime-D3jfb0Ew.js";import{G as n,R as r,W as i,Y as a,Z as o,at as s,lt as c,nt as l,ot as u,q as d}from"./definition-
|
|
1
|
+
import{a as e,n as t}from"./jsx-runtime-D3jfb0Ew.js";import{G as n,R as r,W as i,Y as a,Z as o,at as s,lt as c,nt as l,ot as u,q as d}from"./definition-FVgbAXOo.js";import{D as f,T as p,b as m,x as h}from"./ui-Bxf6zX5k.js";var g=class extends i{#e;#t;#n;#r;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||_(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:`observerAdded`,mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:`observerRemoved`,mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status===`pending`?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??(this.state.status===`pending`?this.execute(this.state.variables):Promise.resolve())}async execute(e){let t=()=>{this.#i({type:`continue`})},r={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey},i=this.#r=n({fn:()=>this.options.mutationFn?this.options.mutationFn(e,r):Promise.reject(Error(`No mutationFn found`)),onFail:(e,t)=>{this.#i({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#i({type:`pause`})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)}),a=this.state.status===`pending`,o=!i.canStart();try{if(a)t();else{this.#i({type:`pending`,variables:e,isPaused:o}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,r);let t=await this.options.onMutate?.(e,r);t!==this.state.context&&this.#i({type:`pending`,context:t,variables:e,isPaused:o})}let n=await i.start();return await this.#n.config.onSuccess?.(n,e,this.state.context,this,r),await this.options.onSuccess?.(n,e,this.state.context,r),await this.#n.config.onSettled?.(n,null,this.state.variables,this.state.context,this,r),await this.options.onSettled?.(n,null,e,this.state.context,r),this.#i({type:`success`,data:n}),n}catch(t){try{await this.#n.config.onError?.(t,e,this.state.context,this,r)}catch(e){Promise.reject(e)}try{await this.options.onError?.(t,e,this.state.context,r)}catch(e){Promise.reject(e)}try{await this.#n.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,r)}catch(e){Promise.reject(e)}try{await this.options.onSettled?.(void 0,t,e,this.state.context,r)}catch(e){Promise.reject(e)}throw this.#i({type:`error`,error:t}),t}finally{this.#r===i&&(this.#r=void 0),this.#n.runNext(this)}}#i(e){let t=t=>{switch(e.type){case`failed`:return{...t,failureCount:e.failureCount,failureReason:e.error};case`pause`:return{...t,isPaused:!0};case`continue`:return{...t,isPaused:!1};case`pending`:return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:`pending`,variables:e.variables,submittedAt:Date.now()};case`success`:return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:`success`,isPaused:!1};case`error`:return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:`error`}}};this.state=t(this.state),d.batch(()=>{this.#t.forEach(t=>{t.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:`updated`,action:e})})}};function _(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:`idle`,variables:void 0,submittedAt:0}}var v=class extends a{#e;#t=void 0;#n;#r;constructor(e,t){super(),this.#e=e,this.setOptions(t),this.bindMethods(),this.#i()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){let t=this.options;this.options=this.#e.defaultMutationOptions(e),s(this.options,t)||this.#e.getMutationCache().notify({type:`observerOptionsUpdated`,mutation:this.#n,observer:this}),t?.mutationKey&&this.options.mutationKey&&o(t.mutationKey)!==o(this.options.mutationKey)?this.reset():this.#n?.state.status===`pending`&&this.#n.setOptions(this.options)}onSubscribe(){this.listeners.size===1&&this.#n&&(this.#n.addObserver(this),this.#i())}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(e){this.#i(),this.#a(e)}getCurrentResult(){return this.#t}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#i(),this.#a()}mutate(e,t){return this.#r=t,this.#n?.removeObserver(this),this.#n=this.#e.getMutationCache().build(this.#e,this.options),this.#n.addObserver(this),this.#n.execute(e)}#i(){let e=this.#n?.state??_();this.#t={...e,isPending:e.status===`pending`,isSuccess:e.status===`success`,isError:e.status===`error`,isIdle:e.status===`idle`,mutate:this.mutate,reset:this.reset}}#a(e){d.batch(()=>{if(this.#r&&this.hasListeners()){let t=this.#t.variables,n=this.#t.context,r={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};if(e?.type===`success`){try{this.#r.onSuccess?.(e.data,t,n,r)}catch(e){Promise.reject(e)}try{this.#r.onSettled?.(e.data,null,t,n,r)}catch(e){Promise.reject(e)}}else if(e?.type===`error`){try{this.#r.onError?.(e.error,t,n,r)}catch(e){Promise.reject(e)}try{this.#r.onSettled?.(void 0,e.error,t,n,r)}catch(e){Promise.reject(e)}}}this.listeners.forEach(e=>{e(this.#t)})})}},y=e(t(),1);function b(e,t){let n=c(t),[r]=y.useState(()=>new v(n,e));y.useEffect(()=>{r.setOptions(e)},[r,e]);let i=y.useSyncExternalStore(y.useCallback(e=>r.subscribe(d.batchCalls(e)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),a=y.useCallback((...e)=>{r.mutate(e[0],e[1]).catch(l)},[r]);if(i.error&&u(r.options.throwOnError,[i.error]))throw i.error;return{...i,mutate:a,mutateAsync:i.mutate}}function x(e){return e.split(/\s+/).map(e=>e[0]??``).join(``).slice(0,2).toUpperCase()}function S(){let e=D().data?.limits.projects;return e===null||(e??1)>1}function C(){return D().data?.limits.build??!0}function w(){return D().data?.limits.create??!0}function T(){let e=D().data;return!e||e.mode===`local`||e.tenant.role!==`member`}function E(e){return e.mode===`managed`?e.credits:e.models?.source===`account`?e.account?.credits??null:null}function D(){return r({queryKey:[`me`],queryFn:async()=>{try{return await h.get(`/api/studio/me`)}catch(e){if(e instanceof m&&e.status===401)return null;throw e}},staleTime:3e4})}function O(e=!0){return r({queryKey:[`projects`],queryFn:()=>h.get(`/api/studio/projects`),enabled:e})}var k=`wz.project`;function A(){try{return localStorage.getItem(k)}catch{return null}}var j=A(),M=new Set;function N(e){j=e;try{localStorage.setItem(k,e)}catch{}for(let e of M)e()}function P(){let e=O(),t=(0,y.useSyncExternalStore)(e=>(M.add(e),()=>M.delete(e)),()=>j),n=e.data??[];return{project:n.find(e=>e.id===t)??n[0]??null,projects:n,select:N,loading:e.isLoading}}function F(e,t){return r({queryKey:[`cloud`,e],queryFn:()=>h.get(`/api/studio/wizards/${e}/cloud`),enabled:t})}function I(e){return e instanceof m&&e.body?.code===`read_only`?e.message:null}async function L(){await fetch(f(`/api/auth/sign-out`),{method:`POST`,credentials:`include`,headers:{"content-type":`application/json`},body:`{}`}),window.location.href=`${p}/`}function R(e=window.location.pathname){window.location.href=f(`/api/auth/login?return=${encodeURIComponent(e)}`)}export{E as a,T as c,w as d,D as f,g as h,L as i,S as l,b as m,I as n,F as o,O as p,R as r,P as s,x as t,C as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e,n as t,t as n}from"./jsx-runtime-D3jfb0Ew.js";import{t as r}from"./react-dom-DenslgJm.js";import{B as i,V as a,W as o,g as s,j as c,q as l,z as u}from"./ui-
|
|
1
|
+
import{a as e,n as t,t as n}from"./jsx-runtime-D3jfb0Ew.js";import{t as r}from"./react-dom-DenslgJm.js";import{B as i,V as a,W as o,g as s,j as c,q as l,z as u}from"./ui-Bxf6zX5k.js";import{t as d}from"./lock-BG4mi_lJ.js";var f=e(n(),1);function p(e){return c(e.origin===`local`?`readonly.project`:`readonly.server`)}function m({children:e}){return(0,f.jsxs)(`div`,{className:`flex items-start gap-3 rounded-xl bg-paper-2 px-4 py-3 text-[0.875rem] text-ink-2 leading-relaxed`,children:[(0,f.jsx)(d,{className:`mt-0.5 size-4 shrink-0 text-ink-3`}),(0,f.jsx)(`p`,{className:`min-w-0`,children:e})]})}var h=e(t(),1),g=r(),_=(0,h.createContext)({slot:null,narrow:!1,setDetail:()=>void 0});function v(){return(0,h.useContext)(_)}function y({children:e}){let{slot:t}=v();return t?(0,g.createPortal)(e,t):null}function b(e){let{setDetail:t}=v();(0,h.useEffect)(()=>(t(e),()=>t(null)),[e,t])}var x=`(max-width: 767px)`;function S(e){let t=window.matchMedia(x);return t.addEventListener(`change`,e),()=>t.removeEventListener(`change`,e)}function C(){return(0,h.useSyncExternalStore)(S,()=>window.matchMedia(x).matches)}function w(e){return e===`deeper`?`animate-step-deeper`:e===`back`&&`animate-step-back`}function T({title:e,open:t,onBack:n}){return(0,f.jsxs)(`div`,{className:`mb-2 flex h-9 min-w-0 items-center px-1`,children:[(0,f.jsx)(`div`,{className:s(`shrink-0 overflow-hidden transition-[width,margin,opacity] duration-200 ease-out`,t?`-ml-1.5 mr-0.5 w-8 opacity-100`:`w-0 opacity-0`),children:(0,f.jsx)(`button`,{type:`button`,onClick:n,"aria-hidden":!t,tabIndex:t?void 0:-1,"aria-label":e,className:`grid size-8 place-items-center rounded-lg text-ink-3 transition hover:bg-accent hover:text-ink`,children:(0,f.jsx)(o,{className:`size-4`})})}),t?(0,f.jsxs)(`span`,{className:`flex min-w-0 items-center gap-2 font-medium text-[0.875rem]`,children:[(0,f.jsx)(t.icon,{className:`size-4 shrink-0 text-ember-strong`}),(0,f.jsx)(`span`,{className:`truncate`,children:t.label})]}):(0,f.jsx)(`span`,{className:`truncate font-medium text-[0.875rem]`,children:e})]})}function E({entries:e,current:t,onPick:n}){return(0,f.jsx)(`ul`,{className:`flex flex-col gap-0.5`,children:e.map(e=>(0,f.jsx)(`li`,{children:(0,f.jsxs)(l,{to:e.to,onClick:r=>{e.id===t?.id&&(r.preventDefault(),n(e))},"aria-current":e.id===t?.id?`page`:void 0,className:s(`group flex items-center gap-2 rounded-lg px-2 py-1 text-[0.875rem] transition max-md:py-2`,e.id===t?.id?`bg-paper-2 font-medium text-ink`:`text-ink-2 hover:bg-accent hover:text-ink`),children:[(0,f.jsx)(`span`,{className:`grid size-7 shrink-0 place-items-center`,children:(0,f.jsx)(e.icon,{className:`size-4 transition-transform duration-200 ease-out group-hover:scale-110`})}),(0,f.jsx)(`span`,{className:`min-w-0 flex-1 truncate`,children:e.label}),(0,f.jsx)(u,{className:`size-4 text-ink-4 md:hidden`})]})},e.id))})}function D({label:e,onBack:t}){return(0,f.jsxs)(`button`,{type:`button`,onClick:t,className:`-ml-1 flex items-center gap-1 rounded-lg py-1.5 pr-3 pl-1 text-[0.8125rem] text-ink-3 transition hover:text-ink`,children:[(0,f.jsx)(i,{className:`size-4`}),e]})}function O(e){let t=(0,h.useRef)({level:e,direction:null});return e!==t.current.level&&(t.current={level:e,direction:e>t.current.level?`deeper`:`back`}),t.current.direction}function k({label:e,collapsible:t,open:n=!0,count:r,children:i}){let[o,c]=(0,h.useState)(n),l=`font-medium text-[0.6875rem] text-ink-4 uppercase tracking-[0.12em]`;return(0,f.jsxs)(`div`,{className:`mt-5 first:mt-0`,children:[t?(0,f.jsxs)(`button`,{type:`button`,onClick:()=>c(!o),"aria-expanded":o,className:s(`mb-1 flex w-full items-center gap-1 px-2 text-left hover:text-ink-2`,l),children:[(0,f.jsx)(`span`,{className:`flex-1`,children:e}),o?null:(0,f.jsx)(`span`,{className:`tabular-nums tracking-normal`,children:r}),(0,f.jsx)(a,{className:s(`size-3.5 transition-transform`,o?null:`-rotate-90`)})]}):(0,f.jsx)(`p`,{className:s(`mb-1 px-2`,l),children:e}),o?(0,f.jsx)(`ul`,{className:`flex flex-col gap-0.5`,children:i}):null]})}function A({icon:e,label:t,badge:n,tone:r,toneLabel:i,selected:a,disabled:o,onPick:c}){return(0,f.jsx)(`li`,{children:(0,f.jsxs)(`button`,{type:`button`,onClick:c,disabled:o,"aria-current":a?`page`:void 0,className:s(`group flex w-full items-center gap-2 rounded-lg px-2 py-1 text-left text-[0.875rem] transition max-md:py-2`,a?`bg-paper-2 font-medium text-ink`:`text-ink-2 hover:bg-accent hover:text-ink`,o&&`cursor-default opacity-50 hover:bg-transparent hover:text-ink-2`),children:[(0,f.jsx)(`span`,{className:`grid size-7 shrink-0 place-items-center`,children:(0,f.jsx)(e,{className:s(`size-4 transition-transform duration-200 ease-out`,!o&&`group-hover:scale-110`,a?`text-ember-strong`:`text-ink-3`)})}),(0,f.jsx)(`span`,{className:`min-w-0 flex-1 truncate`,children:t}),n,r?(0,f.jsx)(`span`,{role:`img`,title:i,"aria-label":i,className:s(`size-2 shrink-0 rounded-full`,r===`done`&&`bg-moss`,r===`credits`&&`bg-amber`,r===`on`&&`bg-ember`,r===`off`&&`ring-1 ring-ink-4 ring-inset`)}):null,o?null:(0,f.jsx)(u,{className:`size-4 shrink-0 text-ink-4 md:hidden`})]})})}export{A as a,w as c,v as d,O as f,k as i,b as l,p as m,T as n,_ as o,m as p,E as r,y as s,D as t,C as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{G as e}from"./ui-
|
|
1
|
+
import{G as e}from"./ui-Bxf6zX5k.js";var t={name:`puzzle`,size:24,node:[[`path`,{d:`M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z`,key:`w46dr5`}]]};t.node;var n=e(t),r={name:`star`,size:24,node:[[`path`,{d:`M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z`,key:`r04s7s`}]]};r.node;var i=e(r);export{n,i as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{G as e}from"./ui-
|
|
1
|
+
import{G as e}from"./ui-Bxf6zX5k.js";var t={name:`link-2`,size:24,node:[[`path`,{d:`M9 17H7A5 5 0 0 1 7 7h2`,key:`8i5ue5`}],[`path`,{d:`M15 7h2a5 5 0 1 1 0 10h-2`,key:`1b9ql8`}],[`line`,{x1:`8`,x2:`16`,y1:`12`,y2:`12`,key:`1jonct`}]]};t.node;var n=e(t),r={name:`trash`,size:24,node:[[`path`,{d:`M10 11v6`,key:`nco0om`}],[`path`,{d:`M14 11v6`,key:`outv1u`}],[`path`,{d:`M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6`,key:`miytrc`}],[`path`,{d:`M3 6h18`,key:`d0wm0j`}],[`path`,{d:`M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2`,key:`e791ji`}]],aliases:[`trash-2`]};r.node;var i=e(r);export{n,i as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{G as e}from"./ui-
|
|
1
|
+
import{G as e}from"./ui-Bxf6zX5k.js";var t={name:`app-window`,size:24,node:[[`rect`,{x:`2`,y:`4`,width:`20`,height:`16`,rx:`2`,key:`izxlao`}],[`path`,{d:`M10 4v4`,key:`pp8u80`}],[`path`,{d:`M2 8h20`,key:`d11cs7`}],[`path`,{d:`M6 4v4`,key:`1svtjw`}]]};t.node;var n=e(t),r={name:`list-checks`,size:24,node:[[`path`,{d:`M13 5h8`,key:`a7qcls`}],[`path`,{d:`M13 12h8`,key:`h98zly`}],[`path`,{d:`M13 19h8`,key:`c3s6r1`}],[`path`,{d:`m3 17 2 2 4-4`,key:`1jhpwq`}],[`path`,{d:`m3 7 2 2 4-4`,key:`1obspn`}]]};r.node;var i=e(r),a={name:`plug`,size:24,node:[[`path`,{d:`M12 22v-5`,key:`1ega77`}],[`path`,{d:`M15 8V2`,key:`18g5xt`}],[`path`,{d:`M17 8a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1z`,key:`1xoxul`}],[`path`,{d:`M9 8V2`,key:`14iosj`}]]};a.node;var o=e(a),s={name:`type`,size:24,node:[[`path`,{d:`M12 4v16`,key:`1654pz`}],[`path`,{d:`M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2`,key:`e0r10z`}],[`path`,{d:`M9 20h6`,key:`s66wpe`}]]};s.node;var c=e(s);export{n as i,o as n,i as r,c as t};
|