From 51a9872e017fa475526b17644c115eb5d66b02d3 Mon Sep 17 00:00:00 2001 From: Thomas Junk Date: Fri, 8 Dec 2023 09:34:54 +0100 Subject: [PATCH] new build --- ...pinner.a9554a1c.js => Spinner.f025728e.js} | 2 +- build/_app/immutable/chunks/paths.0faff454.js | 1 + build/_app/immutable/chunks/paths.9104f388.js | 1 - ...ons.66738fd1.js => singletons.ed4953bb.js} | 2 +- .../{store.b3c2dff0.js => store.22ca258b.js} | 2 +- ...{stores.eb2874b7.js => stores.bde7595e.js} | 2 +- .../{app.b72e7527.js => app.2cf3abe2.js} | 2 +- .../{start.bd0e746b.js => start.68e3c3a8.js} | 2 +- .../nodes/{0.05aaf94e.js => 0.7a52bd9a.js} | 2 +- .../nodes/{1.bd498a55.js => 1.7f8496cc.js} | 2 +- .../nodes/{2.e43d1b03.js => 2.667ee2c5.js} | 2 +- .../nodes/{3.93cdfd32.js => 3.57fc9617.js} | 2 +- build/_app/version.json | 2 +- build/feed.html | 24 +++++++++---------- build/index.html | 24 +++++++++---------- 15 files changed, 36 insertions(+), 36 deletions(-) rename build/_app/immutable/chunks/{Spinner.a9554a1c.js => Spinner.f025728e.js} (99%) create mode 100644 build/_app/immutable/chunks/paths.0faff454.js delete mode 100644 build/_app/immutable/chunks/paths.9104f388.js rename build/_app/immutable/chunks/{singletons.66738fd1.js => singletons.ed4953bb.js} (94%) rename build/_app/immutable/chunks/{store.b3c2dff0.js => store.22ca258b.js} (97%) rename build/_app/immutable/chunks/{stores.eb2874b7.js => stores.bde7595e.js} (73%) rename build/_app/immutable/entry/{app.b72e7527.js => app.2cf3abe2.js} (84%) rename build/_app/immutable/entry/{start.bd0e746b.js => start.68e3c3a8.js} (99%) rename build/_app/immutable/nodes/{0.05aaf94e.js => 0.7a52bd9a.js} (96%) rename build/_app/immutable/nodes/{1.bd498a55.js => 1.7f8496cc.js} (92%) rename build/_app/immutable/nodes/{2.e43d1b03.js => 2.667ee2c5.js} (99%) rename build/_app/immutable/nodes/{3.93cdfd32.js => 3.57fc9617.js} (99%) diff --git a/build/_app/immutable/chunks/Spinner.a9554a1c.js b/build/_app/immutable/chunks/Spinner.f025728e.js similarity index 99% rename from build/_app/immutable/chunks/Spinner.a9554a1c.js rename to build/_app/immutable/chunks/Spinner.f025728e.js index 06fd90b..074ad75 100644 --- a/build/_app/immutable/chunks/Spinner.a9554a1c.js +++ b/build/_app/immutable/chunks/Spinner.f025728e.js @@ -1,4 +1,4 @@ -var pi=Object.defineProperty;var di=(i,e,t)=>e in i?pi(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var M=(i,e,t)=>(di(i,typeof e!="symbol"?e+"":e,t),t),mi=(i,e,t)=>{if(!e.has(i))throw TypeError("Cannot "+t)};var At=(i,e,t)=>{if(e.has(i))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(i):e.set(i,t)};var Ke=(i,e,t)=>(mi(i,e,"access private method"),t);import{a as C}from"./store.b3c2dff0.js";import{s as Ge,n as J,e as Cn,c as gi,u as _i,g as ki,d as bi,r as Ti,o as Ei}from"./scheduler.cc1c0861.js";import{S as Ve,i as We,e as se,a as U,f as E,g as I,h as L,x as ot,k as b,z as pe,s as fe,j as O,c as he,A as wt,y,d as tt,p as Ai,t as Lt,b as wi,m as de,n as me,o as ge,C as Ri,H as Si,D as xi,E as on}from"./index.7a644faf.js";import{h as yi}from"./singletons.66738fd1.js";import{p as Ii}from"./stores.eb2874b7.js";function an(i){return(i==null?void 0:i.length)!==void 0?i:Array.from(i)}const x={ACKNOWLEDGEMENTS:"acknowledgements",AGGREGATE_SEVERITY:"aggregate_severity",ALIASES:"aliases",CATEGORY:"category",CONTACT_DETAILS:"contact_details",CSAFVERSION:"csaf_version",CURRENTRELEASEDATE:"current_release_date",DISTRIBUTION:"distribution",DOCUMENT:"document",GENERATOR:"generator",ID:"id",INITIALRELEASEDATE:"initial_release_date",ISSUING_AUTHORITY:"issuing_authority",LABEL:"label",LANG:"lang",NOTES:"notes",PRODUCTTREE:"product_tree",PUBLISHER_CATEGORY:"category",PUBLISHER_NAME:"name",PUBLISHER_NAMESPACE:"namespace",PUBLISHER:"publisher",REFERENCES:"references",REVISIONHISTORY:"revision_history",STATUS:"status",SOURCELANG:"sourcelang",TITLE:"title",TLP:"tlp",TRACKING:"tracking",TRACKINGVERSION:"version",VULNERABILITIES:"vulnerabilities"},ae={AMBER:"AMBER",GREEN:"GREEN",RED:"RED",WHITE:"WHITE",ERROR:"Invalid TLP"},z="",Ae={draft:"draft",final:"final",interim:"interim",ERROR:"Invalid Status"},Pe={FIXED:"F",UNDER_INVESTIGATION:"U",KNOWN_AFFECTED:"K",NOT_AFFECTED:"N",RECOMMENDED:"R"},Li=(i,e,t)=>{const{vulnerabilities:n,relevantProducts:s}=Pi(i);return e=e.filter(l=>s[l.product_id]),n.sort((l,a)=>l.cvea.cve?1:0),Ni(e,n,t)},Ni=(i,e,t)=>{let n=[],s=["Product","Total result"];const r=e.map(a=>a.cve);s=s.concat(r),n.push(s);const l=i.map(a=>{let o=[`${a.product_id}`];return o=o.concat(vi(a,e)),o});return l.sort((a,o)=>t[a[0]]t[o[0]]?1:0),n=[...n,...l],n},vi=(i,e)=>{const t="N.A",n=[t];e.forEach(r=>{var a,o,u,f,p;let l="";(a=r.fixed)!=null&&a[i.product_id]&&(l+=Pe.FIXED),(o=r.under_investigation)!=null&&o[i.product_id]&&(l+=Pe.UNDER_INVESTIGATION),(u=r.known_affected)!=null&&u[i.product_id]&&(l+=Pe.KNOWN_AFFECTED),(f=r.known_not_affected)!=null&&f[i.product_id]&&(l+=Pe.NOT_AFFECTED),(p=r.recommended)!=null&&p[i.product_id]&&(l+=Pe.RECOMMENDED),n.push(l)});const s=r=>{let l=t;switch(!0){case r.includes("K"):l="K";break;case r.includes("U"):l="U";break;case r.includes("F"):l="F";break;case r.includes("NR"):case r.includes("N"):l="N";break}return l};return n[0]=s(n),n},Ci=i=>{if(!i.product_tree)return[];let e=[];if(i.product_tree.branches){const n=i.product_tree.branches.reduce(On,[]);e=e.concat(n)}i.product_tree.full_product_names&&(e=e.concat(i.product_tree.full_product_names));const t=Oi(i);return e.concat(t)},Oi=i=>i.product_tree.relationships?i.product_tree.relationships.map(e=>({product_id:e.full_product_name.product_id,name:e.full_product_name.name})):[],On=(i,e)=>(e.branches?e.branches.forEach(t=>{i.concat(On(i,t))}):Mi(e)&&i.push({product_id:e.product.product_id,name:e.product.name}),i),Mi=i=>i.product&&i.product.product_id&&i.product.name,De=(i,e)=>{var t;return(t=i[e])==null?void 0:t.reduce((n,s)=>(n[s]=s,n),{})},Pi=i=>{const e={vulnerabilities:[],relevantProducts:{}};if(!i.vulnerabilities)return e;const t=i.vulnerabilities.reduce((n,s)=>{if(!s.cve)return n;const r={cve:s.cve};return s.product_status&&(s.product_status.known_affected&&(r.known_affected=De(s.product_status,"known_affected"),Object.assign(e.relevantProducts,r.known_affected)),s.product_status.fixed&&(r.fixed=De(s.product_status,"fixed"),Object.assign(e.relevantProducts,r.fixed)),s.product_status.under_investigation&&(r.under_investigation=De(s.product_status,"under_investigation"),Object.assign(e.relevantProducts,r.under_investigation)),s.product_status.known_not_affected&&(r.known_not_affected=De(s.product_status,"known_not_affected"),Object.assign(e.relevantProducts,r.known_not_affected)),s.product_status.recommended&&(r.recommended=De(s.product_status,"recommended"),Object.assign(e.relevantProducts,r.recommended))),n.push(r),n},[]);return e.vulnerabilities=t,e},X=i=>i[x.DOCUMENT],ce=i=>X(i)&&i.document[x.TRACKING],Mn=i=>X(i)&&i.document[x.DISTRIBUTION],Pn=i=>Mn(i)&&i.document.distribution[x.TLP]&&i.document.distribution[x.TLP][x.LABEL],Dn=i=>X(i)&&i.document[x.PUBLISHER],Un=i=>i[x.VULNERABILITIES],zn=i=>i[x.PRODUCTTREE],Fn=i=>ce(i)&&i.document.tracking[x.REVISIONHISTORY],Di=i=>X(i)&&i.document[x.TITLE]||z,Ui=i=>X(i)&&i.document[x.LANG]||z,zi=i=>X(i)&&i.document[x.CSAFVERSION]||z,Fi=i=>ce(i)&&i.document.tracking[x.ID]||z,Hi=i=>{if(!Pn(i))return{label:""};let e="TLP.ERROR;";switch(i.document.distribution.tlp[x.LABEL]){case ae.AMBER:e=ae.AMBER;break;case ae.GREEN:e=ae.AMBER;break;case ae.WHITE:e=ae.WHITE;break;case ae.RED:e=ae.RED;break;default:e=ae.ERROR;break}return{label:e,url:i.document.distribution.tlp.url}},Bi=i=>{if(!ce(i))return z;switch(i.document.tracking[x.STATUS]){case Ae.draft:return Ae.draft;case Ae.final:return Ae.final;case Ae.interim:return Ae.interim;default:return Ae.ERROR}},Gi=i=>ce(i)&&i.document.tracking[x.INITIALRELEASEDATE]||z,Vi=i=>ce(i)&&i.document.tracking[x.CURRENTRELEASEDATE]||z,Wi=i=>X(i)&&i.document[x.CATEGORY]||z,Yi=i=>{if(!Dn(i))return{category:"",name:"",namespace:""};const e=i.document[x.PUBLISHER];return{category:e[x.PUBLISHER_CATEGORY],name:e[x.PUBLISHER_NAME],namespace:e[x.PUBLISHER_NAMESPACE],contact_details:e[x.CONTACT_DETAILS],issuing_authority:e[x.ISSUING_AUTHORITY]}},qi=i=>ce(i)&&i.document.tracking[x.TRACKINGVERSION]||z,$i=i=>Un(i)?i.vulnerabilities:[],Zi=i=>{if(!Fn(i))return[];const e=i.document.tracking[x.REVISIONHISTORY];return e.sort((t,n)=>t.daten.date?-1:0),e},ji=i=>zn(i)?i[x.PRODUCTTREE]:[],Ki=i=>X(i)?i.document[x.NOTES]:[],Xi=i=>X(i)?i.document[x.ACKNOWLEDGEMENTS]:[],Qi=i=>X(i)&&i.document[x.SOURCELANG]||z,Ji=i=>X(i)?i.document[x.REFERENCES]||[]:[],es=i=>X(i)&&i.document[x.AGGREGATE_SEVERITY]||null,ts=i=>ce(i)&&i.document.tracking[x.GENERATOR]||null,ns=i=>ce(i)&&i.document.tracking[x.ALIASES]||null,is=i=>{const e={aggregateSeverity:es(i),acknowledgements:Xi(i),aliases:ns(i),category:Wi(i),csafVersion:zi(i),generator:ts(i),id:Fi(i),isDistributionPresent:Mn(i),isDocPresent:X(i),isProductTreePresent:zn(i),isPublisherPresent:Dn(i),isRevisionHistoryPresent:Fn(i),isTLPPresent:Pn(i),isTrackingPresent:ce(i),isVulnerabilitiesPresent:Un(i),lang:Ui(i),lastUpdate:Vi(i),notes:Ki(i),productsByID:{},productTree:ji(i),productVulnerabilities:[],published:Gi(i),publisher:Yi(i),references:Ji(i),revisionHistory:Zi(i),status:Bi(i),sourceLang:Qi(i),title:Di(i),tlp:Hi(i),trackingVersion:qi(i),vulnerabilities:$i(i)},t=Ci(i),n=t.reduce((s,r)=>(s[r.product_id]=r.name,s),{});return e.productsByID=n,e.productVulnerabilities=Li(i,t,n),e},Hn="";async function Js(i){i=`${Hn}${i}`,C.setSingleErrorMsg("");try{C.setLoading(!0);const e=await fetch(`${i}`);if(e.ok){const t=await e.json();C.clearUploadedFile();const n=is(t);C.setDocument(n),C.setLoading(!1)}else{const t=e.statusText?`An Error occured: HTTP ${e.status} - ${e.statusText}`:`An Error occured: HTTP ${e.status}`;C.setSingleErrorMsg(t),C.setLoading(!1),C.setDocument(null)}}catch{C.setSingleErrorMsg("Failed to load from URL. The server may be unreachable or the resource cannot be accessed due to CORS restrictions."),C.setLoading(!1),C.setDocument(null)}}const ss=i=>{const e=i.statusText?`An Error occured: HTTP ${i.status} - ${i.statusText}`:`An Error occured: HTTP ${i.status}`;C.setFeedErrorMsg(e),C.setProviderMetadata(null),C.setCurrentFeed(null),C.setLoading(!1)};async function er(i){i=`${Hn}${i}`,C.setFeedErrorMsg("");try{C.setLoading(!0);const e=await fetch(`${i}`);if(e.ok){C.setCurrentFeed(null),C.setProviderMetadata(null);const t=await e.json();t.canonical_url&&t.last_updated&&t.list_on_CSAF_aggregators&&t.mirror_on_CSAF_aggregators&&t.metadata_version&&t.publisher&&t.role?C.setProviderMetadata(t):(C.setCurrentFeed(t),C.setFeedSectionOpen()),C.setLoading(!1)}else ss(e)}catch{C.setFeedErrorMsg("Failed to load from URL. The server may be unreachable or the resource cannot be accessed due to CORS restrictions."),C.setProviderMetadata(null),C.setCurrentFeed(null),C.setLoading(!1)}}function cn(i){let e,t='Last pos. ',n,s;return{c(){e=I("a"),e.innerHTML=t,this.h()},l(r){e=L(r,"A",{class:!0,href:!0,"data-svelte-h":!0}),ot(e)!=="svelte-1w4plph"&&(e.innerHTML=t),this.h()},h(){b(e,"class","backbutton"),b(e,"href","#top")},m(r,l){U(r,e,l),n||(s=pe(e,"click",i[1]),n=!0)},p:J,d(r){r&&E(e),n=!1,s()}}}function rs(i){let e,t=i[0].ui.history.length>0&&cn(i);return{c(){t&&t.c(),e=se()},l(n){t&&t.l(n),e=se()},m(n,s){t&&t.m(n,s),U(n,e,s)},p(n,[s]){n[0].ui.history.length>0?t?t.p(n,s):(t=cn(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:J,o:J,d(n){n&&E(e),t&&t.d(n)}}}async function ls(i){setTimeout(()=>{const t=document.getElementById(`${i}`).getBoundingClientRect().top+window.scrollY-150;window.scrollTo({top:t,behavior:"smooth"})},200)}function os(i,e,t){let n;return Cn(i,C,r=>t(0,n=r)),[n,r=>{const l=n.ui.history[0];C.shiftHistory(),ls(l),r.preventDefault()}]}class tr extends Ve{constructor(e){super(),We(this,e,os,rs,Ge,{})}}function un(i){let e,t,n,s,r,l,a;return{c(){e=I("div"),t=I("h2"),n=I("i"),r=de(i[0]),this.h()},l(o){e=L(o,"DIV",{title:!0,id:!0,class:!0});var u=O(e);t=L(u,"H2",{});var f=O(t);n=L(f,"I",{class:!0}),O(n).forEach(E),r=me(f,i[0]),f.forEach(E),u.forEach(E),this.h()},h(){b(n,"class",s="bx "+i[5]),b(e,"title",i[0]),b(e,"id",i[0]),b(e,"class",i[2])},m(o,u){U(o,e,u),y(e,t),y(t,n),y(t,r),l||(a=pe(e,"click",i[7]),l=!0)},p(o,u){u&32&&s!==(s="bx "+o[5])&&b(n,"class",s),u&1&&ge(r,o[0]),u&1&&b(e,"title",o[0]),u&1&&b(e,"id",o[0]),u&4&&b(e,"class",o[2])},d(o){o&&E(e),l=!1,a()}}}function fn(i){let e,t,n,s,r,l,a;return{c(){e=I("div"),t=I("h3"),n=I("i"),r=de(i[0]),this.h()},l(o){e=L(o,"DIV",{title:!0,id:!0,class:!0});var u=O(e);t=L(u,"H3",{});var f=O(t);n=L(f,"I",{class:!0}),O(n).forEach(E),r=me(f,i[0]),f.forEach(E),u.forEach(E),this.h()},h(){b(n,"class",s="bx "+i[5]),b(e,"title",i[0]),b(e,"id",i[0]),b(e,"class",i[2])},m(o,u){U(o,e,u),y(e,t),y(t,n),y(t,r),l||(a=pe(e,"click",i[7]),l=!0)},p(o,u){u&32&&s!==(s="bx "+o[5])&&b(n,"class",s),u&1&&ge(r,o[0]),u&1&&b(e,"title",o[0]),u&1&&b(e,"id",o[0]),u&4&&b(e,"class",o[2])},d(o){o&&E(e),l=!1,a()}}}function hn(i){let e,t,n,s,r,l,a;return{c(){e=I("div"),t=I("h4"),n=I("i"),r=de(i[0]),this.h()},l(o){e=L(o,"DIV",{title:!0,id:!0,class:!0});var u=O(e);t=L(u,"H4",{});var f=O(t);n=L(f,"I",{class:!0}),O(n).forEach(E),r=me(f,i[0]),f.forEach(E),u.forEach(E),this.h()},h(){b(n,"class",s="bx "+i[5]),b(e,"title",i[0]),b(e,"id",i[0]),b(e,"class",i[2])},m(o,u){U(o,e,u),y(e,t),y(t,n),y(t,r),l||(a=pe(e,"click",i[7]),l=!0)},p(o,u){u&32&&s!==(s="bx "+o[5])&&b(n,"class",s),u&1&&ge(r,o[0]),u&1&&b(e,"title",o[0]),u&1&&b(e,"id",o[0]),u&4&&b(e,"class",o[2])},d(o){o&&E(e),l=!1,a()}}}function pn(i){let e,t,n,s,r,l,a;return{c(){e=I("div"),t=I("h5"),n=I("i"),r=de(i[0]),this.h()},l(o){e=L(o,"DIV",{title:!0,id:!0,class:!0});var u=O(e);t=L(u,"H5",{});var f=O(t);n=L(f,"I",{class:!0}),O(n).forEach(E),r=me(f,i[0]),f.forEach(E),u.forEach(E),this.h()},h(){b(n,"class",s="bx "+i[5]),b(e,"title",i[0]),b(e,"id",i[0]),b(e,"class",i[2])},m(o,u){U(o,e,u),y(e,t),y(t,n),y(t,r),l||(a=pe(e,"click",i[7]),l=!0)},p(o,u){u&32&&s!==(s="bx "+o[5])&&b(n,"class",s),u&1&&ge(r,o[0]),u&1&&b(e,"title",o[0]),u&1&&b(e,"id",o[0]),u&4&&b(e,"class",o[2])},d(o){o&&E(e),l=!1,a()}}}function dn(i){let e,t;const n=i[12].default,s=gi(n,i,i[11],null);return{c(){e=I("div"),s&&s.c(),this.h()},l(r){e=L(r,"DIV",{id:!0,class:!0});var l=O(e);s&&s.l(l),l.forEach(E),this.h()},h(){b(e,"id",i[6]),b(e,"class","collapsible-body")},m(r,l){U(r,e,l),s&&s.m(e,null),t=!0},p(r,l){s&&s.p&&(!t||l&2048)&&_i(s,n,r,r[11],t?bi(n,r[11],l,null):ki(r[11]),null)},i(r){t||(tt(s,r),t=!0)},o(r){Lt(s,r),t=!1},d(r){r&&E(e),s&&s.d(r)}}}function as(i){let e,t,n,s,r,l,a=i[1]=="2"&&un(i),o=i[1]=="3"&&fn(i),u=i[1]=="4"&&hn(i),f=i[1]=="5"&&pn(i),p=i[4]==="block"&&dn(i);return{c(){e=I("div"),a&&a.c(),t=fe(),o&&o.c(),n=fe(),u&&u.c(),s=fe(),f&&f.c(),r=fe(),p&&p.c(),this.h()},l(m){e=L(m,"DIV",{});var h=O(e);a&&a.l(h),t=he(h),o&&o.l(h),n=he(h),u&&u.l(h),s=he(h),f&&f.l(h),r=he(h),p&&p.l(h),h.forEach(E),this.h()},h(){wt(e,"collapsible",!0),wt(e,"highlight-section",i[3])},m(m,h){U(m,e,h),a&&a.m(e,null),y(e,t),o&&o.m(e,null),y(e,n),u&&u.m(e,null),y(e,s),f&&f.m(e,null),y(e,r),p&&p.m(e,null),l=!0},p(m,[h]){m[1]=="2"?a?a.p(m,h):(a=un(m),a.c(),a.m(e,t)):a&&(a.d(1),a=null),m[1]=="3"?o?o.p(m,h):(o=fn(m),o.c(),o.m(e,n)):o&&(o.d(1),o=null),m[1]=="4"?u?u.p(m,h):(u=hn(m),u.c(),u.m(e,s)):u&&(u.d(1),u=null),m[1]=="5"?f?f.p(m,h):(f=pn(m),f.c(),f.m(e,r)):f&&(f.d(1),f=null),m[4]==="block"?p?(p.p(m,h),h&16&&tt(p,1)):(p=dn(m),p.c(),tt(p,1),p.m(e,null)):p&&(Ai(),Lt(p,1,1,()=>{p=null}),wi()),(!l||h&8)&&wt(e,"highlight-section",m[3])},i(m){l||(tt(p),l=!0)},o(m){Lt(p),l=!1},d(m){m&&E(e),a&&a.d(),o&&o.d(),u&&u.d(),f&&f.d(),p&&p.d()}}}function cs(i,e,t){let{$$slots:n={},$$scope:s}=e,{header:r}=e,{open:l=!1}=e,{level:a="2"}=e,{class_:o=""}=e,{highlight:u=!1}=e;const f=crypto.randomUUID();let{onOpen:p=()=>{}}=e,{onClose:m=()=>{}}=e,h="none",S="bx-chevron-down";const R=()=>{h==="block"?(m(),t(4,h="none")):(p(),setTimeout(()=>{const q=document.getElementById(`${f}`).getBoundingClientRect().top+window.scrollY-150;window.scrollTo({top:q,behavior:"smooth"})},200),t(4,h="block"))};return i.$$set=A=>{"header"in A&&t(0,r=A.header),"open"in A&&t(8,l=A.open),"level"in A&&t(1,a=A.level),"class_"in A&&t(2,o=A.class_),"highlight"in A&&t(3,u=A.highlight),"onOpen"in A&&t(9,p=A.onOpen),"onClose"in A&&t(10,m=A.onClose),"$$scope"in A&&t(11,s=A.$$scope)},i.$$.update=()=>{i.$$.dirty&256&&(l?t(4,h="block"):t(4,h="none")),i.$$.dirty&16&&(h==="block"?t(5,S="bx-chevron-down"):t(5,S="bx-chevron-right"))},[r,a,o,u,h,S,f,R,l,p,m,s,n]}class nr extends Ve{constructor(e){super(),We(this,e,cs,as,Ge,{header:0,open:8,level:1,class_:2,highlight:3,onOpen:9,onClose:10})}}function Ot(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let Re=Ot();function Bn(i){Re=i}const Gn=/[&<>"']/,us=new RegExp(Gn.source,"g"),Vn=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,fs=new RegExp(Vn.source,"g"),hs={"&":"&","<":"<",">":">",'"':""","'":"'"},mn=i=>hs[i];function K(i,e){if(e){if(Gn.test(i))return i.replace(us,mn)}else if(Vn.test(i))return i.replace(fs,mn);return i}const ps=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function ds(i){return i.replace(ps,(e,t)=>(t=t.toLowerCase(),t==="colon"?":":t.charAt(0)==="#"?t.charAt(1)==="x"?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""))}const ms=/(^|[^\[])\^/g;function v(i,e){i=typeof i=="string"?i:i.source,e=e||"";const t={replace:(n,s)=>(s=typeof s=="object"&&"source"in s?s.source:s,s=s.replace(ms,"$1"),i=i.replace(n,s),t),getRegex:()=>new RegExp(i,e)};return t}function gn(i){try{i=encodeURI(i).replace(/%25/g,"%")}catch{return null}return i}const it={exec:()=>null};function _n(i,e){const t=i.replace(/\|/g,(r,l,a)=>{let o=!1,u=l;for(;--u>=0&&a[u]==="\\";)o=!o;return o?"|":" |"}),n=t.split(/ \|/);let s=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),e)if(n.length>e)n.splice(e);else for(;n.lengthe in i?pi(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var M=(i,e,t)=>(di(i,typeof e!="symbol"?e+"":e,t),t),mi=(i,e,t)=>{if(!e.has(i))throw TypeError("Cannot "+t)};var At=(i,e,t)=>{if(e.has(i))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(i):e.set(i,t)};var Ke=(i,e,t)=>(mi(i,e,"access private method"),t);import{a as C}from"./store.22ca258b.js";import{s as Ge,n as J,e as Cn,c as gi,u as _i,g as ki,d as bi,r as Ti,o as Ei}from"./scheduler.cc1c0861.js";import{S as Ve,i as We,e as se,a as U,f as E,g as I,h as L,x as ot,k as b,z as pe,s as fe,j as O,c as he,A as wt,y,d as tt,p as Ai,t as Lt,b as wi,m as de,n as me,o as ge,C as Ri,H as Si,D as xi,E as on}from"./index.7a644faf.js";import{h as yi}from"./singletons.ed4953bb.js";import{p as Ii}from"./stores.bde7595e.js";function an(i){return(i==null?void 0:i.length)!==void 0?i:Array.from(i)}const x={ACKNOWLEDGEMENTS:"acknowledgements",AGGREGATE_SEVERITY:"aggregate_severity",ALIASES:"aliases",CATEGORY:"category",CONTACT_DETAILS:"contact_details",CSAFVERSION:"csaf_version",CURRENTRELEASEDATE:"current_release_date",DISTRIBUTION:"distribution",DOCUMENT:"document",GENERATOR:"generator",ID:"id",INITIALRELEASEDATE:"initial_release_date",ISSUING_AUTHORITY:"issuing_authority",LABEL:"label",LANG:"lang",NOTES:"notes",PRODUCTTREE:"product_tree",PUBLISHER_CATEGORY:"category",PUBLISHER_NAME:"name",PUBLISHER_NAMESPACE:"namespace",PUBLISHER:"publisher",REFERENCES:"references",REVISIONHISTORY:"revision_history",STATUS:"status",SOURCELANG:"sourcelang",TITLE:"title",TLP:"tlp",TRACKING:"tracking",TRACKINGVERSION:"version",VULNERABILITIES:"vulnerabilities"},ae={AMBER:"AMBER",GREEN:"GREEN",RED:"RED",WHITE:"WHITE",ERROR:"Invalid TLP"},z="",Ae={draft:"draft",final:"final",interim:"interim",ERROR:"Invalid Status"},Pe={FIXED:"F",UNDER_INVESTIGATION:"U",KNOWN_AFFECTED:"K",NOT_AFFECTED:"N",RECOMMENDED:"R"},Li=(i,e,t)=>{const{vulnerabilities:n,relevantProducts:s}=Pi(i);return e=e.filter(l=>s[l.product_id]),n.sort((l,a)=>l.cvea.cve?1:0),Ni(e,n,t)},Ni=(i,e,t)=>{let n=[],s=["Product","Total result"];const r=e.map(a=>a.cve);s=s.concat(r),n.push(s);const l=i.map(a=>{let o=[`${a.product_id}`];return o=o.concat(vi(a,e)),o});return l.sort((a,o)=>t[a[0]]t[o[0]]?1:0),n=[...n,...l],n},vi=(i,e)=>{const t="N.A",n=[t];e.forEach(r=>{var a,o,u,f,p;let l="";(a=r.fixed)!=null&&a[i.product_id]&&(l+=Pe.FIXED),(o=r.under_investigation)!=null&&o[i.product_id]&&(l+=Pe.UNDER_INVESTIGATION),(u=r.known_affected)!=null&&u[i.product_id]&&(l+=Pe.KNOWN_AFFECTED),(f=r.known_not_affected)!=null&&f[i.product_id]&&(l+=Pe.NOT_AFFECTED),(p=r.recommended)!=null&&p[i.product_id]&&(l+=Pe.RECOMMENDED),n.push(l)});const s=r=>{let l=t;switch(!0){case r.includes("K"):l="K";break;case r.includes("U"):l="U";break;case r.includes("F"):l="F";break;case r.includes("NR"):case r.includes("N"):l="N";break}return l};return n[0]=s(n),n},Ci=i=>{if(!i.product_tree)return[];let e=[];if(i.product_tree.branches){const n=i.product_tree.branches.reduce(On,[]);e=e.concat(n)}i.product_tree.full_product_names&&(e=e.concat(i.product_tree.full_product_names));const t=Oi(i);return e.concat(t)},Oi=i=>i.product_tree.relationships?i.product_tree.relationships.map(e=>({product_id:e.full_product_name.product_id,name:e.full_product_name.name})):[],On=(i,e)=>(e.branches?e.branches.forEach(t=>{i.concat(On(i,t))}):Mi(e)&&i.push({product_id:e.product.product_id,name:e.product.name}),i),Mi=i=>i.product&&i.product.product_id&&i.product.name,De=(i,e)=>{var t;return(t=i[e])==null?void 0:t.reduce((n,s)=>(n[s]=s,n),{})},Pi=i=>{const e={vulnerabilities:[],relevantProducts:{}};if(!i.vulnerabilities)return e;const t=i.vulnerabilities.reduce((n,s)=>{if(!s.cve)return n;const r={cve:s.cve};return s.product_status&&(s.product_status.known_affected&&(r.known_affected=De(s.product_status,"known_affected"),Object.assign(e.relevantProducts,r.known_affected)),s.product_status.fixed&&(r.fixed=De(s.product_status,"fixed"),Object.assign(e.relevantProducts,r.fixed)),s.product_status.under_investigation&&(r.under_investigation=De(s.product_status,"under_investigation"),Object.assign(e.relevantProducts,r.under_investigation)),s.product_status.known_not_affected&&(r.known_not_affected=De(s.product_status,"known_not_affected"),Object.assign(e.relevantProducts,r.known_not_affected)),s.product_status.recommended&&(r.recommended=De(s.product_status,"recommended"),Object.assign(e.relevantProducts,r.recommended))),n.push(r),n},[]);return e.vulnerabilities=t,e},X=i=>i[x.DOCUMENT],ce=i=>X(i)&&i.document[x.TRACKING],Mn=i=>X(i)&&i.document[x.DISTRIBUTION],Pn=i=>Mn(i)&&i.document.distribution[x.TLP]&&i.document.distribution[x.TLP][x.LABEL],Dn=i=>X(i)&&i.document[x.PUBLISHER],Un=i=>i[x.VULNERABILITIES],zn=i=>i[x.PRODUCTTREE],Fn=i=>ce(i)&&i.document.tracking[x.REVISIONHISTORY],Di=i=>X(i)&&i.document[x.TITLE]||z,Ui=i=>X(i)&&i.document[x.LANG]||z,zi=i=>X(i)&&i.document[x.CSAFVERSION]||z,Fi=i=>ce(i)&&i.document.tracking[x.ID]||z,Hi=i=>{if(!Pn(i))return{label:""};let e="TLP.ERROR;";switch(i.document.distribution.tlp[x.LABEL]){case ae.AMBER:e=ae.AMBER;break;case ae.GREEN:e=ae.AMBER;break;case ae.WHITE:e=ae.WHITE;break;case ae.RED:e=ae.RED;break;default:e=ae.ERROR;break}return{label:e,url:i.document.distribution.tlp.url}},Bi=i=>{if(!ce(i))return z;switch(i.document.tracking[x.STATUS]){case Ae.draft:return Ae.draft;case Ae.final:return Ae.final;case Ae.interim:return Ae.interim;default:return Ae.ERROR}},Gi=i=>ce(i)&&i.document.tracking[x.INITIALRELEASEDATE]||z,Vi=i=>ce(i)&&i.document.tracking[x.CURRENTRELEASEDATE]||z,Wi=i=>X(i)&&i.document[x.CATEGORY]||z,Yi=i=>{if(!Dn(i))return{category:"",name:"",namespace:""};const e=i.document[x.PUBLISHER];return{category:e[x.PUBLISHER_CATEGORY],name:e[x.PUBLISHER_NAME],namespace:e[x.PUBLISHER_NAMESPACE],contact_details:e[x.CONTACT_DETAILS],issuing_authority:e[x.ISSUING_AUTHORITY]}},qi=i=>ce(i)&&i.document.tracking[x.TRACKINGVERSION]||z,$i=i=>Un(i)?i.vulnerabilities:[],Zi=i=>{if(!Fn(i))return[];const e=i.document.tracking[x.REVISIONHISTORY];return e.sort((t,n)=>t.daten.date?-1:0),e},ji=i=>zn(i)?i[x.PRODUCTTREE]:[],Ki=i=>X(i)?i.document[x.NOTES]:[],Xi=i=>X(i)?i.document[x.ACKNOWLEDGEMENTS]:[],Qi=i=>X(i)&&i.document[x.SOURCELANG]||z,Ji=i=>X(i)?i.document[x.REFERENCES]||[]:[],es=i=>X(i)&&i.document[x.AGGREGATE_SEVERITY]||null,ts=i=>ce(i)&&i.document.tracking[x.GENERATOR]||null,ns=i=>ce(i)&&i.document.tracking[x.ALIASES]||null,is=i=>{const e={aggregateSeverity:es(i),acknowledgements:Xi(i),aliases:ns(i),category:Wi(i),csafVersion:zi(i),generator:ts(i),id:Fi(i),isDistributionPresent:Mn(i),isDocPresent:X(i),isProductTreePresent:zn(i),isPublisherPresent:Dn(i),isRevisionHistoryPresent:Fn(i),isTLPPresent:Pn(i),isTrackingPresent:ce(i),isVulnerabilitiesPresent:Un(i),lang:Ui(i),lastUpdate:Vi(i),notes:Ki(i),productsByID:{},productTree:ji(i),productVulnerabilities:[],published:Gi(i),publisher:Yi(i),references:Ji(i),revisionHistory:Zi(i),status:Bi(i),sourceLang:Qi(i),title:Di(i),tlp:Hi(i),trackingVersion:qi(i),vulnerabilities:$i(i)},t=Ci(i),n=t.reduce((s,r)=>(s[r.product_id]=r.name,s),{});return e.productsByID=n,e.productVulnerabilities=Li(i,t,n),e},Hn="";async function Js(i){i=`${Hn}${i}`,C.setSingleErrorMsg("");try{C.setLoading(!0);const e=await fetch(`${i}`);if(e.ok){const t=await e.json();C.clearUploadedFile();const n=is(t);C.setDocument(n),C.setLoading(!1)}else{const t=e.statusText?`An Error occured: HTTP ${e.status} - ${e.statusText}`:`An Error occured: HTTP ${e.status}`;C.setSingleErrorMsg(t),C.setLoading(!1),C.setDocument(null)}}catch{C.setSingleErrorMsg("Failed to load from URL. The server may be unreachable or the resource cannot be accessed due to CORS restrictions."),C.setLoading(!1),C.setDocument(null)}}const ss=i=>{const e=i.statusText?`An Error occured: HTTP ${i.status} - ${i.statusText}`:`An Error occured: HTTP ${i.status}`;C.setFeedErrorMsg(e),C.setProviderMetadata(null),C.setCurrentFeed(null),C.setLoading(!1)};async function er(i){i=`${Hn}${i}`,C.setFeedErrorMsg("");try{C.setLoading(!0);const e=await fetch(`${i}`);if(e.ok){C.setCurrentFeed(null),C.setProviderMetadata(null);const t=await e.json();t.canonical_url&&t.last_updated&&t.list_on_CSAF_aggregators&&t.mirror_on_CSAF_aggregators&&t.metadata_version&&t.publisher&&t.role?C.setProviderMetadata(t):(C.setCurrentFeed(t),C.setFeedSectionOpen()),C.setLoading(!1)}else ss(e)}catch{C.setFeedErrorMsg("Failed to load from URL. The server may be unreachable or the resource cannot be accessed due to CORS restrictions."),C.setProviderMetadata(null),C.setCurrentFeed(null),C.setLoading(!1)}}function cn(i){let e,t='Last pos. ',n,s;return{c(){e=I("a"),e.innerHTML=t,this.h()},l(r){e=L(r,"A",{class:!0,href:!0,"data-svelte-h":!0}),ot(e)!=="svelte-1w4plph"&&(e.innerHTML=t),this.h()},h(){b(e,"class","backbutton"),b(e,"href","#top")},m(r,l){U(r,e,l),n||(s=pe(e,"click",i[1]),n=!0)},p:J,d(r){r&&E(e),n=!1,s()}}}function rs(i){let e,t=i[0].ui.history.length>0&&cn(i);return{c(){t&&t.c(),e=se()},l(n){t&&t.l(n),e=se()},m(n,s){t&&t.m(n,s),U(n,e,s)},p(n,[s]){n[0].ui.history.length>0?t?t.p(n,s):(t=cn(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:J,o:J,d(n){n&&E(e),t&&t.d(n)}}}async function ls(i){setTimeout(()=>{const t=document.getElementById(`${i}`).getBoundingClientRect().top+window.scrollY-150;window.scrollTo({top:t,behavior:"smooth"})},200)}function os(i,e,t){let n;return Cn(i,C,r=>t(0,n=r)),[n,r=>{const l=n.ui.history[0];C.shiftHistory(),ls(l),r.preventDefault()}]}class tr extends Ve{constructor(e){super(),We(this,e,os,rs,Ge,{})}}function un(i){let e,t,n,s,r,l,a;return{c(){e=I("div"),t=I("h2"),n=I("i"),r=de(i[0]),this.h()},l(o){e=L(o,"DIV",{title:!0,id:!0,class:!0});var u=O(e);t=L(u,"H2",{});var f=O(t);n=L(f,"I",{class:!0}),O(n).forEach(E),r=me(f,i[0]),f.forEach(E),u.forEach(E),this.h()},h(){b(n,"class",s="bx "+i[5]),b(e,"title",i[0]),b(e,"id",i[0]),b(e,"class",i[2])},m(o,u){U(o,e,u),y(e,t),y(t,n),y(t,r),l||(a=pe(e,"click",i[7]),l=!0)},p(o,u){u&32&&s!==(s="bx "+o[5])&&b(n,"class",s),u&1&&ge(r,o[0]),u&1&&b(e,"title",o[0]),u&1&&b(e,"id",o[0]),u&4&&b(e,"class",o[2])},d(o){o&&E(e),l=!1,a()}}}function fn(i){let e,t,n,s,r,l,a;return{c(){e=I("div"),t=I("h3"),n=I("i"),r=de(i[0]),this.h()},l(o){e=L(o,"DIV",{title:!0,id:!0,class:!0});var u=O(e);t=L(u,"H3",{});var f=O(t);n=L(f,"I",{class:!0}),O(n).forEach(E),r=me(f,i[0]),f.forEach(E),u.forEach(E),this.h()},h(){b(n,"class",s="bx "+i[5]),b(e,"title",i[0]),b(e,"id",i[0]),b(e,"class",i[2])},m(o,u){U(o,e,u),y(e,t),y(t,n),y(t,r),l||(a=pe(e,"click",i[7]),l=!0)},p(o,u){u&32&&s!==(s="bx "+o[5])&&b(n,"class",s),u&1&&ge(r,o[0]),u&1&&b(e,"title",o[0]),u&1&&b(e,"id",o[0]),u&4&&b(e,"class",o[2])},d(o){o&&E(e),l=!1,a()}}}function hn(i){let e,t,n,s,r,l,a;return{c(){e=I("div"),t=I("h4"),n=I("i"),r=de(i[0]),this.h()},l(o){e=L(o,"DIV",{title:!0,id:!0,class:!0});var u=O(e);t=L(u,"H4",{});var f=O(t);n=L(f,"I",{class:!0}),O(n).forEach(E),r=me(f,i[0]),f.forEach(E),u.forEach(E),this.h()},h(){b(n,"class",s="bx "+i[5]),b(e,"title",i[0]),b(e,"id",i[0]),b(e,"class",i[2])},m(o,u){U(o,e,u),y(e,t),y(t,n),y(t,r),l||(a=pe(e,"click",i[7]),l=!0)},p(o,u){u&32&&s!==(s="bx "+o[5])&&b(n,"class",s),u&1&&ge(r,o[0]),u&1&&b(e,"title",o[0]),u&1&&b(e,"id",o[0]),u&4&&b(e,"class",o[2])},d(o){o&&E(e),l=!1,a()}}}function pn(i){let e,t,n,s,r,l,a;return{c(){e=I("div"),t=I("h5"),n=I("i"),r=de(i[0]),this.h()},l(o){e=L(o,"DIV",{title:!0,id:!0,class:!0});var u=O(e);t=L(u,"H5",{});var f=O(t);n=L(f,"I",{class:!0}),O(n).forEach(E),r=me(f,i[0]),f.forEach(E),u.forEach(E),this.h()},h(){b(n,"class",s="bx "+i[5]),b(e,"title",i[0]),b(e,"id",i[0]),b(e,"class",i[2])},m(o,u){U(o,e,u),y(e,t),y(t,n),y(t,r),l||(a=pe(e,"click",i[7]),l=!0)},p(o,u){u&32&&s!==(s="bx "+o[5])&&b(n,"class",s),u&1&&ge(r,o[0]),u&1&&b(e,"title",o[0]),u&1&&b(e,"id",o[0]),u&4&&b(e,"class",o[2])},d(o){o&&E(e),l=!1,a()}}}function dn(i){let e,t;const n=i[12].default,s=gi(n,i,i[11],null);return{c(){e=I("div"),s&&s.c(),this.h()},l(r){e=L(r,"DIV",{id:!0,class:!0});var l=O(e);s&&s.l(l),l.forEach(E),this.h()},h(){b(e,"id",i[6]),b(e,"class","collapsible-body")},m(r,l){U(r,e,l),s&&s.m(e,null),t=!0},p(r,l){s&&s.p&&(!t||l&2048)&&_i(s,n,r,r[11],t?bi(n,r[11],l,null):ki(r[11]),null)},i(r){t||(tt(s,r),t=!0)},o(r){Lt(s,r),t=!1},d(r){r&&E(e),s&&s.d(r)}}}function as(i){let e,t,n,s,r,l,a=i[1]=="2"&&un(i),o=i[1]=="3"&&fn(i),u=i[1]=="4"&&hn(i),f=i[1]=="5"&&pn(i),p=i[4]==="block"&&dn(i);return{c(){e=I("div"),a&&a.c(),t=fe(),o&&o.c(),n=fe(),u&&u.c(),s=fe(),f&&f.c(),r=fe(),p&&p.c(),this.h()},l(m){e=L(m,"DIV",{});var h=O(e);a&&a.l(h),t=he(h),o&&o.l(h),n=he(h),u&&u.l(h),s=he(h),f&&f.l(h),r=he(h),p&&p.l(h),h.forEach(E),this.h()},h(){wt(e,"collapsible",!0),wt(e,"highlight-section",i[3])},m(m,h){U(m,e,h),a&&a.m(e,null),y(e,t),o&&o.m(e,null),y(e,n),u&&u.m(e,null),y(e,s),f&&f.m(e,null),y(e,r),p&&p.m(e,null),l=!0},p(m,[h]){m[1]=="2"?a?a.p(m,h):(a=un(m),a.c(),a.m(e,t)):a&&(a.d(1),a=null),m[1]=="3"?o?o.p(m,h):(o=fn(m),o.c(),o.m(e,n)):o&&(o.d(1),o=null),m[1]=="4"?u?u.p(m,h):(u=hn(m),u.c(),u.m(e,s)):u&&(u.d(1),u=null),m[1]=="5"?f?f.p(m,h):(f=pn(m),f.c(),f.m(e,r)):f&&(f.d(1),f=null),m[4]==="block"?p?(p.p(m,h),h&16&&tt(p,1)):(p=dn(m),p.c(),tt(p,1),p.m(e,null)):p&&(Ai(),Lt(p,1,1,()=>{p=null}),wi()),(!l||h&8)&&wt(e,"highlight-section",m[3])},i(m){l||(tt(p),l=!0)},o(m){Lt(p),l=!1},d(m){m&&E(e),a&&a.d(),o&&o.d(),u&&u.d(),f&&f.d(),p&&p.d()}}}function cs(i,e,t){let{$$slots:n={},$$scope:s}=e,{header:r}=e,{open:l=!1}=e,{level:a="2"}=e,{class_:o=""}=e,{highlight:u=!1}=e;const f=crypto.randomUUID();let{onOpen:p=()=>{}}=e,{onClose:m=()=>{}}=e,h="none",S="bx-chevron-down";const R=()=>{h==="block"?(m(),t(4,h="none")):(p(),setTimeout(()=>{const q=document.getElementById(`${f}`).getBoundingClientRect().top+window.scrollY-150;window.scrollTo({top:q,behavior:"smooth"})},200),t(4,h="block"))};return i.$$set=A=>{"header"in A&&t(0,r=A.header),"open"in A&&t(8,l=A.open),"level"in A&&t(1,a=A.level),"class_"in A&&t(2,o=A.class_),"highlight"in A&&t(3,u=A.highlight),"onOpen"in A&&t(9,p=A.onOpen),"onClose"in A&&t(10,m=A.onClose),"$$scope"in A&&t(11,s=A.$$scope)},i.$$.update=()=>{i.$$.dirty&256&&(l?t(4,h="block"):t(4,h="none")),i.$$.dirty&16&&(h==="block"?t(5,S="bx-chevron-down"):t(5,S="bx-chevron-right"))},[r,a,o,u,h,S,f,R,l,p,m,s,n]}class nr extends Ve{constructor(e){super(),We(this,e,cs,as,Ge,{header:0,open:8,level:1,class_:2,highlight:3,onOpen:9,onClose:10})}}function Ot(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let Re=Ot();function Bn(i){Re=i}const Gn=/[&<>"']/,us=new RegExp(Gn.source,"g"),Vn=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,fs=new RegExp(Vn.source,"g"),hs={"&":"&","<":"<",">":">",'"':""","'":"'"},mn=i=>hs[i];function K(i,e){if(e){if(Gn.test(i))return i.replace(us,mn)}else if(Vn.test(i))return i.replace(fs,mn);return i}const ps=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function ds(i){return i.replace(ps,(e,t)=>(t=t.toLowerCase(),t==="colon"?":":t.charAt(0)==="#"?t.charAt(1)==="x"?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""))}const ms=/(^|[^\[])\^/g;function v(i,e){i=typeof i=="string"?i:i.source,e=e||"";const t={replace:(n,s)=>(s=typeof s=="object"&&"source"in s?s.source:s,s=s.replace(ms,"$1"),i=i.replace(n,s),t),getRegex:()=>new RegExp(i,e)};return t}function gn(i){try{i=encodeURI(i).replace(/%25/g,"%")}catch{return null}return i}const it={exec:()=>null};function _n(i,e){const t=i.replace(/\|/g,(r,l,a)=>{let o=!1,u=l;for(;--u>=0&&a[u]==="\\";)o=!o;return o?"|":" |"}),n=t.split(/ \|/);let s=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),e)if(n.length>e)n.splice(e);else for(;n.length{const r=s.match(/^\s+/);if(r===null)return s;const[l]=r;return l.length>=n.length?s.slice(n.length):s}).join(` `)}class st{constructor(e){M(this,"options");M(this,"rules");M(this,"lexer");this.options=e||Re}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const n=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:Xe(n,` `)}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const n=t[0],s=_s(n,t[3]||"");return{type:"code",raw:n,lang:t[2]?t[2].trim().replace(this.rules.inline._escapes,"$1"):t[2],text:s}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let n=t[2].trim();if(/#$/.test(n)){const s=Xe(n,"#");(this.options.pedantic||!s||/ $/.test(s))&&(n=s.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){const n=Xe(t[0].replace(/^ *>[ \t]?/gm,""),` diff --git a/build/_app/immutable/chunks/paths.0faff454.js b/build/_app/immutable/chunks/paths.0faff454.js new file mode 100644 index 0000000..2914f5c --- /dev/null +++ b/build/_app/immutable/chunks/paths.0faff454.js @@ -0,0 +1 @@ +import{n as c,s as h}from"./scheduler.cc1c0861.js";const t=[];function d(n,l=c){let i;const o=new Set;function b(e){if(h(n,e)&&(n=e,i)){const r=!t.length;for(const s of o)s[1](),t.push(s,n);if(r){for(let s=0;s{o.delete(s),o.size===0&&i&&(i(),i=null)}}return{set:b,update:f,subscribe:_}}var u;const p=((u=globalThis.__sveltekit_10nby5z)==null?void 0:u.base)??"/csaf_webview";var a;const w=((a=globalThis.__sveltekit_10nby5z)==null?void 0:a.assets)??p;export{w as a,p as b,d as w}; diff --git a/build/_app/immutable/chunks/paths.9104f388.js b/build/_app/immutable/chunks/paths.9104f388.js deleted file mode 100644 index 8849d64..0000000 --- a/build/_app/immutable/chunks/paths.9104f388.js +++ /dev/null @@ -1 +0,0 @@ -import{n as c,s as h}from"./scheduler.cc1c0861.js";const t=[];function d(i,l=c){let n;const o=new Set;function r(e){if(h(i,e)&&(i=e,n)){const b=!t.length;for(const s of o)s[1](),t.push(s,i);if(b){for(let s=0;s{o.delete(s),o.size===0&&n&&(n(),n=null)}}return{set:r,update:f,subscribe:_}}var u;const p=((u=globalThis.__sveltekit_ph3264)==null?void 0:u.base)??"/csaf_webview";var a;const w=((a=globalThis.__sveltekit_ph3264)==null?void 0:a.assets)??p;export{w as a,p as b,d as w}; diff --git a/build/_app/immutable/chunks/singletons.66738fd1.js b/build/_app/immutable/chunks/singletons.ed4953bb.js similarity index 94% rename from build/_app/immutable/chunks/singletons.66738fd1.js rename to build/_app/immutable/chunks/singletons.ed4953bb.js index 67f812e..80b96ce 100644 --- a/build/_app/immutable/chunks/singletons.66738fd1.js +++ b/build/_app/immutable/chunks/singletons.ed4953bb.js @@ -1 +1 @@ -import{w as u,a as b}from"./paths.9104f388.js";const v="1701966077142",E="sveltekit:snapshot",A="sveltekit:scroll",R="sveltekit:index",f={tap:1,hover:2,viewport:3,eager:4,off:-1};function y(e){let t=e.baseURI;if(!t){const n=e.getElementsByTagName("base");t=n.length?n[0].href:e.URL}return t}function I(){return{x:pageXOffset,y:pageYOffset}}function c(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const d={...f,"":f.hover};function _(e){let t=e.assignedSlot??e.parentNode;return(t==null?void 0:t.nodeType)===11&&(t=t.host),t}function S(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=_(e)}}function T(e,t){let n;try{n=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const s=e instanceof SVGAElement?e.target.baseVal:e.target,r=!n||!!s||m(n,t)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),l=(n==null?void 0:n.origin)===location.origin&&e.hasAttribute("download");return{url:n,external:r,target:s,download:l}}function x(e){let t=null,n=null,s=null,r=null,l=null,o=null,a=e;for(;a&&a!==document.documentElement;)s===null&&(s=c(a,"preload-code")),r===null&&(r=c(a,"preload-data")),t===null&&(t=c(a,"keepfocus")),n===null&&(n=c(a,"noscroll")),l===null&&(l=c(a,"reload")),o===null&&(o=c(a,"replacestate")),a=_(a);function i(g){switch(g){case"":case"true":return!0;case"off":case"false":return!1;default:return null}}return{preload_code:d[s??"off"],preload_data:d[r??"off"],keep_focus:i(t),noscroll:i(n),reload:i(l),replace_state:i(o)}}function p(e){const t=u(e);let n=!0;function s(){n=!0,t.update(o=>o)}function r(o){n=!1,t.set(o)}function l(o){let a;return t.subscribe(i=>{(a===void 0||n&&i!==a)&&o(a=i)})}return{notify:s,set:r,subscribe:l}}function k(){const{set:e,subscribe:t}=u(!1);let n;async function s(){clearTimeout(n);try{const r=await fetch(`${b}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const o=(await r.json()).version!==v;return o&&(e(!0),clearTimeout(n)),o}catch{return!1}}return{subscribe:t,check:s}}function m(e,t){return e.origin!==location.origin||!e.pathname.startsWith(t)}let h;function O(e){h=e.client}function U(e){return(...t)=>h[e](...t)}const L={url:p({}),page:p({}),navigating:u(null),updated:k()};export{R as I,f as P,A as S,E as a,T as b,x as c,L as d,O as e,S as f,y as g,U as h,m as i,I as s}; +import{w as u,a as b}from"./paths.0faff454.js";const v="1702024476306",E="sveltekit:snapshot",A="sveltekit:scroll",R="sveltekit:index",f={tap:1,hover:2,viewport:3,eager:4,off:-1};function y(e){let t=e.baseURI;if(!t){const n=e.getElementsByTagName("base");t=n.length?n[0].href:e.URL}return t}function I(){return{x:pageXOffset,y:pageYOffset}}function c(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const d={...f,"":f.hover};function _(e){let t=e.assignedSlot??e.parentNode;return(t==null?void 0:t.nodeType)===11&&(t=t.host),t}function S(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=_(e)}}function T(e,t){let n;try{n=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const s=e instanceof SVGAElement?e.target.baseVal:e.target,r=!n||!!s||m(n,t)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),l=(n==null?void 0:n.origin)===location.origin&&e.hasAttribute("download");return{url:n,external:r,target:s,download:l}}function x(e){let t=null,n=null,s=null,r=null,l=null,o=null,a=e;for(;a&&a!==document.documentElement;)s===null&&(s=c(a,"preload-code")),r===null&&(r=c(a,"preload-data")),t===null&&(t=c(a,"keepfocus")),n===null&&(n=c(a,"noscroll")),l===null&&(l=c(a,"reload")),o===null&&(o=c(a,"replacestate")),a=_(a);function i(g){switch(g){case"":case"true":return!0;case"off":case"false":return!1;default:return null}}return{preload_code:d[s??"off"],preload_data:d[r??"off"],keep_focus:i(t),noscroll:i(n),reload:i(l),replace_state:i(o)}}function p(e){const t=u(e);let n=!0;function s(){n=!0,t.update(o=>o)}function r(o){n=!1,t.set(o)}function l(o){let a;return t.subscribe(i=>{(a===void 0||n&&i!==a)&&o(a=i)})}return{notify:s,set:r,subscribe:l}}function k(){const{set:e,subscribe:t}=u(!1);let n;async function s(){clearTimeout(n);try{const r=await fetch(`${b}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const o=(await r.json()).version!==v;return o&&(e(!0),clearTimeout(n)),o}catch{return!1}}return{subscribe:t,check:s}}function m(e,t){return e.origin!==location.origin||!e.pathname.startsWith(t)}let h;function O(e){h=e.client}function U(e){return(...t)=>h[e](...t)}const L={url:p({}),page:p({}),navigating:u(null),updated:k()};export{R as I,f as P,A as S,E as a,T as b,x as c,L as d,O as e,S as f,y as g,U as h,m as i,I as s}; diff --git a/build/_app/immutable/chunks/store.b3c2dff0.js b/build/_app/immutable/chunks/store.22ca258b.js similarity index 97% rename from build/_app/immutable/chunks/store.b3c2dff0.js rename to build/_app/immutable/chunks/store.22ca258b.js index c0fda87..3d73b0c 100644 --- a/build/_app/immutable/chunks/store.b3c2dff0.js +++ b/build/_app/immutable/chunks/store.22ca258b.js @@ -1 +1 @@ -import{w as n}from"./paths.9104f388.js";const u={SINGLE:"Switch to ROLIE-feed",FEED:"Switch to single view"},t=()=>({doc:null,providerMetadata:null,currentFeed:null,ui:{appMode:u.SINGLE,docToggleExpandAll:!1,feedErrorMsg:"",loading:!1,singleErrorMsg:"",isFeedDistributionOpen:!0,isFeedGeneralSectionOpen:!0,isFeedPublicPGPSectionOpen:!1,isGeneralSectionVisible:!0,isRevisionHistoryVisible:!1,isVulnerabilitiesOverviewVisible:!0,isVulnerabilitiesSectionVisible:!1,isProductTreeOpen:!1,isProductTreeVisible:!1,isFeedSectionOpen:!1,lastFeed:"",lastDoc:"",selectedCVE:"",selectedProduct:"",uploadedFile:!1,history:[]}});function d(){const{subscribe:l,set:o,update:r}=n(t());return{subscribe:l,toggleDocExpandAll:()=>{r(e=>(e.ui.docToggleExpandAll?e.ui.docToggleExpandAll=!1:e.ui.docToggleExpandAll=!0,e))},setSingleMode:()=>{r(e=>(e.ui.appMode=u.SINGLE,e))},setFeedMode:()=>{r(e=>(e.ui.appMode=u.FEED,e))},setFeedSectionOpen:()=>{r(e=>(e.ui.isFeedSectionOpen=!0,e))},setFeedSectionClosed:()=>{r(e=>(e.ui.isFeedSectionOpen=!1,e))},setLoading:e=>{r(i=>(i.ui.loading=e,i))},setCurrentFeed:e=>{r(i=>(i.currentFeed=e,i))},setSingleErrorMsg:e=>{r(i=>(i.ui.singleErrorMsg=e,i))},setLastFeed:e=>{r(i=>(i.ui.lastFeed=e,i))},setLastDoc:e=>{r(i=>(i.ui.lastDoc=e,i))},setFeedErrorMsg:e=>{r(i=>(i.ui.feedErrorMsg=e,i))},setDocument:e=>r(i=>(i.doc=e,i)),setSelectedCVE:e=>{r(i=>(i.ui.selectedCVE=e,i))},resetSelectedCVE:()=>{r(e=>(e.ui.selectedCVE="",e))},setSelectedProduct:e=>{r(i=>(i.ui.selectedProduct=e,i))},resetSelectedProduct:()=>{r(e=>(e.ui.selectedProduct="",e))},setFeedDistributionOpen:()=>{r(e=>(e.ui.isFeedDistributionOpen=!0,e))},setFeedDistributionClosed:()=>{r(e=>(e.ui.isFeedDistributionOpen=!1,e))},setFeedGeneralSectionOpen:()=>{r(e=>(e.ui.isFeedGeneralSectionOpen=!0,e))},setFeedGeneralSectionClosed:()=>{r(e=>(e.ui.isFeedGeneralSectionOpen=!1,e))},setFeedPublicPGPSectionOpen:()=>{r(e=>(e.ui.isFeedPublicPGPSectionOpen=!0,e))},setFeedPublicPGPSectionClosed:()=>{r(e=>(e.ui.isFeedPublicPGPSectionOpen=!1,e))},setGeneralSectionVisible:()=>{r(e=>(e.ui.isGeneralSectionVisible=!0,e))},setGeneralSectionInvisible:()=>{r(e=>(e.ui.isGeneralSectionVisible=!1,e))},setVulnerabilitiesSectionVisible:()=>{r(e=>(e.ui.isVulnerabilitiesSectionVisible=!0,e))},setVulnerabilitiesSectionInvisible:()=>{r(e=>(e.ui.isVulnerabilitiesSectionVisible=!1,e))},setVulnerabilitiesOverviewVisible:()=>{r(e=>(e.ui.isVulnerabilitiesOverviewVisible=!0,e))},setVulnerabilitiesOverviewInvisible:()=>{r(e=>(e.ui.isVulnerabilitiesOverviewVisible=!1,e))},setProductTreeOpen:()=>{r(e=>(e.ui.isProductTreeOpen=!0,e))},setProductTreeClosed:()=>{r(e=>(e.ui.isProductTreeOpen=!1,e))},setProductTreeSectionVisible:()=>{r(e=>(e.ui.isProductTreeVisible=!0,e))},setProductTreeSectionInVisible:()=>{r(e=>(e.ui.isProductTreeVisible=!1,e))},setUploadedFile:()=>{r(e=>(e.ui.uploadedFile=!0,e))},clearUploadedFile:()=>{r(e=>(e.ui.uploadedFile=!1,e))},clearHistory:()=>{r(e=>(e.ui.history=[],e))},unshiftHistory:e=>{r(i=>(i.ui.history.unshift(e),i))},shiftHistory:()=>{r(e=>(e.ui.history.length>0&&e.ui.history.shift(),e))},setProviderMetadata:e=>{r(i=>(i.providerMetadata=e,i))},reset:()=>o(t())}}const a=d();export{a}; +import{w as n}from"./paths.0faff454.js";const u={SINGLE:"Switch to ROLIE-feed",FEED:"Switch to single view"},t=()=>({doc:null,providerMetadata:null,currentFeed:null,ui:{appMode:u.SINGLE,docToggleExpandAll:!1,feedErrorMsg:"",loading:!1,singleErrorMsg:"",isFeedDistributionOpen:!0,isFeedGeneralSectionOpen:!0,isFeedPublicPGPSectionOpen:!1,isGeneralSectionVisible:!0,isRevisionHistoryVisible:!1,isVulnerabilitiesOverviewVisible:!0,isVulnerabilitiesSectionVisible:!1,isProductTreeOpen:!1,isProductTreeVisible:!1,isFeedSectionOpen:!1,lastFeed:"",lastDoc:"",selectedCVE:"",selectedProduct:"",uploadedFile:!1,history:[]}});function d(){const{subscribe:l,set:o,update:r}=n(t());return{subscribe:l,toggleDocExpandAll:()=>{r(e=>(e.ui.docToggleExpandAll?e.ui.docToggleExpandAll=!1:e.ui.docToggleExpandAll=!0,e))},setSingleMode:()=>{r(e=>(e.ui.appMode=u.SINGLE,e))},setFeedMode:()=>{r(e=>(e.ui.appMode=u.FEED,e))},setFeedSectionOpen:()=>{r(e=>(e.ui.isFeedSectionOpen=!0,e))},setFeedSectionClosed:()=>{r(e=>(e.ui.isFeedSectionOpen=!1,e))},setLoading:e=>{r(i=>(i.ui.loading=e,i))},setCurrentFeed:e=>{r(i=>(i.currentFeed=e,i))},setSingleErrorMsg:e=>{r(i=>(i.ui.singleErrorMsg=e,i))},setLastFeed:e=>{r(i=>(i.ui.lastFeed=e,i))},setLastDoc:e=>{r(i=>(i.ui.lastDoc=e,i))},setFeedErrorMsg:e=>{r(i=>(i.ui.feedErrorMsg=e,i))},setDocument:e=>r(i=>(i.doc=e,i)),setSelectedCVE:e=>{r(i=>(i.ui.selectedCVE=e,i))},resetSelectedCVE:()=>{r(e=>(e.ui.selectedCVE="",e))},setSelectedProduct:e=>{r(i=>(i.ui.selectedProduct=e,i))},resetSelectedProduct:()=>{r(e=>(e.ui.selectedProduct="",e))},setFeedDistributionOpen:()=>{r(e=>(e.ui.isFeedDistributionOpen=!0,e))},setFeedDistributionClosed:()=>{r(e=>(e.ui.isFeedDistributionOpen=!1,e))},setFeedGeneralSectionOpen:()=>{r(e=>(e.ui.isFeedGeneralSectionOpen=!0,e))},setFeedGeneralSectionClosed:()=>{r(e=>(e.ui.isFeedGeneralSectionOpen=!1,e))},setFeedPublicPGPSectionOpen:()=>{r(e=>(e.ui.isFeedPublicPGPSectionOpen=!0,e))},setFeedPublicPGPSectionClosed:()=>{r(e=>(e.ui.isFeedPublicPGPSectionOpen=!1,e))},setGeneralSectionVisible:()=>{r(e=>(e.ui.isGeneralSectionVisible=!0,e))},setGeneralSectionInvisible:()=>{r(e=>(e.ui.isGeneralSectionVisible=!1,e))},setVulnerabilitiesSectionVisible:()=>{r(e=>(e.ui.isVulnerabilitiesSectionVisible=!0,e))},setVulnerabilitiesSectionInvisible:()=>{r(e=>(e.ui.isVulnerabilitiesSectionVisible=!1,e))},setVulnerabilitiesOverviewVisible:()=>{r(e=>(e.ui.isVulnerabilitiesOverviewVisible=!0,e))},setVulnerabilitiesOverviewInvisible:()=>{r(e=>(e.ui.isVulnerabilitiesOverviewVisible=!1,e))},setProductTreeOpen:()=>{r(e=>(e.ui.isProductTreeOpen=!0,e))},setProductTreeClosed:()=>{r(e=>(e.ui.isProductTreeOpen=!1,e))},setProductTreeSectionVisible:()=>{r(e=>(e.ui.isProductTreeVisible=!0,e))},setProductTreeSectionInVisible:()=>{r(e=>(e.ui.isProductTreeVisible=!1,e))},setUploadedFile:()=>{r(e=>(e.ui.uploadedFile=!0,e))},clearUploadedFile:()=>{r(e=>(e.ui.uploadedFile=!1,e))},clearHistory:()=>{r(e=>(e.ui.history=[],e))},unshiftHistory:e=>{r(i=>(i.ui.history.unshift(e),i))},shiftHistory:()=>{r(e=>(e.ui.history.length>0&&e.ui.history.shift(),e))},setProviderMetadata:e=>{r(i=>(i.providerMetadata=e,i))},reset:()=>o(t())}}const a=d();export{a}; diff --git a/build/_app/immutable/chunks/stores.eb2874b7.js b/build/_app/immutable/chunks/stores.bde7595e.js similarity index 73% rename from build/_app/immutable/chunks/stores.eb2874b7.js rename to build/_app/immutable/chunks/stores.bde7595e.js index 2bf7b44..8508d43 100644 --- a/build/_app/immutable/chunks/stores.eb2874b7.js +++ b/build/_app/immutable/chunks/stores.bde7595e.js @@ -1 +1 @@ -import{d as e}from"./singletons.66738fd1.js";const r=()=>{const s=e;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},b={subscribe(s){return r().page.subscribe(s)}};export{b as p}; +import{d as e}from"./singletons.ed4953bb.js";const r=()=>{const s=e;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},b={subscribe(s){return r().page.subscribe(s)}};export{b as p}; diff --git a/build/_app/immutable/entry/app.b72e7527.js b/build/_app/immutable/entry/app.2cf3abe2.js similarity index 84% rename from build/_app/immutable/entry/app.b72e7527.js rename to build/_app/immutable/entry/app.2cf3abe2.js index 304f75d..902358d 100644 --- a/build/_app/immutable/entry/app.b72e7527.js +++ b/build/_app/immutable/entry/app.2cf3abe2.js @@ -1 +1 @@ -import{s as q,a as B,o as U,t as j,b as N}from"../chunks/scheduler.cc1c0861.js";import{S as W,i as z,s as F,e as h,c as G,a as g,t as d,b as L,d as p,f as w,g as H,h as J,j as K,k as S,l as m,m as M,n as Q,o as X,p as P,q as k,r as v,u as D,v as E,w as y}from"../chunks/index.7a644faf.js";const Y="modulepreload",Z=function(o,e){return new URL(o,e).href},I={},R=function(e,n,i){if(!n||n.length===0)return e();const s=document.getElementsByTagName("link");return Promise.all(n.map(f=>{if(f=Z(f,i),f in I)return;I[f]=!0;const t=f.endsWith(".css"),r=t?'[rel="stylesheet"]':"";if(!!i)for(let a=s.length-1;a>=0;a--){const _=s[a];if(_.href===f&&(!t||_.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${f}"]${r}`))return;const c=document.createElement("link");if(c.rel=t?"stylesheet":Y,t||(c.as="script",c.crossOrigin=""),c.href=f,document.head.appendChild(c),t)return new Promise((a,_)=>{c.addEventListener("load",a),c.addEventListener("error",()=>_(new Error(`Unable to preload CSS for ${f}`)))})})).then(()=>e()).catch(f=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=f,window.dispatchEvent(t),!t.defaultPrevented)throw f})},re={};function $(o){let e,n,i;var s=o[1][0];function f(t,r){return{props:{data:t[3],form:t[2]}}}return s&&(e=k(s,f(o)),o[12](e)),{c(){e&&v(e.$$.fragment),n=h()},l(t){e&&D(e.$$.fragment,t),n=h()},m(t,r){e&&E(e,t,r),g(t,n,r),i=!0},p(t,r){if(r&2&&s!==(s=t[1][0])){if(e){P();const l=e;d(l.$$.fragment,1,0,()=>{y(l,1)}),L()}s?(e=k(s,f(t)),t[12](e),v(e.$$.fragment),p(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else if(s){const l={};r&8&&(l.data=t[3]),r&4&&(l.form=t[2]),e.$set(l)}},i(t){i||(e&&p(e.$$.fragment,t),i=!0)},o(t){e&&d(e.$$.fragment,t),i=!1},d(t){t&&w(n),o[12](null),e&&y(e,t)}}}function x(o){let e,n,i;var s=o[1][0];function f(t,r){return{props:{data:t[3],$$slots:{default:[ee]},$$scope:{ctx:t}}}}return s&&(e=k(s,f(o)),o[11](e)),{c(){e&&v(e.$$.fragment),n=h()},l(t){e&&D(e.$$.fragment,t),n=h()},m(t,r){e&&E(e,t,r),g(t,n,r),i=!0},p(t,r){if(r&2&&s!==(s=t[1][0])){if(e){P();const l=e;d(l.$$.fragment,1,0,()=>{y(l,1)}),L()}s?(e=k(s,f(t)),t[11](e),v(e.$$.fragment),p(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else if(s){const l={};r&8&&(l.data=t[3]),r&8215&&(l.$$scope={dirty:r,ctx:t}),e.$set(l)}},i(t){i||(e&&p(e.$$.fragment,t),i=!0)},o(t){e&&d(e.$$.fragment,t),i=!1},d(t){t&&w(n),o[11](null),e&&y(e,t)}}}function ee(o){let e,n,i;var s=o[1][1];function f(t,r){return{props:{data:t[4],form:t[2]}}}return s&&(e=k(s,f(o)),o[10](e)),{c(){e&&v(e.$$.fragment),n=h()},l(t){e&&D(e.$$.fragment,t),n=h()},m(t,r){e&&E(e,t,r),g(t,n,r),i=!0},p(t,r){if(r&2&&s!==(s=t[1][1])){if(e){P();const l=e;d(l.$$.fragment,1,0,()=>{y(l,1)}),L()}s?(e=k(s,f(t)),t[10](e),v(e.$$.fragment),p(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else if(s){const l={};r&16&&(l.data=t[4]),r&4&&(l.form=t[2]),e.$set(l)}},i(t){i||(e&&p(e.$$.fragment,t),i=!0)},o(t){e&&d(e.$$.fragment,t),i=!1},d(t){t&&w(n),o[10](null),e&&y(e,t)}}}function O(o){let e,n=o[6]&&T(o);return{c(){e=H("div"),n&&n.c(),this.h()},l(i){e=J(i,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var s=K(e);n&&n.l(s),s.forEach(w),this.h()},h(){S(e,"id","svelte-announcer"),S(e,"aria-live","assertive"),S(e,"aria-atomic","true"),m(e,"position","absolute"),m(e,"left","0"),m(e,"top","0"),m(e,"clip","rect(0 0 0 0)"),m(e,"clip-path","inset(50%)"),m(e,"overflow","hidden"),m(e,"white-space","nowrap"),m(e,"width","1px"),m(e,"height","1px")},m(i,s){g(i,e,s),n&&n.m(e,null)},p(i,s){i[6]?n?n.p(i,s):(n=T(i),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(i){i&&w(e),n&&n.d()}}}function T(o){let e;return{c(){e=M(o[7])},l(n){e=Q(n,o[7])},m(n,i){g(n,e,i)},p(n,i){i&128&&X(e,n[7])},d(n){n&&w(e)}}}function te(o){let e,n,i,s,f;const t=[x,$],r=[];function l(a,_){return a[1][1]?0:1}e=l(o),n=r[e]=t[e](o);let c=o[5]&&O(o);return{c(){n.c(),i=F(),c&&c.c(),s=h()},l(a){n.l(a),i=G(a),c&&c.l(a),s=h()},m(a,_){r[e].m(a,_),g(a,i,_),c&&c.m(a,_),g(a,s,_),f=!0},p(a,[_]){let b=e;e=l(a),e===b?r[e].p(a,_):(P(),d(r[b],1,1,()=>{r[b]=null}),L(),n=r[e],n?n.p(a,_):(n=r[e]=t[e](a),n.c()),p(n,1),n.m(i.parentNode,i)),a[5]?c?c.p(a,_):(c=O(a),c.c(),c.m(s.parentNode,s)):c&&(c.d(1),c=null)},i(a){f||(p(n),f=!0)},o(a){d(n),f=!1},d(a){a&&(w(i),w(s)),r[e].d(a),c&&c.d(a)}}}function ne(o,e,n){let{stores:i}=e,{page:s}=e,{constructors:f}=e,{components:t=[]}=e,{form:r}=e,{data_0:l=null}=e,{data_1:c=null}=e;B(i.page.notify);let a=!1,_=!1,b=null;U(()=>{const u=i.page.subscribe(()=>{a&&(n(6,_=!0),j().then(()=>{n(7,b=document.title||"untitled page")}))});return n(5,a=!0),u});function V(u){N[u?"unshift":"push"](()=>{t[1]=u,n(0,t)})}function A(u){N[u?"unshift":"push"](()=>{t[0]=u,n(0,t)})}function C(u){N[u?"unshift":"push"](()=>{t[0]=u,n(0,t)})}return o.$$set=u=>{"stores"in u&&n(8,i=u.stores),"page"in u&&n(9,s=u.page),"constructors"in u&&n(1,f=u.constructors),"components"in u&&n(0,t=u.components),"form"in u&&n(2,r=u.form),"data_0"in u&&n(3,l=u.data_0),"data_1"in u&&n(4,c=u.data_1)},o.$$.update=()=>{o.$$.dirty&768&&i.page.set(s)},[t,f,r,l,c,a,_,b,i,s,V,A,C]}class oe extends W{constructor(e){super(),z(this,e,ne,te,q,{stores:8,page:9,constructors:1,components:0,form:2,data_0:3,data_1:4})}}const ae=[()=>R(()=>import("../nodes/0.05aaf94e.js"),["../nodes/0.05aaf94e.js","../chunks/scheduler.cc1c0861.js","../chunks/index.7a644faf.js","../chunks/store.b3c2dff0.js","../chunks/paths.9104f388.js","../assets/0.e2346106.css"],import.meta.url),()=>R(()=>import("../nodes/1.bd498a55.js"),["../nodes/1.bd498a55.js","../chunks/scheduler.cc1c0861.js","../chunks/index.7a644faf.js","../chunks/stores.eb2874b7.js","../chunks/singletons.66738fd1.js","../chunks/paths.9104f388.js"],import.meta.url),()=>R(()=>import("../nodes/2.e43d1b03.js"),["../nodes/2.e43d1b03.js","../chunks/scheduler.cc1c0861.js","../chunks/index.7a644faf.js","../chunks/store.b3c2dff0.js","../chunks/paths.9104f388.js","../chunks/Spinner.a9554a1c.js","../chunks/singletons.66738fd1.js","../chunks/stores.eb2874b7.js","../assets/2.bc584aa0.css"],import.meta.url),()=>R(()=>import("../nodes/3.93cdfd32.js"),["../nodes/3.93cdfd32.js","../chunks/scheduler.cc1c0861.js","../chunks/index.7a644faf.js","../chunks/store.b3c2dff0.js","../chunks/paths.9104f388.js","../chunks/Spinner.a9554a1c.js","../chunks/singletons.66738fd1.js","../chunks/stores.eb2874b7.js"],import.meta.url)],le=[],fe={"/":[2],"/feed":[3]},ce={handleError:({error:o})=>{console.error(o)}};export{fe as dictionary,ce as hooks,re as matchers,ae as nodes,oe as root,le as server_loads}; +import{s as q,a as B,o as U,t as j,b as N}from"../chunks/scheduler.cc1c0861.js";import{S as W,i as z,s as F,e as h,c as G,a as g,t as d,b as L,d as p,f as w,g as H,h as J,j as K,k as S,l as m,m as M,n as Q,o as X,p as P,q as k,r as v,u as D,v as E,w as y}from"../chunks/index.7a644faf.js";const Y="modulepreload",Z=function(o,e){return new URL(o,e).href},I={},R=function(e,n,i){if(!n||n.length===0)return e();const s=document.getElementsByTagName("link");return Promise.all(n.map(f=>{if(f=Z(f,i),f in I)return;I[f]=!0;const t=f.endsWith(".css"),r=t?'[rel="stylesheet"]':"";if(!!i)for(let a=s.length-1;a>=0;a--){const _=s[a];if(_.href===f&&(!t||_.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${f}"]${r}`))return;const c=document.createElement("link");if(c.rel=t?"stylesheet":Y,t||(c.as="script",c.crossOrigin=""),c.href=f,document.head.appendChild(c),t)return new Promise((a,_)=>{c.addEventListener("load",a),c.addEventListener("error",()=>_(new Error(`Unable to preload CSS for ${f}`)))})})).then(()=>e()).catch(f=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=f,window.dispatchEvent(t),!t.defaultPrevented)throw f})},re={};function $(o){let e,n,i;var s=o[1][0];function f(t,r){return{props:{data:t[3],form:t[2]}}}return s&&(e=k(s,f(o)),o[12](e)),{c(){e&&v(e.$$.fragment),n=h()},l(t){e&&D(e.$$.fragment,t),n=h()},m(t,r){e&&E(e,t,r),g(t,n,r),i=!0},p(t,r){if(r&2&&s!==(s=t[1][0])){if(e){P();const l=e;d(l.$$.fragment,1,0,()=>{y(l,1)}),L()}s?(e=k(s,f(t)),t[12](e),v(e.$$.fragment),p(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else if(s){const l={};r&8&&(l.data=t[3]),r&4&&(l.form=t[2]),e.$set(l)}},i(t){i||(e&&p(e.$$.fragment,t),i=!0)},o(t){e&&d(e.$$.fragment,t),i=!1},d(t){t&&w(n),o[12](null),e&&y(e,t)}}}function x(o){let e,n,i;var s=o[1][0];function f(t,r){return{props:{data:t[3],$$slots:{default:[ee]},$$scope:{ctx:t}}}}return s&&(e=k(s,f(o)),o[11](e)),{c(){e&&v(e.$$.fragment),n=h()},l(t){e&&D(e.$$.fragment,t),n=h()},m(t,r){e&&E(e,t,r),g(t,n,r),i=!0},p(t,r){if(r&2&&s!==(s=t[1][0])){if(e){P();const l=e;d(l.$$.fragment,1,0,()=>{y(l,1)}),L()}s?(e=k(s,f(t)),t[11](e),v(e.$$.fragment),p(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else if(s){const l={};r&8&&(l.data=t[3]),r&8215&&(l.$$scope={dirty:r,ctx:t}),e.$set(l)}},i(t){i||(e&&p(e.$$.fragment,t),i=!0)},o(t){e&&d(e.$$.fragment,t),i=!1},d(t){t&&w(n),o[11](null),e&&y(e,t)}}}function ee(o){let e,n,i;var s=o[1][1];function f(t,r){return{props:{data:t[4],form:t[2]}}}return s&&(e=k(s,f(o)),o[10](e)),{c(){e&&v(e.$$.fragment),n=h()},l(t){e&&D(e.$$.fragment,t),n=h()},m(t,r){e&&E(e,t,r),g(t,n,r),i=!0},p(t,r){if(r&2&&s!==(s=t[1][1])){if(e){P();const l=e;d(l.$$.fragment,1,0,()=>{y(l,1)}),L()}s?(e=k(s,f(t)),t[10](e),v(e.$$.fragment),p(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else if(s){const l={};r&16&&(l.data=t[4]),r&4&&(l.form=t[2]),e.$set(l)}},i(t){i||(e&&p(e.$$.fragment,t),i=!0)},o(t){e&&d(e.$$.fragment,t),i=!1},d(t){t&&w(n),o[10](null),e&&y(e,t)}}}function O(o){let e,n=o[6]&&T(o);return{c(){e=H("div"),n&&n.c(),this.h()},l(i){e=J(i,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var s=K(e);n&&n.l(s),s.forEach(w),this.h()},h(){S(e,"id","svelte-announcer"),S(e,"aria-live","assertive"),S(e,"aria-atomic","true"),m(e,"position","absolute"),m(e,"left","0"),m(e,"top","0"),m(e,"clip","rect(0 0 0 0)"),m(e,"clip-path","inset(50%)"),m(e,"overflow","hidden"),m(e,"white-space","nowrap"),m(e,"width","1px"),m(e,"height","1px")},m(i,s){g(i,e,s),n&&n.m(e,null)},p(i,s){i[6]?n?n.p(i,s):(n=T(i),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(i){i&&w(e),n&&n.d()}}}function T(o){let e;return{c(){e=M(o[7])},l(n){e=Q(n,o[7])},m(n,i){g(n,e,i)},p(n,i){i&128&&X(e,n[7])},d(n){n&&w(e)}}}function te(o){let e,n,i,s,f;const t=[x,$],r=[];function l(a,_){return a[1][1]?0:1}e=l(o),n=r[e]=t[e](o);let c=o[5]&&O(o);return{c(){n.c(),i=F(),c&&c.c(),s=h()},l(a){n.l(a),i=G(a),c&&c.l(a),s=h()},m(a,_){r[e].m(a,_),g(a,i,_),c&&c.m(a,_),g(a,s,_),f=!0},p(a,[_]){let b=e;e=l(a),e===b?r[e].p(a,_):(P(),d(r[b],1,1,()=>{r[b]=null}),L(),n=r[e],n?n.p(a,_):(n=r[e]=t[e](a),n.c()),p(n,1),n.m(i.parentNode,i)),a[5]?c?c.p(a,_):(c=O(a),c.c(),c.m(s.parentNode,s)):c&&(c.d(1),c=null)},i(a){f||(p(n),f=!0)},o(a){d(n),f=!1},d(a){a&&(w(i),w(s)),r[e].d(a),c&&c.d(a)}}}function ne(o,e,n){let{stores:i}=e,{page:s}=e,{constructors:f}=e,{components:t=[]}=e,{form:r}=e,{data_0:l=null}=e,{data_1:c=null}=e;B(i.page.notify);let a=!1,_=!1,b=null;U(()=>{const u=i.page.subscribe(()=>{a&&(n(6,_=!0),j().then(()=>{n(7,b=document.title||"untitled page")}))});return n(5,a=!0),u});function V(u){N[u?"unshift":"push"](()=>{t[1]=u,n(0,t)})}function A(u){N[u?"unshift":"push"](()=>{t[0]=u,n(0,t)})}function C(u){N[u?"unshift":"push"](()=>{t[0]=u,n(0,t)})}return o.$$set=u=>{"stores"in u&&n(8,i=u.stores),"page"in u&&n(9,s=u.page),"constructors"in u&&n(1,f=u.constructors),"components"in u&&n(0,t=u.components),"form"in u&&n(2,r=u.form),"data_0"in u&&n(3,l=u.data_0),"data_1"in u&&n(4,c=u.data_1)},o.$$.update=()=>{o.$$.dirty&768&&i.page.set(s)},[t,f,r,l,c,a,_,b,i,s,V,A,C]}class oe extends W{constructor(e){super(),z(this,e,ne,te,q,{stores:8,page:9,constructors:1,components:0,form:2,data_0:3,data_1:4})}}const ae=[()=>R(()=>import("../nodes/0.7a52bd9a.js"),["../nodes/0.7a52bd9a.js","../chunks/scheduler.cc1c0861.js","../chunks/index.7a644faf.js","../chunks/store.22ca258b.js","../chunks/paths.0faff454.js","../assets/0.e2346106.css"],import.meta.url),()=>R(()=>import("../nodes/1.7f8496cc.js"),["../nodes/1.7f8496cc.js","../chunks/scheduler.cc1c0861.js","../chunks/index.7a644faf.js","../chunks/stores.bde7595e.js","../chunks/singletons.ed4953bb.js","../chunks/paths.0faff454.js"],import.meta.url),()=>R(()=>import("../nodes/2.667ee2c5.js"),["../nodes/2.667ee2c5.js","../chunks/scheduler.cc1c0861.js","../chunks/index.7a644faf.js","../chunks/store.22ca258b.js","../chunks/paths.0faff454.js","../chunks/Spinner.f025728e.js","../chunks/singletons.ed4953bb.js","../chunks/stores.bde7595e.js","../assets/2.bc584aa0.css"],import.meta.url),()=>R(()=>import("../nodes/3.57fc9617.js"),["../nodes/3.57fc9617.js","../chunks/scheduler.cc1c0861.js","../chunks/index.7a644faf.js","../chunks/store.22ca258b.js","../chunks/paths.0faff454.js","../chunks/Spinner.f025728e.js","../chunks/singletons.ed4953bb.js","../chunks/stores.bde7595e.js"],import.meta.url)],le=[],fe={"/":[2],"/feed":[3]},ce={handleError:({error:o})=>{console.error(o)}};export{fe as dictionary,ce as hooks,re as matchers,ae as nodes,oe as root,le as server_loads}; diff --git a/build/_app/immutable/entry/start.bd0e746b.js b/build/_app/immutable/entry/start.68e3c3a8.js similarity index 99% rename from build/_app/immutable/entry/start.bd0e746b.js rename to build/_app/immutable/entry/start.68e3c3a8.js index 5fb511c..65e5f1d 100644 --- a/build/_app/immutable/entry/start.bd0e746b.js +++ b/build/_app/immutable/entry/start.68e3c3a8.js @@ -1,3 +1,3 @@ -import{o as me,t as we}from"../chunks/scheduler.cc1c0861.js";import{S as Be,a as Ge,I as M,g as De,f as Ce,b as _e,c as le,s as te,i as ye,d as F,P as Me,e as Xe}from"../chunks/singletons.66738fd1.js";import{b as J}from"../chunks/paths.9104f388.js";function Ze(t,r){return t==="/"||r==="ignore"?t:r==="never"?t.endsWith("/")?t.slice(0,-1):t:r==="always"&&!t.endsWith("/")?t+"/":t}function Qe(t){return t.split("%25").map(decodeURI).join("%25")}function et(t){for(const r in t)t[r]=decodeURIComponent(t[r]);return t}const tt=["href","pathname","search","searchParams","toString","toJSON"];function nt(t,r){const f=new URL(t);for(const s of tt)Object.defineProperty(f,s,{get(){return r(),t[s]},enumerable:!0,configurable:!0});return at(f),f}function at(t){Object.defineProperty(t,"hash",{get(){throw new Error("Cannot access event.url.hash. Consider using `$page.url.hash` inside a component instead")}})}const rt="/__data.json";function ot(t){return t.replace(/\/$/,"")+rt}function it(...t){let r=5381;for(const f of t)if(typeof f=="string"){let s=f.length;for(;s;)r=r*33^f.charCodeAt(--s)}else if(ArrayBuffer.isView(f)){const s=new Uint8Array(f.buffer,f.byteOffset,f.byteLength);let d=s.length;for(;d;)r=r*33^s[--d]}else throw new TypeError("value must be a string or TypedArray");return(r>>>0).toString(36)}const Je=window.fetch;window.fetch=(t,r)=>((t instanceof Request?t.method:(r==null?void 0:r.method)||"GET")!=="GET"&&ae.delete(Se(t)),Je(t,r));const ae=new Map;function st(t,r){const f=Se(t,r),s=document.querySelector(f);if(s!=null&&s.textContent){const{body:d,...u}=JSON.parse(s.textContent),E=s.getAttribute("data-ttl");return E&&ae.set(f,{body:d,init:u,ttl:1e3*Number(E)}),Promise.resolve(new Response(d,u))}return window.fetch(t,r)}function ct(t,r,f){if(ae.size>0){const s=Se(t,f),d=ae.get(s);if(d){if(performance.now(){const d=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(s);if(d)return r.push({name:d[1],matcher:d[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const u=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(s);if(u)return r.push({name:u[1],matcher:u[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!s)return;const E=s.split(/\[(.+?)\](?!\])/);return"/"+E.map((g,m)=>{if(m%2){if(g.startsWith("x+"))return ve(String.fromCharCode(parseInt(g.slice(2),16)));if(g.startsWith("u+"))return ve(String.fromCharCode(...g.slice(2).split("-").map(U=>parseInt(U,16))));const h=lt.exec(g);if(!h)throw new Error(`Invalid param: ${g}. Params and matcher names can only have underscores and alphanumeric characters.`);const[,x,j,k,N]=h;return r.push({name:k,matcher:N,optional:!!x,rest:!!j,chained:j?m===1&&E[0]==="":!1}),j?"(.*?)":x?"([^/]*)?":"([^/]+?)"}return ve(g)}).join("")}).join("")}/?$`),params:r}}function ut(t){return!/^\([^)]+\)$/.test(t)}function dt(t){return t.slice(1).split("/").filter(ut)}function pt(t,r,f){const s={},d=t.slice(1),u=d.filter(l=>l!==void 0);let E=0;for(let l=0;lh).join("/"),E=0),m===void 0){g.rest&&(s[g.name]="");continue}if(!g.matcher||f[g.matcher](m)){s[g.name]=m;const h=r[l+1],x=d[l+1];h&&!h.rest&&h.optional&&x&&g.chained&&(E=0),!h&&!x&&Object.keys(s).length===u.length&&(E=0);continue}if(g.optional&&g.chained){E++;continue}return}if(!E)return s}function ve(t){return t.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function ht({nodes:t,server_loads:r,dictionary:f,matchers:s}){const d=new Set(r);return Object.entries(f).map(([l,[g,m,h]])=>{const{pattern:x,params:j}=ft(l),k={id:l,exec:N=>{const U=x.exec(N);if(U)return pt(U,j,s)},errors:[1,...h||[]].map(N=>t[N]),layouts:[0,...m||[]].map(E),leaf:u(g)};return k.errors.length=k.layouts.length=Math.max(k.errors.length,k.layouts.length),k});function u(l){const g=l<0;return g&&(l=~l),[g,t[l]]}function E(l){return l===void 0?l:[d.has(l),t[l]]}}function Ke(t){try{return JSON.parse(sessionStorage[t])}catch{}}function Ve(t,r){const f=JSON.stringify(r);try{sessionStorage[t]=f}catch{}}const gt=-1,mt=-2,wt=-3,_t=-4,yt=-5,vt=-6;function bt(t,r){if(typeof t=="number")return d(t,!0);if(!Array.isArray(t)||t.length===0)throw new Error("Invalid input");const f=t,s=Array(f.length);function d(u,E=!1){if(u===gt)return;if(u===wt)return NaN;if(u===_t)return 1/0;if(u===yt)return-1/0;if(u===vt)return-0;if(E)throw new Error("Invalid input");if(u in s)return s[u];const l=f[u];if(!l||typeof l!="object")s[u]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const g=l[0],m=r==null?void 0:r[g];if(m)return s[u]=m(d(l[1]));switch(g){case"Date":s[u]=new Date(l[1]);break;case"Set":const h=new Set;s[u]=h;for(let k=1;kr!=null)}const ze=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...ze];const St=new Set([...ze]);[...St];async function kt(t){var r;for(const f in t)if(typeof((r=t[f])==null?void 0:r.then)=="function")return Object.fromEntries(await Promise.all(Object.entries(t).map(async([s,d])=>[s,await d])));return t}class ne{constructor(r,f){this.status=r,typeof f=="string"?this.body={message:f}:f?this.body=f:this.body={message:`Error: ${r}`}}toString(){return JSON.stringify(this.body)}}class qe{constructor(r,f){this.status=r,this.location=f}}const Rt="x-sveltekit-invalidated",At="x-sveltekit-trailing-slash",K=Ke(Be)??{},ee=Ke(Ge)??{};function be(t){K[t]=te()}function It(t,r){var Ne;const f=ht(t),s=t.nodes[0],d=t.nodes[1];s(),d();const u=document.documentElement,E=[],l=[];let g=null;const m={before_navigate:[],on_navigate:[],after_navigate:[]};let h={branch:[],error:null,url:null},x=!1,j=!1,k=!0,N=!1,U=!1,H=!1,B=!1,V,D=(Ne=history.state)==null?void 0:Ne[M];D||(D=Date.now(),history.replaceState({...history.state,[M]:D},"",location.href));const fe=K[D];fe&&(history.scrollRestoration="manual",scrollTo(fe.x,fe.y));let q,z,Y;async function ke(){if(Y=Y||Promise.resolve(),await Y,!Y)return;Y=null;const e=new URL(location.href),i=Z(e,!0);g=null;const n=z={},o=i&&await pe(i);if(n===z&&o){if(o.type==="redirect")return re(new URL(o.location,e).href,{},1,n);o.props.page!==void 0&&(q=o.props.page),V.$set(o.props)}}function Re(e){l.some(i=>i==null?void 0:i.snapshot)&&(ee[e]=l.map(i=>{var n;return(n=i==null?void 0:i.snapshot)==null?void 0:n.capture()}))}function Ae(e){var i;(i=ee[e])==null||i.forEach((n,o)=>{var a,c;(c=(a=l[o])==null?void 0:a.snapshot)==null||c.restore(n)})}function Ie(){be(D),Ve(Be,K),Re(D),Ve(Ge,ee)}async function re(e,{noScroll:i=!1,replaceState:n=!1,keepFocus:o=!1,state:a={},invalidateAll:c=!1},p,v){return typeof e=="string"&&(e=new URL(e,De(document))),ce({url:e,scroll:i?te():null,keepfocus:o,redirect_count:p,details:{state:a,replaceState:n},nav_token:v,accepted:()=>{c&&(B=!0)},blocked:()=>{},type:"goto"})}async function Le(e){return g={id:e.id,promise:pe(e).then(i=>(i.type==="loaded"&&i.state.error&&(g=null),i))},g.promise}async function oe(...e){const n=f.filter(o=>e.some(a=>o.exec(a))).map(o=>Promise.all([...o.layouts,o.leaf].map(a=>a==null?void 0:a[1]())));await Promise.all(n)}function Pe(e){var o;h=e.state;const i=document.querySelector("style[data-sveltekit]");i&&i.remove(),q=e.props.page,V=new t.root({target:r,props:{...e.props,stores:F,components:l},hydrate:!0}),Ae(D);const n={from:null,to:{params:h.params,route:{id:((o=h.route)==null?void 0:o.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};m.after_navigate.forEach(a=>a(n)),j=!0}async function X({url:e,params:i,branch:n,status:o,error:a,route:c,form:p}){let v="never";for(const _ of n)(_==null?void 0:_.slash)!==void 0&&(v=_.slash);e.pathname=Ze(e.pathname,v),e.search=e.search;const b={type:"loaded",state:{url:e,params:i,branch:n,error:a,route:c},props:{constructors:Et(n).map(_=>_.node.component)}};p!==void 0&&(b.props.form=p);let y={},L=!q,A=0;for(let _=0;_(v.route=!0,w[O])}),params:new Proxy(o,{get:(w,O)=>(v.params.add(O),w[O])}),data:(c==null?void 0:c.data)??null,url:nt(n,()=>{v.url=!0}),async fetch(w,O){let $;w instanceof Request?($=w.url,O={body:w.method==="GET"||w.method==="HEAD"?void 0:await w.blob(),cache:w.cache,credentials:w.credentials,headers:w.headers,integrity:w.integrity,keepalive:w.keepalive,method:w.method,mode:w.mode,redirect:w.redirect,referrer:w.referrer,referrerPolicy:w.referrerPolicy,signal:w.signal,...O}):$=w;const C=new URL($,n);return P(C.href),C.origin===n.origin&&($=C.href.slice(n.origin.length)),j?ct($,C.href,O):st($,O)},setHeaders:()=>{},depends:P,parent(){return v.parent=!0,i()}};p=await b.universal.load.call(null,_)??null,p=p?await kt(p):null}return{node:b,loader:e,server:c,universal:(L=b.universal)!=null&&L.load?{type:"data",data:p,uses:v}:null,data:p??(c==null?void 0:c.data)??null,slash:((A=b.universal)==null?void 0:A.trailingSlash)??(c==null?void 0:c.slash)}}function Oe(e,i,n,o,a){if(B)return!0;if(!o)return!1;if(o.parent&&e||o.route&&i||o.url&&n)return!0;for(const c of o.params)if(a[c]!==h.params[c])return!0;for(const c of o.dependencies)if(E.some(p=>p(new URL(c))))return!0;return!1}function de(e,i){return(e==null?void 0:e.type)==="data"?e:(e==null?void 0:e.type)==="skip"?i??null:null}async function pe({id:e,invalidating:i,url:n,params:o,route:a}){if((g==null?void 0:g.id)===e)return g.promise;const{errors:c,layouts:p,leaf:v}=a,b=[...p,v];c.forEach(S=>S==null?void 0:S().catch(()=>{})),b.forEach(S=>S==null?void 0:S[1]().catch(()=>{}));let y=null;const L=h.url?e!==h.url.pathname+h.url.search:!1,A=h.route?a.id!==h.route.id:!1;let P=!1;const _=b.map((S,I)=>{var G;const R=h.branch[I],T=!!(S!=null&&S[0])&&((R==null?void 0:R.loader)!==S[1]||Oe(P,A,L,(G=R.server)==null?void 0:G.uses,o));return T&&(P=!0),T});if(_.some(Boolean)){try{y=await Fe(n,_)}catch(S){return ie({status:S instanceof ne?S.status:500,error:await Q(S,{url:n,params:o,route:{id:a.id}}),url:n,route:a})}if(y.type==="redirect")return y}const w=y==null?void 0:y.nodes;let O=!1;const $=b.map(async(S,I)=>{var he;if(!S)return;const R=h.branch[I],T=w==null?void 0:w[I];if((!T||T.type==="skip")&&S[1]===(R==null?void 0:R.loader)&&!Oe(O,A,L,(he=R.universal)==null?void 0:he.uses,o))return R;if(O=!0,(T==null?void 0:T.type)==="error")throw T;return ue({loader:S[1],url:n,params:o,route:a,parent:async()=>{var Te;const $e={};for(let ge=0;ge{});const C=[];for(let S=0;SPromise.resolve({}),server_data_node:de(c)}),b={node:await d(),loader:d,universal:null,server:null,data:null};return await X({url:n,params:a,branch:[v,b],status:e,error:i,route:null})}function Z(e,i){if(ye(e,J))return;const n=se(e);for(const o of f){const a=o.exec(n);if(a)return{id:e.pathname+e.search,invalidating:i,route:o,params:et(a),url:e}}}function se(e){return Qe(e.pathname.slice(J.length)||"/")}function xe({url:e,type:i,intent:n,delta:o}){let a=!1;const c=He(h,n,e,i);o!==void 0&&(c.navigation.delta=o);const p={...c.navigation,cancel:()=>{a=!0,c.reject(new Error("navigation was cancelled"))}};return U||m.before_navigate.forEach(v=>v(p)),a?null:c}async function ce({url:e,scroll:i,keepfocus:n,redirect_count:o,details:a,type:c,delta:p,nav_token:v={},accepted:b,blocked:y}){var $,C,S;const L=Z(e,!1),A=xe({url:e,type:c,delta:p,intent:L});if(!A){y();return}const P=D;b(),U=!0,j&&F.navigating.set(A.navigation),z=v;let _=L&&await pe(L);if(!_){if(ye(e,J))return await W(e);_=await je(e,{id:null},await Q(new Error(`Not found: ${e.pathname}`),{url:e,params:{},route:{id:null}}),404)}if(e=(L==null?void 0:L.url)||e,z!==v)return A.reject(new Error("navigation was aborted")),!1;if(_.type==="redirect")if(o>=20)_=await ie({status:500,error:await Q(new Error("Redirect loop"),{url:e,params:{},route:{id:null}}),url:e,route:{id:null}});else return re(new URL(_.location,e).href,{},o+1,v),!1;else(($=_.props.page)==null?void 0:$.status)>=400&&await F.updated.check()&&await W(e);if(E.length=0,B=!1,N=!0,be(P),Re(P),(C=_.props.page)!=null&&C.url&&_.props.page.url.pathname!==e.pathname&&(e.pathname=(S=_.props.page)==null?void 0:S.url.pathname),a){const I=a.replaceState?0:1;if(a.state[M]=D+=I,history[a.replaceState?"replaceState":"pushState"](a.state,"",e),!a.replaceState){let R=D+1;for(;ee[R]||K[R];)delete ee[R],delete K[R],R+=1}}if(g=null,j){h=_.state,_.props.page&&(_.props.page.url=e);const I=(await Promise.all(m.on_navigate.map(R=>R(A.navigation)))).filter(R=>typeof R=="function");if(I.length>0){let R=function(){m.after_navigate=m.after_navigate.filter(T=>!I.includes(T))};I.push(R),m.after_navigate.push(...I)}V.$set(_.props)}else Pe(_);const{activeElement:w}=document;if(await we(),k){const I=e.hash&&document.getElementById(decodeURIComponent(e.hash.slice(1)));i?scrollTo(i.x,i.y):I?I.scrollIntoView():scrollTo(0,0)}const O=document.activeElement!==w&&document.activeElement!==document.body;!n&&!O&&Ee(),k=!0,_.props.page&&(q=_.props.page),U=!1,c==="popstate"&&Ae(D),A.fulfil(void 0),m.after_navigate.forEach(I=>I(A.navigation)),F.navigating.set(null),N=!1}async function je(e,i,n,o){return e.origin===location.origin&&e.pathname===location.pathname&&!x?await ie({status:o,error:n,url:e,route:i}):await W(e)}function W(e){return location.href=e.href,new Promise(()=>{})}function Ye(){let e;u.addEventListener("mousemove",c=>{const p=c.target;clearTimeout(e),e=setTimeout(()=>{o(p,2)},20)});function i(c){o(c.composedPath()[0],1)}u.addEventListener("mousedown",i),u.addEventListener("touchstart",i,{passive:!0});const n=new IntersectionObserver(c=>{for(const p of c)p.isIntersecting&&(oe(se(new URL(p.target.href))),n.unobserve(p.target))},{threshold:0});function o(c,p){const v=Ce(c,u);if(!v)return;const{url:b,external:y,download:L}=_e(v,J);if(y||L)return;const A=le(v);if(!A.reload)if(p<=A.preload_data){const P=Z(b,!1);P&&Le(P)}else p<=A.preload_code&&oe(se(b))}function a(){n.disconnect();for(const c of u.querySelectorAll("a")){const{url:p,external:v,download:b}=_e(c,J);if(v||b)continue;const y=le(c);y.reload||(y.preload_code===Me.viewport&&n.observe(c),y.preload_code===Me.eager&&oe(se(p)))}}m.after_navigate.push(a),a()}function Q(e,i){return e instanceof ne?e.body:t.hooks.handleError({error:e,event:i})??{message:i.route.id!=null?"Internal Error":"Not Found"}}return{after_navigate:e=>{me(()=>(m.after_navigate.push(e),()=>{const i=m.after_navigate.indexOf(e);m.after_navigate.splice(i,1)}))},before_navigate:e=>{me(()=>(m.before_navigate.push(e),()=>{const i=m.before_navigate.indexOf(e);m.before_navigate.splice(i,1)}))},on_navigate:e=>{me(()=>(m.on_navigate.push(e),()=>{const i=m.on_navigate.indexOf(e);m.on_navigate.splice(i,1)}))},disable_scroll_handling:()=>{(N||!j)&&(k=!1)},goto:(e,i={})=>re(e,i,0),invalidate:e=>{if(typeof e=="function")E.push(e);else{const{href:i}=new URL(e,location.href);E.push(n=>n.href===i)}return ke()},invalidate_all:()=>(B=!0,ke()),preload_data:async e=>{const i=new URL(e,De(document)),n=Z(i,!1);if(!n)throw new Error(`Attempted to preload a URL that does not belong to this app: ${i}`);await Le(n)},preload_code:oe,apply_action:async e=>{if(e.type==="error"){const i=new URL(location.href),{branch:n,route:o}=h;if(!o)return;const a=await Ue(h.branch.length,n,o.errors);if(a){const c=await X({url:i,params:h.params,branch:n.slice(0,a.idx).concat(a.node),status:e.status??500,error:e.error,route:o});h=c.state,V.$set(c.props),we().then(Ee)}}else e.type==="redirect"?re(e.location,{invalidateAll:!0},0):(V.$set({form:null,page:{...q,form:e.data,status:e.status}}),await we(),V.$set({form:e.data}),e.type==="success"&&Ee())},_start_router:()=>{var i;history.scrollRestoration="manual",addEventListener("beforeunload",n=>{let o=!1;if(Ie(),!U){const a=He(h,void 0,null,"leave"),c={...a.navigation,cancel:()=>{o=!0,a.reject(new Error("navigation was cancelled"))}};m.before_navigate.forEach(p=>p(c))}o?(n.preventDefault(),n.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Ie()}),(i=navigator.connection)!=null&&i.saveData||Ye(),u.addEventListener("click",n=>{var P;if(n.button||n.which!==1||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey||n.defaultPrevented)return;const o=Ce(n.composedPath()[0],u);if(!o)return;const{url:a,external:c,target:p,download:v}=_e(o,J);if(!a)return;if(p==="_parent"||p==="_top"){if(window.parent!==window)return}else if(p&&p!=="_self")return;const b=le(o);if(!(o instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||v)return;if(c||b.reload){xe({url:a,type:"link"})?U=!0:n.preventDefault();return}const[L,A]=a.href.split("#");if(A!==void 0&&L===location.href.split("#")[0]){if(h.url.hash===a.hash){n.preventDefault(),(P=o.ownerDocument.getElementById(A))==null||P.scrollIntoView();return}if(H=!0,be(D),e(a),!b.replace_state)return;H=!1,n.preventDefault()}ce({url:a,scroll:b.noscroll?te():null,keepfocus:b.keep_focus??!1,redirect_count:0,details:{state:{},replaceState:b.replace_state??a.href===location.href},accepted:()=>n.preventDefault(),blocked:()=>n.preventDefault(),type:"link"})}),u.addEventListener("submit",n=>{if(n.defaultPrevented)return;const o=HTMLFormElement.prototype.cloneNode.call(n.target),a=n.submitter;if(((a==null?void 0:a.formMethod)||o.method)!=="get")return;const p=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||o.action);if(ye(p,J))return;const v=n.target,{keep_focus:b,noscroll:y,reload:L,replace_state:A}=le(v);if(L)return;n.preventDefault(),n.stopPropagation();const P=new FormData(v),_=a==null?void 0:a.getAttribute("name");_&&P.append(_,(a==null?void 0:a.getAttribute("value"))??""),p.search=new URLSearchParams(P).toString(),ce({url:p,scroll:y?te():null,keepfocus:b??!1,redirect_count:0,details:{state:{},replaceState:A??p.href===location.href},nav_token:{},accepted:()=>{},blocked:()=>{},type:"form"})}),addEventListener("popstate",async n=>{var o;if(z={},(o=n.state)!=null&&o[M]){if(n.state[M]===D)return;const a=K[n.state[M]],c=new URL(location.href);if(h.url.href.split("#")[0]===location.href.split("#")[0]){e(c),K[D]=te(),D=n.state[M],scrollTo(a.x,a.y);return}const p=n.state[M]-D;await ce({url:c,scroll:a,keepfocus:!1,redirect_count:0,details:null,accepted:()=>{D=n.state[M]},blocked:()=>{history.go(-p)},type:"popstate",delta:p,nav_token:z})}else if(!H){const a=new URL(location.href);e(a)}}),addEventListener("hashchange",()=>{H&&(H=!1,history.replaceState({...history.state,[M]:++D},"",location.href))});for(const n of document.querySelectorAll("link"))n.rel==="icon"&&(n.href=n.href);addEventListener("pageshow",n=>{n.persisted&&F.navigating.set(null)});function e(n){h.url=n,F.page.set({...q,url:n}),F.page.notify()}},_hydrate:async({status:e=200,error:i,node_ids:n,params:o,route:a,data:c,form:p})=>{x=!0;const v=new URL(location.href);({params:o={},route:a={id:null}}=Z(v,!1)||{});let b;try{const y=n.map(async(P,_)=>{const w=c[_];return w!=null&&w.uses&&(w.uses=We(w.uses)),ue({loader:t.nodes[P],url:v,params:o,route:a,parent:async()=>{const O={};for(let $=0;$<_;$+=1)Object.assign(O,(await y[$]).data);return O},server_data_node:de(w)})}),L=await Promise.all(y),A=f.find(({id:P})=>P===a.id);if(A){const P=A.layouts;for(let _=0;_d?"1":"0").join(""));const s=await Je(f.href);if(!s.ok)throw new ne(s.status,await s.json());return new Promise(async d=>{var h;const u=new Map,E=s.body.getReader(),l=new TextDecoder;function g(x){return bt(x,{Promise:j=>new Promise((k,N)=>{u.set(j,{fulfil:k,reject:N})})})}let m="";for(;;){const{done:x,value:j}=await E.read();if(x&&!m)break;for(m+=!j&&m?` +import{o as me,t as we}from"../chunks/scheduler.cc1c0861.js";import{S as Be,a as Ge,I as M,g as De,f as Ce,b as _e,c as le,s as te,i as ye,d as F,P as Me,e as Xe}from"../chunks/singletons.ed4953bb.js";import{b as J}from"../chunks/paths.0faff454.js";function Ze(t,r){return t==="/"||r==="ignore"?t:r==="never"?t.endsWith("/")?t.slice(0,-1):t:r==="always"&&!t.endsWith("/")?t+"/":t}function Qe(t){return t.split("%25").map(decodeURI).join("%25")}function et(t){for(const r in t)t[r]=decodeURIComponent(t[r]);return t}const tt=["href","pathname","search","searchParams","toString","toJSON"];function nt(t,r){const f=new URL(t);for(const s of tt)Object.defineProperty(f,s,{get(){return r(),t[s]},enumerable:!0,configurable:!0});return at(f),f}function at(t){Object.defineProperty(t,"hash",{get(){throw new Error("Cannot access event.url.hash. Consider using `$page.url.hash` inside a component instead")}})}const rt="/__data.json";function ot(t){return t.replace(/\/$/,"")+rt}function it(...t){let r=5381;for(const f of t)if(typeof f=="string"){let s=f.length;for(;s;)r=r*33^f.charCodeAt(--s)}else if(ArrayBuffer.isView(f)){const s=new Uint8Array(f.buffer,f.byteOffset,f.byteLength);let d=s.length;for(;d;)r=r*33^s[--d]}else throw new TypeError("value must be a string or TypedArray");return(r>>>0).toString(36)}const Je=window.fetch;window.fetch=(t,r)=>((t instanceof Request?t.method:(r==null?void 0:r.method)||"GET")!=="GET"&&ae.delete(Se(t)),Je(t,r));const ae=new Map;function st(t,r){const f=Se(t,r),s=document.querySelector(f);if(s!=null&&s.textContent){const{body:d,...u}=JSON.parse(s.textContent),E=s.getAttribute("data-ttl");return E&&ae.set(f,{body:d,init:u,ttl:1e3*Number(E)}),Promise.resolve(new Response(d,u))}return window.fetch(t,r)}function ct(t,r,f){if(ae.size>0){const s=Se(t,f),d=ae.get(s);if(d){if(performance.now(){const d=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(s);if(d)return r.push({name:d[1],matcher:d[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const u=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(s);if(u)return r.push({name:u[1],matcher:u[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!s)return;const E=s.split(/\[(.+?)\](?!\])/);return"/"+E.map((g,m)=>{if(m%2){if(g.startsWith("x+"))return ve(String.fromCharCode(parseInt(g.slice(2),16)));if(g.startsWith("u+"))return ve(String.fromCharCode(...g.slice(2).split("-").map(U=>parseInt(U,16))));const h=lt.exec(g);if(!h)throw new Error(`Invalid param: ${g}. Params and matcher names can only have underscores and alphanumeric characters.`);const[,x,j,k,N]=h;return r.push({name:k,matcher:N,optional:!!x,rest:!!j,chained:j?m===1&&E[0]==="":!1}),j?"(.*?)":x?"([^/]*)?":"([^/]+?)"}return ve(g)}).join("")}).join("")}/?$`),params:r}}function ut(t){return!/^\([^)]+\)$/.test(t)}function dt(t){return t.slice(1).split("/").filter(ut)}function pt(t,r,f){const s={},d=t.slice(1),u=d.filter(l=>l!==void 0);let E=0;for(let l=0;lh).join("/"),E=0),m===void 0){g.rest&&(s[g.name]="");continue}if(!g.matcher||f[g.matcher](m)){s[g.name]=m;const h=r[l+1],x=d[l+1];h&&!h.rest&&h.optional&&x&&g.chained&&(E=0),!h&&!x&&Object.keys(s).length===u.length&&(E=0);continue}if(g.optional&&g.chained){E++;continue}return}if(!E)return s}function ve(t){return t.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function ht({nodes:t,server_loads:r,dictionary:f,matchers:s}){const d=new Set(r);return Object.entries(f).map(([l,[g,m,h]])=>{const{pattern:x,params:j}=ft(l),k={id:l,exec:N=>{const U=x.exec(N);if(U)return pt(U,j,s)},errors:[1,...h||[]].map(N=>t[N]),layouts:[0,...m||[]].map(E),leaf:u(g)};return k.errors.length=k.layouts.length=Math.max(k.errors.length,k.layouts.length),k});function u(l){const g=l<0;return g&&(l=~l),[g,t[l]]}function E(l){return l===void 0?l:[d.has(l),t[l]]}}function Ke(t){try{return JSON.parse(sessionStorage[t])}catch{}}function Ve(t,r){const f=JSON.stringify(r);try{sessionStorage[t]=f}catch{}}const gt=-1,mt=-2,wt=-3,_t=-4,yt=-5,vt=-6;function bt(t,r){if(typeof t=="number")return d(t,!0);if(!Array.isArray(t)||t.length===0)throw new Error("Invalid input");const f=t,s=Array(f.length);function d(u,E=!1){if(u===gt)return;if(u===wt)return NaN;if(u===_t)return 1/0;if(u===yt)return-1/0;if(u===vt)return-0;if(E)throw new Error("Invalid input");if(u in s)return s[u];const l=f[u];if(!l||typeof l!="object")s[u]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const g=l[0],m=r==null?void 0:r[g];if(m)return s[u]=m(d(l[1]));switch(g){case"Date":s[u]=new Date(l[1]);break;case"Set":const h=new Set;s[u]=h;for(let k=1;kr!=null)}const ze=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...ze];const St=new Set([...ze]);[...St];async function kt(t){var r;for(const f in t)if(typeof((r=t[f])==null?void 0:r.then)=="function")return Object.fromEntries(await Promise.all(Object.entries(t).map(async([s,d])=>[s,await d])));return t}class ne{constructor(r,f){this.status=r,typeof f=="string"?this.body={message:f}:f?this.body=f:this.body={message:`Error: ${r}`}}toString(){return JSON.stringify(this.body)}}class qe{constructor(r,f){this.status=r,this.location=f}}const Rt="x-sveltekit-invalidated",At="x-sveltekit-trailing-slash",K=Ke(Be)??{},ee=Ke(Ge)??{};function be(t){K[t]=te()}function It(t,r){var Ne;const f=ht(t),s=t.nodes[0],d=t.nodes[1];s(),d();const u=document.documentElement,E=[],l=[];let g=null;const m={before_navigate:[],on_navigate:[],after_navigate:[]};let h={branch:[],error:null,url:null},x=!1,j=!1,k=!0,N=!1,U=!1,H=!1,B=!1,V,D=(Ne=history.state)==null?void 0:Ne[M];D||(D=Date.now(),history.replaceState({...history.state,[M]:D},"",location.href));const fe=K[D];fe&&(history.scrollRestoration="manual",scrollTo(fe.x,fe.y));let q,z,Y;async function ke(){if(Y=Y||Promise.resolve(),await Y,!Y)return;Y=null;const e=new URL(location.href),i=Z(e,!0);g=null;const n=z={},o=i&&await pe(i);if(n===z&&o){if(o.type==="redirect")return re(new URL(o.location,e).href,{},1,n);o.props.page!==void 0&&(q=o.props.page),V.$set(o.props)}}function Re(e){l.some(i=>i==null?void 0:i.snapshot)&&(ee[e]=l.map(i=>{var n;return(n=i==null?void 0:i.snapshot)==null?void 0:n.capture()}))}function Ae(e){var i;(i=ee[e])==null||i.forEach((n,o)=>{var a,c;(c=(a=l[o])==null?void 0:a.snapshot)==null||c.restore(n)})}function Ie(){be(D),Ve(Be,K),Re(D),Ve(Ge,ee)}async function re(e,{noScroll:i=!1,replaceState:n=!1,keepFocus:o=!1,state:a={},invalidateAll:c=!1},p,v){return typeof e=="string"&&(e=new URL(e,De(document))),ce({url:e,scroll:i?te():null,keepfocus:o,redirect_count:p,details:{state:a,replaceState:n},nav_token:v,accepted:()=>{c&&(B=!0)},blocked:()=>{},type:"goto"})}async function Le(e){return g={id:e.id,promise:pe(e).then(i=>(i.type==="loaded"&&i.state.error&&(g=null),i))},g.promise}async function oe(...e){const n=f.filter(o=>e.some(a=>o.exec(a))).map(o=>Promise.all([...o.layouts,o.leaf].map(a=>a==null?void 0:a[1]())));await Promise.all(n)}function Pe(e){var o;h=e.state;const i=document.querySelector("style[data-sveltekit]");i&&i.remove(),q=e.props.page,V=new t.root({target:r,props:{...e.props,stores:F,components:l},hydrate:!0}),Ae(D);const n={from:null,to:{params:h.params,route:{id:((o=h.route)==null?void 0:o.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};m.after_navigate.forEach(a=>a(n)),j=!0}async function X({url:e,params:i,branch:n,status:o,error:a,route:c,form:p}){let v="never";for(const _ of n)(_==null?void 0:_.slash)!==void 0&&(v=_.slash);e.pathname=Ze(e.pathname,v),e.search=e.search;const b={type:"loaded",state:{url:e,params:i,branch:n,error:a,route:c},props:{constructors:Et(n).map(_=>_.node.component)}};p!==void 0&&(b.props.form=p);let y={},L=!q,A=0;for(let _=0;_(v.route=!0,w[O])}),params:new Proxy(o,{get:(w,O)=>(v.params.add(O),w[O])}),data:(c==null?void 0:c.data)??null,url:nt(n,()=>{v.url=!0}),async fetch(w,O){let $;w instanceof Request?($=w.url,O={body:w.method==="GET"||w.method==="HEAD"?void 0:await w.blob(),cache:w.cache,credentials:w.credentials,headers:w.headers,integrity:w.integrity,keepalive:w.keepalive,method:w.method,mode:w.mode,redirect:w.redirect,referrer:w.referrer,referrerPolicy:w.referrerPolicy,signal:w.signal,...O}):$=w;const C=new URL($,n);return P(C.href),C.origin===n.origin&&($=C.href.slice(n.origin.length)),j?ct($,C.href,O):st($,O)},setHeaders:()=>{},depends:P,parent(){return v.parent=!0,i()}};p=await b.universal.load.call(null,_)??null,p=p?await kt(p):null}return{node:b,loader:e,server:c,universal:(L=b.universal)!=null&&L.load?{type:"data",data:p,uses:v}:null,data:p??(c==null?void 0:c.data)??null,slash:((A=b.universal)==null?void 0:A.trailingSlash)??(c==null?void 0:c.slash)}}function Oe(e,i,n,o,a){if(B)return!0;if(!o)return!1;if(o.parent&&e||o.route&&i||o.url&&n)return!0;for(const c of o.params)if(a[c]!==h.params[c])return!0;for(const c of o.dependencies)if(E.some(p=>p(new URL(c))))return!0;return!1}function de(e,i){return(e==null?void 0:e.type)==="data"?e:(e==null?void 0:e.type)==="skip"?i??null:null}async function pe({id:e,invalidating:i,url:n,params:o,route:a}){if((g==null?void 0:g.id)===e)return g.promise;const{errors:c,layouts:p,leaf:v}=a,b=[...p,v];c.forEach(S=>S==null?void 0:S().catch(()=>{})),b.forEach(S=>S==null?void 0:S[1]().catch(()=>{}));let y=null;const L=h.url?e!==h.url.pathname+h.url.search:!1,A=h.route?a.id!==h.route.id:!1;let P=!1;const _=b.map((S,I)=>{var G;const R=h.branch[I],T=!!(S!=null&&S[0])&&((R==null?void 0:R.loader)!==S[1]||Oe(P,A,L,(G=R.server)==null?void 0:G.uses,o));return T&&(P=!0),T});if(_.some(Boolean)){try{y=await Fe(n,_)}catch(S){return ie({status:S instanceof ne?S.status:500,error:await Q(S,{url:n,params:o,route:{id:a.id}}),url:n,route:a})}if(y.type==="redirect")return y}const w=y==null?void 0:y.nodes;let O=!1;const $=b.map(async(S,I)=>{var he;if(!S)return;const R=h.branch[I],T=w==null?void 0:w[I];if((!T||T.type==="skip")&&S[1]===(R==null?void 0:R.loader)&&!Oe(O,A,L,(he=R.universal)==null?void 0:he.uses,o))return R;if(O=!0,(T==null?void 0:T.type)==="error")throw T;return ue({loader:S[1],url:n,params:o,route:a,parent:async()=>{var Te;const $e={};for(let ge=0;ge{});const C=[];for(let S=0;SPromise.resolve({}),server_data_node:de(c)}),b={node:await d(),loader:d,universal:null,server:null,data:null};return await X({url:n,params:a,branch:[v,b],status:e,error:i,route:null})}function Z(e,i){if(ye(e,J))return;const n=se(e);for(const o of f){const a=o.exec(n);if(a)return{id:e.pathname+e.search,invalidating:i,route:o,params:et(a),url:e}}}function se(e){return Qe(e.pathname.slice(J.length)||"/")}function xe({url:e,type:i,intent:n,delta:o}){let a=!1;const c=He(h,n,e,i);o!==void 0&&(c.navigation.delta=o);const p={...c.navigation,cancel:()=>{a=!0,c.reject(new Error("navigation was cancelled"))}};return U||m.before_navigate.forEach(v=>v(p)),a?null:c}async function ce({url:e,scroll:i,keepfocus:n,redirect_count:o,details:a,type:c,delta:p,nav_token:v={},accepted:b,blocked:y}){var $,C,S;const L=Z(e,!1),A=xe({url:e,type:c,delta:p,intent:L});if(!A){y();return}const P=D;b(),U=!0,j&&F.navigating.set(A.navigation),z=v;let _=L&&await pe(L);if(!_){if(ye(e,J))return await W(e);_=await je(e,{id:null},await Q(new Error(`Not found: ${e.pathname}`),{url:e,params:{},route:{id:null}}),404)}if(e=(L==null?void 0:L.url)||e,z!==v)return A.reject(new Error("navigation was aborted")),!1;if(_.type==="redirect")if(o>=20)_=await ie({status:500,error:await Q(new Error("Redirect loop"),{url:e,params:{},route:{id:null}}),url:e,route:{id:null}});else return re(new URL(_.location,e).href,{},o+1,v),!1;else(($=_.props.page)==null?void 0:$.status)>=400&&await F.updated.check()&&await W(e);if(E.length=0,B=!1,N=!0,be(P),Re(P),(C=_.props.page)!=null&&C.url&&_.props.page.url.pathname!==e.pathname&&(e.pathname=(S=_.props.page)==null?void 0:S.url.pathname),a){const I=a.replaceState?0:1;if(a.state[M]=D+=I,history[a.replaceState?"replaceState":"pushState"](a.state,"",e),!a.replaceState){let R=D+1;for(;ee[R]||K[R];)delete ee[R],delete K[R],R+=1}}if(g=null,j){h=_.state,_.props.page&&(_.props.page.url=e);const I=(await Promise.all(m.on_navigate.map(R=>R(A.navigation)))).filter(R=>typeof R=="function");if(I.length>0){let R=function(){m.after_navigate=m.after_navigate.filter(T=>!I.includes(T))};I.push(R),m.after_navigate.push(...I)}V.$set(_.props)}else Pe(_);const{activeElement:w}=document;if(await we(),k){const I=e.hash&&document.getElementById(decodeURIComponent(e.hash.slice(1)));i?scrollTo(i.x,i.y):I?I.scrollIntoView():scrollTo(0,0)}const O=document.activeElement!==w&&document.activeElement!==document.body;!n&&!O&&Ee(),k=!0,_.props.page&&(q=_.props.page),U=!1,c==="popstate"&&Ae(D),A.fulfil(void 0),m.after_navigate.forEach(I=>I(A.navigation)),F.navigating.set(null),N=!1}async function je(e,i,n,o){return e.origin===location.origin&&e.pathname===location.pathname&&!x?await ie({status:o,error:n,url:e,route:i}):await W(e)}function W(e){return location.href=e.href,new Promise(()=>{})}function Ye(){let e;u.addEventListener("mousemove",c=>{const p=c.target;clearTimeout(e),e=setTimeout(()=>{o(p,2)},20)});function i(c){o(c.composedPath()[0],1)}u.addEventListener("mousedown",i),u.addEventListener("touchstart",i,{passive:!0});const n=new IntersectionObserver(c=>{for(const p of c)p.isIntersecting&&(oe(se(new URL(p.target.href))),n.unobserve(p.target))},{threshold:0});function o(c,p){const v=Ce(c,u);if(!v)return;const{url:b,external:y,download:L}=_e(v,J);if(y||L)return;const A=le(v);if(!A.reload)if(p<=A.preload_data){const P=Z(b,!1);P&&Le(P)}else p<=A.preload_code&&oe(se(b))}function a(){n.disconnect();for(const c of u.querySelectorAll("a")){const{url:p,external:v,download:b}=_e(c,J);if(v||b)continue;const y=le(c);y.reload||(y.preload_code===Me.viewport&&n.observe(c),y.preload_code===Me.eager&&oe(se(p)))}}m.after_navigate.push(a),a()}function Q(e,i){return e instanceof ne?e.body:t.hooks.handleError({error:e,event:i})??{message:i.route.id!=null?"Internal Error":"Not Found"}}return{after_navigate:e=>{me(()=>(m.after_navigate.push(e),()=>{const i=m.after_navigate.indexOf(e);m.after_navigate.splice(i,1)}))},before_navigate:e=>{me(()=>(m.before_navigate.push(e),()=>{const i=m.before_navigate.indexOf(e);m.before_navigate.splice(i,1)}))},on_navigate:e=>{me(()=>(m.on_navigate.push(e),()=>{const i=m.on_navigate.indexOf(e);m.on_navigate.splice(i,1)}))},disable_scroll_handling:()=>{(N||!j)&&(k=!1)},goto:(e,i={})=>re(e,i,0),invalidate:e=>{if(typeof e=="function")E.push(e);else{const{href:i}=new URL(e,location.href);E.push(n=>n.href===i)}return ke()},invalidate_all:()=>(B=!0,ke()),preload_data:async e=>{const i=new URL(e,De(document)),n=Z(i,!1);if(!n)throw new Error(`Attempted to preload a URL that does not belong to this app: ${i}`);await Le(n)},preload_code:oe,apply_action:async e=>{if(e.type==="error"){const i=new URL(location.href),{branch:n,route:o}=h;if(!o)return;const a=await Ue(h.branch.length,n,o.errors);if(a){const c=await X({url:i,params:h.params,branch:n.slice(0,a.idx).concat(a.node),status:e.status??500,error:e.error,route:o});h=c.state,V.$set(c.props),we().then(Ee)}}else e.type==="redirect"?re(e.location,{invalidateAll:!0},0):(V.$set({form:null,page:{...q,form:e.data,status:e.status}}),await we(),V.$set({form:e.data}),e.type==="success"&&Ee())},_start_router:()=>{var i;history.scrollRestoration="manual",addEventListener("beforeunload",n=>{let o=!1;if(Ie(),!U){const a=He(h,void 0,null,"leave"),c={...a.navigation,cancel:()=>{o=!0,a.reject(new Error("navigation was cancelled"))}};m.before_navigate.forEach(p=>p(c))}o?(n.preventDefault(),n.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Ie()}),(i=navigator.connection)!=null&&i.saveData||Ye(),u.addEventListener("click",n=>{var P;if(n.button||n.which!==1||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey||n.defaultPrevented)return;const o=Ce(n.composedPath()[0],u);if(!o)return;const{url:a,external:c,target:p,download:v}=_e(o,J);if(!a)return;if(p==="_parent"||p==="_top"){if(window.parent!==window)return}else if(p&&p!=="_self")return;const b=le(o);if(!(o instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||v)return;if(c||b.reload){xe({url:a,type:"link"})?U=!0:n.preventDefault();return}const[L,A]=a.href.split("#");if(A!==void 0&&L===location.href.split("#")[0]){if(h.url.hash===a.hash){n.preventDefault(),(P=o.ownerDocument.getElementById(A))==null||P.scrollIntoView();return}if(H=!0,be(D),e(a),!b.replace_state)return;H=!1,n.preventDefault()}ce({url:a,scroll:b.noscroll?te():null,keepfocus:b.keep_focus??!1,redirect_count:0,details:{state:{},replaceState:b.replace_state??a.href===location.href},accepted:()=>n.preventDefault(),blocked:()=>n.preventDefault(),type:"link"})}),u.addEventListener("submit",n=>{if(n.defaultPrevented)return;const o=HTMLFormElement.prototype.cloneNode.call(n.target),a=n.submitter;if(((a==null?void 0:a.formMethod)||o.method)!=="get")return;const p=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||o.action);if(ye(p,J))return;const v=n.target,{keep_focus:b,noscroll:y,reload:L,replace_state:A}=le(v);if(L)return;n.preventDefault(),n.stopPropagation();const P=new FormData(v),_=a==null?void 0:a.getAttribute("name");_&&P.append(_,(a==null?void 0:a.getAttribute("value"))??""),p.search=new URLSearchParams(P).toString(),ce({url:p,scroll:y?te():null,keepfocus:b??!1,redirect_count:0,details:{state:{},replaceState:A??p.href===location.href},nav_token:{},accepted:()=>{},blocked:()=>{},type:"form"})}),addEventListener("popstate",async n=>{var o;if(z={},(o=n.state)!=null&&o[M]){if(n.state[M]===D)return;const a=K[n.state[M]],c=new URL(location.href);if(h.url.href.split("#")[0]===location.href.split("#")[0]){e(c),K[D]=te(),D=n.state[M],scrollTo(a.x,a.y);return}const p=n.state[M]-D;await ce({url:c,scroll:a,keepfocus:!1,redirect_count:0,details:null,accepted:()=>{D=n.state[M]},blocked:()=>{history.go(-p)},type:"popstate",delta:p,nav_token:z})}else if(!H){const a=new URL(location.href);e(a)}}),addEventListener("hashchange",()=>{H&&(H=!1,history.replaceState({...history.state,[M]:++D},"",location.href))});for(const n of document.querySelectorAll("link"))n.rel==="icon"&&(n.href=n.href);addEventListener("pageshow",n=>{n.persisted&&F.navigating.set(null)});function e(n){h.url=n,F.page.set({...q,url:n}),F.page.notify()}},_hydrate:async({status:e=200,error:i,node_ids:n,params:o,route:a,data:c,form:p})=>{x=!0;const v=new URL(location.href);({params:o={},route:a={id:null}}=Z(v,!1)||{});let b;try{const y=n.map(async(P,_)=>{const w=c[_];return w!=null&&w.uses&&(w.uses=We(w.uses)),ue({loader:t.nodes[P],url:v,params:o,route:a,parent:async()=>{const O={};for(let $=0;$<_;$+=1)Object.assign(O,(await y[$]).data);return O},server_data_node:de(w)})}),L=await Promise.all(y),A=f.find(({id:P})=>P===a.id);if(A){const P=A.layouts;for(let _=0;_d?"1":"0").join(""));const s=await Je(f.href);if(!s.ok)throw new ne(s.status,await s.json());return new Promise(async d=>{var h;const u=new Map,E=s.body.getReader(),l=new TextDecoder;function g(x){return bt(x,{Promise:j=>new Promise((k,N)=>{u.set(j,{fulfil:k,reject:N})})})}let m="";for(;;){const{done:x,value:j}=await E.read();if(x&&!m)break;for(m+=!j&&m?` `:l.decode(j);;){const k=m.indexOf(` `);if(k===-1)break;const N=JSON.parse(m.slice(0,k));if(m=m.slice(k+1),N.type==="redirect")return d(N);if(N.type==="data")(h=N.nodes)==null||h.forEach(U=>{(U==null?void 0:U.type)==="data"&&(U.uses=We(U.uses),U.data=g(U.data))}),d(N);else if(N.type==="chunk"){const{id:U,data:H,error:B}=N,V=u.get(U);u.delete(U),B?V.reject(g(B)):V.fulfil(g(H))}}}})}function We(t){return{dependencies:new Set((t==null?void 0:t.dependencies)??[]),params:new Set((t==null?void 0:t.params)??[]),parent:!!(t!=null&&t.parent),route:!!(t!=null&&t.route),url:!!(t!=null&&t.url)}}function Ee(){const t=document.querySelector("[autofocus]");if(t)t.focus();else{const r=document.body,f=r.getAttribute("tabindex");r.tabIndex=-1,r.focus({preventScroll:!0,focusVisible:!1}),f!==null?r.setAttribute("tabindex",f):r.removeAttribute("tabindex");const s=getSelection();if(s&&s.type!=="None"){const d=[];for(let u=0;u{if(s.rangeCount===d.length){for(let u=0;u{d=h,u=x});return E.catch(()=>{}),{navigation:{from:{params:t.params,route:{id:((g=t.route)==null?void 0:g.id)??null},url:t.url},to:f&&{params:(r==null?void 0:r.params)??null,route:{id:((m=r==null?void 0:r.route)==null?void 0:m.id)??null},url:f},willUnload:!r,type:s,complete:E},fulfil:d,reject:u}}async function Ut(t,r,f){const s=It(t,r);Xe({client:s}),f?await s._hydrate(f):s.goto(location.href,{replaceState:!0}),s._start_router()}export{Ut as start}; diff --git a/build/_app/immutable/nodes/0.05aaf94e.js b/build/_app/immutable/nodes/0.7a52bd9a.js similarity index 96% rename from build/_app/immutable/nodes/0.05aaf94e.js rename to build/_app/immutable/nodes/0.7a52bd9a.js index 078fede..183d5ab 100644 --- a/build/_app/immutable/nodes/0.05aaf94e.js +++ b/build/_app/immutable/nodes/0.7a52bd9a.js @@ -1 +1 @@ -import{s as X,c as Y,u as Z,g as $,d as x,r as ee,e as te}from"../chunks/scheduler.cc1c0861.js";import{S as se,i as oe,g as p,s as N,m as T,h as m,j as E,x as le,c as C,n as j,f as S,k as v,a as ae,y as l,z as P,o as U,d as ie,t as re}from"../chunks/index.7a644faf.js";import{a as O}from"../chunks/store.b3c2dff0.js";import{b as g}from"../chunks/paths.9104f388.js";const de=!0,he=Object.freeze(Object.defineProperty({__proto__:null,prerender:de},Symbol.toStringTag,{value:"Module"}));function ne(s){let a,t,i,e,A='

CSAF Webview

',I,D,c,r,_,F,w,L,u,b,f,M=s[0]!==s[4].SINGLE?"Switch to Advisory":"Switch to Overview",V,q,R,h,k,W;const z=s[9].default,d=Y(z,s,s[8],null);return{c(){a=p("div"),t=p("div"),i=p("div"),e=p("div"),e.innerHTML=A,I=N(),D=p("div"),c=p("small"),r=T("v"),_=T(s[3]),F=N(),w=p("div"),L=T(s[2]),u=N(),b=p("div"),f=p("a"),V=T(M),R=N(),d&&d.c(),this.h()},l(o){a=m(o,"DIV",{class:!0});var n=E(a);t=m(n,"DIV",{class:!0});var y=E(t);i=m(y,"DIV",{class:!0});var G=E(i);e=m(G,"DIV",{"data-svelte-h":!0}),le(e)!=="svelte-1uq6gq2"&&(e.innerHTML=A),I=C(G),D=m(G,"DIV",{});var B=E(D);c=m(B,"SMALL",{class:!0});var H=E(c);r=j(H,"v"),_=j(H,s[3]),H.forEach(S),B.forEach(S),G.forEach(S),F=C(y),w=m(y,"DIV",{class:!0});var J=E(w);L=j(J,s[2]),J.forEach(S),u=C(y),b=m(y,"DIV",{class:!0});var K=E(b);f=m(K,"A",{title:!0,href:!0,class:!0});var Q=E(f);V=j(Q,M),Q.forEach(S),K.forEach(S),y.forEach(S),R=C(n),d&&d.l(n),n.forEach(S),this.h()},h(){v(c,"class","versionstring"),v(i,"class","programname"),v(w,"class","title"),v(f,"title",q=s[0]!==s[4].SINGLE?"Switch to Advisory":"Switch to Overview"),v(f,"href",s[1]),v(f,"class","btn"),v(b,"class","switchbtn"),v(t,"class","header"),v(a,"class","content")},m(o,n){ae(o,a,n),l(a,t),l(t,i),l(i,e),l(i,I),l(i,D),l(D,c),l(c,r),l(c,_),l(t,F),l(t,w),l(w,L),l(t,u),l(t,b),l(b,f),l(f,V),l(a,R),d&&d.m(a,null),h=!0,k||(W=[P(window,"dragover",s[5]),P(window,"drop",s[5]),P(window,"popstate",s[10]),P(f,"click",s[6])],k=!0)},p(o,[n]){(!h||n&4)&&U(L,o[2]),(!h||n&1)&&M!==(M=o[0]!==o[4].SINGLE?"Switch to Advisory":"Switch to Overview")&&U(V,M),(!h||n&1&&q!==(q=o[0]!==o[4].SINGLE?"Switch to Advisory":"Switch to Overview"))&&v(f,"title",q),(!h||n&2)&&v(f,"href",o[1]),d&&d.p&&(!h||n&256)&&Z(d,z,o,o[8],h?x(z,o[8],n,null):$(o[8]),null)},i(o){h||(ie(d,o),h=!0)},o(o){re(d,o),h=!1},d(o){o&&S(a),d&&d.d(o),k=!1,ee(W)}}}function ce(s,a,t){let i,e;te(s,O,u=>t(7,e=u));let{$$slots:A={},$$scope:I}=a;const D="1.0.0",c={SINGLE:"Switch to ROLIE-feed",FEED:"Switch to single view"};let r="",_="Advisory";const F=u=>{u.preventDefault()},w=u=>{O.setSelectedCVE(""),O.setSelectedProduct("")},L=()=>{O.setFeedErrorMsg(""),O.setSingleErrorMsg("")};return s.$$set=u=>{"$$scope"in u&&t(8,I=u.$$scope)},s.$$.update=()=>{s.$$.dirty&128&&t(0,i=e.ui.appMode),s.$$.dirty&129&&(i===c.SINGLE?e.doc&&e.doc.title?t(2,_=`${e.doc.id}: ${e.doc.title}`):t(2,_="Advisory"):e.currentFeed?t(2,_="ROLIE-Feed"):e.providerMetadata?t(2,_="Provider Metadata"):t(2,_="Overview")),s.$$.dirty&129&&(i===c.SINGLE?e.ui.lastFeed?e.ui.lastDoc?t(1,r=`${g}/feed?q=${e.ui.lastFeed}&doc=${e.ui.lastDoc}`):t(1,r=`${g}/feed?q=${e.ui.lastFeed}`):e.ui.lastDoc?t(1,r=`${g}/feed?doc=${e.ui.lastDoc}`):t(1,r=`${g}/feed`):e.ui.lastDoc?e.ui.lastFeed?t(1,r=`${g}/?q=${e.ui.lastDoc}&feed=${e.ui.lastFeed}`):t(1,r=`${g}/?q=${e.ui.lastDoc}`):e.ui.lastFeed?t(1,r=`${g}/?feed=${e.ui.lastFeed}`):t(1,r=`${g}/`))},[i,r,_,D,c,F,w,e,I,A,L]}class pe extends se{constructor(a){super(),oe(this,a,ce,ne,X,{})}}export{pe as component,he as universal}; +import{s as X,c as Y,u as Z,g as $,d as x,r as ee,e as te}from"../chunks/scheduler.cc1c0861.js";import{S as se,i as oe,g as p,s as N,m as T,h as m,j as E,x as le,c as C,n as j,f as S,k as v,a as ae,y as l,z as P,o as U,d as ie,t as re}from"../chunks/index.7a644faf.js";import{a as O}from"../chunks/store.22ca258b.js";import{b as g}from"../chunks/paths.0faff454.js";const de=!0,he=Object.freeze(Object.defineProperty({__proto__:null,prerender:de},Symbol.toStringTag,{value:"Module"}));function ne(s){let a,t,i,e,A='

CSAF Webview

',I,D,c,r,_,F,w,L,u,b,f,M=s[0]!==s[4].SINGLE?"Switch to Advisory":"Switch to Overview",V,q,R,h,k,W;const z=s[9].default,d=Y(z,s,s[8],null);return{c(){a=p("div"),t=p("div"),i=p("div"),e=p("div"),e.innerHTML=A,I=N(),D=p("div"),c=p("small"),r=T("v"),_=T(s[3]),F=N(),w=p("div"),L=T(s[2]),u=N(),b=p("div"),f=p("a"),V=T(M),R=N(),d&&d.c(),this.h()},l(o){a=m(o,"DIV",{class:!0});var n=E(a);t=m(n,"DIV",{class:!0});var y=E(t);i=m(y,"DIV",{class:!0});var G=E(i);e=m(G,"DIV",{"data-svelte-h":!0}),le(e)!=="svelte-1uq6gq2"&&(e.innerHTML=A),I=C(G),D=m(G,"DIV",{});var B=E(D);c=m(B,"SMALL",{class:!0});var H=E(c);r=j(H,"v"),_=j(H,s[3]),H.forEach(S),B.forEach(S),G.forEach(S),F=C(y),w=m(y,"DIV",{class:!0});var J=E(w);L=j(J,s[2]),J.forEach(S),u=C(y),b=m(y,"DIV",{class:!0});var K=E(b);f=m(K,"A",{title:!0,href:!0,class:!0});var Q=E(f);V=j(Q,M),Q.forEach(S),K.forEach(S),y.forEach(S),R=C(n),d&&d.l(n),n.forEach(S),this.h()},h(){v(c,"class","versionstring"),v(i,"class","programname"),v(w,"class","title"),v(f,"title",q=s[0]!==s[4].SINGLE?"Switch to Advisory":"Switch to Overview"),v(f,"href",s[1]),v(f,"class","btn"),v(b,"class","switchbtn"),v(t,"class","header"),v(a,"class","content")},m(o,n){ae(o,a,n),l(a,t),l(t,i),l(i,e),l(i,I),l(i,D),l(D,c),l(c,r),l(c,_),l(t,F),l(t,w),l(w,L),l(t,u),l(t,b),l(b,f),l(f,V),l(a,R),d&&d.m(a,null),h=!0,k||(W=[P(window,"dragover",s[5]),P(window,"drop",s[5]),P(window,"popstate",s[10]),P(f,"click",s[6])],k=!0)},p(o,[n]){(!h||n&4)&&U(L,o[2]),(!h||n&1)&&M!==(M=o[0]!==o[4].SINGLE?"Switch to Advisory":"Switch to Overview")&&U(V,M),(!h||n&1&&q!==(q=o[0]!==o[4].SINGLE?"Switch to Advisory":"Switch to Overview"))&&v(f,"title",q),(!h||n&2)&&v(f,"href",o[1]),d&&d.p&&(!h||n&256)&&Z(d,z,o,o[8],h?x(z,o[8],n,null):$(o[8]),null)},i(o){h||(ie(d,o),h=!0)},o(o){re(d,o),h=!1},d(o){o&&S(a),d&&d.d(o),k=!1,ee(W)}}}function ce(s,a,t){let i,e;te(s,O,u=>t(7,e=u));let{$$slots:A={},$$scope:I}=a;const D="1.0.0",c={SINGLE:"Switch to ROLIE-feed",FEED:"Switch to single view"};let r="",_="Advisory";const F=u=>{u.preventDefault()},w=u=>{O.setSelectedCVE(""),O.setSelectedProduct("")},L=()=>{O.setFeedErrorMsg(""),O.setSingleErrorMsg("")};return s.$$set=u=>{"$$scope"in u&&t(8,I=u.$$scope)},s.$$.update=()=>{s.$$.dirty&128&&t(0,i=e.ui.appMode),s.$$.dirty&129&&(i===c.SINGLE?e.doc&&e.doc.title?t(2,_=`${e.doc.id}: ${e.doc.title}`):t(2,_="Advisory"):e.currentFeed?t(2,_="ROLIE-Feed"):e.providerMetadata?t(2,_="Provider Metadata"):t(2,_="Overview")),s.$$.dirty&129&&(i===c.SINGLE?e.ui.lastFeed?e.ui.lastDoc?t(1,r=`${g}/feed?q=${e.ui.lastFeed}&doc=${e.ui.lastDoc}`):t(1,r=`${g}/feed?q=${e.ui.lastFeed}`):e.ui.lastDoc?t(1,r=`${g}/feed?doc=${e.ui.lastDoc}`):t(1,r=`${g}/feed`):e.ui.lastDoc?e.ui.lastFeed?t(1,r=`${g}/?q=${e.ui.lastDoc}&feed=${e.ui.lastFeed}`):t(1,r=`${g}/?q=${e.ui.lastDoc}`):e.ui.lastFeed?t(1,r=`${g}/?feed=${e.ui.lastFeed}`):t(1,r=`${g}/`))},[i,r,_,D,c,F,w,e,I,A,L]}class pe extends se{constructor(a){super(),oe(this,a,ce,ne,X,{})}}export{pe as component,he as universal}; diff --git a/build/_app/immutable/nodes/1.bd498a55.js b/build/_app/immutable/nodes/1.7f8496cc.js similarity index 92% rename from build/_app/immutable/nodes/1.bd498a55.js rename to build/_app/immutable/nodes/1.7f8496cc.js index 8d847ed..6192ab4 100644 --- a/build/_app/immutable/nodes/1.bd498a55.js +++ b/build/_app/immutable/nodes/1.7f8496cc.js @@ -1 +1 @@ -import{s as x,n as u,e as y}from"../chunks/scheduler.cc1c0861.js";import{S,i as j,g as h,m as d,s as q,h as v,j as g,n as E,f as m,c as C,a as _,y as $,o as b}from"../chunks/index.7a644faf.js";import{p as H}from"../chunks/stores.eb2874b7.js";function P(p){var f;let a,t=p[0].status+"",r,o,n,i=((f=p[0].error)==null?void 0:f.message)+"",c;return{c(){a=h("h1"),r=d(t),o=q(),n=h("p"),c=d(i)},l(e){a=v(e,"H1",{});var s=g(a);r=E(s,t),s.forEach(m),o=C(e),n=v(e,"P",{});var l=g(n);c=E(l,i),l.forEach(m)},m(e,s){_(e,a,s),$(a,r),_(e,o,s),_(e,n,s),$(n,c)},p(e,[s]){var l;s&1&&t!==(t=e[0].status+"")&&b(r,t),s&1&&i!==(i=((l=e[0].error)==null?void 0:l.message)+"")&&b(c,i)},i:u,o:u,d(e){e&&(m(a),m(o),m(n))}}}function k(p,a,t){let r;return y(p,H,o=>t(0,r=o)),[r]}class B extends S{constructor(a){super(),j(this,a,k,P,x,{})}}export{B as component}; +import{s as x,n as u,e as y}from"../chunks/scheduler.cc1c0861.js";import{S,i as j,g as h,m as d,s as q,h as v,j as g,n as E,f as m,c as C,a as _,y as $,o as b}from"../chunks/index.7a644faf.js";import{p as H}from"../chunks/stores.bde7595e.js";function P(p){var f;let a,t=p[0].status+"",r,o,n,i=((f=p[0].error)==null?void 0:f.message)+"",c;return{c(){a=h("h1"),r=d(t),o=q(),n=h("p"),c=d(i)},l(e){a=v(e,"H1",{});var s=g(a);r=E(s,t),s.forEach(m),o=C(e),n=v(e,"P",{});var l=g(n);c=E(l,i),l.forEach(m)},m(e,s){_(e,a,s),$(a,r),_(e,o,s),_(e,n,s),$(n,c)},p(e,[s]){var l;s&1&&t!==(t=e[0].status+"")&&b(r,t),s&1&&i!==(i=((l=e[0].error)==null?void 0:l.message)+"")&&b(c,i)},i:u,o:u,d(e){e&&(m(a),m(o),m(n))}}}function k(p,a,t){let r;return y(p,H,o=>t(0,r=o)),[r]}class B extends S{constructor(a){super(),j(this,a,k,P,x,{})}}export{B as component}; diff --git a/build/_app/immutable/nodes/2.e43d1b03.js b/build/_app/immutable/nodes/2.667ee2c5.js similarity index 99% rename from build/_app/immutable/nodes/2.e43d1b03.js rename to build/_app/immutable/nodes/2.667ee2c5.js index c4b81c0..2e97baf 100644 --- a/build/_app/immutable/nodes/2.e43d1b03.js +++ b/build/_app/immutable/nodes/2.667ee2c5.js @@ -1,3 +1,3 @@ -import{s as x,n as oe,r as Qn,e as Ne,t as Ot,b as ri,o as ni}from"../chunks/scheduler.cc1c0861.js";import{S as ee,i as te,g as k,m as K,h as T,j as C,n as W,f as _,k as N,A as ge,a as w,y as h,z as We,B as vl,o as Q,s as D,c as y,C as ae,r as P,e as H,u as S,v as I,d as c,p as B,t as p,b as U,w as V,H as ii,x as ne,D as si,l as fi}from"../chunks/index.7a644faf.js";import{a as X}from"../chunks/store.b3c2dff0.js";import{c as ai,e as Y,K as Ie,p as bl,m as Qt,C as ie,S as kl,T as Gt,P as Fe,U as oi,B as ui,a as ci,l as Tl}from"../chunks/Spinner.a9554a1c.js";import{p as di}from"../chunks/stores.eb2874b7.js";import{b as pi}from"../chunks/paths.9104f388.js";const Zn=s=>{const t=new FileReader;let r={};t.onload=e=>{if(e.target){try{r=JSON.parse(e.target.result)}catch{}const l=ai(r);X.setDocument(l)}},t.readAsText(s)};function wl(s){let t;return{c(){t=k("i"),this.h()},l(r){t=T(r,"I",{class:!0}),C(t).forEach(_),this.h()},h(){N(t,"class","bx bx-error")},m(r,e){w(r,t,e)},d(r){r&&_(t)}}}function _i(s){let t,r,e,l,n=s[3]&&wl();return{c(){t=k("div"),n&&n.c(),r=K(s[2]),this.h()},l(i){t=T(i,"DIV",{title:!0,class:!0});var f=C(t);n&&n.l(f),r=W(f,s[2]),f.forEach(_),this.h()},h(){N(t,"title","Drop a CSAF file here"),N(t,"class","droparea svelte-1m3u4ca"),ge(t,"hover",s[1]),ge(t,"droparea-error",s[0]==!1),ge(t,"droparea-okay",s[0]==!0)},m(i,f){w(i,t,f),n&&n.m(t,null),h(t,r),e||(l=[We(t,"dragover",vl(s[6])),We(t,"dragleave",s[7]),We(t,"drop",vl(s[4]))],e=!0)},p(i,[f]){i[3]?n||(n=wl(),n.c(),n.m(t,r)):n&&(n.d(1),n=null),f&4&&Q(r,i[2]),f&2&&ge(t,"hover",i[1]),f&1&&ge(t,"droparea-error",i[0]==!1),f&1&&ge(t,"droparea-okay",i[0]==!0)},i:oe,o:oe,d(i){i&&_(t),n&&n.d(),e=!1,Qn(l)}}}function $i(s,t,r){let e,l;Ne(s,X,d=>r(5,l=d));let n=!1,i=null,f="Drop your CSAF-file here";const a=d=>{if(d.dataTransfer){X.reset(),X.clearUploadedFile();const m=d.dataTransfer.files[0];m.type=="application/json"?(r(0,i=!0),r(2,f=`Displaying file "${m.name}".`),Zn(m)):(r(2,f=`File "${m.name}" has an invalid format.`),r(0,i=!1),X.reset())}},o=()=>{r(1,n=!0)},u=()=>{r(1,n=!1)};return s.$$.update=()=>{s.$$.dirty&32&&l.ui.uploadedFile&&(r(2,f="Drop your CSAF-file here"),r(1,n=!1),r(0,i=null)),s.$$.dirty&1&&r(3,e=i===!1)},[i,n,f,e,a,l,o,u]}class mi extends ee{constructor(t){super(),te(this,t,$i,_i,x,{})}}function El(s,t,r){const e=s.slice();return e[2]=t[r],e}function Dl(s){let t,r=s[2]+"",e;return{c(){t=k("li"),e=K(r)},l(l){t=T(l,"LI",{});var n=C(t);e=W(n,r),n.forEach(_)},m(l,n){w(l,t,n),h(t,e)},p(l,n){n&1&&r!==(r=l[2]+"")&&Q(e,r)},d(l){l&&_(t)}}}function hi(s){let t,r,e,l,n=Y(s[0]),i=[];for(let f=0;f{"values"in n&&r(0,e=n.values),"label"in n&&r(1,l=n.label)},[e,l]}class Le extends ee{constructor(t){super(),te(this,t,gi,hi,x,{values:0,label:1})}}function yl(s){let t,r;return t=new Le({props:{label:"URLs",values:s[0].urls}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.values=e[0].urls),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function vi(s){let t,r,e,l;t=new Ie({props:{keys:s[1],values:s[2]}});let n=s[0].urls&&yl(s);return{c(){P(t.$$.fragment),r=D(),n&&n.c(),e=H()},l(i){S(t.$$.fragment,i),r=y(i),n&&n.l(i),e=H()},m(i,f){I(t,i,f),w(i,r,f),n&&n.m(i,f),w(i,e,f),l=!0},p(i,[f]){i[0].urls?n?(n.p(i,f),f&1&&c(n,1)):(n=yl(i),n.c(),c(n,1),n.m(e.parentNode,e)):n&&(B(),p(n,1,1,()=>{n=null}),U())},i(i){l||(c(t.$$.fragment,i),c(n),l=!0)},o(i){p(t.$$.fragment,i),p(n),l=!1},d(i){i&&(_(r),_(e)),V(t,i),n&&n.d(i)}}}function bi(s,t,r){let{ack:e}=t;const l=[],n=[];return e.names&&(l.push("Names"),n.push(e.names.join(", "))),e.organization&&(l.push("Organization"),n.push(e.organization)),e.summary&&(l.push("Summary"),n.push(e.summary)),s.$$set=i=>{"ack"in i&&r(0,e=i.ack)},[e,l,n]}class ki extends ee{constructor(t){super(),te(this,t,bi,vi,x,{ack:0})}}function Cl(s,t,r){const e=s.slice();return e[1]=t[r],e}function Pl(s){let t,r,e=Y(s[0]),l=[];for(let i=0;ip(l[i],1,1,()=>{l[i]=null});return{c(){for(let i=0;i{e=null}),U())},i(l){r||(c(e),r=!0)},o(l){p(e),r=!1},d(l){l&&_(t),e&&e.d(l)}}}function wi(s,t,r){let{acknowledegments:e}=t;return s.$$set=l=>{"acknowledegments"in l&&r(0,e=l.acknowledegments)},[e]}class xn extends ee{constructor(t){super(),te(this,t,wi,Ti,x,{acknowledegments:0})}}function Ei(s){let t,r,e,l="
Text
",n,i,f,a,o=bl.sanitize(Qt.parse(s[0].text.replace(/^[\u200B\u200C\u200D\u200E\u200F\uFEFF]/,"")))+"",u;return t=new Ie({props:{keys:s[1],values:s[2]}}),{c(){P(t.$$.fragment),r=D(),e=k("div"),e.innerHTML=l,n=D(),i=k("div"),f=k("div"),a=new ii(!1),this.h()},l(d){S(t.$$.fragment,d),r=y(d),e=T(d,"DIV",{class:!0,"data-svelte-h":!0}),ne(e)!=="svelte-hzyzj7"&&(e.innerHTML=l),n=y(d),i=T(d,"DIV",{class:!0});var m=C(i);f=T(m,"DIV",{class:!0});var v=C(f);a=si(v,!1),v.forEach(_),m.forEach(_),this.h()},h(){N(e,"class","category-name"),a.a=null,N(f,"class","display-markdown"),N(i,"class","markdown-text")},m(d,m){I(t,d,m),w(d,r,m),w(d,e,m),w(d,n,m),w(d,i,m),h(i,f),a.m(o,f),u=!0},p(d,[m]){(!u||m&1)&&o!==(o=bl.sanitize(Qt.parse(d[0].text.replace(/^[\u200B\u200C\u200D\u200E\u200F\uFEFF]/,"")))+"")&&a.p(o)},i(d){u||(c(t.$$.fragment,d),u=!0)},o(d){p(t.$$.fragment,d),u=!1},d(d){d&&(_(r),_(e),_(n),_(i)),V(t,d)}}}function Di(s,t,r){Qt.use({gfm:!0});let{note:e}=t,l=[],n=[];return e.audience&&(l.push("Audience"),n.push(e.audience)),e.title&&(l.push("Title"),n.push(e.title)),s.$$set=i=>{"note"in i&&r(0,e=i.note)},[e,l,n]}class yi extends ee{constructor(t){super(),te(this,t,Di,Ei,x,{note:0})}}function Il(s,t,r){const e=s.slice();return e[1]=t[r],e}function Vl(s){let t,r,e=Y(s[0]),l=[];for(let i=0;ip(l[i],1,1,()=>{l[i]=null});return{c(){for(let i=0;i{e=null}),U())},i(l){r||(c(e),r=!0)},o(l){p(e),r=!1},d(l){l&&_(t),e&&e.d(l)}}}function Si(s,t,r){let{notes:e}=t;return s.$$set=l=>{"notes"in l&&r(0,e=l.notes)},[e]}class ei extends ee{constructor(t){super(),te(this,t,Si,Pi,x,{notes:0})}}function Ii(s){let t,r,e;return r=new Ie({props:{keys:s[0],values:s[1]}}),{c(){t=k("div"),P(r.$$.fragment),this.h()},l(l){t=T(l,"DIV",{class:!0});var n=C(t);S(r.$$.fragment,n),n.forEach(_),this.h()},h(){N(t,"class","reference")},m(l,n){w(l,t,n),I(r,t,null),e=!0},p:oe,i(l){e||(c(r.$$.fragment,l),e=!0)},o(l){p(r.$$.fragment,l),e=!1},d(l){l&&_(t),V(r)}}}function Vi(s,t,r){let{reference:e}=t,l=[],n=[];return e.category&&(l.push("Category"),n.push(e.category)),l.push("Summary"),n.push(e.summary),l.push("URL"),n.push(e.url),s.$$set=i=>{"reference"in i&&r(2,e=i.reference)},[l,n,e]}class Ni extends ee{constructor(t){super(),te(this,t,Vi,Ii,x,{reference:2})}}function Rl(s,t,r){const e=s.slice();return e[1]=t[r],e[3]=r,e}function Al(s){let t,r,e=Y(s[0]),l=[];for(let i=0;ip(l[i],1,1,()=>{l[i]=null});return{c(){for(let i=0;i1&&s[3]1&&i[3]{e=null}),U())},i(l){r||(c(e),r=!0)},o(l){p(e),r=!1},d(l){l&&_(t),e&&e.d(l)}}}function Ai(s,t,r){let{references:e}=t;return s.$$set=l=>{"references"in l&&r(0,e=l.references)},[e]}class ti extends ee{constructor(t){super(),te(this,t,Ai,Ri,x,{references:0})}}function Bl(s,t,r){const e=s.slice();return e[1]=t[r],e}function Ul(s){var o;let t,r,e,l='Date Number Summary Legacy_version',n,i,f=Y((o=s[0].doc)==null?void 0:o.revisionHistory),a=[];for(let u=0;ur(0,e=l)),[e]}class Bi extends ee{constructor(t){super(),te(this,t,Fi,Li,x,{})}}function Gl(s){var m,v;let t,r,e="Aggregate severity text",l,n,i,f=((m=s[1].doc)==null?void 0:m.aggregateSeverity.text)+"",a,o,u,d=((v=s[1].doc)==null?void 0:v.aggregateSeverity.namespace)&&Ol(s);return{c(){t=k("tr"),r=k("td"),r.textContent=e,l=D(),n=k("td"),i=k("span"),a=K(f),o=D(),d&&d.c(),u=H(),this.h()},l($){t=T($,"TR",{});var g=C(t);r=T(g,"TD",{class:!0,"data-svelte-h":!0}),ne(r)!=="svelte-ezcjpd"&&(r.textContent=e),l=y(g),n=T(g,"TD",{class:!0});var b=C(n);i=T(b,"SPAN",{});var E=C(i);a=W(E,f),E.forEach(_),b.forEach(_),g.forEach(_),o=y($),d&&d.l($),u=H(),this.h()},h(){N(r,"class","key"),N(n,"class","value")},m($,g){w($,t,g),h(t,r),h(t,l),h(t,n),h(n,i),h(i,a),w($,o,g),d&&d.m($,g),w($,u,g)},p($,g){var b,E;g&2&&f!==(f=((b=$[1].doc)==null?void 0:b.aggregateSeverity.text)+"")&&Q(a,f),(E=$[1].doc)!=null&&E.aggregateSeverity.namespace?d?d.p($,g):(d=Ol($),d.c(),d.m(u.parentNode,u)):d&&(d.d(1),d=null)},d($){$&&(_(t),_(o),_(u)),d&&d.d($)}}}function Ol(s){var o;let t,r,e="Aggregate severity namespace",l,n,i,f=((o=s[1].doc)==null?void 0:o.aggregateSeverity.namespace)+"",a;return{c(){t=k("tr"),r=k("td"),r.textContent=e,l=D(),n=k("td"),i=k("span"),a=K(f),this.h()},l(u){t=T(u,"TR",{});var d=C(t);r=T(d,"TD",{class:!0,"data-svelte-h":!0}),ne(r)!=="svelte-1v0c13f"&&(r.textContent=e),l=y(d),n=T(d,"TD",{class:!0});var m=C(n);i=T(m,"SPAN",{});var v=C(i);a=W(v,f),v.forEach(_),m.forEach(_),d.forEach(_),this.h()},h(){N(r,"class","key"),N(n,"class","value")},m(u,d){w(u,t,d),h(t,r),h(t,l),h(t,n),h(n,i),h(i,a)},p(u,d){var m;d&2&&f!==(f=((m=u[1].doc)==null?void 0:m.aggregateSeverity.namespace)+"")&&Q(a,f)},d(u){u&&_(t)}}}function Ml(s){var o;let t,r,e="TLP",l,n,i,f=((o=s[0])==null?void 0:o.label)+"",a;return{c(){t=k("tr"),r=k("td"),r.textContent=e,l=D(),n=k("td"),i=k("span"),a=K(f),this.h()},l(u){t=T(u,"TR",{});var d=C(t);r=T(d,"TD",{class:!0,"data-svelte-h":!0}),ne(r)!=="svelte-1vf2b9m"&&(r.textContent=e),l=y(d),n=T(d,"TD",{class:!0});var m=C(n);i=T(m,"SPAN",{class:!0});var v=C(i);a=W(v,f),v.forEach(_),m.forEach(_),d.forEach(_),this.h()},h(){N(r,"class","key"),N(i,"class",s[2]),N(n,"class","value")},m(u,d){w(u,t,d),h(t,r),h(t,l),h(t,n),h(n,i),h(i,a)},p(u,d){var m;d&1&&f!==(f=((m=u[0])==null?void 0:m.label)+"")&&Q(a,f),d&4&&N(i,"class",u[2])},d(u){u&&_(t)}}}function zl(s){var o;let t,r,e="TLP URL",l,n,i,f=((o=s[0])==null?void 0:o.url)+"",a;return{c(){t=k("tr"),r=k("td"),r.textContent=e,l=D(),n=k("td"),i=k("a"),a=K(f),this.h()},l(u){t=T(u,"TR",{});var d=C(t);r=T(d,"TD",{class:!0,"data-svelte-h":!0}),ne(r)!=="svelte-u8djht"&&(r.textContent=e),l=y(d),n=T(d,"TD",{class:!0});var m=C(n);i=T(m,"A",{href:!0});var v=C(i);a=W(v,f),v.forEach(_),m.forEach(_),d.forEach(_),this.h()},h(){N(r,"class","key"),N(i,"href",s[7]),N(n,"class","value")},m(u,d){w(u,t,d),h(t,r),h(t,l),h(t,n),h(n,i),h(i,a)},p(u,d){var m;d&1&&f!==(f=((m=u[0])==null?void 0:m.url)+"")&&Q(a,f),d&128&&N(i,"href",u[7])},d(u){u&&_(t)}}}function jl(s){let t,r,e="Publisher issuing authority",l,n,i;return{c(){t=k("tr"),r=k("td"),r.textContent=e,l=D(),n=k("td"),i=K(s[14]),this.h()},l(f){t=T(f,"TR",{});var a=C(t);r=T(a,"TD",{class:!0,"data-svelte-h":!0}),ne(r)!=="svelte-owj94d"&&(r.textContent=e),l=y(a),n=T(a,"TD",{class:!0});var o=C(n);i=W(o,s[14]),o.forEach(_),a.forEach(_),this.h()},h(){N(r,"class","key"),N(n,"class","value")},m(f,a){w(f,t,a),h(t,r),h(t,l),h(t,n),h(n,i)},p(f,a){a&16384&&Q(i,f[14])},d(f){f&&_(t)}}}function Kl(s){let t,r,e="Publisher contact details",l,n,i;return{c(){t=k("tr"),r=k("td"),r.textContent=e,l=D(),n=k("td"),i=K(s[13]),this.h()},l(f){t=T(f,"TR",{});var a=C(t);r=T(a,"TD",{class:!0,"data-svelte-h":!0}),ne(r)!=="svelte-1v84nzg"&&(r.textContent=e),l=y(a),n=T(a,"TD",{class:!0});var o=C(n);i=W(o,s[13]),o.forEach(_),a.forEach(_),this.h()},h(){N(r,"class","key"),N(n,"class","value")},m(f,a){w(f,t,a),h(t,r),h(t,l),h(t,n),h(n,i)},p(f,a){a&8192&&Q(i,f[13])},d(f){f&&_(t)}}}function Wl(s){let t,r,e="Language",l,n,i;return{c(){t=k("tr"),r=k("td"),r.textContent=e,l=D(),n=k("td"),i=K(s[10]),this.h()},l(f){t=T(f,"TR",{});var a=C(t);r=T(a,"TD",{class:!0,"data-svelte-h":!0}),ne(r)!=="svelte-1nwqfls"&&(r.textContent=e),l=y(a),n=T(a,"TD",{class:!0});var o=C(n);i=W(o,s[10]),o.forEach(_),a.forEach(_),this.h()},h(){N(r,"class","key"),N(n,"class","value")},m(f,a){w(f,t,a),h(t,r),h(t,l),h(t,n),h(n,i)},p(f,a){a&1024&&Q(i,f[10])},d(f){f&&_(t)}}}function Xl(s){let t,r,e="Source lang",l,n,i;return{c(){t=k("tr"),r=k("td"),r.textContent=e,l=D(),n=k("td"),i=K(s[9]),this.h()},l(f){t=T(f,"TR",{});var a=C(t);r=T(a,"TD",{class:!0,"data-svelte-h":!0}),ne(r)!=="svelte-l6sg4f"&&(r.textContent=e),l=y(a),n=T(a,"TD",{class:!0});var o=C(n);i=W(o,s[9]),o.forEach(_),a.forEach(_),this.h()},h(){N(r,"class","key"),N(n,"class","value")},m(f,a){w(f,t,a),h(t,r),h(t,l),h(t,n),h(n,i)},p(f,a){a&512&&Q(i,f[9])},d(f){f&&_(t)}}}function Yl(s){let t,r,e="Status",l,n,i;return{c(){t=k("tr"),r=k("td"),r.textContent=e,l=D(),n=k("td"),i=K(s[3]),this.h()},l(f){t=T(f,"TR",{});var a=C(t);r=T(a,"TD",{class:!0,"data-svelte-h":!0}),ne(r)!=="svelte-c0zrrs"&&(r.textContent=e),l=y(a),n=T(a,"TD",{class:!0});var o=C(n);i=W(o,s[3]),o.forEach(_),a.forEach(_),this.h()},h(){N(r,"class","key"),N(n,"class","value")},m(f,a){w(f,t,a),h(t,r),h(t,l),h(t,n),h(n,i)},p(f,a){a&8&&Q(i,f[3])},d(f){f&&_(t)}}}function Jl(s){var o,u;let t,r,e="Generator engine",l,n,i,f=((u=(o=s[1].doc)==null?void 0:o.generator)==null?void 0:u.engine.name)+"",a;return{c(){t=k("tr"),r=k("td"),r.textContent=e,l=D(),n=k("td"),i=k("span"),a=K(f),this.h()},l(d){t=T(d,"TR",{});var m=C(t);r=T(m,"TD",{class:!0,"data-svelte-h":!0}),ne(r)!=="svelte-bkkv2f"&&(r.textContent=e),l=y(m),n=T(m,"TD",{class:!0});var v=C(n);i=T(v,"SPAN",{});var $=C(i);a=W($,f),$.forEach(_),v.forEach(_),m.forEach(_),this.h()},h(){N(r,"class","key"),N(n,"class","value")},m(d,m){w(d,t,m),h(t,r),h(t,l),h(t,n),h(n,i),h(i,a)},p(d,m){var v,$;m&2&&f!==(f=(($=(v=d[1].doc)==null?void 0:v.generator)==null?void 0:$.engine.name)+"")&&Q(a,f)},d(d){d&&_(t)}}}function Ql(s){var o,u;let t,r,e="Generator engine version",l,n,i,f=((u=(o=s[1].doc)==null?void 0:o.generator)==null?void 0:u.engine.version)+"",a;return{c(){t=k("tr"),r=k("td"),r.textContent=e,l=D(),n=k("td"),i=k("span"),a=K(f),this.h()},l(d){t=T(d,"TR",{});var m=C(t);r=T(m,"TD",{class:!0,"data-svelte-h":!0}),ne(r)!=="svelte-ancfz"&&(r.textContent=e),l=y(m),n=T(m,"TD",{class:!0});var v=C(n);i=T(v,"SPAN",{});var $=C(i);a=W($,f),$.forEach(_),v.forEach(_),m.forEach(_),this.h()},h(){N(r,"class","key"),N(n,"class","value")},m(d,m){w(d,t,m),h(t,r),h(t,l),h(t,n),h(n,i),h(i,a)},p(d,m){var v,$;m&2&&f!==(f=(($=(v=d[1].doc)==null?void 0:v.generator)==null?void 0:$.engine.version)+"")&&Q(a,f)},d(d){d&&_(t)}}}function Zl(s){var o;let t,r,e="Generator date",l,n,i,f=((o=s[18])==null?void 0:o.date)+"",a;return{c(){t=k("tr"),r=k("td"),r.textContent=e,l=D(),n=k("td"),i=k("span"),a=K(f),this.h()},l(u){t=T(u,"TR",{});var d=C(t);r=T(d,"TD",{class:!0,"data-svelte-h":!0}),ne(r)!=="svelte-1jp3tqp"&&(r.textContent=e),l=y(d),n=T(d,"TD",{class:!0});var m=C(n);i=T(m,"SPAN",{});var v=C(i);a=W(v,f),v.forEach(_),m.forEach(_),d.forEach(_),this.h()},h(){N(r,"class","key"),N(n,"class","value")},m(u,d){w(u,t,d),h(t,r),h(t,l),h(t,n),h(n,i),h(i,a)},p(u,d){var m;d&262144&&f!==(f=((m=u[18])==null?void 0:m.date)+"")&&Q(a,f)},d(u){u&&_(t)}}}function xl(s){let t,r;return t=new Le({props:{label:"Aliases",values:s[20]}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1048576&&(n.values=e[20]),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function er(s){let t,r,e;return r=new ie({props:{header:"Revision history",level:"3",open:s[1].ui.isRevisionHistoryVisible,$$slots:{default:[Ui]},$$scope:{ctx:s}}}),{c(){t=k("div"),P(r.$$.fragment),this.h()},l(l){t=T(l,"DIV",{class:!0});var n=C(t);S(r.$$.fragment,n),n.forEach(_),this.h()},h(){N(t,"class","subsection")},m(l,n){w(l,t,n),I(r,t,null),e=!0},p(l,n){const i={};n&2&&(i.open=l[1].ui.isRevisionHistoryVisible),n&2097152&&(i.$$scope={dirty:n,ctx:l}),r.$set(i)},i(l){e||(c(r.$$.fragment,l),e=!0)},o(l){p(r.$$.fragment,l),e=!1},d(l){l&&_(t),V(r)}}}function Ui(s){let t,r;return t=new Bi({}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function tr(s){let t,r,e;return r=new ie({props:{header:"Notes",level:"3",$$slots:{default:[qi]},$$scope:{ctx:s}}}),{c(){t=k("div"),P(r.$$.fragment),this.h()},l(l){t=T(l,"DIV",{class:!0});var n=C(t);S(r.$$.fragment,n),n.forEach(_),this.h()},h(){N(t,"class","subsection")},m(l,n){w(l,t,n),I(r,t,null),e=!0},p(l,n){const i={};n&2097154&&(i.$$scope={dirty:n,ctx:l}),r.$set(i)},i(l){e||(c(r.$$.fragment,l),e=!0)},o(l){p(r.$$.fragment,l),e=!1},d(l){l&&_(t),V(r)}}}function qi(s){var e;let t,r;return t=new ei({props:{notes:(e=s[1].doc)==null?void 0:e.notes}}),{c(){P(t.$$.fragment)},l(l){S(t.$$.fragment,l)},m(l,n){I(t,l,n),r=!0},p(l,n){var f;const i={};n&2&&(i.notes=(f=l[1].doc)==null?void 0:f.notes),t.$set(i)},i(l){r||(c(t.$$.fragment,l),r=!0)},o(l){p(t.$$.fragment,l),r=!1},d(l){V(t,l)}}}function lr(s){let t,r,e;return r=new ie({props:{header:"Acknowledgements",level:"3",$$slots:{default:[Hi]},$$scope:{ctx:s}}}),{c(){t=k("div"),P(r.$$.fragment),this.h()},l(l){t=T(l,"DIV",{class:!0});var n=C(t);S(r.$$.fragment,n),n.forEach(_),this.h()},h(){N(t,"class","subsection")},m(l,n){w(l,t,n),I(r,t,null),e=!0},p(l,n){const i={};n&2097154&&(i.$$scope={dirty:n,ctx:l}),r.$set(i)},i(l){e||(c(r.$$.fragment,l),e=!0)},o(l){p(r.$$.fragment,l),e=!1},d(l){l&&_(t),V(r)}}}function Hi(s){var e;let t,r;return t=new xn({props:{acknowledgments:(e=s[1].doc)==null?void 0:e.acknowledgements}}),{c(){P(t.$$.fragment)},l(l){S(t.$$.fragment,l)},m(l,n){I(t,l,n),r=!0},p(l,n){var f;const i={};n&2&&(i.acknowledgments=(f=l[1].doc)==null?void 0:f.acknowledgements),t.$set(i)},i(l){r||(c(t.$$.fragment,l),r=!0)},o(l){p(t.$$.fragment,l),r=!1},d(l){V(t,l)}}}function rr(s){let t,r,e;return r=new ie({props:{header:"References",level:"3",$$slots:{default:[Gi]},$$scope:{ctx:s}}}),{c(){t=k("div"),P(r.$$.fragment),this.h()},l(l){t=T(l,"DIV",{class:!0});var n=C(t);S(r.$$.fragment,n),n.forEach(_),this.h()},h(){N(t,"class","subsection")},m(l,n){w(l,t,n),I(r,t,null),e=!0},p(l,n){const i={};n&2097154&&(i.$$scope={dirty:n,ctx:l}),r.$set(i)},i(l){e||(c(r.$$.fragment,l),e=!0)},o(l){p(r.$$.fragment,l),e=!1},d(l){l&&_(t),V(r)}}}function Gi(s){var e;let t,r;return t=new ti({props:{references:(e=s[1].doc)==null?void 0:e.references}}),{c(){P(t.$$.fragment)},l(l){S(t.$$.fragment,l)},m(l,n){I(t,l,n),r=!0},p(l,n){var f;const i={};n&2&&(i.references=(f=l[1].doc)==null?void 0:f.references),t.$set(i)},i(l){r||(c(t.$$.fragment,l),r=!0)},o(l){p(t.$$.fragment,l),r=!1},d(l){V(t,l)}}}function Oi(s){var rl,nl,il,sl,fl,al,ol,ul,cl,dl;let t,r,e,l,n="ID",i,f,a,o,u,d,m="CSAF-Version",v,$,g,b,E,q,G,z,O,R="Category",M,j,le,F,A,ue,Be="Title",se,re,fe,Ve,me,he,Xe="Publisher name",ze,Re,Ue,je,qe,He,vt="Publisher category",at,Ke,Je,ot,Ge,Oe,xt="Publisher namespace",Mt,ut,Et,zt,Dt,yt,Ct,Pt,Qe,Ze,el="Published",jt,ct,St,Kt,xe,et,tl="Last update",Wt,dt,It,Xt,tt,lt,ll="Tracking Version",Yt,pt,Vt,Jt,Nt,Rt,At,Lt,_t,$t,mt,ht,gt,Ae,ve=((rl=s[1].doc)==null?void 0:rl.aggregateSeverity)&&Gl(s),be=((nl=s[0])==null?void 0:nl.label)&&Ml(s),ke=((il=s[0])==null?void 0:il.url)&&zl(s),Te=s[14]&&jl(s),we=s[13]&&Kl(s),Ee=s[10]&&Wl(s),De=s[9]&&Xl(s),ye=((sl=s[1].doc)==null?void 0:sl.status)!==kl.final&&Yl(s),Ce=s[18]&&Jl(s),Pe=((al=(fl=s[18])==null?void 0:fl.engine)==null?void 0:al.version)&&Ql(s),Se=((ol=s[18])==null?void 0:ol.date)&&Zl(s),ce=s[20]&&xl(s),de=((ul=s[1].doc)==null?void 0:ul.isRevisionHistoryPresent)&&er(s),pe=((cl=s[1].doc)==null?void 0:cl.notes)&&tr(s),_e=((dl=s[1].doc)==null?void 0:dl.acknowledgements)&&lr(s),$e=s[1].doc&&s[1].doc.references.length>0&&rr(s);return{c(){t=k("div"),r=k("table"),e=k("tr"),l=k("td"),l.textContent=n,i=D(),f=k("td"),a=K(s[6]),o=D(),u=k("tr"),d=k("td"),d.textContent=m,v=D(),$=k("td"),g=K(s[8]),b=D(),ve&&ve.c(),E=D(),be&&be.c(),q=D(),ke&&ke.c(),G=D(),z=k("tr"),O=k("td"),O.textContent=R,M=D(),j=k("td"),le=K(s[12]),F=D(),A=k("tr"),ue=k("td"),ue.textContent=Be,se=D(),re=k("td"),fe=K(s[11]),Ve=D(),me=k("tr"),he=k("td"),he.textContent=Xe,ze=D(),Re=k("td"),Ue=K(s[17]),je=D(),qe=k("tr"),He=k("td"),He.textContent=vt,at=D(),Ke=k("td"),Je=K(s[16]),ot=D(),Ge=k("tr"),Oe=k("td"),Oe.textContent=xt,Mt=D(),ut=k("td"),Et=K(s[15]),zt=D(),Te&&Te.c(),Dt=D(),we&&we.c(),yt=D(),Ee&&Ee.c(),Ct=D(),De&&De.c(),Pt=D(),Qe=k("tr"),Ze=k("td"),Ze.textContent=el,jt=D(),ct=k("td"),St=K(s[5]),Kt=D(),xe=k("tr"),et=k("td"),et.textContent=tl,Wt=D(),dt=k("td"),It=K(s[4]),Xt=D(),tt=k("tr"),lt=k("td"),lt.textContent=ll,Yt=D(),pt=k("td"),Vt=K(s[19]),Jt=D(),ye&&ye.c(),Nt=D(),Ce&&Ce.c(),Rt=D(),Pe&&Pe.c(),At=D(),Se&&Se.c(),Lt=D(),ce&&ce.c(),_t=D(),de&&de.c(),$t=D(),pe&&pe.c(),mt=D(),_e&&_e.c(),ht=D(),$e&&$e.c(),gt=H(),this.h()},l(L){t=T(L,"DIV",{class:!0});var J=C(t);r=T(J,"TABLE",{});var Z=C(r);e=T(Z,"TR",{});var rt=C(e);l=T(rt,"TD",{class:!0,"data-svelte-h":!0}),ne(l)!=="svelte-1app9cr"&&(l.textContent=n),i=y(rt),f=T(rt,"TD",{class:!0});var bt=C(f);a=W(bt,s[6]),bt.forEach(_),rt.forEach(_),o=y(Z),u=T(Z,"TR",{});var nt=C(u);d=T(nt,"TD",{class:!0,"data-svelte-h":!0}),ne(d)!=="svelte-1ha1hai"&&(d.textContent=m),v=y(nt),$=T(nt,"TD",{class:!0});var kt=C($);g=W(kt,s[8]),kt.forEach(_),nt.forEach(_),b=y(Z),ve&&ve.l(Z),E=y(Z),be&&be.l(Z),q=y(Z),ke&&ke.l(Z),G=y(Z),z=T(Z,"TR",{});var it=C(z);O=T(it,"TD",{class:!0,"data-svelte-h":!0}),ne(O)!=="svelte-1abrskq"&&(O.textContent=R),M=y(it),j=T(it,"TD",{class:!0});var Tt=C(j);le=W(Tt,s[12]),Tt.forEach(_),it.forEach(_),F=y(Z),A=T(Z,"TR",{});var st=C(A);ue=T(st,"TD",{class:!0,"data-svelte-h":!0}),ne(ue)!=="svelte-185dae0"&&(ue.textContent=Be),se=y(st),re=T(st,"TD",{class:!0});var wt=C(re);fe=W(wt,s[11]),wt.forEach(_),st.forEach(_),Ve=y(Z),me=T(Z,"TR",{});var ft=C(me);he=T(ft,"TD",{class:!0,"data-svelte-h":!0}),ne(he)!=="svelte-1mla5lp"&&(he.textContent=Xe),ze=y(ft),Re=T(ft,"TD",{class:!0});var pl=C(Re);Ue=W(pl,s[17]),pl.forEach(_),ft.forEach(_),je=y(Z),qe=T(Z,"TR",{});var Ft=C(qe);He=T(Ft,"TD",{class:!0,"data-svelte-h":!0}),ne(He)!=="svelte-cj9ieu"&&(He.textContent=vt),at=y(Ft),Ke=T(Ft,"TD",{class:!0});var _l=C(Ke);Je=W(_l,s[16]),_l.forEach(_),Ft.forEach(_),ot=y(Z),Ge=T(Z,"TR",{});var Bt=C(Ge);Oe=T(Bt,"TD",{class:!0,"data-svelte-h":!0}),ne(Oe)!=="svelte-myc2bf"&&(Oe.textContent=xt),Mt=y(Bt),ut=T(Bt,"TD",{class:!0});var $l=C(ut);Et=W($l,s[15]),$l.forEach(_),Bt.forEach(_),zt=y(Z),Te&&Te.l(Z),Dt=y(Z),we&&we.l(Z),yt=y(Z),Ee&&Ee.l(Z),Ct=y(Z),De&&De.l(Z),Pt=y(Z),Qe=T(Z,"TR",{});var Ut=C(Qe);Ze=T(Ut,"TD",{class:!0,"data-svelte-h":!0}),ne(Ze)!=="svelte-6in5ss"&&(Ze.textContent=el),jt=y(Ut),ct=T(Ut,"TD",{class:!0});var ml=C(ct);St=W(ml,s[5]),ml.forEach(_),Ut.forEach(_),Kt=y(Z),xe=T(Z,"TR",{});var qt=C(xe);et=T(qt,"TD",{class:!0,"data-svelte-h":!0}),ne(et)!=="svelte-qarsvx"&&(et.textContent=tl),Wt=y(qt),dt=T(qt,"TD",{class:!0});var hl=C(dt);It=W(hl,s[4]),hl.forEach(_),qt.forEach(_),Xt=y(Z),tt=T(Z,"TR",{});var Ht=C(tt);lt=T(Ht,"TD",{class:!0,"data-svelte-h":!0}),ne(lt)!=="svelte-1vsam0b"&&(lt.textContent=ll),Yt=y(Ht),pt=T(Ht,"TD",{class:!0});var gl=C(pt);Vt=W(gl,s[19]),gl.forEach(_),Ht.forEach(_),Jt=y(Z),ye&&ye.l(Z),Nt=y(Z),Ce&&Ce.l(Z),Rt=y(Z),Pe&&Pe.l(Z),At=y(Z),Se&&Se.l(Z),Z.forEach(_),J.forEach(_),Lt=y(L),ce&&ce.l(L),_t=y(L),de&&de.l(L),$t=y(L),pe&&pe.l(L),mt=y(L),_e&&_e.l(L),ht=y(L),$e&&$e.l(L),gt=H(),this.h()},h(){N(l,"class","key"),N(f,"class","value"),N(d,"class","key"),N($,"class","value"),N(O,"class","key"),N(j,"class","value"),N(ue,"class","key"),N(re,"class","value"),N(he,"class","key"),N(Re,"class","value"),N(He,"class","key"),N(Ke,"class","value"),N(Oe,"class","key"),N(ut,"class","value"),N(Ze,"class","key"),N(ct,"class","value"),N(et,"class","key"),N(dt,"class","value"),N(lt,"class","key"),N(pt,"class","value"),N(t,"class","documentdata")},m(L,J){w(L,t,J),h(t,r),h(r,e),h(e,l),h(e,i),h(e,f),h(f,a),h(r,o),h(r,u),h(u,d),h(u,v),h(u,$),h($,g),h(r,b),ve&&ve.m(r,null),h(r,E),be&&be.m(r,null),h(r,q),ke&&ke.m(r,null),h(r,G),h(r,z),h(z,O),h(z,M),h(z,j),h(j,le),h(r,F),h(r,A),h(A,ue),h(A,se),h(A,re),h(re,fe),h(r,Ve),h(r,me),h(me,he),h(me,ze),h(me,Re),h(Re,Ue),h(r,je),h(r,qe),h(qe,He),h(qe,at),h(qe,Ke),h(Ke,Je),h(r,ot),h(r,Ge),h(Ge,Oe),h(Ge,Mt),h(Ge,ut),h(ut,Et),h(r,zt),Te&&Te.m(r,null),h(r,Dt),we&&we.m(r,null),h(r,yt),Ee&&Ee.m(r,null),h(r,Ct),De&&De.m(r,null),h(r,Pt),h(r,Qe),h(Qe,Ze),h(Qe,jt),h(Qe,ct),h(ct,St),h(r,Kt),h(r,xe),h(xe,et),h(xe,Wt),h(xe,dt),h(dt,It),h(r,Xt),h(r,tt),h(tt,lt),h(tt,Yt),h(tt,pt),h(pt,Vt),h(r,Jt),ye&&ye.m(r,null),h(r,Nt),Ce&&Ce.m(r,null),h(r,Rt),Pe&&Pe.m(r,null),h(r,At),Se&&Se.m(r,null),w(L,Lt,J),ce&&ce.m(L,J),w(L,_t,J),de&&de.m(L,J),w(L,$t,J),pe&&pe.m(L,J),w(L,mt,J),_e&&_e.m(L,J),w(L,ht,J),$e&&$e.m(L,J),w(L,gt,J),Ae=!0},p(L,[J]){var Z,rt,bt,nt,kt,it,Tt,st,wt,ft;(!Ae||J&64)&&Q(a,L[6]),(!Ae||J&256)&&Q(g,L[8]),(Z=L[1].doc)!=null&&Z.aggregateSeverity?ve?ve.p(L,J):(ve=Gl(L),ve.c(),ve.m(r,E)):ve&&(ve.d(1),ve=null),(rt=L[0])!=null&&rt.label?be?be.p(L,J):(be=Ml(L),be.c(),be.m(r,q)):be&&(be.d(1),be=null),(bt=L[0])!=null&&bt.url?ke?ke.p(L,J):(ke=zl(L),ke.c(),ke.m(r,G)):ke&&(ke.d(1),ke=null),(!Ae||J&4096)&&Q(le,L[12]),(!Ae||J&2048)&&Q(fe,L[11]),(!Ae||J&131072)&&Q(Ue,L[17]),(!Ae||J&65536)&&Q(Je,L[16]),(!Ae||J&32768)&&Q(Et,L[15]),L[14]?Te?Te.p(L,J):(Te=jl(L),Te.c(),Te.m(r,Dt)):Te&&(Te.d(1),Te=null),L[13]?we?we.p(L,J):(we=Kl(L),we.c(),we.m(r,yt)):we&&(we.d(1),we=null),L[10]?Ee?Ee.p(L,J):(Ee=Wl(L),Ee.c(),Ee.m(r,Ct)):Ee&&(Ee.d(1),Ee=null),L[9]?De?De.p(L,J):(De=Xl(L),De.c(),De.m(r,Pt)):De&&(De.d(1),De=null),(!Ae||J&32)&&Q(St,L[5]),(!Ae||J&16)&&Q(It,L[4]),(!Ae||J&524288)&&Q(Vt,L[19]),((nt=L[1].doc)==null?void 0:nt.status)!==kl.final?ye?ye.p(L,J):(ye=Yl(L),ye.c(),ye.m(r,Nt)):ye&&(ye.d(1),ye=null),L[18]?Ce?Ce.p(L,J):(Ce=Jl(L),Ce.c(),Ce.m(r,Rt)):Ce&&(Ce.d(1),Ce=null),(it=(kt=L[18])==null?void 0:kt.engine)!=null&&it.version?Pe?Pe.p(L,J):(Pe=Ql(L),Pe.c(),Pe.m(r,At)):Pe&&(Pe.d(1),Pe=null),(Tt=L[18])!=null&&Tt.date?Se?Se.p(L,J):(Se=Zl(L),Se.c(),Se.m(r,null)):Se&&(Se.d(1),Se=null),L[20]?ce?(ce.p(L,J),J&1048576&&c(ce,1)):(ce=xl(L),ce.c(),c(ce,1),ce.m(_t.parentNode,_t)):ce&&(B(),p(ce,1,1,()=>{ce=null}),U()),(st=L[1].doc)!=null&&st.isRevisionHistoryPresent?de?(de.p(L,J),J&2&&c(de,1)):(de=er(L),de.c(),c(de,1),de.m($t.parentNode,$t)):de&&(B(),p(de,1,1,()=>{de=null}),U()),(wt=L[1].doc)!=null&&wt.notes?pe?(pe.p(L,J),J&2&&c(pe,1)):(pe=tr(L),pe.c(),c(pe,1),pe.m(mt.parentNode,mt)):pe&&(B(),p(pe,1,1,()=>{pe=null}),U()),(ft=L[1].doc)!=null&&ft.acknowledgements?_e?(_e.p(L,J),J&2&&c(_e,1)):(_e=lr(L),_e.c(),c(_e,1),_e.m(ht.parentNode,ht)):_e&&(B(),p(_e,1,1,()=>{_e=null}),U()),L[1].doc&&L[1].doc.references.length>0?$e?($e.p(L,J),J&2&&c($e,1)):($e=rr(L),$e.c(),c($e,1),$e.m(gt.parentNode,gt)):$e&&(B(),p($e,1,1,()=>{$e=null}),U())},i(L){Ae||(c(ce),c(de),c(pe),c(_e),c($e),Ae=!0)},o(L){p(ce),p(de),p(pe),p(_e),p($e),Ae=!1},d(L){L&&(_(t),_(Lt),_(_t),_($t),_(mt),_(ht),_(gt)),ve&&ve.d(),be&&be.d(),ke&&ke.d(),Te&&Te.d(),we&&we.d(),Ee&&Ee.d(),De&&De.d(),ye&&ye.d(),Ce&&Ce.d(),Pe&&Pe.d(),Se&&Se.d(),ce&&ce.d(L),de&&de.d(L),pe&&pe.d(L),_e&&_e.d(L),$e&&$e.d(L)}}}function Mi(s,t,r){let e,l,n,i,f,a,o,u,d,m,v,$,g,b,E,q,G,z,O,R;Ne(s,X,j=>r(1,R=j));let M="";return s.$$.update=()=>{var j,le,F,A,ue,Be,se,re,fe,Ve,me,he,Xe,ze,Re,Ue,je,qe,He,vt,at,Ke,Je,ot,Ge,Oe;s.$$.dirty&2&&r(20,e=(j=R.doc)==null?void 0:j.aliases),s.$$.dirty&2&&r(19,l=(le=R.doc)==null?void 0:le.trackingVersion),s.$$.dirty&2&&r(18,n=(F=R.doc)==null?void 0:F.generator),s.$$.dirty&2&&r(17,i=(A=R.doc)==null?void 0:A.publisher.name),s.$$.dirty&2&&r(16,f=(ue=R.doc)==null?void 0:ue.publisher.category),s.$$.dirty&2&&r(15,a=(Be=R.doc)==null?void 0:Be.publisher.namespace),s.$$.dirty&2&&r(14,o=(se=R.doc)==null?void 0:se.publisher.issuing_authority),s.$$.dirty&2&&r(13,u=(re=R.doc)==null?void 0:re.publisher.contact_details),s.$$.dirty&2&&r(12,d=(fe=R.doc)==null?void 0:fe.category),s.$$.dirty&2&&r(11,m=(Ve=R.doc)==null?void 0:Ve.title),s.$$.dirty&2&&r(10,v=(me=R.doc)==null?void 0:me.lang),s.$$.dirty&2&&r(9,$=(he=R.doc)==null?void 0:he.sourceLang),s.$$.dirty&2&&r(8,g=(Xe=R.doc)==null?void 0:Xe.csafVersion),s.$$.dirty&2&&r(0,b=(ze=R.doc)==null?void 0:ze.tlp),s.$$.dirty&2&&r(7,E=(Re=R.doc)==null?void 0:Re.tlp.url),s.$$.dirty&1&&((b==null?void 0:b.label)===Gt.WHITE?r(2,M="tlpclear"):(b==null?void 0:b.label)===Gt.RED?r(2,M="tlred"):(b==null?void 0:b.label)===Gt.AMBER?r(2,M="tlamber"):(b==null?void 0:b.label)===Gt.GREEN&&r(2,M="tlgreen")),s.$$.dirty&2&&r(6,q=(Ue=R.doc)==null?void 0:Ue.id),s.$$.dirty&2&&r(5,G=(je=R.doc)==null?void 0:je.published),s.$$.dirty&2&&r(4,z=(qe=R.doc)==null?void 0:qe.lastUpdate),s.$$.dirty&2&&r(3,O=(He=R.doc)==null?void 0:He.status),s.$$.dirty&2&&!((vt=R.doc)!=null&&vt.isRevisionHistoryPresent)&&!((at=R.doc)!=null&&at.isDocPresent)&&!((Ke=R.doc)!=null&&Ke.isProductTreePresent)&&!((Je=R.doc)!=null&&Je.isPublisherPresent)&&!((ot=R.doc)!=null&&ot.isTLPPresent)&&!((Ge=R.doc)!=null&&Ge.isTrackingPresent)&&!((Oe=R.doc)!=null&&Oe.isVulnerabilitiesPresent)&&X.setSingleErrorMsg("Are you sure the URL refers to a CSAF document?")},[b,R,M,O,z,G,q,E,g,$,v,m,d,u,o,a,f,i,n,l,e]}class zi extends ee{constructor(t){super(),te(this,t,Mi,Oi,x,{})}}function nr(s,t,r){const e=s.slice();return e[1]=t[r],e}function ir(s){let t,r;return t=new Ie({props:{keys:["algorithm","value"],values:[s[1].algorithm,s[1].value]}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.values=[e[1].algorithm,e[1].value]),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function ji(s){let t,r,e=Y(s[0]),l=[];for(let i=0;ip(l[i],1,1,()=>{l[i]=null});return{c(){for(let i=0;i{"hash"in l&&r(0,e=l.hash)},[e]}class Wi extends ee{constructor(t){super(),te(this,t,Ki,ji,x,{hash:0})}}function sr(s,t,r){const e=s.slice();return e[1]=t[r],e}function fr(s){let t,r;return t=new Ie({props:{keys:["Namespace","URI"],values:[s[1].namespace,s[1].uri]}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.values=[e[1].namespace,e[1].uri]),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function Xi(s){let t,r="X Generic URIs",e,l,n,i=Y(s[0]),f=[];for(let o=0;op(f[o],1,1,()=>{f[o]=null});return{c(){t=k("p"),t.textContent=r,e=D(),l=k("div");for(let o=0;o{"x_generic_uris"in l&&r(0,e=l.x_generic_uris)},[e]}class Ji extends ee{constructor(t){super(),te(this,t,Yi,Xi,x,{x_generic_uris:0})}}function ar(s,t,r){const e=s.slice();return e[1]=t[r],e}function or(s){let t,r;return t=new Ie({props:{keys:["cpe"],values:s[0].cpe}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.values=e[0].cpe),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function ur(s){let t,r,e=Y(s[0].hashes),l=[];for(let i=0;ip(l[i],1,1,()=>{l[i]=null});return{c(){for(let i=0;i{$=null}),U()),R[0].hashes?g?(g.p(R,M),M&1&&c(g,1)):(g=ur(R),g.c(),c(g,1),g.m(n,f)):g&&(B(),p(g,1,1,()=>{g=null}),U()),R[0].model_numbers?b?(b.p(R,M),M&1&&c(b,1)):(b=dr(R),b.c(),c(b,1),b.m(n,a)):b&&(B(),p(b,1,1,()=>{b=null}),U()),R[0].purl?E?(E.p(R,M),M&1&&c(E,1)):(E=pr(R),E.c(),c(E,1),E.m(n,o)):E&&(B(),p(E,1,1,()=>{E=null}),U()),R[0].sbom_urls?q?(q.p(R,M),M&1&&c(q,1)):(q=_r(R),q.c(),c(q,1),q.m(n,u)):q&&(B(),p(q,1,1,()=>{q=null}),U()),R[0].serial_numbers?G?(G.p(R,M),M&1&&c(G,1)):(G=$r(R),G.c(),c(G,1),G.m(n,d)):G&&(B(),p(G,1,1,()=>{G=null}),U()),R[0].skus?z?(z.p(R,M),M&1&&c(z,1)):(z=mr(R),z.c(),c(z,1),z.m(n,m)):z&&(B(),p(z,1,1,()=>{z=null}),U()),R[0].x_generic_uris?O?(O.p(R,M),M&1&&c(O,1)):(O=hr(R),O.c(),c(O,1),O.m(n,null)):O&&(B(),p(O,1,1,()=>{O=null}),U())},i(R){v||(c($),c(g),c(b),c(E),c(q),c(G),c(z),c(O),v=!0)},o(R){p($),p(g),p(b),p(E),p(q),p(G),p(z),p(O),v=!1},d(R){R&&_(t),$&&$.d(),g&&g.d(),b&&b.d(),E&&E.d(),q&&q.d(),G&&G.d(),z&&z.d(),O&&O.d()}}}function Zi(s,t,r){let{helper:e}=t;return s.$$set=l=>{"helper"in l&&r(0,e=l.helper)},[e]}class Zt extends ee{constructor(t){super(),te(this,t,Zi,Qi,x,{helper:0})}}function gr(s){let t,r;return t=new Zt({props:{helper:s[0].product_identification_helper}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.helper=e[0].product_identification_helper),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function xi(s){let t,r,e,l,n;r=new Ie({props:{keys:["Product ID"],values:[s[0].name,s[0].product_id]}});let i=s[0].product_identification_helper&&gr(s);return{c(){t=k("div"),P(r.$$.fragment),e=D(),i&&i.c(),this.h()},l(f){t=T(f,"DIV",{id:!0});var a=C(t);S(r.$$.fragment,a),e=y(a),i&&i.l(a),a.forEach(_),this.h()},h(){N(t,"id",l=s[0].product_id)},m(f,a){w(f,t,a),I(r,t,null),h(t,e),i&&i.m(t,null),n=!0},p(f,a){const o={};a&1&&(o.values=[f[0].name,f[0].product_id]),r.$set(o),f[0].product_identification_helper?i?(i.p(f,a),a&1&&c(i,1)):(i=gr(f),i.c(),c(i,1),i.m(t,null)):i&&(B(),p(i,1,1,()=>{i=null}),U()),(!n||a&1&&l!==(l=f[0].product_id))&&N(t,"id",l)},i(f){n||(c(r.$$.fragment,f),c(i),n=!0)},o(f){p(r.$$.fragment,f),p(i),n=!1},d(f){f&&_(t),V(r),i&&i.d()}}}function es(s){let t,r;return t=new ie({props:{header:s[0].name,level:"4",highlight:s[2],open:s[1].ui.selectedProduct===s[0].product_id,onClose:s[3],$$slots:{default:[xi]},$$scope:{ctx:s}}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,[l]){const n={};l&1&&(n.header=e[0].name),l&4&&(n.highlight=e[2]),l&3&&(n.open=e[1].ui.selectedProduct===e[0].product_id),l&3&&(n.onClose=e[3]),l&33&&(n.$$scope={dirty:l,ctx:e}),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function ts(s,t,r){let e;Ne(s,X,a=>r(1,e=a));let{product:l}=t,n=!1;async function i(){var a;await Ot(),(a=document.getElementById(`${l==null?void 0:l.product_id}`))==null||a.scrollIntoView({behavior:"smooth"})}const f=()=>{e.ui.selectedProduct===l.product_id&&X.resetSelectedProduct()};return s.$$set=a=>{"product"in a&&r(0,l=a.product)},s.$$.update=()=>{s.$$.dirty&3&&(e.ui.selectedProduct===(l==null?void 0:l.product_id)?(r(2,n=!0),i()):r(2,n=!1))},[l,e,n,f]}class ls extends ee{constructor(t){super(),te(this,t,ts,es,x,{product:0})}}function vr(s,t,r){const e=s.slice();return e[1]=t[r],e}function br(s){let t,r,e=Y(s[0].branches),l=[];for(let i=0;ip(l[i],1,1,()=>{l[i]=null});return{c(){for(let i=0;i{d=null}),U()),v[0].product?m?(m.p(v,$),$&1&&c(m,1)):(m=Tr(v),m.c(),c(m,1),m.m(t,null)):m&&(B(),p(m,1,1,()=>{m=null}),U())},i(v){u||(c(d),c(m),u=!0)},o(v){p(d),p(m),u=!1},d(v){v&&_(t),d&&d.d(),m&&m.d()}}}function ns(s,t,r){let{branch:e}=t;return s.$$set=l=>{"branch"in l&&r(0,e=l.branch)},[e]}class li extends ee{constructor(t){super(),te(this,t,ns,rs,x,{branch:0})}}function is(s){let t,r,e,l,n,i;return{c(){t=k("div"),r=k("h6"),e=K(s[1]),l=D(),n=k("p"),i=K(s[0]),this.h()},l(f){t=T(f,"DIV",{class:!0});var a=C(t);r=T(a,"H6",{});var o=C(r);e=W(o,s[1]),o.forEach(_),l=y(a),n=T(a,"P",{});var u=C(n);i=W(u,s[0]),u.forEach(_),a.forEach(_),this.h()},h(){N(t,"class","")},m(f,a){w(f,t,a),h(t,r),h(r,e),h(t,l),h(t,n),h(n,i)},p(f,[a]){a&2&&Q(e,f[1]),a&1&&Q(i,f[0])},i:oe,o:oe,d(f){f&&_(t)}}}function ss(s,t,r){let{value:e=""}=t,{label:l=""}=t;return s.$$set=n=>{"value"in n&&r(0,e=n.value),"label"in n&&r(1,l=n.label)},[e,l]}class Ye extends ee{constructor(t){super(),te(this,t,ss,is,x,{value:0,label:1})}}function wr(s){let t,r;return t=new Ye({props:{label:"Summary",value:s[0].summary}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.value=e[0].summary),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function fs(s){let t,r,e,l,n,i;t=new Le({props:{label:"Group IDs",values:s[0].group_ids}}),e=new Le({props:{label:"Product IDs",values:s[0].product_ids}});let f=s[0].summary&&wr(s);return{c(){P(t.$$.fragment),r=D(),P(e.$$.fragment),l=D(),f&&f.c(),n=H()},l(a){S(t.$$.fragment,a),r=y(a),S(e.$$.fragment,a),l=y(a),f&&f.l(a),n=H()},m(a,o){I(t,a,o),w(a,r,o),I(e,a,o),w(a,l,o),f&&f.m(a,o),w(a,n,o),i=!0},p(a,[o]){const u={};o&1&&(u.values=a[0].group_ids),t.$set(u);const d={};o&1&&(d.values=a[0].product_ids),e.$set(d),a[0].summary?f?(f.p(a,o),o&1&&c(f,1)):(f=wr(a),f.c(),c(f,1),f.m(n.parentNode,n)):f&&(B(),p(f,1,1,()=>{f=null}),U())},i(a){i||(c(t.$$.fragment,a),c(e.$$.fragment,a),c(f),i=!0)},o(a){p(t.$$.fragment,a),p(e.$$.fragment,a),p(f),i=!1},d(a){a&&(_(r),_(l),_(n)),V(t,a),V(e,a),f&&f.d(a)}}}function as(s,t,r){let{productGroup:e}=t;return s.$$set=l=>{"productGroup"in l&&r(0,e=l.productGroup)},[e]}class os extends ee{constructor(t){super(),te(this,t,as,fs,x,{productGroup:0})}}function Er(s,t,r){const e=s.slice();return e[1]=t[r],e}function Dr(s){let t,r;return t=new os({props:{productGroup:s[1]}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.productGroup=e[1]),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function us(s){let t,r,e=Y(s[0]),l=[];for(let i=0;ip(l[i],1,1,()=>{l[i]=null});return{c(){for(let i=0;i{"productGroups"in l&&r(0,e=l.productGroups)},[e]}class ds extends ee{constructor(t){super(),te(this,t,cs,us,x,{productGroups:0})}}function yr(s){let t,r;return t=new Zt({props:{helper:s[0].product_identification_helper}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.helper=e[0].product_identification_helper),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function ps(s){let t,r,e,l;t=new Ie({props:{keys:["Name","Product ID"],values:[s[0].name,s[0].product_id]}});let n=s[0].product_identification_helper&&yr(s);return{c(){P(t.$$.fragment),r=D(),n&&n.c(),e=H()},l(i){S(t.$$.fragment,i),r=y(i),n&&n.l(i),e=H()},m(i,f){I(t,i,f),w(i,r,f),n&&n.m(i,f),w(i,e,f),l=!0},p(i,f){const a={};f&1&&(a.values=[i[0].name,i[0].product_id]),t.$set(a),i[0].product_identification_helper?n?(n.p(i,f),f&1&&c(n,1)):(n=yr(i),n.c(),c(n,1),n.m(e.parentNode,e)):n&&(B(),p(n,1,1,()=>{n=null}),U())},i(i){l||(c(t.$$.fragment,i),c(n),l=!0)},o(i){p(t.$$.fragment,i),p(n),l=!1},d(i){i&&(_(r),_(e)),V(t,i),n&&n.d(i)}}}function _s(s){let t,r,e,l;return r=new ie({props:{header:s[0].name,level:"4",highlight:s[2],open:s[1].ui.selectedProduct===s[0].product_id,onClose:s[3],$$slots:{default:[ps]},$$scope:{ctx:s}}}),{c(){t=k("div"),P(r.$$.fragment),this.h()},l(n){t=T(n,"DIV",{id:!0});var i=C(t);S(r.$$.fragment,i),i.forEach(_),this.h()},h(){var n;N(t,"id",e=(n=s[0])==null?void 0:n.product_id)},m(n,i){w(n,t,i),I(r,t,null),l=!0},p(n,[i]){var a;const f={};i&1&&(f.header=n[0].name),i&4&&(f.highlight=n[2]),i&3&&(f.open=n[1].ui.selectedProduct===n[0].product_id),i&3&&(f.onClose=n[3]),i&33&&(f.$$scope={dirty:i,ctx:n}),r.$set(f),(!l||i&1&&e!==(e=(a=n[0])==null?void 0:a.product_id))&&N(t,"id",e)},i(n){l||(c(r.$$.fragment,n),l=!0)},o(n){p(r.$$.fragment,n),l=!1},d(n){n&&_(t),V(r)}}}function $s(s,t,r){let e;Ne(s,X,a=>r(1,e=a));let{product:l}=t;async function n(){var a;await Ot(),(a=document.getElementById(`${l==null?void 0:l.product_id}`))==null||a.scrollIntoView({behavior:"smooth"})}let i=!1;const f=()=>{e.ui.selectedProduct===l.product_id&&X.resetSelectedProduct()};return s.$$set=a=>{"product"in a&&r(0,l=a.product)},s.$$.update=()=>{s.$$.dirty&3&&(e.ui.selectedProduct===(l==null?void 0:l.product_id)?(r(2,i=!0),n()):r(2,i=!1))},[l,e,i,f]}class ms extends ee{constructor(t){super(),te(this,t,$s,_s,x,{product:0})}}function Cr(s,t,r){const e=s.slice();return e[1]=t[r],e}function Pr(s){let t,r;return t=new ms({props:{product:s[1]}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.product=e[1]),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function hs(s){let t,r,e=Y(s[0]),l=[];for(let i=0;ip(l[i],1,1,()=>{l[i]=null});return{c(){for(let i=0;il.namen.name?1:0),s.$$set=l=>{"productNames"in l&&r(0,e=l.productNames)},[e]}class vs extends ee{constructor(t){super(),te(this,t,gs,hs,x,{productNames:0})}}function Sr(s){let t,r;return t=new Zt({props:{helper:s[0].full_product_name.product_identification_helper}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.helper=e[0].full_product_name.product_identification_helper),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function bs(s){let t,r,e,l,n,i,f,a,o="Product reference",u,d,m,v=s[0].product_reference+"",$,g,b,E,q,G="Relates to",z,O,R,M=s[0].relates_to_product_reference+"",j,le,F,A,ue,Be;r=new Ie({props:{keys:["Category","Name","Product ID"],values:[s[0].category,s[0].full_product_name.name,s[0].full_product_name.product_id]}});let se=s[0].full_product_name.product_identification_helper&&Sr(s);return{c(){t=k("div"),P(r.$$.fragment),e=D(),se&&se.c(),l=D(),n=k("table"),i=k("tbody"),f=k("tr"),a=k("td"),a.textContent=o,u=D(),d=k("td"),m=k("a"),$=K(v),b=D(),E=k("tr"),q=k("td"),q.textContent=G,z=D(),O=k("td"),R=k("a"),j=K(M),this.h()},l(re){t=T(re,"DIV",{id:!0,class:!0});var fe=C(t);S(r.$$.fragment,fe),e=y(fe),se&&se.l(fe),l=y(fe),n=T(fe,"TABLE",{});var Ve=C(n);i=T(Ve,"TBODY",{});var me=C(i);f=T(me,"TR",{});var he=C(f);a=T(he,"TD",{class:!0,"data-svelte-h":!0}),ne(a)!=="svelte-1xbb7cs"&&(a.textContent=o),u=y(he),d=T(he,"TD",{});var Xe=C(d);m=T(Xe,"A",{id:!0,href:!0});var ze=C(m);$=W(ze,v),ze.forEach(_),Xe.forEach(_),he.forEach(_),b=y(me),E=T(me,"TR",{});var Re=C(E);q=T(Re,"TD",{class:!0,"data-svelte-h":!0}),ne(q)!=="svelte-174x6ix"&&(q.textContent=G),z=y(Re),O=T(Re,"TD",{});var Ue=C(O);R=T(Ue,"A",{id:!0,href:!0});var je=C(R);j=W(je,M),je.forEach(_),Ue.forEach(_),Re.forEach(_),me.forEach(_),Ve.forEach(_),fe.forEach(_),this.h()},h(){N(a,"class","key svelte-8lh3cz"),N(m,"id",crypto.randomUUID()),N(m,"href",g=s[0].product_reference),N(q,"class","key svelte-8lh3cz"),N(R,"id",crypto.randomUUID()),N(R,"href",le=s[0].relates_to_product_reference),N(t,"id",F=s[0].full_product_name.product_id),N(t,"class","relation svelte-8lh3cz")},m(re,fe){w(re,t,fe),I(r,t,null),h(t,e),se&&se.m(t,null),h(t,l),h(t,n),h(n,i),h(i,f),h(f,a),h(f,u),h(f,d),h(d,m),h(m,$),h(i,b),h(i,E),h(E,q),h(E,z),h(E,O),h(O,R),h(R,j),A=!0,ue||(Be=[We(m,"click",s[3]),We(R,"click",s[3])],ue=!0)},p(re,fe){const Ve={};fe&1&&(Ve.values=[re[0].category,re[0].full_product_name.name,re[0].full_product_name.product_id]),r.$set(Ve),re[0].full_product_name.product_identification_helper?se?(se.p(re,fe),fe&1&&c(se,1)):(se=Sr(re),se.c(),c(se,1),se.m(t,l)):se&&(B(),p(se,1,1,()=>{se=null}),U()),(!A||fe&1)&&v!==(v=re[0].product_reference+"")&&Q($,v),(!A||fe&1&&g!==(g=re[0].product_reference))&&N(m,"href",g),(!A||fe&1)&&M!==(M=re[0].relates_to_product_reference+"")&&Q(j,M),(!A||fe&1&&le!==(le=re[0].relates_to_product_reference))&&N(R,"href",le),(!A||fe&1&&F!==(F=re[0].full_product_name.product_id))&&N(t,"id",F)},i(re){A||(c(r.$$.fragment,re),c(se),A=!0)},o(re){p(r.$$.fragment,re),p(se),A=!1},d(re){re&&_(t),V(r),se&&se.d(),ue=!1,Qn(Be)}}}function ks(s){let t,r;return t=new ie({props:{header:`${s[0].full_product_name.product_id}`,level:"4",open:s[0].full_product_name.product_id===s[1].ui.selectedProduct,highlight:s[2],onClose:s[4],$$slots:{default:[bs]},$$scope:{ctx:s}}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,[l]){const n={};l&1&&(n.header=`${e[0].full_product_name.product_id}`),l&3&&(n.open=e[0].full_product_name.product_id===e[1].ui.selectedProduct),l&4&&(n.highlight=e[2]),l&3&&(n.onClose=e[4]),l&65&&(n.$$scope={dirty:l,ctx:e}),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function Ts(s,t,r){let e;Ne(s,X,o=>r(1,e=o));let{relation:l}=t,n=!1;const i=o=>{let u=o.target.getAttribute("href");X.setProductTreeSectionVisible(),X.setSelectedProduct(u),X.unshiftHistory(o.target.id),o.preventDefault()};async function f(){var o;await Ot(),(o=document.getElementById(`${l.full_product_name.product_id}`))==null||o.scrollIntoView({behavior:"smooth"})}const a=()=>{e.ui.selectedProduct===l.full_product_name.product_id&&X.resetSelectedProduct()};return s.$$set=o=>{"relation"in o&&r(0,l=o.relation)},s.$$.update=()=>{s.$$.dirty&3&&(e.ui.selectedProduct===l.full_product_name.product_id?(r(2,n=!0),f()):r(2,n=!1))},[l,e,n,i,a]}class ws extends ee{constructor(t){super(),te(this,t,Ts,ks,x,{relation:0})}}function Ir(s,t,r){const e=s.slice();return e[1]=t[r],e}function Vr(s){let t,r;return t=new ws({props:{relation:s[1]}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.relation=e[1]),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function Es(s){let t,r,e=Y(s[0]),l=[];for(let i=0;ip(l[i],1,1,()=>{l[i]=null});return{c(){for(let i=0;i{"relationships"in l&&r(0,e=l.relationships)},[e]}class ys extends ee{constructor(t){super(),te(this,t,Ds,Es,x,{relationships:0})}}function Nr(s,t,r){const e=s.slice();return e[1]=t[r],e}function Rr(s){var i;let t,r,e=Y((i=s[0].doc)==null?void 0:i.productTree.branches),l=[];for(let f=0;fp(l[f],1,1,()=>{l[f]=null});return{c(){for(let f=0;f{i=null}),U()),(E=$[0].doc)!=null&&E.productTree.relationships?f?(f.p($,g),g&1&&c(f,1)):(f=Lr($),f.c(),c(f,1),f.m(r.parentNode,r)):f&&(B(),p(f,1,1,()=>{f=null}),U()),(q=$[0].doc)!=null&&q.productTree.product_groups?a?(a.p($,g),g&1&&c(a,1)):(a=Fr($),a.c(),c(a,1),a.m(e.parentNode,e)):a&&(B(),p(a,1,1,()=>{a=null}),U()),(G=$[0].doc)!=null&&G.productTree.full_product_names?o?(o.p($,g),g&1&&c(o,1)):(o=Br($),o.c(),c(o,1),o.m(l.parentNode,l)):o&&(B(),p(o,1,1,()=>{o=null}),U())},i($){n||(c(i),c(f),c(a),c(o),n=!0)},o($){p(i),p(f),p(a),p(o),n=!1},d($){$&&(_(t),_(r),_(e),_(l)),i&&i.d($),f&&f.d($),a&&a.d($),o&&o.d($)}}}function Ns(s,t,r){let e;return Ne(s,X,l=>r(0,e=l)),[e]}class Rs extends ee{constructor(t){super(),te(this,t,Ns,Vs,x,{})}}function Ur(s,t,r){const e=s.slice();return e[5]=t[r],e}function qr(s,t,r){const e=s.slice();return e[8]=t[r],e[10]=r,e}function Hr(s,t,r){const e=s.slice();return e[8]=t[r],e[10]=r,e}function Gr(s){let t,r,e,l,n,i,f,a,o,u='
Legend
Fixed
Under investigation
Known affected
Not affected
Recommended
',d=Y(s[1]),m=[];for(let g=0;g0&&Gr(s);return{c(){t=k("div"),r&&r.c(),this.h()},l(e){t=T(e,"DIV",{class:!0});var l=C(t);r&&r.l(l),l.forEach(_),this.h()},h(){N(t,"class","crosstable-overview")},m(e,l){w(e,t,l),r&&r.m(t,null)},p(e,[l]){e[2].length>0?r?r.p(e,l):(r=Gr(e),r.c(),r.m(t,null)):r&&(r.d(1),r=null)},i:oe,o:oe,d(e){e&&_(t),r&&r.d()}}}function Ms(s,t,r){let e;Ne(s,X,a=>r(0,e=a));let l=[],n;const i=a=>{let o=a.target.getAttribute("href");X.setProductTreeSectionVisible(),X.setSelectedProduct(o),X.unshiftHistory(a.target.id),a.preventDefault()},f=a=>{let o=a.target.getAttribute("href");X.setSelectedCVE(o),X.unshiftHistory(a.target.id),X.setVulnerabilitiesSectionVisible(),a.preventDefault()};return s.$$.update=()=>{if(s.$$.dirty&1&&e.doc){const a=[...e.doc.productVulnerabilities];r(1,l=a.shift()),r(2,n=a)}},[e,l,n,i,f]}class zs extends ee{constructor(t){super(),te(this,t,Ms,Os,x,{})}}function js(s){let t,r,e,l;return{c(){t=k("div"),r=k("input"),this.h()},l(n){t=T(n,"DIV",{class:!0});var i=C(t);r=T(i,"INPUT",{class:!0,title:!0,type:!0,accept:!0}),i.forEach(_),this.h()},h(){N(r,"class","file-upload"),N(r,"title","Upload CSAF Document from your device"),N(r,"type","file"),N(r,"accept","application/json"),N(t,"class","file-upload-container")},m(n,i){w(n,t,i),h(t,r),s[4](r),e||(l=We(r,"change",s[3]),e=!0)},p:oe,i:oe,o:oe,d(n){n&&_(t),s[4](null),e=!1,l()}}}function Ks(s,t,r){let e;Ne(s,X,a=>r(2,e=a));let l,n;function i(){l=this.files,r(0,l)}function f(a){ri[a?"unshift":"push"](()=>{n=a,r(1,n),r(2,e)})}return s.$$.update=()=>{s.$$.dirty&1&&l&&(X.reset(),X.setUploadedFile(),Zn(l[0])),s.$$.dirty&6&&(e.ui.uploadedFile||n&&r(1,n.value="",n))},[l,n,e,i,f]}class Ws extends ee{constructor(t){super(),te(this,t,Ks,js,x,{})}}function jr(s,t,r){const e=s.slice();return e[1]=t[r],e}function Kr(s){let t,r,e=Y(s[0].flags),l=[];for(let i=0;ip(l[i],1,1,()=>{l[i]=null});return{c(){for(let i=0;i{f=null}),U()),u[1].group_ids?a?(a.p(u,d),d&1&&c(a,1)):(a=Xr(u),a.c(),c(a,1),a.m(r.parentNode,r)):a&&(B(),p(a,1,1,()=>{a=null}),U());const m={};d&1&&(m.value=u[1].label),e.$set(m),u[1].product_ids?o?(o.p(u,d),d&1&&c(o,1)):(o=Yr(u),o.c(),c(o,1),o.m(n.parentNode,n)):o&&(B(),p(o,1,1,()=>{o=null}),U())},i(u){i||(c(f),c(a),c(e.$$.fragment,u),c(o),i=!0)},o(u){p(f),p(a),p(e.$$.fragment,u),p(o),i=!1},d(u){u&&(_(t),_(r),_(l),_(n)),f&&f.d(u),a&&a.d(u),V(e,u),o&&o.d(u)}}}function Xs(s){let t,r,e,l,n=s[0].flags&&Kr(s);return{c(){t=k("div"),r=D(),n&&n.c(),e=H(),this.h()},l(i){t=T(i,"DIV",{class:!0}),C(t).forEach(_),r=y(i),n&&n.l(i),e=H(),this.h()},h(){N(t,"class","spacer")},m(i,f){w(i,t,f),w(i,r,f),n&&n.m(i,f),w(i,e,f),l=!0},p(i,f){i[0].flags?n?(n.p(i,f),f&1&&c(n,1)):(n=Kr(i),n.c(),c(n,1),n.m(e.parentNode,e)):n&&(B(),p(n,1,1,()=>{n=null}),U())},i(i){l||(c(n),l=!0)},o(i){p(n),l=!1},d(i){i&&(_(t),_(r),_(e)),n&&n.d(i)}}}function Ys(s){let t,r;return t=new ie({props:{header:"Flags",level:"4",$$slots:{default:[Xs]},$$scope:{ctx:s}}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,[l]){const n={};l&17&&(n.$$scope={dirty:l,ctx:e}),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function Js(s,t,r){let{vulnerability:e}=t;return s.$$set=l=>{"vulnerability"in l&&r(0,e=l.vulnerability)},[e]}class Qs extends ee{constructor(t){super(),te(this,t,Js,Ys,x,{vulnerability:0})}}function Zs(s){let t,r;return t=new Ie({props:{keys:s[0],values:s[1]}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p:oe,i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function xs(s,t,r){let{vulnerability:e}=t;const l=[],n=[];return e.title&&(l.push("Title"),n.push(e.title)),e.cwe&&(l.push("CWE ID"),l.push("CWE Name"),n.push(e.cwe.id),n.push(e.cwe.name)),e.discovery_date&&(l.push("Discovery date"),n.push(e.discovery_date)),e.release_date&&(l.push("Release date"),n.push(e.release_date)),s.$$set=i=>{"vulnerability"in i&&r(2,e=i.vulnerability)},[l,n,e]}class ef extends ee{constructor(t){super(),te(this,t,xs,Zs,x,{vulnerability:2})}}function Qr(s,t,r){const e=s.slice();return e[2]=t[r],e}function Zr(s){let t,r;return t=new Ie({props:{keys:["Systemname","Text"],values:[s[2].system_name,s[2].text]}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.values=[e[2].system_name,e[2].text]),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function tf(s){let t,r,e=Y(s[0]),l=[];for(let i=0;ip(l[i],1,1,()=>{l[i]=null});return{c(){for(let i=0;i{"vulnerability"in n&&r(1,l=n.vulnerability)},s.$$.update=()=>{s.$$.dirty&2&&r(0,e=l.ids?l.ids:[])},[e,l]}class nf extends ee{constructor(t){super(),te(this,t,rf,lf,x,{vulnerability:1})}}function xr(s,t,r){const e=s.slice();return e[2]=t[r],e}function en(s){let t,r;return t=new Ye({props:{label:"Date",value:s[2].date}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.value=e[2].date),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function tn(s){let t,r;return t=new Ye({props:{label:"Summary",value:s[2].summary}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.value=e[2].summary),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function ln(s){let t,r,e,l,n,i,f,a=s[2].date&&en(s);r=new Ye({props:{label:"Party",value:s[2].party}}),l=new Ye({props:{label:"Status",value:s[2].status}});let o=s[2].summary&&tn(s);return{c(){a&&a.c(),t=D(),P(r.$$.fragment),e=D(),P(l.$$.fragment),n=D(),o&&o.c(),i=H()},l(u){a&&a.l(u),t=y(u),S(r.$$.fragment,u),e=y(u),S(l.$$.fragment,u),n=y(u),o&&o.l(u),i=H()},m(u,d){a&&a.m(u,d),w(u,t,d),I(r,u,d),w(u,e,d),I(l,u,d),w(u,n,d),o&&o.m(u,d),w(u,i,d),f=!0},p(u,d){u[2].date?a?(a.p(u,d),d&1&&c(a,1)):(a=en(u),a.c(),c(a,1),a.m(t.parentNode,t)):a&&(B(),p(a,1,1,()=>{a=null}),U());const m={};d&1&&(m.value=u[2].party),r.$set(m);const v={};d&1&&(v.value=u[2].status),l.$set(v),u[2].summary?o?(o.p(u,d),d&1&&c(o,1)):(o=tn(u),o.c(),c(o,1),o.m(i.parentNode,i)):o&&(B(),p(o,1,1,()=>{o=null}),U())},i(u){f||(c(a),c(r.$$.fragment,u),c(l.$$.fragment,u),c(o),f=!0)},o(u){p(a),p(r.$$.fragment,u),p(l.$$.fragment,u),p(o),f=!1},d(u){u&&(_(t),_(e),_(n),_(i)),a&&a.d(u),V(r,u),V(l,u),o&&o.d(u)}}}function sf(s){let t,r,e=Y(s[0]),l=[];for(let i=0;ip(l[i],1,1,()=>{l[i]=null});return{c(){for(let i=0;i{"vulnerability"in n&&r(1,l=n.vulnerability)},s.$$.update=()=>{s.$$.dirty&2&&r(0,e=l.involvements?l.involvements:[])},[e,l]}class of extends ee{constructor(t){super(),te(this,t,af,ff,x,{vulnerability:1})}}function rn(s,t,r){const e=s.slice();return e[4]=t[r],e}function nn(s){let t,r,e,l,n=Y(s[0]),i=[];for(let f=0;fr(2,e=f));let{values:l=[]}=t,{label:n=""}=t;const i=f=>{let a=f.target.getAttribute("href");X.setProductTreeSectionVisible(),X.setSelectedProduct(a),X.unshiftHistory(f.target.id),f.preventDefault()};return s.$$set=f=>{"values"in f&&r(0,l=f.values),"label"in f&&r(1,n=f.label)},[l,n,e,i]}class Me extends ee{constructor(t){super(),te(this,t,cf,uf,x,{values:0,label:1})}}function fn(s){var e;let t,r;return t=new Me({props:{label:"First affected",values:(e=s[0].product_status)==null?void 0:e.fist_affected}}),{c(){P(t.$$.fragment)},l(l){S(t.$$.fragment,l)},m(l,n){I(t,l,n),r=!0},p(l,n){var f;const i={};n&1&&(i.values=(f=l[0].product_status)==null?void 0:f.fist_affected),t.$set(i)},i(l){r||(c(t.$$.fragment,l),r=!0)},o(l){p(t.$$.fragment,l),r=!1},d(l){V(t,l)}}}function an(s){var e;let t,r;return t=new Me({props:{label:"First fixed",values:(e=s[0].product_status)==null?void 0:e.first_fixed}}),{c(){P(t.$$.fragment)},l(l){S(t.$$.fragment,l)},m(l,n){I(t,l,n),r=!0},p(l,n){var f;const i={};n&1&&(i.values=(f=l[0].product_status)==null?void 0:f.first_fixed),t.$set(i)},i(l){r||(c(t.$$.fragment,l),r=!0)},o(l){p(t.$$.fragment,l),r=!1},d(l){V(t,l)}}}function on(s){var e;let t,r;return t=new Me({props:{label:"Fixed",values:(e=s[0].product_status)==null?void 0:e.fixed}}),{c(){P(t.$$.fragment)},l(l){S(t.$$.fragment,l)},m(l,n){I(t,l,n),r=!0},p(l,n){var f;const i={};n&1&&(i.values=(f=l[0].product_status)==null?void 0:f.fixed),t.$set(i)},i(l){r||(c(t.$$.fragment,l),r=!0)},o(l){p(t.$$.fragment,l),r=!1},d(l){V(t,l)}}}function un(s){var e;let t,r;return t=new Me({props:{label:"Under investigation",values:(e=s[0].product_status)==null?void 0:e.under_invenstigation}}),{c(){P(t.$$.fragment)},l(l){S(t.$$.fragment,l)},m(l,n){I(t,l,n),r=!0},p(l,n){var f;const i={};n&1&&(i.values=(f=l[0].product_status)==null?void 0:f.under_invenstigation),t.$set(i)},i(l){r||(c(t.$$.fragment,l),r=!0)},o(l){p(t.$$.fragment,l),r=!1},d(l){V(t,l)}}}function cn(s){var e;let t,r;return t=new Me({props:{label:"Known affected",values:(e=s[0].product_status)==null?void 0:e.known_affected}}),{c(){P(t.$$.fragment)},l(l){S(t.$$.fragment,l)},m(l,n){I(t,l,n),r=!0},p(l,n){var f;const i={};n&1&&(i.values=(f=l[0].product_status)==null?void 0:f.known_affected),t.$set(i)},i(l){r||(c(t.$$.fragment,l),r=!0)},o(l){p(t.$$.fragment,l),r=!1},d(l){V(t,l)}}}function dn(s){var e;let t,r;return t=new Me({props:{label:"Known not affected",values:(e=s[0].product_status)==null?void 0:e.known_not_affected}}),{c(){P(t.$$.fragment)},l(l){S(t.$$.fragment,l)},m(l,n){I(t,l,n),r=!0},p(l,n){var f;const i={};n&1&&(i.values=(f=l[0].product_status)==null?void 0:f.known_not_affected),t.$set(i)},i(l){r||(c(t.$$.fragment,l),r=!0)},o(l){p(t.$$.fragment,l),r=!1},d(l){V(t,l)}}}function pn(s){var e;let t,r;return t=new Me({props:{label:"Last affected",values:(e=s[0].product_status)==null?void 0:e.last_affected}}),{c(){P(t.$$.fragment)},l(l){S(t.$$.fragment,l)},m(l,n){I(t,l,n),r=!0},p(l,n){var f;const i={};n&1&&(i.values=(f=l[0].product_status)==null?void 0:f.last_affected),t.$set(i)},i(l){r||(c(t.$$.fragment,l),r=!0)},o(l){p(t.$$.fragment,l),r=!1},d(l){V(t,l)}}}function _n(s){var e;let t,r;return t=new Me({props:{label:"Recommended",values:(e=s[0].product_status)==null?void 0:e.recommended}}),{c(){P(t.$$.fragment)},l(l){S(t.$$.fragment,l)},m(l,n){I(t,l,n),r=!0},p(l,n){var f;const i={};n&1&&(i.values=(f=l[0].product_status)==null?void 0:f.recommended),t.$set(i)},i(l){r||(c(t.$$.fragment,l),r=!0)},o(l){p(t.$$.fragment,l),r=!1},d(l){V(t,l)}}}function df(s){var q,G,z,O,R,M,j,le;let t,r,e,l,n,i,f,a,o,u=((q=s[0].product_status)==null?void 0:q.fist_affected)&&fn(s),d=((G=s[0].product_status)==null?void 0:G.first_fixed)&&an(s),m=((z=s[0].product_status)==null?void 0:z.fixed)&&on(s),v=((O=s[0].product_status)==null?void 0:O.under_investigation)&&un(s),$=((R=s[0].product_status)==null?void 0:R.known_affected)&&cn(s),g=((M=s[0].product_status)==null?void 0:M.known_not_affected)&&dn(s),b=((j=s[0].product_status)==null?void 0:j.last_affected)&&pn(s),E=((le=s[0].product_status)==null?void 0:le.recommended)&&_n(s);return{c(){t=k("div"),u&&u.c(),r=D(),d&&d.c(),e=D(),m&&m.c(),l=D(),v&&v.c(),n=D(),$&&$.c(),i=D(),g&&g.c(),f=D(),b&&b.c(),a=D(),E&&E.c(),this.h()},l(F){t=T(F,"DIV",{class:!0});var A=C(t);u&&u.l(A),r=y(A),d&&d.l(A),e=y(A),m&&m.l(A),l=y(A),v&&v.l(A),n=y(A),$&&$.l(A),i=y(A),g&&g.l(A),f=y(A),b&&b.l(A),a=y(A),E&&E.l(A),A.forEach(_),this.h()},h(){N(t,"class","status")},m(F,A){w(F,t,A),u&&u.m(t,null),h(t,r),d&&d.m(t,null),h(t,e),m&&m.m(t,null),h(t,l),v&&v.m(t,null),h(t,n),$&&$.m(t,null),h(t,i),g&&g.m(t,null),h(t,f),b&&b.m(t,null),h(t,a),E&&E.m(t,null),o=!0},p(F,A){var ue,Be,se,re,fe,Ve,me,he;(ue=F[0].product_status)!=null&&ue.fist_affected?u?(u.p(F,A),A&1&&c(u,1)):(u=fn(F),u.c(),c(u,1),u.m(t,r)):u&&(B(),p(u,1,1,()=>{u=null}),U()),(Be=F[0].product_status)!=null&&Be.first_fixed?d?(d.p(F,A),A&1&&c(d,1)):(d=an(F),d.c(),c(d,1),d.m(t,e)):d&&(B(),p(d,1,1,()=>{d=null}),U()),(se=F[0].product_status)!=null&&se.fixed?m?(m.p(F,A),A&1&&c(m,1)):(m=on(F),m.c(),c(m,1),m.m(t,l)):m&&(B(),p(m,1,1,()=>{m=null}),U()),(re=F[0].product_status)!=null&&re.under_investigation?v?(v.p(F,A),A&1&&c(v,1)):(v=un(F),v.c(),c(v,1),v.m(t,n)):v&&(B(),p(v,1,1,()=>{v=null}),U()),(fe=F[0].product_status)!=null&&fe.known_affected?$?($.p(F,A),A&1&&c($,1)):($=cn(F),$.c(),c($,1),$.m(t,i)):$&&(B(),p($,1,1,()=>{$=null}),U()),(Ve=F[0].product_status)!=null&&Ve.known_not_affected?g?(g.p(F,A),A&1&&c(g,1)):(g=dn(F),g.c(),c(g,1),g.m(t,f)):g&&(B(),p(g,1,1,()=>{g=null}),U()),(me=F[0].product_status)!=null&&me.last_affected?b?(b.p(F,A),A&1&&c(b,1)):(b=pn(F),b.c(),c(b,1),b.m(t,a)):b&&(B(),p(b,1,1,()=>{b=null}),U()),(he=F[0].product_status)!=null&&he.recommended?E?(E.p(F,A),A&1&&c(E,1)):(E=_n(F),E.c(),c(E,1),E.m(t,null)):E&&(B(),p(E,1,1,()=>{E=null}),U())},i(F){o||(c(u),c(d),c(m),c(v),c($),c(g),c(b),c(E),o=!0)},o(F){p(u),p(d),p(m),p(v),p($),p(g),p(b),p(E),o=!1},d(F){F&&_(t),u&&u.d(),d&&d.d(),m&&m.d(),v&&v.d(),$&&$.d(),g&&g.d(),b&&b.d(),E&&E.d()}}}function pf(s){let t,r;return t=new ie({props:{header:"Product status",level:"4",$$slots:{default:[df]},$$scope:{ctx:s}}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,[l]){const n={};l&3&&(n.$$scope={dirty:l,ctx:e}),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function _f(s,t,r){let{vulnerability:e}=t;return s.$$set=l=>{"vulnerability"in l&&r(0,e=l.vulnerability)},[e]}class $f extends ee{constructor(t){super(),te(this,t,_f,pf,x,{vulnerability:0})}}function $n(s){let t,r;return t=new Le({props:{label:"Entitlements",values:s[0].entitlements}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.values=e[0].entitlements),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function mn(s){let t,r;return t=new Le({props:{label:"Group IDs",values:s[0].group_ids}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.values=e[0].group_ids),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function hn(s){let t,r;return t=new Me({props:{label:"Product IDs",values:s[0].product_ids}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.values=e[0].product_ids),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function gn(s){let t,r,e="Restart_required",l,n,i=s[0].restart_required.category+"",f,a,o=s[0].restart_required.details&&vn(s);return{c(){t=k("div"),r=k("h6"),r.textContent=e,l=D(),n=k("p"),f=K(i),a=D(),o&&o.c(),this.h()},l(u){t=T(u,"DIV",{class:!0});var d=C(t);r=T(d,"H6",{"data-svelte-h":!0}),ne(r)!=="svelte-1umh687"&&(r.textContent=e),l=y(d),n=T(d,"P",{});var m=C(n);f=W(m,i),m.forEach(_),a=y(d),o&&o.l(d),d.forEach(_),this.h()},h(){N(t,"class","")},m(u,d){w(u,t,d),h(t,r),h(t,l),h(t,n),h(n,f),h(t,a),o&&o.m(t,null)},p(u,d){d&1&&i!==(i=u[0].restart_required.category+"")&&Q(f,i),u[0].restart_required.details?o?o.p(u,d):(o=vn(u),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(u){u&&_(t),o&&o.d()}}}function vn(s){let t,r=s[0].restart_required.details+"",e;return{c(){t=k("p"),e=K(r)},l(l){t=T(l,"P",{});var n=C(t);e=W(n,r),n.forEach(_)},m(l,n){w(l,t,n),h(t,e)},p(l,n){n&1&&r!==(r=l[0].restart_required.details+"")&&Q(e,r)},d(l){l&&_(t)}}}function mf(s){let t,r,e,l,n,i,f,a,o,u;r=new Ie({props:{keys:s[1],values:s[2]}}),l=new Ye({props:{label:"Details",value:s[0].details}});let d=s[0].entitlements&&$n(s),m=s[0].group_ids&&mn(s),v=s[0].product_ids&&hn(s),$=s[0].restart_required&&gn(s);return{c(){t=k("p"),P(r.$$.fragment),e=D(),P(l.$$.fragment),n=D(),d&&d.c(),i=D(),m&&m.c(),f=D(),v&&v.c(),a=D(),$&&$.c(),o=H()},l(g){t=T(g,"P",{});var b=C(t);S(r.$$.fragment,b),b.forEach(_),e=y(g),S(l.$$.fragment,g),n=y(g),d&&d.l(g),i=y(g),m&&m.l(g),f=y(g),v&&v.l(g),a=y(g),$&&$.l(g),o=H()},m(g,b){w(g,t,b),I(r,t,null),w(g,e,b),I(l,g,b),w(g,n,b),d&&d.m(g,b),w(g,i,b),m&&m.m(g,b),w(g,f,b),v&&v.m(g,b),w(g,a,b),$&&$.m(g,b),w(g,o,b),u=!0},p(g,[b]){const E={};b&1&&(E.value=g[0].details),l.$set(E),g[0].entitlements?d?(d.p(g,b),b&1&&c(d,1)):(d=$n(g),d.c(),c(d,1),d.m(i.parentNode,i)):d&&(B(),p(d,1,1,()=>{d=null}),U()),g[0].group_ids?m?(m.p(g,b),b&1&&c(m,1)):(m=mn(g),m.c(),c(m,1),m.m(f.parentNode,f)):m&&(B(),p(m,1,1,()=>{m=null}),U()),g[0].product_ids?v?(v.p(g,b),b&1&&c(v,1)):(v=hn(g),v.c(),c(v,1),v.m(a.parentNode,a)):v&&(B(),p(v,1,1,()=>{v=null}),U()),g[0].restart_required?$?$.p(g,b):($=gn(g),$.c(),$.m(o.parentNode,o)):$&&($.d(1),$=null)},i(g){u||(c(r.$$.fragment,g),c(l.$$.fragment,g),c(d),c(m),c(v),u=!0)},o(g){p(r.$$.fragment,g),p(l.$$.fragment,g),p(d),p(m),p(v),u=!1},d(g){g&&(_(t),_(e),_(n),_(i),_(f),_(a),_(o)),V(r),V(l,g),d&&d.d(g),m&&m.d(g),v&&v.d(g),$&&$.d(g)}}}function hf(s,t,r){let{remediation:e}=t;const l=[],n=[];return e.date&&(l.push("Date"),n.push(e.date)),e.url&&(l.push("URL"),n.push(e.url)),s.$$set=i=>{"remediation"in i&&r(0,e=i.remediation)},[e,l,n]}class gf extends ee{constructor(t){super(),te(this,t,hf,mf,x,{remediation:0})}}function bn(s,t,r){const e=s.slice();return e[1]=t[r],e}function kn(s){let t,r,e=Y(s[0].remediations),l=[];for(let i=0;ip(l[i],1,1,()=>{l[i]=null});return{c(){for(let i=0;i{e=null}),U())},i(l){r||(c(e),r=!0)},o(l){p(e),r=!1},d(l){l&&_(t),e&&e.d(l)}}}function kf(s){let t,r;return t=new ie({props:{header:"Remediations",level:"4",$$slots:{default:[bf]},$$scope:{ctx:s}}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,[l]){const n={};l&17&&(n.$$scope={dirty:l,ctx:e}),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function Tf(s,t,r){let{vulnerability:e}=t;return s.$$set=l=>{"vulnerability"in l&&r(0,e=l.vulnerability)},[e]}class wf extends ee{constructor(t){super(),te(this,t,Tf,kf,x,{vulnerability:0})}}function Ef(s){let t,r;return t=new Ie({props:{keys:s[0],values:s[1]}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p:oe,i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function Df(s){let t,r;return t=new ie({props:{header:"CVSS V2",level:"5",$$slots:{default:[Ef]},$$scope:{ctx:s}}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,[l]){const n={};l&8&&(n.$$scope={dirty:l,ctx:e}),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function yf(s,t,r){let{score:e}=t;const l=[],n=[];return e.cvss_v2.accessComplexity&&(l.push("accessComplexity"),n.push(e.cvss_v2.accessComplexity)),e.cvss_v2.accessVector&&(l.push("accessVector"),n.push(e.cvss_v2.accessVector)),e.cvss_v2.authentication&&(l.push("authentication"),n.push(e.cvss_v2.authentication)),e.cvss_v2.availabilityImpact&&(l.push("availabilityImpact"),n.push(e.cvss_v2.availabilityImpact)),e.cvss_v2.availabilityRequirement&&(l.push("availabilityRequirement"),n.push(e.cvss_v2.availabilityRequirement)),e.cvss_v2.baseScore&&(l.push("baseScore"),n.push(e.cvss_v2.baseScore)),e.cvss_v2.collateralDamagePotential&&(l.push("collateralDamagePotential"),n.push(e.cvss_v2.collateralDamagePotential)),e.cvss_v2.confidentialityImpact&&(l.push("confidentialityImpact"),n.push(e.cvss_v2.confidentialityImpact)),e.cvss_v2.confidentialityRequirement&&(l.push("confidentialityRequirement"),n.push(e.cvss_v2.confidentialityRequirement)),e.cvss_v2.environmentalScore&&(l.push("environmentalScore"),n.push(e.cvss_v2.environmentalScore)),e.cvss_v2.exploitability&&(l.push("exploitability"),n.push(e.cvss_v2.exploitability)),e.cvss_v2.integrityImpact&&(l.push("integrityImpact"),n.push(e.cvss_v2.integrityImpact)),e.cvss_v2.integrityRequirement&&(l.push("integrityRequirement"),n.push(e.cvss_v2.integrityRequirement)),e.cvss_v2.remediationLevel&&(l.push("remediationLevel"),n.push(e.cvss_v2.remediationLevel)),e.cvss_v2.reportConfidence&&(l.push("reportConfidence"),n.push(e.cvss_v2.reportConfidence)),e.cvss_v2.targetDistribution&&(l.push("targetDistribution"),n.push(e.cvss_v2.targetDistribution)),e.cvss_v2.temporalScore&&(l.push("temporalScore"),n.push(e.cvss_v2.temporalScore)),e.cvss_v2.vectorString&&(l.push("vectorString"),n.push(e.cvss_v2.vectorString)),e.cvss_v2.version&&(l.push("version"),n.push(e.cvss_v2.version)),s.$$set=i=>{"score"in i&&r(2,e=i.score)},[l,n,e]}class Cf extends ee{constructor(t){super(),te(this,t,yf,Df,x,{score:2})}}function Pf(s){let t,r;return t=new Ie({props:{keys:s[1],values:s[2]}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p:oe,i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function Sf(s){let t,r;return t=new ie({props:{header:"CVSS V"+s[0].cvss_v3.version,level:"5",$$slots:{default:[Pf]},$$scope:{ctx:s}}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,[l]){const n={};l&1&&(n.header="CVSS V"+e[0].cvss_v3.version),l&8&&(n.$$scope={dirty:l,ctx:e}),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function If(s,t,r){let{score:e}=t;const l=[],n=[];return e.cvss_v3.attackComplexity&&(l.push("attackComplexity"),n.push(e.cvss_v3.attackComplexity)),e.cvss_v3.attackVector&&(l.push("attackVector"),n.push(e.cvss_v3.attackVector)),e.cvss_v3.availabilityImpact&&(l.push("availabilityImpact"),n.push(e.cvss_v3.availabilityImpact)),e.cvss_v3.availabilityRequirement&&(l.push("availabilityRequirement"),n.push(e.cvss_v3.availabilityRequirement)),e.cvss_v3.baseScore&&(l.push("baseScore"),n.push(e.cvss_v3.baseScore)),e.cvss_v3.baseSeverity&&(l.push("baseSeverity"),n.push(e.cvss_v3.baseSeverity)),e.cvss_v3.confidentialityImpact&&(l.push("confidentialityImpact"),n.push(e.cvss_v3.confidentialityImpact)),e.cvss_v3.confidentialityRequirement&&(l.push("confidentialityRequirement"),n.push(e.cvss_v3.confidentialityRequirement)),e.cvss_v3.environmentalScore&&(l.push("environmentalScore"),n.push(e.cvss_v3.environmentalScore)),e.cvss_v3.environmentalSeverity&&(l.push("environmentalSeverity"),n.push(e.cvss_v3.environmentalSeverity)),e.cvss_v3.exploitCodeMaturity&&(l.push("exploitCodeMaturity"),n.push(e.cvss_v3.exploitCodeMaturity)),e.cvss_v3.integrityImpact&&(l.push("integrityImpact"),n.push(e.cvss_v3.integrityImpact)),e.cvss_v3.integrityRequirement&&(l.push("integrityRequirement"),n.push(e.cvss_v3.integrityRequirement)),e.cvss_v3.modifiedAttackComplexity&&(l.push("modifiedAttackComplexity"),n.push(e.cvss_v3.modifiedAttackComplexity)),e.cvss_v3.modifiedAttackVector&&(l.push("modifiedAttackVector"),n.push(e.cvss_v3.modifiedAttackVector)),e.cvss_v3.modifiedAvailabilityImpact&&(l.push("modifiedAvailabilityImpact"),n.push(e.cvss_v3.modifiedAvailabilityImpact)),e.cvss_v3.modifiedConfidentialityImpact&&(l.push("modifiedConfidentialityImpact"),n.push(e.cvss_v3.modifiedConfidentialityImpact)),e.cvss_v3.modifiedIntegrityImpact&&(l.push("modifiedIntegrityImpact"),n.push(e.cvss_v3.modifiedIntegrityImpact)),e.cvss_v3.modifiedPrivilegesRequired&&(l.push("modifiedPrivilegesRequired"),n.push(e.cvss_v3.modifiedPrivilegesRequired)),e.cvss_v3.modifiedScope&&(l.push("modifiedScope"),n.push(e.cvss_v3.modifiedScope)),e.cvss_v3.modifiedUserInteraction&&(l.push("modifiedUserInteraction"),n.push(e.cvss_v3.modifiedUserInteraction)),e.cvss_v3.privilegesRequired&&(l.push("privilegesRequired"),n.push(e.cvss_v3.privilegesRequired)),e.cvss_v3.remediationLevel&&(l.push("remediationLevel"),n.push(e.cvss_v3.remediationLevel)),e.cvss_v3.reportConfidence&&(l.push("reportConfidence"),n.push(e.cvss_v3.reportConfidence)),e.cvss_v3.scope&&(l.push("scope"),n.push(e.cvss_v3.scope)),e.cvss_v3.temporalScore&&(l.push("temporalScore"),n.push(e.cvss_v3.temporalScore)),e.cvss_v3.temporalSeverity&&(l.push("temporalSeverity"),n.push(e.cvss_v3.temporalSeverity)),e.cvss_v3.userInteraction&&(l.push("userInteraction"),n.push(e.cvss_v3.userInteraction)),e.cvss_v3.vectorString&&(l.push("vectorString"),n.push(e.cvss_v3.vectorString)),e.cvss_v3.version&&(l.push("version"),n.push(e.cvss_v3.version)),s.$$set=i=>{"score"in i&&r(0,e=i.score)},[e,l,n]}class Vf extends ee{constructor(t){super(),te(this,t,If,Sf,x,{score:0})}}function wn(s,t,r){const e=s.slice();return e[1]=t[r],e[3]=r,e}function En(s){let t,r,e=Y(s[0].scores),l=[];for(let i=0;ip(l[i],1,1,()=>{l[i]=null});return{c(){for(let i=0;i{f=null}),U()),u[1].cvss_v3?a?(a.p(u,d),d&1&&c(a,1)):(a=yn(u),a.c(),c(a,1),a.m(r.parentNode,r)):a&&(B(),p(a,1,1,()=>{a=null}),U()),u[1].products?o?(o.p(u,d),d&1&&c(o,1)):(o=Cn(u),o.c(),c(o,1),o.m(n.parentNode,n)):o&&(B(),p(o,1,1,()=>{o=null}),U())},i(u){i||(c(f),c(a),c(o),i=!0)},o(u){p(f),p(a),p(o),i=!1},d(u){u&&(_(t),_(r),_(e),_(l),_(n)),f&&f.d(u),a&&a.d(u),o&&o.d(u)}}}function Pn(s){let t,r;return t=new ie({props:{header:"Score "+(s[3]+1),level:"4",$$slots:{default:[Nf]},$$scope:{ctx:s}}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&17&&(n.$$scope={dirty:l,ctx:e}),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function Rf(s){let t,r,e=s[0].scores&&En(s);return{c(){e&&e.c(),t=H()},l(l){e&&e.l(l),t=H()},m(l,n){e&&e.m(l,n),w(l,t,n),r=!0},p(l,n){l[0].scores?e?(e.p(l,n),n&1&&c(e,1)):(e=En(l),e.c(),c(e,1),e.m(t.parentNode,t)):e&&(B(),p(e,1,1,()=>{e=null}),U())},i(l){r||(c(e),r=!0)},o(l){p(e),r=!1},d(l){l&&_(t),e&&e.d(l)}}}function Af(s){let t,r;return t=new ie({props:{header:"Scores",level:"4",$$slots:{default:[Rf]},$$scope:{ctx:s}}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,[l]){const n={};l&17&&(n.$$scope={dirty:l,ctx:e}),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function Lf(s,t,r){let{vulnerability:e}=t;return s.$$set=l=>{"vulnerability"in l&&r(0,e=l.vulnerability)},[e]}class Ff extends ee{constructor(t){super(),te(this,t,Lf,Af,x,{vulnerability:0})}}function Sn(s){let t,r;return t=new Le({props:{label:"Group IDs",values:s[0].group_ids}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.values=e[0].group_ids),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function In(s){let t,r;return t=new Le({props:{label:"Product IDs",values:s[0].product_ids}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.values=e[0].product_ids),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function Bf(s){let t,r,e,l,n;t=new Ie({props:{keys:s[1],values:s[2]}});let i=s[0].group_ids&&Sn(s),f=s[0].product_ids&&In(s);return{c(){P(t.$$.fragment),r=D(),i&&i.c(),e=D(),f&&f.c(),l=H()},l(a){S(t.$$.fragment,a),r=y(a),i&&i.l(a),e=y(a),f&&f.l(a),l=H()},m(a,o){I(t,a,o),w(a,r,o),i&&i.m(a,o),w(a,e,o),f&&f.m(a,o),w(a,l,o),n=!0},p(a,[o]){a[0].group_ids?i?(i.p(a,o),o&1&&c(i,1)):(i=Sn(a),i.c(),c(i,1),i.m(e.parentNode,e)):i&&(B(),p(i,1,1,()=>{i=null}),U()),a[0].product_ids?f?(f.p(a,o),o&1&&c(f,1)):(f=In(a),f.c(),c(f,1),f.m(l.parentNode,l)):f&&(B(),p(f,1,1,()=>{f=null}),U())},i(a){n||(c(t.$$.fragment,a),c(i),c(f),n=!0)},o(a){p(t.$$.fragment,a),p(i),p(f),n=!1},d(a){a&&(_(r),_(e),_(l)),V(t,a),i&&i.d(a),f&&f.d(a)}}}function Uf(s,t,r){let{threat:e}=t;const l=[],n=[];return l.push("Category"),n.push(e.category),e.date&&(l.push("Date"),n.push(e.date)),l.push("Details"),n.push(e.details),s.$$set=i=>{"threat"in i&&r(0,e=i.threat)},[e,l,n]}class qf extends ee{constructor(t){super(),te(this,t,Uf,Bf,x,{threat:0})}}function Vn(s,t,r){const e=s.slice();return e[2]=t[r],e[4]=r,e}function Nn(s){let t;return{c(){t=k("hr"),this.h()},l(r){t=T(r,"HR",{style:!0}),this.h()},h(){fi(t,"width","80vw")},m(r,e){w(r,t,e)},d(r){r&&_(t)}}}function Rn(s){let t,r,e,l;t=new qf({props:{threat:s[2]}});let n=s[0].threats&&s[0].threats.length>1&&s[4]1&&i[4]p(i[a],1,1,()=>{i[a]=null});return{c(){t=k("div"),r=D();for(let a=0;a{"vulnerability"in n&&r(0,l=n.vulnerability)},s.$$.update=()=>{s.$$.dirty&1&&r(1,e=l.threats?l.threats:[])},[l,e]}class Mf extends ee{constructor(t){super(),te(this,t,Of,Gf,x,{vulnerability:0})}}function An(s){let t,r;return t=new ie({props:{header:"Acknowledgments",level:"4",$$slots:{default:[zf]},$$scope:{ctx:s}}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&129&&(n.$$scope={dirty:l,ctx:e}),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function zf(s){let t,r;return t=new xn({props:{acknowledegments:s[0].acknowledgments}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.acknowledegments=e[0].acknowledgments),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function Ln(s){let t,r;return t=new Qs({props:{vulnerability:s[0]}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.vulnerability=e[0]),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function Fn(s){let t,r;return t=new nf({props:{vulnerability:s[0]}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.vulnerability=e[0]),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function Bn(s){let t,r;return t=new of({props:{vulnerability:s[0]}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.vulnerability=e[0]),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function Un(s){let t,r;return t=new ie({props:{header:"Notes",level:"4",open:s[0].notes.length===1,$$slots:{default:[jf]},$$scope:{ctx:s}}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.open=e[0].notes.length===1),l&129&&(n.$$scope={dirty:l,ctx:e}),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function jf(s){let t,r;return t=new ei({props:{notes:s[0].notes}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.notes=e[0].notes),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function qn(s){let t,r;return t=new $f({props:{vulnerability:s[0]}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.vulnerability=e[0]),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function Hn(s){let t,r;return t=new ie({props:{header:"References",level:"4",$$slots:{default:[Kf]},$$scope:{ctx:s}}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&129&&(n.$$scope={dirty:l,ctx:e}),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function Kf(s){let t,r;return t=new ti({props:{references:s[0].references}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.references=e[0].references),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function Gn(s){let t,r;return t=new wf({props:{vulnerability:s[0]}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.vulnerability=e[0]),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function On(s){let t,r;return t=new Ff({props:{vulnerability:s[0]}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.vulnerability=e[0]),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function Mn(s){let t,r;return t=new Mf({props:{vulnerability:s[0]}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.vulnerability=e[0]),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function Wf(s){let t,r,e,l,n,i=s[0].ids&&Array.isArray(s[0].ids),f,a,o=s[0].notes&&Array.isArray(s[0].notes),u,d,m,v,$,g;r=new ef({props:{vulnerability:s[0]}});let b=s[0].acknowledgments&&An(s),E=s[0].flags&&Ln(s),q=i&&Fn(s),G=s[0].involvements&&Bn(s),z=o&&Un(s),O=s[0].product_status&&qn(s),R=s[0].references&&Hn(s),M=s[0].remediations&&Gn(s),j=s[0].scores&&On(s),le=s[0].threats&&Mn(s);return{c(){t=k("div"),P(r.$$.fragment),e=D(),b&&b.c(),l=D(),E&&E.c(),n=D(),q&&q.c(),f=D(),G&&G.c(),a=D(),z&&z.c(),u=D(),O&&O.c(),d=D(),R&&R.c(),m=D(),M&&M.c(),v=D(),j&&j.c(),$=D(),le&&le.c()},l(F){t=T(F,"DIV",{});var A=C(t);S(r.$$.fragment,A),e=y(A),b&&b.l(A),l=y(A),E&&E.l(A),n=y(A),q&&q.l(A),f=y(A),G&&G.l(A),a=y(A),z&&z.l(A),u=y(A),O&&O.l(A),d=y(A),R&&R.l(A),m=y(A),M&&M.l(A),v=y(A),j&&j.l(A),$=y(A),le&&le.l(A),A.forEach(_)},m(F,A){w(F,t,A),I(r,t,null),h(t,e),b&&b.m(t,null),h(t,l),E&&E.m(t,null),h(t,n),q&&q.m(t,null),h(t,f),G&&G.m(t,null),h(t,a),z&&z.m(t,null),h(t,u),O&&O.m(t,null),h(t,d),R&&R.m(t,null),h(t,m),M&&M.m(t,null),h(t,v),j&&j.m(t,null),h(t,$),le&&le.m(t,null),g=!0},p(F,A){const ue={};A&1&&(ue.vulnerability=F[0]),r.$set(ue),F[0].acknowledgments?b?(b.p(F,A),A&1&&c(b,1)):(b=An(F),b.c(),c(b,1),b.m(t,l)):b&&(B(),p(b,1,1,()=>{b=null}),U()),F[0].flags?E?(E.p(F,A),A&1&&c(E,1)):(E=Ln(F),E.c(),c(E,1),E.m(t,n)):E&&(B(),p(E,1,1,()=>{E=null}),U()),A&1&&(i=F[0].ids&&Array.isArray(F[0].ids)),i?q?(q.p(F,A),A&1&&c(q,1)):(q=Fn(F),q.c(),c(q,1),q.m(t,f)):q&&(B(),p(q,1,1,()=>{q=null}),U()),F[0].involvements?G?(G.p(F,A),A&1&&c(G,1)):(G=Bn(F),G.c(),c(G,1),G.m(t,a)):G&&(B(),p(G,1,1,()=>{G=null}),U()),A&1&&(o=F[0].notes&&Array.isArray(F[0].notes)),o?z?(z.p(F,A),A&1&&c(z,1)):(z=Un(F),z.c(),c(z,1),z.m(t,u)):z&&(B(),p(z,1,1,()=>{z=null}),U()),F[0].product_status?O?(O.p(F,A),A&1&&c(O,1)):(O=qn(F),O.c(),c(O,1),O.m(t,d)):O&&(B(),p(O,1,1,()=>{O=null}),U()),F[0].references?R?(R.p(F,A),A&1&&c(R,1)):(R=Hn(F),R.c(),c(R,1),R.m(t,m)):R&&(B(),p(R,1,1,()=>{R=null}),U()),F[0].remediations?M?(M.p(F,A),A&1&&c(M,1)):(M=Gn(F),M.c(),c(M,1),M.m(t,v)):M&&(B(),p(M,1,1,()=>{M=null}),U()),F[0].scores?j?(j.p(F,A),A&1&&c(j,1)):(j=On(F),j.c(),c(j,1),j.m(t,$)):j&&(B(),p(j,1,1,()=>{j=null}),U()),F[0].threats?le?(le.p(F,A),A&1&&c(le,1)):(le=Mn(F),le.c(),c(le,1),le.m(t,null)):le&&(B(),p(le,1,1,()=>{le=null}),U())},i(F){g||(c(r.$$.fragment,F),c(b),c(E),c(q),c(G),c(z),c(O),c(R),c(M),c(j),c(le),g=!0)},o(F){p(r.$$.fragment,F),p(b),p(E),p(q),p(G),p(z),p(O),p(R),p(M),p(j),p(le),g=!1},d(F){F&&_(t),V(r),b&&b.d(),E&&E.d(),q&&q.d(),G&&G.d(),z&&z.d(),O&&O.d(),R&&R.d(),M&&M.d(),j&&j.d(),le&&le.d()}}}function Xf(s){let t,r,e;return r=new ie({props:{header:s[2],level:"3",open:s[1],onClose:s[5],$$slots:{default:[Wf]},$$scope:{ctx:s}}}),{c(){t=k("div"),P(r.$$.fragment)},l(l){t=T(l,"DIV",{});var n=C(t);S(r.$$.fragment,n),n.forEach(_)},m(l,n){w(l,t,n),I(r,t,null),e=!0},p(l,[n]){const i={};n&2&&(i.open=l[1]),n&129&&(i.$$scope={dirty:n,ctx:l}),r.$set(i)},i(l){e||(c(r.$$.fragment,l),e=!0)},o(l){p(r.$$.fragment,l),e=!1},d(l){l&&_(t),V(r)}}}function Yf(s,t,r){let e;Ne(s,X,u=>r(4,e=u));let{vulnerability:l}=t,{index:n=1}=t;async function i(){var u;await Ot(),(u=document.getElementById(`${l.cve}`))==null||u.scrollIntoView({behavior:"smooth"})}let f=l.cve?l.cve:`Vulnerability ${n}`,a=!1;const o=()=>{X.resetSelectedCVE()};return s.$$set=u=>{"vulnerability"in u&&r(0,l=u.vulnerability),"index"in u&&r(3,n=u.index)},s.$$.update=()=>{var u,d;s.$$.dirty&16&&(u=e.doc)!=null&&u.vulnerabilities&&((d=e.doc)==null?void 0:d.vulnerabilities.length)===1&&r(1,a=!0),s.$$.dirty&17&&(e.ui.selectedCVE&&e.ui.selectedCVE===l.cve?(r(1,a=!0),i()):e.ui.selectedCVE&&e.ui.selectedCVE!==l.cve&&r(1,a=!1))},[l,a,f,n,e,o]}class Jf extends ee{constructor(t){super(),te(this,t,Yf,Xf,x,{vulnerability:0,index:3})}}function zn(s,t,r){const e=s.slice();return e[2]=t[r],e[4]=r,e}function jn(s){let t,r;return t=new Jf({props:{vulnerability:s[2],index:s[4]+1}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.vulnerability=e[2]),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function Qf(s){let t,r,e=Y(s[0]),l=[];for(let i=0;ip(l[i],1,1,()=>{l[i]=null});return{c(){t=k("div");for(let i=0;ir(1,l=n)),s.$$.update=()=>{var n;s.$$.dirty&2&&r(0,e=(n=l.doc)==null?void 0:n.vulnerabilities)},[e,l]}class xf extends ee{constructor(t){super(),te(this,t,Zf,Qf,x,{})}}function Kn(s){let t,r,e,l,n,i,f,a,o=s[0].doc&&Wn(s);const u=[la,ta],d=[];function m(b,E){var q;return((q=b[0].doc)==null?void 0:q.productVulnerabilities.length)>1?0:1}r=m(s),e=d[r]=u[r](s);let v=s[0].doc&&s[0].doc.isProductTreePresent&&Xn(s),$=s[0].doc&&s[0].doc.isVulnerabilitiesPresent&&Yn(s),g=s[0].ui.history.length>0&&Jn();return{c(){o&&o.c(),t=D(),e.c(),l=D(),v&&v.c(),n=D(),$&&$.c(),i=D(),g&&g.c(),f=H()},l(b){o&&o.l(b),t=y(b),e.l(b),l=y(b),v&&v.l(b),n=y(b),$&&$.l(b),i=y(b),g&&g.l(b),f=H()},m(b,E){o&&o.m(b,E),w(b,t,E),d[r].m(b,E),w(b,l,E),v&&v.m(b,E),w(b,n,E),$&&$.m(b,E),w(b,i,E),g&&g.m(b,E),w(b,f,E),a=!0},p(b,E){b[0].doc?o?(o.p(b,E),E&1&&c(o,1)):(o=Wn(b),o.c(),c(o,1),o.m(t.parentNode,t)):o&&(B(),p(o,1,1,()=>{o=null}),U());let q=r;r=m(b),r===q?d[r].p(b,E):(B(),p(d[q],1,1,()=>{d[q]=null}),U(),e=d[r],e?e.p(b,E):(e=d[r]=u[r](b),e.c()),c(e,1),e.m(l.parentNode,l)),b[0].doc&&b[0].doc.isProductTreePresent?v?(v.p(b,E),E&1&&c(v,1)):(v=Xn(b),v.c(),c(v,1),v.m(n.parentNode,n)):v&&(B(),p(v,1,1,()=>{v=null}),U()),b[0].doc&&b[0].doc.isVulnerabilitiesPresent?$?($.p(b,E),E&1&&c($,1)):($=Yn(b),$.c(),c($,1),$.m(i.parentNode,i)):$&&(B(),p($,1,1,()=>{$=null}),U()),b[0].ui.history.length>0?g?E&1&&c(g,1):(g=Jn(),g.c(),c(g,1),g.m(f.parentNode,f)):g&&(B(),p(g,1,1,()=>{g=null}),U())},i(b){a||(c(o),c(e),c(v),c($),c(g),a=!0)},o(b){p(o),p(e),p(v),p($),p(g),a=!1},d(b){b&&(_(t),_(l),_(n),_(i),_(f)),o&&o.d(b),d[r].d(b),v&&v.d(b),$&&$.d(b),g&&g.d(b)}}}function Wn(s){let t,r;return t=new ie({props:{header:"General",open:s[0].ui.isGeneralSectionVisible,$$slots:{default:[ea]},$$scope:{ctx:s}}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.open=e[0].ui.isGeneralSectionVisible),l&32&&(n.$$scope={dirty:l,ctx:e}),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function ea(s){let t,r;return t=new zi({}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function ta(s){let t,r="No Vulnerabilities overview",e;return{c(){t=k("h2"),t.textContent=r,e=K(` +import{s as x,n as oe,r as Qn,e as Ne,t as Ot,b as ri,o as ni}from"../chunks/scheduler.cc1c0861.js";import{S as ee,i as te,g as k,m as K,h as T,j as C,n as W,f as _,k as N,A as ge,a as w,y as h,z as We,B as vl,o as Q,s as D,c as y,C as ae,r as P,e as H,u as S,v as I,d as c,p as B,t as p,b as U,w as V,H as ii,x as ne,D as si,l as fi}from"../chunks/index.7a644faf.js";import{a as X}from"../chunks/store.22ca258b.js";import{c as ai,e as Y,K as Ie,p as bl,m as Qt,C as ie,S as kl,T as Gt,P as Fe,U as oi,B as ui,a as ci,l as Tl}from"../chunks/Spinner.f025728e.js";import{p as di}from"../chunks/stores.bde7595e.js";import{b as pi}from"../chunks/paths.0faff454.js";const Zn=s=>{const t=new FileReader;let r={};t.onload=e=>{if(e.target){try{r=JSON.parse(e.target.result)}catch{}const l=ai(r);X.setDocument(l)}},t.readAsText(s)};function wl(s){let t;return{c(){t=k("i"),this.h()},l(r){t=T(r,"I",{class:!0}),C(t).forEach(_),this.h()},h(){N(t,"class","bx bx-error")},m(r,e){w(r,t,e)},d(r){r&&_(t)}}}function _i(s){let t,r,e,l,n=s[3]&&wl();return{c(){t=k("div"),n&&n.c(),r=K(s[2]),this.h()},l(i){t=T(i,"DIV",{title:!0,class:!0});var f=C(t);n&&n.l(f),r=W(f,s[2]),f.forEach(_),this.h()},h(){N(t,"title","Drop a CSAF file here"),N(t,"class","droparea svelte-1m3u4ca"),ge(t,"hover",s[1]),ge(t,"droparea-error",s[0]==!1),ge(t,"droparea-okay",s[0]==!0)},m(i,f){w(i,t,f),n&&n.m(t,null),h(t,r),e||(l=[We(t,"dragover",vl(s[6])),We(t,"dragleave",s[7]),We(t,"drop",vl(s[4]))],e=!0)},p(i,[f]){i[3]?n||(n=wl(),n.c(),n.m(t,r)):n&&(n.d(1),n=null),f&4&&Q(r,i[2]),f&2&&ge(t,"hover",i[1]),f&1&&ge(t,"droparea-error",i[0]==!1),f&1&&ge(t,"droparea-okay",i[0]==!0)},i:oe,o:oe,d(i){i&&_(t),n&&n.d(),e=!1,Qn(l)}}}function $i(s,t,r){let e,l;Ne(s,X,d=>r(5,l=d));let n=!1,i=null,f="Drop your CSAF-file here";const a=d=>{if(d.dataTransfer){X.reset(),X.clearUploadedFile();const m=d.dataTransfer.files[0];m.type=="application/json"?(r(0,i=!0),r(2,f=`Displaying file "${m.name}".`),Zn(m)):(r(2,f=`File "${m.name}" has an invalid format.`),r(0,i=!1),X.reset())}},o=()=>{r(1,n=!0)},u=()=>{r(1,n=!1)};return s.$$.update=()=>{s.$$.dirty&32&&l.ui.uploadedFile&&(r(2,f="Drop your CSAF-file here"),r(1,n=!1),r(0,i=null)),s.$$.dirty&1&&r(3,e=i===!1)},[i,n,f,e,a,l,o,u]}class mi extends ee{constructor(t){super(),te(this,t,$i,_i,x,{})}}function El(s,t,r){const e=s.slice();return e[2]=t[r],e}function Dl(s){let t,r=s[2]+"",e;return{c(){t=k("li"),e=K(r)},l(l){t=T(l,"LI",{});var n=C(t);e=W(n,r),n.forEach(_)},m(l,n){w(l,t,n),h(t,e)},p(l,n){n&1&&r!==(r=l[2]+"")&&Q(e,r)},d(l){l&&_(t)}}}function hi(s){let t,r,e,l,n=Y(s[0]),i=[];for(let f=0;f{"values"in n&&r(0,e=n.values),"label"in n&&r(1,l=n.label)},[e,l]}class Le extends ee{constructor(t){super(),te(this,t,gi,hi,x,{values:0,label:1})}}function yl(s){let t,r;return t=new Le({props:{label:"URLs",values:s[0].urls}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.values=e[0].urls),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function vi(s){let t,r,e,l;t=new Ie({props:{keys:s[1],values:s[2]}});let n=s[0].urls&&yl(s);return{c(){P(t.$$.fragment),r=D(),n&&n.c(),e=H()},l(i){S(t.$$.fragment,i),r=y(i),n&&n.l(i),e=H()},m(i,f){I(t,i,f),w(i,r,f),n&&n.m(i,f),w(i,e,f),l=!0},p(i,[f]){i[0].urls?n?(n.p(i,f),f&1&&c(n,1)):(n=yl(i),n.c(),c(n,1),n.m(e.parentNode,e)):n&&(B(),p(n,1,1,()=>{n=null}),U())},i(i){l||(c(t.$$.fragment,i),c(n),l=!0)},o(i){p(t.$$.fragment,i),p(n),l=!1},d(i){i&&(_(r),_(e)),V(t,i),n&&n.d(i)}}}function bi(s,t,r){let{ack:e}=t;const l=[],n=[];return e.names&&(l.push("Names"),n.push(e.names.join(", "))),e.organization&&(l.push("Organization"),n.push(e.organization)),e.summary&&(l.push("Summary"),n.push(e.summary)),s.$$set=i=>{"ack"in i&&r(0,e=i.ack)},[e,l,n]}class ki extends ee{constructor(t){super(),te(this,t,bi,vi,x,{ack:0})}}function Cl(s,t,r){const e=s.slice();return e[1]=t[r],e}function Pl(s){let t,r,e=Y(s[0]),l=[];for(let i=0;ip(l[i],1,1,()=>{l[i]=null});return{c(){for(let i=0;i{e=null}),U())},i(l){r||(c(e),r=!0)},o(l){p(e),r=!1},d(l){l&&_(t),e&&e.d(l)}}}function wi(s,t,r){let{acknowledegments:e}=t;return s.$$set=l=>{"acknowledegments"in l&&r(0,e=l.acknowledegments)},[e]}class xn extends ee{constructor(t){super(),te(this,t,wi,Ti,x,{acknowledegments:0})}}function Ei(s){let t,r,e,l="
Text
",n,i,f,a,o=bl.sanitize(Qt.parse(s[0].text.replace(/^[\u200B\u200C\u200D\u200E\u200F\uFEFF]/,"")))+"",u;return t=new Ie({props:{keys:s[1],values:s[2]}}),{c(){P(t.$$.fragment),r=D(),e=k("div"),e.innerHTML=l,n=D(),i=k("div"),f=k("div"),a=new ii(!1),this.h()},l(d){S(t.$$.fragment,d),r=y(d),e=T(d,"DIV",{class:!0,"data-svelte-h":!0}),ne(e)!=="svelte-hzyzj7"&&(e.innerHTML=l),n=y(d),i=T(d,"DIV",{class:!0});var m=C(i);f=T(m,"DIV",{class:!0});var v=C(f);a=si(v,!1),v.forEach(_),m.forEach(_),this.h()},h(){N(e,"class","category-name"),a.a=null,N(f,"class","display-markdown"),N(i,"class","markdown-text")},m(d,m){I(t,d,m),w(d,r,m),w(d,e,m),w(d,n,m),w(d,i,m),h(i,f),a.m(o,f),u=!0},p(d,[m]){(!u||m&1)&&o!==(o=bl.sanitize(Qt.parse(d[0].text.replace(/^[\u200B\u200C\u200D\u200E\u200F\uFEFF]/,"")))+"")&&a.p(o)},i(d){u||(c(t.$$.fragment,d),u=!0)},o(d){p(t.$$.fragment,d),u=!1},d(d){d&&(_(r),_(e),_(n),_(i)),V(t,d)}}}function Di(s,t,r){Qt.use({gfm:!0});let{note:e}=t,l=[],n=[];return e.audience&&(l.push("Audience"),n.push(e.audience)),e.title&&(l.push("Title"),n.push(e.title)),s.$$set=i=>{"note"in i&&r(0,e=i.note)},[e,l,n]}class yi extends ee{constructor(t){super(),te(this,t,Di,Ei,x,{note:0})}}function Il(s,t,r){const e=s.slice();return e[1]=t[r],e}function Vl(s){let t,r,e=Y(s[0]),l=[];for(let i=0;ip(l[i],1,1,()=>{l[i]=null});return{c(){for(let i=0;i{e=null}),U())},i(l){r||(c(e),r=!0)},o(l){p(e),r=!1},d(l){l&&_(t),e&&e.d(l)}}}function Si(s,t,r){let{notes:e}=t;return s.$$set=l=>{"notes"in l&&r(0,e=l.notes)},[e]}class ei extends ee{constructor(t){super(),te(this,t,Si,Pi,x,{notes:0})}}function Ii(s){let t,r,e;return r=new Ie({props:{keys:s[0],values:s[1]}}),{c(){t=k("div"),P(r.$$.fragment),this.h()},l(l){t=T(l,"DIV",{class:!0});var n=C(t);S(r.$$.fragment,n),n.forEach(_),this.h()},h(){N(t,"class","reference")},m(l,n){w(l,t,n),I(r,t,null),e=!0},p:oe,i(l){e||(c(r.$$.fragment,l),e=!0)},o(l){p(r.$$.fragment,l),e=!1},d(l){l&&_(t),V(r)}}}function Vi(s,t,r){let{reference:e}=t,l=[],n=[];return e.category&&(l.push("Category"),n.push(e.category)),l.push("Summary"),n.push(e.summary),l.push("URL"),n.push(e.url),s.$$set=i=>{"reference"in i&&r(2,e=i.reference)},[l,n,e]}class Ni extends ee{constructor(t){super(),te(this,t,Vi,Ii,x,{reference:2})}}function Rl(s,t,r){const e=s.slice();return e[1]=t[r],e[3]=r,e}function Al(s){let t,r,e=Y(s[0]),l=[];for(let i=0;ip(l[i],1,1,()=>{l[i]=null});return{c(){for(let i=0;i1&&s[3]1&&i[3]{e=null}),U())},i(l){r||(c(e),r=!0)},o(l){p(e),r=!1},d(l){l&&_(t),e&&e.d(l)}}}function Ai(s,t,r){let{references:e}=t;return s.$$set=l=>{"references"in l&&r(0,e=l.references)},[e]}class ti extends ee{constructor(t){super(),te(this,t,Ai,Ri,x,{references:0})}}function Bl(s,t,r){const e=s.slice();return e[1]=t[r],e}function Ul(s){var o;let t,r,e,l='Date Number Summary Legacy_version',n,i,f=Y((o=s[0].doc)==null?void 0:o.revisionHistory),a=[];for(let u=0;ur(0,e=l)),[e]}class Bi extends ee{constructor(t){super(),te(this,t,Fi,Li,x,{})}}function Gl(s){var m,v;let t,r,e="Aggregate severity text",l,n,i,f=((m=s[1].doc)==null?void 0:m.aggregateSeverity.text)+"",a,o,u,d=((v=s[1].doc)==null?void 0:v.aggregateSeverity.namespace)&&Ol(s);return{c(){t=k("tr"),r=k("td"),r.textContent=e,l=D(),n=k("td"),i=k("span"),a=K(f),o=D(),d&&d.c(),u=H(),this.h()},l($){t=T($,"TR",{});var g=C(t);r=T(g,"TD",{class:!0,"data-svelte-h":!0}),ne(r)!=="svelte-ezcjpd"&&(r.textContent=e),l=y(g),n=T(g,"TD",{class:!0});var b=C(n);i=T(b,"SPAN",{});var E=C(i);a=W(E,f),E.forEach(_),b.forEach(_),g.forEach(_),o=y($),d&&d.l($),u=H(),this.h()},h(){N(r,"class","key"),N(n,"class","value")},m($,g){w($,t,g),h(t,r),h(t,l),h(t,n),h(n,i),h(i,a),w($,o,g),d&&d.m($,g),w($,u,g)},p($,g){var b,E;g&2&&f!==(f=((b=$[1].doc)==null?void 0:b.aggregateSeverity.text)+"")&&Q(a,f),(E=$[1].doc)!=null&&E.aggregateSeverity.namespace?d?d.p($,g):(d=Ol($),d.c(),d.m(u.parentNode,u)):d&&(d.d(1),d=null)},d($){$&&(_(t),_(o),_(u)),d&&d.d($)}}}function Ol(s){var o;let t,r,e="Aggregate severity namespace",l,n,i,f=((o=s[1].doc)==null?void 0:o.aggregateSeverity.namespace)+"",a;return{c(){t=k("tr"),r=k("td"),r.textContent=e,l=D(),n=k("td"),i=k("span"),a=K(f),this.h()},l(u){t=T(u,"TR",{});var d=C(t);r=T(d,"TD",{class:!0,"data-svelte-h":!0}),ne(r)!=="svelte-1v0c13f"&&(r.textContent=e),l=y(d),n=T(d,"TD",{class:!0});var m=C(n);i=T(m,"SPAN",{});var v=C(i);a=W(v,f),v.forEach(_),m.forEach(_),d.forEach(_),this.h()},h(){N(r,"class","key"),N(n,"class","value")},m(u,d){w(u,t,d),h(t,r),h(t,l),h(t,n),h(n,i),h(i,a)},p(u,d){var m;d&2&&f!==(f=((m=u[1].doc)==null?void 0:m.aggregateSeverity.namespace)+"")&&Q(a,f)},d(u){u&&_(t)}}}function Ml(s){var o;let t,r,e="TLP",l,n,i,f=((o=s[0])==null?void 0:o.label)+"",a;return{c(){t=k("tr"),r=k("td"),r.textContent=e,l=D(),n=k("td"),i=k("span"),a=K(f),this.h()},l(u){t=T(u,"TR",{});var d=C(t);r=T(d,"TD",{class:!0,"data-svelte-h":!0}),ne(r)!=="svelte-1vf2b9m"&&(r.textContent=e),l=y(d),n=T(d,"TD",{class:!0});var m=C(n);i=T(m,"SPAN",{class:!0});var v=C(i);a=W(v,f),v.forEach(_),m.forEach(_),d.forEach(_),this.h()},h(){N(r,"class","key"),N(i,"class",s[2]),N(n,"class","value")},m(u,d){w(u,t,d),h(t,r),h(t,l),h(t,n),h(n,i),h(i,a)},p(u,d){var m;d&1&&f!==(f=((m=u[0])==null?void 0:m.label)+"")&&Q(a,f),d&4&&N(i,"class",u[2])},d(u){u&&_(t)}}}function zl(s){var o;let t,r,e="TLP URL",l,n,i,f=((o=s[0])==null?void 0:o.url)+"",a;return{c(){t=k("tr"),r=k("td"),r.textContent=e,l=D(),n=k("td"),i=k("a"),a=K(f),this.h()},l(u){t=T(u,"TR",{});var d=C(t);r=T(d,"TD",{class:!0,"data-svelte-h":!0}),ne(r)!=="svelte-u8djht"&&(r.textContent=e),l=y(d),n=T(d,"TD",{class:!0});var m=C(n);i=T(m,"A",{href:!0});var v=C(i);a=W(v,f),v.forEach(_),m.forEach(_),d.forEach(_),this.h()},h(){N(r,"class","key"),N(i,"href",s[7]),N(n,"class","value")},m(u,d){w(u,t,d),h(t,r),h(t,l),h(t,n),h(n,i),h(i,a)},p(u,d){var m;d&1&&f!==(f=((m=u[0])==null?void 0:m.url)+"")&&Q(a,f),d&128&&N(i,"href",u[7])},d(u){u&&_(t)}}}function jl(s){let t,r,e="Publisher issuing authority",l,n,i;return{c(){t=k("tr"),r=k("td"),r.textContent=e,l=D(),n=k("td"),i=K(s[14]),this.h()},l(f){t=T(f,"TR",{});var a=C(t);r=T(a,"TD",{class:!0,"data-svelte-h":!0}),ne(r)!=="svelte-owj94d"&&(r.textContent=e),l=y(a),n=T(a,"TD",{class:!0});var o=C(n);i=W(o,s[14]),o.forEach(_),a.forEach(_),this.h()},h(){N(r,"class","key"),N(n,"class","value")},m(f,a){w(f,t,a),h(t,r),h(t,l),h(t,n),h(n,i)},p(f,a){a&16384&&Q(i,f[14])},d(f){f&&_(t)}}}function Kl(s){let t,r,e="Publisher contact details",l,n,i;return{c(){t=k("tr"),r=k("td"),r.textContent=e,l=D(),n=k("td"),i=K(s[13]),this.h()},l(f){t=T(f,"TR",{});var a=C(t);r=T(a,"TD",{class:!0,"data-svelte-h":!0}),ne(r)!=="svelte-1v84nzg"&&(r.textContent=e),l=y(a),n=T(a,"TD",{class:!0});var o=C(n);i=W(o,s[13]),o.forEach(_),a.forEach(_),this.h()},h(){N(r,"class","key"),N(n,"class","value")},m(f,a){w(f,t,a),h(t,r),h(t,l),h(t,n),h(n,i)},p(f,a){a&8192&&Q(i,f[13])},d(f){f&&_(t)}}}function Wl(s){let t,r,e="Language",l,n,i;return{c(){t=k("tr"),r=k("td"),r.textContent=e,l=D(),n=k("td"),i=K(s[10]),this.h()},l(f){t=T(f,"TR",{});var a=C(t);r=T(a,"TD",{class:!0,"data-svelte-h":!0}),ne(r)!=="svelte-1nwqfls"&&(r.textContent=e),l=y(a),n=T(a,"TD",{class:!0});var o=C(n);i=W(o,s[10]),o.forEach(_),a.forEach(_),this.h()},h(){N(r,"class","key"),N(n,"class","value")},m(f,a){w(f,t,a),h(t,r),h(t,l),h(t,n),h(n,i)},p(f,a){a&1024&&Q(i,f[10])},d(f){f&&_(t)}}}function Xl(s){let t,r,e="Source lang",l,n,i;return{c(){t=k("tr"),r=k("td"),r.textContent=e,l=D(),n=k("td"),i=K(s[9]),this.h()},l(f){t=T(f,"TR",{});var a=C(t);r=T(a,"TD",{class:!0,"data-svelte-h":!0}),ne(r)!=="svelte-l6sg4f"&&(r.textContent=e),l=y(a),n=T(a,"TD",{class:!0});var o=C(n);i=W(o,s[9]),o.forEach(_),a.forEach(_),this.h()},h(){N(r,"class","key"),N(n,"class","value")},m(f,a){w(f,t,a),h(t,r),h(t,l),h(t,n),h(n,i)},p(f,a){a&512&&Q(i,f[9])},d(f){f&&_(t)}}}function Yl(s){let t,r,e="Status",l,n,i;return{c(){t=k("tr"),r=k("td"),r.textContent=e,l=D(),n=k("td"),i=K(s[3]),this.h()},l(f){t=T(f,"TR",{});var a=C(t);r=T(a,"TD",{class:!0,"data-svelte-h":!0}),ne(r)!=="svelte-c0zrrs"&&(r.textContent=e),l=y(a),n=T(a,"TD",{class:!0});var o=C(n);i=W(o,s[3]),o.forEach(_),a.forEach(_),this.h()},h(){N(r,"class","key"),N(n,"class","value")},m(f,a){w(f,t,a),h(t,r),h(t,l),h(t,n),h(n,i)},p(f,a){a&8&&Q(i,f[3])},d(f){f&&_(t)}}}function Jl(s){var o,u;let t,r,e="Generator engine",l,n,i,f=((u=(o=s[1].doc)==null?void 0:o.generator)==null?void 0:u.engine.name)+"",a;return{c(){t=k("tr"),r=k("td"),r.textContent=e,l=D(),n=k("td"),i=k("span"),a=K(f),this.h()},l(d){t=T(d,"TR",{});var m=C(t);r=T(m,"TD",{class:!0,"data-svelte-h":!0}),ne(r)!=="svelte-bkkv2f"&&(r.textContent=e),l=y(m),n=T(m,"TD",{class:!0});var v=C(n);i=T(v,"SPAN",{});var $=C(i);a=W($,f),$.forEach(_),v.forEach(_),m.forEach(_),this.h()},h(){N(r,"class","key"),N(n,"class","value")},m(d,m){w(d,t,m),h(t,r),h(t,l),h(t,n),h(n,i),h(i,a)},p(d,m){var v,$;m&2&&f!==(f=(($=(v=d[1].doc)==null?void 0:v.generator)==null?void 0:$.engine.name)+"")&&Q(a,f)},d(d){d&&_(t)}}}function Ql(s){var o,u;let t,r,e="Generator engine version",l,n,i,f=((u=(o=s[1].doc)==null?void 0:o.generator)==null?void 0:u.engine.version)+"",a;return{c(){t=k("tr"),r=k("td"),r.textContent=e,l=D(),n=k("td"),i=k("span"),a=K(f),this.h()},l(d){t=T(d,"TR",{});var m=C(t);r=T(m,"TD",{class:!0,"data-svelte-h":!0}),ne(r)!=="svelte-ancfz"&&(r.textContent=e),l=y(m),n=T(m,"TD",{class:!0});var v=C(n);i=T(v,"SPAN",{});var $=C(i);a=W($,f),$.forEach(_),v.forEach(_),m.forEach(_),this.h()},h(){N(r,"class","key"),N(n,"class","value")},m(d,m){w(d,t,m),h(t,r),h(t,l),h(t,n),h(n,i),h(i,a)},p(d,m){var v,$;m&2&&f!==(f=(($=(v=d[1].doc)==null?void 0:v.generator)==null?void 0:$.engine.version)+"")&&Q(a,f)},d(d){d&&_(t)}}}function Zl(s){var o;let t,r,e="Generator date",l,n,i,f=((o=s[18])==null?void 0:o.date)+"",a;return{c(){t=k("tr"),r=k("td"),r.textContent=e,l=D(),n=k("td"),i=k("span"),a=K(f),this.h()},l(u){t=T(u,"TR",{});var d=C(t);r=T(d,"TD",{class:!0,"data-svelte-h":!0}),ne(r)!=="svelte-1jp3tqp"&&(r.textContent=e),l=y(d),n=T(d,"TD",{class:!0});var m=C(n);i=T(m,"SPAN",{});var v=C(i);a=W(v,f),v.forEach(_),m.forEach(_),d.forEach(_),this.h()},h(){N(r,"class","key"),N(n,"class","value")},m(u,d){w(u,t,d),h(t,r),h(t,l),h(t,n),h(n,i),h(i,a)},p(u,d){var m;d&262144&&f!==(f=((m=u[18])==null?void 0:m.date)+"")&&Q(a,f)},d(u){u&&_(t)}}}function xl(s){let t,r;return t=new Le({props:{label:"Aliases",values:s[20]}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1048576&&(n.values=e[20]),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function er(s){let t,r,e;return r=new ie({props:{header:"Revision history",level:"3",open:s[1].ui.isRevisionHistoryVisible,$$slots:{default:[Ui]},$$scope:{ctx:s}}}),{c(){t=k("div"),P(r.$$.fragment),this.h()},l(l){t=T(l,"DIV",{class:!0});var n=C(t);S(r.$$.fragment,n),n.forEach(_),this.h()},h(){N(t,"class","subsection")},m(l,n){w(l,t,n),I(r,t,null),e=!0},p(l,n){const i={};n&2&&(i.open=l[1].ui.isRevisionHistoryVisible),n&2097152&&(i.$$scope={dirty:n,ctx:l}),r.$set(i)},i(l){e||(c(r.$$.fragment,l),e=!0)},o(l){p(r.$$.fragment,l),e=!1},d(l){l&&_(t),V(r)}}}function Ui(s){let t,r;return t=new Bi({}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function tr(s){let t,r,e;return r=new ie({props:{header:"Notes",level:"3",$$slots:{default:[qi]},$$scope:{ctx:s}}}),{c(){t=k("div"),P(r.$$.fragment),this.h()},l(l){t=T(l,"DIV",{class:!0});var n=C(t);S(r.$$.fragment,n),n.forEach(_),this.h()},h(){N(t,"class","subsection")},m(l,n){w(l,t,n),I(r,t,null),e=!0},p(l,n){const i={};n&2097154&&(i.$$scope={dirty:n,ctx:l}),r.$set(i)},i(l){e||(c(r.$$.fragment,l),e=!0)},o(l){p(r.$$.fragment,l),e=!1},d(l){l&&_(t),V(r)}}}function qi(s){var e;let t,r;return t=new ei({props:{notes:(e=s[1].doc)==null?void 0:e.notes}}),{c(){P(t.$$.fragment)},l(l){S(t.$$.fragment,l)},m(l,n){I(t,l,n),r=!0},p(l,n){var f;const i={};n&2&&(i.notes=(f=l[1].doc)==null?void 0:f.notes),t.$set(i)},i(l){r||(c(t.$$.fragment,l),r=!0)},o(l){p(t.$$.fragment,l),r=!1},d(l){V(t,l)}}}function lr(s){let t,r,e;return r=new ie({props:{header:"Acknowledgements",level:"3",$$slots:{default:[Hi]},$$scope:{ctx:s}}}),{c(){t=k("div"),P(r.$$.fragment),this.h()},l(l){t=T(l,"DIV",{class:!0});var n=C(t);S(r.$$.fragment,n),n.forEach(_),this.h()},h(){N(t,"class","subsection")},m(l,n){w(l,t,n),I(r,t,null),e=!0},p(l,n){const i={};n&2097154&&(i.$$scope={dirty:n,ctx:l}),r.$set(i)},i(l){e||(c(r.$$.fragment,l),e=!0)},o(l){p(r.$$.fragment,l),e=!1},d(l){l&&_(t),V(r)}}}function Hi(s){var e;let t,r;return t=new xn({props:{acknowledgments:(e=s[1].doc)==null?void 0:e.acknowledgements}}),{c(){P(t.$$.fragment)},l(l){S(t.$$.fragment,l)},m(l,n){I(t,l,n),r=!0},p(l,n){var f;const i={};n&2&&(i.acknowledgments=(f=l[1].doc)==null?void 0:f.acknowledgements),t.$set(i)},i(l){r||(c(t.$$.fragment,l),r=!0)},o(l){p(t.$$.fragment,l),r=!1},d(l){V(t,l)}}}function rr(s){let t,r,e;return r=new ie({props:{header:"References",level:"3",$$slots:{default:[Gi]},$$scope:{ctx:s}}}),{c(){t=k("div"),P(r.$$.fragment),this.h()},l(l){t=T(l,"DIV",{class:!0});var n=C(t);S(r.$$.fragment,n),n.forEach(_),this.h()},h(){N(t,"class","subsection")},m(l,n){w(l,t,n),I(r,t,null),e=!0},p(l,n){const i={};n&2097154&&(i.$$scope={dirty:n,ctx:l}),r.$set(i)},i(l){e||(c(r.$$.fragment,l),e=!0)},o(l){p(r.$$.fragment,l),e=!1},d(l){l&&_(t),V(r)}}}function Gi(s){var e;let t,r;return t=new ti({props:{references:(e=s[1].doc)==null?void 0:e.references}}),{c(){P(t.$$.fragment)},l(l){S(t.$$.fragment,l)},m(l,n){I(t,l,n),r=!0},p(l,n){var f;const i={};n&2&&(i.references=(f=l[1].doc)==null?void 0:f.references),t.$set(i)},i(l){r||(c(t.$$.fragment,l),r=!0)},o(l){p(t.$$.fragment,l),r=!1},d(l){V(t,l)}}}function Oi(s){var rl,nl,il,sl,fl,al,ol,ul,cl,dl;let t,r,e,l,n="ID",i,f,a,o,u,d,m="CSAF-Version",v,$,g,b,E,q,G,z,O,R="Category",M,j,le,F,A,ue,Be="Title",se,re,fe,Ve,me,he,Xe="Publisher name",ze,Re,Ue,je,qe,He,vt="Publisher category",at,Ke,Je,ot,Ge,Oe,xt="Publisher namespace",Mt,ut,Et,zt,Dt,yt,Ct,Pt,Qe,Ze,el="Published",jt,ct,St,Kt,xe,et,tl="Last update",Wt,dt,It,Xt,tt,lt,ll="Tracking Version",Yt,pt,Vt,Jt,Nt,Rt,At,Lt,_t,$t,mt,ht,gt,Ae,ve=((rl=s[1].doc)==null?void 0:rl.aggregateSeverity)&&Gl(s),be=((nl=s[0])==null?void 0:nl.label)&&Ml(s),ke=((il=s[0])==null?void 0:il.url)&&zl(s),Te=s[14]&&jl(s),we=s[13]&&Kl(s),Ee=s[10]&&Wl(s),De=s[9]&&Xl(s),ye=((sl=s[1].doc)==null?void 0:sl.status)!==kl.final&&Yl(s),Ce=s[18]&&Jl(s),Pe=((al=(fl=s[18])==null?void 0:fl.engine)==null?void 0:al.version)&&Ql(s),Se=((ol=s[18])==null?void 0:ol.date)&&Zl(s),ce=s[20]&&xl(s),de=((ul=s[1].doc)==null?void 0:ul.isRevisionHistoryPresent)&&er(s),pe=((cl=s[1].doc)==null?void 0:cl.notes)&&tr(s),_e=((dl=s[1].doc)==null?void 0:dl.acknowledgements)&&lr(s),$e=s[1].doc&&s[1].doc.references.length>0&&rr(s);return{c(){t=k("div"),r=k("table"),e=k("tr"),l=k("td"),l.textContent=n,i=D(),f=k("td"),a=K(s[6]),o=D(),u=k("tr"),d=k("td"),d.textContent=m,v=D(),$=k("td"),g=K(s[8]),b=D(),ve&&ve.c(),E=D(),be&&be.c(),q=D(),ke&&ke.c(),G=D(),z=k("tr"),O=k("td"),O.textContent=R,M=D(),j=k("td"),le=K(s[12]),F=D(),A=k("tr"),ue=k("td"),ue.textContent=Be,se=D(),re=k("td"),fe=K(s[11]),Ve=D(),me=k("tr"),he=k("td"),he.textContent=Xe,ze=D(),Re=k("td"),Ue=K(s[17]),je=D(),qe=k("tr"),He=k("td"),He.textContent=vt,at=D(),Ke=k("td"),Je=K(s[16]),ot=D(),Ge=k("tr"),Oe=k("td"),Oe.textContent=xt,Mt=D(),ut=k("td"),Et=K(s[15]),zt=D(),Te&&Te.c(),Dt=D(),we&&we.c(),yt=D(),Ee&&Ee.c(),Ct=D(),De&&De.c(),Pt=D(),Qe=k("tr"),Ze=k("td"),Ze.textContent=el,jt=D(),ct=k("td"),St=K(s[5]),Kt=D(),xe=k("tr"),et=k("td"),et.textContent=tl,Wt=D(),dt=k("td"),It=K(s[4]),Xt=D(),tt=k("tr"),lt=k("td"),lt.textContent=ll,Yt=D(),pt=k("td"),Vt=K(s[19]),Jt=D(),ye&&ye.c(),Nt=D(),Ce&&Ce.c(),Rt=D(),Pe&&Pe.c(),At=D(),Se&&Se.c(),Lt=D(),ce&&ce.c(),_t=D(),de&&de.c(),$t=D(),pe&&pe.c(),mt=D(),_e&&_e.c(),ht=D(),$e&&$e.c(),gt=H(),this.h()},l(L){t=T(L,"DIV",{class:!0});var J=C(t);r=T(J,"TABLE",{});var Z=C(r);e=T(Z,"TR",{});var rt=C(e);l=T(rt,"TD",{class:!0,"data-svelte-h":!0}),ne(l)!=="svelte-1app9cr"&&(l.textContent=n),i=y(rt),f=T(rt,"TD",{class:!0});var bt=C(f);a=W(bt,s[6]),bt.forEach(_),rt.forEach(_),o=y(Z),u=T(Z,"TR",{});var nt=C(u);d=T(nt,"TD",{class:!0,"data-svelte-h":!0}),ne(d)!=="svelte-1ha1hai"&&(d.textContent=m),v=y(nt),$=T(nt,"TD",{class:!0});var kt=C($);g=W(kt,s[8]),kt.forEach(_),nt.forEach(_),b=y(Z),ve&&ve.l(Z),E=y(Z),be&&be.l(Z),q=y(Z),ke&&ke.l(Z),G=y(Z),z=T(Z,"TR",{});var it=C(z);O=T(it,"TD",{class:!0,"data-svelte-h":!0}),ne(O)!=="svelte-1abrskq"&&(O.textContent=R),M=y(it),j=T(it,"TD",{class:!0});var Tt=C(j);le=W(Tt,s[12]),Tt.forEach(_),it.forEach(_),F=y(Z),A=T(Z,"TR",{});var st=C(A);ue=T(st,"TD",{class:!0,"data-svelte-h":!0}),ne(ue)!=="svelte-185dae0"&&(ue.textContent=Be),se=y(st),re=T(st,"TD",{class:!0});var wt=C(re);fe=W(wt,s[11]),wt.forEach(_),st.forEach(_),Ve=y(Z),me=T(Z,"TR",{});var ft=C(me);he=T(ft,"TD",{class:!0,"data-svelte-h":!0}),ne(he)!=="svelte-1mla5lp"&&(he.textContent=Xe),ze=y(ft),Re=T(ft,"TD",{class:!0});var pl=C(Re);Ue=W(pl,s[17]),pl.forEach(_),ft.forEach(_),je=y(Z),qe=T(Z,"TR",{});var Ft=C(qe);He=T(Ft,"TD",{class:!0,"data-svelte-h":!0}),ne(He)!=="svelte-cj9ieu"&&(He.textContent=vt),at=y(Ft),Ke=T(Ft,"TD",{class:!0});var _l=C(Ke);Je=W(_l,s[16]),_l.forEach(_),Ft.forEach(_),ot=y(Z),Ge=T(Z,"TR",{});var Bt=C(Ge);Oe=T(Bt,"TD",{class:!0,"data-svelte-h":!0}),ne(Oe)!=="svelte-myc2bf"&&(Oe.textContent=xt),Mt=y(Bt),ut=T(Bt,"TD",{class:!0});var $l=C(ut);Et=W($l,s[15]),$l.forEach(_),Bt.forEach(_),zt=y(Z),Te&&Te.l(Z),Dt=y(Z),we&&we.l(Z),yt=y(Z),Ee&&Ee.l(Z),Ct=y(Z),De&&De.l(Z),Pt=y(Z),Qe=T(Z,"TR",{});var Ut=C(Qe);Ze=T(Ut,"TD",{class:!0,"data-svelte-h":!0}),ne(Ze)!=="svelte-6in5ss"&&(Ze.textContent=el),jt=y(Ut),ct=T(Ut,"TD",{class:!0});var ml=C(ct);St=W(ml,s[5]),ml.forEach(_),Ut.forEach(_),Kt=y(Z),xe=T(Z,"TR",{});var qt=C(xe);et=T(qt,"TD",{class:!0,"data-svelte-h":!0}),ne(et)!=="svelte-qarsvx"&&(et.textContent=tl),Wt=y(qt),dt=T(qt,"TD",{class:!0});var hl=C(dt);It=W(hl,s[4]),hl.forEach(_),qt.forEach(_),Xt=y(Z),tt=T(Z,"TR",{});var Ht=C(tt);lt=T(Ht,"TD",{class:!0,"data-svelte-h":!0}),ne(lt)!=="svelte-1vsam0b"&&(lt.textContent=ll),Yt=y(Ht),pt=T(Ht,"TD",{class:!0});var gl=C(pt);Vt=W(gl,s[19]),gl.forEach(_),Ht.forEach(_),Jt=y(Z),ye&&ye.l(Z),Nt=y(Z),Ce&&Ce.l(Z),Rt=y(Z),Pe&&Pe.l(Z),At=y(Z),Se&&Se.l(Z),Z.forEach(_),J.forEach(_),Lt=y(L),ce&&ce.l(L),_t=y(L),de&&de.l(L),$t=y(L),pe&&pe.l(L),mt=y(L),_e&&_e.l(L),ht=y(L),$e&&$e.l(L),gt=H(),this.h()},h(){N(l,"class","key"),N(f,"class","value"),N(d,"class","key"),N($,"class","value"),N(O,"class","key"),N(j,"class","value"),N(ue,"class","key"),N(re,"class","value"),N(he,"class","key"),N(Re,"class","value"),N(He,"class","key"),N(Ke,"class","value"),N(Oe,"class","key"),N(ut,"class","value"),N(Ze,"class","key"),N(ct,"class","value"),N(et,"class","key"),N(dt,"class","value"),N(lt,"class","key"),N(pt,"class","value"),N(t,"class","documentdata")},m(L,J){w(L,t,J),h(t,r),h(r,e),h(e,l),h(e,i),h(e,f),h(f,a),h(r,o),h(r,u),h(u,d),h(u,v),h(u,$),h($,g),h(r,b),ve&&ve.m(r,null),h(r,E),be&&be.m(r,null),h(r,q),ke&&ke.m(r,null),h(r,G),h(r,z),h(z,O),h(z,M),h(z,j),h(j,le),h(r,F),h(r,A),h(A,ue),h(A,se),h(A,re),h(re,fe),h(r,Ve),h(r,me),h(me,he),h(me,ze),h(me,Re),h(Re,Ue),h(r,je),h(r,qe),h(qe,He),h(qe,at),h(qe,Ke),h(Ke,Je),h(r,ot),h(r,Ge),h(Ge,Oe),h(Ge,Mt),h(Ge,ut),h(ut,Et),h(r,zt),Te&&Te.m(r,null),h(r,Dt),we&&we.m(r,null),h(r,yt),Ee&&Ee.m(r,null),h(r,Ct),De&&De.m(r,null),h(r,Pt),h(r,Qe),h(Qe,Ze),h(Qe,jt),h(Qe,ct),h(ct,St),h(r,Kt),h(r,xe),h(xe,et),h(xe,Wt),h(xe,dt),h(dt,It),h(r,Xt),h(r,tt),h(tt,lt),h(tt,Yt),h(tt,pt),h(pt,Vt),h(r,Jt),ye&&ye.m(r,null),h(r,Nt),Ce&&Ce.m(r,null),h(r,Rt),Pe&&Pe.m(r,null),h(r,At),Se&&Se.m(r,null),w(L,Lt,J),ce&&ce.m(L,J),w(L,_t,J),de&&de.m(L,J),w(L,$t,J),pe&&pe.m(L,J),w(L,mt,J),_e&&_e.m(L,J),w(L,ht,J),$e&&$e.m(L,J),w(L,gt,J),Ae=!0},p(L,[J]){var Z,rt,bt,nt,kt,it,Tt,st,wt,ft;(!Ae||J&64)&&Q(a,L[6]),(!Ae||J&256)&&Q(g,L[8]),(Z=L[1].doc)!=null&&Z.aggregateSeverity?ve?ve.p(L,J):(ve=Gl(L),ve.c(),ve.m(r,E)):ve&&(ve.d(1),ve=null),(rt=L[0])!=null&&rt.label?be?be.p(L,J):(be=Ml(L),be.c(),be.m(r,q)):be&&(be.d(1),be=null),(bt=L[0])!=null&&bt.url?ke?ke.p(L,J):(ke=zl(L),ke.c(),ke.m(r,G)):ke&&(ke.d(1),ke=null),(!Ae||J&4096)&&Q(le,L[12]),(!Ae||J&2048)&&Q(fe,L[11]),(!Ae||J&131072)&&Q(Ue,L[17]),(!Ae||J&65536)&&Q(Je,L[16]),(!Ae||J&32768)&&Q(Et,L[15]),L[14]?Te?Te.p(L,J):(Te=jl(L),Te.c(),Te.m(r,Dt)):Te&&(Te.d(1),Te=null),L[13]?we?we.p(L,J):(we=Kl(L),we.c(),we.m(r,yt)):we&&(we.d(1),we=null),L[10]?Ee?Ee.p(L,J):(Ee=Wl(L),Ee.c(),Ee.m(r,Ct)):Ee&&(Ee.d(1),Ee=null),L[9]?De?De.p(L,J):(De=Xl(L),De.c(),De.m(r,Pt)):De&&(De.d(1),De=null),(!Ae||J&32)&&Q(St,L[5]),(!Ae||J&16)&&Q(It,L[4]),(!Ae||J&524288)&&Q(Vt,L[19]),((nt=L[1].doc)==null?void 0:nt.status)!==kl.final?ye?ye.p(L,J):(ye=Yl(L),ye.c(),ye.m(r,Nt)):ye&&(ye.d(1),ye=null),L[18]?Ce?Ce.p(L,J):(Ce=Jl(L),Ce.c(),Ce.m(r,Rt)):Ce&&(Ce.d(1),Ce=null),(it=(kt=L[18])==null?void 0:kt.engine)!=null&&it.version?Pe?Pe.p(L,J):(Pe=Ql(L),Pe.c(),Pe.m(r,At)):Pe&&(Pe.d(1),Pe=null),(Tt=L[18])!=null&&Tt.date?Se?Se.p(L,J):(Se=Zl(L),Se.c(),Se.m(r,null)):Se&&(Se.d(1),Se=null),L[20]?ce?(ce.p(L,J),J&1048576&&c(ce,1)):(ce=xl(L),ce.c(),c(ce,1),ce.m(_t.parentNode,_t)):ce&&(B(),p(ce,1,1,()=>{ce=null}),U()),(st=L[1].doc)!=null&&st.isRevisionHistoryPresent?de?(de.p(L,J),J&2&&c(de,1)):(de=er(L),de.c(),c(de,1),de.m($t.parentNode,$t)):de&&(B(),p(de,1,1,()=>{de=null}),U()),(wt=L[1].doc)!=null&&wt.notes?pe?(pe.p(L,J),J&2&&c(pe,1)):(pe=tr(L),pe.c(),c(pe,1),pe.m(mt.parentNode,mt)):pe&&(B(),p(pe,1,1,()=>{pe=null}),U()),(ft=L[1].doc)!=null&&ft.acknowledgements?_e?(_e.p(L,J),J&2&&c(_e,1)):(_e=lr(L),_e.c(),c(_e,1),_e.m(ht.parentNode,ht)):_e&&(B(),p(_e,1,1,()=>{_e=null}),U()),L[1].doc&&L[1].doc.references.length>0?$e?($e.p(L,J),J&2&&c($e,1)):($e=rr(L),$e.c(),c($e,1),$e.m(gt.parentNode,gt)):$e&&(B(),p($e,1,1,()=>{$e=null}),U())},i(L){Ae||(c(ce),c(de),c(pe),c(_e),c($e),Ae=!0)},o(L){p(ce),p(de),p(pe),p(_e),p($e),Ae=!1},d(L){L&&(_(t),_(Lt),_(_t),_($t),_(mt),_(ht),_(gt)),ve&&ve.d(),be&&be.d(),ke&&ke.d(),Te&&Te.d(),we&&we.d(),Ee&&Ee.d(),De&&De.d(),ye&&ye.d(),Ce&&Ce.d(),Pe&&Pe.d(),Se&&Se.d(),ce&&ce.d(L),de&&de.d(L),pe&&pe.d(L),_e&&_e.d(L),$e&&$e.d(L)}}}function Mi(s,t,r){let e,l,n,i,f,a,o,u,d,m,v,$,g,b,E,q,G,z,O,R;Ne(s,X,j=>r(1,R=j));let M="";return s.$$.update=()=>{var j,le,F,A,ue,Be,se,re,fe,Ve,me,he,Xe,ze,Re,Ue,je,qe,He,vt,at,Ke,Je,ot,Ge,Oe;s.$$.dirty&2&&r(20,e=(j=R.doc)==null?void 0:j.aliases),s.$$.dirty&2&&r(19,l=(le=R.doc)==null?void 0:le.trackingVersion),s.$$.dirty&2&&r(18,n=(F=R.doc)==null?void 0:F.generator),s.$$.dirty&2&&r(17,i=(A=R.doc)==null?void 0:A.publisher.name),s.$$.dirty&2&&r(16,f=(ue=R.doc)==null?void 0:ue.publisher.category),s.$$.dirty&2&&r(15,a=(Be=R.doc)==null?void 0:Be.publisher.namespace),s.$$.dirty&2&&r(14,o=(se=R.doc)==null?void 0:se.publisher.issuing_authority),s.$$.dirty&2&&r(13,u=(re=R.doc)==null?void 0:re.publisher.contact_details),s.$$.dirty&2&&r(12,d=(fe=R.doc)==null?void 0:fe.category),s.$$.dirty&2&&r(11,m=(Ve=R.doc)==null?void 0:Ve.title),s.$$.dirty&2&&r(10,v=(me=R.doc)==null?void 0:me.lang),s.$$.dirty&2&&r(9,$=(he=R.doc)==null?void 0:he.sourceLang),s.$$.dirty&2&&r(8,g=(Xe=R.doc)==null?void 0:Xe.csafVersion),s.$$.dirty&2&&r(0,b=(ze=R.doc)==null?void 0:ze.tlp),s.$$.dirty&2&&r(7,E=(Re=R.doc)==null?void 0:Re.tlp.url),s.$$.dirty&1&&((b==null?void 0:b.label)===Gt.WHITE?r(2,M="tlpclear"):(b==null?void 0:b.label)===Gt.RED?r(2,M="tlred"):(b==null?void 0:b.label)===Gt.AMBER?r(2,M="tlamber"):(b==null?void 0:b.label)===Gt.GREEN&&r(2,M="tlgreen")),s.$$.dirty&2&&r(6,q=(Ue=R.doc)==null?void 0:Ue.id),s.$$.dirty&2&&r(5,G=(je=R.doc)==null?void 0:je.published),s.$$.dirty&2&&r(4,z=(qe=R.doc)==null?void 0:qe.lastUpdate),s.$$.dirty&2&&r(3,O=(He=R.doc)==null?void 0:He.status),s.$$.dirty&2&&!((vt=R.doc)!=null&&vt.isRevisionHistoryPresent)&&!((at=R.doc)!=null&&at.isDocPresent)&&!((Ke=R.doc)!=null&&Ke.isProductTreePresent)&&!((Je=R.doc)!=null&&Je.isPublisherPresent)&&!((ot=R.doc)!=null&&ot.isTLPPresent)&&!((Ge=R.doc)!=null&&Ge.isTrackingPresent)&&!((Oe=R.doc)!=null&&Oe.isVulnerabilitiesPresent)&&X.setSingleErrorMsg("Are you sure the URL refers to a CSAF document?")},[b,R,M,O,z,G,q,E,g,$,v,m,d,u,o,a,f,i,n,l,e]}class zi extends ee{constructor(t){super(),te(this,t,Mi,Oi,x,{})}}function nr(s,t,r){const e=s.slice();return e[1]=t[r],e}function ir(s){let t,r;return t=new Ie({props:{keys:["algorithm","value"],values:[s[1].algorithm,s[1].value]}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.values=[e[1].algorithm,e[1].value]),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function ji(s){let t,r,e=Y(s[0]),l=[];for(let i=0;ip(l[i],1,1,()=>{l[i]=null});return{c(){for(let i=0;i{"hash"in l&&r(0,e=l.hash)},[e]}class Wi extends ee{constructor(t){super(),te(this,t,Ki,ji,x,{hash:0})}}function sr(s,t,r){const e=s.slice();return e[1]=t[r],e}function fr(s){let t,r;return t=new Ie({props:{keys:["Namespace","URI"],values:[s[1].namespace,s[1].uri]}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.values=[e[1].namespace,e[1].uri]),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function Xi(s){let t,r="X Generic URIs",e,l,n,i=Y(s[0]),f=[];for(let o=0;op(f[o],1,1,()=>{f[o]=null});return{c(){t=k("p"),t.textContent=r,e=D(),l=k("div");for(let o=0;o{"x_generic_uris"in l&&r(0,e=l.x_generic_uris)},[e]}class Ji extends ee{constructor(t){super(),te(this,t,Yi,Xi,x,{x_generic_uris:0})}}function ar(s,t,r){const e=s.slice();return e[1]=t[r],e}function or(s){let t,r;return t=new Ie({props:{keys:["cpe"],values:s[0].cpe}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.values=e[0].cpe),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function ur(s){let t,r,e=Y(s[0].hashes),l=[];for(let i=0;ip(l[i],1,1,()=>{l[i]=null});return{c(){for(let i=0;i{$=null}),U()),R[0].hashes?g?(g.p(R,M),M&1&&c(g,1)):(g=ur(R),g.c(),c(g,1),g.m(n,f)):g&&(B(),p(g,1,1,()=>{g=null}),U()),R[0].model_numbers?b?(b.p(R,M),M&1&&c(b,1)):(b=dr(R),b.c(),c(b,1),b.m(n,a)):b&&(B(),p(b,1,1,()=>{b=null}),U()),R[0].purl?E?(E.p(R,M),M&1&&c(E,1)):(E=pr(R),E.c(),c(E,1),E.m(n,o)):E&&(B(),p(E,1,1,()=>{E=null}),U()),R[0].sbom_urls?q?(q.p(R,M),M&1&&c(q,1)):(q=_r(R),q.c(),c(q,1),q.m(n,u)):q&&(B(),p(q,1,1,()=>{q=null}),U()),R[0].serial_numbers?G?(G.p(R,M),M&1&&c(G,1)):(G=$r(R),G.c(),c(G,1),G.m(n,d)):G&&(B(),p(G,1,1,()=>{G=null}),U()),R[0].skus?z?(z.p(R,M),M&1&&c(z,1)):(z=mr(R),z.c(),c(z,1),z.m(n,m)):z&&(B(),p(z,1,1,()=>{z=null}),U()),R[0].x_generic_uris?O?(O.p(R,M),M&1&&c(O,1)):(O=hr(R),O.c(),c(O,1),O.m(n,null)):O&&(B(),p(O,1,1,()=>{O=null}),U())},i(R){v||(c($),c(g),c(b),c(E),c(q),c(G),c(z),c(O),v=!0)},o(R){p($),p(g),p(b),p(E),p(q),p(G),p(z),p(O),v=!1},d(R){R&&_(t),$&&$.d(),g&&g.d(),b&&b.d(),E&&E.d(),q&&q.d(),G&&G.d(),z&&z.d(),O&&O.d()}}}function Zi(s,t,r){let{helper:e}=t;return s.$$set=l=>{"helper"in l&&r(0,e=l.helper)},[e]}class Zt extends ee{constructor(t){super(),te(this,t,Zi,Qi,x,{helper:0})}}function gr(s){let t,r;return t=new Zt({props:{helper:s[0].product_identification_helper}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.helper=e[0].product_identification_helper),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function xi(s){let t,r,e,l,n;r=new Ie({props:{keys:["Product ID"],values:[s[0].name,s[0].product_id]}});let i=s[0].product_identification_helper&&gr(s);return{c(){t=k("div"),P(r.$$.fragment),e=D(),i&&i.c(),this.h()},l(f){t=T(f,"DIV",{id:!0});var a=C(t);S(r.$$.fragment,a),e=y(a),i&&i.l(a),a.forEach(_),this.h()},h(){N(t,"id",l=s[0].product_id)},m(f,a){w(f,t,a),I(r,t,null),h(t,e),i&&i.m(t,null),n=!0},p(f,a){const o={};a&1&&(o.values=[f[0].name,f[0].product_id]),r.$set(o),f[0].product_identification_helper?i?(i.p(f,a),a&1&&c(i,1)):(i=gr(f),i.c(),c(i,1),i.m(t,null)):i&&(B(),p(i,1,1,()=>{i=null}),U()),(!n||a&1&&l!==(l=f[0].product_id))&&N(t,"id",l)},i(f){n||(c(r.$$.fragment,f),c(i),n=!0)},o(f){p(r.$$.fragment,f),p(i),n=!1},d(f){f&&_(t),V(r),i&&i.d()}}}function es(s){let t,r;return t=new ie({props:{header:s[0].name,level:"4",highlight:s[2],open:s[1].ui.selectedProduct===s[0].product_id,onClose:s[3],$$slots:{default:[xi]},$$scope:{ctx:s}}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,[l]){const n={};l&1&&(n.header=e[0].name),l&4&&(n.highlight=e[2]),l&3&&(n.open=e[1].ui.selectedProduct===e[0].product_id),l&3&&(n.onClose=e[3]),l&33&&(n.$$scope={dirty:l,ctx:e}),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function ts(s,t,r){let e;Ne(s,X,a=>r(1,e=a));let{product:l}=t,n=!1;async function i(){var a;await Ot(),(a=document.getElementById(`${l==null?void 0:l.product_id}`))==null||a.scrollIntoView({behavior:"smooth"})}const f=()=>{e.ui.selectedProduct===l.product_id&&X.resetSelectedProduct()};return s.$$set=a=>{"product"in a&&r(0,l=a.product)},s.$$.update=()=>{s.$$.dirty&3&&(e.ui.selectedProduct===(l==null?void 0:l.product_id)?(r(2,n=!0),i()):r(2,n=!1))},[l,e,n,f]}class ls extends ee{constructor(t){super(),te(this,t,ts,es,x,{product:0})}}function vr(s,t,r){const e=s.slice();return e[1]=t[r],e}function br(s){let t,r,e=Y(s[0].branches),l=[];for(let i=0;ip(l[i],1,1,()=>{l[i]=null});return{c(){for(let i=0;i{d=null}),U()),v[0].product?m?(m.p(v,$),$&1&&c(m,1)):(m=Tr(v),m.c(),c(m,1),m.m(t,null)):m&&(B(),p(m,1,1,()=>{m=null}),U())},i(v){u||(c(d),c(m),u=!0)},o(v){p(d),p(m),u=!1},d(v){v&&_(t),d&&d.d(),m&&m.d()}}}function ns(s,t,r){let{branch:e}=t;return s.$$set=l=>{"branch"in l&&r(0,e=l.branch)},[e]}class li extends ee{constructor(t){super(),te(this,t,ns,rs,x,{branch:0})}}function is(s){let t,r,e,l,n,i;return{c(){t=k("div"),r=k("h6"),e=K(s[1]),l=D(),n=k("p"),i=K(s[0]),this.h()},l(f){t=T(f,"DIV",{class:!0});var a=C(t);r=T(a,"H6",{});var o=C(r);e=W(o,s[1]),o.forEach(_),l=y(a),n=T(a,"P",{});var u=C(n);i=W(u,s[0]),u.forEach(_),a.forEach(_),this.h()},h(){N(t,"class","")},m(f,a){w(f,t,a),h(t,r),h(r,e),h(t,l),h(t,n),h(n,i)},p(f,[a]){a&2&&Q(e,f[1]),a&1&&Q(i,f[0])},i:oe,o:oe,d(f){f&&_(t)}}}function ss(s,t,r){let{value:e=""}=t,{label:l=""}=t;return s.$$set=n=>{"value"in n&&r(0,e=n.value),"label"in n&&r(1,l=n.label)},[e,l]}class Ye extends ee{constructor(t){super(),te(this,t,ss,is,x,{value:0,label:1})}}function wr(s){let t,r;return t=new Ye({props:{label:"Summary",value:s[0].summary}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.value=e[0].summary),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function fs(s){let t,r,e,l,n,i;t=new Le({props:{label:"Group IDs",values:s[0].group_ids}}),e=new Le({props:{label:"Product IDs",values:s[0].product_ids}});let f=s[0].summary&&wr(s);return{c(){P(t.$$.fragment),r=D(),P(e.$$.fragment),l=D(),f&&f.c(),n=H()},l(a){S(t.$$.fragment,a),r=y(a),S(e.$$.fragment,a),l=y(a),f&&f.l(a),n=H()},m(a,o){I(t,a,o),w(a,r,o),I(e,a,o),w(a,l,o),f&&f.m(a,o),w(a,n,o),i=!0},p(a,[o]){const u={};o&1&&(u.values=a[0].group_ids),t.$set(u);const d={};o&1&&(d.values=a[0].product_ids),e.$set(d),a[0].summary?f?(f.p(a,o),o&1&&c(f,1)):(f=wr(a),f.c(),c(f,1),f.m(n.parentNode,n)):f&&(B(),p(f,1,1,()=>{f=null}),U())},i(a){i||(c(t.$$.fragment,a),c(e.$$.fragment,a),c(f),i=!0)},o(a){p(t.$$.fragment,a),p(e.$$.fragment,a),p(f),i=!1},d(a){a&&(_(r),_(l),_(n)),V(t,a),V(e,a),f&&f.d(a)}}}function as(s,t,r){let{productGroup:e}=t;return s.$$set=l=>{"productGroup"in l&&r(0,e=l.productGroup)},[e]}class os extends ee{constructor(t){super(),te(this,t,as,fs,x,{productGroup:0})}}function Er(s,t,r){const e=s.slice();return e[1]=t[r],e}function Dr(s){let t,r;return t=new os({props:{productGroup:s[1]}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.productGroup=e[1]),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function us(s){let t,r,e=Y(s[0]),l=[];for(let i=0;ip(l[i],1,1,()=>{l[i]=null});return{c(){for(let i=0;i{"productGroups"in l&&r(0,e=l.productGroups)},[e]}class ds extends ee{constructor(t){super(),te(this,t,cs,us,x,{productGroups:0})}}function yr(s){let t,r;return t=new Zt({props:{helper:s[0].product_identification_helper}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.helper=e[0].product_identification_helper),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function ps(s){let t,r,e,l;t=new Ie({props:{keys:["Name","Product ID"],values:[s[0].name,s[0].product_id]}});let n=s[0].product_identification_helper&&yr(s);return{c(){P(t.$$.fragment),r=D(),n&&n.c(),e=H()},l(i){S(t.$$.fragment,i),r=y(i),n&&n.l(i),e=H()},m(i,f){I(t,i,f),w(i,r,f),n&&n.m(i,f),w(i,e,f),l=!0},p(i,f){const a={};f&1&&(a.values=[i[0].name,i[0].product_id]),t.$set(a),i[0].product_identification_helper?n?(n.p(i,f),f&1&&c(n,1)):(n=yr(i),n.c(),c(n,1),n.m(e.parentNode,e)):n&&(B(),p(n,1,1,()=>{n=null}),U())},i(i){l||(c(t.$$.fragment,i),c(n),l=!0)},o(i){p(t.$$.fragment,i),p(n),l=!1},d(i){i&&(_(r),_(e)),V(t,i),n&&n.d(i)}}}function _s(s){let t,r,e,l;return r=new ie({props:{header:s[0].name,level:"4",highlight:s[2],open:s[1].ui.selectedProduct===s[0].product_id,onClose:s[3],$$slots:{default:[ps]},$$scope:{ctx:s}}}),{c(){t=k("div"),P(r.$$.fragment),this.h()},l(n){t=T(n,"DIV",{id:!0});var i=C(t);S(r.$$.fragment,i),i.forEach(_),this.h()},h(){var n;N(t,"id",e=(n=s[0])==null?void 0:n.product_id)},m(n,i){w(n,t,i),I(r,t,null),l=!0},p(n,[i]){var a;const f={};i&1&&(f.header=n[0].name),i&4&&(f.highlight=n[2]),i&3&&(f.open=n[1].ui.selectedProduct===n[0].product_id),i&3&&(f.onClose=n[3]),i&33&&(f.$$scope={dirty:i,ctx:n}),r.$set(f),(!l||i&1&&e!==(e=(a=n[0])==null?void 0:a.product_id))&&N(t,"id",e)},i(n){l||(c(r.$$.fragment,n),l=!0)},o(n){p(r.$$.fragment,n),l=!1},d(n){n&&_(t),V(r)}}}function $s(s,t,r){let e;Ne(s,X,a=>r(1,e=a));let{product:l}=t;async function n(){var a;await Ot(),(a=document.getElementById(`${l==null?void 0:l.product_id}`))==null||a.scrollIntoView({behavior:"smooth"})}let i=!1;const f=()=>{e.ui.selectedProduct===l.product_id&&X.resetSelectedProduct()};return s.$$set=a=>{"product"in a&&r(0,l=a.product)},s.$$.update=()=>{s.$$.dirty&3&&(e.ui.selectedProduct===(l==null?void 0:l.product_id)?(r(2,i=!0),n()):r(2,i=!1))},[l,e,i,f]}class ms extends ee{constructor(t){super(),te(this,t,$s,_s,x,{product:0})}}function Cr(s,t,r){const e=s.slice();return e[1]=t[r],e}function Pr(s){let t,r;return t=new ms({props:{product:s[1]}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.product=e[1]),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function hs(s){let t,r,e=Y(s[0]),l=[];for(let i=0;ip(l[i],1,1,()=>{l[i]=null});return{c(){for(let i=0;il.namen.name?1:0),s.$$set=l=>{"productNames"in l&&r(0,e=l.productNames)},[e]}class vs extends ee{constructor(t){super(),te(this,t,gs,hs,x,{productNames:0})}}function Sr(s){let t,r;return t=new Zt({props:{helper:s[0].full_product_name.product_identification_helper}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.helper=e[0].full_product_name.product_identification_helper),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function bs(s){let t,r,e,l,n,i,f,a,o="Product reference",u,d,m,v=s[0].product_reference+"",$,g,b,E,q,G="Relates to",z,O,R,M=s[0].relates_to_product_reference+"",j,le,F,A,ue,Be;r=new Ie({props:{keys:["Category","Name","Product ID"],values:[s[0].category,s[0].full_product_name.name,s[0].full_product_name.product_id]}});let se=s[0].full_product_name.product_identification_helper&&Sr(s);return{c(){t=k("div"),P(r.$$.fragment),e=D(),se&&se.c(),l=D(),n=k("table"),i=k("tbody"),f=k("tr"),a=k("td"),a.textContent=o,u=D(),d=k("td"),m=k("a"),$=K(v),b=D(),E=k("tr"),q=k("td"),q.textContent=G,z=D(),O=k("td"),R=k("a"),j=K(M),this.h()},l(re){t=T(re,"DIV",{id:!0,class:!0});var fe=C(t);S(r.$$.fragment,fe),e=y(fe),se&&se.l(fe),l=y(fe),n=T(fe,"TABLE",{});var Ve=C(n);i=T(Ve,"TBODY",{});var me=C(i);f=T(me,"TR",{});var he=C(f);a=T(he,"TD",{class:!0,"data-svelte-h":!0}),ne(a)!=="svelte-1xbb7cs"&&(a.textContent=o),u=y(he),d=T(he,"TD",{});var Xe=C(d);m=T(Xe,"A",{id:!0,href:!0});var ze=C(m);$=W(ze,v),ze.forEach(_),Xe.forEach(_),he.forEach(_),b=y(me),E=T(me,"TR",{});var Re=C(E);q=T(Re,"TD",{class:!0,"data-svelte-h":!0}),ne(q)!=="svelte-174x6ix"&&(q.textContent=G),z=y(Re),O=T(Re,"TD",{});var Ue=C(O);R=T(Ue,"A",{id:!0,href:!0});var je=C(R);j=W(je,M),je.forEach(_),Ue.forEach(_),Re.forEach(_),me.forEach(_),Ve.forEach(_),fe.forEach(_),this.h()},h(){N(a,"class","key svelte-8lh3cz"),N(m,"id",crypto.randomUUID()),N(m,"href",g=s[0].product_reference),N(q,"class","key svelte-8lh3cz"),N(R,"id",crypto.randomUUID()),N(R,"href",le=s[0].relates_to_product_reference),N(t,"id",F=s[0].full_product_name.product_id),N(t,"class","relation svelte-8lh3cz")},m(re,fe){w(re,t,fe),I(r,t,null),h(t,e),se&&se.m(t,null),h(t,l),h(t,n),h(n,i),h(i,f),h(f,a),h(f,u),h(f,d),h(d,m),h(m,$),h(i,b),h(i,E),h(E,q),h(E,z),h(E,O),h(O,R),h(R,j),A=!0,ue||(Be=[We(m,"click",s[3]),We(R,"click",s[3])],ue=!0)},p(re,fe){const Ve={};fe&1&&(Ve.values=[re[0].category,re[0].full_product_name.name,re[0].full_product_name.product_id]),r.$set(Ve),re[0].full_product_name.product_identification_helper?se?(se.p(re,fe),fe&1&&c(se,1)):(se=Sr(re),se.c(),c(se,1),se.m(t,l)):se&&(B(),p(se,1,1,()=>{se=null}),U()),(!A||fe&1)&&v!==(v=re[0].product_reference+"")&&Q($,v),(!A||fe&1&&g!==(g=re[0].product_reference))&&N(m,"href",g),(!A||fe&1)&&M!==(M=re[0].relates_to_product_reference+"")&&Q(j,M),(!A||fe&1&&le!==(le=re[0].relates_to_product_reference))&&N(R,"href",le),(!A||fe&1&&F!==(F=re[0].full_product_name.product_id))&&N(t,"id",F)},i(re){A||(c(r.$$.fragment,re),c(se),A=!0)},o(re){p(r.$$.fragment,re),p(se),A=!1},d(re){re&&_(t),V(r),se&&se.d(),ue=!1,Qn(Be)}}}function ks(s){let t,r;return t=new ie({props:{header:`${s[0].full_product_name.product_id}`,level:"4",open:s[0].full_product_name.product_id===s[1].ui.selectedProduct,highlight:s[2],onClose:s[4],$$slots:{default:[bs]},$$scope:{ctx:s}}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,[l]){const n={};l&1&&(n.header=`${e[0].full_product_name.product_id}`),l&3&&(n.open=e[0].full_product_name.product_id===e[1].ui.selectedProduct),l&4&&(n.highlight=e[2]),l&3&&(n.onClose=e[4]),l&65&&(n.$$scope={dirty:l,ctx:e}),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function Ts(s,t,r){let e;Ne(s,X,o=>r(1,e=o));let{relation:l}=t,n=!1;const i=o=>{let u=o.target.getAttribute("href");X.setProductTreeSectionVisible(),X.setSelectedProduct(u),X.unshiftHistory(o.target.id),o.preventDefault()};async function f(){var o;await Ot(),(o=document.getElementById(`${l.full_product_name.product_id}`))==null||o.scrollIntoView({behavior:"smooth"})}const a=()=>{e.ui.selectedProduct===l.full_product_name.product_id&&X.resetSelectedProduct()};return s.$$set=o=>{"relation"in o&&r(0,l=o.relation)},s.$$.update=()=>{s.$$.dirty&3&&(e.ui.selectedProduct===l.full_product_name.product_id?(r(2,n=!0),f()):r(2,n=!1))},[l,e,n,i,a]}class ws extends ee{constructor(t){super(),te(this,t,Ts,ks,x,{relation:0})}}function Ir(s,t,r){const e=s.slice();return e[1]=t[r],e}function Vr(s){let t,r;return t=new ws({props:{relation:s[1]}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.relation=e[1]),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function Es(s){let t,r,e=Y(s[0]),l=[];for(let i=0;ip(l[i],1,1,()=>{l[i]=null});return{c(){for(let i=0;i{"relationships"in l&&r(0,e=l.relationships)},[e]}class ys extends ee{constructor(t){super(),te(this,t,Ds,Es,x,{relationships:0})}}function Nr(s,t,r){const e=s.slice();return e[1]=t[r],e}function Rr(s){var i;let t,r,e=Y((i=s[0].doc)==null?void 0:i.productTree.branches),l=[];for(let f=0;fp(l[f],1,1,()=>{l[f]=null});return{c(){for(let f=0;f{i=null}),U()),(E=$[0].doc)!=null&&E.productTree.relationships?f?(f.p($,g),g&1&&c(f,1)):(f=Lr($),f.c(),c(f,1),f.m(r.parentNode,r)):f&&(B(),p(f,1,1,()=>{f=null}),U()),(q=$[0].doc)!=null&&q.productTree.product_groups?a?(a.p($,g),g&1&&c(a,1)):(a=Fr($),a.c(),c(a,1),a.m(e.parentNode,e)):a&&(B(),p(a,1,1,()=>{a=null}),U()),(G=$[0].doc)!=null&&G.productTree.full_product_names?o?(o.p($,g),g&1&&c(o,1)):(o=Br($),o.c(),c(o,1),o.m(l.parentNode,l)):o&&(B(),p(o,1,1,()=>{o=null}),U())},i($){n||(c(i),c(f),c(a),c(o),n=!0)},o($){p(i),p(f),p(a),p(o),n=!1},d($){$&&(_(t),_(r),_(e),_(l)),i&&i.d($),f&&f.d($),a&&a.d($),o&&o.d($)}}}function Ns(s,t,r){let e;return Ne(s,X,l=>r(0,e=l)),[e]}class Rs extends ee{constructor(t){super(),te(this,t,Ns,Vs,x,{})}}function Ur(s,t,r){const e=s.slice();return e[5]=t[r],e}function qr(s,t,r){const e=s.slice();return e[8]=t[r],e[10]=r,e}function Hr(s,t,r){const e=s.slice();return e[8]=t[r],e[10]=r,e}function Gr(s){let t,r,e,l,n,i,f,a,o,u='
Legend
Fixed
Under investigation
Known affected
Not affected
Recommended
',d=Y(s[1]),m=[];for(let g=0;g0&&Gr(s);return{c(){t=k("div"),r&&r.c(),this.h()},l(e){t=T(e,"DIV",{class:!0});var l=C(t);r&&r.l(l),l.forEach(_),this.h()},h(){N(t,"class","crosstable-overview")},m(e,l){w(e,t,l),r&&r.m(t,null)},p(e,[l]){e[2].length>0?r?r.p(e,l):(r=Gr(e),r.c(),r.m(t,null)):r&&(r.d(1),r=null)},i:oe,o:oe,d(e){e&&_(t),r&&r.d()}}}function Ms(s,t,r){let e;Ne(s,X,a=>r(0,e=a));let l=[],n;const i=a=>{let o=a.target.getAttribute("href");X.setProductTreeSectionVisible(),X.setSelectedProduct(o),X.unshiftHistory(a.target.id),a.preventDefault()},f=a=>{let o=a.target.getAttribute("href");X.setSelectedCVE(o),X.unshiftHistory(a.target.id),X.setVulnerabilitiesSectionVisible(),a.preventDefault()};return s.$$.update=()=>{if(s.$$.dirty&1&&e.doc){const a=[...e.doc.productVulnerabilities];r(1,l=a.shift()),r(2,n=a)}},[e,l,n,i,f]}class zs extends ee{constructor(t){super(),te(this,t,Ms,Os,x,{})}}function js(s){let t,r,e,l;return{c(){t=k("div"),r=k("input"),this.h()},l(n){t=T(n,"DIV",{class:!0});var i=C(t);r=T(i,"INPUT",{class:!0,title:!0,type:!0,accept:!0}),i.forEach(_),this.h()},h(){N(r,"class","file-upload"),N(r,"title","Upload CSAF Document from your device"),N(r,"type","file"),N(r,"accept","application/json"),N(t,"class","file-upload-container")},m(n,i){w(n,t,i),h(t,r),s[4](r),e||(l=We(r,"change",s[3]),e=!0)},p:oe,i:oe,o:oe,d(n){n&&_(t),s[4](null),e=!1,l()}}}function Ks(s,t,r){let e;Ne(s,X,a=>r(2,e=a));let l,n;function i(){l=this.files,r(0,l)}function f(a){ri[a?"unshift":"push"](()=>{n=a,r(1,n),r(2,e)})}return s.$$.update=()=>{s.$$.dirty&1&&l&&(X.reset(),X.setUploadedFile(),Zn(l[0])),s.$$.dirty&6&&(e.ui.uploadedFile||n&&r(1,n.value="",n))},[l,n,e,i,f]}class Ws extends ee{constructor(t){super(),te(this,t,Ks,js,x,{})}}function jr(s,t,r){const e=s.slice();return e[1]=t[r],e}function Kr(s){let t,r,e=Y(s[0].flags),l=[];for(let i=0;ip(l[i],1,1,()=>{l[i]=null});return{c(){for(let i=0;i{f=null}),U()),u[1].group_ids?a?(a.p(u,d),d&1&&c(a,1)):(a=Xr(u),a.c(),c(a,1),a.m(r.parentNode,r)):a&&(B(),p(a,1,1,()=>{a=null}),U());const m={};d&1&&(m.value=u[1].label),e.$set(m),u[1].product_ids?o?(o.p(u,d),d&1&&c(o,1)):(o=Yr(u),o.c(),c(o,1),o.m(n.parentNode,n)):o&&(B(),p(o,1,1,()=>{o=null}),U())},i(u){i||(c(f),c(a),c(e.$$.fragment,u),c(o),i=!0)},o(u){p(f),p(a),p(e.$$.fragment,u),p(o),i=!1},d(u){u&&(_(t),_(r),_(l),_(n)),f&&f.d(u),a&&a.d(u),V(e,u),o&&o.d(u)}}}function Xs(s){let t,r,e,l,n=s[0].flags&&Kr(s);return{c(){t=k("div"),r=D(),n&&n.c(),e=H(),this.h()},l(i){t=T(i,"DIV",{class:!0}),C(t).forEach(_),r=y(i),n&&n.l(i),e=H(),this.h()},h(){N(t,"class","spacer")},m(i,f){w(i,t,f),w(i,r,f),n&&n.m(i,f),w(i,e,f),l=!0},p(i,f){i[0].flags?n?(n.p(i,f),f&1&&c(n,1)):(n=Kr(i),n.c(),c(n,1),n.m(e.parentNode,e)):n&&(B(),p(n,1,1,()=>{n=null}),U())},i(i){l||(c(n),l=!0)},o(i){p(n),l=!1},d(i){i&&(_(t),_(r),_(e)),n&&n.d(i)}}}function Ys(s){let t,r;return t=new ie({props:{header:"Flags",level:"4",$$slots:{default:[Xs]},$$scope:{ctx:s}}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,[l]){const n={};l&17&&(n.$$scope={dirty:l,ctx:e}),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function Js(s,t,r){let{vulnerability:e}=t;return s.$$set=l=>{"vulnerability"in l&&r(0,e=l.vulnerability)},[e]}class Qs extends ee{constructor(t){super(),te(this,t,Js,Ys,x,{vulnerability:0})}}function Zs(s){let t,r;return t=new Ie({props:{keys:s[0],values:s[1]}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p:oe,i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function xs(s,t,r){let{vulnerability:e}=t;const l=[],n=[];return e.title&&(l.push("Title"),n.push(e.title)),e.cwe&&(l.push("CWE ID"),l.push("CWE Name"),n.push(e.cwe.id),n.push(e.cwe.name)),e.discovery_date&&(l.push("Discovery date"),n.push(e.discovery_date)),e.release_date&&(l.push("Release date"),n.push(e.release_date)),s.$$set=i=>{"vulnerability"in i&&r(2,e=i.vulnerability)},[l,n,e]}class ef extends ee{constructor(t){super(),te(this,t,xs,Zs,x,{vulnerability:2})}}function Qr(s,t,r){const e=s.slice();return e[2]=t[r],e}function Zr(s){let t,r;return t=new Ie({props:{keys:["Systemname","Text"],values:[s[2].system_name,s[2].text]}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.values=[e[2].system_name,e[2].text]),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function tf(s){let t,r,e=Y(s[0]),l=[];for(let i=0;ip(l[i],1,1,()=>{l[i]=null});return{c(){for(let i=0;i{"vulnerability"in n&&r(1,l=n.vulnerability)},s.$$.update=()=>{s.$$.dirty&2&&r(0,e=l.ids?l.ids:[])},[e,l]}class nf extends ee{constructor(t){super(),te(this,t,rf,lf,x,{vulnerability:1})}}function xr(s,t,r){const e=s.slice();return e[2]=t[r],e}function en(s){let t,r;return t=new Ye({props:{label:"Date",value:s[2].date}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.value=e[2].date),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function tn(s){let t,r;return t=new Ye({props:{label:"Summary",value:s[2].summary}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.value=e[2].summary),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function ln(s){let t,r,e,l,n,i,f,a=s[2].date&&en(s);r=new Ye({props:{label:"Party",value:s[2].party}}),l=new Ye({props:{label:"Status",value:s[2].status}});let o=s[2].summary&&tn(s);return{c(){a&&a.c(),t=D(),P(r.$$.fragment),e=D(),P(l.$$.fragment),n=D(),o&&o.c(),i=H()},l(u){a&&a.l(u),t=y(u),S(r.$$.fragment,u),e=y(u),S(l.$$.fragment,u),n=y(u),o&&o.l(u),i=H()},m(u,d){a&&a.m(u,d),w(u,t,d),I(r,u,d),w(u,e,d),I(l,u,d),w(u,n,d),o&&o.m(u,d),w(u,i,d),f=!0},p(u,d){u[2].date?a?(a.p(u,d),d&1&&c(a,1)):(a=en(u),a.c(),c(a,1),a.m(t.parentNode,t)):a&&(B(),p(a,1,1,()=>{a=null}),U());const m={};d&1&&(m.value=u[2].party),r.$set(m);const v={};d&1&&(v.value=u[2].status),l.$set(v),u[2].summary?o?(o.p(u,d),d&1&&c(o,1)):(o=tn(u),o.c(),c(o,1),o.m(i.parentNode,i)):o&&(B(),p(o,1,1,()=>{o=null}),U())},i(u){f||(c(a),c(r.$$.fragment,u),c(l.$$.fragment,u),c(o),f=!0)},o(u){p(a),p(r.$$.fragment,u),p(l.$$.fragment,u),p(o),f=!1},d(u){u&&(_(t),_(e),_(n),_(i)),a&&a.d(u),V(r,u),V(l,u),o&&o.d(u)}}}function sf(s){let t,r,e=Y(s[0]),l=[];for(let i=0;ip(l[i],1,1,()=>{l[i]=null});return{c(){for(let i=0;i{"vulnerability"in n&&r(1,l=n.vulnerability)},s.$$.update=()=>{s.$$.dirty&2&&r(0,e=l.involvements?l.involvements:[])},[e,l]}class of extends ee{constructor(t){super(),te(this,t,af,ff,x,{vulnerability:1})}}function rn(s,t,r){const e=s.slice();return e[4]=t[r],e}function nn(s){let t,r,e,l,n=Y(s[0]),i=[];for(let f=0;fr(2,e=f));let{values:l=[]}=t,{label:n=""}=t;const i=f=>{let a=f.target.getAttribute("href");X.setProductTreeSectionVisible(),X.setSelectedProduct(a),X.unshiftHistory(f.target.id),f.preventDefault()};return s.$$set=f=>{"values"in f&&r(0,l=f.values),"label"in f&&r(1,n=f.label)},[l,n,e,i]}class Me extends ee{constructor(t){super(),te(this,t,cf,uf,x,{values:0,label:1})}}function fn(s){var e;let t,r;return t=new Me({props:{label:"First affected",values:(e=s[0].product_status)==null?void 0:e.fist_affected}}),{c(){P(t.$$.fragment)},l(l){S(t.$$.fragment,l)},m(l,n){I(t,l,n),r=!0},p(l,n){var f;const i={};n&1&&(i.values=(f=l[0].product_status)==null?void 0:f.fist_affected),t.$set(i)},i(l){r||(c(t.$$.fragment,l),r=!0)},o(l){p(t.$$.fragment,l),r=!1},d(l){V(t,l)}}}function an(s){var e;let t,r;return t=new Me({props:{label:"First fixed",values:(e=s[0].product_status)==null?void 0:e.first_fixed}}),{c(){P(t.$$.fragment)},l(l){S(t.$$.fragment,l)},m(l,n){I(t,l,n),r=!0},p(l,n){var f;const i={};n&1&&(i.values=(f=l[0].product_status)==null?void 0:f.first_fixed),t.$set(i)},i(l){r||(c(t.$$.fragment,l),r=!0)},o(l){p(t.$$.fragment,l),r=!1},d(l){V(t,l)}}}function on(s){var e;let t,r;return t=new Me({props:{label:"Fixed",values:(e=s[0].product_status)==null?void 0:e.fixed}}),{c(){P(t.$$.fragment)},l(l){S(t.$$.fragment,l)},m(l,n){I(t,l,n),r=!0},p(l,n){var f;const i={};n&1&&(i.values=(f=l[0].product_status)==null?void 0:f.fixed),t.$set(i)},i(l){r||(c(t.$$.fragment,l),r=!0)},o(l){p(t.$$.fragment,l),r=!1},d(l){V(t,l)}}}function un(s){var e;let t,r;return t=new Me({props:{label:"Under investigation",values:(e=s[0].product_status)==null?void 0:e.under_invenstigation}}),{c(){P(t.$$.fragment)},l(l){S(t.$$.fragment,l)},m(l,n){I(t,l,n),r=!0},p(l,n){var f;const i={};n&1&&(i.values=(f=l[0].product_status)==null?void 0:f.under_invenstigation),t.$set(i)},i(l){r||(c(t.$$.fragment,l),r=!0)},o(l){p(t.$$.fragment,l),r=!1},d(l){V(t,l)}}}function cn(s){var e;let t,r;return t=new Me({props:{label:"Known affected",values:(e=s[0].product_status)==null?void 0:e.known_affected}}),{c(){P(t.$$.fragment)},l(l){S(t.$$.fragment,l)},m(l,n){I(t,l,n),r=!0},p(l,n){var f;const i={};n&1&&(i.values=(f=l[0].product_status)==null?void 0:f.known_affected),t.$set(i)},i(l){r||(c(t.$$.fragment,l),r=!0)},o(l){p(t.$$.fragment,l),r=!1},d(l){V(t,l)}}}function dn(s){var e;let t,r;return t=new Me({props:{label:"Known not affected",values:(e=s[0].product_status)==null?void 0:e.known_not_affected}}),{c(){P(t.$$.fragment)},l(l){S(t.$$.fragment,l)},m(l,n){I(t,l,n),r=!0},p(l,n){var f;const i={};n&1&&(i.values=(f=l[0].product_status)==null?void 0:f.known_not_affected),t.$set(i)},i(l){r||(c(t.$$.fragment,l),r=!0)},o(l){p(t.$$.fragment,l),r=!1},d(l){V(t,l)}}}function pn(s){var e;let t,r;return t=new Me({props:{label:"Last affected",values:(e=s[0].product_status)==null?void 0:e.last_affected}}),{c(){P(t.$$.fragment)},l(l){S(t.$$.fragment,l)},m(l,n){I(t,l,n),r=!0},p(l,n){var f;const i={};n&1&&(i.values=(f=l[0].product_status)==null?void 0:f.last_affected),t.$set(i)},i(l){r||(c(t.$$.fragment,l),r=!0)},o(l){p(t.$$.fragment,l),r=!1},d(l){V(t,l)}}}function _n(s){var e;let t,r;return t=new Me({props:{label:"Recommended",values:(e=s[0].product_status)==null?void 0:e.recommended}}),{c(){P(t.$$.fragment)},l(l){S(t.$$.fragment,l)},m(l,n){I(t,l,n),r=!0},p(l,n){var f;const i={};n&1&&(i.values=(f=l[0].product_status)==null?void 0:f.recommended),t.$set(i)},i(l){r||(c(t.$$.fragment,l),r=!0)},o(l){p(t.$$.fragment,l),r=!1},d(l){V(t,l)}}}function df(s){var q,G,z,O,R,M,j,le;let t,r,e,l,n,i,f,a,o,u=((q=s[0].product_status)==null?void 0:q.fist_affected)&&fn(s),d=((G=s[0].product_status)==null?void 0:G.first_fixed)&&an(s),m=((z=s[0].product_status)==null?void 0:z.fixed)&&on(s),v=((O=s[0].product_status)==null?void 0:O.under_investigation)&&un(s),$=((R=s[0].product_status)==null?void 0:R.known_affected)&&cn(s),g=((M=s[0].product_status)==null?void 0:M.known_not_affected)&&dn(s),b=((j=s[0].product_status)==null?void 0:j.last_affected)&&pn(s),E=((le=s[0].product_status)==null?void 0:le.recommended)&&_n(s);return{c(){t=k("div"),u&&u.c(),r=D(),d&&d.c(),e=D(),m&&m.c(),l=D(),v&&v.c(),n=D(),$&&$.c(),i=D(),g&&g.c(),f=D(),b&&b.c(),a=D(),E&&E.c(),this.h()},l(F){t=T(F,"DIV",{class:!0});var A=C(t);u&&u.l(A),r=y(A),d&&d.l(A),e=y(A),m&&m.l(A),l=y(A),v&&v.l(A),n=y(A),$&&$.l(A),i=y(A),g&&g.l(A),f=y(A),b&&b.l(A),a=y(A),E&&E.l(A),A.forEach(_),this.h()},h(){N(t,"class","status")},m(F,A){w(F,t,A),u&&u.m(t,null),h(t,r),d&&d.m(t,null),h(t,e),m&&m.m(t,null),h(t,l),v&&v.m(t,null),h(t,n),$&&$.m(t,null),h(t,i),g&&g.m(t,null),h(t,f),b&&b.m(t,null),h(t,a),E&&E.m(t,null),o=!0},p(F,A){var ue,Be,se,re,fe,Ve,me,he;(ue=F[0].product_status)!=null&&ue.fist_affected?u?(u.p(F,A),A&1&&c(u,1)):(u=fn(F),u.c(),c(u,1),u.m(t,r)):u&&(B(),p(u,1,1,()=>{u=null}),U()),(Be=F[0].product_status)!=null&&Be.first_fixed?d?(d.p(F,A),A&1&&c(d,1)):(d=an(F),d.c(),c(d,1),d.m(t,e)):d&&(B(),p(d,1,1,()=>{d=null}),U()),(se=F[0].product_status)!=null&&se.fixed?m?(m.p(F,A),A&1&&c(m,1)):(m=on(F),m.c(),c(m,1),m.m(t,l)):m&&(B(),p(m,1,1,()=>{m=null}),U()),(re=F[0].product_status)!=null&&re.under_investigation?v?(v.p(F,A),A&1&&c(v,1)):(v=un(F),v.c(),c(v,1),v.m(t,n)):v&&(B(),p(v,1,1,()=>{v=null}),U()),(fe=F[0].product_status)!=null&&fe.known_affected?$?($.p(F,A),A&1&&c($,1)):($=cn(F),$.c(),c($,1),$.m(t,i)):$&&(B(),p($,1,1,()=>{$=null}),U()),(Ve=F[0].product_status)!=null&&Ve.known_not_affected?g?(g.p(F,A),A&1&&c(g,1)):(g=dn(F),g.c(),c(g,1),g.m(t,f)):g&&(B(),p(g,1,1,()=>{g=null}),U()),(me=F[0].product_status)!=null&&me.last_affected?b?(b.p(F,A),A&1&&c(b,1)):(b=pn(F),b.c(),c(b,1),b.m(t,a)):b&&(B(),p(b,1,1,()=>{b=null}),U()),(he=F[0].product_status)!=null&&he.recommended?E?(E.p(F,A),A&1&&c(E,1)):(E=_n(F),E.c(),c(E,1),E.m(t,null)):E&&(B(),p(E,1,1,()=>{E=null}),U())},i(F){o||(c(u),c(d),c(m),c(v),c($),c(g),c(b),c(E),o=!0)},o(F){p(u),p(d),p(m),p(v),p($),p(g),p(b),p(E),o=!1},d(F){F&&_(t),u&&u.d(),d&&d.d(),m&&m.d(),v&&v.d(),$&&$.d(),g&&g.d(),b&&b.d(),E&&E.d()}}}function pf(s){let t,r;return t=new ie({props:{header:"Product status",level:"4",$$slots:{default:[df]},$$scope:{ctx:s}}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,[l]){const n={};l&3&&(n.$$scope={dirty:l,ctx:e}),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function _f(s,t,r){let{vulnerability:e}=t;return s.$$set=l=>{"vulnerability"in l&&r(0,e=l.vulnerability)},[e]}class $f extends ee{constructor(t){super(),te(this,t,_f,pf,x,{vulnerability:0})}}function $n(s){let t,r;return t=new Le({props:{label:"Entitlements",values:s[0].entitlements}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.values=e[0].entitlements),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function mn(s){let t,r;return t=new Le({props:{label:"Group IDs",values:s[0].group_ids}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.values=e[0].group_ids),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function hn(s){let t,r;return t=new Me({props:{label:"Product IDs",values:s[0].product_ids}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.values=e[0].product_ids),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function gn(s){let t,r,e="Restart_required",l,n,i=s[0].restart_required.category+"",f,a,o=s[0].restart_required.details&&vn(s);return{c(){t=k("div"),r=k("h6"),r.textContent=e,l=D(),n=k("p"),f=K(i),a=D(),o&&o.c(),this.h()},l(u){t=T(u,"DIV",{class:!0});var d=C(t);r=T(d,"H6",{"data-svelte-h":!0}),ne(r)!=="svelte-1umh687"&&(r.textContent=e),l=y(d),n=T(d,"P",{});var m=C(n);f=W(m,i),m.forEach(_),a=y(d),o&&o.l(d),d.forEach(_),this.h()},h(){N(t,"class","")},m(u,d){w(u,t,d),h(t,r),h(t,l),h(t,n),h(n,f),h(t,a),o&&o.m(t,null)},p(u,d){d&1&&i!==(i=u[0].restart_required.category+"")&&Q(f,i),u[0].restart_required.details?o?o.p(u,d):(o=vn(u),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(u){u&&_(t),o&&o.d()}}}function vn(s){let t,r=s[0].restart_required.details+"",e;return{c(){t=k("p"),e=K(r)},l(l){t=T(l,"P",{});var n=C(t);e=W(n,r),n.forEach(_)},m(l,n){w(l,t,n),h(t,e)},p(l,n){n&1&&r!==(r=l[0].restart_required.details+"")&&Q(e,r)},d(l){l&&_(t)}}}function mf(s){let t,r,e,l,n,i,f,a,o,u;r=new Ie({props:{keys:s[1],values:s[2]}}),l=new Ye({props:{label:"Details",value:s[0].details}});let d=s[0].entitlements&&$n(s),m=s[0].group_ids&&mn(s),v=s[0].product_ids&&hn(s),$=s[0].restart_required&&gn(s);return{c(){t=k("p"),P(r.$$.fragment),e=D(),P(l.$$.fragment),n=D(),d&&d.c(),i=D(),m&&m.c(),f=D(),v&&v.c(),a=D(),$&&$.c(),o=H()},l(g){t=T(g,"P",{});var b=C(t);S(r.$$.fragment,b),b.forEach(_),e=y(g),S(l.$$.fragment,g),n=y(g),d&&d.l(g),i=y(g),m&&m.l(g),f=y(g),v&&v.l(g),a=y(g),$&&$.l(g),o=H()},m(g,b){w(g,t,b),I(r,t,null),w(g,e,b),I(l,g,b),w(g,n,b),d&&d.m(g,b),w(g,i,b),m&&m.m(g,b),w(g,f,b),v&&v.m(g,b),w(g,a,b),$&&$.m(g,b),w(g,o,b),u=!0},p(g,[b]){const E={};b&1&&(E.value=g[0].details),l.$set(E),g[0].entitlements?d?(d.p(g,b),b&1&&c(d,1)):(d=$n(g),d.c(),c(d,1),d.m(i.parentNode,i)):d&&(B(),p(d,1,1,()=>{d=null}),U()),g[0].group_ids?m?(m.p(g,b),b&1&&c(m,1)):(m=mn(g),m.c(),c(m,1),m.m(f.parentNode,f)):m&&(B(),p(m,1,1,()=>{m=null}),U()),g[0].product_ids?v?(v.p(g,b),b&1&&c(v,1)):(v=hn(g),v.c(),c(v,1),v.m(a.parentNode,a)):v&&(B(),p(v,1,1,()=>{v=null}),U()),g[0].restart_required?$?$.p(g,b):($=gn(g),$.c(),$.m(o.parentNode,o)):$&&($.d(1),$=null)},i(g){u||(c(r.$$.fragment,g),c(l.$$.fragment,g),c(d),c(m),c(v),u=!0)},o(g){p(r.$$.fragment,g),p(l.$$.fragment,g),p(d),p(m),p(v),u=!1},d(g){g&&(_(t),_(e),_(n),_(i),_(f),_(a),_(o)),V(r),V(l,g),d&&d.d(g),m&&m.d(g),v&&v.d(g),$&&$.d(g)}}}function hf(s,t,r){let{remediation:e}=t;const l=[],n=[];return e.date&&(l.push("Date"),n.push(e.date)),e.url&&(l.push("URL"),n.push(e.url)),s.$$set=i=>{"remediation"in i&&r(0,e=i.remediation)},[e,l,n]}class gf extends ee{constructor(t){super(),te(this,t,hf,mf,x,{remediation:0})}}function bn(s,t,r){const e=s.slice();return e[1]=t[r],e}function kn(s){let t,r,e=Y(s[0].remediations),l=[];for(let i=0;ip(l[i],1,1,()=>{l[i]=null});return{c(){for(let i=0;i{e=null}),U())},i(l){r||(c(e),r=!0)},o(l){p(e),r=!1},d(l){l&&_(t),e&&e.d(l)}}}function kf(s){let t,r;return t=new ie({props:{header:"Remediations",level:"4",$$slots:{default:[bf]},$$scope:{ctx:s}}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,[l]){const n={};l&17&&(n.$$scope={dirty:l,ctx:e}),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function Tf(s,t,r){let{vulnerability:e}=t;return s.$$set=l=>{"vulnerability"in l&&r(0,e=l.vulnerability)},[e]}class wf extends ee{constructor(t){super(),te(this,t,Tf,kf,x,{vulnerability:0})}}function Ef(s){let t,r;return t=new Ie({props:{keys:s[0],values:s[1]}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p:oe,i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function Df(s){let t,r;return t=new ie({props:{header:"CVSS V2",level:"5",$$slots:{default:[Ef]},$$scope:{ctx:s}}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,[l]){const n={};l&8&&(n.$$scope={dirty:l,ctx:e}),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function yf(s,t,r){let{score:e}=t;const l=[],n=[];return e.cvss_v2.accessComplexity&&(l.push("accessComplexity"),n.push(e.cvss_v2.accessComplexity)),e.cvss_v2.accessVector&&(l.push("accessVector"),n.push(e.cvss_v2.accessVector)),e.cvss_v2.authentication&&(l.push("authentication"),n.push(e.cvss_v2.authentication)),e.cvss_v2.availabilityImpact&&(l.push("availabilityImpact"),n.push(e.cvss_v2.availabilityImpact)),e.cvss_v2.availabilityRequirement&&(l.push("availabilityRequirement"),n.push(e.cvss_v2.availabilityRequirement)),e.cvss_v2.baseScore&&(l.push("baseScore"),n.push(e.cvss_v2.baseScore)),e.cvss_v2.collateralDamagePotential&&(l.push("collateralDamagePotential"),n.push(e.cvss_v2.collateralDamagePotential)),e.cvss_v2.confidentialityImpact&&(l.push("confidentialityImpact"),n.push(e.cvss_v2.confidentialityImpact)),e.cvss_v2.confidentialityRequirement&&(l.push("confidentialityRequirement"),n.push(e.cvss_v2.confidentialityRequirement)),e.cvss_v2.environmentalScore&&(l.push("environmentalScore"),n.push(e.cvss_v2.environmentalScore)),e.cvss_v2.exploitability&&(l.push("exploitability"),n.push(e.cvss_v2.exploitability)),e.cvss_v2.integrityImpact&&(l.push("integrityImpact"),n.push(e.cvss_v2.integrityImpact)),e.cvss_v2.integrityRequirement&&(l.push("integrityRequirement"),n.push(e.cvss_v2.integrityRequirement)),e.cvss_v2.remediationLevel&&(l.push("remediationLevel"),n.push(e.cvss_v2.remediationLevel)),e.cvss_v2.reportConfidence&&(l.push("reportConfidence"),n.push(e.cvss_v2.reportConfidence)),e.cvss_v2.targetDistribution&&(l.push("targetDistribution"),n.push(e.cvss_v2.targetDistribution)),e.cvss_v2.temporalScore&&(l.push("temporalScore"),n.push(e.cvss_v2.temporalScore)),e.cvss_v2.vectorString&&(l.push("vectorString"),n.push(e.cvss_v2.vectorString)),e.cvss_v2.version&&(l.push("version"),n.push(e.cvss_v2.version)),s.$$set=i=>{"score"in i&&r(2,e=i.score)},[l,n,e]}class Cf extends ee{constructor(t){super(),te(this,t,yf,Df,x,{score:2})}}function Pf(s){let t,r;return t=new Ie({props:{keys:s[1],values:s[2]}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p:oe,i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function Sf(s){let t,r;return t=new ie({props:{header:"CVSS V"+s[0].cvss_v3.version,level:"5",$$slots:{default:[Pf]},$$scope:{ctx:s}}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,[l]){const n={};l&1&&(n.header="CVSS V"+e[0].cvss_v3.version),l&8&&(n.$$scope={dirty:l,ctx:e}),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function If(s,t,r){let{score:e}=t;const l=[],n=[];return e.cvss_v3.attackComplexity&&(l.push("attackComplexity"),n.push(e.cvss_v3.attackComplexity)),e.cvss_v3.attackVector&&(l.push("attackVector"),n.push(e.cvss_v3.attackVector)),e.cvss_v3.availabilityImpact&&(l.push("availabilityImpact"),n.push(e.cvss_v3.availabilityImpact)),e.cvss_v3.availabilityRequirement&&(l.push("availabilityRequirement"),n.push(e.cvss_v3.availabilityRequirement)),e.cvss_v3.baseScore&&(l.push("baseScore"),n.push(e.cvss_v3.baseScore)),e.cvss_v3.baseSeverity&&(l.push("baseSeverity"),n.push(e.cvss_v3.baseSeverity)),e.cvss_v3.confidentialityImpact&&(l.push("confidentialityImpact"),n.push(e.cvss_v3.confidentialityImpact)),e.cvss_v3.confidentialityRequirement&&(l.push("confidentialityRequirement"),n.push(e.cvss_v3.confidentialityRequirement)),e.cvss_v3.environmentalScore&&(l.push("environmentalScore"),n.push(e.cvss_v3.environmentalScore)),e.cvss_v3.environmentalSeverity&&(l.push("environmentalSeverity"),n.push(e.cvss_v3.environmentalSeverity)),e.cvss_v3.exploitCodeMaturity&&(l.push("exploitCodeMaturity"),n.push(e.cvss_v3.exploitCodeMaturity)),e.cvss_v3.integrityImpact&&(l.push("integrityImpact"),n.push(e.cvss_v3.integrityImpact)),e.cvss_v3.integrityRequirement&&(l.push("integrityRequirement"),n.push(e.cvss_v3.integrityRequirement)),e.cvss_v3.modifiedAttackComplexity&&(l.push("modifiedAttackComplexity"),n.push(e.cvss_v3.modifiedAttackComplexity)),e.cvss_v3.modifiedAttackVector&&(l.push("modifiedAttackVector"),n.push(e.cvss_v3.modifiedAttackVector)),e.cvss_v3.modifiedAvailabilityImpact&&(l.push("modifiedAvailabilityImpact"),n.push(e.cvss_v3.modifiedAvailabilityImpact)),e.cvss_v3.modifiedConfidentialityImpact&&(l.push("modifiedConfidentialityImpact"),n.push(e.cvss_v3.modifiedConfidentialityImpact)),e.cvss_v3.modifiedIntegrityImpact&&(l.push("modifiedIntegrityImpact"),n.push(e.cvss_v3.modifiedIntegrityImpact)),e.cvss_v3.modifiedPrivilegesRequired&&(l.push("modifiedPrivilegesRequired"),n.push(e.cvss_v3.modifiedPrivilegesRequired)),e.cvss_v3.modifiedScope&&(l.push("modifiedScope"),n.push(e.cvss_v3.modifiedScope)),e.cvss_v3.modifiedUserInteraction&&(l.push("modifiedUserInteraction"),n.push(e.cvss_v3.modifiedUserInteraction)),e.cvss_v3.privilegesRequired&&(l.push("privilegesRequired"),n.push(e.cvss_v3.privilegesRequired)),e.cvss_v3.remediationLevel&&(l.push("remediationLevel"),n.push(e.cvss_v3.remediationLevel)),e.cvss_v3.reportConfidence&&(l.push("reportConfidence"),n.push(e.cvss_v3.reportConfidence)),e.cvss_v3.scope&&(l.push("scope"),n.push(e.cvss_v3.scope)),e.cvss_v3.temporalScore&&(l.push("temporalScore"),n.push(e.cvss_v3.temporalScore)),e.cvss_v3.temporalSeverity&&(l.push("temporalSeverity"),n.push(e.cvss_v3.temporalSeverity)),e.cvss_v3.userInteraction&&(l.push("userInteraction"),n.push(e.cvss_v3.userInteraction)),e.cvss_v3.vectorString&&(l.push("vectorString"),n.push(e.cvss_v3.vectorString)),e.cvss_v3.version&&(l.push("version"),n.push(e.cvss_v3.version)),s.$$set=i=>{"score"in i&&r(0,e=i.score)},[e,l,n]}class Vf extends ee{constructor(t){super(),te(this,t,If,Sf,x,{score:0})}}function wn(s,t,r){const e=s.slice();return e[1]=t[r],e[3]=r,e}function En(s){let t,r,e=Y(s[0].scores),l=[];for(let i=0;ip(l[i],1,1,()=>{l[i]=null});return{c(){for(let i=0;i{f=null}),U()),u[1].cvss_v3?a?(a.p(u,d),d&1&&c(a,1)):(a=yn(u),a.c(),c(a,1),a.m(r.parentNode,r)):a&&(B(),p(a,1,1,()=>{a=null}),U()),u[1].products?o?(o.p(u,d),d&1&&c(o,1)):(o=Cn(u),o.c(),c(o,1),o.m(n.parentNode,n)):o&&(B(),p(o,1,1,()=>{o=null}),U())},i(u){i||(c(f),c(a),c(o),i=!0)},o(u){p(f),p(a),p(o),i=!1},d(u){u&&(_(t),_(r),_(e),_(l),_(n)),f&&f.d(u),a&&a.d(u),o&&o.d(u)}}}function Pn(s){let t,r;return t=new ie({props:{header:"Score "+(s[3]+1),level:"4",$$slots:{default:[Nf]},$$scope:{ctx:s}}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&17&&(n.$$scope={dirty:l,ctx:e}),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function Rf(s){let t,r,e=s[0].scores&&En(s);return{c(){e&&e.c(),t=H()},l(l){e&&e.l(l),t=H()},m(l,n){e&&e.m(l,n),w(l,t,n),r=!0},p(l,n){l[0].scores?e?(e.p(l,n),n&1&&c(e,1)):(e=En(l),e.c(),c(e,1),e.m(t.parentNode,t)):e&&(B(),p(e,1,1,()=>{e=null}),U())},i(l){r||(c(e),r=!0)},o(l){p(e),r=!1},d(l){l&&_(t),e&&e.d(l)}}}function Af(s){let t,r;return t=new ie({props:{header:"Scores",level:"4",$$slots:{default:[Rf]},$$scope:{ctx:s}}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,[l]){const n={};l&17&&(n.$$scope={dirty:l,ctx:e}),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function Lf(s,t,r){let{vulnerability:e}=t;return s.$$set=l=>{"vulnerability"in l&&r(0,e=l.vulnerability)},[e]}class Ff extends ee{constructor(t){super(),te(this,t,Lf,Af,x,{vulnerability:0})}}function Sn(s){let t,r;return t=new Le({props:{label:"Group IDs",values:s[0].group_ids}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.values=e[0].group_ids),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function In(s){let t,r;return t=new Le({props:{label:"Product IDs",values:s[0].product_ids}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.values=e[0].product_ids),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function Bf(s){let t,r,e,l,n;t=new Ie({props:{keys:s[1],values:s[2]}});let i=s[0].group_ids&&Sn(s),f=s[0].product_ids&&In(s);return{c(){P(t.$$.fragment),r=D(),i&&i.c(),e=D(),f&&f.c(),l=H()},l(a){S(t.$$.fragment,a),r=y(a),i&&i.l(a),e=y(a),f&&f.l(a),l=H()},m(a,o){I(t,a,o),w(a,r,o),i&&i.m(a,o),w(a,e,o),f&&f.m(a,o),w(a,l,o),n=!0},p(a,[o]){a[0].group_ids?i?(i.p(a,o),o&1&&c(i,1)):(i=Sn(a),i.c(),c(i,1),i.m(e.parentNode,e)):i&&(B(),p(i,1,1,()=>{i=null}),U()),a[0].product_ids?f?(f.p(a,o),o&1&&c(f,1)):(f=In(a),f.c(),c(f,1),f.m(l.parentNode,l)):f&&(B(),p(f,1,1,()=>{f=null}),U())},i(a){n||(c(t.$$.fragment,a),c(i),c(f),n=!0)},o(a){p(t.$$.fragment,a),p(i),p(f),n=!1},d(a){a&&(_(r),_(e),_(l)),V(t,a),i&&i.d(a),f&&f.d(a)}}}function Uf(s,t,r){let{threat:e}=t;const l=[],n=[];return l.push("Category"),n.push(e.category),e.date&&(l.push("Date"),n.push(e.date)),l.push("Details"),n.push(e.details),s.$$set=i=>{"threat"in i&&r(0,e=i.threat)},[e,l,n]}class qf extends ee{constructor(t){super(),te(this,t,Uf,Bf,x,{threat:0})}}function Vn(s,t,r){const e=s.slice();return e[2]=t[r],e[4]=r,e}function Nn(s){let t;return{c(){t=k("hr"),this.h()},l(r){t=T(r,"HR",{style:!0}),this.h()},h(){fi(t,"width","80vw")},m(r,e){w(r,t,e)},d(r){r&&_(t)}}}function Rn(s){let t,r,e,l;t=new qf({props:{threat:s[2]}});let n=s[0].threats&&s[0].threats.length>1&&s[4]1&&i[4]p(i[a],1,1,()=>{i[a]=null});return{c(){t=k("div"),r=D();for(let a=0;a{"vulnerability"in n&&r(0,l=n.vulnerability)},s.$$.update=()=>{s.$$.dirty&1&&r(1,e=l.threats?l.threats:[])},[l,e]}class Mf extends ee{constructor(t){super(),te(this,t,Of,Gf,x,{vulnerability:0})}}function An(s){let t,r;return t=new ie({props:{header:"Acknowledgments",level:"4",$$slots:{default:[zf]},$$scope:{ctx:s}}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&129&&(n.$$scope={dirty:l,ctx:e}),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function zf(s){let t,r;return t=new xn({props:{acknowledegments:s[0].acknowledgments}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.acknowledegments=e[0].acknowledgments),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function Ln(s){let t,r;return t=new Qs({props:{vulnerability:s[0]}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.vulnerability=e[0]),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function Fn(s){let t,r;return t=new nf({props:{vulnerability:s[0]}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.vulnerability=e[0]),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function Bn(s){let t,r;return t=new of({props:{vulnerability:s[0]}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.vulnerability=e[0]),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function Un(s){let t,r;return t=new ie({props:{header:"Notes",level:"4",open:s[0].notes.length===1,$$slots:{default:[jf]},$$scope:{ctx:s}}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.open=e[0].notes.length===1),l&129&&(n.$$scope={dirty:l,ctx:e}),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function jf(s){let t,r;return t=new ei({props:{notes:s[0].notes}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.notes=e[0].notes),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function qn(s){let t,r;return t=new $f({props:{vulnerability:s[0]}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.vulnerability=e[0]),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function Hn(s){let t,r;return t=new ie({props:{header:"References",level:"4",$$slots:{default:[Kf]},$$scope:{ctx:s}}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&129&&(n.$$scope={dirty:l,ctx:e}),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function Kf(s){let t,r;return t=new ti({props:{references:s[0].references}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.references=e[0].references),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function Gn(s){let t,r;return t=new wf({props:{vulnerability:s[0]}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.vulnerability=e[0]),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function On(s){let t,r;return t=new Ff({props:{vulnerability:s[0]}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.vulnerability=e[0]),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function Mn(s){let t,r;return t=new Mf({props:{vulnerability:s[0]}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.vulnerability=e[0]),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function Wf(s){let t,r,e,l,n,i=s[0].ids&&Array.isArray(s[0].ids),f,a,o=s[0].notes&&Array.isArray(s[0].notes),u,d,m,v,$,g;r=new ef({props:{vulnerability:s[0]}});let b=s[0].acknowledgments&&An(s),E=s[0].flags&&Ln(s),q=i&&Fn(s),G=s[0].involvements&&Bn(s),z=o&&Un(s),O=s[0].product_status&&qn(s),R=s[0].references&&Hn(s),M=s[0].remediations&&Gn(s),j=s[0].scores&&On(s),le=s[0].threats&&Mn(s);return{c(){t=k("div"),P(r.$$.fragment),e=D(),b&&b.c(),l=D(),E&&E.c(),n=D(),q&&q.c(),f=D(),G&&G.c(),a=D(),z&&z.c(),u=D(),O&&O.c(),d=D(),R&&R.c(),m=D(),M&&M.c(),v=D(),j&&j.c(),$=D(),le&&le.c()},l(F){t=T(F,"DIV",{});var A=C(t);S(r.$$.fragment,A),e=y(A),b&&b.l(A),l=y(A),E&&E.l(A),n=y(A),q&&q.l(A),f=y(A),G&&G.l(A),a=y(A),z&&z.l(A),u=y(A),O&&O.l(A),d=y(A),R&&R.l(A),m=y(A),M&&M.l(A),v=y(A),j&&j.l(A),$=y(A),le&&le.l(A),A.forEach(_)},m(F,A){w(F,t,A),I(r,t,null),h(t,e),b&&b.m(t,null),h(t,l),E&&E.m(t,null),h(t,n),q&&q.m(t,null),h(t,f),G&&G.m(t,null),h(t,a),z&&z.m(t,null),h(t,u),O&&O.m(t,null),h(t,d),R&&R.m(t,null),h(t,m),M&&M.m(t,null),h(t,v),j&&j.m(t,null),h(t,$),le&&le.m(t,null),g=!0},p(F,A){const ue={};A&1&&(ue.vulnerability=F[0]),r.$set(ue),F[0].acknowledgments?b?(b.p(F,A),A&1&&c(b,1)):(b=An(F),b.c(),c(b,1),b.m(t,l)):b&&(B(),p(b,1,1,()=>{b=null}),U()),F[0].flags?E?(E.p(F,A),A&1&&c(E,1)):(E=Ln(F),E.c(),c(E,1),E.m(t,n)):E&&(B(),p(E,1,1,()=>{E=null}),U()),A&1&&(i=F[0].ids&&Array.isArray(F[0].ids)),i?q?(q.p(F,A),A&1&&c(q,1)):(q=Fn(F),q.c(),c(q,1),q.m(t,f)):q&&(B(),p(q,1,1,()=>{q=null}),U()),F[0].involvements?G?(G.p(F,A),A&1&&c(G,1)):(G=Bn(F),G.c(),c(G,1),G.m(t,a)):G&&(B(),p(G,1,1,()=>{G=null}),U()),A&1&&(o=F[0].notes&&Array.isArray(F[0].notes)),o?z?(z.p(F,A),A&1&&c(z,1)):(z=Un(F),z.c(),c(z,1),z.m(t,u)):z&&(B(),p(z,1,1,()=>{z=null}),U()),F[0].product_status?O?(O.p(F,A),A&1&&c(O,1)):(O=qn(F),O.c(),c(O,1),O.m(t,d)):O&&(B(),p(O,1,1,()=>{O=null}),U()),F[0].references?R?(R.p(F,A),A&1&&c(R,1)):(R=Hn(F),R.c(),c(R,1),R.m(t,m)):R&&(B(),p(R,1,1,()=>{R=null}),U()),F[0].remediations?M?(M.p(F,A),A&1&&c(M,1)):(M=Gn(F),M.c(),c(M,1),M.m(t,v)):M&&(B(),p(M,1,1,()=>{M=null}),U()),F[0].scores?j?(j.p(F,A),A&1&&c(j,1)):(j=On(F),j.c(),c(j,1),j.m(t,$)):j&&(B(),p(j,1,1,()=>{j=null}),U()),F[0].threats?le?(le.p(F,A),A&1&&c(le,1)):(le=Mn(F),le.c(),c(le,1),le.m(t,null)):le&&(B(),p(le,1,1,()=>{le=null}),U())},i(F){g||(c(r.$$.fragment,F),c(b),c(E),c(q),c(G),c(z),c(O),c(R),c(M),c(j),c(le),g=!0)},o(F){p(r.$$.fragment,F),p(b),p(E),p(q),p(G),p(z),p(O),p(R),p(M),p(j),p(le),g=!1},d(F){F&&_(t),V(r),b&&b.d(),E&&E.d(),q&&q.d(),G&&G.d(),z&&z.d(),O&&O.d(),R&&R.d(),M&&M.d(),j&&j.d(),le&&le.d()}}}function Xf(s){let t,r,e;return r=new ie({props:{header:s[2],level:"3",open:s[1],onClose:s[5],$$slots:{default:[Wf]},$$scope:{ctx:s}}}),{c(){t=k("div"),P(r.$$.fragment)},l(l){t=T(l,"DIV",{});var n=C(t);S(r.$$.fragment,n),n.forEach(_)},m(l,n){w(l,t,n),I(r,t,null),e=!0},p(l,[n]){const i={};n&2&&(i.open=l[1]),n&129&&(i.$$scope={dirty:n,ctx:l}),r.$set(i)},i(l){e||(c(r.$$.fragment,l),e=!0)},o(l){p(r.$$.fragment,l),e=!1},d(l){l&&_(t),V(r)}}}function Yf(s,t,r){let e;Ne(s,X,u=>r(4,e=u));let{vulnerability:l}=t,{index:n=1}=t;async function i(){var u;await Ot(),(u=document.getElementById(`${l.cve}`))==null||u.scrollIntoView({behavior:"smooth"})}let f=l.cve?l.cve:`Vulnerability ${n}`,a=!1;const o=()=>{X.resetSelectedCVE()};return s.$$set=u=>{"vulnerability"in u&&r(0,l=u.vulnerability),"index"in u&&r(3,n=u.index)},s.$$.update=()=>{var u,d;s.$$.dirty&16&&(u=e.doc)!=null&&u.vulnerabilities&&((d=e.doc)==null?void 0:d.vulnerabilities.length)===1&&r(1,a=!0),s.$$.dirty&17&&(e.ui.selectedCVE&&e.ui.selectedCVE===l.cve?(r(1,a=!0),i()):e.ui.selectedCVE&&e.ui.selectedCVE!==l.cve&&r(1,a=!1))},[l,a,f,n,e,o]}class Jf extends ee{constructor(t){super(),te(this,t,Yf,Xf,x,{vulnerability:0,index:3})}}function zn(s,t,r){const e=s.slice();return e[2]=t[r],e[4]=r,e}function jn(s){let t,r;return t=new Jf({props:{vulnerability:s[2],index:s[4]+1}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.vulnerability=e[2]),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function Qf(s){let t,r,e=Y(s[0]),l=[];for(let i=0;ip(l[i],1,1,()=>{l[i]=null});return{c(){t=k("div");for(let i=0;ir(1,l=n)),s.$$.update=()=>{var n;s.$$.dirty&2&&r(0,e=(n=l.doc)==null?void 0:n.vulnerabilities)},[e,l]}class xf extends ee{constructor(t){super(),te(this,t,Zf,Qf,x,{})}}function Kn(s){let t,r,e,l,n,i,f,a,o=s[0].doc&&Wn(s);const u=[la,ta],d=[];function m(b,E){var q;return((q=b[0].doc)==null?void 0:q.productVulnerabilities.length)>1?0:1}r=m(s),e=d[r]=u[r](s);let v=s[0].doc&&s[0].doc.isProductTreePresent&&Xn(s),$=s[0].doc&&s[0].doc.isVulnerabilitiesPresent&&Yn(s),g=s[0].ui.history.length>0&&Jn();return{c(){o&&o.c(),t=D(),e.c(),l=D(),v&&v.c(),n=D(),$&&$.c(),i=D(),g&&g.c(),f=H()},l(b){o&&o.l(b),t=y(b),e.l(b),l=y(b),v&&v.l(b),n=y(b),$&&$.l(b),i=y(b),g&&g.l(b),f=H()},m(b,E){o&&o.m(b,E),w(b,t,E),d[r].m(b,E),w(b,l,E),v&&v.m(b,E),w(b,n,E),$&&$.m(b,E),w(b,i,E),g&&g.m(b,E),w(b,f,E),a=!0},p(b,E){b[0].doc?o?(o.p(b,E),E&1&&c(o,1)):(o=Wn(b),o.c(),c(o,1),o.m(t.parentNode,t)):o&&(B(),p(o,1,1,()=>{o=null}),U());let q=r;r=m(b),r===q?d[r].p(b,E):(B(),p(d[q],1,1,()=>{d[q]=null}),U(),e=d[r],e?e.p(b,E):(e=d[r]=u[r](b),e.c()),c(e,1),e.m(l.parentNode,l)),b[0].doc&&b[0].doc.isProductTreePresent?v?(v.p(b,E),E&1&&c(v,1)):(v=Xn(b),v.c(),c(v,1),v.m(n.parentNode,n)):v&&(B(),p(v,1,1,()=>{v=null}),U()),b[0].doc&&b[0].doc.isVulnerabilitiesPresent?$?($.p(b,E),E&1&&c($,1)):($=Yn(b),$.c(),c($,1),$.m(i.parentNode,i)):$&&(B(),p($,1,1,()=>{$=null}),U()),b[0].ui.history.length>0?g?E&1&&c(g,1):(g=Jn(),g.c(),c(g,1),g.m(f.parentNode,f)):g&&(B(),p(g,1,1,()=>{g=null}),U())},i(b){a||(c(o),c(e),c(v),c($),c(g),a=!0)},o(b){p(o),p(e),p(v),p($),p(g),a=!1},d(b){b&&(_(t),_(l),_(n),_(i),_(f)),o&&o.d(b),d[r].d(b),v&&v.d(b),$&&$.d(b),g&&g.d(b)}}}function Wn(s){let t,r;return t=new ie({props:{header:"General",open:s[0].ui.isGeneralSectionVisible,$$slots:{default:[ea]},$$scope:{ctx:s}}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.open=e[0].ui.isGeneralSectionVisible),l&32&&(n.$$scope={dirty:l,ctx:e}),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function ea(s){let t,r;return t=new zi({}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function ta(s){let t,r="No Vulnerabilities overview",e;return{c(){t=k("h2"),t.textContent=r,e=K(` (As no products are connected to vulnerabilities.)`)},l(l){t=T(l,"H2",{"data-svelte-h":!0}),ne(t)!=="svelte-1rol1ni"&&(t.textContent=r),e=W(l,` (As no products are connected to vulnerabilities.)`)},m(l,n){w(l,t,n),w(l,e,n)},p:oe,i:oe,o:oe,d(l){l&&(_(t),_(e))}}}function la(s){let t,r;return t=new ie({props:{header:"Vulnerabilities overview",open:s[0].ui.isVulnerabilitiesOverviewVisible,$$slots:{default:[ra]},$$scope:{ctx:s}}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.open=e[0].ui.isVulnerabilitiesOverviewVisible),l&32&&(n.$$scope={dirty:l,ctx:e}),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function ra(s){let t,r;return t=new zs({}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function Xn(s){let t,r;return t=new ie({props:{header:"Product tree",onOpen:s[2],open:s[0].ui.isProductTreeVisible,onClose:s[3],$$slots:{default:[na]},$$scope:{ctx:s}}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.open=e[0].ui.isProductTreeVisible),l&32&&(n.$$scope={dirty:l,ctx:e}),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function na(s){let t,r;return t=new Rs({}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function Yn(s){let t,r;return t=new ie({props:{header:"Vulnerabilities",open:s[0].ui.isVulnerabilitiesSectionVisible,onClose:s[4],$$slots:{default:[ia]},$$scope:{ctx:s}}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const n={};l&1&&(n.open=e[0].ui.isVulnerabilitiesSectionVisible),l&32&&(n.$$scope={dirty:l,ctx:e}),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function ia(s){let t,r;return t=new xf({}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function Jn(s){let t,r;return t=new ui({}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){V(t,e)}}}function sa(s){let t,r,e,l,n,i,f,a,o,u;r=new oi({props:{baseroute:`${pi}/?q=`,tooltiptext:"URL to fetch Advisory from",placeholder:"Advisory URL",errormessage:s[0].ui.singleErrorMsg}}),n=new Ws({}),f=new mi({});let d=s[1]&&Kn(s);return{c(){t=k("div"),P(r.$$.fragment),e=D(),l=k("div"),P(n.$$.fragment),i=D(),P(f.$$.fragment),a=D(),d&&d.c(),o=H(),this.h()},l(m){t=T(m,"DIV",{class:!0});var v=C(t);S(r.$$.fragment,v),v.forEach(_),e=y(m),l=T(m,"DIV",{class:!0});var $=C(l);S(n.$$.fragment,$),i=y($),S(f.$$.fragment,$),$.forEach(_),a=y(m),d&&d.l(m),o=H(),this.h()},h(){N(t,"class","loader"),N(l,"class","upload")},m(m,v){w(m,t,v),I(r,t,null),w(m,e,v),w(m,l,v),I(n,l,null),h(l,i),I(f,l,null),w(m,a,v),d&&d.m(m,v),w(m,o,v),u=!0},p(m,[v]){const $={};v&1&&($.errormessage=m[0].ui.singleErrorMsg),r.$set($),m[1]?d?(d.p(m,v),v&2&&c(d,1)):(d=Kn(m),d.c(),c(d,1),d.m(o.parentNode,o)):d&&(B(),p(d,1,1,()=>{d=null}),U())},i(m){u||(c(r.$$.fragment,m),c(n.$$.fragment,m),c(f.$$.fragment,m),c(d),u=!0)},o(m){p(r.$$.fragment,m),p(n.$$.fragment,m),p(f.$$.fragment,m),p(d),u=!1},d(m){m&&(_(t),_(e),_(l),_(a),_(o)),V(r),V(n),V(f),d&&d.d(m)}}}function fa(s,t,r){let e,l;Ne(s,X,a=>r(0,l=a));const n=()=>{X.setProductTreeOpen()},i=()=>{X.setProductTreeSectionInVisible(),X.resetSelectedProduct(),X.setProductTreeClosed()},f=()=>{X.setVulnerabilitiesSectionInvisible()};return s.$$.update=()=>{var a,o,u,d,m,v,$;s.$$.dirty&1&&r(1,e=!(!((a=l.doc)!=null&&a.isRevisionHistoryPresent)&&!((o=l.doc)!=null&&o.isDocPresent)&&!((u=l.doc)!=null&&u.isProductTreePresent)&&!((d=l.doc)!=null&&d.isPublisherPresent)&&!((m=l.doc)!=null&&m.isTLPPresent)&&!((v=l.doc)!=null&&v.isTrackingPresent)&&!(($=l.doc)!=null&&$.isVulnerabilitiesPresent)))},[l,e,n,i,f]}class aa extends ee{constructor(t){super(),te(this,t,fa,sa,x,{})}}function oa(s){let t,r,e,l,n;return r=new aa({}),l=new ci({props:{modal:!1,active:s[0].ui.loading}}),{c(){t=k("div"),P(r.$$.fragment),e=D(),P(l.$$.fragment),this.h()},l(i){t=T(i,"DIV",{class:!0});var f=C(t);S(r.$$.fragment,f),f.forEach(_),e=y(i),S(l.$$.fragment,i),this.h()},h(){N(t,"class","appbody")},m(i,f){w(i,t,f),I(r,t,null),w(i,e,f),I(l,i,f),n=!0},p(i,[f]){const a={};f&1&&(a.active=i[0].ui.loading),l.$set(a)},i(i){n||(c(r.$$.fragment,i),c(l.$$.fragment,i),n=!0)},o(i){p(r.$$.fragment,i),p(l.$$.fragment,i),n=!1},d(i){i&&(_(t),_(e)),V(r),V(l,i)}}}function ua(s,t,r){let e,l;return Ne(s,di,n=>r(1,e=n)),Ne(s,X,n=>r(0,l=n)),ni(()=>{X.clearHistory();const n=e.url.searchParams.get("q")||"",i=e.url.searchParams.get("feed")||"";i&&X.setLastFeed(`${i}`),n?(X.setLastDoc(`${n}`),Tl(n)):X.setDocument(null),X.setSingleMode()}),s.$$.update=()=>{if(s.$$.dirty&2){const n=e.url.searchParams.get("q")||"",i=e.url.searchParams.get("feed")||"";i&&X.setLastFeed(`${i}`),n?(X.setLastDoc(`${n}`),Tl(n)):X.setDocument(null)}},[l,e]}class ha extends ee{constructor(t){super(),te(this,t,ua,oa,x,{})}}export{ha as component}; diff --git a/build/_app/immutable/nodes/3.93cdfd32.js b/build/_app/immutable/nodes/3.57fc9617.js similarity index 99% rename from build/_app/immutable/nodes/3.93cdfd32.js rename to build/_app/immutable/nodes/3.57fc9617.js index b6e5039..533115e 100644 --- a/build/_app/immutable/nodes/3.93cdfd32.js +++ b/build/_app/immutable/nodes/3.57fc9617.js @@ -1 +1 @@ -import{s as G,e as x,r as Ye,c as je,u as He,g as Ke,d as ze,t as We,f as Je,n as re,o as Qe}from"../chunks/scheduler.cc1c0861.js";import{S as q,i as Y,e as I,a as D,d,p as W,b as J,t as _,f as c,C as ee,r as M,u as C,v as F,w as S,g as b,s as L,h as k,j as w,c as A,A as te,y as h,m as U,n as V,k as E,l as Xe,z as ie,o as Z,x as se}from"../chunks/index.7a644faf.js";import{a as R}from"../chunks/store.b3c2dff0.js";import{e as B,K as ne,g as Ge,C as K,l as Ze,U as xe,B as et,a as tt,b as _e}from"../chunks/Spinner.a9554a1c.js";import{p as qe}from"../chunks/stores.eb2874b7.js";import{b as ue}from"../chunks/paths.9104f388.js";function he(s,t,n){const e=s.slice();return e[1]=t[n],e}function me(s){let t,n;return t=new ne({props:{keys:["scheme","term"],values:[s[1].scheme,s[1].term]}}),{c(){M(t.$$.fragment)},l(e){C(t.$$.fragment,e)},m(e,l){F(t,e,l),n=!0},p(e,l){const a={};l&1&&(a.values=[e[1].scheme,e[1].term]),t.$set(a)},i(e){n||(d(t.$$.fragment,e),n=!0)},o(e){_(t.$$.fragment,e),n=!1},d(e){S(t,e)}}}function lt(s){let t,n,e=B(s[0]),l=[];for(let r=0;r_(l[r],1,1,()=>{l[r]=null});return{c(){for(let r=0;r{"categories"in l&&n(0,e=l.categories)},[e]}class nt extends q{constructor(t){super(),Y(this,t,rt,lt,G,{categories:0})}}function ge(s){let t,n,e,l,a,r,i=s[2].id+"",o,f,u=s[2].title+"",p,g,m,$,y;return{c(){t=b("div"),n=b("h5"),e=b("i"),a=L(),r=b("a"),o=U(i),f=U(": "),p=U(u),this.h()},l(v){t=k(v,"DIV",{title:!0,style:!0,id:!0,class:!0});var T=w(t);n=k(T,"H5",{class:!0});var O=w(n);e=k(O,"I",{class:!0}),w(e).forEach(c),a=A(O),r=k(O,"A",{href:!0});var P=w(r);o=V(P,i),f=V(P,": "),p=V(P,u),P.forEach(c),O.forEach(c),T.forEach(c),this.h()},h(){E(e,"class",l="bx "+s[5]),E(r,"href",s[3]),E(n,"class","url-collapsible-titletext"),E(t,"title",g=s[2].title),Xe(t,"cursor","pointer"),E(t,"id",m=s[2].id),E(t,"class","url-collapsible-title")},m(v,T){D(v,t,T),h(t,n),h(n,e),h(n,a),h(n,r),h(r,o),h(r,f),h(r,p),$||(y=[ie(r,"click",s[6]),ie(t,"click",s[7])],$=!0)},p(v,T){T&32&&l!==(l="bx "+v[5])&&E(e,"class",l),T&4&&i!==(i=v[2].id+"")&&Z(o,i),T&4&&u!==(u=v[2].title+"")&&Z(p,u),T&8&&E(r,"href",v[3]),T&4&&g!==(g=v[2].title)&&E(t,"title",g),T&4&&m!==(m=v[2].id)&&E(t,"id",m)},d(v){v&&c(t),$=!1,Ye(y)}}}function ve(s){let t,n;const e=s[11].default,l=je(e,s,s[10],null);return{c(){t=b("div"),l&&l.c(),this.h()},l(a){t=k(a,"DIV",{class:!0});var r=w(t);l&&l.l(r),r.forEach(c),this.h()},h(){E(t,"class","collapsible-body")},m(a,r){D(a,t,r),l&&l.m(t,null),n=!0},p(a,r){l&&l.p&&(!n||r&1024)&&He(l,e,a,a[10],n?ze(e,a[10],r,null):Ke(a[10]),null)},i(a){n||(d(l,a),n=!0)},o(a){_(l,a),n=!1},d(a){a&&c(t),l&&l.d(a)}}}function at(s){let t,n,e,l=s[0]=="4"&&ge(s),a=s[4]==="block"&&ve(s);return{c(){t=b("div"),l&&l.c(),n=L(),a&&a.c(),this.h()},l(r){t=k(r,"DIV",{});var i=w(t);l&&l.l(i),n=A(i),a&&a.l(i),i.forEach(c),this.h()},h(){te(t,"collapsible",!0),te(t,"highlight-section",s[1])},m(r,i){D(r,t,i),l&&l.m(t,null),h(t,n),a&&a.m(t,null),e=!0},p(r,[i]){r[0]=="4"?l?l.p(r,i):(l=ge(r),l.c(),l.m(t,n)):l&&(l.d(1),l=null),r[4]==="block"?a?(a.p(r,i),i&16&&d(a,1)):(a=ve(r),a.c(),d(a,1),a.m(t,null)):a&&(W(),_(a,1,1,()=>{a=null}),J()),(!e||i&2)&&te(t,"highlight-section",r[1])},i(r){e||(d(a),e=!0)},o(r){_(a),e=!1},d(r){r&&c(t),l&&l.d(),a&&a.d()}}}function st(s,t,n){let e;x(s,qe,v=>n(12,e=v));let{$$slots:l={},$$scope:a}=t,{open:r=!1}=t,{level:i="2"}=t,{highlight:o=!1}=t,{entry:f}=t,{lookupID:u}=t,{onClose:p=()=>{}}=t,g="none",m="bx-chevron-down";const $=v=>{let T=v.target.getAttribute("href");const O=e.url.searchParams.get("q")||"";Ge(`${ue}/?q=${T}&feed=${O}`),v.preventDefault()},y=()=>{g==="block"?(p(),n(4,g="none")):n(4,g="block")};return s.$$set=v=>{"open"in v&&n(8,r=v.open),"level"in v&&n(0,i=v.level),"highlight"in v&&n(1,o=v.highlight),"entry"in v&&n(2,f=v.entry),"lookupID"in v&&n(3,u=v.lookupID),"onClose"in v&&n(9,p=v.onClose),"$$scope"in v&&n(10,a=v.$$scope)},s.$$.update=()=>{s.$$.dirty&256&&r&&n(4,g="block"),s.$$.dirty&16&&(g==="block"?n(5,m="bx-chevron-down"):n(5,m="bx-chevron-right"))},[i,o,f,u,g,m,$,y,r,p,a,l]}class it extends q{constructor(t){super(),Y(this,t,st,at,G,{open:8,level:0,highlight:1,entry:2,lookupID:3,onClose:9})}}function be(s,t,n){const e=s.slice();return e[3]=t[n],e}function ot(s){let t,n;return t=new ne({props:{keys:["Type","Src"],values:[s[0].content.type,s[0].content.src]}}),{c(){M(t.$$.fragment)},l(e){C(t.$$.fragment,e)},m(e,l){F(t,e,l),n=!0},p(e,l){const a={};l&1&&(a.values=[e[0].content.type,e[0].content.src]),t.$set(a)},i(e){n||(d(t.$$.fragment,e),n=!0)},o(e){_(t.$$.fragment,e),n=!1},d(e){S(t,e)}}}function ft(s){let t,n;return t=new ne({props:{keys:["Schema","Version"],values:[s[0].format.schema,s[0].format.version]}}),{c(){M(t.$$.fragment)},l(e){C(t.$$.fragment,e)},m(e,l){F(t,e,l),n=!0},p(e,l){const a={};l&1&&(a.values=[e[0].format.schema,e[0].format.version]),t.$set(a)},i(e){n||(d(t.$$.fragment,e),n=!0)},o(e){_(t.$$.fragment,e),n=!1},d(e){S(t,e)}}}function ut(s){let t,n=s[3].href+"",e,l;return{c(){t=b("a"),e=U(n),this.h()},l(a){t=k(a,"A",{target:!0,href:!0});var r=w(t);e=V(r,n),r.forEach(c),this.h()},h(){E(t,"target","_blank"),E(t,"href",l=s[3].href)},m(a,r){D(a,t,r),h(t,e)},p(a,r){r&1&&n!==(n=a[3].href+"")&&Z(e,n),r&1&&l!==(l=a[3].href)&&E(t,"href",l)},d(a){a&&c(t)}}}function ct(s){let t,n=s[3].href+"",e,l,a,r;return{c(){t=b("a"),e=U(n),this.h()},l(i){t=k(i,"A",{href:!0});var o=w(t);e=V(o,n),o.forEach(c),this.h()},h(){E(t,"href",l=s[3].href)},m(i,o){D(i,t,o),h(t,e),a||(r=ie(t,"click",s[1]),a=!0)},p(i,o){o&1&&n!==(n=i[3].href+"")&&Z(e,n),o&1&&l!==(l=i[3].href)&&E(t,"href",l)},d(i){i&&c(t),a=!1,r()}}}function ke(s){let t,n,e=s[3].rel+"",l,a,r,i,o;function f(g,m){return g[3].rel==="self"?ct:ut}let u=f(s),p=u(s);return{c(){t=b("tr"),n=b("td"),l=U(e),a=U(":"),r=L(),i=b("td"),p.c(),o=L(),this.h()},l(g){t=k(g,"TR",{});var m=w(t);n=k(m,"TD",{class:!0});var $=w(n);l=V($,e),a=V($,":"),$.forEach(c),r=A(m),i=k(m,"TD",{});var y=w(i);p.l(y),y.forEach(c),o=A(m),m.forEach(c),this.h()},h(){E(n,"class","key")},m(g,m){D(g,t,m),h(t,n),h(n,l),h(n,a),h(t,r),h(t,i),p.m(i,null),h(t,o)},p(g,m){m&1&&e!==(e=g[3].rel+"")&&Z(l,e),u===(u=f(g))&&p?p.p(g,m):(p.d(1),p=u(g),p&&(p.c(),p.m(i,null)))},d(g){g&&c(t),p.d()}}}function $t(s){let t,n=B(s[0].link),e=[];for(let l=0;l{let i=r.target.getAttribute("href");l(),Ze(i),r.preventDefault()};return s.$$set=r=>{"entry"in r&&n(0,e=r.entry)},[e,a]}class _t extends q{constructor(t){super(),Y(this,t,pt,dt,G,{entry:0})}}function Ee(s,t,n){const e=s.slice();return e[4]=t[n],e}function ht(s){let t,n,e;return t=new _t({props:{entry:s[4]}}),{c(){M(t.$$.fragment),n=L()},l(l){C(t.$$.fragment,l),n=A(l)},m(l,a){F(t,l,a),D(l,n,a),e=!0},p(l,a){const r={};a&1&&(r.entry=l[4]),t.$set(r)},i(l){e||(d(t.$$.fragment,l),e=!0)},o(l){_(t.$$.fragment,l),e=!1},d(l){l&&c(n),S(t,l)}}}function De(s){let t,n;return t=new it({props:{entry:s[4],lookupID:s[2][s[4].id],level:"4",$$slots:{default:[ht]},$$scope:{ctx:s}}}),{c(){M(t.$$.fragment)},l(e){C(t.$$.fragment,e)},m(e,l){F(t,e,l),n=!0},p(e,l){const a={};l&1&&(a.entry=e[4]),l&1&&(a.lookupID=e[2][e[4].id]),l&129&&(a.$$scope={dirty:l,ctx:e}),t.$set(a)},i(e){n||(d(t.$$.fragment,e),n=!0)},o(e){_(t.$$.fragment,e),n=!1},d(e){S(t,e)}}}function mt(s){let t,n,e,l,a=B(s[0]),r=[];for(let o=0;o_(r[o],1,1,()=>{r[o]=null});return{c(){t=b("section");for(let o=0;o{};function bt(s,t,n){let{entries:e=[]}=t,{year:l}=t;e.sort((i,o)=>i.updatedo.updated?-1:0);const a=e.reduce((i,o)=>{const f=o.link.find(u=>u.rel==="self");return i[o.id]=f.href,i},{}),r=i=>{};return s.$$set=i=>{"entries"in i&&n(0,e=i.entries),"year"in i&&n(1,l=i.year)},[e,l,a,r]}class kt extends q{constructor(t){super(),Y(this,t,bt,gt,G,{entries:0,year:1})}}function we(s,t,n){const e=s.slice();return e[3]=t[n],e}function ye(s){let t,n;return t=new kt({props:{year:s[3],entries:s[0][s[3]]}}),{c(){M(t.$$.fragment)},l(e){C(t.$$.fragment,e)},m(e,l){F(t,e,l),n=!0},p:re,i(e){n||(d(t.$$.fragment,e),n=!0)},o(e){_(t.$$.fragment,e),n=!1},d(e){S(t,e)}}}function Et(s){let t,n,e=B(s[1]),l=[];for(let r=0;r_(l[r],1,1,()=>{l[r]=null});return{c(){for(let r=0;r{const o=new Date(i.published);return r[o.getFullYear()]||(r[o.getFullYear()]=[]),r[o.getFullYear()].push(i),r},{}),a=Object.keys(l).sort((r,i)=>ri?-1:0);return s.$$set=r=>{"entries"in r&&n(2,e=r.entries)},[l,a,e]}class wt extends q{constructor(t){super(),Y(this,t,Dt,Et,G,{entries:2})}}function Me(s,t,n){const e=s.slice();return e[1]=t[n],e}function Ce(s){let t,n,e=s[1].rel+"",l,a,r,i,o=s[1].href+"",f,u,p;return{c(){t=b("tr"),n=b("td"),l=U(e),a=U(": "),r=b("td"),i=b("a"),f=U(o),p=L(),this.h()},l(g){t=k(g,"TR",{});var m=w(t);n=k(m,"TD",{class:!0});var $=w(n);l=V($,e),a=V($,": "),$.forEach(c),r=k(m,"TD",{});var y=w(r);i=k(y,"A",{id:!0,target:!0,href:!0});var v=w(i);f=V(v,o),v.forEach(c),y.forEach(c),p=A(m),m.forEach(c),this.h()},h(){E(n,"class","key"),E(i,"id",crypto.randomUUID()),E(i,"target","_blank"),E(i,"href",u=s[1].href)},m(g,m){D(g,t,m),h(t,n),h(n,l),h(n,a),h(t,r),h(r,i),h(i,f),h(t,p)},p(g,m){m&1&&e!==(e=g[1].rel+"")&&Z(l,e),m&1&&o!==(o=g[1].href+"")&&Z(f,o),m&1&&u!==(u=g[1].href)&&E(i,"href",u)},d(g){g&&c(t)}}}function yt(s){let t,n=B(s[0]),e=[];for(let l=0;l{"links"in l&&n(0,e=l.links)},[e]}class Ct extends q{constructor(t){super(),Y(this,t,Mt,yt,G,{links:0})}}function Fe(s){var p,g,m;let t,n,e,l,a,r,i,o,f,u;return n=new ne({props:{keys:["ID","Title","Updated"],values:[(p=s[0])==null?void 0:p.id,(g=s[0])==null?void 0:g.title,(m=s[0])==null?void 0:m.updated]}}),a=new K({props:{header:"Links",level:"3",open:!0,$$slots:{default:[Ft]},$$scope:{ctx:s}}}),i=new K({props:{header:"Category",level:"3",open:!0,$$slots:{default:[St]},$$scope:{ctx:s}}}),f=new K({props:{header:"Entries",level:"3",open:!0,$$slots:{default:[Tt]},$$scope:{ctx:s}}}),{c(){t=b("div"),M(n.$$.fragment),l=L(),M(a.$$.fragment),r=L(),M(i.$$.fragment),o=L(),M(f.$$.fragment),this.h()},l($){t=k($,"DIV",{id:!0});var y=w(t);C(n.$$.fragment,y),y.forEach(c),l=A($),C(a.$$.fragment,$),r=A($),C(i.$$.fragment,$),o=A($),C(f.$$.fragment,$),this.h()},h(){E(t,"id",e=s[1].href)},m($,y){D($,t,y),F(n,t,null),D($,l,y),F(a,$,y),D($,r,y),F(i,$,y),D($,o,y),F(f,$,y),u=!0},p($,y){var N,z,X;const v={};y&1&&(v.values=[(N=$[0])==null?void 0:N.id,(z=$[0])==null?void 0:z.title,(X=$[0])==null?void 0:X.updated]),n.$set(v),(!u||y&2&&e!==(e=$[1].href))&&E(t,"id",e);const T={};y&9&&(T.$$scope={dirty:y,ctx:$}),a.$set(T);const O={};y&9&&(O.$$scope={dirty:y,ctx:$}),i.$set(O);const P={};y&9&&(P.$$scope={dirty:y,ctx:$}),f.$set(P)},i($){u||(d(n.$$.fragment,$),d(a.$$.fragment,$),d(i.$$.fragment,$),d(f.$$.fragment,$),u=!0)},o($){_(n.$$.fragment,$),_(a.$$.fragment,$),_(i.$$.fragment,$),_(f.$$.fragment,$),u=!1},d($){$&&(c(t),c(l),c(r),c(o)),S(n),S(a,$),S(i,$),S(f,$)}}}function Ft(s){let t,n;return t=new Ct({props:{links:s[0].link}}),{c(){M(t.$$.fragment)},l(e){C(t.$$.fragment,e)},m(e,l){F(t,e,l),n=!0},p(e,l){const a={};l&1&&(a.links=e[0].link),t.$set(a)},i(e){n||(d(t.$$.fragment,e),n=!0)},o(e){_(t.$$.fragment,e),n=!1},d(e){S(t,e)}}}function St(s){let t,n;return t=new nt({props:{categories:s[0].category}}),{c(){M(t.$$.fragment)},l(e){C(t.$$.fragment,e)},m(e,l){F(t,e,l),n=!0},p(e,l){const a={};l&1&&(a.categories=e[0].category),t.$set(a)},i(e){n||(d(t.$$.fragment,e),n=!0)},o(e){_(t.$$.fragment,e),n=!1},d(e){S(t,e)}}}function Tt(s){let t,n;return t=new wt({props:{entries:s[0].entry}}),{c(){M(t.$$.fragment)},l(e){C(t.$$.fragment,e)},m(e,l){F(t,e,l),n=!0},p(e,l){const a={};l&1&&(a.entries=e[0].entry),t.$set(a)},i(e){n||(d(t.$$.fragment,e),n=!0)},o(e){_(t.$$.fragment,e),n=!1},d(e){S(t,e)}}}function Lt(s){let t,n,e=s[0]&&Fe(s);return{c(){e&&e.c(),t=I()},l(l){e&&e.l(l),t=I()},m(l,a){e&&e.m(l,a),D(l,t,a),n=!0},p(l,[a]){l[0]?e?(e.p(l,a),a&1&&d(e,1)):(e=Fe(l),e.c(),d(e,1),e.m(t.parentNode,t)):e&&(W(),_(e,1,1,()=>{e=null}),J())},i(l){n||(d(e),n=!0)},o(l){_(e),n=!1},d(l){l&&c(t),e&&e.d(l)}}}function At(s,t,n){let e,l,a;return x(s,R,r=>n(2,a=r)),s.$$.update=()=>{var r;s.$$.dirty&4&&n(0,e=(r=a.currentFeed)==null?void 0:r.feed),s.$$.dirty&1&&n(1,l=e.link.find(i=>i.rel==="self"))},[e,l,a]}class It extends q{constructor(t){super(),Y(this,t,At,Lt,G,{})}}function Se(s,t,n){const e=s.slice();return e[3]=t[n],e}function Te(s){let t,n=B(s[1]),e=[];for(let l=0;lr.urli.url?1:0),a=r=>{const i=r.target.getAttribute("href");Ge(`${ue}/feed?q=${i}`),r.preventDefault()};return s.$$set=r=>{"distribution"in r&&n(0,e=r.distribution)},[e,l,a]}class Nt extends q{constructor(t){super(),Y(this,t,Ot,Rt,G,{distribution:0})}}function Ae(s,t,n){const e=s.slice();return e[1]=t[n],e[3]=n,e}function Ie(s){let t,n,e=B(s[0].providerMetadata.distributions),l=[];for(let r=0;r_(l[r],1,1,()=>{l[r]=null});return{c(){for(let r=0;r{e=null}),J())},i(l){n||(d(e),n=!0)},o(l){_(e),n=!1},d(l){l&&c(t),e&&e.d(l)}}}function Vt(s,t,n){let e;return x(s,R,l=>n(0,e=l)),[e]}class Gt extends q{constructor(t){super(),Y(this,t,Vt,Ut,G,{})}}function Re(s){let t,n;return t=new ne({props:{keys:["Canonical URL","Last updated","Metadata version","List on CSAF aggregators","Mirror on CSAF aggregators","Publisher category","Publisher name","Publisher namespace","Role"],values:[s[0].providerMetadata.canonical_url,s[0].providerMetadata.last_updated,s[0].providerMetadata.metadata_version,s[0].providerMetadata.list_on_CSAF_aggregators?"✓":"✘",s[0].providerMetadata.mirror_on_CSAF_aggregators?"✓":"✘",s[0].providerMetadata.publisher.category,s[0].providerMetadata.publisher.name,s[0].providerMetadata.publisher.namespace,s[0].providerMetadata.role]}}),{c(){M(t.$$.fragment)},l(e){C(t.$$.fragment,e)},m(e,l){F(t,e,l),n=!0},p(e,l){const a={};l&1&&(a.values=[e[0].providerMetadata.canonical_url,e[0].providerMetadata.last_updated,e[0].providerMetadata.metadata_version,e[0].providerMetadata.list_on_CSAF_aggregators?"✓":"✘",e[0].providerMetadata.mirror_on_CSAF_aggregators?"✓":"✘",e[0].providerMetadata.publisher.category,e[0].providerMetadata.publisher.name,e[0].providerMetadata.publisher.namespace,e[0].providerMetadata.role]),t.$set(a)},i(e){n||(d(t.$$.fragment,e),n=!0)},o(e){_(t.$$.fragment,e),n=!1},d(e){S(t,e)}}}function qt(s){let t,n,e=s[0].providerMetadata&&Re(s);return{c(){e&&e.c(),t=I()},l(l){e&&e.l(l),t=I()},m(l,a){e&&e.m(l,a),D(l,t,a),n=!0},p(l,[a]){l[0].providerMetadata?e?(e.p(l,a),a&1&&d(e,1)):(e=Re(l),e.c(),d(e,1),e.m(t.parentNode,t)):e&&(W(),_(e,1,1,()=>{e=null}),J())},i(l){n||(d(e),n=!0)},o(l){_(e),n=!1},d(l){l&&c(t),e&&e.d(l)}}}function Yt(s,t,n){let e;return x(s,R,l=>n(0,e=l)),[e]}class jt extends q{constructor(t){super(),Y(this,t,Yt,qt,G,{})}}function Oe(s,t,n){const e=s.slice();return e[1]=t[n],e}function Ne(s){let t,n,e,l,a,r;return t=new K({props:{header:"General information",level:"2",open:s[0].ui.isFeedGeneralSectionOpen,$$slots:{default:[Ht]},$$scope:{ctx:s}}}),e=new K({props:{header:"Distributions",level:"2",open:s[0].ui.isFeedDistributionOpen,$$slots:{default:[Kt]},$$scope:{ctx:s}}}),a=new K({props:{header:"Public OpenPGP keys",level:"2",open:s[0].ui.isFeedPublicPGPSectionOpen,$$slots:{default:[zt]},$$scope:{ctx:s}}}),{c(){M(t.$$.fragment),n=L(),M(e.$$.fragment),l=L(),M(a.$$.fragment)},l(i){C(t.$$.fragment,i),n=A(i),C(e.$$.fragment,i),l=A(i),C(a.$$.fragment,i)},m(i,o){F(t,i,o),D(i,n,o),F(e,i,o),D(i,l,o),F(a,i,o),r=!0},p(i,o){const f={};o&1&&(f.open=i[0].ui.isFeedGeneralSectionOpen),o&16&&(f.$$scope={dirty:o,ctx:i}),t.$set(f);const u={};o&1&&(u.open=i[0].ui.isFeedDistributionOpen),o&16&&(u.$$scope={dirty:o,ctx:i}),e.$set(u);const p={};o&1&&(p.open=i[0].ui.isFeedPublicPGPSectionOpen),o&17&&(p.$$scope={dirty:o,ctx:i}),a.$set(p)},i(i){r||(d(t.$$.fragment,i),d(e.$$.fragment,i),d(a.$$.fragment,i),r=!0)},o(i){_(t.$$.fragment,i),_(e.$$.fragment,i),_(a.$$.fragment,i),r=!1},d(i){i&&(c(n),c(l)),S(t,i),S(e,i),S(a,i)}}}function Ht(s){let t,n;return t=new jt({}),{c(){M(t.$$.fragment)},l(e){C(t.$$.fragment,e)},m(e,l){F(t,e,l),n=!0},i(e){n||(d(t.$$.fragment,e),n=!0)},o(e){_(t.$$.fragment,e),n=!1},d(e){S(t,e)}}}function Kt(s){let t,n;return t=new Gt({}),{c(){M(t.$$.fragment)},l(e){C(t.$$.fragment,e)},m(e,l){F(t,e,l),n=!0},i(e){n||(d(t.$$.fragment,e),n=!0)},o(e){_(t.$$.fragment,e),n=!1},d(e){S(t,e)}}}function Be(s){let t,n,e,l,a="fingerprint",r,i=s[1].fingerprint+"",o,f,u,p,g="url",m,$,y=s[1].url+"",v,T,O;return{c(){t=b("table"),n=b("tbody"),e=b("tr"),l=b("td"),l.textContent=a,r=b("td"),o=U(i),f=L(),u=b("tr"),p=b("td"),p.textContent=g,m=b("td"),$=b("a"),v=U(y),O=L(),this.h()},l(P){t=k(P,"TABLE",{class:!0});var N=w(t);n=k(N,"TBODY",{});var z=w(n);e=k(z,"TR",{});var X=w(e);l=k(X,"TD",{class:!0,"data-svelte-h":!0}),se(l)!=="svelte-1hoc7na"&&(l.textContent=a),r=k(X,"TD",{class:!0});var j=w(r);o=V(j,i),j.forEach(c),X.forEach(c),f=A(z),u=k(z,"TR",{});var H=w(u);p=k(H,"TD",{class:!0,"data-svelte-h":!0}),se(p)!=="svelte-jrihh5"&&(p.textContent=g),m=k(H,"TD",{class:!0});var Q=w(m);$=k(Q,"A",{href:!0});var ae=w($);v=V(ae,y),ae.forEach(c),Q.forEach(c),H.forEach(c),z.forEach(c),O=A(N),N.forEach(c),this.h()},h(){E(l,"class","key"),E(r,"class","value"),E(p,"class","key"),E($,"href",T=s[1].url),E(m,"class","value"),E(t,"class","keyvalue")},m(P,N){D(P,t,N),h(t,n),h(n,e),h(e,l),h(e,r),h(r,o),h(n,f),h(n,u),h(u,p),h(u,m),h(m,$),h($,v),h(t,O)},p(P,N){N&1&&i!==(i=P[1].fingerprint+"")&&Z(o,i),N&1&&y!==(y=P[1].url+"")&&Z(v,y),N&1&&T!==(T=P[1].url)&&E($,"href",T)},d(P){P&&c(t)}}}function zt(s){let t,n=B(s[0].providerMetadata.public_openpgp_keys),e=[];for(let l=0;l{e=null}),J())},i(l){n||(d(e),n=!0)},o(l){_(e),n=!1},d(l){l&&c(t),e&&e.d(l)}}}function Jt(s,t,n){let e;return x(s,R,l=>n(0,e=l)),[e]}class Qt extends q{constructor(t){super(),Y(this,t,Jt,Wt,G,{})}}function Ue(s){var e;let t,n;return t=new K({props:{header:(e=s[0].currentFeed)==null?void 0:e.feed.title,open:s[0].ui.isFeedSectionOpen,onClose:s[1],$$slots:{default:[Xt]},$$scope:{ctx:s}}}),{c(){M(t.$$.fragment)},l(l){C(t.$$.fragment,l)},m(l,a){F(t,l,a),n=!0},p(l,a){var i;const r={};a&1&&(r.header=(i=l[0].currentFeed)==null?void 0:i.feed.title),a&1&&(r.open=l[0].ui.isFeedSectionOpen),a&4&&(r.$$scope={dirty:a,ctx:l}),t.$set(r)},i(l){n||(d(t.$$.fragment,l),n=!0)},o(l){_(t.$$.fragment,l),n=!1},d(l){S(t,l)}}}function Xt(s){let t,n;return t=new It({}),{c(){M(t.$$.fragment)},l(e){C(t.$$.fragment,e)},m(e,l){F(t,e,l),n=!0},i(e){n||(d(t.$$.fragment,e),n=!0)},o(e){_(t.$$.fragment,e),n=!1},d(e){S(t,e)}}}function Ve(s){let t,n;return t=new et({}),{c(){M(t.$$.fragment)},l(e){C(t.$$.fragment,e)},m(e,l){F(t,e,l),n=!0},i(e){n||(d(t.$$.fragment,e),n=!0)},o(e){_(t.$$.fragment,e),n=!1},d(e){S(t,e)}}}function Zt(s){let t,n,e,l,a,r,i;t=new xe({props:{baseroute:`${ue}/feed?q=`,tooltiptext:"URL to fetch provider metadata or ROLIE-feed",placeholder:"ROLIE feed or provider metadata URL",errormessage:s[0].ui.feedErrorMsg}}),e=new Qt({});let o=s[0].currentFeed&&Ue(s),f=s[0].ui.history.length>0&&Ve();return{c(){M(t.$$.fragment),n=L(),M(e.$$.fragment),l=L(),o&&o.c(),a=L(),f&&f.c(),r=I()},l(u){C(t.$$.fragment,u),n=A(u),C(e.$$.fragment,u),l=A(u),o&&o.l(u),a=A(u),f&&f.l(u),r=I()},m(u,p){F(t,u,p),D(u,n,p),F(e,u,p),D(u,l,p),o&&o.m(u,p),D(u,a,p),f&&f.m(u,p),D(u,r,p),i=!0},p(u,[p]){const g={};p&1&&(g.errormessage=u[0].ui.feedErrorMsg),t.$set(g),u[0].currentFeed?o?(o.p(u,p),p&1&&d(o,1)):(o=Ue(u),o.c(),d(o,1),o.m(a.parentNode,a)):o&&(W(),_(o,1,1,()=>{o=null}),J()),u[0].ui.history.length>0?f?p&1&&d(f,1):(f=Ve(),f.c(),d(f,1),f.m(r.parentNode,r)):f&&(W(),_(f,1,1,()=>{f=null}),J())},i(u){i||(d(t.$$.fragment,u),d(e.$$.fragment,u),d(o),d(f),i=!0)},o(u){_(t.$$.fragment,u),_(e.$$.fragment,u),_(o),_(f),i=!1},d(u){u&&(c(n),c(l),c(a),c(r)),S(t,u),S(e,u),o&&o.d(u),f&&f.d(u)}}}function xt(s,t,n){let e;return x(s,R,a=>n(0,e=a)),[e,()=>{R.setFeedSectionClosed()}]}class el extends q{constructor(t){super(),Y(this,t,xt,Zt,G,{})}}function tl(s){let t,n,e,l,a;return n=new el({}),l=new tt({props:{modal:!1,active:s[0].ui.loading}}),{c(){t=b("div"),M(n.$$.fragment),e=L(),M(l.$$.fragment),this.h()},l(r){t=k(r,"DIV",{class:!0});var i=w(t);C(n.$$.fragment,i),i.forEach(c),e=A(r),C(l.$$.fragment,r),this.h()},h(){E(t,"class","appbody")},m(r,i){D(r,t,i),F(n,t,null),D(r,e,i),F(l,r,i),a=!0},p(r,[i]){const o={};i&1&&(o.active=r[0].ui.loading),l.$set(o)},i(r){a||(d(n.$$.fragment,r),d(l.$$.fragment,r),a=!0)},o(r){_(n.$$.fragment,r),_(l.$$.fragment,r),a=!1},d(r){r&&(c(t),c(e)),S(n),S(l,r)}}}function ll(s,t,n){let e,l;return x(s,qe,a=>n(1,e=a)),x(s,R,a=>n(0,l=a)),R.setFeedMode(),Qe(()=>{R.clearHistory();const a=e.url.searchParams.get("q")||"",r=e.url.searchParams.get("doc")||"";r&&R.setLastDoc(`${r}`),a?(R.setLastFeed(`${a}`),_e(a)):(R.setCurrentFeed(null),R.setProviderMetadata(null)),R.setFeedMode()}),s.$$.update=()=>{if(s.$$.dirty&2){const a=e.url.searchParams.get("q")||"",r=e.url.searchParams.get("doc")||"";r&&R.setLastDoc(`${r}`),a?(R.setLastFeed(`${a}`),_e(a)):(R.setCurrentFeed(null),R.setProviderMetadata(null))}},[l,e]}class fl extends q{constructor(t){super(),Y(this,t,ll,tl,G,{})}}export{fl as component}; +import{s as G,e as x,r as Ye,c as je,u as He,g as Ke,d as ze,t as We,f as Je,n as re,o as Qe}from"../chunks/scheduler.cc1c0861.js";import{S as q,i as Y,e as I,a as D,d,p as W,b as J,t as _,f as c,C as ee,r as M,u as C,v as F,w as S,g as b,s as L,h as k,j as w,c as A,A as te,y as h,m as U,n as V,k as E,l as Xe,z as ie,o as Z,x as se}from"../chunks/index.7a644faf.js";import{a as R}from"../chunks/store.22ca258b.js";import{e as B,K as ne,g as Ge,C as K,l as Ze,U as xe,B as et,a as tt,b as _e}from"../chunks/Spinner.f025728e.js";import{p as qe}from"../chunks/stores.bde7595e.js";import{b as ue}from"../chunks/paths.0faff454.js";function he(s,t,n){const e=s.slice();return e[1]=t[n],e}function me(s){let t,n;return t=new ne({props:{keys:["scheme","term"],values:[s[1].scheme,s[1].term]}}),{c(){M(t.$$.fragment)},l(e){C(t.$$.fragment,e)},m(e,l){F(t,e,l),n=!0},p(e,l){const a={};l&1&&(a.values=[e[1].scheme,e[1].term]),t.$set(a)},i(e){n||(d(t.$$.fragment,e),n=!0)},o(e){_(t.$$.fragment,e),n=!1},d(e){S(t,e)}}}function lt(s){let t,n,e=B(s[0]),l=[];for(let r=0;r_(l[r],1,1,()=>{l[r]=null});return{c(){for(let r=0;r{"categories"in l&&n(0,e=l.categories)},[e]}class nt extends q{constructor(t){super(),Y(this,t,rt,lt,G,{categories:0})}}function ge(s){let t,n,e,l,a,r,i=s[2].id+"",o,f,u=s[2].title+"",p,g,m,$,y;return{c(){t=b("div"),n=b("h5"),e=b("i"),a=L(),r=b("a"),o=U(i),f=U(": "),p=U(u),this.h()},l(v){t=k(v,"DIV",{title:!0,style:!0,id:!0,class:!0});var T=w(t);n=k(T,"H5",{class:!0});var O=w(n);e=k(O,"I",{class:!0}),w(e).forEach(c),a=A(O),r=k(O,"A",{href:!0});var P=w(r);o=V(P,i),f=V(P,": "),p=V(P,u),P.forEach(c),O.forEach(c),T.forEach(c),this.h()},h(){E(e,"class",l="bx "+s[5]),E(r,"href",s[3]),E(n,"class","url-collapsible-titletext"),E(t,"title",g=s[2].title),Xe(t,"cursor","pointer"),E(t,"id",m=s[2].id),E(t,"class","url-collapsible-title")},m(v,T){D(v,t,T),h(t,n),h(n,e),h(n,a),h(n,r),h(r,o),h(r,f),h(r,p),$||(y=[ie(r,"click",s[6]),ie(t,"click",s[7])],$=!0)},p(v,T){T&32&&l!==(l="bx "+v[5])&&E(e,"class",l),T&4&&i!==(i=v[2].id+"")&&Z(o,i),T&4&&u!==(u=v[2].title+"")&&Z(p,u),T&8&&E(r,"href",v[3]),T&4&&g!==(g=v[2].title)&&E(t,"title",g),T&4&&m!==(m=v[2].id)&&E(t,"id",m)},d(v){v&&c(t),$=!1,Ye(y)}}}function ve(s){let t,n;const e=s[11].default,l=je(e,s,s[10],null);return{c(){t=b("div"),l&&l.c(),this.h()},l(a){t=k(a,"DIV",{class:!0});var r=w(t);l&&l.l(r),r.forEach(c),this.h()},h(){E(t,"class","collapsible-body")},m(a,r){D(a,t,r),l&&l.m(t,null),n=!0},p(a,r){l&&l.p&&(!n||r&1024)&&He(l,e,a,a[10],n?ze(e,a[10],r,null):Ke(a[10]),null)},i(a){n||(d(l,a),n=!0)},o(a){_(l,a),n=!1},d(a){a&&c(t),l&&l.d(a)}}}function at(s){let t,n,e,l=s[0]=="4"&&ge(s),a=s[4]==="block"&&ve(s);return{c(){t=b("div"),l&&l.c(),n=L(),a&&a.c(),this.h()},l(r){t=k(r,"DIV",{});var i=w(t);l&&l.l(i),n=A(i),a&&a.l(i),i.forEach(c),this.h()},h(){te(t,"collapsible",!0),te(t,"highlight-section",s[1])},m(r,i){D(r,t,i),l&&l.m(t,null),h(t,n),a&&a.m(t,null),e=!0},p(r,[i]){r[0]=="4"?l?l.p(r,i):(l=ge(r),l.c(),l.m(t,n)):l&&(l.d(1),l=null),r[4]==="block"?a?(a.p(r,i),i&16&&d(a,1)):(a=ve(r),a.c(),d(a,1),a.m(t,null)):a&&(W(),_(a,1,1,()=>{a=null}),J()),(!e||i&2)&&te(t,"highlight-section",r[1])},i(r){e||(d(a),e=!0)},o(r){_(a),e=!1},d(r){r&&c(t),l&&l.d(),a&&a.d()}}}function st(s,t,n){let e;x(s,qe,v=>n(12,e=v));let{$$slots:l={},$$scope:a}=t,{open:r=!1}=t,{level:i="2"}=t,{highlight:o=!1}=t,{entry:f}=t,{lookupID:u}=t,{onClose:p=()=>{}}=t,g="none",m="bx-chevron-down";const $=v=>{let T=v.target.getAttribute("href");const O=e.url.searchParams.get("q")||"";Ge(`${ue}/?q=${T}&feed=${O}`),v.preventDefault()},y=()=>{g==="block"?(p(),n(4,g="none")):n(4,g="block")};return s.$$set=v=>{"open"in v&&n(8,r=v.open),"level"in v&&n(0,i=v.level),"highlight"in v&&n(1,o=v.highlight),"entry"in v&&n(2,f=v.entry),"lookupID"in v&&n(3,u=v.lookupID),"onClose"in v&&n(9,p=v.onClose),"$$scope"in v&&n(10,a=v.$$scope)},s.$$.update=()=>{s.$$.dirty&256&&r&&n(4,g="block"),s.$$.dirty&16&&(g==="block"?n(5,m="bx-chevron-down"):n(5,m="bx-chevron-right"))},[i,o,f,u,g,m,$,y,r,p,a,l]}class it extends q{constructor(t){super(),Y(this,t,st,at,G,{open:8,level:0,highlight:1,entry:2,lookupID:3,onClose:9})}}function be(s,t,n){const e=s.slice();return e[3]=t[n],e}function ot(s){let t,n;return t=new ne({props:{keys:["Type","Src"],values:[s[0].content.type,s[0].content.src]}}),{c(){M(t.$$.fragment)},l(e){C(t.$$.fragment,e)},m(e,l){F(t,e,l),n=!0},p(e,l){const a={};l&1&&(a.values=[e[0].content.type,e[0].content.src]),t.$set(a)},i(e){n||(d(t.$$.fragment,e),n=!0)},o(e){_(t.$$.fragment,e),n=!1},d(e){S(t,e)}}}function ft(s){let t,n;return t=new ne({props:{keys:["Schema","Version"],values:[s[0].format.schema,s[0].format.version]}}),{c(){M(t.$$.fragment)},l(e){C(t.$$.fragment,e)},m(e,l){F(t,e,l),n=!0},p(e,l){const a={};l&1&&(a.values=[e[0].format.schema,e[0].format.version]),t.$set(a)},i(e){n||(d(t.$$.fragment,e),n=!0)},o(e){_(t.$$.fragment,e),n=!1},d(e){S(t,e)}}}function ut(s){let t,n=s[3].href+"",e,l;return{c(){t=b("a"),e=U(n),this.h()},l(a){t=k(a,"A",{target:!0,href:!0});var r=w(t);e=V(r,n),r.forEach(c),this.h()},h(){E(t,"target","_blank"),E(t,"href",l=s[3].href)},m(a,r){D(a,t,r),h(t,e)},p(a,r){r&1&&n!==(n=a[3].href+"")&&Z(e,n),r&1&&l!==(l=a[3].href)&&E(t,"href",l)},d(a){a&&c(t)}}}function ct(s){let t,n=s[3].href+"",e,l,a,r;return{c(){t=b("a"),e=U(n),this.h()},l(i){t=k(i,"A",{href:!0});var o=w(t);e=V(o,n),o.forEach(c),this.h()},h(){E(t,"href",l=s[3].href)},m(i,o){D(i,t,o),h(t,e),a||(r=ie(t,"click",s[1]),a=!0)},p(i,o){o&1&&n!==(n=i[3].href+"")&&Z(e,n),o&1&&l!==(l=i[3].href)&&E(t,"href",l)},d(i){i&&c(t),a=!1,r()}}}function ke(s){let t,n,e=s[3].rel+"",l,a,r,i,o;function f(g,m){return g[3].rel==="self"?ct:ut}let u=f(s),p=u(s);return{c(){t=b("tr"),n=b("td"),l=U(e),a=U(":"),r=L(),i=b("td"),p.c(),o=L(),this.h()},l(g){t=k(g,"TR",{});var m=w(t);n=k(m,"TD",{class:!0});var $=w(n);l=V($,e),a=V($,":"),$.forEach(c),r=A(m),i=k(m,"TD",{});var y=w(i);p.l(y),y.forEach(c),o=A(m),m.forEach(c),this.h()},h(){E(n,"class","key")},m(g,m){D(g,t,m),h(t,n),h(n,l),h(n,a),h(t,r),h(t,i),p.m(i,null),h(t,o)},p(g,m){m&1&&e!==(e=g[3].rel+"")&&Z(l,e),u===(u=f(g))&&p?p.p(g,m):(p.d(1),p=u(g),p&&(p.c(),p.m(i,null)))},d(g){g&&c(t),p.d()}}}function $t(s){let t,n=B(s[0].link),e=[];for(let l=0;l{let i=r.target.getAttribute("href");l(),Ze(i),r.preventDefault()};return s.$$set=r=>{"entry"in r&&n(0,e=r.entry)},[e,a]}class _t extends q{constructor(t){super(),Y(this,t,pt,dt,G,{entry:0})}}function Ee(s,t,n){const e=s.slice();return e[4]=t[n],e}function ht(s){let t,n,e;return t=new _t({props:{entry:s[4]}}),{c(){M(t.$$.fragment),n=L()},l(l){C(t.$$.fragment,l),n=A(l)},m(l,a){F(t,l,a),D(l,n,a),e=!0},p(l,a){const r={};a&1&&(r.entry=l[4]),t.$set(r)},i(l){e||(d(t.$$.fragment,l),e=!0)},o(l){_(t.$$.fragment,l),e=!1},d(l){l&&c(n),S(t,l)}}}function De(s){let t,n;return t=new it({props:{entry:s[4],lookupID:s[2][s[4].id],level:"4",$$slots:{default:[ht]},$$scope:{ctx:s}}}),{c(){M(t.$$.fragment)},l(e){C(t.$$.fragment,e)},m(e,l){F(t,e,l),n=!0},p(e,l){const a={};l&1&&(a.entry=e[4]),l&1&&(a.lookupID=e[2][e[4].id]),l&129&&(a.$$scope={dirty:l,ctx:e}),t.$set(a)},i(e){n||(d(t.$$.fragment,e),n=!0)},o(e){_(t.$$.fragment,e),n=!1},d(e){S(t,e)}}}function mt(s){let t,n,e,l,a=B(s[0]),r=[];for(let o=0;o_(r[o],1,1,()=>{r[o]=null});return{c(){t=b("section");for(let o=0;o{};function bt(s,t,n){let{entries:e=[]}=t,{year:l}=t;e.sort((i,o)=>i.updatedo.updated?-1:0);const a=e.reduce((i,o)=>{const f=o.link.find(u=>u.rel==="self");return i[o.id]=f.href,i},{}),r=i=>{};return s.$$set=i=>{"entries"in i&&n(0,e=i.entries),"year"in i&&n(1,l=i.year)},[e,l,a,r]}class kt extends q{constructor(t){super(),Y(this,t,bt,gt,G,{entries:0,year:1})}}function we(s,t,n){const e=s.slice();return e[3]=t[n],e}function ye(s){let t,n;return t=new kt({props:{year:s[3],entries:s[0][s[3]]}}),{c(){M(t.$$.fragment)},l(e){C(t.$$.fragment,e)},m(e,l){F(t,e,l),n=!0},p:re,i(e){n||(d(t.$$.fragment,e),n=!0)},o(e){_(t.$$.fragment,e),n=!1},d(e){S(t,e)}}}function Et(s){let t,n,e=B(s[1]),l=[];for(let r=0;r_(l[r],1,1,()=>{l[r]=null});return{c(){for(let r=0;r{const o=new Date(i.published);return r[o.getFullYear()]||(r[o.getFullYear()]=[]),r[o.getFullYear()].push(i),r},{}),a=Object.keys(l).sort((r,i)=>ri?-1:0);return s.$$set=r=>{"entries"in r&&n(2,e=r.entries)},[l,a,e]}class wt extends q{constructor(t){super(),Y(this,t,Dt,Et,G,{entries:2})}}function Me(s,t,n){const e=s.slice();return e[1]=t[n],e}function Ce(s){let t,n,e=s[1].rel+"",l,a,r,i,o=s[1].href+"",f,u,p;return{c(){t=b("tr"),n=b("td"),l=U(e),a=U(": "),r=b("td"),i=b("a"),f=U(o),p=L(),this.h()},l(g){t=k(g,"TR",{});var m=w(t);n=k(m,"TD",{class:!0});var $=w(n);l=V($,e),a=V($,": "),$.forEach(c),r=k(m,"TD",{});var y=w(r);i=k(y,"A",{id:!0,target:!0,href:!0});var v=w(i);f=V(v,o),v.forEach(c),y.forEach(c),p=A(m),m.forEach(c),this.h()},h(){E(n,"class","key"),E(i,"id",crypto.randomUUID()),E(i,"target","_blank"),E(i,"href",u=s[1].href)},m(g,m){D(g,t,m),h(t,n),h(n,l),h(n,a),h(t,r),h(r,i),h(i,f),h(t,p)},p(g,m){m&1&&e!==(e=g[1].rel+"")&&Z(l,e),m&1&&o!==(o=g[1].href+"")&&Z(f,o),m&1&&u!==(u=g[1].href)&&E(i,"href",u)},d(g){g&&c(t)}}}function yt(s){let t,n=B(s[0]),e=[];for(let l=0;l{"links"in l&&n(0,e=l.links)},[e]}class Ct extends q{constructor(t){super(),Y(this,t,Mt,yt,G,{links:0})}}function Fe(s){var p,g,m;let t,n,e,l,a,r,i,o,f,u;return n=new ne({props:{keys:["ID","Title","Updated"],values:[(p=s[0])==null?void 0:p.id,(g=s[0])==null?void 0:g.title,(m=s[0])==null?void 0:m.updated]}}),a=new K({props:{header:"Links",level:"3",open:!0,$$slots:{default:[Ft]},$$scope:{ctx:s}}}),i=new K({props:{header:"Category",level:"3",open:!0,$$slots:{default:[St]},$$scope:{ctx:s}}}),f=new K({props:{header:"Entries",level:"3",open:!0,$$slots:{default:[Tt]},$$scope:{ctx:s}}}),{c(){t=b("div"),M(n.$$.fragment),l=L(),M(a.$$.fragment),r=L(),M(i.$$.fragment),o=L(),M(f.$$.fragment),this.h()},l($){t=k($,"DIV",{id:!0});var y=w(t);C(n.$$.fragment,y),y.forEach(c),l=A($),C(a.$$.fragment,$),r=A($),C(i.$$.fragment,$),o=A($),C(f.$$.fragment,$),this.h()},h(){E(t,"id",e=s[1].href)},m($,y){D($,t,y),F(n,t,null),D($,l,y),F(a,$,y),D($,r,y),F(i,$,y),D($,o,y),F(f,$,y),u=!0},p($,y){var N,z,X;const v={};y&1&&(v.values=[(N=$[0])==null?void 0:N.id,(z=$[0])==null?void 0:z.title,(X=$[0])==null?void 0:X.updated]),n.$set(v),(!u||y&2&&e!==(e=$[1].href))&&E(t,"id",e);const T={};y&9&&(T.$$scope={dirty:y,ctx:$}),a.$set(T);const O={};y&9&&(O.$$scope={dirty:y,ctx:$}),i.$set(O);const P={};y&9&&(P.$$scope={dirty:y,ctx:$}),f.$set(P)},i($){u||(d(n.$$.fragment,$),d(a.$$.fragment,$),d(i.$$.fragment,$),d(f.$$.fragment,$),u=!0)},o($){_(n.$$.fragment,$),_(a.$$.fragment,$),_(i.$$.fragment,$),_(f.$$.fragment,$),u=!1},d($){$&&(c(t),c(l),c(r),c(o)),S(n),S(a,$),S(i,$),S(f,$)}}}function Ft(s){let t,n;return t=new Ct({props:{links:s[0].link}}),{c(){M(t.$$.fragment)},l(e){C(t.$$.fragment,e)},m(e,l){F(t,e,l),n=!0},p(e,l){const a={};l&1&&(a.links=e[0].link),t.$set(a)},i(e){n||(d(t.$$.fragment,e),n=!0)},o(e){_(t.$$.fragment,e),n=!1},d(e){S(t,e)}}}function St(s){let t,n;return t=new nt({props:{categories:s[0].category}}),{c(){M(t.$$.fragment)},l(e){C(t.$$.fragment,e)},m(e,l){F(t,e,l),n=!0},p(e,l){const a={};l&1&&(a.categories=e[0].category),t.$set(a)},i(e){n||(d(t.$$.fragment,e),n=!0)},o(e){_(t.$$.fragment,e),n=!1},d(e){S(t,e)}}}function Tt(s){let t,n;return t=new wt({props:{entries:s[0].entry}}),{c(){M(t.$$.fragment)},l(e){C(t.$$.fragment,e)},m(e,l){F(t,e,l),n=!0},p(e,l){const a={};l&1&&(a.entries=e[0].entry),t.$set(a)},i(e){n||(d(t.$$.fragment,e),n=!0)},o(e){_(t.$$.fragment,e),n=!1},d(e){S(t,e)}}}function Lt(s){let t,n,e=s[0]&&Fe(s);return{c(){e&&e.c(),t=I()},l(l){e&&e.l(l),t=I()},m(l,a){e&&e.m(l,a),D(l,t,a),n=!0},p(l,[a]){l[0]?e?(e.p(l,a),a&1&&d(e,1)):(e=Fe(l),e.c(),d(e,1),e.m(t.parentNode,t)):e&&(W(),_(e,1,1,()=>{e=null}),J())},i(l){n||(d(e),n=!0)},o(l){_(e),n=!1},d(l){l&&c(t),e&&e.d(l)}}}function At(s,t,n){let e,l,a;return x(s,R,r=>n(2,a=r)),s.$$.update=()=>{var r;s.$$.dirty&4&&n(0,e=(r=a.currentFeed)==null?void 0:r.feed),s.$$.dirty&1&&n(1,l=e.link.find(i=>i.rel==="self"))},[e,l,a]}class It extends q{constructor(t){super(),Y(this,t,At,Lt,G,{})}}function Se(s,t,n){const e=s.slice();return e[3]=t[n],e}function Te(s){let t,n=B(s[1]),e=[];for(let l=0;lr.urli.url?1:0),a=r=>{const i=r.target.getAttribute("href");Ge(`${ue}/feed?q=${i}`),r.preventDefault()};return s.$$set=r=>{"distribution"in r&&n(0,e=r.distribution)},[e,l,a]}class Nt extends q{constructor(t){super(),Y(this,t,Ot,Rt,G,{distribution:0})}}function Ae(s,t,n){const e=s.slice();return e[1]=t[n],e[3]=n,e}function Ie(s){let t,n,e=B(s[0].providerMetadata.distributions),l=[];for(let r=0;r_(l[r],1,1,()=>{l[r]=null});return{c(){for(let r=0;r{e=null}),J())},i(l){n||(d(e),n=!0)},o(l){_(e),n=!1},d(l){l&&c(t),e&&e.d(l)}}}function Vt(s,t,n){let e;return x(s,R,l=>n(0,e=l)),[e]}class Gt extends q{constructor(t){super(),Y(this,t,Vt,Ut,G,{})}}function Re(s){let t,n;return t=new ne({props:{keys:["Canonical URL","Last updated","Metadata version","List on CSAF aggregators","Mirror on CSAF aggregators","Publisher category","Publisher name","Publisher namespace","Role"],values:[s[0].providerMetadata.canonical_url,s[0].providerMetadata.last_updated,s[0].providerMetadata.metadata_version,s[0].providerMetadata.list_on_CSAF_aggregators?"✓":"✘",s[0].providerMetadata.mirror_on_CSAF_aggregators?"✓":"✘",s[0].providerMetadata.publisher.category,s[0].providerMetadata.publisher.name,s[0].providerMetadata.publisher.namespace,s[0].providerMetadata.role]}}),{c(){M(t.$$.fragment)},l(e){C(t.$$.fragment,e)},m(e,l){F(t,e,l),n=!0},p(e,l){const a={};l&1&&(a.values=[e[0].providerMetadata.canonical_url,e[0].providerMetadata.last_updated,e[0].providerMetadata.metadata_version,e[0].providerMetadata.list_on_CSAF_aggregators?"✓":"✘",e[0].providerMetadata.mirror_on_CSAF_aggregators?"✓":"✘",e[0].providerMetadata.publisher.category,e[0].providerMetadata.publisher.name,e[0].providerMetadata.publisher.namespace,e[0].providerMetadata.role]),t.$set(a)},i(e){n||(d(t.$$.fragment,e),n=!0)},o(e){_(t.$$.fragment,e),n=!1},d(e){S(t,e)}}}function qt(s){let t,n,e=s[0].providerMetadata&&Re(s);return{c(){e&&e.c(),t=I()},l(l){e&&e.l(l),t=I()},m(l,a){e&&e.m(l,a),D(l,t,a),n=!0},p(l,[a]){l[0].providerMetadata?e?(e.p(l,a),a&1&&d(e,1)):(e=Re(l),e.c(),d(e,1),e.m(t.parentNode,t)):e&&(W(),_(e,1,1,()=>{e=null}),J())},i(l){n||(d(e),n=!0)},o(l){_(e),n=!1},d(l){l&&c(t),e&&e.d(l)}}}function Yt(s,t,n){let e;return x(s,R,l=>n(0,e=l)),[e]}class jt extends q{constructor(t){super(),Y(this,t,Yt,qt,G,{})}}function Oe(s,t,n){const e=s.slice();return e[1]=t[n],e}function Ne(s){let t,n,e,l,a,r;return t=new K({props:{header:"General information",level:"2",open:s[0].ui.isFeedGeneralSectionOpen,$$slots:{default:[Ht]},$$scope:{ctx:s}}}),e=new K({props:{header:"Distributions",level:"2",open:s[0].ui.isFeedDistributionOpen,$$slots:{default:[Kt]},$$scope:{ctx:s}}}),a=new K({props:{header:"Public OpenPGP keys",level:"2",open:s[0].ui.isFeedPublicPGPSectionOpen,$$slots:{default:[zt]},$$scope:{ctx:s}}}),{c(){M(t.$$.fragment),n=L(),M(e.$$.fragment),l=L(),M(a.$$.fragment)},l(i){C(t.$$.fragment,i),n=A(i),C(e.$$.fragment,i),l=A(i),C(a.$$.fragment,i)},m(i,o){F(t,i,o),D(i,n,o),F(e,i,o),D(i,l,o),F(a,i,o),r=!0},p(i,o){const f={};o&1&&(f.open=i[0].ui.isFeedGeneralSectionOpen),o&16&&(f.$$scope={dirty:o,ctx:i}),t.$set(f);const u={};o&1&&(u.open=i[0].ui.isFeedDistributionOpen),o&16&&(u.$$scope={dirty:o,ctx:i}),e.$set(u);const p={};o&1&&(p.open=i[0].ui.isFeedPublicPGPSectionOpen),o&17&&(p.$$scope={dirty:o,ctx:i}),a.$set(p)},i(i){r||(d(t.$$.fragment,i),d(e.$$.fragment,i),d(a.$$.fragment,i),r=!0)},o(i){_(t.$$.fragment,i),_(e.$$.fragment,i),_(a.$$.fragment,i),r=!1},d(i){i&&(c(n),c(l)),S(t,i),S(e,i),S(a,i)}}}function Ht(s){let t,n;return t=new jt({}),{c(){M(t.$$.fragment)},l(e){C(t.$$.fragment,e)},m(e,l){F(t,e,l),n=!0},i(e){n||(d(t.$$.fragment,e),n=!0)},o(e){_(t.$$.fragment,e),n=!1},d(e){S(t,e)}}}function Kt(s){let t,n;return t=new Gt({}),{c(){M(t.$$.fragment)},l(e){C(t.$$.fragment,e)},m(e,l){F(t,e,l),n=!0},i(e){n||(d(t.$$.fragment,e),n=!0)},o(e){_(t.$$.fragment,e),n=!1},d(e){S(t,e)}}}function Be(s){let t,n,e,l,a="fingerprint",r,i=s[1].fingerprint+"",o,f,u,p,g="url",m,$,y=s[1].url+"",v,T,O;return{c(){t=b("table"),n=b("tbody"),e=b("tr"),l=b("td"),l.textContent=a,r=b("td"),o=U(i),f=L(),u=b("tr"),p=b("td"),p.textContent=g,m=b("td"),$=b("a"),v=U(y),O=L(),this.h()},l(P){t=k(P,"TABLE",{class:!0});var N=w(t);n=k(N,"TBODY",{});var z=w(n);e=k(z,"TR",{});var X=w(e);l=k(X,"TD",{class:!0,"data-svelte-h":!0}),se(l)!=="svelte-1hoc7na"&&(l.textContent=a),r=k(X,"TD",{class:!0});var j=w(r);o=V(j,i),j.forEach(c),X.forEach(c),f=A(z),u=k(z,"TR",{});var H=w(u);p=k(H,"TD",{class:!0,"data-svelte-h":!0}),se(p)!=="svelte-jrihh5"&&(p.textContent=g),m=k(H,"TD",{class:!0});var Q=w(m);$=k(Q,"A",{href:!0});var ae=w($);v=V(ae,y),ae.forEach(c),Q.forEach(c),H.forEach(c),z.forEach(c),O=A(N),N.forEach(c),this.h()},h(){E(l,"class","key"),E(r,"class","value"),E(p,"class","key"),E($,"href",T=s[1].url),E(m,"class","value"),E(t,"class","keyvalue")},m(P,N){D(P,t,N),h(t,n),h(n,e),h(e,l),h(e,r),h(r,o),h(n,f),h(n,u),h(u,p),h(u,m),h(m,$),h($,v),h(t,O)},p(P,N){N&1&&i!==(i=P[1].fingerprint+"")&&Z(o,i),N&1&&y!==(y=P[1].url+"")&&Z(v,y),N&1&&T!==(T=P[1].url)&&E($,"href",T)},d(P){P&&c(t)}}}function zt(s){let t,n=B(s[0].providerMetadata.public_openpgp_keys),e=[];for(let l=0;l{e=null}),J())},i(l){n||(d(e),n=!0)},o(l){_(e),n=!1},d(l){l&&c(t),e&&e.d(l)}}}function Jt(s,t,n){let e;return x(s,R,l=>n(0,e=l)),[e]}class Qt extends q{constructor(t){super(),Y(this,t,Jt,Wt,G,{})}}function Ue(s){var e;let t,n;return t=new K({props:{header:(e=s[0].currentFeed)==null?void 0:e.feed.title,open:s[0].ui.isFeedSectionOpen,onClose:s[1],$$slots:{default:[Xt]},$$scope:{ctx:s}}}),{c(){M(t.$$.fragment)},l(l){C(t.$$.fragment,l)},m(l,a){F(t,l,a),n=!0},p(l,a){var i;const r={};a&1&&(r.header=(i=l[0].currentFeed)==null?void 0:i.feed.title),a&1&&(r.open=l[0].ui.isFeedSectionOpen),a&4&&(r.$$scope={dirty:a,ctx:l}),t.$set(r)},i(l){n||(d(t.$$.fragment,l),n=!0)},o(l){_(t.$$.fragment,l),n=!1},d(l){S(t,l)}}}function Xt(s){let t,n;return t=new It({}),{c(){M(t.$$.fragment)},l(e){C(t.$$.fragment,e)},m(e,l){F(t,e,l),n=!0},i(e){n||(d(t.$$.fragment,e),n=!0)},o(e){_(t.$$.fragment,e),n=!1},d(e){S(t,e)}}}function Ve(s){let t,n;return t=new et({}),{c(){M(t.$$.fragment)},l(e){C(t.$$.fragment,e)},m(e,l){F(t,e,l),n=!0},i(e){n||(d(t.$$.fragment,e),n=!0)},o(e){_(t.$$.fragment,e),n=!1},d(e){S(t,e)}}}function Zt(s){let t,n,e,l,a,r,i;t=new xe({props:{baseroute:`${ue}/feed?q=`,tooltiptext:"URL to fetch provider metadata or ROLIE-feed",placeholder:"ROLIE feed or provider metadata URL",errormessage:s[0].ui.feedErrorMsg}}),e=new Qt({});let o=s[0].currentFeed&&Ue(s),f=s[0].ui.history.length>0&&Ve();return{c(){M(t.$$.fragment),n=L(),M(e.$$.fragment),l=L(),o&&o.c(),a=L(),f&&f.c(),r=I()},l(u){C(t.$$.fragment,u),n=A(u),C(e.$$.fragment,u),l=A(u),o&&o.l(u),a=A(u),f&&f.l(u),r=I()},m(u,p){F(t,u,p),D(u,n,p),F(e,u,p),D(u,l,p),o&&o.m(u,p),D(u,a,p),f&&f.m(u,p),D(u,r,p),i=!0},p(u,[p]){const g={};p&1&&(g.errormessage=u[0].ui.feedErrorMsg),t.$set(g),u[0].currentFeed?o?(o.p(u,p),p&1&&d(o,1)):(o=Ue(u),o.c(),d(o,1),o.m(a.parentNode,a)):o&&(W(),_(o,1,1,()=>{o=null}),J()),u[0].ui.history.length>0?f?p&1&&d(f,1):(f=Ve(),f.c(),d(f,1),f.m(r.parentNode,r)):f&&(W(),_(f,1,1,()=>{f=null}),J())},i(u){i||(d(t.$$.fragment,u),d(e.$$.fragment,u),d(o),d(f),i=!0)},o(u){_(t.$$.fragment,u),_(e.$$.fragment,u),_(o),_(f),i=!1},d(u){u&&(c(n),c(l),c(a),c(r)),S(t,u),S(e,u),o&&o.d(u),f&&f.d(u)}}}function xt(s,t,n){let e;return x(s,R,a=>n(0,e=a)),[e,()=>{R.setFeedSectionClosed()}]}class el extends q{constructor(t){super(),Y(this,t,xt,Zt,G,{})}}function tl(s){let t,n,e,l,a;return n=new el({}),l=new tt({props:{modal:!1,active:s[0].ui.loading}}),{c(){t=b("div"),M(n.$$.fragment),e=L(),M(l.$$.fragment),this.h()},l(r){t=k(r,"DIV",{class:!0});var i=w(t);C(n.$$.fragment,i),i.forEach(c),e=A(r),C(l.$$.fragment,r),this.h()},h(){E(t,"class","appbody")},m(r,i){D(r,t,i),F(n,t,null),D(r,e,i),F(l,r,i),a=!0},p(r,[i]){const o={};i&1&&(o.active=r[0].ui.loading),l.$set(o)},i(r){a||(d(n.$$.fragment,r),d(l.$$.fragment,r),a=!0)},o(r){_(n.$$.fragment,r),_(l.$$.fragment,r),a=!1},d(r){r&&(c(t),c(e)),S(n),S(l,r)}}}function ll(s,t,n){let e,l;return x(s,qe,a=>n(1,e=a)),x(s,R,a=>n(0,l=a)),R.setFeedMode(),Qe(()=>{R.clearHistory();const a=e.url.searchParams.get("q")||"",r=e.url.searchParams.get("doc")||"";r&&R.setLastDoc(`${r}`),a?(R.setLastFeed(`${a}`),_e(a)):(R.setCurrentFeed(null),R.setProviderMetadata(null)),R.setFeedMode()}),s.$$.update=()=>{if(s.$$.dirty&2){const a=e.url.searchParams.get("q")||"",r=e.url.searchParams.get("doc")||"";r&&R.setLastDoc(`${r}`),a?(R.setLastFeed(`${a}`),_e(a)):(R.setCurrentFeed(null),R.setProviderMetadata(null))}},[l,e]}class fl extends q{constructor(t){super(),Y(this,t,ll,tl,G,{})}}export{fl as component}; diff --git a/build/_app/version.json b/build/_app/version.json index 5d609d4..05f17f2 100644 --- a/build/_app/version.json +++ b/build/_app/version.json @@ -1 +1 @@ -{"version":"1701966077142"} \ No newline at end of file +{"version":"1702024476306"} \ No newline at end of file diff --git a/build/feed.html b/build/feed.html index 4da8462..6d0948b 100644 --- a/build/feed.html +++ b/build/feed.html @@ -24,24 +24,24 @@ - + - - - + + + - - - - - + + + + +

CSAF Webview

v1.0.0
Advisory
URL