PageSourceSearch

https://docs.vicinae.com/_next/static/chunks/app/layout-691cbc67fd3e668e.js

js vicinae.com collected 2026-10-03 21:26:53 UTC 35,764 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7177],{855:(e,t,s)=>{"use strict";s.d(t,{Layout:()=>ek});var n=s(5155),i=s(7436),r=s(8500),a=s.n(r),l=s(3321),o=s(9722),d=s(6721),c=s(642),h=s(2115),u=s(557),x=s(4283),m=s(9117);let f="vicinae-docs-mode",p=(0,m.vt)()(e=>({mode:"user",setMode:t=>{localStorage.setItem(f,t),e({mode:t})}}));function g({className:e}){let{mode:t}=function(){let{mode:e,setMode:t}=p(),s=(0,l.usePathname)();return(0,h.useEffect)(()=>{let e=localStorage.getItem(f);("user"===e||"developer"===e)&&t(e)},[t]),(0,h.useEffect)(()=>{s.startsWith("/extensions")?t("developer"):t("user")},[s,t]),{mode:e,setMode:t}}(),s="developer"===t;return(0,n.jsxs)("div",{className:`flex gap-0.5 rounded-lg bg-white/[0.03] p-0.5 ring-1 ring-white/[0.04] ${e??""}`,role:"tablist","aria-label":"Documentation mode",children:[(0,n.jsxs)(a(),{href:"/",role:"tab","aria-selected":!s,className:`flex flex-1 items-center justify-center gap-1.5 rounded-md px-2.5 py-1.5 text-xs font-medium transition-colors duration-200 ${!s?"bg-white/[0.07] text-sand-400 shadow-sm":"text-stone-600 hover:text-stone-400"}`,children:[(0,n.jsx)(u.A,{className:"h-3.5 w-3.5"}),(0,n.jsx)("span",{children:"Manual"})]}),(0,n.jsxs)(a(),{href:"/extensions/introduction",role:"tab","aria-selected":s,className:`flex flex-1 items-center justify-center gap-1.5 rounded-md px-2.5 py-1.5 text-xs font-medium transition-colors duration-200 ${s?"bg-white/[0.07] text-sand-400 shadow-sm":"text-stone-600 hover:text-stone-400"}`,children:[(0,n.jsx)(x.A,{className:"h-3.5 w-3.5"}),(0,n.jsx)("span",{children:"Extensions"})]})]})}var j=s(9296),v=s(2026),b=s(9005),k=s(6304),N=s(2765),w=s(5809),y=s(5772);function P(e){return(0,n.jsx)(y.default,{src:"/vicinae-dark.svg",alt:"Vicinae",width:40,height:40,className:"h-[40px]"})}var C=s(7322),L=s(7058),A=s(5377),S=s(2942),M=s.n(S);function E(e){let t=(0,h.useId)();return(0,n.jsxs)("svg",{viewBox:"0 0 20 20",fill:"none","aria-hidden":"true",...e,children:[(0,n.jsx)("circle",{cx:"10",cy:"10",r:"5.5",strokeLinejoin:"round"}),(0,n.jsx)("path",{stroke:`url(#${t})`,strokeLinecap:"round",strokeLinejoin:"round",d:"M15.5 10a5.5 5.5 0 1 0-5.5 5.5"}),(0,n.jsx)("defs",{children:(0,n.jsxs)("linearGradient",{id:t,x1:"13",x2:"9.5",y1:"9",y2:"15",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"currentColor"}),(0,n.jsx)("stop",{offset:"1",stopColor:"currentColor",stopOpacity:"0"})]})})]})}function I({text:e,query:t}){return(0,n.jsx)(M(),{highlightClassName:"underline bg-transparent text-sand-400",searchWords:[t],autoEscape:!0,textToHighlight:e})}function O({result:e,resultIndex:t,autocomplete:s,collection:i,query:r}){let a=(0,h.useId)(),l=ea(),d=[l.find(t=>"links"in t?t.links.find(t=>t.href===e.url.split("#")[0]):t.href===e.url.split("#")[0])?.title,e.pageTitle].filter(e=>"string"==typeof e);return(0,n.jsxs)("li",{className:(0,o.A)("group block cursor-default px-4 py-3 aria-selected:bg-ink-800/70",t>0&&"border-t border-sand-700/15"),"aria-labelledby":`${a}-hierarchy ${a}-title`,...s.getItemProps({item:e,source:i.source}),children:[(0,n.jsx)("div",{id:`${a}-title`,"aria-hidden":"true",className:"text-sm font-medium text-stone-200 group-aria-selected:text-sand-400",children:(0,n.jsx)(I,{text:e.title,query:r})}),d.length>0&&(0,n.jsx)("div",{id:`${a}-hierarchy`,"aria-hidden":"true",className:"mt-1 truncate text-2xs whitespace-nowrap text-stone-600",children:d.map((e,t,s)=>(0,n.jsxs)(h.Fragment,{children:[(0,n.jsx)(I,{text:e,query:r}),(0,n.jsx)("span",{className:t===s.length-1?"sr-only":"mx-2 text-stone-700",children:"/"})]},t))})]})}function q({autocomplete:e,query:t,collection:s}){return 0===s.items.length?(0,n.jsxs)("div",{className:"p-6 text-center",children:[(0,n.jsx)(L.A,{className:"mx-auto h-5 w-5 text-stone-600"}),(0,n.jsxs)("p",{className:"mt-2 text-xs text-stone-500",children:["Nothing found for"," ",(0,n.jsxs)("strong",{className:"font-semibold break-words text-stone-200",children:["‘",t,"’"]}),". Please try again."]})]}):(0,n.jsx)("ul",{...e.getListProps(),children:s.items.map((i,r)=>(0,n.jsx)(O,{result:i,resultIndex:r,autocomplete:e,collection:s,query:t},i.url))})}let z=(0,h.forwardRef)(function({autocomplete:e,autocompleteState:t,onClose:s},i){let r=e.getInputProps({inputElement:null});return(0,n.jsxs)("div",{className:"group relative flex h-12",children:[(0,n.jsx)(A.A,{className:"pointer-events-none absolute top-0 left-3 h-full w-5 text-stone-500"}),(0,n.jsx)("input",{ref:i,"data-autofocus":!0,className:(0,o.A)("flex-auto appearance-none bg-transparent pl-10 text-stone-200 outline-hidden placeholder:text-stone-500 focus:w-full focus:flex-none sm:text-sm [&::-webkit-search-cancel-button]:hidden [&::-webkit-search-decoration]:hidden [&::-webkit-search-results-button]:hidden [&::-webkit-search-results-decoration]:hidden","stalled"===t.status?"pr-11":"pr-4"),...r,onKeyDown:e=>{"Escape"!==e.key||t.isOpen||""!==t.query?r.onKeyDown(e):(document.activeElement instanceof HTMLElement&&document.activeElement.blur(),s())}}),"stalled"===t.status&&(0,n.jsx)("div",{className:"absolute inset-y-0 right-3 flex items-center",children:(0,n.jsx)(E,{className:"h-5 w-5 animate-spin stroke-stone-700 text-sand-400"})})]})});function R({open:e,setOpen:t,className:i,onNavigate:r=()=>{}}){let a=(0,h.useRef)(null),d=(0,h.useRef)(null),c=(0,h.useRef)(null),{autocomplete:u,autocompleteState:x}=function({onNavigate:e}){let t=(0,h.useId)(),n=(0,l.useRouter)(),i=(0,h.useRef)(p.getState().mode);(0,h.useEffect)(()=>p.subscribe(e=>{i.current=e.mode}),[]);let[r,a]=(0,h.useState)({});function o({itemUrl:t}){t&&n.push(t),e()}let[d]=(0,h.useState)(()=>(0,C.r)({id:t,placeholder:"Find something...",defaultActiveItemId:0,onStateChange({state:e}){a(e)},shouldPanelOpen:({state:e})=>""!==e.query,navigator:{navigate:o},getSources:({query:e})=>s.e(5649).then(s.bind(s,5649)).then(({search:t})=>[{sourceId:"documentation",getItems:()=>t(e,{limit:20}).filter(e=>{let t=e.url.startsWith("/extensions");return"developer"===i.current?t:!t}).slice(0,5),getItemUrl:({item:e})=>e.url,onSelect:o}])}));return{autocomplete:d,autocompleteState:r}}({onNavigate(){r(),t(!1)}}),m=(0,l.usePathname)(),f=(0,l.useSearchParams)();return(0,h.useEffect)(()=>{t(!1)},[m,f,t]),(0,h.useEffect)(()=>
1{if(!e)return window.addEventListener("keydown",s),()=>{window.removeEventListener("keydown",s)};function s(e){"k"===e.key&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),t(!0))}},[e,t]),(0,n.jsxs)(j.lG,{open:e,onClose:()=>{t(!1),u.setQuery("")},className:(0,o.A)("fixed inset-0 z-50",i),children:[(0,n.jsx)(j.Xi,{transition:!0,className:"fixed inset-0 bg-black/60 backdrop-blur-sm data-closed:opacity-0 data-enter:duration-300 data-enter:ease-out data-leave:duration-200 data-leave:ease-in"}),(0,n.jsx)("div",{className:"fixed inset-0 overflow-y-auto px-4 py-4 sm:px-6 sm:py-20 md:py-32 lg:px-8 lg:py-[15vh]",children:(0,n.jsx)(j.Lj,{transition:!0,className:"mx-auto transform-gpu overflow-hidden rounded-xl bg-ink-900 shadow-xl ring-1 ring-sand-700/20 data-closed:scale-95 data-closed:opacity-0 data-enter:duration-300 data-enter:ease-out data-leave:duration-200 data-leave:ease-in sm:max-w-xl",children:(0,n.jsx)("div",{...u.getRootProps({}),children:(0,n.jsxs)("form",{ref:a,...u.getFormProps({inputElement:c.current}),children:[(0,n.jsx)(z,{ref:c,autocomplete:u,autocompleteState:x,onClose:()=>t(!1)}),(0,n.jsx)("div",{ref:d,className:"border-t border-sand-700/20 bg-ink-800/40 empty:hidden",...u.getPanelProps({}),children:x.isOpen&&(0,n.jsx)(q,{autocomplete:u,query:x.query,c
1ollection:x.collections[0]})})]})})})})]})}function $(){let e=(0,h.useRef)(null),[t,s]=(0,h.useState)(!1);return{buttonProps:{ref:e,onClick(){s(!0)}},dialogProps:{open:t,setOpen:(0,h.useCallback)(t=>{let{width:n=0,height:i=0}=e.current?.getBoundingClientRect()??{};t&&(0===n||0===i)||s(t)},[s])}}}function F(){let[e,t]=(0,h.useState)(),{buttonProps:s,dialogProps:i}=$();return(0,h.useEffect)(()=>{t(/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?"⌘":"Ctrl ")},[]),(0,n.jsxs)("div",{className:"hidden lg:block",children:[(0,n.jsxs)("button",{type:"button",className:"hidden h-8 w-full items-center gap-2 rounded-full bg-white/[0.03] pr-3 pl-2 text-sm text-stone-500 ring-1 ring-white/[0.06] ring-inset transition-colors duration-200 hover:bg-white/[0.05] hover:ring-white/[0.1] lg:flex",...s,children:[(0,n.jsx)(A.A,{className:"h-5 w-5"}),"Find something...",(0,n.jsxs)("kbd",{className:"ml-auto text-2xs text-stone-600",children:[(0,n.jsx)("kbd",{className:"font-sans",children:e}),(0,n.jsx)("kbd",{className:"font-sans",children:"K"})]})]}),(0,n.jsx)(h.Suspense,{fallback:null,children:(0,n.jsx)(R,{className:"hidden lg:block",...i})})]})}function B(){let{close:e}=U(),{buttonProps:t,dialogProps:s}=$();return(0,n.jsxs)("div",{className:"contents lg:hidden",children:[(0,n.jsxs)("button",{type:"button",className:"relative flex size-6 items-center justify-center rounded-md transition-colors duration-200 hover:bg-ink-700 lg:hidden","aria-label":"Find something...",...t,children:[(0,n.jsx)("span",{className:"absolute size-12 pointer-fine:hidden"}),(0,n.jsx)(A.A,{className:"h-5 w-5 text-stone-300"})]}),(0,n.jsx)(h.Suspense,{fallback:null,children:(0,n.jsx)(R,{className:"lg:hidden",onNavigate:e,...s})})]})}var D=s(675);function _(e){return(0,n.jsx)("svg",{viewBox:"0 0 20 20","aria-hidden":"true",...e,children:(0,n.jsx)("path",{d:"M16.238 4.515a14.842 14.842 0 0 0-3.664-1.136.055.055 0 0 0-.059.027 10.35 10.35 0 0 0-.456.938 13.702 13.702 0 0 0-4.115 0 9.479 9.479 0 0 0-.464-.938.058.058 0 0 0-.058-.027c-1.266.218-2.497.6-3.664 1.136a.052.052 0 0 0-.024.02C1.4 8.023.76 11.424 1.074 14.782a.062.062 0 0 0 .024.042 14.923 14.923 0 0 0 4.494 2.272.058.058 0 0 0 .064-.02c.346-.473.654-.972.92-1.496a.057.057 0 0 0-.032-.08 9.83 9.83 0 0 1-1.404-.669.058.058 0 0 1-.029-.046.058.058 0 0 1 .023-.05c.094-.07.189-.144.279-.218a.056.056 0 0 1 .058-.008c2.946 1.345 6.135 1.345 9.046 0a.056.056 0 0 1 .059.007c.09.074.184.149.28.22a.058.058 0 0 1 .023.049.059.059 0 0 1-.028.046 9.224 9.224 0 0 1-1.405.669.058.058 0 0 0-.033.033.056.056 0 0 0 .002.047c.27.523.58 1.022.92 1.495a.056.056 0 0 0 .062.021 14.878 14.878 0 0 0 4.502-2.272.055.055 0 0 0 .016-.018.056.056 0 0 0 .008-.023c.375-3.883-.63-7.256-2.662-10.246a.046.046 0 0 0-.023-.021Zm-9.223 8.221c-.887 0-1.618-.814-1.618-1.814s.717-1.814 1.618-1.814c.908 0 1.632.821 1.618 1.814 0 1-.717 1.814-1.618 1.814Zm5.981 0c-.887 0-1.618-.814-1.618-1.814s.717-1.814 1.618-1.814c.908 0 1.632.821 1.618 1.814 0 1-.71 1.814-1.618 1.814Z"})})}function G(e){return(0,n.jsx)("svg",{viewBox:"0 0 20 20","aria-hidden":"true",...e,children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 1.667c-4.605 0-8.334 3.823-8.334 8.544 0 3.78 2.385 6.974 5.698 8.106.417.075.573-.182.573-.406 0-.203-.011-.875-.011-1.592-2.093.397-2.635-.522-2.802-1.002-.094-.246-.5-1.005-.854-1.207-.291-.16-.708-.556-.01-.567.656-.01 1.124.62 1.281.876.75 1.292 1.948.93 2.427.705.073-.555.291-.93.531-1.143-1.854-.213-3.791-.95-3.791-4.218 0-.929.322-1.698.854-2.296-.083-.214-.375-1.09.083-2.265 0 0 .698-.224 2.292.876a7.576 7.576 0 0 1 2.083-.288c.709 0 1.417.096 2.084.288 1.593-1.11 2.291-.875 2.291-.875.459 1.174.167 2.05.084 2.263.53.599.854 1.357.854 2.297 0 3.278-1.948 4.005-3.802 4.219.302.266.563.78.563 1.58 0 1.143-.011 2.061-.011 2.35 0 .224.156.491.573.405a8.365 8.365 0 0 0 4.11-3.116 8.707 8.707 0 0 0 1.567-4.99c0-4.721-3.73-8.545-8.334-8.545Z"})})}function Z(){return(0,n.jsxs)("a",{href:"https://github.com/vicinaehq/vicinae",className:"group flex size-6 items-center justify-center rounded-md transition-colors duration-200 hover:bg-white/[0.06]","aria-label":"GitHub",children:[(0,n.jsx)("span",{className:"absolute size-12 pointer-fine:hidden"}),(0,n.jsx)(G,{className:"h-5 w-5 fill-stone-600 transition-colors duration-200 group-hover:fill-stone-300"})]})}function H(){return(0,n.jsxs)("a",{href:"https://discord.com/invite/rP4ecD42p7",className:"group flex size-6 items-center justify-center rounded-md transition-colors duration-200 hover:bg-white/[0.06]","aria-label":"Discord",children:[(0,n.jsx)("span",{className:"absolute size-12 pointer-fine:hidden"}),(0,n.jsx)(_,{className:"h-5 w-5 fill-stone-600 transition-colors duration-200 group-hover:fill-stone-300"})]})}let T=(0,h.forwardRef)(function({className:e,...t},s){let{isOpen:r}=U(),l=K(),{scrollY:d}=(0,N.L)(),c=(0,w.G)(d,[0,72],["0%","80%"]),h=(0,w.G)(d,[0,72],[0,1]);return(0,n.jsxs)(i.P.div,{...t,ref:s,className:(0,o.A)(e,"fixed inset-x-0 top-0 z-50 flex h-14 items-center justify-between gap-12 px-4 transition-all duration-300 sm:px-6 lg:left-72 lg:z-30 lg:px-8",l?"bg-ink-900":"backdrop-blur-xl"),style:l?void 0:{backgroundColor:"rgb(15 16 20 / var(--bg-opacity))","--bg-opacity":c},children:[(0,n.jsx)(i.P.div,{className:"absolute inset-x-0 top-full h-px bg-sand-700/20 lg:hidden",style:{opacity:l?1:h}}),(0,n.jsxs)("div",{className:"flex items-center gap-5 lg:hidden",children:[(0,n.jsx)(V,{}),(0,n.jsx)(D.J,{as:a(),href:"/","aria-label":"Home",children:(0,n.jsx)(P,{className:"h-6"})})]}),(0,n.jsxs)("div",{className:"flex gap-2 lg:hidden",children:[(0,n.jsx)(B,{}),(0,n.jsx)(Z,{}),(0,n.jsx)(H,{})]})]})}),W=(0,h.createContext)(!1);function Q({isOpen:e,close:t}){return(0,n.jsxs)(j.lG,{transition:!0,open:e,onClose:t,className:"fixed inset-0 z-50 lg:hidden",children:[(0,n.jsx)(j.Xi,{transition:!0,className:"fixed inset-0 top-14 bg-black/60 backdrop-blur-sm data-closed:opacity-0 data-enter:duration-300 data-enter:ease-out data-leave:duration-200 data-leave:ease-in"}),(0,n.jsxs)(j.Lj,{children:[(0,n.jsx)(v._,{children:(0,n.jsx)(T,{className:"data-closed:opacity-0 data-enter:duration-300 data-enter:ease-out data-leave:duration-200 data-leave:ease-in"})}
1),(0,n.jsx)(v._,{children:(0,n.jsxs)(i.P.div,{layoutScroll:!0,className:"fixed top-14 bottom-0 left-0 w-full overflow-y-auto bg-ink-900 px-4 pt-6 pb-4 shadow-lg ring-1 ring-sand-700/20 duration-500 ease-in-out data-closed:-translate-x-full min-[416px]:max-w-sm sm:px-6 sm:pb-10",children:[(0,n.jsx)("div",{className:"mb-6",children:(0,n.jsx)(g,{})}),(0,n.jsx)(el,{})]})})]})]})}function K(){return(0,h.useContext)(W)}let U=(0,m.vt)()(e=>({isOpen:!1,open:()=>e({isOpen:!0}),close:()=>e({isOpen:!1}),toggle:()=>e(e=>({isOpen:!e.isOpen}))}));function V(){let e=K(),{isOpen:t,toggle:s,close:i}=U(),r=t?b.A:k.A;return(0,n.jsxs)(W.Provider,{value:!0,children:[(0,n.jsxs)("button",{type:"button",className:"relative flex size-6 items-center justify-center rounded-md transition-colors duration-200 hover:bg-ink-700","aria-label":"Toggle navigation",onClick:s,children:[(0,n.jsx)("span",{className:"absolute size-12 pointer-fine:hidden"}),(0,n.jsx)(r,{className:"h-4 w-4 text-stone-300"})]}),!e&&(0,n.jsx)(h.Suspense,{fallback:null,children:(0,n.jsx)(Q,{isOpen:t,close:i})})]})}var Y=s(9518),J=s(3444);function X(e,t=!0){let s=(0,h.useRef)(e).current;return t?s:e}function ee({href:e,children:t,tag:s,active:i=!1,isAnchorLink:r=!1}){let l=K(),d={href:e,"aria-current":i?"page":void 0,className:(0,o.A)("flex justify-between gap-2 py-1 pr-3 text-sm transition-colors duration-200",r?"pl-7":"pl-4",i?"font-medium text-stone-100":"text-stone-500 hover:text-stone-300")};return l?(0,n.jsxs)(D.J,{as:a(),...d,children:[(0,n.jsx)("span",{className:"truncate",children:t}),s&&(0,n.jsx)(Y.v,{variant:"small",color:"zinc",children:s})]}):(0,n.jsxs)(a(),{...d,children:[(0,n.jsx)("span",{className:"truncate",children:t}),s&&(0,n.jsx)(Y.v,{variant:"small",color:"zinc",children:s})]})}function et({group:e,pathname:t}){let s=(0,J.i)(2),r=(0,J.i)(.25),a=e.links.findIndex(e=>e.href===t);return(0,n.jsx)(i.P.div,{layout:!0,className:"absolute left-2 h-6 w-px bg-sand-500",initial:{opacity:0}
1,animate:{opacity:1,transition:{delay:.2}},exit:{opacity:0},style:{top:r+a*s}})}function es({group:e,className:t}){let s=K(),r=X((0,l.usePathname)(),s),a=-1!==e.links.findIndex(e=>e.href===r),[u,x]=(0,h.useState)(a);return(0,h.useEffect)(()=>{a&&x(!0)},[a]),(0,n.jsxs)("li",{className:(0,o.A)("relative mt-4",t),children:[(0,n.jsxs)("button",{onClick:()=>x(!u),className:"flex w-full items-center justify-between text-left",children:[(0,n.jsx)("h2",{className:"text-2xs font-medium tracking-wider uppercase text-stone-600",children:e.title}),(0,n.jsx)(d.A,{className:(0,o.A)("h-3.5 w-3.5 text-stone-700 transition-transform duration-200",u&&"rotate-90")})]}),(0,n.jsx)(c.N,{initial:!1,children:u&&(0,n.jsxs)(i.P.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.2},className:"relative mt-2 overflow-hidden pl-2",children:[(0,n.jsx)("div",{className:"absolute inset-y-0 left-2 w-px bg-white/[0.04]"}),(0,n.jsx)(c.N,{initial:!1,children:a&&(0,n.jsx)(et,{group:e,pathname:r})}),(0,n.jsx)("ul",{role:"list",className:"border-l border-transparent",children:e.links.map(e=>(0,n.jsx)("li",{className:"relative",children:(0,n.jsx)(ee,{href:e.href,active:e.href===r,children:e.title})},e.href))})]})})]})}function en({link:e,className:t}){let s=K(),i=X((0,l.usePathname)(),s),r=e.href===i,d=(0,o.A)("block text-2xs font-medium tracking-wider uppercase transition-colors duration-200",r?"text-sand-400":"text-stone-600 hover:text-stone-400");return(0,n.jsx)("li",{className:(0,o.A)("relative mt-4",t),children:s?(0,n.jsx)(D.J,{as:a(),href:e.href,className:d,children:e.title}):(0,n.jsx)(a(),{href:e.href,className:d,children:e.title})})}let ei=[{title:"Installation",links:[{title:"Introduction",href:"/"},{title:"Linux",href:"/install/linux"},{title:"macOS",href:"/install/macos"},{title:"Windows",href:"/install/windows"},{title:"Build from source (Linux)",href:"/build"},{title:"Build from source (macOS)",href:"/build-macos"},{title:"Build from source (Windows)",href:"/build-windows"},{title:"Build AppImage from source",href:"/build-appimage"}]},{title:"Quickstart",links:[{title:"macOS Quickstart",href:"/quickstart/macos"},{title:"Hyprland Quickstart",href:"/quickstart/hyprland-lua"},{title:"Gnome Quickstart",href:"/quickstart/gnome"},{title:"KDE Quickstart",href:"/quickstart/kde"},{title:"Cosmic Desktop Quickstart",href:"/quickstart/cosmic"},{title:"Niri Quickstart",href:"/quickstart/niri"},{title:"General Quickstart",href:"/quickstart/generic"}]},{title:"FAQ",href:"/faq"},{title:"NixOS",href:"/nixos"},{title:"Manual",links:[{title:"Configuration",href:"/config"},{title:"Global Shortcuts",href:"/global-shortcuts"},{title:"Telemetry",href:"/telemetry"},{title:"dmenu Mode",href:"/dmenu"},{title:"Snippets",href:"/snippets"},{title:"Clipboard Management",href:"/clipboard"},{title:"Window Management",href:"/window"},{title:"Calculator",href:"/calculator"},{title:"Application Shortcuts",href:"/shortcuts"},{title:"File Search",href:"/file-search"},{title:"Browser Extension",href:"/browser-extension"},{title:"Fallback Commands",href:"/fallback-commands"},{title:"Extensions",href:"/install-extensions"},{title:"Emoji Picker",href:"/emoji"},{title:"Deeplinks",href:"/deeplinks"},{title:"Favicon Loading",href:"/favicon"}]},{title:"Theming",links:[{title:"Getting Started",href:"/theming/getting-started"},{title:"Theme Structure",href:"/theming/theme-structure"},{title:"Advanced Features",href:"/theming/advanced-features"},{title:"CLI Tools",href:"/theming/cli-tools"},{title:"Matugen integration",href:"/theming/matugen"}]},{title:"Script Commands",links:[{title:"Getting Started",href:"/scripts/getting-started"},{title:"Directives",href:"/scripts/directives"},{title:"Arguments",href:"/scripts/arguments"},{title:"Output Modes",href:"/scripts/modes"},{title:"Raycast Compatibility",href:"/scripts/raycast-compatibility"}]}],er=[{title:"Getting Started",links:[{title:"Introduction",href:"/extensions/introduction"},{title:"Create Your First Extension",href:"/extensions/create"},{title:"View Commands",href:"/extensions/view-command"},{title:"No-View Commands",href:"/extensions/no-view-command"},{title:"File Structure",href:"/extensions/file-structure"},{title:"Manifest",href:"/extensions/manifest"},{title:"Arguments",href:"/extensions/arguments"},{title:"Preferences",href:"/extensions/preferences"},{title:"Raycast Compatibility",href:"/extensions/raycast"}]},{title:"User Interface",links:[{title:"List",href:"/extensions/api/list"},{title:"Grid",href:"/extensions/api/grid"},{title:"Detail",href:"/extensions/api/detail"},{title:"Form",href:"/extensions/api/form"},{title:"ActionPanel",href:"/extensions/api/action-panel"},{title:"Actions",href:"/extensions/api/actions"},{title:"Images",href:"/extensions/api/images"},{title:"Colors",href:"/extensions/api/colors"}]},{title:"Navigation",links:[{title:"useNavigation",href:"/extensions/api/use-navigation"}]},{title:"Feedback",links:[{title:"Toast",href:"/extensions/api/toast"},{title:"Alert",href:"/extensions/api/alert"}]},{title:"System",links:[{title:"Clipboard",href:"/extensions/api/clipboard"},{title:"Cache",href:"/extensions/api/cache"},{title:"Local Storage",href:"/extensions/api/local-storage"},{title:"Preferences",href:"/extensions/api/preferences"},{title:"Environment",href:"/extensions/api/environment"},{title:"Keyboard",href:"/extensions/api/keyboard"},{title:"OAuth",href:"/extensions/api/oauth"},{title:"AI",href:"/extensions/api/ai"},{title:"Utilities",href:"/extensions/api/utilities"},{title:"Window Management",href:"/extensions/api/window-management"},{title:"File Search",href:"/extensions/api/file-search"},{title:"Commands",href:"/extensions/api/commands"}]}];function ea(){let{mode:e}=p();
1return"developer"===e?er:ei}function el(e){let t=ea();return(0,n.jsx)("nav",{...e,children:(0,n.jsx)("ul",{role:"list",children:t.map((e,t)=>"links"in e?(0,n.jsx)(es,{group:e,className:0===t?"md:mt-0":""},e.title):(0,n.jsx)(en,{link:e,className:0===t?"md:mt-0":""},e.href))})})}function eo(){let e=(0,l.usePathname)(),t=ea();if("/"===e)return null;for(let s of t)if("links"in s){let t=s.links.find(t=>t.href===e);if(t)return(0,n.jsxs)("nav",{"aria-label":"Breadcrumb",className:"mb-4 text-xs text-stone-500",children:[(0,n.jsx)("span",{children:s.title}),(0,n.jsx)("span",{className:"mx-1.5 text-stone-600",children:"/"}),(0,n.jsx)("span",{className:"text-stone-400",children:t.title})]})}else if(s.href===e)return(0,n.jsxs)("nav",{"aria-label":"Breadcrumb",className:"mb-4 text-xs text-stone-500",children:[(0,n.jsx)(a(),{href:"/",className:"transition-colors hover:text-stone-400",children:"Docs"}),(0,n.jsx)("span",{className:"mx-1.5 text-stone-600",children:"/"}),(0,n.jsx)("span",{className:"text-stone-400",children:s.title})]});return null}var ed=s(467);let ec={primary:"rounded-lg bg-gradient-to-b from-sand-500 to-sand-600 py-1 px-3 text-ink-900 font-medium hover:shadow-warm hover:from-sand-400 hover:to-sand-500",secondary:"rounded-lg bg-ink-800/50 py-1 px-3 text-stone-400 ring-1 ring-inset ring-sand-700/10 hover:text-stone-200 hover:ring-sand-600/18 hover:bg-ink-800/70",filled:"rounded-lg bg-gradient-to-b from-sand-500 to-sand-600 py-1 px-3 text-ink-900 font-medium hover:shadow-warm hover:from-sand-400 hover:to-sand-500",outline:"rounded-lg py-1 px-3 text-stone-400 ring-1 ring-inset ring-sand-700/10 hover:bg-ink-800/50 hover:text-stone-200 hover:ring-sand-600/18",text:"text-sand-400 hover:text-sand-200"};function eh({variant:e="primary",className:t,children:s,arrow:i,...r}){t=(0,o.A)("inline-flex gap-0.5 justify-center overflow-hidden text-sm font-medium transition-all duration-200",ec[e],t);let l=(0,n.jsx)(ed.A,{className:(0,o.A)("mt-0.5 h-5 w-5","text"===e&&"relative top-px","left"===i&&"-ml-1 rotate-180","right"===i&&"-mr-1")}),d=(0,n.jsxs)(n.Fragment,{children:["left"===i&&l,s,"right"===i&&l]});return void 0===r.href?(0,n.jsx)("button",{className:t,...r,children:d}):(0,n.jsx)(a(),{className:t,...r,children:d})}function eu({label:e,page:t,previous:s=!1}){return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(eh,{href:t.href,"aria-label":`${e}: ${t.title}`,variant:"secondary",arrow:s?"left":"right",children:e}),(0,n.jsx)(a(),{href:t.href,tabIndex:-1,"aria-hidden":"true",className:"text-base font-semibold text-stone-200 transition-colors duration-200 hover:text-stone-400",children:t.title})]})}function ex(){let e=(0,l.usePathname)(),t=ea().flatMap(e=>"links"in e?e.links:[{title:e.title,href:e.href}]),s=t.findIndex(t=>t.href===e);if(-1===s)return null;let i=t[s-1],r=t[s+1];return i||r?(0,n.jsxs)("div",{className:"flex",children:[i&&(0,n.jsx)("div",{className:"flex flex-col items-start gap-3",children:(0,n.jsx)(eu,{label:"Previous",page:i,previous:!0})}),r&&(0,n.jsx)("div",{className:"ml-auto flex flex-col items-end gap-3",children:(0,n.jsx)(eu,{label:"Next",page:r})})]}):null}function em(){return(0,n.jsx)("footer",{className:"mx-auto w-full max-w-2xl space-y-10 pb-16 lg:mx-[calc(50%-min(50%,var(--container-lg)))] lg:max-w-3xl",children:(0,n.jsx)(ex,{})})}var ef=s(6004);function ep(){let{scrollYProgress:e}=(0,N.L)(),t=(0,ef.z)(e,{stiffness:100,damping:30,restDelta:.001});return(0,n.jsx)(i.P.div,{className:"fixed top-0 right-0 left-0 z-[9999] h-[2px] origin-left bg-sand-500/60",style:{scaleX:t}})}let eg=[{tier:"gold",logoHeight:"h-6",sponsors:[{name:"Depot",href:"https://depot.dev/?utm_source=vicinae&utm_medium=docs",src:"/brands/depot.svg",width:514,height:112}]},{tier:"silver",logoHeight:"h-4",sponsors:[{name:"CodeRabbit",href:"https://coderabbit.link/vicinaehq",src:"/brands/coderabbit.svg",width:2152,height:313}]}];function ej(){return(0,n.jsxs)("div",{className:"shrink-0 border-t border-white/[0.06] pt-5",children:[(0,n.jsx)("h2",{className:"text-2xs font-medium tracking-wider uppercase text-stone-600",children:"Our Sponsors"}),(0,n.jsx)("ul",{role:"list",className:"mt-4 space-y-4",children:eg.flatMap(e=>e.sponsors.map(t=>(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:t.href,target:"_blank",rel:"noreferrer noopener sponsored","aria-label":t.name,className:"flex",children:(0,n.jsx)(y.default,{src:t.src,alt:t.name,width:t.width,height:t.height,className:`${e.logoHeight} w-auto`})})},t.name)))})]})}var ev=s(104);function eb(){let e=(0,ev.Y)(e=>e.sections),t=(0,ev.Y)(e=>e.visibleSections);if(0===e.length)return null;function s(e){return t.includes(e)}return(0,n.jsxs)("nav",{"aria-label":"Table of contents",children:[(0,n.jsx)("h2",{className:"text-2xs font-medium tracking-wider up
1percase text-stone-600",children:"On this page"}),(0,n.jsx)("ul",{className:"mt-4 space-y-3 text-sm",children:e.map(e=>(0,n.jsxs)("li",{children:[(0,n.jsx)(a(),{href:`#${e.id}`,className:(0,o.A)("block transition-colors duration-200",s(e.id)?"text-sand-400":"text-stone-500 hover:text-stone-300"),children:e.title}),e.children&&e.children.length>0&&(0,n.jsx)("ul",{className:"mt-2 space-y-2 border-l border-white/[0.05] pl-4",children:e.children.map(e=>(0,n.jsx)("li",{children:(0,n.jsx)(a(),{href:`#${e.id}`,className:(0,o.A)("block text-sm transition-colors duration-200",s(e.id)?"text-sand-400":"text-stone-600 hover:text-stone-400"),children:e.title})},e.id))})]},e.id))})]})}function ek({children:e,allSections:t}){let s=(0,l.usePathname)();return(0,n.jsxs)(ev.T,{sections:t[s]??[],children:[(0,n.jsx)("div",{className:"pointer-events-none fixed top-0 right-0 z-0 h-[600px] w-[600px] opacity-40",style:{background:"radial-gradient(circle, rgba(154,123,63,0.07) 0%, transparent 70%)",filter:"blur(80px)"}}),(0,n.jsx)("div",{className:"pointer-events-none fixed bottom-0 left-0 z-0 h-[500px] w-[500px] opacity-40",style:{background:"radial-gradient(circle, rgba(86,122,108,0.06) 0%, transparent 70%)",filter:"blur(80px)"}}),(0,n.jsx)(ep,{}),(0,n.jsxs)("div",{className:"h-full lg:ml-72",children:[(0,n.jsxs)(i.P.header,{layoutScroll:!0,className:"contents lg:pointer-events-none lg:fixed lg:inset-0 lg:z-40 lg:flex",children:[(0,n.jsx)("div",{className:"contents lg:pointer-events-auto lg:block lg:w-72",children:(0,n.jsxs)("div",{className:"hidden lg:flex lg:h-full lg:flex-col lg:overflow-y-auto lg:border-r lg:border-white/[0.06] lg:bg-ink-950 lg:px-5 lg:pt-5 lg:pb-8",children:[(0,n.jsx)(a(),{href:"/","aria-label":"Home",children:(0,n.jsx)(P,{className:"h-6"})}),(0,n.jsx)("div",{className:"mt-5",children:(0,n.jsx)(F,{})}),(0,n.jsx)("div",{className:"mt-5",children:(0,n.jsx)(g,{})}),(0,n.jsx)(el,{className:"hidden lg:mt-5 lg:block"})]})}),(0,n.jsx)("div",{className:"lg:hidden",children:(0,n.jsx)(T,{})})]}),(0,n.jsxs)("div",{className:"relative flex h-full flex-col px-4 pt-14 sm:px-6 lg:px-8 lg:pt-8 xl:mr-64",children:[(0,n.jsxs)("main",{className:"flex-auto",children:[(0,n.jsx)(eo,{}),e]}),(0,n.jsx)(em,{})]}),(0,n.jsxs)("div",{className:"fixed top-0 right-0 z-30 hidden items-center gap-2 p-5 lg:flex",children:[(0,n.jsx)(Z,{}),(0,n.jsx)(H,{})]}),(0,n.jsxs)("aside",{className:"fixed top-14 right-0 bottom-0 z-20 hidden w-64 flex-col overflow-hidden border-l border-white/[0.06] px-6 pt-6 pb-8 xl:flex",children:[(0,n.jsx)("div",{className:"min-h-0 flex-1 overflow-y-auto",children:(0,n.jsx)(eb,{})}),(0,n.jsx)(ej,{})]})]})]})}},3282:()=>{},7300:(e,t,s)=>{Promise.resolve().then(s.bind(s,282)),Promise.resolve().then(s.bind(s,1265)),Promise.resolve().then(s.t.bind(s,8500,23)),Promise.resolve().then(s.t.bind(s,3633,23)),Promise.resolve().then(s.t.bind(s,7086,23)),Promise.resolve().then(s.bind(s,5585)),Promise.resolve().then(s.bind(s,2592)),Promise.resolve().then(s.bind(s,5220)),Promise.resolve().then(s.bind(s,855)),Promise.resolve().then(s.bind(s,8066)),Promise.resolve().then(s.t.bind(s,3282,23))},8066:(e,t,s)=>{"use strict";s.r(t),s.d(t,{Resources:()=>p});var n=s(5155),i=s(122),r=s(7436),a=s(8245),l=s(8500),o=s.n(l),d=s(2115);function c({width:e,height:t,x:s,y:i,squares:r,...a}){let l=(0,d.useId)();return(0,n.jsxs)("svg",{"aria-hidden":"true",...a,children:[(0,n.jsx)("defs",{children:(0,n.jsx)("pattern",{id:l,width:e,height:t,patternUnits:"userSpaceOnUse",x:s,y:i,children:(0,n.jsx)("path",{d:`M.5 ${t}V.5H${e}`,fill:"none"})})}),(0,n.jsx)("rect",{width:"100%",height:"100%",strokeWidth:0,fill:`url(#${l})`}),r&&(0,n.jsx)("svg",{x:s,y:i,className:"overflow-visible",children:r.map(([s,i])=>(0,n.jsx)("rect",{strokeWidth:"0",width:e+1,height:t+1,x:s*e,y:i*t},`${s}-${i}`))})]})}var h=s(2592);let u=[{href:"/contacts",name:"Contacts",description:"Learn about the contact model and how to create, retrieve, update, delete, and list contacts.",icon:function(e){return(0,n.jsxs)("svg",{viewBox:"0 0 20 20","aria-hidden":"true",...e,children:[(0,n.jsx)("path",{strokeWidth:"0",fillRule:"evenodd",clipRule:"evenodd",d:"M10 .5a9.5 9.5 0 0 1 5.598 17.177C14.466 15.177 12.383 13.5 10 13.5s-4.466 1.677-5.598 4.177A9.5 9.5 0 0 1 10 .5ZM12.5 8a2.5 2.5 0 1 0-5 0 2.5 2.5 0 0 0 5 0Z"}),(0,n.jsx)("path",{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",d:"M10 .5a9.5 9.5 0 0 1 5.598 17.177A9.458 9.458 0 0 1 10 19.5a9.458 9.458 0 0 1-5.598-1.823A9.5 9.5 0 0 1 10 .5Z"}),(0,n.jsx)("path",{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",d:"M4.402 17.677C5.534 15.177 7.617 13.5 10 13.5s4.466 1.677 5.598 4.177M10 5.5a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5Z"})]})},pattern:{y:16,squares:[[0,1],[1,3]]}},{href:"/conversations",name:"Conversations",description:"Learn about the conversation model and how to create, retrieve, update, delete, and list conversations.",icon:function(e){return(0,n.jsxs)("svg",{viewBox:"0 0 20 20","aria-hidden":"true",...e,children:[(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 16.5c4.142 0 7.5-3.134 7.5-7s-3.358-7-7.5-7c-4.142 0-7.5 3.134-7.5 7 0 1.941.846 3.698 2.214 4.966L3.5 17.5c2.231 0 3.633-.553 4.513-1.248A8.014 8.014 0 0 0 10 16.5Z"}),(0,n.jsx)("path",{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",d:"M7.5 8.5h5M8.5 11.5h3"})]})},pattern:{y:-6,squares:[[-1,2],[1,3]]}},{href:"/messages",name:"Messages",description:"Learn about the message model and how to create, retrieve, update, delete, and list messages.",icon:function(e){return(0,n.jsxs)("svg",{viewBox:"0 0 20 20","aria-hidden":"true",...e,children:[(0,n.jsx)("path",{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",d:"M2.5 5.5a2 2 0 0 1 2-2h11a2 2 0 0 1 2 2v8a3 3 0 0 1-3 3h-9a3 3 0 0 1-3-3v-8Z"}),(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 10 4.526 5.256c-.7-.607-.271-1.756.655-1.756h9.638c.926 0 1.355 1.15.655 1.756L10 10Z"})]})},pattern:{y:32,squares:[[0,2],[1,4]]}},{href:"/groups",name:"Groups",description:"Learn about the group model and how to create, retrieve, update, delete, and list groups.",icon:function(e){return(0,n.jsxs)("svg",{viewBox:"0 0 20 20","aria-hidden":"true",...e,children:[(0,n.jsx)("path",{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",d:"M10.046 16H1.955a.458.458 0 0 1-.455-.459C1.5 13.056 3.515 11 6 11h.5"}),(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7.5 15.454C7.5 12.442 9.988 10 13 10s5.5 2.442 5.5 5.454a.545.545 0 0 1-.546.546H8.045a.545.545 0 0 1-.545-.546Z"}),(0,n.jsx)("path",{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",d:"M6.5 4a2 2 0 1 1 0 4 2 2 0 0 1 0-4Z"}),(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13 2a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5Z"})]})},pattern:{y:22,squares:[[0,1]]}}];function x({icon:e}){return(0,n.jsx)("div",{className:"flex h-7 w-7 items-center justify-center rounded-full bg-ink-800/50 ring-1 ring-sand-700/10 backdrop-blur-[2px] transition duration-300 group-hover:bg-sand-500/10 group-hover:ring-sand-500/20",children:(0,n.jsx)(e,{className:"h-5 w-5 fill-ink-800/10 stroke-stone-500 transition-colors duration-300 group-hover:fill-sand-500/10 group-hover:stroke-sand-400"})})}function m({mouseX:e,mouseY:t,...s}){let a=(0,i.E)`radial-gradient(180px at ${e}px ${t}px, white, transparent)`,l={maskImage:a,WebkitMaskImage:a};return(0,n.jsxs)("div",{className:"pointer-events-none",children:[(0,n.jsx)("div",{className:"absolute inset-0 rounded-2xl mask-[linear-gradient(white,transparent)] transition duration-300 group-hover:opacity-50",children:(0,n.jsx)(c,{width:72,height:56,x:"50%",className:"absolute inset-x-0 inset-y-[-30%] h-[160%] w-full skew-y-[-18deg] fill-sand-700/5 stroke-sand-700/10",...s})}),(0,n.jsx)(r.P.div,{className:"absolute inset-0 rounded-2xl bg-linear-to-r from-[#202D2E] to-[#303428] opacity-0 transition duration-300 group-hover:opacity-100",style:l}),(0,n.jsx)(r.P.div,{className:"absolute inset-0 rounded-2xl opacity-0 mix-blend-overlay transition duration-300 group-hover:opacity-100",style:l,children:(0,n.jsx)(c,{width:72,height:56,x:"50%",className:"absolute inset-x-0 inset-y-[-30%] h-[160%] w-full skew-y-[-18deg] fill-white/2.5 stroke-white/10",...s})})]})}function f({resource:e}){let t=(0,a.d)(0),s=(0,a.d)(0);return(0,n.jsxs)("div",{onMouseMove:function({currentTarget:e,clientX:n,clientY:i}){let{left:r,top:a}=e.getBoundingClientRect();t.set(n-r),s.set(i-a)},className:"group relative flex rounded-2xl bg-ink-800/40 transition-shadow hover:shadow-[0_16px_48px_-12px_rgba(154,123,63,0.08)]",children:[(0,n.jsx)(m,{...e.pattern,mouseX:t,mouseY:s}),(0,n.jsx)("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-sand-700/15 ring-inset group-hover:ring-sand-600/18"}),(0,n.jsxs)("div",{className:"relative rounded-2xl px-4 pt-16 pb-4",children:[(0,n.jsx)(x,{icon:e.icon}),(0,n.jsx)("h3",{className:"mt-4 text-sm/7 font-semibold text-white",children:(0,n.jsxs)(o(),{href:e.href,children:[(0,n.jsx)("span",{className:"absolute inset-0 rounded-2xl"}),e.name]})}),(0,n.jsx)("p",{className:"mt-1 text-sm text-stone-400",children:e.description})]})]},e.href)}function p(){return(0,n.jsxs)("div",{className:"my-16 xl:max-w-none",children:[(0,n.jsx)(h.Heading,{level:2,id:"resources",children:"Resources"}),(0,n.jsx)("div",{className:"not-prose mt-4 grid grid-cols-1 gap-8 border-t border-sand-700/15 pt-10 sm:grid-cols-2 xl:grid-cols-4",children:u.map(e=>(0,n.jsx)(f,{resource:e},e.href))})]})}}},e=>{e.O(0,[4009,1674,6021,1341,9410,9421,8441,3794,7358],()=>e(e.s=7300)),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.