schlechtenburg/docs/assets/index.039d73cc.js

2 lines
82 KiB
JavaScript
Raw Normal View History

2021-03-08 11:22:58 +00:00
var t=Object.assign;import{d as e,a as n,r as o,b as r,o as s,c as l,e as c,f as i,g as a}from"./vendor.9babb3f5.js";var u,f;!function(t=".",e="__import__"){try{self[e]=new Function("u","return import(u)")}catch(n){const o=new URL(t,location),r=t=>{URL.revokeObjectURL(t.src),t.remove()};self[e]=t=>new Promise(((n,s)=>{const l=new URL(t,o);if(self[e].moduleMap[l])return n(self[e].moduleMap[l]);const c=new Blob([`import * as m from '${l}';`,`${e}.moduleMap['${l}']=m;`],{type:"text/javascript"}),i=Object.assign(document.createElement("script"),{type:"module",src:URL.createObjectURL(c),onerror(){s(new Error(`Failed to import: ${t}`)),r(i)},onload(){n(self[e].moduleMap[l]),r(i)}});document.head.appendChild(i)})),self[e].moduleMap={}}}("/schlechtenburg/assets/"),(f=u||(u={})).Edit="edit",f.Display="display";const p=Symbol("Schlechtenburg mode"),d={prop:"block",event:"update"},h={id:{type:String,default:()=>""+ +new Date},data:{type:Object,default:()=>({})}};function _(t,e){const n=Object.create(null),o=t.split(",");for(let r=0;r<o.length;r++)n[o[r]]=!0;return e?t=>!!n[t.toLowerCase()]:t=>!!n[t]}const v=_("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl");function g(t){if(j(t)){const e={};for(let n=0;n<t.length;n++){const o=t[n],r=g(F(o)?m(o):o);if(r)for(const t in r)e[t]=r[t]}return e}if(M(t))return t}const y=/;(?![^(]*\))/g,b=/:(.+)/;function m(t){const e={};return t.split(y).forEach((t=>{if(t){const n=t.split(b);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}function w(t){let e="";if(F(t))e=t;else if(j(t))for(let n=0;n<t.length;n++)e+=w(t[n])+" ";else if(M(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}const k={},S=()=>{},x=/^on[^a-z]/,R=t=>x.test(t),C=Object.assign,E=Object.prototype.hasOwnProperty,O=(t,e)=>E.call(t,e),j=Array.isArray,$=t=>"[object Map]"===N(t),P=t=>"function"==typeof t,F=t=>"string"==typeof t,I=t=>"symbol"==typeof t,M=t=>null!==t&&"object"==typeof t,A=Object.prototype.toString,N=t=>A.call(t),T=t=>F(t)&&"NaN"!==t&&"-"!==t[0]&&""+parseInt(t,10)===t,U=(t,e)=>t!==e&&(t==t||e==e),D=new WeakMap,z=[];let B;const V=Symbol(""),L=Symbol("");function W(t,e=k){(function(t){return t&&!0===t._isEffect})(t)&&(t=t.raw);const n=function(t,e){const n=function(){if(!n.active)return e.scheduler?void 0:t();if(!z.includes(n)){q(n);try{return H.push(J),J=!0,z.push(n),B=n,t()}finally{z.pop(),Q(),B=z[z.length-1]}}};return n.id=K++,n.allowRecurse=!!e.allowRecurse,n._isEffect=!0,n.active=!0,n.raw=t,n.deps=[],n.options=e,n}(t,e);return e.lazy||n(),n}let K=0;function q(t){const{deps:e}=t;if(e.length){for(let n=0;n<e.length;n++)e[n].delete(t);e.length=0}}let J=!0;const H=[];function G(){H.push(J),J=!1}function Q(){const t=H.pop();J=void 0===t||t}function X(t,e,n){if(!J||void 0===B)return;let o=D.get(t);o||D.set(t,o=new Map);let r=o.get(n);r||o.set(n,r=new Set),r.has(B)||(r.add(B),B.deps.push(r))}function Y(t,e,n,o,r,s){const l=D.get(t);if(!l)return;const c=new Set,i=t=>{t&&t.forEach((t=>{(t!==B||t.allowRecurse)&&c.add(t)}))};if("clear"===e)l.forEach(i);else if("length"===n&&j(t))l.forEach(((t,e)=>{("length"===e||e>=o)&&i(t)}));else switch(void 0!==n&&i(l.get(n)),e){case"add":j(t)?T(n)&&i(l.get("length")):(i(l.get(V)),$(t)&&i(l.get(L)));break;case"delete":j(t)||(i(l.get(V)),$(t)&&i(l.get(L)));break;case"set":$(t)&&i(l.get(V))}c.forEach((t=>{t.options.scheduler?t.options.scheduler(t):t()}))}const Z=new Set(Object.getOwnPropertyNames(Symbol).map((t=>Symbol[t])).filter(I)),tt=st(),et=st(!1,!0),nt=st(!0),ot=st(!0,!0),rt={};function st(t=!1,e=!1){return function(n,o,r){if("__v_isReactive"===o)return!t;if("__v_isReadonly"===o)return t;if("__v_raw"===o&&r===(t?Ft:Pt).get(n))return n;const s=j(n);if(!t&&s&&O(rt,o))return Reflect.get(rt,o,r);const l=Reflect.get(n,o,r);if(I(o)?Z.has(o):"__proto__"===o||"__v_isRef"===o)return l;if(t||X(n,0,o),e)return l;if(Vt(l)){return!s||!T(o)?l.value:l}return M(l)?t?At(l):Mt(l):l}}["includes","indexOf","lastIndexOf"].forEach((t=>{const e=Array.prototype[t];rt[t]=functi