PageSourceSearch

https://www.skavti.si/_nuxt/BsgTev3S.js

js skavti.si collected 2026-10-02 06:09:40 UTC 1,658 bytes, 1 lines download raw bytes

1import{aQ as x,cL as h,aZ as g,a_ as y,bO as n,b2 as a,b1 as d,bg as r,a$ as u,bh as $,cR as w,b8 as k,b0 as p,bQ as z,bS as A,aU as B}from"./BVWwFQel.js";const C=["aria-controls","aria-expanded"],S={class:"inline-block flex-1"},j={class:"inline-block w-10 shrink-0"},E=["id","aria-hidden"],H=x({__name:"AccordionPanel",props:{idx:{},active:{type:Boolean},variant:{default:"elevated"},icon:{default:void 0}},emits:["expand"],setup(e,{emit:v}){const f=v,o=h(),i=B(!1),b=()=>{i.value||f("expand")};function s(t){i.value=!0,t.style.height=t.scrollHeight+"px"}function c(t){i.value=!1,t.style.height=""}return(t,l)=>{const m=$;return g(),y("div",{class:n(["w-full",e.variant==="elevated"?"rounded-[20px] bg-beige-50 text-blue-600":"border-b border-beige-25/25"])},[a("button",{type:"button",class:n(["flex w-full cursor-pointer items-center justify-between gap-2 py-4 text-left lg:py-6",e.variant==="elevated"?"px-5 lg:px-8":"px-0"]),"aria-controls":`acc-${d(o)}_panel-${e.idx}`,"aria-expanded":e.active,onClick:l[0]||(l[0]=L=>b(t.$el))},[a("span",S,[r(t.$slots,"title")]),a("span",j,[u(m,{class:n(["transition-transform duration-300",e.active&&"rotate-180"]),name:e.icon?e.icon.name:"ui:chevron-down",size:e.icon?e.icon.size:"24",style:w(typeof e.icon=="object"&&e.icon.style)},null,8,["name","size","style","class"])])],10,C),u(k,{name:"accordion",onEnter:s,onAfterEnter:c,onBeforeLeave:s,onAfterLeave:c},{default:p(()=>[z(a("div",{id:`acc-${d(o)}_panel-${e.idx}`,class:n(e.variant==="elevated"&&"px-5 lg:px-8"),"aria-hidden":!e.active},[r(t.$slots,"content")],10,E),[[A,e.active]])]),_:3})],2)}}}),N=Object.assign(H,{__name:"AccordionPanel"});export{N 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.