@dylanpiercey/work 0.0.152 → 0.0.153
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/dist/index.mjs +2247 -2469
- package/dist/public/assets/_3veOokDx.js +1 -0
- package/dist/public/assets/_B-rgI0_E.js +83 -0
- package/dist/public/assets/_B-rgI0_E.js.br +0 -0
- package/dist/public/assets/_B3hhX48X.js +1 -0
- package/dist/public/assets/_BG6h4ZRN.js +1 -0
- package/dist/public/assets/_BGAD6amc.js +1 -0
- package/dist/public/assets/_BVzRdl5M.js +1 -0
- package/dist/public/assets/_BcO9vTqv.js +1 -0
- package/dist/public/assets/_BnRc9Kgb.js +1 -0
- package/dist/public/assets/_C2LSf6w3.js +1 -0
- package/dist/public/assets/_C79L9mhg.js +1 -0
- package/dist/public/assets/_CCZPq_dJ.js +1 -0
- package/dist/public/assets/_CKudVz5Z.js +1 -0
- package/dist/public/assets/_CiuoM4oX.js +1 -0
- package/dist/public/assets/_D1NpX6gH.js +1 -0
- package/dist/public/assets/_D1n07hqw.js +1 -0
- package/dist/public/assets/_D9B_jDta.js +1 -0
- package/dist/public/assets/_DG4SD16v.js +1 -0
- package/dist/public/assets/_DQJM2E35.js +1 -0
- package/dist/public/assets/_Dr7o2LBs.js +1 -0
- package/dist/public/assets/_Dr7o2LBs.js.br +0 -0
- package/dist/public/assets/_h8cBwED4.js +1 -0
- package/dist/public/assets/{_OdTWXLKV.js → _kcU94G2e.js} +45 -45
- package/dist/public/assets/_kcU94G2e.js.br +0 -0
- package/dist/public/assets/_oiPx7RvB.js +1 -0
- package/dist/public/assets/app-page-HBkev4fB.css +1 -0
- package/dist/public/assets/app-page-HBkev4fB.css.br +0 -0
- package/dist/public/assets/diff-view-DUOYpJcS.js +2 -0
- package/dist/public/assets/diff-view-fBgpEGWE.css +1 -0
- package/dist/public/assets/diff-view-fBgpEGWE.css.br +0 -0
- package/dist/public/assets/{icon-arrow-down-D1GHVHSZ.css → icon-arrow-down-DfdrbjtN.css} +1 -1
- package/dist/public/assets/icon-arrow-down-DfdrbjtN.css.br +0 -0
- package/dist/public/assets/new-DvHHhECZ.js +1 -0
- package/dist/public/assets/settings-DvHHhECZ.js +1 -0
- package/dist/public/assets/w-DvHHhECZ.js +1 -0
- package/dist/public/assets/w._-DvHHhECZ.js +1 -0
- package/dist/public/assets/w._-NAaVwdnW.js +1 -0
- package/package.json +1 -1
- package/dist/public/assets/_6bjslMCo.js +0 -1
- package/dist/public/assets/_7OM0gEFe.js +0 -1
- package/dist/public/assets/_B5GCUzkm.js +0 -1
- package/dist/public/assets/_BIqX7mdw.js +0 -1
- package/dist/public/assets/_BJFm6aTk.js +0 -1
- package/dist/public/assets/_BLdF76o0.js +0 -1
- package/dist/public/assets/_BLdF76o0.js.br +0 -0
- package/dist/public/assets/_BQ2APVBH.js +0 -1
- package/dist/public/assets/_BahIZDTs.js +0 -1
- package/dist/public/assets/_BnK79bub.js +0 -1
- package/dist/public/assets/_BwrIxY27.js +0 -1
- package/dist/public/assets/_CEZ1v7Rd.js +0 -1
- package/dist/public/assets/_CNaGRPUI.js +0 -1
- package/dist/public/assets/_ChvyKiAv.js +0 -1
- package/dist/public/assets/_Cp9PlZG3.js +0 -1
- package/dist/public/assets/_CxfMhDVP.js +0 -1
- package/dist/public/assets/_DGeZFFYZ.js +0 -1
- package/dist/public/assets/_DQE1lrGw.js +0 -1
- package/dist/public/assets/_DhtFbze4.js +0 -1
- package/dist/public/assets/_DiibF_xX.js +0 -83
- package/dist/public/assets/_DiibF_xX.js.br +0 -0
- package/dist/public/assets/_OdTWXLKV.js.br +0 -0
- package/dist/public/assets/_XyFIlyKJ.js +0 -1
- package/dist/public/assets/_yd7Qi39Y.js +0 -1
- package/dist/public/assets/app-page-BtKzAvm_.css +0 -1
- package/dist/public/assets/app-page-BtKzAvm_.css.br +0 -0
- package/dist/public/assets/diff-view-BH0fBbPD.css +0 -1
- package/dist/public/assets/diff-view-BH0fBbPD.css.br +0 -0
- package/dist/public/assets/diff-view-JxteEV2A.js +0 -2
- package/dist/public/assets/icon-arrow-down-D1GHVHSZ.css.br +0 -0
- package/dist/public/assets/new-CCu-v7-K.js +0 -1
- package/dist/public/assets/settings-CCu-v7-K.js +0 -1
- package/dist/public/assets/w-CCu-v7-K.js +0 -1
- package/dist/public/assets/w._-CCu-v7-K.js +0 -1
- package/dist/public/assets/w._-CSLiTL2U.js +0 -1
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$input_onSent as e}from"./_kcU94G2e.js";export{e as _};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$input_focusPr as e}from"./_kcU94G2e.js";export{e as _};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$input_sessions as e}from"./_kcU94G2e.js";export{e as _};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$input_findTick as e}from"./_kcU94G2e.js";export{e as _};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$input_onExit as e}from"./_kcU94G2e.js";export{e as _};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$input_focusFileNonce as e}from"./_kcU94G2e.js";export{e as _};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$input_onScopeChange as e}from"./_kcU94G2e.js";export{e as _};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$input_workspaceName as e}from"./_kcU94G2e.js";export{e as _};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$input_workspaceBranch as e}from"./_kcU94G2e.js";export{e as _};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$input_focusNonce as e}from"./_kcU94G2e.js";export{e as _};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$input_focusFile as e}from"./_kcU94G2e.js";export{e as _};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$input_onFileChange as e}from"./_kcU94G2e.js";export{e as _};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$input_active as e}from"./_kcU94G2e.js";export{e as _};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$input_findTickChange as e}from"./_kcU94G2e.js";export{e as _};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$input_workspaceId as e}from"./_kcU94G2e.js";export{e as _};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$input_scope as e}from"./_kcU94G2e.js";export{e as _};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{H as e,L as t,N as n,P as r,R as i,U as a,a as o,b as s,g as ee,h as te,i as c,v as ne,w as re,y as ie,z as l}from"./_BOllftHQ.js";var u=!0,d=new Set;function ae(){return u}function f(e){if(u!==e){u=e;for(let t of d)t(e)}}function oe(e){return d.add(e),()=>d.delete(e)}var p=`work:auth-reload`,m=!1;function h(){if(!(typeof location>`u`||m)){try{if(sessionStorage.getItem(p))return;sessionStorage.setItem(p,`1`)}catch{}m=!0,location.reload()}}function g(){try{sessionStorage.removeItem(p)}catch{}}function _(e){if(e.status===401||e.status===403||e.type===`opaqueredirect`||e.redirected&&new URL(e.url).origin!==location.origin)return!0;let t=e.headers.get(`content-type`)||``;return!!(t.includes(`text/html`)&&!t.includes(`json`))}async function v(){try{let e=await fetch(`/api/boot`,{credentials:`same-origin`,cache:`no-store`,redirect:`manual`});return _(e)?(h(),!1):(e.ok&&g(),e.ok)}catch{return!0}}function se(e){let t=async()=>{if(!e?.aborted){try{let e=await fetch(`/api/boot`,{credentials:`same-origin`,cache:`no-store`,redirect:`manual`});if(_(e))return h();if(e.ok){m=!0,location.reload();return}}catch{}setTimeout(t,2e3)}};t()}async function y(e,t){let n=await fetch(e,t);if(_(n))throw h(),Error(`session expired`);let r;try{r=await n.json()}catch{throw _(n)?(h(),Error(`session expired`)):Error(n.ok?`invalid response`:`HTTP ${n.status}`)}if(r&&typeof r==`object`&&r.error)throw Error(r.error);if(!n.ok)throw Error(`HTTP ${n.status}`);return g(),f(!0),r}function ce(e){let t=e instanceof Error?e.message:String(e);return/HTTP 502|HTTP 503|HTTP 504|Failed to fetch|NetworkError|Load failed|ECONNREFUSED|session expired/i.test(t)}var le=new Set([`workspaces.changed`,`sessions.changed`,`workspace.progress`,`review.changed`,`status.changed`]),ue=1e4,de=4e4,fe=8e3,pe=5e3,me=6e4,he=6e3,ge=4e3,b,x,S=null,C,w,T,E,D,O,k=0,A=0,_e=0,ve=0,ye=1e3;function be(){return!!S&&S.readyState===WebSocket.OPEN&&!k}function j(e){b?.dispatchEvent(new MessageEvent(`sse.health`,{data:{healthy:e}}))}function xe(e){x&&e!==x&&location.reload(),x=e}async function M(){try{xe((await y(`/api/boot`)).boot),f(!0)}catch{}}function N(){let e=Date.now();if(e-ve<ye)return;ve=e;let t=e-Math.max(A,_e)>de;S&&t&&(L(),k||I()),R(),!(!t&&S&&!k)&&(M(),Ce())}function P(){A=Date.now(),clearTimeout(w),clearTimeout(T),clearTimeout(O),O=void 0,T=setTimeout(I,de),f(!0),k&&(k=0,clearInterval(E),E=void 0,j(!0))}function F(){y(`/api/status`).then(e=>{f(!0),b.dispatchEvent(new MessageEvent(`status.changed`,{data:e}))}).catch(()=>f(!1))}function I(){L(),!k&&(k=Date.now(),j(!1),v(),E=setInterval(()=>{document.visibilityState===`visible`&&(Date.now()-k>me&&(k=Date.now(),R()),Ce(),M(),F())},pe),F())}function Se(){clearInterval(D),D=setInterval(()=>{if(document.visibilityState===`visible`&&!(!S||S.readyState!==WebSocket.OPEN||O)){try{S.send(`ping`)}catch{I();return}O=setTimeout(I,ge)}},he)}function L(){clearTimeout(w),clearTimeout(T),clearTimeout(O),O=void 0,clearInterval(D),D=void 0;let e=S;S=null,e&&(e.onopen=null,e.onmessage=null,e.onerror=null,e.onclose=null,(e.readyState===WebSocket.OPEN||e.readyState===WebSocket.CONNECTING)&&e.close())}function Ce(){for(let e of[`workspaces.changed`,`sessions.changed`])b.dispatchEvent(new MessageEvent(e,{data:null}))}function R(){if(S&&(S.readyState===WebSocket.OPEN||S.readyState===WebSocket.CONNECTING))return;let e=location.protocol===`https:`?`wss`:`ws`,t=S=new WebSocket(`${e}://${location.host}/api/events`);_e=Date.now(),clearTimeout(w),w=setTimeout(I,fe),t.onmessage=e=>{let t;try{t=JSON.parse(String(e.data))}catch{return}let n=t.type;if(n){if(n===`hello`){P(),j(!0),xe(t.data?.boot),Se();return}if(n===`ping`){P();return}le.has(n)&&(P(),b.dispatchEvent(new MessageEvent(n,{data:t.data??null})))}},t.onerror=()=>{},t.onclose=()=>{S===t&&(S=null,k||I())}}function we(){return b||(b=new EventTarget,R(),M(),oe(e=>b?.dispatchEvent(new MessageEvent(`app.reachable`,{data:{reachable:e}}))),window.addEventListener(`offline`,()=>f(!1)),window.addEventListener(`online`,N),window.addEventListener(`pageshow`,N),window.addEventListener(`focus`,N),document.addEventListener(`visibilitychange`,()=>{document.visibilityState===`visible`?(clearTimeout(C),N()):(clearTimeout(C),C=setTimeout(()=>{k||L()},ue))})),b}var z=new Map,Te=new Set,Ee;function De(e){for(let[t,n]of Object.entries(e))Te.has(t)||z.set(t,n);typeof window<`u`&&(Ee??=Promise.resolve())}function Oe(){return typeof window>`u`?Promise.resolve():Ee??=(async()=>{try{let e=await fetch(`/api/prefs`);if(_(e)){h();return}De(await e.json())}catch{}})()}function B(e){return z.get(e)??null}function V(e,t){Te.add(e),t===null?z.delete(e):z.set(e,t),ke(e,t)}function ke(e,t){return fetch(`/api/prefs`,{method:`POST`,headers:{"content-type":`application/json`},body:JSON.stringify({key:e,value:t}),keepalive:!0}).catch(()=>{})}function Ae(e){V(`last-workspace`,e)}function je(){return B(`side-nav`)!==`0`}function Me(e){return B(`tab:${e}`)}function Ne(e,t){V(`tab:${e}`,t)}function Pe(){return B(`diff-tree`)!==`0`}function Fe(e){V(`diff-tree`,e?`1`:`0`)}function Ie(){let e=B(`diff-scope`);return e===`working`||e===`dirty`?e:`committed`}function Le(e){V(`diff-scope`,e)}function Re(e){return B(`diff-filter:${e}`)||``}function ze(e,t){V(`diff-filter:${e}`,t||null)}function Be(e){let t=B(`diff-pos:${e}`);if(!t)return null;try{let e=JSON.parse(t);return e&&typeof e.key==`string`?e:null}catch{return null}}function Ve(e,t){V(`diff-pos:${e}`,t?JSON.stringify(t):null)}function He(e){V(`setup-later`,e?`1`:null)}function H(){let e=B(`sso-ignored`);if(!e)return[];try{let t=JSON.parse(e);return Array.isArray(t)?t.filter(e=>typeof e==`string`):[]}catch{return[]}}function Ue(e){let t=new Set(H());t.add(e),V(`sso-ignored`,JSON.stringify([...t].sort()))}function We(e){let t=H().filter(t=>t!==e);V(`sso-ignored`,t.length?JSON.stringify(t):null)}function Ge(){let e=B(`theme`);return e===`light`||e===`dark`?e:`system`}function Ke(e){V(`theme`,e===`system`?null:e)}function U(e){if(e.view===`settings`)return`/settings`;if(e.view===`new`)return`/new`;if(!e.workspaceId)return`/`;let t=`/w/${encodeURIComponent(e.workspaceId)}`;if(e.view===`diff`){let n=new URLSearchParams;e.pr&&n.set(`pr`,e.pr),e.scope&&e.scope!==`committed`&&n.set(`scope`,e.scope),e.file&&n.set(`file`,e.file);let r=n.toString();return`${t}/review${r?`?${r}`:``}`}return e.view===`manage`?`${t}/manage`:`${t}${e.sessionId?`?s=${encodeURIComponent(e.sessionId)}`:``}`}function qe(e){let t=e.pathname.replace(/\/+$/,``)||`/`;if(t===`/settings`)return{workspaceId:null,view:`settings`};if(t===`/new`)return{workspaceId:null,view:`new`};let n=/^\/w\/([^/]+)(?:\/(review|manage))?$/.exec(t);if(!n)return t===`/`?{workspaceId:null,view:`term`}:null;let r=decodeURIComponent(n[1]),i=new URLSearchParams(e.search);if(n[2]===`review`){let e=i.get(`scope`);return{workspaceId:r,view:`diff`,pr:i.get(`pr`),scope:e===`working`||e===`dirty`?e:null,file:i.get(`file`)}}return n[2]===`manage`?{workspaceId:r,view:`manage`}:{workspaceId:r,view:`term`,sessionId:i.get(`s`)}}function Je(e,t){if(typeof history>`u`)return;let n=U(e);location.pathname+location.search!==n&&(t&&t.workspaceId===e.workspaceId&&t.view===e.view?history.replaceState:history.pushState).call(history,null,``,n)}function Ye(){return typeof window<`u`&&window.matchMedia(`(pointer: coarse)`).matches}function Xe(){return typeof window<`u`&&window.matchMedia(`(max-width: 899px)`).matches}function W(){return typeof navigator<`u`&&navigator.standalone===!0}function Ze(e,t){if(!/^https?:\/\//.test(e)){window.open(e,`_blank`,`noopener`);return}if(t?.system&&W()){location.href=`x-safari-${e}`;return}if(!W()){window.open(e,`_blank`,`noopener`);return}if(localStorage.getItem(`xSafariOk`)){location.href=`x-safari-${e}`;return}if(localStorage.getItem(`xSafariNo`)){window.open(e,`_blank`,`noopener`);return}let n=!1,r=()=>{document.visibilityState===`hidden`&&(n=!0,localStorage.setItem(`xSafariOk`,`1`))};document.addEventListener(`visibilitychange`,r),window.addEventListener(`pagehide`,r),setTimeout(()=>{document.removeEventListener(`visibilitychange`,r),window.removeEventListener(`pagehide`,r),!(n||document.visibilityState===`hidden`)&&(localStorage.setItem(`xSafariNo`,`1`),window.open(e,`_blank`,`noopener`))},1500),location.href=`x-safari-${e}`}var Qe={working:`_B`,waiting:`_C`,idle:`_D`,off:`_E`},$e=`_L _q`,et=`_M _q`,tt={accent:`_Q`,ok:`_R`,warn:`_S`,danger:`_T`,merged:`_U`,closed:`_V`},nt=`_Y _X`,rt=`_0 _Z`,it=`_4 _l`,G=`_5 _l`,at=`_6 _l`,ot=`_7 _l`;function st(e){let t=e.split(`/`);return t.length>=3&&t[0].includes(`.`)?`https://${t[0]}/${t.slice(1).join(`/`)}`:`https://github.com/${e}`}function ct(e){let t=e.trim(),n=/^(?:https?|ssh):\/\/(?:[^@/\s]+@)?([a-z0-9.-]+)(?::\d+)?\/([\w.-]+)\/([\w.-]*?)(?:\.git)?\/?$/i.exec(t)||/^[\w.-]+@([a-z0-9.-]+):([\w.-]+)\/([\w.-]*?)(?:\.git)?$/i.exec(t);if(!n)return null;let r=n[1].toLowerCase();if(!r.includes(`.`)||!n[3])return null;let i=`${n[2]}/${n[3]}`;return r===`github.com`?i:`${r}/${i}`}var lt=`github.com`;function ut(e){let t=(e||[]).filter(e=>e.authed).map(e=>e.host);lt=t.includes(`github.com`)||t.length!==1?`github.com`:t[0]}function dt(e){let t=e.split(`/`);return t.length>=3&&t[0].includes(`.`)&&t[0]===lt?t.slice(1).join(`/`):e}var ft={error:`_bI`,warn:`_bJ`,info:`_bK`},pt={error:`_bL`,warn:`_bM`,info:`_bN`},mt={sm:12,md:14,lg:16,xl:18},K=`<svg viewBox="0 0 24 24" fill=none stroke=currentColor stroke-width=1.5 stroke-linecap=round stroke-linejoin=round aria-hidden=true><path></path></svg>`,q=` D l`,ht=(e,t)=>{c(e.a,`width`,t),c(e.a,`height`,t)},J=(e,t)=>ht(e,t??mt.md),Y=(e,t)=>o(e.a,[`_m`,t]),X=(e,t)=>c(e.b,`d`,t),gt=K,_t=(e=>`/${e}&`)(q);function vt(e){X(e.a,`M6.75827 17.2426L12.0009 12M17.2435 6.75736L12.0009 12M12.0009 12L6.75827 6.75736M12.0009 12L17.2435 17.2426`)}var yt=(e,t)=>J(e.a,t),bt=(e,t)=>Y(e.a,t),xt=`<div><div><!><!></div><!></div>`,St=` D D%b%l%l`,Ct=e(`G0`,e=>i(e.a,`click`,function(){e._._.o?.()})),wt=e=>{o(e.a,[G,`_bS`]),vt(e.b),yt(e.b,14),bt(e.b),Ct(e)},Tt=re(0),Et=ie(25,e=>Tt(e,e._._.n),e=>e._._),Dt=n(1,`<!><!><!>`,`b%`,Et),Ot=r(4,0,e=>{o(e.a,[`_bQ`,e._.m&&`_bR`]),Dt(e,+!e._.m)}),kt=e=>{Ot._(e),jt._(e)},At=n(2,(e=>`<button type=button title=Dismiss aria-label=Dismiss>${e}</button>`)(gt),(e=>` D/${e}&l`)(_t),wt),jt=r(4,0,e=>At(e,+!e._.o)),Mt=re(1),Nt=r(3,0,e=>Mt(e,e._.l)),Pt=e=>{Nt._(e),o(e.a,`_bP`)},Ft=r(2,0,e=>a(e.b,e._.j)),It=e=>{Ft._(e),Z._(e)},Z=r(2,0,e=>o(e.a,pt[e._.r])),Q=l(21,e=>o(e.a,[`_bF`,ft[e.r],e.u,e.k]),2),Lt=s(17,e=>{c(e.a,`role`,e.r===`error`?`alert`:`status`),Q(e),Z(e)}),Rt=(e,t)=>Lt(e,t||`error`),zt=s(20,Q),Bt=e(`G1`,e=>t(e,{onDismiss:e.o,placement:e.s,onMount:function(){let e=new AbortController;return this.placement===`float`&&this.onDismiss&&window.addEventListener(`keydown`,e=>{e.key===`Escape`&&(document.querySelector(`dialog[open]`)||e.target instanceof HTMLInputElement&&e.target.value||(e.stopPropagation(),this.onDismiss?.()))},{capture:!0,signal:e.signal}),{abort:e}},onDestroy:function(){this.abort.abort()}})),Vt=l(19,Bt),Ht=s(18,e=>{zt(e,{float:`_bG`,inline:`_bH`}[e.s]),Vt(e)}),Ut=(e,t)=>Ht(e,t||`float`),Wt=s(10,Q),Gt=e(`G2`,e=>ee(e,`a`)),Kt=s(16,e=>{te(e,`a`,e.q,{class:1,role:1}),Gt(e)});function qt(e){o(e.b,`_bO`)}var Jt=n(2,`<strong> </strong>`,` D `,It),Yt=s(9,e=>{Jt(e,+!e.j),Ft(e)}),Xt=n(3,`<div><!></div>`,` D%`,Pt),Zt=s(11,e=>{Xt(e,+!e.l),Nt(e)}),Qt=n(4,`<div><!><!></div>`,` D%b%`,kt),$t=l(15,e=>Qt(e,e.m||e.o?0:1)),en=s(12,e=>{nn(e,e.m?.content),$t(e),Ot(e)}),tn=s(14,e=>{$t(e),Vt(e),jt(e)}),nn=s(13,ne(Et)),rn=`_bW _N _O`,an=`_b7 _bZ`,on=`_5 _l`,sn=K,cn=(e=>`/${e}&`)(q);function ln(e){X(e.a,`M21.8883 13.5C21.1645 18.3113 17.013 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C16.1006 2 19.6248 4.46819 21.1679 8 M17 8H21.4C21.7314 8 22 7.73137 22 7.4V3`)}var un=(e,t)=>J(e.a,t),dn=(e,t)=>Y(e.a,t),fn=K,pn=(e=>`/${e}&`)(q);function mn(e){X(e.a,`M15 6L9 12L15 18`)}var hn=(e,t)=>J(e.a,t),gn=(e,t)=>Y(e.a,t),_n=K,vn=(e=>`/${e}&`)(q);function yn(e){X(e.a,`M9 6L15 12L9 18`)}var bn=(e,t)=>J(e.a,t),xn=(e,t)=>Y(e.a,t),Sn=K,Cn=(e=>`/${e}&`)(q);function wn(e){X(e.a,`M17 17L21 21 M3 11C3 15.4183 6.58172 19 11 19C13.213 19 15.2161 18.1015 16.6644 16.6493C18.1077 15.2022 19 13.2053 19 11C19 6.58172 15.4183 3 11 3C6.58172 3 3 6.58172 3 11Z`)}var Tn=(e,t)=>J(e.a,t),En=(e,t)=>Y(e.a,t),Dn=K,On=(e=>`/${e}&`)(q);function kn(e){X(e.a,`M12 21L12 3M12 3L20.5 11.5M12 3L3.5 11.5`)}var An=(e,t)=>J(e.a,t),jn=(e,t)=>Y(e.a,t);async function Mn(e){try{return await navigator.clipboard.writeText(e),!0}catch{let t=document.createElement(`textarea`);t.value=e,t.style.cssText=`position:fixed;top:-100px;opacity:0;`,document.body.append(t),t.focus(),t.select();let n=document.execCommand(`copy`);return t.remove(),n}}function Nn(e,t){if(!e)return-1;let n=e.toLowerCase(),r=t.toLowerCase(),i=r.lastIndexOf(`/`),a=r.slice(i+1),o=r.slice(0,Math.max(0,i)).includes(n)?5:0;return a===n?1e3+o:a.startsWith(n)?800+o:a.includes(n)?600+o:$(n,a)?400+o:r.includes(n)?300:$(n,r)?100:-1}function Pn(e,t,n){return e?t.map(t=>({repo:t,score:Nn(e,t.nameWithOwner)})).filter(({repo:e,score:t})=>!e.isArchived&&t>=0&&!n(e.nameWithOwner)).sort((e,t)=>t.score-e.score||e.repo.nameWithOwner.length-t.repo.nameWithOwner.length||e.repo.nameWithOwner.localeCompare(t.repo.nameWithOwner)).slice(0,8).map(({repo:e})=>e):[]}function Fn(e,t){return e?t.map(t=>({branch:t,score:Nn(e,t)})).filter(({score:e})=>e>=0).sort((e,t)=>t.score-e.score||e.branch.length-t.branch.length||e.branch.localeCompare(t.branch)).map(({branch:e})=>e):t}function $(e,t){if(!e)return!0;let n=0,r=t.toLowerCase();for(let t of e.toLowerCase()){if(n=r.indexOf(t,n),n===-1)return!1;n++}return!0}var In=null;function Ln(e,t){In={cols:e,rows:t}}function Rn(){return In}var zn=`_eo _n`,Bn=`_er _l`,Vn=K,Hn=(e=>`/${e}&`)(q);function Un(e){X(e.a,`M12 3L12 21M12 21L20.5 12.5M12 21L3.5 12.5`)}var Wn=(e,t)=>J(e.a,t),Gn=(e,t)=>Y(e.a,t);export{bt as $,y as $t,hn as A,U as At,an as B,Le as Bt,Cn as C,tt as Ct,_n as D,Ze as Dt,yn as E,Ye as Et,un as F,De as Ft,Wt as G,Ne as Gt,en as H,Ae as Ht,ln as I,Ue as It,tn as J,Ge as Jt,Rt as K,je as Kt,sn as L,H as Lt,fn as M,Be as Mt,pn as N,Ie as Nt,vn as O,qe as Ot,dn as P,Pe as Pt,St as Q,be as Qt,cn as R,ze as Rt,Sn as S,Qe as St,bn as T,Xe as Tt,Zt as U,He as Ut,rn as V,Fe as Vt,Kt as W,Ke as Wt,xt as X,Me as Xt,qt as Y,We as Yt,Yt as Z,we as Zt,Dn as _,at as _t,Hn as a,X as at,Tn as b,rt as bt,Rn as c,q as ct,Fn as d,dt,ce as en,yt as et,Pn as f,st as ft,kn as g,ot as gt,An as h,$e as ht,Vn as i,Y as it,mn as j,Re as jt,gn as k,Je as kt,Ln as l,mt as lt,jn as m,et as mt,Wn as n,se as nn,gt as nt,Bn as o,J as ot,Mn as p,ut as pt,Ut as q,Oe as qt,Un as r,ae as rn,_t as rt,zn as s,K as st,Gn as t,v as tn,vt as tt,$ as u,ct as ut,On as v,G as vt,xn as w,W as wt,wn as x,nt as xt,En as y,it as yt,on as z,Ve as zt};
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$setup as e,$template as t,$walks as n}from"./_kcU94G2e.js";var r=[t,n,e];export{r as _};
|