PageSourceSearch

https://www.mirantis.com/_nuxt/veXxheW4.js

js mirantis.com collected 2026-09-24 08:40:21 UTC 7,782 bytes, 1 lines download raw bytes

1!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"97d4d01f113671d55faa091f58caea6b3d10d1ef"}}catch(e){}}();try{e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},(a=(new e.Error).stack)&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="776860a3-dc4f-4649-9203-2aa93be3469c",e._sentryDebugIdIdentifier="sentry-dbid-776860a3-dc4f-4649-9203-2aa93be3469c")}catch(e){}var e,a;import{b5 as t,aZ as n,a_ as l,aY as o,aF as s,bd as u,b6 as i,b0 as d,a$ as c,b1 as r,aH as v,aI as p,aP as b,b2 as _,b3 as f,aX as h,aU as m,b4 as y,aJ as g,aK as k,aL as w,aG as O,aM as T,aN as x,aO as E,aR as I,aS as C,aT as D}from"./DKd-uRZZ.js";import{C as R}from"./DXQ1mPpT.js";import{u as S}from"./HsBq3F7n.js";import"./DELnpM_U.js";const L={style:{display:"none"}},V={class:"upcoming-techtalks-section"},j={class:"past-techtalks-section"},A={__name:"index",async setup(e){let a,A;const H=S(),M=t(),P=n(),U=P.path,{$seoHead:B}=l();o().public.contextValue;const N=s({content:{}}),W=s([]),Y=s(""),$=s([]),F=s(""),G=s([]),J=s(""),K=s([]),X=s([]),Z=s([]),q=s([]),z=s([]),Q=s([]),ee=s([]),ae=s([]),te=s([]),ne=s([]),le=s(!1),oe=s(!1),se=s(!1);u(F,(e=>{null===e&&(F.value="")})),u(J,(e=>{null===e&&(J.value="")})),u(Z,(e=>{null===e&&(Z.value=[])}));const ue=i((()=>O.orderBy(W.value,(e=>{var a,t,n;return null==(n=null==(t=null==(a=e.content)?void 0:a.content)?void 0:t[0])?void 0:n.start_date}),"desc"))),ie=i((()=>ue.value.filter((e=>"upcoming_event"===e.event_type)))),de=i((()=>({upcomingTechTalks:ie,pastTechTalks:re}))),ce=e=>{const a=[];return X.value.forEach((e=>{a.push(e[0])})),-1===a.indexOf(e)},re=i((()=>{const e=ue.value.filter((e=>"past_event"===e.event_type)).filter((e=>{let a=!0,t=!0,n=!0,l=!1;const o=e.name||"",s=e.content||{};l=o.toLowerCase().includes(Y.value.toLowerCase()),s.industry_tag&&(a=s.industry_tag.indexOf(F.value)>-1),s.role_tag&&(t=s.role_tag.indexOf(J.value)>-1);const u=[];return s.topic_sub_app_definition&&u.push(...s.topic_sub_app_definition),s.topic_sub_orchestration&&u.push(...s.topic_sub_orchestration),s.topic_sub_runtime&&u.push(...s.topic_sub_runtime),s.topic_sub_observability&&u.push(...s.topic_sub_observability),s.topic_sub_provisioning&&u.push(...s.topic_sub_provisioning),s.topic_sub_serverless&&u.push(...s.topic_sub_serverless),s.topic_sub_others&&u.push("Others"),q.value&&(n=u.some((e=>q.value.indexOf(e)>=0)),0===q.value.length&&(n=!0)),se.value=""!==Y.value.toLowerCase()||q.value&&q.value.length>0,a&&t&&n&&l}));return le.value?e:e.slice(0,12)}));d((()=>{"#upcoming"===P.hash&&(oe.value=!0)}));const ve=async e=>(await M.get("cdn/datasource_entries",{datasource:e,per_page:99,cv:pe})).data.datasource_entries,pe=([a,A]=c((()=>M.get("cdn/spaces/189401/"))),a=await a,A(),a).data.space.version;return N.value=([a,A]=c((()=>M.get("cdn/stories/mirantis-com/labs/learning/techtalks",{version:"published",cv:pe}).then((e=>e.data.story)).catch((e=>{var a;return console.error((null==(a=null==e?void 0:e.response)?void 0:a.data)||e),{content:{}}})))),a=await a,A(),a),W.value=([a,A]=c((()=>M.get("cdn/stories",{per_page:1,page:1,starts_with:"mirantis-com/labs/learning/techtalks/",cv:pe}).then((e=>{const a=e.headers.total;return M.get("cdn/stories",{page:1,per_page:a,starts_with:"mirantis-com/labs/learning/techtalks/",cv:pe,excluding_ids:"280104560,280116234,528618226"})})).then((e=>(e.data.stories.forEach((e=>{var a,t;const n=null==(t=null==(a=e.content)?void 0:a.content)?void 0:t[0];e.asset_type="tech-talks",""!==(null==n?void 0:n.end_date)&&(H(n.end_date).valueOf()>H().valueOf()?e.event_type="upcoming_event":e.event_type="past_event"),""!==(null==n?void 0:n.start_date)&&(H(n.start_date).valueOf()>H().valueOf()?e.event_type="upcoming_event":e.event_type="past_event")})),e.data.stories))).catch((e=>{var a;return console.error((null==(a=null==e?void 0:e.response)?void 0:a.data)||e),[]})))),a=await a,A(),a),$.value=([a,A]=c((()=>ve("industry-tags").then((e=>["Industry",...e.map((e=>e.value))])))),a=await a,A(),a),G.value=([a,A]=c((()=>ve("role").then((e=>["Role",...e.map((e=>e.value))])))),a=await a,A(),a),z.value=([a,A]=c((()=>ve("topic-sub-app-definition-development").then((e=>["App Definition & Development",...e.map((e=>e.value))])))),a=await a,A(),a),Q.value=([a,A]=c((()=>ve("topic-sub-orchestration-management").then((e=>["Orchestration & Management",...e.map((e=>e.value))])))),a=await a,A(),a),ee.value=([a,A]=c((()=>ve("topic-sub-runtime").then((e=>["Runtime",...e.map((e=>e.value))])))),a=await a,A(),a),ae.value=([a,A]=c((()=>ve("topic-sub-observability-analysis").then((e=>["Observability & Analysis",...e.map((e=>e.value))])))),a=await a,A(),a),te.value=([a,A]=c((()=>ve("topic-sub-provisioning").then((e=>["Provisioning",...e.map((e=>e.value))])))),a=await a,A(),a),ne.value=([a,A]=c((()=>ve("topic-sub-serverless").then((e=>["Serverless",...e.map((e=>e.value))])))),a=await a,A(),a),X.value=[z.value,Q.value,ee.value,ae.value,te.value,ne.value],K.value=[...z.value,...Q.value,...ee.value,...ae.value,...te.value,...ne.value,"Others"],r(
1B(N.value,U)),(e,a)=>{var t,n;const l=E,o=x,s=w,u=T("font-awesome-icon");return p(),v("div",null,[b("pre",L,h(m(W)),1),(null==(n=null==(t=m(N).content.body)?void 0:t[0])?void 0:n.component)?(p(),_(y(m(N).content.body[0].component),{key:m(N).content.body[0]._uid,blok:m(N).content.body[0],additional:m(de)},null,8,["blok","additional"])):f("",!0),b("section",V,[g(s,{class:"pb-5"},{default:k((()=>[g(o,null,{default:k((()=>[g(l,null,{default:k((()=>{var e,a;return[(null==(a=null==(e=m(N).content.body)?void 0:e[1])?void 0:a.component)?(p(),_(y(m(N).content.body[1].component),{key:m(N).content.body[1]._uid,blok:m(N).content.body[1],additional:m(de)},null,8,["blok","additional"])):f("",!0)]})),_:1})])),_:1})])),_:1})]),b("section",j,[g(s,null,{default:k((()=>[g(o,null,{default:k((()=>[g(l,null,{default:k((()=>[g(s,null,{default:k((()=>a[3]||(a[3]=[b("h2",null,"Past Tech Talks",-1)]))),_:1})])),_:1})])),_:1}),g(o,null,{default:k((()=>[g(l,{md:"9",class:"past-tech-talks-col"},{default:k((()=>[g(s,null,{default:k((()=>[g(o,{class:"tech-talks-list-filter mb-4"},{default:k((()=>[g(l,{id:"searchWrapper",class:"mb-4",md:"4"},{default:k((()=>[I(b("input",{placeholder:"Search","onUpdate:modelValue":a[0]||(a[0]=e=>C(Y)?Y.value=e:null),class:"inp"},null,512),[[D,m(Y)]]),g(u,{icon:["fa","magnifying-glass"]})])),_:1}),g(l,{md:"4"},{default:k((()=>[g(m(R),{placeholder:"Topic",options:m(K),modelValue:m(q),"onUpdate:modelValue":a[1]||(a[1]=e=>C(q)?q.value=e:null),class:"style-chooser",selectable:ce},null,8,["options","modelValue"])])),_:1})])),_:1})])),_:1}),g(o,null,{default:k((()=>[g(l,null,{default:k((()=>{var e,a;return[(null==(a=null==(e=m(N).content.body)?void 0:e[2])?void 0:a.component)?(p(),_(y(m(N).content.body[2].component),{key:m(N).content.body[2]._uid,blok:m(N).content.body[2],additional:m(de)},null,8,["blok","additional"])):f("",!0)]})),_:1})])),_:1}),g(o,null,{default:k((()=>[g(l,{class:"text-center"},{default:k((()=>[m(le)||m(se)?f("",!0):(p(),v("a",{key:0,onClick:a[2]||(a[2]=e=>le.value=!m(le))},a[4]||(a[4]=[b("span",{class:"ghost-button-light-background"},"SHOW MORE",-1)])))])),_:1})])),_:1})])),_:1}),g(l,{md:"3",class:"become-a-contributor-col"},{default:k((()=>{var e,t;return[a[5]||(a[5]=b("h2",null,"Become a Contributor",-1)),(null==(t=null==(e=m(N).content.body)?void 0:e[3])?void 0:t.component)?(p(),_(y(m(N).content.body[3].component),{key:m(N).content.body[3]._uid,blok:m(N).content.body[3],additional:m(de)},null,8,["blok","additional"])):f("",!0)]})),_:1})])),_:1})])),_:1})])])}}};export{A 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.