schlechtenburg/docs/assets/app.d1307649.js

2 lines
80 KiB
JavaScript
Raw Normal View History

2022-03-22 20:56:45 +00:00
function ts(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r<s.length;r++)n[s[r]]=!0;return t?r=>!!n[r.toLowerCase()]:r=>!!n[r]}const Oo="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Ro=ts(Oo);function pr(e){return!!e||e===""}function ns(e){if(F(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=pe(s)?No(s):ns(s);if(r)for(const o in r)t[o]=r[o]}return t}else{if(pe(e))return e;if(ae(e))return e}}const Fo=/;(?![^(]*\))/g,So=/:(.+)/;function No(e){const t={};return e.split(Fo).forEach(n=>{if(n){const s=n.split(So);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function at(e){let t="";if(pe(e))t=e;else if(F(e))for(let n=0;n<e.length;n++){const s=at(e[n]);s&&(t+=s+" ")}else if(ae(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const be=e=>pe(e)?e:e==null?"":F(e)||ae(e)&&(e.toString===vr||!H(e.toString))?JSON.stringify(e,_r,2):String(e),_r=(e,t)=>t&&t.__v_isRef?_r(e,t.value):vt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:gr(t)?{[`Set(${t.size})`]:[...t.values()]}:ae(t)&&!F(t)&&!br(t)?String(t):t,X={},mt=[],Me=()=>{},Ho=()=>!1,Bo=/^on[^a-z]/,zt=e=>Bo.test(e),ss=e=>e.startsWith("onUpdate:"),xe=Object.assign,rs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Uo=Object.prototype.hasOwnProperty,z=(e,t)=>Uo.call(e,t),F=Array.isArray,vt=e=>yn(e)==="[object Map]",gr=e=>yn(e)==="[object Set]",H=e=>typeof e=="function",pe=e=>typeof e=="string",os=e=>typeof e=="symbol",ae=e=>e!==null&&typeof e=="object",mr=e=>ae(e)&&H(e.then)&&H(e.catch),vr=Object.prototype.toString,yn=e=>vr.call(e),jo=e=>yn(e).slice(8,-1),br=e=>yn(e)==="[object Object]",is=e=>pe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Mt=ts(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),wn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Do=/-(\w)/g,Ne=wn(e=>e.replace(Do,(t,n)=>n?n.toUpperCase():"")),Wo=/\B([A-Z])/g,$t=wn(e=>e.replace(Wo,"-$1").toLowerCase()),$n=wn(e=>e.charAt(0).toUpperCase()+e.slice(1)),Fn=wn(e=>e?`on${$n(e)}`:""),Ut=(e,t)=>!Object.is(e,t),Sn=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},on=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Ko=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Os;const qo=()=>Os||(Os=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let Ue;class zo{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&Ue&&(this.parent=Ue,this.index=(Ue.scopes||(Ue.scopes=[])).push(this)-1)}run(t){if(this.active)try{return Ue=this,t()}finally{Ue=this.parent}}on(){Ue=this}off(){Ue=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 r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.active=!1}}}function Vo(e,t=Ue){t&&t.active&&t.effects.push(e)}const ls=e=>{const t=new Set(e);return t.w=0,t.n=0,t},xr=e=>(e.w&Ge)>0,yr=e=>(e.n&Ge)>0,Yo=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Ge},Jo=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const r=t[s];xr(r)&&!yr(r)?r.delete(e):t[n++]=r,r.w&=~Ge,r.n&=~Ge}t.length=n}},Dn=new WeakMap;let Lt=0,Ge=1;const Wn=30;let Se;const ot=Symbol(""),Kn=Symbol("");class cs{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Vo(this,s)}run(){if(!this.active)return this.fn();let t=Se,n=Ze;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Se,Se=this,Ze=!0,Ge=1<<++Lt,Lt<=Wn?Yo(this):Rs(this),this.fn()}finally{Lt<=Wn&&Jo(this),Ge=1<<--Lt,Se=this.parent,Ze=n,this.parent=void 0}}stop(){this.active&&(Rs(this),this.onStop&&this.onStop(),this.active=!1)}}function Rs(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let Z