PageSourceSearch

https://assets.zawya.com/prod/ArticleAuthor.fb221e4dfa961c5125b8.js

js zawya.com collected 2026-09-24 07:39:00 UTC 5,418 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkzawya_glide_deliver=self.webpackChunkzawya_glide_deliver||[]).push([[6198],{zmK2(e,t,n){n.r(t),n.d(t,{onLoad:()=>u});var o=n("Fqp6");const a="gdb-article-author__follow-btn--active",i="author",r="follow",l=new Map;function c(e,t){t?(e.classList.add(a),e.textContent="Following"):(e.classList.remove(a),e.textContent="Follow")}async function s(){var e,t,n;const a=document.querySelectorAll(".gdb-article-author__follow-btn");if(!a.length)return;const s=null==(n=null==(t=null==(e=window.nexa)?void 0:e.auth)?void 0:t.isAuthenticated)?void 0:n.call(t),d=[];a.forEach(e=>{const t=e.getAttribute("data-author-id");t&&d.push(String(t))}),s&&d.length&&await async function(e){var t;try{const n=await window.nexa.profile.interactions.check({external_ids:e,type_slug:i});for(const o of e){const e=null==n?void 0:n[o],a=null==e?void 0:e.find(e=>e.action_performed===r);l.set(o,{interactionId:null!=(t=null==a?void 0:a.id)?t:null,isActive:!!a})}}catch(t){console.error("[ArticleAuthor] Failed to check follow states:",t);for(const t of e)l.set(t,{interactionId:null,isActive:!1})}}(d),a.forEach(e=>{const t=e.getAttribute("data-author-id"),n=e.getAttribute("data-author-name")||"";if(t)if(s){const a=l.get(String(t));(null==a?void 0:a.isActive)&&c(e,!0),e.addEventListener("click",a=>{a.preventDefault(),a.stopPropagation(),async function(e,t,n){var a;const s=l.get(t);if(s)if(s.isActive&&s.interactionId)try{await window.nexa.profile.interactions.delete(s.interactionId),s.isActive=!1,s.interactionId=null,c(e,!1)}catch(e){console.error("[ArticleAuthor] Failed to unfollow author:",e)}else try{const l=await window.nexa.profile.interactions.create({type_slug:i,action_slug:r,external_id:String(t),title:n,metadata:{locale:(0,o.JK)()}});s.isActive=!0,s.interactionId=null!=(a=null==l?void 0:l.id)?a:null,c(e,!0)}catch(e){console.error("[ArticleAuthor] Failed to follow author:",e)}}(e,String(t),n)})}else e.addEventListener("click",e=>{e.preventDefault(),e.stopPropagation(),window.location.href=`/${(0,o.JK)()}/login`})})}function d(e=0){window.nexa?s():e<100&&setTimeout(()=>d(e+1),100)}function u(){d()}},Fqp6(e,t,n){n.d(t,{JK:()=>a,YG:()=>c,pm:()=>l});const o=n("Hxum").y3.EN,a=()=>window.location.pathname.split("/")[1]||o,i=100,r=100,l=(e,t,n="Service unavailable. Please reload the page.",o=0)=>{const a=document.querySelector(e);a&&(window.nexa?t():o<i?setTimeout(()=>l(e,t,n,o+1),r):a.innerHTML=`<p style="text-align:center;padding:2rem;">${n}</p>`)},c=()=>{if("ar"!==a())return;const e={Show:"إظهار",Hide:"إخفاء","Sign In":"سجل الدخول","Sign Up":"إنشاء حساب","Create Account":"إنشاء حساب","Reset Password":"إعادة تعيين كلمة المرور","Send Reset Link":"إرسال رابط إعادة التعيين",Submit:"إرسال","Invalid username or password.":"اسم المستخدم أو كلمة المرور غير صحيحة","This field is required":"هذا الحقل مطلوب","Invalid email address":"بريد إلكتروني غير صالح","Invalid email":"بريد إلكتروني غير صالح","Password is too short":"كلمة المرور قصيرة جدًا","Passwords do not match":"كلمات المرور غير متطابقة","Invalid credentials":"اسم المستخدم أو كلمة المرور غير صحيحة","Email already exists":"البريد الإلكتروني مسجل بالفعل","Something went wrong":"حدث خطأ ما",Account:"حساب","My Account":"حسابي","My ZAWYA":"حساب زاوية الخاص بي","Saved Searches":"أرشيف البحث","Newsletters (Subscriptions)":"النشرات الإخبارية (الاشتراكات)","Show password":"اظهر كلمة المرور"},t={"Enter your email":"البريد الإلكتروني","Enter email":"البريد الإلكتروني",Email:"البريد الإلكتروني",email:"البريد الإلكتروني","Enter your password":"كلمة المرور","Enter password":"كلمة المرور",Password:"كلمة المرور",password:"كلمة المرور","Confirm password":"كلمة المرور","Confirm Password":"كلمة المرور","First name":"الاسم الأول","First Name":"الاسم الأول","
1Last name":"اسم العائلة","Last Name":"اسم العائلة","Company name":"اسم المؤسسة","Company Name":"اسم المؤسسة",Country:"الدولة",country:"الدولة","Role / Job Function":"الوظيفة"};let n=!1;const o=()=>{document.querySelectorAll(".nexa-auth-container button, .nexa-auth-container label, .nexa-auth-container span, .nexa-auth-container p, .nexa-auth-container [class*='error'], .nexa-auth-container [class*='message'], .nexa-auth-container [class*='toggle'], .nexa-auth-container [class*='show-password']").forEach(t=>{var n;const o=null==(n=t.textContent)?void 0:n.trim();o&&e[o]&&(t.textContent=e[o])});document.querySelectorAll(".nexa-auth-container input[placeholder]").forEach(e=>{const n=e.getAttribute("placeholder")||"";t[n]&&e.setAttribute("placeholder",t[n])})},i=new MutationObserver(()=>{o(),n||(n=!0,setTimeout(()=>i.disconnect(),3e3))}),r=document.querySelector("#nexa-login-container")||document.querySelector("#nexa-register-container")||document.querySelector("#nexa-forgot-password-container")||document.querySelector("#nexa-profile-container");r&&(i.observe(r,{childList:!0,subtree:!0,characterData:!0}),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.