PageSourceSearch

https://static.chitai-gorod.ru/n3/_app/B86xWf2m.js

js chitai-gorod.ru collected 2026-10-01 10:24:19 UTC 1,548 bytes, 6 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="e63a1c06-3405-58eb-8a78-d5ab620beff1")}catch(e){}}();
3import{eo as d,en as E,f7 as i,f8 as c,f9 as R,fa as n,fb as l}from"./BKpyJJgk.js";const S=({error:t,slug:s,reportContext:r})=>{r&&d(t,r);const e=E(t),f=e!==void 0&&[400,404,422].includes(e);let a=i.status,o=`${i.message}: [${s}]`;throw e===429?(a=e,o="Слишком много запросов"):f&&(a=c.status,o=`${c.message}: [${s}: Сущность или товары не найдены]`),R({status:a,message:o,fatal:!0})};n.extend(l);const D=["Сегодня","Завтра","Послезавтра"],u=t=>{const s=t.match(/([+-]\d{2}:?\d{2}|Z)$/)?.[1]?.slice(0,3)??"+03";return s==="Z"?0:Number(s)*60},m=t=>n(t).utcOffset(u(t)).locale("ru"),O=t=>t.charAt(0).toUpperCase()+t.slice(1),$=t=>{if(!t)return"Дата и время мероприятия уточняется";const s=m(t);if(!s.isValid())return"Дата и время мероприятия уточняется";const r=n().utcOffset(u(t)),e=s.startOf("day").diff(r.startOf("day"),"day");return`${D[e]??O(s.format("dddd"))}, ${s.format("D MMMM, [в] HH:mm")}`},h=t=>{if(!t)return"";const s=m(t);return s.isValid()?s.format("D MMMM [в] HH:mm"):""};export{h as a,$ as f,S as s};
4//# sourceMappingURL=B86xWf2m.js.map
5
6//# debugId=e63a1c06-3405-58eb-8a78-d5ab620beff1

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.