PageSourceSearch

https://www.viory.video/_next/static/chunks/1417-d5c259ffcaad3d5f.js

js viory.video collected 2026-10-02 07:02:51 UTC 10,228 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="156aaf29-4fb5-4069-89b3-cae2344f4828",e._sentryDebugIdIdentifier="sentry-dbid-156aaf29-4fb5-4069-89b3-cae2344f4828")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1417],{97148:function(e,t,n){var r={"./ar/agreement.json":[4849,4849],"./ar/common.json":[55952,5952],"./ar/page.json":[60424,424],"./en/agreement.json":[4161,4161],"./en/common.json":[13772,3772],"./en/page.json":[76521,6521]};function i(e){if(!n.o(r,e))return Promise.resolve().then(function(){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=r[e],i=t[0];return n.e(t[1]).then(function(){return n.t(i,19)})}i.keys=function(){return Object.keys(r)},i.id=97148,e.exports=i},47027:function(e,t,n){"use strict";n.d(t,{$:function(){return u}});var r=n(54728),i=n(7643),o=n(6674),s=n(7457),l=n(99728),a=n(44763);function u(e,t,n){let i=(0,l.$G)(t,n),{i18n:o}=i;{let[t,n]=(0,r.useState)(o.resolvedLanguage);(0,r.useEffect)(()=>{e&&o.resolvedLanguage!==e&&o.changeLanguage(e)},[e,o])}return i}i.ZP.use(l.Db).use(o.Z).use((0,s.Z)((e,t)=>n(97148)("./".concat(e,"/").concat(t,".json")))).init({...a.ZP,lng:void 0,detection:{order:["path","htmlTag","cookie","navigator"]},preload:[],ns:["common"]})},44763:function(e,t,n){"use strict";n.d(t,{Mj:function(){return i}});var r=n(87470);let i=["en","ar"],o=r.qx.NEXT_LOCALE;t.ZP={defaultLocale:"en",locales:i,supportedLngs:i,fallbackLng:"en",cookieName:o,defaultNS:"common",prefixDefault:!1}},42406:function(e,t,n){"use strict";n.d(t,{a:function(){return r}});class r{dispatch(e){this.senders.map(t=>{let n=e.find(e=>{let{senderType:n}=e;return t instanceof n});n&&t.send(n.trackData)})}constructor(e){this.senders=e}}},28732:function(e,t,n){"use strict";n.d(t,{T:function(){return r}});class r{send(e){return window.lintrk&&window.lintrk(e.eventName,{conversion_id:e.conversion_id}),!0}}},54691:function(e,t,n){"use strict";n.d(t,{t:function(){return r}});class r{send(e){return window.ym&&window.ym(99954645,e.eventName,e.params),!0}}},53156:function(e,t,n){"use strict";n.d(t,{g3:function(){return m},oR:function(){return _}});var r=n(94864),i=n(54728),o=n(99471),s=n(72070),l=n(14849);let a=(e,t)=>({cookie:{isCookieModalOpen:!1,setIsCookieModalOpen:t=>e(e=>({cookie:{...e.cookie,isCookieModalOpen:t}})),isCookieAlertOpen:!1,setIsCookieAlertOpen:t=>e(e=>({cookie:{...e.cookie,isCookieAlertOpen:t}})),cookieSettings:l.x,setCookieSettings:t=>e(e=>({cookie:{...e.cookie,cookieSettings:t}})),restrictedCookie:null,setRestrictedCookie:t=>e(e=>({cookie:{...e.cookie,restrictedCookie:t}}))}});var u=n(57758);let d=(e,t)=>({alerts:[],hasVisibleAlerts:!1,liveEvents:[],myEvents:{booked_events:[],followed_events:[]},setIsLoggedIn:t=>e({isLoggedIn:t}),setAlerts:t=>{let n=t.some(e=>e.visible);e({alerts:t,hasVisibleAlerts:n})},setLiveEvents:t=>e({liveEvents:t}),setMyEvents:t=>e({myEvents:t}),setCurrentLiveEvent:t=>e({currentLiveEvent:t}),handleLiveEventUpdate:n=>{var r;let i=t(),o=!n.visible||n.status===u.C.TERMINATED||n.status===u.C.CANCELED;(null===(r=i.currentLiveEvent)||void 0===r?void 0:r.id)===n.id&&(o?e({currentLiveEvent:void 0}):e({currentLiveEvent:{...i.currentLiveEvent,...n}}));let s=i.liveEvents;if(o)s=s.filter(e=>e.id!==n.id);else if(s.find(e=>e.id===n.id)?s=s.map(e=>e.id===n.id?{...e,...n}:e):n.visible&&"title"in n&&"start_at"in n&&(s=[...s,n]),n.status===u.C.LIVE){let e=s.find(e=>e.id===n.id);e&&(s=[e,...s.filter(e=>e.id!==n.id)])}e({liveEvents:s});let{booked_events:l,followed_events:a}=i.myEvents;e({myEvents:{booked_events:l.map(e=>e.id===n.id?{...e,...n}:e).filter(e=>!(o&&e.id===n.id)),followed_events:a.map(e=>e.id===n.id?{...e,...n}:e).filter(e=>!(o&&e.id===n.id))}})}}),c={isLoggedIn:!1,alerts:[],hasVisibleAlerts:!1},f=(e,t)=>({ui:{isSearchVisible:!0,setIsSearchVisible:t=>e(e=>({ui:{...e.ui,isSearchVisible:t}})),searchInputValue:"",setSearchInputValue:t=>e(e=>({ui:{...e.ui,searchInputValue:t}})),searchLandingValue:"",setSearchLandingValue:t=>e(e=>({ui:{...e.ui,searchLandingValue:t}})),isSearchBlockVisible:!1,setIsSearchBlockVisible:t=>e(e=>({ui:{...e.ui,isSearchBlockVisible:t}}))}}),v=e=>({user:void 0,setUser:t=>{t?localStorage.setItem("user_id",t.id.toString()):localStorage.removeItem("user_id"),e({user:t})}}),p=e=>({agreements:[],setUserAgreements:t=>e({agreements:t})}),E=(e,t)=>({userTimezone:void 0,setUserTimezone:t=>e({userTimezone:t})}),h=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t={...c,...e};return(0,o.Ue)()((0,s.mW)((e,n,r)=>({...t,...f(e,n,r),...d(e,n,r),...v(e,n,r),...p(e,n,r),...a(e,n,r),...E(e,n,r)}),{name:"MainStore"}))},g=(0,i.createContext)(null),m=e=>{let{children:t,initStore:n}=e,o=(0,i.useRef)();return o.current||(o.current=h(n)),(0,r.jsx)(g.Provider,{value:o.current,children:t})},_=e=>{let t=(0,i.useContext)(g);if(!t)throw Error("Store is missing the provider");return(0,o.oR)(t,e)}},59963:function(e,t,n){"use strict";var r=n(94864),i=n(54728),o=n(93851),s=n(99728),l=n(27325),a=n(89678);let u=(0,o.j)("focus:not(:invalid):border-input-focus appearance-none truncate border border-viory-lighter-grey px-4 pb-2.5 pt-3\n    placeholder:text-viory-grey2\n    focus:outline-none enabled:valid:hover:border-input-hover\n    disabled:bg-viory-light-grey disabled:placeholder:text-viory-lighter-grey",{variants:{intent:{default:""},variant:{default:"",search:"relative flex h-full min-h-11 items-center rounded-full border-none bg-viory-light-grey px-5 pb-[9px] placeholder:text-sm placeholder:text-viory-dark-grey md:h-[52px] md:min-
1h-[52px] ltr:pr-10 rtl:pl-10",header:"relative flex h-full min-h-[44px] items-center rounded-full border-none bg-viory-light-grey px-5 pb-[9px] placeholder:text-sm disabled:placeholder:text-viory-dark-grey ltr:pr-10 rtl:pl-10"}},defaultVariants:{intent:"default",variant:"default"}}),d=(0,i.forwardRef)((e,t)=>{let{type:n="text",error:o,intent:d,variant:c,className:f,wrapperClassName:v,errorSpanClassName:p,postElement:E,onClear:h,value:g,onChange:m,afterIcon:_,...b}=e,[k,y]=(0,i.useState)(!1),[T,x]=(0,i.useState)(""),L="password"===n,{t:C}=(0,s.$G)("page");(0,i.useEffect)(()=>{g&&x(g)},[g]);let N=(0,i.useCallback)(e=>{e.preventDefault(),y(e=>!e)},[]),I=(0,i.useCallback)(()=>{x(""),null==h||h()},[h]);return(0,r.jsxs)("div",{className:(0,l.cn)("relative flex items-center",v,{"pb-4":o}),children:[(0,r.jsx)("input",{ref:t,type:L?k?"text":"password":n,className:(0,l.cn)(u({intent:d,variant:c}),f,{"border-input-error":!!o}),...t?null:{value:T},...b,onChange:e=>{x(e.target.value),null==m||m(e)}}),E&&!(h&&T)&&(0,r.jsx)("div",{className:"absolute size-5 ltr:right-5 rtl:left-5",children:E}),_&&(0,r.jsx)("div",{className:"absolute size-5 cursor-pointer ltr:right-5 rtl:left-5",children:_}),h&&T&&(0,r.jsx)("div",{className:"absolute size-5 cursor-pointer ltr:right-5 rtl:left-5",onClick:I,children:(0,r.jsx)(a.Z,{})}),L&&(0,r.jsx)("button",{type:"button",onClick:N,className:(0,l.cn)("absolute ltr:right-4 rtl:left-4 text-small bg-transparent translate-y-px md:hover:text-link-hover active:text-link-touch",p),children:C(k?"signin.hide":"signin.show")}),o&&(0,r.jsx)("span",{className:(0,l.cn)("absolute top-12 block text-xs text-input-error leading-normal",p),children:o})]})});d.displayName="Input",t.default=d},6010:function(e,t,n){"use strict";n.d(t,{a:function(){return s}});var r=n(92964),i=n(87470);async function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{method:n="GET",data:o,headers:s,external:l=!1,...a}=t,u=new Headers({"Content-Type":"application/json","X-Frontend-New-Design":"true",...s});r.Z.get(i.qx.REMEMBER_USER_TOKEN);let d=l?e:"".concat("https://api3.viory.video").concat(e),c={method:n,headers:u,credentials:"include",...a};o&&(c.body=JSON.stringify(o));try{let e=await fetch(d,c);if(!e.ok){let t=await e.json();throw{status:e.status,message:t}}try{return{payload:await e.json(),error:null,isLoading:!1}}catch(e){return{payload:{},error:null,isLoading:!1}}}catch(e){return console.error("API request failed:",e),{payload:{},error:e,isLoading:!1}}}let s={get:(e,t)=>o(e,{...t,method:"GET"}),post:(e,t,n)=>o(e,{...n,method:"POST",data:t}),patch:(e,t,n)=>o(e,{...n,method:"PATCH",data:t}),put:(e,t,n)=>o(e,{...n,method:"PUT",data:t}),delete:(e,t,n)=>o(e,{...n,method:"DELETE",data:t})}},14849:function(e,t,n){"use strict";var r,i;n.d(t,{q:function(){return r},x:function(){return o}}),(i=r||(r={})).PROJECT_TV_APP_SESSION="project_tv_app_session",i.REMEMBER_USER_TOKEN="remember_user_token",i.LIVE_NOTIFY_FOLLOW="live_notify_follow",i.DEFAULT_VIDEO_FORMAT="default_video_format",i.UAE_REGULATED_CONTENT="uae_regulated_content",i.COOKIE_SETTINGS="cookie_settings",i.FAKE_SIGNED_IN="signed-in",i.USER_TIMEZONE="user_timezone",i.NEXT_LOCALE="NEXT_LOCALE";let o={strictlyNecessary:!0,performance:!0,functional:!0,marketing:!0}},87470:function(e,t,n){"use strict";n.d(t,{qx:function(){return v.q},_5:function(){return u},Ct:function(){return p.C},K_:function(){return c},jx:function(){return d},hB:function(){return f},eG:function(){return a}}),(s=a||(a={}))[s.download=0]="download",s[s.follow=1]="follow",s[s.unfollow=2]="unfollow",s[s.copyLink=3]="copyLink",s[s.add=4]="add",s[s.remove=5]="remove",(l=u||(u={})).FREE="free",l.NORMAL="normal",l.ONE_OFF="one_off",l.REPEATED="repeated",l.TOP_UP="top_up",l.RESTRICTED="restricted";var r,i,o,s,l,a,u,d,c,f,v=n(14849),p=n(57758);(r=d||(d={})).YOUTUBE="youtube",r.FACEBOOK="facebook",r.PERISCOPE="periscope",r.VKONTAKTE="vkontakte",r.CUSTOM_RTMP_HD="custom_rtmp.hd",r.CUSTOM_RTMP_FULL_HD="custom_rtmp.full_hd",r.SRT="srt",r.HLS_FULL_HD="hls_full_hd",r.HLS_DVR="hls_dvr",r.TVU="tvu",(i=c||(c={})).FAILED="failed",i.ACTIVE="active",i.PENDING="pending",i.CREATED="created",i.STARTING="starting",(o=f||(f={})).Exclusive="exclusive",o.Pool="pool",o.NonExclusive="non-exclusive"},57758:function(e,t,n){"use strict";var r,i;n.d(t,{C:function(){return r}}),(i=r||(r={})).LIVE="live",i.NEW="new",i.NEXT="next",i.CONFIRMED="confirmed",i.DELAYED="delayed",i.FINISHED="finished",i.AHEAD="ahead",i.CANCELED="canceled",i.TERMINATED="terminated"}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.