PageSourceSearch

https://storyweaver.org.in/assets/LazyFontLoader.pvie9HdJ.js

js storyweaver.org.in collected 2026-09-24 08:42:24 UTC 1,266 bytes, 2 lines download raw bytes

1import{j as e,r}from"./react-vendor.B75MsAI9.js";import{a4 as t,cu as s}from"./AuthModalContainer.CwDh3qj_.js";const n=(r,t="and")=>{let s;return s=!Array.isArray(r)||r.length<2?r:2===r.length?e.jsxs("span",{children:[r[0]," ",t," ",r[1]]}):e.jsxs("span",{children:[r.slice(0,-2).map((r,t)=>e.jsxs("span",{children:[r,", "]},t))," ",r[r.length-2]," ",t," ",r.slice(-1)]}),s},a=e=>{let r=e.split("-");return r[2]+"-"+r[1]+"-"+r[0]},l=e=>e&&"string"==typeof e?e.replace(/[^A-Z0-9]+/gi,"-"):"",i=(e,r)=>e&&e.length>r?e.substr(0,r).concat("..."):e,c=(e,r)=>{if(e.length<2)return e.slice(0);let t=r%e.length;return 0===t?e.slice(0):e.slice(t).concat(e.slice(0,t))},o=e=>{const{languages:t,ptr:n}=e,a=()=>{Array.isArray(t)&&t.forEach(e=>{if(!e||"string"!=typeof e)return;const r=(e=>`LazyFontLoader--${l(e)}`)(e);let t=document.head.querySelector(`#${r}`);if(!t){const n=s[e];if(!n)return;t=document.createElement("link"),t.rel="stylesheet",t.id=r,t.href=n,document.head.appendChild(t)}})};return r.useEffect(()=>{a()},[]),r.useEffect(()=>{n&&a()},[t,n]),null};o.getStyleId=e=>`LazyFontLoader--${l(e)}`,o.propTypes={languages:t.arrayOf(t.string).isRequired,ptr:t.bool};export{o as L,n as a,l as b,a as i,c as r,i as t};
2//# sourceMappingURL=LazyFontLoader.pvie9HdJ.js.map

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.