wireguard-dashboard/web/static/js/useGetGlobalProperties-D3GhC6BC.js

2 lines
1.0 KiB
JavaScript
Raw Normal View History

2024-05-24 17:31:41 +08:00
var d=Object.defineProperty;var l=Object.getOwnPropertySymbols;var p=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable;var u=(e,n,t)=>n in e?d(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,o=(e,n)=>{for(var t in n||(n={}))p.call(n,t)&&u(e,t,n[t]);if(l)for(var t of l(n))I.call(n,t)&&u(e,t,n[t]);return e};import{d as s,k as f,dy as m,dz as c,dA as y,L as g}from"./index-C6A9XM5L.js";function b(e,n){const t=/^IF-/;if(t.test(e)){const r=e.split(t)[1],i=r.slice(0,r.indexOf(" ")==-1?r.length:r.indexOf(" ")),a=r.slice(r.indexOf(" ")+1,r.length);return s({name:"FontIcon",render(){return f(m,o({icon:i,iconType:a},n))}})}else return typeof e=="function"||typeof(e==null?void 0:e.render)=="function"?n?f(e,o({},n)):e:typeof e=="object"?s({name:"OfflineIcon",render(){return f(c,o({icon:e},n))}}):s({name:"Icon",render(){const r=e&&e.includes(":")?y:c;return f(r,o({icon:e},n))}})}function h(){const e=g(),n=e==null?void 0:e.appContext.config.globalProperties;return o({},n)}export{b as a,h as u};