1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`20260924-39003-d97a9715`},e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(n!=null)for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}return e}({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:textmagic-web-app":!0});var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`f134f3a8-1a47-452d-8169-4808572721d6`,e._sentryDebugIdIdentifier=`sentry-dbid-f134f3a8-1a47-452d-8169-4808572721d6`)}catch{}})();import{go as e,vd as t}from"./Cf_pgd7T.js";import{ep as n}from"./BmC5PC1V.js";import{E as r}from"./TOafxiyp.js";import{Fn as i}from"./index_Dp5kRkmW.js";import{t as a}from"./Chzte42u.js";var o=(t,n)=>{let i=r(t);return i=a(i,r(n)),i=i.replaceAll(` 2`,`<br>`),e(i)},s=e=>{let t=document.createElement(`div`);return t.innerHTML=e.trim(),t.firstChild instanceof HTMLElement?t.firstChild:null},c=(e,t,n,i)=>({outerHTML:o(e,i),innerHTML:t,plain:r(e),type:n}),l=e=>[...e.matchAll(/<media(?:.|\s)*?>(?<media>(.|\s)*?)(?:\/>|<\/media>)|<audio(?:.|\s)*?>(?<audio>(.|\s)*?)(?:\/>|<\/audio>)/gi)],u=(e,n)=>{if(!e)return[];e=e.trim();let r=l(e);if(!r.length)return[c(e,e,t.Text,n)];let o=[],u=0,d=0,f=0;for(let l of r){if(d=l.index,f=l.index+l[0].length,d>u){let r=e.substring(u,d);o.push(c(r,r,t.Text,n))}u=f;let r=``;r=d===0&&f===e.length?e:e.substring(d,f);let p=s(r);if(!p){let e=r;o.push(c(e,e,t.Text,n));continue}let m=p.attributes.getNamedItem(`size`)?.nodeValue,h=m?i(Number(m)):null;o.push({outerHTML:r,innerHTML:a(p.innerHTML,n),plain:h?`${p.innerHTML} (${h})`:p.innerHTML,type:p.nodeName===`AUDIO`?t.Audio:t.Media,el:p})}if(u<e.length){let r=e.substring(u,e.length);o.push(c(r,r,t.Text,n))}return o},d=t=>t&&e(u(t).map(e=>e.plain).join(` `)),f=(e,t)=>{if(e)return u(e).map(e=>e.plain).join(` `);if(t){if(t.length===1)return t[0].originalName;if(t.length>1)return n().t(`entities.chat.nAttachments`,{count:t.length})}return``};export{u as a,l as i,f as n,d as r,s as t}; 3//# sourceMappingURL=DeXXpyo9.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.