From 28d2665ae01b21ecae663d44310a61d2588eda64 Mon Sep 17 00:00:00 2001 From: gh actions bot Date: Wed, 20 Mar 2024 07:24:51 +0000 Subject: [PATCH] deploy --- assets/Home.e9688d60.js | 1 + assets/app.10186cb7.js | 1 + assets/guide_index.md.7232036b.js | 18 +++++++++ assets/guide_index.md.7232036b.lean.js | 1 + assets/index.md.2ffb4990.js | 1 + assets/index.md.2ffb4990.lean.js | 1 + assets/install_index.md.3c7d9f6e.js | 8 ++++ assets/install_index.md.3c7d9f6e.lean.js | 1 + assets/observations_index.md.32abe419.js | 1 + assets/observations_index.md.32abe419.lean.js | 1 + assets/plugin-vue_export-helper.05763f57.js | 1 + assets/style.9dd27658.css | 1 + guide/index.html | 40 +++++++++++++++++++ index.html | 23 +++++++++++ install/index.html | 30 ++++++++++++++ observations/index.html | 23 +++++++++++ 16 files changed, 152 insertions(+) create mode 100644 assets/Home.e9688d60.js create mode 100644 assets/app.10186cb7.js create mode 100644 assets/guide_index.md.7232036b.js create mode 100644 assets/guide_index.md.7232036b.lean.js create mode 100644 assets/index.md.2ffb4990.js create mode 100644 assets/index.md.2ffb4990.lean.js create mode 100644 assets/install_index.md.3c7d9f6e.js create mode 100644 assets/install_index.md.3c7d9f6e.lean.js create mode 100644 assets/observations_index.md.32abe419.js create mode 100644 assets/observations_index.md.32abe419.lean.js create mode 100644 assets/plugin-vue_export-helper.05763f57.js create mode 100644 assets/style.9dd27658.css create mode 100644 guide/index.html create mode 100644 index.html create mode 100644 install/index.html create mode 100644 observations/index.html diff --git a/assets/Home.e9688d60.js b/assets/Home.e9688d60.js new file mode 100644 index 0000000..4665a40 --- /dev/null +++ b/assets/Home.e9688d60.js @@ -0,0 +1 @@ +import{u as y,w as F,N as x}from"./app.10186cb7.js";import{_ as m,u as h,n as i,z as e,x as o,y as a,D as c,A as r,C as l,F as g,M as I,N as L,T as A,O as d,P as k}from"./plugin-vue_export-helper.05763f57.js";const C={key:0,class:"home-hero"},N={key:0,class:"figure"},B=["src","alt"],w={key:1,id:"main-title",class:"title"},D={key:2,class:"tagline"},V=h({setup(p){const{site:s,frontmatter:t}=y(),_=i(()=>{const{heroImage:n,heroText:u,tagline:$,actionLink:H,actionText:T}=t.value;return n||u||$||H&&T}),v=i(()=>t.value.heroText||s.value.title),f=i(()=>t.value.tagline||s.value.description);return(n,u)=>e(_)?(o(),a("header",C,[e(t).heroImage?(o(),a("figure",N,[c("img",{class:"image",src:e(F)(e(t).heroImage),alt:e(t).heroAlt},null,8,B)])):r("",!0),e(v)?(o(),a("h1",w,l(e(v)),1)):r("",!0),e(f)?(o(),a("p",D,l(e(f)),1)):r("",!0),e(t).actionLink&&e(t).actionText?(o(),g(x,{key:3,item:{link:e(t).actionLink,text:e(t).actionText},class:"action"},null,8,["item"])):r("",!0),e(t).altActionLink&&e(t).altActionText?(o(),g(x,{key:4,item:{link:e(t).altActionLink,text:e(t).altActionText},class:"action alt"},null,8,["item"])):r("",!0)])):r("",!0)}});var b=m(V,[["__scopeId","data-v-370f18c0"]]);const S={key:0,class:"home-features"},z={class:"wrapper"},E={class:"container"},M={class:"features"},O={key:0,class:"title"},P={key:1,class:"details"},j=h({setup(p){const{frontmatter:s}=y(),t=i(()=>s.value.features&&s.value.features.length>0),_=i(()=>s.value.features?s.value.features:[]);return(v,f)=>e(t)?(o(),a("div",S,[c("div",z,[c("div",E,[c("div",M,[(o(!0),a(I,null,L(e(_),(n,u)=>(o(),a("section",{key:u,class:"feature"},[n.title?(o(),a("h2",O,l(n.title),1)):r("",!0),n.details?(o(),a("p",P,l(n.details),1)):r("",!0)]))),128))])])])])):r("",!0)}});var q=m(j,[["__scopeId","data-v-e39c13e0"]]);const G={key:0,class:"footer"},J={class:"container"},K={class:"text"},Q=h({setup(p){const{frontmatter:s}=y();return(t,_)=>e(s).footer?(o(),a("footer",G,[c("div",J,[c("p",K,l(e(s).footer),1)])])):r("",!0)}});var R=m(Q,[["__scopeId","data-v-30918238"]]);const U={class:"home","aria-labelledby":"main-title"},W={class:"home-content"},X=h({setup(p){return(s,t)=>{const _=A("Content");return o(),a("main",U,[d(b),k(s.$slots,"hero",{},void 0,!0),d(q),c("div",W,[d(_)]),k(s.$slots,"features",{},void 0,!0),d(R),k(s.$slots,"footer",{},void 0,!0)])}}});var ee=m(X,[["__scopeId","data-v-10122c92"]]);export{ee as default}; diff --git a/assets/app.10186cb7.js b/assets/app.10186cb7.js new file mode 100644 index 0000000..469bd1b --- /dev/null +++ b/assets/app.10186cb7.js @@ -0,0 +1 @@ +import{e as tt,i as D,a as nt,b as st,c as ot,d as rt,f as ye,h as Se,g as at,j as it,k as ct,l as Ee,m as lt,s as ut,r as dt,n as h,o as Ce,p as ft,q as G,t as pt,w as ht,u as $,v as N,_ as L,x as d,y as p,z as c,A as b,B as ee,C as A,D as f,E as Ae,F as C,G as Pe,H as Te,I as Re,J as q,K as W,L as M,M as z,N as te,O as g,P as k,Q as B,R as _t,S as Ne,T as X,U as vt,V as P}from"./plugin-vue_export-helper.05763f57.js";const mt="modulepreload",ie={},gt="/cli/",Ie=function(t,n){return!n||n.length===0?t():Promise.all(n.map(s=>{if(s=`${gt}${s}`,s in ie)return;ie[s]=!0;const o=s.endsWith(".css"),r=o?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${s}"]${r}`))return;const a=document.createElement("link");if(a.rel=o?"stylesheet":mt,o||(a.as="script",a.crossOrigin=""),a.href=s,document.head.appendChild(a),o)return new Promise((i,u)=>{a.addEventListener("load",i),a.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${s}`)))})})).then(()=>t())},bt="http://www.w3.org/2000/svg",I=typeof document!="undefined"?document:null,ce=new Map,$t={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const o=t?I.createElementNS(bt,e):I.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:e=>I.createTextNode(e),createComment:e=>I.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>I.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,s){const o=n?n.previousSibling:t.lastChild;let r=ce.get(e);if(!r){const a=I.createElement("template");if(a.innerHTML=s?`${e}`:e,r=a.content,s){const i=r.firstChild;for(;i.firstChild;)r.appendChild(i.firstChild);r.removeChild(i)}ce.set(e,r)}return t.insertBefore(r.cloneNode(!0),n),[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function wt(e,t,n){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function kt(e,t,n){const s=e.style,o=D(n);if(n&&!o){for(const r in n)Y(s,r,n[r]);if(t&&!D(t))for(const r in t)n[r]==null&&Y(s,r,"")}else{const r=s.display;o?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=r)}}const le=/\s*!important$/;function Y(e,t,n){if(ye(n))n.forEach(s=>Y(e,t,s));else if(t.startsWith("--"))e.setProperty(t,n);else{const s=Lt(e,t);le.test(n)?e.setProperty(Se(s),n.replace(le,""),"important"):e[s]=n}}const ue=["Webkit","Moz","ms"],K={};function Lt(e,t){const n=K[t];if(n)return n;let s=at(t);if(s!=="filter"&&s in e)return K[t]=s;s=it(s);for(let o=0;odocument.createEvent("Event").timeStamp&&(U=()=>performance.now());const e=navigator.userAgent.match(/firefox\/(\d+)/i);He=!!(e&&Number(e[1])<=53)}let Q=0;const St=Promise.resolve(),Et=()=>{Q=0},Ct=()=>Q||(St.then(Et),Q=U());function At(e,t,n,s){e.addEventListener(t,n,s)}function Pt(e,t,n,s){e.removeEventListener(t,n,s)}function Tt(e,t,n,s,o=null){const r=e._vei||(e._vei={}),a=r[t];if(s&&a)a.value=s;else{const[i,u]=Rt(t);if(s){const l=r[t]=Nt(s,o);At(e,i,l,u)}else a&&(Pt(e,i,a,u),r[t]=void 0)}}const fe=/(?:Once|Passive|Capture)$/;function Rt(e){let t;if(fe.test(e)){t={};let n;for(;n=e.match(fe);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[Se(e.slice(2)),t]}function Nt(e,t){const n=s=>{const o=s.timeStamp||U();(He||o>=n.attached-1)&<(It(s,n.value),t,5,[s])};return n.value=e,n.attached=Ct(),n}function It(e,t){if(ye(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>o=>!o._stopped&&s(o))}else return t}const pe=/^on[a-z]/,Ht=(e,t,n,s,o=!1,r,a,i,u)=>{t==="class"?wt(e,s,o):t==="style"?kt(e,n,s):nt(t)?st(t)||Tt(e,t,n,s,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Bt(e,t,s,o))?yt(e,t,s,r,a,i,u):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),xt(e,t,s,o))};function Bt(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&pe.test(t)&&ot(n)):t==="spellcheck"||t==="draggable"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||pe.test(t)&&D(n)?!1:t in e}const Ot=tt({patchProp:Ht},$t);let J,he=!1;function Dt(){return J=he?J:rt(Ot),he=!0,J}const Mt=(...e)=>{const t=Dt().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=Ut(s);if(o)return n(o,!0,o instanceof SVGElement)},t};function Ut(e){return D(e)?document.querySelector(e):e}var jt='{"lang":"en-US","title":"Arcsecond CLI","description":"The command-line / Python module of Arcsecond.io.","base":"/cli/","head":[],"themeConfig":{"nav":[{"text":"Home","link":"/"},{"text":"Install & Setup","link":"/install/"},{"text":"Basic Usage Guide","link":"/guide/"},{"text":"Plan Observations","link":"/observations/"},{"text":"Arcsecond Docs","link":"https://docs.arcsecond.io"}]},"locales":{},"langs":{}}';const Be=/^https?:/i,S=typeof window!="undefined";function qt(e,t){t.sort((n,s)=>{const o=s.split("/").length-n.split("/").length;return o!==0?o:s.length-n.length});for(const n of t)if(e.startsWith(n))return n}function _e(e,t){const n=qt(t,Object.keys(e));return n?e[n]:void 0}function Wt(e){const{locales:t}=e.themeConfig||{},n=e.locales;return t&&n?Object.keys(t).reduce((s,o)=>(s[o]={label:t[o].label,lang:n[o].lang},s),{}):{}}function zt(e,t){t=Ft(e,t);const n=_e(e.locales||{},t),s=_e(e.themeConfig.locales||{},t);return Object.assign({},e,n,{themeConfig:Object.assign({},e.themeConfig,s,{locales:{}}),lang:(n||e).lang,locales:{},langs:Wt(e)})}function Ft(e,t){if(!S)return t;const n=e.base,s=n.endsWith("/")?n.slice(0,-1):n;return t.slice(s.length)}const Oe=Symbol(),De=ut(Gt(jt));function Gt(e){return dt(JSON.parse(e))}function Kt(e){const t=h(()=>zt(De.value,e.path));return{site:t,theme:h(()=>t.value.themeConfig),page:h(()=>e.data),frontmatter:h(()=>e.data.frontmatter),lang:h(()=>t.value.lang),localePath:h(()=>{const{langs:n,lang:s}=t.value,o=Object.keys(n).find(r=>n[r].lang===s);return H(o||"/")}),title:h(()=>e.data.title?e.data.title+" | "+t.value.title:t.value.title),description:h(()=>e.data.description||t.value.description)}}function E(){const e=Ce(Oe);if(!e)throw new Error("vitepress data not properly injected in app");return e}function Jt(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function H(e){return Be.test(e)?e:Jt(De.value.base,e)}function Me(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t.endsWith("/")&&(t+="index"),S){const n="/cli/";t=t.slice(n.length).replace(/\//g,"_")+".md";const s=__VP_HASH_MAP__[t.toLowerCase()];t=`${n}assets/${t}.${s}.js`}else t=`./${t.slice(1).replace(/\//g,"_")}.md.js`;return t}const Ue=Symbol(),ve="http://a.com",Vt=()=>({path:"/",component:null,data:{frontmatter:{}}});function Xt(e,t){const n=ft(Vt());function s(a=S?location.href:"/"){const i=new URL(a,ve);return!i.pathname.endsWith("/")&&!i.pathname.endsWith(".html")&&(i.pathname+=".html",a=i.pathname+i.search+i.hash),S&&(history.replaceState({scrollPosition:window.scrollY},document.title),history.pushState(null,"",a)),r(a)}let o=null;async function r(a,i=0){const u=new URL(a,ve),l=o=u.pathname;try{let _=e(l);if("then"in _&&typeof _.then=="function"&&(_=await _),o===l){o=null;const{default:v,__pageData:x}=_;if(!v)throw new Error(`Invalid route component: ${v}`);n.path=l,n.component=G(v),n.data=G(JSON.parse(x)),S&&pt(()=>{if(u.hash&&!i){let w=null;try{w=document.querySelector(decodeURIComponent(u.hash))}catch(y){console.warn(y)}if(w){me(w,u.hash);return}}window.scrollTo(0,i)})}}catch(_){_.message.match(/fetch/)||console.error(_),o===l&&(o=null,n.path=l,n.component=t?G(t):null)}}return S&&(window.addEventListener("click",a=>{const i=a.target.closest("a");if(i){const{href:u,protocol:l,hostname:_,pathname:v,hash:x,target:w}=i,y=window.location,R=v.match(/\.\w+$/);!a.ctrlKey&&!a.shiftKey&&!a.altKey&&!a.metaKey&&w!=="_blank"&&l===y.protocol&&_===y.hostname&&!(R&&R[0]!==".html")&&(a.preventDefault(),v===y.pathname?x&&x!==y.hash&&(history.pushState(null,"",x),window.dispatchEvent(new Event("hashchange")),me(i,x,i.classList.contains("header-anchor"))):s(u))}},{capture:!0}),window.addEventListener("popstate",a=>{r(location.href,a.state&&a.state.scrollPosition||0)}),window.addEventListener("hashchange",a=>{a.preventDefault()})),{route:n,go:s}}function Yt(){const e=Ce(Ue);if(!e)throw new Error("useRouter() is called without provider.");return e}function T(){return Yt().route}function me(e,t,n=!1){let s=null;try{s=e.classList.contains(".header-anchor")?e:document.querySelector(decodeURIComponent(t))}catch(o){console.warn(o)}if(s){const o=s.offsetTop;!n||Math.abs(o-window.scrollY)>window.innerHeight?window.scrollTo(0,o):window.scrollTo({left:0,top:o,behavior:"smooth"})}}function Qt(e,t){let n=[],s=!0;const o=r=>{if(s){s=!1;return}const a=[],i=Math.min(n.length,r.length);for(let u=0;udocument.head.removeChild(u)),r.slice(i).forEach(u=>{const l=ge(u);document.head.appendChild(l),a.push(l)}),n=a};ht(()=>{const r=e.data,a=t.value,i=r&&r.title,u=r&&r.description,l=r&&r.frontmatter.head;document.title=(i?i+" | ":"")+a.title,document.querySelector("meta[name=description]").setAttribute("content",u||a.description),o([...l?en(l):[]])})}function ge([e,t,n]){const s=document.createElement(e);for(const o in t)s.setAttribute(o,t[o]);return n&&(s.innerHTML=n),s}function Zt(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function en(e){return e.filter(t=>!Zt(t))}const tn=$({name:"VitePressContent",setup(){const e=T();return()=>N("div",{style:{position:"relative"}},[e.component?N(e.component):null])}});const nn=/#.*$/,sn=/(index)?\.(md|html)$/,j=/\/$/,on=/^[a-z]+:/i;function ne(e){return Array.isArray(e)}function se(e){return on.test(e)}function rn(e,t){if(t===void 0)return!1;const n=be(`/${e.data.relativePath}`),s=be(t);return n===s}function be(e){return decodeURI(e).replace(nn,"").replace(sn,"")}function an(e,t){const n=e.endsWith("/"),s=t.startsWith("/");return n&&s?e.slice(0,-1)+t:!n&&!s?`${e}/${t}`:e+t}function Z(e){return/^\//.test(e)?e:`/${e}`}function je(e){return e.replace(/(index)?(\.(md|html))?$/,"")||"/"}function cn(e){return e===!1||e==="auto"||ne(e)}function ln(e){return e.children!==void 0}function un(e){return ne(e)?e.length===0:!e}function oe(e,t){if(cn(e))return e;t=Z(t);for(const n in e)if(t.startsWith(Z(n)))return e[n];return"auto"}function qe(e){return e.reduce((t,n)=>(n.link&&t.push({text:n.text,link:je(n.link)}),ln(n)&&(t=[...t,...qe(n.children)]),t),[])}const dn=["href","aria-label"],fn=["src"],pn=$({setup(e){const{site:t,theme:n,localePath:s}=E();return(o,r)=>(d(),p("a",{class:"nav-bar-title",href:c(s),"aria-label":`${c(t).title}, back to home`},[c(n).logo?(d(),p("img",{key:0,class:"logo",src:c(H)(c(n).logo),alt:"Logo"},null,8,fn)):b("",!0),ee(" "+A(c(t).title),1)],8,dn))}});var hn=L(pn,[["__scopeId","data-v-cc01ef16"]]);function _n(){const{site:e,localePath:t,theme:n}=E();return h(()=>{const s=e.value.langs,o=Object.keys(s);if(o.length<2)return null;const a=T().path.replace(t.value,""),i=o.map(l=>({text:s[l].label,link:`${l}${a}`}));return{text:n.value.selectText||"Languages",items:i}})}const vn=["GitHub","GitLab","Bitbucket"].map(e=>[e,new RegExp(e,"i")]);function mn(){const{site:e}=E();return h(()=>{const t=e.value.themeConfig,n=t.docsRepo||t.repo;if(!n)return null;const s=gn(n);return{text:bn(s,t.repoLabel),link:s}})}function gn(e){return Be.test(e)?e:`https://github.com/${e}`}function bn(e,t){if(t)return t;const n=e.match(/^https?:\/\/[^/]+/);if(!n)return"Source";const s=vn.find(([o,r])=>r.test(n[0]));return s&&s[0]?s[0]:"Source"}function We(e){const t=T(),n=se(e.value.link);return{props:h(()=>{const o=$e(`/${t.data.relativePath}`);let r=!1;if(e.value.activeMatch)r=new RegExp(e.value.activeMatch).test(o);else{const a=$e(e.value.link);r=a==="/"?a===o:o.startsWith(a)}return{class:{active:r,isExternal:n},href:n?e.value.link:H(e.value.link),target:e.value.target||(n?"_blank":null),rel:e.value.rel||(n?"noopener noreferrer":null),"aria-label":e.value.ariaLabel}}),isExternal:n}}function $e(e){return e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\.(html|md)$/,"").replace(/\/index$/,"/")}const $n={},wn={class:"icon outbound",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",x:"0px",y:"0px",viewBox:"0 0 100 100",width:"15",height:"15"},kn=f("path",{fill:"currentColor",d:"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"},null,-1),Ln=f("polygon",{fill:"currentColor",points:"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"},null,-1),xn=[kn,Ln];function yn(e,t){return d(),p("svg",wn,xn)}var re=L($n,[["render",yn]]);const Sn={class:"nav-link"},En=$({props:{item:null},setup(e){const n=Ae(e),{props:s,isExternal:o}=We(n.item);return(r,a)=>(d(),p("div",Sn,[f("a",Pe({class:"item"},c(s)),[ee(A(e.item.text)+" ",1),c(o)?(d(),C(re,{key:0})):b("",!0)],16)]))}});var we=L(En,[["__scopeId","data-v-b8818f8c"]]);const Cn=e=>(Te("data-v-bbc27490"),e=e(),Re(),e),An={class:"nav-dropdown-link-item"},Pn=Cn(()=>f("span",{class:"arrow"},null,-1)),Tn={class:"text"},Rn={class:"icon"},Nn=$({props:{item:null},setup(e){const n=Ae(e),{props:s,isExternal:o}=We(n.item);return(r,a)=>(d(),p("div",An,[f("a",Pe({class:"item"},c(s)),[Pn,f("span",Tn,A(e.item.text),1),f("span",Rn,[c(o)?(d(),C(re,{key:0})):b("",!0)])],16)]))}});var In=L(Nn,[["__scopeId","data-v-bbc27490"]]);const Hn=["aria-label"],Bn={class:"button-text"},On={class:"dialog"},Dn=$({props:{item:null},setup(e){const t=T(),n=q(!1);W(()=>t.path,()=>{n.value=!1});function s(){n.value=!n.value}return(o,r)=>(d(),p("div",{class:M(["nav-dropdown-link",{open:n.value}])},[f("button",{class:"button","aria-label":e.item.ariaLabel,onClick:s},[f("span",Bn,A(e.item.text),1),f("span",{class:M(["button-arrow",n.value?"down":"right"])},null,2)],8,Hn),f("ul",On,[(d(!0),p(z,null,te(e.item.items,a=>(d(),p("li",{key:a.text,class:"dialog-item"},[g(In,{item:a},null,8,["item"])]))),128))])],2))}});var ke=L(Dn,[["__scopeId","data-v-56bf3a3f"]]);const Mn={key:0,class:"nav-links"},Un={key:1,class:"item"},jn={key:2,class:"item"},qn=$({setup(e){const{theme:t}=E(),n=_n(),s=mn(),o=h(()=>t.value.nav||s.value||n.value);return(r,a)=>c(o)?(d(),p("nav",Mn,[c(t).nav?(d(!0),p(z,{key:0},te(c(t).nav,i=>(d(),p("div",{key:i.text,class:"item"},[i.items?(d(),C(ke,{key:0,item:i},null,8,["item"])):(d(),C(we,{key:1,item:i},null,8,["item"]))]))),128)):b("",!0),c(n)?(d(),p("div",Un,[g(ke,{item:c(n)},null,8,["item"])])):b("",!0),c(s)?(d(),p("div",jn,[g(we,{item:c(s)},null,8,["item"])])):b("",!0)])):b("",!0)}});var ze=L(qn,[["__scopeId","data-v-eab3edfe"]]);const Wn={emits:["toggle"]},zn=f("svg",{class:"icon",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",viewBox:"0 0 448 512"},[f("path",{fill:"currentColor",d:"M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z",class:""})],-1),Fn=[zn];function Gn(e,t,n,s,o,r){return d(),p("div",{class:"sidebar-button",onClick:t[0]||(t[0]=a=>e.$emit("toggle"))},Fn)}var Kn=L(Wn,[["render",Gn]]);const Jn=e=>(Te("data-v-675d8756"),e=e(),Re(),e),Vn={class:"nav-bar"},Xn=Jn(()=>f("div",{class:"flex-grow"},null,-1)),Yn={class:"nav"},Qn=$({emits:["toggle"],setup(e){return(t,n)=>(d(),p("header",Vn,[g(Kn,{onToggle:n[0]||(n[0]=s=>t.$emit("toggle"))}),g(hn),Xn,f("div",Yn,[g(ze)]),k(t.$slots,"search",{},void 0,!0)]))}});var Zn=L(Qn,[["__scopeId","data-v-675d8756"]]);function es(){let e=null,t=null;const n=rs(s,300);function s(){const a=ts(),i=ns(a);for(let u=0;u ul > li");i&&i!==t.parentElement?(e=i.querySelector("a"),e&&e.classList.add("active")):e=null}function r(a){a&&a.classList.remove("active")}B(()=>{s(),window.addEventListener("scroll",n)}),_t(()=>{o(decodeURIComponent(location.hash))}),Ne(()=>{window.removeEventListener("scroll",n)})}function ts(){return[].slice.call(document.querySelectorAll(".sidebar a.sidebar-link-item"))}function ns(e){return[].slice.call(document.querySelectorAll(".header-anchor")).filter(t=>e.some(n=>n.hash===t.hash))}function ss(){return document.querySelector(".nav-bar").offsetHeight}function Le(e){const t=ss();return e.parentElement.offsetTop-t-15}function os(e,t,n){const s=window.scrollY;return e===0&&s===0?[!0,null]:s{n&&clearTimeout(n),s?n=setTimeout(e,t):(e(),s=!0,setTimeout(()=>{s=!1},t))}}function as(){const e=T(),{site:t}=E();return es(),h(()=>{const n=e.data.headers,s=e.data.frontmatter.sidebar,o=e.data.frontmatter.sidebarDepth;if(s===!1)return[];if(s==="auto")return xe(n,o);const r=oe(t.value.themeConfig.sidebar,e.data.relativePath);return r===!1?[]:r==="auto"?xe(n,o):r})}function xe(e,t){const n=[];if(e===void 0)return[];let s;return e.forEach(({level:o,title:r,slug:a})=>{if(o-1>t)return;const i={text:r,link:`#${a}`};o===2?(s=i,n.push(i)):s&&(s.children||(s.children=[])).push(i)}),n}const Fe=e=>{const t=T(),{site:n,frontmatter:s}=E(),o=e.depth||1,r=s.value.sidebarDepth||1/0,a=t.data.headers,i=e.item.text,u=is(n.value.base,e.item.link),l=e.item.children,_=rn(t,e.item.link),v=o0?N("ul",{class:"sidebar-links"},t.map(o=>N(Fe,{item:o,depth:s}))):e&&n?Ge(!1,cs(n),void 0,s):null}function cs(e){return Ke(ls(e))}function ls(e){e=e.map(n=>Object.assign({},n));let t;return e.forEach(n=>{n.level===2?t=n:t&&(t.children||(t.children=[])).push(n)}),e.filter(n=>n.level===2)}function Ke(e){return e.map(t=>({text:t.title,link:`#${t.slug}`,children:t.children?Ke(t.children):void 0}))}const us={key:0,class:"sidebar-links"},ds=$({setup(e){const t=as();return(n,s)=>c(t).length>0?(d(),p("ul",us,[(d(!0),p(z,null,te(c(t),o=>(d(),C(c(Fe),{item:o},null,8,["item"]))),256))])):b("",!0)}});const fs=$({props:{open:{type:Boolean}},setup(e){return(t,n)=>(d(),p("aside",{class:M(["sidebar",{open:e.open}])},[g(ze,{class:"nav"}),k(t.$slots,"sidebar-top",{},void 0,!0),g(ds),k(t.$slots,"sidebar-bottom",{},void 0,!0)],2))}});var ps=L(fs,[["__scopeId","data-v-83e92a68"]]);const hs=/bitbucket.org/;function _s(){const{page:e,theme:t,frontmatter:n}=E(),s=h(()=>{const{repo:r,docsDir:a="",docsBranch:i="master",docsRepo:u=r,editLinks:l}=t.value,_=n.value.editLink!=null?n.value.editLink:l,{relativePath:v}=e.value;return!_||!v||!r?null:vs(r,u,a,i,v)}),o=h(()=>t.value.editLinkText||"Edit this page");return{url:s,text:o}}function vs(e,t,n,s,o){return hs.test(e)?gs(e,t,n,s,o):ms(e,t,n,s,o)}function ms(e,t,n,s,o){return(se(t)?t:`https://github.com/${t}`).replace(j,"")+`/edit/${s}/`+(n?n.replace(j,"")+"/":"")+o}function gs(e,t,n,s,o){return(se(t)?t:e).replace(j,"")+`/src/${s}/`+(n?n.replace(j,"")+"/":"")+o+`?mode=edit&spa=0&at=${s}&fileviewer=file-view-default`}const bs={class:"edit-link"},$s=["href"],ws=$({setup(e){const{url:t,text:n}=_s();return(s,o)=>(d(),p("div",bs,[c(t)?(d(),p("a",{key:0,class:"link",href:c(t),target:"_blank",rel:"noopener noreferrer"},[ee(A(c(n))+" ",1),g(re,{class:"icon"})],8,$s)):b("",!0)]))}});var ks=L(ws,[["__scopeId","data-v-1ed99556"]]);const Ls={key:0,class:"last-updated"},xs={class:"prefix"},ys={class:"datetime"},Ss=$({setup(e){const{theme:t,page:n}=E(),s=h(()=>{const a=t.value.lastUpdated;return a!==void 0&&a!==!1}),o=h(()=>{const a=t.value.lastUpdated;return a===!0?"Last Updated":a}),r=q("");return B(()=>{r.value=new Date(n.value.lastUpdated).toLocaleString("en-US")}),(a,i)=>c(s)?(d(),p("p",Ls,[f("span",xs,A(c(o))+":",1),f("span",ys,A(r.value),1)])):b("",!0)}});var Es=L(Ss,[["__scopeId","data-v-5797b537"]]);const Cs={class:"page-footer"},As={class:"edit"},Ps={class:"updated"},Ts=$({setup(e){return(t,n)=>(d(),p("footer",Cs,[f("div",As,[g(ks)]),f("div",Ps,[g(Es)])]))}});var Rs=L(Ts,[["__scopeId","data-v-fb8d84c6"]]);function Ns(){const{page:e,theme:t}=E(),n=h(()=>je(Z(e.value.relativePath))),s=h(()=>{const u=oe(t.value.sidebar,n.value);return ne(u)?qe(u):[]}),o=h(()=>s.value.findIndex(u=>u.link===n.value)),r=h(()=>{if(t.value.nextLinks!==!1&&o.value>-1&&o.value{if(t.value.prevLinks!==!1&&o.value>0)return s.value[o.value-1]}),i=h(()=>!!r.value||!!a.value);return{next:r,prev:a,hasLinks:i}}const Is={},Hs={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Bs=f("path",{d:"M19,11H7.4l5.3-5.3c0.4-0.4,0.4-1,0-1.4s-1-0.4-1.4,0l-7,7c-0.1,0.1-0.2,0.2-0.2,0.3c-0.1,0.2-0.1,0.5,0,0.8c0.1,0.1,0.1,0.2,0.2,0.3l7,7c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3c0.4-0.4,0.4-1,0-1.4L7.4,13H19c0.6,0,1-0.4,1-1S19.6,11,19,11z"},null,-1),Os=[Bs];function Ds(e,t){return d(),p("svg",Hs,Os)}var Ms=L(Is,[["render",Ds]]);const Us={},js={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},qs=f("path",{d:"M19.9,12.4c0.1-0.2,0.1-0.5,0-0.8c-0.1-0.1-0.1-0.2-0.2-0.3l-7-7c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l5.3,5.3H5c-0.6,0-1,0.4-1,1s0.4,1,1,1h11.6l-5.3,5.3c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3l7-7C19.8,12.6,19.9,12.5,19.9,12.4z"},null,-1),Ws=[qs];function zs(e,t){return d(),p("svg",js,Ws)}var Fs=L(Us,[["render",zs]]);const Gs={key:0,class:"next-and-prev-link"},Ks={class:"container"},Js={class:"prev"},Vs=["href"],Xs={class:"text"},Ys={class:"next"},Qs=["href"],Zs={class:"text"},eo=$({setup(e){const{hasLinks:t,prev:n,next:s}=Ns();return(o,r)=>c(t)?(d(),p("div",Gs,[f("div",Ks,[f("div",Js,[c(n)?(d(),p("a",{key:0,class:"link",href:c(H)(c(n).link)},[g(Ms,{class:"icon icon-prev"}),f("span",Xs,A(c(n).text),1)],8,Vs)):b("",!0)]),f("div",Ys,[c(s)?(d(),p("a",{key:0,class:"link",href:c(H)(c(s).link)},[f("span",Zs,A(c(s).text),1),g(Fs,{class:"icon icon-next"})],8,Qs)):b("",!0)])])])):b("",!0)}});var to=L(eo,[["__scopeId","data-v-38ede35f"]]);const no={class:"page"},so={class:"container"},oo=$({setup(e){return(t,n)=>{const s=X("Content");return d(),p("main",no,[f("div",so,[k(t.$slots,"top",{},void 0,!0),g(s,{class:"content"}),g(Rs),g(to),k(t.$slots,"bottom",{},void 0,!0)])])}}});var ro=L(oo,[["__scopeId","data-v-7eddb2c4"]]);const ao={key:0,id:"ads-container"},io=$({setup(e){const t=vt(()=>Ie(()=>import("./Home.e9688d60.js"),["assets/Home.e9688d60.js","assets/plugin-vue_export-helper.05763f57.js"])),n=()=>null,s=n,o=n,r=n,a=T(),{site:i,page:u,theme:l,frontmatter:_}=E(),v=h(()=>!!_.value.customLayout),x=h(()=>!!_.value.home),w=h(()=>Object.keys(i.value.langs).length>1),y=h(()=>{const m=l.value;return _.value.navbar===!1||m.navbar===!1?!1:i.value.title||m.logo||m.repo||m.nav}),R=q(!1),Xe=h(()=>_.value.home||_.value.sidebar===!1?!1:!un(oe(l.value.sidebar,a.data.relativePath))),F=m=>{R.value=typeof m=="boolean"?m:!R.value},Ye=F.bind(null,!1);W(a,Ye);const Qe=h(()=>[{"no-navbar":!y.value,"sidebar-open":R.value,"no-sidebar":!Xe.value}]);return(m,ae)=>{const Ze=X("Content"),et=X("Debug");return d(),p(z,null,[f("div",{class:M(["theme",c(Qe)])},[c(y)?(d(),C(Zn,{key:0,onToggle:F},{search:P(()=>[k(m.$slots,"navbar-search",{},()=>[c(l).algolia?(d(),C(c(r),{key:0,options:c(l).algolia,multilang:c(w)},null,8,["options","multilang"])):b("",!0)])]),_:3})):b("",!0),g(ps,{open:R.value},{"sidebar-top":P(()=>[k(m.$slots,"sidebar-top")]),"sidebar-bottom":P(()=>[k(m.$slots,"sidebar-bottom")]),_:3},8,["open"]),f("div",{class:"sidebar-mask",onClick:ae[0]||(ae[0]=Lo=>F(!1))}),c(v)?(d(),C(Ze,{key:1})):c(x)?k(m.$slots,"home",{key:2},()=>[g(c(t),null,{hero:P(()=>[k(m.$slots,"home-hero")]),features:P(()=>[k(m.$slots,"home-features")]),footer:P(()=>[k(m.$slots,"home-footer")]),_:3})]):(d(),C(ro,{key:3},{top:P(()=>[k(m.$slots,"page-top-ads",{},()=>[c(l).carbonAds&&c(l).carbonAds.carbon?(d(),p("div",ao,[(d(),C(c(s),{key:"carbon"+c(u).relativePath,code:c(l).carbonAds.carbon,placement:c(l).carbonAds.placement},null,8,["code","placement"]))])):b("",!0)]),k(m.$slots,"page-top")]),bottom:P(()=>[k(m.$slots,"page-bottom"),k(m.$slots,"page-bottom-ads",{},()=>[c(l).carbonAds&&c(l).carbonAds.custom?(d(),C(c(o),{key:"custom"+c(u).relativePath,code:c(l).carbonAds.custom,placement:c(l).carbonAds.placement},null,8,["code","placement"])):b("",!0)])]),_:3}))],2),g(et)],64)}}}),co={class:"theme"},lo=f("h1",null,"404",-1),uo=["href"],fo=$({setup(e){const{site:t}=E(),n=["There's nothing here.","How did we get here?","That's a Four-Oh-Four.","Looks like we've got some broken links."];function s(){return n[Math.floor(Math.random()*n.length)]}return(o,r)=>(d(),p("div",co,[lo,f("blockquote",null,A(s()),1),f("a",{href:c(t).base,"aria-label":"go to home"},"Take me home.",8,uo)]))}}),Je={Layout:io,NotFound:fo};const V=new Set,Ve=()=>document.createElement("link"),po=e=>{const t=Ve();t.rel="prefetch",t.href=e,document.head.appendChild(t)},ho=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let O;const _o=S&&(O=Ve())&&O.relList&&O.relList.supports&&O.relList.supports("prefetch")?po:ho;function vo(){if(!S||!window.IntersectionObserver)return;let e;if((e=navigator.connection)&&(e.saveData||/2g/.test(e.effectiveType)))return;const t=window.requestIdleCallback||setTimeout;let n=null;const s=()=>{n&&n.disconnect(),n=new IntersectionObserver(r=>{r.forEach(a=>{if(a.isIntersecting){const i=a.target;n.unobserve(i);const{pathname:u}=i;if(!V.has(u)){V.add(u);const l=Me(u);_o(l)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(r=>{const{target:a,hostname:i,pathname:u}=r,l=u.match(/\.\w+$/);l&&l[0]!==".html"||a!=="_blank"&&i===location.hostname&&(u!==location.pathname?n.observe(r):V.add(u))})})};B(s);const o=T();W(()=>o.path,s),Ne(()=>{n&&n.disconnect()})}const mo=$({setup(e,{slots:t}){const n=q(!1);return B(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}}),go=Je.NotFound||(()=>"404 Not Found"),bo={name:"VitePressApp",setup(){const{site:e}=E();return B(()=>{W(()=>e.value.lang,t=>{document.documentElement.lang=t},{immediate:!0})}),vo(),()=>N(Je.Layout)}};function $o(){const e=ko(),t=wo();t.provide(Ue,e);const n=Kt(e.route);return t.provide(Oe,n),S&&Qt(e.route,n.site),t.component("Content",tn),t.component("ClientOnly",mo),t.component("Debug",()=>null),Object.defineProperty(t.config.globalProperties,"$frontmatter",{get(){return n.frontmatter.value}}),{app:t,router:e}}function wo(){return Mt(bo)}function ko(){let e=S,t;return Xt(n=>{let s=Me(n);return e&&(t=s),(e||t===s)&&(s=s.replace(/\.js$/,".lean.js")),S?(e=!1,Ie(()=>import(s),[])):require(s)},go)}if(S){const{app:e,router:t}=$o();t.go().then(()=>{e.mount("#app")})}export{we as N,$o as createApp,E as u,H as w}; diff --git a/assets/guide_index.md.7232036b.js b/assets/guide_index.md.7232036b.js new file mode 100644 index 0000000..9d1453a --- /dev/null +++ b/assets/guide_index.md.7232036b.js @@ -0,0 +1,18 @@ +import{_ as a,y as e,x as s,W as n}from"./plugin-vue_export-helper.05763f57.js";const b='{"title":"CLI / Terminal","description":"","frontmatter":{"sidebar":true},"headers":[{"level":2,"title":"CLI / Terminal","slug":"cli-terminal"},{"level":3,"title":"Philosophy","slug":"philosophy"},{"level":3,"title":"Available Endpoints","slug":"available-endpoints"},{"level":3,"title":"Datasets and Data files","slug":"datasets-and-data-files"},{"level":2,"title":"Python Module","slug":"python-module"}],"relativePath":"guide/index.md","lastUpdated":1710919484854}',t={},o=n(`

CLI / Terminal

Philosophy

The Arcsecond CLI is using the same principle as git. The main entry point is arcsecond followed by a command. And most of the commands have the name of API endpoints.

For instance, to obtain the information about an object, and likewise, an exoplanet:

$ arcsecond objects "HD 5980"
+$ arcsecond exoplanets "51 Peg b"
+

For objects, and exoplanets, you can open the webpage in the default browser:

$ arcsecond objects "HD 5980" --open
+$ arcsecond exoplanets "51 Peg b" --open
+

Or open the API webpage in the default browser for that object:

$ arcsecond o "HD 5980" --open api
+$ arcsecond exoplanets "51 Peg b" --open api
+

For other things, such as private observing runs and night logs, likewise:

$ arcsecond observingruns <uuid>
+$ arcsecond nightlogs <uuid>    
+

Available Endpoints

The available read-only API endpoints (and thus, subcommands) available so far are:

  • objects, exoplanets, and findingcharts (public)
  • observingsites, telescopes and instruments (public)
  • profiles (public)
  • satellites (public)
  • observingruns and nightlogs (private)
  • me (personal profile, private)

Observing Runs and Night Logs will be writable in a near future. As for Observing Sites, Telescopes and Instruments, this is under study.

The available read-write API endpoints available so far are:

  • activities (public)
  • datasets and datafiles (private)

Read-write APIs use the 4 standard CRUD methods: create, read, update, delete (while, read-only APIs have only the read method, implicitly).

See below for details.

Datasets and Data files

You can entirely manage your datasets and Data/FITS files (including upload) from this CLI / Python module.

To list your datasets (the two methods are identical, the second simply having its action name explicitly written):

$ arcsecond datasets
+$ arcsecond datasets read
+

To create a dataset:

$ arcsecond datasets create --name "this is a new dataset"
+

To delete a dataset (warning: this will also delete the associated data/FITS files!):

$ arcsecond datasets delete <dataset uuid>
+

Data files are necessarily associated with a dataset. Hence a dataset UUID must be provided. To upload a data file:

$ arcsecond datafiles <dataset uuid> create --file <path to a local data file>
+

To delete a data file, one use its "id/pk" (pk = Primary Key == ID):

$ arcsecond datafiles <dataset uuid> delete <Data file pk>
+

Python Module

Using this as a Python module goes as follow

>>> from arcsecond import ArcsecondAPI
+>>> ArcsecondAPI.login(<username>, <password>)
+>>> ArcsecondAPI(ArcsecondAPI.ENDPOINT_OBJECTS).read('HD 5980')
+
`,34),p=[o];function d(l,i,c,r,u,h){return s(),e("div",null,p)}var k=a(t,[["render",d]]);export{b as __pageData,k as default}; diff --git a/assets/guide_index.md.7232036b.lean.js b/assets/guide_index.md.7232036b.lean.js new file mode 100644 index 0000000..9e33410 --- /dev/null +++ b/assets/guide_index.md.7232036b.lean.js @@ -0,0 +1 @@ +import{_ as a,y as e,x as s,W as n}from"./plugin-vue_export-helper.05763f57.js";const b='{"title":"CLI / Terminal","description":"","frontmatter":{"sidebar":true},"headers":[{"level":2,"title":"CLI / Terminal","slug":"cli-terminal"},{"level":3,"title":"Philosophy","slug":"philosophy"},{"level":3,"title":"Available Endpoints","slug":"available-endpoints"},{"level":3,"title":"Datasets and Data files","slug":"datasets-and-data-files"},{"level":2,"title":"Python Module","slug":"python-module"}],"relativePath":"guide/index.md","lastUpdated":1710919484854}',t={},o=n("",34),p=[o];function d(l,i,c,r,u,h){return s(),e("div",null,p)}var k=a(t,[["render",d]]);export{b as __pageData,k as default}; diff --git a/assets/index.md.2ffb4990.js b/assets/index.md.2ffb4990.js new file mode 100644 index 0000000..a404d1e --- /dev/null +++ b/assets/index.md.2ffb4990.js @@ -0,0 +1 @@ +import{_ as t,y as r,x as s,D as e,B as o}from"./plugin-vue_export-helper.05763f57.js";const g='{"title":"Home","description":"","frontmatter":{"home":true,"heroImage":"https://statics.arcsecond.io/img/logo-circle.png","heroAlt":"Arcsecond Logo","heroText":"Arcsecond CLI","tagline":"The command-line utility / Python module to access the resources of Arcsecond.io.","actionText":"Install & Setup","actionLink":"/install/","features":[{"title":"Command-Line","details":"All the public and private Arcsecond.io resources (objects, exoplanets, datasets...) right into your Terminal."},{"title":"Python Module","details":"All the Arcsecond.io resources inside your Python code! Easily plan observations with your own custom rules."}],"footer":"MIT Licensed | Copyright \xA9 2018-present Arcsecond.io (F52 Tech)."},"headers":[],"relativePath":"index.md","lastUpdated":1710919484854}',n={},a=e("h1",{id:"arcsecond-io",tabindex:"-1"},[e("a",{href:"http://Arcsecond.io",target:"_blank",rel:"noopener noreferrer"},"Arcsecond.io"),o(" ? "),e("a",{class:"header-anchor",href:"#arcsecond-io","aria-hidden":"true"},"#")],-1),c=e("p",null,[e("a",{href:"http://Arcsecond.io",target:"_blank",rel:"noopener noreferrer"},"Arcsecond.io"),o(" is a unique and comprehensive cloud platform made by astronomers for astronomers providing all the necessary resources and tools for preparing astronomical observations.")],-1),i=[a,c];function d(l,h,p,u,m,_){return s(),r("div",null,i)}var A=t(n,[["render",d]]);export{g as __pageData,A as default}; diff --git a/assets/index.md.2ffb4990.lean.js b/assets/index.md.2ffb4990.lean.js new file mode 100644 index 0000000..a404d1e --- /dev/null +++ b/assets/index.md.2ffb4990.lean.js @@ -0,0 +1 @@ +import{_ as t,y as r,x as s,D as e,B as o}from"./plugin-vue_export-helper.05763f57.js";const g='{"title":"Home","description":"","frontmatter":{"home":true,"heroImage":"https://statics.arcsecond.io/img/logo-circle.png","heroAlt":"Arcsecond Logo","heroText":"Arcsecond CLI","tagline":"The command-line utility / Python module to access the resources of Arcsecond.io.","actionText":"Install & Setup","actionLink":"/install/","features":[{"title":"Command-Line","details":"All the public and private Arcsecond.io resources (objects, exoplanets, datasets...) right into your Terminal."},{"title":"Python Module","details":"All the Arcsecond.io resources inside your Python code! Easily plan observations with your own custom rules."}],"footer":"MIT Licensed | Copyright \xA9 2018-present Arcsecond.io (F52 Tech)."},"headers":[],"relativePath":"index.md","lastUpdated":1710919484854}',n={},a=e("h1",{id:"arcsecond-io",tabindex:"-1"},[e("a",{href:"http://Arcsecond.io",target:"_blank",rel:"noopener noreferrer"},"Arcsecond.io"),o(" ? "),e("a",{class:"header-anchor",href:"#arcsecond-io","aria-hidden":"true"},"#")],-1),c=e("p",null,[e("a",{href:"http://Arcsecond.io",target:"_blank",rel:"noopener noreferrer"},"Arcsecond.io"),o(" is a unique and comprehensive cloud platform made by astronomers for astronomers providing all the necessary resources and tools for preparing astronomical observations.")],-1),i=[a,c];function d(l,h,p,u,m,_){return s(),r("div",null,i)}var A=t(n,[["render",d]]);export{g as __pageData,A as default}; diff --git a/assets/install_index.md.3c7d9f6e.js b/assets/install_index.md.3c7d9f6e.js new file mode 100644 index 0000000..318b9e5 --- /dev/null +++ b/assets/install_index.md.3c7d9f6e.js @@ -0,0 +1,8 @@ +import{_ as e,y as o,x as a,W as s}from"./plugin-vue_export-helper.05763f57.js";const f='{"title":"Install","description":"","frontmatter":{"sidebar":true},"headers":[{"level":2,"title":"Install","slug":"install"},{"level":2,"title":"Setup","slug":"setup"},{"level":3,"title":"Register to Arcsecond.io","slug":"register-to-arcsecond-io"},{"level":3,"title":"Login to Arcsecond.io","slug":"login-to-arcsecond-io"}],"relativePath":"install/index.md","lastUpdated":1710919484854}',r={},n=s(`

Install

Simply issue the following in a Terminal:

$ pip install arcsecond
+

To upgrade an existing Arcsecond installation:

$ pip install --upgrade arcsecond
+

The help is accessible like any other command line:

$ arcsecond --help
+

or, for subcommand

$ arcsecond <command> --help
+

At that point, you can access all the public resources of Arcsecond.io.

The Arcsecond CLI usage is similar to a utility like git. That is, arcsecond is the main entry point, followed by a command. Most of the commands are simply the name of API resources.

For accessing private resources, such as datasets, night logs etc, you must log in (or register first).

Setup

Register to Arcsecond.io

You can register directly from the CLI:

$ arcsecond register
+

and provide a username and a password.

Login to Arcsecond.io

You must login first before accessing APIs.

$ arcsecond login 
+

To skip prompts:

$ arcsecond login --username <username> --password <password>
+

By registering or logging in, your private API key will be stored locally in the config file in ~/.arcsecond.ini. Do not share this key. It gives a complete access to your private resources too.

Logging in again will overwrite the current API key with the new one (assuming login is a success, of course).

If you think your key is compromised, you can regenerate one in your profile settings in https://www.arcsecond.io. You cannot regenerate an API key with the cli.

`,25),t=[n];function i(c,l,p,d,g,h){return a(),o("div",null,t)}var m=e(r,[["render",i]]);export{f as __pageData,m as default}; diff --git a/assets/install_index.md.3c7d9f6e.lean.js b/assets/install_index.md.3c7d9f6e.lean.js new file mode 100644 index 0000000..50ee87f --- /dev/null +++ b/assets/install_index.md.3c7d9f6e.lean.js @@ -0,0 +1 @@ +import{_ as e,y as o,x as a,W as s}from"./plugin-vue_export-helper.05763f57.js";const f='{"title":"Install","description":"","frontmatter":{"sidebar":true},"headers":[{"level":2,"title":"Install","slug":"install"},{"level":2,"title":"Setup","slug":"setup"},{"level":3,"title":"Register to Arcsecond.io","slug":"register-to-arcsecond-io"},{"level":3,"title":"Login to Arcsecond.io","slug":"login-to-arcsecond-io"}],"relativePath":"install/index.md","lastUpdated":1710919484854}',r={},n=s("",25),t=[n];function i(c,l,p,d,g,h){return a(),o("div",null,t)}var m=e(r,[["render",i]]);export{f as __pageData,m as default}; diff --git a/assets/observations_index.md.32abe419.js b/assets/observations_index.md.32abe419.js new file mode 100644 index 0000000..5125110 --- /dev/null +++ b/assets/observations_index.md.32abe419.js @@ -0,0 +1 @@ +import{_ as e,y as o,x as t,W as r}from"./plugin-vue_export-helper.05763f57.js";const m='{"title":"Introduction","description":"","frontmatter":{"sidebar":true},"headers":[{"level":2,"title":"Introduction","slug":"introduction"},{"level":2,"title":"Nights...","slug":"nights"}],"relativePath":"observations/index.md","lastUpdated":1710919484854}',a={},n=r('

Introduction

Astroplan is an open-source package affiliated with the famous community-powered Astropy. Astroplan aims to help astronomers plan observations, similarly to iObserve and Arcsecond.io try to achieve.

One major difference with us is that Astroplan leaves you the responsibility for all the "plumbing" or "app" code. That is, it provides all the necessary information to plan observations indeed. However, there is no infrastructure nor app code to help you go much beyond a few observations without having to write (and organise and maintain) lots of non-scientific code. If you need to create dozens of observations, for dozens of observing runs, all this code is up to you.

For astronomers loving to write their own code, it is certainly a good solution (and we know many of them in that situation). But even in this case, you are left with lots of work such as maintaining your code, testing it to avoid regressions, finding a place to store targets, target lists, organise your plots and figures and so on.

Arcsecond.io and its main Pro Tool "iObserve" are developed since many years precisely to help astronomers avoid re-inventing the wheel whatever their knowledge of code. There is one key difference of course. Using a complete tool such as iObserve has a (small) price. But we think we have come up with a very affordable model for professionals and even Ph.D. students and undergrads! See our Pricing page for more details.

We provide yearly subscriptions for iObserve on the web. These

subscriptions are entirely compatible with any (US) University administration. We already set up such subscriptions with a University Physics Department in Arizona. Email us to know more and set up yours.

Nights...

',7),i=[n];function s(d,c,l,h,p,u){return t(),o("div",null,i)}var g=e(a,[["render",s]]);export{m as __pageData,g as default}; diff --git a/assets/observations_index.md.32abe419.lean.js b/assets/observations_index.md.32abe419.lean.js new file mode 100644 index 0000000..665468b --- /dev/null +++ b/assets/observations_index.md.32abe419.lean.js @@ -0,0 +1 @@ +import{_ as e,y as o,x as t,W as r}from"./plugin-vue_export-helper.05763f57.js";const m='{"title":"Introduction","description":"","frontmatter":{"sidebar":true},"headers":[{"level":2,"title":"Introduction","slug":"introduction"},{"level":2,"title":"Nights...","slug":"nights"}],"relativePath":"observations/index.md","lastUpdated":1710919484854}',a={},n=r("",7),i=[n];function s(d,c,l,h,p,u){return t(),o("div",null,i)}var g=e(a,[["render",s]]);export{m as __pageData,g as default}; diff --git a/assets/plugin-vue_export-helper.05763f57.js b/assets/plugin-vue_export-helper.05763f57.js new file mode 100644 index 0000000..4aa16a1 --- /dev/null +++ b/assets/plugin-vue_export-helper.05763f57.js @@ -0,0 +1 @@ +function mn(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r!!n[r.toLowerCase()]:r=>!!n[r]}const dr="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",hi=mn(dr);function pi(e){return!!e||e===""}function bn(e){if(N(e)){const t={};for(let n=0;n{if(n){const s=n.split(pr);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function yn(e){let t="";if(he(e))t=e;else if(N(e))for(let n=0;ne==null?"":N(e)||te(e)&&(e.toString===ms||!j(e.toString))?JSON.stringify(e,hs,2):String(e),hs=(e,t)=>t&&t.__v_isRef?hs(e,t.value):Qe(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:gs(t)?{[`Set(${t.size})`]:[...t.values()]}:te(t)&&!N(t)&&!bs(t)?String(t):t,W={},Xe=[],ye=()=>{},_r=()=>!1,mr=/^on[^a-z]/,Kt=e=>mr.test(e),ps=e=>e.startsWith("onUpdate:"),ce=Object.assign,xn=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},br=Object.prototype.hasOwnProperty,B=(e,t)=>br.call(e,t),N=Array.isArray,Qe=e=>Dt(e)==="[object Map]",gs=e=>Dt(e)==="[object Set]",j=e=>typeof e=="function",he=e=>typeof e=="string",wn=e=>typeof e=="symbol",te=e=>e!==null&&typeof e=="object",_s=e=>te(e)&&j(e.then)&&j(e.catch),ms=Object.prototype.toString,Dt=e=>ms.call(e),yr=e=>Dt(e).slice(8,-1),bs=e=>Dt(e)==="[object Object]",En=e=>he(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ct=mn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Lt=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},xr=/-(\w)/g,Me=Lt(e=>e.replace(xr,(t,n)=>n?n.toUpperCase():"")),wr=/\B([A-Z])/g,Wt=Lt(e=>e.replace(wr,"-$1").toLowerCase()),Cn=Lt(e=>e.charAt(0).toUpperCase()+e.slice(1)),Qt=Lt(e=>e?`on${Cn(e)}`:""),pt=(e,t)=>!Object.is(e,t),Gt=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Er=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Yn;const Cr=()=>Yn||(Yn=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let Be;const Et=[];class Tr{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&Be&&(this.parent=Be,this.index=(Be.scopes||(Be.scopes=[])).push(this)-1)}run(t){if(this.active)try{return this.on(),t()}finally{this.off()}}on(){this.active&&(Et.push(this),Be=this)}off(){this.active&&(Et.pop(),Be=Et[Et.length-1])}stop(t){if(this.active){if(this.effects.forEach(n=>n.stop()),this.cleanups.forEach(n=>n()),this.scopes&&this.scopes.forEach(n=>n.stop(!0)),this.parent&&!t){const n=this.parent.scopes.pop();n&&n!==this&&(this.parent.scopes[this.index]=n,n.index=this.index)}this.active=!1}}}function Fr(e,t){t=t||Be,t&&t.active&&t.effects.push(e)}const Tn=e=>{const t=new Set(e);return t.w=0,t.n=0,t},ys=e=>(e.w&Ue)>0,xs=e=>(e.n&Ue)>0,Mr=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s0?lt[t-1]:void 0}}stop(){this.active&&(zn(this),this.onStop&&this.onStop(),this.active=!1)}}function zn(e){const{deps:t}=e;if(t.length){for(let n=0;n{(d==="length"||d>=s)&&f.push(u)});else switch(n!==void 0&&f.push(i.get(n)),t){case"add":N(e)?En(n)&&f.push(i.get("length")):(f.push(i.get(De)),Qe(e)&&f.push(i.get(cn)));break;case"delete":N(e)||(f.push(i.get(De)),Qe(e)&&f.push(i.get(cn)));break;case"set":Qe(e)&&f.push(i.get(De));break}if(f.length===1)f[0]&&un(f[0]);else{const u=[];for(const d of f)d&&u.push(...d);un(Tn(u))}}function un(e,t){for(const n of N(e)?e:[...e])(n!==Ke||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}const Pr=mn("__proto__,__v_isRef,__isVue"),Cs=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(wn)),Ar=On(),Rr=On(!1,!0),Nr=On(!0),Zn=jr();function jr(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=K(this);for(let l=0,i=this.length;l{e[t]=function(...n){nt();const s=K(this)[t].apply(this,n);return Ve(),s}}),e}function On(e=!1,t=!1){return function(s,r,l){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_raw"&&l===(e?t?zr:Is:t?Os:Ms).get(s))return s;const i=N(s);if(!e&&i&&B(Zn,r))return Reflect.get(Zn,r,l);const f=Reflect.get(s,r,l);return(wn(r)?Cs.has(r):Pr(r))||(e||pe(s,"get",r),t)?f:re(f)?!i||!En(r)?f.value:f:te(f)?e?Ps(f):An(f):f}}const vr=Ts(),Hr=Ts(!0);function Ts(e=!1){return function(n,s,r,l){let i=n[s];if(!e&&!Nn(r)&&(r=K(r),i=K(i),!N(n)&&re(i)&&!re(r)))return i.value=r,!0;const f=N(n)&&En(s)?Number(s)e,Vt=e=>Reflect.getPrototypeOf(e);function Ct(e,t,n=!1,s=!1){e=e.__v_raw;const r=K(e),l=K(t);t!==l&&!n&&pe(r,"get",t),!n&&pe(r,"get",l);const{has:i}=Vt(r),f=s?In:n?jn:gt;if(i.call(r,t))return f(e.get(t));if(i.call(r,l))return f(e.get(l));e!==r&&e.get(t)}function Tt(e,t=!1){const n=this.__v_raw,s=K(n),r=K(e);return e!==r&&!t&&pe(s,"has",e),!t&&pe(s,"has",r),e===r?n.has(e):n.has(e)||n.has(r)}function Ft(e,t=!1){return e=e.__v_raw,!t&&pe(K(e),"iterate",De),Reflect.get(e,"size",e)}function Xn(e){e=K(e);const t=K(this);return Vt(t).has.call(t,e)||(t.add(e),Oe(t,"add",e,e)),this}function Qn(e,t){t=K(t);const n=K(this),{has:s,get:r}=Vt(n);let l=s.call(n,e);l||(e=K(e),l=s.call(n,e));const i=r.call(n,e);return n.set(e,t),l?pt(t,i)&&Oe(n,"set",e,t):Oe(n,"add",e,t),this}function Gn(e){const t=K(this),{has:n,get:s}=Vt(t);let r=n.call(t,e);r||(e=K(e),r=n.call(t,e)),s&&s.call(t,e);const l=t.delete(e);return r&&Oe(t,"delete",e,void 0),l}function es(){const e=K(this),t=e.size!==0,n=e.clear();return t&&Oe(e,"clear",void 0,void 0),n}function Mt(e,t){return function(s,r){const l=this,i=l.__v_raw,f=K(i),u=t?In:e?jn:gt;return!e&&pe(f,"iterate",De),i.forEach((d,m)=>s.call(r,u(d),u(m),l))}}function Ot(e,t,n){return function(...s){const r=this.__v_raw,l=K(r),i=Qe(l),f=e==="entries"||e===Symbol.iterator&&i,u=e==="keys"&&i,d=r[e](...s),m=n?In:t?jn:gt;return!t&&pe(l,"iterate",u?cn:De),{next(){const{value:C,done:T}=d.next();return T?{value:C,done:T}:{value:f?[m(C[0]),m(C[1])]:m(C),done:T}},[Symbol.iterator](){return this}}}}function Re(e){return function(...t){return e==="delete"?!1:this}}function Dr(){const e={get(l){return Ct(this,l)},get size(){return Ft(this)},has:Tt,add:Xn,set:Qn,delete:Gn,clear:es,forEach:Mt(!1,!1)},t={get(l){return Ct(this,l,!1,!0)},get size(){return Ft(this)},has:Tt,add:Xn,set:Qn,delete:Gn,clear:es,forEach:Mt(!1,!0)},n={get(l){return Ct(this,l,!0)},get size(){return Ft(this,!0)},has(l){return Tt.call(this,l,!0)},add:Re("add"),set:Re("set"),delete:Re("delete"),clear:Re("clear"),forEach:Mt(!0,!1)},s={get(l){return Ct(this,l,!0,!0)},get size(){return Ft(this,!0)},has(l){return Tt.call(this,l,!0)},add:Re("add"),set:Re("set"),delete:Re("delete"),clear:Re("clear"),forEach:Mt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(l=>{e[l]=Ot(l,!1,!1),n[l]=Ot(l,!0,!1),t[l]=Ot(l,!1,!0),s[l]=Ot(l,!0,!0)}),[e,n,t,s]}const[Lr,Wr,Vr,qr]=Dr();function Pn(e,t){const n=t?e?qr:Vr:e?Wr:Lr;return(s,r,l)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(B(n,r)&&r in s?n:s,r,l)}const Jr={get:Pn(!1,!1)},Sr={get:Pn(!1,!0)},Yr={get:Pn(!0,!1)},Ms=new WeakMap,Os=new WeakMap,Is=new WeakMap,zr=new WeakMap;function Zr(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Xr(e){return e.__v_skip||!Object.isExtensible(e)?0:Zr(yr(e))}function An(e){return e&&e.__v_isReadonly?e:Rn(e,!1,Fs,Jr,Ms)}function Qr(e){return Rn(e,!1,Kr,Sr,Os)}function Ps(e){return Rn(e,!0,$r,Yr,Is)}function Rn(e,t,n,s,r){if(!te(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const l=r.get(e);if(l)return l;const i=Xr(e);if(i===0)return e;const f=new Proxy(e,i===2?s:n);return r.set(e,f),f}function Ge(e){return Nn(e)?Ge(e.__v_raw):!!(e&&e.__v_isReactive)}function Nn(e){return!!(e&&e.__v_isReadonly)}function As(e){return Ge(e)||Nn(e)}function K(e){const t=e&&e.__v_raw;return t?K(t):e}function Rs(e){return At(e,"__v_skip",!0),e}const gt=e=>te(e)?An(e):e,jn=e=>te(e)?Ps(e):e;function Ns(e){ws()&&(e=K(e),e.dep||(e.dep=Tn()),Es(e.dep))}function js(e,t){e=K(e),e.dep&&un(e.dep)}function re(e){return Boolean(e&&e.__v_isRef===!0)}function en(e){return vs(e,!1)}function _i(e){return vs(e,!0)}function vs(e,t){return re(e)?e:new Gr(e,t)}class Gr{constructor(t,n){this._shallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:K(t),this._value=n?t:gt(t)}get value(){return Ns(this),this._value}set value(t){t=this._shallow?t:K(t),pt(t,this._rawValue)&&(this._rawValue=t,this._value=this._shallow?t:gt(t),js(this))}}function el(e){return re(e)?e.value:e}const tl={get:(e,t,n)=>el(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return re(r)&&!re(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Hs(e){return Ge(e)?e:new Proxy(e,tl)}function mi(e){const t=N(e)?new Array(e.length):{};for(const n in e)t[n]=sl(e,n);return t}class nl{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}}function sl(e,t,n){const s=e[t];return re(s)?s:new nl(e,t,n)}class rl{constructor(t,n,s){this._setter=n,this.dep=void 0,this._dirty=!0,this.__v_isRef=!0,this.effect=new Fn(t,()=>{this._dirty||(this._dirty=!0,js(this))}),this.__v_isReadonly=s}get value(){const t=K(this);return Ns(t),t._dirty&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function ll(e,t){let n,s;const r=j(e);return r?(n=e,s=ye):(n=e.get,s=e.set),new rl(n,s,r||!s)}Promise.resolve();function il(e,t,...n){const s=e.vnode.props||W;let r=n;const l=t.startsWith("update:"),i=l&&t.slice(7);if(i&&i in s){const m=`${i==="modelValue"?"model":i}Modifiers`,{number:C,trim:T}=s[m]||W;T?r=n.map(I=>I.trim()):C&&(r=n.map(Er))}let f,u=s[f=Qt(t)]||s[f=Qt(Me(t))];!u&&l&&(u=s[f=Qt(Wt(t))]),u&&Ee(u,e,6,r);const d=s[f+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[f])return;e.emitted[f]=!0,Ee(d,e,6,r)}}function Us(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const l=e.emits;let i={},f=!1;if(!j(e)){const u=d=>{const m=Us(d,t,!0);m&&(f=!0,ce(i,m))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!l&&!f?(s.set(e,null),null):(N(l)?l.forEach(u=>i[u]=null):ce(i,l),s.set(e,i),i)}function vn(e,t){return!e||!Kt(t)?!1:(t=t.slice(2).replace(/Once$/,""),B(e,t[0].toLowerCase()+t.slice(1))||B(e,Wt(t))||B(e,t))}let be=null,qt=null;function Rt(e){const t=be;return be=e,qt=e&&e.type.__scopeId||null,t}function bi(e){qt=e}function yi(){qt=null}function ol(e,t=be,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&cs(-1);const l=Rt(t),i=e(...r);return Rt(l),s._d&&cs(1),i};return s._n=!0,s._c=!0,s._d=!0,s}function tn(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:l,propsOptions:[i],slots:f,attrs:u,emit:d,render:m,renderCache:C,data:T,setupState:I,ctx:P,inheritAttrs:D}=e;let g,y;const A=Rt(e);try{if(n.shapeFlag&4){const v=r||s;g=me(m.call(v,v,C,l,I,T,P)),y=u}else{const v=t;g=me(v.length>1?v(l,{attrs:u,slots:f,emit:d}):v(l,null)),y=t.props?u:fl(u)}}catch(v){at.length=0,xt(v,e,1),g=G(Ie)}let $=g;if(y&&D!==!1){const v=Object.keys(y),{shapeFlag:J}=$;v.length&&J&7&&(i&&v.some(ps)&&(y=cl(y,i)),$=mt($,y))}return n.dirs&&($.dirs=$.dirs?$.dirs.concat(n.dirs):n.dirs),n.transition&&($.transition=n.transition),g=$,Rt(A),g}const fl=e=>{let t;for(const n in e)(n==="class"||n==="style"||Kt(n))&&((t||(t={}))[n]=e[n]);return t},cl=(e,t)=>{const n={};for(const s in e)(!ps(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function ul(e,t,n){const{props:s,children:r,component:l}=e,{props:i,children:f,patchFlag:u}=t,d=l.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return s?ts(s,i,d):!!i;if(u&8){const m=t.dynamicProps;for(let C=0;Ce.__isSuspense;function ks(e,t){t&&t.pendingBranch?N(e)?t.effects.push(...e):t.effects.push(e):ui(e)}function hl(e,t){if(ne){let n=ne.provides;const s=ne.parent&&ne.parent.provides;s===n&&(n=ne.provides=Object.create(s)),n[e]=t}}function nn(e,t,n=!1){const s=ne||be;if(s){const r=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&j(t)?t.call(s.proxy):t}}function pl(e){return j(e)?{setup:e,name:e.name}:e}const Nt=e=>!!e.type.__asyncLoader;function xi(e){j(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,timeout:l,suspensible:i=!0,onError:f}=e;let u=null,d,m=0;const C=()=>(m++,u=null,T()),T=()=>{let I;return u||(I=u=t().catch(P=>{if(P=P instanceof Error?P:new Error(String(P)),f)return new Promise((D,g)=>{f(P,()=>D(C()),()=>g(P),m+1)});throw P}).then(P=>I!==u&&u?u:(P&&(P.__esModule||P[Symbol.toStringTag]==="Module")&&(P=P.default),d=P,P)))};return pl({name:"AsyncComponentWrapper",__asyncLoader:T,get __asyncResolved(){return d},setup(){const I=ne;if(d)return()=>sn(d,I);const P=A=>{u=null,xt(A,I,13,!s)};if(i&&I.suspense||bt)return T().then(A=>()=>sn(A,I)).catch(A=>(P(A),()=>s?G(s,{error:A}):null));const D=en(!1),g=en(),y=en(!!r);return r&&setTimeout(()=>{y.value=!1},r),l!=null&&setTimeout(()=>{if(!D.value&&!g.value){const A=new Error(`Async component timed out after ${l}ms.`);P(A),g.value=A}},l),T().then(()=>{D.value=!0,I.parent&&Hn(I.parent.vnode)&&Kn(I.parent.update)}).catch(A=>{P(A),g.value=A}),()=>{if(D.value&&d)return sn(d,I);if(g.value&&s)return G(s,{error:g.value});if(n&&!y.value)return G(n)}}})}function sn(e,{vnode:{ref:t,props:n,children:s}}){const r=G(e,n,s);return r.ref=t,r}const Hn=e=>e.type.__isKeepAlive;function gl(e,t){Bs(e,"a",t)}function _l(e,t){Bs(e,"da",t)}function Bs(e,t,n=ne){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Jt(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Hn(r.parent.vnode)&&ml(s,t,n,r),r=r.parent}}function ml(e,t,n,s){const r=Jt(t,e,s,!0);$s(()=>{xn(s[t],r)},n)}function Jt(e,t,n=ne,s=!1){if(n){const r=n[e]||(n[e]=[]),l=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;nt(),tt(n);const f=Ee(t,n,e,i);return We(),Ve(),f});return s?r.unshift(l):r.push(l),l}}const Pe=e=>(t,n=ne)=>(!bt||e==="sp")&&Jt(e,t,n),bl=Pe("bm"),yl=Pe("m"),xl=Pe("bu"),wl=Pe("u"),El=Pe("bum"),$s=Pe("um"),Cl=Pe("sp"),Tl=Pe("rtg"),Fl=Pe("rtc");function Ml(e,t=ne){Jt("ec",e,t)}let an=!0;function Ol(e){const t=Ds(e),n=e.proxy,s=e.ctx;an=!1,t.beforeCreate&&ns(t.beforeCreate,e,"bc");const{data:r,computed:l,methods:i,watch:f,provide:u,inject:d,created:m,beforeMount:C,mounted:T,beforeUpdate:I,updated:P,activated:D,deactivated:g,beforeDestroy:y,beforeUnmount:A,destroyed:$,unmounted:v,render:J,renderTracked:S,renderTriggered:H,errorCaptured:ee,serverPrefetch:z,expose:X,inheritAttrs:se,components:U,directives:Q,filters:ie}=t;if(d&&Il(d,s,null,e.appContext.config.unwrapInjectedRef),i)for(const Z in i){const V=i[Z];j(V)&&(s[Z]=V.bind(n))}if(r){const Z=r.call(n,n);te(Z)&&(e.data=An(Z))}if(an=!0,l)for(const Z in l){const V=l[Z],Ce=j(V)?V.bind(n,n):j(V.get)?V.get.bind(n,n):ye,zt=!j(V)&&j(V.set)?V.set.bind(n):ye,st=ll({get:Ce,set:zt});Object.defineProperty(s,Z,{enumerable:!0,configurable:!0,get:()=>st.value,set:qe=>st.value=qe})}if(f)for(const Z in f)Ks(f[Z],s,n,Z);if(u){const Z=j(u)?u.call(n):u;Reflect.ownKeys(Z).forEach(V=>{hl(V,Z[V])})}m&&ns(m,e,"c");function oe(Z,V){N(V)?V.forEach(Ce=>Z(Ce.bind(n))):V&&Z(V.bind(n))}if(oe(bl,C),oe(yl,T),oe(xl,I),oe(wl,P),oe(gl,D),oe(_l,g),oe(Ml,ee),oe(Fl,S),oe(Tl,H),oe(El,A),oe($s,v),oe(Cl,z),N(X))if(X.length){const Z=e.exposed||(e.exposed={});X.forEach(V=>{Object.defineProperty(Z,V,{get:()=>n[V],set:Ce=>n[V]=Ce})})}else e.exposed||(e.exposed={});J&&e.render===ye&&(e.render=J),se!=null&&(e.inheritAttrs=se),U&&(e.components=U),Q&&(e.directives=Q)}function Il(e,t,n=ye,s=!1){N(e)&&(e=dn(e));for(const r in e){const l=e[r];let i;te(l)?"default"in l?i=nn(l.from||r,l.default,!0):i=nn(l.from||r):i=nn(l),re(i)&&s?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:f=>i.value=f}):t[r]=i}}function ns(e,t,n){Ee(N(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ks(e,t,n,s){const r=s.includes(".")?cr(n,s):()=>n[s];if(he(e)){const l=t[e];j(l)&&ln(r,l)}else if(j(e))ln(r,e.bind(n));else if(te(e))if(N(e))e.forEach(l=>Ks(l,t,n,s));else{const l=j(e.handler)?e.handler.bind(n):t[e.handler];j(l)&&ln(r,l,e)}}function Ds(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:l,config:{optionMergeStrategies:i}}=e.appContext,f=l.get(t);let u;return f?u=f:!r.length&&!n&&!s?u=t:(u={},r.length&&r.forEach(d=>jt(u,d,i,!0)),jt(u,t,i)),l.set(t,u),u}function jt(e,t,n,s=!1){const{mixins:r,extends:l}=t;l&&jt(e,l,n,!0),r&&r.forEach(i=>jt(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const f=Pl[i]||n&&n[i];e[i]=f?f(e[i],t[i]):t[i]}return e}const Pl={data:ss,props:$e,emits:$e,methods:$e,computed:$e,beforeCreate:le,created:le,beforeMount:le,mounted:le,beforeUpdate:le,updated:le,beforeDestroy:le,beforeUnmount:le,destroyed:le,unmounted:le,activated:le,deactivated:le,errorCaptured:le,serverPrefetch:le,components:$e,directives:$e,watch:Rl,provide:ss,inject:Al};function ss(e,t){return t?e?function(){return ce(j(e)?e.call(this,this):e,j(t)?t.call(this,this):t)}:t:e}function Al(e,t){return $e(dn(e),dn(t))}function dn(e){if(N(e)){const t={};for(let n=0;n0)&&!(i&16)){if(i&8){const m=e.vnode.dynamicProps;for(let C=0;C{u=!0;const[T,I]=Ws(C,t,!0);ce(i,T),I&&f.push(...I)};!n&&t.mixins.length&&t.mixins.forEach(m),e.extends&&m(e.extends),e.mixins&&e.mixins.forEach(m)}if(!l&&!u)return s.set(e,Xe),Xe;if(N(l))for(let m=0;m-1,I[1]=D<0||P-1||B(I,"default"))&&f.push(C)}}}const d=[i,f];return s.set(e,d),d}function rs(e){return e[0]!=="$"}function ls(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function is(e,t){return ls(e)===ls(t)}function os(e,t){return N(t)?t.findIndex(n=>is(n,e)):j(t)&&is(t,e)?0:-1}const Vs=e=>e[0]==="_"||e==="$stable",Un=e=>N(e)?e.map(me):[me(e)],vl=(e,t,n)=>{const s=ol((...r)=>Un(t(...r)),n);return s._c=!1,s},qs=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Vs(r))continue;const l=e[r];if(j(l))t[r]=vl(r,l,s);else if(l!=null){const i=Un(l);t[r]=()=>i}}},Js=(e,t)=>{const n=Un(t);e.slots.default=()=>n},Hl=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=K(t),At(t,"_",n)):qs(t,e.slots={})}else e.slots={},t&&Js(e,t);At(e.slots,St,1)},Ul=(e,t,n)=>{const{vnode:s,slots:r}=e;let l=!0,i=W;if(s.shapeFlag&32){const f=t._;f?n&&f===1?l=!1:(ce(r,t),!n&&f===1&&delete r._):(l=!t.$stable,qs(t,r)),i=t}else t&&(Js(e,t),i={default:1});if(l)for(const f in r)!Vs(f)&&!(f in i)&&delete r[f]};function we(e,t,n,s){const r=e.dirs,l=t&&t.dirs;for(let i=0;ivt(T,t&&(N(t)?t[I]:t),n,s,r));return}if(Nt(s)&&!r)return;const l=s.shapeFlag&4?Bn(s.component)||s.component.proxy:s.el,i=r?null:l,{i:f,r:u}=e,d=t&&t.r,m=f.refs===W?f.refs={}:f.refs,C=f.setupState;if(d!=null&&d!==u&&(he(d)?(m[d]=null,B(C,d)&&(C[d]=null)):re(d)&&(d.value=null)),j(u))He(u,f,12,[i,m]);else{const T=he(u),I=re(u);if(T||I){const P=()=>{if(e.f){const D=T?m[u]:u.value;r?N(D)&&xn(D,l):N(D)?D.includes(l)||D.push(l):T?m[u]=[l]:(u.value=[l],e.k&&(m[e.k]=u.value))}else T?(m[u]=i,B(C,u)&&(C[u]=i)):re(u)&&(u.value=i,e.k&&(m[e.k]=i))};i?(P.id=-1,fe(P,n)):P()}}}let Ne=!1;const It=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",rn=e=>e.nodeType===8;function $l(e){const{mt:t,p:n,o:{patchProp:s,nextSibling:r,parentNode:l,remove:i,insert:f,createComment:u}}=e,d=(g,y)=>{if(!y.hasChildNodes()){n(null,g,y),$t();return}Ne=!1,m(y.firstChild,g,null,null,null),$t(),Ne&&console.error("Hydration completed but contains mismatches.")},m=(g,y,A,$,v,J=!1)=>{const S=rn(g)&&g.data==="[",H=()=>P(g,y,A,$,v,S),{type:ee,ref:z,shapeFlag:X}=y,se=g.nodeType;y.el=g;let U=null;switch(ee){case _t:se!==3?U=H():(g.data!==y.children&&(Ne=!0,g.data=y.children),U=r(g));break;case Ie:se!==8||S?U=H():U=r(g);break;case ut:if(se!==1)U=H();else{U=g;const Q=!y.children.length;for(let ie=0;ie{J=J||!!y.dynamicChildren;const{type:S,props:H,patchFlag:ee,shapeFlag:z,dirs:X}=y,se=S==="input"&&X||S==="option";if(se||ee!==-1){if(X&&we(y,null,A,"created"),H)if(se||!J||ee&48)for(const Q in H)(se&&Q.endsWith("value")||Kt(Q)&&!ct(Q))&&s(g,Q,null,H[Q],!1,void 0,A);else H.onClick&&s(g,"onClick",null,H.onClick,!1,void 0,A);let U;if((U=H&&H.onVnodeBeforeMount)&&ge(U,A,y),X&&we(y,null,A,"beforeMount"),((U=H&&H.onVnodeMounted)||X)&&ks(()=>{U&&ge(U,A,y),X&&we(y,null,A,"mounted")},$),z&16&&!(H&&(H.innerHTML||H.textContent))){let Q=T(g.firstChild,y,g,A,$,v,J);for(;Q;){Ne=!0;const ie=Q;Q=Q.nextSibling,i(ie)}}else z&8&&g.textContent!==y.children&&(Ne=!0,g.textContent=y.children)}return g.nextSibling},T=(g,y,A,$,v,J,S)=>{S=S||!!y.dynamicChildren;const H=y.children,ee=H.length;for(let z=0;z{const{slotScopeIds:S}=y;S&&(v=v?v.concat(S):S);const H=l(g),ee=T(r(g),y,H,A,$,v,J);return ee&&rn(ee)&&ee.data==="]"?r(y.anchor=ee):(Ne=!0,f(y.anchor=u("]"),H,ee),ee)},P=(g,y,A,$,v,J)=>{if(Ne=!0,y.el=null,J){const ee=D(g);for(;;){const z=r(g);if(z&&z!==ee)i(z);else break}}const S=r(g),H=l(g);return i(g),n(null,y,H,S,A,$,It(H),v),S},D=g=>{let y=0;for(;g;)if(g=r(g),g&&rn(g)&&(g.data==="["&&y++,g.data==="]")){if(y===0)return r(g);y--}return g};return[d,m]}const fe=ks;function wi(e){return Kl(e,$l)}function Kl(e,t){const n=Cr();n.__VUE__=!0;const{insert:s,remove:r,patchProp:l,createElement:i,createText:f,createComment:u,setText:d,setElementText:m,parentNode:C,nextSibling:T,setScopeId:I=ye,cloneNode:P,insertStaticContent:D}=e,g=(o,c,a,p=null,h=null,x=null,E=!1,b=null,w=!!c.dynamicChildren)=>{if(o===c)return;o&&!it(o,c)&&(p=wt(o),Ae(o,h,x,!0),o=null),c.patchFlag===-2&&(w=!1,c.dynamicChildren=null);const{type:_,ref:M,shapeFlag:F}=c;switch(_){case _t:y(o,c,a,p);break;case Ie:A(o,c,a,p);break;case ut:o==null&&$(c,a,p,E);break;case ae:Q(o,c,a,p,h,x,E,b,w);break;default:F&1?S(o,c,a,p,h,x,E,b,w):F&6?ie(o,c,a,p,h,x,E,b,w):(F&64||F&128)&&_.process(o,c,a,p,h,x,E,b,w,Je)}M!=null&&h&&vt(M,o&&o.ref,x,c||o,!c)},y=(o,c,a,p)=>{if(o==null)s(c.el=f(c.children),a,p);else{const h=c.el=o.el;c.children!==o.children&&d(h,c.children)}},A=(o,c,a,p)=>{o==null?s(c.el=u(c.children||""),a,p):c.el=o.el},$=(o,c,a,p)=>{[o.el,o.anchor]=D(o.children,c,a,p)},v=({el:o,anchor:c},a,p)=>{let h;for(;o&&o!==c;)h=T(o),s(o,a,p),o=h;s(c,a,p)},J=({el:o,anchor:c})=>{let a;for(;o&&o!==c;)a=T(o),r(o),o=a;r(c)},S=(o,c,a,p,h,x,E,b,w)=>{E=E||c.type==="svg",o==null?H(c,a,p,h,x,E,b,w):X(o,c,h,x,E,b,w)},H=(o,c,a,p,h,x,E,b)=>{let w,_;const{type:M,props:F,shapeFlag:O,transition:R,patchFlag:k,dirs:Y}=o;if(o.el&&P!==void 0&&k===-1)w=o.el=P(o.el);else{if(w=o.el=i(o.type,x,F&&F.is,F),O&8?m(w,o.children):O&16&&z(o.children,w,null,p,h,x&&M!=="foreignObject",E,b),Y&&we(o,null,p,"created"),F){for(const q in F)q!=="value"&&!ct(q)&&l(w,q,null,F[q],x,o.children,p,h,Te);"value"in F&&l(w,"value",null,F.value),(_=F.onVnodeBeforeMount)&&ge(_,p,o)}ee(w,o,o.scopeId,E,p)}Y&&we(o,null,p,"beforeMount");const L=(!h||h&&!h.pendingBranch)&&R&&!R.persisted;L&&R.beforeEnter(w),s(w,c,a),((_=F&&F.onVnodeMounted)||L||Y)&&fe(()=>{_&&ge(_,p,o),L&&R.enter(w),Y&&we(o,null,p,"mounted")},h)},ee=(o,c,a,p,h)=>{if(a&&I(o,a),p)for(let x=0;x{for(let _=w;_{const b=c.el=o.el;let{patchFlag:w,dynamicChildren:_,dirs:M}=c;w|=o.patchFlag&16;const F=o.props||W,O=c.props||W;let R;a&&ke(a,!1),(R=O.onVnodeBeforeUpdate)&&ge(R,a,c,o),M&&we(c,o,a,"beforeUpdate"),a&&ke(a,!0);const k=h&&c.type!=="foreignObject";if(_?se(o.dynamicChildren,_,b,a,p,k,x):E||Ce(o,c,b,null,a,p,k,x,!1),w>0){if(w&16)U(b,c,F,O,a,p,h);else if(w&2&&F.class!==O.class&&l(b,"class",null,O.class,h),w&4&&l(b,"style",F.style,O.style,h),w&8){const Y=c.dynamicProps;for(let L=0;L{R&&ge(R,a,c,o),M&&we(c,o,a,"updated")},p)},se=(o,c,a,p,h,x,E)=>{for(let b=0;b{if(a!==p){for(const b in p){if(ct(b))continue;const w=p[b],_=a[b];w!==_&&b!=="value"&&l(o,b,_,w,E,c.children,h,x,Te)}if(a!==W)for(const b in a)!ct(b)&&!(b in p)&&l(o,b,a[b],null,E,c.children,h,x,Te);"value"in p&&l(o,"value",a.value,p.value)}},Q=(o,c,a,p,h,x,E,b,w)=>{const _=c.el=o?o.el:f(""),M=c.anchor=o?o.anchor:f("");let{patchFlag:F,dynamicChildren:O,slotScopeIds:R}=c;R&&(b=b?b.concat(R):R),o==null?(s(_,a,p),s(M,a,p),z(c.children,a,M,h,x,E,b,w)):F>0&&F&64&&O&&o.dynamicChildren?(se(o.dynamicChildren,O,a,h,x,E,b),(c.key!=null||h&&c===h.subTree)&&Ys(o,c,!0)):Ce(o,c,a,M,h,x,E,b,w)},ie=(o,c,a,p,h,x,E,b,w)=>{c.slotScopeIds=b,o==null?c.shapeFlag&512?h.ctx.activate(c,a,p,E,w):Yt(c,a,p,h,x,E,w):oe(o,c,w)},Yt=(o,c,a,p,h,x,E)=>{const b=o.component=Ql(o,p,h);if(Hn(o)&&(b.ctx.renderer=Je),Gl(b),b.asyncDep){if(h&&h.registerDep(b,Z),!o.el){const w=b.subTree=G(Ie);A(null,w,c,a)}return}Z(b,o,c,a,h,x,E)},oe=(o,c,a)=>{const p=c.component=o.component;if(ul(o,c,a))if(p.asyncDep&&!p.asyncResolved){V(p,c,a);return}else p.next=c,fi(p.update),p.update();else c.component=o.component,c.el=o.el,p.vnode=c},Z=(o,c,a,p,h,x,E)=>{const b=()=>{if(o.isMounted){let{next:M,bu:F,u:O,parent:R,vnode:k}=o,Y=M,L;ke(o,!1),M?(M.el=k.el,V(o,M,E)):M=k,F&&Gt(F),(L=M.props&&M.props.onVnodeBeforeUpdate)&&ge(L,R,M,k),ke(o,!0);const q=tn(o),_e=o.subTree;o.subTree=q,g(_e,q,C(_e.el),wt(_e),o,h,x),M.el=q.el,Y===null&&al(o,q.el),O&&fe(O,h),(L=M.props&&M.props.onVnodeUpdated)&&fe(()=>ge(L,R,M,k),h)}else{let M;const{el:F,props:O}=c,{bm:R,m:k,parent:Y}=o,L=Nt(c);if(ke(o,!1),R&&Gt(R),!L&&(M=O&&O.onVnodeBeforeMount)&&ge(M,Y,c),ke(o,!0),F&&Xt){const q=()=>{o.subTree=tn(o),Xt(F,o.subTree,o,h,null)};L?c.type.__asyncLoader().then(()=>!o.isUnmounted&&q()):q()}else{const q=o.subTree=tn(o);g(null,q,a,p,o,h,x),c.el=q.el}if(k&&fe(k,h),!L&&(M=O&&O.onVnodeMounted)){const q=c;fe(()=>ge(M,Y,q),h)}c.shapeFlag&256&&o.a&&fe(o.a,h),o.isMounted=!0,c=a=p=null}},w=o.effect=new Fn(b,()=>Kn(o.update),o.scope),_=o.update=w.run.bind(w);_.id=o.uid,ke(o,!0),_()},V=(o,c,a)=>{c.component=o;const p=o.vnode.props;o.vnode=c,o.next=null,jl(o,c.props,p,a),Ul(o,c.children,a),nt(),Dn(void 0,o.update),Ve()},Ce=(o,c,a,p,h,x,E,b,w=!1)=>{const _=o&&o.children,M=o?o.shapeFlag:0,F=c.children,{patchFlag:O,shapeFlag:R}=c;if(O>0){if(O&128){st(_,F,a,p,h,x,E,b,w);return}else if(O&256){zt(_,F,a,p,h,x,E,b,w);return}}R&8?(M&16&&Te(_,h,x),F!==_&&m(a,F)):M&16?R&16?st(_,F,a,p,h,x,E,b,w):Te(_,h,x,!0):(M&8&&m(a,""),R&16&&z(F,a,p,h,x,E,b,w))},zt=(o,c,a,p,h,x,E,b,w)=>{o=o||Xe,c=c||Xe;const _=o.length,M=c.length,F=Math.min(_,M);let O;for(O=0;OM?Te(o,h,x,!0,!1,F):z(c,a,p,h,x,E,b,w,F)},st=(o,c,a,p,h,x,E,b,w)=>{let _=0;const M=c.length;let F=o.length-1,O=M-1;for(;_<=F&&_<=O;){const R=o[_],k=c[_]=w?ve(c[_]):me(c[_]);if(it(R,k))g(R,k,a,null,h,x,E,b,w);else break;_++}for(;_<=F&&_<=O;){const R=o[F],k=c[O]=w?ve(c[O]):me(c[O]);if(it(R,k))g(R,k,a,null,h,x,E,b,w);else break;F--,O--}if(_>F){if(_<=O){const R=O+1,k=RO)for(;_<=F;)Ae(o[_],h,x,!0),_++;else{const R=_,k=_,Y=new Map;for(_=k;_<=O;_++){const ue=c[_]=w?ve(c[_]):me(c[_]);ue.key!=null&&Y.set(ue.key,_)}let L,q=0;const _e=O-k+1;let Se=!1,qn=0;const rt=new Array(_e);for(_=0;_<_e;_++)rt[_]=0;for(_=R;_<=F;_++){const ue=o[_];if(q>=_e){Ae(ue,h,x,!0);continue}let xe;if(ue.key!=null)xe=Y.get(ue.key);else for(L=k;L<=O;L++)if(rt[L-k]===0&&it(ue,c[L])){xe=L;break}xe===void 0?Ae(ue,h,x,!0):(rt[xe-k]=_+1,xe>=qn?qn=xe:Se=!0,g(ue,c[xe],a,null,h,x,E,b,w),q++)}const Jn=Se?Dl(rt):Xe;for(L=Jn.length-1,_=_e-1;_>=0;_--){const ue=k+_,xe=c[ue],Sn=ue+1{const{el:x,type:E,transition:b,children:w,shapeFlag:_}=o;if(_&6){qe(o.component.subTree,c,a,p);return}if(_&128){o.suspense.move(c,a,p);return}if(_&64){E.move(o,c,a,Je);return}if(E===ae){s(x,c,a);for(let F=0;Fb.enter(x),h);else{const{leave:F,delayLeave:O,afterLeave:R}=b,k=()=>s(x,c,a),Y=()=>{F(x,()=>{k(),R&&R()})};O?O(x,k,Y):Y()}else s(x,c,a)},Ae=(o,c,a,p=!1,h=!1)=>{const{type:x,props:E,ref:b,children:w,dynamicChildren:_,shapeFlag:M,patchFlag:F,dirs:O}=o;if(b!=null&&vt(b,null,a,o,!0),M&256){c.ctx.deactivate(o);return}const R=M&1&&O,k=!Nt(o);let Y;if(k&&(Y=E&&E.onVnodeBeforeUnmount)&&ge(Y,c,o),M&6)ar(o.component,a,p);else{if(M&128){o.suspense.unmount(a,p);return}R&&we(o,null,c,"beforeUnmount"),M&64?o.type.remove(o,c,a,h,Je,p):_&&(x!==ae||F>0&&F&64)?Te(_,c,a,!1,!0):(x===ae&&F&384||!h&&M&16)&&Te(w,c,a),p&&Wn(o)}(k&&(Y=E&&E.onVnodeUnmounted)||R)&&fe(()=>{Y&&ge(Y,c,o),R&&we(o,null,c,"unmounted")},a)},Wn=o=>{const{type:c,el:a,anchor:p,transition:h}=o;if(c===ae){ur(a,p);return}if(c===ut){J(o);return}const x=()=>{r(a),h&&!h.persisted&&h.afterLeave&&h.afterLeave()};if(o.shapeFlag&1&&h&&!h.persisted){const{leave:E,delayLeave:b}=h,w=()=>E(a,x);b?b(o.el,x,w):w()}else x()},ur=(o,c)=>{let a;for(;o!==c;)a=T(o),r(o),o=a;r(c)},ar=(o,c,a)=>{const{bum:p,scope:h,update:x,subTree:E,um:b}=o;p&&Gt(p),h.stop(),x&&(x.active=!1,Ae(E,o,c,a)),b&&fe(b,c),fe(()=>{o.isUnmounted=!0},c),c&&c.pendingBranch&&!c.isUnmounted&&o.asyncDep&&!o.asyncResolved&&o.suspenseId===c.pendingId&&(c.deps--,c.deps===0&&c.resolve())},Te=(o,c,a,p=!1,h=!1,x=0)=>{for(let E=x;Eo.shapeFlag&6?wt(o.component.subTree):o.shapeFlag&128?o.suspense.next():T(o.anchor||o.el),Vn=(o,c,a)=>{o==null?c._vnode&&Ae(c._vnode,null,null,!0):g(c._vnode||null,o,c,null,null,null,a),$t(),c._vnode=o},Je={p:g,um:Ae,m:qe,r:Wn,mt:Yt,mc:z,pc:Ce,pbc:se,n:wt,o:e};let Zt,Xt;return t&&([Zt,Xt]=t(Je)),{render:Vn,hydrate:Zt,createApp:Bl(Vn,Zt)}}function ke({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Ys(e,t,n=!1){const s=e.children,r=t.children;if(N(s)&&N(r))for(let l=0;l>1,e[n[f]]0&&(t[s]=n[l-1]),n[l]=s)}}for(l=n.length,i=n[l-1];l-- >0;)n[l]=i,i=t[i];return n}const Ll=e=>e.__isTeleport,zs="components";function Ei(e,t){return Vl(zs,e,!0,t)||e}const Wl=Symbol();function Vl(e,t,n=!0,s=!1){const r=be||ne;if(r){const l=r.type;if(e===zs){const f=si(l);if(f&&(f===t||f===Me(t)||f===Cn(Me(t))))return l}const i=fs(r[e]||l[e],t)||fs(r.appContext[e],t);return!i&&s?l:i}}function fs(e,t){return e&&(e[t]||e[Me(t)]||e[Cn(Me(t))])}const ae=Symbol(void 0),_t=Symbol(void 0),Ie=Symbol(void 0),ut=Symbol(void 0),at=[];let Le=null;function Zs(e=!1){at.push(Le=e?null:[])}function ql(){at.pop(),Le=at[at.length-1]||null}let Ht=1;function cs(e){Ht+=e}function Xs(e){return e.dynamicChildren=Ht>0?Le||Xe:null,ql(),Ht>0&&Le&&Le.push(e),e}function Ci(e,t,n,s,r,l){return Xs(er(e,t,n,s,r,l,!0))}function Qs(e,t,n,s,r){return Xs(G(e,t,n,s,r,!0))}function Ut(e){return e?e.__v_isVNode===!0:!1}function it(e,t){return e.type===t.type&&e.key===t.key}const St="__vInternal",Gs=({key:e})=>e!=null?e:null,Pt=({ref:e,ref_key:t,ref_for:n})=>e!=null?he(e)||re(e)||j(e)?{i:be,r:e,k:t,f:!!n}:e:null;function er(e,t=null,n=null,s=0,r=null,l=e===ae?0:1,i=!1,f=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Gs(t),ref:t&&Pt(t),scopeId:qt,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:l,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null};return f?(kn(u,n),l&128&&e.normalize(u)):n&&(u.shapeFlag|=he(n)?8:16),Ht>0&&!i&&Le&&(u.patchFlag>0||l&6)&&u.patchFlag!==32&&Le.push(u),u}const G=Jl;function Jl(e,t=null,n=null,s=0,r=null,l=!1){if((!e||e===Wl)&&(e=Ie),Ut(e)){const f=mt(e,t,!0);return n&&kn(f,n),f}if(ri(e)&&(e=e.__vccOpts),t){t=Sl(t);let{class:f,style:u}=t;f&&!he(f)&&(t.class=yn(f)),te(u)&&(As(u)&&!N(u)&&(u=ce({},u)),t.style=bn(u))}const i=he(e)?1:dl(e)?128:Ll(e)?64:te(e)?4:j(e)?2:0;return er(e,t,n,s,r,i,l,!0)}function Sl(e){return e?As(e)||St in e?ce({},e):e:null}function mt(e,t,n=!1){const{props:s,ref:r,patchFlag:l,children:i}=e,f=t?Yl(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&Gs(f),ref:t&&t.ref?n&&r?N(r)?r.concat(Pt(t)):[r,Pt(t)]:Pt(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ae?l===-1?16:l|16:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&mt(e.ssContent),ssFallback:e.ssFallback&&mt(e.ssFallback),el:e.el,anchor:e.anchor}}function tr(e=" ",t=0){return G(_t,null,e,t)}function Ti(e,t){const n=G(ut,null,e);return n.staticCount=t,n}function Fi(e="",t=!1){return t?(Zs(),Qs(Ie,null,e)):G(Ie,null,e)}function me(e){return e==null||typeof e=="boolean"?G(Ie):N(e)?G(ae,null,e.slice()):typeof e=="object"?ve(e):G(_t,null,String(e))}function ve(e){return e.el===null||e.memo?e:mt(e)}function kn(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(N(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),kn(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(St in t)?t._ctx=be:r===3&&be&&(be.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else j(t)?(t={default:t,_ctx:be},n=32):(t=String(t),s&64?(n=16,t=[tr(t)]):n=8);e.children=t,e.shapeFlag|=n}function Yl(...e){const t={};for(let n=0;nt(i,f,void 0,l&&l[f]));else{const i=Object.keys(e);r=new Array(i.length);for(let f=0,u=i.length;fUt(t)?!(t.type===Ie||t.type===ae&&!nr(t.children)):!0)?e:null}const pn=e=>e?sr(e)?Bn(e)||e.proxy:pn(e.parent):null,kt=ce(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>pn(e.parent),$root:e=>pn(e.root),$emit:e=>e.emit,$options:e=>Ds(e),$forceUpdate:e=>()=>Kn(e.update),$nextTick:e=>ii.bind(e.proxy),$watch:e=>ai.bind(e)}),zl={get({_:e},t){const{ctx:n,setupState:s,data:r,props:l,accessCache:i,type:f,appContext:u}=e;let d;if(t[0]!=="$"){const I=i[t];if(I!==void 0)switch(I){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return l[t]}else{if(s!==W&&B(s,t))return i[t]=1,s[t];if(r!==W&&B(r,t))return i[t]=2,r[t];if((d=e.propsOptions[0])&&B(d,t))return i[t]=3,l[t];if(n!==W&&B(n,t))return i[t]=4,n[t];an&&(i[t]=0)}}const m=kt[t];let C,T;if(m)return t==="$attrs"&&pe(e,"get",t),m(e);if((C=f.__cssModules)&&(C=C[t]))return C;if(n!==W&&B(n,t))return i[t]=4,n[t];if(T=u.config.globalProperties,B(T,t))return T[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:l}=e;if(r!==W&&B(r,t))r[t]=n;else if(s!==W&&B(s,t))s[t]=n;else if(B(e.props,t))return!1;return t[0]==="$"&&t.slice(1)in e?!1:(l[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:l}},i){let f;return!!n[i]||e!==W&&B(e,i)||t!==W&&B(t,i)||(f=l[0])&&B(f,i)||B(s,i)||B(kt,i)||B(r.config.globalProperties,i)}},Zl=Ss();let Xl=0;function Ql(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||Zl,l={uid:Xl++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Tr(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ws(s,r),emitsOptions:Us(s,r),emit:null,emitted:null,propsDefaults:W,inheritAttrs:s.inheritAttrs,ctx:W,data:W,props:W,attrs:W,slots:W,refs:W,setupState:W,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return l.ctx={_:l},l.root=t?t.root:l,l.emit=il.bind(null,l),e.ce&&e.ce(l),l}let ne=null;const tt=e=>{ne=e,e.scope.on()},We=()=>{ne&&ne.scope.off(),ne=null};function sr(e){return e.vnode.shapeFlag&4}let bt=!1;function Gl(e,t=!1){bt=t;const{props:n,children:s}=e.vnode,r=sr(e);Nl(e,n,r,t),Hl(e,s);const l=r?ei(e,t):void 0;return bt=!1,l}function ei(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Rs(new Proxy(e.ctx,zl));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?ni(e):null;tt(e),nt();const l=He(s,e,0,[e.props,r]);if(Ve(),We(),_s(l)){if(l.then(We,We),t)return l.then(i=>{us(e,i,t)}).catch(i=>{xt(i,e,0)});e.asyncDep=l}else us(e,l,t)}else rr(e,t)}function us(e,t,n){j(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:te(t)&&(e.setupState=Hs(t)),rr(e,n)}let as;function rr(e,t,n){const s=e.type;if(!e.render){if(!t&&as&&!s.render){const r=s.template;if(r){const{isCustomElement:l,compilerOptions:i}=e.appContext.config,{delimiters:f,compilerOptions:u}=s,d=ce(ce({isCustomElement:l,delimiters:f},i),u);s.render=as(r,d)}}e.render=s.render||ye}tt(e),nt(),Ol(e),Ve(),We()}function ti(e){return new Proxy(e.attrs,{get(t,n){return pe(e,"get","$attrs"),t[n]}})}function ni(e){const t=s=>{e.exposed=s||{}};let n;return{get attrs(){return n||(n=ti(e))},slots:e.slots,emit:e.emit,expose:t}}function Bn(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Hs(Rs(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in kt)return kt[n](e)}}))}function si(e){return j(e)&&e.displayName||e.name}function ri(e){return j(e)&&"__vccOpts"in e}function He(e,t,n,s){let r;try{r=s?e(...s):e()}catch(l){xt(l,t,n)}return r}function Ee(e,t,n,s){if(j(e)){const l=He(e,t,n,s);return l&&_s(l)&&l.catch(i=>{xt(i,t,n)}),l}const r=[];for(let l=0;l>>1;yt(de[s])Fe&&de.splice(t,1)}function or(e,t,n,s){N(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?s+1:s))&&n.push(e),ir()}function ci(e){or(e,ft,dt,Ye)}function ui(e){or(e,je,ht,ze)}function Dn(e,t=null){if(dt.length){for(_n=t,ft=[...new Set(dt)],dt.length=0,Ye=0;Yeyt(n)-yt(s)),ze=0;zee.id==null?1/0:e.id;function fr(e){gn=!1,Bt=!0,Dn(e),de.sort((n,s)=>yt(n)-yt(s));const t=ye;try{for(Fe=0;Fee.value,d=!!e._shallow):Ge(e)?(u=()=>e,s=!0):N(e)?(m=!0,d=e.some(Ge),u=()=>e.map(y=>{if(re(y))return y.value;if(Ge(y))return Ze(y);if(j(y))return He(y,f,2)})):j(e)?t?u=()=>He(e,f,2):u=()=>{if(!(f&&f.isUnmounted))return C&&C(),Ee(e,f,3,[T])}:u=ye,t&&s){const y=u;u=()=>Ze(y())}let C,T=y=>{C=g.onStop=()=>{He(y,f,4)}};if(bt)return T=ye,t?n&&Ee(t,f,3,[u(),m?[]:void 0,T]):u(),ye;let I=m?[]:ds;const P=()=>{if(!!g.active)if(t){const y=g.run();(s||d||(m?y.some((A,$)=>pt(A,I[$])):pt(y,I)))&&(C&&C(),Ee(t,f,3,[y,I===ds?void 0:I,T]),I=y)}else g.run()};P.allowRecurse=!!t;let D;r==="sync"?D=P:r==="post"?D=()=>fe(P,f&&f.suspense):D=()=>{!f||f.isMounted?ci(P):P()};const g=new Fn(u,D);return t?n?P():I=g.run():r==="post"?fe(g.run.bind(g),f&&f.suspense):g.run(),()=>{g.stop(),f&&f.scope&&xn(f.scope.effects,g)}}function ai(e,t,n){const s=this.proxy,r=he(e)?e.includes(".")?cr(s,e):()=>s[e]:e.bind(s,s);let l;j(t)?l=t:(l=t.handler,n=t);const i=ne;tt(this);const f=Ln(r,l.bind(s),n);return i?tt(i):We(),f}function cr(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r{Ze(n,t)});else if(bs(e))for(const n in e)Ze(e[n],t);return e}function Pi(e,t,n){const s=arguments.length;return s===2?te(t)&&!N(t)?Ut(t)?G(e,null,[t]):G(e,t):G(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Ut(n)&&(n=[n]),G(e,t,n))}const di="3.2.26";var Ai=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n};export{Fi as A,tr as B,gi as C,er as D,mi as E,Qs as F,Yl as G,bi as H,yi as I,en as J,ln as K,yn as L,ae as M,Mi as N,G as O,Oi as P,yl as Q,wl as R,$s as S,Ei as T,xi as U,ol as V,Ti as W,Ai as _,Kt as a,ps as b,j as c,wi as d,ce as e,N as f,Me as g,Wt as h,he as i,Cn as j,hi as k,pi as l,Ee as m,ll as n,nn as o,An as p,Rs as q,Ps as r,_i as s,ii as t,pl as u,Pi as v,Ii as w,Zs as x,Ci as y,el as z}; diff --git a/assets/style.9dd27658.css b/assets/style.9dd27658.css new file mode 100644 index 0000000..a39db23 --- /dev/null +++ b/assets/style.9dd27658.css @@ -0,0 +1 @@ +:root{--c-white: #ffffff;--c-white-dark: #f8f8f8;--c-black: #000000;--c-divider-light: rgba(60, 60, 67, .12);--c-divider-dark: rgba(84, 84, 88, .48);--c-text-light-1: #2c3e50;--c-text-light-2: #476582;--c-text-light-3: #90a4b7;--c-brand: #3eaf7c;--c-brand-light: #4abf8a;--font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;--font-family-mono: source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace;--z-index-navbar: 10;--z-index-sidebar: 6;--shadow-1: 0 1px 2px rgba(0, 0, 0, .04), 0 1px 2px rgba(0, 0, 0, .06);--shadow-2: 0 3px 12px rgba(0, 0, 0, .07), 0 1px 4px rgba(0, 0, 0, .07);--shadow-3: 0 12px 32px rgba(0, 0, 0, .1), 0 2px 6px rgba(0, 0, 0, .08);--shadow-4: 0 14px 44px rgba(0, 0, 0, .12), 0 3px 9px rgba(0, 0, 0, .12);--shadow-5: 0 18px 56px rgba(0, 0, 0, .16), 0 4px 12px rgba(0, 0, 0, .16);--header-height: 3.6rem}:root{--c-divider: var(--c-divider-light);--c-text: var(--c-text-light-1);--c-text-light: var(--c-text-light-2);--c-text-lighter: var(--c-text-light-3);--c-bg: var(--c-white);--c-bg-accent: var(--c-white-dark);--code-line-height: 24px;--code-font-family: var(--font-family-mono);--code-font-size: 14px;--code-inline-bg-color: rgba(27, 31, 35, .05);--code-bg-color: #282c34}*,:before,:after{box-sizing:border-box}html{line-height:1.4;font-size:16px;-webkit-text-size-adjust:100%}body{margin:0;width:100%;min-width:320px;min-height:100vh;line-height:1.4;font-family:var(--font-family-base);font-size:16px;font-weight:400;color:var(--c-text);background-color:var(--c-bg);direction:ltr;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}main{display:block}h1,h2,h3,h4,h5,h6{margin:0;line-height:1.25}h1,h2,h3,h4,h5,h6,strong,b{font-weight:600}h1:hover .header-anchor,h1:focus .header-anchor,h2:hover .header-anchor,h2:focus .header-anchor,h3:hover .header-anchor,h3:focus .header-anchor,h4:hover .header-anchor,h4:focus .header-anchor,h5:hover .header-anchor,h5:focus .header-anchor,h6:hover .header-anchor,h6:focus .header-anchor{opacity:1}h1{margin-top:1.5rem;font-size:1.9rem}@media screen and (min-width: 420px){h1{font-size:2.2rem}}h2{margin-top:2.25rem;margin-bottom:1.25rem;border-bottom:1px solid var(--c-divider);padding-bottom:.3rem;line-height:1.25;font-size:1.65rem}h2+h3{margin-top:1.5rem}h3{margin-top:2rem;font-size:1.35rem}h4{font-size:1.15rem}p,ol,ul{margin:1rem 0;line-height:1.7}a,area,button,[role=button],input,label,select,summary,textarea{touch-action:manipulation}a{text-decoration:none;color:var(--c-brand)}a:hover{text-decoration:underline}a.header-anchor{float:left;margin-top:.125em;margin-left:-.87em;padding-right:.23em;font-size:.85em;opacity:0}a.header-anchor:hover,a.header-anchor:focus{text-decoration:none}figure{margin:0}img{max-width:100%}ul,ol{padding-left:1.25em}li>ul,li>ol{margin:0}table{display:block;border-collapse:collapse;margin:1rem 0;overflow-x:auto}tr{border-top:1px solid #dfe2e5}tr:nth-child(2n){background-color:#f6f8fa}th,td{border:1px solid #dfe2e5;padding:.6em 1em}blockquote{margin:1rem 0;border-left:.2rem solid #dfe2e5;padding:.25rem 0 .25rem 1rem;font-size:1rem;color:#999}blockquote>p{margin:0}form{margin:0}.theme.sidebar-open .sidebar-mask{display:block}.theme.no-navbar>h1,.theme.no-navbar>h2,.theme.no-navbar>h3,.theme.no-navbar>h4,.theme.no-navbar>h5,.theme.no-navbar>h6{margin-top:1.5rem;padding-top:0}.theme.no-navbar aside{top:0}@media screen and (min-width: 720px){.theme.no-sidebar aside{display:none}.theme.no-sidebar main{margin-left:0}}.sidebar-mask{position:fixed;z-index:2;display:none;width:100vw;height:100vh}code{margin:0;border-radius:3px;padding:.25rem .5rem;font-family:var(--code-font-family);font-size:.85em;color:var(--c-text-light);background-color:var(--code-inline-bg-color)}code .token.deleted{color:#ec5975}code .token.inserted{color:var(--c-brand)}div[class*=language-]{position:relative;margin:1rem -1.5rem;background-color:var(--code-bg-color);overflow-x:auto}li>div[class*=language-]{border-radius:6px 0 0 6px;margin:1rem -1.5rem 1rem -1.25rem;line-height:initial}@media (min-width: 420px){div[class*=language-]{margin:1rem 0;border-radius:6px}li>div[class*=language-]{margin:1rem 0 1rem 0rem;border-radius:6px}}[class*=language-] pre,[class*=language-] code{text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none;background:transparent}[class*=language-] pre{position:relative;z-index:1;margin:0;padding:1.25rem 1.5rem;overflow-x:auto}[class*=language-] code{padding:0;line-height:var(--code-line-height);font-size:var(--code-font-size);color:#eee}.highlight-lines{position:absolute;top:0;bottom:0;left:0;padding:1.25rem 0;width:100%;line-height:var(--code-line-height);font-family:var(--code-font-family);font-size:var(--code-font-size);user-select:none;overflow:hidden}.highlight-lines .highlighted{background-color:#000000a8}div[class*=language-].line-numbers-mode{padding-left:3.5rem}.line-numbers-wrapper{position:absolute;top:0;bottom:0;left:0;z-index:3;border-right:1px solid rgba(0,0,0,.5);padding:1.25rem 0;width:3.5rem;text-align:center;line-height:var(--code-line-height);font-family:var(--code-font-family);font-size:var(--code-font-size);color:#888}div[class*=language-]:before{position:absolute;top:.6em;right:1em;z-index:2;font-size:.8rem;color:#888}div[class~=language-html]:before,div[class~=language-markup]:before{content:"html"}div[class~=language-md]:before,div[class~=language-markdown]:before{content:"md"}div[class~=language-css]:before{content:"css"}div[class~=language-sass]:before{content:"sass"}div[class~=language-scss]:before{content:"scss"}div[class~=language-less]:before{content:"less"}div[class~=language-stylus]:before{content:"styl"}div[class~=language-js]:before,div[class~=language-javascript]:before{content:"js"}div[class~=language-ts]:before,div[class~=language-typescript]:before{content:"ts"}div[class~=language-json]:before{content:"json"}div[class~=language-rb]:before,div[class~=language-ruby]:before{content:"rb"}div[class~=language-py]:before,div[class~=language-python]:before{content:"py"}div[class~=language-sh]:before,div[class~=language-bash]:before{content:"sh"}div[class~=language-php]:before{content:"php"}div[class~=language-go]:before{content:"go"}div[class~=language-rust]:before{content:"rust"}div[class~=language-java]:before{content:"java"}div[class~=language-c]:before{content:"c"}div[class~=language-yaml]:before{content:"yaml"}div[class~=language-dockerfile]:before{content:"dockerfile"}div[class~=language-vue]:before{content:"vue"}.token.comment,.token.block-comment,.token.prolog,.token.doctype,.token.cdata{color:#999}.token.punctuation{color:#ccc}.token.tag,.token.attr-name,.token.namespace,.token.deleted{color:#e2777a}.token.function-name{color:#6196cc}.token.boolean,.token.number,.token.function{color:#f08d49}.token.property,.token.class-name,.token.constant,.token.symbol{color:#f8c555}.token.selector,.token.important,.token.atrule,.token.keyword,.token.builtin{color:#cc99cd}.token.string,.token.char,.token.attr-value,.token.regex,.token.variable{color:#7ec699}.token.operator,.token.entity,.token.url{color:#67cdcc}.token.important,.token.bold{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.token.inserted{color:green}.custom-block.tip,.custom-block.info,.custom-block.warning,.custom-block.danger{margin:1rem 0;border-left:.5rem solid;padding:.1rem 1.5rem;overflow-x:auto}.custom-block.tip{background-color:#f3f5f7;border-color:var(--c-brand)}.custom-block.info{background-color:#f3f5f7;border-color:var(--c-text-light-2)}.custom-block.warning{border-color:#e7c000;color:#6b5900;background-color:#ffe5644d}.custom-block.warning .custom-block-title{color:#b29400}.custom-block.warning a{color:var(--c-text)}.custom-block.danger{border-color:#c00;color:#4d0000;background-color:#ffe6e6}.custom-block.danger .custom-block-title{color:#900}.custom-block.danger a{color:var(--c-text)}.custom-block.details{position:relative;display:block;border-radius:2px;margin:1.6em 0;padding:1.6em;background-color:#eee}.custom-block.details h4{margin-top:0}.custom-block.details figure:last-child,.custom-block.details p:last-child{margin-bottom:0;padding-bottom:0}.custom-block.details summary{outline:none;cursor:pointer}.custom-block-title{margin-bottom:-.4rem;font-weight:600}.sidebar-links{margin:0;padding:0;list-style:none}.sidebar-link-item{display:block;margin:0;border-left:.25rem solid transparent;color:var(--c-text)}a.sidebar-link-item:hover{text-decoration:none;color:var(--c-brand)}a.sidebar-link-item.active{color:var(--c-brand)}.sidebar>.sidebar-links{padding:.75rem 0 5rem}@media (min-width: 720px){.sidebar>.sidebar-links{padding:1.5rem 0}}.sidebar>.sidebar-links>.sidebar-link+.sidebar-link{padding-top:.5rem}@media (min-width: 720px){.sidebar>.sidebar-links>.sidebar-link+.sidebar-link{padding-top:1.25rem}}.sidebar>.sidebar-links>.sidebar-link>.sidebar-link-item{padding:.35rem 1.5rem .35rem 1.25rem;font-size:1.1rem;font-weight:700}.sidebar>.sidebar-links>.sidebar-link>a.sidebar-link-item.active{border-left-color:var(--c-brand);font-weight:600}.sidebar>.sidebar-links>.sidebar-link>.sidebar-links>.sidebar-link>.sidebar-link-item{display:block;padding:.35rem 1.5rem .35rem 2rem;line-height:1.4;font-size:1rem;font-weight:400}.sidebar>.sidebar-links>.sidebar-link>.sidebar-links>.sidebar-link>a.sidebar-link-item.active{border-left-color:var(--c-brand);font-weight:600}.sidebar>.sidebar-links>.sidebar-link>.sidebar-links>.sidebar-link>.sidebar-links>.sidebar-link>.sidebar-link-item{display:block;padding:.3rem 1.5rem .3rem 3rem;line-height:1.4;font-size:.9rem;font-weight:400}.sidebar>.sidebar-links>.sidebar-link>.sidebar-links>.sidebar-link>.sidebar-links>.sidebar-link>.sidebar-links>.sidebar-link>.sidebar-link-item{display:block;padding:.3rem 1.5rem .3rem 4rem;line-height:1.4;font-size:.9rem;font-weight:400}.debug[data-v-bf835584]{box-sizing:border-box;position:fixed;right:8px;bottom:8px;z-index:9999;border-radius:4px;width:74px;height:32px;color:#eee;overflow:hidden;cursor:pointer;background-color:#000000d9;transition:all .15s ease}.debug[data-v-bf835584]:hover{background-color:#000000bf}.debug.open[data-v-bf835584]{right:0;bottom:0;width:100%;height:100%;margin-top:0;border-radius:0;padding:0;overflow:scroll}@media (min-width: 512px){.debug.open[data-v-bf835584]{width:512px}}.debug.open[data-v-bf835584]:hover{background-color:#000000d9}.title[data-v-bf835584]{margin:0;padding:6px 16px;line-height:20px;font-size:13px}.block[data-v-bf835584]{margin:2px 0 0;border-top:1px solid rgba(255,255,255,.16);padding:8px 16px;font-family:Hack,monospace;font-size:13px}.block+.block[data-v-bf835584]{margin-top:8px}.nav-bar-title[data-v-cc01ef16]{font-size:1.3rem;font-weight:600;color:var(--c-text);display:flex;justify-content:center;align-items:center}.nav-bar-title[data-v-cc01ef16]:hover{text-decoration:none}.logo[data-v-cc01ef16]{margin-right:.75rem;height:1.3rem;vertical-align:bottom}.icon.outbound{position:relative;top:-1px;display:inline-block;vertical-align:middle;color:var(--c-text-lighter)}.item[data-v-b8818f8c]{display:block;padding:0 1.5rem;line-height:36px;font-size:1rem;font-weight:600;color:var(--c-text);white-space:nowrap}.item[data-v-b8818f8c]:hover,.item.active[data-v-b8818f8c]{text-decoration:none;color:var(--c-brand)}.item.external[data-v-b8818f8c]:hover{border-bottom-color:transparent;color:var(--c-text)}@media (min-width: 720px){.item[data-v-b8818f8c]{border-bottom:2px solid transparent;padding:0;line-height:24px;font-size:.9rem;font-weight:500}.item[data-v-b8818f8c]:hover,.item.active[data-v-b8818f8c]{border-bottom-color:var(--c-brand);color:var(--c-text)}}.item[data-v-bbc27490]{display:block;padding:0 1.5rem 0 2.5rem;line-height:32px;font-size:.9rem;font-weight:500;color:var(--c-text);white-space:nowrap}@media (min-width: 720px){.item[data-v-bbc27490]{padding:0 24px 0 12px;line-height:32px;font-size:.85rem;font-weight:500;color:var(--c-text);white-space:nowrap}.item.active .arrow[data-v-bbc27490]{opacity:1}}.item[data-v-bbc27490]:hover,.item.active[data-v-bbc27490]{text-decoration:none;color:var(--c-brand)}.item.external[data-v-bbc27490]:hover{border-bottom-color:transparent;color:var(--c-text)}@media (min-width: 720px){.arrow[data-v-bbc27490]{display:inline-block;margin-right:8px;border-top:6px solid #ccc;border-right:4px solid transparent;border-bottom:0;border-left:4px solid transparent;vertical-align:middle;opacity:0;transform:translateY(-2px) rotate(-90deg)}}.nav-dropdown-link[data-v-56bf3a3f]{position:relative;height:36px;overflow:hidden;cursor:pointer}@media (min-width: 720px){.nav-dropdown-link[data-v-56bf3a3f]{height:auto;overflow:visible}.nav-dropdown-link:hover .dialog[data-v-56bf3a3f]{display:block}}.nav-dropdown-link.open[data-v-56bf3a3f]{height:auto}.button[data-v-56bf3a3f]{display:block;border:0;padding:0 1.5rem;width:100%;text-align:left;line-height:36px;font-family:var(--font-family-base);font-size:1rem;font-weight:600;color:var(--c-text);white-space:nowrap;background-color:transparent;cursor:pointer}.button[data-v-56bf3a3f]:focus{outline:0}@media (min-width: 720px){.button[data-v-56bf3a3f]{border-bottom:2px solid transparent;padding:0;line-height:24px;font-size:.9rem;font-weight:500}}.button-arrow[data-v-56bf3a3f]{display:inline-block;margin-top:-1px;margin-left:8px;border-top:6px solid #ccc;border-right:4px solid transparent;border-bottom:0;border-left:4px solid transparent;vertical-align:middle}.button-arrow.right[data-v-56bf3a3f]{transform:rotate(-90deg)}@media (min-width: 720px){.button-arrow.right[data-v-56bf3a3f]{transform:rotate(0)}}.dialog[data-v-56bf3a3f]{margin:0;padding:0;list-style:none}@media (min-width: 720px){.dialog[data-v-56bf3a3f]{display:none;position:absolute;top:26px;right:-8px;border-radius:6px;padding:12px 0;min-width:128px;background-color:var(--c-bg);box-shadow:var(--shadow-3)}}.nav-links[data-v-eab3edfe]{padding:.75rem 0;border-bottom:1px solid var(--c-divider)}@media (min-width: 720px){.nav-links[data-v-eab3edfe]{display:flex;padding:6px 0 0;align-items:center;border-bottom:0}.item+.item[data-v-eab3edfe]{padding-left:24px}}.sidebar-button{position:absolute;top:.6rem;left:1rem;display:none;padding:.6rem;cursor:pointer}.sidebar-button .icon{display:block;width:1.25rem;height:1.25rem}@media screen and (max-width: 719px){.sidebar-button{display:block}}.nav-bar[data-v-675d8756]{position:fixed;top:0;right:0;left:0;z-index:var(--z-index-navbar);display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--c-divider);padding:.7rem 1.5rem .7rem 4rem;height:var(--header-height);background-color:var(--c-bg)}@media (min-width: 720px){.nav-bar[data-v-675d8756]{padding:.7rem 1.5rem}}.flex-grow[data-v-675d8756]{flex-grow:1}.nav[data-v-675d8756]{display:none}@media (min-width: 720px){.nav[data-v-675d8756]{display:block}}.sidebar[data-v-83e92a68]{position:fixed;top:var(--header-height);bottom:0;left:0;z-index:var(--z-index-sidebar);border-right:1px solid var(--c-divider);width:16.4rem;background-color:var(--c-bg);overflow-y:auto;transform:translate(-100%);transition:transform .25s ease}@media (min-width: 720px){.sidebar[data-v-83e92a68]{transform:translate(0)}}@media (min-width: 960px){.sidebar[data-v-83e92a68]{width:20rem}}.sidebar.open[data-v-83e92a68]{transform:translate(0)}.nav[data-v-83e92a68]{display:block}@media (min-width: 720px){.nav[data-v-83e92a68]{display:none}}.link[data-v-1ed99556]{display:inline-block;font-size:1rem;font-weight:500;color:var(--c-text-light)}.link[data-v-1ed99556]:hover{text-decoration:none;color:var(--c-brand)}.icon[data-v-1ed99556]{margin-left:4px}.last-updated[data-v-5797b537]{display:inline-block;margin:0;line-height:1.4;font-size:.9rem;color:var(--c-text-light)}@media (min-width: 960px){.last-updated[data-v-5797b537]{font-size:1rem}}.prefix[data-v-5797b537]{display:inline-block;font-weight:500}.datetime[data-v-5797b537]{display:inline-block;margin-left:6px;font-weight:400}.page-footer[data-v-fb8d84c6]{padding-top:1rem;padding-bottom:1rem;overflow:auto}@media (min-width: 960px){.page-footer[data-v-fb8d84c6]{display:flex;justify-content:space-between;align-items:center}}.updated[data-v-fb8d84c6]{padding-top:4px}@media (min-width: 960px){.updated[data-v-fb8d84c6]{padding-top:0}}.next-and-prev-link[data-v-38ede35f]{padding-top:1rem}.container[data-v-38ede35f]{display:flex;justify-content:space-between;border-top:1px solid var(--c-divider);padding-top:1rem}.prev[data-v-38ede35f],.next[data-v-38ede35f]{display:flex;flex-shrink:0;width:50%}.prev[data-v-38ede35f]{justify-content:flex-start;padding-right:12px}.next[data-v-38ede35f]{justify-content:flex-end;padding-left:12px}.link[data-v-38ede35f]{display:inline-flex;align-items:center;max-width:100%;font-size:1rem;font-weight:500}.text[data-v-38ede35f]{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.icon[data-v-38ede35f]{display:block;flex-shrink:0;width:16px;height:16px;fill:var(--c-text);transform:translateY(1px)}.icon-prev[data-v-38ede35f]{margin-right:8px}.icon-next[data-v-38ede35f]{margin-left:8px}.page[data-v-7eddb2c4]{padding-top:var(--header-height)}@media (min-width: 720px){.page[data-v-7eddb2c4]{margin-left:16.4rem}}@media (min-width: 960px){.page[data-v-7eddb2c4]{margin-left:20rem}}.container[data-v-7eddb2c4]{margin:0 auto;padding:0 1.5rem 4rem;max-width:48rem}.content[data-v-7eddb2c4]{padding-bottom:1.5rem}@media (max-width: 420px){.content[data-v-7eddb2c4]{clear:both}}#ads-container{margin:0 auto}@media (min-width: 420px){#ads-container{position:relative;right:0;float:right;margin:-8px -8px 24px 24px;width:146px}}@media (max-width: 420px){#ads-container{height:105px;margin:1.75rem 0}}@media (min-width: 1400px){#ads-container{position:fixed;right:8px;bottom:8px}}:root{--c-brand: #2398c8;--c-brand-light: #7cd3f6}.home-hero[data-v-370f18c0]{margin:2.5rem 0 2.75rem;padding:0 1.5rem;text-align:center}@media (min-width: 420px){.home-hero[data-v-370f18c0]{margin:3.5rem 0}}@media (min-width: 720px){.home-hero[data-v-370f18c0]{margin:4rem 0 4.25rem}}.figure[data-v-370f18c0]{padding:0 1.5rem}.image[data-v-370f18c0]{display:block;margin:0 auto;width:auto;max-width:100%;max-height:280px}.title[data-v-370f18c0]{margin-top:1.5rem;font-size:2rem}@media (min-width: 420px){.title[data-v-370f18c0]{font-size:3rem}}@media (min-width: 720px){.title[data-v-370f18c0]{margin-top:2rem}}.tagline[data-v-370f18c0]{margin:0;margin-top:.25rem;line-height:1.3;font-size:1.2rem;color:var(--c-text-light)}@media (min-width: 420px){.tagline[data-v-370f18c0]{line-height:1.2;font-size:1.6rem}}.action[data-v-370f18c0]{margin-top:1.5rem;display:inline-block}.action.alt[data-v-370f18c0]{margin-left:1.5rem}@media (min-width: 420px){.action[data-v-370f18c0]{margin-top:2rem;display:inline-block}}.action[data-v-370f18c0] .item{display:inline-block;border-radius:6px;padding:0 20px;line-height:44px;font-size:1rem;font-weight:500;color:var(--c-bg);background-color:var(--c-brand);border:2px solid var(--c-brand);transition:background-color .1s ease}.action.alt[data-v-370f18c0] .item{background-color:var(--c-bg);color:var(--c-brand)}.action[data-v-370f18c0] .item:hover{text-decoration:none;color:var(--c-bg);background-color:var(--c-brand-light)}@media (min-width: 420px){.action[data-v-370f18c0] .item{padding:0 24px;line-height:52px;font-size:1.2rem;font-weight:500}}.home-features[data-v-e39c13e0]{margin:0 auto;padding:2.5rem 0 2.75rem;max-width:960px}.home-hero+.home-features[data-v-e39c13e0]{padding-top:0}@media (min-width: 420px){.home-features[data-v-e39c13e0]{padding:3.25rem 0 3.5rem}.home-hero+.home-features[data-v-e39c13e0]{padding-top:0}}@media (min-width: 720px){.home-features[data-v-e39c13e0]{padding-right:1.5rem;padding-left:1.5rem}}.wrapper[data-v-e39c13e0]{padding:0 1.5rem}.home-hero+.home-features .wrapper[data-v-e39c13e0]{border-top:1px solid var(--c-divider);padding-top:2.5rem}@media (min-width: 420px){.home-hero+.home-features .wrapper[data-v-e39c13e0]{padding-top:3.25rem}}@media (min-width: 720px){.wrapper[data-v-e39c13e0]{padding-right:0;padding-left:0}}.container[data-v-e39c13e0]{margin:0 auto;max-width:392px}@media (min-width: 720px){.container[data-v-e39c13e0]{max-width:960px}}.features[data-v-e39c13e0]{display:flex;flex-wrap:wrap;margin:-20px -24px}.feature[data-v-e39c13e0]{flex-shrink:0;padding:20px 24px;width:100%}@media (min-width: 720px){.feature[data-v-e39c13e0]{width:calc(100% / 3)}}.title[data-v-e39c13e0]{margin:0;border-bottom:0;line-height:1.4;font-size:1.25rem;font-weight:500}@media (min-width: 420px){.title[data-v-e39c13e0]{font-size:1.4rem}}.details[data-v-e39c13e0]{margin:0;line-height:1.6;font-size:1rem;color:var(--c-text-light)}.title+.details[data-v-e39c13e0]{padding-top:.25rem}.footer[data-v-30918238]{margin:0 auto;max-width:960px}@media (min-width: 720px){.footer[data-v-30918238]{padding:0 1.5rem}}.container[data-v-30918238]{padding:2rem 1.5rem 2.25rem}.home-hero+.footer .container[data-v-30918238],.home-features+.footer .container[data-v-30918238],.home-content+.footer .container[data-v-30918238]{border-top:1px solid var(--c-divider)}@media (min-width: 420px){.container[data-v-30918238]{padding:3rem 1.5rem 3.25rem}}.text[data-v-30918238]{margin:0;text-align:center;line-height:1.4;font-size:.9rem;color:var(--c-text-light)}.home[data-v-10122c92]{padding-top:var(--header-height)}.home-content[data-v-10122c92]{max-width:960px;margin:0 auto;padding:0 1.5rem} diff --git a/guide/index.html b/guide/index.html new file mode 100644 index 0000000..8acb3fb --- /dev/null +++ b/guide/index.html @@ -0,0 +1,40 @@ + + + + + + CLI / Terminal | Arcsecond CLI + + + + + + + + + + + +

CLI / Terminal

Philosophy

The Arcsecond CLI is using the same principle as git. The main entry point is arcsecond followed by a command. And most of the commands have the name of API endpoints.

For instance, to obtain the information about an object, and likewise, an exoplanet:

$ arcsecond objects "HD 5980"
+$ arcsecond exoplanets "51 Peg b"
+

For objects, and exoplanets, you can open the webpage in the default browser:

$ arcsecond objects "HD 5980" --open
+$ arcsecond exoplanets "51 Peg b" --open
+

Or open the API webpage in the default browser for that object:

$ arcsecond o "HD 5980" --open api
+$ arcsecond exoplanets "51 Peg b" --open api
+

For other things, such as private observing runs and night logs, likewise:

$ arcsecond observingruns <uuid>
+$ arcsecond nightlogs <uuid>    
+

Available Endpoints

The available read-only API endpoints (and thus, subcommands) available so far are:

  • objects, exoplanets, and findingcharts (public)
  • observingsites, telescopes and instruments (public)
  • profiles (public)
  • satellites (public)
  • observingruns and nightlogs (private)
  • me (personal profile, private)

Observing Runs and Night Logs will be writable in a near future. As for Observing Sites, Telescopes and Instruments, this is under study.

The available read-write API endpoints available so far are:

  • activities (public)
  • datasets and datafiles (private)

Read-write APIs use the 4 standard CRUD methods: create, read, update, delete (while, read-only APIs have only the read method, implicitly).

See below for details.

Datasets and Data files

You can entirely manage your datasets and Data/FITS files (including upload) from this CLI / Python module.

To list your datasets (the two methods are identical, the second simply having its action name explicitly written):

$ arcsecond datasets
+$ arcsecond datasets read
+

To create a dataset:

$ arcsecond datasets create --name "this is a new dataset"
+

To delete a dataset (warning: this will also delete the associated data/FITS files!):

$ arcsecond datasets delete <dataset uuid>
+

Data files are necessarily associated with a dataset. Hence a dataset UUID must be provided. To upload a data file:

$ arcsecond datafiles <dataset uuid> create --file <path to a local data file>
+

To delete a data file, one use its "id/pk" (pk = Primary Key == ID):

$ arcsecond datafiles <dataset uuid> delete <Data file pk>
+

Python Module

Using this as a Python module goes as follow

>>> from arcsecond import ArcsecondAPI
+>>> ArcsecondAPI.login(<username>, <password>)
+>>> ArcsecondAPI(ArcsecondAPI.ENDPOINT_OBJECTS).read('HD 5980')
+
+ + + + + \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..e3166e0 --- /dev/null +++ b/index.html @@ -0,0 +1,23 @@ + + + + + + Arcsecond CLI + + + + + + + + + + + +
Arcsecond Logo

Arcsecond CLI

The command-line utility / Python module to access the resources of Arcsecond.io.

Command-Line

All the public and private Arcsecond.io resources (objects, exoplanets, datasets...) right into your Terminal.

Python Module

All the Arcsecond.io resources inside your Python code! Easily plan observations with your own custom rules.

Arcsecond.io ?

Arcsecond.io is a unique and comprehensive cloud platform made by astronomers for astronomers providing all the necessary resources and tools for preparing astronomical observations.

MIT Licensed | Copyright © 2018-present Arcsecond.io (F52 Tech).

+ + + + + \ No newline at end of file diff --git a/install/index.html b/install/index.html new file mode 100644 index 0000000..4cf80cb --- /dev/null +++ b/install/index.html @@ -0,0 +1,30 @@ + + + + + + Install | Arcsecond CLI + + + + + + + + + + + +

Install

Simply issue the following in a Terminal:

$ pip install arcsecond
+

To upgrade an existing Arcsecond installation:

$ pip install --upgrade arcsecond
+

The help is accessible like any other command line:

$ arcsecond --help
+

or, for subcommand

$ arcsecond <command> --help
+

At that point, you can access all the public resources of Arcsecond.io.

The Arcsecond CLI usage is similar to a utility like git. That is, arcsecond is the main entry point, followed by a command. Most of the commands are simply the name of API resources.

For accessing private resources, such as datasets, night logs etc, you must log in (or register first).

Setup

Register to Arcsecond.io

You can register directly from the CLI:

$ arcsecond register
+

and provide a username and a password.

Login to Arcsecond.io

You must login first before accessing APIs.

$ arcsecond login 
+

To skip prompts:

$ arcsecond login --username <username> --password <password>
+

By registering or logging in, your private API key will be stored locally in the config file in ~/.arcsecond.ini. Do not share this key. It gives a complete access to your private resources too.

Logging in again will overwrite the current API key with the new one (assuming login is a success, of course).

If you think your key is compromised, you can regenerate one in your profile settings in https://www.arcsecond.io. You cannot regenerate an API key with the cli.

+ + + + + \ No newline at end of file diff --git a/observations/index.html b/observations/index.html new file mode 100644 index 0000000..2aad25e --- /dev/null +++ b/observations/index.html @@ -0,0 +1,23 @@ + + + + + + Introduction | Arcsecond CLI + + + + + + + + + + + +

Introduction

Astroplan is an open-source package affiliated with the famous community-powered Astropy. Astroplan aims to help astronomers plan observations, similarly to iObserve and Arcsecond.io try to achieve.

One major difference with us is that Astroplan leaves you the responsibility for all the "plumbing" or "app" code. That is, it provides all the necessary information to plan observations indeed. However, there is no infrastructure nor app code to help you go much beyond a few observations without having to write (and organise and maintain) lots of non-scientific code. If you need to create dozens of observations, for dozens of observing runs, all this code is up to you.

For astronomers loving to write their own code, it is certainly a good solution (and we know many of them in that situation). But even in this case, you are left with lots of work such as maintaining your code, testing it to avoid regressions, finding a place to store targets, target lists, organise your plots and figures and so on.

Arcsecond.io and its main Pro Tool "iObserve" are developed since many years precisely to help astronomers avoid re-inventing the wheel whatever their knowledge of code. There is one key difference of course. Using a complete tool such as iObserve has a (small) price. But we think we have come up with a very affordable model for professionals and even Ph.D. students and undergrads! See our Pricing page for more details.

We provide yearly subscriptions for iObserve on the web. These

subscriptions are entirely compatible with any (US) University administration. We already set up such subscriptions with a University Physics Department in Arizona. Email us to know more and set up yours.

Nights...

+ + + + + \ No newline at end of file