PageSourceSearch

https://rtl.it/_nuxt/DFArsivD.js

js rtl.it collected 2026-09-24 08:51:14 UTC 4,636 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./CznVF9V5.js","./BFP_cgeE.js","./entry.CJeFteb1.css","./CbuS0MKR.js","./C_bIx1Zh.js"])))=>i.map(i=>d[i]);
2import{E as $,aE as j,aq as D,aS as T,a6 as r,w as _,s as l,B as h,aw as e,h as B,an as d,v as g,aX as P,A as I,_ as U,r as k,aJ as q,ax as G,aW as F,x as H,t as V,a as W,ad as J,U as X,ac as S,ay as K,W as Q,aM as Y,D as E,n as L}from"./BFP_cgeE.js";import{_ as Z}from"./9ylBXx07.js";import{_ as ee}from"./DOw-ukMG.js";import{u as te}from"./C5IbsWnt.js";import{a as oe}from"./DFuqwo3l.js";import"./BomznUoz.js";const ae={class:"list-none h-fit group relative"},se={class:"flex flex-col w-full relative gap-4 h-full"},ne={class:"flex gap-x-4"},re={key:0,class:"text-subheading-m font-extrabold font-primary italic bg-grey-800 h-10 w-10 rounded-full flex justify-center items-center"},le={class:"flex flex-col gap-y-4"},ie={class:"flex flex-col gap-y-2 w-full"},ce={key:0,class:"xl:h-full text-m xl:text-subheading-l font-primary font-semibold italic group-hover:text-red-700 ease-in-out duration-300 uppercase"},_e={key:1,class:"xl:h-full text-m xl:text-label-s font-primary"},ue={class:"flex gap-x-4"},pe=$({__name:"CardSpecial",props:{position:{type:Number,default:0},entry:{type:Object,default:()=>{}},play:{type:Object,default:()=>{}},vote:{type:Object,default:()=>{}}},emits:["openModalVote"],setup(a,{emit:i}){const m=i,s=a,{t:u}=j(),{entry:o}=D(s),f=T(),x=()=>{m("openModalVote",{contest_id:s.contest_id,ear_one_position:s.ear_one_position,ear_one_score:s.ear_one_score,final_score:s.final_score,votes:s.votes,block_type:s.block_type,song:song.value})},t=k(()=>({isLg:f.isGreaterThan("lg"),isMd:f.isGreaterOrEquals("md")})),y=k(()=>{const p=t.value.isLg?"1000":"600";return o.value?.song?.artist?.image_wide?.[p]||""});return(c,p)=>{const b=B,n=U;return r(),_("li",ae,[l("div",se,[h(b,{class:"object-cover card-img ease-in-out duration-500 w-full border border-transparent group-hover:border-grey-50 aspect-video max-h-62.5",src:e(y),alt:e(o).song?.alt,title:e(o).song.title||e(o).song.name,format:"webp",width:"456",height:"456",densities:"x1",loading:"lazy",placeholder:""},null,8,["src","alt","title"]),l("div",ne,[a.position?(r(),_("p",re,d(a.position),1)):g("",!0),l("div",le,[l("div",ie,[e(o)?.song?.artist?(r(),_("p",ce,d(e(o)?.song?.artist?.name),1)):g("",!0),e(o)?.song?.title?(r(),_("p",_e,d(e(o)?.song?.title),1)):g("",!0)]),l("div",ue,[h(n,{to:e(o).song?.url,target:"_blank",class:"border border-grey-200 text-label-m px-3 py-2 capitalize font-semibold"},{default:P(()=>[I(d(e(u)("common.play")),1)]),_:1},8,["to"]),l("button",{type:"button",class:"border border-grey-200 text-label-m px-3 py-2 capitalize font-semibold",onClick:x},d(e(u)("common.vote")),1)])])])])])}}}),de=Object.assign(pe,{__name:"SanremoCardSpecial"}),ge=E(()=>L(()=>import("./CznVF9V5.js"),__vite__mapDeps([0,1,2,3]),import.meta.url).then(a=>a.default||a)),me=E(()=>L(()=>import("./C_bIx1Zh.js"),__vite__mapDeps([4,1,2]),import.meta.url).then(a=>a.default||a)),fe={class:"flex flex-col page-template gap-y-10 xl:gap-y-20 mb-6 lg:mb-20 guest-page"},he={class:"grid grid-cols-1 sm:grid-cols-2 xl:grid-cols-4 gap-6"},w="sanremo",Ce=$({__name:"[slug]",async setup(a){let i,m;const s=q(),{slug:u,year:o}=s.params,f=Y(),{platform:x}=G(),{data:t,error:y}=([i,m]=F(()=>K(`${w}-${o}-${u}`,()=>$fetch(`/v1/${x}/special-events/${w}/${o}/nights/${u}`,{baseURL:f.public.apiUrl}))),i=await i,m(),i);if(!t?.value)throw H({statusCode:404,statusMessage:"Page Not Found",fatal:!0});te(y.value),t.value&&oe(t?.value.seo);const c=S(!1),p=S({}),b=n=>{p.value={artist:n.song.artist.name,title:n.song.title,image:n.song.image?.[300]??n.song.image?.[600]??"",song:{...n.song,image_square:n.song.image}},c.value=!0};return(n,C)=>{const A=Z,M=ee,O=de,N=ge,z=me;return r(),_("div",fe,[e(t)?.hero_heading||e(t)?.hero_subheading?(r(),V(A,{key:0,hero_heading:e(t).hero_heading,hero_subheading:e(t)?.hero_subheading},null,8,["hero_heading","hero_subheading"])):g("",!0),h(M,{tabs:e(t)?.tabs,type:"sanremo"},null,8,["tabs"]),l("ul",he,[(r(!0),_(W,null,J(e(t)?.data,(v,R)=>(r(),V(O,Q({key:`song-${R}`},{ref_for:!0},v,{year:e(o),onOpenModalVote:b}),null,16,["year"]))),128))]),h(N,{modelValue:e(c),"onUpdate:modelValue":C[0]||(C[0]=v=>X(c)?c.value=v:null),artist:e(p),chart:"champions",year:e(o),typeSpecialEvent:w,"login-url":e(t)?.login_url},null,8,["modelValue","artist","year","login-url"]),e(t)?.pre_footer_heading&&e(t)?.pre_footer_subheading?(r(),V(z,{key:1,heading:e(t)?.pre_footer_heading,"sub-heading":e(t)?.pre_footer_subheading},null,8,["heading","sub-heading"])):g("",!0)])}}});
2export{Ce as default};

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.