1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[85199],{22970:function(t,e,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/salla-white-background/login",function(){return a(976)}])},15458:function(t,e,a){"use strict";var s=a(85893),i=a(67294),o=a(5405),n=a(78138),r=a(11163),l=a(47713),g=a(46321),p=a(82821),c=a(46933);let d=o.ZP.div.withConfig({componentId:"sc-aa9a7275-0"})(["position:absolute;left:calc(20.83% + 64px);top:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:24px;max-width:420px;width:100%;@media (max-width:768px){left:50%;transform:translate(-50%,-50%);padding:0 16px;}"]),h=o.ZP.button.withConfig({componentId:"sc-aa9a7275-1"})(['background:#6681d3;display:flex;align-items:center;justify-content:center;padding:12px 16px;border-radius:8px;width:100%;border:none;cursor:pointer;transition:opacity 0.2s;max-width:420px;font-weight:500;&:hover:not(:disabled){opacity:0.9;}&:disabled{cursor:not-allowed;opacity:0.6;}p{font-family:"Cairo",sans-serif;font-weight:500;font-size:16px;line-height:normal;color:white;text-align:right;direction:rtl;margin:0;}']),m=o.ZP.div.withConfig({componentId:"sc-aa9a7275-2"})(['background:rgba(239,68,68,0.1);border:1px solid rgba(239,68,68,0.3);border-radius:8px;padding:12px 16px;width:420px;margin-top:12px;p{font-family:"Cairo",sans-serif;font-weight:400;font-size:14px;line-height:normal;color:#fca5a5;text-align:right;direction:rtl;margin:0;}']),u=(0,i.memo)(t=>{let{onSallaButtonClick:e,loading:a,popupError:i,icon:o,formContent:u}=t,f=(0,r.useRouter)(),x=(0,l.kM)(f.pathname,"login");return(0,s.jsxs)(d,{children:[o?(0,s.jsx)(g.Z,{src:o,width:"114px",height:"48px"}):(0,s.jsx)(n.Z,{width:"24px",height:"40px",className:"w-[49px] h-[56px]",redirectTo:x}),u||(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(h,{onClick:e,disabled:a,children:a?(0,s.jsx)(c.Z,{children:(0,s.jsx)(p.Z,{className:"loader",size:"small"})}):(0,s.jsx)("p",{children:"اÙÙ
تابعة بإستخداÙ
Ø³ÙØ©"})}),i&&(0,s.jsx)(m,{children:(0,s.jsx)("p",{children:i})})]})]})});u.displayName="LoginLeftPanel",e.Z=u},95392:function(t,e,a){"use strict";a.d(e,{Z:function(){return K}});var s=a(85893),i=a(67294),o=a(5405);let n=(0,o.F4)(["0%{transform:translateX(0);}50%{transform:translateX(-10%);}100%{transform:translateX(0);}"]),r=(0,o.F4)(["0%{transform:translateX(0);}50%{transform:translateX(10%);}100%{transform:translateX(0);}"]),l=o.ZP.div.withConfig({componentId:"sc-2c2d8718-0"})(["display:flex;flex-direction:column;gap:clamp(12px,2vw,24px);overflow:hidden;"]),g=o.ZP.div.withConfig({componentId:"sc-2c2d8718-1"})(["display:flex;gap:clamp(12px,2vw,24px);animation:"," ","s ease-in-out infinite;will-change:transform;"],t=>{let{direction:e}=t;return"left"===e?n:r},t=>{let{duration:e}=t;return e}),p=o.ZP.div.withConfig({componentId:"sc-2c2d8718-2"})(["width:clamp(160px,18vw,220px);aspect-ratio:1 / 1;border-radius:16px;background:",";flex-shrink:0;box-shadow:0 10px 30px rgba(0,0,0,0.35),inset 0 0 0 1px rgba(255,255,255,0.05);transition:transform 0.4s ease;&:hover{transform:translateY(-6px) scale(1.03);}"],t=>{let{image:e}=t;return e?"url(".concat(e,") center / cover no-repeat"):"linear-gradient(135deg, #2a2a2a, #111)"}),c=t=>{let{images:e=[],rows:a=4}=t,i=Math.ceil(e.length/a),o=Array.from({length:a},(t,a)=>e.slice(a*i,(a+1)*i));return(0,s.jsx)(l,{children:o.map((t,e)=>(0,s.jsx)(g,{direction:e%2==0?"left":"right",duration:18+4*e,children:t.map((t,e)=>(0,s.jsx)(p,{image:t},e))},e))})};var d=a(20333);let h=o.ZP.div.withConfig({componentId:"sc-a9828471-0"})(["position:absolute;background:var(--accent-color);display:flex;gap:12px;height:100%;align-items:flex-start;overflow:hidden;right:24px;border-radius:24px;top:50%;transform:translateY(-50%);width:50%;height:calc(100% - 48px);--box-gap:min(16px,2.5%);--box-size:calc((100% - (5 * var(--box-gap))) / 6);--gradient-height:min(260px,30%);--info-card-width:min(337px,52%);--info-card-height:min(160px,19%);@media (max-width:768px){display:none;}"]),m=o.ZP.div.withConfig({componentId:"sc-a9828471-1"})(["position:absolute;width:100%;height:100%;overflow:hidden;"]),u=o.ZP.div.withConfig({componentId:"sc-a9828471-2"})(["position:absolute;background:linear-gradient( to bottom,rgba(0,0,0,0) 0%,var(--primary-color) 74.5%,var(--primary-color) 100% );bottom:0;height:var(--gradient-height,260px);left:0;opacity:0.8;width:100%;"]),f=o.ZP.div.withConfig({componentId:"sc-a9828471-3"})(["position:absolute;background:linear-gradient( to bottom,rgba(0,0,0,0) 0%,var(--primary-color) 74.5%,var(--primary-color) 100% );top:0;height:var(--gradient-height,260px);left:0;opacity:0.8;width:100%;transform:scaleY(-1);"]),x=o.ZP.div.withConfig({componentId:"sc-a9828471-4"})(["position:absolute;bottom:min(84px,10%);left:calc(50% + 0.5px);transform:translateX(-50%);width:var(--info-card-width,337px);border-radius:12px;border:1px solid transparent;background:linear-gradient( 0deg,rgba(146,146,146,0.1),rgba(146,146,146,0.1) ) padding-box,linear-gradient(0deg,rgba(139,192,223,0.2),rgba(139,192,223,0.2)) border-box,linear-gradient( 141.89deg,rgba(0,0,0,0) -27.97%,rgba(139,192,223,0.5) 82.62% ) border-box;"]),w=o.ZP.div.withConfig({componentId:"sc-a9828471-5"})(["background:var(--accent-color);display:flex;flex-direction:column;height:var(--info-card-height,160px);align-items:flex-end;justify-content:center;padding:min(32px,3.8%) min(24px,3.7%);border-radius:11px;"]),b=o.ZP.p.withConfig({componentId:"sc-a9828471-6"})(['font-family:"Cairo",sans-serif;font-weight:600;font-size:24px;line-height:36px;color:#8bc0df;text-align:right;direction:rtl;margin:0 0 8px 0;text-transform:capitalize;']),v=o.ZP.p.withConfig({componentId:"sc-a9828471-7"})(['font-family:"Cairo",sans-serif;font-weight:400;font-size:14px;line-height:24px;color:#cfd2d5;text-align:right;direction:rtl;margin:0;']),C=o.ZP.div.withConfig({componentId:"sc-a9828471-8"})(["position:absolute;bottom:0;left:0;right:0;min-height:144px;background:linear-gradient(180deg,rgba(0,0,0,0) 0%,#0C0C0C 74.5%,#0C0C0C 100%);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:16px;border-radius:12px;"]),P=(0,i.memo)(t=>{let{type:e="image",videoSrc:a}=t;if("video"===e)return(0,s.jsxs)(h,{children:[(0,s.jsx)(d.Z,{src:a||"",width:"100%",height:"100%",autoPlay:!0,loop:!0,muted:!0,className:"w-full h-full object-cover"}),(0,s.jsxs)(C,{children:[(0,s.jsx)(b,{children:"غÙÙØ± Ø®ÙÙÙØ© ØµÙØ± Ù
ÙØªØ¬Ù بخÙÙÙØ© Ø§Ø³ØªÙØ¯ÙÙ Ø¨ÙØ¶Ø§Ø¡"}),(0,s.jsx)(v,{children:"ÙÙ
بتسجÙÙ Ø§ÙØ¯Ø®ÙÙ ÙØªØºÙÙØ± Ø®ÙÙÙØ© ØµÙØ± Ù
ÙØªØ¬Ù Ø¥ÙÙ Ø®ÙÙÙØ© Ø§Ø³ØªÙØ¯ÙÙ Ø¨ÙØ¶Ø§Ø¡ باستخداÙ
Ø§ÙØ°Ùاء Ø§ÙØ§ØµØ·ÙاعÙ."})]})]});let o=(0,i.useMemo)(()=>["https://storage.googleapis.com/bith-stg-assets/templates/images/01KA8V5KBND3RTH52PDDMYY3BF.png","https://storage.googleapis.com/bith-stg-assets/templates/images/01KA8V6QTYMH2QXDN2HNG59S3A.png","https://storage.googleapis.com/bith-stg-assets/templates/images/01K9W0H0RHTEY5W0YWKA3AEJ02.png","https://storage.googleapis.com/bith-stg-assets/templates/images/01K9W0H2RHY38EPEC15C3P8D46.png","https://storage.googleapis.com/bith-stg-assets/templates/images/01KAX9KWS5Z9T7N6J69C8VNBEP.png","https://storage.googleapis.com/bith-stg-assets/templates/images/01K9W0E9CV4FSJ750GMK5P8KPA.png","https://storage.googleapis.com/bith-stg-assets/templates/images/01K9W0E6XSN7R28Y1VF36M5HAA.png","https://storage.googleapis.com/bith-stg-assets/templates/images/01KAX8W44V3FHRP29AKRGJ49M6.png","https://storage.googleapis.com/bith-stg-assets/templates/images/01K9W0E502FKT4269FWXV5TT
1VT.png","https://storage.googleapis.com/bith-stg-assets/templates/images/01K9W0BZNBD0D7FTQCN2XDNV1Z.png","https://storage.googleapis.com/bith-stg-assets/templates/images/01K9W0BVFX01G81AW8HJ80ZB2B.png","https://storage.googleapis.com/bith-stg-assets/templates/images/01KAX9D8R980XP31XXBAXWDZRV.png","https://storage.googleapis.com/bith-stg-assets/templates/images/01KAX9B3V8W4EPAZZDV6SA74WP.png","https://storage.googleapis.com/bith-stg-assets/templates/images/01K9W09FSCQ5X2Q0B0GCP8BHJ6.png","https://storage.googleapis.com/bith-stg-assets/templates/images/01K9W074GQM5JA06W079HJ8KET.png","https://storage.googleapis.com/bith-stg-assets/templates/images/01KAX98EVCCENB6R6M1KRQV632.png","https://storage.googleapis.com/bith-stg-assets/templates/images/01KA8V9162M6ZSB91X8JYEP6ZC.png","https://storage.googleapis.com/bith-stg-assets/templates/images/01KAX915ZPY7BWG36YTN97PH0J.png","https://storage.googleapis.com/bith-stg-assets/templates/images/01K9W04GV0HW1NJN0DZPRYKB3D.png","https://storage.googleapis.com/bith-stg-assets/templates/images/01K9W04D3C88R6K03V72QDY83A.png","https://storage.googleapis.com/bith-stg-assets/templates/images/01KAX8YFTT1HC7TAH0EAGQ5B2D.png","https://storage.googleapis.com/bith-stg-assets/templates/images/01K9W0C1EBB764810WV2VF3G9V.png","https://storage.googleapis.com/bith-stg-assets/templates/images/01K9W09BBGRWW8FBT6ZYFCSFV9.png","https://storage.googleapis.com/bith-stg-assets/templates/images/01KAX9NZM3FY1S5KQQ0KBYQ1KS.png","https://storage.googleapis.com/bith-stg-assets/templates/images/01KAX9HTDECY4S3FE9XWCCG8XF.png","https://storage.googleapis.com/bith-stg-assets/templates/images/01K9W0H52NN91GQ7GX5WTQ6KZW.png"],[]);return(0,s.jsxs)(h,{children:[(0,s.jsxs)(m,{children:[(0,s.jsx)(c,{images:o,rows:6}),(0,s.jsx)(u,{}),(0,s.jsx)(f,{})]}),(0,s.jsx)(x,{children:(0,s.jsxs)(w,{children:[(0,s.jsx)(b,{children:"Ø£ÙØ´Ø¦ ØµÙØ±Ùا Ø£ÙØ¶Ù ÙÙ
ÙØªØ¬Ù باستخداÙ
Ø§ÙØ°Ùاء Ø§ÙØ§ØµØ·ÙاعÙ"}),(0,s.jsx)(v,{children:"ÙÙ
بتسجÙÙ Ø§ÙØ¯Ø®ÙÙ ÙØªØÙÙÙ ØµÙØ± Ù
ÙØªØ¬Ù Ø¥ÙÙ ØµÙØ± جذابة ٠عاÙÙØ© Ø§ÙØ¬Ùدة باستخداÙ
Ø§ÙØ°Ùاء Ø§ÙØ§ØµØ·ÙاعÙ."})]})})]})});P.displayName="LoginRightPanel";var K=P},96997:function(t,e,a){"use strict";a.d(e,{V:function(){return g}});var s=a(67294),i=a(11163),o=a(36808),n=a.n(o),r=a(87959),l=a(47713);let g=()=>{let t=(0,i.useRouter)(),{userState:e}=(0,r.Z)();(0,s.useEffect)(()=>{let a=(0,l.PI)(t.pathname),s=n().get(a),i=t.pathname.replace(/^\/(en|ar|es|fr|it|tr)\//,"/").includes("/change-password");if(s&&(null==e?void 0:e.id)&&!i){var o;if(null==e?void 0:e.user_should_change_password){let e=(0,l.kM)(t.pathname,"change-password");window.location.href=e;return}let a=null==t?void 0:null===(o=t.query)||void 0===o?void 0:o.redirectTo;if(a)window.location.href=a;else{let e=(0,l.kM)(t.pathname,"app");window.location.href=e}}},[null==e?void 0:e.id,null==e?void 0:e.user_should_change_password,t])}},976:function(t,e,a){"use strict";a.r(e),a.d(e,{__N_SSP:function(){return u},default:function(){return f}});var s=a(85893),i=a(67294),o=a(11163),n=a(5405),r=a(23117),l=a(10397),g=a(47713);let p=t=>{let{setFormError:e}=t||{},a=(0,o.useRouter)(),s=i.useContext(l.pm),[n,p]=(0,i.useState)(null),c=(0,i.useRef)(null),d=(0,i.useRef)(null),h=(0,i.useCallback)(t=>{var i,o;if(t.origin===window.location.origin){if((null===(i=t.data)||void 0===i?void 0:i.type)==="SALLA_OAUTH_TOKEN"){let{token:i,appSlug:o,redirectTo:n}=t.data;if(!i){let t="No token received from redirect page";p(t),e&&e("password",{message:t});return}let l=o||(0,g.qB)(a.pathname);r.N.oauth2Login({social_access_token:i},l,t=>{let i=(null==t?void 0:t.data)||t;if(null==i?void 0:i.access_token)null==s||s.loginRegisterSuccess(i,l,()=>{let t=(0,g.kM)(a.pathname,"app"),e=n||t,s=e.startsWith("/")?e:"/".concat(e);a.push(s).catch(t=>{window.location.href="".concat(window.location.origin).concat(s)})});else{let t="Invalid response from server";p(t),e&&e("password",{message:t})}},t=>{var a;let s=(null==t?void 0:null===(a=t.data)||void 0===a?void 0:a.message)||(null==t?void 0:t.message)||"Failed to authenticate. Please try again.";p(s),e&&e("password",{message:s})})}else if((null===(o=t.data)||void 0===o?void 0:o.type)==="SALLA_OAUTH_ERROR"){let{error:a}=t.data,s=a||"Failed to authenticate. Please try again.";p(s),e&&e("password",{message:s})}}}
1,[a,e,s]);(0,i.useEffect)(()=>(window.addEventListener("message",h),()=>{window.removeEventListener("message",h)}),[h]);let m=(0,i.useCallback)(t=>{let s=(0,g.qB)(a.pathname),i=new URLSearchParams;i.set("app_slug",s),t&&i.set("redirectTo",t);let o="".concat(window.location.origin).concat("/salla/redirect","?").concat(i.toString()),n=new URLSearchParams;n.set("redirect_uri",o);let r="".concat("https://prod.bith.tv/api","/apps/").concat(s,"/login?").concat(n.toString()),l=window.screenX+(window.outerWidth-600)/2,h=window.screenY+(window.outerHeight-700)/2,m=window.open(r,"Salla Login","width=".concat(600,",height=").concat(700,",left=").concat(l,",top=").concat(h,",toolbar=no,menubar=no,scrollbars=yes,resizable=yes,location=no,directories=no,status=no"));if(!m){let t="Popup blocked. Please allow popups and try again.";return p(t),e&&e("password",{message:t}),!1}return c.current=m,p(null),d.current=setInterval(()=>{m.closed&&d.current&&(clearInterval(d.current),d.current=null)},500),!0},[]);return(0,i.useEffect)(()=>()=>{d.current&&clearInterval(d.current)},[]),{popupError:n,setPopupError:p,openSallaPopup:m}};var c=a(96997),d=a(15458),h=a(95392);let m=n.ZP.div.withConfig({componentId:"sc-ad33318a-0"})(["background:var(--primary-color);position:relative;width:100%;height:100vh;overflow:hidden;"]);var u=!0,f=()=>{let t=(0,o.useRouter)(),{popupError:e,openSallaPopup:a}=p({setFormError:()=>{}});(0,c.V)();let n=(0,i.useCallback)(()=>{a(t.query.redirectTo)},[t.query.redirectTo,a]);return(0,s.jsxs)(m,{children:[(0,s.jsx)(d.Z,{onSallaButtonClick:n,loading:!1,popupError:e,icon:"/icons/salla-icon.svg"}),(0,s.jsx)(h.Z,{type:"video",videoSrc:"https://storage.googleapis.com/bith-stg-assets/featured-sections/videos/qUQRZx3NCQK4uVoh2oNNCrYDiMsaUZAbOfys7sA7.mp4"})]})}}},function(t){t.O(0,[92888,49774,40179],function(){return t(t.s=22970)}),_N_E=t.O()}]);
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.