profectus-docs/assets/app.cf939732.js

2 lines
130 KiB
JavaScript
Raw Normal View History

const Lr="modulepreload",po={},Mr="/",Ir=function(t,n){return!n||n.length===0?t():Promise.all(n.map(s=>{if(s=`${Mr}${s}`,s in po)return;po[s]=!0;const o=s.endsWith(".css"),i=o?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${s}"]${i}`))return;const r=document.createElement("link");if(r.rel=o?"stylesheet":Lr,o||(r.as="script",r.crossOrigin=""),r.href=s,document.head.appendChild(r),o)return new Promise((l,a)=>{r.addEventListener("load",l),r.addEventListener("error",()=>a(new Error(`Unable to preload CSS for ${s}`)))})})).then(()=>t())};function Os(e,t){const n=Object.create(null),s=e.split(",");for(let o=0;o<s.length;o++)n[s[o]]=!0;return t?o=>!!n[o.toLowerCase()]:o=>!!n[o]}const Ar="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Nr=Os(Ar);function ci(e){return!!e||e===""}function Hs(e){if(K(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],o=xe(s)?Or(s):Hs(s);if(o)for(const i in o)t[i]=o[i]}return t}else{if(xe(e))return e;if(be(e))return e}}const Br=/;(?![^(]*\))/g,Fr=/:(.+)/;function Or(e){const t={};return e.split(Br).forEach(n=>{if(n){const s=n.split(Fr);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function me(e){let t="";if(xe(e))t=e;else if(K(e))for(let n=0;n<e.length;n++){const s=me(e[n]);s&&(t+=s+" ")}else if(be(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const se=e=>xe(e)?e:e==null?"":K(e)||be(e)&&(e.toString===hi||!X(e.toString))?JSON.stringify(e,ui,2):String(e),ui=(e,t)=>t&&t.__v_isRef?ui(e,t.value):It(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o])=>(n[`${s} =>`]=o,n),{})}:fi(t)?{[`Set(${t.size})`]:[...t.values()]}:be(t)&&!K(t)&&!_i(t)?String(t):t,he={},Mt=[],qe=()=>{},Hr=()=>!1,Rr=/^on[^a-z]/,hn=e=>Rr.test(e),Rs=e=>e.startsWith("onUpdate:"),we=Object.assign,Ds=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Dr=Object.prototype.hasOwnProperty,ne=(e,t)=>Dr.call(e,t),K=Array.isArray,It=e=>zn(e)==="[object Map]",fi=e=>zn(e)==="[object Set]",X=e=>typeof e=="function",xe=e=>typeof e=="string",zs=e=>typeof e=="symbol",be=e=>e!==null&&typeof e=="object",di=e=>be(e)&&X(e.then)&&X(e.catch),hi=Object.prototype.toString,zn=e=>hi.call(e),zr=e=>zn(e).slice(8,-1),_i=e=>zn(e)==="[object Object]",Us=e=>xe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Xt=Os(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Un=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ur=/-(\w)/g,Ye=Un(e=>e.replace(Ur,(t,n)=>n?n.toUpperCase():"")),jr=/\B([A-Z])/g,Ht=Un(e=>e.replace(jr,"-$1").toLowerCase()),jn=Un(e=>e.charAt(0).toUpperCase()+e.slice(1)),us=Un(e=>e?`on${jn(e)}`:""),rn=(e,t)=>!Object.is(e,t),fs=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Tn=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},pi=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let mo;const Kr=()=>mo||(mo=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let Me;class qr{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&Me&&(this.parent=Me,this.index=(Me.scopes||(Me.scopes=[])).push(this)-1)}run(t){if(this.active){const n=Me;try{return Me=this,t()}finally{Me=n}}}on(){Me=this}off(){Me=this.parent}stop(t){if(this.active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);if(this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.active=!1}}}function Wr(e,t=Me){t&&t.active&&t.effects.push(e)}function Gr(){return Me}function Yr(e){Me&&Me.cleanups.push(e)}const js=e=>{const t=new Set(e);return t.w=0,t.n=0,t},mi=e=>(e.w&_t)>0,vi=e=>(e.n&_t)>0,Jr=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=_t},Xr=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const o=t[s];mi(o)&&!vi(o)?o.delete(e):t[n++]=o,o.w&=~_t,o.n&=~_t}t.length=n}},ys=new W