1import{g as f,N as g,d1 as y,h as m,q as p,n as _,D as S,r as T,i as x,d2 as D,s as F}from"./Cl6lTIU7.js";import{u as h}from"./DMzZxfim.js";import{_ as k}from"./Brp-rQUO.js";import"./BXdy0gRy.js";import"./Ch11Ygl3.js";import"./oVDB4mf3.js";import"./CfbxlT6V.js";import"./B4Vfjudp.js";import"./xQ_pGL2g.js";import"./CmYkBZoS.js";import"./B4ySKytP.js";import"./33OuGHk_.js";import"./BNjiZ0BI.js";import"./DCZ_ethQ.js";import"./D9J0NFms.js";import"./CFHNMkc1.js";import"./DOnb_hh2.js";import"./D7q2D2oQ.js";import"./DnhkYTfd.js";import"./DS5D8buG.js";import"./VwBye5C2.js";import"./DpDl56as.js";import"./Cg6OEOLy.js";import"./C9RUBSfH.js";import"./y5WxGPaJ.js";import"./D5Rm8KGQ.js";const v=f({__name:"FragmentTeaserSliderDisplay",props:{id:{type:String,required:!0},index:{type:Number,required:!0},site:{type:String,default:void 0}},async setup(i){let e,r;const t=i,d=g(),c=T(()=>t.site||d.xHunterSite.value),{isScoutUser:s}=h(),{fragmentApi:u}=y(),{useAsyncDataTraced:l}=([e,r]=m(()=>x("Component","FragmentTeaserSlider",{"fragment.id":t.id,"fragment.type":"teaser-slider"})),e=await e,r(),e),{data:o,error:A}=([e,r]=m(async()=>l(`fragmentData-${t.id}-scout${s.value}`,"fetch teaser slider fragment",async()=>{const a=await u.getFragmentTeaserSliderById({id:t.id});return{...a,teasers:s.value?a.teasers:a.teasers.filter(n=>n.banderole?.type!==D.SCOUT)}},{fragmentId:t.id,fragmentType:"teaser-slider"})),e=await e,r(),e);return(a,n)=>p(o)?(F(),_(k,{key:0,id:i.id,site:c.value,data:p(o),"is-edit-mode":!1,"teaser-slider-position":t.index},null,8,["id","site","data","teaser-slider-position"])):S("",!0)}}),Z=Object.assign(v,{__name:"FragmentTeaserSliderDisplay"});export{Z 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.