1import{_ as o,c as p,o as h}from"./C_dDoqqV.js";const m={name:"ReviewSchema",props:{pageData:{type:Object,required:!0},partnerData:{type:Object,required:!0}},jsonld(){const a=this.pageData?.url,i=this.partnerData?.phoenix||{},s=i?.attributes||{},t=this.partnerData?.supplement||{};if(!a)return null;const e={"@context":"https://schema.org","@type":"Review","@id":`${a}#review`,itemReviewed:{"@id":`${a}#casino`},mainEntityOfPage:{"@id":`${a}#webpage`},publisher:{"@id":"https://www.casino.us/#organization"}};return this.pageData.authorName&&(e.author={"@type":"Person",name:this.pageData.authorName},this.pageData.authorUrl&&(e.author.url=this.pageData.authorUrl)),this.pageData.datePublished&&(e.datePublished=this.pageData.datePublished),this.pageData.dateModified&&(e.dateModified=this.pageData.dateModified),this.pageData.reviewPartner&&(e.reviewBody=this.pageData.reviewPartner),i.name&&(e.name=`${i.name} review`),s.rating&&(e.reviewRating={"@type":"Rating",bestRating:"5",worstRating:"1",ratingValue:s.rating}),Array.isArray(t.pros)&&t.pros.length&&(e.positiveNotes={"@type":"ItemList",itemListElement:t.pros.map((r,n)=>({"@type":"ListItem",position:n+1,name:r}))}),Array.isArray(t.cons)&&t.cons.length&&(e.negativeNotes={"@type":"ItemList",itemListElement:t.cons.map((r,n)=>({"@type":"ListItem",position:n+1,name:r}))}),e}};function c(a,i,s,t,e,r){return h(),p("div")}const d=Object.assign(o(m,[["render",c]]),{__name:"ReviewSchema"});export{d as default};
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.