1import{r,I as a,j as i,c3 as d}from"./automationAxios-iy0n8IC9.js";import{I as f,a as p}from"./KeyboardShortcut-77D-Ww4s.js";function x(o){const[c,e]=r.useState();return r.useEffect(()=>{if(window.cookieStore)window.cookieStore.get(o).then(t=>{e(t.value)});else if(document.cookie&&document.cookie!==""){const t=document.cookie.split(";");for(let n=0;n<t.length;n++){const s=t[n].trim();if(s.substring(0,o.length+1)===`${o}=`){e(decodeURIComponent(s.substring(o.length+1)));break}}}},[o,e]),c}function m({display:o="icon",inactive:c=!1,label:e,...t}){const n=x("csrftoken"),s={...t,tag:"button",type:c?"button":"submit"},{i18n:l}=r.useContext(a),u=e||l.translate("Logout");return i.jsxs("form",{action:"/logout/",method:"post",children:[i.jsx("input",{name:"csrfmiddlewaretoken",type:"hidden",value:n||""}),o==="icon"?i.jsx(f,{...s,tooltip:u,children:i.jsx(d,{})}):i.jsx(p,{...s,children:u})]})}export{m as L};
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.