Please contact the owner of the site that linked you to the original URL and let them know their link is broken.
diff --git a/assets/js/0e384e19.5c509168.js b/assets/js/0e384e19.5c509168.js
new file mode 100644
index 0000000..9d46e05
--- /dev/null
+++ b/assets/js/0e384e19.5c509168.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkpublic_docs=self.webpackChunkpublic_docs||[]).push([[671],{6003:(e,i,t)=>{t.r(i),t.d(i,{assets:()=>a,contentTitle:()=>o,default:()=>p,frontMatter:()=>s,metadata:()=>c,toc:()=>l});var n=t(5893),r=t(1151);const s={slug:"/",sidebar_position:1},o="Overview",c={id:"intro",title:"Overview",description:"Divvi Up is a privacy preserving metrics platform for collecting aggregate",source:"@site/docs/intro.md",sourceDirName:".",slug:"/",permalink:"/",draft:!1,unlisted:!1,editUrl:"https://github.com/divviup/public-docs/tree/main/docs/intro.md",tags:[],version:"current",sidebarPosition:1,frontMatter:{slug:"/",sidebar_position:1},sidebar:"docSidebar",next:{title:"How It Works",permalink:"/how-it-works"}},a={},l=[];function d(e){const i={a:"a",code:"code",h1:"h1",li:"li",p:"p",ul:"ul",...(0,r.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.h1,{id:"overview",children:"Overview"}),"\n",(0,n.jsx)(i.p,{children:"Divvi Up is a privacy preserving metrics platform for collecting aggregate\nstatistics. Using Divvi Up can help users gain insights into a user base while\nrespecting users' individual privacy, eliminating the need to store PII for\ntelemetry, and mitigating compliance risks."}),"\n",(0,n.jsx)(i.p,{children:"The best two places to get started are:"}),"\n",(0,n.jsxs)(i.ul,{children:["\n",(0,n.jsxs)(i.li,{children:[(0,n.jsx)(i.a,{href:"./how-it-works",children:"How it Works"})," - a high level overview of the Divvi Up system"]}),"\n",(0,n.jsxs)(i.li,{children:[(0,n.jsx)(i.a,{href:"./command-line-tutorial",children:"Command Line Tutorial"})," - use ",(0,n.jsx)(i.code,{children:"docker compose"})," and\n",(0,n.jsx)(i.code,{children:"divviup"})," from the command line to run a full Divvi Up environment"]}),"\n"]})]})}function p(e={}){const{wrapper:i}={...(0,r.a)(),...e.components};return i?(0,n.jsx)(i,{...e,children:(0,n.jsx)(d,{...e})}):d(e)}},1151:(e,i,t)=>{t.d(i,{Z:()=>c,a:()=>o});var n=t(7294);const r={},s=n.createContext(r);function o(e){const i=n.useContext(s);return n.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function c(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:o(e.components),n.createElement(s.Provider,{value:i},e.children)}}}]);
\ No newline at end of file
diff --git a/assets/js/0e384e19.ac77a48e.js b/assets/js/0e384e19.ac77a48e.js
deleted file mode 100644
index 2cb59cf..0000000
--- a/assets/js/0e384e19.ac77a48e.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkpublic_docs=self.webpackChunkpublic_docs||[]).push([[671],{6003:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>c,contentTitle:()=>o,default:()=>p,frontMatter:()=>s,metadata:()=>a,toc:()=>l});var n=i(5893),r=i(1151);const s={slug:"/",sidebar_position:1},o="Overview",a={id:"intro",title:"Overview",description:"Divvi Up is a privacy preserving metrics platform for collecting aggregate",source:"@site/docs/intro.md",sourceDirName:".",slug:"/",permalink:"/",draft:!1,unlisted:!1,editUrl:"https://github.com/divviup/public-docs/tree/main/docs/intro.md",tags:[],version:"current",sidebarPosition:1,frontMatter:{slug:"/",sidebar_position:1},sidebar:"docSidebar",next:{title:"How It Works",permalink:"/how-it-works"}},c={},l=[];function d(e){const t={a:"a",h1:"h1",li:"li",p:"p",ul:"ul",...(0,r.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.h1,{id:"overview",children:"Overview"}),"\n",(0,n.jsx)(t.p,{children:"Divvi Up is a privacy preserving metrics platform for collecting aggregate\nstatistics. Using Divvi Up can help users gain insights into a user base while\nrespecting users' individual privacy, eliminating the need to store PII for\ntelemetry, and mitigating compliance risks."}),"\n",(0,n.jsx)(t.p,{children:"The best two places to get started are:"}),"\n",(0,n.jsxs)(t.ul,{children:["\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.a,{href:"./how-it-works",children:"How it Works"})," - a high level overview of the Divvi Up system"]}),"\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.a,{href:"./command-line-tutorial",children:"Command Line Tutorial"})," - a hands on introduction to\nthe Divvi Up system"]}),"\n"]})]})}function p(e={}){const{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(d,{...e})}):d(e)}},1151:(e,t,i)=>{i.d(t,{Z:()=>a,a:()=>o});var n=i(7294);const r={},s=n.createContext(r);function o(e){const t=n.useContext(s);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:o(e.components),n.createElement(s.Provider,{value:t},e.children)}}}]);
\ No newline at end of file
diff --git a/assets/js/22dd74f7.45d9b517.js b/assets/js/22dd74f7.45d9b517.js
deleted file mode 100644
index 2e48842..0000000
--- a/assets/js/22dd74f7.45d9b517.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkpublic_docs=self.webpackChunkpublic_docs||[]).push([[980],{5904:e=>{e.exports=JSON.parse('{"version":{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"docSidebar":[{"type":"link","label":"Overview","href":"/","docId":"intro","unlisted":false},{"type":"link","label":"How It Works","href":"/how-it-works","docId":"how-it-works","unlisted":false},{"type":"link","label":"Command Line Tutorial","href":"/command-line-tutorial","docId":"command-line-tutorial","unlisted":false},{"type":"category","label":"Product Documentation","collapsible":true,"collapsed":false,"items":[{"type":"link","label":"Emulating Categorical Histograms with DAP draft-04","href":"/product-documentation/categorical-histogram-dap-04","docId":"product-documentation/categorical-histogram-dap-04","unlisted":false},{"type":"link","label":"Operational Metrics","href":"/product-documentation/operational-metrics","docId":"product-documentation/operational-metrics","unlisted":false}],"href":"/product-documentation/"},{"type":"category","label":"References","collapsible":true,"collapsed":false,"items":[{"type":"link","label":"Glossary","href":"/glossary","docId":"references/glossary","unlisted":false},{"type":"link","label":"Janus Errors","href":"/references/janus-errors","docId":"references/janus-errors","unlisted":false}],"href":"/references/"},{"type":"category","label":"Resources","items":[{"type":"category","label":"DAP Client Libraries","items":[{"type":"link","label":"divviup-android (Java/Android)","href":"https://github.com/divviup/divviup-android"},{"type":"link","label":"divviup-ts (TypeScript)","href":"https://divviup.github.io/divviup-ts"},{"type":"link","label":"janus_client (Rust)","href":"https://docs.rs/janus_client/latest/janus_client/"}],"collapsed":false,"collapsible":true},{"type":"category","label":"Divvi Up API","items":[{"type":"link","label":"API Reference","href":"https://app.divviup.org/swagger-ui"},{"type":"link","label":"CLI","href":"https://github.com/divviup/divviup-api/tree/main/cli"},{"type":"link","label":"Client Library (Rust)","href":"https://github.com/divviup/divviup-api/tree/main/client"}],"collapsed":false,"collapsible":true},{"type":"category","label":"IETF Specifications","items":[{"type":"link","label":"Distributed Aggregation Protocol (DAP)","href":"https://datatracker.ietf.org/doc/draft-ietf-ppm-dap/"},{"type":"link","label":"Verifiable Distributed Aggregation Functions (VDAF)","href":"https://datatracker.ietf.org/doc/draft-irtf-cfrg-vdaf/"}],"collapsed":false,"collapsible":true}],"collapsed":false,"collapsible":true}]},"docs":{"command-line-tutorial":{"id":"command-line-tutorial","title":"Command Line Tutorial","description":"Learn Divvi Up via a local instance of all Divvi Up components running via","sidebar":"docSidebar"},"how-it-works":{"id":"how-it-works","title":"How It Works","description":"Learn how Divvi Up works and how it protects privacy.","sidebar":"docSidebar"},"intro":{"id":"intro","title":"Overview","description":"Divvi Up is a privacy preserving metrics platform for collecting aggregate","sidebar":"docSidebar"},"product-documentation/categorical-histogram-dap-04":{"id":"product-documentation/categorical-histogram-dap-04","title":"Emulating Categorical Histograms with DAP draft-04","description":"The Prio3Histogram VDAF has changed between drafts 04 and 07 of DAP. Initially,","sidebar":"docSidebar"},"product-documentation/operational-metrics":{"id":"product-documentation/operational-metrics","title":"Operational Metrics","description":"Observe how Divvi Up is working.","sidebar":"docSidebar"},"product-documentation/product-documentation":{"id":"product-documentation/product-documentation","title":"Product Documentation","description":"","sidebar":"docSidebar"},"references/glossary":{"id":"references/glossary","title":"Glossary","description":"This glossary provides definitions of terms specific to Divvi Up and the","sidebar":"docSidebar"},"references/janus-errors":{"id":"references/janus-errors","title":"Janus Errors","description":"This reference provides a list of errors that you might encounter when","sidebar":"docSidebar"},"references/references":{"id":"references/references","title":"References","description":"","sidebar":"docSidebar"}}}}')}}]);
\ No newline at end of file
diff --git a/assets/js/22dd74f7.4b626510.js b/assets/js/22dd74f7.4b626510.js
new file mode 100644
index 0000000..7e4246f
--- /dev/null
+++ b/assets/js/22dd74f7.4b626510.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkpublic_docs=self.webpackChunkpublic_docs||[]).push([[980],{5904:e=>{e.exports=JSON.parse('{"version":{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"docSidebar":[{"type":"link","label":"Overview","href":"/","docId":"intro","unlisted":false},{"type":"link","label":"How It Works","href":"/how-it-works","docId":"how-it-works","unlisted":false},{"type":"link","label":"Command Line Tutorial","href":"/command-line-tutorial","docId":"command-line-tutorial","unlisted":false},{"type":"link","label":"Video Demo","href":"/command-line-video-demo","docId":"command-line-video-demo","unlisted":false},{"type":"category","label":"Product Documentation","collapsible":true,"collapsed":false,"items":[{"type":"link","label":"Emulating Categorical Histograms with DAP draft-04","href":"/product-documentation/categorical-histogram-dap-04","docId":"product-documentation/categorical-histogram-dap-04","unlisted":false},{"type":"link","label":"Operational Metrics","href":"/product-documentation/operational-metrics","docId":"product-documentation/operational-metrics","unlisted":false}],"href":"/product-documentation/"},{"type":"category","label":"References","collapsible":true,"collapsed":false,"items":[{"type":"link","label":"Glossary","href":"/glossary","docId":"references/glossary","unlisted":false},{"type":"link","label":"Janus Errors","href":"/references/janus-errors","docId":"references/janus-errors","unlisted":false}],"href":"/references/"},{"type":"category","label":"Resources","items":[{"type":"category","label":"DAP Client Libraries","items":[{"type":"link","label":"divviup-android (Java/Android)","href":"https://github.com/divviup/divviup-android"},{"type":"link","label":"divviup-ts (TypeScript)","href":"https://divviup.github.io/divviup-ts"},{"type":"link","label":"janus_client (Rust)","href":"https://docs.rs/janus_client/latest/janus_client/"}],"collapsed":false,"collapsible":true},{"type":"category","label":"Divvi Up API","items":[{"type":"link","label":"API Reference","href":"https://app.divviup.org/swagger-ui"},{"type":"link","label":"CLI","href":"https://github.com/divviup/divviup-api/tree/main/cli"},{"type":"link","label":"Client Library (Rust)","href":"https://github.com/divviup/divviup-api/tree/main/client"}],"collapsed":false,"collapsible":true},{"type":"category","label":"IETF Specifications","items":[{"type":"link","label":"Distributed Aggregation Protocol (DAP)","href":"https://datatracker.ietf.org/doc/draft-ietf-ppm-dap/"},{"type":"link","label":"Verifiable Distributed Aggregation Functions (VDAF)","href":"https://datatracker.ietf.org/doc/draft-irtf-cfrg-vdaf/"}],"collapsed":false,"collapsible":true}],"collapsed":false,"collapsible":true}]},"docs":{"command-line-tutorial":{"id":"command-line-tutorial","title":"Command Line Tutorial","description":"Learn Divvi Up via a local instance of all Divvi Up components running via","sidebar":"docSidebar"},"command-line-video-demo":{"id":"command-line-video-demo","title":"Video Demo","description":"The video below shows the command line tutorial with","sidebar":"docSidebar"},"how-it-works":{"id":"how-it-works","title":"How It Works","description":"Learn how Divvi Up works and how it protects privacy.","sidebar":"docSidebar"},"intro":{"id":"intro","title":"Overview","description":"Divvi Up is a privacy preserving metrics platform for collecting aggregate","sidebar":"docSidebar"},"product-documentation/categorical-histogram-dap-04":{"id":"product-documentation/categorical-histogram-dap-04","title":"Emulating Categorical Histograms with DAP draft-04","description":"The Prio3Histogram VDAF has changed between drafts 04 and 07 of DAP. Initially,","sidebar":"docSidebar"},"product-documentation/operational-metrics":{"id":"product-documentation/operational-metrics","title":"Operational Metrics","description":"Observe how Divvi Up is working.","sidebar":"docSidebar"},"product-documentation/product-documentation":{"id":"product-documentation/product-documentation","title":"Product Documentation","description":"","sidebar":"docSidebar"},"references/glossary":{"id":"references/glossary","title":"Glossary","description":"This glossary provides definitions of terms specific to Divvi Up and the","sidebar":"docSidebar"},"references/janus-errors":{"id":"references/janus-errors","title":"Janus Errors","description":"This reference provides a list of errors that you might encounter when","sidebar":"docSidebar"},"references/references":{"id":"references/references","title":"References","description":"","sidebar":"docSidebar"}}}}')}}]);
\ No newline at end of file
diff --git a/assets/js/96f8aff4.44a161a3.js b/assets/js/96f8aff4.44a161a3.js
deleted file mode 100644
index a1083f9..0000000
--- a/assets/js/96f8aff4.44a161a3.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkpublic_docs=self.webpackChunkpublic_docs||[]).push([[262],{6757:(t,e,n)=>{n.r(e),n.d(e,{assets:()=>l,contentTitle:()=>s,default:()=>m,frontMatter:()=>i,metadata:()=>a,toc:()=>u});var o=n(5893),r=n(1151),c=n(3361);const i={sidebar_position:3},s="Product Documentation",a={id:"product-documentation/product-documentation",title:"Product Documentation",description:"",source:"@site/docs/product-documentation/product-documentation.mdx",sourceDirName:"product-documentation",slug:"/product-documentation/",permalink:"/product-documentation/",draft:!1,unlisted:!1,editUrl:"https://github.com/divviup/public-docs/tree/main/docs/product-documentation/product-documentation.mdx",tags:[],version:"current",sidebarPosition:3,frontMatter:{sidebar_position:3},sidebar:"docSidebar",previous:{title:"Command Line Tutorial",permalink:"/command-line-tutorial"},next:{title:"Emulating Categorical Histograms with DAP draft-04",permalink:"/product-documentation/categorical-histogram-dap-04"}},l={},u=[];function d(t){const e={h1:"h1",...(0,r.a)(),...t.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(e.h1,{id:"product-documentation",children:"Product Documentation"}),"\n",(0,o.jsx)(c.Z,{})]})}function m(t={}){const{wrapper:e}={...(0,r.a)(),...t.components};return e?(0,o.jsx)(e,{...t,children:(0,o.jsx)(d,{...t})}):d(t)}},3361:(t,e,n)=>{n.d(e,{Z:()=>k});var o=n(7294),r=n(512),c=n(2802),i=n(3692),s=n(2263);const a=["zero","one","two","few","many","other"];function l(t){return a.filter((e=>t.includes(e)))}const u={locale:"en",pluralForms:l(["one","other"]),select:t=>1===t?"one":"other"};function d(){const{i18n:{currentLocale:t}}=(0,s.Z)();return(0,o.useMemo)((()=>{try{return function(t){const e=new Intl.PluralRules(t);return{locale:t,pluralForms:l(e.resolvedOptions().pluralCategories),select:t=>e.select(t)}}(t)}catch(e){return console.error(`Failed to use Intl.PluralRules for locale "${t}".\nDocusaurus will fallback to the default (English) implementation.\nError: ${e.message}\n`),u}}),[t])}function m(){const t=d();return{selectMessage:(e,n)=>function(t,e,n){const o=t.split("|");if(1===o.length)return o[0];o.length>n.pluralForms.length&&console.error(`For locale=${n.locale}, a maximum of ${n.pluralForms.length} plural forms are expected (${n.pluralForms.join(",")}), but the message contains ${o.length}: ${t}`);const r=n.select(e),c=n.pluralForms.indexOf(r);return o[Math.min(c,o.length-1)]}(n,e,t)}}var p=n(3919),f=n(5999),h=n(2503);const g={cardContainer:"cardContainer_fWXF",cardTitle:"cardTitle_rnsV",cardDescription:"cardDescription_PWke"};var x=n(5893);function j(t){let{href:e,children:n}=t;return(0,x.jsx)(i.Z,{href:e,className:(0,r.Z)("card padding--lg",g.cardContainer),children:n})}function b(t){let{href:e,icon:n,title:o,description:c}=t;return(0,x.jsxs)(j,{href:e,children:[(0,x.jsxs)(h.Z,{as:"h2",className:(0,r.Z)("text--truncate",g.cardTitle),title:o,children:[n," ",o]}),c&&(0,x.jsx)("p",{className:(0,r.Z)("text--truncate",g.cardDescription),title:c,children:c})]})}function w(t){let{item:e}=t;const n=(0,c.LM)(e),o=function(){const{selectMessage:t}=m();return e=>t(e,(0,f.I)({message:"1 item|{count} items",id:"theme.docs.DocCard.categoryDescription.plurals",description:"The default description for a category card in the generated index about how many items this category includes"},{count:e}))}();return n?(0,x.jsx)(b,{href:n,icon:"\ud83d\uddc3\ufe0f",title:e.label,description:e.description??o(e.items.length)}):null}function v(t){let{item:e}=t;const n=(0,p.Z)(e.href)?"\ud83d\udcc4\ufe0f":"\ud83d\udd17",o=(0,c.xz)(e.docId??void 0);return(0,x.jsx)(b,{href:e.href,icon:n,title:e.label,description:e.description??o?.description})}function y(t){let{item:e}=t;switch(e.type){case"link":return(0,x.jsx)(v,{item:e});case"category":return(0,x.jsx)(w,{item:e});default:throw new Error(`unknown item type ${JSON.stringify(e)}`)}}function C(t){let{className:e}=t;const n=(0,c.jA)();return(0,x.jsx)(k,{items:n.items,className:e})}function k(t){const{items:e,className:n}=t;if(!e)return(0,x.jsx)(C,{...t});const o=(0,c.MN)(e);return(0,x.jsx)("section",{className:(0,r.Z)("row",n),children:o.map(((t,e)=>(0,x.jsx)("article",{className:"col col--6 margin-bottom--lg",children:(0,x.jsx)(y,{item:t})},e)))})}},1151:(t,e,n)=>{n.d(e,{Z:()=>s,a:()=>i});var o=n(7294);const r={},c=o.createContext(r);function i(t){const e=o.useContext(c);return o.useMemo((function(){return"function"==typeof t?t(e):{...e,...t}}),[e,t])}function s(t){let e;return e=t.disableParentContext?"function"==typeof t.components?t.components(r):t.components||r:i(t.components),o.createElement(c.Provider,{value:e},t.children)}}}]);
\ No newline at end of file
diff --git a/assets/js/96f8aff4.cc3ac1be.js b/assets/js/96f8aff4.cc3ac1be.js
new file mode 100644
index 0000000..220e6ee
--- /dev/null
+++ b/assets/js/96f8aff4.cc3ac1be.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkpublic_docs=self.webpackChunkpublic_docs||[]).push([[262],{6757:(t,e,n)=>{n.r(e),n.d(e,{assets:()=>l,contentTitle:()=>s,default:()=>m,frontMatter:()=>i,metadata:()=>a,toc:()=>u});var o=n(5893),r=n(1151),c=n(3361);const i={sidebar_position:3},s="Product Documentation",a={id:"product-documentation/product-documentation",title:"Product Documentation",description:"",source:"@site/docs/product-documentation/product-documentation.mdx",sourceDirName:"product-documentation",slug:"/product-documentation/",permalink:"/product-documentation/",draft:!1,unlisted:!1,editUrl:"https://github.com/divviup/public-docs/tree/main/docs/product-documentation/product-documentation.mdx",tags:[],version:"current",sidebarPosition:3,frontMatter:{sidebar_position:3},sidebar:"docSidebar",previous:{title:"Video Demo",permalink:"/command-line-video-demo"},next:{title:"Emulating Categorical Histograms with DAP draft-04",permalink:"/product-documentation/categorical-histogram-dap-04"}},l={},u=[];function d(t){const e={h1:"h1",...(0,r.a)(),...t.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(e.h1,{id:"product-documentation",children:"Product Documentation"}),"\n",(0,o.jsx)(c.Z,{})]})}function m(t={}){const{wrapper:e}={...(0,r.a)(),...t.components};return e?(0,o.jsx)(e,{...t,children:(0,o.jsx)(d,{...t})}):d(t)}},3361:(t,e,n)=>{n.d(e,{Z:()=>k});var o=n(7294),r=n(512),c=n(2802),i=n(3692),s=n(2263);const a=["zero","one","two","few","many","other"];function l(t){return a.filter((e=>t.includes(e)))}const u={locale:"en",pluralForms:l(["one","other"]),select:t=>1===t?"one":"other"};function d(){const{i18n:{currentLocale:t}}=(0,s.Z)();return(0,o.useMemo)((()=>{try{return function(t){const e=new Intl.PluralRules(t);return{locale:t,pluralForms:l(e.resolvedOptions().pluralCategories),select:t=>e.select(t)}}(t)}catch(e){return console.error(`Failed to use Intl.PluralRules for locale "${t}".\nDocusaurus will fallback to the default (English) implementation.\nError: ${e.message}\n`),u}}),[t])}function m(){const t=d();return{selectMessage:(e,n)=>function(t,e,n){const o=t.split("|");if(1===o.length)return o[0];o.length>n.pluralForms.length&&console.error(`For locale=${n.locale}, a maximum of ${n.pluralForms.length} plural forms are expected (${n.pluralForms.join(",")}), but the message contains ${o.length}: ${t}`);const r=n.select(e),c=n.pluralForms.indexOf(r);return o[Math.min(c,o.length-1)]}(n,e,t)}}var p=n(3919),f=n(5999),h=n(2503);const g={cardContainer:"cardContainer_fWXF",cardTitle:"cardTitle_rnsV",cardDescription:"cardDescription_PWke"};var x=n(5893);function j(t){let{href:e,children:n}=t;return(0,x.jsx)(i.Z,{href:e,className:(0,r.Z)("card padding--lg",g.cardContainer),children:n})}function b(t){let{href:e,icon:n,title:o,description:c}=t;return(0,x.jsxs)(j,{href:e,children:[(0,x.jsxs)(h.Z,{as:"h2",className:(0,r.Z)("text--truncate",g.cardTitle),title:o,children:[n," ",o]}),c&&(0,x.jsx)("p",{className:(0,r.Z)("text--truncate",g.cardDescription),title:c,children:c})]})}function v(t){let{item:e}=t;const n=(0,c.LM)(e),o=function(){const{selectMessage:t}=m();return e=>t(e,(0,f.I)({message:"1 item|{count} items",id:"theme.docs.DocCard.categoryDescription.plurals",description:"The default description for a category card in the generated index about how many items this category includes"},{count:e}))}();return n?(0,x.jsx)(b,{href:n,icon:"\ud83d\uddc3\ufe0f",title:e.label,description:e.description??o(e.items.length)}):null}function w(t){let{item:e}=t;const n=(0,p.Z)(e.href)?"\ud83d\udcc4\ufe0f":"\ud83d\udd17",o=(0,c.xz)(e.docId??void 0);return(0,x.jsx)(b,{href:e.href,icon:n,title:e.label,description:e.description??o?.description})}function y(t){let{item:e}=t;switch(e.type){case"link":return(0,x.jsx)(w,{item:e});case"category":return(0,x.jsx)(v,{item:e});default:throw new Error(`unknown item type ${JSON.stringify(e)}`)}}function D(t){let{className:e}=t;const n=(0,c.jA)();return(0,x.jsx)(k,{items:n.items,className:e})}function k(t){const{items:e,className:n}=t;if(!e)return(0,x.jsx)(D,{...t});const o=(0,c.MN)(e);return(0,x.jsx)("section",{className:(0,r.Z)("row",n),children:o.map(((t,e)=>(0,x.jsx)("article",{className:"col col--6 margin-bottom--lg",children:(0,x.jsx)(y,{item:t})},e)))})}},1151:(t,e,n)=>{n.d(e,{Z:()=>s,a:()=>i});var o=n(7294);const r={},c=o.createContext(r);function i(t){const e=o.useContext(c);return o.useMemo((function(){return"function"==typeof t?t(e):{...e,...t}}),[e,t])}function s(t){let e;return e=t.disableParentContext?"function"==typeof t.components?t.components(r):t.components||r:i(t.components),o.createElement(c.Provider,{value:e},t.children)}}}]);
\ No newline at end of file
diff --git a/assets/js/c0475ac7.b0e82bb6.js b/assets/js/c0475ac7.b0e82bb6.js
new file mode 100644
index 0000000..6299a86
--- /dev/null
+++ b/assets/js/c0475ac7.b0e82bb6.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkpublic_docs=self.webpackChunkpublic_docs||[]).push([[784],{4182:(e,o,t)=>{t.r(o),t.d(o,{assets:()=>a,contentTitle:()=>d,default:()=>l,frontMatter:()=>r,metadata:()=>c,toc:()=>s});var i=t(5893),n=t(1151);const r={sidebar_position:3,title:"Video Demo"},d="Divvi Up Command Line Video Demo",c={id:"command-line-video-demo",title:"Video Demo",description:"The video below shows the command line tutorial with",source:"@site/docs/command-line-video-demo.md",sourceDirName:".",slug:"/command-line-video-demo",permalink:"/command-line-video-demo",draft:!1,unlisted:!1,editUrl:"https://github.com/divviup/public-docs/tree/main/docs/command-line-video-demo.md",tags:[],version:"current",sidebarPosition:3,frontMatter:{sidebar_position:3,title:"Video Demo"},sidebar:"docSidebar",previous:{title:"Command Line Tutorial",permalink:"/command-line-tutorial"},next:{title:"Product Documentation",permalink:"/product-documentation/"}},a={},s=[];function m(e){const o={a:"a",h1:"h1",p:"p",...(0,n.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.h1,{id:"divvi-up-command-line-video-demo",children:"Divvi Up Command Line Video Demo"}),"\n",(0,i.jsxs)(o.p,{children:["The video below shows the ",(0,i.jsx)(o.a,{href:"./command-line-tutorial",children:"command line tutorial"})," with\nsome additional explanation. If you prefer to try it for yourself on your\ncomputer checkout the ",(0,i.jsx)(o.a,{href:"./command-line-tutorial",children:"command line tutorial"}),"."]}),"\n",(0,i.jsx)("iframe",{width:"840",height:"473",src:"https://www.youtube.com/embed/sCJlJAy1Fyg?si=MUUburZe1XbOjvq2",title:"YouTube video player",frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerpolicy:"strict-origin-when-cross-origin",allowfullscreen:!0})]})}function l(e={}){const{wrapper:o}={...(0,n.a)(),...e.components};return o?(0,i.jsx)(o,{...e,children:(0,i.jsx)(m,{...e})}):m(e)}},1151:(e,o,t)=>{t.d(o,{Z:()=>c,a:()=>d});var i=t(7294);const n={},r=i.createContext(n);function d(e){const o=i.useContext(r);return i.useMemo((function(){return"function"==typeof e?e(o):{...o,...e}}),[o,e])}function c(e){let o;return o=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:d(e.components),i.createElement(r.Provider,{value:o},e.children)}}}]);
\ No newline at end of file
diff --git a/assets/js/d62d0f31.4b1325a2.js b/assets/js/d62d0f31.4b1325a2.js
deleted file mode 100644
index 2ec6b6f..0000000
--- a/assets/js/d62d0f31.4b1325a2.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkpublic_docs=self.webpackChunkpublic_docs||[]).push([[474],{2352:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>l,contentTitle:()=>o,default:()=>h,frontMatter:()=>r,metadata:()=>s,toc:()=>c});var i=t(5893),a=t(1151);const r={sidebar_position:3},o="Command Line Tutorial",s={id:"command-line-tutorial",title:"Command Line Tutorial",description:"Learn Divvi Up via a local instance of all Divvi Up components running via",source:"@site/docs/command-line-tutorial.md",sourceDirName:".",slug:"/command-line-tutorial",permalink:"/command-line-tutorial",draft:!1,unlisted:!1,editUrl:"https://github.com/divviup/public-docs/tree/main/docs/command-line-tutorial.md",tags:[],version:"current",sidebarPosition:3,frontMatter:{sidebar_position:3},sidebar:"docSidebar",previous:{title:"How It Works",permalink:"/how-it-works"},next:{title:"Product Documentation",permalink:"/product-documentation/"}},l={},c=[{value:"Requirements",id:"requirements",level:2},{value:"Install divviup",id:"install-divviup",level:3},{value:"Download compose.yaml",id:"download-composeyaml",level:3},{value:"Start Divvi Up",id:"start-divvi-up",level:2}];function d(e){const n={a:"a",admonition:"admonition",code:"code",h1:"h1",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",ul:"ul",...(0,a.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.h1,{id:"command-line-tutorial",children:"Command Line Tutorial"}),"\n",(0,i.jsxs)(n.p,{children:["Learn Divvi Up via a local instance of all Divvi Up components running via\n",(0,i.jsx)(n.code,{children:"docker compose"}),"."]}),"\n",(0,i.jsx)(n.p,{children:"Following this tutorial will:"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsx)(n.li,{children:"Install required software and tools"}),"\n",(0,i.jsx)(n.li,{children:"Run Divvi Up and a pair of aggregators locally in Docker"}),"\n",(0,i.jsx)(n.li,{children:"Shard some measurements into reports and upload them, simulating DAP clients"}),"\n",(0,i.jsx)(n.li,{children:"Collect the results of an aggregation"}),"\n"]}),"\n",(0,i.jsxs)(n.p,{children:["If any of these terms are unfamiliar please read the\n",(0,i.jsx)(n.a,{href:"./how-it-works",children:"How it Works"})," doc."]}),"\n",(0,i.jsx)(n.h2,{id:"requirements",children:"Requirements"}),"\n",(0,i.jsx)(n.p,{children:"To get started, you'll need:"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsx)(n.li,{children:"A Unix like shell on macOS, Linux or Windows"}),"\n",(0,i.jsxs)(n.li,{children:["A ",(0,i.jsx)(n.code,{children:"divviup"})," binary (see instructions below)"]}),"\n",(0,i.jsxs)(n.li,{children:["A ",(0,i.jsx)(n.code,{children:"compose.yaml"})," (see instructions below)"]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.a,{href:"https://docs.docker.com/get-docker/",children:"Docker"})," and\n",(0,i.jsx)(n.a,{href:"https://docs.docker.com/compose/install/",children:"Docker Compose"}),"."]}),"\n"]}),"\n",(0,i.jsxs)(n.h3,{id:"install-divviup",children:["Install ",(0,i.jsx)(n.code,{children:"divviup"})]}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.code,{children:"divviup"})," is a command line (CLI) tool for doing basic operations on the Divvi\nUp and Distributed Aggregation Protocol (DAP) API endpoints. See\n",(0,i.jsx)(n.code,{children:"divviup --help"})," for details on all of the commands."]}),"\n",(0,i.jsxs)(n.p,{children:["The tool is available for download for macOS, Windows or Linux from the\n",(0,i.jsx)(n.a,{href:"https://github.com/divviup/divviup-api/releases",children:"divviup-api releases page"}),"."]}),"\n",(0,i.jsxs)(n.h3,{id:"download-composeyaml",children:["Download ",(0,i.jsx)(n.code,{children:"compose.yaml"})]}),"\n",(0,i.jsxs)(n.p,{children:["A ",(0,i.jsx)(n.code,{children:"compose.yaml"})," will be used to download and run all required containers to run\na Divvi Up environment."]}),"\n",(0,i.jsx)(n.p,{children:"Create a folder for this tutorial"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-sh",children:"mkdir divviup-tutorial\ncd divviup-tutorial\n"})}),"\n",(0,i.jsxs)(n.p,{children:["And download the latest release of the ",(0,i.jsx)(n.code,{children:"compose.yaml"})," found on the\n",(0,i.jsx)(n.a,{href:"https://github.com/divviup/divviup-api/releases",children:"divviup-api releases page"}),"\npage."]}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-sh",children:"curl -L https://github.com/divviup/divviup-api/releases/latest/download/compose.yaml > compose.yaml\n"})}),"\n",(0,i.jsx)(n.h2,{id:"start-divvi-up",children:"Start Divvi Up"}),"\n",(0,i.jsxs)(n.p,{children:["First, get Divvi Up running locally. In your shell, navigate to the directory\ncontaining ",(0,i.jsx)(n.code,{children:"compose.yaml"})," and run:"]}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-sh",children:"docker compose up --wait\n"})}),"\n",(0,i.jsx)(n.p,{children:"This will:"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsx)(n.li,{children:"deploy two Janus aggregators to act as leader and helper in your tasks"}),"\n",(0,i.jsx)(n.li,{children:"deploy the Divvi Up control plane to coordinate the aggregators"}),"\n",(0,i.jsx)(n.li,{children:"pair the aggregators with the control plane to make them available for use in\ntask definitions"}),"\n",(0,i.jsx)(n.li,{children:'create an account named "demo"'}),"\n"]}),"\n",(0,i.jsxs)(n.p,{children:["Set an environment variable to direct ",(0,i.jsx)(n.code,{children:"divviup"})," to use your local control plane\nand to use an empty API token:"]}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-sh",children:'export DIVVIUP_API_URL=http://localhost:8080\nexport DIVVIUP_TOKEN=""\n'})}),"\n",(0,i.jsx)(n.p,{children:"Next, obtain the ID of the demo account:"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-sh",children:"divviup account list\n"})}),"\n",(0,i.jsx)(n.p,{children:'You should get a single account back with the name "demo", like this:'}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-json",children:'[\n {\n "id": "8ea1fc65-a669-48dd-96ac-c920fcb0ae90",\n "name": "demo",\n "created_at": "2024-06-14T22:48:00.683659Z",\n "updated_at": "2024-06-14T22:48:00.683659Z",\n "admin": false\n }\n]\n'})}),"\n",(0,i.jsx)(n.p,{children:"Now, set an environment variable for the account ID:"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-sh",children:"# Substitute the account ID that was generated by your Divvi Up instance\nexport DIVVIUP_ACCOUNT_ID=8ea1fc65-a669-48dd-96ac-c920fcb0ae90\n"})}),"\n",(0,i.jsx)(n.p,{children:"List the aggregators and identify the ID of both a leader and a helper."}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-sh",children:"divviup aggregator list\n"})}),"\n",(0,i.jsx)(n.p,{children:"The output will contain JSON objects like:"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-json",children:' {\n "id": "3650870b-56e6-4eac-8944-b7ca36569b33",\n "role": "Either",\n "name": "Divvi Up staging-dap-09-1",\n "dap_url": "https://staging-dap-09-1.api.example.com/",\n "api_url": "https://staging-dap-09-1.api.example.com/aggregator-api",\n "is_first_party": true,\n "vdafs": [\n "Prio3Count",\n "Prio3Sum",\n "Prio3Histogram",\n "Prio3SumVec"\n ],\n "query_types": [\n "TimeInterval",\n "FixedSize"\n ],\n "protocol": "DAP-09",\n "features": [\n "TokenHash",\n "TimeBucketedFixedSize",\n "UploadMetrics"\n ]\n },\n {\n "id": "96301951-c848-4a57-b4f5-32812e4db1be",\n "account_id": null,\n "created_at": "2024-03-21T22:47:15.467139Z",\n "updated_at": "2024-04-18T17:33:30.439465Z",\n "deleted_at": null,\n "role": "Either",\n "name": "Divvi Up staging-dap-09-2",\n "dap_url": "https://staging-dap-09-2.api.example.com/",\n "api_url": "https://staging-dap-09-2.api.example.com/aggregator-api",\n "is_first_party": false,\n "vdafs": [\n "Prio3Count",\n "Prio3Sum",\n "Prio3Histogram",\n "Prio3SumVec"\n ],\n "query_types": [\n "TimeInterval",\n "FixedSize"\n ],\n "protocol": "DAP-09",\n "features": [\n "TokenHash",\n "UploadMetrics",\n "TimeBucketedFixedSize"\n ]\n }\n'})}),"\n",(0,i.jsx)(n.p,{children:"Set the two IDs into environment variables. NOTE: These IDs will vary based on\nyour configuration."}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-sh",children:"# Substitute the leader and helper aggregator IDs that were generated by your Divvi Up instance\nexport LEADER_ID=3650870b-56e6-4eac-8944-b7ca36569b33\nexport HELPER_ID=96301951-c848-4a57-b4f5-32812e4db1be\n"})}),"\n",(0,i.jsx)(n.p,{children:"Next, generate a collector-credential for the task. The collector credential\nwill be used by the collector to export the aggregated statistics."}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-sh",children:"divviup collector-credential generate --save\n"})}),"\n",(0,i.jsx)(n.p,{children:"The output will be like:"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-sh",children:'{\n "id": "0a0f8ea8-b603-4416-b138-b7f217153bb7",\n "hpke_config": {\n "id": 144,\n "kem_id": "X25519HkdfSha256",\n "kdf_id": "HkdfSha256",\n "aead_id": "Aes128Gcm",\n "public_key": "V9IpdJxS91MHPiNTjwDk9DFS-5M_neVrPxlmvolmTTo"\n },\n "created_at": "2024-05-03T15:23:56.624726Z",\n "deleted_at": null,\n "updated_at": "2024-05-03T15:23:56.624727Z",\n "name": "collector-credential-144",\n "token_hash": "VItYJdAyWYIvooe8GzkGnVTvaMkvWc9G-eiwxudfWww",\n "token": "A6JDAYPiYDXmNyh-OpYXGw"\n}\n\nSaved new collector credential to /your/current/directory/collector-credential-144.json. Keep this file safe!\n'})}),"\n",(0,i.jsx)(n.admonition,{type:"warning",children:(0,i.jsx)(n.p,{children:"This credential isn't sensitive because it's only useful in your local instance\nof Divvi Up. But collector credentials generated against the production service\nshould be carefully managed. Consider using a password manager to protect them."})}),"\n",(0,i.jsx)(n.p,{children:"Make a note of the path where the credential was saved, and save the collector\ncredential ID to an environment variable."}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-sh",children:"# Substitute the collector credential path and ID that were generated by your Divvi Up instance\nexport COLLECTOR_CREDENTIAL_PATH=/your/current/directory/collector-credential-144.json\nexport COLLECTOR_CREDENTIAL_ID=0a0f8ea8-b603-4416-b138-b7f217153bb7\n"})}),"\n",(0,i.jsx)(n.p,{children:"Create the the histogram task. In this case the task is a set of values from 0\nto 10 for use in collecting a net-promoter score for a survey."}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-sh",children:" divviup task create --name net-promoter-score \\\n --leader-aggregator-id $LEADER_ID --helper-aggregator-id $HELPER_ID \\\n --collector-credential-id $COLLECTOR_CREDENTIAL_ID \\\n --vdaf histogram --categorical-buckets 0,1,2,3,4,5,6,7,8,9,10 \\\n --min-batch-size 100 --max-batch-size 200 --time-precision 60sec\n"})}),"\n",(0,i.jsx)(n.p,{children:"The output will contain a JSON object:"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-json",children:'{\n "id": "Siwa4QTEnQXMfRPyhir8AzS4EBqfTebmEzKfvajDgYk",\n "account_id": "a9c571ba-5f3d-4814-8d8b-c5bb0f5030b7",\n "name": "net-promoter-score",\n "vdaf": {\n "type": "histogram",\n "buckets": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10"],\n "chunk_length": 4\n },\n "min_batch_size": 100,\n "max_batch_size": null,\n "created_at": "2024-05-03T15:27:56.229891Z",\n "updated_at": "2024-05-03T15:27:56.229891Z",\n "time_precision_seconds": 60,\n "report_count": 0,\n "aggregate_collection_count": 0,\n "expiration": "2025-05-03T15:27:55.88511Z",\n "leader_aggregator_id": "3650870b-56e6-4eac-8944-b7ca36569b33",\n "helper_aggregator_id": "96301951-c848-4a57-b4f5-32812e4db1be",\n "collector_credential_id": "0a0f8ea8-b603-4416-b138-b7f217153bb7",\n "report_counter_interval_collected": 0,\n "report_counter_decode_failure": 0,\n "report_counter_decrypt_failure": 0,\n "report_counter_expired": 0,\n "report_counter_outdated_key": 0,\n "report_counter_success": 0,\n "report_counter_too_early": 0,\n "report_counter_task_expired": 0\n}\n'})}),"\n",(0,i.jsx)(n.p,{children:"Save the ID of the task into an environment variable."}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-sh",children:"# Substitute the task ID that was generated by your Divvi Up instance\nexport TASK_ID=Siwa4QTEnQXMfRPyhir8AzS4EBqfTebmEzKfvajDgYk\n"})}),"\n",(0,i.jsx)(n.p,{children:"Upload a random set of 150 metrics."}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-sh",children:"for i in {1..150}; do\n measurement=$(( $RANDOM % 10 ))\n divviup dap-client upload --task-id $TASK_ID --measurement $measurement;\ndone\n"})}),"\n",(0,i.jsx)(n.p,{children:"Wait a little while to let the aggregators run the aggregation jobs. Then, get\ncollection results:"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-sh",children:"divviup dap-client collect \\\n --task-id $TASK_ID \\\n --collector-credential-file $COLLECTOR_CREDENTIAL_PATH \\\n --current-batch\n"})}),"\n",(0,i.jsx)(n.p,{children:"You will get a result like:"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-sh",children:"Number of reports: 113\nInterval start: 2024-06-05 21:31:00 UTC\nInterval end: 2024-06-05 21:34:00 UTC\nInterval length: 180s\nAggregation result: [14, 10, 10, 13, 13, 8, 16, 13, 9, 7, 0]\ncollection: Collection { partial_batch_selector: PartialBatchSelector { batch_identifier: BatchId(wPLBlC6iHWp_YBBAYP_ig5nal0FOz1QlLSaC42U7sm0) }, report_count: 113, interval: (2024-06-05T21:31:00Z, TimeDelta { secs: 180, nanos: 0 }), aggregate_result: [14, 10, 10, 13, 13, 8, 16, 13, 9, 7, 0] }\n"})}),"\n",(0,i.jsx)(n.p,{children:'If you get an error like "The batch implied by the query is invalid", then the\naggregators are still working on processing your uploaded reports. Given them a\nfew more minutes.'}),"\n",(0,i.jsx)(n.p,{children:"If you get fewer reports in the collection than you uploaded, that's because you\nsent the collection request too soon and not all the reports were prepared yet.\nThose reports will be available in a later collection, after enough additional\nreports are uploaded to meet the minimum batch size."}),"\n",(0,i.jsxs)(n.p,{children:["Congratulations! You've just used secure multi-party computation to do a\nprivacy-preserving aggregation over secret shares of measurements. Now you can\ntry experimenting with different tasks. Try creating different histograms with\ndifferent numbers of buckets, or see if you can use ",(0,i.jsx)(n.code,{children:"Prio3SumVec"})," to compute\nsums over bit vectors."]})]})}function h(e={}){const{wrapper:n}={...(0,a.a)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(d,{...e})}):d(e)}},1151:(e,n,t)=>{t.d(n,{Z:()=>s,a:()=>o});var i=t(7294);const a={},r=i.createContext(a);function o(e){const n=i.useContext(r);return i.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function s(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:o(e.components),i.createElement(r.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/assets/js/d62d0f31.5d3178a7.js b/assets/js/d62d0f31.5d3178a7.js
new file mode 100644
index 0000000..0b62f7d
--- /dev/null
+++ b/assets/js/d62d0f31.5d3178a7.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkpublic_docs=self.webpackChunkpublic_docs||[]).push([[474],{2352:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>s,contentTitle:()=>o,default:()=>h,frontMatter:()=>r,metadata:()=>l,toc:()=>c});var a=t(5893),i=t(1151);const r={sidebar_position:3,title:"Command Line Tutorial"},o="Divvi Up Command Line Tutorial",l={id:"command-line-tutorial",title:"Command Line Tutorial",description:"Learn Divvi Up via a local instance of all Divvi Up components running via",source:"@site/docs/command-line-tutorial.md",sourceDirName:".",slug:"/command-line-tutorial",permalink:"/command-line-tutorial",draft:!1,unlisted:!1,editUrl:"https://github.com/divviup/public-docs/tree/main/docs/command-line-tutorial.md",tags:[],version:"current",sidebarPosition:3,frontMatter:{sidebar_position:3,title:"Command Line Tutorial"},sidebar:"docSidebar",previous:{title:"How It Works",permalink:"/how-it-works"},next:{title:"Video Demo",permalink:"/command-line-video-demo"}},s={},c=[{value:"Requirements",id:"requirements",level:2},{value:"Install divviup",id:"install-divviup",level:3},{value:"Download compose.yaml",id:"download-composeyaml",level:3},{value:"Start Divvi Up",id:"start-divvi-up",level:2},{value:"Configure Auth",id:"configure-auth",level:2},{value:"Configure Leader and Helper Aggregator",id:"configure-leader-and-helper-aggregator",level:2},{value:"Collector Credential",id:"collector-credential",level:2},{value:"Create a Task",id:"create-a-task",level:2},{value:"Upload Measurement Reports",id:"upload-measurement-reports",level:2},{value:"Collect the Aggregated Value",id:"collect-the-aggregated-value",level:2},{value:"Next Steps",id:"next-steps",level:2}];function d(e){const n={a:"a",admonition:"admonition",code:"code",h1:"h1",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",ul:"ul",...(0,i.a)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.h1,{id:"divvi-up-command-line-tutorial",children:"Divvi Up Command Line Tutorial"}),"\n",(0,a.jsxs)(n.p,{children:["Learn Divvi Up via a local instance of all Divvi Up components running via\n",(0,a.jsx)(n.code,{children:"docker compose"}),"."]}),"\n",(0,a.jsx)(n.p,{children:"Following this tutorial will:"}),"\n",(0,a.jsxs)(n.ul,{children:["\n",(0,a.jsx)(n.li,{children:"Install required software and tools"}),"\n",(0,a.jsx)(n.li,{children:"Run Divvi Up and a pair of aggregators locally in Docker"}),"\n",(0,a.jsx)(n.li,{children:"Shard some measurements into reports and upload them, simulating DAP clients"}),"\n",(0,a.jsx)(n.li,{children:"Collect the results of an aggregation"}),"\n"]}),"\n",(0,a.jsxs)(n.p,{children:["If any of these terms are unfamiliar please read the\n",(0,a.jsx)(n.a,{href:"./how-it-works",children:"How it Works"})," doc."]}),"\n",(0,a.jsx)(n.h2,{id:"requirements",children:"Requirements"}),"\n",(0,a.jsx)(n.p,{children:"To get started, you'll need:"}),"\n",(0,a.jsxs)(n.ul,{children:["\n",(0,a.jsx)(n.li,{children:"A Unix like shell on macOS, Linux or Windows"}),"\n",(0,a.jsxs)(n.li,{children:["A ",(0,a.jsx)(n.code,{children:"divviup"})," binary (see instructions below)"]}),"\n",(0,a.jsxs)(n.li,{children:["A ",(0,a.jsx)(n.code,{children:"compose.yaml"})," (see instructions below)"]}),"\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.a,{href:"https://docs.docker.com/get-docker/",children:"Docker"})," and\n",(0,a.jsx)(n.a,{href:"https://docs.docker.com/compose/install/",children:"Docker Compose"}),"."]}),"\n"]}),"\n",(0,a.jsxs)(n.p,{children:["If you are unable to meet these requirements or would prefer to watch this\ntutorial being performed as a video see the\n",(0,a.jsx)(n.a,{href:"./command-line-video-demo",children:"command line video demo"})]}),"\n",(0,a.jsxs)(n.h3,{id:"install-divviup",children:["Install ",(0,a.jsx)(n.code,{children:"divviup"})]}),"\n",(0,a.jsxs)(n.p,{children:[(0,a.jsx)(n.code,{children:"divviup"})," is a command line (CLI) tool for doing basic operations on the Divvi\nUp and Distributed Aggregation Protocol (DAP) API endpoints. See\n",(0,a.jsx)(n.code,{children:"divviup --help"})," for details on all of the commands."]}),"\n",(0,a.jsxs)(n.p,{children:["The tool is available for download for macOS, Windows or Linux from the\n",(0,a.jsx)(n.a,{href:"https://github.com/divviup/divviup-api/releases",children:"divviup-api releases page"}),"."]}),"\n",(0,a.jsxs)(n.h3,{id:"download-composeyaml",children:["Download ",(0,a.jsx)(n.code,{children:"compose.yaml"})]}),"\n",(0,a.jsxs)(n.p,{children:["A ",(0,a.jsx)(n.code,{children:"compose.yaml"})," will be used to download and run all required containers to run\na Divvi Up environment."]}),"\n",(0,a.jsx)(n.p,{children:"Create a folder for this tutorial"}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-sh",children:"mkdir divviup-tutorial\ncd divviup-tutorial\n"})}),"\n",(0,a.jsxs)(n.p,{children:["And download the latest release of the ",(0,a.jsx)(n.code,{children:"compose.yaml"})," found on the\n",(0,a.jsx)(n.a,{href:"https://github.com/divviup/divviup-api/releases",children:"divviup-api releases page"}),"\npage."]}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-sh",children:"curl -L https://github.com/divviup/divviup-api/releases/latest/download/compose.yaml > compose.yaml\n"})}),"\n",(0,a.jsx)(n.h2,{id:"start-divvi-up",children:"Start Divvi Up"}),"\n",(0,a.jsxs)(n.p,{children:["First, get Divvi Up running locally. In your shell, navigate to the directory\ncontaining ",(0,a.jsx)(n.code,{children:"compose.yaml"})," and run:"]}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-sh",children:"docker compose up --wait\n"})}),"\n",(0,a.jsx)(n.p,{children:"This will:"}),"\n",(0,a.jsxs)(n.ul,{children:["\n",(0,a.jsx)(n.li,{children:"deploy two Janus aggregators to act as leader and helper in your tasks"}),"\n",(0,a.jsx)(n.li,{children:"deploy the Divvi Up control plane to coordinate the aggregators"}),"\n",(0,a.jsx)(n.li,{children:"pair the aggregators with the control plane to make them available for use in\ntask definitions"}),"\n",(0,a.jsx)(n.li,{children:'create an account named "demo"'}),"\n"]}),"\n",(0,a.jsx)(n.h2,{id:"configure-auth",children:"Configure Auth"}),"\n",(0,a.jsxs)(n.p,{children:["Set an environment variable to direct ",(0,a.jsx)(n.code,{children:"divviup"})," to use your local control plane\nand to use an empty API token:"]}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-sh",children:'export DIVVIUP_API_URL=http://localhost:8080\nexport DIVVIUP_TOKEN=""\n'})}),"\n",(0,a.jsx)(n.p,{children:"Next, obtain the ID of the demo account:"}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-sh",children:"divviup account list\n"})}),"\n",(0,a.jsx)(n.p,{children:'You should get a single account back with the name "demo", like this:'}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-json",children:'[\n {\n "id": "8ea1fc65-a669-48dd-96ac-c920fcb0ae90",\n "name": "demo",\n "created_at": "2024-06-14T22:48:00.683659Z",\n "updated_at": "2024-06-14T22:48:00.683659Z",\n "admin": false\n }\n]\n'})}),"\n",(0,a.jsx)(n.p,{children:"Now, set an environment variable for the account ID:"}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-sh",children:"# Substitute the account ID that was generated by your Divvi Up instance\nexport DIVVIUP_ACCOUNT_ID=8ea1fc65-a669-48dd-96ac-c920fcb0ae90\n"})}),"\n",(0,a.jsx)(n.h2,{id:"configure-leader-and-helper-aggregator",children:"Configure Leader and Helper Aggregator"}),"\n",(0,a.jsx)(n.p,{children:"List the aggregators and identify the ID of both a leader and a helper."}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-sh",children:"divviup aggregator list\n"})}),"\n",(0,a.jsx)(n.p,{children:"The output will contain JSON objects like:"}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-json",children:' {\n "id": "3650870b-56e6-4eac-8944-b7ca36569b33",\n "role": "Either",\n "name": "Divvi Up staging-dap-09-1",\n "dap_url": "https://staging-dap-09-1.api.example.com/",\n "api_url": "https://staging-dap-09-1.api.example.com/aggregator-api",\n "is_first_party": true,\n "vdafs": [\n "Prio3Count",\n "Prio3Sum",\n "Prio3Histogram",\n "Prio3SumVec"\n ],\n "query_types": [\n "TimeInterval",\n "FixedSize"\n ],\n "protocol": "DAP-09",\n "features": [\n "TokenHash",\n "TimeBucketedFixedSize",\n "UploadMetrics"\n ]\n },\n {\n "id": "96301951-c848-4a57-b4f5-32812e4db1be",\n "account_id": null,\n "created_at": "2024-03-21T22:47:15.467139Z",\n "updated_at": "2024-04-18T17:33:30.439465Z",\n "deleted_at": null,\n "role": "Either",\n "name": "Divvi Up staging-dap-09-2",\n "dap_url": "https://staging-dap-09-2.api.example.com/",\n "api_url": "https://staging-dap-09-2.api.example.com/aggregator-api",\n "is_first_party": false,\n "vdafs": [\n "Prio3Count",\n "Prio3Sum",\n "Prio3Histogram",\n "Prio3SumVec"\n ],\n "query_types": [\n "TimeInterval",\n "FixedSize"\n ],\n "protocol": "DAP-09",\n "features": [\n "TokenHash",\n "UploadMetrics",\n "TimeBucketedFixedSize"\n ]\n }\n'})}),"\n",(0,a.jsx)(n.p,{children:"Set the two IDs into environment variables. NOTE: These IDs will vary based on\nyour configuration."}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-sh",children:"# Substitute the leader and helper aggregator IDs that were generated by your Divvi Up instance\nexport LEADER_ID=3650870b-56e6-4eac-8944-b7ca36569b33\nexport HELPER_ID=96301951-c848-4a57-b4f5-32812e4db1be\n"})}),"\n",(0,a.jsx)(n.h2,{id:"collector-credential",children:"Collector Credential"}),"\n",(0,a.jsx)(n.p,{children:"Next, generate a collector-credential for the task. The collector credential\nwill be used by the collector to export the aggregated statistics."}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-sh",children:"divviup collector-credential generate --save\n"})}),"\n",(0,a.jsx)(n.p,{children:"The output will be like:"}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-sh",children:'{\n "id": "0a0f8ea8-b603-4416-b138-b7f217153bb7",\n "hpke_config": {\n "id": 144,\n "kem_id": "X25519HkdfSha256",\n "kdf_id": "HkdfSha256",\n "aead_id": "Aes128Gcm",\n "public_key": "V9IpdJxS91MHPiNTjwDk9DFS-5M_neVrPxlmvolmTTo"\n },\n "created_at": "2024-05-03T15:23:56.624726Z",\n "deleted_at": null,\n "updated_at": "2024-05-03T15:23:56.624727Z",\n "name": "collector-credential-144",\n "token_hash": "VItYJdAyWYIvooe8GzkGnVTvaMkvWc9G-eiwxudfWww",\n "token": "A6JDAYPiYDXmNyh-OpYXGw"\n}\n\nSaved new collector credential to /your/current/directory/collector-credential-144.json. Keep this file safe!\n'})}),"\n",(0,a.jsx)(n.admonition,{type:"warning",children:(0,a.jsx)(n.p,{children:"This credential isn't sensitive because it's only useful in your local instance\nof Divvi Up. But collector credentials generated against the production service\nshould be carefully managed. Consider using a password manager to protect them."})}),"\n",(0,a.jsx)(n.p,{children:"Make a note of the path where the credential was saved, and save the collector\ncredential ID to an environment variable."}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-sh",children:"# Substitute the collector credential path and ID that were generated by your Divvi Up instance\nexport COLLECTOR_CREDENTIAL_PATH=/your/current/directory/collector-credential-144.json\nexport COLLECTOR_CREDENTIAL_ID=0a0f8ea8-b603-4416-b138-b7f217153bb7\n"})}),"\n",(0,a.jsx)(n.h2,{id:"create-a-task",children:"Create a Task"}),"\n",(0,a.jsx)(n.p,{children:"Create the the histogram task. In this case the task is a set of values from 0\nto 10 for use in collecting a net-promoter score for a survey."}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-sh",children:" divviup task create --name net-promoter-score \\\n --leader-aggregator-id $LEADER_ID --helper-aggregator-id $HELPER_ID \\\n --collector-credential-id $COLLECTOR_CREDENTIAL_ID \\\n --vdaf histogram --categorical-buckets 0,1,2,3,4,5,6,7,8,9,10 \\\n --min-batch-size 100 --max-batch-size 200 --time-precision 60sec\n"})}),"\n",(0,a.jsx)(n.p,{children:"The output will contain a JSON object:"}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-json",children:'{\n "id": "Siwa4QTEnQXMfRPyhir8AzS4EBqfTebmEzKfvajDgYk",\n "account_id": "a9c571ba-5f3d-4814-8d8b-c5bb0f5030b7",\n "name": "net-promoter-score",\n "vdaf": {\n "type": "histogram",\n "buckets": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10"],\n "chunk_length": 4\n },\n "min_batch_size": 100,\n "max_batch_size": null,\n "created_at": "2024-05-03T15:27:56.229891Z",\n "updated_at": "2024-05-03T15:27:56.229891Z",\n "time_precision_seconds": 60,\n "report_count": 0,\n "aggregate_collection_count": 0,\n "expiration": "2025-05-03T15:27:55.88511Z",\n "leader_aggregator_id": "3650870b-56e6-4eac-8944-b7ca36569b33",\n "helper_aggregator_id": "96301951-c848-4a57-b4f5-32812e4db1be",\n "collector_credential_id": "0a0f8ea8-b603-4416-b138-b7f217153bb7",\n "report_counter_interval_collected": 0,\n "report_counter_decode_failure": 0,\n "report_counter_decrypt_failure": 0,\n "report_counter_expired": 0,\n "report_counter_outdated_key": 0,\n "report_counter_success": 0,\n "report_counter_too_early": 0,\n "report_counter_task_expired": 0\n}\n'})}),"\n",(0,a.jsx)(n.p,{children:"Save the ID of the task into an environment variable."}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-sh",children:"# Substitute the task ID that was generated by your Divvi Up instance\nexport TASK_ID=Siwa4QTEnQXMfRPyhir8AzS4EBqfTebmEzKfvajDgYk\n"})}),"\n",(0,a.jsx)(n.h2,{id:"upload-measurement-reports",children:"Upload Measurement Reports"}),"\n",(0,a.jsx)(n.p,{children:"Upload a random set of 150 measurements."}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-sh",children:"for i in {1..150}; do\n measurement=$(( $RANDOM % 10 ))\n divviup dap-client upload --task-id $TASK_ID --measurement $measurement;\ndone\n"})}),"\n",(0,a.jsx)(n.p,{children:"Wait a little while to let the aggregators run the aggregation jobs. Then, get\ncollection results:"}),"\n",(0,a.jsx)(n.h2,{id:"collect-the-aggregated-value",children:"Collect the Aggregated Value"}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-sh",children:"divviup dap-client collect \\\n --task-id $TASK_ID \\\n --collector-credential-file $COLLECTOR_CREDENTIAL_PATH \\\n --current-batch\n"})}),"\n",(0,a.jsx)(n.p,{children:"You will get a result like:"}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-sh",children:"Number of reports: 113\nInterval start: 2024-06-05 21:31:00 UTC\nInterval end: 2024-06-05 21:34:00 UTC\nInterval length: 180s\nAggregation result: [14, 10, 10, 13, 13, 8, 16, 13, 9, 7, 0]\ncollection: Collection { partial_batch_selector: PartialBatchSelector { batch_identifier: BatchId(wPLBlC6iHWp_YBBAYP_ig5nal0FOz1QlLSaC42U7sm0) }, report_count: 113, interval: (2024-06-05T21:31:00Z, TimeDelta { secs: 180, nanos: 0 }), aggregate_result: [14, 10, 10, 13, 13, 8, 16, 13, 9, 7, 0] }\n"})}),"\n",(0,a.jsx)(n.p,{children:'If you get an error like "The batch implied by the query is invalid", then the\naggregators are still working on processing your uploaded reports. Given them a\nfew more minutes.'}),"\n",(0,a.jsx)(n.p,{children:"If you get fewer reports in the collection than you uploaded, that's because you\nsent the collection request too soon and not all the reports were prepared yet.\nThose reports will be available in a later collection, after enough additional\nreports are uploaded to meet the minimum batch size."}),"\n",(0,a.jsx)(n.h2,{id:"next-steps",children:"Next Steps"}),"\n",(0,a.jsxs)(n.p,{children:["Congratulations! You've just used secure multi-party computation to do a\nprivacy-preserving aggregation over secret shares of measurements. Now you can\ntry experimenting with different tasks. Try creating different histograms with\ndifferent numbers of buckets, or see if you can use ",(0,a.jsx)(n.code,{children:"Prio3SumVec"})," to compute\nsums over bit vectors."]})]})}function h(e={}){const{wrapper:n}={...(0,i.a)(),...e.components};return n?(0,a.jsx)(n,{...e,children:(0,a.jsx)(d,{...e})}):d(e)}},1151:(e,n,t)=>{t.d(n,{Z:()=>l,a:()=>o});var a=t(7294);const i={},r=a.createContext(i);function o(e){const n=a.useContext(r);return a.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:o(e.components),a.createElement(r.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/assets/js/main.1a97efdb.js b/assets/js/main.1a97efdb.js
deleted file mode 100644
index cd7bba2..0000000
--- a/assets/js/main.1a97efdb.js
+++ /dev/null
@@ -1,2 +0,0 @@
-/*! For license information please see main.1a97efdb.js.LICENSE.txt */
-(self.webpackChunkpublic_docs=self.webpackChunkpublic_docs||[]).push([[179],{723:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});n(7294);var r=n(8356),o=n.n(r),a=n(6887);const i={"08268e2c":[()=>n.e(887).then(n.bind(n,3589)),"@site/docs/references/janus-errors.md",3589],"0e384e19":[()=>n.e(671).then(n.bind(n,6003)),"@site/docs/intro.md",6003],"151e8182":[()=>n.e(687).then(n.bind(n,7653)),"@site/docs/product-documentation/operational-metrics.md",7653],17896441:[()=>Promise.all([n.e(532),n.e(918)]).then(n.bind(n,9762)),"@theme/DocItem",9762],"22dd74f7":[()=>n.e(980).then(n.t.bind(n,5904,19)),"@generated/docusaurus-plugin-content-docs/default/p/index-466.json",5904],"5e95c892":[()=>n.e(661).then(n.bind(n,1892)),"@theme/DocsRoot",1892],76183543:[()=>n.e(727).then(n.bind(n,4788)),"@site/docs/how-it-works.md",4788],"846bd6ee":[()=>Promise.all([n.e(532),n.e(433)]).then(n.bind(n,5062)),"@site/docs/references/references.md",5062],"96f8aff4":[()=>Promise.all([n.e(532),n.e(262)]).then(n.bind(n,6757)),"@site/docs/product-documentation/product-documentation.mdx",6757],"9f6ba728":[()=>n.e(826).then(n.bind(n,2857)),"@site/docs/product-documentation/categorical-histogram-dap-04.md",2857],a7bd4aaa:[()=>n.e(518).then(n.bind(n,8564)),"@theme/DocVersionRoot",8564],a94703ab:[()=>Promise.all([n.e(532),n.e(368)]).then(n.bind(n,2674)),"@theme/DocRoot",2674],aba21aa0:[()=>n.e(629).then(n.t.bind(n,1765,19)),"@generated/docusaurus-plugin-content-docs/default/__plugin.json",1765],d62d0f31:[()=>n.e(474).then(n.bind(n,2352)),"@site/docs/command-line-tutorial.md",2352],eae929fd:[()=>n.e(162).then(n.bind(n,139)),"@site/docs/references/glossary.md",139]};var l=n(5893);function s(e){let{error:t,retry:n,pastDelay:r}=e;return t?(0,l.jsxs)("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"},children:[(0,l.jsx)("p",{children:String(t)}),(0,l.jsx)("div",{children:(0,l.jsx)("button",{type:"button",onClick:n,children:"Retry"})})]}):r?(0,l.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,l.jsx)("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb",children:(0,l.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2",children:[(0,l.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,l.jsx)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,l.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,l.jsx)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,l.jsx)("circle",{cx:"22",cy:"22",r:"8",children:(0,l.jsx)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})})]})})}):null}var u=n(9670),c=n(226);function d(e,t){if("*"===e)return o()({loading:s,loader:()=>n.e(772).then(n.bind(n,1772)),modules:["@theme/NotFound"],webpack:()=>[1772],render(e,t){const n=e.default;return(0,l.jsx)(c.z,{value:{plugin:{name:"native",id:"default"}},children:(0,l.jsx)(n,{...t})})}});const r=a[`${e}-${t}`],d={},p=[],f=[],m=(0,u.Z)(r);return Object.entries(m).forEach((e=>{let[t,n]=e;const r=i[n];r&&(d[t]=r[0],p.push(r[1]),f.push(r[2]))})),o().Map({loading:s,loader:d,modules:p,webpack:()=>f,render(t,n){const o=JSON.parse(JSON.stringify(r));Object.entries(t).forEach((t=>{let[n,r]=t;const a=r.default;if(!a)throw new Error(`The page component at ${e} doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.`);"object"!=typeof a&&"function"!=typeof a||Object.keys(r).filter((e=>"default"!==e)).forEach((e=>{a[e]=r[e]}));let i=o;const l=n.split(".");l.slice(0,-1).forEach((e=>{i=i[e]})),i[l[l.length-1]]=a}));const a=o.__comp;delete o.__comp;const i=o.__context;delete o.__context;const s=o.__props;return delete o.__props,(0,l.jsx)(c.z,{value:i,children:(0,l.jsx)(a,{...o,...s,...n})})}})}const p=[{path:"/",component:d("/","152"),routes:[{path:"/",component:d("/","8eb"),routes:[{path:"/",component:d("/","e07"),routes:[{path:"/command-line-tutorial",component:d("/command-line-tutorial","273"),exact:!0,sidebar:"docSidebar"},{path:"/glossary",component:d("/glossary","7ac"),exact:!0,sidebar:"docSidebar"},{path:"/how-it-works",component:d("/how-it-works","7bf"),exact:!0,sidebar:"docSidebar"},{path:"/product-documentation/",component:d("/product-documentation/","aed"),exact:!0,sidebar:"docSidebar"},{path:"/product-documentation/categorical-histogram-dap-04",component:d("/product-documentation/categorical-histogram-dap-04","e68"),exact:!0,sidebar:"docSidebar"},{path:"/product-documentation/operational-metrics",component:d("/product-documentation/operational-metrics","2b1"),exact:!0,sidebar:"docSidebar"},{path:"/references/",component:d("/references/","2de"),exact:!0,sidebar:"docSidebar"},{path:"/references/janus-errors",component:d("/references/janus-errors","2b0"),exact:!0,sidebar:"docSidebar"},{path:"/",component:d("/","e5d"),exact:!0,sidebar:"docSidebar"}]}]}]},{path:"*",component:d("*")}]},8934:(e,t,n)=>{"use strict";n.d(t,{_:()=>a,t:()=>i});var r=n(7294),o=n(5893);const a=r.createContext(!1);function i(e){let{children:t}=e;const[n,i]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{i(!0)}),[]),(0,o.jsx)(a.Provider,{value:n,children:t})}},7221:(e,t,n)=>{"use strict";var r=n(7294),o=n(745),a=n(405),i=n(3727),l=n(6809),s=n(412);const u=[n(2497),n(3310),n(8320),n(2295)];var c=n(723),d=n(6550),p=n(8790),f=n(5893);function m(e){let{children:t}=e;return(0,f.jsx)(f.Fragment,{children:t})}var g=n(5742),h=n(2263),y=n(4996),b=n(6668),v=n(1944),w=n(4711),k=n(9727),x=n(3320),S=n(8780),E=n(197);function C(){const{i18n:{currentLocale:e,defaultLocale:t,localeConfigs:n}}=(0,h.Z)(),r=(0,w.l)(),o=n[e].htmlLang,a=e=>e.replace("-","_");return(0,f.jsxs)(g.Z,{children:[Object.entries(n).map((e=>{let[t,{htmlLang:n}]=e;return(0,f.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:n},t)})),(0,f.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:"x-default"}),(0,f.jsx)("meta",{property:"og:locale",content:a(o)}),Object.values(n).filter((e=>o!==e.htmlLang)).map((e=>(0,f.jsx)("meta",{property:"og:locale:alternate",content:a(e.htmlLang)},`meta-og-${e.htmlLang}`)))]})}function _(e){let{permalink:t}=e;const{siteConfig:{url:n}}=(0,h.Z)(),r=function(){const{siteConfig:{url:e,baseUrl:t,trailingSlash:n}}=(0,h.Z)(),{pathname:r}=(0,d.TH)();return e+(0,S.applyTrailingSlash)((0,y.ZP)(r),{trailingSlash:n,baseUrl:t})}(),o=t?`${n}${t}`:r;return(0,f.jsxs)(g.Z,{children:[(0,f.jsx)("meta",{property:"og:url",content:o}),(0,f.jsx)("link",{rel:"canonical",href:o})]})}function T(){const{i18n:{currentLocale:e}}=(0,h.Z)(),{metadata:t,image:n}=(0,b.L)();return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(g.Z,{children:[(0,f.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,f.jsx)("body",{className:k.h})]}),n&&(0,f.jsx)(v.d,{image:n}),(0,f.jsx)(_,{}),(0,f.jsx)(C,{}),(0,f.jsx)(E.Z,{tag:x.HX,locale:e}),(0,f.jsx)(g.Z,{children:t.map(((e,t)=>(0,f.jsx)("meta",{...e},t)))})]})}const j=new Map;var L=n(8934),A=n(8940),N=n(469);function P(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r{const r=t.default?.[e]??t[e];return r?.(...n)}));return()=>o.forEach((e=>e?.()))}const R=function(e){let{children:t,location:n,previousLocation:r}=e;return(0,N.Z)((()=>{r!==n&&(!function(e){let{location:t,previousLocation:n}=e;if(!n)return;const r=t.pathname===n.pathname,o=t.hash===n.hash,a=t.search===n.search;if(r&&o&&!a)return;const{hash:i}=t;if(i){const e=decodeURIComponent(i.substring(1)),t=document.getElementById(e);t?.scrollIntoView()}else window.scrollTo(0,0)}({location:n,previousLocation:r}),P("onRouteDidUpdate",{previousLocation:r,location:n}))}),[r,n]),t};function O(e){const t=Array.from(new Set([e,decodeURI(e)])).map((e=>(0,p.f)(c.Z,e))).flat();return Promise.all(t.map((e=>e.route.component.preload?.())))}class D extends r.Component{previousLocation;routeUpdateCleanupCb;constructor(e){super(e),this.previousLocation=null,this.routeUpdateCleanupCb=s.Z.canUseDOM?P("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,t){if(e.location===this.props.location)return t.nextRouteHasLoaded;const n=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=P("onRouteUpdate",{previousLocation:this.previousLocation,location:n}),O(n.pathname).then((()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})})).catch((e=>{console.warn(e),window.location.reload()})),!1}render(){const{children:e,location:t}=this.props;return(0,f.jsx)(R,{previousLocation:this.previousLocation,location:t,children:(0,f.jsx)(d.AW,{location:t,render:()=>e})})}}const I=D,F="__docusaurus-base-url-issue-banner-container",M="__docusaurus-base-url-issue-banner",z="__docusaurus-base-url-issue-banner-suggestion-container";function B(e){return`\ndocument.addEventListener('DOMContentLoaded', function maybeInsertBanner() {\n var shouldInsert = typeof window['docusaurus'] === 'undefined';\n shouldInsert && insertBanner();\n});\n\nfunction insertBanner() {\n var bannerContainer = document.createElement('div');\n bannerContainer.id = '${F}';\n var bannerHtml = ${JSON.stringify(function(e){return`\n