PageSourceSearch

https://www.symplysis.com/_next/static/chunks/0zobqahhuhg0g.js?dpl=dpl_6wcBdeyfT2hKJT4QLc9EAEAWPy5c

js symplysis.com collected 2026-09-24 09:52:07 UTC 22,882 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,801206,e=>{"use strict";var t=e.i(843476),i=e.i(271645),r=e.i(733209),a=e.i(744828);let s=(0,t.jsx)("span",{"aria-hidden":"true",style:{color:"var(--color-error)",marginInlineStart:2},children:"*"});function n(e){return!/^https?:\/\//i.test(e.trim())}let l=(0,i.forwardRef)(function({label:e,optional:l,required:o,showRequiredMark:d=!0,help:c,error:u,trailing:h,id:m,className:g,...p},f){let{dir:x,isArabic:v,t:y}=(0,a.useAppI18n)(),{style:w,...k}=p,b=(0,i.useId)(),j=m??`i-${b}`,S=c?`${j}-help`:void 0,A=u?`${j}-err`:void 0,_={...k,placeholder:"string"==typeof k.placeholder&&n(k.placeholder)?y(k.placeholder):k.placeholder,"aria-label":"string"==typeof k["aria-label"]?y(k["aria-label"]):k["aria-label"]},N=v?{paddingRight:"0.875rem",paddingLeft:h?"2.75rem":"0.875rem",textAlign:"right"}:h?{paddingRight:"2.75rem"}:{};return(0,t.jsxs)("div",{className:"field",children:[e&&(0,t.jsxs)("label",{htmlFor:j,className:"label",children:[y(e),o&&d&&s,l&&(0,t.jsx)("span",{className:"optional",children:y("(optional)")})]}),(0,t.jsxs)("div",{style:{position:"relative"},dir:x,children:[(0,t.jsx)("input",{ref:f,id:j,required:o,"aria-required":o||void 0,"aria-invalid":!!u||void 0,"aria-describedby":(0,r.cn)(S,A)||void 0,className:(0,r.cn)("input",g),dir:x,style:{...N,...w},..._}),h&&(0,t.jsx)("span",{style:{position:"absolute",right:v?"auto":12,left:v?12:"auto",top:"50%",transform:"translateY(-50%)",color:"var(--color-text-tertiary)",display:"inline-flex"},children:h})]}),c&&!u&&(0,t.jsx)("span",{id:S,className:"help",children:y(c)}),u&&(0,t.jsxs)("span",{id:A,className:"error-msg",role:"alert",children:[(0,t.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2","aria-hidden":"true",children:[(0,t.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,t.jsx)("line",{x1:"12",y1:"8",x2:"12",y2:"12"}),(0,t.jsx)("line",{x1:"12",y1:"16",x2:"12.01",y2:"16"})]}),y(u)]})]})}),o=(0,i.forwardRef)(function({label:e,optional:s,help:l,error:o,id:d,className:c,autoGrow:u,onChange:h,value:m,style:g,rows:p,...f},x){let{t:v}=(0,a.useAppI18n)(),y=(0,i.useId)(),w=d??`t-${y}`,k=(0,i.useRef)(null),b=(0,i.useCallback)(e=>{k.current=e,"function"==typeof x?x(e):x&&(x.current=e)},[x]),j=(0,i.useCallback)(()=>{let e=k.current;e&&u&&(e.style.height="auto",e.style.height=`${e.scrollHeight}px`)},[u]);(0,i.useEffect)(()=>{j()},[j,m]);let S={...f,placeholder:"string"==typeof f.placeholder&&n(f.placeholder)?v(f.placeholder):f.placeholder,"aria-label":"string"==typeof f["aria-label"]?v(f["aria-label"]):f["aria-label"]};return(0,t.jsxs)("div",{className:"field",children:[e&&(0,t.jsxs)("label",{htmlFor:w,className:"label",children:[v(e),s&&(0,t.jsx)("span",{className:"optional",children:v("(optional)")})]}),(0,t.jsx)("textarea",{ref:b,id:w,value:m,rows:p??4,"aria-invalid":!!o||void 0,className:(0,r.cn)("input",c),onChange:e=>{h?.(e),j()},style:u?{resize:"none",overflow:"hidden",...g}:g,...S}),l&&!o&&(0,t.jsx)("span",{className:"help",children:v(l)}),o&&(0,t.jsx)("span",{className:"error-msg",role:"alert",children:v(o)})]})});e.s(["Input",0,l,"Textarea",0,o])},735166,e=>{"use strict";var t=e.i(271645);let i=({size:e=24,color:i="currentColor",...r})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:i,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...r},t.createElement("path",{d:"M2.42 12.713c-.136-.215-.204-.323-.242-.49a1.173 1.173 0 0 1 0-.446c.038-.167.106-.274.242-.49C3.546 9.505 6.895 5 12 5s8.455 4.505 9.58 6.287c.137.215.205.323.243.49.029.125.029.322 0 .446-.038.167-.106.274-.242.49C20.455 14.495 17.105 19 12 19c-5.106 0-8.455-4.505-9.58-6.287Z"}),t.createElement("path",{d:"M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z"}));i.displayName="Eye",e.s(["Eye",0,i])},351296,e=>{"use strict";var t=e.i(271645);let i=({size:e=24,color:i="currentColor",...r})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:i,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...r},t.createElement("path",{d:"M10.743 5.092C11.149 5.032 11.569 5 12 5c5.105 0 8.455 4.505 9.58 6.287.137.215.205.323.243.49a1.16 1.16 0 0 1 0 .447c-.038.166-.107.274-.244.492-.3.474-.757 1.141-1.363 1.865M6.724 6.715c-2.162 1.467-3.63 3.504-4.303 4.57-.137.217-.205.325-.243.492a1.173 1.173 0 0 0 0 .446c.038.167.106.274.242.49C3.546 14.495 6.895 19 12 19c2.059 0 3.832-.732 5.289-1.723M3 3l18 18M9.88 9.879a3 3 0 1 0 4.243 4.243"}));i.displayName="EyeOff",e.s(["EyeOff",0,i])},961382,e=>{"use strict";var t=e.i(682127);let i=new Set(["EARLY40","EARLYBIRD40"]);function r(e){return"string"==typeof e?e.trim():""}function a(e,t){let i=new URLSearchParams;
1return i.set("intent","subscribe"),i.set("plan",t.planKey),i.set("interval",t.interval),t.couponCode&&i.set("coupon",t.couponCode),t.discountPercent&&i.set("discount",String(t.discountPercent)),`${e}?${i.toString()}`}e.s(["buildBillingCheckoutPath",0,function(e){return a("/subscribe",e)},"buildBillingIntentHref",0,a,"parseBillingCheckoutIntent",0,function(e){var a;let s,n=r(e.get("plan")),l=r(e.get("interval")),o=r(e.get("intent")),d=(s="string"==typeof(a=r(e.get("coupon")).slice(0,64))?a.trim():"")?i.has(s.toUpperCase())?"":s:"",c=Number(r(e.get("discount"))),u=Number.isFinite(c)&&c>0&&c<=100?Math.round(c):void 0;return o&&"subscribe"!==o?null:t.publicBillingPlanKeys.includes(n)&&("monthly"===l||"annual"===l)?{planKey:n,interval:l,...d?{couponCode:d}:{},...u?{discountPercent:u}:{}}:null}],961382)},688888,e=>{"use strict";e.s(["createAuthFlow",0,function(e,t){let i={id:crypto.randomUUID(),provider:e,context:t,startedAt:new Date().toISOString()};try{window.sessionStorage.setItem("symplysis_auth_flow",JSON.stringify(i))}catch{}return i}])},523426,e=>{"use strict";var t=e.i(843476),i=e.i(522016),r=e.i(618566),a=e.i(735166),s=e.i(351296),n=e.i(271645),l=e.i(676525),o=e.i(801206),d=e.i(744828),c=e.i(663398),u=e.i(920755);function h(e){return e.replace(/\D/g,"").slice(0,6)}function m({onVerified:e}){let{dir:i,isArabic:r,language:a,t:s}=(0,d.useAppI18n)(),{logout:g,refreshData:p,session:f,user:x}=(0,c.useAuth)(),v=(0,n.useMemo)(()=>(0,u.getSupabaseBrowserClient)(),[]),[y,w]=(0,n.useState)(!0),[k,b]=(0,n.useState)([]),[j,S]=(0,n.useState)(""),[A,_]=(0,n.useState)(""),[N,C]=(0,n.useState)(""),[E,R]=(0,n.useState)(!1),B=(0,n.useCallback)(async()=>{if(!x)return;w(!0),C("");let{data:e,error:t}=await v.auth.mfa.listFactors();if(w(!1),t)return void C(t.message);let i=(e?.totp||[]).filter(e=>"verified"===e.status);i.length?(b(i),S(e=>i.some(t=>t.id===e)?e:i[0]?.id||"")):C(s("Two-factor authentication is enabled, but no verified authenticator app is available."))},[v,s,x]);async function I(t){t.preventDefault(),C("");let i=h(A);if(!j||6!==i.length)return void C(s("Enter the 6-digit code from your authenticator app."));R(!0);let{error:r}=await v.auth.mfa.challengeAndVerify({factorId:j,code:i});(R(!1),r)?C(r.message||s("That code was not accepted.")):(_(""),await p(),e())}return(0,n.useEffect)(()=>{B()},[B,f?.access_token]),(0,t.jsxs)("div",{className:"stack auth-form-shell",lang:a,dir:i,style:{"--stack-gap":"1.5rem",textAlign:r?"right":"left"},children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h1",{className:"auth-heading",style:{fontSize:"var(--text-2xl)",marginBottom:"0.45rem",textAlign:r?"right":"left",direction:i,unicodeBidi:"plaintext"},children:s("Enter your code")}),(0,t.jsx)("p",{className:"auth-subtitle",style:{fontSize:"var(--text-sm)",textAlign:r?"right":"left",direction:i,unicodeBidi:"plaintext"},children:s("Use the 6-digit code from your authenticator app to continue.")})]}),y?(0,t.jsxs)("div",{className:"stack","aria-busy":"true",style:{"--stack-gap":"1rem"},children:[(0,t.jsx)("div",{className:"skeleton",style:{height:68,borderRadius:"var(--radius-md)"}}),(0,t.jsx)("div",{className:"skeleton",style:{height:48,borderRadius:"var(--radius-lg)"}})]}):(0,t.jsxs)("form",{className:"stack",style:{"--stack-gap":"1rem"},onSubmit:I,children:[k.length>1?(0,t.jsxs)("div",{className:"field",children:[(0,t.jsx)("label",{className:"label",htmlFor:"mfa-factor",children:s("Authenticator")}),(0,t.jsx)("select",{id:"mfa-factor",className:"input",value:j,onChange:e=>S(e.target.value),children:k.map((e,i)=>(0,t.jsx)("option",{value:e.id,children:e.friendly_name||`Authenticator app ${i+1}`},e.id))})]}):null,(0,t.jsx)(o.Input,{label:s("Verification code"),inputMode:"numeric",autoComplete:"one-time-code",placeholder:"000000",value:A,onChange:e=>_(h(e.target.value)),required:!0}),N?(0,t.jsx)("div",{style:{padding:"0.75rem 1rem",background:"var(--color-error-soft)",border:"1px solid oklch(58% 0.20 27 / 0.2)",borderRadius:"var(--radius-md)",fontSize:"var(--text-sm)",color:"oklch(42% 0.18 27)"},children:N}):null,(0,t.jsx)(l.Button,{type:"submit",variant:"primary",size:"lg",style:{width:"100%"},loading:E,children:s("Verify and continue")})]}),(0,t.jsx)("button",{type:"button",onClick:()=>void g(),style:{width:"100%",color:"var(--color-text-tertiary)",fontSize:"var(--text-sm)",fontWeight:600,textAlign:"center"},children:s("Sign out instead")})]})}var g=e.i(113192),p=e.i(688888),f=e.i(746040),x=e.i(589441),v=e.i(265447),y=e.i(772294),w=e.i(961382),k=e.i(682127);function b(e,t){if(!t)return e;let[i,r=""]=e.split("?"),a=new URLSearchParams(r);a.set("lang","ar");let s=a.toString();return s?`${i}?${s}`:i}function j(){let{loading:e,login:h,loginWithProvider:j,mfaRequired:_,requestPasswordReset:N,session:C,user:E}=(0,c.useAuth)(),{dir:R,isArabic:B,language:I,t:z}=(0,d.useAppI18n)(),{settings:F}=(0,x.useAppSettings)(),L=(0,r.useRouter)(),T=(0,n.useMemo)(()=>(0,u.getSupabaseBrowserClient)(),[]),M=(0,r.useSearchParams)(),[P,U]=(0,n.use
1State)(""),[$,H]=(0,n.useState)(""),[W,D]=(0,n.useState)(!1),[q,O]=(0,n.useState)(""),[K,Z]=(0,n.useState)(""),[V,G]=(0,n.useState)(!1),[Y,J]=(0,n.useState)(!1),Q=(0,n.useRef)({email:"",count:0}),[X,ee]=(0,n.useState)(""),[et,ei]=(0,n.useState)(!1),[er,ea]=(0,n.useState)(!1),[es,en]=(0,n.useState)(""),[el,eo]=(0,n.useState)(!1),[ed,ec]=(0,n.useState)(!1),[eu,eh]=(0,n.useState)("checking"),em=(0,w.parseBillingCheckoutIntent)(M),eg=em?(0,k.getBillingPlan)(em.planKey):null,ep=(0,v.sanitizeNextPath)(M.get("next"),""),ef=ep||(em?(0,w.buildBillingCheckoutPath)(em):"/dashboard"),ex=b(function(e,t){if(!t)return e;let[i,r=""]=e.split("?"),a=new URLSearchParams(r);return a.set("next",t),`${i}?${a.toString()}`}(em?(0,w.buildBillingIntentHref)("/signup",em):"/signup",ep),B),ev=M.get("error"),ey=!!F?.auth_lock_enabled,ew=F?.auth_lock_message?.trim()||y.AUTH_LOCKED_DEFAULT_MESSAGE;async function ek(e){e.preventDefault(),O(""),Z(""),eo(!1),G(!0);let t=(0,p.createAuthFlow)("email","login");(0,g.track)(g.AnalyticsEvent.LoginStarted,{method:"email",flow_id:t.id}),(0,g.track)(g.AnalyticsEvent.AuthStarted,{flow_id:t.id,auth_provider:"email",auth_context:"login"});let i=await h(P,$);if(G(!1),!i.ok){(0,g.track)(g.AnalyticsEvent.LoginFailed,{method:"email",reason:i.error||"unknown",flow_id:t.id}),(0,g.track)(g.AnalyticsEvent.AuthFailed,{flow_id:t.id,auth_provider:"email",auth_context:"login",reason:i.error||"unknown"});let e=i.error||"Unable to sign you in.";if(O(z(e)),/invalid login credentials/i.test(e)){let e=P.trim().toLowerCase(),t=Q.current.email===e?Q.current.count+1:1;Q.current={email:e,count:t},t>=2&&e&&(ee(e),en(""),ei(!0))}/not confirmed/i.test(e)&&eo(!0);return}i.requiresMfa?eh("mfa"):((0,g.track)(g.AnalyticsEvent.LoginSucceeded,{method:"email",flow_id:t.id}),(0,g.track)(g.AnalyticsEvent.AuthSucceeded,{flow_id:t.id,auth_provider:"email",auth_context:"login"}),Q.current={email:"",count:0},eh("checking"))}async function eb(){if(!X||er)return;ea(!0),en(""),(0,g.track)(g.AnalyticsEvent.PasswordResetRequested,{method:"email",source:"login_failed_twice"});let e=await N(X);(ea(!1),e.ok)?(window.sessionStorage.setItem("symplysis_reset_email",X),window.sessionStorage.setItem("symplysis_reset_notice",e.message||z("Check your inbox for the password reset link.")),ei(!1),L.push(b("/forgot-password",B))):en(z(e.error||"Unable to send the password reset link."))}async function ej(){O(""),Z(""),J(!0);let e=(0,p.createAuthFlow)("google","login");(0,g.track)(g.AnalyticsEvent.LoginStarted,{method:"google",flow_id:e.id}),(0,g.track)(g.AnalyticsEvent.AuthStarted,{flow_id:e.id,auth_provider:"google",auth_context:"login"}),(0,g.track)(g.AnalyticsEvent.SocialAuthClicked,{provider:"google",context:"login",flow_id:e.id}),(0,g.track)(g.AnalyticsEvent.AuthRedirected,{flow_id:e.id,auth_provider:"google",auth_context:"login"});let t=await j("google",ef,null,e.id);t.ok||(J(!1),(0,g.track)(g.AnalyticsEvent.LoginFailed,{method:"google",reason:t.error||"unknown",flow_id:e.id}),(0,g.track)(g.AnalyticsEvent.AuthFailed,{flow_id:e.id,auth_provider:"google",auth_context:"login",reason:t.error||"unknown"}),O(t.error||z("Unable to start Google sign-in.")))}async function eS(){let e=P.trim();if(!e)return void O(B?"أدخل بريدك الإلكتروني أولاً.":"Enter your email first.");ec(!0),O(""),Z("");try{let t=`${window.location.origin}/auth/callback${ep?`?next=${encodeURIComponent(ep)}`:""}`,{error:i}=await T.auth.resend({type:"signup",email:e,options:{emailRedirectTo:t}});if(i)return void O(i.message);eo(!1),Z(B?"أرسلنا رابط تأكيد جديدًا إلى بريدك. تحقّق من صندوق الوارد (ومجلد الرسائل غير المرغوبة) وأكّد حسابك قبل انتهاء صلاحية الرابط.":"We sent a fresh confirmation link to your email. Check your inbox (and spam) and confirm before the link expires.")}catch(e){O(e instanceof Error?e.message:B?"تعذر إرسال البريد. حاول مجددًا.":"Unable to send the email. Try again.")}finally{ec(!1)}}return((0,n.useEffect)(()=>{let t=!1;return async function(){if(e)return eh("checking");if(!E)return eh("form");if(_){eh("mfa"),G(!1),J(!1);return}eh("checking");let{data:i,error:r}=await T.auth.mfa.getAuthenticatorAssuranceLevel();if(!t){if(!r&&"aal2"===i.nextLevel&&"aal2"!==i.currentLevel){eh("mfa"),G(!1),J(!1);return}L.replace(ef)}}(),()=>{t=!0}},[e,_,ef,L,C?.access_token,T,E]),(0,n.useEffect)(()=>{"1"===window.sessionStorage.getItem("symplysis_password_reset")&&(Z(z("Password updated. Sign in with your new password.")),window.sessionStorage.removeItem("symplysis_password_reset"));let e=window.sessionStorage.getItem("symplysis_auth_notice");e&&(Z(e),window.sessionStorage.removeItem("symplysis_auth_notice"))},[]),(0,n.useEffect)(()=>
1{if("launch_soon"===ev||"auth_locked"===ev){O(""),Z(ew);return}if("oauth_callback_failed"===ev){Z(""),O(z("Unable to complete Google sign-in. Try again."));return}"trial_duplicate"===ev&&(Z(""),O(z("This device or account already has access. Sign in with your original account to continue.")))},[ew,ev]),"checking"===eu)?(0,t.jsx)(S,{}):"mfa"===eu?(0,t.jsx)(m,{onVerified:()=>L.replace(ef)}):(0,t.jsxs)("div",{className:"stack auth-form-shell",lang:I,dir:R,style:{"--stack-gap":"1.5rem",textAlign:B?"right":"left"},children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h1",{className:"auth-heading",style:{fontSize:"var(--text-2xl)",marginBottom:"0.45rem",textAlign:B?"right":"left",direction:R,unicodeBidi:"plaintext"},children:z("Welcome back")}),(0,t.jsxs)("p",{className:"auth-subtitle",style:{fontSize:"var(--text-sm)",textAlign:B?"right":"left",direction:R,unicodeBidi:"plaintext"},children:[z("New here?")," ",(0,t.jsx)(i.default,{href:ex,style:{color:"var(--brand)",fontWeight:500},children:z("Create an account")})]})]}),em&&eg?(0,t.jsxs)("div",{style:{padding:"0.875rem 1rem",borderRadius:"var(--radius-lg)",border:"1px solid color-mix(in oklch, var(--brand) 18%, white)",background:"linear-gradient(180deg, color-mix(in oklch, var(--brand) 5%, white), white)"},children:[(0,t.jsx)("div",{style:{fontSize:"var(--text-xs)",textTransform:"uppercase",letterSpacing:"0.08em",color:"var(--brand)",fontWeight:700},children:z("Plan selected")}),(0,t.jsx)("div",{style:{fontSize:"var(--text-sm)",color:"var(--color-text-primary)",marginTop:6,lineHeight:1.5},children:B?(0,t.jsxs)(t.Fragment,{children:["سجّل الدخول للمتابعة إلى الدفع لخطة ",(0,t.jsx)("strong",{children:eg.name})," بنظام ",em.interval,em.couponCode?(0,t.jsxs)(t.Fragment,{children:[" مع تطبيق ",(0,t.jsx)("strong",{children:em.couponCode})]}):null,"."]}):(0,t.jsxs)(t.Fragment,{children:["Sign in to continue to checkout for the ",(0,t.jsx)("strong",{children:eg.name})," ",em.interval," plan",em.couponCode?(0,t.jsxs)(t.Fragment,{children:[" with ",(0,t.jsx)("strong",{children:em.couponCode})," applied"]}):null,"."]})})]}):null,ey?(0,t.jsx)("div",{style:{padding:"0.75rem 1rem",background:"var(--color-info-soft)",border:"1px solid color-mix(in oklch, var(--color-info) 22%, white)",borderRadius:"var(--radius-md)",fontSize:"var(--text-sm)",color:"color-mix(in oklch, var(--color-info) 55%, black)"},children:ew}):null,q?(0,t.jsxs)("div",{style:{padding:"0.75rem 1rem",background:"var(--color-error-soft)",border:"1px solid oklch(58% 0.20 27 / 0.2)",borderRadius:"var(--radius-md)",fontSize:"var(--text-sm)",color:"oklch(42% 0.18 27)"},children:[q,el?(0,t.jsx)("div",{style:{marginTop:"0.75rem"},children:(0,t.jsx)(l.Button,{type:"button",variant:"secondary",size:"sm",loading:ed,onClick:()=>void eS(),children:B?"إعادة إرسال رابط التأكيد":"Resend confirmation email"})}):null]}):null,K?(0,t.jsx)("div",{style:{padding:"0.75rem 1rem",background:"var(--color-info-soft)",border:"1px solid color-mix(in oklch, var(--color-info) 22%, white)",borderRadius:"var(--radius-md)",fontSize:"var(--text-sm)",color:"color-mix(in oklch, var(--color-info) 55%, black)"},children:K}):null,(0,t.jsx)(l.Button,{variant:"secondary",size:"lg",style:{width:"100%"},leadingIcon:(0,t.jsx)(A,{}),onClick:()=>void ej(),loading:Y,children:z("Continue with Google")}),(0,t.jsxs)("div",{className:"row",style:{gap:"0.75rem"},children:[(0,t.jsx)("hr",{className:"divider",style:{flex:1}}),(0,t.jsx)("span",{style:{fontSize:"var(--text-xs)",color:"var(--color-text-tertiary)",textTransform:"uppercase",letterSpacing:"0.06em"},children:z("or")}),(0,t.jsx)("hr",{className:"divider",style:{flex:1}})]}),(0,t.jsxs)("form",{className:"stack",style:{"--stack-gap":"1rem"},onSubmit:ek,children:[(0,t.jsx)(o.Input,{label:z("Email"),type:"email",placeholder:"[email protected]",autoComplete:"email",value:P,onChange:e=>U(e.target.value),required:!0,showRequiredMark:!1}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"row row-between auth-password-row",style:{marginBottom:"0.5rem",flexDirection:"row"},children:[(0,t.jsx)("label",{className:"label",htmlFor:"login-password",children:z("Password")}),(0,t.jsx)(i.default,{href:b("/forgot-password",B),style:{fontSize:"var(--text-xs)",color:"var(--brand)",fontWeight:500},children:z("Forgot password?")})]}),(0,t.jsx)(o.Input,{id:"login-password",type:W?"text":"password",placeholder:"••••••••",autoComplete:"current-password",value:$,onChange:e=>H(e.target.value),required:!0,trailing:(0,t.jsx)("button",{type:"button",onClick:()=>D(e=>!e),"aria-label":W?z("Hide password"):z("Show password"),style:{display:"inline-flex"},children:W?(0,t.jsx)(s.EyeOff,{size:16}):(0,t.jsx)(a.Eye,{size:16})})})]}),(0,t.jsx)(l.Button,{type:"submit",variant:"primary",size:"lg",style:{width:"100%"},loading:V,children:z("Sign in")})]}),(0,t.jsx)(f.Modal,{open:et,onClose:()=>ei(!1),ariaLabel:B?"استعادة كلمة المرور":"Password recovery",children:(0,t.jsxs)("div",{dir:R,style:{padding:"2rem",textAlign:B?"right":"left"},children:[(0,t.jsx)("h2",{style:{margin:0,paddingInlineEnd:"2rem",fontSize:"var(--text-xl)",color:"var(--color-text-primary)"}
1,children:B?"هل نسيت كلمة المرور؟":"Forgot your password?"}),(0,t.jsx)("p",{style:{margin:"0.65rem 0 0",color:"var(--color-text-secondary)",fontSize:"var(--text-sm)",lineHeight:1.7},children:B?`فشلت محاولتا تسجيل الدخول. يمكننا إرسال رابط إعادة التعيين إلى ${X}.`:`Two sign-in attempts failed. We can send a reset link to ${X}.`}),es?(0,t.jsx)("div",{role:"alert",style:{marginTop:"1rem",padding:"0.75rem 0.9rem",borderRadius:"var(--radius-md)",background:"var(--color-error-soft)",color:"oklch(42% 0.18 27)",fontSize:"var(--text-sm)"},children:es}):null,(0,t.jsxs)("div",{style:{display:"grid",gap:"0.65rem",marginTop:"1.35rem"},children:[(0,t.jsx)(l.Button,{type:"button",variant:"primary",size:"lg",loading:er,onClick:()=>void eb(),children:B?"نسيت كلمة المرور؟ أعد تعيينها الآن":"Forgot password? Reset it now"}),(0,t.jsx)(l.Button,{type:"button",variant:"secondary",size:"lg",disabled:er,onClick:()=>ei(!1),children:B?"المحاولة مرة أخرى":"Try again"})]})]})})]})}function S(){return(0,t.jsxs)("div",{className:"stack","aria-busy":"true",style:{"--stack-gap":"1.25rem",minHeight:320},children:[(0,t.jsx)("span",{className:"visually-hidden",children:"Loading sign-in form"}),(0,t.jsxs)("div",{className:"stack",style:{"--stack-gap":"0.625rem"},children:[(0,t.jsx)("div",{className:"skeleton",style:{width:"min(100%, 13rem)",height:34,borderRadius:"var(--radius-md)"}}),(0,t.jsx)("div",{className:"skeleton",style:{width:"min(100%, 17rem)",height:16}})]}),(0,t.jsx)("div",{className:"skeleton",style:{height:48,borderRadius:"var(--radius-lg)"}}),(0,t.jsxs)("div",{className:"row",style:{gap:"0.75rem"},"aria-hidden":"true",children:[(0,t.jsx)("div",{className:"skeleton",style:{height:1,flex:1}}),(0,t.jsx)("div",{className:"skeleton",style:{width:28,height:12}}),(0,t.jsx)("div",{className:"skeleton",style:{height:1,flex:1}})]}),(0,t.jsxs)("div",{className:"stack",style:{"--stack-gap":"1rem"},children:[(0,t.jsx)("div",{className:"skeleton",style:{height:68,borderRadius:"var(--radius-md)"}}),(0,t.jsx)("div",{className:"skeleton",style:{height:68,borderRadius:"var(--radius-md)"}}),(0,t.jsx)("div",{className:"skeleton",style:{height:48,borderRadius:"var(--radius-lg)"}})]}),(0,t.jsx)("div",{className:"skeleton",style:{width:"min(100%, 20rem)",height:14,margin:"0 auto"}})]})}function A(){return(0,t.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M21.6 12.2c0-.7-.1-1.4-.2-2H12v3.8h5.4a4.6 4.6 0 0 1-2 3v2.5h3.2c1.9-1.7 3-4.3 3-7.3Z",fill:"#4285F4"}),(0,t.jsx)("path",{d:"M12 22c2.7 0 5-.9 6.6-2.5l-3.2-2.5c-.9.6-2 1-3.4 1a6 6 0 0 1-5.6-4.1H3.1v2.6A10 10 0 0 0 12 22Z",fill:"#34A853"}),(0,t.jsx)("path",{d:"M6.4 13.9a6 6 0 0 1 0-3.8V7.5H3.1a10 10 0 0 0 0 9l3.3-2.6Z",fill:"#FBBC05"}),(0,t.jsx)("path",{d:"M12 6c1.5 0 2.8.5 3.8 1.5l2.9-2.9A10 10 0 0 0 3.1 7.5l3.3 2.6A6 6 0 0 1 12 6Z",fill:"#EA4335"})]})}e.s(["default",0,function(){return(0,t.jsx)(n.Suspense,{fallback:(0,t.jsx)(S,{}),children:(0,t.jsx)(j,{})})}],523426)}]);

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.