1import{H as K,A as O,I as Q}from"./DJq7rukS.js";import U from"./aZC69Qb1.js";import{v as W,c as X}from"./MfzheibQ.js";import{c as Y,a as Z}from"./DkeRC0Ow.js";import{a as x}from"./DB9TeH9R.js";import{e as ee}from"./C1edu0OX.js";import{a as te}from"./DeDgIEHj.js";import{d as ae,g as oe,q as C,N as ne,a8 as re,y as se,z as ce,l as le,aa as q,c as f,o as t,a as r,b as c,e as g,a5 as k,a6 as $,w,F as B,B as S,m as y,h as ue,u as l,E as ie,G as me,A as de}from"./DjT57jGX.js";try{let a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new a.Error().stack;n&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[n]="c3699c07-aac2-4508-9ee7-d4fcab54c4ee",a._sentryDebugIdIdentifier="sentry-dbid-c3699c07-aac2-4508-9ee7-d4fcab54c4ee")}catch{}const fe={class:"mt-[8vw] md:mt-[4vw] grid md:grid-cols-3 md:gap-y-[4vw] gap-y-[10vw] md:gap-x-[2vw]"},ye={key:0,class:"flex"},F=6,_e=6,ke=ae({__name:"videos",props:{content:{}},async setup(a){let n,I;const{$event:M}=oe(),u=C(F),o=ne(),E=re(),i=C(o.query.character?o.query.character:"all"),m=C(o.query.category?o.query.category:"all"),{data:_}=([n,I]=se(()=>ce("playlists",()=>de("playlists").sort({order:1,$numeric:1}).find())),n=await n,I(),n),P=[{value:"all",label:"All Shows"},...a.content.filter.playlistCategories],V=le(()=>!_||!_.value||!_.value.length?[]:_.value.filter(e=>{const p=i.value&&i.value!=="all"?e.characters.includes(i.value):!0,h=m.value&&m.value!=="all"?e.category===m.value:!0,b=a.content.filter.playlistCategories.some(v=>v.value===e.category);return p&&h&&b}));q(()=>o.query.character,e=>{i.value=e||"all",E.push({query:{...o.query,category:void 0}})}),q(()=>o.query.category,e=>{m.value=e||"all"}),q([()=>o.query.category,()=>o.query.character],()=>{u.value=F});function T(){M("show-more",{props:{title:"videos"}}),u.value=u.value+_e}return(e,p)=>{var D,N;const h=K,b=U,v=O,A=X,R=Y,z=x,H=ee,L=Q,G=W,j=Z,J=te;return t(),f("div",null,[r(h,k($(e.content.hero)),null,16),r(b,k($(e.content.feature)),null,16),(D=e.content.topBigCards)!=null&&D.length?(t(),c(A,{key:0,class:"mb-[16vw] md:mb-[5vw] space-y-[8vw] md:space-y-[5vw] mt-[16vw] md:mt-[10vw]"},{default:w(()=>[(t(!0),f(B,null,S(e.content.topBigCards,(s,d)=>(t(),c(v,y({key:d,ref_for:!0},s),null,16))),128))]),_:1})):g("",!0),r(R,k($(e.content.new)),null,16),r(z),r(G,{title:e.content.filter.title,"selected-character-value":l(i),categories:P,"selected-category-value":l(m)},{default:w(()=>[ue("div",fe,[(t(!0),f(B,null,S(l(V).slice(0,l(u)),(s,d)=>(t(),c(H,y({key:d,ref_for:!0},s),null,16))),128))]),l(V).length>l(u)?(t(),f("div",ye,[r(L,{"background-color":"white",color:"indigo",class:"mx-auto mt-[12vw] md:mt-[4vw]",icon:"ArrowDown",onClick:p[0]||(p[0]=s=>T())},{default:w(()=>[ie(me(e.content.filter.cta),1)]),_:1})])):g("",!0)]),_:1},8,["title","selected-character-value","selected-category-value"]),(N=e.content.bottomBigCards)!=null&&N.length?(t(),c(A,{key:1,class:"mb-[16vw] md:mb-[5vw] space-y-[8vw] md:space-y-[5vw] mt-[16vw] md:mt-[10vw]"},{default:w(()=>[(t(!0),f(B,null,S(e.content.bottomBigCards,(s,d)=>(t(),c(v,y({key:d,ref_for:!0},s),null,16))),128))]),_:1})):g("",!0),r(j,y({class:"mb-[20vw] md:mb-[10vw] bg-white"},e.content.promo),null,16),e.content.faq?(t(),c(J,y({key:2},e.content.faq,{class:"mb-[20vw] md:mb-[10vw]"}),null,16)):g("",!0)])}}});export{ke as default}; 2
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.