diff --git a/404.html b/404.html index 4487c0c..bba34d6 100644 --- a/404.html +++ b/404.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/changelog/index.html b/changelog/index.html index 4487c0c..bba34d6 100644 --- a/changelog/index.html +++ b/changelog/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/demo/arrow-content/index.html b/demo/arrow-content/index.html index 4487c0c..bba34d6 100644 --- a/demo/arrow-content/index.html +++ b/demo/arrow-content/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/demo/form-error/index.html b/demo/form-error/index.html index 4487c0c..bba34d6 100644 --- a/demo/form-error/index.html +++ b/demo/form-error/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/demo/on-visible-change/index.html b/demo/on-visible-change/index.html index 4487c0c..bba34d6 100644 --- a/demo/on-visible-change/index.html +++ b/demo/on-visible-change/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/demo/placement/index.html b/demo/placement/index.html index 4487c0c..bba34d6 100644 --- a/demo/placement/index.html +++ b/demo/placement/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/demo/point/index.html b/demo/point/index.html index 4487c0c..bba34d6 100644 --- a/demo/point/index.html +++ b/demo/point/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/demo/show-arrow/index.html b/demo/show-arrow/index.html index 4487c0c..bba34d6 100644 --- a/demo/show-arrow/index.html +++ b/demo/show-arrow/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/demo/simple/index.html b/demo/simple/index.html index 4487c0c..bba34d6 100644 --- a/demo/simple/index.html +++ b/demo/simple/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/demos.030588cb.async.js b/demos.030588cb.async.js deleted file mode 100644 index 55424ac..0000000 --- a/demos.030588cb.async.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkrc_tooltip=self.webpackChunkrc_tooltip||[]).push([[433],{38781:function(n,a,e){"use strict";e.r(a);var c=e(71062),s=e(40820),l=e(49766),t=e(99678),r=(0,t.jsx)("span",{children:"Tooltip Text"}),o={display:"table-cell",height:"60px",width:"80px",textAlign:"center",background:"#f6f6f6",verticalAlign:"middle",border:"5px solid white"},i={display:"table-row"},u=function(){return(0,t.jsxs)("div",{style:{display:"table",padding:120},children:[(0,t.jsxs)("div",{style:i,children:[(0,t.jsx)(s.Z,{placement:"left",overlay:r,arrowContent:(0,t.jsx)("div",{className:"rc-tooltip-arrow-inner"}),children:(0,t.jsx)("a",{href:"#",style:o,children:"Left"})}),(0,t.jsx)(s.Z,{placement:"top",overlay:r,arrowContent:(0,t.jsx)("div",{className:"rc-tooltip-arrow-inner"}),children:(0,t.jsx)("a",{href:"#",style:o,children:"Top"})}),(0,t.jsx)(s.Z,{placement:"bottom",overlay:r,arrowContent:(0,t.jsx)("div",{className:"rc-tooltip-arrow-inner"}),children:(0,t.jsx)("a",{href:"#",style:o,children:"Bottom"})}),(0,t.jsx)(s.Z,{placement:"right",overlay:r,arrowContent:(0,t.jsx)("div",{className:"rc-tooltip-arrow-inner"}),children:(0,t.jsx)("a",{href:"#",style:o,children:"Right"})})]}),(0,t.jsxs)("div",{style:i,children:[(0,t.jsx)(s.Z,{placement:"leftTop",overlay:r,arrowContent:(0,t.jsx)("div",{className:"rc-tooltip-arrow-inner"}),children:(0,t.jsx)("a",{href:"#",style:o,children:"Left Top"})}),(0,t.jsx)(s.Z,{placement:"leftBottom",overlay:r,arrowContent:(0,t.jsx)("div",{className:"rc-tooltip-arrow-inner"}),children:(0,t.jsx)("a",{href:"#",style:o,children:"Left Bottom"})}),(0,t.jsx)(s.Z,{placement:"rightTop",overlay:r,arrowContent:(0,t.jsx)("div",{className:"rc-tooltip-arrow-inner"}),children:(0,t.jsx)("a",{href:"#",style:o,children:"Right Top"})}),(0,t.jsx)(s.Z,{placement:"rightBottom",overlay:r,arrowContent:(0,t.jsx)("div",{className:"rc-tooltip-arrow-inner"}),children:(0,t.jsx)("a",{href:"#",style:o,children:"Right Bottom"})})]}),(0,t.jsxs)("div",{style:i,children:[(0,t.jsx)(s.Z,{placement:"topLeft",overlay:r,arrowContent:(0,t.jsx)("div",{className:"rc-tooltip-arrow-inner"}),children:(0,t.jsx)("a",{href:"#",style:o,children:"Top Left"})}),(0,t.jsx)(s.Z,{placement:"topRight",overlay:r,arrowContent:(0,t.jsx)("div",{className:"rc-tooltip-arrow-inner"}),children:(0,t.jsx)("a",{href:"#",style:o,children:"Top Right"})}),(0,t.jsx)(s.Z,{placement:"bottomLeft",overlay:r,arrowContent:(0,t.jsx)("div",{className:"rc-tooltip-arrow-inner"}),children:(0,t.jsx)("a",{href:"#",style:o,children:"Bottom Left"})}),(0,t.jsx)(s.Z,{placement:"bottomRight",overlay:r,arrowContent:(0,t.jsx)("div",{className:"rc-tooltip-arrow-inner"}),children:(0,t.jsx)("a",{href:"#",style:o,children:"Bottom Right"})})]})]})};a.default=u},2349:function(n,a,e){"use strict";e.r(a);var c=e(94312),s=e.n(c),l=e(24127),t=e.n(l),r=e(1300),o=e.n(r),i=e(93242),u=e.n(i),j=e(10564),b=e.n(j),C=e(22060),p=e.n(C),T=e(40820),M=e(71062),d=e(60936),x=e(99678),f=function(D){u()(P,D);var O=b()(P);function P(){var v;s()(this,P);for(var _=arguments.length,y=new Array(_),g=0;g<_;g++)y[g]=arguments[g];return v=O.call.apply(O,[this].concat(y)),p()(o()(v),"state",{visible:!1}),p()(o()(v),"handleDestroy",function(){v.setState({destroy:!0})}),p()(o()(v),"handleChange",function(m){v.setState({visible:!m.target.value})}),v}return t()(P,[{key:"render",value:function(){return this.state.destroy?null:(0,x.jsxs)("div",{children:[(0,x.jsx)("div",{style:{marginTop:100,marginLeft:100,marginBottom:100},children:(0,x.jsx)(T.Z,{visible:this.state.visible,animation:"zoom",trigger:[],overlayStyle:{zIndex:1e3},overlay:(0,x.jsx)("span",{children:"required!"}),children:(0,x.jsx)("input",{onChange:this.handleChange})})}),(0,x.jsx)("button",{type:"button",onClick:this.handleDestroy,children:"destroy"})]})}}]),P}(M.Component);a.default=f},37521:function(n,a,e){"use strict";e.r(a);var c=e(94312),s=e.n(c),l=e(24127),t=e.n(l),r=e(1300),o=e.n(r),i=e(93242),u=e.n(i),j=e(10564),b=e.n(j),C=e(22060),p=e.n(C),T=e(71062),M=e(40820),d=e(60936),x=e(99678);function f(O){O.preventDefault()}var D=function(O){u()(v,O);var P=b()(v);function v(){var _;s()(this,v);for(var y=arguments.length,g=new Array(y),m=0;m=0)&&Object.prototype.propertyIsEnumerable.call(l,o)&&(r[o]=l[o])}return r}n.exports=s,n.exports.__esModule=!0,n.exports.default=n.exports},61614:function(n){function a(e,c){if(e==null)return{};var s={},l=Object.keys(e),t,r;for(r=0;r=0)&&(s[t]=e[t]);return s}n.exports=a,n.exports.__esModule=!0,n.exports.default=n.exports},23639:function(n,a,e){var c=e(5773).default,s=e(1300);function l(t,r){if(r&&(c(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return s(t)}n.exports=l,n.exports.__esModule=!0,n.exports.default=n.exports},68913:function(n){function a(e,c){return n.exports=a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,t){return l.__proto__=t,l},n.exports.__esModule=!0,n.exports.default=n.exports,a(e,c)}n.exports=a,n.exports.__esModule=!0,n.exports.default=n.exports}}]); diff --git a/demos.516d6c1e.async.js b/demos.516d6c1e.async.js new file mode 100644 index 0000000..5bd150c --- /dev/null +++ b/demos.516d6c1e.async.js @@ -0,0 +1 @@ +(self.webpackChunkrc_tooltip=self.webpackChunkrc_tooltip||[]).push([[433],{38781:function(n,i,e){"use strict";e.r(i);var f=e(71062),o=e(40820),a=e(49766),t=e(99678),r=(0,t.jsx)("span",{children:"Tooltip Text"}),s={display:"table-cell",height:"60px",width:"80px",textAlign:"center",background:"#f6f6f6",verticalAlign:"middle",border:"5px solid white"},_={display:"table-row"},h=function(){return(0,t.jsxs)("div",{style:{display:"table",padding:120},children:[(0,t.jsxs)("div",{style:_,children:[(0,t.jsx)(o.Z,{placement:"left",overlay:r,arrowContent:(0,t.jsx)("div",{className:"rc-tooltip-arrow-inner"}),children:(0,t.jsx)("a",{href:"#",style:s,children:"Left"})}),(0,t.jsx)(o.Z,{placement:"top",overlay:r,arrowContent:(0,t.jsx)("div",{className:"rc-tooltip-arrow-inner"}),children:(0,t.jsx)("a",{href:"#",style:s,children:"Top"})}),(0,t.jsx)(o.Z,{placement:"bottom",overlay:r,arrowContent:(0,t.jsx)("div",{className:"rc-tooltip-arrow-inner"}),children:(0,t.jsx)("a",{href:"#",style:s,children:"Bottom"})}),(0,t.jsx)(o.Z,{placement:"right",overlay:r,arrowContent:(0,t.jsx)("div",{className:"rc-tooltip-arrow-inner"}),children:(0,t.jsx)("a",{href:"#",style:s,children:"Right"})})]}),(0,t.jsxs)("div",{style:_,children:[(0,t.jsx)(o.Z,{placement:"leftTop",overlay:r,arrowContent:(0,t.jsx)("div",{className:"rc-tooltip-arrow-inner"}),children:(0,t.jsx)("a",{href:"#",style:s,children:"Left Top"})}),(0,t.jsx)(o.Z,{placement:"leftBottom",overlay:r,arrowContent:(0,t.jsx)("div",{className:"rc-tooltip-arrow-inner"}),children:(0,t.jsx)("a",{href:"#",style:s,children:"Left Bottom"})}),(0,t.jsx)(o.Z,{placement:"rightTop",overlay:r,arrowContent:(0,t.jsx)("div",{className:"rc-tooltip-arrow-inner"}),children:(0,t.jsx)("a",{href:"#",style:s,children:"Right Top"})}),(0,t.jsx)(o.Z,{placement:"rightBottom",overlay:r,arrowContent:(0,t.jsx)("div",{className:"rc-tooltip-arrow-inner"}),children:(0,t.jsx)("a",{href:"#",style:s,children:"Right Bottom"})})]}),(0,t.jsxs)("div",{style:_,children:[(0,t.jsx)(o.Z,{placement:"topLeft",overlay:r,arrowContent:(0,t.jsx)("div",{className:"rc-tooltip-arrow-inner"}),children:(0,t.jsx)("a",{href:"#",style:s,children:"Top Left"})}),(0,t.jsx)(o.Z,{placement:"topRight",overlay:r,arrowContent:(0,t.jsx)("div",{className:"rc-tooltip-arrow-inner"}),children:(0,t.jsx)("a",{href:"#",style:s,children:"Top Right"})}),(0,t.jsx)(o.Z,{placement:"bottomLeft",overlay:r,arrowContent:(0,t.jsx)("div",{className:"rc-tooltip-arrow-inner"}),children:(0,t.jsx)("a",{href:"#",style:s,children:"Bottom Left"})}),(0,t.jsx)(o.Z,{placement:"bottomRight",overlay:r,arrowContent:(0,t.jsx)("div",{className:"rc-tooltip-arrow-inner"}),children:(0,t.jsx)("a",{href:"#",style:s,children:"Bottom Right"})})]})]})};i.default=h},2349:function(n,i,e){"use strict";e.r(i);var f=e(94312),o=e.n(f),a=e(24127),t=e.n(a),r=e(1300),s=e.n(r),_=e(93242),h=e.n(_),x=e(10564),P=e.n(x),b=e(22060),u=e.n(b),C=e(40820),D=e(71062),U=e(60936),m=e(99678),l=function(T){h()(E,T);var O=P()(E);function E(){var p;o()(this,E);for(var c=arguments.length,g=new Array(c),y=0;y=0)&&Object.prototype.propertyIsEnumerable.call(a,s)&&(r[s]=a[s])}return r}n.exports=o,n.exports.__esModule=!0,n.exports.default=n.exports},61614:function(n){function i(e,f){if(e==null)return{};var o={},a=Object.keys(e),t,r;for(r=0;r=0)&&(o[t]=e[t]);return o}n.exports=i,n.exports.__esModule=!0,n.exports.default=n.exports},23639:function(n,i,e){var f=e(5773).default,o=e(1300);function a(t,r){if(r&&(f(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return o(t)}n.exports=a,n.exports.__esModule=!0,n.exports.default=n.exports},68913:function(n){function i(e,f){return n.exports=i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,t){return a.__proto__=t,a},n.exports.__esModule=!0,n.exports.default=n.exports,i(e,f)}n.exports=i,n.exports.__esModule=!0,n.exports.default=n.exports}}]); diff --git a/dumi__tmp-production__dumi__theme__ContextWrapper.daf17f9f.async.js b/dumi__tmp-production__dumi__theme__ContextWrapper.6faa81a7.async.js similarity index 94% rename from dumi__tmp-production__dumi__theme__ContextWrapper.daf17f9f.async.js rename to dumi__tmp-production__dumi__theme__ContextWrapper.6faa81a7.async.js index 3e92851..6126dd1 100644 --- a/dumi__tmp-production__dumi__theme__ContextWrapper.daf17f9f.async.js +++ b/dumi__tmp-production__dumi__theme__ContextWrapper.6faa81a7.async.js @@ -1 +1 @@ -"use strict";(self.webpackChunkrc_tooltip=self.webpackChunkrc_tooltip||[]).push([[923],{80164:function(P,_,t){t.r(_),t.d(_,{default:function(){return p}});var l=t(11006),i=t.n(l),e=t(71062),o=t(49111),u=t(36172),r=t(82502),c=t(90449),m=t(99678),d={};function p(){var E=(0,o.pC)(),f=(0,e.useState)(!1),n=i()(f,2),h=n[0],v=n[1],a=(0,e.useRef)(o.m8.location.pathname);return(0,e.useEffect)(function(){return o.m8.listen(function(s){s.location.pathname!==a.current&&(a.current=s.location.pathname,document.documentElement.scrollTo(0,0))})},[]),(0,m.jsx)(u.D.Provider,{value:{pkg:{name:"rc-tooltip",description:"React Tooltip",version:"6.2.1",license:"MIT",repository:{type:"git",url:"git@github.com:react-component/tooltip.git"}},historyType:"browser",entryExports:d,demos:r.DE,components:r.wx,locales:c.k,loading:h,setLoading:v,hostname:void 0,themeConfig:{footer:'Copyright \xA9 2024 | Powered by dumi',prefersColor:{default:"light",switch:!0},nprogress:!0,lastUpdated:!0,name:"Tooltip",logo:"https://avatars0.githubusercontent.com/u/9441414?s=200&v=4",editLink:"https://github.com/react-component/tooltip/edit/master/{filename}"},_2_level_nav_available:!0},children:E})}}}]); +"use strict";(self.webpackChunkrc_tooltip=self.webpackChunkrc_tooltip||[]).push([[923],{80164:function(P,_,t){t.r(_),t.d(_,{default:function(){return p}});var l=t(11006),i=t.n(l),e=t(71062),o=t(49111),u=t(36172),r=t(82502),c=t(90449),m=t(99678),d={};function p(){var E=(0,o.pC)(),f=(0,e.useState)(!1),n=i()(f,2),h=n[0],v=n[1],a=(0,e.useRef)(o.m8.location.pathname);return(0,e.useEffect)(function(){return o.m8.listen(function(s){s.location.pathname!==a.current&&(a.current=s.location.pathname,document.documentElement.scrollTo(0,0))})},[]),(0,m.jsx)(u.D.Provider,{value:{pkg:{name:"rc-tooltip",description:"React Tooltip",version:"6.3.0",license:"MIT",repository:{type:"git",url:"git@github.com:react-component/tooltip.git"}},historyType:"browser",entryExports:d,demos:r.DE,components:r.wx,locales:c.k,loading:h,setLoading:v,hostname:void 0,themeConfig:{footer:'Copyright \xA9 2024 | Powered by dumi',prefersColor:{default:"light",switch:!0},nprogress:!0,lastUpdated:!0,name:"Tooltip",logo:"https://avatars0.githubusercontent.com/u/9441414?s=200&v=4",editLink:"https://github.com/react-component/tooltip/edit/master/{filename}"},_2_level_nav_available:!0},children:E})}}}]); diff --git a/index.html b/index.html index 4487c0c..bba34d6 100644 --- a/index.html +++ b/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/umi.b029ce5c.js b/umi.2fe17723.js similarity index 99% rename from umi.b029ce5c.js rename to umi.2fe17723.js index 26d1fec..d63ad4e 100644 --- a/umi.b029ce5c.js +++ b/umi.2fe17723.js @@ -41,7 +41,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 Oo(A,L){if(A){if(typeof A=="string")return Ha(A,L);var k=Object.prototype.toString.call(A).slice(8,-1);if(k==="Object"&&A.constructor&&(k=A.constructor.name),k==="Map"||k==="Set")return Array.from(A);if(k==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(k))return Ha(A,L)}}function Ha(A,L){(L==null||L>A.length)&&(L=A.length);for(var k=0,ue=new Array(L);kEa.length&&rt,fa=Object.values(k).reduce(function(Aa,xo){return xo.path.startsWith(Mr.slice(1))&&((0,q.qu)(Aa[0],"nav",xo.meta.frontmatter),uo&&(0,q.qu)(Aa[1],"nav.second",xo.meta.frontmatter)),Aa},[{},{}]),ja=Bn(fa,2),_a=ja[0],$o=ja[1];if(uo){var sa,Ho,Ca;(sa=_a.title)!==null&&sa!==void 0||(_a.title=Ea.split("/").pop().replace(/^[a-z]/,function(Aa){return Aa.toUpperCase()}));var Va=(Ho=fr[Ea])!==null&&Ho!==void 0?Ho:fr[Ea]=Qo(_a,Sn,Ea);(Ca=Va.children)!==null&&Ca!==void 0||(Va.children=[]),Va.children.push(Qo($o,Sn,Mr,Sn[0].children[0].link))}else fr[Mr]=Qo(_a,Sn,Mr,Sn[0].children[0].link);return fr},{}));return Ut.forEach(function(fr,Ur){var kr;!fr.link&&((kr=fr.children)===null||kr===void 0?void 0:kr.length)===1?Ut[Ur]=fr.children[0]:fr.children&&fr.children.sort(st)}),Ut.sort(st),Zt==="prepend"?Ut.unshift.apply(Ut,Jn(Xt)):Zt==="append"&&Ut.push.apply(Ut,Jn(Xt)),Ut}),mt=Bn(We,1),Rt=mt[0];return Rt};function bo(A){"@babel/helpers - typeof";return bo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(L){return typeof L}:function(L){return L&&typeof Symbol=="function"&&L.constructor===Symbol&&L!==Symbol.prototype?"symbol":typeof L},bo(A)}function Co(A,L){return Sa(A)||ka(A,L)||ba(A,L)||Oa()}function Oa(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ba(A,L){if(A){if(typeof A=="string")return Jo(A,L);var k=Object.prototype.toString.call(A).slice(8,-1);if(k==="Object"&&A.constructor&&(k=A.constructor.name),k==="Map"||k==="Set")return Array.from(A);if(k==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(k))return Jo(A,L)}}function Jo(A,L){(L==null||L>A.length)&&(L=A.length);for(var k=0,ue=new Array(L);kA.length)&&(L=A.length);for(var k=0,ue=new Array(L);k{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 Ka(A){"@babel/helpers - typeof";return Ka=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(L){return typeof L}:function(L){return L&&typeof Symbol=="function"&&L.constructor===Symbol&&L!==Symbol.prototype?"symbol":typeof L},Ka(A)}function Po(A,L){var k=Object.keys(A);if(Object.getOwnPropertySymbols){var ue=Object.getOwnPropertySymbols(A);L&&(ue=ue.filter(function(Ze){return Object.getOwnPropertyDescriptor(A,Ze).enumerable})),k.push.apply(k,ue)}return k}function Uo(A){for(var L=1;LA.length)&&(L=A.length);for(var k=0,ue=new Array(L);kA.length)&&(L=A.length);for(var k=0,ue=new Array(L);k - @@ -1321,7 +1328,7 @@ Error generating stack: `+C.message+` In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}l.exports=v,l.exports.__esModule=!0,l.exports.default=l.exports},26801:function(l,v,e){var o=e(22060);function a(s,u){var d=Object.keys(s);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(s);u&&(c=c.filter(function(m){return Object.getOwnPropertyDescriptor(s,m).enumerable})),d.push.apply(d,c)}return d}function n(s){for(var u=1;u=0;--ae){var $=this.tryEntries[ae],I=$.completion;if($.tryLoc==="root")return G("end");if($.tryLoc<=this.prev){var z=d.call($,"catchLoc"),U=d.call($,"finallyLoc");if(z&&U){if(this.prev<$.catchLoc)return G($.catchLoc,!0);if(this.prev<$.finallyLoc)return G($.finallyLoc)}else if(z){if(this.prev<$.catchLoc)return G($.catchLoc,!0)}else{if(!U)throw new Error("try statement without catch or finally");if(this.prev<$.finallyLoc)return G($.finallyLoc)}}}},abrupt:function(T,M){for(var G=this.tryEntries.length-1;G>=0;--G){var ae=this.tryEntries[G];if(ae.tryLoc<=this.prev&&d.call(ae,"finallyLoc")&&this.prev=0;--M){var G=this.tryEntries[M];if(G.finallyLoc===T)return this.complete(G.completion,G.afterLoc),je(G),N}},catch:function(T){for(var M=this.tryEntries.length-1;M>=0;--M){var G=this.tryEntries[M];if(G.tryLoc===T){var ae=G.completion;if(ae.type==="throw"){var $=ae.arg;je(G)}return $}}throw new Error("illegal catch attempt")},delegateYield:function(T,M,G){return this.delegate={iterator:te(T),resultName:M,nextLoc:G},this.method==="next"&&(this.arg=n),N}},s}l.exports=a,l.exports.__esModule=!0,l.exports.default=l.exports},11006:function(l,v,e){var o=e(63618),a=e(95743),n=e(35962),s=e(60727);function u(d,c){return o(d)||a(d,c)||n(d,c)||s()}l.exports=u,l.exports.__esModule=!0,l.exports.default=l.exports},76897:function(l,v,e){var o=e(5773).default;function a(n,s){if(o(n)!=="object"||n===null)return n;var u=n[Symbol.toPrimitive];if(u!==void 0){var d=u.call(n,s||"default");if(o(d)!=="object")return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(n)}l.exports=a,l.exports.__esModule=!0,l.exports.default=l.exports},1700:function(l,v,e){var o=e(5773).default,a=e(76897);function n(s){var u=a(s,"string");return o(u)==="symbol"?u:String(u)}l.exports=n,l.exports.__esModule=!0,l.exports.default=l.exports},5773:function(l){function v(e){"@babel/helpers - typeof";return l.exports=v=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},l.exports.__esModule=!0,l.exports.default=l.exports,v(e)}l.exports=v,l.exports.__esModule=!0,l.exports.default=l.exports},35962:function(l,v,e){var o=e(67501);function a(n,s){if(n){if(typeof n=="string")return o(n,s);var u=Object.prototype.toString.call(n).slice(8,-1);if(u==="Object"&&n.constructor&&(u=n.constructor.name),u==="Map"||u==="Set")return Array.from(n);if(u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return o(n,s)}}l.exports=a,l.exports.__esModule=!0,l.exports.default=l.exports},56712:function(l,v,e){"use strict";e.d(v,{Z:function(){return o}});function o(a){if(Array.isArray(a))return a}},80268:function(l,v,e){"use strict";e.d(v,{Z:function(){return a}});var o=e(43155);function a(n,s,u){return s=(0,o.Z)(s),s in n?Object.defineProperty(n,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):n[s]=u,n}},26508:function(l,v,e){"use strict";e.d(v,{Z:function(){return o}});function o(){return o=Object.assign?Object.assign.bind():function(a){for(var n=1;n=0)&&(u[c]=n[c]);return u}function a(n,s){if(n==null)return{};var u=o(n,s),d,c;if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(n);for(c=0;c=0)&&Object.prototype.propertyIsEnumerable.call(n,d)&&(u[d]=n[d])}return u}},43155:function(l,v,e){"use strict";e.d(v,{Z:function(){return n}});var o=e(91002);function a(s,u){if((0,o.Z)(s)!=="object"||s===null)return s;var d=s[Symbol.toPrimitive];if(d!==void 0){var c=d.call(s,u||"default");if((0,o.Z)(c)!=="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(u==="string"?String:Number)(s)}function n(s){var u=a(s,"string");return(0,o.Z)(u)==="symbol"?u:String(u)}},91002:function(l,v,e){"use strict";e.d(v,{Z:function(){return o}});function o(a){"@babel/helpers - typeof";return o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},o(a)}},35075:function(l,v,e){"use strict";e.d(v,{Z:function(){return a}});function o(n,s){(s==null||s>n.length)&&(s=n.length);for(var u=0,d=new Array(s);ua.length)&&(n=a.length);for(var s=0,u=new Array(n);s=0)&&(u[c]=n[c]);return u}function a(n,s){if(n==null)return{};var u=o(n,s),d,c;if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(n);for(c=0;c=0)&&Object.prototype.propertyIsEnumerable.call(n,d)&&(u[d]=n[d])}return u}},54869:function(l,v,e){"use strict";e.d(v,{Z:function(){return u}});function o(d){if(Array.isArray(d))return d}function a(d,c){var m=d==null?null:typeof Symbol!="undefined"&&d[Symbol.iterator]||d["@@iterator"];if(m!=null){var h,p,y,b,E=[],w=!0,x=!1;try{if(y=(m=m.call(d)).next,c===0){if(Object(m)!==m)return;w=!1}else for(;!(w=(h=y.call(m)).done)&&(E.push(h.value),E.length!==c);w=!0);}catch(P){x=!0,p=P}finally{try{if(!w&&m.return!=null&&(b=m.return(),Object(b)!==b))return}finally{if(x)throw p}}return E}}var n=e(10664);function s(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function u(d,c){return o(d)||a(d,c)||(0,n.Z)(d,c)||s()}},33333:function(l,v,e){"use strict";e.d(v,{Z:function(){return d}});var o=e(93939);function a(c){if(Array.isArray(c))return(0,o.Z)(c)}function n(c){if(typeof Symbol!="undefined"&&c[Symbol.iterator]!=null||c["@@iterator"]!=null)return Array.from(c)}var s=e(10664);function u(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function d(c){return a(c)||n(c)||(0,s.Z)(c)||u()}},89878:function(l,v,e){"use strict";e.d(v,{Z:function(){return n}});var o=e(8616);function a(s,u){if((0,o.Z)(s)!="object"||!s)return s;var d=s[Symbol.toPrimitive];if(d!==void 0){var c=d.call(s,u||"default");if((0,o.Z)(c)!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(u==="string"?String:Number)(s)}function n(s){var u=a(s,"string");return(0,o.Z)(u)=="symbol"?u:String(u)}},8616:function(l,v,e){"use strict";e.d(v,{Z:function(){return o}});function o(a){"@babel/helpers - typeof";return o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},o(a)}},10664:function(l,v,e){"use strict";e.d(v,{Z:function(){return a}});var o=e(93939);function a(n,s){if(n){if(typeof n=="string")return(0,o.Z)(n,s);var u=Object.prototype.toString.call(n).slice(8,-1);if(u==="Object"&&n.constructor&&(u=n.constructor.name),u==="Map"||u==="Set")return Array.from(n);if(u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return(0,o.Z)(n,s)}}},32290:function(l,v,e){"use strict";e.d(v,{ZT:function(){return a},_T:function(){return s},ev:function(){return _},pi:function(){return n}});var o=function(T,M){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(G,ae){G.__proto__=ae}||function(G,ae){for(var $ in ae)Object.prototype.hasOwnProperty.call(ae,$)&&(G[$]=ae[$])},o(T,M)};function a(T,M){if(typeof M!="function"&&M!==null)throw new TypeError("Class extends value "+String(M)+" is not a constructor or null");o(T,M);function G(){this.constructor=T}T.prototype=M===null?Object.create(M):(G.prototype=M.prototype,new G)}var n=function(){return n=Object.assign||function(M){for(var G,ae=1,$=arguments.length;ae<$;ae++){G=arguments[ae];for(var I in G)Object.prototype.hasOwnProperty.call(G,I)&&(M[I]=G[I])}return M},n.apply(this,arguments)};function s(T,M){var G={};for(var ae in T)Object.prototype.hasOwnProperty.call(T,ae)&&M.indexOf(ae)<0&&(G[ae]=T[ae]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $=0,ae=Object.getOwnPropertySymbols(T);$=0;U--)(z=T[U])&&(I=($<3?z(I):$>3?z(M,G,I):z(M,G))||I);return $>3&&I&&Object.defineProperty(M,G,I),I}function d(T,M){return function(G,ae){M(G,ae,T)}}function c(T,M,G,ae,$,I){function z(se){if(se!==void 0&&typeof se!="function")throw new TypeError("Function expected");return se}for(var U=ae.kind,V=U==="getter"?"get":U==="setter"?"set":"value",Q=!M&&T?ae.static?T:T.prototype:null,we=M||(Q?Object.getOwnPropertyDescriptor(Q,ae.name):{}),Ue,nt=!1,ot=G.length-1;ot>=0;ot--){var tt={};for(var ft in ae)tt[ft]=ft==="access"?{}:ae[ft];for(var ft in ae.access)tt.access[ft]=ae.access[ft];tt.addInitializer=function(se){if(nt)throw new TypeError("Cannot add initializers after decoration has completed");I.push(z(se||null))};var q=(0,G[ot])(U==="accessor"?{get:we.get,set:we.set}:we[V],tt);if(U==="accessor"){if(q===void 0)continue;if(q===null||typeof q!="object")throw new TypeError("Object expected");(Ue=z(q.get))&&(we.get=Ue),(Ue=z(q.set))&&(we.set=Ue),(Ue=z(q.init))&&$.unshift(Ue)}else(Ue=z(q))&&(U==="field"?$.unshift(Ue):we[V]=Ue)}Q&&Object.defineProperty(Q,ae.name,we),nt=!0}function m(T,M,G){for(var ae=arguments.length>2,$=0;$0&&I[I.length-1])&&(Q[0]===6||Q[0]===2)){G=0;continue}if(Q[0]===3&&(!I||Q[1]>I[0]&&Q[1]=T.length&&(T=void 0),{value:T&&T[ae++],done:!T}}};throw new TypeError(M?"Object is not iterable.":"Symbol.iterator is not defined.")}function O(T,M){var G=typeof Symbol=="function"&&T[Symbol.iterator];if(!G)return T;var ae=G.call(T),$,I=[],z;try{for(;(M===void 0||M-- >0)&&!($=ae.next()).done;)I.push($.value)}catch(U){z={error:U}}finally{try{$&&!$.done&&(G=ae.return)&&G.call(ae)}finally{if(z)throw z.error}}return I}function j(){for(var T=[],M=0;M1||U(nt,ot)})})}function U(nt,ot){try{V(ae[nt](ot))}catch(tt){Ue(I[0][3],tt)}}function V(nt){nt.value instanceof R?Promise.resolve(nt.value.v).then(Q,we):Ue(I[0][2],nt)}function Q(nt){U("next",nt)}function we(nt){U("throw",nt)}function Ue(nt,ot){nt(ot),I.shift(),I.length&&U(I[0][0],I[0][1])}}function B(T){var M,G;return M={},ae("next"),ae("throw",function($){throw $}),ae("return"),M[Symbol.iterator]=function(){return this},M;function ae($,I){M[$]=T[$]?function(z){return(G=!G)?{value:R(T[$](z)),done:!1}:I?I(z):z}:I}}function W(T){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var M=T[Symbol.asyncIterator],G;return M?M.call(T):(T=typeof P=="function"?P(T):T[Symbol.iterator](),G={},ae("next"),ae("throw"),ae("return"),G[Symbol.asyncIterator]=function(){return this},G);function ae(I){G[I]=T[I]&&function(z){return new Promise(function(U,V){z=T[I](z),$(U,V,z.done,z.value)})}}function $(I,z,U,V){Promise.resolve(V).then(function(Q){I({value:Q,done:U})},z)}}function ee(T,M){return Object.defineProperty?Object.defineProperty(T,"raw",{value:M}):T.raw=M,T}var J=Object.create?function(T,M){Object.defineProperty(T,"default",{enumerable:!0,value:M})}:function(T,M){T.default=M};function ie(T){if(T&&T.__esModule)return T;var M={};if(T!=null)for(var G in T)G!=="default"&&Object.prototype.hasOwnProperty.call(T,G)&&w(M,T,G);return J(M,T),M}function Ee(T){return T&&T.__esModule?T:{default:T}}function Ie(T,M,G,ae){if(G==="a"&&!ae)throw new TypeError("Private accessor was defined without a getter");if(typeof M=="function"?T!==M||!ae:!M.has(T))throw new TypeError("Cannot read private member from an object whose class did not declare it");return G==="m"?ae:G==="a"?ae.call(T):ae?ae.value:M.get(T)}function Le(T,M,G,ae,$){if(ae==="m")throw new TypeError("Private method is not writable");if(ae==="a"&&!$)throw new TypeError("Private accessor was defined without a setter");if(typeof M=="function"?T!==M||!$:!M.has(T))throw new TypeError("Cannot write private member to an object whose class did not declare it");return ae==="a"?$.call(T,G):$?$.value=G:M.set(T,G),G}function De(T,M){if(M===null||typeof M!="object"&&typeof M!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof T=="function"?M===T:T.has(M)}function je(T,M,G){if(M!=null){if(typeof M!="object"&&typeof M!="function")throw new TypeError("Object expected.");var ae;if(G){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");ae=M[Symbol.asyncDispose]}if(ae===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");ae=M[Symbol.dispose]}if(typeof ae!="function")throw new TypeError("Object not disposable.");T.stack.push({value:M,dispose:ae,async:G})}else G&&T.stack.push({async:!0});return M}var X=typeof SuppressedError=="function"?SuppressedError:function(T,M,G){var ae=new Error(G);return ae.name="SuppressedError",ae.error=T,ae.suppressed=M,ae};function te(T){function M(ae){T.error=T.hasError?new X(ae,T.error,"An error was suppressed during disposal."):ae,T.hasError=!0}function G(){for(;T.stack.length;){var ae=T.stack.pop();try{var $=ae.dispose&&ae.dispose.call(ae.value);if(ae.async)return Promise.resolve($).then(G,function(I){return M(I),G()})}catch(I){M(I)}}if(T.hasError)throw T.error}return G()}var Y={__extends:a,__assign:n,__rest:s,__decorate:u,__param:d,__metadata:y,__awaiter:b,__generator:E,__createBinding:w,__exportStar:x,__values:P,__read:O,__spread:j,__spreadArrays:N,__spreadArray:_,__await:R,__asyncGenerator:D,__asyncDelegator:B,__asyncValues:W,__makeTemplateObject:ee,__importStar:ie,__importDefault:Ee,__classPrivateFieldGet:Ie,__classPrivateFieldSet:Le,__classPrivateFieldIn:De,__addDisposableResource:je,__disposeResources:te}}},__webpack_module_cache__={};function __webpack_require__(l){var v=__webpack_module_cache__[l];if(v!==void 0)return v.exports;var e=__webpack_module_cache__[l]={exports:{}};return __webpack_modules__[l].call(e.exports,e,e.exports,__webpack_require__),e.exports}__webpack_require__.m=__webpack_modules__,function(){__webpack_require__.n=function(l){var v=l&&l.__esModule?function(){return l.default}:function(){return l};return __webpack_require__.d(v,{a:v}),v}}(),function(){var l=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},v;__webpack_require__.t=function(e,o){if(o&1&&(e=this(e)),o&8||typeof e=="object"&&e&&(o&4&&e.__esModule||o&16&&typeof e.then=="function"))return e;var a=Object.create(null);__webpack_require__.r(a);var n={};v=v||[null,l({}),l([]),l(l)];for(var s=o&2&&e;typeof s=="object"&&!~v.indexOf(s);s=l(s))Object.getOwnPropertyNames(s).forEach(function(u){n[u]=function(){return e[u]}});return n.default=function(){return e},__webpack_require__.d(a,n),a}}(),function(){__webpack_require__.d=function(l,v){for(var e in v)__webpack_require__.o(v,e)&&!__webpack_require__.o(l,e)&&Object.defineProperty(l,e,{enumerable:!0,get:v[e]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(l){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(v,e){return __webpack_require__.f[e](l,v),v},[]))}}(),function(){__webpack_require__.u=function(l){return""+({9:"nm__dumi__dist__client__pages__Demo__index",65:"nm__dumi__dist__client__pages__404",238:"docs__demo__onVisibleChange.md",269:"docs__demo__placement.md",299:"docs__demo__showArrow.md",433:"demos",519:"nm__dumi__theme-default__layouts__DocLayout__index",643:"docs__demo__arrowContent.md",673:"docs__demo__formError.md",714:"docs__demo__simple.md",722:"docs__demo__point.md",793:"docs__changelog.md",923:"dumi__tmp-production__dumi__theme__ContextWrapper",935:"docs__index.md"}[l]||l)+"."+{9:"0f9a7b0b",65:"b7d8065c",238:"3c6f6672",269:"3a2aec83",299:"e59c5b30",361:"f6612826",433:"030588cb",519:"d8fdf31c",643:"94110947",673:"c8e83363",714:"cb2d07c0",722:"7963b300",728:"99557edf",793:"f4dffd4d",923:"daf17f9f",935:"a6331cee"}[l]+".async.js"}}(),function(){__webpack_require__.miniCssF=function(l){return""+({9:"nm__dumi__dist__client__pages__Demo__index",65:"nm__dumi__dist__client__pages__404",238:"docs__demo__onVisibleChange.md",269:"docs__demo__placement.md",299:"docs__demo__showArrow.md",433:"demos",643:"docs__demo__arrowContent.md",673:"docs__demo__formError.md",714:"docs__demo__simple.md",722:"docs__demo__point.md",793:"docs__changelog.md",935:"docs__index.md"}[l]||l)+"."+{9:"578aa5c0",65:"8b85f2d9",238:"778c6473",269:"778c6473",299:"778c6473",361:"dec64465",433:"442284fe",643:"778c6473",673:"778c6473",714:"778c6473",722:"778c6473",793:"778c6473",935:"778c6473"}[l]+".chunk.css"}}(),function(){__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(l){if(typeof window=="object")return window}}()}(),function(){__webpack_require__.o=function(l,v){return Object.prototype.hasOwnProperty.call(l,v)}}(),function(){var l={},v="rc-tooltip:";__webpack_require__.l=function(e,o,a,n){if(l[e]){l[e].push(o);return}var s,u;if(a!==void 0)for(var d=document.getElementsByTagName("script"),c=0;c=0;U--)(z=T[U])&&(I=($<3?z(I):$>3?z(M,G,I):z(M,G))||I);return $>3&&I&&Object.defineProperty(M,G,I),I}function d(T,M){return function(G,ae){M(G,ae,T)}}function c(T,M,G,ae,$,I){function z(se){if(se!==void 0&&typeof se!="function")throw new TypeError("Function expected");return se}for(var U=ae.kind,V=U==="getter"?"get":U==="setter"?"set":"value",Q=!M&&T?ae.static?T:T.prototype:null,we=M||(Q?Object.getOwnPropertyDescriptor(Q,ae.name):{}),Ue,nt=!1,ot=G.length-1;ot>=0;ot--){var tt={};for(var ft in ae)tt[ft]=ft==="access"?{}:ae[ft];for(var ft in ae.access)tt.access[ft]=ae.access[ft];tt.addInitializer=function(se){if(nt)throw new TypeError("Cannot add initializers after decoration has completed");I.push(z(se||null))};var q=(0,G[ot])(U==="accessor"?{get:we.get,set:we.set}:we[V],tt);if(U==="accessor"){if(q===void 0)continue;if(q===null||typeof q!="object")throw new TypeError("Object expected");(Ue=z(q.get))&&(we.get=Ue),(Ue=z(q.set))&&(we.set=Ue),(Ue=z(q.init))&&$.unshift(Ue)}else(Ue=z(q))&&(U==="field"?$.unshift(Ue):we[V]=Ue)}Q&&Object.defineProperty(Q,ae.name,we),nt=!0}function m(T,M,G){for(var ae=arguments.length>2,$=0;$0&&I[I.length-1])&&(Q[0]===6||Q[0]===2)){G=0;continue}if(Q[0]===3&&(!I||Q[1]>I[0]&&Q[1]=T.length&&(T=void 0),{value:T&&T[ae++],done:!T}}};throw new TypeError(M?"Object is not iterable.":"Symbol.iterator is not defined.")}function O(T,M){var G=typeof Symbol=="function"&&T[Symbol.iterator];if(!G)return T;var ae=G.call(T),$,I=[],z;try{for(;(M===void 0||M-- >0)&&!($=ae.next()).done;)I.push($.value)}catch(U){z={error:U}}finally{try{$&&!$.done&&(G=ae.return)&&G.call(ae)}finally{if(z)throw z.error}}return I}function j(){for(var T=[],M=0;M1||U(nt,ot)})})}function U(nt,ot){try{V(ae[nt](ot))}catch(tt){Ue(I[0][3],tt)}}function V(nt){nt.value instanceof R?Promise.resolve(nt.value.v).then(Q,we):Ue(I[0][2],nt)}function Q(nt){U("next",nt)}function we(nt){U("throw",nt)}function Ue(nt,ot){nt(ot),I.shift(),I.length&&U(I[0][0],I[0][1])}}function B(T){var M,G;return M={},ae("next"),ae("throw",function($){throw $}),ae("return"),M[Symbol.iterator]=function(){return this},M;function ae($,I){M[$]=T[$]?function(z){return(G=!G)?{value:R(T[$](z)),done:!1}:I?I(z):z}:I}}function W(T){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var M=T[Symbol.asyncIterator],G;return M?M.call(T):(T=typeof P=="function"?P(T):T[Symbol.iterator](),G={},ae("next"),ae("throw"),ae("return"),G[Symbol.asyncIterator]=function(){return this},G);function ae(I){G[I]=T[I]&&function(z){return new Promise(function(U,V){z=T[I](z),$(U,V,z.done,z.value)})}}function $(I,z,U,V){Promise.resolve(V).then(function(Q){I({value:Q,done:U})},z)}}function ee(T,M){return Object.defineProperty?Object.defineProperty(T,"raw",{value:M}):T.raw=M,T}var J=Object.create?function(T,M){Object.defineProperty(T,"default",{enumerable:!0,value:M})}:function(T,M){T.default=M};function ie(T){if(T&&T.__esModule)return T;var M={};if(T!=null)for(var G in T)G!=="default"&&Object.prototype.hasOwnProperty.call(T,G)&&w(M,T,G);return J(M,T),M}function Ee(T){return T&&T.__esModule?T:{default:T}}function Ie(T,M,G,ae){if(G==="a"&&!ae)throw new TypeError("Private accessor was defined without a getter");if(typeof M=="function"?T!==M||!ae:!M.has(T))throw new TypeError("Cannot read private member from an object whose class did not declare it");return G==="m"?ae:G==="a"?ae.call(T):ae?ae.value:M.get(T)}function Le(T,M,G,ae,$){if(ae==="m")throw new TypeError("Private method is not writable");if(ae==="a"&&!$)throw new TypeError("Private accessor was defined without a setter");if(typeof M=="function"?T!==M||!$:!M.has(T))throw new TypeError("Cannot write private member to an object whose class did not declare it");return ae==="a"?$.call(T,G):$?$.value=G:M.set(T,G),G}function De(T,M){if(M===null||typeof M!="object"&&typeof M!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof T=="function"?M===T:T.has(M)}function je(T,M,G){if(M!=null){if(typeof M!="object"&&typeof M!="function")throw new TypeError("Object expected.");var ae;if(G){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");ae=M[Symbol.asyncDispose]}if(ae===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");ae=M[Symbol.dispose]}if(typeof ae!="function")throw new TypeError("Object not disposable.");T.stack.push({value:M,dispose:ae,async:G})}else G&&T.stack.push({async:!0});return M}var X=typeof SuppressedError=="function"?SuppressedError:function(T,M,G){var ae=new Error(G);return ae.name="SuppressedError",ae.error=T,ae.suppressed=M,ae};function te(T){function M(ae){T.error=T.hasError?new X(ae,T.error,"An error was suppressed during disposal."):ae,T.hasError=!0}function G(){for(;T.stack.length;){var ae=T.stack.pop();try{var $=ae.dispose&&ae.dispose.call(ae.value);if(ae.async)return Promise.resolve($).then(G,function(I){return M(I),G()})}catch(I){M(I)}}if(T.hasError)throw T.error}return G()}var Y={__extends:a,__assign:n,__rest:s,__decorate:u,__param:d,__metadata:y,__awaiter:b,__generator:E,__createBinding:w,__exportStar:x,__values:P,__read:O,__spread:j,__spreadArrays:N,__spreadArray:_,__await:R,__asyncGenerator:D,__asyncDelegator:B,__asyncValues:W,__makeTemplateObject:ee,__importStar:ie,__importDefault:Ee,__classPrivateFieldGet:Ie,__classPrivateFieldSet:Le,__classPrivateFieldIn:De,__addDisposableResource:je,__disposeResources:te}}},__webpack_module_cache__={};function __webpack_require__(l){var v=__webpack_module_cache__[l];if(v!==void 0)return v.exports;var e=__webpack_module_cache__[l]={exports:{}};return __webpack_modules__[l].call(e.exports,e,e.exports,__webpack_require__),e.exports}__webpack_require__.m=__webpack_modules__,function(){__webpack_require__.n=function(l){var v=l&&l.__esModule?function(){return l.default}:function(){return l};return __webpack_require__.d(v,{a:v}),v}}(),function(){var l=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},v;__webpack_require__.t=function(e,o){if(o&1&&(e=this(e)),o&8||typeof e=="object"&&e&&(o&4&&e.__esModule||o&16&&typeof e.then=="function"))return e;var a=Object.create(null);__webpack_require__.r(a);var n={};v=v||[null,l({}),l([]),l(l)];for(var s=o&2&&e;typeof s=="object"&&!~v.indexOf(s);s=l(s))Object.getOwnPropertyNames(s).forEach(function(u){n[u]=function(){return e[u]}});return n.default=function(){return e},__webpack_require__.d(a,n),a}}(),function(){__webpack_require__.d=function(l,v){for(var e in v)__webpack_require__.o(v,e)&&!__webpack_require__.o(l,e)&&Object.defineProperty(l,e,{enumerable:!0,get:v[e]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(l){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(v,e){return __webpack_require__.f[e](l,v),v},[]))}}(),function(){__webpack_require__.u=function(l){return""+({9:"nm__dumi__dist__client__pages__Demo__index",65:"nm__dumi__dist__client__pages__404",238:"docs__demo__onVisibleChange.md",269:"docs__demo__placement.md",299:"docs__demo__showArrow.md",433:"demos",519:"nm__dumi__theme-default__layouts__DocLayout__index",643:"docs__demo__arrowContent.md",673:"docs__demo__formError.md",714:"docs__demo__simple.md",722:"docs__demo__point.md",793:"docs__changelog.md",923:"dumi__tmp-production__dumi__theme__ContextWrapper",935:"docs__index.md"}[l]||l)+"."+{9:"0f9a7b0b",65:"b7d8065c",238:"3c6f6672",269:"3a2aec83",299:"e59c5b30",361:"f6612826",433:"516d6c1e",519:"d8fdf31c",643:"94110947",673:"c8e83363",714:"cb2d07c0",722:"7963b300",728:"99557edf",793:"f4dffd4d",923:"6faa81a7",935:"a6331cee"}[l]+".async.js"}}(),function(){__webpack_require__.miniCssF=function(l){return""+({9:"nm__dumi__dist__client__pages__Demo__index",65:"nm__dumi__dist__client__pages__404",238:"docs__demo__onVisibleChange.md",269:"docs__demo__placement.md",299:"docs__demo__showArrow.md",433:"demos",643:"docs__demo__arrowContent.md",673:"docs__demo__formError.md",714:"docs__demo__simple.md",722:"docs__demo__point.md",793:"docs__changelog.md",935:"docs__index.md"}[l]||l)+"."+{9:"578aa5c0",65:"8b85f2d9",238:"778c6473",269:"778c6473",299:"778c6473",361:"dec64465",433:"442284fe",643:"778c6473",673:"778c6473",714:"778c6473",722:"778c6473",793:"778c6473",935:"778c6473"}[l]+".chunk.css"}}(),function(){__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(l){if(typeof window=="object")return window}}()}(),function(){__webpack_require__.o=function(l,v){return Object.prototype.hasOwnProperty.call(l,v)}}(),function(){var l={},v="rc-tooltip:";__webpack_require__.l=function(e,o,a,n){if(l[e]){l[e].push(o);return}var s,u;if(a!==void 0)for(var d=document.getElementsByTagName("script"),c=0;c0&&arguments[0]!==void 0?arguments[0]:"";return $t.endsWith("/")?$t:"".concat($t,"/")}var fr=__webpack_require__(52528),Ur=__webpack_require__(26508),kr=__webpack_require__(17579),Mr=["redirect"];function Sn($t){var Dt=$t.routesById,wr=$t.parentId,Ar=$t.routeComponents;return Object.keys(Dt).filter(function(Vr){return Dt[Vr].parentId===wr}).map(function(Vr){var pn=Ea((0,k.Z)({route:Dt[Vr],routeComponent:Ar[Vr],loadingComponent:$t.loadingComponent,reactRouter5Compat:$t.reactRouter5Compat},$t.reactRouter5Compat&&{hasChildren:Object.keys(Dt).filter(function(F){return Dt[F].parentId===Vr}).length>0})),kn=Sn({routesById:Dt,routeComponents:Ar,parentId:pn.id,loadingComponent:$t.loadingComponent,reactRouter5Compat:$t.reactRouter5Compat});return kn.length>0&&(pn.children=kn,pn.routes=kn),pn})}function Un($t){var Dt=(0,Rt.UO)(),wr=(0,k.Z)((0,k.Z)({},$t),{},{to:(0,Rt.Gn)($t.to,Dt)});return We.createElement(Rt.Fg,(0,Ur.Z)({replace:!0},wr))}function Ea($t){var Dt=$t.route,wr=Dt.redirect,Ar=(0,fr.Z)(Dt,Mr),Vr=$t.reactRouter5Compat?fa:ja;return(0,k.Z)({element:wr?We.createElement(Un,{to:wr}):We.createElement(kr.X.Provider,{value:{route:$t.route}},We.createElement(Vr,{loader:We.memo($t.routeComponent),loadingComponent:$t.loadingComponent||uo,hasChildren:$t.hasChildren}))},Ar)}function uo(){return We.createElement("div",null)}function fa($t){var Dt=(0,kr.Q)(),wr=Dt.route,Ar=(0,Xt.Ov)(),Vr=Ar.history,pn=Ar.clientRoutes,kn=(0,Rt.UO)(),F={params:kn,isExact:!0,path:wr.path,url:Vr.location.pathname},K=$t.loader;return We.createElement(We.Suspense,{fallback:We.createElement($t.loadingComponent,null)},We.createElement(K,{location:Vr.location,match:F,history:Vr,params:kn,route:wr,routes:pn},$t.hasChildren&&We.createElement(Rt.j3,null)))}function ja($t){var Dt=$t.loader;return We.createElement(We.Suspense,{fallback:We.createElement($t.loadingComponent,null)},We.createElement(Dt,null))}var _a=null;function $o(){return _a}function sa($t){var Dt=$t.history,wr=We.useState({action:Dt.action,location:Dt.location}),Ar=st(wr,2),Vr=Ar[0],pn=Ar[1];return(0,We.useLayoutEffect)(function(){return Dt.listen(pn)},[Dt]),(0,We.useLayoutEffect)(function(){function kn(F){$t.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:$t.routes,clientRoutes:$t.clientRoutes,location:F.location,action:F.action,basename:$t.basename,isFirst:!!F.isFirst}})}return kn({location:Vr.location,action:Vr.action,isFirst:!0}),Dt.listen(kn)},[Dt,$t.routes,$t.clientRoutes]),We.createElement(Rt.F0,{navigator:Dt,location:Vr.location,basename:$t.basename},$t.children)}function Ho(){var $t=(0,Xt.Ov)(),Dt=$t.clientRoutes;return(0,Rt.V$)(Dt)}var Ca=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],Va=function(Dt,wr){var Ar=Dt.basename||"/",Vr=Sn({routesById:Dt.routes,routeComponents:Dt.routeComponents,loadingComponent:Dt.loadingComponent,reactRouter5Compat:Dt.reactRouter5Compat});Dt.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:Vr}});for(var pn=We.createElement(sa,{basename:Ar,pluginManager:Dt.pluginManager,routes:Dt.routes,clientRoutes:Vr,history:Dt.history},wr),kn=0,F=Ca;kn1&&location.pathname.endsWith("/")&&history.replaceState({},"",location.pathname.slice(0,-1)+location.search+location.hash),function(){var $t=typeof navigator!="undefined"&&navigator.cookieEnabled&&typeof window.localStorage!="undefined"&&localStorage.getItem("dumi:prefers-color")||"light",Dt=window.matchMedia("(prefers-color-scheme: dark)").matches,wr=["light","dark","auto"];document.documentElement.setAttribute("data-prefers-color",$t===wr[2]?Dt?wr[1]:wr[0]:wr.indexOf($t)>-1?$t:wr[0])}(),Vn(),window.g_umi={version:"4.0.89"},(0,A.rl)((0,pi.We)())})()})(); }()); \ No newline at end of file diff --git a/~demos/:id/index.html b/~demos/:id/index.html index 4487c0c..bba34d6 100644 --- a/~demos/:id/index.html +++ b/~demos/:id/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/~demos/docs-demo-arrow-content-demo-arrowcontent/index.html b/~demos/docs-demo-arrow-content-demo-arrowcontent/index.html index 4487c0c..bba34d6 100644 --- a/~demos/docs-demo-arrow-content-demo-arrowcontent/index.html +++ b/~demos/docs-demo-arrow-content-demo-arrowcontent/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/~demos/docs-demo-form-error-demo-formerror/index.html b/~demos/docs-demo-form-error-demo-formerror/index.html index 4487c0c..bba34d6 100644 --- a/~demos/docs-demo-form-error-demo-formerror/index.html +++ b/~demos/docs-demo-form-error-demo-formerror/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/~demos/docs-demo-on-visible-change-demo-onvisiblechange/index.html b/~demos/docs-demo-on-visible-change-demo-onvisiblechange/index.html index 4487c0c..bba34d6 100644 --- a/~demos/docs-demo-on-visible-change-demo-onvisiblechange/index.html +++ b/~demos/docs-demo-on-visible-change-demo-onvisiblechange/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/~demos/docs-demo-placement-demo-placement/index.html b/~demos/docs-demo-placement-demo-placement/index.html index 4487c0c..bba34d6 100644 --- a/~demos/docs-demo-placement-demo-placement/index.html +++ b/~demos/docs-demo-placement-demo-placement/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/~demos/docs-demo-point-demo-point/index.html b/~demos/docs-demo-point-demo-point/index.html index 4487c0c..bba34d6 100644 --- a/~demos/docs-demo-point-demo-point/index.html +++ b/~demos/docs-demo-point-demo-point/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/~demos/docs-demo-show-arrow-demo-showarrow/index.html b/~demos/docs-demo-show-arrow-demo-showarrow/index.html index 4487c0c..bba34d6 100644 --- a/~demos/docs-demo-show-arrow-demo-showarrow/index.html +++ b/~demos/docs-demo-show-arrow-demo-showarrow/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/~demos/docs-demo-simple-demo-simple/index.html b/~demos/docs-demo-simple-demo-simple/index.html index 4487c0c..bba34d6 100644 --- a/~demos/docs-demo-simple-demo-simple/index.html +++ b/~demos/docs-demo-simple-demo-simple/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file