1
0
ultimatedocs/docs/.vitepress/dist/assets/chunks/theme.DglsSKFy.js

8 lines
52 KiB
JavaScript
Raw Normal View History

2024-04-18 11:30:21 +02:00
function __vite__mapDeps(indexes) {
if (!__vite__mapDeps.viteFileDeps) {
2024-04-23 22:25:54 +02:00
__vite__mapDeps.viteFileDeps = ["assets/chunks/VPLocalSearchBox.BcMDx93k.js","assets/chunks/framework.DMuZ8-s6.js"]
2024-04-18 11:30:21 +02:00
}
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
}
2024-04-23 22:25:54 +02:00
import{d as _,o as a,c,r as l,n as N,a as D,t as T,b,w as v,e as f,T as ve,_ as $,u as Oe,i as Ue,f as Ge,g as pe,h as y,j as I,k as z,l as d,m as r,p as B,q as H,s as j,v as ie,x as K,y as Z,z as he,A as ye,B as je,C as ze,D as q,F as M,E,G as Pe,H as x,I as m,J as W,K as Le,L as ee,M as Y,N as te,O as Ke,P as Ve,Q as qe,R as le,S as Re,U as Se,V as oe,W as We,X as Je,Y as Ye,Z as we,$ as Te,a0 as Xe,a1 as Qe,a2 as Ze,a3 as xe}from"./framework.DMuZ8-s6.js";const et=_({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(o){return(e,t)=>(a(),c("span",{class:N(["VPBadge",e.type])},[l(e.$slots,"default",{},()=>[D(T(e.text),1)])],2))}}),tt={key:0,class:"VPBackdrop"},ot=_({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(o){return(e,t)=>(a(),b(ve,{name:"fade"},{default:v(()=>[e.show?(a(),c("div",tt)):f("",!0)]),_:1}))}}),st=$(ot,[["__scopeId","data-v-c79a1216"]]),L=Oe;function nt(o,e){let t,s=!1;return()=>{t&&clearTimeout(t),s?t=setTimeout(o,e):(o(),(s=!0)&&setTimeout(()=>s=!1,e))}}function ce(o){return/^\//.test(o)?o:`/${o}`}function fe(o){const{pathname:e,search:t,hash:s,protocol:n}=new URL(o,"http://a.com");if(Ue(o)||o.startsWith("#")||!n.startsWith("http")||!Ge(e))return o;const{site:i}=L(),u=e.endsWith("/")||e.endsWith(".html")?o:o.replace(/(?:(^\.+)\/)?.*$/,`$1${e.replace(/(\.md)?$/,i.value.cleanUrls?"":".html")}${t}${s}`);return pe(u)}function J({removeCurrent:o=!0,correspondingLink:e=!1}={}){const{site:t,localeIndex:s,page:n,theme:i,hash:u}=L(),h=y(()=>{var g,k;return{label:(g=t.value.locales[s.value])==null?void 0:g.label,link:((k=t.value.locales[s.value])==null?void 0:k.link)||(s.value==="root"?"/":`/${s.value}/`)}});return{localeLinks:y(()=>Object.entries(t.value.locales).flatMap(([g,k])=>o&&h.value.label===k.label?[]:{text:k.label,link:at(k.link||(g==="root"?"/":`/${g}/`),i.value.i18nRouting!==!1&&e,n.value.relativePath.slice(h.value.link.length-1),!t.value.cleanUrls)+u.value})),currentLang:h}}function at(o,e,t,s){return e?o.replace(/\/$/,"")+ce(t.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,s?".html":"")):o}const rt=o=>(B("data-v-f87ff6e4"),o=o(),H(),o),it={class:"NotFound"},lt={class:"code"},ct={class:"title"},ut=rt(()=>d("div",{class:"divider"},null,-1)),dt={class:"quote"},vt={class:"action"},pt=["href","aria-label"],ht=_({__name:"NotFound",setup(o){const{site:e,theme:t}=L(),{localeLinks:s}=J({removeCurrent:!1}),n=I("/");return z(()=>{var u;const i=window.location.pathname.replace(e.value.base,"").replace(/(^.*?\/).*$/,"/$1");s.value.length&&(n.value=((u=s.value.find(({link:h})=>h.startsWith(i)))==null?void 0:u.link)||s.value[0].link)}),(i,u)=>{var h,p,g,k,P;return a(),c("div",it,[d("p",lt,T(((h=r(t).notFound)==null?void 0:h.code)??"404"),1),d("h1",ct,T(((p=r(t).notFound)==null?void 0:p.title)??"PAGE NOT FOUND"),1),ut,d("blockquote",dt,T(((g=r(t).notFound)==null?void 0:g.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),d("div",vt,[d("a",{class:"link",href:r(pe)(n.value),"aria-label":((k=r(t).notFound)==null?void 0:k.linkLabel)??"go to home"},T(((P=r(t).notFound)==null?void 0:P.linkText)??"Take me home"),9,pt)])])}}}),ft=$(ht,[["__scopeId","data-v-f87ff6e4"]]);function Ie(o,e){if(Array.isArray(o))return X(o);if(o==null)return[];e=ce(e);const t=Object.keys(o).sort((n,i)=>i.split("/").length-n.split("/").length).find(n=>e.startsWith(ce(n))),s=t?o[t]:[];return Array.isArray(s)?X(s):X(s.items,s.base)}function _t(o){const e=[];let t=0;for(const s in o){const n=o[s];if(n.items){t=e.push(n);continue}e[t]||e.push({items:[]}),e[t].items.push(n)}return e}function mt(o){const e=[];function t(s){for(const n of s)n.text&&n.link&&e.push({text:n.text,link:n.link,docFooterText:n.docFooterText}),n.items&&t(n.items)}return t(o),e}function ue(o,e){return Array.isArray(e)?e.some(t=>ue(o,t)):j(o,e.link)?!0:e.items?ue(o,e.items):!1}function X(o,e){return[...o].map(t=>{const s={...t},n=s.base||e;return n&&s.link&&(s.link=n+s.link),s.items&&(s.items=X(s.items,n)),s})}function O(){const{frontmatter:o,page:e,theme:t}=L(),s=ie("(min-width: 960px)"),n=I(!