PageSourceSearch

https://rivvn.ai/assets/SelectOrganization-fCGXFhUF.js

js rivvn.ai collected 2026-10-05 12:41:37 UTC 1,526 bytes, 1 lines download raw bytes

1import{r,j as t}from"./client-DH2sfGmG.js";import{g as S}from"./kcClsx-V9we9Mt1.js";import"./KcPage-DKnXQQ1e.js";import"./index-dXMvmBtU.js";import"./LoginLayout-DPR7vqqX.js";function F(f){var c;const{kcContext:a,i18n:l,doUseDefaultCss:u,Template:p,classes:m}=f,{kcClsx:o}=S({doUseDefaultCss:u,classes:m}),{url:j,user:x}=a,{msg:b}=l,[h,k]=r.useState(!1),n=r.useRef(null),i=r.useRef(null),C=s=>e=>{if(e.preventDefault(),!(!i.current||!n.current)){if(i.current.value=s,k(!0),typeof n.current.requestSubmit=="function"){n.current.requestSubmit();return}n.current.submit()}},d=(c=x.organizations)!==null&&c!==void 0?c:[],g=d.length>3;return t.jsx(p,Object.assign({kcContext:a,i18n:l,doUseDefaultCss:u,classes:m,headerNode:null},{children:t.jsxs("form",Object.assign({ref:n,action:j.loginAction,className:"form-vertical",method:"post"},{children:[t.jsxs("div",Object.assign({id:"kc-user-organizations",className:o("kcFormGroupClass")},{children:[t.jsx("h2",{children:b("organization.select")}),t.jsx("ul",Object.assign({className:o("kcFormSocialAccountListClass",g&&"kcFormSocialAccountListGridClass")},{children:d.map(({alias:s,name:e})=>t.jsx("li",{children:t.jsx("button",Object.assign({id:`organization-${s}`,className:o("kcFormSocialAccountListButtonClass",g&&"kcFormSocialAccountGridItem"),type:"button",onClick:C(s),disabled:h},{children:t.jsx("span",Object.assign({className:o("kcFormSocialAccountNameClass")},{children:e??s}))}))},s))}))]})),t.jsx("input",{ref:i,type:"hidden",name:"kc.org"})]}))}))}export{F as default};

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.