PageSourceSearch

https://procontent.renewedvision.com/js/procontent/assets/BibleDriftSummary-iZYg_KVN.js

js renewedvision.com collected 2026-09-24 17:46:31 UTC 2,070 bytes, 1 lines download raw bytes

1import{j as r}from"./app-BeGqF6ux.js";import{I as m,a as i}from"./Tooltip-DYcxt1UG.js";import"./index-Dkf2GVy1.js";import"./dayjs-BlgjZc9C.js";import{a as o}from"./BibleTable.helpers-D9YQV9jd.js";import{s as n,i as d,a as u}from"./BibleDrift.helpers-HR5knlgU.js";import{u as b}from"./useTranslation-kJHeU9i8.js";import"./button.styles-7lPNyjJO.js";import"./iconBase-CN8tsjra.js";import"./helpers-CgA5RTdO.js";const c=(e,t)=>{if(d(e)===0)return t("bibleAdmin.drift.summaryNone");const a=u(e);return a===0?t("bibleAdmin.drift.summaryOrphansOnly"):t("bibleAdmin.drift.summaryTitle",{count:a})},p=(e,t)=>e===null?t("bibleAdmin.drift.orphanNoKey"):e===""?t("bibleAdmin.drift.empty"):typeof e=="string"?`"${e}"`:String(e);function $({drift:e,driftUnavailable:t}){const{t:a}=b();return t?r.jsx(m,{variant:"warning",message:a("bibleAdmin.drift.unavailable")}):e===null?null:r.jsxs("div",{className:"flex flex-col gap-2 rounded border border-utility-stroke-secondary p-4",children:[r.jsx("p",{className:"text-subtitle-md",children:c(e,a)}),e.summary.length>0&&r.jsx("ul",{className:"flex flex-wrap gap-2",children:e.summary.map(s=>r.jsx("li",{children:r.jsx(i,{variant:n(s.severity),label:`${s.count} · ${a(`bibleAdmin.drift.reason.${s.reason}`)}`})},s.reason))}),e.orphans.length>0&&r.jsxs("details",{children:[r.jsxs("summary",{className:"cursor-pointer text-subtitle-sm",children:[a("bibleAdmin.drift.orphansTitle")," (",e.orphans.length,")"]}),r.jsx("ul",{className:"mt-2 flex flex-col gap-1 pl-4 text-sm",children:e.orphans.map((s,l)=>r.jsxs("li",{className:"flex items-center gap-2",children:[r.jsx(i,{variant:n(s.severity),label:a(`bibleAdmin.drift.reason.${s.reason}`)}),a("bibleAdmin.drift.orphanRow",{chargebeeId:s.chargebeeId,name:s.externalName,rvBibleId:p(s.rawRvBibleId,a),interpolation:{escapeValue:!1}})]},`${s.chargebeeId}:${l}`))})]}),r.jsx("p",{className:"text-sm text-type-black-secondary",children:e.lastLocalUpdateAt===null?a("bibleAdmin.drift.lastUpdatedUnknown"):a("bibleAdmin.drift.lastUpdated",{date:o(e.lastLocalUpdateAt)})})]})}export{$ 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.