1import{_ as W}from"./Dy2xinyL.js";import F from"./c5dgDvDu.js";import M from"./JoP25WuJ.js";import X from"./7QRN7lGY.js";import V from"./BE0W-C68.js";import P from"./B-_UDQML.js";import j from"./DWzZ61EU.js";import J from"./CaOqB26v.js";import R from"./CGB6CXIl.js";import z from"./59THdc-D.js";import{aV as U,bj as Y,aY as H,aX as G,cy as q,br as t,by as r,b2 as k,bv as o,bu as I,bw as i,b6 as v,bF as D,bz as Q,bs as p,bx as L,bt as Z,a$ as K,b9 as A,bC as ee}from"./EBpBARSw.js";import{u as te}from"./1kWrGCv_.js";import{A as s,a as g}from"./CSLGp06j.js";import"./DpZ7f565.js";import"./DrRg1rd5.js";import"./1HUvpwnI.js";import"./DL71b4LM.js";import"./B05eGCFr.js";import"./CbDlNXSx.js";import"./Lmb05Apy.js";import"./DiN8x0mA.js";import"./DNIs4AQh.js";import"./Bq_376aw.js";import"./Df6GUClV.js";import"./BHuojVLH.js";import"./BpkgrXpV.js";import"./De1uZK4E.js";import"./DjXNlYmM.js";import"./EOf1V2Z2.js";import"./Fv6MJwKN.js";(function(){try{var m=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new m.Error().stack;d&&(m._sentryDebugIds=m._sentryDebugIds||{},m._sentryDebugIds[d]="ebf39413-b04b-4658-ba0c-a81e36dd84e9",m._sentryDebugIdIdentifier="sentry-dbid-ebf39413-b04b-4658-ba0c-a81e36dd84e9")}catch{}})();const oe={4:{adfoxConfig:g["300x250_1"],type:"adfox-banner"},8:{adfoxConfig:s.waterfall_1,type:"adfox-partner"},12:{adfoxConfig:s.waterfall_2,type:"adfox-partner"},16:{adfoxConfig:g["300x250_2"],type:"adfox-banner"},20:{adfoxConfig:s.waterfall_3,type:"adfox-partner"},24:{adfoxConfig:s.waterfall_1,type:"adfox-partner"},28:{adfoxConfig:g["300x250_3"],type:"adfox-banner"},32:{adfoxConfig:s.waterfall_2,type:"adfox-partner"},36:{adfoxConfig:s.waterfall_3,type:"adfox-partner"},40:{adfoxConfig:g["300x250_4"],type:"adfox-banner"},44:{adfoxConfig:s.waterfall_1,type:"adfox-partner"},48:{adfoxConfig:s.waterfall_2,type:"adfox-partner"},52:{adfoxConfig:g["300x250_5"],type:"adfox-banner"},56:{adfoxConfig:s.waterfall_3,type:"adfox-partner"},60:{adfoxConfig:s.waterfall_1,type:"adfox-partner"}},ne=U({__name:"TheWaterfallMobile",emits:["close"],setup(m){const d=Y(),y=te(),E=K(""),T=A(()=>d.path.startsWith("/education")||d.path.startsWith("/tegi/education")),B=A(()=>{const e={},{items:a}=y.state;let C={...oe},u=0;for(let n=0,O=a.length;n<O;n++){const _=new Intl.DateTimeFormat("ru").format(Number(a[n].time)*1e3);Array.isArray(e[_])?e[_].push(a[n]):e[_]=[a[n]];const $=Object.entries(C);$.forEach(([l,b])=>{const c=Number.parseInt(l,10);n===c&&e[_].splice(n,0,b),u=c}),!(n<=u)&&(C=$.reduce((l,[b,c])=>{const w=Number.parseInt(b,10);return l[w]=c,l[w+u]=c,l},{}))}return e});function S(){E.value=location.pathname.substr(1)}return H(()=>{window.removeEventListener("historyupdate",S)}),G(()=>{window.addEventListener("historyupdate",S),q(()=>{E.value=d.path.substr(1)})}),(e,a)=>{const C=W,u=F,n=M,O=X,_=V,$=P,l=j,b=J,c=R,w=z;return t(),r("div",{class:o(e.$style.root)},[k(C,{class:o(e.$style.close),name:"close",theme:"light",onClick:a[0]||(a[0]=h=>e.$emit("close"))},null,8,["class"]),I("div",{class:o(e.$style.container)},[i(y).isPending?(t(),r("ul",{key:0,class:o(e.$style.items)},[I("li",{class:o(e.$style.date)},[k(u,{class:o(e.$style.itemLoader)},null,8,["class"])],2),(t(),r(v,null,D(20,h=>I("li",{key:h,class:o(e.$style.item)},[k(u,{class:o(e.$style.itemLoader)},null,8,["class"])],2)),64))],2)):(t(),r("ul",{key:1,class:o(e.$style.items)},[(t(!0),r(v,null,D(i(B),(h,x)=>(t(),r(v,{key:x},[I("li",{class:o(e.$style.date)},Q(x),3),x===Object.keys(i(B))[0]?(t(),r("li",{key:`carousel_${x}`,class:o(e.$style.itemTop)},[i(T)?L("",!0):(t(),p(n,{key:0,class:o(e.$style.carousel)},null,8,["class"])),i(T)?(t(),p(O,{key:1})):(t(),p(_,{key:2}))],2)):L("",!0),(t(!0),r(v,null,D(h,(f,N)=>(t(),r("li",{key:`${x}__${f.id||N}`,class:o(e.$style.item)},[f.type==="adfox-banner"?(t(),p($,{key:0,config:f.adfoxConfig},null,8,["config"])):f.type==="adfox-partner"?(t(),p(l,{key:1,config:f.adfoxConfig},null,8,["config"])):(t(),p(b,{key:2,"is-active":i(E)===f.url,item:f,onClick:a[1]||(a[1]=Ce=>e.$emit("close"))},null,8,["is-active","item"]))],2))),128))],64))),128))],2)),i(y).fetchStatus.isDone?L("",!0):(t(),p(w,{key:2,class:o(e.$style.intersectionObserver),onIntersect:i(y).fetch},{default:Z(()=>[k(c)]),_:1},8,["class","onIntersect"]))],2)],2)}}}),se="epJ5G",ae="_9W9XY",re="FJ4go",ie="_4Ec1z",le="RmchX",ce="o5-Re",fe="PBmJO",pe="cwdcx",me="gV0yS",de="IULpf",ue="-pJoI",_e="AHFrO",ye="uXBV-",be="rksuj",xe={root:se,close:ae,container:re,items:ie,itemTop:le,carousel:ce,item:fe,date:pe,entries:me,entry:de,isSpecial:ue,isPartner:_e,intersectionObserver:ye,itemLoader:be},ge={$style:xe},Qe=ee(ne,[["__cssModules",ge]]);export{Qe 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.