diff --git a/404.html b/404.html index e5f93c8..d2e5952 100644 --- a/404.html +++ b/404.html @@ -8,6 +8,6 @@
- + \ No newline at end of file diff --git a/advanced/index.html b/advanced/index.html index e5f93c8..d2e5952 100644 --- a/advanced/index.html +++ b/advanced/index.html @@ -8,6 +8,6 @@
- + \ No newline at end of file diff --git a/base/index.html b/base/index.html index e5f93c8..d2e5952 100644 --- a/base/index.html +++ b/base/index.html @@ -8,6 +8,6 @@
- + \ No newline at end of file diff --git a/changelog/index.html b/changelog/index.html index e5f93c8..d2e5952 100644 --- a/changelog/index.html +++ b/changelog/index.html @@ -8,6 +8,6 @@
- + \ No newline at end of file diff --git a/guide/faq/index.html b/guide/faq/index.html index e5f93c8..d2e5952 100644 --- a/guide/faq/index.html +++ b/guide/faq/index.html @@ -8,6 +8,6 @@
- + \ No newline at end of file diff --git a/guide/index.html b/guide/index.html index e5f93c8..d2e5952 100644 --- a/guide/index.html +++ b/guide/index.html @@ -8,6 +8,6 @@
- + \ No newline at end of file diff --git a/guide/note/index.html b/guide/note/index.html index e5f93c8..d2e5952 100644 --- a/guide/note/index.html +++ b/guide/note/index.html @@ -8,6 +8,6 @@
- + \ No newline at end of file diff --git a/guide/ref/index.html b/guide/ref/index.html index e5f93c8..d2e5952 100644 --- a/guide/ref/index.html +++ b/guide/ref/index.html @@ -8,6 +8,6 @@
- + \ No newline at end of file diff --git a/guide/start/index.html b/guide/start/index.html index e5f93c8..d2e5952 100644 --- a/guide/start/index.html +++ b/guide/start/index.html @@ -8,6 +8,6 @@
- + \ No newline at end of file diff --git a/index.html b/index.html index e5f93c8..d2e5952 100644 --- a/index.html +++ b/index.html @@ -8,6 +8,6 @@
- + \ No newline at end of file diff --git a/umi.587be580.js b/umi.0574b716.js similarity index 99% rename from umi.587be580.js rename to umi.0574b716.js index f847766..3d610eb 100644 --- a/umi.587be580.js +++ b/umi.0574b716.js @@ -42,7 +42,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Zn(_,j){if(_){if(typeof _=="string")return fa(_,j);var F=Object.prototype.toString.call(_).slice(8,-1);if(F==="Object"&&_.constructor&&(F=_.constructor.name),F==="Map"||F==="Set")return Array.from(_);if(F==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(F))return fa(_,j)}}function fa(_,j){(j==null||j>_.length)&&(j=_.length);for(var F=0,me=new Array(j);F_.length)&&(j=_.length);for(var F=0,me=new Array(j);F_.length)&&(j=_.length);for(var F=0,me=new Array(j);F{var P=Object.create;var I=Object.defineProperty;var z=Object.getOwnPropertyDescriptor;var D=Object.getOwnPropertyNames,R=Object.getOwnPropertySymbols,B=Object.getPrototypeOf,E=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable;var O=(e,t,i)=>t in e?I(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,M=(e,t)=>{for(var i in t||(t={}))E.call(t,i)&&O(e,i,t[i]);if(R)for(var i of R(t))L.call(t,i)&&O(e,i,t[i]);return e};var F=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var N=(e,t,i,h)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of D(t))!E.call(e,a)&&a!==i&&I(e,a,{get:()=>t[a],enumerable:!(h=z(t,a))||h.enumerable});return e};var W=(e,t,i)=>(i=e!=null?P(B(e)):{},N(t||!e||!e.__esModule?I(i,"default",{value:e,enumerable:!0}):i,e));var j=F((K,w)=>{w.exports=function(e){var t={};function i(h){if(t[h])return t[h].exports;var a=t[h]={exports:{},id:h,loaded:!1};return e[h].call(a.exports,a,a.exports,i),a.loaded=!0,a.exports}return i.m=e,i.c=t,i.p="",i(0)}([function(e,t,i){e.exports=i(1)},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var h=i(2);Object.defineProperty(t,"combineChunks",{enumerable:!0,get:function(){return h.combineChunks}}),Object.defineProperty(t,"fillInChunks",{enumerable:!0,get:function(){return h.fillInChunks}}),Object.defineProperty(t,"findAll",{enumerable:!0,get:function(){return h.findAll}}),Object.defineProperty(t,"findChunks",{enumerable:!0,get:function(){return h.findChunks}})},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=t.findAll=function(s){var n=s.autoEscape,g=s.caseSensitive,f=g===void 0?!1:g,p=s.findChunks,u=p===void 0?a:p,c=s.sanitize,v=s.searchWords,T=s.textToHighlight;return l({chunksToHighlight:h({chunks:u({autoEscape:n,caseSensitive:f,sanitize:c,searchWords:v,textToHighlight:T})}),totalLength:T?T.length:0})},h=t.combineChunks=function(s){var n=s.chunks;return n=n.sort(function(g,f){return g.start-f.start}).reduce(function(g,f){if(g.length===0)return[f];var p=g.pop();if(f.start<=p.end){var u=Math.max(p.end,f.end);g.push({highlight:!1,start:p.start,end:u})}else g.push(p,f);return g},[]),n},a=function(s){var n=s.autoEscape,g=s.caseSensitive,f=s.sanitize,p=f===void 0?d:f,u=s.searchWords,c=s.textToHighlight;return c=p(c),u.filter(function(v){return v}).reduce(function(v,T){T=p(T),n&&(T=r(T));for(var m=new RegExp(T,g?"g":"gi"),x=void 0;x=m.exec(c);){var S=x.index,$=m.lastIndex;$>S&&v.push({highlight:!1,start:S,end:$}),x.index===m.lastIndex&&m.lastIndex++}return v},[])};t.findChunks=a;var l=t.fillInChunks=function(s){var n=s.chunksToHighlight,g=s.totalLength,f=[],p=function(v,T,m){T-v>0&&f.push({start:v,end:T,highlight:m})};if(n.length===0)p(0,g,!1);else{var u=0;n.forEach(function(c){p(u,c.start,!1),p(c.start,c.end,!0),u=c.end}),p(u,g,!1)}return f};function d(o){return o}function r(o){return o.replace(/[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]/g,"\\\\$&")}}])});var C=W(j());var H="tab";function k(e,t,i,h,a){let l=a!==void 0;return h.reduce((r,o)=>(o.tocIndex===a&&(r[o.paraId]=(r[o.paraId]||"").concat(o.value)),r),[]).filter(Boolean).length||l?{rawTitle:e,title:t,link:i,paragraphs:h.reduce((r,o)=>{var s,n;return o.tocIndex===a&&((n=r[s=o.paraId])!=null||(r[s]=""),r[o.paraId]+=o.value),r},[]).filter(Boolean)}:null}function y(e){return[e.title,e.subtitle].filter(Boolean).join(" ")}function _(e,t,i){let h=[],a=Object.values(t).reduce((l,d)=>{var r,o;return d.asset&&((o=l[r=d.routeId])!=null||(l[r]=[]),l[d.routeId].push(d)),l},{});return Object.values(e).forEach(l=>{var d;if("meta"in l&&!("isLayout"in l)){let r=l.meta,o=l.path.replace(/^([^/])/,"/$1")||"/",s=i.find(u=>o===u.link||o.startsWith(`${u.activePath}/`)),n=(a[l.id]||[]).map(u=>{var c;return(c=u.asset)==null?void 0:c.id}),g=k("",y(r.frontmatter),o,r.texts),f=r.toc.reduce((u,c,v)=>{if(!n.includes(c.id)&&c.depth>=1){let T=y(r.frontmatter);c.depth!==1&&(T=`${T} - ${c.title}`),u.push(k(c.title,T,`${o}#${c.id}`,r.texts,v))}return u},[]),p=(r.tabs||[]).reduce((u,{key:c,meta:v})=>{let T=k("",`${y(r.frontmatter)} - ${v.frontmatter.title}`,`${o}?${H}=${c}`,v.texts);return T&&u.push(T),u.push(...v.toc.map((m,x)=>k(m.title,`${y(r.frontmatter)} - ${v.frontmatter.title} - ${m.title}`,`${o}?${H}=${c}#${m.id}`,v.texts,x))),u},[]);h.push({navTitle:s==null?void 0:s.title,navOrder:s?i.indexOf(s):1/0,title:y(r.frontmatter),link:o,sections:[...g?[g]:[],...f,...p],demos:((d=a[l.id])==null?void 0:d.map(u=>({link:`${o}#${u.asset.id}`,rawTitle:u.asset.title||"",title:u.asset.title||y(r.frontmatter),description:u.asset.description||"",keywords:u.asset.keywords||[]})))||[]})}}),h}function b(e="",t,i=1){let h=(0,C.findAll)({textToHighlight:e,searchWords:t,autoEscape:!0}),a={};return[h.map(({start:l,end:d,highlight:r},o)=>{let s={text:e.slice(l,d)};return o===0&&!r&&h.length>1&&s.text.length>20&&(s.text=`...${s.text.slice(-20)}`),r&&(s.highlighted=!0,a[t.find(n=>s.text.includes(n))]=i),s}),a]}function Y(e,t){let i=t.split(" "),h=new RegExp(t.replace(/[.*+?^${}()|[\\]\\\\]/g,"\\\\$&").replace(/\\s+/g,"|"),"i"),a={};return e.forEach(l=>{var o,s;let d=l.title,r=[];if(l.sections.forEach(n=>{for(let g of n.paragraphs)if(h.test(g)){let[f,p]=b(n.title,i,10),[u,c]=b(g,i);r.push({type:"content",link:n.link,priority:Object.values(M(M({},c),p)).reduce((v,T)=>v+T,0),highlightTitleTexts:f,highlightTexts:u,pageTitle:d});return}if(h.test(n.rawTitle)&&!h.test(l.title)){let[g,f]=b(n.title,i,10);r.push({type:"title",link:n.link,priority:Object.values(f).reduce((p,u)=>p+u,0),highlightTitleTexts:g,highlightTexts:b(n.paragraphs[0]||"",i)[0],pageTitle:d})}}),l.demos.forEach(n=>{if(h.test(n.rawTitle)||h.test(n.description)){let[g,f]=b(n.title,i,10),[p,u]=b(n.description,i);r.push({type:"demo",link:n.link,priority:Object.values(M(M({},u),f)).reduce((c,v)=>c+v,0),highlightTitleTexts:g,highlightTexts:p,pageTitle:d})}}),h.test(l.title)){let[n,g]=b(l.title,i,100);r.push({type:"page",link:l.link,priority:Object.values(g).reduce((f,p)=>f+p,0),highlightTitleTexts:n,highlightTexts:b(((o=l.sections[0])==null?void 0:o.paragraphs[0])||"",i)[0],pageTitle:d})}if(r.length){let n=l.navTitle||"$ROOT";(s=a[n])!=null||(a[n]={title:l.navTitle,priority:l.navOrder*1e3,hints:[]}),a[n].hints.push(...r)}}),Object.values(a).forEach(({hints:l})=>{l.sort((d,r)=>r.priority-d.priority)}),Object.values(a).sort((l,d)=>d.priority-l.priority)}var A;self.onmessage=({data:e})=>{switch(e.action){case"generate-metadata":A=_(e.args.routes,e.args.demos,e.args.nav);break;case"get-search-result":self.postMessage(Y(A,e.args.keywords));break;default:}};})();\n';function $o(_){"@babel/helpers - typeof";return $o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},$o(_)}function Vi(_,j){var F=Object.keys(_);if(Object.getOwnPropertySymbols){var me=Object.getOwnPropertySymbols(_);j&&(me=me.filter(function(nt){return Object.getOwnPropertyDescriptor(_,nt).enumerable})),F.push.apply(F,me)}return F}function Uu(_){for(var j=1;j_.length)&&(j=_.length);for(var F=0,me=new Array(j);F_.length)&&(j=_.length);for(var F=0,me=new Array(j);F
- + \ No newline at end of file diff --git a/zh-CN/base/index.html b/zh-CN/base/index.html index e5f93c8..d2e5952 100644 --- a/zh-CN/base/index.html +++ b/zh-CN/base/index.html @@ -8,6 +8,6 @@
- + \ No newline at end of file diff --git a/zh-CN/changelog/index.html b/zh-CN/changelog/index.html index e5f93c8..d2e5952 100644 --- a/zh-CN/changelog/index.html +++ b/zh-CN/changelog/index.html @@ -8,6 +8,6 @@
- + \ No newline at end of file diff --git a/zh-CN/guide/faq/index.html b/zh-CN/guide/faq/index.html index e5f93c8..d2e5952 100644 --- a/zh-CN/guide/faq/index.html +++ b/zh-CN/guide/faq/index.html @@ -8,6 +8,6 @@
- + \ No newline at end of file diff --git a/zh-CN/guide/index.html b/zh-CN/guide/index.html index e5f93c8..d2e5952 100644 --- a/zh-CN/guide/index.html +++ b/zh-CN/guide/index.html @@ -8,6 +8,6 @@
- + \ No newline at end of file diff --git a/zh-CN/guide/note/index.html b/zh-CN/guide/note/index.html index e5f93c8..d2e5952 100644 --- a/zh-CN/guide/note/index.html +++ b/zh-CN/guide/note/index.html @@ -8,6 +8,6 @@
- + \ No newline at end of file diff --git a/zh-CN/guide/ref/index.html b/zh-CN/guide/ref/index.html index e5f93c8..d2e5952 100644 --- a/zh-CN/guide/ref/index.html +++ b/zh-CN/guide/ref/index.html @@ -8,6 +8,6 @@
- + \ No newline at end of file diff --git a/zh-CN/guide/start/index.html b/zh-CN/guide/start/index.html index e5f93c8..d2e5952 100644 --- a/zh-CN/guide/start/index.html +++ b/zh-CN/guide/start/index.html @@ -8,6 +8,6 @@
- + \ No newline at end of file diff --git a/zh-CN/index.html b/zh-CN/index.html index e5f93c8..d2e5952 100644 --- a/zh-CN/index.html +++ b/zh-CN/index.html @@ -8,6 +8,6 @@
- + \ No newline at end of file diff --git a/~demos/:id/index.html b/~demos/:id/index.html index e5f93c8..d2e5952 100644 --- a/~demos/:id/index.html +++ b/~demos/:id/index.html @@ -8,6 +8,6 @@
- + \ No newline at end of file