PageSourceSearch

https://gazprom.kg/assets/HeadsPage-BqtydbLw.js

js gazprom.kg collected 2026-10-07 02:59:15 UTC 3,329 bytes, 1 lines download raw bytes

1import{_ as v,c as a,o as t,b as r,v as f,X as B,f as $,A as j,E as y,B as I,t as w,x as p,w as C,e as S,C as z,F as _,D as g,z as E,d as O}from"./index-ae80RWzP.js";import{_ as x}from"./CategoriesBar-Dlopdj45.js";import"./arrow-right-CsnO2xBg.js";const D="/assets/grebenyk-ChFoSxfB.jpg",F="/assets/akimbaev-ChRvgPhv.jpg",L="/assets/aldayarov-D1hHj7It.jpg",A="/assets/saltanat-BsuXeirI.jpg",N="/assets/abildayev-DlJ4zifl.jpg",P="/assets/usuvalievb-BRaZqFpq.jpg",U={props:{head:Object},computed:{photoUrl(){return this.head?this.head.fullname==="Гребенюк Александр Анатольевич"?D:this.head.fullname==="Усувалиев Бекжан Нурдинович"?P:this.head.fullname==="Абилдаев Болот Ералханович"?N:this.head.fullname==="Акимбаев Сабырбек Орозбекович"?F:this.head.fullname==="Алдаяров Арзымат Нуркулович"?L:this.head.fullname==="Джумагулова Салтанат Муратовна"?A:this.head.photo?`https://files.gazprom.kg/images/heads/${this.head.photo}`:null:null}},methods:{isEmptyObject(e){return!!e&&Object.keys(e).length===0}}},V={class:"head-card"},q={class:"photo"},R=["src","alt"],T={key:1,class:"no-photo"},X={class:"position"};function J(e,s,n,k,H,o){var d,c,h,u;return t(),a("div",V,[r("div",q,[o.photoUrl?(t(),a("img",{key:0,src:o.photoUrl,alt:(d=n.head)==null?void 0:d.fullname},null,8,R)):(t(),a("div",T))]),r("span",{class:"fullname",onClick:s[0]||(s[0]=m=>{var l,i;return o.isEmptyObject((l=n.head)==null?void 0:l.content)?null:e.$router.push(`/about/heads/${(i=n.head)==null?void 0:i.id}`)}),style:B(o.isEmptyObject((c=n.head)==null?void 0:c.content)?"cursor: default":"cursor: pointer")},f((h=n.head)==null?void 0:h.fullname),5),r("span",X,f((u=n.head)==null?void 0:u.position),1)])}const b=v(U,[["render",J],["__scopeId","data-v-f5283ccb"]]),M=$({components:{HeadItem:b,CategoriesSideBar:x,BaseSkeleton:y},name:"HeadsPage",data(){return{heads:[],loadingHeads:!1}},watch:{currentLang:{handler(){this.fetchHeads()}}},computed:{...j(I,["currentLang"]),rowHeads(){const e=[];this.heads.length>0&&e.push(this.heads.slice(0,4));for(let s=4;s<this.heads.length;s+=4)e.push(this.heads.slice(s,s+4));return e}},methods:{async fetchHeads(){this.loadingHeads=!0;try{await this.$axiosApi.get("gazprom-app/content/heads?lang="+this.currentLang).then(({data:e})=>{e&&(e.sort((s,n)=>s.fullname.localeCompare(n.fullname)),this.heads=e)})}catch(e){console.log(e)}this.loadingHeads=!1}},beforeMount(){this.fetchHeads()}}),Z={class:"container"},G={class:"right-side"},K={key:0,class:"heads"},Q={key:1,class:"skeleton"};function W(e,s,n,k,H,o){const d=w("categories-side-bar"),c=z,h=b,u=y;return t(),a("div",Z,[p(d),r("div",G,[p(c,{tag:"h3",size:"small"},{default:C(()=>[S(f(e.$t("heads.title")),1)]),_:1}),!e.loadingHeads&&e.heads?(t(),a("div",K,[(t(!0),a(_,null,g(e.rowHeads,(m,l)=>(t(),a("div",{key:l,class:E(["row",{"no-divider":l===e.rowHeads.length-1}])},[(t(!0),a(_,null,g(m,i=>(t(),O(h,{key:i.id,head:i},null,8,["head"]))),128)),s[0]||(s[0]=r("div",{class:"divider"},null,-1))],2))),128))])):(t(),a("div",Q,[(t(),a(_,null,g(7,m=>p(u,{key:m,style:{"border-radius":"32px",height:"370px",width:"20%"}})),64))]))])])}const te=v(M,[["render",W],["__scopeId","data-v-b4c7cddc"]]);export{te as default};

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.