1import{o as e}from"./D-LIC8Ni.js";import{Ct as t,L as n,v as r,zt as i}from"./EwwzsHhd.js";import{r as a}from"./BkRedLMp.js";import{r as o}from"./BSRBcfDl.js";import{t as s}from"./BMttPt4m.js";t(),n();function c(e=``){return e.replace(/\/+$/,``)}function l(e){if(e!=null)return typeof e==`function`?e():i(e)}function u(e=``,t=``){let n=c(e),r=`${t}`.replace(/^\/+/,``);return r?`${n}/${r}`:n}function d(e){return typeof e==`string`?e.trim():``}function f(e,t){let n=d(e);if(!n)return n;let r=[d(t),`Dubai Financial Market`,`DFM`,`سÙ٠دب٠اÙÙ
اÙÙ`].filter(Boolean);for(let e of r)for(let t of[` - `,` â `,` | `,`: `]){let r=`${e}${t}`;if(n.startsWith(r))return n.slice(r.length).trim()}return n}function p(t){let n=o(),i=e(),d=s(),p=r(()=>c(d.url||i.public.hostDomain||n.origin)),m=i.public.headImage||``,h=r(()=>f(l(t.title),d.name)),g=r(()=>l(t.description)??d.description),_=r(()=>{let e=l(t.image);if(!e)return;let n=`${e}`.trim().replace(/^\/+/,``);return n?`${m}${n}`:void 0}),v=r(()=>(n?.pathname||``).replace(/\/+$/,``)||`/`);return a({title:h,description:g,ogTitle:h,ogDescription:g,ogType:`website`,ogUrl:()=>u(p.value,v.value),ogImage:_,twitterCard:`summary_large_image`,twitterTitle:h,twitterDescription:g,twitterImage:_})}export{p as t};
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.