schlechtenburg/docs/assets/app.87539bc2.js

2 lines
79 KiB
JavaScript
Raw Normal View History

2022-03-17 18:09:14 +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 Lo="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Io=ts(Lo);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)?Ro(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 Mo=/;(?![^(]*\))/g,Oo=/:(.+)/;function Ro(e){const t={};return e.split(Mo).forEach(n=>{if(n){const s=n.split(Oo);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||!B(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=()=>{},Fo=()=>!1,So=/^on[^a-z]/,qt=e=>So.test(e),ss=e=>e.startsWith("onUpdate:"),ye=Object.assign,rs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},No=Object.prototype.hasOwnProperty,z=(e,t)=>No.call(e,t),F=Array.isArray,vt=e=>yn(e)==="[object Map]",gr=e=>yn(e)==="[object Set]",B=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)&&B(e.then)&&B(e.catch),vr=Object.prototype.toString,yn=e=>vr.call(e),Ho=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"),xn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Bo=/-(\w)/g,Ne=xn(e=>e.replace(Bo,(t,n)=>n?n.toUpperCase():"")),Uo=/\B([A-Z])/g,$t=xn(e=>e.replace(Uo,"-$1").toLowerCase()),wn=xn(e=>e.charAt(0).toUpperCase()+e.slice(1)),Rn=xn(e=>e?`on${wn(e)}`:""),Bt=(e,t)=>!Object.is(e,t),Fn=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},rn=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},jo=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Os;const Do=()=>Os||(Os=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let Ue;class Wo{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 Ko(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},yr=e=>(e.w&Ge)>0,xr=e=>(e.n&Ge)>0,qo=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Ge},zo=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const r=t[s];yr(r)&&!xr(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,Ko(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?qo(this):Rs(this),this.fn()}finally{Lt<=Wn&&zo(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