PageSourceSearch

https://web.cdn.cyagen.com/cyagen-en-v2/resources/9cb0aa8/client/a…vue_type_script_setup_true_lang-3IoCn9Gc.js

js cyagen.com collected 2026-09-25 23:39:30 UTC 577 bytes, 1 lines download raw bytes

1import{d as s,c as n,a as u,a3 as p,u as r,A as i,x as l,w as f,S as c}from"./index-cT8x0WjH.js";const y=s({__name:"UiRouter",props:{to:{type:[Object,String]},external:{type:Boolean,default:!1}},setup(o){const t=o,e=i(()=>t.to?typeof t.to!="string"?{type:"router-link",attrs:{to:t.to}}:!t.external&&/^(?![\w+.-]+:)(?!\/\/)(?!\.{1,2}\/).*$/.test(t.to)?{type:"router-link",attrs:{to:t.to}}:{type:"a",attrs:{href:t.to}}:{type:"div",attrs:{}});return(a,d)=>(u(),n(p(r(e).type),l(r(e).attrs,{"data-ui-route":""}),{default:f(()=>[c(a.$slots,"default")]),_:3},16))}});export{y as _};

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.