(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,13003,e=>{"use strict";var t=e.i(18050),r=e.i(40196);e.s(["PageHead",0,function({icon:e,title:i,subtitle:n,style:o}){let l;return(0,t.jsxs)("div",{style:{background:"var(--surface-soft)",border:"1px solid var(--hairline)",borderRadius:14,padding:"20px 24px",display:"flex",alignItems:"center",gap:"var(--sp-18)",...o},children:[(0,t.jsx)("div",{style:{width:44,height:44,borderRadius:11,background:"var(--accent-soft)",color:"var(--accent-deep)",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:"string"==typeof e&&e in r.Icons?(l=r.Icons[e],(0,t.jsx)(l,{size:20})):e}),(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{style:{fontSize:"var(--fs-body)",fontWeight:600,color:"var(--text)",marginBottom:"var(--sp-3)"},children:i}),(0,t.jsx)("div",{style:{fontSize:12.5,color:"var(--text-muted)",lineHeight:1.5},children:n})]})]})}])},69926,e=>{"use strict";var t=e.i(18050),r=e.i(71645);let i=new Map,n=!1,o=null;e.s(["ToolkitIcon",0,function({slug:e,iconUrl:l,size:s=20,style:a}){let d=e.toLowerCase(),[c,h]=(0,r.useState)(()=>l||n&&i.get(d)||void 0),[x,p]=(0,r.useState)(!1);(0,r.useEffect)(()=>{c||x||(n?Promise.resolve():(!o&&(o=fetch("/api/connections/toolkits").then(e=>e.json()).then(e=>{for(let t of e.toolkits??[])i.set(t.slug.toLowerCase(),t.iconUrl??"");n=!0}).catch(()=>{n=!0})),o)).then(()=>{let e=i.get(d);e&&h(e)})},[d,c,x]);let g={width:s,height:s,flexShrink:0,...a};return!c||x?(0,t.jsx)("span",{style:{...g,borderRadius:4,background:"var(--hairline)",display:"grid",placeItems:"center",fontSize:Math.max(8,Math.round(.38*s)),fontWeight:700,color:"var(--text-muted)",textTransform:"uppercase",letterSpacing:"-0.02em"},children:e.slice(0,2)}):(0,t.jsx)("img",{src:c,alt:"",width:s,height:s,style:{...g,borderRadius:4,objectFit:"contain"},onError:()=>p(!0)})}])},16269,e=>{"use strict";var t=e.i(18050),r=e.i(18789),i=e.i(42531);e.s(["Markdown",0,function({children:e}){return(0,t.jsx)("div",{className:"md-body",children:(0,t.jsx)(r.default,{remarkPlugins:[i.default],components:{p:({children:e})=>(0,t.jsx)("div",{style:{margin:"0 0 8px",lineHeight:1.65},children:e}),h1:({children:e})=>(0,t.jsx)("h1",{style:{fontSize:"var(--fs-lg)",fontWeight:700,margin:"12px 0 6px",lineHeight:1.3},children:e}),h2:({children:e})=>(0,t.jsx)("h2",{style:{fontSize:"var(--fs-base)",fontWeight:700,margin:"10px 0 4px",lineHeight:1.3},children:e}),h3:({children:e})=>(0,t.jsx)("h3",{style:{fontSize:"var(--fs-ui)",fontWeight:600,margin:"10px 0 4px",color:"var(--text)"},children:e}),ul:({children:e})=>(0,t.jsx)("ul",{style:{margin:"0 0 8px",paddingLeft:"var(--sp-18)",lineHeight:1.6},children:e}),ol:({children:e})=>(0,t.jsx)("ol",{style:{margin:"0 0 8px",paddingLeft:"var(--sp-22)",lineHeight:1.6},children:e}),li:({children:e})=>(0,t.jsx)("li",{style:{marginBottom:"var(--sp-2)"},children:e}),strong:({children:e})=>(0,t.jsx)("strong",{style:{fontWeight:700,color:"var(--text)"},children:e}),em:({children:e})=>(0,t.jsx)("em",{style:{fontStyle:"italic"},children:e}),code:({inline:e,children:r})=>e?(0,t.jsx)("code",{style:{fontFamily:"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace",fontSize:"0.88em",background:"var(--bg-sunken)",padding:"1px 5px",borderRadius:3,border:"1px solid var(--hairline)"},children:r}):(0,t.jsx)("pre",{style:{background:"var(--bg-sunken)",border:"1px solid var(--hairline)",borderRadius:6,padding:"var(--sp-10)",overflowX:"auto",fontSize:"var(--fs-sm)",lineHeight:1.5,margin:"8px 0",fontFamily:"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace"},children:(0,t.jsx)("code",{children:r})}),blockquote:({children:e})=>(0,t.jsx)("blockquote",{style:{borderLeft:"3px solid var(--accent-soft)",margin:"8px 0",padding:"2px 0 2px 10px",color:"var(--text-muted)",fontStyle:"italic"},children:e}),table:({children:e})=>(0,t.jsx)("div",{style:{margin:"10px 0",overflowX:"auto",border:"1px solid var(--hairline)",borderRadius:6},children:(0,t.jsx)("table",{style:{width:"100%",borderCollapse:"collapse",fontSize:"var(--fs-ui)"},children:e})}),th:({children:e})=>(0,t.jsx)("th",{style:{background:"var(--bg-sunken)",fontWeight:600,textAlign:"left",padding:"6px 10px",borderBottom:"1px solid var(--hairline)",fontSize:"var(--fs-sm)"},children:e}),td:({children:e})=>(0,t.jsx)("td",{style:{padding:"6px 10px",borderBottom:"1px solid var(--hairline)"},children:e}),hr:()=>(0,t.jsx)("hr",{style:{border:"none",borderTop:"1px solid var(--hairline)",margin:"10px 0"}}),a:({href:e,children:r})=>(0,t.jsx)("a",{href:e,target:"_blank",rel:"noopener noreferrer",style:{color:"var(--accent-deep)",textDecoration:"underline",textUnderlineOffset:2},children:r})},children:e})})}])}]);