import{a5 as Fe,r as L,a6 as ve,d as O,q as G,s as ue,H as z,o as a,c as P,m as ne,I as re,b as s,A as U,l as Q,h as M,B as F,y as Se,z as Ae,_ as B,g as c,w as x,e as k,u as m,t as R,Q as K,n as Me,a as S,N as I,F as V,k as oe,a7 as _e,a8 as Ke,p as Ye,x as Le,a9 as ee,aa as Je,L as he,i as T,M as et,ab as tt,ac as nt,Z as ot,G as rt,f as st,a4 as it}from"./vendor.95c29ec7.js";import{S as lt}from"./ssr.3e361edf.js";const at=500,Re=800,ut=1100,ct=1400;function dt(n){return n{e.value=n.value"u",r.value=dt(n.value)}),{isMobile:e,isSSR:t,dimension:r}}const pt=O({__name:"Modal",props:{show:{type:Boolean,default:!1},closeable:{type:Boolean,default:!0},centered:{type:Boolean,default:!1},hideBodyOverflow:{type:Boolean,default:!0},background:{default:"var(--color-foreground)"},wXs:{default:"100%"},wSm:{default:"500px"},wMd:{default:"800px"},wLg:{default:"800px"},maxWidth:{default:"800px"}},emits:["close"],setup(n,{emit:e}){Ae(u=>({"728f58fd":u.$props.wXs,"728f585c":u.$props.wSm,"728f5799":u.$props.wMd,"728f577d":u.$props.wLg}));const t=n,r=L(null),l=e,{isSSR:o}=le();ve(()=>{o.value||(t.show&&t.hideBodyOverflow?document.body.style.overflow="hidden":document.body.style.overflow=null)});const i=()=>{t.closeable&&l("close")},d=u=>{u.key==="Escape"&&t.show&&i()};G(()=>{document.addEventListener("keydown",d)}),ue(()=>{document.removeEventListener("keydown",d),document.body.style.overflow=null});const p=z(()=>({background:t.background,"max-width":t.maxWidth}));return(u,f)=>(a(),P(Se,{to:"body"},[ne(s("div",{class:F(["modal",{centered:u.centered}]),"scroll-region":""},[ne(s("div",{class:"modal-backdrop",onClick:i},f[0]||(f[0]=[s("div",{class:"modal-background"},null,-1)]),512),[[re,u.show]]),ne(s("div",{ref_key:"modalContent",ref:r,class:"modal-content",style:U(p.value)},[u.show?Q(u.$slots,"default",{key:0},void 0,!0):M("",!0)],4),[[re,u.show]])],2),[[re,u.show]])]))}});const ht=B(pt,[["__scopeId","data-v-ac8719d2"]]),ft={viewBox:"0 0 384 512",width:"0.9em",height:"1.2em"};function mt(n,e){return a(),c("svg",ft,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7L86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256L41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3l105.4 105.3c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256z"},null,-1)]))}const Te={name:"fa6-solid-xmark",render:mt},vt={class:"modal-dialog"},_t=O({__name:"DialogModal",props:{show:{type:Boolean,default:!1},closeable:{type:Boolean,default:!0},centered:{type:Boolean,default:!1},hideBodyOverflow:{type:Boolean,default:!0},background:{default:"var(--color-foreground)"},wXs:{default:"100%"},wSm:{default:"500px"},wMd:{default:"800px"},wLg:{default:"800px"},maxWidth:{default:"unset"},titleBorder:{default:"1px solid var(--color-foreground-2)"},noContentPadding:{type:Boolean,default:!1}},emits:["close"],setup(n,{emit:e}){const t=e,r=()=>{t("close")};return(l,o)=>(a(),P(ht,{show:l.show,closeable:l.closeable,centered:l.centered,"hide-body-overflow":l.hideBodyOverflow,background:l.background,"max-width":l.maxWidth,"w-xs":l.wXs,"w-sm":l.wSm,"w-md":l.wMd,"w-lg":l.wLg,onClose:r},{default:x(()=>[s("div",vt,[s("div",{class:"modal-title",style:U("border-bottom:"+l.titleBorder)},[Q(l.$slots,"title",{},void 0,!0),l.closeable?(a(),c("a",{key:0,class:"close-dialog",onClick:r},[k(m(Te))])):M("",!0)],4),s("div",{class:F([{"dialog-content":!l.noContentPadding}])},[Q(l.$slots,"content",{},void 0,!0)],2)])]),_:3},8,["show","closeable","centered","hide-body-overflow","background","max-width","w-xs","w-sm","w-md","w-lg"]))}});const Ie=B(_t,[["__scopeId","data-v-cc7d7239"]]),gt={class:"auth-label"},yt={key:0},wt={key:1},bt=O({__name:"FormLabel",props:{value:{}},setup(n){return(e,t)=>(a(),c("label",gt,[e.value?(a(),c("span",yt,R(e.value),1)):(a(),c("span",wt,[Q(e.$slots,"default",{},void 0,!0)]))]))}});const yi=B(bt,[["__scopeId","data-v-6b518cff"]]),kt=["placeholder","value"],$t=O({__name:"FormInput",props:{modelValue:{},placeholder:{}},emits:["update:modelValue"],setup(n,{emit:e}){const t=e,r=L(null);return G(()=>{r.value.hasAttribute("autofocus")&&r.value.focus()}),(l,o)=>(a(),c("input",{ref_key:"input",ref:r,class:"form-input",placeholder:l.placeholder,value:l.modelValue,onInput:o[0]||(o[0]=i=>t("update:modelValue",i.target.value))},null,40,kt))}});const wi=B($t,[["__scopeId","data-v-d7d11885"]]),xt=O({__name:"FormError",props:{field:{},errors:{},errorBag:{}},setup(n){const e=n,t=K(),r=z(()=>t.props.errors),l=z(()=>e.errors?e.errors:!e.errorBag||!r.value.hasOwnProperty(e.errorBag)?r.value:r.value[e.errorBag]);return(o,i)=>ne((a(),c("span",{class:"auth-error"},R(l.value[o.field]),513)),[[re,l.value[o.field]]])}});const bi=B(xt,[["__scopeId","data-v-8329348c"]]),Ct={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function St(n,e){return a(),c("svg",Ct,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M5 21q-.825 0-1.412-.587T3 19V5q0-.825.588-1.412T5 3h8.925l-2 2H5v14h14v-6.95l2-2V19q0 .825-.587 1.413T19 21zm4-6v-4.25l9.175-9.175q.3-.3.675-.45t.75-.15q.4 0 .763.15t.662.45L22.425 3q.275.3.425.663T23 4.4t-.137.738t-.438.662L13.25 15zM21.025 4.4l-1.4-1.4zM11 13h1.4l5.8-5.8l-.7-.7l-.725-.7L11 11.575zm6.5-6.5l-.725-.7zl.7.7z"},null,-1)]))}const ki={name:"material-symbols-edit-square-outline",render:St},At={class:"confirm-dialog-body"},Mt=["disabled"],Lt=O({__name:"ConfirmationDialog",props:{action:{},show:{type:Boolean}},emits:["close","confirm"],setup(n,{emit:e}){const t=n,r=e,l=L(!1);function o(){l.value=!0,r("confirm")}return Me(()=>t.show,()=>{l.value=!1}),(i,d)=>(a(),P(Ie,{show:i.show,"max-width":"550px",centered:"",onClose:d[1]||(d[1]=p=>r("close"))},{title:x(()=>[S(" Conferma "+R(i.action),1)]),content:x(()=>[s("div",At,[Q(i.$slots,"default",{},void 0,!0)]),s("button",{class:"confirm-btn",disabled:l.value,onClick:d[0]||(d[0]=p=>o())}," Conferma ",8,Mt)]),_:3},8,["show"]))}});const $i=B(Lt,[["__scopeId","data-v-2802c756"]]),Oe=L(0),pe=L([]);function ce(){function n(t,r=!1){pe.value.push({id:Oe.value,message:t,isError:r}),Oe.value+=1}function e(t){const r=pe.value.findIndex(l=>l.id===t);r>-1&&pe.value.splice(r,1)}return{alerts:pe,pushAlert:n,removeAlert:e}}function xi(n){const e=K();function t(o){return n==null?void 0:n.images.find(i=>i.type===o)}const r={background:t("background"),poster:t("poster"),cover:t("cover"),cover_mobile:t("cover_mobile"),logo:t("logo")};function l(o){return e.props.cdn_url+"/images/"+(o==null?void 0:o.filename)}return{images:r,url:l}}function Ci(){const{pushAlert:n}=ce();function e(t,r,l=null,o=!0){if(t==null||t.preventDefault(),r.release_date&&new Date(r.release_date).getTime()>Date.now()){n("In arrivo prossimamente",!0);return}function i(){const d={e:l==null?void 0:l.id};r.billboard_season_num&&(d.s=r.billboard_season_num);const p=route("titles.watch",[r.id,d]);I.get(p)}if(o){const d=document.querySelector("body"),p=window.scrollY+window.innerHeight/2;d.style.transformOrigin="50% "+Math.round(p)+"px",setTimeout(()=>{d.style.transform="scale(1.04)",d.style.opacity="0",d.style.transitionDuration="750ms",d.style.transitionTimingFunction="ease-in"},25),d.style.overflowX="hidden",setTimeout(i,750)}else i()}return{playVideo:e}}const Tt={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function Bt(n,e){return a(),c("svg",Tt,e[0]||(e[0]=[s("path",{d:"M9.78 18.65l.28-4.23l7.68-6.92c.34-.31-.07-.46-.52-.19L7.74 13.3L3.64 12c-.88-.25-.89-.86.2-1.3l15.97-6.16c.73-.33 1.43.18 1.15 1.3l-2.72 12.81c-.19.91-.74 1.13-1.5.71L12.6 16.3l-1.99 1.93c-.23.23-.42.42-.83.42z",fill:"currentColor"},null,-1)]))}const Si={name:"mdi-telegram",render:Bt},Ot={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function qt(n,e){return a(),c("svg",Ot,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M22.46 6c-.77.35-1.6.58-2.46.69c.88-.53 1.56-1.37 1.88-2.38c-.83.5-1.75.85-2.72 1.05C18.37 4.5 17.26 4 16 4c-2.35 0-4.27 1.92-4.27 4.29c0 .34.04.67.11.98C8.28 9.09 5.11 7.38 3 4.79c-.37.63-.58 1.37-.58 2.15c0 1.49.75 2.81 1.91 3.56c-.71 0-1.37-.2-1.95-.5v.03c0 2.08 1.48 3.82 3.44 4.21a4.2 4.2 0 0 1-1.93.07a4.28 4.28 0 0 0 4 2.98a8.52 8.52 0 0 1-5.33 1.84q-.51 0-1.02-.06C3.44 20.29 5.7 21 8.12 21C16 21 20.33 14.46 20.33 8.79c0-.19 0-.37-.01-.56c.84-.6 1.56-1.36 2.14-2.23"},null,-1)]))}const Ai={name:"mdi-twitter",render:qt},zt={viewBox:"0 0 256 256",width:"1.2em",height:"1.2em"};function Pt(n,e){return a(),c("svg",zt,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M176 24H80a56.06 56.06 0 0 0-56 56v96a56.06 56.06 0 0 0 56 56h96a56.06 56.06 0 0 0 56-56V80a56.06 56.06 0 0 0-56-56m-48 152a48 48 0 1 1 48-48a48.05 48.05 0 0 1-48 48m60-96a12 12 0 1 1 12-12a12 12 0 0 1-12 12m-28 48a32 32 0 1 1-32-32a32 32 0 0 1 32 32"},null,-1)]))}const Mi={name:"ph-instagram-logo-fill",render:Pt},Ht={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function Vt(n,e){return a(),c("svg",Ht,e[0]||(e[0]=[s("path",{fill:"currentColor","fill-rule":"evenodd",d:"M11.47 7.72a.75.75 0 0 1 1.06 0l7.5 7.5a.75.75 0 1 1-1.06 1.06L12 9.31l-6.97 6.97a.75.75 0 0 1-1.06-1.06z","clip-rule":"evenodd"},null,-1)]))}const Et={name:"heroicons-chevron-up-solid",render:Vt},jt={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function Dt(n,e){return a(),c("svg",jt,e[0]||(e[0]=[s("path",{fill:"currentColor","fill-rule":"evenodd",d:"M12.53 16.28a.75.75 0 0 1-1.06 0l-7.5-7.5a.75.75 0 0 1 1.06-1.06L12 14.69l6.97-6.97a.75.75 0 1 1 1.06 1.06z","clip-rule":"evenodd"},null,-1)]))}const Ft={name:"heroicons-chevron-down-solid",render:Dt},Rt=O({__name:"Dropdown",props:{align:{default:"right"},width:{default:"120px"},contentClasses:{default:()=>[]},hideTriggerIcon:{type:Boolean,default:!1},preventCloseOnClick:{type:Boolean}},emits:["open","close"],setup(n,{expose:e,emit:t}){const r=n,l=L(null);e({close:()=>{f.value=!1}});const i=g=>{f.value&&g.key==="Escape"&&(f.value=!1)};function d(){setTimeout(()=>{f.value=!f.value},10)}function p(g){var v;const w=g.target;!w||typeof w.closest>"u"||(v=w.closest(".dropdown"))!=null&&v.isEqualNode(l.value)||(f.value=!1)}G(()=>{document.addEventListener("keydown",i),document.addEventListener("click",p)}),ue(()=>{document.removeEventListener("keydown",i),document.removeEventListener("click",p)});const u=z(()=>r.align==="left"?"dropdown-left":r.align==="right"?"dropdown-right":"origin-top"),f=L(!1),h=t;Me(f,async(g,w)=>{g&&h("open"),g||h("close")});function b(){r.preventCloseOnClick||(f.value=!1)}return(g,w)=>(a(),c("div",{ref_key:"dropdown",ref:l,class:"dropdown"},[s("div",{class:"dropdown-trigger",onClick:d},[Q(g.$slots,"trigger",{},void 0,!0),g.hideTriggerIcon?M("",!0):(a(),c(V,{key:0},[f.value?(a(),P(m(Et),{key:1,class:"chevron-icon"})):(a(),P(m(Ft),{key:0,class:"chevron-icon"}))],64))]),ne(s("div",{class:F(["dropdown-wrap",[u.value]]),style:U("width:"+g.width),onClick:w[0]||(w[0]=v=>b())},[s("div",{class:F(g.contentClasses)},[Q(g.$slots,"content",{},void 0,!0)],2)],6),[[re,f.value]])],512))}});const Ne=B(Rt,[["__scopeId","data-v-8ffbc10d"]]),It={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function Nt(n,e){return a(),c("svg",It,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M11 17h2v-6h-2zm1-8q.425 0 .713-.288T13 8t-.288-.712T12 7t-.712.288T11 8t.288.713T12 9m0 13q-2.075 0-3.9-.788t-3.175-2.137T2.788 15.9T2 12t.788-3.9t2.137-3.175T8.1 2.788T12 2t3.9.788t3.175 2.137T21.213 8.1T22 12t-.788 3.9t-2.137 3.175t-3.175 2.138T12 22m0-2q3.35 0 5.675-2.325T20 12t-2.325-5.675T12 4T6.325 6.325T4 12t2.325 5.675T12 20m0-8"},null,-1)]))}const Li={name:"material-symbols-info-outline",render:Nt},Ut={viewBox:"0 0 384 512",width:"0.9em",height:"1.2em"};function Qt(n,e){return a(),c("svg",Ut,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M73 39c-14.8-9.1-33.4-9.4-48.5-.9S0 62.6 0 80v352c0 17.4 9.4 33.4 24.5 41.9S58.2 482 73 473l288-176c14.3-8.7 23-24.2 23-41s-8.7-32.2-23-41z"},null,-1)]))}const Ti={name:"fa6-solid-play",render:Qt},Gt={viewBox:"0 0 448 512",width:"1.06em",height:"1.2em"};function Wt(n,e){return a(),c("svg",Gt,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32v144H48c-17.7 0-32 14.3-32 32s14.3 32 32 32h144v144c0 17.7 14.3 32 32 32s32-14.3 32-32V288h144c17.7 0 32-14.3 32-32s-14.3-32-32-32H256z"},null,-1)]))}const Bi={name:"fa6-solid-plus",render:Wt},Xt={viewBox:"0 0 448 512",width:"1.06em",height:"1.2em"};function Zt(n,e){return a(),c("svg",Xt,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7l233.4-233.3c12.5-12.5 32.8-12.5 45.3 0z"},null,-1)]))}const Kt={name:"fa6-solid-check",render:Zt},Yt={viewBox:"0 0 576 512",width:"1.36em",height:"1.2em"};function Jt(n,e){return a(),c("svg",Yt,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M301.1 34.8C312.6 40 320 51.4 320 64v384c0 12.6-7.4 24-18.9 29.2s-25 3.1-34.4-5.3L131.8 352H64c-35.3 0-64-28.7-64-64v-64c0-35.3 28.7-64 64-64h67.8L266.7 40.1c9.4-8.4 22.9-10.4 34.4-5.3M425 167l55 55l55-55c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-55 55l55 55c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-55-55l-55 55c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l55-55l-55-55c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0"},null,-1)]))}const Oi={name:"fa6-solid-volume-xmark",render:Jt},en={viewBox:"0 0 640 512",width:"1.5em",height:"1.2em"};function tn(n,e){return a(),c("svg",en,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M533.6 32.5C598.5 85.2 640 165.8 640 256s-41.5 170.7-106.4 223.5c-10.3 8.4-25.4 6.8-33.8-3.5s-6.8-25.4 3.5-33.8c54.2-44 88.7-111 88.7-186.2s-34.5-142.2-88.7-186.3c-10.3-8.4-11.8-23.5-3.5-33.8s23.5-11.8 33.8-3.5zM473.1 107c43.2 35.2 70.9 88.9 70.9 149s-27.7 113.8-70.9 149c-10.3 8.4-25.4 6.8-33.8-3.5s-6.8-25.4 3.5-33.8C475.3 341.3 496 301.1 496 256s-20.7-85.3-53.2-111.8c-10.3-8.4-11.8-23.5-3.5-33.8s23.5-11.8 33.8-3.5zm-60.5 74.5c21.5 17.6 35.4 44.4 35.4 74.5s-13.9 56.9-35.4 74.5c-10.3 8.4-25.4 6.8-33.8-3.5s-6.8-25.4 3.5-33.8C393.1 284.4 400 271 400 256s-6.9-28.4-17.7-37.3c-10.3-8.4-11.8-23.5-3.5-33.8s23.5-11.8 33.8-3.5zM301.1 34.8C312.6 40 320 51.4 320 64v384c0 12.6-7.4 24-18.9 29.2s-25 3.1-34.4-5.3L131.8 352H64c-35.3 0-64-28.7-64-64v-64c0-35.3 28.7-64 64-64h67.8L266.7 40.1c9.4-8.4 22.9-10.4 34.4-5.3"},null,-1)]))}const qi={name:"fa6-solid-volume-high",render:tn},nn={key:0,id:"rank-1",width:"100%",height:"100%",viewBox:"-20 0 70 154",class:"svg-icon svg-icon-rank-1 top-10-rank"},on={key:1,id:"rank-2",width:"100%",height:"100%",viewBox:"0 0 80 154",class:"svg-icon svg-icon-rank-2 top-10-rank"},rn={key:2,id:"rank-3",width:"100%",height:"100%",viewBox:"0 0 80 154",class:"svg-icon svg-icon-rank-3 top-10-rank"},sn={key:3,id:"rank-4",width:"100%",height:"100%",viewBox:"0 0 81 154",class:"svg-icon svg-icon-rank-4 top-10-rank"},ln={key:4,id:"rank-5",width:"100%",height:"100%",viewBox:"0 0 81 154",class:"svg-icon svg-icon-rank-5 top-10-rank"},an={key:5,id:"rank-6",width:"100%",height:"100%",viewBox:"0 0 81 154",class:"svg-icon svg-icon-rank-6 top-10-rank"},un={key:6,id:"rank-7",viewBox:"0 0 78 154",width:"100%",height:"100%",class:"svg-icon svg-icon-rank-7 top-10-rank"},cn={key:7,id:"rank-8",width:"100%",height:"100%",viewBox:"0 0 77 154",class:"svg-icon svg-icon-rank-8 top-10-rank"},dn={key:8,id:"rank-9",viewBox:"0 0 71 154",width:"100%",height:"100%",class:"svg-icon svg-icon-rank-9 top-10-rank"},pn={key:9,id:"rank-10",width:"100%",height:"100%",viewBox:"0 0 140 154",class:"svg-icon svg-icon-rank-10 top-10-rank"},hn=O({__name:"Top10SVGIcon",props:{index:{}},setup(n){return(e,t)=>(a(),c("div",null,[e.index==1?(a(),c("svg",nn,t[0]||(t[0]=[s("path",{stroke:"#595959","stroke-linejoin":"square","stroke-width":"4",d:"M35.377 152H72V2.538L2 19.362v30.341l33.377-8.459V152z"},null,-1)]))):e.index==2?(a(),c("svg",on,t[1]||(t[1]=[s("path",{stroke:"#595959","stroke-linejoin":"square","stroke-width":"4",d:"M3.72 152H113v-30.174H50.484l4.355-3.55 29.453-24.012c5.088-4.124 9.748-8.459 13.983-13.004 4.16-4.464 7.481-9.339 9.972-14.629 2.449-5.203 3.678-11.113 3.678-17.749 0-9.428-2.294-17.627-6.875-24.645-4.597-7.042-10.941-12.494-19.07-16.376C77.803 3.957 68.496 2 58.036 2 47.591 2 38.37 4.023 30.347 8.06c-8.015 4.032-14.457 9.578-19.352 16.654-4.492 6.493-7.389 13.803-8.693 21.952h34.055c1.236-3.52 3.398-6.52 6.459-8.97 3.54-2.834 8.277-4.224 14.147-4.224 5.93 0 10.552 1.537 13.76 4.681 3.181 3.12 4.791 7.024 4.791 11.594 0 4.151-1.16 7.934-3.468 11.298-2.192 3.194-5.987 7.124-11.405 11.84L3.72 122.465V152z"},null,-1)]))):e.index==3?(a(),c("svg",rn,t[2]||(t[2]=[s("path",{stroke:"#595959","stroke-linejoin":"square","stroke-width":"4",d:"M3.809 41.577h33.243c1.3-2.702 3.545-4.947 6.674-6.72 3.554-2.015 7.83-3.01 12.798-3.01 5.555 0 10.14 1.11 13.723 3.376 3.839 2.427 5.782 6.283 5.782 11.315 0 4.553-1.853 8.395-5.473 11.38-3.547 2.926-8.18 4.37-13.821 4.37H41.44v28.366h16.77c5.572 0 10.275 1.227 14.068 3.711 4.02 2.633 6.071 6.581 6.071 11.616 0 5.705-1.943 9.975-5.853 12.562-3.658 2.42-8.292 3.61-13.863 3.61-5.205 0-9.82-.94-13.827-2.836-3.698-1.75-6.32-4.272-7.785-7.529H2.33c2.096 12.089 7.761 21.65 17.028 28.78C29.242 148.175 42.594 152 59.476 152c10.706 0 20.175-1.783 28.42-5.337 8.185-3.528 14.575-8.486 19.208-14.884 4.595-6.346 6.896-13.938 6.896-22.837 0-6.952-1.93-13.494-5.81-19.666-3.815-6.07-9.68-10.367-17.683-12.908l-5.46-1.735 5.353-2.04c6.659-2.538 11.667-6.338 15.083-11.412 3.431-5.096 5.142-10.806 5.142-17.181 0-8.471-2.262-15.778-6.787-21.985-4.574-6.275-10.7-11.17-18.408-14.696C77.683 3.775 69.109 2 59.687 2 44.084 2 31.515 5.816 21.91 13.415c-9 7.119-15.025 16.486-18.101 28.162z"},null,-1)]))):e.index==4?(a(),c("svg",sn,t[3]||(t[3]=[s("path",{stroke:"#595959","stroke-linejoin":"square","stroke-width":"4",d:"M72 152h35.333v-30.977H128V92.497h-20.667V2H69.89L2 92.712v28.311h70V152zM36.202 92.188l35.93-47.998v47.998h-35.93z"},null,-1)]))):e.index==5?(a(),c("svg",ln,t[4]||(t[4]=[s("path",{stroke:"#595959","stroke-linejoin":"square","stroke-width":"4",d:"M105.588 32.174V2H13.534l-8.3 88.357h32.463c2.145-2.362 4.866-4.254 8.143-5.675 3.585-1.554 7.543-2.328 11.859-2.328 6.247 0 11.418 1.745 15.418 5.255 4.061 3.564 6.104 8.37 6.104 14.265 0 6.041-2.044 10.89-6.121 14.387-3.999 3.43-9.162 5.132-15.401 5.132-4.299 0-8.17-.694-11.601-2.095-3.11-1.268-5.577-2.946-7.368-5.042H2.592c3.308 11.593 9.782 20.623 19.46 27.164C32.472 148.464 45.64 152 61.602 152c10.12 0 19.294-1.99 27.548-5.966 8.198-3.949 14.711-9.718 19.572-17.335 4.844-7.59 7.278-16.95 7.278-28.123 0-9.182-2.013-17.314-6.032-24.431-4.02-7.118-9.514-12.7-16.51-16.775-6.99-4.072-14.849-6.109-23.612-6.109-11.06 0-20.099 3.483-27.234 10.461l-3.892 3.806 3.273-35.354h63.595z"},null,-1)]))):e.index==6?(a(),c("svg",an,t[5]||(t[5]=[s("path",{stroke:"#595959","stroke-linejoin":"square","stroke-width":"4",d:"M79.482 38.192h35.551c-3.284-10.945-8.963-19.573-17.048-25.938C89.323 5.434 77.531 2 62.545 2 50.756 2 40.35 4.86 31.277 10.577c-9.064 5.712-16.198 14.09-21.412 25.178C4.63 46.893 2 60.425 2 76.365c0 14.416 2.356 27.344 7.059 38.798 4.667 11.368 11.573 20.34 20.734 26.956C38.904 148.7 50.225 152 63.816 152a61.513 61.513 0 0019.922-3.278 53.546 53.546 0 0017.378-9.792c5.154-4.33 9.255-9.64 12.314-15.947 3.042-6.273 4.57-13.556 4.57-21.868 0-8.812-2.062-16.636-6.182-23.51-4.134-6.897-9.643-12.293-16.55-16.212-6.905-3.917-14.48-5.874-22.76-5.874-14.546 0-25.34 4.55-32.569 13.63l-4.003 5.03.443-6.413c.874-12.636 3.56-21.85 8.168-27.654 4.69-5.907 10.885-8.9 18.421-8.9 4.26 0 7.826.734 10.685 2.24 2.445 1.287 4.396 2.867 5.829 4.74zM62.605 123c-5.825 0-10.902-1.894-15.136-5.655C43.173 113.528 41 108.603 41 102.71c0-5.881 2.164-10.864 6.44-14.818C51.674 83.975 56.762 82 62.604 82c5.847 0 10.906 1.98 15.074 5.905C81.878 91.859 84 96.837 84 102.71c0 5.885-2.131 10.805-6.35 14.622-4.167 3.77-9.214 5.668-15.045 5.668z"},null,-1)]))):e.index==7?(a(),c("svg",un,t[6]||(t[6]=[s("path",{stroke:"#595959","stroke-width":"4",d:"M113,2 L2,2 L2,33.4022989 L75.9665929,33.4022989 L21.22571,152 L60.28102,152 L113,32.7672283 L113,2 Z","stroke-linejoin":"square"},null,-1)]))):e.index==8?(a(),c("svg",cn,t[7]||(t[7]=[s("path",{stroke:"#595959","stroke-linejoin":"square","stroke-width":"4",d:"M59.5 152c11.335 0 21.358-1.72 30.077-5.15 8.637-3.397 15.361-8.258 20.213-14.586 4.805-6.267 7.21-13.876 7.21-22.899 0-7.326-2.261-14.07-6.813-20.29-4.548-6.214-10.837-10.658-18.922-13.35l-5.4-1.799 5.338-1.975c7.238-2.678 12.572-6.683 16.066-12.018 3.53-5.388 5.284-11.178 5.284-17.414 0-7.912-2.133-14.839-6.405-20.84-4.3-6.042-10.403-10.825-18.345-14.351C79.816 3.78 70.386 2 59.5 2S39.184 3.781 31.197 7.328c-7.942 3.526-14.044 8.309-18.345 14.351-4.272 6.001-6.405 12.928-6.405 20.84 0 6.236 1.755 12.026 5.284 17.414 3.494 5.335 8.828 9.34 16.066 12.018l5.338 1.975-5.4 1.798c-8.085 2.693-14.374 7.137-18.922 13.351C4.261 95.295 2 102.04 2 109.365c0 9.023 2.405 16.632 7.21 22.899 4.852 6.328 11.576 11.19 20.213 14.586 8.72 3.43 18.742 5.15 30.077 5.15zm.5-89c-5.6 0-10.334-1.515-14.125-4.56C41.985 55.313 40 51.183 40 46.21c0-5.244 1.976-9.518 5.875-12.65C49.666 30.515 54.4 29 60 29s10.334 1.515 14.125 4.56C78.025 36.694 80 40.968 80 46.212c0 4.973-1.985 9.103-5.875 12.228C70.334 61.485 65.6 63 60 63zm-.5 62c-6.255 0-11.556-1.613-15.836-4.856-4.41-3.343-6.664-7.816-6.664-13.25 0-5.298 2.258-9.698 6.664-13.038C47.944 90.613 53.245 89 59.5 89c6.255 0 11.556 1.613 15.836 4.856 4.406 3.34 6.664 7.74 6.664 13.038 0 5.434-2.254 9.907-6.664 13.25C71.056 123.387 65.755 125 59.5 125z"},null,-1)]))):e.index==9?(a(),c("svg",dn,t[8]||(t[8]=[s("path",{stroke:"#595959","stroke-width":"4",d:"M40.0597376,115.807692 L4.47328474,115.807692 C7.45109332,126.586242 13.4362856,135.15497 22.4670906,141.582071 C32.2129251,148.518048 44.5640134,152 59.5759717,152 C78.2141671,152 92.5105725,145.697944 102.6454,133.074799 C112.853557,120.360322 118,101.543854 118,76.5769231 C118,62.1603327 115.678843,49.3016297 111.046669,37.9886125 C106.453069,26.7698049 99.6241767,17.9802976 90.5435117,11.5767831 C81.5017862,5.20072813 70.1375399,2 56.3957597,2 C49.4158116,2 42.68229,3.15952329 36.1849549,5.47966815 C29.7045526,7.79376647 23.8782903,11.1932931 18.6948526,15.6846002 C13.5316746,20.1583529 9.45923583,25.508367 6.46782377,31.7491046 C3.4928156,37.95562 2,45.0644366 2,53.0961538 C2,61.9117395 4.02797967,69.7019439 8.0788911,76.5056791 C12.1434539,83.3323424 17.5832537,88.6925139 24.4218542,92.6108203 C31.2518358,96.5241882 38.8590885,98.4807692 47.2791519,98.4807692 C55.0853554,98.4807692 61.6095996,97.3619306 66.8547126,95.1478231 C72.0569983,92.9517941 76.4513169,89.5970183 80.0605818,85.0622151 L84.0584687,80.039134 L83.6207883,86.4440446 C82.74746,99.2241219 80.0984349,108.438199 75.5533003,114.10687 C70.9310132,119.871766 64.7726909,122.788462 57.2438163,122.788462 C52.8691399,122.788462 49.1904302,122.100251 46.212535,120.692834 C43.5930338,119.454801 41.5307848,117.825945 40.0597376,115.807692 Z M57.5,31 C63.3657106,31 68.4419893,32.9364861 72.6299874,36.7826253 C76.8609583,40.6682294 79,45.6186068 79,51.5 C79,57.3813932 76.8609583,62.3317706 72.6299874,66.2173747 C68.4419893,70.0635139 63.3657106,72 57.5,72 C51.6342894,72 46.5580107,70.0635139 42.3700126,66.2173747 C38.1390417,62.3317706 36,57.3813932 36,51.5 C36,45.6186068 38.1390417,40.6682294 42.3700126,36.7826253 C46.5580107,32.9364861 51.6342894,31 57.5,31 Z","stroke-linejoin":"square"},null,-1)]))):e.index==10?(a(),c("svg",pn,t[9]||(t[9]=[s("path",{stroke:"#595959","stroke-linejoin":"square","stroke-width":"4",d:"M34.757 151.55h35.869V2.976L2 19.687v30.14l32.757-8.41v110.132zm105.53 3.45c12.394 0 23.097-3.12 32.163-9.353 9.093-6.25 16.11-15.047 21.066-26.43C198.5 107.766 201 94.196 201 78.5c0-15.698-2.5-29.266-7.484-40.716-4.955-11.384-11.973-20.18-21.066-26.431C163.384 5.119 152.681 2 140.287 2c-12.393 0-23.096 3.12-32.162 9.353-9.093 6.25-16.11 15.047-21.066 26.43-4.984 11.45-7.484 25.02-7.484 40.717 0 15.698 2.5 29.266 7.484 40.716 4.955 11.384 11.973 20.18 21.066 26.431 9.066 6.234 19.769 9.353 32.162 9.353zm0-31.368c-7.827 0-13.942-4.147-18.15-12.178-4.053-7.736-6.047-18.713-6.047-32.954s1.994-25.218 6.047-32.954c4.208-8.03 10.323-12.178 18.15-12.178 7.827 0 13.943 4.147 18.15 12.178 4.053 7.736 6.048 18.713 6.048 32.954s-1.995 25.218-6.047 32.954c-4.208 8.03-10.324 12.178-18.15 12.178z"},null,-1)]))):M("",!0)]))}});const zi=B(hn,[["__scopeId","data-v-8cd6c3a7"]]),fn={class:"progress"},mn={class:"progress-bar"},vn={key:0,class:"summary"},_n=O({__name:"WatchingProgress",props:{title:{},episode:{},summary:{type:Boolean}},setup(n){const e=n,t=z(()=>e.episode?{duration:e.episode.duration,minute:e.episode.history.minute}:e.title.user_watchlist),r=z(()=>Math.round(t.value.minute/t.value.duration*100));return(l,o)=>(a(),c("div",fn,[s("span",mn,[s("span",{role:"presentation",class:"progress-completed",style:U("width:"+r.value+"%;")},null,4)]),l.summary?(a(),c("span",vn,R(t.value.minute)+" di "+R(t.value.duration)+"min ",1)):M("",!0)]))}});const Pi=B(_n,[["__scopeId","data-v-e7a1f1e5"]]),gn={viewBox:"0 0 128 512",width:"0.3em",height:"1.2em"};function yn(n,e){return a(),c("svg",gn,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M64 360a56 56 0 1 0 0 112a56 56 0 1 0 0-112m0-160a56 56 0 1 0 0 112a56 56 0 1 0 0-112m56-104A56 56 0 1 0 8 96a56 56 0 1 0 112 0"},null,-1)]))}const Hi={name:"fa6-solid-ellipsis-vertical",render:yn};function wn(n){switch(n.value){case"xs":return 3;case"sm":return 5;case"md":return 4;case"lg":return 5}return 6}function bn(){const{dimension:n}=le(),e=L(6);return ve(()=>{e.value=wn(n)}),{tiles:e}}const kn={class:"slider-row"},$n={key:0,class:"row-title"},xn={class:"slider"},Cn=O({__name:"LoadingSlider",props:{noTitle:{type:Boolean},noOverflow:{type:Boolean}},setup(n){const{tiles:e}=bn();function t(r){return"animation-delay:"+r/5+"s"}return(r,l)=>(a(),c("div",kn,[r.noTitle?M("",!0):(a(),c("span",$n," \xA0 ")),s("div",xn,[(a(!0),c(V,null,oe(r.noOverflow?m(e):m(e)+1,o=>(a(),c("div",{key:o,class:"loading-title"},[s("div",{class:"boxart pulsate",style:U(t(o))},null,4)]))),128))])]))}});const Sn=B(Cn,[["__scopeId","data-v-15fdb7dd"]]);function de(){const n=K();function e(r){return t(r)||t("*")}function t(r){return n.props.auth.permissions.includes(r)}return{can:e}}const An={class:"slide-banner"},Mn={class:"slide-banner__container"},Ln=["href"],Tn=["src"],Bn={class:"info"},On={class:"title"},qn={class:"desc"},zn=["href"],Pn={class:"btn-action"},Hn=O({__name:"SlideBanner",props:{slideBanner:{}},setup(n){return(e,t)=>(a(),c("div",An,[s("div",Mn,[s("a",{href:e.slideBanner.link,target:"_blank",class:"image"},[s("img",{src:e.slideBanner.image_url},null,8,Tn)],8,Ln),s("div",Bn,[s("span",On,R(e.slideBanner.title),1),s("p",qn,[e.slideBanner.desc!="."?(a(),c(V,{key:0},[S(R(e.slideBanner.desc),1)],64)):M("",!0)]),s("a",{href:e.slideBanner.link,target:"_blank"},[s("button",Pn,R(e.slideBanner.button),1)],8,zn)])])]))}});const Ue=B(Hn,[["__scopeId","data-v-47ce9acc"]]),Vi=O({__name:"ScrollSliders",props:{sliders:{},type:{},slideBanners:{}},setup(n){const e=_e(()=>ee(()=>import("./sliders.9670aeb9.js").then(v=>v.T),["assets/sliders.9670aeb9.js","assets/vendor.95c29ec7.js","assets/titles.e67b5ee6.js","assets/ssr.3e361edf.js","assets/ssr.e883fa96.css","assets/titles.48362104.css","assets/sliders.7b88e8b8.css"])),t=n,r=z(()=>o("bypass.ads")?t.slideBanners.filter(v=>v.is_ad==!1):t.slideBanners),l=K(),{can:o}=de(),i=Ke(Ye({unloadedSliders:[],loadedSliders:[],index:0,isFull:!1,firstScroll:!1}),"scrollData-"+l.component),d=L(!1);G(()=>{i.unloadedSliders.length>0||u()});const p=L(null);G(()=>{p.value=setTimeout(()=>{window.addEventListener("scroll",f)},500)}),ue(()=>{clearTimeout(p.value),window.removeEventListener("scroll",f)});function u(){t.sliders.forEach(v=>{v=="genres"?g():w(v)})}const f=Le(v=>{const y=document.querySelector("html"),$=y.scrollHeight-y.clientHeight-250,_=y.scrollTop;i.firstScroll||(h(3),i.firstScroll=!0),!(d.value||i.isFull)&&_>=$&&h(6)},100);function h(v){d.value=!0;const y=i.index;he.post(route("api.sliders.fetch"),{sliders:i.unloadedSliders.slice(y,y+v)}).then($=>{const _=$.data;d.value=!1,i.index+=v,b(_)})}function b(v){i.loadedSliders.push(...v);const y=i.unloadedSliders.length;i.index>=y&&(i.isFull=!0)}function g(){l.props.genres.slice(0).sort(function(){return .5-Math.random()}).forEach(v=>{w("genre",v.name)})}function w(v,y=null){i.unloadedSliders.push({name:v,title_type:t.type,genre:y})}return(v,y)=>(a(),c("div",null,[m(i).loadedSliders.length>0?(a(!0),c(V,{key:0},oe(m(i).loadedSliders,($,_)=>(a(),c(V,{key:$.label},[(a(),P(Je,null,{fallback:x(()=>[(a(),P(lt,{key:$.label,slider:$},null,8,["slider"]))]),default:x(()=>[(a(),P(m(e),{key:$.label,slider:$},null,8,["slider"]))]),_:2},1024)),_%5==0?(a(),c(V,{key:0},[r.value[_/5]?(a(),P(Ue,{key:0,"slide-banner":r.value[_/5]},null,8,["slide-banner"])):M("",!0)],64)):M("",!0)],64))),128)):M("",!0),m(i).isFull?M("",!0):(a(),P(Sn,{key:1}))]))}});function Qe(){const n=K(),e=z(()=>n.props.hide_banner||!n.props.banner),t=z(()=>e.value?"0px":"28px"),r=z(()=>e.value?"0px":"40px");return{bannerHeight:t,bannerHeightXS:r,isBannerHidden:e}}const Vn={viewBox:"0 0 448 512",width:"1.06em",height:"1.2em"};function En(n,e){return a(),c("svg",Vn,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M432 256c0 17.7-14.3 32-32 32H48c-17.7 0-32-14.3-32-32s14.3-32 32-32h352c17.7 0 32 14.3 32 32"},null,-1)]))}const Ei={name:"fa6-solid-minus",render:En},jn={viewBox:"0 0 320 512",width:"0.76em",height:"1.2em"};function Dn(n,e){return a(),c("svg",jn,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256L73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z"},null,-1)]))}const ji={name:"fa6-solid-angle-right",render:Dn};const Fn={},Rn={class:"loading-spinner"};function In(n,e){return a(),c("div",Rn)}const Di=B(Fn,[["render",In],["__scopeId","data-v-6b7aa49f"]]),Nn=O({__name:"SlideBannerLanding",props:{slideBanner:{}},setup(n){return(e,t)=>(a(),c("div",null,[k(Ue,{"slide-banner":e.slideBanner},null,8,["slide-banner"])]))}}),Fi=Object.freeze(Object.defineProperty({__proto__:null,default:Nn},Symbol.toStringTag,{value:"Module"})),Un={viewBox:"0 0 448 512",width:"1.06em",height:"1.2em"};function Qn(n,e){return a(),c("svg",Un,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M8 256a56 56 0 1 1 112 0a56 56 0 1 1-112 0m160 0a56 56 0 1 1 112 0a56 56 0 1 1-112 0m216-56a56 56 0 1 1 0 112a56 56 0 1 1 0-112"},null,-1)]))}const Ri={name:"fa6-solid-ellipsis",render:Qn},Gn=["value"],Wn=O({__name:"FormSelect",props:{modelValue:{}},emits:["update:modelValue"],setup(n,{emit:e}){const t=e,r=L(null);return G(()=>{r.value.hasAttribute("autofocus")&&r.value.focus()}),(l,o)=>(a(),c("select",{ref_key:"select",ref:r,class:"form-select",value:l.modelValue,onInput:o[0]||(o[0]=i=>t("update:modelValue",i.target.value))},[Q(l.$slots,"default",{},void 0,!0)],40,Gn))}});const Ii=B(Wn,[["__scopeId","data-v-8684e31d"]]),Xn={viewBox:"0 0 1600 1472",width:"1.31em",height:"1.2em"};function Zn(n,e){return a(),c("svg",Xn,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M1579 779q0 51-37 90l-75 75q-38 38-91 38q-54 0-90-38L992 651v704q0 52-37.5 84.5T864 1472H736q-53 0-90.5-32.5T608 1355V651L314 944q-36 38-90 38t-90-38l-75-75q-38-38-38-90q0-53 38-91L710 37q35-37 90-37q54 0 91 37l651 651q37 39 37 91"},null,-1)]))}const Ni={name:"fa-arrow-up",render:Zn},Kn={key:0},Yn={class:"pagination"},Jn={key:0,class:"page-link page-link--disabled"},eo=O({__name:"Pagination",props:{links:{},simple:{type:Boolean},preserveScroll:{type:Boolean}},setup(n){const e=n,{isSSR:t}=le();function r(o){return e.simple?o<1||o==e.links.length-1:!0}function l(o){if(t.value)return o;const i=new URL(o);i.protocol=location.protocol,i.hostname=location.hostname,i.pathname=location.pathname;const d=window.location.search;return new URLSearchParams(d).forEach((u,f)=>{i.searchParams.has(f)||i.searchParams.append(f,u)}),i.toString()}return(o,i)=>o.links.length>3?(a(),c("div",Kn,[s("div",Yn,[(a(!0),c(V,null,oe(o.links,(d,p)=>(a(),c(V,{key:p},[r(p)?(a(),c(V,{key:0},[d.url==null?(a(),c("div",Jn,R(d.label),1)):(a(),P(m(T),{key:1,class:F(["page-link",{"page-link--active":d.active}]),href:l(d.url),"preserve-scroll":o.preserveScroll},{default:x(()=>[S(R(d.label),1)]),_:2},1032,["class","href","preserve-scroll"]))],64)):M("",!0)],64))),128))])])):M("",!0)}});const Ui=B(eo,[["__scopeId","data-v-e766544e"]]),to={class:"preamium-feature"},no={class:"btn-wrap"},oo=O({__name:"PremiumFeatureDialog",props:{show:{type:Boolean}},emits:["close"],setup(n,{emit:e}){const t=e;return(r,l)=>(a(),P(Ie,{show:r.show,"max-width":"450px",centered:"","title-border":"none",onClose:l[0]||(l[0]=o=>t("close"))},{title:x(()=>l[1]||(l[1]=[s("div",{class:"title"}," Premium ",-1)])),content:x(()=>[s("div",to,[l[3]||(l[3]=s("div",{class:"text"},[S(" Hai scoperto una feature premium! "),s("p",{style:{"margin-top":"5px"}}," - Streaming in Full HD "),s("p",null," - Scarica film e serie "),s("p",null," - Richiedi titoli "),s("p",null," - Rimuovi le pubblicit\xE0 ")],-1)),s("div",no,[k(m(T),{href:r.route("premium"),class:"premium-btn"},{default:x(()=>l[2]||(l[2]=[S(" Vedi piani ")])),_:1},8,["href"])])])]),_:1},8,["show"]))}});const ro=B(oo,[["__scopeId","data-v-a2ceff2e"]]),so={viewBox:"0 0 20 20",width:"1.2em",height:"1.2em"};function io(n,e){return a(),c("svg",so,e[0]||(e[0]=[s("path",{fill:"currentColor","fill-rule":"evenodd",d:"M8 4a4 4 0 1 0 0 8a4 4 0 0 0 0-8M2 8a6 6 0 1 1 10.89 3.476l4.817 4.817a1 1 0 0 1-1.414 1.414l-4.816-4.816A6 6 0 0 1 2 8","clip-rule":"evenodd"},null,-1)]))}const qe={name:"heroicons-solid-search",render:io},lo=[{value:"tv",name:"Serie TV"},{value:"movie",name:"Film"}],ze=new Date().getFullYear(),ao=Array.from({length:ze-1910},(n,e)=>{const t=ze-e;if(t>2e3)return{value:t,name:String(t)};{const r=Math.floor(t/10)*10;return{value:r,name:String(r)}}}).filter((n,e,t)=>e===t.findIndex(r=>r.value===n.value)),uo=Array.from({length:10},(n,e)=>{const t=e+1;return{value:t,name:String(t)}}),co=[{value:1e4,name:"25k+"},{value:5e4,name:"50k+"},{value:75e3,name:"75k+"},{value:1e5,name:"100k+"},{value:25e4,name:"250k+"},{value:5e5,name:"500k+"},{value:1e6,name:"1M+"},{value:2e6,name:"2M+"},{value:5e6,name:"5M+"},{value:1e7,name:"10M+"}],po=[{value:"netflix",name:"Netflix"},{value:"prime",name:"PrimeVideo"},{value:"disney",name:"Disney+"},{value:"apple",name:"AppleTV+"},{value:"now",name:"NowTV"}],ho=[{value:"HD",name:"HD"},{value:"SD",name:"SD"},{value:"TS",name:"TS"},{value:"CAM",name:"CAM"}],fo=[{value:7,name:"7+"},{value:12,name:"12+"},{value:14,name:"14+"},{value:16,name:"16+"},{value:18,name:"18+"}],mo=[{key:"type",label:"Tipo"},{key:"genre",label:"Genere",isMulti:!0},{key:"year",label:"Anno"},{key:"score",label:"Valutazione"},{key:"views",label:"Views"},{key:"service",label:"Servizio"},{key:"quality",label:"Qualit\xE0"},{key:"age",label:"Et\xE0"}];function Qi(n){const t={genre:n==null?void 0:n.map(l=>({value:l.id,name:l.name})),type:lo,year:ao,score:uo,views:co,service:po,quality:ho,age:fo};function r(l){const o=window.location.search;new URLSearchParams(o).forEach((d,p)=>{const u=t[p.replace("[]","")];if(p==="search"||p==="sort"){l[p]=d;return}if(!u)return;const f=u.find(h=>h.value==d);p==="genre[]"?l.genre.push(f):l[p]=f})}return{filterOptions:t,filterSelects:mo,parseFiltersFromUrl:r}}const vo={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function _o(n,e){return a(),c("svg",vo,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M12 22q-2.075 0-3.9-.788t-3.175-2.137T2.788 15.9T2 12t.788-3.9t2.137-3.175T8.1 2.788T12 2t3.9.788t3.175 2.137T21.213 8.1T22 12t-.788 3.9t-2.137 3.175t-3.175 2.138T12 22m0-2q3.35 0 5.675-2.325T20 12t-2.325-5.675T12 4T6.325 6.325T4 12t2.325 5.675T12 20m0-8"},null,-1)]))}const Gi={name:"material-symbols-circle-outline",render:_o},go={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function yo(n,e){return a(),c("svg",go,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"m10.6 13.8l-2.15-2.15q-.275-.275-.7-.275t-.7.275t-.275.7t.275.7L9.9 15.9q.3.3.7.3t.7-.3l5.65-5.65q.275-.275.275-.7t-.275-.7t-.7-.275t-.7.275zM12 22q-2.075 0-3.9-.788t-3.175-2.137T2.788 15.9T2 12t.788-3.9t2.137-3.175T8.1 2.788T12 2t3.9.788t3.175 2.137T21.213 8.1T22 12t-.788 3.9t-2.137 3.175t-3.175 2.138T12 22"},null,-1)]))}const Wi={name:"material-symbols-check-circle-rounded",render:yo},wo={viewBox:"0 0 16 16",width:"1.2em",height:"1.2em"};function bo(n,e){return a(),c("svg",wo,e[0]||(e[0]=[s("path",{fill:"currentColor","fill-rule":"evenodd",d:"M2 3.75A.75.75 0 0 1 2.75 3h10.5a.75.75 0 0 1 0 1.5H2.75A.75.75 0 0 1 2 3.75M2 8a.75.75 0 0 1 .75-.75h10.5a.75.75 0 0 1 0 1.5H2.75A.75.75 0 0 1 2 8m0 4.25a.75.75 0 0 1 .75-.75h10.5a.75.75 0 0 1 0 1.5H2.75a.75.75 0 0 1-.75-.75","clip-rule":"evenodd"},null,-1)]))}const Xi={name:"heroicons-bars-3-16-solid",render:bo},ko={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function $o(n,e){return a(),c("svg",ko,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"m12 16l-5-5l1.4-1.45l2.6 2.6V4h2v8.15l2.6-2.6L17 11zm-6 4q-.825 0-1.412-.587T4 18v-3h2v3h12v-3h2v3q0 .825-.587 1.413T18 20z"},null,-1)]))}const xo={name:"material-symbols-download",render:$o},Co=O({__name:"DownloadButton",props:{title:{},episode:{},redirectToEpisodes:{type:Boolean}},setup(n){const e=_e(()=>ee(()=>import("./premium.79d607d3.js").then(u=>u.D),["assets/premium.79d607d3.js","assets/vendor.95c29ec7.js","assets/premium.5f06ddfe.css"])),t=n;de();const r=L(!1),l=L(!1),o=L(null),{pushAlert:i}=ce();function d(){if(t.redirectToEpisodes){document.querySelector(".season-selector").scrollIntoView();return}let u=t.title.scws_id;t.episode&&(u=t.episode.scws_id),he.get(route("api.video_info",u)).then(f=>{o.value=f.data,r.value=!0}).catch(f=>{f&&i("Video non disponibile",!0)})}function p(){i("Hai raggiunto il limite giornaliero di download",!0)}return(u,f)=>(a(),c(V,null,[s("div",{class:"download-btn",onClick:d},[k(m(xo),{class:"download-icon"}),Q(u.$slots,"default",{},void 0,!0)]),r.value?(a(),P(m(e),{key:0,show:r.value,video:o.value,onClose:f[0]||(f[0]=h=>r.value=!1),onDownloadquota:p},null,8,["show","video"])):M("",!0),l.value?(a(),P(ro,{key:1,show:l.value,onClose:f[1]||(f[1]=h=>l.value=!1)},null,8,["show"])):M("",!0)],64))}});const Zi=B(Co,[["__scopeId","data-v-753d0458"]]),So={viewBox:"0 0 576 512",width:"1.36em",height:"1.2em"};function Ao(n,e){return a(),c("svg",So,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M316.9 18c-5.3-11-16.5-18-28.8-18s-23.4 7-28.8 18L195 150.3L51.4 171.5c-12 1.8-22 10.2-25.7 21.7s-.7 24.2 7.9 32.7L137.8 329l-24.6 145.7c-2 12 3 24.2 12.9 31.3s23 8 33.8 2.3l128.3-68.5l128.3 68.5c10.8 5.7 23.9 4.9 33.8-2.3s14.9-19.3 12.9-31.3L438.5 329l104.2-103.1c8.6-8.5 11.7-21.2 7.9-32.7s-13.7-19.9-25.7-21.7l-143.7-21.2z"},null,-1)]))}const Ki={name:"fa6-solid-star",render:Ao},Mo={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function Lo(n,e){return a(),c("svg",Mo,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M17 13H7v-2h10m-5-9A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2"},null,-1)]))}const Yi={name:"mdi-minus-circle",render:Lo},To={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function Bo(n,e){return a(),c("svg",To,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"m8.85 16.825l3.15-1.9l3.15 1.925l-.825-3.6l2.775-2.4l-3.65-.325l-1.45-3.4l-1.45 3.375l-3.65.325l2.775 2.425zM5.825 21l1.625-7.025L2 9.25l7.2-.625L12 2l2.8 6.625l7.2.625l-5.45 4.725L18.175 21L12 17.275zM12 12.25"},null,-1)]))}const Ji={name:"material-symbols-star-outline",render:Bo},Oo={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function qo(n,e){return a(),c("svg",Oo,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"m5.825 21l1.625-7.025L2 9.25l7.2-.625L12 2l2.8 6.625l7.2.625l-5.45 4.725L18.175 21L12 17.275z"},null,-1)]))}const el={name:"material-symbols-star",render:qo},zo={viewBox:"0 0 448 512",width:"1.06em",height:"1.2em"};function Po(n,e){return a(),c("svg",zo,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M352 224c53 0 96-43 96-96s-43-96-96-96s-96 43-96 96c0 4 .2 8 .7 11.9l-94.1 47C145.4 170.2 121.9 160 96 160c-53 0-96 43-96 96s43 96 96 96c25.9 0 49.4-10.2 66.6-26.9l94.1 47c-.5 3.9-.7 7.8-.7 11.9c0 53 43 96 96 96s96-43 96-96s-43-96-96-96c-25.9 0-49.4 10.2-66.6 26.9l-94.1-47c.5-3.9.7-7.8.7-11.9s-.2-8-.7-11.9l94.1-47c17.2 16.7 40.7 26.9 66.6 26.9"},null,-1)]))}const tl={name:"fa6-solid-share-nodes",render:Po},Ho={class:"trigger-btn"},Vo=["onClick"],Eo=O({__name:"ActionsMenuMobile",props:{actions:{}},setup(n){const e=L(!1),t=L(!1);G(()=>{window.addEventListener("click",o)}),ue(()=>{window.removeEventListener("click",o)});function r(){if(e.value){l();return}e.value=!0,setTimeout(()=>t.value=!0,25)}function l(){t.value=!1,setTimeout(()=>e.value=!1,300)}function o(d){var p,u;e.value&&!((p=d.target)!=null&&p.closest(".actions-menu"))&&!((u=d.target)!=null&&u.closest(".trigger-btn"))&&l()}const i=z(()=>t.value?"transform: translateY(0);":"");return(d,p)=>(a(),c("div",Ho,[Q(d.$slots,"trigger",{toggle:r},void 0,!0),(a(),P(Se,{to:"body"},[ne(s("div",{class:"actions-menu",style:U(i.value)},[(a(!0),c(V,null,oe(d.actions,u=>(a(),c(V,{key:u.name},[!u.hasOwnProperty("show")||u.show?(a(),c("div",{key:0,class:"menu-item",onClick:u.onclick},[u.icon?(a(),P(et(u.icon),{key:0})):M("",!0),S(" "+R(u.name),1)],8,Vo)):M("",!0)],64))),128))],4),[[re,e.value]])]))]))}});const nl=B(Eo,[["__scopeId","data-v-87ba23c2"]]),se={loadedWaiters:[],error:null},fe=L(!1),be=L(void 0);function ol(){return{instance:be,isLoaded:fe,loadRecaptcha:Do,executeRecaptcha:Ro(be),recaptchaLoaded:Fo(fe)}}async function jo(n){return await tt.load(n.siteKey,n.loaderOptions)}function Do(n){fe.value||jo(n).then(e=>{fe.value=!0,be.value=e,se.loadedWaiters.forEach(t=>t.resolve(!0))}).catch(e=>{se.error=e,se.loadedWaiters.forEach(t=>t.reject(e))})}function Fo(n){return()=>new Promise((e,t)=>{if(se.error!==null)return t(se.error);if(n.value)return e(!0);se.loadedWaiters.push({resolve:e,reject:t})})}function Ro(n){return async e=>{var t;return await((t=n.value)==null?void 0:t.execute(e))}}const Io={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function No(n,e){return a(),c("svg",Io,e[0]||(e[0]=[s("path",{d:"M12 5c-7.633 0-9.927 6.617-9.948 6.684L1.946 12l.105.316C2.073 12.383 4.367 19 12 19s9.927-6.617 9.948-6.684l.106-.316l-.105-.316C21.927 11.617 19.633 5 12 5zm0 11c-2.206 0-4-1.794-4-4s1.794-4 4-4s4 1.794 4 4s-1.794 4-4 4z",fill:"currentColor"},null,-1),s("path",{d:"M12 10c-1.084 0-2 .916-2 2s.916 2 2 2s2-.916 2-2s-.916-2-2-2z",fill:"currentColor"},null,-1)]))}const rl={name:"bx-bxs-show",render:No},Uo={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function Qo(n,e){return a(),c("svg",Uo,e[0]||(e[0]=[s("path",{d:"M8.073 12.194L4.212 8.333c-1.52 1.657-2.096 3.317-2.106 3.351L2 12l.105.316C2.127 12.383 4.421 19 12.054 19c.929 0 1.775-.102 2.552-.273l-2.746-2.746a3.987 3.987 0 0 1-3.787-3.787zM12.054 5c-1.855 0-3.375.404-4.642.998L3.707 2.293L2.293 3.707l18 18l1.414-1.414l-3.298-3.298c2.638-1.953 3.579-4.637 3.593-4.679l.105-.316l-.105-.316C21.98 11.617 19.687 5 12.054 5zm1.906 7.546c.187-.677.028-1.439-.492-1.96s-1.283-.679-1.96-.492L10 8.586A3.955 3.955 0 0 1 12.054 8c2.206 0 4 1.794 4 4a3.94 3.94 0 0 1-.587 2.053l-1.507-1.507z",fill:"currentColor"},null,-1)]))}const sl={name:"bx-bxs-hide",render:Qo};function Pe(n,e){for(var t=0;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}()?Reflect.construct.bind():function(r,l,o){var i=[null];i.push.apply(i,l);var d=new(Function.bind.apply(r,i));return o&&ae(d,o.prototype),d},$e.apply(null,arguments)}function xe(n){var e=typeof Map=="function"?new Map:void 0;return xe=function(t){if(t===null||Function.toString.call(t).indexOf("[native code]")===-1)return t;if(typeof t!="function")throw new TypeError("Super expression must either be null or a function");if(e!==void 0){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return $e(t,arguments,ke(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),ae(r,t)},xe(n)}var Go=String.prototype.replace,Wo=/%20/g,He="RFC3986",ie={default:He,formatters:{RFC1738:function(n){return Go.call(n,Wo,"+")},RFC3986:function(n){return String(n)}},RFC1738:"RFC1738",RFC3986:He},ye=Object.prototype.hasOwnProperty,J=Array.isArray,X=function(){for(var n=[],e=0;e<256;++e)n.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return n}(),Ve=function(n,e){for(var t=e&&e.plainObjects?Object.create(null):{},r=0;r1;){var h=f.pop(),b=h.obj[h.prop];if(J(b)){for(var g=[],w=0;w=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||l===ie.RFC1738&&(p===40||p===41)?i+=o.charAt(d):p<128?i+=X[p]:p<2048?i+=X[192|p>>6]+X[128|63&p]:p<55296||p>=57344?i+=X[224|p>>12]+X[128|p>>6&63]+X[128|63&p]:(p=65536+((1023&p)<<10|1023&o.charCodeAt(d+=1)),i+=X[240|p>>18]+X[128|p>>12&63]+X[128|p>>6&63]+X[128|63&p])}return i},isBuffer:function(n){return!(!n||typeof n!="object"||!(n.constructor&&n.constructor.isBuffer&&n.constructor.isBuffer(n)))},isRegExp:function(n){return Object.prototype.toString.call(n)==="[object RegExp]"},maybeMap:function(n,e){if(J(n)){for(var t=[],r=0;r0?y.join(",")||null:void 0}];else if(te(d))C=d;else{var E=Object.keys(y);C=p?E.sort(p):E}for(var Y=0;Y-1?n.split(","):n},nr=function(n,e,t,r){if(n){var l=t.allowDots?n.replace(/\.([^.[]+)/g,"[$1]"):n,o=/(\[[^[\]]*])/g,i=t.depth>0&&/(\[[^[\]]*])/.exec(l),d=i?l.slice(0,i.index):l,p=[];if(d){if(!t.plainObjects&&Ce.call(Object.prototype,d)&&!t.allowPrototypes)return;p.push(d)}for(var u=0;t.depth>0&&(i=o.exec(l))!==null&&u=0;--v){var y,$=f[v];if($==="[]"&&b.parseArrays)y=[].concat(w);else{y=b.plainObjects?Object.create(null):{};var _=$.charAt(0)==="["&&$.charAt($.length-1)==="]"?$.slice(1,-1):$,q=parseInt(_,10);b.parseArrays||_!==""?!isNaN(q)&&$!==_&&String(q)===_&&q>=0&&b.parseArrays&&q<=b.arrayLimit?(y=[])[q]=w:_!=="__proto__"&&(y[_]=w):y={0:w}}w=y}return w}(p,e,t,r)}},or=function(n,e){var t=function(u){if(!u)return j;if(u.decoder!=null&&typeof u.decoder!="function")throw new TypeError("Decoder has to be a function.");if(u.charset!==void 0&&u.charset!=="utf-8"&&u.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");return{allowDots:u.allowDots===void 0?j.allowDots:!!u.allowDots,allowPrototypes:typeof u.allowPrototypes=="boolean"?u.allowPrototypes:j.allowPrototypes,arrayLimit:typeof u.arrayLimit=="number"?u.arrayLimit:j.arrayLimit,charset:u.charset===void 0?j.charset:u.charset,charsetSentinel:typeof u.charsetSentinel=="boolean"?u.charsetSentinel:j.charsetSentinel,comma:typeof u.comma=="boolean"?u.comma:j.comma,decoder:typeof u.decoder=="function"?u.decoder:j.decoder,delimiter:typeof u.delimiter=="string"||Z.isRegExp(u.delimiter)?u.delimiter:j.delimiter,depth:typeof u.depth=="number"||u.depth===!1?+u.depth:j.depth,ignoreQueryPrefix:u.ignoreQueryPrefix===!0,interpretNumericEntities:typeof u.interpretNumericEntities=="boolean"?u.interpretNumericEntities:j.interpretNumericEntities,parameterLimit:typeof u.parameterLimit=="number"?u.parameterLimit:j.parameterLimit,parseArrays:u.parseArrays!==!1,plainObjects:typeof u.plainObjects=="boolean"?u.plainObjects:j.plainObjects,strictNullHandling:typeof u.strictNullHandling=="boolean"?u.strictNullHandling:j.strictNullHandling}}(e);if(n===""||n==null)return t.plainObjects?Object.create(null):{};for(var r=typeof n=="string"?function(u,f){var h,b={},g=(f.ignoreQueryPrefix?u.replace(/^\?/,""):u).split(f.delimiter,f.parameterLimit===1/0?void 0:f.parameterLimit),w=-1,v=f.charset;if(f.charsetSentinel)for(h=0;h-1&&($=er($)?[$]:$),b[y]=Ce.call(b,y)?Z.combine(b[y],$):$}return b}(n,t):n,l=t.plainObjects?Object.create(null):{},o=Object.keys(r),i=0;i"+(((w=r.wheres[b])==null?void 0:w.replace(/(^\^)|(\$$)/g,""))||"[^/?]+")+")";return g?"("+h+v+")?":""+h+v}).replace(/^\w+:\/\//,""),o=t.replace(/^\w+:\/\//,"").split("?"),i=o[0],d=o[1],p=new RegExp("^"+l+"/?$").exec(decodeURI(i));if(p){for(var u in p.groups)p.groups[u]=typeof p.groups[u]=="string"?decodeURIComponent(p.groups[u]):p.groups[u];return{params:p.groups,query:or(d)}}return!1},e.compile=function(t){var r=this;return this.parameterSegments.length?this.template.replace(/{([^}?]+)(\??)}/g,function(l,o,i){var d,p;if(!i&&[null,void 0].includes(t[o]))throw new Error("Ziggy error: '"+o+"' parameter is required for route '"+r.name+"'.");if(r.wheres[o]&&!new RegExp("^"+(i?"("+r.wheres[o]+")?":r.wheres[o])+"$").test((p=t[o])!=null?p:""))throw new Error("Ziggy error: '"+o+"' parameter does not match required format '"+r.wheres[o]+"' for route '"+r.name+"'.");return encodeURI((d=t[o])!=null?d:"").replace(/%7C/g,"|").replace(/%25/g,"%").replace(/\$/g,"%24")}).replace(this.origin+"//",this.origin+"/").replace(/\/+$/,""):this.template},Ge(n,[{key:"template",get:function(){var t=(this.origin+"/"+this.definition.uri).replace(/\/+$/,"");return t===""?"/":t}},{key:"origin",get:function(){return this.config.absolute?this.definition.domain?""+this.config.url.match(/^\w+:\/\//)[0]+this.definition.domain+(this.config.port?":"+this.config.port:""):this.config.url:""}},{key:"parameterSegments",get:function(){var t,r;return(t=(r=this.template.match(/{[^}?]+\??}/g))==null?void 0:r.map(function(l){return{name:l.replace(/{|\??}/g,""),required:!/\?}$/.test(l)}}))!=null?t:[]}}]),n}(),rr=function(n){var e,t;function r(o,i,d,p){var u;if(d===void 0&&(d=!0),(u=n.call(this)||this).t=p!=null?p:typeof Ziggy<"u"?Ziggy:globalThis==null?void 0:globalThis.Ziggy,u.t=N({},u.t,{absolute:d}),o){if(!u.t.routes[o])throw new Error("Ziggy error: route '"+o+"' is not in the route list.");u.i=new we(o,u.t.routes[o],u.t),u.u=u.l(i)}return u}t=n,(e=r).prototype=Object.create(t.prototype),e.prototype.constructor=e,ae(e,t);var l=r.prototype;return l.toString=function(){var o=this,i=Object.keys(this.u).filter(function(d){return!o.i.parameterSegments.some(function(p){return p.name===d})}).filter(function(d){return d!=="_query"}).reduce(function(d,p){var u;return N({},d,((u={})[p]=o.u[p],u))},{});return this.i.compile(this.u)+function(d,p){var u,f=d,h=function(_){if(!_)return D;if(_.encoder!=null&&typeof _.encoder!="function")throw new TypeError("Encoder has to be a function.");var q=_.charset||D.charset;if(_.charset!==void 0&&_.charset!=="utf-8"&&_.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var H=ie.default;if(_.format!==void 0){if(!Xo.call(ie.formatters,_.format))throw new TypeError("Unknown format option provided.");H=_.format}var C=ie.formatters[H],A=D.filter;return(typeof _.filter=="function"||te(_.filter))&&(A=_.filter),{addQueryPrefix:typeof _.addQueryPrefix=="boolean"?_.addQueryPrefix:D.addQueryPrefix,allowDots:_.allowDots===void 0?D.allowDots:!!_.allowDots,charset:q,charsetSentinel:typeof _.charsetSentinel=="boolean"?_.charsetSentinel:D.charsetSentinel,delimiter:_.delimiter===void 0?D.delimiter:_.delimiter,encode:typeof _.encode=="boolean"?_.encode:D.encode,encoder:typeof _.encoder=="function"?_.encoder:D.encoder,encodeValuesOnly:typeof _.encodeValuesOnly=="boolean"?_.encodeValuesOnly:D.encodeValuesOnly,filter:A,format:H,formatter:C,serializeDate:typeof _.serializeDate=="function"?_.serializeDate:D.serializeDate,skipNulls:typeof _.skipNulls=="boolean"?_.skipNulls:D.skipNulls,sort:typeof _.sort=="function"?_.sort:null,strictNullHandling:typeof _.strictNullHandling=="boolean"?_.strictNullHandling:D.strictNullHandling}}(p);typeof h.filter=="function"?f=(0,h.filter)("",f):te(h.filter)&&(u=h.filter);var b=[];if(typeof f!="object"||f===null)return"";var g=Ee[p&&p.arrayFormat in Ee?p.arrayFormat:p&&"indices"in p?p.indices?"indices":"repeat":"indices"];u||(u=Object.keys(f)),h.sort&&u.sort(h.sort);for(var w=0;w0?$+y:""}(N({},i,this.u._query),{addQueryPrefix:!0,arrayFormat:"indices",encodeValuesOnly:!0,skipNulls:!0,encoder:function(d,p){return typeof d=="boolean"?Number(d):p(d)}})},l.v=function(o){var i=this;o?this.t.absolute&&o.startsWith("/")&&(o=this.p().host+o):o=this.h();var d={},p=Object.entries(this.t.routes).find(function(u){return d=new we(u[0],u[1],i.t).matchesUrl(o)})||[void 0,void 0];return N({name:p[0]},d,{route:p[1]})},l.h=function(){var o=this.p(),i=o.pathname,d=o.search;return(this.t.absolute?o.host+i:i.replace(this.t.url.replace(/^\w*:\/\/[^/]+/,""),"").replace(/^\/+/,"/"))+d},l.current=function(o,i){var d=this.v(),p=d.name,u=d.params,f=d.query,h=d.route;if(!o)return p;var b=new RegExp("^"+o.replace(/\./g,"\\.").replace(/\*/g,".*")+"$").test(p);if([null,void 0].includes(i)||!b)return b;var g=new we(p,h,this.t);i=this.l(i,g);var w=N({},u,f);return!(!Object.values(i).every(function(v){return!v})||Object.values(w).some(function(v){return v!==void 0}))||function v(y,$){return Object.entries(y).every(function(_){var q=_[0],H=_[1];return Array.isArray(H)&&Array.isArray($[q])?H.every(function(C){return $[q].includes(C)}):typeof H=="object"&&typeof $[q]=="object"&&H!==null&&$[q]!==null?v(H,$[q]):$[q]==H})}(i,w)},l.p=function(){var o,i,d,p,u,f,h=typeof window<"u"?window.location:{},b=h.host,g=h.pathname,w=h.search;return{host:(o=(i=this.t.location)==null?void 0:i.host)!=null?o:b===void 0?"":b,pathname:(d=(p=this.t.location)==null?void 0:p.pathname)!=null?d:g===void 0?"":g,search:(u=(f=this.t.location)==null?void 0:f.search)!=null?u:w===void 0?"":w}},l.has=function(o){return Object.keys(this.t.routes).includes(o)},l.l=function(o,i){var d=this;o===void 0&&(o={}),i===void 0&&(i=this.i),o!=null||(o={}),o=["string","number"].includes(typeof o)?[o]:o;var p=i.parameterSegments.filter(function(f){return!d.t.defaults[f.name]});if(Array.isArray(o))o=o.reduce(function(f,h,b){var g,w;return N({},f,p[b]?((g={})[p[b].name]=h,g):typeof h=="object"?h:((w={})[h]="",w))},{});else if(p.length===1&&!o[p[0].name]&&(o.hasOwnProperty(Object.values(i.bindings)[0])||o.hasOwnProperty("id"))){var u;(u={})[p[0].name]=o,o=u}return N({},this.g(i),this.m(o,i))},l.g=function(o){var i=this;return o.parameterSegments.filter(function(d){return i.t.defaults[d.name]}).reduce(function(d,p,u){var f,h=p.name;return N({},d,((f={})[h]=i.t.defaults[h],f))},{})},l.m=function(o,i){var d=i.bindings,p=i.parameterSegments;return Object.entries(o).reduce(function(u,f){var h,b,g=f[0],w=f[1];if(!w||typeof w!="object"||Array.isArray(w)||!p.some(function(v){return v.name===g}))return N({},u,((b={})[g]=w,b));if(!w.hasOwnProperty(d[g])){if(!w.hasOwnProperty("id"))throw new Error("Ziggy error: object passed as '"+g+"' parameter is missing route model binding key '"+d[g]+"'.");d[g]="id"}return N({},u,((h={})[g]=w[d[g]],h))},{})},l.valueOf=function(){return this.toString()},l.check=function(o){return this.has(o)},Ge(r,[{key:"params",get:function(){var o=this.v();return N({},o.params,o.query)}}]),r}(xe(String)),sr={install:function(n,e){var t=function(r,l,o,i){return i===void 0&&(i=e),function(d,p,u,f){var h=new rr(d,p,u,f);return d?h.toString():h}(r,l,o,i)};n.mixin({methods:{route:t}}),parseInt(n.version)>2&&n.provide("route",t)}};const De="StreamingCommunity";async function ir(n,e){const t=e[n];if(typeof t>"u")throw new Error(`Page not found: ${n}`);return typeof t=="function"?t():t}function lr(n,e,t){return n.then(r=>(e!="Titles/Watch"&&e!="Titles/IFrame"&&e!="SlideBannerLanding"&&(r.default.layout=[t.app]),e.startsWith("@core/Auth/")||e.startsWith("Auth/")?r.default.layout.push(t.auth):(e.startsWith("@core/Admin/")||e.startsWith("Admin/"))&&r.default.layout.push(t.admin),r.default))}function il(n,e){return{title:t=>t?`${t} - ${De}`:De,resolve:async t=>{let r=`./Pages/${t}.vue`;t.includes("@core/")&&(r=t.replace("@core/","../../core/resources/js/Pages/"),r+=".vue");const l=ir(r,n);return lr(l,t,e)},progress:{color:"#018850"},setup({el:t,App:r,props:l,plugin:o}){nt({render:()=>ot(r,l)}).use(o).use(sr,window.Ziggy).mount(t),delete t.dataset.page}}}const ar={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function ur(n,e){return a(),c("svg",ar,e[0]||(e[0]=[s("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 4h16v2.172a2 2 0 0 1-.586 1.414L15 12v7l-6 2v-8.5L4.52 7.572A2 2 0 0 1 4 6.227z"},null,-1)]))}const cr={name:"tabler-filter",render:ur},dr={key:1,class:"search-input"},pr=O({__name:"SearchBar",emits:["open","close"],setup(n,{emit:e}){const t=L(!1),r=L(null),l=L(null),o=L(null),i=e;Me(t,async(f,h)=>{f&&i("open"),f||i("close")}),G(()=>{le().isSSR.value||I.on("start",f=>{const h=f.detail.visit.url.href;!h.includes("search?q=")&&h!=l.value&&(t.value=!1,o.value="")})});function d(){t.value=!t.value,t.value&&(setTimeout(function(){r.value.focus()},100),location.href.includes("search?q=")||(l.value=location.href))}const p=Le(f=>{const h=f.target.value;if(h==""&&l.value){I.get(l.value),r.value.value="";return}if(h.length<2)return;let b={};location.href.includes("search?q=")&&(b={replace:!0}),I.get(route("search"),{q:h},b)},350),u=z(()=>{let f={};return o.value&&(f={search:o.value}),route("archive",f)});return(f,h)=>(a(),c("div",{class:"search-bar",style:U(t.value?"width:100%;":"")},[t.value?(a(),c("div",dr,[s("div",{class:"",onClick:d},[k(m(qe),{class:"search-icon"})]),ne(s("input",{ref_key:"searchInput",ref:r,"onUpdate:modelValue":h[0]||(h[0]=b=>o.value=b),type:"text",class:"",placeholder:"Cerca titolo",autocomplete:"off",tabindex:"0",onInput:h[1]||(h[1]=b=>m(p)(b))},null,544),[[rt,o.value]]),k(m(T),{class:"filter",href:u.value,as:"button"},{default:x(()=>[k(m(cr)),h[2]||(h[2]=S(" Filtra "))]),_:1},8,["href"])])):(a(),P(m(qe),{key:0,class:"search-icon",onClick:d}))],4))}});const hr=B(pr,[["__scopeId","data-v-8f7251b8"]]),fr={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function mr(n,e){return a(),c("svg",fr,e[0]||(e[0]=[s("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15 17h5l-1.405-1.405A2.03 2.03 0 0 1 18 14.158V11a6 6 0 0 0-4-5.659V5a2 2 0 1 0-4 0v.341C7.67 6.165 6 8.388 6 11v3.159c0 .538-.214 1.055-.595 1.436L4 17h5m6 0v1a3 3 0 1 1-6 0v-1m6 0H9"},null,-1)]))}const vr={name:"heroicons-outline-bell",render:mr},_r={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function gr(n,e){return a(),c("svg",_r,e[0]||(e[0]=[s("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"m4.5 19.5l15-15m-15 0l15 15"},null,-1)]))}const yr={name:"heroicons-outline-x-mark",render:gr},wr={class:"notification-bar"},br={key:0,class:"notification-badge notification-bar"},kr={class:"dropdown-content"},$r={key:0,class:"header"},xr={key:1,class:"filters"},Cr=["onClick"],Sr=["onClick"],Ar={class:"col"},Mr=["src"],Lr={class:"col right"},Tr={key:0,class:"notification-badge mini"},Br={class:"text"},Or={class:"date"},qr=O({__name:"NotificationBar",props:{showHeader:{type:Boolean,default:!0},showFilters:{type:Boolean,default:!0},linesToDisplay:{type:Number,default:4}},setup(n){const e=K(),{pushAlert:t}=ce(),{width:r,height:l}=Fe(),o=n,i=L(null),d=z(()=>{if(typeof window<"u"&&r.value<500){let C=Math.round(window.innerWidth*.08);return r.value-C+"px"}return"400px"}),p=z(()=>{let A=o.linesToDisplay;return typeof window<"u"&&(l.value<500&&(A=3),l.value<400&&(A=2)),92*A}),u=[{type:"*",title:"Tutte"},{type:"title",title:"Nuove uscite"},{type:"request",title:"Richieste"},{type:"premium",title:"Premium"},{type:"others",title:"Altro"}],f=L(["*"]),h=["auth"],b=z(()=>e.props.auth.notifications),g=z(()=>b.value.filter(C=>!C.read_at)),w=z(()=>b.value.filter(C=>{let A=C.type;return h.includes(A)&&(A="others"),f.value.includes("*")||f.value.includes(A)}).sort((C,A)=>C.created_at{f.value=[C]},y=()=>{if(g.value.length===0)return;const C={ids:g.value.map(A=>A.id)};he.post(route("api.notifications.mark_as_read"),C).catch(A=>{console.log("Error",A)})},$=()=>{g.value.length!==0&&setTimeout(()=>{g.value.forEach(C=>{C.read_at=new Date().toISOString()})},100)},_=C=>{C.data.action_url&&I.visit(window.location.origin+C.data.action_url),i.value.close()},q=C=>{he.delete(route("api.notifications.delete",C.id)).then(A=>{t("Notifica rimossa"),I.reload({only:["auth"]})}).catch(A=>{console.error("notification delete",A)})},H=C=>C.data.image_url?C.data.image_url.replace(/https:\/\/cdn\.streamingcommunity\.[^\/]+/,e.props.cdn_url):"/img/logo.png";return(C,A)=>(a(),c("div",wr,[k(Ne,{ref_key:"dropdown",ref:i,align:"right",width:d.value,"hide-trigger-icon":!0,"prevent-close-on-click":!0,onOpen:A[0]||(A[0]=E=>y()),onClose:A[1]||(A[1]=E=>$())},{trigger:x(()=>[g.value.length>0?(a(),c("span",br,R(g.value.length<10?g.value.length:"9+"),1)):M("",!0),k(m(vr),{class:"notification-icon"})]),content:x(()=>[s("div",kr,[o.showHeader?(a(),c("div",$r,A[2]||(A[2]=[s("div",null,[s("h3",null,"Notifiche")],-1)]))):M("",!0),o.showFilters?(a(),c("div",xr,[(a(),c(V,null,oe(u,(E,Y)=>s("button",{key:Y,class:F(["filter-item",{"filter-item--active":f.value.includes(E.type)}]),onClick:W=>v(E.type)},R(E.title),11,Cr)),64))])):M("",!0),w.value.length>0?(a(),c("div",{key:2,class:"container scroll",style:U(`height:${p.value}px;`)},[(a(!0),c(V,null,oe(w.value,(E,Y)=>(a(),c("div",{key:Y},[s("div",{class:F(["row dropdown-item",E.data.action_url?"clickable":""]),onClick:W=>_(E)},[s("div",Ar,[s("img",{src:H(E),class:F(E.data.image_url?"":"as-logo")},null,10,Mr)]),s("div",Lr,[k(m(yr),{class:"delete-button",onClick:st(W=>q(E),["stop"])},null,8,["onClick"]),E.read_at?M("",!0):(a(),c("span",Tr)),s("span",Br,R(E.data.text),1),s("span",Or,R(E.age),1)])],10,Sr)]))),128))],4)):M("",!0),w.value.length===0?(a(),c("div",{key:3,class:"container empty",style:U(`height:${p.value}px;padding-top:8px`)}," Nessuna notifica qui ",4)):M("",!0)])]),_:1},8,["width"])]))}});const zr=B(qr,[["__scopeId","data-v-5881be6a"]]),Pr={viewBox:"0 0 448 512",width:"1.06em",height:"1.2em"};function Hr(n,e){return a(),c("svg",Pr,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M0 96c0-17.7 14.3-32 32-32h384c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32m0 160c0-17.7 14.3-32 32-32h384c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32m448 160c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32h384c17.7 0 32 14.3 32 32"},null,-1)]))}const Vr={name:"fa6-solid-bars",render:Hr},Er={style:{display:"flex"}},jr=O({__name:"SidebarMobile",setup(n){const{isSSR:e}=le(),t=L(!1);function r(){t.value=!t.value,t.value?document.body.style.overflow="hidden":document.body.style.overflow=""}return G(()=>{e.value||I.on("start",l=>{t.value&&r()})}),(l,o)=>(a(),c("div",Er,[s("button",{class:"navbar-toggler",type:"button","aria-label":"Toggle navigation",onClick:o[0]||(o[0]=i=>r())},[k(m(Vr))]),m(e)?M("",!0):(a(),c("div",{key:0,class:F("sidebar-mobile "+(t.value?"sidebar-show":""))},[s("div",{class:"sidebar-backdrop",style:U(t.value?"opacity:1;":""),onClick:o[1]||(o[1]=i=>r())},null,4),s("div",{class:F("sidebar-content "+(t.value?"active":""))},[Q(l.$slots,"content",{},void 0,!0)],2)],2))]))}});const Dr=B(jr,[["__scopeId","data-v-f08ef119"]]),Fr={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function Rr(n,e){return a(),c("svg",Fr,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M13 19c0 .34.04.67.09 1H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h1l2 4h3L8 4h2l2 4h3l-2-4h2l2 4h3l-2-4h4v9.81c-.61-.35-1.28-.59-2-.72V10H5.76L4 6.47V18h9.09c-.05.33-.09.66-.09 1m7-1v-3h-2v3h-3v2h3v3h2v-3h3v-2z"},null,-1)]))}const Ir={name:"mdi-movie-plus-outline",render:Rr},Nr={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function Ur(n,e){return a(),c("svg",Nr,e[0]||(e[0]=[s("g",{fill:"none","fill-rule":"evenodd"},[s("path",{d:"m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z"}),s("path",{fill:"currentColor",d:"M16 19a1 1 0 0 1 .117 1.993L16 21H8a1 1 0 0 1-.117-1.993L8 19zm4-15a2 2 0 0 1 1.995 1.85L22 6v10a2 2 0 0 1-1.85 1.995L20 18H4a2 2 0 0 1-1.995-1.85L2 16V6a2 2 0 0 1 1.85-1.995L4 4zm0 2H4v10h16z"})],-1)]))}const Qr={name:"mingcute-tv-1-line",render:Ur},Gr={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function Wr(n,e){return a(),c("svg",Gr,e[0]||(e[0]=[s("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M7 4v16M17 4v16M3 8h4m10 0h4M3 12h18M3 16h4m10 0h4M4 20h16a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1"},null,-1)]))}const Xr={name:"heroicons-outline-film",render:Wr},Zr={},Kr={id:"Layer_1",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"50px",height:"50px",viewBox:"0 0 50 50","enable-background":"new 0 0 50 50","xml:space":"preserve"};function Yr(n,e){return a(),c("svg",Kr,e[0]||(e[0]=[s("image",{id:"image0",width:"50",height:"50",x:"0",y:"0",href:`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAQAAAC0NkA6AAAABGdBTUEAALGPC/xhBQAAACBjSFJN AAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QA/4ePzL8AAAAHdElN RQfmCxEQNguRVLhZAAADAklEQVRYw+3VS2hcdRQG8N9MJp00Uy3Gtklpilb6IEajmFKwiu1GIgou YgMVUdSCoCi+QgvudRFuuy3WhbjUQsAiBSkJgg8qmtQWWrAVFQtqy9j0lWby6MTF3NzOJL2TmelK nG9z7//8z/2+/3fOufdSRx3/aSSqSw/Ca/+CSGm0FMkajpUupXa7LuvKPZKq2sV6dztSsnGXvc55 17lbFIlO3uZl474yXbR5xu+e0O1w3NPVlCvpaQe9rdNsSXzKuJXumVfEap0EkPGBPq1mDZop2W6z Tdqm+Ocr78mzXtWIk47OCYfTNKsZD8gYr7lcAazykkbM2OespC6NUUKTFNZpi69zJRIpe2wFpx1G k4d1RCkt7kDGshpFwla+6LUwcNEVZKy1JkpaJl2epZLp2miPpvD+muu4V4/bokO0WHILIgEssdv6 KPSTnBZv6XQ+iq1ebHwWd9JjZ3Q/6wR2eNSkS1G00J2cXA0iAaz0nkwUuuKMlB1WKP60FoqVla3V Sa8tRauMDRoL3YjQ5iFwqshbpSKhj10lGQ2aornKEySw1YNgZN53oGInz9kMTrscEr/iU6uR9rg+ ayT0SGHCaDxNzFwEcKfnw8q3ag6PtDnqwyN+9bdNngS/ORX/00rFSrBdZxhYviDlqgHf4Rnt4At/ Ve0Ea72+4E3OGpLQKyXpOtr0gTGD5aoe15MOB2wP7y+FHWHITvvk0KwdL+gCXzoWX6x4kVYbwKhd njIURidw1p9o0KXXOxK4YL+pck5uUq4AlmrHZbsNFR3kF5x33Ea8KRm+Mft9Xc5HvJP7pTHsGzSE MzblOGZ8JoflocRBe+f9jisUabAF1xwwiYS8PLJ+Bp973wS46kNvGCvvI266VrkPg4ZDB0es8Jij /gDTBpywzYRh35q0KG4u0iHvYwMRwahu6cK6X8CUQw7dSO+vSSTtEx+5UCAI+FG3Ed/PUQYV05cT +cFFY0UkeSNabqwro15MJOsfsyVkxyytnnwOcSNcJNEP09FbX0cdddTxP8G/LMC1gJ3gUY0AAAAl dEVYdGRhdGU6Y3JlYXRlADIwMjItMTEtMTdUMTY6NTQ6MTErMDA6MDDFnR7jAAAAJXRFWHRkYXRl Om1vZGlmeQAyMDIyLTExLTE3VDE2OjU0OjExKzAwOjAwtMCmXwAAACh0RVh0ZGF0ZTp0aW1lc3Rh bXAAMjAyMi0xMS0xN1QxNjo1NDoxMSswMDowMOPVh4AAAAAASUVORK5CYII=`},null,-1)]))}const Jr=B(Zr,[["render",Yr]]),e1={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function t1(n,e){return a(),c("svg",e1,e[0]||(e[0]=[s("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m12 6l4 6l5-4l-2 10H5L3 8l5 4z"},null,-1)]))}const n1={name:"tabler-crown",render:t1},o1={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function r1(n,e){return a(),c("svg",o1,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M6 19h3v-5q0-.425.288-.712T10 13h4q.425 0 .713.288T15 14v5h3v-9l-6-4.5L6 10zm-2 0v-9q0-.475.213-.9t.587-.7l6-4.5q.525-.4 1.2-.4t1.2.4l6 4.5q.375.275.588.7T20 10v9q0 .825-.588 1.413T18 21h-4q-.425 0-.712-.288T13 20v-5h-2v5q0 .425-.288.713T10 21H6q-.825 0-1.412-.587T4 19m8-6.75"},null,-1)]))}const s1={name:"material-symbols-home-outline-rounded",render:r1},i1={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function l1(n,e){return a(),c("svg",i1,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"m16.289 7.208l-9.766 9.746q-.14.14-.344.13q-.204-.009-.345-.15t-.14-.334t.14-.334L15.582 6.5H6.789q-.213 0-.357-.144t-.143-.357t.143-.356t.357-.143h9.692q.343 0 .575.232t.233.576V16q0 .213-.145.356t-.356.144t-.356-.144t-.144-.356z"},null,-1)]))}const me={name:"material-symbols-light-arrow-outward-rounded",render:l1},a1={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function u1(n,e){return a(),c("svg",a1,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M3 10H2V4.003C2 3.449 2.455 3 2.992 3h18.016A.99.99 0 0 1 22 4.003V10h-1v10.002a.996.996 0 0 1-.993.998H3.993A.996.996 0 0 1 3 20.002zm16 0H5v9h14zM4 5v3h16V5zm5 7h6v2H9z"},null,-1)]))}const c1={name:"ri-archive-line",render:u1},d1={viewBox:"0 0 36 36",width:"1.2em",height:"1.2em"};function p1(n,e){return a(),c("svg",d1,e[0]||(e[0]=[s("path",{fill:"#CE2B37",d:"M36 27a4 4 0 0 1-4 4h-8V5h8a4 4 0 0 1 4 4z"},null,-1),s("path",{fill:"#009246",d:"M4 5a4 4 0 0 0-4 4v18a4 4 0 0 0 4 4h8V5z"},null,-1),s("path",{fill:"#EEE",d:"M12 5h12v26H12z"},null,-1)]))}const h1={name:"twemoji-flag-italy",render:p1},f1={class:""},m1={class:"sidebar-menu",style:{"padding-top":"25px"}},v1={class:"sidebar-item"},_1={class:"sidebar-item"},g1={class:"sidebar-item"},y1={class:"sidebar-item"},w1={class:"sidebar-item"},b1={class:"sidebar-item"},k1={class:"sidebar-item"},$1={href:"https://www.animeunity.to",target:"_blank"},x1={class:"external-link"},C1={class:"sidebar-item"},S1={href:"https://hditaliabits.online/",target:"_blank"},A1={class:"external-link"},M1={class:"sidebar-menu menu-secondary"},L1={class:"sidebar-item"},T1={class:"sidebar-item"},B1={class:"sidebar-item"},O1={class:"sidebar-item"},q1={class:"sidebar-item"},z1={class:"sidebar-menu menu-secondary"},P1={class:"sidebar-item"},H1=O({__name:"AppSidebarMobile",setup(n){const{can:e}=de(),t=K(),r=z(()=>t.props.auth.user);return(l,o)=>(a(),c("div",null,[k(Dr,null,{content:x(()=>[s("div",f1,[s("ul",m1,[s("li",v1,[k(m(T),{href:l.route("home")},{default:x(()=>[k(m(s1),{style:{"font-size":"22px"}}),o[0]||(o[0]=S(" Home "))]),_:1},8,["href"])]),s("li",_1,[k(m(T),{href:l.route("shows")},{default:x(()=>[k(m(Qr),{style:{"font-size":"20px"}}),o[1]||(o[1]=S(" Serie TV "))]),_:1},8,["href"])]),s("li",g1,[k(m(T),{href:l.route("movies")},{default:x(()=>[k(m(Xr),{style:{"font-size":"19px"}}),o[2]||(o[2]=S(" Film "))]),_:1},8,["href"])]),s("li",y1,[k(m(T),{href:l.route("archive")},{default:x(()=>[k(m(c1),{style:{"font-size":"19px"}}),o[3]||(o[3]=s("div",{class:"new-link"},[S(" Archivio "),s("span",null,"New")],-1))]),_:1},8,["href"])]),s("li",w1,[k(m(T),{href:l.route("premium")},{default:x(()=>[k(m(n1),{style:{"font-size":"21px"}}),o[4]||(o[4]=S(" Premium "))]),_:1},8,["href"])]),s("li",b1,[k(m(T),{href:l.route("title_requests")},{default:x(()=>[k(m(Ir),{style:{"font-size":"20px"}}),o[5]||(o[5]=S(" Richiedi un titolo "))]),_:1},8,["href"])]),s("li",k1,[s("a",$1,[k(Jr,{height:"36",width:"40"}),s("div",x1,[o[6]||(o[6]=S(" Anime ")),k(m(me))])])]),s("li",C1,[s("a",S1,[k(m(h1),{height:"22",width:"22"}),s("div",A1,[o[7]||(o[7]=S(" DDN ")),k(m(me))])])])]),o[15]||(o[15]=s("hr",null,null,-1)),s("ul",M1,[r.value?(a(),c(V,{key:1},[s("li",B1,[k(m(T),{href:l.route("account")},{default:x(()=>o[10]||(o[10]=[S(" Account ")])),_:1},8,["href"])]),s("li",O1,[k(m(T),{href:l.route("mylist")},{default:x(()=>o[11]||(o[11]=[S(" La mia lista ")])),_:1},8,["href"])]),s("li",q1,[k(m(T),{href:l.route("logout"),method:"post",as:"button"},{default:x(()=>o[12]||(o[12]=[S(" Log out ")])),_:1},8,["href"])])],64)):(a(),c(V,{key:0},[s("li",L1,[k(m(T),{href:l.route("login")},{default:x(()=>o[8]||(o[8]=[S(" Accedi ")])),_:1},8,["href"])]),s("li",T1,[k(m(T),{href:l.route("register")},{default:x(()=>o[9]||(o[9]=[S(" Registrati ")])),_:1},8,["href"])])],64))]),m(e)("admin.panel")?(a(),c(V,{key:0},[o[14]||(o[14]=s("hr",null,null,-1)),s("ul",z1,[s("li",P1,[k(m(T),{href:l.route("admin")},{default:x(()=>o[13]||(o[13]=[S(" Admin ")])),_:1},8,["href"])])])],64)):M("",!0)])]),_:1})]))}});const V1=B(H1,[["__scopeId","data-v-c302418b"]]),E1={viewBox:"0 0 512 512",width:"1.2em",height:"1.2em"};function j1(n,e){return a(),c("svg",E1,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M502.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l73.4 73.4H192c-17.7 0-32 14.3-32 32s14.3 32 32 32h210.7l-73.4 73.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l128-128zM160 96c17.7 0 32-14.3 32-32s-14.3-32-32-32H96C43 32 0 75 0 128v256c0 53 43 96 96 96h64c17.7 0 32-14.3 32-32s-14.3-32-32-32H96c-17.7 0-32-14.3-32-32V128c0-17.7 14.3-32 32-32z"},null,-1)]))}const D1={name:"fa6-solid-arrow-right-from-bracket",render:j1},F1={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function R1(n,e){return a(),c("svg",F1,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M12 8a4 4 0 0 1 4 4a4 4 0 0 1-4 4a4 4 0 0 1-4-4a4 4 0 0 1 4-4m0 2a2 2 0 0 0-2 2a2 2 0 0 0 2 2a2 2 0 0 0 2-2a2 2 0 0 0-2-2m-2 12c-.25 0-.46-.18-.5-.42l-.37-2.65c-.63-.25-1.17-.59-1.69-.99l-2.49 1.01c-.22.08-.49 0-.61-.22l-2-3.46a.493.493 0 0 1 .12-.64l2.11-1.66L4.5 12l.07-1l-2.11-1.63a.493.493 0 0 1-.12-.64l2-3.46c.12-.22.39-.31.61-.22l2.49 1c.52-.39 1.06-.73 1.69-.98l.37-2.65c.04-.24.25-.42.5-.42h4c.25 0 .46.18.5.42l.37 2.65c.63.25 1.17.59 1.69.98l2.49-1c.22-.09.49 0 .61.22l2 3.46c.13.22.07.49-.12.64L19.43 11l.07 1l-.07 1l2.11 1.63c.19.15.25.42.12.64l-2 3.46c-.12.22-.39.31-.61.22l-2.49-1c-.52.39-1.06.73-1.69.98l-.37 2.65c-.04.24-.25.42-.5.42zm1.25-18l-.37 2.61c-1.2.25-2.26.89-3.03 1.78L5.44 7.35l-.75 1.3L6.8 10.2a5.55 5.55 0 0 0 0 3.6l-2.12 1.56l.75 1.3l2.43-1.04c.77.88 1.82 1.52 3.01 1.76l.37 2.62h1.52l.37-2.61c1.19-.25 2.24-.89 3.01-1.77l2.43 1.04l.75-1.3l-2.12-1.55c.4-1.17.4-2.44 0-3.61l2.11-1.55l-.75-1.3l-2.41 1.04a5.42 5.42 0 0 0-3.03-1.77L12.75 4z"},null,-1)]))}const I1={name:"mdi-cog-outline",render:R1},N1={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function U1(n,e){return a(),c("svg",N1,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M12 12q-1.65 0-2.825-1.175T8 8t1.175-2.825T12 4t2.825 1.175T16 8t-1.175 2.825T12 12m-8 8v-2.8q0-.85.438-1.562T5.6 14.55q1.55-.775 3.15-1.162T12 13t3.25.388t3.15 1.162q.725.375 1.163 1.088T20 17.2V20zm2-2h12v-.8q0-.275-.137-.5t-.363-.35q-1.35-.675-2.725-1.012T12 15t-2.775.338T6.5 16.35q-.225.125-.363.35T6 17.2zm6-8q.825 0 1.413-.587T14 8t-.587-1.412T12 6t-1.412.588T10 8t.588 1.413T12 10m0 8"},null,-1)]))}const Q1={name:"material-symbols-person-outline",render:U1},G1={class:"nav-left"},W1={class:"sidebar-item"},X1={class:"nav-item"},Z1={href:"https://www.animeunity.to",target:"_blank"},K1={class:"external-link"},Y1={class:"nav-item"},J1={href:"https://hditaliabits.online/",target:"_blank"},es={class:"external-link"},ts={class:"nav-right"},ns={class:"nav-item search-bar-item"},os={key:0,class:"nav-item",style:{"margin-left":"16px"}},rs={key:1,class:"nav-item btn-profile"},ss={class:""},is={type:"button",class:""},ls={class:"dropdown-content"},as={key:2},us=O({__name:"Navbar",setup(n){const e=_e(()=>ee(()=>import("./admin.e5f044bd.js").then(f=>f.C),["assets/admin.e5f044bd.js","assets/vendor.95c29ec7.js","assets/admin-vendor.64e6e104.js","assets/admin-vendor.0d9e816b.css","assets/admin.d25fd9e9.css"])),t=K(),{isMobile:r}=le(),{can:l}=de(),o=z(()=>t.props.auth.user),i=z(()=>t.component),d=L(!1);function p(){return location.href.includes("archivio")}const u=z(()=>i.value.includes("Admin")?[{"padding-left":"1.5rem"},{"padding-right":"2rem"}]:"");return(f,h)=>(a(),c("nav",{class:"navbar",style:U(u.value)},[s("div",G1,[s("div",W1,[i.value.includes("Admin")?(a(),P(m(e),{key:0})):(a(),P(V1,{key:1}))]),!m(r)||!d.value?(a(),c("div",{key:0,class:"logo-item",style:U(i.value.includes("Admin")?"margin-right:10px":"")},[k(m(T),{href:f.route("home")},{default:x(()=>h[2]||(h[2]=[s("img",{src:"/img/logo.png",class:"logo",alt:"logo"},null,-1)])),_:1},8,["href"])],4)):M("",!0),s("div",{class:F(["nav-item",{active:i.value=="Home/Home"}])},[k(m(T),{href:f.route("home")},{default:x(()=>h[3]||(h[3]=[S(" Home ")])),_:1},8,["href"])],2),s("div",{class:F(["nav-item",{active:i.value=="Home/Shows"}])},[k(m(T),{href:f.route("shows")},{default:x(()=>h[4]||(h[4]=[S(" Serie TV ")])),_:1},8,["href"])],2),s("div",{class:F(["nav-item",{active:i.value=="Home/Movies"}])},[k(m(T),{href:f.route("movies")},{default:x(()=>h[5]||(h[5]=[S(" Film ")])),_:1},8,["href"])],2),s("div",{class:F(["nav-item",{active:i.value=="Titles/Browse"&&p()}])},[k(m(T),{href:f.route("archive")},{default:x(()=>h[6]||(h[6]=[s("div",{class:"new-link"},[S(" Archivio "),s("span",null,"New")],-1)])),_:1},8,["href"])],2),s("div",{class:F(["nav-item",{active:i.value=="Premium"}])},[k(m(T),{href:f.route("premium")},{default:x(()=>h[7]||(h[7]=[S(" Premium ")])),_:1},8,["href"])],2),s("div",{class:F(["nav-item",{active:i.value=="TitleRequests"}])},[k(m(T),{href:f.route("title_requests")},{default:x(()=>h[8]||(h[8]=[S(" Richiedi un titolo ")])),_:1},8,["href"])],2),s("div",X1,[s("a",Z1,[s("div",K1,[h[9]||(h[9]=S(" Anime ")),k(m(me))])])]),s("div",Y1,[s("a",J1,[s("div",es,[h[10]||(h[10]=S(" DDN ")),k(m(me))])])])]),s("div",ts,[s("div",ns,[k(hr,{onOpen:h[0]||(h[0]=b=>d.value=!0),onClose:h[1]||(h[1]=b=>d.value=!1)})]),o.value?(a(),c("div",os,[k(zr,{"lines-to-display":4,"show-header":!0,"show-filters":!0})])):M("",!0),o.value?(a(),c("div",rs,[k(Ne,{align:"right",width:"180px"},{trigger:x(()=>[s("span",ss,[s("button",is,R(o.value.name),1)])]),content:x(()=>[s("div",ls,[k(m(T),{href:f.route("account"),class:"dropdown-item",style:{"margin-top":"4px"}},{default:x(()=>[k(m(Q1),{style:{"font-size":"20px"}}),h[11]||(h[11]=S(" Account "))]),_:1},8,["href"]),k(m(T),{href:f.route("mylist"),class:"dropdown-item"},{default:x(()=>[k(m(Kt)),h[12]||(h[12]=S(" La mia lista "))]),_:1},8,["href"]),k(m(T),{href:f.route("logout"),class:"dropdown-item",method:"post",as:"button",style:{"margin-bottom":"4px"}},{default:x(()=>[k(m(D1)),h[13]||(h[13]=S(" Log out "))]),_:1},8,["href"]),m(l)("panel.access")?(a(),c(V,{key:0},[h[15]||(h[15]=s("hr",null,null,-1)),k(m(T),{style:{"margin-top":"4px"},href:f.route("admin"),class:"dropdown-item"},{default:x(()=>[k(m(I1),{style:{"font-size":"18px"}}),h[14]||(h[14]=S(" Admin "))]),_:1},8,["href"])],64)):M("",!0)])]),_:1})])):(a(),c("div",as,[k(m(T),{class:"nav-item btn-login",href:f.route("login")},{default:x(()=>h[16]||(h[16]=[S(" Accedi ")])),_:1},8,["href"])]))])],4))}});const cs=B(us,[["__scopeId","data-v-34690456"]]),ds=O({__name:"Alert",props:{alert:{}},setup(n){Ae(o=>({"82ee30e6":m(t),"3fed4348":m(r)}));const e=n,{bannerHeight:t,bannerHeightXS:r}=Qe(),{removeAlert:l}=ce();return G(()=>{setTimeout(()=>l(e.alert.id),3e3)}),(o,i)=>(a(),P(Se,{to:"body"},[s("div",{class:F("alert "+(o.alert.isError?"alert-error":""))},[s("div",null,R(o.alert.message),1),k(m(Te),{class:"close",onClick:i[0]||(i[0]=d=>m(l)(o.alert.id))})],2)]))}});const ps=B(ds,[["__scopeId","data-v-114dcca5"]]);function hs(){function n(e){const t=/(\[.+?\])/g;let r;for(;r=t.exec(e);)r.length>1&&JSON.parse(r[1]).forEach(i=>{l(i.replace("assets/",""))});function l(o){const i=document.createElement("link");i.rel="prefetch",i.href=new URL(o,import.meta.url).href,document.head.appendChild(i)}}return{prefetch:n}}function fs(){const n=Le(e=>{const t=e.target.scrollingElement.scrollTop,r=I.restore("scrollPos");t!=r&&I.remember(t,"scrollPos")},250);return G(()=>{history.scrollRestoration="manual",document.addEventListener("scroll",n),I.on("navigate",()=>{const e=I.restore("scrollPos");e!==void 0?window.scroll({top:e}):window.scroll({top:0})})}),ue(()=>{document.removeEventListener("scroll",n)}),{}}const ms={class:"app-layout"},vs=["href"],_s=["href","innerHTML"],gs={id:"content"},ys=O({__name:"AppLayout",setup(n){Ae(v=>({"7e443e92":m(d),"03a225e6":m(p)}));const e=_e(()=>ee(()=>import("./admin.e5f044bd.js").then(v=>v.F),["assets/admin.e5f044bd.js","assets/vendor.95c29ec7.js","assets/admin-vendor.64e6e104.js","assets/admin-vendor.0d9e816b.css","assets/admin.d25fd9e9.css"]));fs();const{can:t}=de(),{prefetch:r}=hs(),{alerts:l,pushAlert:o}=ce(),{isBannerHidden:i,bannerHeight:d,bannerHeightXS:p}=Qe(),u=K(),f=z(()=>u.props.banner);ve(()=>{const v=u.props.flash;v.success&&o(v.success),v.error&&o(v.error,!0)});function h(){document.cookie='hide_banner=""; max-age='+60*60*24+"; path=/;",I.reload({only:["hide_banner"]})}const b=(()=>ee(()=>import("./auth.d0b9b49c.js").then(v=>v.a),["assets/auth.d0b9b49c.js","assets/vendor.95c29ec7.js","assets/auth.eb88e008.css"])).toString(),g=(()=>ee(()=>import("./title-requests.e97ec495.js").then(v=>v._),["assets/title-requests.e97ec495.js","assets/vendor.95c29ec7.js","assets/title-requests.a74a5a32.css"])).toString(),w=(()=>ee(()=>import("./admin.e5f044bd.js").then(v=>v.g),["assets/admin.e5f044bd.js","assets/vendor.95c29ec7.js","assets/admin-vendor.64e6e104.js","assets/admin-vendor.0d9e816b.css","assets/admin.d25fd9e9.css"])).toString();return G(()=>{r(b),r(g),t("panel.access")&&r(w),I.on("navigate",v=>{window.gtag&&(window.gtag("js",new Date),window.gtag("config","G-TZQ2CRZ6GE"))});{const v={500:"Server error",503:"Service unavailable",404:"Pagina non trovata",403:"Accesso negato"};I.on("invalid",y=>{const $=y.detail.response.status;let _=v[$];_||(_="Something went wrong"),o(_,!0),y.preventDefault()})}}),(v,y)=>(a(),c(V,null,[k(m(it),null,{default:x(()=>y[1]||(y[1]=[s("meta",{name:"keywords","head-key":"keywords",content:`streamingcommunity, streaming community, film gratis, serie tv gratis, serie tv streaming, film streaming, serie tv ita, film ita, serie tv streaming ita, film streaming ita, lista film ita, film hd ita`},null,-1)])),_:1}),s("div",null,[s("div",ms,[s("header",null,[f.value&&!m(i)?(a(),c(V,{key:0},[s("a",{href:f.value.link,target:"_blank"},[s("div",{class:"banner",style:U("background:"+f.value.color),href:f.value.link,innerHTML:f.value.html},null,12,_s)],8,vs),s("div",{class:"close-banner",onClick:y[0]||(y[0]=$=>h())},[k(m(Te))])],64)):M("",!0),k(cs,{class:"navbar"})]),s("main",gs,[Q(v.$slots,"default",{},void 0,!0),(a(!0),c(V,null,oe(m(l),$=>(a(),P(ps,{key:$.message,alert:$},null,8,["alert"]))),128)),m(t)("admin.panel")?(a(),P(m(e),{key:0})):M("",!0)])])])],64))}});const ll=B(ys,[["__scopeId","data-v-323e062d"]]);const ws={},bs={class:"auth-container"},ks={class:"auth-wrap"};function $s(n,e){return a(),c("div",bs,[s("div",ks,[Q(n.$slots,"default",{},void 0,!0)]),e[0]||(e[0]=s("div",{class:"radiant-background"},null,-1))])}const al=B(ws,[["render",$s],["__scopeId","data-v-ef8c8bed"]]),xs={viewBox:"0 0 320 512",width:"0.76em",height:"1.2em"};function Cs(n,e){return a(),c("svg",xs,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M182.6 137.4c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-9.2 9.2-11.9 22.9-6.9 34.9S19 320.1 32 320.1h256c12.9 0 24.6-7.8 29.6-19.8s2.2-25.7-6.9-34.9l-128-128z"},null,-1)]))}const ul={name:"fa6-solid-caret-up",render:Cs},Ss={viewBox:"0 0 320 512",width:"0.76em",height:"1.2em"};function As(n,e){return a(),c("svg",Ss,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9S301 191.9 288 191.9L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z"},null,-1)]))}const cl={name:"fa6-solid-caret-down",render:As},Ms={viewBox:"0 0 512 512",width:"1.2em",height:"1.2em"};function Ls(n,e){return a(),c("svg",Ms,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7L86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"},null,-1)]))}const dl={name:"fa6-solid-chevron-down",render:Ls},Ts={viewBox:"0 0 512 512",width:"1.2em",height:"1.2em"};function Bs(n,e){return a(),c("svg",Ts,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3L86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z"},null,-1)]))}const pl={name:"fa6-solid-chevron-up",render:Bs},Os={viewBox:"0 0 384 512",width:"0.9em",height:"1.2em"};function qs(n,e){return a(),c("svg",Os,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M169.4 470.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 370.8V64c0-17.7-14.3-32-32-32s-32 14.3-32 32v306.7L54.6 265.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"},null,-1)]))}const hl={name:"fa6-solid-arrow-down",render:qs},zs={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function Ps(n,e){return a(),c("svg",zs,e[0]||(e[0]=[s("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2zm4-2v16m8-16v16M4 8h4m-4 8h4m-4-4h16m-4-4h4m-4 8h4"},null,-1)]))}const fl={name:"tabler-movie",render:Ps},Hs={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function Vs(n,e){return a(),c("svg",Hs,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M5.566 4.657A4.5 4.5 0 0 1 6.75 4.5h10.5q.616.002 1.183.157A3 3 0 0 0 15.75 3h-7.5a3 3 0 0 0-2.684 1.657M2.25 12a3 3 0 0 1 3-3h13.5a3 3 0 0 1 3 3v6a3 3 0 0 1-3 3H5.25a3 3 0 0 1-3-3zm3-4.5q-.616.002-1.184.157A3 3 0 0 1 6.75 6h10.5a3 3 0 0 1 2.683 1.657A4.5 4.5 0 0 0 18.75 7.5z"},null,-1)]))}const ml={name:"heroicons-rectangle-stack-solid",render:Vs},Es={viewBox:"0 0 448 512",width:"1.06em",height:"1.2em"};function js(n,e){return a(),c("svg",Es,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M224 256a128 128 0 1 0 0-256a128 128 0 1 0 0 256m-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512h388.6c16.4 0 29.7-13.3 29.7-29.7c0-98.5-79.8-178.3-178.3-178.3z"},null,-1)]))}const vl={name:"fa6-solid-user",render:js},Ds={viewBox:"0 0 576 512",width:"1.36em",height:"1.2em"};function Fs(n,e){return a(),c("svg",Ds,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M309 106c11.4-7 19-19.7 19-34c0-22.1-17.9-40-40-40s-40 17.9-40 40c0 14.4 7.6 27 19 34l-57.3 114.6c-9.1 18.2-32.7 23.4-48.6 10.7L72 160c5-6.7 8-15 8-24c0-22.1-17.9-40-40-40S0 113.9 0 136s17.9 40 40 40h.7l45.7 251.4c5.5 30.4 32 52.6 63 52.6h277.2c30.9 0 57.4-22.1 63-52.6L535.3 176h.7c22.1 0 40-17.9 40-40s-17.9-40-40-40s-40 17.9-40 40c0 9 3 17.3 8 24l-89.1 71.3c-15.9 12.7-39.5 7.5-48.6-10.7z"},null,-1)]))}const _l={name:"fa6-solid-crown",render:Fs};function gl(){function n(l){I.delete(route("videos.destroy",l.id),{onSuccess:()=>{}})}function e(l){const o=l.map(i=>i.id);I.delete(route("videos.destroy.bulk"),{preserveState:!1,data:{videoIds:o}})}function t(l,o=null){if(l==0)return"0K";const i=1e3,d=o||1,p=["K","M","G","T","P"],u=Math.floor(Math.log(l)/Math.log(i));return parseFloat((l/Math.pow(i,u)).toFixed(d))+""+p[u]}function r(l){if(!(l==0||l==100))return"("+l+"%)"}return{deleteVideo:n,deleteVideos:e,formatFileSize:t,getProgress:r}}const Rs={viewBox:"0 0 512 512",width:"1.2em",height:"1.2em"};function Is(n,e){return a(),c("svg",Rs,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M256 512a256 256 0 1 0 0-512a256 256 0 1 0 0 512"},null,-1)]))}const yl={name:"fa6-solid-circle",render:Is},Ns={viewBox:"0 0 512 512",width:"1.2em",height:"1.2em"};function Us(n,e){return a(),c("svg",Ns,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M352 0c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9L370.7 96L201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L416 141.3l41.4 41.4c9.2 9.2 22.9 11.9 34.9 6.9s19.8-16.6 19.8-29.6V32c0-17.7-14.3-32-32-32zM80 32C35.8 32 0 67.8 0 112v320c0 44.2 35.8 80 80 80h320c44.2 0 80-35.8 80-80V320c0-17.7-14.3-32-32-32s-32 14.3-32 32v112c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16h112c17.7 0 32-14.3 32-32s-14.3-32-32-32z"},null,-1)]))}const wl={name:"fa6-solid-up-right-from-square",render:Us};function bl(){const n=["Netflix","Amazon","DisneyPlus","Crunchyroll","NowTV","AppleTVPlus","ParamountPlus","RaiPlay"],e=["Default","Anime sub","Anime dub"],t=["it","it4"];function r(o){switch(o){case"Netflix":return["chromecdm_2830_api","playready_x_api"];case"Amazon":return["playready_m_api","playready_x_api","playready_z_api","chromecdm_2830_api","samsung_gt-n7100_sl2"];case"DisneyPlus":return["playready_m_api","playready_de_api","hisense_tv-32e56_sl3"];case"NowTV":return["playready_m_api","playready_x_api","playready_z_api","hisense_tv-32e56_sl3"];case"AppleTVPlus":return["playready_m_api","playready_x_api","playready_z_api","hisense_tv-32e56_sl3"];case"Crunchyroll":case"ParamountPlus":return["asus_generic-4445_l3","chromecdm_2830_api"];case"RaiPlay":return["asus_generic-4445_l3","chromecdm_2830_api"]}}function l(o,i){switch(o.target.value){case"Anime sub":i.audio_lang=["ja"],i.sub_lang=["it"];break;case"Anime dub":i.audio_lang=["it"],i.sub_lang=["all"];break;default:i.audio_lang=["it","orig"],i.sub_lang=["all"];break}}return{services:n,presets:e,proxies:t,getCDMs:r,applyPreset:l}}const Qs={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function Gs(n,e){return a(),c("svg",Qs,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M6.5 20q-2.28 0-3.89-1.57Q1 16.85 1 14.58q0-1.95 1.17-3.48q1.18-1.53 3.08-1.95q.63-2.3 2.5-3.72Q9.63 4 12 4q2.93 0 4.96 2.04Q19 8.07 19 11q1.73.2 2.86 1.5q1.14 1.28 1.14 3q0 1.88-1.31 3.19T18.5 20H13q-.82 0-1.41-.59Q11 18.83 11 18v-5.15L9.4 14.4L8 13l4-4l4 4l-1.4 1.4l-1.6-1.55V18h5.5q1.05 0 1.77-.73q.73-.72.73-1.77t-.73-1.77Q19.55 13 18.5 13H17v-2q0-2.07-1.46-3.54Q14.08 6 12 6Q9.93 6 8.46 7.46Q7 8.93 7 11h-.5q-1.45 0-2.47 1.03Q3 13.05 3 14.5T4.03 17q1.02 1 2.47 1H9v2m3-7"},null,-1)]))}const kl={name:"mdi-cloud-upload-outline",render:Gs},Ws={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function Xs(n,e){return a(),c("svg",Ws,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M22 10v3.81c-.61-.35-1.28-.59-2-.72V12H4v8h9.09c.12.72.37 1.39.72 2H4a2 2 0 0 1-2-2V10zm-5.29-2.93l-2.74-3.53l-1.97.39l2.75 3.53zm4.91-.97l-.78-3.92l-3.93.78l2.74 3.54zm-9.81 1.95L9.07 4.5l-1.97.41l2.75 3.53zM4.16 5.5l-.98.19a1.995 1.995 0 0 0-1.57 2.35L2 10l4.9-.97zM17 22l5-3l-5-3z"},null,-1)]))}const $l={name:"mdi-movie-open-play-outline",render:Xs},Zs={viewBox:"0 0 640 512",width:"1.5em",height:"1.2em"};function Ks(n,e){return a(),c("svg",Zs,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M392.8 1.2c-17-4.9-34.7 5-39.6 22l-128 448c-4.9 17 5 34.7 22 39.6s34.7-5 39.6-22l128-448c4.9-17-5-34.7-22-39.6m80.6 120.1c-12.5 12.5-12.5 32.8 0 45.3l89.3 89.4l-89.4 89.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l112-112c12.5-12.5 12.5-32.8 0-45.3l-112-112c-12.5-12.5-32.8-12.5-45.3 0zm-306.7 0c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3l112 112c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256l89.4-89.4c12.5-12.5 12.5-32.8 0-45.3"},null,-1)]))}const xl={name:"fa6-solid-code",render:Ks},Ys=L([]);function Cl(){return{uploads:Ys}}const Js={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function ei(n,e){return a(),c("svg",Js,e[0]||(e[0]=[s("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 7a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3v2a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3zm0 8a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3v2a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3zm4-7v.01M7 16v.01"},null,-1)]))}const Sl={name:"tabler-server",render:ei},ti={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function ni(n,e){return a(),c("svg",ti,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M7 18q-2.5 0-4.25-1.75T1 12t1.75-4.25T7 6q1.65 0 3.025.825T12.2 9H21q.825 0 1.413.588T23 11v2q0 .825-.587 1.413T21 15v1q0 .825-.587 1.413T19 18h-2q-.825 0-1.412-.587T15 16v-1h-2.8q-.8 1.35-2.175 2.175T7 18m0-2q1.65 0 2.65-1.012T10.85 13H17v3h2v-3h2v-2H10.85q-.2-.975-1.2-1.987T7 8T4.175 9.175T3 12t1.175 2.825T7 16m0-2q.825 0 1.413-.587T9 12t-.587-1.412T7 10t-1.412.588T5 12t.588 1.413T7 14m0-2"},null,-1)]))}const Al={name:"material-symbols-vpn-key-outline-rounded",render:ni},oi={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function ri(n,e){return a(),c("svg",oi,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M10 4a4 4 0 0 0-4 4a4 4 0 0 0 4 4a4 4 0 0 0 4-4a4 4 0 0 0-4-4m0 2a2 2 0 0 1 2 2a2 2 0 0 1-2 2a2 2 0 0 1-2-2a2 2 0 0 1 2-2m7 6q-.24 0-.24.24l-.26 1.26c-.22.18-.54.34-.78.5l-1.28-.5c-.08 0-.24 0-.32.1l-.96 1.76c-.08.08-.08.24.08.32l1.04.82v1l-1.04.82c-.08.08-.16.24-.08.32l.96 1.76c.08.1.24.1.32.1l1.28-.5c.24.16.56.32.78.5l.26 1.26q0 .24.24.24h2c.08 0 .24-.08.24-.24l.16-1.26c.32-.18.64-.34.88-.5l1.22.5c.14 0 .3 0 .3-.1l1.04-1.76c.08-.08 0-.24-.08-.32l-1.04-.82v-1l1.04-.82c.08-.08.16-.24.08-.32L21.8 13.6c0-.1-.16-.1-.3-.1l-1.22.5c-.24-.16-.56-.32-.88-.5l-.16-1.26c0-.16-.16-.24-.24-.24zm-7 1c-2.67 0-8 1.33-8 4v3h9.67c-.28-.59-.48-1.23-.58-1.9H3.9V17c0-.64 3.13-2.1 6.1-2.1c.43 0 .87.04 1.3.1c.2-.64.47-1.24.82-1.79c-.78-.13-1.52-.21-2.12-.21m8.04 2.5c.8 0 1.46.66 1.46 1.54c0 .8-.66 1.46-1.46 1.46c-.88 0-1.54-.66-1.54-1.46c0-.88.66-1.54 1.54-1.54"},null,-1)]))}const Ml={name:"mdi-account-cog-outline",render:ri},si={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function ii(n,e){return a(),c("svg",si,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M16.5 15.5c1.72 0 3.75.8 4 1.28v.72h-8v-.72c.25-.48 2.28-1.28 4-1.28m0-1.5c-1.83 0-5.5.92-5.5 2.75V19h11v-2.25c0-1.83-3.67-2.75-5.5-2.75M9 13c-2.33 0-7 1.17-7 3.5V19h7v-1.5H3.5v-1c0-.63 2.79-2.16 6.32-2a5.1 5.1 0 0 1 1.55-1.25A12.3 12.3 0 0 0 9 13m0-6.5A1.5 1.5 0 1 1 7.5 8A1.5 1.5 0 0 1 9 6.5M9 5a3 3 0 1 0 3 3a3 3 0 0 0-3-3m7.5 3.5a1 1 0 1 1-1 1a1 1 0 0 1 1-1m0-1.5A2.5 2.5 0 1 0 19 9.5A2.5 2.5 0 0 0 16.5 7"},null,-1)]))}const Ll={name:"mdi-account-supervisor-outline",render:ii},li={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function ai(n,e){return a(),c("svg",li,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M8.143 15.857H5.57V9.43h2.572v6.428zm5.143 0h-2.572V3h2.572zm5.142 0h-2.571v-9h2.571z"},null,-1),s("path",{fill:"currentColor","fill-rule":"evenodd",d:"M21 20.714H3v-2h18z","clip-rule":"evenodd"},null,-1)]))}const Tl={name:"gridicons-stats-alt-2",render:ai},ui={viewBox:"0 0 1024 1024",width:"1.2em",height:"1.2em"};function ci(n,e){return a(),c("svg",ui,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248m452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248M828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0"},null,-1)]))}const Bl={name:"ep-loading",render:ci},di={viewBox:"0 0 320 512",width:"0.76em",height:"1.2em"};function pi(n,e){return a(),c("svg",di,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256L73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"},null,-1)]))}const Ol={name:"fa6-solid-chevron-right",render:pi},hi={viewBox:"0 0 320 512",width:"0.76em",height:"1.2em"};function fi(n,e){return a(),c("svg",hi,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256L246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z"},null,-1)]))}const ql={name:"fa6-solid-chevron-left",render:fi},mi={viewBox:"0 0 448 512",width:"1.06em",height:"1.2em"};function vi(n,e){return a(),c("svg",mi,e[0]||(e[0]=[s("path",{fill:"currentColor",d:"M201.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 306.7L86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"},null,-1)]))}const zl={name:"fa6-solid-angle-down",render:vi};export{ji as $,Al as A,Ml as B,$i as C,Ie as D,Bl as E,yi as F,Tl as G,ml as H,I1 as I,xl as J,xi as K,ol as L,ki as M,rl as N,sl as O,Ui as P,Si as Q,Mi as R,Dr as S,fl as T,Ai as U,Ti as V,Li as W,Ci as X,Ei as Y,Kt as Z,Vi as _,wi as a,Di as a0,ro as a1,bn as a2,ql as a3,Ol as a4,zi as a5,Pi as a6,Hi as a7,nl as a8,zl as a9,Zi as aa,Ni as ab,Bi as ac,Oi as ad,qi as ae,Wi as af,Gi as ag,Qi as ah,qe as ai,Xi as aj,Sn as ak,Ki as al,Yi as am,Ji as an,el as ao,tl as ap,Fi as aq,il as ar,ll as as,al as at,bi as b,ul as c,cl as d,pl as e,dl as f,Ri as g,Ne as h,Te as i,de as j,le as k,hl as l,Ii as m,ce as n,vl as o,_l as p,yl as q,gl as r,wl as s,bl as t,Qe as u,Cl as v,kl as w,$l as x,Sl as y,Ll as z};