const t="https://www.allerin.com",e=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","gclid","fbclid","ref","session","debug","source","campaign"];function n(n){const r=n||window.location.pathname,o=new URL(r,t);if(e.forEach(t=>{o.searchParams.delete(t)}),r.startsWith("/roi-calculator"))return`${t}/roi-calculator`;if(r.startsWith("/outcomes"))return`${t}/outcomes`;let a=o.toString();return a.endsWith("/")&&a!==`${t}/`&&(a=a.slice(0,-1)),a}function r(e,n){return n?`${t}/og/${e}-${n}.webp`:`${t}/og/${e}.webp`}function o(t){return{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:t.map((t,e)=>({"@type":"ListItem",position:e+1,name:t.name,...t.url&&{item:t.url}}))}}function a(t){return{"@context":"https://schema.org","@type":"FAQPage",mainEntity:t.map(t=>({"@type":"Question",name:t.question,acceptedAnswer:{"@type":"Answer",text:t.answer}}))}}function s(){return{"@context":"https://schema.org","@type":"Organization",name:"Allerin",url:t,logo:`${t}/allerin-logo.png`,description:"Enterprise AI solutions for computer vision, analytics, and automation",address:{"@type":"PostalAddress",addressCountry:"US"},sameAs:["https://www.linkedin.com/company/allerin"],areaServed:["US","North America","Global"],knowsAbout:["Computer Vision","AI","Machine Learning","MLOps","Analytics"]}}function i(e,n,r){return{"@context":"https://schema.org","@type":"LocalBusiness",name:e,description:n,url:t,logo:`${t}/allerin-logo.png`,address:{"@type":"PostalAddress",addressCountry:"US"},areaServed:[{"@type":"Country",name:"United States"},{"@type":"GeoShape",name:"North America"}],priceRange:"$$$$",openingHours:"Mo-Fr 09:00-17:00",telephone:"+1-XXX-XXX-XXXX"}}function c(t,e,n=1200,r=630){return{"@context":"https://schema.org","@type":"ImageObject",url:t,caption:e,width:n,height:r}}function u(t,e){return t.length<=e?t:t.slice(0,e-1).trim()+"…"}function l(t,e=!0){const n=" | Allerin";let r=u(t,e?50:60);return e&&(r+=n),r}function m(t){return u(t,155)}export{r as a,n as b,l as c,m as d,o as e,c as f,a as g,s as h,i};