1import{c as m}from"./chunk-YQZAETCE.js";import{f as g}from"./chunk-ERUCNOOT.js";import{Fa as c,Z as o,da as n}from"./chunk-DBE7WQEG.js";import{a as i,b as l}from"./chunk-W7GRJBO5.js";var u=class d{document=n(g);platformId=n(c);translate=n(m);setJsonLd(t,e="structured-data"){let a=this.document.getElementsByTagName("head")[0];if(!a)return;let r=this.document.getElementById(e);r&&r.remove();let s=this.document.createElement("script");s.id=e,s.type="application/ld+json",s.text=JSON.stringify(t),a.appendChild(s)}removeJsonLd(t="structured-data"){let e=this.document.getElementById(t);e&&e.remove()}setOrganizationData(){let t={"@context":"https://schema.org","@type":"Organization",name:"Hou.la",url:"https://hou.la",logo:"https://hou.la/assets/images/logo-hou.la-512x512.jpg",description:this.translate.instant("SEO.STRUCTURED.ORG_DESCRIPTION"),sameAs:[],contactPoint:{"@type":"ContactPoint",contactType:"customer service",url:"https://hou.la/support"}};this.setJsonLd(t,"org-data")}setSoftwareApplicationData(){let t={"@context":"https://schema.org","@type":"SoftwareApplication",name:"Hou.la",applicationCategory:"SocialNetworkingApplication",operatingSystem:"Any",offers:{"@type":"Offer",price:"0",priceCurrency:"EUR"},description:this.translate.instant("SEO.STRUCTURED.APP_DESCRIPTION"),url:"https://hou.la",screenshot:"https://hou.la/assets/images/logo-hou.la-512x512.jpg",featureList:[this.translate.instant("SEO.STRUCTURED.FEAT_VIDEO"),this.translate.instant("SEO.STRUCTURED.FEAT_LIVE"),this.translate.instant("SEO.STRUCTURED.FEAT_SHOP"),this.translate.instant("SEO.STRUCTURED.FEAT_LINK_IN_BIO"),this.translate.instant("SEO.STRUCTURED.FEAT_URL_SHORTENER"),this.translate.instant("SEO.STRUCTURED.FEAT_QR_CODES"),this.translate.instant("SEO.STRUCTURED.FEAT_ANALYTICS")]};this.setJsonLd(t,"app-data")}setWebPageData(t){let e=i(i({"@context":"https://schema.org","@type":"WebPage",name:t.title,description:t.description,url:t.url,isPartOf:{"@type":"WebSite",name:"Hou.la",url:"https://hou.la"}},t.datePublished&&{datePublished:t.datePublished}),t.dateModified&&{dateModified:t.dateModified});this.setJsonLd(e,"webpage-data")}setArticleData(t){let e=i(i({"@context":"https://schema.org","@type":"Article",headline:t.title,description:t.description,url:t.url,image:t.image||"https://hou.la/assets/images/logo-hou.la-512x512.jpg",author:{"@type":"Organization",name:"Hou.la"},publisher:{"@type":"Organization",name:"Hou.la",logo:{"@type":"ImageObject",url:"https://hou.la/assets/images/logo-hou.la-512x512.jpg"}}},t.datePublished&&{datePublished:t.datePublished}),t.dateModified&&{dateModified:t.dateModified});this.setJsonLd(e,"article-data")}setProfilePageData(t){let e={"@context":"https://schema.org","@type":"ProfilePage",mainEntity:i(i({"@type":"Person",name:t.name,alternateName:`@${t.username}`,description:t.description,url:t.url},t.image&&{image:t.image}),t.socialLinks&&t.socialLinks.length>0&&{sameAs:t.socialLinks.map(a=>a.url)})};this.setJsonLd(e,"profile-data")}setProductData(t){let e=l(i(i(i(i(i({"@context":"https://schema.org","@type":"Product",name:t.name},t.description&&{description:t.description}),t.image&&{image:t.image}),t.brand&&{brand:{"@type":"Brand",name:t.brand}}),t.gtin&&{gtin:t.gtin}),t.sku&&{sku:t.sku}),{offers:i({"@type":"Offer",url:t.url,priceCurrency:t.currency,price:(t.priceCents/100).toFixed(2),availability:t.availability==="in_stock"?"https://schema.org/InStock":"https://schema.org/OutOfStock"},t.sellerName&&{seller:{"@type":"Organization",name:t.sellerName}})});t.averageRating&&t.reviewCount&&(e.aggregateRating={"@type":"AggregateRating",ratingValue:t.averageRating,reviewCount:t.reviewCount}),this.setJsonLd(e,"product-data")}setFAQData(t){let e={"@context":"https://schema.org","@type":"FAQPage",mainEntity:t.map(a=>({"@type":"Question",name:a.question,acceptedAnswer:{"@type":"Answer",text:a.answer}}))};this.setJsonLd(e,"faq-data")}setBreadcrumbData(t){let e={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:t.map((a,r)=>({"@type":"ListItem",position:r+1,name:a.name,item:a.url}))};this.setJsonLd(e,"breadcrumb-data")}setHowToData(t){let e={"@context":"https://schema.org","@type":"HowTo",name:t.name,description:t.description,step:t.steps.map((a,r)=>
1({"@type":"HowToStep",position:r+1,name:a.name,text:a.text}))};this.setJsonLd(e,"howto-data")}static \u0275fac=function(e){return new(e||d)};static \u0275prov=o({token:d,factory:d.\u0275fac,providedIn:"root"})};export{u as a};
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.