1import M from"./DGoXZ4Qc.js";import{_ as V}from"./Dy2xinyL.js";import{aV as B,aW as D,bm as O,aY as P,aX as T,b9 as h,a$ as c,bJ as W,bC as N,br as g,by as E,bu as k,b2 as m,bv as p,bt as x,bM as U,bP as z,bA as J,bx as R}from"./EBpBARSw.js";import"./BtDg2LW-.js";import"./CbDlNXSx.js";import"./Lmb05Apy.js";import"./DiN8x0mA.js";import"./vujTilPU.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="03234574-af87-4b9a-9638-4bdf24e917b7",e._sentryDebugIdIdentifier="sentry-dbid-03234574-af87-4b9a-9638-4bdf24e917b7")}catch{}})();const j=B({name:"ArticleAuthors",props:{article:{default:()=>({}),type:Object}},setup(e){const s=h(()=>e.article.authors||[]),v=D(),t=c([]),y=O(),u=c(),n=c(),d=c(),a=c(),C=v.$viewport,b=W({isActive:!1,isVisible:h(()=>t.value.length),items:h(()=>t.value.map(o=>s.value[o]))});function w(o){d.value?.contains(o.target)||(b.isActive=!1)}function A(o){o.code==="Escape"&&(b.isActive=!1)}return P(()=>{n.value?.disconnect(),window.removeEventListener("click",w),window.removeEventListener("keyup",A)}),T(async()=>{if(s.value.length<2||!a.value||!u.value)return;await new Promise(i=>setTimeout(i));const o=u.value.firstChild;if(!o)return;const l=Array.from(o.children||[]),I=l.map(i=>i.offsetWidth+i.offsetLeft);n.value=new ResizeObserver(()=>{if(C.isLessThan("tablet")){if(!t.value.length)return;for(const f of l)f.removeAttribute("style");t.value=[];return}const i=Math.floor(a.value?.offsetWidth||0);let r=l.length;for(;r--;){const f=l[r],$=I[r];if(i<$){if(f.setAttribute("style","display: none"),t.value.includes(r))continue;t.value.unshift(r)}else{f.removeAttribute("style");const _=t.value.findIndex(L=>L===r);if(_===-1)continue;t.value.splice(_,1)}}}),n.value.observe(a.value),window.addEventListener("click",w),window.addEventListener("keyup",A)}),{authors:s,authorsHidden:t,css:y,listElement:u,moreElement:d,rootElement:a,tooltip:b}}}),H="a3xPP",K="dRa7J",S="lc2xw",X="ZyfUP",Y={articleAuthors:H,container:K,more:S,tooltip:X};function Z(e,s,v,t,y,u){const n=M,d=V;return g(),E("div",{ref:"rootElement",class:p(e.css.articleAuthors)},[k("div",{ref:"listElement",class:p(e.css.container)},[m(n,{items:e.article.authors},null,8,["items"])],2),e.tooltip.isVisible?(g(),E("div",{key:0,ref:"moreElement",class:p(e.css.more)},[m(d,{"is-active":e.tooltip.isActive,name:"dots-column",theme:"light",title:"ÐоказаÑÑ ÐµÑе",onClick:s[0]||(s[0]=a=>e.tooltip.isActive=!e.tooltip.isActive)},null,8,["is-active"]),m(J,{name:"fade"},{default:x(()=>[U(k("div",{class:p(e.css.tooltip)},[m(n,{items:e.tooltip.items||[],type:"tooltip"},null,8,["items"])],2),[[z,e.tooltip.isActive]])]),_:1})],2)):R("",!0)],2)}const q={$style:Y},ie=N(j,[["render",Z],["__cssModules",q]]);export{ie 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.