PageSourceSearch

https://app.adeptads.ai/_nuxt/DWtNLB_w.js

js adeptads.ai collected 2026-10-05 11:48:54 UTC 7,627 bytes, 1 lines download raw bytes

1import{Gn as e,Jn as t,Kn as n,Si as r,Ur as i,Xr as a,Yn as o,_i as s,fi as c,kr as l,p as u,qi as d,qn as f,ra as p,sa as m,tr as h,ua as g}from"./CLLDXjUq.js";import{$ as _,D as v,b as y,g as b,m as x,p as S,t as C}from"./CTRT8C07.js";import{f as w}from"./CblxND2n.js";function T(){var e;let t=(e=u().ui)==null?void 0:e.prefix;return e=>!t||!e?e:e.split(/\s+/).filter(Boolean).map(e=>`${t}:${e}`).join(` `)}var E={slots:{root:`relative flex rounded-lg`,spotlight:`absolute inset-0 rounded-[inherit] pointer-events-none bg-default/90`,container:`relative flex flex-col flex-1 lg:grid gap-x-8 gap-y-4 p-4 sm:p-6`,wrapper:`flex flex-col flex-1 items-start`,header:`mb-4`,body:`flex-1`,footer:`pt-4 mt-auto`,leading:`inline-flex items-center mb-2.5`,leadingIcon:`size-5 shrink-0 text-primary`,title:`text-base text-pretty font-semibold text-highlighted`,description:`text-[15px] text-pretty`},variants:{orientation:{horizontal:{container:`lg:grid-cols-2 lg:items-center`},vertical:{container:``}},reverse:{true:{wrapper:`order-last`}},variant:{solid:{root:`bg-inverted text-inverted`,title:`text-inverted`,description:`text-dimmed`},outline:{root:`bg-default ring ring-default`,description:`text-muted`},soft:{root:`bg-elevated/50`,description:`text-toned`},subtle:{root:`bg-elevated/50 ring ring-default`,description:`text-toned`},ghost:{description:`text-muted`},naked:{container:`p-0 sm:p-0`,description:`text-muted`}},to:{true:{root:[`outline-primary/25 has-[>a:focus-visible]:outline-3`,`transition`]}},title:{true:{description:`mt-1`}},highlight:{true:{root:`ring-2`}},highlightColor:{primary:``,secondary:``,success:``,info:``,warning:``,error:``,neutral:``},spotlight:{true:{root:`[--spotlight-size:400px] before:absolute before:-inset-px before:pointer-events-none before:rounded-[inherit] before:bg-[radial-gradient(var(--spotlight-size)_var(--spotlight-size)_at_calc(var(--spotlight-x,0px))_calc(var(--spotlight-y,0px)),var(--spotlight-color),transparent_70%)]`}},spotlightColor:{primary:``,secondary:``,success:``,info:``,warning:``,error:``,neutral:``}},compoundVariants:[{variant:`solid`,to:!0,class:{root:`hover:bg-inverted/90`}},{variant:`outline`,to:!0,class:{root:`hover:bg-elevated/50`}},{variant:`soft`,to:!0,class:{root:`hover:bg-elevated`}},{variant:`subtle`,to:!0,class:{root:`hover:bg-elevated`}},{variant:`subtle`,to:!0,highlight:!1,class:{root:`hover:ring-accented`}},{variant:[`outline`,`subtle`],to:!0,highlight:!1,class:{root:`has-[>a:focus-visible]:ring-primary`}},{variant:`ghost`,to:!0,class:{root:`hover:bg-elevated/50`}},{highlightColor:`primary`,highlight:!0,class:{root:`ring-primary`}},{highlightColor:`secondary`,highlight:!0,class:{root:`ring-secondary`}},{highlightColor:`success`,highlight:!0,class:{root:`ring-success`}},{highlightColor:`info`,highlight:!0,class:{root:`ring-info`}},{highlightColor:`warning`,highlight:!0,class:{root:`ring-warning`}},{highlightColor:`error`,highlight:!0,class:{root:`ring-error`}},{highlightColor:`neutral`,highlight:!0,class:{root:`ring-inverted`}},{spotlightColor:`primary`,spotlight:!0,class:{root:`[--spotlight-color:var(--ui-primary)]`}},{spotlightColor:`secondary`,spotlight:!0,class:{root:`[--spotlight-color:var(--ui-secondary)]`}},{spotlightColor:`success`,spotlight:!0,class:{root:`[--spotlight-color:var(--ui-success)]`}},{spotlightColor:`info`,spotlight:!0,class:{root:`[--spotlight-color:var(--ui-info)]`}},{spotlightColor:`warning`,spotlight:!0,class:{root:`[--spotlight-color:var(--ui-warning)]`}},{spotlightColor:`error`,spotlight:!0,class:{root:`[--spotlight-color:var(--ui-error)]`}},{spotlightColor:`neutral`,spotlight:!0,class:{root:`[--spotlight-color:var(--ui-bg-inverted)]`}}],defaultVariants:{variant:`outline`,highlightColor:`primary`,spotlightColor:`primary`}},D=Object.assign({inheritAttrs:!1},{__name:`UPageCard`,props:{as:{type:null,required:!1},icon:{type:null,required:!1},title:{type:String,required:!1},description:{type:String,required:!1},orientation:{type:null,required:!1,default:`vertical`},reverse:{type:Boolean,required:!1},highlight:{type:Boolean,required:!1},highlightColor:{type:null,required:!1},spotlight:{type:Boolean,required:!1},spotlightColor:{type:null,required:!1},variant:{type:null,required:!1},to:{type:null,required:!1},target:{type:[String,Object,null],required:!1},onClick:{type:Function,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}}
1,setup(D){let O=D,k=c(),A=b(`pageCard`,O),j=d(),M=_(),N=u(),{elementX:P,elementY:F}=w(j,{eventFilter:M.eventFilter}),I=T(),L=e(()=>A.spotlight&&(P.value!==0||F.value!==0));s(()=>A.spotlight,e=>{e?M.resume():M.pause()},{immediate:!0});let R=e(()=>{var e;return x({extend:E,...((e=N.ui)==null?void 0:e.pageCard)||{}})({orientation:A.orientation,reverse:A.reverse,variant:A.variant,to:!!A.to||!!A.onClick,title:!!A.title||!!k.title,highlight:A.highlight,highlightColor:A.highlightColor,spotlight:L.value,spotlightColor:A.spotlightColor})}),z=e(()=>(k.title&&y(k.title())||A.title||`Card link`).trim());return(e,s)=>{var c,u;return i(),f(p(v),l({ref_key:`cardRef`,ref:j,as:p(A).as},p(A).to?{}:e.$attrs,{"data-orientation":p(A).orientation,"data-slot":(c=e.$attrs[`data-slot`])==null?`root`:c,class:R.value.root({class:[(u=p(A).ui)==null?void 0:u.root,p(A).class]}),style:L.value&&{"--spotlight-x":`${p(P)}px`,"--spotlight-y":`${p(F)}px`},onClick:p(A).onClick}),{default:r(()=>{var s,c,u,d,_,v,y;return[p(A).spotlight?(i(),o(`div`,{key:0,"data-slot":`spotlight`,class:m(R.value.spotlight({class:(s=p(A).ui)==null?void 0:s.spotlight}))},null,2)):t(``,!0),n(`div`,{"data-slot":`container`,class:m(R.value.container({class:(c=p(A).ui)==null?void 0:c.container}))},[k.header||p(A).icon||k.leading||k.body||p(A).title||k.title||p(A).description||k.description||k.footer?(i(),o(`div`,{key:0,"data-slot":`wrapper`,class:m(R.value.wrapper({class:(u=p(A).ui)==null?void 0:u.wrapper}))},[k.header?(i(),o(`div`,{key:0,"data-slot":`header`,class:m(R.value.header({class:(d=p(A).ui)==null?void 0:d.header}))},[a(e.$slots,`header`)],2)):t(``,!0),p(A).icon||k.leading?(i(),o(`div`,{key:1,"data-slot":`leading`,class:m(R.value.leading({class:(_=p(A).ui)==null?void 0:_.leading}))},[a(e.$slots,`leading`,{ui:R.value},()=>{var e;return[p(A).icon?(i(),f(S,{key:0,name:p(A).icon,"data-slot":`leadingIcon`,class:m(R.value.leadingIcon({class:(e=p(A).ui)==null?void 0:e.leadingIcon}))},null,8,[`name`,`class`])):t(``,!0)]})],2)):t(``,!0),k.body||p(A).title||k.title||p(A).description||k.description?(i(),o(`div`,{key:2,"data-slot":`body`,class:m(R.value.body({class:(v=p(A).ui)==null?void 0:v.body}))},[a(e.$slots,`body`,{},()=>{var n,r;return[p(A).title||k.title?(i(),o(`div`,{key:0,"data-slot":`title`,class:m(R.value.title({class:(n=p(A).ui)==null?void 0:n.title}))},[a(e.$slots,`title`,{},()=>[h(g(p(A).title),1)])],2)):t(``,!0),p(A).description||k.description?(i(),o(`div`,{key:1,"data-slot":`description`,class:m(R.value.description({class:(r=p(A).ui)==null?void 0:r.description}))},[a(e.$slots,`description`,{},()=>[h(g(p(A).description),1)])],2)):t(``,!0)]})],2)):t(``,!0),k.footer?(i(),o(`div`,{key:3,"data-slot":`footer`,class:m(R.value.footer({class:(y=p(A).ui)==null?void 0:y.footer}))},[a(e.$slots,`footer`)],2)):t(``,!0)],2)):t(``,!0),a(e.$slots,`default`)],2),p(A).to?(i(),f(C,l({key:1,"aria-label":z.value},{to:p(A).to,target:p(A).target,...e.$attrs,"data-slot":void 0},{class:p(I)(`focus:outline-none peer`),raw:``}),{default:r(()=>[n(`span`,{class:m(p(I)(`absolute inset-0`)),"aria-hidden":`true`},null,2)]),_:1},16,[`aria-label`,`class`])):t(``,!0)]}),_:3},16,[`as`,`data-orientation`,`data-slot`,`class`,`style`,`onClick`])}}});export{D as t};

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.