PageSourceSearch

https://logto.io/assets/index-C9qDKeHi.js

js logto.io collected 2026-10-02 02:49:22 UTC 2,683 bytes, 1 lines download raw bytes

1import{j as t,r as p}from"./index-lGppnjmY.js";import{g as v,a as w,B as N}from"./index-BM3YeuMt.js";import{c as l}from"./i18n-D1-CQUon.js";import"./numbers-BWlOhyf_.js";import{o as C}from"./index-B23X94rQ.js";const y="_figure_dhdc2_17",I="_blur_dhdc2_26",g={figure:y,blur:I},B=({className:r,children:n,style:c,hasBlur:e=!0})=>t.jsxs(v.div,{className:l(r,g.figure),style:c,children:[e&&t.jsx("div",{className:g.blur}),n]}),z="_wrapper_304fe_17",D="_image_304fe_39",j={wrapper:z,image:D},E=({className:r,data:n,hasBlur:c,activeIndex:e,autoSlide:i,onActiveIndexChange:u})=>{const o=p.useRef(void 0);return p.useEffect(()=>{if(i)return o.current=window.setTimeout(()=>{u((e+1)%n.length)},3e3),()=>{window.clearTimeout(o.current)}},[e,n.length,i,u]),t.jsx(B,{className:r,hasBlur:c,children:n.map(({key:s,image:m},h)=>t.jsx(v.div,{className:j.wrapper,style:{opacity:e===h?1:0},children:t.jsx("img",{className:j.image,src:m,alt:s})},s))})},M="_container_12e3b_17",S="_button_12e3b_23",T="_dot_12e3b_45",$="_active_12e3b_57",k="_withIcon_12e3b_68",_={container:M,button:S,dot:T,active:$,withIcon:k},A=({className:r,buttonClassName:n,activeIndex:c=0,buttons:e,onClick:i})=>t.jsx("div",{className:l(_.container,r),children:e.map(({text:u,icon:o},s)=>t.jsxs("div",{role:"button",tabIndex:0,className:l(_.button,s===c&&_.active,o&&_.withIcon,n),onClick:()=>{i(s)},onKeyDown:C(()=>{i(s)}),children:[o?t.jsx(o,{}):t.jsx("span",{className:_.dot}),u]},u))}),K="_carouselContainer_1uh62_17",R="_description_1uh62_38",F="_label_1uh62_60",H="_authentication_1uh62_66",U="_authorization_1uh62_69",q="_title_1uh62_72",G="_subtitle_1uh62_86",J="_carouselImages_1uh62_97",L="_learnMoreButton_1uh62_106",O="_rotating_1uh62_1",P="_shimmer_1uh62_1",a={carouselContainer:K,description:R,label:F,authentication:H,authorization:U,title:q,subtitle:G,carouselImages:J,learnMoreButton:L,rotating:O,shimmer:P},Z=({className:r,carouselImageClassName:n,autoSlide:c,label:e,title:i,subtitle:u,items:o,learnMoreButton:s})=>{const[m,h]=p.useState(0),{isMobile:b}=w(),x=p.useMemo(()=>s?t.jsx(N,{className:a.learnMoreButton,type:"secondary",href:s.link,children:s.text}):null,[s]);return t.jsxs("div",{className:l(a.carouselContainer,r),children:[t.jsxs("div",{className:a.description,children:[e&&t.jsx("div",{className:l(a.label,a[e]),children:e.toUpperCase()}),t.jsx("div",{className:a.title,children:i}),t.jsx("div",{className:a.subtitle,children:u}),t.jsx(A,{buttons:o.map(({buttonText:d,buttonIcon:f})=>({text:d,icon:f})),activeIndex:m,onClick:h}),!b&&x]}),t.jsx(E,{autoSlide:c,className:l(a.carouselImages,n),data:o.map(({image:d})=>({key:d,image:d})),activeIndex:m,onActiveIndexChange:h}),b&&x]})};export{Z as C};

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.