使用PHP开发的简约导航/书签管理系统。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 lines
176 KiB

2 years ago
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))o(r);new MutationObserver(r=>{for(const s of r)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&o(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const s={};return r.integrity&&(s.integrity=r.integrity),r.referrerpolicy&&(s.referrerPolicy=r.referrerpolicy),r.crossorigin==="use-credentials"?s.credentials="include":r.crossorigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function o(r){if(r.ep)return;r.ep=!0;const s=n(r);fetch(r.href,s)}})();function fs(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r<o.length;r++)n[o[r]]=!0;return t?r=>!!n[r.toLowerCase()]:r=>!!n[r]}const Wc="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Yc=fs(Wc);function Nl(e){return!!e||e===""}function ds(e){if(X(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=$e(o)?Qc(o):ds(o);if(r)for(const s in r)t[s]=r[s]}return t}else{if($e(e))return e;if(Te(e))return e}}const Jc=/;(?![^(]*\))/g,Xc=/:(.+)/;function Qc(e){const t={};return e.split(Jc).forEach(n=>{if(n){const o=n.split(Xc);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function hs(e){let t="";if($e(e))t=e;else if(X(e))for(let n=0;n<e.length;n++){const o=hs(e[n]);o&&(t+=o+" ")}else if(Te(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const on=e=>$e(e)?e:e==null?"":X(e)||Te(e)&&(e.toString===Ml||!ee(e.toString))?JSON.stringify(e,Ll,2):String(e),Ll=(e,t)=>t&&t.__v_isRef?Ll(e,t.value):Sn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,r])=>(n[`${o} =>`]=r,n),{})}:Fl(t)?{[`Set(${t.size})`]:[...t.values()]}:Te(t)&&!X(t)&&!Hl(t)?String(t):t,be={},xn=[],vt=()=>{},Zc=()=>!1,Gc=/^on[^a-z]/,zo=e=>Gc.test(e),ms=e=>e.startsWith("onUpdate:"),Me=Object.assign,ps=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},eu=Object.prototype.hasOwnProperty,ie=(e,t)=>eu.call(e,t),X=Array.isArray,Sn=e=>Ko(e)==="[object Map]",Fl=e=>Ko(e)==="[object Set]",ee=e=>typeof e=="function",$e=e=>typeof e=="string",gs=e=>typeof e=="symbol",Te=e=>e!==null&&typeof e=="object",Dl=e=>Te(e)&&ee(e.then)&&ee(e.catch),Ml=Object.prototype.toString,Ko=e=>Ml.call(e),tu=e=>Ko(e).slice(8,-1),Hl=e=>Ko(e)==="[object Object]",vs=e=>$e(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Oo=fs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),qo=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},nu=/-(\w)/g,Tt=qo(e=>e.replace(nu,(t,n)=>n?n.toUpperCase():"")),ou=/\B([A-Z])/g,pn=qo(e=>e.replace(ou,"-$1").toLowerCase()),Wo=qo(e=>e.charAt(0).toUpperCase()+e.slice(1)),_r=qo(e=>e?`on${Wo(e)}`:""),to=(e,t)=>!Object.is(e,t),yr=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Io=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Ul=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let ti;const ru=()=>ti||(ti=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Et;class su{constructor(t=!1){this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=Et,!t&&Et&&(this.index=(Et.scopes||(Et.scopes=[])).push(this)-1)}run(t){if(this.active){const n=Et;try{return Et=this,t()}finally{Et=n}}}on(){Et=this}off(){Et=this.parent}stop(t){if(this.active){let n,o;for(n=0,o=this.effects.length;n<o;n++)this.effects[n].stop();for(n=0,o=this.cleanups.length;n<o;n++)this.cleanups[n]();if(this.scopes)for(n=0,o=this.scopes.length;n<o;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this.active=!1}}}function iu(e,t=Et){t&&t.active&&t.effects.push(e)}const _s=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Vl=e=>(e.w&Yt)>0,jl=e=>(e.n&Yt)>0,lu=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Yt},au=e=>{const{deps:t}=e;if(t.length){let n=0;for(
2 years ago
* vue-router v4.1.6
* (c) 2022 Eduardo San Martin Morote
* @license MIT
2 years ago
*/const Cn=typeof window<"u";function mp(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const ge=Object.assign;function Ir(e,t){const n={};for(const o in t){const r=t[o];n[o]=yt(r)?r.map(e):e(r)}return n}const Gn=()=>{},yt=Array.isArray,pp=/\/$/,gp=e=>e.replace(pp,"");function Nr(e,t,n="/"){let o,r={},s="",i="";const l=t.indexOf("#");let c=t.indexOf("?");return l<c&&l>=0&&(c=-1),c>-1&&(o=t.slice(0,c),s=t.slice(c+1,l>-1?l:t.length),r=e(s)),l>-1&&(o=o||t.slice(0,l),i=t.slice(l,t.length)),o=bp(o!=null?o:t,n),{fullPath:o+(s&&"?")+s+i,path:o,query:r,hash:i}}function vp(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function il(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function _p(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&kn(t.matched[o],n.matched[r])&&gc(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function kn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function gc(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!yp(e[n],t[n]))return!1;return!0}function yp(e,t){return yt(e)?ll(e,t):yt(t)?ll(t,e):e===t}function ll(e,t){return yt(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function bp(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/");let r=n.length-1,s,i;for(s=0;s<o.length;s++)if(i=o[s],i!==".")if(i==="..")r>1&&r--;else break;return n.slice(0,r).join("/")+"/"+o.slice(s-(s===o.length?1:0)).join("/")}var co;(function(e){e.pop="pop",e.push="push"})(co||(co={}));var eo;(function(e){e.back="back",e.forward="forward",e.unknown=""})(eo||(eo={}));function wp(e){if(!e)if(Cn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),gp(e)}const Ep=/^[^#]+#/;function Cp(e,t){return e.replace(Ep,"#")+t}function xp(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}const dr=()=>({left:window.pageXOffset,top:window.pageYOffset});function Sp(e){let t;if("el"in e){const n=e.el,o=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=xp(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function al(e,t){return(history.state?history.state.position-t:-1)+e}const rs=new Map;function Tp(e,t){rs.set(e,t)}function Op(e){const t=rs.get(e);return rs.delete(e),t}let Pp=()=>location.protocol+"//"+location.host;function vc(e,t){const{pathname:n,search:o,hash:r}=t,s=e.indexOf("#");if(s>-1){let l=r.includes(e.slice(s))?e.slice(s).length:1,c=r.slice(l);return c[0]!=="/"&&(c="/"+c),il(c,"")}return il(n,e)+o+r}function Rp(e,t,n,o){let r=[],s=[],i=null;const l=({state:f})=>{const h=vc(e,location),p=n.value,_=t.value;let b=0;if(f){if(n.value=h,t.value=f,i&&i===p){i=null;return}b=_?f.position-_.position:0}else o(h);r.forEach(y=>{y(n.value,p,{delta:b,type:co.pop,direction:b?b>0?eo.forward:eo.back:eo.unknown})})};function c(){i=n.value}function u(f){r.push(f);const h=()=>{const p=r.indexOf(f);p>-1&&r.splice(p,1)};return s.push(h),h}function a(){const{history:f}=window;!f.state||f.replaceState(ge({},f.state,{scroll:dr()}),"")}function d(){for(const f of s)f();s=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",a)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",a),{pauseListeners:c,listen:u,destroy:d}}function cl(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?dr():null}}function kp(e){const{history:t,location:n}=window,o={value:vc(e,n)},r={value:t.state};r.value||s(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(c,u,a){const d=e.ind
2 years ago
`).forEach(function(i){r=i.indexOf(":"),n=i.substring(0,r).trim().toLowerCase(),o=i.substring(r+1).trim(),!(!n||t[n]&&mv[n])&&(n==="set-cookie"?t[n]?t[n].push(o):t[n]=[o]:t[n]=t[n]?t[n]+", "+o:o)}),t},Tl=Symbol("internals"),Uc=Symbol("defaults");function Jn(e){return e&&String(e).trim().toLowerCase()}function $o(e){return e===!1||e==null?e:T.isArray(e)?e.map($o):String(e)}function gv(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=n.exec(e);)t[o[1]]=o[2];return t}function Ol(e,t,n,o){if(T.isFunction(o))return o.call(this,t,n);if(!!T.isString(t)){if(T.isString(o))return t.indexOf(o)!==-1;if(T.isRegExp(o))return o.test(t)}}function vv(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,o)=>n.toUpperCase()+o)}function _v(e,t){const n=T.toCamelCase(" "+t);["get","set","has"].forEach(o=>{Object.defineProperty(e,o+n,{value:function(r,s,i){return this[o].call(this,t,r,s,i)},configurable:!0})})}function Wn(e,t){t=t.toLowerCase();const n=Object.keys(e);let o=n.length,r;for(;o-- >0;)if(r=n[o],t===r.toLowerCase())return r;return null}function ut(e,t){e&&this.set(e),this[Uc]=t||null}Object.assign(ut.prototype,{set:function(e,t,n){const o=this;function r(s,i,l){const c=Jn(i);if(!c)throw new Error("header name must be a non-empty string");const u=Wn(o,c);u&&l!==!0&&(o[u]===!1||l===!1)||(o[u||i]=$o(s))}return T.isPlainObject(e)?T.forEach(e,(s,i)=>{r(s,i,t)}):r(t,e,n),this},get:function(e,t){if(e=Jn(e),!e)return;const n=Wn(this,e);if(n){const o=this[n];if(!t)return o;if(t===!0)return gv(o);if(T.isFunction(t))return t.call(this,o,n);if(T.isRegExp(t))return t.exec(o);throw new TypeError("parser must be boolean|regexp|function")}},has:function(e,t){if(e=Jn(e),e){const n=Wn(this,e);return!!(n&&(!t||Ol(this,this[n],n,t)))}return!1},delete:function(e,t){const n=this;let o=!1;function r(s){if(s=Jn(s),s){const i=Wn(n,s);i&&(!t||Ol(n,n[i],i,t))&&(delete n[i],o=!0)}}return T.isArray(e)?e.forEach(r):r(e),o},clear:function(){return Object.keys(this).forEach(this.delete.bind(this))},normalize:function(e){const t=this,n={};return T.forEach(this,(o,r)=>{const s=Wn(n,r);if(s){t[s]=$o(o),delete t[r];return}const i=e?vv(r):String(r).trim();i!==r&&delete t[r],t[i]=$o(o),n[i]=!0}),this},toJSON:function(e){const t=Object.create(null);return T.forEach(Object.assign({},this[Uc]||null,this),(n,o)=>{n==null||n===!1||(t[o]=e&&T.isArray(n)?n.join(", "):n)}),t}});Object.assign(ut,{from:function(e){return T.isString(e)?new this(pv(e)):e instanceof this?e:new this(e)},accessor:function(e){const n=(this[Tl]=this[Tl]={accessors:{}}).accessors,o=this.prototype;function r(s){const i=Jn(s);n[i]||(_v(o,s),n[i]=!0)}return T.isArray(e)?e.forEach(r):r(e),this}});ut.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent"]);T.freezeMethods(ut.prototype);T.freezeMethods(ut);function yv(e,t){e=e||10;const n=new Array(e),o=new Array(e);let r=0,s=0,i;return t=t!==void 0?t:1e3,function(c){const u=Date.now(),a=o[s];i||(i=u),n[r]=c,o[r]=u;let d=s,f=0;for(;d!==r;)f+=n[d++],d=d%e;if(r=(r+1)%e,r===s&&(s=(s+1)%e),u-i<t)return;const h=a&&u-a;return h?Math.round(f*1e3/h):void 0}}function Pl(e,t){let n=0;const o=yv(50,250);return r=>{const s=r.loaded,i=r.lengthComputable?r.total:void 0,l=s-n,c=o(l),u=s<=i;n=s;const a={loaded:s,total:i,progress:i?s/i:void 0,bytes:l,rate:c||void 0,estimated:c&&i&&u?(i-s)/c:void 0};a[t?"download":"upload"]=!0,e(a)}}function Rl(e){return new Promise(function(n,o){let r=e.data;const s=ut.from(e.headers).normalize(),i=e.responseType;let l;function c(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}T.isFormData(r)&&At.isStandardBrowserEnv&&s.setContentType(!1);let u=new XMLHttpRequest;if(e.auth){const h=e.auth.username||"",p=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";s.set("Authorization","Basic "+btoa(h+":"+p))}const a=Hc(e.baseURL,e.url);u.open(e.method.toUpperCase(),Fc(a,e.params,e.paramsSerializer),!0),u.timeout=e.timeout;function d(){if(!u)return;const h=ut.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders()),_={