import{r as e}from"./rolldown-runtime-BM3Ffeng.js";import{ot as t}from"./element-plus-vendor-BF9PNysW.js";import{D as n,I as r,N as i,O as a,P as o,Pt as s,Xt as c,et as l,ht as u}from"./vue-vendor-DMUmTARL.js";import{Qt as d}from"./icons-vendor-Db5MGAkr.js";import{m as f}from"./index-BcZTP2Ia.js";import{t as p}from"./ZFormHint-l_n2LPU2.js";var m={class:`flex flex-wrap items-center justify-between gap-2`},h={class:`code block select-all break-all`},g=r({__name:`SsoCallbackUrlHint`,props:{url:{},testId:{}},setup(e){let r=e,g=()=>f(r.url,`回调地址已复制`);return(r,f)=>{let _=t,v=p;return l(),a(v,{size:`sm`,"data-testid":e.testId},{title:u(()=>[n(`div`,m,[f[1]||=n(`span`,null,`第三方平台回调地址`,-1),o(_,{icon:s(d),size:`small`,onClick:g},{default:u(()=>[...f[0]||=[i(`复制`,-1)]]),_:1},8,[`icon`])])]),default:u(()=>[n(`code`,h,c(e.url),1),f[2]||=n(`div`,{class:`mt-1 text-xs leading-5 text-secondary`},` 请将此地址完整填写到第三方平台的 Redirect URI 或 Callback URL 中。 `,-1)]),_:1},8,[`data-testid`])}}}),_=e({default:()=>v}),v=g;export{_ as n,v as t};