PageSourceSearch

https://shonkar.com/_nuxt/DLohiDnj.js

js shonkar.com collected 2026-09-25 05:25:33 UTC 3,077 bytes, 1 lines download raw bytes

1import{aq as g,ar as M,a7 as y,a6 as l,a8 as v,as as b,_ as $,x as k,o as _,A as D,e as i,a as I,y as L,G as c,n as N,D as w}from"./CyVqXwo4.js";import{_ as B}from"./BtPmv9CL.js";import{d as C}from"./BwQzvdFb.js";function F(t,e,n){const[s,a]=g(n?.in,t,e),o=h(s,a),u=Math.abs(M(s,a));s.setDate(s.getDate()-o*u);const r=+(h(s,a)===-o),f=o*(u-r);return f===0?0:f}function h(t,e){const n=t.getFullYear()-e.getFullYear()||t.getMonth()-e.getMonth()||t.getDate()-e.getDate()||t.getHours()-e.getHours()||t.getMinutes()-e.getMinutes()||t.getSeconds()-e.getSeconds()||t.getMilliseconds()-e.getMilliseconds();return n<0?-1:n>0?1:n}function p(t){return e=>{const s=(t?Math[t]:Math.trunc)(e);return s===0?0:s}}function H(t,e,n){const[s,a]=g(n?.in,t,e),o=(+s-+a)/y;return p(n?.roundingMethod)(o)}function S(t,e){return+l(t)-+l(e)}function Y(t,e,n){const s=S(t,e)/v;return p(n?.roundingMethod)(s)}const m={rus:{1:"день","1-5":"дня",5:"дней"},eng:{1:"day","1-5":"days",5:"days"},bak:{1:"көндөҙ","1-5":"көн",5:"көнө"},tat:{1:"көн","1-5":"көн",5:"көн"},chv:{1:"кун","1-5":"кун",5:"кун"},chm:{1:"кече","1-5":"кече",5:"кече"},udm:{1:"нунал","1-5":"нунал",5:"нунал"}},d={rus:{1:"час","1-5":"часа",5:"часов"},eng:{1:"hour","1-5":"hours",5:"hours"},bak:{1:"сәғәт","1-5":"сәғәт",5:"сәғәт"},tat:{1:"сәгать","1-5":"сәгать",5:"сәгать"},chv:{1:"сехет","1-5":"сехет",5:"сехет"},chm:{1:"шагат","1-5":"шагат",5:"шагат"},udm:{1:"час","1-5":"час",5:"час"}},z={rus:"мин.",eng:"min.",bak:"мин.",tat:"мин.",chv:"мин.",chm:"мин.",udm:"мин."},Z=(t,e="rus")=>{const n=b(t,"Asia/Yekaterinburg"),s=Date.now(),a=F(s,n);if(a>=1){let r=m[e][1];return a>1&&a<5&&(r=m[e]["1-5"]),a>=5&&(r=m[e][5]),`${a} ${r}`}const o=H(s,n);if(o>=1){let r=d[e][1];return o>1&&o<5&&(r=d[e]["1-5"]),o>=5&&(r=d[e][5]),o===21&&(r=d[e][1]),o>21&&(r=d[e]["1-5"]),`${o} ${r}`}return`${Y(s,n)} ${z[e]}`},A=C({props:{matter:{type:Object,required:!0},large:{type:Boolean,default:!1},showPlatform:{type:Boolean,default:!1}},computed:{matterMeta(){return this.showPlatform?this.matter.platform_title:this.$rubricType(this.matter)}}},"$JVQMn84LlY"),V={class:"rubric-date"},j={class:"cm-rubric"},q={class:"cm-date"},O={class:"title"},P={key:0,class:"author"},T={class:"text-sm"},E={class:"font-bold"};function G(t,e,n,s,a,o){const u=B;return _(),k(u,{class:w([{__large:t.large},"item"]),to:t.matter.path},{default:D(()=>[i("div",null,[i("div",V,[i("div",j,c(t.matterMeta),1),i("div",q,c(t.$date(t.matter.published_at)),1)]),i("div",O,c(t.matter.title),1)]),t.matter.columnist?(_(),I("div",P,[i("div",null,[i("div",{style:N({backgroundImage:`url(${t.matter.columnist.image_url})`}),class:"author-avatar"},null,4)]),i("div",T,[i("div",E,c(t.matter.columnist.full_name),1),i("div",null,c(t.matter.columnist.occupation),1)])])):L("",!0)]),_:1},8,["class","to"])}const x=Object.assign($(A,[["render",G],["__scopeId","data-v-ba4350d9"]]),{__name:"ListMatterNoImg"});export{x as _,Z as d};

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.