1import{_ as K}from"./alFp3Ems.js";import{_ as X}from"./qXcN0wVW.js";import{_ as Y,k as Z,a as ee,l as te,u as ae,B as oe,b as ne,o as re,m as se,d as le,q as ie,f as ue,g as ce,r as pe,G as me,t as D,I as ge,J as de,L as _e,j as he,v as be}from"./Ba6k9c7N.js";import{_ as ve}from"./DuTQTJ3L.js";import{_ as fe}from"./BE8fwlYt.js";import{_ as ye}from"./Dpijic9R.js";import{w as ke,h as R,o as Te,c as m,m as a,a as l,q as d,s as B,u as t,b as g,t as n,v as r,x as U,F,y as q}from"./CGPNxvoe.js";import"./i8wwTqHc.js";import"./BNVL7EbM.js";import"./BghSF4GF.js";import"./DhBb4WS-.js";import"./Ceep3lFU.js";import"./W5NKTDU8.js";import"./QJ3bMqkb.js";import"./sO4uyacF.js";import"./B8XptFOt.js";import"./CmUlqqKf.js";import"./DKxTjL2y.js";const xe={__name:"[id]",async setup(Be){let C,G;const{page:H}=Z(),{setAvailableLanguages:M}=ee(),{updateListItems:O}=te(),{locale:_}=ae(),{isLogged:J}=oe(),u=ne(),{params:c}=re(),V=se(),{public:f}=le();ie([`/api/content/pages/virtual-background-index/${_.value}`],()=>be(`page-virtual-background-library-platform-[slug]-[id]-${c.slug}-${c.id}-${_.value}`));const{data:e}=([C,G]=ke(()=>pe(`page-virtual-background-library-platform-[slug]-[id]-${c.slug}-${c.id}-${_.value}`,async()=>Promise.all([D(`/api/content/pages/virtual-background-index/${_.value}`),D(`/api/content/pages/virtual-background-cards/${_.value}`)]),{transform:([{allCategories:o,allPillarPages:s,allPlatforms:p,componentGetStarted:y,componentGlobal:h,componentHowToAddVirtualBackground:k,componentOurGuides:i,componentRelatedPosts:b,home:T,page:L},$])=>{const v=p.find(({slug:x})=>x===c.slug);return{allBackgrounds:$,allCategories:o,allPillarPages:s,allPlatforms:p,componentGetStarted:y,componentGlobal:h,componentHowToAddVirtualBackground:k,componentOurGuides:i,componentRelatedPosts:b,home:T,hub:L,page:v}}})),C=await C,G(),C);ue({title:e.value.page.seoTitle,description:e.value.page.seoDescription,ogTitle:e.value.page.seoTitle,ogDescription:e.value.page.seoDescription,twitterTitle:e.value.page.seoTitle,twitterDescription:e.value.page.seoDescription}),ce({link:[{rel:"canonical",href:`${f.baseUrl}${u({name:"virtual-background-library-platform-slug",params:{slug:c.slug}})}`}],script:[{innerHTML:JSON.stringify({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:e.value.home.trackingBreadcrumbTitle,item:`${f.baseUrl}${u("index")}`},{"@type":"ListItem",position:2,name:e.value.hub.trackingBreadcrumbTitle,item:`${f.baseUrl}${u("virtual-background-library")}`},{"@type":"ListItem",position:3,name:e.value.page.trackingBreadcrumbTitle||e.value.page.heroTitle}]}),type:"application/ld+json"},{innerHTML:JSON.stringify({"@context":"https://schema.org","@type":"FAQPage",mainEntity:e.value.page.faqItems.map(({title:o,text:s})=>({"@type":"Question",name:o,acceptedAnswer:{"@type":"Answer",text:s}}))}),type:"application/ld+json"}]});const j=R(Number.parseInt(c.id)||2),I=R(!1),P=g(()=>{const o=I.value?e.value.allPlatforms.length:6;return e.value.allPlatforms.slice(0,o)}),S=g(()=>J.value?{action:"Upgrade clicked",slot:e.value.componentGlobal.ctaUpgradeNow,to:`https://${f.appBaseUrl}/#/settings/billing/overview`}:{action:"Signup clicked",alternativeSlot:e.value.componentGlobal.ctaGetStartedForFree,slot:e.value.componentGlobal.ctaTryForFree,to:`https://${f.appBaseUrl}/#/signup`}),E=g(()=>({pattern:e.value.hub.pushBackgroundImage,primaryCallToAction:S.value,secondaryCallToAction:w.value,text:e.value.hub.pushText,title:e.value.hub.pushTitle,type:"push-card"})),Q=g(()=>[...new Set(N.value.map(({category:{id:o}})=>o))]),w=g(()=>({to:"#form-demo",action:"Demo clicked",slot:e.value.componentGlobal.ctaGetDemo})),W=g(()=>I.value?e.value.hub.showLess:e.value.hub.showMore),N=g(()=>e.value.allBackgrounds.filter(({slug:o})=>!!o).map(({id:o,_firstPublishedAt:s,backgroundImageForWebsite:p,backgroundTitle:y,category:h,createdAt:k,isDaylightBackgroun
1d:i,searchLexicalField:b,slug:T})=>({id:o,_firstPublishedAt:s,category:h,createdAt:k,image:p,isDaylightBackground:!!i,searchLexicalField:b,slug:T,title:y,type:"background-card"}))),z=g(()=>e.value.allCategories.filter(({id:o})=>Q.value.includes(o)).map(({id:o,categoryShortName:s,slug:p})=>({id:o,name:s,slug:p})));return Te(()=>{H(e.value.page.trackName||e.value.page.trackNameFallback),M([_.value]),O([{item:u("index"),name:e.value.home.trackingBreadcrumbTitle},{item:u("virtual-background-library"),name:e.value.hub.trackingBreadcrumbTitle},{item:u({name:V()}),name:e.value.page.trackingBreadcrumbTitle||e.value.page.heroTitle}])}),(o,s)=>{const p=K,y=X,h=de,k=ve,i=me,b=_e,T=ge,L=fe,$=ye;return l(),m(i,{class:"page"},{default:a(()=>[d(T,{class:"inner"},{default:a(()=>[d(p,{"animated-images":t(e).hub.heroAnimatedImages,cards:t(N),categories:t(z),"current-page":t(j),image1:t(e).hub.heroImage1,image2:t(e).hub.heroImage2,image3:t(e).hub.heroImage3,"no-match-image":t(e).hub.emptySearchImage,"pagination-root":t(u)({name:"virtual-background-library-platform-slug",params:{slug:t(c).slug}}),"primary-call-to-action":t(S),"push-card":t(E),"secondary-call-to-action":t(w)},{title:a(()=>[n(r(t(e).page.heroTitle),1)]),description:a(()=>[n(r(t(e).page.heroText),1)]),subtitle:a(()=>[n(r(t(e).hub.searchBarTitle),1)]),placeholder:a(()=>[n(r(t(e).hub.searchBarPlaceholder),1)]),all:a(()=>[n(r(t(e).hub.all),1)]),more:a(()=>[n(r(t(e).hub.showMore),1)]),"no-match-title":a(()=>[n(r(t(e).hub.emptySearchTitle),1)]),"no-match-description":a(()=>[n(r(t(e).hub.emptySearchText),1)]),_:1},8,["animated-images","cards","categories","current-page","image1","image2","image3","no-match-image","pagination-root","primary-call-to-action","push-card","secondary-call-to-action"]),d(y,{"call-to-action":{...t(S),label:"Small section CTA"},"pattern-desktop":t(e).componentGetStarted.backgroundImage,"pattern-mobile":t(e).componentGetStarted.backgroundImage},{heading:a(()=>[n(r(t(e).componentGetStarted.title),1)]),paragraph:a(()=>[n(r(t(e).componentGetStarted.paragraph),1)]),_:1},8,["call-to-action","pattern-desktop","pattern-mobile"]),t(e).page.faqItems&&t(e).page.faqItems.length>0?(l(),m(i,{key:0,class:"faq"},{default:a(()=>[(l(!0),U(F,null,q(t(e).page.faqItems,({id:v,title:x,text:A})=>(l(),m(i,{key:v,class:"items"},{default:a(()=>[d(h,{level:2},{default:a(()=>[n(r(x),1)]),_:2},1024),d(k,{content:[{__typename:"ContentTextHtmlRecord",text:A}]},null,8,["content"])]),_:2},1024))),128))]),_:1})):B("",!0),t(P).length>0?(l(),m(i,{key:1,class:"explore"},{default:a(()=>[d(h,{level:2},{default:a(()=>[n(r(t(e).page.exploreTitle),1)]),_:1}),d(i,null,{default:a(()=>[(l(!0),U(F,null,q(t(P),({id:v,slug:x,platformShortName:A})=>(l(),m(b,{key:v,to:t(u)({name:"virtual-background-library-platform-slug",params:{slug:("stripStega"in o?o.stripStega:t(he))(x)}}),type:"text"},{default:a(()=>[n(r(A),1)]),_:2},1032,["to"]))),128))]),_:1}),t(P).length>7?(l(),m(b,{key:0,to:"#",type:"text",class:"action",onClick:s[0]||(s[0]=v=>I.value=!t(I))},{default:a(()=>[n(r(t(W)),1)]),_:1})):B("",!0)]),_:1})):B("",!0)]),_:1}),t(e).page.relatedPosts.length>=4||t(e).componentRelatedPosts.items.length>0?(l(),m(L,{key:0,class:"our-guides",items:t(e).page.relatedPosts.length>=4?t(e).page.relatedPosts:t(e).componentRelatedPosts.items},{default:a(()=>[n(r(t(e).page.relatedPostsTitle||t(e).componentRelatedPosts.title),1)]),_:1},8,["items"])):B("",!0),t(e).allPillarPages.length>0||t(e).page.ourGuides.length>0?(l(),m($,{key:1,class:"our-guides",items:t(e).page.ourGuides.length>0?t(e).page.ourGuides:t(e).allPillarPages},{default:a(()=>[n(r(t(e).page.ourGuidesTitle||t(e).componentOurGuides.title),1)]),_:1},8,["items"])):B("",!0)]),_:1})}}},Je=Y(xe,[["__scopeId","data-v-3095bc6c"]]);export{Je 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.