PageSourceSearch

https://wahidkhorasani.com/_nuxt/BQUjefz5.js

js wahidkhorasani.com collected 2026-10-02 19:48:17 UTC 909 bytes, 1 lines download raw bytes

1import{ak as o}from"./DWlMSW4v.js";const l=/(src=["'])(?:https?:\/\/[^/"']+(?::\d+)?)?(\/api\/rich-text\/images\/[^"']+)(["'])/gi;function f(n){if(n==null)return!0;const r=String(n).trim();return r?/<img\b/i.test(r)?!1:r.replace(/<[^>]*>/g," ").replace(/&nbsp;/gi," ").replace(/&#160;/g," ").replace(/\s+/g," ").trim().length===0:!0}function m(){const n=o();function r(e){let t=e.startsWith("/")?e:`/${e}`;const i=(n||"").replace(/\/+$/,"");return i?(i.endsWith("/api")&&t.startsWith("/api/")&&(t=t.slice(4)),`${i}${t}`):t}function a(e){if(e==null)return"";const t=String(e);return t.includes("/api/rich-text/images/")?t.replace(l,(i,s,c,u)=>`${s}${r(c)}${u}`):t}function p(e){if(e==null)return"";const t=String(e);return t.includes("/api/rich-text/images/")?t.replace(l,(i,s,c,u)=>`${s}${c}${u}`):t}return{rewriteRichTextHtml:a,normalizeRichTextHtml:p,joinApiPath:r,isRichTextEmpty:f}}export{f as i,m as u};

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.