PageSourceSearch

https://livestorm.co/_nuxt/BQVbBfOW.js

js livestorm.co collected 2026-09-24 07:26:41 UTC 10,854 bytes, 1 lines download raw bytes

1import{_ as xe,k as we,a as Te,l as ke,u as Ce,B as Ae,b as fe,z as $e,o as Ie,C as Fe,m as Be,d as Se,p as Le,q as Ue,e as De,g as Ge,f as Ne,F as R,r as Ve,G as Re,j as k,t as Q,I as Pe,T as Oe,K as ze,O as He,W as je,v as qe,X as Ee}from"./ClrPqwtt.js";import{_ as Je}from"./RTDT3yjP.js";import{_ as Me,a as We,b as Xe}from"./C-x4WMvC.js";import{_ as Ze}from"./Dx_QXWdp.js";import{_ as Ke}from"./B0g6wOVx.js";import{w as Ye,h as C,j as Qe,o as et,c as w,m as n,a as g,q as l,t as r,v as c,u as s,A as P,s as O,b as v,x as z,F as tt,y as at}from"./CGPNxvoe.js";import"./W5NKTDU8.js";import"./Ceep3lFU.js";const st={key:0,class:"filters-selected"},ot={key:0},nt={class:"font-medium text-livestorm-blue-600"},it={__name:"index",async setup(lt){let A,H;const{page:ee,track:te}=we(),{setAvailableLanguages:ae}=Te(),{updateListItems:se}=ke(),{debounce:oe}=Ee(),{locale:h}=Ce(),{isLogged:ne}=Ae(),u=fe(),{$slugify:b}=$e(),{params:T}=Ie(),{push:ie}=Fe(),j=Be(),{public:y}=Se(),le=Le(!1);Ue([`/api/content/pages/resources-index/${h.value}`,`/api/content/pages/resource-offers-cards/${h.value}`],()=>qe(`resources-[type]-${T.type}-${h.value}`));const{data:t}=([A,H]=Ye(()=>Ve(`resources-[type]-${T.type}-${h.value}`,async()=>Promise.all([Q(`/api/content/pages/resources-index/${h.value}`),Q(`/api/content/pages/resource-offers-cards/${h.value}`)]),{transform:([{allModelOfferTopics:e,allModelOfferTypes:o,componentGetStarted:p,componentGlobal:x,home:m,page:U},{allModelOffers:D,allPillarPages:I,allQuizzes:G}])=>({componentGetStarted:p,componentGlobal:x,home:m,hub:U,page:o.find(({name:a})=>T.type===b(a)),resources:[...D.filter(({backgroundImage:a,resourceTopic:i,resourceType:N,slug:V})=>!!a&&!!i&&!!N&&!!V).map(a=>({...a,createdAt:a._firstPublishedAt||a.createdAt,callToAction:a.resourceType.cta,description:a.shortDescription,isAVideoTemplate:!!a.isAVideoTemplate,tagColor:a.resourceType.color,tagIcon:a.resourceType.icon,to:k(a.slug).includes("http")?k(a.slug):u({name:"resources-type-slug",params:{slug:k(a.slug),type:b(a.resourceType.name)}}),topic:a.resourceTopic.name,type:a.resourceType.name})),...I.filter(({slug:a})=>!!a).map(a=>({id:a.id,createdAt:a._firstPublishedAt||a.createdAt,backgroundImage:a.backgroundImage,callToAction:o.find(i=>i.id==="49773456").cta,description:a.shortDescription,image:a.image,tagColor:o.find(i=>i.id==="49773456").color,tagIcon:o.find(i=>i.id==="49773456").icon,title:a.shortTitle,to:u({name:"resources-guides-slug",params:{slug:k(a.slug)}}),topic:a.resourceTopic.name,type:o.find(i=>i.id==="49773456").name})),...G.filter(({slug:a})=>!!a).map(a=>({id:a.id,createdAt:a._firstPublishedAt||a.createdAt,backgroundImage:a.cardBackgroundImage,callToAction:o.find(i=>i.id==="50968129").cta,description:a.cardShortDescription,image:a.cardImage,tagColor:o.find(i=>i.id==="50968129").color,tagIcon:o.find(i=>i.id==="50968129").icon,title:a.cardShortTitle,to:u({name:"resources-quiz-slug",params:{slug:k(a.slug)}}),topic:a.cardResourceTopic.name,type:o.find(i=>i.id==="50968129").name}))].sort((a,i)=>new Date(i.createdAt)-new Date(a.createdAt)),topics:e,types:o})})),A=await A,H(),A),{_allNameLocales:q}=t.value.page,f=q.map(({locale:e})=>e);le(q.reduce((e,{locale:o,value:p})=>({...e,[o]:{type:b(p)}}),{}));const E=De({});Ge({link:[...E.value.link.filter(e=>e.rel!=="canonical"&&e.rel==="alternate"&&e.hreflang==="x-default"||e.rel==="alternate"&&f.includes(e.hreflang)).map(e=>({...e,href:!f.includes("en")&&e.id==="i18n-xd"?`${y.baseUrl}${u({name:j()})}`:e.href})),{id:"i18n-can",rel:"canonical",href:`${y.baseUrl}${u("resources")}`}],meta:E.value.meta.filter(e=>e.property==="og:url"||e.property==="og:locale"||e.property==="og:locale:alternate"&&f.includes(e.content)),script:[{innerHTML:JSON.stringify({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:t.value.home.trackingBreadcrumbTitle,item:`${y.baseUrl}${u("index")}`},{"@type":"ListItem",position:2,name:t.value.hub.trackingBreadcrumbTitle,item:`${y.baseUrl}${u("resources")}`},{"@type":"ListItem",position:3,name:t.value.page.name}]}),type:"application/ld+json"}]}
1),Ne({title:t.value.page.seoTitle||t.value.page.heroTitle,description:t.value.page.seoDescription||t.value.page.heroText,ogTitle:t.value.page.seoTitle||t.value.page.heroTitle,ogDescription:t.value.page.seoDescription||t.value.page.heroText,twitterTitle:t.value.page.seoTitle||t.value.page.heroTitle,twitterDescription:t.value.page.seoDescription||t.value.page.heroText});const _=R("resources-active-topics",()=>[]),d=R("resources-active-searched-term",()=>""),B=R("resources-active-sorting-value",()=>"new"),J=C(null),$=C({topics:[],types:[]}),M=C([{value:"new",name:t.value.hub.new},{value:"alphabetical-desc",name:"A-Z"},{value:"alphabetical-asc",name:"Z-A"}]),W=C(!0),X=C([{color:"0, 0, 0",imageUrl:"https://www.datocms-assets.com/1127/1761056724-x.svg",label:"X",url:"https://x.com/livestormapp"},{color:"60, 90, 150",imageUrl:"https://www.datocms-assets.com/1127/1616598215-facebook.svg",label:"Facebook",url:"https://www.facebook.com/livestormapp/"},{color:"17, 120, 179",imageUrl:"https://www.datocms-assets.com/1127/1616598194-linkedin.svg",label:"Linkedin",url:"https://www.linkedin.com/company/livestorm/"},{color:"255, 0, 0",imageUrl:"https://www.datocms-assets.com/1127/1616598300-youtube.svg",label:"Youtube",url:"https://www.youtube.com/channel/UCUOeqx6gVd7e5zIxytxeCcA"},{color:"240, 0, 177",imageUrl:"https://www.datocms-assets.com/1127/1637244501-instagram.png",label:"Instagram",url:"https://www.instagram.com/livestormapp/?hl=fr"}]),S=v(()=>t.value.resources.filter(({type:e})=>T.type===b(e)).filter(({title:e})=>d.value.trim()===""?!0:e.toLowerCase().includes(d.value.toLowerCase())).filter(({topic:e})=>_.value.length===0?!0:_.value.includes(e)).sort((e,o)=>{switch(B.value){case"alphabetical-desc":return e.title.localeCompare(o.title);case"alphabetical-asc":return o.title.localeCompare(e.title);default:return o.createdAt>e.createdAt}})),Z=v(()=>M.value.findIndex(({value:e})=>e===B.value)),re=v(()=>[{options:t.value.types.map(({color:e,icon:o,name:p})=>({color:e,icon:o,name:p,selected:T.type===b(p),to:`${u("resources")}/${b(p)}`})).filter(({name:e})=>t.value.resources.map(({type:o})=>o).includes(e)),slug:"types",title:t.value.hub.boxFiltersSubtitleType},{options:t.value.topics.map(({name:e})=>({name:e,selected:_.value.includes(e)})).filter(({name:e})=>t.value.resources.map(({topic:o})=>o).includes(e)),slug:"topics",title:t.value.hub.boxFiltersSubtitleTopic}]),K=v(()=>(t.value.hub?.boxOthersLinks||[]).map(e=>({text:e.title,url:e.url}))),ce=v(()=>[t.value.componentGlobal.noCreditCard,t.value.componentGlobal.noInstall]),ue=v(()=>ne.value?{action:"Upgrade clicked",to:`https://${y.appBaseUrl}/#/settings/billing/overview`,slot:t.value.componentGlobal.ctaUpgradeNow}:{action:"Signup clicked",to:`https://${y.appBaseUrl}/#/signup`,slot:t.value.componentGlobal.ctaGetStartedForFree}),pe=v(()=>({action:"Demo clicked",slot:t.value.componentGlobal.ctaGetDemo,to:"#form-demo"}));Qe(()=>d.value,oe(function(e){(e||"").trim().length!==0&&te("Term searched",{category:"Search",label:"Content library search",searched_term:e,locale:h.value})},1e3));function me(e){if(e.slug==="topics")if(_.value.includes(e.option)){const o=_.value.filter(p=>p!==e.option);L(o)}else L([..._.value,e.option])}function de(e){Y(e)}function ge(e){e.name==="topics"&&L([])}function he(){Y(""),J.value.setValue("")}function L(e){_.value=e}function Y(e){d.value=e}function _e(e){B.value=e}function ve(e){_e(e)}function be(e){W.value=e}return et(()=>{ee(t.value.page.name),ae(f),se([{item:u("index"),name:t.value.home.trackingBreadcrumbTitle},{item:u("resources"),name:t.value.hub.trackingBreadcrumbTitle},{item:u({name:j()}),name:t.value.page.name}])}),(e,o)=>{const p=Oe,x=Pe,m=Re,U=ze,D=Je,I=He,G=je,a=Me,i=We,N=Ze,V=Xe,ye=Ke;return g(),w(m,{class:"page"},{default:n(()=>[l(m,{class:"jumbotron"},{default:n(()=>[l(x,{class:"inner"},{default:n(()=>[l(p,null,{tag:n(()=>[r(c(s(t).hub.tag),1)]),heading:n(()=>[r(c(s(t).page.heroTitle),1)]),paragraph:n(()=>[r(c(s(t).page.heroText),1)]),_:1})]),_:1})]),_:1}),l(x,{ref:"index",class:"index"},{default:n(()=>[l(m,{class:"search-filters"},{default:n(()=>[o[1]||(o[1]=P("div",{class:"divider top"},null,-1)),o[2]||(o[2]=P("div",{class:"divider bottom"},null,-1)),l(x,null,{default:n(()=>[l(U,null,{default:n(()=>[r(c(s(t).hub.searchTitle),1)]),_:1}),l(m,{class:"search"},{default:n(()=>[l(D,{id:"search",ref_key:"$input",ref:J,content:s(d),placeholder:s(t).hub.placeholder,name:"search",size:"l",type:"text","onInput:change":de},null,8,["content","placeholder"]),l(I,{type:"search"}
1),s(d)!==""?(g(),w(I,{key:0,type:"x",onClick:he})):O("",!0)]),_:1}),(g(),w(G,{id:"filter",key:`select-${s(Z)}`,ref:"selectFilter",options:s(M),"has-icon":"","icon-type":"filter",index:s(Z),class:"filter",size:"l","onSelect:change":ve},null,8,["options","index"]))]),_:1})]),_:1}),l(m,{class:"aside"},{default:n(()=>[l(a,{filters:s(re),"onFilters:click":me,"onFilters:reset":ge,"onHead:click":be},{title:n(()=>[r(c(s(t).hub.boxFiltersTitle)+" ",1),!s(W)&&s($).topics.length+s($).types.length>0?(g(),z("span",st,c(s($).topics.length+s($).types.length),1)):O("",!0)]),all:n(()=>[r(c(s(t).hub.boxFiltersAll),1)]),save:n(()=>[r(c(s(t).hub.boxFiltersClose),1)]),_:1},8,["filters"]),l(i,{pages:s(K),"socials-links":s(X)},{title:n(()=>[r(c(s(t).hub.boxOthersTitle),1)]),"socials-title":n(()=>[r(c(s(t).hub.boxOthersFindUsOn),1)]),_:1},8,["pages","socials-links"])]),_:1}),s(S).length>0?(g(),w(m,{key:0,class:"main"},{default:n(()=>[l(m,{class:"resources"},{default:n(()=>[(g(!0),z(tt,null,at(s(S),F=>(g(),w(N,{key:F.id,content:F,"is-a-video-template":F.isAVideoTemplate},null,8,["content","is-a-video-template"]))),128))]),_:1})]),_:1})):(g(),w(m,{key:1,class:"main"},{default:n(()=>[l(V,{"search-text":`${s(t).hub.noMatchFor} ${s(d)}`,"onNoMatch:click":o[0]||(o[0]=F=>s(ie)(s(u)("blog")))},{heading:n(()=>[r(c(s(t).hub.noMatchTitle)+" ",1),s(S).length===0&&s(d).trim()!==""?(g(),z("span",ot,[r(c(s(t).hub.noMatchFor)+" ",1),P("span",nt,c(s(d)),1)])):O("",!0)]),paragraph:n(()=>[r(c(s(t).hub.noMatchDescription),1)]),button:n(()=>[r(c(s(t).hub.noMatchGoTo),1)]),_:1},8,["search-text"])]),_:1})),l(i,{pages:s(K),"socials-links":s(X)},{title:n(()=>[...o[3]||(o[3]=[r(" Others ",-1)])]),"socials-title":n(()=>[...o[4]||(o[4]=[r(" Find us on : ",-1)])]),_:1}
1,8,["pages","socials-links"])]),_:1},512),l(x,{class:"inner"},{default:n(()=>[l(ye,{features:s(ce),"primary-button":{...s(ue),label:"Big section CTA"},"secondary-button":{...s(pe),label:"Big section CTA"}},{heading:n(()=>[r(c(s(t).componentGetStarted.title),1)]),paragraph:n(()=>[r(c(s(t).componentGetStarted.paragraph),1)]),_:1},8,["features","primary-button","secondary-button"])]),_:1})]),_:1})}}},_t=xe(it,[["__scopeId","data-v-9cb59e1a"]]);export{_t 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.