signetai 0.123.21 → 0.124.1
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/dashboard/_app/immutable/chunks/{DJPR10ya.js → 72Ok7c0_.js} +1 -1
- package/dashboard/_app/immutable/chunks/{DxJs7UOj.js → B2f7gw_q.js} +1 -1
- package/dashboard/_app/immutable/chunks/{D62PL36K.js → B75IzI_T.js} +1 -1
- package/dashboard/_app/immutable/chunks/{BzdFkako.js → BBiICqQU.js} +1 -1
- package/dashboard/_app/immutable/chunks/{CHxfhkfa.js → BGtr_Y7n.js} +3 -3
- package/dashboard/_app/immutable/chunks/{BkUGRIrN.js → BRVZFuH_.js} +1 -1
- package/dashboard/_app/immutable/chunks/{DkqyZpFf.js → Be9jG1mw.js} +1 -1
- package/dashboard/_app/immutable/chunks/{CjrYc5cW.js → BjP7uMXU.js} +1 -1
- package/dashboard/_app/immutable/chunks/{_t89H4mS.js → ByXWnleX.js} +1 -1
- package/dashboard/_app/immutable/chunks/{eAsdYlua.js → C-cLrz5T.js} +1 -1
- package/dashboard/_app/immutable/chunks/{uGXfJGab.js → C0AeFyP5.js} +1 -1
- package/dashboard/_app/immutable/chunks/{C5Pq1exV.js → CBE4uJWc.js} +1 -1
- package/dashboard/_app/immutable/chunks/{Bef81AyL.js → CG7x61-P.js} +1 -1
- package/dashboard/_app/immutable/chunks/{zFKNT3R6.js → CJ7WfQHk.js} +1 -1
- package/dashboard/_app/immutable/chunks/{CFILfxTj.js → CKoTRbhY.js} +1 -1
- package/dashboard/_app/immutable/chunks/{B5VWmXrR.js → CLZWliPW.js} +1 -1
- package/dashboard/_app/immutable/chunks/{B2BgQFYa.js → CRoahJKM.js} +1 -1
- package/dashboard/_app/immutable/chunks/{FHuchG3W.js → CZYs_nvT.js} +1 -1
- package/dashboard/_app/immutable/chunks/{CC3kAyYu.js → CcWab4qM.js} +1 -1
- package/dashboard/_app/immutable/chunks/{Bgfo4PtB.js → CdhCp0cW.js} +1 -1
- package/dashboard/_app/immutable/chunks/{C-cLVFup.js → CjyHYPkq.js} +1 -1
- package/dashboard/_app/immutable/chunks/{Cdklx1Ch.js → CkI8WCio.js} +1 -1
- package/dashboard/_app/immutable/chunks/{BPAFOnTI.js → CriBz9rd.js} +1 -1
- package/dashboard/_app/immutable/chunks/{S-KoXhHO.js → CurbP_qp.js} +1 -1
- package/dashboard/_app/immutable/chunks/{B-D_9HMx.js → CwvYy9Q_.js} +1 -1
- package/dashboard/_app/immutable/chunks/{BTHd4mw-.js → Cz2eC-n-.js} +1 -1
- package/dashboard/_app/immutable/chunks/{BKxe5Fww.js → CzGsdVFS.js} +1 -1
- package/dashboard/_app/immutable/chunks/{rKstBHh_.js → D6-Lt-K3.js} +1 -1
- package/dashboard/_app/immutable/chunks/{Tz5fiP_o.js → D67VDZtl.js} +1 -1
- package/dashboard/_app/immutable/chunks/{BlBUVACt.js → DCsau4wp.js} +1 -1
- package/dashboard/_app/immutable/chunks/{CZiwzK6m.js → DPjV_Ia9.js} +1 -1
- package/dashboard/_app/immutable/chunks/{B8tCxE29.js → DSOd40Qg.js} +1 -1
- package/dashboard/_app/immutable/chunks/{aWb058QO.js → DTI_BX3h.js} +1 -1
- package/dashboard/_app/immutable/chunks/{BQJKZvek.js → DbxhLops.js} +1 -1
- package/dashboard/_app/immutable/chunks/{Bjw4kw6i.js → DcoXre3c.js} +1 -1
- package/dashboard/_app/immutable/chunks/{CWhRn94r.js → DmLccHS8.js} +2 -2
- package/dashboard/_app/immutable/chunks/{BFvR7qa3.js → DpMLApH8.js} +1 -1
- package/dashboard/_app/immutable/chunks/{DACH9bIh.js → F-R9PkO3.js} +1 -1
- package/dashboard/_app/immutable/chunks/{DDK7sFBB.js → KSGD6yES.js} +1 -1
- package/dashboard/_app/immutable/chunks/{B_a67mN5.js → VSphb5_W.js} +1 -1
- package/dashboard/_app/immutable/chunks/{CJhL7V_f.js → fMPfTDbj.js} +1 -1
- package/dashboard/_app/immutable/chunks/{Cn4cwJ3x.js → jdWE8kcz.js} +1 -1
- package/dashboard/_app/immutable/chunks/{DVCA-NXi.js → owdA3j6k.js} +1 -1
- package/dashboard/_app/immutable/chunks/{Bdyz-KHw.js → p43gmDmU.js} +1 -1
- package/dashboard/_app/immutable/chunks/{Dygqj6Gg.js → pvPZOrPw.js} +1 -1
- package/dashboard/_app/immutable/chunks/{D_RoD3Fm.js → qZnh3QEr.js} +1 -1
- package/dashboard/_app/immutable/chunks/{DszbTkHW.js → qkUlBV2D.js} +2 -2
- package/dashboard/_app/immutable/chunks/{CwECCOMK.js → uGAGDqdm.js} +1 -1
- package/dashboard/_app/immutable/entry/{app.DeEt8OuH.js → app.CqA4vumd.js} +2 -2
- package/dashboard/_app/immutable/entry/start.CuF6-LqB.js +1 -0
- package/dashboard/_app/immutable/nodes/{1.CECXH9gf.js → 1.BSz7keEN.js} +1 -1
- package/dashboard/_app/immutable/nodes/2.DadRzVMI.js +1 -0
- package/dashboard/_app/version.json +1 -1
- package/dashboard/index.html +6 -6
- package/dist/cli.js +103 -107
- package/dist/daemon.js +2 -6
- package/package.json +1 -1
- package/dashboard/_app/immutable/entry/start.B9yPrSUa.js +0 -1
- package/dashboard/_app/immutable/nodes/2.CD8l9dg7.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{bi as Te,q as Ge,o as A,i as U,v as T,U as oe,bj as kt,aL as Et}from"./C0do9GyP.js";class Pe{constructor(t,n){this.status=t,typeof n=="string"?this.body={message:n}:n?this.body=n:this.body={message:`Error: ${t}`}}toString(){return JSON.stringify(this.body)}}class Ie{constructor(t,n){try{new Headers({location:n})}catch{throw new Error(`Invalid redirect location ${JSON.stringify(n)}: this string contains characters that cannot be used in HTTP headers`)}this.status=t,this.location=n}}class Oe extends Error{constructor(t,n,r){super(r),this.status=t,this.text=n}}new URL("sveltekit-internal://");function St(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function Rt(e){return e.split("%25").map(decodeURI).join("%25")}function xt(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function ye({href:e}){return e.split("#")[0]}function Lt(e,t,n,r=!1){const a=new URL(e);Object.defineProperty(a,"searchParams",{value:new Proxy(a.searchParams,{get(i,o){if(o==="get"||o==="getAll"||o==="has")return(c,...d)=>(n(c),i[o](c,...d));t();const l=Reflect.get(i,o);return typeof l=="function"?l.bind(i):l}}),enumerable:!0,configurable:!0});const s=["href","pathname","search","toString","toJSON"];r&&s.push("hash");for(const i of s)Object.defineProperty(a,i,{get(){return t(),e[i]},enumerable:!0,configurable:!0});return a}function P(){}function At(...e){let t=5381;for(const n of e)if(typeof n=="string"){let r=n.length;for(;r;)t=t*33^n.charCodeAt(--r)}else if(ArrayBuffer.isView(n)){const r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let a=r.length;for(;a;)t=t*33^r[--a]}else throw new TypeError("value must be a string or TypedArray");return(t>>>0).toString(36)}new TextEncoder;new TextDecoder;function Ut(e){const t=atob(e),n=new Uint8Array(t.length);for(let r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n}const Tt=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||"GET")!=="GET"&&W.delete($e(e)),Tt(e,t));const W=new Map;function Pt(e,t){const n=$e(e,t),r=document.querySelector(n);if(r?.textContent){r.remove();let{body:a,...s}=JSON.parse(r.textContent);const i=r.getAttribute("data-ttl");return i&&W.set(n,{body:a,init:s,ttl:1e3*Number(i)}),r.getAttribute("data-b64")!==null&&(a=Ut(a)),Promise.resolve(new Response(a,s))}return window.fetch(e,t)}function It(e,t,n){if(W.size>0){const r=$e(e,n),a=W.get(r);if(a){if(performance.now()<a.ttl&&["default","force-cache","only-if-cached",void 0].includes(n?.cache))return new Response(a.body,a.init);W.delete(r)}}return window.fetch(t,n)}function $e(e,t){let r=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(t?.headers||t?.body){const a=[];t.headers&&a.push([...new Headers(t.headers)].join(",")),t.body&&(typeof t.body=="string"||ArrayBuffer.isView(t.body))&&a.push(t.body),r+=`[data-hash="${At(...a)}"]`}return r}const Ot=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;function $t(e){const t=[];return{pattern:e==="/"?/^\/$/:new RegExp(`^${jt(e).map(r=>{const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return t.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const s=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(s)return t.push({name:s[1],matcher:s[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const i=r.split(/\[(.+?)\](?!\])/);return"/"+i.map((l,c)=>{if(c%2){if(l.startsWith("x+"))return be(String.fromCharCode(parseInt(l.slice(2),16)));if(l.startsWith("u+"))return be(String.fromCharCode(...l.slice(2).split("-").map(v=>parseInt(v,16))));const d=Ot.exec(l),[,p,u,f,h]=d;return t.push({name:f,matcher:h,optional:!!p,rest:!!u,chained:u?c===1&&i[0]==="":!1}),u?"([^]*?)":p?"([^/]*)?":"([^/]+?)"}return be(l)}).join("")}).join("")}/?$`),params:t}}function Ct(e){return e!==""&&!/^\([^)]+\)$/.test(e)}function jt(e){return e.slice(1).split("/").filter(Ct)}function Nt(e,t,n){const r={},a=e.slice(1),s=a.filter(o=>o!==void 0);let i=0;for(let o=0;o<t.length;o+=1){const l=t[o];let c=a[o-i];if(l.chained&&l.rest&&i&&(c=a.slice(o-i,o+1).filter(d=>d).join("/"),i=0),c===void 0)if(l.rest)c="";else continue;if(!l.matcher||n[l.matcher](c)){r[l.name]=c;const d=t[o+1],p=a[o+1];d&&!d.rest&&d.optional&&p&&l.chained&&(i=0),!d&&!p&&Object.keys(r).length===s.length&&(i=0);continue}if(l.optional&&l.chained){i++;continue}return}if(!i)return r}function be(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function qt({nodes:e,server_loads:t,dictionary:n,matchers:r}){const a=new Set(t);return Object.entries(n).map(([o,[l,c,d]])=>{const{pattern:p,params:u}=$t(o),f={id:o,exec:h=>{const v=p.exec(h);if(v)return Nt(v,u,r)},errors:[1,...d||[]].map(h=>e[h]),layouts:[0,...c||[]].map(i),leaf:s(l)};return f.errors.length=f.layouts.length=Math.max(f.errors.length,f.layouts.length),f});function s(o){const l=o<0;return l&&(o=~o),[l,e[o]]}function i(o){return o===void 0?o:[a.has(o),e[o]]}}function et(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function Je(e,t,n=JSON.stringify){const r=n(t);try{sessionStorage[e]=r}catch{}}const L=globalThis.__sveltekit_1pu2txa?.base??"",Dt=globalThis.__sveltekit_1pu2txa?.assets??L??"",Vt="1779368224219",tt="sveltekit:snapshot",nt="sveltekit:scroll",Ce="sveltekit:states",rt="sveltekit:pageurl",D="sveltekit:history",K="sveltekit:navigation",q={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},je=location.origin;function Ne(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){const n=document.getElementsByTagName("base");t=n.length?n[0].href:document.URL}return new URL(e,t)}function V(){return{x:pageXOffset,y:pageYOffset}}function B(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const We={...q,"":q.hover};function at(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function ot(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=at(e)}}function Re(e,t,n){let r;try{if(r=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){const o=location.hash.split("#")[1]||"/";r.hash=`#${o}${r.hash}`}}catch{}const a=e instanceof SVGAElement?e.target.baseVal:e.target,s=!r||!!a||ge(r,t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),i=r?.origin===je&&e.hasAttribute("download");return{url:r,external:s,target:a,download:i}}function se(e){let t=null,n=null,r=null,a=null,s=null,i=null,o=e;for(;o&&o!==document.documentElement;)r===null&&(r=B(o,"preload-code")),a===null&&(a=B(o,"preload-data")),t===null&&(t=B(o,"keepfocus")),n===null&&(n=B(o,"noscroll")),s===null&&(s=B(o,"reload")),i===null&&(i=B(o,"replacestate")),o=at(o);function l(c){switch(c){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:We[r??"off"],preload_data:We[a??"off"],keepfocus:l(t),noscroll:l(n),reload:l(s),replace_state:l(i)}}function Ye(e){const t=Te(e);let n=!0;function r(){n=!0,t.update(i=>i)}function a(i){n=!1,t.set(i)}function s(i){let o;return t.subscribe(l=>{(o===void 0||n&&l!==o)&&i(o=l)})}return{notify:r,set:a,subscribe:s}}const st={v:P};function Bt(){const{set:e,subscribe:t}=Te(!1);let n;async function r(){clearTimeout(n);try{const a=await fetch(`${Dt}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const i=(await a.json()).version!==Vt;return i&&(e(!0),st.v(),clearTimeout(n)),i}catch{return!1}}return{subscribe:t,check:r}}function ge(e,t,n){return e.origin!==je||!e.pathname.startsWith(t)?!0:n?e.pathname!==location.pathname:!1}function pn(e){}const it=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...it];const Ht=new Set([...it]);[...Ht];function Kt(e){return e.filter(t=>t!=null)}function qe(e){return e instanceof Pe||e instanceof Oe?e.status:500}function Mt(e){return e instanceof Oe?e.text:"Internal Error"}let y,z,ke;const Ft=Ge.toString().includes("$$")||/function \w+\(\) \{\}/.test(Ge.toString()),ze="a:";Ft?(y={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL(ze)},z={current:null},ke={current:!1}):(y=new class{#e=A({});get data(){return U(this.#e)}set data(t){T(this.#e,t)}#t=A(null);get form(){return U(this.#t)}set form(t){T(this.#t,t)}#n=A(null);get error(){return U(this.#n)}set error(t){T(this.#n,t)}#r=A({});get params(){return U(this.#r)}set params(t){T(this.#r,t)}#a=A({id:null});get route(){return U(this.#a)}set route(t){T(this.#a,t)}#o=A({});get state(){return U(this.#o)}set state(t){T(this.#o,t)}#s=A(-1);get status(){return U(this.#s)}set status(t){T(this.#s,t)}#i=A(new URL(ze));get url(){return U(this.#i)}set url(t){T(this.#i,t)}},z=new class{#e=A(null);get current(){return U(this.#e)}set current(t){T(this.#e,t)}},ke=new class{#e=A(!1);get current(){return U(this.#e)}set current(t){T(this.#e,t)}},st.v=()=>ke.current=!0);function lt(e){Object.assign(y,e)}const Xe={spanContext(){return Gt},setAttribute(){return this},setAttributes(){return this},addEvent(){return this},setStatus(){return this},updateName(){return this},end(){return this},isRecording(){return!1},recordException(){return this},addLink(){return this},addLinks(){return this}},Gt={traceId:"",spanId:"",traceFlags:0},Jt=Et??(e=>e()),Wt=new Set(["icon","shortcut icon","apple-touch-icon"]);let G=null;const N=et(nt)??{},X=et(tt)??{},j={url:Ye({}),page:Ye({}),navigating:Te(null),updated:Bt()};function De(e){N[e]=V()}function Yt(e,t){let n=e+1;for(;N[n];)delete N[n],n+=1;for(n=t+1;X[n];)delete X[n],n+=1}function Q(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(P)}async function ct(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(L||"/");e&&await e.update()}}let Ve,xe,ie,I,Le,b;const le=[],ce=[];let x=null;function Z(){x?.fork?.then(e=>e?.discard()),x=null}const ae=new Map,ut=new Set,zt=new Set,Y=new Set;let m={branch:[],error:null,url:null,nav:null},ft=!1,ue=!1,Qe=!0,ee=!1,J=!1,dt=!1,ne=!1,_e,w,R,O;const fe=new Set;let Ee;const de=new Map;async function vn(e,t,n){globalThis.__sveltekit_1pu2txa&&(globalThis.__sveltekit_1pu2txa.query,globalThis.__sveltekit_1pu2txa.prerender),document.URL!==location.href&&(location.href=location.href),b=e,await e.hooks.init?.(),Ve=qt(e),I=document.documentElement,Le=t,xe=e.nodes[0],ie=e.nodes[1],xe(),ie(),w=history.state?.[D],R=history.state?.[K],w||(w=R=Date.now(),history.replaceState({...history.state,[D]:w,[K]:R},""));const r=N[w];function a(){r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y))}n?(a(),await cn(Le,n)):(await H({type:"enter",url:Ne(b.hash?dn(new URL(location.href)):location.href),replace_state:!0}),a()),ln()}async function Xt(e=!0,t=!0){if(await(Ee||=Promise.resolve()),!Ee)return;Ee=null;const n=O={},r=await re(m.url,!0);if(Z(),ne&&de.forEach(a=>{a.forEach(({resource:s})=>{s.refresh?.()})}),e){const a=y.state,s=r&&await Ke(r);if(!s||n!==O)return;if(s.type==="redirect")return gt(new URL(s.location,m.url).href,{replaceState:!0},1,n);t||(s.props.page.state=a),lt(s.props.page),m={...s.state,nav:m.nav},Ae(),_e.$set(s.props)}else Ae();await Promise.all([...de.values()].flatMap(a=>[...a.values()].map(({resource:s})=>s))).catch(P)}function Ae(){le.length=0,ne=!1}function ht(e){ce.some(t=>t?.snapshot)&&(X[e]=ce.map(t=>t?.snapshot?.capture()))}function pt(e){X[e]?.forEach((t,n)=>{ce[n]?.snapshot?.restore(t)})}function Ze(){De(w),Je(nt,N),ht(R),Je(tt,X)}async function gt(e,t,n,r){let a;t.invalidateAll&&Z(),await H({type:"goto",url:Ne(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:n,nav_token:r,accept:()=>{t.invalidateAll&&(ne=!0,a=[],de.forEach((s,i)=>{for(const o of s.keys())a.push(i+"/"+o)})),t.invalidate&&t.invalidate.forEach(sn)}}),t.invalidateAll&&oe().then(oe).then(()=>{de.forEach((s,i)=>{s.forEach(({resource:o},l)=>{a?.includes(i+"/"+l)&&o.refresh?.()})})})}async function Qt(e){if(e.id!==x?.id){Z();const t={};fe.add(t),x={id:e.id,token:t,promise:Ke({...e,preload:t}).then(n=>(fe.delete(t),n.type==="loaded"&&n.state.error&&Z(),n)),fork:null}}return x.promise}async function Se(e){const t=(await re(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].filter(Boolean).map(n=>n[1]()))}async function _t(e,t,n){const r={params:m.params,route:{id:m.route?.id??null},url:new URL(location.href)};m={...e.state,nav:r};const a=document.querySelector("style[data-sveltekit]");if(a&&a.remove(),Object.assign(y,e.props.page),_e=new b.root({target:t,props:{...e.props,stores:j,components:ce},hydrate:n,sync:!1,transformError:void 0}),await Promise.resolve(),pt(R),n){const s={from:null,to:{...r,scroll:N[w]??V()},willUnload:!1,type:"enter",complete:Promise.resolve()};Y.forEach(i=>i(s))}ue=!0}async function he({url:e,params:t,branch:n,errors:r,status:a,error:s,route:i,form:o}){let l="never";if(L&&(e.pathname===L||e.pathname===L+"/"))l="always";else for(const h of n)h?.slash!==void 0&&(l=h.slash);e.pathname=St(e.pathname,l),e.search=e.search;const c={type:"loaded",state:{url:e,params:t,branch:n,error:s,route:i},props:{constructors:Kt(n).map(h=>h.node.component),page:me(y)}};o!==void 0&&(c.props.form=o);let d={},p=!y,u=0;for(let h=0;h<Math.max(n.length,m.branch.length);h+=1){const v=n[h],_=m.branch[h];v?.data!==_?.data&&(p=!0),v&&(d={...d,...v.data},p&&(c.props[`data_${u}`]=d),u+=1)}return(!m.url||e.href!==m.url.href||m.error!==s||o!==void 0&&o!==y.form||p)&&(c.props.page={error:s,params:t,route:{id:i?.id??null},state:{},status:a,url:new URL(e),form:o??null,data:p?d:y.data}),c}async function Be({loader:e,parent:t,url:n,params:r,route:a,server_data_node:s}){let i=null,o=!0;const l={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},c=await e();if(c.universal?.load){let d=function(...u){for(const f of u){const{href:h}=new URL(f,n);l.dependencies.add(h)}};const p={tracing:{enabled:!1,root:Xe,current:Xe},route:new Proxy(a,{get:(u,f)=>(o&&(l.route=!0),u[f])}),params:new Proxy(r,{get:(u,f)=>(o&&l.params.add(f),u[f])}),data:s?.data??null,url:Lt(n,()=>{o&&(l.url=!0)},u=>{o&&l.search_params.add(u)},b.hash),async fetch(u,f){u instanceof Request&&(f={body:u.method==="GET"||u.method==="HEAD"?void 0:await u.blob(),cache:u.cache,credentials:u.credentials,headers:[...u.headers].length>0?u?.headers:void 0,integrity:u.integrity,keepalive:u.keepalive,method:u.method,mode:u.mode,redirect:u.redirect,referrer:u.referrer,referrerPolicy:u.referrerPolicy,signal:u.signal,...f});const{resolved:h,promise:v}=mt(u,f,n);return o&&d(h.href),v},setHeaders:P,depends:d,parent(){return o&&(l.parent=!0),t()},untrack(u){o=!1;try{return u()}finally{o=!0}}};i=await c.universal.load.call(null,p)??null}return{node:c,loader:e,server:s,universal:c.universal?.load?{type:"data",data:i,uses:l}:null,data:i??s?.data??null,slash:c.universal?.trailingSlash??s?.slash}}function mt(e,t,n){let r=e instanceof Request?e.url:e;const a=new URL(r,n);a.origin===n.origin&&(r=a.href.slice(n.origin.length));const s=ue?It(r,a.href,t):Pt(r,t);return{resolved:a,promise:s}}function Zt(e,t,n,r,a,s){if(ne)return!0;if(!a)return!1;if(a.parent&&e||a.route&&t||a.url&&n)return!0;for(const i of a.search_params)if(r.has(i))return!0;for(const i of a.params)if(s[i]!==m.params[i])return!0;for(const i of a.dependencies)if(le.some(o=>o(new URL(i))))return!0;return!1}function He(e,t){return e?.type==="data"?e:e?.type==="skip"?t??null:null}function en(e,t){if(!e)return new Set(t.searchParams.keys());const n=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(const r of n){const a=e.searchParams.getAll(r),s=t.searchParams.getAll(r);a.every(i=>s.includes(i))&&s.every(i=>a.includes(i))&&n.delete(r)}return n}function tn({error:e,url:t,route:n,params:r}){return{type:"loaded",state:{error:e,url:t,route:n,params:r,branch:[]},props:{page:me(y),constructors:[]}}}async function Ke({id:e,invalidating:t,url:n,params:r,route:a,preload:s}){if(x?.id===e)return fe.delete(x.token),x.promise;const{errors:i,layouts:o,leaf:l}=a,c=[...o,l];i.forEach(_=>_?.().catch(P)),c.forEach(_=>_?.[1]().catch(P));const d=m.url?e!==pe(m.url):!1,p=m.route?a.id!==m.route.id:!1,u=en(m.url,n);let f=!1;const h=c.map(async(_,g)=>{if(!_)return;const k=m.branch[g];return _[1]===k?.loader&&!Zt(f,p,d,u,k.universal?.uses,r)?k:(f=!0,Be({loader:_[1],url:n,params:r,route:a,parent:async()=>{const $={};for(let C=0;C<g;C+=1)Object.assign($,(await h[C])?.data);return $},server_data_node:He(_[0]?{type:"skip"}:null,_[0]?k?.server:void 0)}))});for(const _ of h)_.catch(P);const v=[];for(let _=0;_<c.length;_+=1)if(c[_])try{v.push(await h[_])}catch(g){if(g instanceof Ie)return{type:"redirect",location:g.location};if(fe.has(s))return tn({error:await te(g,{params:r,url:n,route:{id:a.id}}),url:n,params:r,route:a});let k=qe(g),S;if(g instanceof Pe)S=g.body;else{if(await j.updated.check())return await ct(),await Q(n);S=await te(g,{params:r,url:n,route:{id:a.id}})}const $=await nn(_,v,i);return $?he({url:n,params:r,branch:v.slice(0,$.idx).concat($.node),errors:i,status:k,error:S,route:a}):await wt(n,{id:a.id},S,k)}else v.push(void 0);return he({url:n,params:r,branch:v,errors:i,status:200,error:null,route:a,form:t?void 0:null})}async function nn(e,t,n){for(;e--;)if(n[e]){let r=e;for(;!t[r];)r-=1;try{return{idx:r+1,node:{node:await n[e](),loader:n[e],data:{},server:null,universal:null}}}catch{continue}}}async function Me({status:e,error:t,url:n,route:r}){const a={};let s=null;try{const i=await Be({loader:xe,url:n,params:a,route:r,parent:()=>Promise.resolve({}),server_data_node:He(s)}),o={node:await ie(),loader:ie,universal:null,server:null,data:null};return he({url:n,params:a,branch:[i,o],status:e,error:t,errors:[],route:null})}catch(i){if(i instanceof Ie)return gt(new URL(i.location,location.href),{},0);throw i}}async function rn(e){const t=e.href;if(ae.has(t))return ae.get(t);let n;try{const r=(async()=>{let a=await b.hooks.reroute({url:new URL(e),fetch:async(s,i)=>mt(s,i,e).promise})??e;if(typeof a=="string"){const s=new URL(e);b.hash?s.hash=a:s.pathname=a,a=s}return a})();ae.set(t,r),n=await r}catch{ae.delete(t);return}return n}async function re(e,t){if(e&&!ge(e,L,b.hash)){const n=await rn(e);if(!n)return;const r=an(n);for(const a of Ve){const s=a.exec(r);if(s)return{id:pe(e),invalidating:t,route:a,params:xt(s),url:e}}}}function an(e){return Rt(b.hash?e.hash.replace(/^#/,"").replace(/[?#].+/,""):e.pathname.slice(L.length))||"/"}function pe(e){return(b.hash?e.hash.replace(/^#/,""):e.pathname)+e.search}function vt({url:e,type:t,intent:n,delta:r,event:a,scroll:s}){let i=!1;const o=Fe(m,n,e,t,s??null);r!==void 0&&(o.navigation.delta=r),a!==void 0&&(o.navigation.event=a);const l={...o.navigation,cancel:()=>{i=!0,o.reject(new Error("navigation cancelled"))}};return ee||ut.forEach(c=>c(l)),i?null:o}async function H({type:e,url:t,popped:n,keepfocus:r,noscroll:a,replace_state:s,state:i={},redirect_count:o=0,nav_token:l={},accept:c=P,block:d=P,event:p}){const u=O;O=l;const f=await re(t,!1),h=e==="enter"?Fe(m,f,t,e):vt({url:t,type:e,delta:n?.delta,intent:f,scroll:n?.scroll,event:p});if(!h){d(),O===l&&(O=u);return}const v=w,_=R;c(),ee=!0,ue&&h.navigation.type!=="enter"&&j.navigating.set(z.current=h.navigation);let g=f&&await Ke(f);if(!g){if(ge(t,L,b.hash))return await Q(t,s);g=await wt(t,{id:null},await te(new Oe(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404,s)}if(t=f?.url||t,O!==l)return h.reject(new Error("navigation aborted")),!1;if(g.type==="redirect"){if(o<20){await H({type:e,url:new URL(g.location,t),popped:n,keepfocus:r,noscroll:a,replace_state:s,state:i,redirect_count:o+1,nav_token:l}),h.fulfil(void 0);return}g=await Me({status:500,error:await te(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}})}else g.props.page.status>=400&&await j.updated.check()&&(await ct(),await Q(t,s));if(Ae(),De(v),ht(_),g.props.page.url.pathname!==t.pathname&&(t.pathname=g.props.page.url.pathname),i=n?n.state:i,!n){const E=s?0:1,M={[D]:w+=E,[K]:R+=E,[Ce]:i};(s?history.replaceState:history.pushState).call(history,M,"",t),s||Yt(w,R)}const k=f&&x?.id===f.id?x.fork:null;x?.fork&&!k&&Z(),x=null,g.props.page.state=i;let S;if(ue){const E=(await Promise.all(Array.from(zt,F=>F(h.navigation)))).filter(F=>typeof F=="function");if(E.length>0){let F=function(){E.forEach(we=>{Y.delete(we)})};E.push(F),E.forEach(we=>{Y.add(we)})}const M=h.navigation.to;m={...g.state,nav:{params:M.params,route:M.route,url:M.url}},g.props.page&&(g.props.page.url=t);const ve=k&&await k;ve?S=ve.commit():(G=null,_e.$set(g.props),G&&Object.assign(g.props.page,G),lt(g.props.page),S=kt?.()),dt=!0}else await _t(g,Le,!1);const{activeElement:$}=document;await S,await oe(),await oe();let C=null;if(Qe){const E=n?n.scroll:a?V():null;E?scrollTo(E.x,E.y):(C=t.hash&&document.getElementById(yt(t)))?C.scrollIntoView():scrollTo(0,0)}const bt=document.activeElement!==$&&document.activeElement!==document.body;!r&&!bt&&fn(t,!C),Qe=!0,g.props.page&&(G&&Object.assign(g.props.page,G),Object.assign(y,g.props.page)),ee=!1,e==="popstate"&&pt(R),h.fulfil(void 0),h.navigation.to&&(h.navigation.to.scroll=V()),Y.forEach(E=>E(h.navigation)),j.navigating.set(z.current=null)}async function wt(e,t,n,r,a){return e.origin===je&&e.pathname===location.pathname&&!ft?await Me({status:r,error:n,url:e,route:t}):await Q(e,a)}function on(){let e,t={element:void 0,href:void 0},n;I.addEventListener("mousemove",o=>{const l=o.target;clearTimeout(e),e=setTimeout(()=>{s(l,q.hover)},20)});function r(o){o.defaultPrevented||s(o.composedPath()[0],q.tap)}I.addEventListener("mousedown",r),I.addEventListener("touchstart",r,{passive:!0});const a=new IntersectionObserver(o=>{for(const l of o)l.isIntersecting&&(Se(new URL(l.target.href)),a.unobserve(l.target))},{threshold:0});async function s(o,l){const c=ot(o,I),d=c===t.element&&c?.href===t.href&&l>=n;if(!c||d)return;const{url:p,external:u,download:f}=Re(c,L,b.hash);if(u||f)return;const h=se(c),v=p&&pe(m.url)===pe(p);if(!(h.reload||v))if(l<=h.preload_data){t={element:c,href:c.href},n=q.tap;const _=await re(p,!1);if(!_)return;Qt(_)}else l<=h.preload_code&&(t={element:c,href:c.href},n=l,Se(p))}function i(){a.disconnect();for(const o of I.querySelectorAll("a")){const{url:l,external:c,download:d}=Re(o,L,b.hash);if(c||d)continue;const p=se(o);p.reload||(p.preload_code===q.viewport&&a.observe(o),p.preload_code===q.eager&&Se(l))}}Y.add(i),i()}function te(e,t){if(e instanceof Pe)return e.body;const n=qe(e),r=Mt(e);return b.hooks.handleError({error:e,event:t,status:n,message:r})??{message:r}}function sn(e){if(typeof e=="function")le.push(e);else{const{href:t}=new URL(e,location.href);le.push(n=>n.href===t)}}function wn(){return ne=!0,Xt()}function yn(e,t){const n={[D]:w,[K]:R,[rt]:y.url.href,[Ce]:t};history.replaceState(n,"",Ne(e)),y.state=t,_e.$set({page:Jt(()=>me(y))})}function ln(){history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let n=!1;if(Ze(),!ee){const r=Fe(m,void 0,null,"leave"),a={...r.navigation,cancel:()=>{n=!0,r.reject(new Error("navigation cancelled"))}};ut.forEach(s=>s(a))}n?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Ze()}),navigator.connection?.saveData||on(),I.addEventListener("click",async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const n=ot(t.composedPath()[0],I);if(!n)return;const{url:r,external:a,target:s,download:i}=Re(n,L,b.hash);if(!r)return;if(s==="_parent"||s==="_top"){if(window.parent!==window)return}else if(s&&s!=="_self")return;const o=se(n);if(!(n instanceof SVGAElement)&&r.protocol!==location.protocol&&!(r.protocol==="https:"||r.protocol==="http:")||i)return;const[c,d]=(b.hash?r.hash.replace(/^#/,""):r.href).split("#"),p=c===ye(location);if(a||o.reload&&(!p||!d)){vt({url:r,type:"link",event:t})?ee=!0:t.preventDefault();return}if(d!==void 0&&p){const[,u]=m.url.href.split("#");if(u===d){if(t.preventDefault(),d===""||d==="top"&&n.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const f=n.ownerDocument.getElementById(decodeURIComponent(d));f&&(f.scrollIntoView(),f.focus())}return}if(J=!0,De(w),e(r),!o.replace_state)return;J=!1}t.preventDefault(),await new Promise(u=>{requestAnimationFrame(()=>{setTimeout(u,0)}),setTimeout(u,100)}),await H({type:"link",url:r,keepfocus:o.keepfocus,noscroll:o.noscroll,replace_state:o.replace_state??r.href===location.href,event:t})}),I.addEventListener("submit",t=>{if(t.defaultPrevented)return;const n=HTMLFormElement.prototype.cloneNode.call(t.target),r=t.submitter;if((r?.formTarget||n.target)==="_blank"||(r?.formMethod||n.method)!=="get")return;const i=new URL(r?.hasAttribute("formaction")&&r?.formAction||n.action);if(ge(i,L,!1))return;const o=t.target,l=se(o);if(l.reload)return;t.preventDefault(),t.stopPropagation();const c=new FormData(o,r);i.search=new URLSearchParams(c).toString(),H({type:"form",url:i,keepfocus:l.keepfocus,noscroll:l.noscroll,replace_state:l.replace_state??i.href===location.href,event:t})}),addEventListener("popstate",async t=>{if(!Ue){if(t.state?.[D]){const n=t.state[D];if(O={},n===w)return;const r=N[n],a=t.state[Ce]??{},s=new URL(t.state[rt]??location.href),i=t.state[K],o=m.url?ye(location)===ye(m.url):!1;if(i===R&&(dt||o)){a!==y.state&&(y.state=a),e(s),N[w]=V(),r&&scrollTo(r.x,r.y),w=n;return}const c=n-w;await H({type:"popstate",url:s,popped:{state:a,scroll:r,delta:c},accept:()=>{w=n,R=i},block:()=>{history.go(-c)},nav_token:O,event:t})}else if(!J){const n=new URL(location.href);e(n),b.hash&&location.reload()}}}),addEventListener("hashchange",()=>{J&&(J=!1,history.replaceState({...history.state,[D]:++w,[K]:R},"",location.href))});for(const t of document.querySelectorAll("link"))Wt.has(t.rel)&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&j.navigating.set(z.current=null)});function e(t){m.url=y.url=t,j.page.set(me(y)),j.page.notify()}}async function cn(e,{status:t=200,error:n,node_ids:r,params:a,route:s,server_route:i,data:o,form:l}){ft=!0;const c=new URL(location.href);let d;({params:a={},route:s={id:null}}=await re(c,!1)||{}),d=Ve.find(({id:f})=>f===s.id);let p,u=!0;try{const f=r.map(async(v,_)=>{const g=o[_];return g?.uses&&(g.uses=un(g.uses)),Be({loader:b.nodes[v],url:c,params:a,route:s,parent:async()=>{const k={};for(let S=0;S<_;S+=1)Object.assign(k,(await f[S]).data);return k},server_data_node:He(g)})}),h=await Promise.all(f);if(d){const v=d.layouts;for(let _=0;_<v.length;_++)v[_]||h.splice(_,0,void 0)}p=await he({url:c,params:a,branch:h,status:t,error:n,errors:d?.errors,form:l,route:d??null})}catch(f){if(f instanceof Ie){await Q(new URL(f.location,location.href));return}p=await Me({status:qe(f),error:await te(f,{url:c,params:a,route:s}),url:c,route:s}),e.textContent="",u=!1}p.props.page&&(p.props.page.state={}),await _t(p,e,u)}function un(e){return{dependencies:new Set(e?.dependencies??[]),params:new Set(e?.params??[]),parent:!!e?.parent,route:!!e?.route,url:!!e?.url,search_params:new Set(e?.search_params??[])}}let Ue=!1;function fn(e,t=!0){const n=document.querySelector("[autofocus]");if(n)n.focus();else{const r=yt(e);if(r&&document.getElementById(r)){const{x:s,y:i}=V();setTimeout(()=>{const o=history.state;Ue=!0,location.replace(new URL(`#${r}`,location.href)),history.replaceState(o,"",e),t&&scrollTo(s,i),Ue=!1})}else{const s=document.body,i=s.getAttribute("tabindex");s.tabIndex=-1,s.focus({preventScroll:!0,focusVisible:!1}),i!==null?s.setAttribute("tabindex",i):s.removeAttribute("tabindex")}const a=getSelection();if(a&&a.type!=="None"){const s=[];for(let i=0;i<a.rangeCount;i+=1)s.push(a.getRangeAt(i));setTimeout(()=>{if(a.rangeCount===s.length){for(let i=0;i<a.rangeCount;i+=1){const o=s[i],l=a.getRangeAt(i);if(o.commonAncestorContainer!==l.commonAncestorContainer||o.startContainer!==l.startContainer||o.endContainer!==l.endContainer||o.startOffset!==l.startOffset||o.endOffset!==l.endOffset)return}a.removeAllRanges()}})}}}function Fe(e,t,n,r,a=null){let s,i;const o=new Promise((c,d)=>{s=c,i=d});return o.catch(P),{navigation:{from:{params:e.params,route:{id:e.route?.id??null},url:e.url,scroll:V()},to:n&&{params:t?.params??null,route:{id:t?.route?.id??null},url:n,scroll:a},willUnload:!t,type:r,complete:o},fulfil:s,reject:i}}function me(e){return{data:e.data,error:e.error,form:e.form,params:e.params,route:e.route,state:e.state,status:e.status,url:e.url}}function dn(e){const t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function yt(e){let t;if(b.hash){const[,,n]=e.hash.split("#",3);t=n??""}else t=e.hash.slice(1);return decodeURIComponent(t)}export{vn as a,wn as i,pn as l,y as p,yn as r,j as s};
|
|
1
|
+
import{bi as Te,q as Ge,o as A,i as U,v as T,U as oe,bj as kt,aL as Et}from"./C0do9GyP.js";class Pe{constructor(t,n){this.status=t,typeof n=="string"?this.body={message:n}:n?this.body=n:this.body={message:`Error: ${t}`}}toString(){return JSON.stringify(this.body)}}class Ie{constructor(t,n){try{new Headers({location:n})}catch{throw new Error(`Invalid redirect location ${JSON.stringify(n)}: this string contains characters that cannot be used in HTTP headers`)}this.status=t,this.location=n}}class Oe extends Error{constructor(t,n,r){super(r),this.status=t,this.text=n}}new URL("sveltekit-internal://");function St(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function Rt(e){return e.split("%25").map(decodeURI).join("%25")}function xt(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function ye({href:e}){return e.split("#")[0]}function Lt(e,t,n,r=!1){const a=new URL(e);Object.defineProperty(a,"searchParams",{value:new Proxy(a.searchParams,{get(i,o){if(o==="get"||o==="getAll"||o==="has")return(c,...d)=>(n(c),i[o](c,...d));t();const l=Reflect.get(i,o);return typeof l=="function"?l.bind(i):l}}),enumerable:!0,configurable:!0});const s=["href","pathname","search","toString","toJSON"];r&&s.push("hash");for(const i of s)Object.defineProperty(a,i,{get(){return t(),e[i]},enumerable:!0,configurable:!0});return a}function P(){}function At(...e){let t=5381;for(const n of e)if(typeof n=="string"){let r=n.length;for(;r;)t=t*33^n.charCodeAt(--r)}else if(ArrayBuffer.isView(n)){const r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let a=r.length;for(;a;)t=t*33^r[--a]}else throw new TypeError("value must be a string or TypedArray");return(t>>>0).toString(36)}new TextEncoder;new TextDecoder;function Ut(e){const t=atob(e),n=new Uint8Array(t.length);for(let r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n}const Tt=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||"GET")!=="GET"&&W.delete($e(e)),Tt(e,t));const W=new Map;function Pt(e,t){const n=$e(e,t),r=document.querySelector(n);if(r?.textContent){r.remove();let{body:a,...s}=JSON.parse(r.textContent);const i=r.getAttribute("data-ttl");return i&&W.set(n,{body:a,init:s,ttl:1e3*Number(i)}),r.getAttribute("data-b64")!==null&&(a=Ut(a)),Promise.resolve(new Response(a,s))}return window.fetch(e,t)}function It(e,t,n){if(W.size>0){const r=$e(e,n),a=W.get(r);if(a){if(performance.now()<a.ttl&&["default","force-cache","only-if-cached",void 0].includes(n?.cache))return new Response(a.body,a.init);W.delete(r)}}return window.fetch(t,n)}function $e(e,t){let r=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(t?.headers||t?.body){const a=[];t.headers&&a.push([...new Headers(t.headers)].join(",")),t.body&&(typeof t.body=="string"||ArrayBuffer.isView(t.body))&&a.push(t.body),r+=`[data-hash="${At(...a)}"]`}return r}const Ot=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;function $t(e){const t=[];return{pattern:e==="/"?/^\/$/:new RegExp(`^${Ct(e).map(r=>{const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return t.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const s=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(s)return t.push({name:s[1],matcher:s[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const i=r.split(/\[(.+?)\](?!\])/);return"/"+i.map((l,c)=>{if(c%2){if(l.startsWith("x+"))return be(String.fromCharCode(parseInt(l.slice(2),16)));if(l.startsWith("u+"))return be(String.fromCharCode(...l.slice(2).split("-").map(v=>parseInt(v,16))));const d=Ot.exec(l),[,p,u,f,h]=d;return t.push({name:f,matcher:h,optional:!!p,rest:!!u,chained:u?c===1&&i[0]==="":!1}),u?"([^]*?)":p?"([^/]*)?":"([^/]+?)"}return be(l)}).join("")}).join("")}/?$`),params:t}}function jt(e){return e!==""&&!/^\([^)]+\)$/.test(e)}function Ct(e){return e.slice(1).split("/").filter(jt)}function Nt(e,t,n){const r={},a=e.slice(1),s=a.filter(o=>o!==void 0);let i=0;for(let o=0;o<t.length;o+=1){const l=t[o];let c=a[o-i];if(l.chained&&l.rest&&i&&(c=a.slice(o-i,o+1).filter(d=>d).join("/"),i=0),c===void 0)if(l.rest)c="";else continue;if(!l.matcher||n[l.matcher](c)){r[l.name]=c;const d=t[o+1],p=a[o+1];d&&!d.rest&&d.optional&&p&&l.chained&&(i=0),!d&&!p&&Object.keys(r).length===s.length&&(i=0);continue}if(l.optional&&l.chained){i++;continue}return}if(!i)return r}function be(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function qt({nodes:e,server_loads:t,dictionary:n,matchers:r}){const a=new Set(t);return Object.entries(n).map(([o,[l,c,d]])=>{const{pattern:p,params:u}=$t(o),f={id:o,exec:h=>{const v=p.exec(h);if(v)return Nt(v,u,r)},errors:[1,...d||[]].map(h=>e[h]),layouts:[0,...c||[]].map(i),leaf:s(l)};return f.errors.length=f.layouts.length=Math.max(f.errors.length,f.layouts.length),f});function s(o){const l=o<0;return l&&(o=~o),[l,e[o]]}function i(o){return o===void 0?o:[a.has(o),e[o]]}}function et(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function Je(e,t,n=JSON.stringify){const r=n(t);try{sessionStorage[e]=r}catch{}}const L=globalThis.__sveltekit_1jh847s?.base??"",Dt=globalThis.__sveltekit_1jh847s?.assets??L??"",Vt="1779550603527",tt="sveltekit:snapshot",nt="sveltekit:scroll",je="sveltekit:states",rt="sveltekit:pageurl",D="sveltekit:history",K="sveltekit:navigation",q={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},Ce=location.origin;function Ne(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){const n=document.getElementsByTagName("base");t=n.length?n[0].href:document.URL}return new URL(e,t)}function V(){return{x:pageXOffset,y:pageYOffset}}function B(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const We={...q,"":q.hover};function at(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function ot(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=at(e)}}function Re(e,t,n){let r;try{if(r=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){const o=location.hash.split("#")[1]||"/";r.hash=`#${o}${r.hash}`}}catch{}const a=e instanceof SVGAElement?e.target.baseVal:e.target,s=!r||!!a||ge(r,t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),i=r?.origin===Ce&&e.hasAttribute("download");return{url:r,external:s,target:a,download:i}}function se(e){let t=null,n=null,r=null,a=null,s=null,i=null,o=e;for(;o&&o!==document.documentElement;)r===null&&(r=B(o,"preload-code")),a===null&&(a=B(o,"preload-data")),t===null&&(t=B(o,"keepfocus")),n===null&&(n=B(o,"noscroll")),s===null&&(s=B(o,"reload")),i===null&&(i=B(o,"replacestate")),o=at(o);function l(c){switch(c){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:We[r??"off"],preload_data:We[a??"off"],keepfocus:l(t),noscroll:l(n),reload:l(s),replace_state:l(i)}}function Ye(e){const t=Te(e);let n=!0;function r(){n=!0,t.update(i=>i)}function a(i){n=!1,t.set(i)}function s(i){let o;return t.subscribe(l=>{(o===void 0||n&&l!==o)&&i(o=l)})}return{notify:r,set:a,subscribe:s}}const st={v:P};function Bt(){const{set:e,subscribe:t}=Te(!1);let n;async function r(){clearTimeout(n);try{const a=await fetch(`${Dt}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const i=(await a.json()).version!==Vt;return i&&(e(!0),st.v(),clearTimeout(n)),i}catch{return!1}}return{subscribe:t,check:r}}function ge(e,t,n){return e.origin!==Ce||!e.pathname.startsWith(t)?!0:n?e.pathname!==location.pathname:!1}function pn(e){}const it=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...it];const Ht=new Set([...it]);[...Ht];function Kt(e){return e.filter(t=>t!=null)}function qe(e){return e instanceof Pe||e instanceof Oe?e.status:500}function Mt(e){return e instanceof Oe?e.text:"Internal Error"}let y,z,ke;const Ft=Ge.toString().includes("$$")||/function \w+\(\) \{\}/.test(Ge.toString()),ze="a:";Ft?(y={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL(ze)},z={current:null},ke={current:!1}):(y=new class{#e=A({});get data(){return U(this.#e)}set data(t){T(this.#e,t)}#t=A(null);get form(){return U(this.#t)}set form(t){T(this.#t,t)}#n=A(null);get error(){return U(this.#n)}set error(t){T(this.#n,t)}#r=A({});get params(){return U(this.#r)}set params(t){T(this.#r,t)}#a=A({id:null});get route(){return U(this.#a)}set route(t){T(this.#a,t)}#o=A({});get state(){return U(this.#o)}set state(t){T(this.#o,t)}#s=A(-1);get status(){return U(this.#s)}set status(t){T(this.#s,t)}#i=A(new URL(ze));get url(){return U(this.#i)}set url(t){T(this.#i,t)}},z=new class{#e=A(null);get current(){return U(this.#e)}set current(t){T(this.#e,t)}},ke=new class{#e=A(!1);get current(){return U(this.#e)}set current(t){T(this.#e,t)}},st.v=()=>ke.current=!0);function lt(e){Object.assign(y,e)}const Xe={spanContext(){return Gt},setAttribute(){return this},setAttributes(){return this},addEvent(){return this},setStatus(){return this},updateName(){return this},end(){return this},isRecording(){return!1},recordException(){return this},addLink(){return this},addLinks(){return this}},Gt={traceId:"",spanId:"",traceFlags:0},Jt=Et??(e=>e()),Wt=new Set(["icon","shortcut icon","apple-touch-icon"]);let G=null;const N=et(nt)??{},X=et(tt)??{},C={url:Ye({}),page:Ye({}),navigating:Te(null),updated:Bt()};function De(e){N[e]=V()}function Yt(e,t){let n=e+1;for(;N[n];)delete N[n],n+=1;for(n=t+1;X[n];)delete X[n],n+=1}function Q(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(P)}async function ct(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(L||"/");e&&await e.update()}}let Ve,xe,ie,I,Le,b;const le=[],ce=[];let x=null;function Z(){x?.fork?.then(e=>e?.discard()),x=null}const ae=new Map,ut=new Set,zt=new Set,Y=new Set;let m={branch:[],error:null,url:null,nav:null},ft=!1,ue=!1,Qe=!0,ee=!1,J=!1,dt=!1,ne=!1,_e,w,R,O;const fe=new Set;let Ee;const de=new Map;async function vn(e,t,n){globalThis.__sveltekit_1jh847s&&(globalThis.__sveltekit_1jh847s.query,globalThis.__sveltekit_1jh847s.prerender),document.URL!==location.href&&(location.href=location.href),b=e,await e.hooks.init?.(),Ve=qt(e),I=document.documentElement,Le=t,xe=e.nodes[0],ie=e.nodes[1],xe(),ie(),w=history.state?.[D],R=history.state?.[K],w||(w=R=Date.now(),history.replaceState({...history.state,[D]:w,[K]:R},""));const r=N[w];function a(){r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y))}n?(a(),await cn(Le,n)):(await H({type:"enter",url:Ne(b.hash?dn(new URL(location.href)):location.href),replace_state:!0}),a()),ln()}async function Xt(e=!0,t=!0){if(await(Ee||=Promise.resolve()),!Ee)return;Ee=null;const n=O={},r=await re(m.url,!0);if(Z(),ne&&de.forEach(a=>{a.forEach(({resource:s})=>{s.refresh?.()})}),e){const a=y.state,s=r&&await Ke(r);if(!s||n!==O)return;if(s.type==="redirect")return gt(new URL(s.location,m.url).href,{replaceState:!0},1,n);t||(s.props.page.state=a),lt(s.props.page),m={...s.state,nav:m.nav},Ae(),_e.$set(s.props)}else Ae();await Promise.all([...de.values()].flatMap(a=>[...a.values()].map(({resource:s})=>s))).catch(P)}function Ae(){le.length=0,ne=!1}function ht(e){ce.some(t=>t?.snapshot)&&(X[e]=ce.map(t=>t?.snapshot?.capture()))}function pt(e){X[e]?.forEach((t,n)=>{ce[n]?.snapshot?.restore(t)})}function Ze(){De(w),Je(nt,N),ht(R),Je(tt,X)}async function gt(e,t,n,r){let a;t.invalidateAll&&Z(),await H({type:"goto",url:Ne(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:n,nav_token:r,accept:()=>{t.invalidateAll&&(ne=!0,a=[],de.forEach((s,i)=>{for(const o of s.keys())a.push(i+"/"+o)})),t.invalidate&&t.invalidate.forEach(sn)}}),t.invalidateAll&&oe().then(oe).then(()=>{de.forEach((s,i)=>{s.forEach(({resource:o},l)=>{a?.includes(i+"/"+l)&&o.refresh?.()})})})}async function Qt(e){if(e.id!==x?.id){Z();const t={};fe.add(t),x={id:e.id,token:t,promise:Ke({...e,preload:t}).then(n=>(fe.delete(t),n.type==="loaded"&&n.state.error&&Z(),n)),fork:null}}return x.promise}async function Se(e){const t=(await re(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].filter(Boolean).map(n=>n[1]()))}async function _t(e,t,n){const r={params:m.params,route:{id:m.route?.id??null},url:new URL(location.href)};m={...e.state,nav:r};const a=document.querySelector("style[data-sveltekit]");if(a&&a.remove(),Object.assign(y,e.props.page),_e=new b.root({target:t,props:{...e.props,stores:C,components:ce},hydrate:n,sync:!1,transformError:void 0}),await Promise.resolve(),pt(R),n){const s={from:null,to:{...r,scroll:N[w]??V()},willUnload:!1,type:"enter",complete:Promise.resolve()};Y.forEach(i=>i(s))}ue=!0}async function he({url:e,params:t,branch:n,errors:r,status:a,error:s,route:i,form:o}){let l="never";if(L&&(e.pathname===L||e.pathname===L+"/"))l="always";else for(const h of n)h?.slash!==void 0&&(l=h.slash);e.pathname=St(e.pathname,l),e.search=e.search;const c={type:"loaded",state:{url:e,params:t,branch:n,error:s,route:i},props:{constructors:Kt(n).map(h=>h.node.component),page:me(y)}};o!==void 0&&(c.props.form=o);let d={},p=!y,u=0;for(let h=0;h<Math.max(n.length,m.branch.length);h+=1){const v=n[h],_=m.branch[h];v?.data!==_?.data&&(p=!0),v&&(d={...d,...v.data},p&&(c.props[`data_${u}`]=d),u+=1)}return(!m.url||e.href!==m.url.href||m.error!==s||o!==void 0&&o!==y.form||p)&&(c.props.page={error:s,params:t,route:{id:i?.id??null},state:{},status:a,url:new URL(e),form:o??null,data:p?d:y.data}),c}async function Be({loader:e,parent:t,url:n,params:r,route:a,server_data_node:s}){let i=null,o=!0;const l={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},c=await e();if(c.universal?.load){let d=function(...u){for(const f of u){const{href:h}=new URL(f,n);l.dependencies.add(h)}};const p={tracing:{enabled:!1,root:Xe,current:Xe},route:new Proxy(a,{get:(u,f)=>(o&&(l.route=!0),u[f])}),params:new Proxy(r,{get:(u,f)=>(o&&l.params.add(f),u[f])}),data:s?.data??null,url:Lt(n,()=>{o&&(l.url=!0)},u=>{o&&l.search_params.add(u)},b.hash),async fetch(u,f){u instanceof Request&&(f={body:u.method==="GET"||u.method==="HEAD"?void 0:await u.blob(),cache:u.cache,credentials:u.credentials,headers:[...u.headers].length>0?u?.headers:void 0,integrity:u.integrity,keepalive:u.keepalive,method:u.method,mode:u.mode,redirect:u.redirect,referrer:u.referrer,referrerPolicy:u.referrerPolicy,signal:u.signal,...f});const{resolved:h,promise:v}=mt(u,f,n);return o&&d(h.href),v},setHeaders:P,depends:d,parent(){return o&&(l.parent=!0),t()},untrack(u){o=!1;try{return u()}finally{o=!0}}};i=await c.universal.load.call(null,p)??null}return{node:c,loader:e,server:s,universal:c.universal?.load?{type:"data",data:i,uses:l}:null,data:i??s?.data??null,slash:c.universal?.trailingSlash??s?.slash}}function mt(e,t,n){let r=e instanceof Request?e.url:e;const a=new URL(r,n);a.origin===n.origin&&(r=a.href.slice(n.origin.length));const s=ue?It(r,a.href,t):Pt(r,t);return{resolved:a,promise:s}}function Zt(e,t,n,r,a,s){if(ne)return!0;if(!a)return!1;if(a.parent&&e||a.route&&t||a.url&&n)return!0;for(const i of a.search_params)if(r.has(i))return!0;for(const i of a.params)if(s[i]!==m.params[i])return!0;for(const i of a.dependencies)if(le.some(o=>o(new URL(i))))return!0;return!1}function He(e,t){return e?.type==="data"?e:e?.type==="skip"?t??null:null}function en(e,t){if(!e)return new Set(t.searchParams.keys());const n=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(const r of n){const a=e.searchParams.getAll(r),s=t.searchParams.getAll(r);a.every(i=>s.includes(i))&&s.every(i=>a.includes(i))&&n.delete(r)}return n}function tn({error:e,url:t,route:n,params:r}){return{type:"loaded",state:{error:e,url:t,route:n,params:r,branch:[]},props:{page:me(y),constructors:[]}}}async function Ke({id:e,invalidating:t,url:n,params:r,route:a,preload:s}){if(x?.id===e)return fe.delete(x.token),x.promise;const{errors:i,layouts:o,leaf:l}=a,c=[...o,l];i.forEach(_=>_?.().catch(P)),c.forEach(_=>_?.[1]().catch(P));const d=m.url?e!==pe(m.url):!1,p=m.route?a.id!==m.route.id:!1,u=en(m.url,n);let f=!1;const h=c.map(async(_,g)=>{if(!_)return;const k=m.branch[g];return _[1]===k?.loader&&!Zt(f,p,d,u,k.universal?.uses,r)?k:(f=!0,Be({loader:_[1],url:n,params:r,route:a,parent:async()=>{const $={};for(let j=0;j<g;j+=1)Object.assign($,(await h[j])?.data);return $},server_data_node:He(_[0]?{type:"skip"}:null,_[0]?k?.server:void 0)}))});for(const _ of h)_.catch(P);const v=[];for(let _=0;_<c.length;_+=1)if(c[_])try{v.push(await h[_])}catch(g){if(g instanceof Ie)return{type:"redirect",location:g.location};if(fe.has(s))return tn({error:await te(g,{params:r,url:n,route:{id:a.id}}),url:n,params:r,route:a});let k=qe(g),S;if(g instanceof Pe)S=g.body;else{if(await C.updated.check())return await ct(),await Q(n);S=await te(g,{params:r,url:n,route:{id:a.id}})}const $=await nn(_,v,i);return $?he({url:n,params:r,branch:v.slice(0,$.idx).concat($.node),errors:i,status:k,error:S,route:a}):await wt(n,{id:a.id},S,k)}else v.push(void 0);return he({url:n,params:r,branch:v,errors:i,status:200,error:null,route:a,form:t?void 0:null})}async function nn(e,t,n){for(;e--;)if(n[e]){let r=e;for(;!t[r];)r-=1;try{return{idx:r+1,node:{node:await n[e](),loader:n[e],data:{},server:null,universal:null}}}catch{continue}}}async function Me({status:e,error:t,url:n,route:r}){const a={};let s=null;try{const i=await Be({loader:xe,url:n,params:a,route:r,parent:()=>Promise.resolve({}),server_data_node:He(s)}),o={node:await ie(),loader:ie,universal:null,server:null,data:null};return he({url:n,params:a,branch:[i,o],status:e,error:t,errors:[],route:null})}catch(i){if(i instanceof Ie)return gt(new URL(i.location,location.href),{},0);throw i}}async function rn(e){const t=e.href;if(ae.has(t))return ae.get(t);let n;try{const r=(async()=>{let a=await b.hooks.reroute({url:new URL(e),fetch:async(s,i)=>mt(s,i,e).promise})??e;if(typeof a=="string"){const s=new URL(e);b.hash?s.hash=a:s.pathname=a,a=s}return a})();ae.set(t,r),n=await r}catch{ae.delete(t);return}return n}async function re(e,t){if(e&&!ge(e,L,b.hash)){const n=await rn(e);if(!n)return;const r=an(n);for(const a of Ve){const s=a.exec(r);if(s)return{id:pe(e),invalidating:t,route:a,params:xt(s),url:e}}}}function an(e){return Rt(b.hash?e.hash.replace(/^#/,"").replace(/[?#].+/,""):e.pathname.slice(L.length))||"/"}function pe(e){return(b.hash?e.hash.replace(/^#/,""):e.pathname)+e.search}function vt({url:e,type:t,intent:n,delta:r,event:a,scroll:s}){let i=!1;const o=Fe(m,n,e,t,s??null);r!==void 0&&(o.navigation.delta=r),a!==void 0&&(o.navigation.event=a);const l={...o.navigation,cancel:()=>{i=!0,o.reject(new Error("navigation cancelled"))}};return ee||ut.forEach(c=>c(l)),i?null:o}async function H({type:e,url:t,popped:n,keepfocus:r,noscroll:a,replace_state:s,state:i={},redirect_count:o=0,nav_token:l={},accept:c=P,block:d=P,event:p}){const u=O;O=l;const f=await re(t,!1),h=e==="enter"?Fe(m,f,t,e):vt({url:t,type:e,delta:n?.delta,intent:f,scroll:n?.scroll,event:p});if(!h){d(),O===l&&(O=u);return}const v=w,_=R;c(),ee=!0,ue&&h.navigation.type!=="enter"&&C.navigating.set(z.current=h.navigation);let g=f&&await Ke(f);if(!g){if(ge(t,L,b.hash))return await Q(t,s);g=await wt(t,{id:null},await te(new Oe(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404,s)}if(t=f?.url||t,O!==l)return h.reject(new Error("navigation aborted")),!1;if(g.type==="redirect"){if(o<20){await H({type:e,url:new URL(g.location,t),popped:n,keepfocus:r,noscroll:a,replace_state:s,state:i,redirect_count:o+1,nav_token:l}),h.fulfil(void 0);return}g=await Me({status:500,error:await te(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}})}else g.props.page.status>=400&&await C.updated.check()&&(await ct(),await Q(t,s));if(Ae(),De(v),ht(_),g.props.page.url.pathname!==t.pathname&&(t.pathname=g.props.page.url.pathname),i=n?n.state:i,!n){const E=s?0:1,M={[D]:w+=E,[K]:R+=E,[je]:i};(s?history.replaceState:history.pushState).call(history,M,"",t),s||Yt(w,R)}const k=f&&x?.id===f.id?x.fork:null;x?.fork&&!k&&Z(),x=null,g.props.page.state=i;let S;if(ue){const E=(await Promise.all(Array.from(zt,F=>F(h.navigation)))).filter(F=>typeof F=="function");if(E.length>0){let F=function(){E.forEach(we=>{Y.delete(we)})};E.push(F),E.forEach(we=>{Y.add(we)})}const M=h.navigation.to;m={...g.state,nav:{params:M.params,route:M.route,url:M.url}},g.props.page&&(g.props.page.url=t);const ve=k&&await k;ve?S=ve.commit():(G=null,_e.$set(g.props),G&&Object.assign(g.props.page,G),lt(g.props.page),S=kt?.()),dt=!0}else await _t(g,Le,!1);const{activeElement:$}=document;await S,await oe(),await oe();let j=null;if(Qe){const E=n?n.scroll:a?V():null;E?scrollTo(E.x,E.y):(j=t.hash&&document.getElementById(yt(t)))?j.scrollIntoView():scrollTo(0,0)}const bt=document.activeElement!==$&&document.activeElement!==document.body;!r&&!bt&&fn(t,!j),Qe=!0,g.props.page&&(G&&Object.assign(g.props.page,G),Object.assign(y,g.props.page)),ee=!1,e==="popstate"&&pt(R),h.fulfil(void 0),h.navigation.to&&(h.navigation.to.scroll=V()),Y.forEach(E=>E(h.navigation)),C.navigating.set(z.current=null)}async function wt(e,t,n,r,a){return e.origin===Ce&&e.pathname===location.pathname&&!ft?await Me({status:r,error:n,url:e,route:t}):await Q(e,a)}function on(){let e,t={element:void 0,href:void 0},n;I.addEventListener("mousemove",o=>{const l=o.target;clearTimeout(e),e=setTimeout(()=>{s(l,q.hover)},20)});function r(o){o.defaultPrevented||s(o.composedPath()[0],q.tap)}I.addEventListener("mousedown",r),I.addEventListener("touchstart",r,{passive:!0});const a=new IntersectionObserver(o=>{for(const l of o)l.isIntersecting&&(Se(new URL(l.target.href)),a.unobserve(l.target))},{threshold:0});async function s(o,l){const c=ot(o,I),d=c===t.element&&c?.href===t.href&&l>=n;if(!c||d)return;const{url:p,external:u,download:f}=Re(c,L,b.hash);if(u||f)return;const h=se(c),v=p&&pe(m.url)===pe(p);if(!(h.reload||v))if(l<=h.preload_data){t={element:c,href:c.href},n=q.tap;const _=await re(p,!1);if(!_)return;Qt(_)}else l<=h.preload_code&&(t={element:c,href:c.href},n=l,Se(p))}function i(){a.disconnect();for(const o of I.querySelectorAll("a")){const{url:l,external:c,download:d}=Re(o,L,b.hash);if(c||d)continue;const p=se(o);p.reload||(p.preload_code===q.viewport&&a.observe(o),p.preload_code===q.eager&&Se(l))}}Y.add(i),i()}function te(e,t){if(e instanceof Pe)return e.body;const n=qe(e),r=Mt(e);return b.hooks.handleError({error:e,event:t,status:n,message:r})??{message:r}}function sn(e){if(typeof e=="function")le.push(e);else{const{href:t}=new URL(e,location.href);le.push(n=>n.href===t)}}function wn(){return ne=!0,Xt()}function yn(e,t){const n={[D]:w,[K]:R,[rt]:y.url.href,[je]:t};history.replaceState(n,"",Ne(e)),y.state=t,_e.$set({page:Jt(()=>me(y))})}function ln(){history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let n=!1;if(Ze(),!ee){const r=Fe(m,void 0,null,"leave"),a={...r.navigation,cancel:()=>{n=!0,r.reject(new Error("navigation cancelled"))}};ut.forEach(s=>s(a))}n?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Ze()}),navigator.connection?.saveData||on(),I.addEventListener("click",async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const n=ot(t.composedPath()[0],I);if(!n)return;const{url:r,external:a,target:s,download:i}=Re(n,L,b.hash);if(!r)return;if(s==="_parent"||s==="_top"){if(window.parent!==window)return}else if(s&&s!=="_self")return;const o=se(n);if(!(n instanceof SVGAElement)&&r.protocol!==location.protocol&&!(r.protocol==="https:"||r.protocol==="http:")||i)return;const[c,d]=(b.hash?r.hash.replace(/^#/,""):r.href).split("#"),p=c===ye(location);if(a||o.reload&&(!p||!d)){vt({url:r,type:"link",event:t})?ee=!0:t.preventDefault();return}if(d!==void 0&&p){const[,u]=m.url.href.split("#");if(u===d){if(t.preventDefault(),d===""||d==="top"&&n.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const f=n.ownerDocument.getElementById(decodeURIComponent(d));f&&(f.scrollIntoView(),f.focus())}return}if(J=!0,De(w),e(r),!o.replace_state)return;J=!1}t.preventDefault(),await new Promise(u=>{requestAnimationFrame(()=>{setTimeout(u,0)}),setTimeout(u,100)}),await H({type:"link",url:r,keepfocus:o.keepfocus,noscroll:o.noscroll,replace_state:o.replace_state??r.href===location.href,event:t})}),I.addEventListener("submit",t=>{if(t.defaultPrevented)return;const n=HTMLFormElement.prototype.cloneNode.call(t.target),r=t.submitter;if((r?.formTarget||n.target)==="_blank"||(r?.formMethod||n.method)!=="get")return;const i=new URL(r?.hasAttribute("formaction")&&r?.formAction||n.action);if(ge(i,L,!1))return;const o=t.target,l=se(o);if(l.reload)return;t.preventDefault(),t.stopPropagation();const c=new FormData(o,r);i.search=new URLSearchParams(c).toString(),H({type:"form",url:i,keepfocus:l.keepfocus,noscroll:l.noscroll,replace_state:l.replace_state??i.href===location.href,event:t})}),addEventListener("popstate",async t=>{if(!Ue){if(t.state?.[D]){const n=t.state[D];if(O={},n===w)return;const r=N[n],a=t.state[je]??{},s=new URL(t.state[rt]??location.href),i=t.state[K],o=m.url?ye(location)===ye(m.url):!1;if(i===R&&(dt||o)){a!==y.state&&(y.state=a),e(s),N[w]=V(),r&&scrollTo(r.x,r.y),w=n;return}const c=n-w;await H({type:"popstate",url:s,popped:{state:a,scroll:r,delta:c},accept:()=>{w=n,R=i},block:()=>{history.go(-c)},nav_token:O,event:t})}else if(!J){const n=new URL(location.href);e(n),b.hash&&location.reload()}}}),addEventListener("hashchange",()=>{J&&(J=!1,history.replaceState({...history.state,[D]:++w,[K]:R},"",location.href))});for(const t of document.querySelectorAll("link"))Wt.has(t.rel)&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&C.navigating.set(z.current=null)});function e(t){m.url=y.url=t,C.page.set(me(y)),C.page.notify()}}async function cn(e,{status:t=200,error:n,node_ids:r,params:a,route:s,server_route:i,data:o,form:l}){ft=!0;const c=new URL(location.href);let d;({params:a={},route:s={id:null}}=await re(c,!1)||{}),d=Ve.find(({id:f})=>f===s.id);let p,u=!0;try{const f=r.map(async(v,_)=>{const g=o[_];return g?.uses&&(g.uses=un(g.uses)),Be({loader:b.nodes[v],url:c,params:a,route:s,parent:async()=>{const k={};for(let S=0;S<_;S+=1)Object.assign(k,(await f[S]).data);return k},server_data_node:He(g)})}),h=await Promise.all(f);if(d){const v=d.layouts;for(let _=0;_<v.length;_++)v[_]||h.splice(_,0,void 0)}p=await he({url:c,params:a,branch:h,status:t,error:n,errors:d?.errors,form:l,route:d??null})}catch(f){if(f instanceof Ie){await Q(new URL(f.location,location.href));return}p=await Me({status:qe(f),error:await te(f,{url:c,params:a,route:s}),url:c,route:s}),e.textContent="",u=!1}p.props.page&&(p.props.page.state={}),await _t(p,e,u)}function un(e){return{dependencies:new Set(e?.dependencies??[]),params:new Set(e?.params??[]),parent:!!e?.parent,route:!!e?.route,url:!!e?.url,search_params:new Set(e?.search_params??[])}}let Ue=!1;function fn(e,t=!0){const n=document.querySelector("[autofocus]");if(n)n.focus();else{const r=yt(e);if(r&&document.getElementById(r)){const{x:s,y:i}=V();setTimeout(()=>{const o=history.state;Ue=!0,location.replace(new URL(`#${r}`,location.href)),history.replaceState(o,"",e),t&&scrollTo(s,i),Ue=!1})}else{const s=document.body,i=s.getAttribute("tabindex");s.tabIndex=-1,s.focus({preventScroll:!0,focusVisible:!1}),i!==null?s.setAttribute("tabindex",i):s.removeAttribute("tabindex")}const a=getSelection();if(a&&a.type!=="None"){const s=[];for(let i=0;i<a.rangeCount;i+=1)s.push(a.getRangeAt(i));setTimeout(()=>{if(a.rangeCount===s.length){for(let i=0;i<a.rangeCount;i+=1){const o=s[i],l=a.getRangeAt(i);if(o.commonAncestorContainer!==l.commonAncestorContainer||o.startContainer!==l.startContainer||o.endContainer!==l.endContainer||o.startOffset!==l.startOffset||o.endOffset!==l.endOffset)return}a.removeAllRanges()}})}}}function Fe(e,t,n,r,a=null){let s,i;const o=new Promise((c,d)=>{s=c,i=d});return o.catch(P),{navigation:{from:{params:e.params,route:{id:e.route?.id??null},url:e.url,scroll:V()},to:n&&{params:t?.params??null,route:{id:t?.route?.id??null},url:n,scroll:a},willUnload:!t,type:r,complete:o},fulfil:s,reject:i}}function me(e){return{data:e.data,error:e.error,form:e.form,params:e.params,route:e.route,state:e.state,status:e.status,url:e.url}}function dn(e){const t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function yt(e){let t;if(b.hash){const[,,n]=e.hash.split("#",3);t=n??""}else t=e.hash.slice(1);return decodeURIComponent(t)}export{vn as a,wn as i,pn as l,y as p,yn as r,C as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as P,g as b,j as B,h as y,s as L,as as lt,l as N,y as A,R as Re,B as Te,b as r,d as F,r as k,f as s,F as re,A as T,at as Ue,i as x,z as G,t as S,m as j,au as st,c as _,av as ot,u as I,w as dt,x as fe,k as U,a as E,aw as ct,aj as Ge,ax as Ee,ay as ut,az as vt,aA as ft,aB as it,aC as gt,aD as mt,aE as _t,aF as ht,n as ie,G as De,aG as yt,aH as bt}from"./C0do9GyP.js";import{c as D,aV as Le,I as xt}from"./CHxfhkfa.js";import{C as Ct}from"./DACH9bIh.js";import{C as wt}from"./Bjw4kw6i.js";import{C as We}from"./DxJs7UOj.js";var Pt=j("<option> </option>"),Ft=j('<select></select> <span class="[&>svg]:text-muted-foreground flex h-8 items-center gap-1 rounded-md ps-2 pe-1 text-sm font-medium select-none [&>svg]:size-3.5" aria-hidden="true"> <!></span>',1),zt=j("<span><!></span>");function kt(l,e){P(e,!0);let a=b(e,"ref",15,null),o=k(e,["$$slots","$$events","$$legacy","ref","class","value","onchange"]);var t=zt(),c=B(t);{const n=(u,d)=>{let f=()=>d?.().props,z=()=>d?.().monthItems,V=()=>d?.().selectedMonthItem;var M=Ft(),w=s(M);re(w,()=>({...f(),value:e.value,onchange:e.onchange})),T(w,21,z,v=>v.value,(v,C)=>{var h=Pt(),Y=B(h,!0);N(h);var O={};A(()=>{Ue(h,e.value!==void 0?x(C).value===e.value:x(C).value===V().value),G(Y,x(C).label),O!==(O=x(C).value)&&(h.value=(h.__value=x(C).value)??"")}),r(v,h)}),N(w);var i=S(w,2),m=B(i),g=S(m);We(g,{class:"size-4"}),N(i),A(v=>G(m,`${v??""} `),[()=>z().find(v=>v.value===e.value)?.label||V().label]),r(u,M)};y(c,()=>lt,(u,d)=>{d(u,L({class:"dark:bg-popover dark:text-popover-foreground absolute inset-0 opacity-0"},()=>o,{get ref(){return a()},set ref(f){a(f)},child:n,$$slots:{child:!0}}))})}N(t),A(n=>Te(t,1,n),[()=>Re(D("has-focus:border-ring border-input has-focus:ring-ring/50 relative flex rounded-md border shadow-xs has-focus:ring-[3px]",e.class))]),r(l,t),F()}var Mt=j("<option> </option>"),jt=j('<select></select> <span class="[&>svg]:text-muted-foreground flex h-8 items-center gap-1 rounded-md ps-2 pe-1 text-sm font-medium select-none [&>svg]:size-3.5" aria-hidden="true"> <!></span>',1),Dt=j("<span><!></span>");function Lt(l,e){P(e,!0);let a=b(e,"ref",15,null),o=k(e,["$$slots","$$events","$$legacy","ref","class","value"]);var t=Dt(),c=B(t);{const n=(u,d)=>{let f=()=>d?.().props,z=()=>d?.().yearItems,V=()=>d?.().selectedYearItem;var M=jt(),w=s(M);re(w,()=>({...f(),value:e.value})),T(w,21,z,v=>v.value,(v,C)=>{var h=Mt(),Y=B(h,!0);N(h);var O={};A(()=>{Ue(h,e.value!==void 0?x(C).value===e.value:x(C).value===V().value),G(Y,x(C).label),O!==(O=x(C).value)&&(h.value=(h.__value=x(C).value)??"")}),r(v,h)}),N(w);var i=S(w,2),m=B(i),g=S(m);We(g,{class:"size-4"}),N(i),A(v=>G(m,`${v??""} `),[()=>z().find(v=>v.value===e.value)?.label||V().label]),r(u,M)};y(c,()=>st,(u,d)=>{d(u,L({class:"dark:bg-popover dark:text-popover-foreground absolute inset-0 opacity-0"},()=>o,{get ref(){return a()},set ref(f){a(f)},child:n,$$slots:{child:!0}}))})}N(t),A(n=>Te(t,1,n),[()=>Re(D("has-focus:border-ring border-input has-focus:ring-ring/50 relative flex rounded-md border shadow-xs has-focus:ring-[3px]",e.class))]),r(l,t),F()}var It=j("<!> <!>",1),Ot=j("<!> <!>",1),Vt=j("<!> <!>",1),Yt=j("<!> <!>",1);function ca(l,e){P(e,!0);let a=b(e,"ref",15,null),o=b(e,"value",15),t=b(e,"placeholder",15),c=b(e,"weekdayFormat",3,"short"),n=b(e,"buttonVariant",3,"ghost"),u=b(e,"captionLayout",3,"label"),d=b(e,"locale",3,"en-US"),f=b(e,"yearFormat",3,"numeric"),z=b(e,"disableDaysOutsideMonth",3,!1),V=k(e,["$$slots","$$events","$$legacy","ref","value","placeholder","class","weekdayFormat","buttonVariant","captionLayout","locale","months","years","monthFormat","yearFormat","day","disableDaysOutsideMonth"]);const M=I(()=>e.monthFormat?e.monthFormat:u().startsWith("dropdown")?"short":"long");var w=_(),i=s(w);{const m=(v,C)=>{let h=()=>C?.().months,Y=()=>C?.().weekdays;var O=_(),qe=s(O);y(qe,()=>Qt,(Je,Ke)=>{Ke(Je,{children:(Qe,aa)=>{var Ie=Yt(),Oe=s(Ie);y(Oe,()=>Zt,(W,H)=>{H(W,{children:(ge,me)=>{var ne=It(),le=s(ne);y(le,()=>ta,(q,se)=>{se(q,{get variant(){return n()}})});var _e=S(le,2);y(_e,()=>pt,(q,se)=>{se(q,{get variant(){return n()}})}),r(ge,ne)},$$slots:{default:!0}})});var Xe=S(Oe,2);T(Xe,18,h,W=>W,(W,H,ge)=>{var me=_(),ne=s(me);y(ne,()=>Jt,(le,_e)=>{_e(le,{children:(q,se)=>{var Ve=Vt(),Ye=s(Ve);y(Ye,()=>Wt,(he,ye)=>{ye(he,{children:(be,$e)=>{var J=_(),oe=s(J);y(oe,()=>Bt,(xe,K)=>{K(xe,{get captionLayout(){return u()},get months(){return e.months},get monthFormat(){return x(M)},get years(){return e.years},get yearFormat(){return f()},get month(){return H.value},get locale(){return d()},get monthIndex(){return x(ge)},get placeholder(){return t()},set placeholder(Q){t(Q)}})}),r(be,J)},$$slots:{default:!0}})});var Ze=S(Ye,2);y(Ze,()=>Tt,(he,ye)=>{ye(he,{children:(be,$e)=>{var J=Ot(),oe=s(J);y(oe,()=>Rt,(K,Q)=>{Q(K,{children:(Ce,pe)=>{var X=_(),we=s(X);y(we,()=>He,(Z,Pe)=>{Pe(Z,{class:"select-none",children:(de,Ne)=>{var ce=_(),Fe=s(ce);T(Fe,16,Y,$=>$,($,Se)=>{var p=_(),ze=s(p);y(ze,()=>Ut,(ee,te)=>{te(ee,{children:(ue,Ae)=>{dt();var ve=fe();A(ke=>G(ve,ke),[()=>Se.slice(0,2)]),r(ue,ve)},$$slots:{default:!0}})}),r($,p)}),r(de,ce)},$$slots:{default:!0}})}),r(Ce,X)},$$slots:{default:!0}})});var xe=S(oe,2);y(xe,()=>Ht,(K,Q)=>{Q(K,{children:(Ce,pe)=>{var X=_(),we=s(X);T(we,16,()=>H.weeks,Z=>Z,(Z,Pe)=>{var de=_(),Ne=s(de);y(Ne,()=>He,(ce,Fe)=>{Fe(ce,{class:"mt-2 w-full",children:($,Se)=>{var p=_(),ze=s(p);T(ze,16,()=>Pe,ee=>ee,(ee,te)=>{var ue=_(),Ae=s(ue);y(Ae,()=>Gt,(ve,ke)=>{ke(ve,{get date(){return te},get month(){return H.value},children:(et,ra)=>{var Be=_(),tt=s(Be);{var at=R=>{var ae=_(),Me=s(ae);{let je=I(()=>({day:te,outsideMonth:!ct(te,H.value)}));E(Me,()=>e.day,()=>x(je))}r(R,ae)},rt=R=>{var ae=_(),Me=s(ae);y(Me,()=>Et,(je,nt)=>{nt(je,{})}),r(R,ae)};U(tt,R=>{e.day?R(at):R(rt,-1)})}r(et,Be)},$$slots:{default:!0}})}),r(ee,ue)}),r($,p)},$$slots:{default:!0}})}),r(Z,de)}),r(Ce,X)},$$slots:{default:!0}})}),r(be,J)},$$slots:{default:!0}})}),r(q,Ve)},$$slots:{default:!0}})}),r(W,me)}),r(Qe,Ie)},$$slots:{default:!0}})}),r(v,O)};let g=I(()=>D("bg-background group/calendar p-3 [--cell-size:--spacing(8)] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent",e.class));y(i,()=>ot,(v,C)=>{C(v,L({get weekdayFormat(){return c()},get disableDaysOutsideMonth(){return z()},get class(){return x(g)},get locale(){return d()},get monthFormat(){return x(M)},get yearFormat(){return f()}},()=>V,{get value(){return o()},set value(h){o(h)},get ref(){return a()},set ref(h){a(h)},get placeholder(){return t()},set placeholder(h){t(h)},children:m,$$slots:{default:!0}}))})}r(l,w),F()}var Nt=j("<!> <!>",1),St=j("<!> <!>",1),At=j("<!> <!>",1);function Bt(l,e){P(e,!0);const a=i=>{kt(i,{get months(){return e.months},get monthFormat(){return e.monthFormat},get value(){return e.month.month},onchange:m=>{if(!t())return;const g=Number.parseInt(m.currentTarget.value),v=t().set({month:g});t(v.subtract({months:c()}))}})},o=i=>{Lt(i,{get years(){return e.years},get yearFormat(){return e.yearFormat},get value(){return e.month.year}})};let t=b(e,"placeholder",15),c=b(e,"monthIndex",3,0);function n(i){const m=i.toDate(Ge());return typeof e.yearFormat=="function"?e.yearFormat(m.getFullYear()):new Ee(e.locale,{year:e.yearFormat}).format(m)}function u(i){const m=i.toDate(Ge());return typeof e.monthFormat=="function"?e.monthFormat(m.getMonth()+1):new Ee(e.locale,{month:e.monthFormat}).format(m)}var d=_(),f=s(d);{var z=i=>{var m=Nt(),g=s(m);a(g);var v=S(g,2);o(v),r(i,m)},V=i=>{var m=St(),g=s(m);a(g);var v=S(g,2);{var C=h=>{var Y=fe();A(O=>G(Y,O),[()=>n(t())]),r(h,Y)};U(v,h=>{t()&&h(C)})}r(i,m)},M=i=>{var m=At(),g=s(m);{var v=h=>{var Y=fe();A(O=>G(Y,O),[()=>u(t())]),r(h,Y)};U(g,h=>{t()&&h(v)})}var C=S(g,2);o(C),r(i,m)},w=i=>{var m=fe();A((g,v)=>G(m,`${g??""} ${v??""}`),[()=>u(e.month),()=>n(e.month)]),r(i,m)};U(f,i=>{e.captionLayout==="dropdown"?i(z):e.captionLayout==="dropdown-months"?i(V,1):e.captionLayout==="dropdown-years"?i(M,2):i(w,-1)})}r(l,d),F()}function Gt(l,e){P(e,!0);let a=b(e,"ref",15,null),o=k(e,["$$slots","$$events","$$legacy","ref","class"]);var t=_(),c=s(t);{let n=I(()=>D("relative size-(--cell-size) p-0 text-center text-sm focus-within:z-20 [&:first-child[data-selected]_[data-bits-day]]:rounded-s-md [&:last-child[data-selected]_[data-bits-day]]:rounded-e-md",e.class));y(c,()=>ut,(u,d)=>{d(u,L({get class(){return x(n)}},()=>o,{get ref(){return a()},set ref(f){a(f)}}))})}r(l,t),F()}function Et(l,e){P(e,!0);let a=b(e,"ref",15,null),o=k(e,["$$slots","$$events","$$legacy","ref","class"]);var t=_(),c=s(t);{let n=I(()=>D(Le({variant:"ghost"}),"flex size-(--cell-size) flex-col items-center justify-center gap-1 p-0 leading-none font-normal whitespace-nowrap select-none","[&[data-today]:not([data-selected])]:bg-accent [&[data-today]:not([data-selected])]:text-accent-foreground [&[data-today][data-disabled]]:text-muted-foreground","data-[selected]:bg-primary dark:data-[selected]:hover:bg-accent/50 data-[selected]:text-primary-foreground","[&[data-outside-month]:not([data-selected])]:text-muted-foreground [&[data-outside-month]:not([data-selected])]:hover:text-accent-foreground","data-[disabled]:text-muted-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50","data-[unavailable]:text-muted-foreground data-[unavailable]:line-through","dark:hover:text-accent-foreground","focus:border-ring focus:ring-ring/50 focus:relative","[&>span]:text-xs [&>span]:opacity-70",e.class));y(c,()=>vt,(u,d)=>{d(u,L({get class(){return x(n)}},()=>o,{get ref(){return a()},set ref(f){a(f)}}))})}r(l,t),F()}function Ht(l,e){P(e,!0);let a=b(e,"ref",15,null),o=k(e,["$$slots","$$events","$$legacy","ref","class"]);var t=_(),c=s(t);{let n=I(()=>D(e.class));y(c,()=>ft,(u,d)=>{d(u,L({get class(){return x(n)}},()=>o,{get ref(){return a()},set ref(f){a(f)}}))})}r(l,t),F()}function Rt(l,e){P(e,!0);let a=b(e,"ref",15,null),o=k(e,["$$slots","$$events","$$legacy","ref","class"]);var t=_(),c=s(t);{let n=I(()=>D(e.class));y(c,()=>it,(u,d)=>{d(u,L({get class(){return x(n)}},()=>o,{get ref(){return a()},set ref(f){a(f)}}))})}r(l,t),F()}function He(l,e){P(e,!0);let a=b(e,"ref",15,null),o=k(e,["$$slots","$$events","$$legacy","ref","class"]);var t=_(),c=s(t);{let n=I(()=>D("flex",e.class));y(c,()=>gt,(u,d)=>{d(u,L({get class(){return x(n)}},()=>o,{get ref(){return a()},set ref(f){a(f)}}))})}r(l,t),F()}function Tt(l,e){P(e,!0);let a=b(e,"ref",15,null),o=k(e,["$$slots","$$events","$$legacy","ref","class"]);var t=_(),c=s(t);{let n=I(()=>D("mt-4 flex w-full border-collapse flex-col gap-1",e.class));y(c,()=>mt,(u,d)=>{d(u,L({get class(){return x(n)}},()=>o,{get ref(){return a()},set ref(f){a(f)}}))})}r(l,t),F()}function Ut(l,e){P(e,!0);let a=b(e,"ref",15,null),o=k(e,["$$slots","$$events","$$legacy","ref","class"]);var t=_(),c=s(t);{let n=I(()=>D("text-muted-foreground w-(--cell-size) rounded-md text-[0.8rem] font-normal",e.class));y(c,()=>_t,(u,d)=>{d(u,L({get class(){return x(n)}},()=>o,{get ref(){return a()},set ref(f){a(f)}}))})}r(l,t),F()}function Wt(l,e){P(e,!0);let a=b(e,"ref",15,null),o=k(e,["$$slots","$$events","$$legacy","ref","class"]);var t=_(),c=s(t);{let n=I(()=>D("flex h-(--cell-size) w-full items-center justify-center gap-1.5 text-sm font-medium",e.class));y(c,()=>ht,(u,d)=>{d(u,L({get class(){return x(n)}},()=>o,{get ref(){return a()},set ref(f){a(f)}}))})}r(l,t),F()}var qt=j("<div><!></div>");function Jt(l,e){P(e,!0);let a=b(e,"ref",15,null),o=k(e,["$$slots","$$events","$$legacy","ref","class","children"]);var t=qt();re(t,n=>({...o,class:n}),[()=>D("flex flex-col",e.class)]);var c=B(t);E(c,()=>e.children??ie),N(t),De(t,n=>a(n),()=>a()),r(l,t),F()}var Kt=j("<div><!></div>");function Qt(l,e){P(e,!0);let a=b(e,"ref",15,null),o=k(e,["$$slots","$$events","$$legacy","ref","class","children"]);var t=Kt();re(t,n=>({class:n,...o}),[()=>D("relative flex flex-col gap-4 md:flex-row",e.class)]);var c=B(t);E(c,()=>e.children??ie),N(t),De(t,n=>a(n),()=>a()),r(l,t),F()}var Xt=j("<nav><!></nav>");function Zt(l,e){P(e,!0);let a=b(e,"ref",15,null),o=k(e,["$$slots","$$events","$$legacy","ref","class","children"]);var t=Xt();re(t,n=>({...o,class:n}),[()=>D("absolute inset-x-0 top-0 flex w-full items-center justify-between gap-1",e.class)]);var c=B(t);E(c,()=>e.children??ie),N(t),De(t,n=>a(n),()=>a()),r(l,t),F()}const $t=l=>{Ct(l,{class:"size-4"})};function pt(l,e){P(e,!0);let a=b(e,"ref",15,null),o=b(e,"variant",3,"ghost"),t=k(e,["$$slots","$$events","$$legacy","ref","class","children","variant"]);var c=_(),n=s(c);{let u=I(()=>D(Le({variant:o()}),"size-(--cell-size) bg-transparent p-0 select-none disabled:opacity-50 rtl:rotate-180",e.class));y(n,()=>yt,(d,f)=>{f(d,L({get class(){return x(u)}},()=>t,{get ref(){return a()},set ref(z){a(z)},children:(z,V)=>{var M=_(),w=s(M);{var i=g=>{var v=_(),C=s(v);E(C,()=>e.children),r(g,v)},m=g=>{$t(g)};U(w,g=>{e.children?g(i):g(m,-1)})}r(z,M)},$$slots:{default:!0}}))})}r(l,c),F()}const ea=l=>{wt(l,{class:"size-4"})};function ta(l,e){P(e,!0);let a=b(e,"ref",15,null),o=b(e,"variant",3,"ghost"),t=k(e,["$$slots","$$events","$$legacy","ref","class","children","variant"]);var c=_(),n=s(c);{let u=I(()=>D(Le({variant:o()}),"size-(--cell-size) bg-transparent p-0 select-none disabled:opacity-50 rtl:rotate-180",e.class));y(n,()=>bt,(d,f)=>{f(d,L({get class(){return x(u)}},()=>t,{get ref(){return a()},set ref(z){a(z)},children:(z,V)=>{var M=_(),w=s(M);{var i=g=>{var v=_(),C=s(v);E(C,()=>e.children),r(g,v)},m=g=>{ea(g)};U(w,g=>{e.children?g(i):g(m,-1)})}r(z,M)},$$slots:{default:!0}}))})}r(l,c),F()}function ua(l,e){P(e,!0);let a=k(e,["$$slots","$$events","$$legacy"]);const o=[["path",{d:"M8 2v4"}],["path",{d:"M16 2v4"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2"}],["path",{d:"M3 10h18"}]];xt(l,L({name:"calendar"},()=>a,{get iconNode(){return o},children:(t,c)=>{var n=_(),u=s(n);E(u,()=>e.children??ie),r(t,n)},$$slots:{default:!0}})),F()}export{ca as C,ua as a};
|
|
1
|
+
import{p as P,g as b,j as B,h as y,s as L,as as lt,l as N,y as A,R as Re,B as Te,b as r,d as F,r as k,f as s,F as re,A as T,at as Ue,i as x,z as G,t as S,m as j,au as st,c as _,av as ot,u as I,w as dt,x as fe,k as U,a as E,aw as ct,aj as Ge,ax as Ee,ay as ut,az as vt,aA as ft,aB as it,aC as gt,aD as mt,aE as _t,aF as ht,n as ie,G as De,aG as yt,aH as bt}from"./C0do9GyP.js";import{c as D,aV as Le,I as xt}from"./BGtr_Y7n.js";import{C as Ct}from"./F-R9PkO3.js";import{C as wt}from"./DcoXre3c.js";import{C as We}from"./B2f7gw_q.js";var Pt=j("<option> </option>"),Ft=j('<select></select> <span class="[&>svg]:text-muted-foreground flex h-8 items-center gap-1 rounded-md ps-2 pe-1 text-sm font-medium select-none [&>svg]:size-3.5" aria-hidden="true"> <!></span>',1),zt=j("<span><!></span>");function kt(l,e){P(e,!0);let a=b(e,"ref",15,null),o=k(e,["$$slots","$$events","$$legacy","ref","class","value","onchange"]);var t=zt(),c=B(t);{const n=(u,d)=>{let f=()=>d?.().props,z=()=>d?.().monthItems,V=()=>d?.().selectedMonthItem;var M=Ft(),w=s(M);re(w,()=>({...f(),value:e.value,onchange:e.onchange})),T(w,21,z,v=>v.value,(v,C)=>{var h=Pt(),Y=B(h,!0);N(h);var O={};A(()=>{Ue(h,e.value!==void 0?x(C).value===e.value:x(C).value===V().value),G(Y,x(C).label),O!==(O=x(C).value)&&(h.value=(h.__value=x(C).value)??"")}),r(v,h)}),N(w);var i=S(w,2),m=B(i),g=S(m);We(g,{class:"size-4"}),N(i),A(v=>G(m,`${v??""} `),[()=>z().find(v=>v.value===e.value)?.label||V().label]),r(u,M)};y(c,()=>lt,(u,d)=>{d(u,L({class:"dark:bg-popover dark:text-popover-foreground absolute inset-0 opacity-0"},()=>o,{get ref(){return a()},set ref(f){a(f)},child:n,$$slots:{child:!0}}))})}N(t),A(n=>Te(t,1,n),[()=>Re(D("has-focus:border-ring border-input has-focus:ring-ring/50 relative flex rounded-md border shadow-xs has-focus:ring-[3px]",e.class))]),r(l,t),F()}var Mt=j("<option> </option>"),jt=j('<select></select> <span class="[&>svg]:text-muted-foreground flex h-8 items-center gap-1 rounded-md ps-2 pe-1 text-sm font-medium select-none [&>svg]:size-3.5" aria-hidden="true"> <!></span>',1),Dt=j("<span><!></span>");function Lt(l,e){P(e,!0);let a=b(e,"ref",15,null),o=k(e,["$$slots","$$events","$$legacy","ref","class","value"]);var t=Dt(),c=B(t);{const n=(u,d)=>{let f=()=>d?.().props,z=()=>d?.().yearItems,V=()=>d?.().selectedYearItem;var M=jt(),w=s(M);re(w,()=>({...f(),value:e.value})),T(w,21,z,v=>v.value,(v,C)=>{var h=Mt(),Y=B(h,!0);N(h);var O={};A(()=>{Ue(h,e.value!==void 0?x(C).value===e.value:x(C).value===V().value),G(Y,x(C).label),O!==(O=x(C).value)&&(h.value=(h.__value=x(C).value)??"")}),r(v,h)}),N(w);var i=S(w,2),m=B(i),g=S(m);We(g,{class:"size-4"}),N(i),A(v=>G(m,`${v??""} `),[()=>z().find(v=>v.value===e.value)?.label||V().label]),r(u,M)};y(c,()=>st,(u,d)=>{d(u,L({class:"dark:bg-popover dark:text-popover-foreground absolute inset-0 opacity-0"},()=>o,{get ref(){return a()},set ref(f){a(f)},child:n,$$slots:{child:!0}}))})}N(t),A(n=>Te(t,1,n),[()=>Re(D("has-focus:border-ring border-input has-focus:ring-ring/50 relative flex rounded-md border shadow-xs has-focus:ring-[3px]",e.class))]),r(l,t),F()}var It=j("<!> <!>",1),Ot=j("<!> <!>",1),Vt=j("<!> <!>",1),Yt=j("<!> <!>",1);function ca(l,e){P(e,!0);let a=b(e,"ref",15,null),o=b(e,"value",15),t=b(e,"placeholder",15),c=b(e,"weekdayFormat",3,"short"),n=b(e,"buttonVariant",3,"ghost"),u=b(e,"captionLayout",3,"label"),d=b(e,"locale",3,"en-US"),f=b(e,"yearFormat",3,"numeric"),z=b(e,"disableDaysOutsideMonth",3,!1),V=k(e,["$$slots","$$events","$$legacy","ref","value","placeholder","class","weekdayFormat","buttonVariant","captionLayout","locale","months","years","monthFormat","yearFormat","day","disableDaysOutsideMonth"]);const M=I(()=>e.monthFormat?e.monthFormat:u().startsWith("dropdown")?"short":"long");var w=_(),i=s(w);{const m=(v,C)=>{let h=()=>C?.().months,Y=()=>C?.().weekdays;var O=_(),qe=s(O);y(qe,()=>Qt,(Je,Ke)=>{Ke(Je,{children:(Qe,aa)=>{var Ie=Yt(),Oe=s(Ie);y(Oe,()=>Zt,(W,H)=>{H(W,{children:(ge,me)=>{var ne=It(),le=s(ne);y(le,()=>ta,(q,se)=>{se(q,{get variant(){return n()}})});var _e=S(le,2);y(_e,()=>pt,(q,se)=>{se(q,{get variant(){return n()}})}),r(ge,ne)},$$slots:{default:!0}})});var Xe=S(Oe,2);T(Xe,18,h,W=>W,(W,H,ge)=>{var me=_(),ne=s(me);y(ne,()=>Jt,(le,_e)=>{_e(le,{children:(q,se)=>{var Ve=Vt(),Ye=s(Ve);y(Ye,()=>Wt,(he,ye)=>{ye(he,{children:(be,$e)=>{var J=_(),oe=s(J);y(oe,()=>Bt,(xe,K)=>{K(xe,{get captionLayout(){return u()},get months(){return e.months},get monthFormat(){return x(M)},get years(){return e.years},get yearFormat(){return f()},get month(){return H.value},get locale(){return d()},get monthIndex(){return x(ge)},get placeholder(){return t()},set placeholder(Q){t(Q)}})}),r(be,J)},$$slots:{default:!0}})});var Ze=S(Ye,2);y(Ze,()=>Tt,(he,ye)=>{ye(he,{children:(be,$e)=>{var J=Ot(),oe=s(J);y(oe,()=>Rt,(K,Q)=>{Q(K,{children:(Ce,pe)=>{var X=_(),we=s(X);y(we,()=>He,(Z,Pe)=>{Pe(Z,{class:"select-none",children:(de,Ne)=>{var ce=_(),Fe=s(ce);T(Fe,16,Y,$=>$,($,Se)=>{var p=_(),ze=s(p);y(ze,()=>Ut,(ee,te)=>{te(ee,{children:(ue,Ae)=>{dt();var ve=fe();A(ke=>G(ve,ke),[()=>Se.slice(0,2)]),r(ue,ve)},$$slots:{default:!0}})}),r($,p)}),r(de,ce)},$$slots:{default:!0}})}),r(Ce,X)},$$slots:{default:!0}})});var xe=S(oe,2);y(xe,()=>Ht,(K,Q)=>{Q(K,{children:(Ce,pe)=>{var X=_(),we=s(X);T(we,16,()=>H.weeks,Z=>Z,(Z,Pe)=>{var de=_(),Ne=s(de);y(Ne,()=>He,(ce,Fe)=>{Fe(ce,{class:"mt-2 w-full",children:($,Se)=>{var p=_(),ze=s(p);T(ze,16,()=>Pe,ee=>ee,(ee,te)=>{var ue=_(),Ae=s(ue);y(Ae,()=>Gt,(ve,ke)=>{ke(ve,{get date(){return te},get month(){return H.value},children:(et,ra)=>{var Be=_(),tt=s(Be);{var at=R=>{var ae=_(),Me=s(ae);{let je=I(()=>({day:te,outsideMonth:!ct(te,H.value)}));E(Me,()=>e.day,()=>x(je))}r(R,ae)},rt=R=>{var ae=_(),Me=s(ae);y(Me,()=>Et,(je,nt)=>{nt(je,{})}),r(R,ae)};U(tt,R=>{e.day?R(at):R(rt,-1)})}r(et,Be)},$$slots:{default:!0}})}),r(ee,ue)}),r($,p)},$$slots:{default:!0}})}),r(Z,de)}),r(Ce,X)},$$slots:{default:!0}})}),r(be,J)},$$slots:{default:!0}})}),r(q,Ve)},$$slots:{default:!0}})}),r(W,me)}),r(Qe,Ie)},$$slots:{default:!0}})}),r(v,O)};let g=I(()=>D("bg-background group/calendar p-3 [--cell-size:--spacing(8)] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent",e.class));y(i,()=>ot,(v,C)=>{C(v,L({get weekdayFormat(){return c()},get disableDaysOutsideMonth(){return z()},get class(){return x(g)},get locale(){return d()},get monthFormat(){return x(M)},get yearFormat(){return f()}},()=>V,{get value(){return o()},set value(h){o(h)},get ref(){return a()},set ref(h){a(h)},get placeholder(){return t()},set placeholder(h){t(h)},children:m,$$slots:{default:!0}}))})}r(l,w),F()}var Nt=j("<!> <!>",1),St=j("<!> <!>",1),At=j("<!> <!>",1);function Bt(l,e){P(e,!0);const a=i=>{kt(i,{get months(){return e.months},get monthFormat(){return e.monthFormat},get value(){return e.month.month},onchange:m=>{if(!t())return;const g=Number.parseInt(m.currentTarget.value),v=t().set({month:g});t(v.subtract({months:c()}))}})},o=i=>{Lt(i,{get years(){return e.years},get yearFormat(){return e.yearFormat},get value(){return e.month.year}})};let t=b(e,"placeholder",15),c=b(e,"monthIndex",3,0);function n(i){const m=i.toDate(Ge());return typeof e.yearFormat=="function"?e.yearFormat(m.getFullYear()):new Ee(e.locale,{year:e.yearFormat}).format(m)}function u(i){const m=i.toDate(Ge());return typeof e.monthFormat=="function"?e.monthFormat(m.getMonth()+1):new Ee(e.locale,{month:e.monthFormat}).format(m)}var d=_(),f=s(d);{var z=i=>{var m=Nt(),g=s(m);a(g);var v=S(g,2);o(v),r(i,m)},V=i=>{var m=St(),g=s(m);a(g);var v=S(g,2);{var C=h=>{var Y=fe();A(O=>G(Y,O),[()=>n(t())]),r(h,Y)};U(v,h=>{t()&&h(C)})}r(i,m)},M=i=>{var m=At(),g=s(m);{var v=h=>{var Y=fe();A(O=>G(Y,O),[()=>u(t())]),r(h,Y)};U(g,h=>{t()&&h(v)})}var C=S(g,2);o(C),r(i,m)},w=i=>{var m=fe();A((g,v)=>G(m,`${g??""} ${v??""}`),[()=>u(e.month),()=>n(e.month)]),r(i,m)};U(f,i=>{e.captionLayout==="dropdown"?i(z):e.captionLayout==="dropdown-months"?i(V,1):e.captionLayout==="dropdown-years"?i(M,2):i(w,-1)})}r(l,d),F()}function Gt(l,e){P(e,!0);let a=b(e,"ref",15,null),o=k(e,["$$slots","$$events","$$legacy","ref","class"]);var t=_(),c=s(t);{let n=I(()=>D("relative size-(--cell-size) p-0 text-center text-sm focus-within:z-20 [&:first-child[data-selected]_[data-bits-day]]:rounded-s-md [&:last-child[data-selected]_[data-bits-day]]:rounded-e-md",e.class));y(c,()=>ut,(u,d)=>{d(u,L({get class(){return x(n)}},()=>o,{get ref(){return a()},set ref(f){a(f)}}))})}r(l,t),F()}function Et(l,e){P(e,!0);let a=b(e,"ref",15,null),o=k(e,["$$slots","$$events","$$legacy","ref","class"]);var t=_(),c=s(t);{let n=I(()=>D(Le({variant:"ghost"}),"flex size-(--cell-size) flex-col items-center justify-center gap-1 p-0 leading-none font-normal whitespace-nowrap select-none","[&[data-today]:not([data-selected])]:bg-accent [&[data-today]:not([data-selected])]:text-accent-foreground [&[data-today][data-disabled]]:text-muted-foreground","data-[selected]:bg-primary dark:data-[selected]:hover:bg-accent/50 data-[selected]:text-primary-foreground","[&[data-outside-month]:not([data-selected])]:text-muted-foreground [&[data-outside-month]:not([data-selected])]:hover:text-accent-foreground","data-[disabled]:text-muted-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50","data-[unavailable]:text-muted-foreground data-[unavailable]:line-through","dark:hover:text-accent-foreground","focus:border-ring focus:ring-ring/50 focus:relative","[&>span]:text-xs [&>span]:opacity-70",e.class));y(c,()=>vt,(u,d)=>{d(u,L({get class(){return x(n)}},()=>o,{get ref(){return a()},set ref(f){a(f)}}))})}r(l,t),F()}function Ht(l,e){P(e,!0);let a=b(e,"ref",15,null),o=k(e,["$$slots","$$events","$$legacy","ref","class"]);var t=_(),c=s(t);{let n=I(()=>D(e.class));y(c,()=>ft,(u,d)=>{d(u,L({get class(){return x(n)}},()=>o,{get ref(){return a()},set ref(f){a(f)}}))})}r(l,t),F()}function Rt(l,e){P(e,!0);let a=b(e,"ref",15,null),o=k(e,["$$slots","$$events","$$legacy","ref","class"]);var t=_(),c=s(t);{let n=I(()=>D(e.class));y(c,()=>it,(u,d)=>{d(u,L({get class(){return x(n)}},()=>o,{get ref(){return a()},set ref(f){a(f)}}))})}r(l,t),F()}function He(l,e){P(e,!0);let a=b(e,"ref",15,null),o=k(e,["$$slots","$$events","$$legacy","ref","class"]);var t=_(),c=s(t);{let n=I(()=>D("flex",e.class));y(c,()=>gt,(u,d)=>{d(u,L({get class(){return x(n)}},()=>o,{get ref(){return a()},set ref(f){a(f)}}))})}r(l,t),F()}function Tt(l,e){P(e,!0);let a=b(e,"ref",15,null),o=k(e,["$$slots","$$events","$$legacy","ref","class"]);var t=_(),c=s(t);{let n=I(()=>D("mt-4 flex w-full border-collapse flex-col gap-1",e.class));y(c,()=>mt,(u,d)=>{d(u,L({get class(){return x(n)}},()=>o,{get ref(){return a()},set ref(f){a(f)}}))})}r(l,t),F()}function Ut(l,e){P(e,!0);let a=b(e,"ref",15,null),o=k(e,["$$slots","$$events","$$legacy","ref","class"]);var t=_(),c=s(t);{let n=I(()=>D("text-muted-foreground w-(--cell-size) rounded-md text-[0.8rem] font-normal",e.class));y(c,()=>_t,(u,d)=>{d(u,L({get class(){return x(n)}},()=>o,{get ref(){return a()},set ref(f){a(f)}}))})}r(l,t),F()}function Wt(l,e){P(e,!0);let a=b(e,"ref",15,null),o=k(e,["$$slots","$$events","$$legacy","ref","class"]);var t=_(),c=s(t);{let n=I(()=>D("flex h-(--cell-size) w-full items-center justify-center gap-1.5 text-sm font-medium",e.class));y(c,()=>ht,(u,d)=>{d(u,L({get class(){return x(n)}},()=>o,{get ref(){return a()},set ref(f){a(f)}}))})}r(l,t),F()}var qt=j("<div><!></div>");function Jt(l,e){P(e,!0);let a=b(e,"ref",15,null),o=k(e,["$$slots","$$events","$$legacy","ref","class","children"]);var t=qt();re(t,n=>({...o,class:n}),[()=>D("flex flex-col",e.class)]);var c=B(t);E(c,()=>e.children??ie),N(t),De(t,n=>a(n),()=>a()),r(l,t),F()}var Kt=j("<div><!></div>");function Qt(l,e){P(e,!0);let a=b(e,"ref",15,null),o=k(e,["$$slots","$$events","$$legacy","ref","class","children"]);var t=Kt();re(t,n=>({class:n,...o}),[()=>D("relative flex flex-col gap-4 md:flex-row",e.class)]);var c=B(t);E(c,()=>e.children??ie),N(t),De(t,n=>a(n),()=>a()),r(l,t),F()}var Xt=j("<nav><!></nav>");function Zt(l,e){P(e,!0);let a=b(e,"ref",15,null),o=k(e,["$$slots","$$events","$$legacy","ref","class","children"]);var t=Xt();re(t,n=>({...o,class:n}),[()=>D("absolute inset-x-0 top-0 flex w-full items-center justify-between gap-1",e.class)]);var c=B(t);E(c,()=>e.children??ie),N(t),De(t,n=>a(n),()=>a()),r(l,t),F()}const $t=l=>{Ct(l,{class:"size-4"})};function pt(l,e){P(e,!0);let a=b(e,"ref",15,null),o=b(e,"variant",3,"ghost"),t=k(e,["$$slots","$$events","$$legacy","ref","class","children","variant"]);var c=_(),n=s(c);{let u=I(()=>D(Le({variant:o()}),"size-(--cell-size) bg-transparent p-0 select-none disabled:opacity-50 rtl:rotate-180",e.class));y(n,()=>yt,(d,f)=>{f(d,L({get class(){return x(u)}},()=>t,{get ref(){return a()},set ref(z){a(z)},children:(z,V)=>{var M=_(),w=s(M);{var i=g=>{var v=_(),C=s(v);E(C,()=>e.children),r(g,v)},m=g=>{$t(g)};U(w,g=>{e.children?g(i):g(m,-1)})}r(z,M)},$$slots:{default:!0}}))})}r(l,c),F()}const ea=l=>{wt(l,{class:"size-4"})};function ta(l,e){P(e,!0);let a=b(e,"ref",15,null),o=b(e,"variant",3,"ghost"),t=k(e,["$$slots","$$events","$$legacy","ref","class","children","variant"]);var c=_(),n=s(c);{let u=I(()=>D(Le({variant:o()}),"size-(--cell-size) bg-transparent p-0 select-none disabled:opacity-50 rtl:rotate-180",e.class));y(n,()=>bt,(d,f)=>{f(d,L({get class(){return x(u)}},()=>t,{get ref(){return a()},set ref(z){a(z)},children:(z,V)=>{var M=_(),w=s(M);{var i=g=>{var v=_(),C=s(v);E(C,()=>e.children),r(g,v)},m=g=>{ea(g)};U(w,g=>{e.children?g(i):g(m,-1)})}r(z,M)},$$slots:{default:!0}}))})}r(l,c),F()}function ua(l,e){P(e,!0);let a=k(e,["$$slots","$$events","$$legacy"]);const o=[["path",{d:"M8 2v4"}],["path",{d:"M16 2v4"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2"}],["path",{d:"M3 10h18"}]];xt(l,L({name:"calendar"},()=>a,{get iconNode(){return o},children:(t,c)=>{var n=_(),u=s(n);E(u,()=>e.children??ie),r(t,n)},$$slots:{default:!0}})),F()}export{ca as C,ua as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as i,g as c,F as n,j as l,a as p,n as f,l as h,G as m,b as u,d as v,r as _,m as b}from"./C0do9GyP.js";import{c as g}from"./
|
|
1
|
+
import{p as i,g as c,F as n,j as l,a as p,n as f,l as h,G as m,b as u,d as v,r as _,m as b}from"./C0do9GyP.js";import{c as g}from"./BGtr_Y7n.js";var w=b("<div><!></div>");function j(e,a){i(a,!0);let t=c(a,"ref",15,null),o=_(a,["$$slots","$$events","$$legacy","ref","class","children"]);var r=w();n(r,s=>({"data-slot":"card-header",class:s,...o}),[()=>g("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",a.class)]);var d=l(r);p(d,()=>a.children??f),h(r),m(r,s=>t(s),()=>t()),u(e,r),v()}export{j as C};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{p as ga,s as Ea,c as ma,f as Le,a as Oa,n as ha,b as i,d as xa,r as ja,o as _,e as Hs,q as Js,i as e,a8 as Gs,v as d,j as l,t as n,l as t,X as ca,A as pa,y as B,B as X,z as h,M as fe,k as C,D as Ie,u as A,w as ua,I as ze,O as Zs,W as Es,L as Ta,m as w,a9 as m,N as Os}from"./C0do9GyP.js";import{I as Wa,T as js,J as Ws,U as Us,V as Ha,X as Ja,W as Qs,Y as Xs,Z as Ks,_ as Ys}from"./CHxfhkfa.js";import{C as $s}from"./Bdyz-KHw.js";import{P as et}from"./eAsdYlua.js";import{D as Ga}from"./B_a67mN5.js";import{R as Za}from"./B5VWmXrR.js";import{F as at}from"./S-KoXhHO.js";import{F as st}from"./Dygqj6Gg.js";function tt(E,c){ga(c,!0);let F=ja(c,["$$slots","$$events","$$legacy"]);const V=[["circle",{cx:"12",cy:"12",r:"10"}],["path",{d:"M8 12h8"}],["path",{d:"M12 8v8"}]];Wa(E,Ea({name:"circle-plus"},()=>F,{get iconNode(){return V},children:(z,R)=>{var S=ma(),N=Le(S);Oa(N,()=>c.children??ha),i(z,S)},$$slots:{default:!0}})),xa()}function lt(E,c){ga(c,!0);let F=ja(c,["$$slots","$$events","$$legacy"]);const V=[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12"}]];Wa(E,Ea({name:"link-2"},()=>F,{get iconNode(){return V},children:(z,R)=>{var S=ma(),N=Le(S);Oa(N,()=>c.children??ha),i(z,S)},$$slots:{default:!0}})),xa()}const I=(E,c=ha)=>{var F=ma(),V=Le(F);{var z=a=>{var o=rt();i(a,o)},R=a=>{var o=nt();i(a,o)},S=a=>{st(a,{})},N=a=>{var o=ot();i(a,o)},K=a=>{var o=it();i(a,o)},Y=a=>{var o=dt();i(a,o)},O=a=>{var o=vt();i(a,o)},T=a=>{var o=ct();i(a,o)},te=a=>{var o=pt();i(a,o)},le=a=>{var o=ut();i(a,o)},P=a=>{var o=gt();i(a,o)},q=a=>{var o=mt();i(a,o)},H=a=>{var o=ht();i(a,o)},j=a=>{var o=xt();i(a,o)},re=a=>{var o=wt();i(a,o)},ne=a=>{var o=bt();i(a,o)},Be=a=>{var o=ft();i(a,o)},$=a=>{var o=_t();i(a,o)},Ae=a=>{var o=qt();i(a,o)},Pe=a=>{var o=kt();i(a,o)},De=a=>{var o=yt();i(a,o)},_e=a=>{var o=Mt();i(a,o)},qe=a=>{var o=Ct();i(a,o)},Fe=a=>{var o=St();i(a,o)};C(V,a=>{c()==="obsidian"?a(z):c()==="github"?a(R,1):c()==="folder"?a(S,2):c()==="csv"?a(N,3):c()==="postgres"?a(K,4):c()==="supabase"?a(Y,5):c()==="globe"?a(O,6):c()==="drive"?a(T,7):c()==="gmail"?a(te,8):c()==="nextcloud"?a(le,9):c()==="notion"?a(P,10):c()==="x-bookmarks"?a(q,11):c()==="discord"?a(H,12):c()==="telegram"?a(j,13):c()==="quickbooks"?a(re,14):c()==="polymarket"?a(ne,15):c()==="airtable"?a(Be,16):c()==="go-high-level"?a($,17):c()==="clickup"?a(Ae,18):c()==="stripe"?a(Pe,19):c()==="imap-email"?a(De,20):c()==="proton-mail"?a(_e,21):c()==="history"?a(qe,22):a(Fe,-1)})}i(E,F)};var rt=m('<svg viewBox="0 0 24 24" role="img" aria-hidden="true" class="brand-logo obsidian-logo svelte-xqw5vs"><path fill="#7C3AED" d="M19.355 18.538a68.967 68.959 0 0 0 1.858-2.954.81.81 0 0 0-.062-.9c-.516-.685-1.504-2.075-2.042-3.362-.553-1.321-.636-3.375-.64-4.377a1.707 1.707 0 0 0-.358-1.05l-3.198-4.064a3.744 3.744 0 0 1-.076.543c-.106.503-.307 1.004-.536 1.5-.134.29-.29.6-.446.914l-.31.626c-.516 1.068-.997 2.227-1.132 3.59-.124 1.26.046 2.73.815 4.481.128.011.257.025.386.044a6.363 6.363 0 0 1 3.326 1.505c.916.79 1.744 1.922 2.415 3.5zM8.199 22.569c.073.012.146.02.22.02.78.024 2.095.092 3.16.29.87.16 2.593.64 4.01 1.055 1.083.316 2.198-.548 2.355-1.664.114-.814.33-1.735.725-2.58l-.01.005c-.67-1.87-1.522-3.078-2.416-3.849a5.295 5.295 0 0 0-2.778-1.257c-1.54-.216-2.952.19-3.84.45.532 2.218.368 4.829-1.425 7.531zM5.533 9.938c-.023.1-.056.197-.098.29L2.82 16.059a1.602 1.602 0 0 0 .313 1.772l4.116 4.24c2.103-3.101 1.796-6.02.836-8.3-.728-1.73-1.832-3.081-2.55-3.831zM9.32 14.01c.615-.183 1.606-.465 2.74-.546-.705-1.79-.844-3.322-.71-4.565.157-1.46.686-2.69 1.214-3.756l.32-.633c.153-.303.3-.592.428-.867.266-.57.448-1.077.468-1.556.014-.343-.053-.69-.25-1.075L6.561 8.982c.713.753 1.901 2.196 2.757 4.044.145.313.279.642.4.985z" class="svelte-xqw5vs"></path></svg>'),nt=m('<svg viewBox="0 0 24 24" role="img" aria-hidden="true" class="brand-logo github-logo svelte-xqw5vs"><path fill="currentColor" d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12" class="svelte-xqw5vs"></path></svg>'),ot=m('<svg viewBox="0 0 24 24" role="img" aria-hidden="true" class="brand-logo csv-logo svelte-xqw5vs"><path fill="currentColor" d="M4 2h12l4 4v16H4z" opacity="0.18" class="svelte-xqw5vs"></path><path fill="none" stroke="currentColor" stroke-width="1.4" stroke-linejoin="miter" d="M4 2h12l4 4v16H4zM16 2v5h4M7 11h10M7 15h10M10 9v10M14 9v10" class="svelte-xqw5vs"></path></svg>'),it=m('<svg viewBox="0 0 24 24" role="img" aria-hidden="true" class="brand-logo postgres-logo svelte-xqw5vs"><path fill="#4169E1" d="M12 2C8.2 2 5.1 3.3 5.1 5v10.2c0 1.7 3.1 3 6.9 3s6.9-1.3 6.9-3V5c0-1.7-3.1-3-6.9-3Zm0 1.9c3 0 4.9.8 4.9 1.1S15 6.1 12 6.1 7.1 5.3 7.1 5 9 3.9 12 3.9Zm4.9 11.1c0 .4-1.9 1.2-4.9 1.2s-4.9-.8-4.9-1.2v-2.1c1.2.7 2.9 1.1 4.9 1.1s3.7-.4 4.9-1.1Zm0-4c0 .4-1.9 1.2-4.9 1.2S7.1 11.4 7.1 11V8.9C8.3 9.6 10 10 12 10s3.7-.4 4.9-1.1Z" class="svelte-xqw5vs"></path></svg>'),dt=m('<svg viewBox="0 0 24 24" role="img" aria-hidden="true" class="brand-logo supabase-logo svelte-xqw5vs"><path fill="#3FCF8E" d="M11.9 1.036c-.015-.986-1.26-1.41-1.874-.637L.764 12.05C-.33 13.427.65 15.455 2.409 15.455h9.579l.113 7.51c.014.985 1.259 1.408 1.873.636l9.262-11.653c1.093-1.375.113-3.403-1.645-3.403h-9.642z" class="svelte-xqw5vs"></path></svg>'),vt=m('<svg viewBox="0 0 24 24" role="img" aria-hidden="true" class="brand-logo mdn-logo svelte-xqw5vs"><path fill="#000000" d="m21.538 1.1-6.745 21.8h-2.77L18.77 1.1ZM24 1.1v21.8h-2.462V1.1Zm-12 0v21.8H9.538V1.1Zm-2.462 0L2.77 22.9H0L6.746 1.1Z" class="svelte-xqw5vs"></path></svg>'),ct=m('<svg viewBox="0 0 24 24" role="img" aria-hidden="true" class="brand-logo drive-logo svelte-xqw5vs"><path fill="#4285F4" d="M12.01 1.485c-2.082 0-3.754.02-3.743.047.01.02 1.708 3.001 3.774 6.62l3.76 6.574h3.76c2.081 0 3.753-.02 3.742-.047-.005-.02-1.708-3.001-3.775-6.62l-3.76-6.574zm-4.76 1.73a789.828 789.861 0 0 0-3.63 6.319L0 15.868l1.89 3.298 1.885 3.297 3.62-6.335 3.618-6.33-1.88-3.287C8.1 4.704 7.255 3.22 7.25 3.214zm2.259 12.653-.203.348c-.114.198-.96 1.672-1.88 3.287a423.93 423.948 0 0 1-1.698 2.97c-.01.026 3.24.042 7.222.042h7.244l1.796-3.157c.992-1.734 1.85-3.23 1.906-3.323l.104-.167h-7.249z" class="svelte-xqw5vs"></path></svg>'),pt=m('<svg viewBox="0 0 24 24" role="img" aria-hidden="true" class="brand-logo gmail-logo svelte-xqw5vs"><path fill="#EA4335" d="M24 5.457v13.909c0 .904-.732 1.636-1.636 1.636h-3.819V11.73L12 16.64l-6.545-4.91v9.273H1.636A1.636 1.636 0 0 1 0 19.366V5.457c0-2.023 2.309-3.178 3.927-1.964L5.455 4.64 12 9.548l6.545-4.91 1.528-1.145C21.69 2.28 24 3.434 24 5.457z" class="svelte-xqw5vs"></path></svg>'),ut=m('<svg viewBox="0 0 24 24" role="img" aria-hidden="true" class="brand-logo nextcloud-logo svelte-xqw5vs"><path fill="#0082C9" d="M12.018 6.537c-2.5 0-4.6 1.712-5.241 4.015-.56-1.232-1.793-2.105-3.225-2.105A3.569 3.569 0 0 0 0 12a3.569 3.569 0 0 0 3.552 3.553c1.432 0 2.664-.874 3.224-2.106.641 2.304 2.742 4.016 5.242 4.016 2.487 0 4.576-1.693 5.231-3.977.569 1.21 1.783 2.067 3.198 2.067A3.568 3.568 0 0 0 24 12a3.569 3.569 0 0 0-3.553-3.553c-1.416 0-2.63.858-3.199 2.067-.654-2.284-2.743-3.978-5.23-3.977zm0 2.085c1.878 0 3.378 1.5 3.378 3.378 0 1.878-1.5 3.378-3.378 3.378A3.362 3.362 0 0 1 8.641 12c0-1.878 1.5-3.378 3.377-3.378zm-8.466 1.91c.822 0 1.467.645 1.467 1.468s-.644 1.467-1.467 1.468A1.452 1.452 0 0 1 2.085 12c0-.823.644-1.467 1.467-1.467zm16.895 0c.823 0 1.468.645 1.468 1.468s-.645 1.468-1.468 1.468A1.452 1.452 0 0 1 18.98 12c0-.823.644-1.467 1.467-1.467z" class="svelte-xqw5vs"></path></svg>'),gt=m('<svg viewBox="0 0 24 24" role="img" aria-hidden="true" class="brand-logo notion-logo svelte-xqw5vs"><path fill="#000000" d="M4.459 4.208c.746.606 1.026.56 2.428.466l13.215-.793c.28 0 .047-.28-.046-.326L17.86 1.968c-.42-.326-.981-.7-2.055-.607L3.01 2.295c-.466.046-.56.28-.374.466zm.793 3.08v13.904c0 .747.373 1.027 1.214.98l14.523-.84c.841-.046.935-.56.935-1.167V6.354c0-.606-.233-.933-.748-.887l-15.177.887c-.56.047-.747.327-.747.933zm14.337.745c.093.42 0 .84-.42.888l-.7.14v10.264c-.608.327-1.168.514-1.635.514-.748 0-.935-.234-1.495-.933l-4.577-7.186v6.952L12.21 19s0 .84-1.168.84l-3.222.186c-.093-.186 0-.653.327-.746l.84-.233V9.854L7.822 9.76c-.094-.42.14-1.026.793-1.073l3.456-.233 4.764 7.279v-6.44l-1.215-.139c-.093-.514.28-.887.747-.933zM1.936 1.035l13.31-.98c1.634-.14 2.055-.047 3.082.7l4.249 2.986c.7.513.934.653.934 1.213v16.378c0 1.026-.373 1.634-1.68 1.726l-15.458.934c-.98.047-1.448-.093-1.962-.747l-3.129-4.06c-.56-.747-.793-1.306-.793-1.96V2.667c0-.839.374-1.54 1.447-1.632z" class="svelte-xqw5vs"></path></svg>'),mt=m('<svg viewBox="0 0 24 24" role="img" aria-hidden="true" class="brand-logo x-logo svelte-xqw5vs"><path fill="currentColor" d="M14.234 10.162 22.977 0h-2.072l-7.591 8.824L7.251 0H.258l9.168 13.343L.258 24H2.33l8.016-9.318L16.749 24h6.993zm-2.837 3.299-.929-1.329L3.076 1.56h3.182l5.965 8.532.929 1.329 7.754 11.09h-3.182z" class="svelte-xqw5vs"></path></svg>'),ht=m('<svg viewBox="0 0 24 24" role="img" aria-hidden="true" class="brand-logo discord-logo svelte-xqw5vs"><path fill="#5865F2" d="M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z" class="svelte-xqw5vs"></path></svg>'),xt=m('<svg viewBox="0 0 24 24" role="img" aria-hidden="true" class="brand-logo telegram-logo svelte-xqw5vs"><path fill="#26A5E4" d="M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z" class="svelte-xqw5vs"></path></svg>'),wt=m('<svg viewBox="0 0 24 24" role="img" aria-hidden="true" class="brand-logo quickbooks-logo svelte-xqw5vs"><path fill="#2CA01C" d="M12 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0zm.642 4.1335c.9554 0 1.7296.776 1.7296 1.7332v9.0667h1.6c1.614 0 2.9275-1.3156 2.9275-2.933 0-1.6173-1.3136-2.9333-2.9276-2.9333h-.6654V7.3334h.6654c2.5722 0 4.6577 2.0897 4.6577 4.667 0 2.5774-2.0855 4.6666-4.6577 4.6666H12.642zM7.9837 7.333h3.3291v12.533c-.9555 0-1.73-.7759-1.73-1.7332V9.0662H7.9837c-1.6146 0-2.9277 1.316-2.9277 2.9334 0 1.6175 1.3131 2.9333 2.9277 2.9333h.6654v1.7332h-.6654c-2.5725 0-4.6577-2.0892-4.6577-4.6665 0-2.5771 2.0852-4.6666 4.6577-4.6666Z" class="svelte-xqw5vs"></path></svg>'),bt=m('<svg viewBox="0 0 2184 2184" role="img" aria-hidden="true" class="brand-logo polymarket-logo svelte-xqw5vs"><g transform="translate(0 2184) scale(0.1 -0.1)" class="svelte-xqw5vs"><path fill="currentColor" d="M10445 15709 c-2667 -764 -4860 -1391 -4872 -1394 l-23 -5 0 -3345 0 -3344 23 -7 c79 -25 9722 -2782 9724 -2780 2 1 2 2761 1 6133 l-3 6129 -4850 -1387z m3915 -1910 c0 -1939 -1 -2041 -17 -2037 -160 43 -7100 2032 -7105 2037 -7 6 7068 2037 7105 2040 16 1 17 -102 17 -2040z m-4263 -1806 c1976 -565 3591 -1028 3590 -1029 -4 -4 -7141 -2045 -7169 -2051 l-28 -5 0 2056 c0 1131 3 2056 8 2056 4 0 1623 -462 3599 -1027z m4263 -3864 l0 -2041 -27 5 c-16 3 -1617 460 -3560 1016 -1942 556 -3535 1011 -3539 1011 -4 0 -4 3 0 7 5 6 7095 2040 7119 2042 4 1 7 -918 7 -2040z" class="svelte-xqw5vs"></path></g></svg>'),ft=m('<svg viewBox="0 0 24 24" role="img" aria-hidden="true" class="brand-logo airtable-logo svelte-xqw5vs"><path fill="#18BFFF" d="M11.992 1.966c-.434 0-.87.086-1.28.257L1.779 5.917c-.503.208-.49.908.012 1.116l8.982 3.558a3.266 3.266 0 0 0 2.454 0l8.982-3.558c.503-.196.503-.908.012-1.116l-8.957-3.694a3.255 3.255 0 0 0-1.272-.257zM23.4 8.056a.589.589 0 0 0-.222.045l-10.012 3.877a.612.612 0 0 0-.38.564v8.896a.6.6 0 0 0 .821.552L23.62 18.1a.583.583 0 0 0 .38-.551V8.653a.6.6 0 0 0-.6-.596zM.676 8.095a.644.644 0 0 0-.48.19C.086 8.396 0 8.53 0 8.69v8.355c0 .442.515.737.908.54l6.27-3.006.307-.147 2.969-1.436c.466-.22.43-.908-.061-1.092L.883 8.138a.57.57 0 0 0-.207-.044z" class="svelte-xqw5vs"></path></svg>'),_t=w('<img src="/source-logos/highlevel-official-help-logo.png" alt="" aria-hidden="true" class="brand-logo ghl-logo svelte-xqw5vs"/>'),qt=m('<svg viewBox="0 0 24 24" role="img" aria-hidden="true" class="brand-logo clickup-logo svelte-xqw5vs"><path fill="#7B68EE" d="M2 18.439l3.69-2.828c1.961 2.56 4.044 3.739 6.363 3.739 2.307 0 4.33-1.166 6.203-3.704L22 18.405C19.298 22.065 15.941 24 12.053 24 8.178 24 4.788 22.078 2 18.439zM12.04 6.15l-6.568 5.66-3.036-3.52L12.055 0l9.543 8.296-3.05 3.509z" class="svelte-xqw5vs"></path></svg>'),kt=m('<svg viewBox="0 0 24 24" role="img" aria-hidden="true" class="brand-logo stripe-logo svelte-xqw5vs"><path fill="#635BFF" d="M13.976 9.15c-2.172-.806-3.356-1.426-3.356-2.409 0-.831.683-1.305 1.901-1.305 2.227 0 4.515.858 6.09 1.631l.89-5.494C18.252.975 15.697 0 12.165 0 9.667 0 7.589.654 6.104 1.872 4.56 3.147 3.757 4.992 3.757 7.218c0 4.039 2.467 5.76 6.476 7.219 2.585.92 3.445 1.574 3.445 2.583 0 .98-.84 1.545-2.354 1.545-1.875 0-4.965-.921-6.99-2.109l-.9 5.555C5.175 22.99 8.385 24 11.714 24c2.641 0 4.843-.624 6.328-1.813 1.664-1.305 2.525-3.236 2.525-5.732 0-4.128-2.524-5.851-6.594-7.305h.003z" class="svelte-xqw5vs"></path></svg>'),yt=m('<svg viewBox="0 0 24 24" role="img" aria-hidden="true" class="brand-logo imap-logo svelte-xqw5vs"><path fill="none" stroke="currentColor" stroke-width="1.6" stroke-linejoin="miter" d="M3 6h18v12H3zM3 7l9 6 9-6" class="svelte-xqw5vs"></path><path fill="currentColor" d="M6 15h2v1.5H6zm3.5 0h2v1.5h-2zm3.5 0h2v1.5h-2zm3.5 0h2v1.5h-2z" class="svelte-xqw5vs"></path></svg>'),Mt=m('<svg viewBox="0 0 24 24" role="img" aria-hidden="true" class="brand-logo proton-logo svelte-xqw5vs"><path fill="#6D4AFF" d="m15.24 8.998 3.656-3.073v15.81H2.482C1.11 21.735 0 20.609 0 19.223V6.944l7.58 6.38a2.186 2.186 0 0 0 2.871-.042l4.792-4.284h-.003zm-5.456 3.538 1.809-1.616a2.438 2.438 0 0 1-1.178-.533L.905 2.395A.552.552 0 0 0 0 2.826v2.811l8.226 6.923a1.186 1.186 0 0 0 1.558-.024zM23.871 2.463a.551.551 0 0 0-.776-.068l-3.199 2.688v16.653h1.623c1.371 0 2.481-1.127 2.481-2.513V2.824a.551.551 0 0 0-.129-.36z" class="svelte-xqw5vs"></path></svg>'),Ct=m('<svg viewBox="0 0 24 24" role="img" aria-hidden="true" class="brand-logo chrome-logo svelte-xqw5vs"><path fill="#4285F4" d="M12 0C8.21 0 4.831 1.757 2.632 4.501l3.953 6.848A5.454 5.454 0 0 1 12 6.545h10.691A12 12 0 0 0 12 0zM1.931 5.47A11.943 11.943 0 0 0 0 12c0 6.012 4.42 10.991 10.189 11.864l3.953-6.847a5.45 5.45 0 0 1-6.865-2.29zm13.342 2.166a5.446 5.446 0 0 1 1.45 7.09l.002.001h-.002l-5.344 9.257c.206.01.413.016.621.016 6.627 0 12-5.373 12-12 0-1.54-.29-3.011-.818-4.364zM12 16.364a4.364 4.364 0 1 1 0-8.728 4.364 4.364 0 0 1 0 8.728Z" class="svelte-xqw5vs"></path></svg>'),St=m('<svg viewBox="0 0 24 24" role="img" aria-hidden="true" class="brand-logo linear-logo svelte-xqw5vs"><path fill="#5E6AD2" d="M2.886 4.18A11.982 11.982 0 0 1 11.99 0C18.624 0 24 5.376 24 12.009c0 3.64-1.62 6.903-4.18 9.105L2.887 4.18ZM1.817 5.626l16.556 16.556c-.524.33-1.075.62-1.65.866L.951 7.277c.247-.575.537-1.126.866-1.65ZM.322 9.163l14.515 14.515c-.71.172-1.443.282-2.195.322L0 11.358a12 12 0 0 1 .322-2.195Zm-.17 4.862 9.823 9.824a12.02 12.02 0 0 1-9.824-9.824Z" class="svelte-xqw5vs"></path></svg>'),It=w('<button type="button"> </button>'),zt=w('<em class="svelte-xqw5vs">Planned</em>'),Lt=w('<p class="connected-loading svelte-xqw5vs">Checking source registry...</p>'),Bt=w('<code class="source-index-progress__path svelte-xqw5vs"> </code>'),At=w('<div class="source-index-progress svelte-xqw5vs"><div class="source-index-progress__head svelte-xqw5vs"><span class="svelte-xqw5vs"> </span> <strong class="svelte-xqw5vs"> </strong></div> <div class="source-index-progress__bar svelte-xqw5vs" role="progressbar" aria-valuemin="0" aria-valuemax="100"><span class="svelte-xqw5vs"></span></div> <!></div>'),Pt=w('<div class="exclude-summary svelte-xqw5vs"><span class="svelte-xqw5vs">Ignoring</span> <code class="svelte-xqw5vs"> </code></div>'),Dt=w('<span class="spin svelte-xqw5vs"><!></span>'),Ft=w('<article class="connected-row connected-row--inline svelte-xqw5vs"><div class="connected-main svelte-xqw5vs"><div class="connected-title-row svelte-xqw5vs"><strong class="svelte-xqw5vs"> </strong> <span class="status-badge status-badge--connected svelte-xqw5vs">Connected</span></div> <code class="svelte-xqw5vs"> </code></div> <ul class="svelte-xqw5vs"><li class="svelte-xqw5vs"><!> </li> <li class="svelte-xqw5vs"><!> </li> <li class="svelte-xqw5vs"><!> </li></ul> <!> <!> <button class="disconnect-button svelte-xqw5vs" type="button"><!> </button></article>'),Vt=w('<div class="connected-list connected-list--inline svelte-xqw5vs"></div>'),Rt=w('<button class="connect-button svelte-xqw5vs" type="button"><!> Connect</button>'),Nt=w('<p class="field-error svelte-xqw5vs">Vault folder is required.</p>'),Tt=w('<span class="spin svelte-xqw5vs"><!></span>'),Ht=w('<form class="connect-form svelte-xqw5vs"><label class="svelte-xqw5vs"><span class="svelte-xqw5vs">Display name</span> <input placeholder="Obsidian Vault" class="svelte-xqw5vs"/></label> <label class="svelte-xqw5vs"><span class="svelte-xqw5vs">Vault folder</span> <div class="path-row svelte-xqw5vs"><input placeholder="Choose your vault folder..." class="svelte-xqw5vs"/> <button type="button" class="svelte-xqw5vs"><!> </button></div></label> <!> <label class="svelte-xqw5vs"><span class="svelte-xqw5vs">Ignore globs</span> <textarea rows="5" placeholder="**/.*/** **/node_modules/**" class="svelte-xqw5vs"></textarea> <small class="field-hint svelte-xqw5vs">One glob per line or comma. Default ignores Obsidian internals, trash, Hermes metadata, hidden dot-folders, and hidden files.</small></label> <button class="connect-button svelte-xqw5vs" type="submit"><!> </button></form>'),Jt=w("<!> <!>",1),Gt=w('<p class="form-status form-status--info svelte-xqw5vs">Planned source. Not connectable yet.</p>'),Zt=w('<p class="form-status form-status--info svelte-xqw5vs"> </p>'),Et=w('<p class="form-status form-status--error svelte-xqw5vs"> </p>'),Ot=w('<article><button type="button"><span><!></span> <span class="connector-copy svelte-xqw5vs"><strong class="svelte-xqw5vs"> </strong> <small class="svelte-xqw5vs"> </small></span> <span><!></span></button> <div><p class="connector-description svelte-xqw5vs"> </p> <!> <!> <!></div></article>'),jt=w('<div class="sources-tab svelte-xqw5vs"><div class="sources-shell svelte-xqw5vs"><main class="sources-main svelte-xqw5vs"><header class="sources-masthead svelte-xqw5vs"><span class="eyebrow svelte-xqw5vs">Sources</span> <h1 class="svelte-xqw5vs">Connect knowledge bases</h1> <p class="svelte-xqw5vs">Bring external context into Signet while preserving the original source of truth.</p></header> <section class="source-toolbar svelte-xqw5vs" aria-label="Source filters"><label class="search-box svelte-xqw5vs" for="source-search"><span class="svelte-xqw5vs"><!></span> <input id="source-search" placeholder="Search sources" class="svelte-xqw5vs"/></label> <div class="filter-tabs svelte-xqw5vs" role="group" aria-label="Source type filters"></div> <div class="read-first svelte-xqw5vs"><span class="svelte-xqw5vs">Read-only first</span> <span class="switch svelte-xqw5vs" aria-hidden="true"><span class="svelte-xqw5vs"></span></span> <!></div></section> <section class="recall-map svelte-xqw5vs" aria-label="Source recall diagram"><div class="map-grid svelte-xqw5vs" aria-hidden="true"></div> <div class="map-left map-stack svelte-xqw5vs"><div class="map-node node-obsidian svelte-xqw5vs"><!></div> <div class="map-node node-github svelte-xqw5vs"><!></div> <div class="map-node node-folder svelte-xqw5vs"><!></div> <div class="map-node node-csv svelte-xqw5vs"><!></div> <div class="map-node node-web svelte-xqw5vs"><!></div></div> <svg class="map-connections svelte-xqw5vs" viewBox="0 0 620 240" preserveAspectRatio="none" aria-hidden="true"><defs class="svelte-xqw5vs"><filter id="wire-glow" x="-20%" y="-20%" width="140%" height="140%" class="svelte-xqw5vs"><feGaussianBlur stdDeviation="1.5" result="blur" class="svelte-xqw5vs"></feGaussianBlur><feMerge class="svelte-xqw5vs"><feMergeNode in="blur" class="svelte-xqw5vs"></feMergeNode><feMergeNode in="SourceGraphic" class="svelte-xqw5vs"></feMergeNode></feMerge></filter></defs><path d="M 76 38 C 160 38, 250 120, 310 120" class="map-wire svelte-xqw5vs"></path><path d="M 76 84 C 160 84, 250 120, 310 120" class="map-wire svelte-xqw5vs"></path><path d="M 76 130 C 160 130, 250 120, 310 120" class="map-wire svelte-xqw5vs"></path><path d="M 76 176 C 160 176, 250 120, 310 120" class="map-wire svelte-xqw5vs"></path><path d="M 544 38 C 460 38, 370 120, 310 120" class="map-wire svelte-xqw5vs"></path><path d="M 544 84 C 460 84, 370 120, 310 120" class="map-wire svelte-xqw5vs"></path><path d="M 544 130 C 460 130, 370 120, 310 120" class="map-wire svelte-xqw5vs"></path><path d="M 544 176 C 460 176, 370 120, 310 120" class="map-wire svelte-xqw5vs"></path><path d="M 544 222 C 460 222, 370 120, 310 120" class="map-wire svelte-xqw5vs"></path><path d="M 76 38 C 160 38, 250 120, 310 120" class="map-packet svelte-xqw5vs" style="animation-delay: 0s;"></path><path d="M 76 84 C 160 84, 250 120, 310 120" class="map-packet svelte-xqw5vs" style="animation-delay: -0.6s;"></path><path d="M 76 130 C 160 130, 250 120, 310 120" class="map-packet svelte-xqw5vs" style="animation-delay: -1.2s;"></path><path d="M 76 176 C 160 176, 250 120, 310 120" class="map-packet svelte-xqw5vs" style="animation-delay: -1.8s;"></path><path d="M 544 38 C 460 38, 370 120, 310 120" class="map-packet svelte-xqw5vs" style="animation-delay: -0.3s;"></path><path d="M 544 84 C 460 84, 370 120, 310 120" class="map-packet svelte-xqw5vs" style="animation-delay: -0.9s;"></path><path d="M 544 130 C 460 130, 370 120, 310 120" class="map-packet svelte-xqw5vs" style="animation-delay: -1.5s;"></path><path d="M 544 176 C 460 176, 370 120, 310 120" class="map-packet svelte-xqw5vs" style="animation-delay: -2.1s;"></path><path d="M 544 222 C 460 222, 370 120, 310 120" class="map-packet svelte-xqw5vs" style="animation-delay: -2.7s;"></path></svg> <div class="map-center svelte-xqw5vs"><img src="/logo-dark.png" alt="Signet" class="map-logo svelte-xqw5vs"/> <span class="map-tagline svelte-xqw5vs">Bring context to your agent</span></div> <div class="map-right map-stack svelte-xqw5vs"><div class="map-node node-drive svelte-xqw5vs"><!></div> <div class="map-node node-notion svelte-xqw5vs"><!></div> <div class="map-node node-nextcloud svelte-xqw5vs"><!></div> <div class="map-node node-postgres svelte-xqw5vs"><!></div> <div class="map-node node-supabase svelte-xqw5vs"><!></div> <div class="map-node node-x-bookmarks svelte-xqw5vs"><!></div></div> <div class="map-counts svelte-xqw5vs"><span class="svelte-xqw5vs"> </span><span class="svelte-xqw5vs"> </span></div></section> <section id="featured-sources" class="featured-panel svelte-xqw5vs" aria-label="Featured sources"><header class="section-label svelte-xqw5vs">Featured sources</header> <div></div> <footer class="svelte-xqw5vs"> </footer></section></main></div></div>');function al(E,c){ga(c,!0);let F=_(Hs([])),V=_(!0),z=_(!1),R=_(null),S=_(!1),N=_(""),K=_("all"),Y=_("obsidian"),O=_(!1),T=_(""),te=_("Obsidian Vault"),le=_(`**/.obsidian/**
|
|
1
|
+
import{p as ga,s as Ea,c as ma,f as Le,a as Oa,n as ha,b as i,d as xa,r as ja,o as _,e as Hs,q as Js,i as e,a8 as Gs,v as d,j as l,t as n,l as t,X as ca,A as pa,y as B,B as X,z as h,M as fe,k as C,D as Ie,u as A,w as ua,I as ze,O as Zs,W as Es,L as Ta,m as w,a9 as m,N as Os}from"./C0do9GyP.js";import{I as Wa,T as js,J as Ws,U as Us,V as Ha,X as Ja,W as Qs,Y as Xs,Z as Ks,_ as Ys}from"./BGtr_Y7n.js";import{C as $s}from"./p43gmDmU.js";import{P as et}from"./C-cLrz5T.js";import{D as Ga}from"./VSphb5_W.js";import{R as Za}from"./CLZWliPW.js";import{F as at}from"./CurbP_qp.js";import{F as st}from"./pvPZOrPw.js";function tt(E,c){ga(c,!0);let F=ja(c,["$$slots","$$events","$$legacy"]);const V=[["circle",{cx:"12",cy:"12",r:"10"}],["path",{d:"M8 12h8"}],["path",{d:"M12 8v8"}]];Wa(E,Ea({name:"circle-plus"},()=>F,{get iconNode(){return V},children:(z,R)=>{var S=ma(),N=Le(S);Oa(N,()=>c.children??ha),i(z,S)},$$slots:{default:!0}})),xa()}function lt(E,c){ga(c,!0);let F=ja(c,["$$slots","$$events","$$legacy"]);const V=[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12"}]];Wa(E,Ea({name:"link-2"},()=>F,{get iconNode(){return V},children:(z,R)=>{var S=ma(),N=Le(S);Oa(N,()=>c.children??ha),i(z,S)},$$slots:{default:!0}})),xa()}const I=(E,c=ha)=>{var F=ma(),V=Le(F);{var z=a=>{var o=rt();i(a,o)},R=a=>{var o=nt();i(a,o)},S=a=>{st(a,{})},N=a=>{var o=ot();i(a,o)},K=a=>{var o=it();i(a,o)},Y=a=>{var o=dt();i(a,o)},O=a=>{var o=vt();i(a,o)},T=a=>{var o=ct();i(a,o)},te=a=>{var o=pt();i(a,o)},le=a=>{var o=ut();i(a,o)},P=a=>{var o=gt();i(a,o)},q=a=>{var o=mt();i(a,o)},H=a=>{var o=ht();i(a,o)},j=a=>{var o=xt();i(a,o)},re=a=>{var o=wt();i(a,o)},ne=a=>{var o=bt();i(a,o)},Be=a=>{var o=ft();i(a,o)},$=a=>{var o=_t();i(a,o)},Ae=a=>{var o=qt();i(a,o)},Pe=a=>{var o=kt();i(a,o)},De=a=>{var o=yt();i(a,o)},_e=a=>{var o=Mt();i(a,o)},qe=a=>{var o=Ct();i(a,o)},Fe=a=>{var o=St();i(a,o)};C(V,a=>{c()==="obsidian"?a(z):c()==="github"?a(R,1):c()==="folder"?a(S,2):c()==="csv"?a(N,3):c()==="postgres"?a(K,4):c()==="supabase"?a(Y,5):c()==="globe"?a(O,6):c()==="drive"?a(T,7):c()==="gmail"?a(te,8):c()==="nextcloud"?a(le,9):c()==="notion"?a(P,10):c()==="x-bookmarks"?a(q,11):c()==="discord"?a(H,12):c()==="telegram"?a(j,13):c()==="quickbooks"?a(re,14):c()==="polymarket"?a(ne,15):c()==="airtable"?a(Be,16):c()==="go-high-level"?a($,17):c()==="clickup"?a(Ae,18):c()==="stripe"?a(Pe,19):c()==="imap-email"?a(De,20):c()==="proton-mail"?a(_e,21):c()==="history"?a(qe,22):a(Fe,-1)})}i(E,F)};var rt=m('<svg viewBox="0 0 24 24" role="img" aria-hidden="true" class="brand-logo obsidian-logo svelte-xqw5vs"><path fill="#7C3AED" d="M19.355 18.538a68.967 68.959 0 0 0 1.858-2.954.81.81 0 0 0-.062-.9c-.516-.685-1.504-2.075-2.042-3.362-.553-1.321-.636-3.375-.64-4.377a1.707 1.707 0 0 0-.358-1.05l-3.198-4.064a3.744 3.744 0 0 1-.076.543c-.106.503-.307 1.004-.536 1.5-.134.29-.29.6-.446.914l-.31.626c-.516 1.068-.997 2.227-1.132 3.59-.124 1.26.046 2.73.815 4.481.128.011.257.025.386.044a6.363 6.363 0 0 1 3.326 1.505c.916.79 1.744 1.922 2.415 3.5zM8.199 22.569c.073.012.146.02.22.02.78.024 2.095.092 3.16.29.87.16 2.593.64 4.01 1.055 1.083.316 2.198-.548 2.355-1.664.114-.814.33-1.735.725-2.58l-.01.005c-.67-1.87-1.522-3.078-2.416-3.849a5.295 5.295 0 0 0-2.778-1.257c-1.54-.216-2.952.19-3.84.45.532 2.218.368 4.829-1.425 7.531zM5.533 9.938c-.023.1-.056.197-.098.29L2.82 16.059a1.602 1.602 0 0 0 .313 1.772l4.116 4.24c2.103-3.101 1.796-6.02.836-8.3-.728-1.73-1.832-3.081-2.55-3.831zM9.32 14.01c.615-.183 1.606-.465 2.74-.546-.705-1.79-.844-3.322-.71-4.565.157-1.46.686-2.69 1.214-3.756l.32-.633c.153-.303.3-.592.428-.867.266-.57.448-1.077.468-1.556.014-.343-.053-.69-.25-1.075L6.561 8.982c.713.753 1.901 2.196 2.757 4.044.145.313.279.642.4.985z" class="svelte-xqw5vs"></path></svg>'),nt=m('<svg viewBox="0 0 24 24" role="img" aria-hidden="true" class="brand-logo github-logo svelte-xqw5vs"><path fill="currentColor" d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12" class="svelte-xqw5vs"></path></svg>'),ot=m('<svg viewBox="0 0 24 24" role="img" aria-hidden="true" class="brand-logo csv-logo svelte-xqw5vs"><path fill="currentColor" d="M4 2h12l4 4v16H4z" opacity="0.18" class="svelte-xqw5vs"></path><path fill="none" stroke="currentColor" stroke-width="1.4" stroke-linejoin="miter" d="M4 2h12l4 4v16H4zM16 2v5h4M7 11h10M7 15h10M10 9v10M14 9v10" class="svelte-xqw5vs"></path></svg>'),it=m('<svg viewBox="0 0 24 24" role="img" aria-hidden="true" class="brand-logo postgres-logo svelte-xqw5vs"><path fill="#4169E1" d="M12 2C8.2 2 5.1 3.3 5.1 5v10.2c0 1.7 3.1 3 6.9 3s6.9-1.3 6.9-3V5c0-1.7-3.1-3-6.9-3Zm0 1.9c3 0 4.9.8 4.9 1.1S15 6.1 12 6.1 7.1 5.3 7.1 5 9 3.9 12 3.9Zm4.9 11.1c0 .4-1.9 1.2-4.9 1.2s-4.9-.8-4.9-1.2v-2.1c1.2.7 2.9 1.1 4.9 1.1s3.7-.4 4.9-1.1Zm0-4c0 .4-1.9 1.2-4.9 1.2S7.1 11.4 7.1 11V8.9C8.3 9.6 10 10 12 10s3.7-.4 4.9-1.1Z" class="svelte-xqw5vs"></path></svg>'),dt=m('<svg viewBox="0 0 24 24" role="img" aria-hidden="true" class="brand-logo supabase-logo svelte-xqw5vs"><path fill="#3FCF8E" d="M11.9 1.036c-.015-.986-1.26-1.41-1.874-.637L.764 12.05C-.33 13.427.65 15.455 2.409 15.455h9.579l.113 7.51c.014.985 1.259 1.408 1.873.636l9.262-11.653c1.093-1.375.113-3.403-1.645-3.403h-9.642z" class="svelte-xqw5vs"></path></svg>'),vt=m('<svg viewBox="0 0 24 24" role="img" aria-hidden="true" class="brand-logo mdn-logo svelte-xqw5vs"><path fill="#000000" d="m21.538 1.1-6.745 21.8h-2.77L18.77 1.1ZM24 1.1v21.8h-2.462V1.1Zm-12 0v21.8H9.538V1.1Zm-2.462 0L2.77 22.9H0L6.746 1.1Z" class="svelte-xqw5vs"></path></svg>'),ct=m('<svg viewBox="0 0 24 24" role="img" aria-hidden="true" class="brand-logo drive-logo svelte-xqw5vs"><path fill="#4285F4" d="M12.01 1.485c-2.082 0-3.754.02-3.743.047.01.02 1.708 3.001 3.774 6.62l3.76 6.574h3.76c2.081 0 3.753-.02 3.742-.047-.005-.02-1.708-3.001-3.775-6.62l-3.76-6.574zm-4.76 1.73a789.828 789.861 0 0 0-3.63 6.319L0 15.868l1.89 3.298 1.885 3.297 3.62-6.335 3.618-6.33-1.88-3.287C8.1 4.704 7.255 3.22 7.25 3.214zm2.259 12.653-.203.348c-.114.198-.96 1.672-1.88 3.287a423.93 423.948 0 0 1-1.698 2.97c-.01.026 3.24.042 7.222.042h7.244l1.796-3.157c.992-1.734 1.85-3.23 1.906-3.323l.104-.167h-7.249z" class="svelte-xqw5vs"></path></svg>'),pt=m('<svg viewBox="0 0 24 24" role="img" aria-hidden="true" class="brand-logo gmail-logo svelte-xqw5vs"><path fill="#EA4335" d="M24 5.457v13.909c0 .904-.732 1.636-1.636 1.636h-3.819V11.73L12 16.64l-6.545-4.91v9.273H1.636A1.636 1.636 0 0 1 0 19.366V5.457c0-2.023 2.309-3.178 3.927-1.964L5.455 4.64 12 9.548l6.545-4.91 1.528-1.145C21.69 2.28 24 3.434 24 5.457z" class="svelte-xqw5vs"></path></svg>'),ut=m('<svg viewBox="0 0 24 24" role="img" aria-hidden="true" class="brand-logo nextcloud-logo svelte-xqw5vs"><path fill="#0082C9" d="M12.018 6.537c-2.5 0-4.6 1.712-5.241 4.015-.56-1.232-1.793-2.105-3.225-2.105A3.569 3.569 0 0 0 0 12a3.569 3.569 0 0 0 3.552 3.553c1.432 0 2.664-.874 3.224-2.106.641 2.304 2.742 4.016 5.242 4.016 2.487 0 4.576-1.693 5.231-3.977.569 1.21 1.783 2.067 3.198 2.067A3.568 3.568 0 0 0 24 12a3.569 3.569 0 0 0-3.553-3.553c-1.416 0-2.63.858-3.199 2.067-.654-2.284-2.743-3.978-5.23-3.977zm0 2.085c1.878 0 3.378 1.5 3.378 3.378 0 1.878-1.5 3.378-3.378 3.378A3.362 3.362 0 0 1 8.641 12c0-1.878 1.5-3.378 3.377-3.378zm-8.466 1.91c.822 0 1.467.645 1.467 1.468s-.644 1.467-1.467 1.468A1.452 1.452 0 0 1 2.085 12c0-.823.644-1.467 1.467-1.467zm16.895 0c.823 0 1.468.645 1.468 1.468s-.645 1.468-1.468 1.468A1.452 1.452 0 0 1 18.98 12c0-.823.644-1.467 1.467-1.467z" class="svelte-xqw5vs"></path></svg>'),gt=m('<svg viewBox="0 0 24 24" role="img" aria-hidden="true" class="brand-logo notion-logo svelte-xqw5vs"><path fill="#000000" d="M4.459 4.208c.746.606 1.026.56 2.428.466l13.215-.793c.28 0 .047-.28-.046-.326L17.86 1.968c-.42-.326-.981-.7-2.055-.607L3.01 2.295c-.466.046-.56.28-.374.466zm.793 3.08v13.904c0 .747.373 1.027 1.214.98l14.523-.84c.841-.046.935-.56.935-1.167V6.354c0-.606-.233-.933-.748-.887l-15.177.887c-.56.047-.747.327-.747.933zm14.337.745c.093.42 0 .84-.42.888l-.7.14v10.264c-.608.327-1.168.514-1.635.514-.748 0-.935-.234-1.495-.933l-4.577-7.186v6.952L12.21 19s0 .84-1.168.84l-3.222.186c-.093-.186 0-.653.327-.746l.84-.233V9.854L7.822 9.76c-.094-.42.14-1.026.793-1.073l3.456-.233 4.764 7.279v-6.44l-1.215-.139c-.093-.514.28-.887.747-.933zM1.936 1.035l13.31-.98c1.634-.14 2.055-.047 3.082.7l4.249 2.986c.7.513.934.653.934 1.213v16.378c0 1.026-.373 1.634-1.68 1.726l-15.458.934c-.98.047-1.448-.093-1.962-.747l-3.129-4.06c-.56-.747-.793-1.306-.793-1.96V2.667c0-.839.374-1.54 1.447-1.632z" class="svelte-xqw5vs"></path></svg>'),mt=m('<svg viewBox="0 0 24 24" role="img" aria-hidden="true" class="brand-logo x-logo svelte-xqw5vs"><path fill="currentColor" d="M14.234 10.162 22.977 0h-2.072l-7.591 8.824L7.251 0H.258l9.168 13.343L.258 24H2.33l8.016-9.318L16.749 24h6.993zm-2.837 3.299-.929-1.329L3.076 1.56h3.182l5.965 8.532.929 1.329 7.754 11.09h-3.182z" class="svelte-xqw5vs"></path></svg>'),ht=m('<svg viewBox="0 0 24 24" role="img" aria-hidden="true" class="brand-logo discord-logo svelte-xqw5vs"><path fill="#5865F2" d="M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z" class="svelte-xqw5vs"></path></svg>'),xt=m('<svg viewBox="0 0 24 24" role="img" aria-hidden="true" class="brand-logo telegram-logo svelte-xqw5vs"><path fill="#26A5E4" d="M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z" class="svelte-xqw5vs"></path></svg>'),wt=m('<svg viewBox="0 0 24 24" role="img" aria-hidden="true" class="brand-logo quickbooks-logo svelte-xqw5vs"><path fill="#2CA01C" d="M12 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0zm.642 4.1335c.9554 0 1.7296.776 1.7296 1.7332v9.0667h1.6c1.614 0 2.9275-1.3156 2.9275-2.933 0-1.6173-1.3136-2.9333-2.9276-2.9333h-.6654V7.3334h.6654c2.5722 0 4.6577 2.0897 4.6577 4.667 0 2.5774-2.0855 4.6666-4.6577 4.6666H12.642zM7.9837 7.333h3.3291v12.533c-.9555 0-1.73-.7759-1.73-1.7332V9.0662H7.9837c-1.6146 0-2.9277 1.316-2.9277 2.9334 0 1.6175 1.3131 2.9333 2.9277 2.9333h.6654v1.7332h-.6654c-2.5725 0-4.6577-2.0892-4.6577-4.6665 0-2.5771 2.0852-4.6666 4.6577-4.6666Z" class="svelte-xqw5vs"></path></svg>'),bt=m('<svg viewBox="0 0 2184 2184" role="img" aria-hidden="true" class="brand-logo polymarket-logo svelte-xqw5vs"><g transform="translate(0 2184) scale(0.1 -0.1)" class="svelte-xqw5vs"><path fill="currentColor" d="M10445 15709 c-2667 -764 -4860 -1391 -4872 -1394 l-23 -5 0 -3345 0 -3344 23 -7 c79 -25 9722 -2782 9724 -2780 2 1 2 2761 1 6133 l-3 6129 -4850 -1387z m3915 -1910 c0 -1939 -1 -2041 -17 -2037 -160 43 -7100 2032 -7105 2037 -7 6 7068 2037 7105 2040 16 1 17 -102 17 -2040z m-4263 -1806 c1976 -565 3591 -1028 3590 -1029 -4 -4 -7141 -2045 -7169 -2051 l-28 -5 0 2056 c0 1131 3 2056 8 2056 4 0 1623 -462 3599 -1027z m4263 -3864 l0 -2041 -27 5 c-16 3 -1617 460 -3560 1016 -1942 556 -3535 1011 -3539 1011 -4 0 -4 3 0 7 5 6 7095 2040 7119 2042 4 1 7 -918 7 -2040z" class="svelte-xqw5vs"></path></g></svg>'),ft=m('<svg viewBox="0 0 24 24" role="img" aria-hidden="true" class="brand-logo airtable-logo svelte-xqw5vs"><path fill="#18BFFF" d="M11.992 1.966c-.434 0-.87.086-1.28.257L1.779 5.917c-.503.208-.49.908.012 1.116l8.982 3.558a3.266 3.266 0 0 0 2.454 0l8.982-3.558c.503-.196.503-.908.012-1.116l-8.957-3.694a3.255 3.255 0 0 0-1.272-.257zM23.4 8.056a.589.589 0 0 0-.222.045l-10.012 3.877a.612.612 0 0 0-.38.564v8.896a.6.6 0 0 0 .821.552L23.62 18.1a.583.583 0 0 0 .38-.551V8.653a.6.6 0 0 0-.6-.596zM.676 8.095a.644.644 0 0 0-.48.19C.086 8.396 0 8.53 0 8.69v8.355c0 .442.515.737.908.54l6.27-3.006.307-.147 2.969-1.436c.466-.22.43-.908-.061-1.092L.883 8.138a.57.57 0 0 0-.207-.044z" class="svelte-xqw5vs"></path></svg>'),_t=w('<img src="/source-logos/highlevel-official-help-logo.png" alt="" aria-hidden="true" class="brand-logo ghl-logo svelte-xqw5vs"/>'),qt=m('<svg viewBox="0 0 24 24" role="img" aria-hidden="true" class="brand-logo clickup-logo svelte-xqw5vs"><path fill="#7B68EE" d="M2 18.439l3.69-2.828c1.961 2.56 4.044 3.739 6.363 3.739 2.307 0 4.33-1.166 6.203-3.704L22 18.405C19.298 22.065 15.941 24 12.053 24 8.178 24 4.788 22.078 2 18.439zM12.04 6.15l-6.568 5.66-3.036-3.52L12.055 0l9.543 8.296-3.05 3.509z" class="svelte-xqw5vs"></path></svg>'),kt=m('<svg viewBox="0 0 24 24" role="img" aria-hidden="true" class="brand-logo stripe-logo svelte-xqw5vs"><path fill="#635BFF" d="M13.976 9.15c-2.172-.806-3.356-1.426-3.356-2.409 0-.831.683-1.305 1.901-1.305 2.227 0 4.515.858 6.09 1.631l.89-5.494C18.252.975 15.697 0 12.165 0 9.667 0 7.589.654 6.104 1.872 4.56 3.147 3.757 4.992 3.757 7.218c0 4.039 2.467 5.76 6.476 7.219 2.585.92 3.445 1.574 3.445 2.583 0 .98-.84 1.545-2.354 1.545-1.875 0-4.965-.921-6.99-2.109l-.9 5.555C5.175 22.99 8.385 24 11.714 24c2.641 0 4.843-.624 6.328-1.813 1.664-1.305 2.525-3.236 2.525-5.732 0-4.128-2.524-5.851-6.594-7.305h.003z" class="svelte-xqw5vs"></path></svg>'),yt=m('<svg viewBox="0 0 24 24" role="img" aria-hidden="true" class="brand-logo imap-logo svelte-xqw5vs"><path fill="none" stroke="currentColor" stroke-width="1.6" stroke-linejoin="miter" d="M3 6h18v12H3zM3 7l9 6 9-6" class="svelte-xqw5vs"></path><path fill="currentColor" d="M6 15h2v1.5H6zm3.5 0h2v1.5h-2zm3.5 0h2v1.5h-2zm3.5 0h2v1.5h-2z" class="svelte-xqw5vs"></path></svg>'),Mt=m('<svg viewBox="0 0 24 24" role="img" aria-hidden="true" class="brand-logo proton-logo svelte-xqw5vs"><path fill="#6D4AFF" d="m15.24 8.998 3.656-3.073v15.81H2.482C1.11 21.735 0 20.609 0 19.223V6.944l7.58 6.38a2.186 2.186 0 0 0 2.871-.042l4.792-4.284h-.003zm-5.456 3.538 1.809-1.616a2.438 2.438 0 0 1-1.178-.533L.905 2.395A.552.552 0 0 0 0 2.826v2.811l8.226 6.923a1.186 1.186 0 0 0 1.558-.024zM23.871 2.463a.551.551 0 0 0-.776-.068l-3.199 2.688v16.653h1.623c1.371 0 2.481-1.127 2.481-2.513V2.824a.551.551 0 0 0-.129-.36z" class="svelte-xqw5vs"></path></svg>'),Ct=m('<svg viewBox="0 0 24 24" role="img" aria-hidden="true" class="brand-logo chrome-logo svelte-xqw5vs"><path fill="#4285F4" d="M12 0C8.21 0 4.831 1.757 2.632 4.501l3.953 6.848A5.454 5.454 0 0 1 12 6.545h10.691A12 12 0 0 0 12 0zM1.931 5.47A11.943 11.943 0 0 0 0 12c0 6.012 4.42 10.991 10.189 11.864l3.953-6.847a5.45 5.45 0 0 1-6.865-2.29zm13.342 2.166a5.446 5.446 0 0 1 1.45 7.09l.002.001h-.002l-5.344 9.257c.206.01.413.016.621.016 6.627 0 12-5.373 12-12 0-1.54-.29-3.011-.818-4.364zM12 16.364a4.364 4.364 0 1 1 0-8.728 4.364 4.364 0 0 1 0 8.728Z" class="svelte-xqw5vs"></path></svg>'),St=m('<svg viewBox="0 0 24 24" role="img" aria-hidden="true" class="brand-logo linear-logo svelte-xqw5vs"><path fill="#5E6AD2" d="M2.886 4.18A11.982 11.982 0 0 1 11.99 0C18.624 0 24 5.376 24 12.009c0 3.64-1.62 6.903-4.18 9.105L2.887 4.18ZM1.817 5.626l16.556 16.556c-.524.33-1.075.62-1.65.866L.951 7.277c.247-.575.537-1.126.866-1.65ZM.322 9.163l14.515 14.515c-.71.172-1.443.282-2.195.322L0 11.358a12 12 0 0 1 .322-2.195Zm-.17 4.862 9.823 9.824a12.02 12.02 0 0 1-9.824-9.824Z" class="svelte-xqw5vs"></path></svg>'),It=w('<button type="button"> </button>'),zt=w('<em class="svelte-xqw5vs">Planned</em>'),Lt=w('<p class="connected-loading svelte-xqw5vs">Checking source registry...</p>'),Bt=w('<code class="source-index-progress__path svelte-xqw5vs"> </code>'),At=w('<div class="source-index-progress svelte-xqw5vs"><div class="source-index-progress__head svelte-xqw5vs"><span class="svelte-xqw5vs"> </span> <strong class="svelte-xqw5vs"> </strong></div> <div class="source-index-progress__bar svelte-xqw5vs" role="progressbar" aria-valuemin="0" aria-valuemax="100"><span class="svelte-xqw5vs"></span></div> <!></div>'),Pt=w('<div class="exclude-summary svelte-xqw5vs"><span class="svelte-xqw5vs">Ignoring</span> <code class="svelte-xqw5vs"> </code></div>'),Dt=w('<span class="spin svelte-xqw5vs"><!></span>'),Ft=w('<article class="connected-row connected-row--inline svelte-xqw5vs"><div class="connected-main svelte-xqw5vs"><div class="connected-title-row svelte-xqw5vs"><strong class="svelte-xqw5vs"> </strong> <span class="status-badge status-badge--connected svelte-xqw5vs">Connected</span></div> <code class="svelte-xqw5vs"> </code></div> <ul class="svelte-xqw5vs"><li class="svelte-xqw5vs"><!> </li> <li class="svelte-xqw5vs"><!> </li> <li class="svelte-xqw5vs"><!> </li></ul> <!> <!> <button class="disconnect-button svelte-xqw5vs" type="button"><!> </button></article>'),Vt=w('<div class="connected-list connected-list--inline svelte-xqw5vs"></div>'),Rt=w('<button class="connect-button svelte-xqw5vs" type="button"><!> Connect</button>'),Nt=w('<p class="field-error svelte-xqw5vs">Vault folder is required.</p>'),Tt=w('<span class="spin svelte-xqw5vs"><!></span>'),Ht=w('<form class="connect-form svelte-xqw5vs"><label class="svelte-xqw5vs"><span class="svelte-xqw5vs">Display name</span> <input placeholder="Obsidian Vault" class="svelte-xqw5vs"/></label> <label class="svelte-xqw5vs"><span class="svelte-xqw5vs">Vault folder</span> <div class="path-row svelte-xqw5vs"><input placeholder="Choose your vault folder..." class="svelte-xqw5vs"/> <button type="button" class="svelte-xqw5vs"><!> </button></div></label> <!> <label class="svelte-xqw5vs"><span class="svelte-xqw5vs">Ignore globs</span> <textarea rows="5" placeholder="**/.*/** **/node_modules/**" class="svelte-xqw5vs"></textarea> <small class="field-hint svelte-xqw5vs">One glob per line or comma. Default ignores Obsidian internals, trash, Hermes metadata, hidden dot-folders, and hidden files.</small></label> <button class="connect-button svelte-xqw5vs" type="submit"><!> </button></form>'),Jt=w("<!> <!>",1),Gt=w('<p class="form-status form-status--info svelte-xqw5vs">Planned source. Not connectable yet.</p>'),Zt=w('<p class="form-status form-status--info svelte-xqw5vs"> </p>'),Et=w('<p class="form-status form-status--error svelte-xqw5vs"> </p>'),Ot=w('<article><button type="button"><span><!></span> <span class="connector-copy svelte-xqw5vs"><strong class="svelte-xqw5vs"> </strong> <small class="svelte-xqw5vs"> </small></span> <span><!></span></button> <div><p class="connector-description svelte-xqw5vs"> </p> <!> <!> <!></div></article>'),jt=w('<div class="sources-tab svelte-xqw5vs"><div class="sources-shell svelte-xqw5vs"><main class="sources-main svelte-xqw5vs"><header class="sources-masthead svelte-xqw5vs"><span class="eyebrow svelte-xqw5vs">Sources</span> <h1 class="svelte-xqw5vs">Connect knowledge bases</h1> <p class="svelte-xqw5vs">Bring external context into Signet while preserving the original source of truth.</p></header> <section class="source-toolbar svelte-xqw5vs" aria-label="Source filters"><label class="search-box svelte-xqw5vs" for="source-search"><span class="svelte-xqw5vs"><!></span> <input id="source-search" placeholder="Search sources" class="svelte-xqw5vs"/></label> <div class="filter-tabs svelte-xqw5vs" role="group" aria-label="Source type filters"></div> <div class="read-first svelte-xqw5vs"><span class="svelte-xqw5vs">Read-only first</span> <span class="switch svelte-xqw5vs" aria-hidden="true"><span class="svelte-xqw5vs"></span></span> <!></div></section> <section class="recall-map svelte-xqw5vs" aria-label="Source recall diagram"><div class="map-grid svelte-xqw5vs" aria-hidden="true"></div> <div class="map-left map-stack svelte-xqw5vs"><div class="map-node node-obsidian svelte-xqw5vs"><!></div> <div class="map-node node-github svelte-xqw5vs"><!></div> <div class="map-node node-folder svelte-xqw5vs"><!></div> <div class="map-node node-csv svelte-xqw5vs"><!></div> <div class="map-node node-web svelte-xqw5vs"><!></div></div> <svg class="map-connections svelte-xqw5vs" viewBox="0 0 620 240" preserveAspectRatio="none" aria-hidden="true"><defs class="svelte-xqw5vs"><filter id="wire-glow" x="-20%" y="-20%" width="140%" height="140%" class="svelte-xqw5vs"><feGaussianBlur stdDeviation="1.5" result="blur" class="svelte-xqw5vs"></feGaussianBlur><feMerge class="svelte-xqw5vs"><feMergeNode in="blur" class="svelte-xqw5vs"></feMergeNode><feMergeNode in="SourceGraphic" class="svelte-xqw5vs"></feMergeNode></feMerge></filter></defs><path d="M 76 38 C 160 38, 250 120, 310 120" class="map-wire svelte-xqw5vs"></path><path d="M 76 84 C 160 84, 250 120, 310 120" class="map-wire svelte-xqw5vs"></path><path d="M 76 130 C 160 130, 250 120, 310 120" class="map-wire svelte-xqw5vs"></path><path d="M 76 176 C 160 176, 250 120, 310 120" class="map-wire svelte-xqw5vs"></path><path d="M 544 38 C 460 38, 370 120, 310 120" class="map-wire svelte-xqw5vs"></path><path d="M 544 84 C 460 84, 370 120, 310 120" class="map-wire svelte-xqw5vs"></path><path d="M 544 130 C 460 130, 370 120, 310 120" class="map-wire svelte-xqw5vs"></path><path d="M 544 176 C 460 176, 370 120, 310 120" class="map-wire svelte-xqw5vs"></path><path d="M 544 222 C 460 222, 370 120, 310 120" class="map-wire svelte-xqw5vs"></path><path d="M 76 38 C 160 38, 250 120, 310 120" class="map-packet svelte-xqw5vs" style="animation-delay: 0s;"></path><path d="M 76 84 C 160 84, 250 120, 310 120" class="map-packet svelte-xqw5vs" style="animation-delay: -0.6s;"></path><path d="M 76 130 C 160 130, 250 120, 310 120" class="map-packet svelte-xqw5vs" style="animation-delay: -1.2s;"></path><path d="M 76 176 C 160 176, 250 120, 310 120" class="map-packet svelte-xqw5vs" style="animation-delay: -1.8s;"></path><path d="M 544 38 C 460 38, 370 120, 310 120" class="map-packet svelte-xqw5vs" style="animation-delay: -0.3s;"></path><path d="M 544 84 C 460 84, 370 120, 310 120" class="map-packet svelte-xqw5vs" style="animation-delay: -0.9s;"></path><path d="M 544 130 C 460 130, 370 120, 310 120" class="map-packet svelte-xqw5vs" style="animation-delay: -1.5s;"></path><path d="M 544 176 C 460 176, 370 120, 310 120" class="map-packet svelte-xqw5vs" style="animation-delay: -2.1s;"></path><path d="M 544 222 C 460 222, 370 120, 310 120" class="map-packet svelte-xqw5vs" style="animation-delay: -2.7s;"></path></svg> <div class="map-center svelte-xqw5vs"><img src="/logo-dark.png" alt="Signet" class="map-logo svelte-xqw5vs"/> <span class="map-tagline svelte-xqw5vs">Bring context to your agent</span></div> <div class="map-right map-stack svelte-xqw5vs"><div class="map-node node-drive svelte-xqw5vs"><!></div> <div class="map-node node-notion svelte-xqw5vs"><!></div> <div class="map-node node-nextcloud svelte-xqw5vs"><!></div> <div class="map-node node-postgres svelte-xqw5vs"><!></div> <div class="map-node node-supabase svelte-xqw5vs"><!></div> <div class="map-node node-x-bookmarks svelte-xqw5vs"><!></div></div> <div class="map-counts svelte-xqw5vs"><span class="svelte-xqw5vs"> </span><span class="svelte-xqw5vs"> </span></div></section> <section id="featured-sources" class="featured-panel svelte-xqw5vs" aria-label="Featured sources"><header class="section-label svelte-xqw5vs">Featured sources</header> <div></div> <footer class="svelte-xqw5vs"> </footer></section></main></div></div>');function al(E,c){ga(c,!0);let F=_(Hs([])),V=_(!0),z=_(!1),R=_(null),S=_(!1),N=_(""),K=_("all"),Y=_("obsidian"),O=_(!1),T=_(""),te=_("Obsidian Vault"),le=_(`**/.obsidian/**
|
|
2
2
|
**/.trash/**
|
|
3
3
|
**/.hermes/**
|
|
4
4
|
**/.*/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as n,s as d,c,f as l,a as i,n as m,b as u,d as f,r as h}from"./C0do9GyP.js";import{I as $}from"./
|
|
1
|
+
import{p as n,s as d,c,f as l,a as i,n as m,b as u,d as f,r as h}from"./C0do9GyP.js";import{I as $}from"./BGtr_Y7n.js";function P(e,s){n(s,!0);let o=h(s,["$$slots","$$events","$$legacy"]);const t=[["path",{d:"M5 12h14"}],["path",{d:"M12 5v14"}]];$(e,d({name:"plus"},()=>o,{get iconNode(){return t},children:(r,v)=>{var a=c(),p=l(a);i(p,()=>s.children??m),u(r,a)},$$slots:{default:!0}})),f()}export{P};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{p as et,s as Bt,c as ge,f as b,a as Ft,n as Wt,b as a,d as tt,r as Ut,g as kt,j as n,l as s,t as r,k as B,i as e,y as w,B as Rt,D as wt,z as x,M as We,u as H,m as o,N as xt,A as Oe,O as Et,Q as Nt,h as p,w as h,x as N,v as d,o as ue,U as qt,G as Vt,a5 as yt,J as Pt,e as Gt,L as Jt,q as Qt}from"./C0do9GyP.js";import{I as Xt,aa as It,ab as $t,ac as Lt,ad as Mt,B as ot,ae as Ot,l as Yt,X as Zt,ah as ea,aE as zt,aF as ta,aG as Ct,aH as St,aI as aa,aJ as xe,aK as sa,aL as jt,aM as Tt,aN as ra}from"./
|
|
1
|
+
import{p as et,s as Bt,c as ge,f as b,a as Ft,n as Wt,b as a,d as tt,r as Ut,g as kt,j as n,l as s,t as r,k as B,i as e,y as w,B as Rt,D as wt,z as x,M as We,u as H,m as o,N as xt,A as Oe,O as Et,Q as Nt,h as p,w as h,x as N,v as d,o as ue,U as qt,G as Vt,a5 as yt,J as Pt,e as Gt,L as Jt,q as Qt}from"./C0do9GyP.js";import{I as Xt,aa as It,ab as $t,ac as Lt,ad as Mt,B as ot,ae as Ot,l as Yt,X as Zt,ah as ea,aE as zt,aF as ta,aG as Ct,aH as St,aI as aa,aJ as xe,aK as sa,aL as jt,aM as Tt,aN as ra}from"./BGtr_Y7n.js";import{S as na}from"./DTI_BX3h.js";import{B as _t}from"./D6-Lt-K3.js";import{S as la,a as oa}from"./CkI8WCio.js";import{a as ia,C as da}from"./DpMLApH8.js";import{P as va}from"./CriBz9rd.js";import{T as ca}from"./CBE4uJWc.js";import{I as bt}from"./CzGsdVFS.js";import{L as Ze,T as ua}from"./DbxhLops.js";import{S as ct,a as ut,b as gt,c as Me}from"./DSOd40Qg.js";import{P as ga}from"./C-cLrz5T.js";function At(be,t){et(t,!0);let I=Ut(t,["$$slots","$$events","$$legacy"]);const y=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z"}]];Xt(be,Bt({name:"play"},()=>I,{get iconNode(){return y},children:(J,T)=>{var P=ge(),E=b(P);Ft(E,()=>t.children??Wt),a(J,P)},$$slots:{default:!0}})),tt()}var _a=o("<span> </span>"),xa=o('<span class="task-status-running svelte-1lta2hw">running</span>'),fa=o("<span> </span>"),ma=o('<span class="task-status-failed svelte-1lta2hw"> </span>'),pa=o('<div tabindex="0" role="button"><div class="task-top svelte-1lta2hw"><span class="task-name svelte-1lta2hw"> </span> <span class="task-harness svelte-1lta2hw"> </span></div> <div class="task-meta svelte-1lta2hw"><span> </span> <!></div> <div class="task-actions svelte-1lta2hw"><div><!></div> <button class="trigger-btn svelte-1lta2hw"><!></button></div></div>');function Dt(be,t){et(t,!0);let I=kt(t,"isSelected",3,!1);function y(i){if(!i)return"--";const c=new Date(i).getTime()-Date.now(),O=Math.abs(c);if(O<6e4)return c>0?"< 1m":"just now";if(O<36e5){const pe=Math.round(O/6e4);return c>0?`${pe}m`:`${pe}m ago`}if(O<864e5){const pe=Math.round(O/36e5);return c>0?`${pe}h`:`${pe}h ago`}const me=Math.round(O/864e5);return c>0?`${me}d`:`${me}d ago`}const J=H(()=>t.task.harness==="claude-code"?"claude":t.task.harness==="codex"?"codex":"opencode"),T=H(()=>y(t.task.next_run_at)),P=H(()=>y(t.task.last_run_at));var E=pa();let D;var ne=n(E),$=n(ne),ae=n($,!0);s($);var oe=r($,2),ie=n(oe,!0);s(oe),s(ne);var L=r(ne,2),A=n(L),u=n(A,!0);s(A);var M=r(A,2);{var se=i=>{var c=_a(),O=n(c);s(c),w(()=>x(O,`next: ${e(T)??""}`)),a(i,c)},fe=i=>{var c=xa();a(i,c)},ke=i=>{var c=fa(),O=n(c);s(c),w(()=>x(O,`exit 0 · ${e(P)??""}`)),a(i,c)},Q=i=>{var c=ma(),O=n(c);s(c),w(()=>x(O,`exit ${t.task.last_run_exit_code??"?"??""} · ${e(P)??""}`)),a(i,c)};B(M,i=>{t.columnKey==="scheduled"?i(se):t.columnKey==="running"?i(fe,1):t.columnKey==="completed"?i(ke,2):t.columnKey==="failed"&&i(Q,3)})}s(L);var k=r(L,2),v=n(k),R=n(v);{let i=H(()=>!!t.task.enabled);na(R,{get checked(){return e(i)},onCheckedChange:c=>t.ontoggle(c===!0),class:"scale-75 origin-left"})}s(v);var F=r(v,2),f=n(F);At(f,{class:"size-3"}),s(F),s(k),s(E),w(()=>{D=Rt(E,1,"task-card svelte-1lta2hw",null,D,{"task-card--selected":I(),"task-card--disabled":!t.task.enabled}),wt(E,"data-task-id",t.task.id),wt(E,"data-column",t.columnKey),x(ae,t.task.name),x(ie,e(J)),x(u,t.task.cron_expression)}),We("click",E,function(...i){t.onclick?.apply(this,i)}),We("keydown",E,i=>{(i.key==="Enter"||i.key===" ")&&(i.preventDefault(),t.onclick())}),We("click",v,i=>i.stopPropagation()),We("click",F,i=>{i.stopPropagation(),t.ontrigger()}),a(be,E),tt()}xt(["click","keydown"]);var ha=o('<div class="empty-state svelte-10pk3oi">LOADING</div>'),ba=o('<div class="empty-state svelte-10pk3oi"><span>NO SCHEDULED TASKS</span> <span class="empty-hint svelte-10pk3oi">PRESS N TO CREATE ONE</span></div>'),ka=o('<div class="column-empty svelte-10pk3oi">NO TASKS</div>'),wa=o('<div class="column svelte-10pk3oi"><div class="column-header svelte-10pk3oi"><span class="column-pip svelte-10pk3oi"></span> <span class="column-label svelte-10pk3oi"> </span> <span class="column-count svelte-10pk3oi"> </span></div> <div class="column-body svelte-10pk3oi"><!> <!></div></div>'),ya=o('<div class="disabled-section svelte-10pk3oi"><div class="column svelte-10pk3oi"><div class="column-header svelte-10pk3oi"><span class="column-pip svelte-10pk3oi" style="background: var(--sig-text-muted)"></span> <span class="column-label svelte-10pk3oi">Disabled</span> <span class="column-count svelte-10pk3oi"> </span></div> <div class="disabled-cards svelte-10pk3oi"></div></div></div>'),Pa=o('<div class="board-grid svelte-10pk3oi"></div> <!>',1);function Ca(be,t){et(t,!0);let I=kt(t,"selectedColumn",3,0),y=kt(t,"selectedTaskInColumn",3,0);const J=H(()=>t.tasks.filter(u=>u.enabled&&u.last_run_status!=="running")),T=H(()=>t.tasks.filter(u=>u.last_run_status==="running")),P=H(()=>t.tasks.filter(u=>u.last_run_status==="completed"&&!e(T).some(M=>M.id===u.id))),E=H(()=>t.tasks.filter(u=>u.last_run_status==="failed"&&!e(T).some(M=>M.id===u.id))),D=H(()=>t.tasks.filter(u=>!u.enabled)),ne=[{key:"scheduled",label:"Scheduled",color:"var(--sig-highlight)"},{key:"running",label:"Running",color:"var(--sig-warning)"},{key:"completed",label:"Completed",color:"var(--sig-success)"},{key:"failed",label:"Failed",color:"var(--sig-danger)"}];function $(u){switch(u){case"scheduled":return e(J);case"running":return e(T);case"completed":return e(P);case"failed":return e(E);default:return[]}}var ae=ge(),oe=b(ae);{var ie=u=>{var M=ha();a(u,M)},L=u=>{var M=ba();a(u,M)},A=u=>{var M=Pa(),se=b(M);Oe(se,23,()=>ne,Q=>Q.key,(Q,k,v)=>{const R=H(()=>$(e(k).key));var F=wa(),f=n(F),i=n(f),c=r(i,2),O=n(c,!0);s(c);var me=r(c,2),pe=n(me,!0);s(me),s(f);var Ie=r(f,2),$e=n(Ie);Oe($e,19,()=>e(R),_e=>_e.id,(_e,we,K)=>{{let Y=H(()=>e(v)===I()&&e(K)===y());Dt(_e,{get task(){return e(we)},get columnKey(){return e(k).key},get isSelected(){return e(Y)},onclick:()=>t.onopendetail(e(we).id,e(v),e(K)),ontrigger:()=>t.ontrigger(e(we).id),ontoggle:he=>t.ontoggle(e(we).id,he)})}});var ze=r($e,2);{var Ae=_e=>{var we=ka();a(_e,we)};B(ze,_e=>{e(R).length===0&&_e(Ae)})}s(Ie),s(F),w(()=>{wt(F,"data-column-idx",e(v)),Et(i,`background: ${e(k).color??""}`),x(O,e(k).label),x(pe,e(R).length)}),a(Q,F)}),s(se);var fe=r(se,2);{var ke=Q=>{var k=ya(),v=n(k),R=n(v),F=r(n(R),4),f=n(F,!0);s(F),s(R);var i=r(R,2);Oe(i,21,()=>e(D),c=>c.id,(c,O)=>{Dt(c,{get task(){return e(O)},columnKey:"disabled",isSelected:!1,onclick:()=>t.onopendetail(e(O).id,-1,-1),ontrigger:()=>t.ontrigger(e(O).id),ontoggle:me=>t.ontoggle(e(O).id,me)})}),s(i),s(v),s(k),w(()=>x(f,e(D).length)),a(Q,k)};B(fe,Q=>{e(D).length>0&&Q(ke)})}a(u,M)};B(oe,u=>{t.loading&&t.tasks.length===0?u(ie):t.tasks.length===0?u(L,1):u(A,-1)})}a(be,ae),tt()}var Sa=o('<span class="text-[10px] font-mono text-[var(--sig-text-muted)]"> </span>'),ja=o('<span class="text-[10px] text-[var(--sig-text-muted)] mt-2 block">No output captured</span>'),Ta=o('<div class="text-[var(--sig-error,#ef4444)] mb-1"> </div>'),Da=o('<div class="whitespace-pre-wrap break-words min-h-[1em] text-[var(--sig-warning,#e8a832)]"></div>'),Ra=o('<div class="whitespace-pre-wrap break-words min-h-[1em]"></div>'),Ea=o(`<div class="mt-2 bg-[var(--sig-bg)] border border-[var(--sig-border)]
|
|
2
2
|
rounded max-h-[280px] overflow-y-auto
|
|
3
3
|
font-mono text-[10px] leading-[1.55]
|
|
4
4
|
text-[var(--sig-text)] p-2.5" role="log"><!> <!> <!></div>`),Na=o('<span class="text-[10px] text-[var(--sig-accent)] mt-0.5 block">Click to expand output</span>'),Ia=o('<div class="flex items-center justify-between gap-2"><div class="flex items-center gap-2"><span class="inline-block w-1.5 h-1.5"></span> <!> <!></div> <span class="text-[10px] font-mono text-[var(--sig-text-muted)]"> </span></div> <div class="text-[10px] text-[var(--sig-text-muted)] font-mono"> </div> <!>',1),$a=o('<button class="w-full text-left cursor-pointer bg-transparent border-none p-0"><!></button>');function La(be,t){et(t,!0);let I=ue(!1),y=ue(void 0);function J(L){return L?new Date(L).toLocaleString():"—"}function T(L,A){if(!A)return"running...";const u=new Date(A).getTime()-new Date(L).getTime();if(u<1e3)return`${u}ms`;if(u<6e4)return`${(u/1e3).toFixed(1)}s`;const M=Math.floor(u/6e4),se=Math.round(u%6e4/1e3);return`${M}m ${se}s`}const P={pending:"var(--sig-text-muted)",running:"var(--sig-warning, #f59e0b)",completed:"var(--sig-success)",failed:"var(--sig-error, #ef4444)"};function E(L){return L.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}const D={31:"var(--sig-error, #ef4444)",32:"var(--sig-success)",33:"var(--sig-warning, #e8a832)",90:"var(--sig-text-muted)",36:"var(--sig-accent)",34:"var(--sig-highlight)",35:"var(--sig-accent)"};function ne(L){let A=E(L);return A=A.replace(/\x1b\[(\d+(?:;\d+)*)m([\s\S]*?)\x1b\[0m/g,(u,M,se)=>{const fe=M.split(";"),ke=fe.includes("1"),Q=fe.map(v=>D[v]).find(Boolean);let k=se;return Q&&(k=`<span style="color:${Q}">${k}</span>`),ke&&(k=`<strong>${k}</strong>`),k}),A.replace(/\x1b\[\d+(?:;\d+)*m/g,"")}function $(L){return L?L.split(`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as n,s as d,c as h,f as c,a as i,n as l,b as m,d as f,r as v}from"./C0do9GyP.js";import{I as u}from"./
|
|
1
|
+
import{p as n,s as d,c as h,f as c,a as i,n as l,b as m,d as f,r as v}from"./C0do9GyP.js";import{I as u}from"./BGtr_Y7n.js";function g(t,a){n(a,!0);let e=v(a,["$$slots","$$events","$$legacy"]);const o=[["path",{d:"M10 11v6"}],["path",{d:"M14 11v6"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6"}],["path",{d:"M3 6h18"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"}]];u(t,d({name:"trash-2"},()=>e,{get iconNode(){return o},children:(r,$)=>{var s=h(),p=c(s);i(p,()=>a.children??l),m(r,s)},$$slots:{default:!0}})),f()}export{g as T};
|