PageSourceSearch

https://docs.kinde.com/_astro/Inkeep.astro_astro_type_script_index_0_lang.B5uHjjfu.js

js kinde.com collected 2026-09-24 17:20:29 UTC 3,003 bytes, 1 lines download raw bytes

1const k="modulepreload",y=function(e){return"/"+e},m={},b=function(s,c,O){let u=Promise.resolve();if(c&&c.length>0){let o=function(t){return Promise.all(t.map(a=>Promise.resolve(a).then(r=>({status:"fulfilled",value:r}),r=>({status:"rejected",reason:r}))))};document.getElementsByTagName("link");const n=document.querySelector("meta[property=csp-nonce]"),h=n?.nonce||n?.getAttribute("nonce");u=o(c.map(t=>{if(t=y(t),t in m)return;m[t]=!0;const a=t.endsWith(".css"),r=a?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${t}"]${r}`))return;const i=document.createElement("link");if(i.rel=a?"stylesheet":k,a||(i.as="script"),i.crossOrigin="",i.href=t,h&&i.setAttribute("nonce",h),document.head.appendChild(i),a)return new Promise((g,f)=>{i.addEventListener("load",g),i.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${t}`)))})}))}function p(o){const n=new Event("vite:preloadError",{cancelable:!0});if(n.payload=o,window.dispatchEvent(n),!n.defaultPrevented)throw o}return u.then(o=>{for(const n of o||[])n.status==="rejected"&&p(n.reason);return s().catch(p)})},S=document.querySelectorAll("[kui-trigger='search']");function w(e){l?.update({modalSettings:{isOpen:e}})}const d=()=>{document.body.classList.contains("inkeep-active")?l?.update({modalSettings:{isOpen:!0}}):_()},E={apiKey:"344eba7835721e352471ad454e69e8519ec621e48b8634ed",primaryBrandColor:"#0f0f0f",organizationDisplayName:"Kinde",colorMode:{sync:{target:document.documentElement,attributes:["data-theme"],isDarkMode:e=>e["data-theme"]==="dark"}},theme:{styles:[{type:"link",value:"/vendors/inkeep.css"}]}},v={chatSubjectName:"Kinde",aiAssistantAvatar:{light:"/bot-avatar-light.png",dark:"/bot-avatar-dark.png"},getHelpOptions:[{name:"Slack",action:{type:"open_link",url:"https://join.slack.com/t/thekindecommunity/shared_invite/zt-2k5i0aeet-d6Z_2qYphcNCpj0bFa4oCg"},icon:{builtIn:"FaSlack"}},{name:"Discord",action:{type:"open_link",url:"https://discord.gg/wHX6j7wG5d"},icon:{builtIn:"FaDiscord"}},{name:"Github",action:{type:"open_link",url:"https://github.com/kinde-oss"},icon:{builtIn:"FaGithub"}}],exampleQuestions:["Where do I set up my authentication methods?","How can I be notified when certain events happen?","What's the quickest way to get started with Kinde?"]},I={isOpen:!1,onOpenChange:w},C={tabs:[]},A={baseSettings:E,aiChatSettings:v,modalSettings:I,searchSettings:C};let l;S.forEach(e=>e.addEventListener("click",d));function _(){b(()=>import("./embed.Cnip0441.js").then(e=>e.e),[]).then(()=>{window?.Inkeep?.ModalSearchAndChat&&(l=window.Inkeep.ModalSearchAndChat(A)),document.body.classList.add("inkeep-active")}).then(()=>{setTimeout(()=>{l?.update({modalSettings:{isOpen:!0}})},50)}).catch(e=>console.log(e))}document.addEventListener("keydown",function(e){const s=e.target;!(s.tagName==="INPUT"||s.tagName==="TEXTAREA"||s.isContentEditable)&&e.key==="/"&&!e.metaKey&&!e.ctrlKey&&(e.preventDefault(),d()),(e.metaKey||e.ctrlKey)&&e.key.toLowerCase()==="k"&&(e.preventDefault(),d())});

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.