diff --git a/288.ae9dcee3.async.js b/288.ae9dcee3.async.js new file mode 100644 index 0000000..777bc92 --- /dev/null +++ b/288.ae9dcee3.async.js @@ -0,0 +1,16 @@ +(self.webpackChunk_rc_component_color_picker=self.webpackChunk_rc_component_color_picker||[]).push([[288],{88609:function(N,C,t){"use strict";t.d(C,{r:function(){return O}});var e=t(21739),A=Object.defineProperty,j=Object.getOwnPropertySymbols,h=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable,z=(I,L,b)=>L in I?A(I,L,{enumerable:!0,configurable:!0,writable:!0,value:b}):I[L]=b,k=(I,L)=>{for(var b in L||(L={}))h.call(L,b)&&z(I,b,L[b]);if(j)for(var b of j(L))D.call(L,b)&&z(I,b,L[b]);return I};const O=I=>e.createElement("svg",k({viewBox:"64 64 896 896"},I),e.createElement("path",{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}));var T="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNODg0IDI1NmgtNzVjLTUuMSAwLTkuOSAyLjUtMTIuOSA2LjZMNTEyIDY1NC4yIDIyNy45IDI2Mi42Yy0zLTQuMS03LjgtNi42LTEyLjktNi42aC03NWMtNi41IDAtMTAuMyA3LjQtNi41IDEyLjdsMzUyLjYgNDg2LjFjMTIuOCAxNy42IDM5IDE3LjYgNTEuNyAwbDM1Mi42LTQ4Ni4xYzMuOS01LjMuMS0xMi43LTYuNC0xMi43eiIvPjwvc3ZnPg=="},75315:function(N,C,t){"use strict";t.r(C),t.d(C,{default:function(){return w}});var e=t(21739),A=Object.defineProperty,j=Object.getOwnPropertySymbols,h=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable,z=(r,n,u)=>n in r?A(r,n,{enumerable:!0,configurable:!0,writable:!0,value:u}):r[n]=u,k=(r,n)=>{for(var u in n||(n={}))h.call(n,u)&&z(r,u,n[u]);if(j)for(var u of j(n))D.call(n,u)&&z(r,u,n[u]);return r};const O=r=>e.createElement("svg",k({viewBox:"64 64 896 896"},r),e.createElement("path",{d:"M120 230h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0 424h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm784 140H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-424H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}));var T="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNMTIwIDIzMGg0OTZjNC40IDAgOC0zLjYgOC04di01NmMwLTQuNC0zLjYtOC04LThIMTIwYy00LjQgMC04IDMuNi04IDh2NTZjMCA0LjQgMy42IDggOCA4em0wIDQyNGg0OTZjNC40IDAgOC0zLjYgOC04di01NmMwLTQuNC0zLjYtOC04LThIMTIwYy00LjQgMC04IDMuNi04IDh2NTZjMCA0LjQgMy42IDggOCA4em03ODQgMTQwSDEyMGMtNC40IDAtOCAzLjYtOCA4djU2YzAgNC40IDMuNiA4IDggOGg3ODRjNC40IDAgOC0zLjYgOC04di01NmMwLTQuNC0zLjYtOC04LTh6bTAtNDI0SDEyMGMtNC40IDAtOCAzLjYtOCA4djU2YzAgNC40IDMuNiA4IDggOGg3ODRjNC40IDAgOC0zLjYgOC04di01NmMwLTQuNC0zLjYtOC04LTh6Ii8+PC9zdmc+",I=t(10291),L=t(39013),b=t(42462),x=t(54275),g=t(17155),y=t(23894),a=t(25493),v=t(68096),M=t(7679),E=t(95508);function P(r,n){return G(r)||R(r,n)||U(r,n)||B()}function B(){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(r,n){if(r){if(typeof r=="string")return V(r,n);var u=Object.prototype.toString.call(r).slice(8,-1);if(u==="Object"&&r.constructor&&(u=r.constructor.name),u==="Map"||u==="Set")return Array.from(r);if(u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return V(r,n)}}function V(r,n){(n==null||n>r.length)&&(n=r.length);for(var u=0,Q=new Array(n);u0;return(0,e.useEffect)(function(){var W=K.replace("#","");W&&setTimeout(function(){var _=document.getElementById(decodeURIComponent(W));_&&(0,I.Z)(_.offsetTop-80,{maxDuration:300})},1)},[o,K]),e.createElement("div",{className:"dumi-default-doc-layout","data-mobile-sidebar-active":Z||void 0,onClick:function(){return i(!1)}},e.createElement(L.ql,null,e.createElement("html",{lang:n.locale.replace(/-.+$/,"")}),c.title&&e.createElement("title",null,c.title),c.title&&e.createElement("meta",{property:"og:title",content:c.title}),c.description&&e.createElement("meta",{name:"description",content:c.description}),c.description&&e.createElement("meta",{property:"og:description",content:c.description}),c.keywords&&e.createElement("meta",{name:"keywords",content:c.keywords.join(",")}),c.keywords&&c.keywords.map(function(W){return e.createElement("meta",{key:W,property:"article:tag",content:W})}),f&&e.createElement("link",{rel:"canonical",href:f+S})),e.createElement(a.Z,null),e.createElement(v.Z,null),e.createElement(g.Z,null),F&&e.createElement("div",{className:"dumi-default-doc-layout-mobile-bar"},e.createElement("button",{type:"button",className:"dumi-default-sidebar-btn",onClick:function(_){_.stopPropagation(),i(function($){return!$})}},e.createElement(O,null),n.formatMessage({id:"layout.sidebar.btn"}))),e.createElement("main",null,F&&e.createElement(M.Z,null),e.createElement(b.Z,null,e.createElement("article",null,u),e.createElement(x.Z,null),e.createElement(y.Z,null)),c.toc==="content"&&e.createElement("div",{className:"dumi-default-doc-layout-toc-wrapper"},e.createElement("h4",null,"TABLE OF CONTENTS"),e.createElement(E.Z,null))))},w=X},77569:function(N,C,t){"use strict";t.d(C,{Z:function(){return g}});var e=t(39013),A=t(21739);function j(y,a){return O(y)||k(y,a)||D(y,a)||h()}function h(){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 D(y,a){if(y){if(typeof y=="string")return z(y,a);var v=Object.prototype.toString.call(y).slice(8,-1);if(v==="Object"&&y.constructor&&(v=y.constructor.name),v==="Map"||v==="Set")return Array.from(y);if(v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v))return z(y,a)}}function z(y,a){(a==null||a>y.length)&&(a=y.length);for(var v=0,M=new Array(a);vn in r?A(r,n,{enumerable:!0,configurable:!0,writable:!0,value:u}):r[n]=u,k=(r,n)=>{for(var u in n||(n={}))h.call(n,u)&&z(r,u,n[u]);if(j)for(var u of j(n))D.call(n,u)&&z(r,u,n[u]);return r};const O=r=>e.createElement("svg",k({viewBox:"64 64 896 896"},r),e.createElement("path",{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 0 0 0 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}));var T="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNODcyIDQ3NEgyODYuOWwzNTAuMi0zMDRjNS42LTQuOSAyLjItMTQtNS4yLTE0aC04OC41Yy0zLjkgMC03LjYgMS40LTEwLjUgMy45TDE1NSA0ODcuOGEzMS45NiAzMS45NiAwIDAgMCAwIDQ4LjNMNTM1LjEgODY2YzEuNSAxLjMgMy4zIDIgNS4yIDJoOTEuNWM3LjQgMCAxMC44LTkuMiA1LjItMTRMMjg2LjkgNTUwSDg3MmM0LjQgMCA4LTMuNiA4LTh2LTYwYzAtNC40LTMuNi04LTgtOHoiLz48L3N2Zz4=",I=Object.defineProperty,L=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,g=(r,n,u)=>n in r?I(r,n,{enumerable:!0,configurable:!0,writable:!0,value:u}):r[n]=u,y=(r,n)=>{for(var u in n||(n={}))b.call(n,u)&&g(r,u,n[u]);if(L)for(var u of L(n))x.call(n,u)&&g(r,u,n[u]);return r};const a=r=>e.createElement("svg",y({viewBox:"64 64 896 896"},r),e.createElement("path",{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}),e.createElement("path",{d:"M686.7 638.6 544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}));var v="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNNTEyIDY0QzI2NC42IDY0IDY0IDI2NC42IDY0IDUxMnMyMDAuNiA0NDggNDQ4IDQ0OCA0NDgtMjAwLjYgNDQ4LTQ0OFM3NTkuNCA2NCA1MTIgNjR6bTAgODIwYy0yMDUuNCAwLTM3Mi0xNjYuNi0zNzItMzcyczE2Ni42LTM3MiAzNzItMzcyIDM3MiAxNjYuNiAzNzIgMzcyLTE2Ni42IDM3Mi0zNzIgMzcyeiIvPjxwYXRoIGQ9Ik02ODYuNyA2MzguNiA1NDQuMSA1MzUuNVYyODhjMC00LjQtMy42LTgtOC04SDQ4OGMtNC40IDAtOCAzLjYtOCA4djI3NS40YzAgMi42IDEuMiA1IDMuMyA2LjVsMTY1LjQgMTIwLjZjMy42IDIuNiA4LjYgMS44IDExLjItMS43bDI4LjYtMzljMi42LTMuNyAxLjgtOC43LTEuOC0xMS4yeiIvPjwvc3ZnPg==",M=t(34864),E=t(39013);function P(r,n){return G(r)||R(r,n)||U(r,n)||B()}function B(){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(r,n){if(r){if(typeof r=="string")return V(r,n);var u=Object.prototype.toString.call(r).slice(8,-1);if(u==="Object"&&r.constructor&&(u=r.constructor.name),u==="Map"||u==="Set")return Array.from(r);if(u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return V(r,n)}}function V(r,n){(n==null||n>r.length)&&(n=r.length);for(var u=0,Q=new Array(n);uo in l?A(l,o,{enumerable:!0,configurable:!0,writable:!0,value:f}):l[o]=f,k=(l,o)=>{for(var f in o||(o={}))h.call(o,f)&&z(l,f,o[f]);if(j)for(var f of j(o))D.call(o,f)&&z(l,f,o[f]);return l};const O=l=>e.createElement("svg",k({fillRule:"evenodd",viewBox:"64 64 896 896"},l),e.createElement("path",{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 0 1 0 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 0 1 0 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 0 1-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 0 1-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7a.169.169 0 0 1-.06-.07.12.12 0 0 1 0-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7a.199.199 0 0 1-.06-.09.12.12 0 0 1 0-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 0 1 .07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 0 1 .07 0z"}));var T="data:image/svg+xml;base64,PHN2ZyBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiPjxwYXRoIGQ9Ik03OTkuODYgMTY2LjMxYy4wMiAwIC4wNC4wMi4wOC4wNmw1Ny42OSA1Ny43Yy4wNC4wMy4wNS4wNS4wNi4wOGEuMTIuMTIgMCAwIDEgMCAuMDZjMCAuMDMtLjAyLjA1LS4wNi4wOUw1NjkuOTMgNTEybDI4Ny43IDI4Ny43Yy4wNC4wNC4wNS4wNi4wNi4wOWEuMTIuMTIgMCAwIDEgMCAuMDdjMCAuMDItLjAyLjA0LS4wNi4wOGwtNTcuNyA1Ny42OWMtLjAzLjA0LS4wNS4wNS0uMDcuMDZhLjEyLjEyIDAgMCAxLS4wNyAwYy0uMDMgMC0uMDUtLjAyLS4wOS0uMDZMNTEyIDU2OS45M2wtMjg3LjcgMjg3LjdjLS4wNC4wNC0uMDYuMDUtLjA5LjA2YS4xMi4xMiAwIDAgMS0uMDcgMGMtLjAyIDAtLjA0LS4wMi0uMDgtLjA2bC01Ny42OS01Ny43YS4xNjkuMTY5IDAgMCAxLS4wNi0uMDcuMTIuMTIgMCAwIDEgMC0uMDdjMC0uMDMuMDItLjA1LjA2LS4wOUw0NTQuMDcgNTEybC0yODcuNy0yODcuN2EuMTk5LjE5OSAwIDAgMS0uMDYtLjA5LjEyLjEyIDAgMCAxIDAtLjA3YzAtLjAyLjAyLS4wNC4wNi0uMDhsNTcuNy01Ny42OWMuMDMtLjA0LjA1LS4wNS4wNy0uMDZhLjEyLjEyIDAgMCAxIC4wNyAwYy4wMyAwIC4wNS4wMi4wOS4wNkw1MTIgNDU0LjA3bDI4Ny43LTI4Ny43Yy4wNC0uMDQuMDYtLjA1LjA5LS4wNmEuMTIuMTIgMCAwIDEgLjA3IDB6Ii8+PC9zdmc+",I=Object.defineProperty,L=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,g=(l,o,f)=>o in l?I(l,o,{enumerable:!0,configurable:!0,writable:!0,value:f}):l[o]=f,y=(l,o)=>{for(var f in o||(o={}))b.call(o,f)&&g(l,f,o[f]);if(L)for(var f of L(o))x.call(o,f)&&g(l,f,o[f]);return l};const a=l=>e.createElement("svg",y({viewBox:"64 64 896 896"},l),e.createElement("path",{d:"M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z"}));var v="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNOTA0IDE2MEgxMjBjLTQuNCAwLTggMy42LTggOHY2NGMwIDQuNCAzLjYgOCA4IDhoNzg0YzQuNCAwIDgtMy42IDgtOHYtNjRjMC00LjQtMy42LTgtOC04em0wIDYyNEgxMjBjLTQuNCAwLTggMy42LTggOHY2NGMwIDQuNCAzLjYgOCA4IDhoNzg0YzQuNCAwIDgtMy42IDgtOHYtNjRjMC00LjQtMy42LTgtOC04em0wLTMxMkgxMjBjLTQuNCAwLTggMy42LTggOHY2NGMwIDQuNCAzLjYgOCA4IDhoNzg0YzQuNCAwIDgtMy42IDgtOHYtNjRjMC00LjQtMy42LTgtOC04eiIvPjwvc3ZnPg==",M=t(39013),E=t(19486),P=t(84155),B=t(60143),U=t(70105),V=t(27841),R=t(3690),G=t(60528),X=t(49266);function w(l,o){return J(l)||Q(l,o)||n(l,o)||r()}function r(){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 n(l,o){if(l){if(typeof l=="string")return u(l,o);var f=Object.prototype.toString.call(l).slice(8,-1);if(f==="Object"&&l.constructor&&(f=l.constructor.name),f==="Map"||f==="Set")return Array.from(l);if(f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f))return u(l,o)}}function u(l,o){(o==null||o>l.length)&&(o=l.length);for(var f=0,Y=new Array(o);fg.length)&&(y=g.length);for(var a=0,v=new Array(y);a2?j.createElement("div",{className:"dumi-default-lang-select"},j.createElement("select",{defaultValue:M,onChange:function(B){A.m8.push(I({pathname:A.m8.location.pathname,current:E,target:a.find(function(U){var V=U.id;return V===B.target.value})}))}},a.map(function(P){return j.createElement("option",{key:P.id,value:P.id},P.name)})),j.createElement(e.r,null)):j.createElement(L,{locale:a.find(function(P){var B=P.id;return B!==M}),current:E})},x=b},38903:function(N,C,t){"use strict";t.d(C,{Z:function(){return h}});var e=t(39013),A=t(21739),j=function(){var z=(0,e.WF)(),k=z.themeConfig,O=(0,e.bU)();return A.createElement(e.rU,{className:"dumi-default-logo",to:"base"in O?O.base:"/"},k.logo!==!1&&A.createElement("img",{src:k.logo||"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIQAAACCCAMAAACww5CIAAACf1BMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8YkP8AAAACCxMamv/6+voaGhoXi/YYjv8aoP8cq/8dr/8bo/8cqP8bpv8Ykv8drv8BAwUcrP8Zlf8Xjf/s7OzLy8scp/8anP8ZmP/d3d0BBArg4ODT09O7u7sEGCsKCgoanf8YlP/8/Pz09PTIyMgMTIV1dXUGKEVEREQ0NDQODg4GBgYdsv8dsf8Zl//m5uYVgOXj4+MWgtfW1tYTc87BwcERbLWzs7Ovr6+np6cQX6OgoKCTk5MMSXlwcHBra2tiYmIVFRUetf/39/fp6ekWhOkXi+QVfNvY2NjPz88TdcUSb7u6urq3t7cPYK0NUJGQkJCLi4ttbW0JO2cINFtVVVVRUVEHMFEHLEs6OjoEHDEiIiIcHBwXj/vx8fEWh+4Sb8gRbL+rq6upqakOVZiWlpaJiYmGhoYMSIF9fX15eXkKPnQLRHJMTExHR0c9PT0FHzkqKiomJiYEFyUBBw8bovfu7u4Wht4UedsUeMrFxcW9vb0RZrOkpKSampoPXZqAgIALQmtlZWUJOGJZWVkIMFcFIUExMTEwMDAtLS0DEh8Zl/v4+PgXj/QWhvEWhvAYku8YjuwUfNcUfNAVfc0RaLkSaKsRZ6kPWqENUYlbW1sCEBhkSPCkAAAAOHRSTlMA87y4BeKrltbFnUDo0MCup6D67t7ayZKGemtmWS8rEwLNso1wVEpFGaR+UDUlHwmBYls5i1oN/DMym4YAAAfTSURBVHjaxNndS1NxHMfxX5s6t1Kz1KzsuazMnqjgyxv03ovtQrYxUBEfLkREVBQf0AsFBRUUQvEiSVFQ0YsuiiIiqKC/oH+o31lzjtPZg55zttfVNnbx5ffw+X53pmx5UFl2+XLZ4zpVOPWlJFTntYyiBwF/VbX39Sv9upYU9/QHjbXe6qqayrrnylXXi0kov3GVuFiMuNqbHhIu3FcuuohZZ+jDh7mdXkwqlGtKMGmOSFzrGiYe5ZL4+vdsd/SHFyYxtIQlIdiD4ftCa39osTlxRtzwHO1tUOLm0XYk6T3asMRtdKHdUs6qv+L1l/vKgak2SYjqN+1yYg2G5NgR4Pd5/F7fk9sO3YhSkoYkaW40KCk2Rj9KUoikqmtOn8YpydE6J7xFyq5yUhxIjvZJcUfZ5EOb6oxGQmPdtEQlR4Mxupc6IoOdzWiVypabaF1BiesIS876OiSufRXtvO0DcSi2dAN+ZcclYFZsCaOps3nYUOKprDTiSWzqAioCnpIX9ep03pxkw7jYtMWx0pdn7Jb2i1jixN3cM6OGFCti0zgpyopOsw6xiZHoyHIPLIhNHdD7bWR+c7znFD3+PNp+vxhmRkNi28BoWAzBPbQHKhdlQLe4ogsoVTl4ijYjrmiKATdUdvfjh9Ely8DVHFvWe3HJMBBQ2QWAd+KSeeBxjtuxKC7ZzG07Ht0DusQlfwDfs2wZ4b2EYVBcESHO81BlcIWESXHFV7Qss5aXY1FxRSj7L7QAhv3tsaVBMVn8Ou1MFUtjW3sYKjL0jO6QWJiA7iZxysBbtDplpRT4KZbQWkUbHRMnGFUUKwuNaH1iaRJ+Tf8bDbqcWJH2HuCV+l9DpkuxtdsuGlpYHNAJ1FqNMjnE9QocOXJCPwJ309zPT9la8e5yUJwwC/jTBNWQ5EkIqEyzHROSJzvWSeFDW5M8OUArsdgMq2EmanOyGB4WSyMYAhZp2TwkJouw2mZvmusUSwtraA//m7DXZ8SsBxiQM5tGSxNuv3+ZU/NmIpfN9qDXxp1sO4LDNrE202J6cHE1TVq2f1uNiA39K9/7JJ0JwGe6nvOSZ4OA1/R0bFbyrBWoMUX2nOTZAOA3pcSXjFW7UOJnU17VAYeZv98pTvsB1KsTRVXAtqQVA/rFWSNo11SKiuRYZeknEBRn7WJ4rZKuX8pcROvBj6g4rLUZQ8NJYBo2Jb/ax2KkhKYf6I1I3oWngKqUhfgkBTCL1pics1elICaS/5Y9jk+XBdEBeJKhHZGCCLZAWTIkBqQgNlr+NbGi2wHgS1tTAbQNAxW3i1R58WWgd725ANZ7gXPFNaqagrvwt1t7aW0qiOIAPlErPqJCq6JWrW8r1ar1xf0n4NxnnpCELEKyCNmkJZSQRSCbQltooS4sVApiC10U2kWhFRUEEdGF4vuNH8g7c9NQ2pjepPcB/r5ADjlnzp2ZM+QMXHeYb+1WfO5hi5QfveYe33XJ4+d8a3MNQHbI75KhMt9z9wF4FRNcIi3wO94bAHJiQHCHNgmgh3QD8D1MCK6I+KeNCUgbgFFRcEX8Qwhov014o/juUlEoxeqrgpsA7oWp4AZprnpv1ANgShFcoU4a+36jMgOuVGYmnuJ1Wb0hKWqCC8QCgI4dqyfRbNCFoqDBX7Xz6C0AS660K3UKQCdhuqAbdqFT+B8mAXQTbhtbpM7ng4Yn1oytOwFMu5AP9QGAa4Qz8lFwvFWIH6G7Qjijc8/LDueDyvd4z151EYBvwOF+lRFTAK6TGi+ACWdLk0ozANqvkpojAFJKRnCSlFt3m8pLc9bJTylVn64ty9rJfEl1cpVKbH3uJ2v1QleUqOCI2h9xeeP0aVqLCA4JSLk6s7hu6CbkqOAIGpyB7iRZ5xLvFWlHEkITyjK/41/v9h0AC3lngpCz0PXWf0yDUcmBhFDt0T/flx8CkNL8VLAZjUhvAHSQek5AtyALdqP5e9BdbPCkZsbuFRKVvlRHs/W1AfC902yNgoriWwCeqw1fSL+J2VkWNBF8vckr6mPQ3ZcjtkVBA/3z4Ju6Bs5ANzck2BQFpUMTxlVZQ4ege95vUxRUHoPOe5s01OWBbryf2hEFDX4Fc4Vs4gaYZ3ZEQeXBJPgMcFPnwYzJVmeE6jGsGCNAE/rAlPIBamkMQv9YCLpzxJRjYMr5BLXyg5EvgTlKTOoEkw2LUct6dTz4ojqCNO04mMm4ZE150mhMuQ+jHppwAUxqUM5QK9qkPLIE5jhpygkvmHJYiW45FaL8IwmdZy9pUtc2MK9HtvgloZngJyMVp3tJ846ASb7Q1NYrg1JN+ukDs4e05LwHTO5bUKG0tRBEeXAKzJ3rpEXdB8C9fBIWKW0hhOBIBdy2K6R11zvALY6EFYE21yHF4OdKEkz7ObIlXXvAhV4OquoApaYbpCo9qayA29lLturibhimSgOSFjG1ILRwYnwShn09xArnT8PwdnHML6n+hl+2gD8Wjj+rLMOwq49Y5dZpVKUWS++VcCwdCdT5/Uhck5SH45VpVO3qJFbq2Y5Vvly2VBgQY5KqKWI6HY+n06KiqVJMSQyP/37wB6v29xGrnThyEDWh5dyr+fJscbQw/OjRcGG0OFvO3n+QSqKm7exlYgsvNgolkyFs1HGV2OQgTGsjNjnVBtO8Owj3nwbhgWnttgWxy2PaoWaC+AuAXqWYKHupMgAAAABJRU5ErkJggg==",alt:k.name}),k.name)},h=j},61461:function(N,C,t){"use strict";t.d(C,{Z:function(){return y}});var e=t(88609),A=t(39013),j=t(28951),h=t(21739);function D(){return D=Object.assign?Object.assign.bind():function(a){for(var v=1;va.length)&&(v=a.length);for(var M=0,E=new Array(v);Mg.length)&&(y=g.length);for(var a=0,v=new Array(y);as in i?A(i,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):i[s]=c,k=(i,s)=>{for(var c in s||(s={}))h.call(s,c)&&z(i,c,s[c]);if(j)for(var c of j(s))D.call(s,c)&&z(i,c,s[c]);return i};const O=i=>e.createElement("svg",k({viewBox:"64 64 896 896"},i),e.createElement("path",{d:"M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0 0 48.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"}));var T="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNODYyIDQ2NS4zaC04MWMtNC42IDAtOSAyLTEyLjEgNS41TDU1MCA3MjMuMVYxNjBjMC00LjQtMy42LTgtOC04aC02MGMtNC40IDAtOCAzLjYtOCA4djU2My4xTDI1NS4xIDQ3MC44Yy0zLTMuNS03LjQtNS41LTEyLjEtNS41aC04MWMtNi44IDAtMTAuNSA4LjEtNiAxMy4yTDQ4Ny45IDg2MWEzMS45NiAzMS45NiAwIDAgMCA0OC4zIDBMODY4IDQ3OC41YzQuNS01LjIuOC0xMy4yLTYtMTMuMnoiLz48L3N2Zz4=",I=Object.defineProperty,L=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,g=(i,s,c)=>s in i?I(i,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):i[s]=c,y=(i,s)=>{for(var c in s||(s={}))b.call(s,c)&&g(i,c,s[c]);if(L)for(var c of L(s))x.call(s,c)&&g(i,c,s[c]);return i};const a=i=>e.createElement("svg",y({viewBox:"64 64 896 896"},i),e.createElement("path",{d:"M868 545.5 536.1 163a31.96 31.96 0 0 0-48.3 0L156 545.5a7.97 7.97 0 0 0 6 13.2h81c4.6 0 9-2 12.1-5.5L474 300.9V864c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V300.9l218.9 252.3c3 3.5 7.4 5.5 12.1 5.5h81c6.8 0 10.5-8 6-13.2z"}));var v="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNODY4IDU0NS41IDUzNi4xIDE2M2EzMS45NiAzMS45NiAwIDAgMC00OC4zIDBMMTU2IDU0NS41YTcuOTcgNy45NyAwIDAgMCA2IDEzLjJoODFjNC42IDAgOS0yIDEyLjEtNS41TDQ3NCAzMDAuOVY4NjRjMCA0LjQgMy42IDggOCA4aDYwYzQuNCAwIDgtMy42IDgtOFYzMDAuOWwyMTguOSAyNTIuM2MzIDMuNSA3LjQgNS41IDEyLjEgNS41aDgxYzYuOCAwIDEwLjUtOCA2LTEzLjJ6Ii8+PC9zdmc+",M=Object.defineProperty,E=Object.getOwnPropertySymbols,P=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable,U=(i,s,c)=>s in i?M(i,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):i[s]=c,V=(i,s)=>{for(var c in s||(s={}))P.call(s,c)&&U(i,c,s[c]);if(E)for(var c of E(s))B.call(s,c)&&U(i,c,s[c]);return i};const R=i=>e.createElement("svg",V({viewBox:"64 64 896 896"},i),e.createElement("path",{d:"M909.6 854.5 649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0 0 11.6 0l43.6-43.5a8.2 8.2 0 0 0 0-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}));var G="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNOTA5LjYgODU0LjUgNjQ5LjkgNTk0LjhDNjkwLjIgNTQyLjcgNzEyIDQ3OSA3MTIgNDEyYzAtODAuMi0zMS4zLTE1NS40LTg3LjktMjEyLjEtNTYuNi01Ni43LTEzMi04Ny45LTIxMi4xLTg3LjlzLTE1NS41IDMxLjMtMjEyLjEgODcuOUMxNDMuMiAyNTYuNSAxMTIgMzMxLjggMTEyIDQxMmMwIDgwLjEgMzEuMyAxNTUuNSA4Ny45IDIxMi4xQzI1Ni41IDY4MC44IDMzMS44IDcxMiA0MTIgNzEyYzY3IDAgMTMwLjYtMjEuOCAxODIuNy02MmwyNTkuNyAyNTkuNmE4LjIgOC4yIDAgMCAwIDExLjYgMGw0My42LTQzLjVhOC4yIDguMiAwIDAgMCAwLTExLjZ6TTU3MC40IDU3MC40QzUyOCA2MTIuNyA0NzEuOCA2MzYgNDEyIDYzNnMtMTE2LTIzLjMtMTU4LjQtNjUuNkMyMTEuMyA1MjggMTg4IDQ3MS44IDE4OCA0MTJzMjMuMy0xMTYuMSA2NS42LTE1OC40QzI5NiAyMTEuMyAzNTIuMiAxODggNDEyIDE4OHMxMTYuMSAyMy4yIDE1OC40IDY1LjZTNjM2IDM1Mi4yIDYzNiA0MTJzLTIzLjMgMTE2LjEtNjUuNiAxNTguNHoiLz48L3N2Zz4=",X=t(39013),w=t(99464),r=(0,e.forwardRef)(function(i,s){var c=(0,X.YB)(),F=(0,e.useRef)(!1),W=(0,e.useRef)(null);return(0,e.useImperativeHandle)(s,function(){return W.current}),e.createElement("input",{className:"dumi-default-search-bar-input",onCompositionStart:function(){return F.current=!0},onCompositionEnd:function($){F.current=!1,i.onChange($.currentTarget.value)},onFocus:i.onFocus,onBlur:i.onBlur,onMouseEnter:i.onMouseEnter,onKeyDown:function($){["ArrowDown","ArrowUp"].includes($.key)&&$.preventDefault(),$.key==="Escape"&&!F.current&&$.currentTarget.blur()},onChange:function($){var oe=$.target.value;setTimeout(function(){F.current||i.onChange(oe)},1)},placeholder:c.formatMessage({id:"header.search.placeholder"}),ref:W})}),n=function(s){return(0,e.useEffect)(function(){if(s.visible)document.body.style.overflow="hidden";else if(document.body.style.overflow){var c;document.body.style.overflow="",(c=s.onClose)===null||c===void 0||c.call(s)}},[s.visible]),s.visible?e.createElement("div",{className:"dumi-default-search-modal"},e.createElement("div",{className:"dumi-default-search-modal-mask",onClick:s.onMaskClick}),e.createElement("div",{className:"dumi-default-search-modal-content"},s.children)):null},u;function Q(i,s){return o(i)||l(i,s)||K(i,s)||J()}function J(){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 K(i,s){if(i){if(typeof i=="string")return S(i,s);var c=Object.prototype.toString.call(i).slice(8,-1);if(c==="Object"&&i.constructor&&(c=i.constructor.name),c==="Map"||c==="Set")return Array.from(i);if(c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return S(i,s)}}function S(i,s){(s==null||s>i.length)&&(s=i.length);for(var c=0,F=new Array(s);c=0&&Ne>=0&&ve<=window.innerHeight&&Le<=window.innerWidth;p?_.current.focus():(ee(""),me(!0),setTimeout(function(){var m;(m=$.current)===null||m===void 0||m.focus()}))}ie.key==="Escape"&&(ie.preventDefault(),me(!1))};return document.addEventListener("keydown",ue),function(){return document.removeEventListener("keydown",ue)}},[]),e.createElement("div",{className:"dumi-default-search-bar"},e.createElement(R,{className:"dumi-default-search-bar-svg"}),e.createElement(r,{onFocus:function(){W(!0),se()},onMouseEnter:function(){se()},onBlur:function(){setTimeout(function(){W(!1)},1)},onChange:function(ge){return ee(ge)},ref:_}),e.createElement("span",{className:"dumi-default-search-shortcut"},te," K"),re.trim()&&F&&!de&&e.createElement("div",{className:"dumi-default-search-popover"},e.createElement("section",null,e.createElement(w.Z,{data:q,loading:ce}))),e.createElement(n,{visible:de,onMaskClick:function(){me(!1)},onClose:function(){return ee("")}},e.createElement("div",{style:{position:"relative"}},e.createElement(R,{className:"dumi-default-search-bar-svg"}),e.createElement(r,{onFocus:function(){return W(!0)},onBlur:function(){setTimeout(function(){W(!1)},1)},onChange:function(ge){return ee(ge)},ref:$})),e.createElement(w.Z,{data:q,loading:ce,onItemSelect:function(){me(!1)}}),e.createElement("footer",null,e.createElement("ul",{className:"dumi-default-search-modal-commands"},e.createElement("li",{className:"dumi-default-search-modal-commands-arrow"},e.createElement("span",{className:"dumi-default-search-modal-shortcut"},e.createElement(a,{width:"10px",height:"10px",fill:"rgba(0, 0, 0, 0.45)"})),e.createElement("span",{className:"dumi-default-search-modal-shortcut"},e.createElement(O,{width:"10px",height:"10px",fill:"rgba(0, 0, 0, 0.45)"})),e.createElement("span",{className:"dumi-default-search-modal-commands-text"},"to navigate")),e.createElement("li",null,e.createElement("span",{className:"dumi-default-search-modal-shortcut"},"esc"),e.createElement("span",{className:"dumi-default-search-modal-commands-text"},"to close"))))))},Z=H},62199:function(N,C,t){"use strict";t.d(C,{Z:function(){return X}});var e=t(21739),A=Object.defineProperty,j=Object.getOwnPropertySymbols,h=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable,z=(w,r,n)=>r in w?A(w,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):w[r]=n,k=(w,r)=>{for(var n in r||(r={}))h.call(r,n)&&z(w,n,r[n]);if(j)for(var n of j(r))D.call(r,n)&&z(w,n,r[n]);return w};const O=w=>e.createElement("svg",k({viewBox:"0 0 1024 1024"},w),e.createElement("path",{d:"m885.2 446.3-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0 0 60.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}));var T="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0Ij48cGF0aCBkPSJtODg1LjIgNDQ2LjMtLjItLjgtMTEyLjItMjg1LjFjLTUtMTYuMS0xOS45LTI3LjItMzYuOC0yNy4ySDI4MS4yYy0xNyAwLTMyLjEgMTEuMy0zNi45IDI3LjZMMTM5LjQgNDQzbC0uMy43LS4yLjhjLTEuMyA0LjktMS43IDkuOS0xIDE0LjgtLjEgMS42LS4yIDMuMi0uMiA0LjhWODMwYTYwLjkgNjAuOSAwIDAgMCA2MC44IDYwLjhoNjI3LjJjMzMuNSAwIDYwLjgtMjcuMyA2MC45LTYwLjhWNDY0LjFjMC0xLjMgMC0yLjYtLjEtMy43LjQtNC45IDAtOS42LTEuMy0xNC4xem0tMjk1LjgtNDMtLjMgMTUuN2MtLjggNDQuOS0zMS44IDc1LjEtNzcuMSA3NS4xLTIyLjEgMC00MS4xLTcuMS01NC44LTIwLjZTNDM2IDQ0MS4yIDQzNS42IDQxOWwtLjMtMTUuN0gyMjkuNUwzMDkgMjEwaDM5OS4ybDgxLjcgMTkzLjNINTg5LjR6bS0zNzUgNzYuOGgxNTcuM2MyNC4zIDU3LjEgNzYgOTAuOCAxNDAuNCA5MC44IDMzLjcgMCA2NS05LjQgOTAuMy0yNy4yIDIyLjItMTUuNiAzOS41LTM3LjQgNTAuNy02My42aDE1Ni41VjgxNEgyMTQuNFY0ODAuMXoiLz48L3N2Zz4=",I=t(10291),L=t(39013);function b(w,r){return v(w)||a(w,r)||g(w,r)||x()}function x(){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 g(w,r){if(w){if(typeof w=="string")return y(w,r);var n=Object.prototype.toString.call(w).slice(8,-1);if(n==="Object"&&w.constructor&&(n=w.constructor.name),n==="Map"||n==="Set")return Array.from(w);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(w,r)}}function y(w,r){(r==null||r>w.length)&&(r=w.length);for(var n=0,u=new Array(r);n=0){var F=Q.find(function(W){return W.type==="hint"&&W.activeIndex===l}).value;L.m8.push(F.link),H==null||H(F),document.activeElement.blur()}["Escape","Enter"].includes(c.key)&&o(-1)};return document.addEventListener("keydown",i),function(){return document.removeEventListener("keydown",i)}});var Z=null;return r.loading?Z=e.createElement("div",{className:"dumi-default-search-empty"},e.createElement(O,null),e.createElement(L._H,{id:"search.loading"})):r.data.length?Z=e.createElement("dl",null,Q.map(function(i,s){return i.type==="title"?e.createElement("dt",{key:String(s)},i.value.title):e.createElement("dd",{key:String(s)},e.createElement(L.rU,{to:i.value.link,"data-active":l===i.activeIndex||void 0,onClick:function(){return H==null?void 0:H(i.value)}},e.createElement(U[i.value.type]),e.createElement("h4",null,e.createElement(V,{texts:i.value.highlightTitleTexts})),e.createElement("p",null,e.createElement(V,{texts:i.value.highlightTexts}))))})):Z=e.createElement("div",{className:"dumi-default-search-empty"},e.createElement(O,null),e.createElement(L._H,{id:"search.not.found"})),e.createElement("div",{className:"dumi-default-search-result",onMouseEnter:function(){return o(-1)},onMouseDownCapture:function(s){return s.preventDefault()},onMouseUpCapture:function(){document.activeElement.blur()}},Z)},X=G},1271:function(N,C,t){"use strict";t.d(C,{Z:function(){return D}});var e=t(39013),A=t(95508),j=t(21739),h=function(){var k=(0,e.TH)(),O=k.pathname,T=(0,e.eL)(),I=(0,e.tx)();return I?j.createElement("div",{className:"dumi-default-sidebar"},I.map(function(L,b){return j.createElement("dl",{className:"dumi-default-sidebar-group",key:String(b)},L.title&&j.createElement("dt",null,L.title),L.children.map(function(x){return j.createElement("dd",{key:x.link},j.createElement(e.OL,{to:x.link,title:x.title,end:!0},x.title),x.link===O&&T.frontmatter.toc==="menu"&&j.createElement(A.Z,null))}))})):null},D=h},51245:function(N,C,t){"use strict";t.d(C,{Z:function(){return Le}});var e=t(21739),A=Object.defineProperty,j=Object.getOwnPropertySymbols,h=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable,z=(p,m,d)=>m in p?A(p,m,{enumerable:!0,configurable:!0,writable:!0,value:d}):p[m]=d,k=(p,m)=>{for(var d in m||(m={}))h.call(m,d)&&z(p,d,m[d]);if(j)for(var d of j(m))D.call(m,d)&&z(p,d,m[d]);return p};const O=p=>e.createElement("svg",k({viewBox:"64 64 896 896"},p),e.createElement("path",{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-32 736H663.9V602.2h104l15.6-120.7H663.9v-77.1c0-35 9.7-58.8 59.8-58.8h63.9v-108c-11.1-1.5-49-4.8-93.2-4.8-92.2 0-155.3 56.3-155.3 159.6v89H434.9v120.7h104.3V848H176V176h672v672z"}));var T="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNODgwIDExMkgxNDRjLTE3LjcgMC0zMiAxNC4zLTMyIDMydjczNmMwIDE3LjcgMTQuMyAzMiAzMiAzMmg3MzZjMTcuNyAwIDMyLTE0LjMgMzItMzJWMTQ0YzAtMTcuNy0xNC4zLTMyLTMyLTMyem0tMzIgNzM2SDY2My45VjYwMi4yaDEwNGwxNS42LTEyMC43SDY2My45di03Ny4xYzAtMzUgOS43LTU4LjggNTkuOC01OC44aDYzLjl2LTEwOGMtMTEuMS0xLjUtNDktNC44LTkzLjItNC44LTkyLjIgMC0xNTUuMyA1Ni4zLTE1NS4zIDE1OS42djg5SDQzNC45djEyMC43aDEwNC4zVjg0OEgxNzZWMTc2aDY3MnY2NzJ6Ii8+PC9zdmc+",I=Object.defineProperty,L=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,g=(p,m,d)=>m in p?I(p,m,{enumerable:!0,configurable:!0,writable:!0,value:d}):p[m]=d,y=(p,m)=>{for(var d in m||(m={}))b.call(m,d)&&g(p,d,m[d]);if(L)for(var d of L(m))x.call(m,d)&&g(p,d,m[d]);return p};const a=p=>e.createElement("svg",y({viewBox:"64 64 896 896"},p),e.createElement("path",{d:"M511.6 76.3C264.3 76.2 64 276.4 64 523.5 64 718.9 189.3 885 363.8 946c23.5 5.9 19.9-10.8 19.9-22.2v-77.5c-135.7 15.9-141.2-73.9-150.3-88.9C215 726 171.5 718 184.5 703c30.9-15.9 62.4 4 98.9 57.9 26.4 39.1 77.9 32.5 104 26 5.7-23.5 17.9-44.5 34.7-60.8-140.6-25.2-199.2-111-199.2-213 0-49.5 16.3-95 48.3-131.7-20.4-60.5 1.9-112.3 4.9-120 58.1-5.2 118.5 41.6 123.2 45.3 33-8.9 70.7-13.6 112.9-13.6 42.4 0 80.2 4.9 113.5 13.9 11.3-8.6 67.3-48.8 121.3-43.9 2.9 7.7 24.7 58.3 5.5 118 32.4 36.8 48.9 82.7 48.9 132.3 0 102.2-59 188.1-200 212.9a127.5 127.5 0 0 1 38.1 91v112.5c.8 9 0 17.9 15 17.9 177.1-59.7 304.6-227 304.6-424.1 0-247.2-200.4-447.3-447.5-447.3z"}));var v="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNNTExLjYgNzYuM0MyNjQuMyA3Ni4yIDY0IDI3Ni40IDY0IDUyMy41IDY0IDcxOC45IDE4OS4zIDg4NSAzNjMuOCA5NDZjMjMuNSA1LjkgMTkuOS0xMC44IDE5LjktMjIuMnYtNzcuNWMtMTM1LjcgMTUuOS0xNDEuMi03My45LTE1MC4zLTg4LjlDMjE1IDcyNiAxNzEuNSA3MTggMTg0LjUgNzAzYzMwLjktMTUuOSA2Mi40IDQgOTguOSA1Ny45IDI2LjQgMzkuMSA3Ny45IDMyLjUgMTA0IDI2IDUuNy0yMy41IDE3LjktNDQuNSAzNC43LTYwLjgtMTQwLjYtMjUuMi0xOTkuMi0xMTEtMTk5LjItMjEzIDAtNDkuNSAxNi4zLTk1IDQ4LjMtMTMxLjctMjAuNC02MC41IDEuOS0xMTIuMyA0LjktMTIwIDU4LjEtNS4yIDExOC41IDQxLjYgMTIzLjIgNDUuMyAzMy04LjkgNzAuNy0xMy42IDExMi45LTEzLjYgNDIuNCAwIDgwLjIgNC45IDExMy41IDEzLjkgMTEuMy04LjYgNjcuMy00OC44IDEyMS4zLTQzLjkgMi45IDcuNyAyNC43IDU4LjMgNS41IDExOCAzMi40IDM2LjggNDguOSA4Mi43IDQ4LjkgMTMyLjMgMCAxMDIuMi01OSAxODguMS0yMDAgMjEyLjlhMTI3LjUgMTI3LjUgMCAwIDEgMzguMSA5MXYxMTIuNWMuOCA5IDAgMTcuOSAxNSAxNy45IDE3Ny4xLTU5LjcgMzA0LjYtMjI3IDMwNC42LTQyNC4xIDAtMjQ3LjItMjAwLjQtNDQ3LjMtNDQ3LjUtNDQ3LjN6Ii8+PC9zdmc+",M=Object.defineProperty,E=Object.getOwnPropertySymbols,P=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable,U=(p,m,d)=>m in p?M(p,m,{enumerable:!0,configurable:!0,writable:!0,value:d}):p[m]=d,V=(p,m)=>{for(var d in m||(m={}))P.call(m,d)&&U(p,d,m[d]);if(E)for(var d of E(m))B.call(m,d)&&U(p,d,m[d]);return p};const R=p=>e.createElement("svg",V({viewBox:"64 64 896 896"},p),e.createElement("path",{d:"M913.9 552.2 805 181.4v-.1c-7.6-22.9-25.7-36.5-48.3-36.5-23.4 0-42.5 13.5-49.7 35.2l-71.4 213H388.8l-71.4-213c-7.2-21.7-26.3-35.2-49.7-35.2-23.1 0-42.5 14.8-48.4 36.6L110.5 552.2c-4.4 14.7 1.2 31.4 13.5 40.7l368.5 276.4c2.6 3.6 6.2 6.3 10.4 7.8l8.6 6.4 8.5-6.4c4.9-1.7 9-4.7 11.9-8.9l368.4-275.4c12.4-9.2 18-25.9 13.6-40.6zM751.7 193.4c1-1.8 2.9-1.9 3.5-1.9 1.1 0 2.5.3 3.4 3L818 394.3H684.5l67.2-200.9zm-487.4 1c.9-2.6 2.3-2.9 3.4-2.9 2.7 0 2.9.1 3.4 1.7l67.3 201.2H206.5l57.8-200zM158.8 558.7l28.2-97.3 202.4 270.2-230.6-172.9zm73.9-116.4h122.1l90.8 284.3-212.9-284.3zM512.9 776 405.7 442.3H620L512.9 776zm157.9-333.7h119.5L580 723.1l90.8-280.8zm-40.7 293.9 207.3-276.7 29.5 99.2-236.8 177.5z"}));var G="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNOTEzLjkgNTUyLjIgODA1IDE4MS40di0uMWMtNy42LTIyLjktMjUuNy0zNi41LTQ4LjMtMzYuNS0yMy40IDAtNDIuNSAxMy41LTQ5LjcgMzUuMmwtNzEuNCAyMTNIMzg4LjhsLTcxLjQtMjEzYy03LjItMjEuNy0yNi4zLTM1LjItNDkuNy0zNS4yLTIzLjEgMC00Mi41IDE0LjgtNDguNCAzNi42TDExMC41IDU1Mi4yYy00LjQgMTQuNyAxLjIgMzEuNCAxMy41IDQwLjdsMzY4LjUgMjc2LjRjMi42IDMuNiA2LjIgNi4zIDEwLjQgNy44bDguNiA2LjQgOC41LTYuNGM0LjktMS43IDktNC43IDExLjktOC45bDM2OC40LTI3NS40YzEyLjQtOS4yIDE4LTI1LjkgMTMuNi00MC42ek03NTEuNyAxOTMuNGMxLTEuOCAyLjktMS45IDMuNS0xLjkgMS4xIDAgMi41LjMgMy40IDNMODE4IDM5NC4zSDY4NC41bDY3LjItMjAwLjl6bS00ODcuNCAxYy45LTIuNiAyLjMtMi45IDMuNC0yLjkgMi43IDAgMi45LjEgMy40IDEuN2w2Ny4zIDIwMS4ySDIwNi41bDU3LjgtMjAwek0xNTguOCA1NTguN2wyOC4yLTk3LjMgMjAyLjQgMjcwLjItMjMwLjYtMTcyLjl6bTczLjktMTE2LjRoMTIyLjFsOTAuOCAyODQuMy0yMTIuOS0yODQuM3pNNTEyLjkgNzc2IDQwNS43IDQ0Mi4zSDYyMEw1MTIuOSA3NzZ6bTE1Ny45LTMzMy43aDExOS41TDU4MCA3MjMuMWw5MC44LTI4MC44em0tNDAuNyAyOTMuOSAyMDcuMy0yNzYuNyAyOS41IDk5LjItMjM2LjggMTc3LjV6Ii8+PC9zdmc+",X=Object.defineProperty,w=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable,u=(p,m,d)=>m in p?X(p,m,{enumerable:!0,configurable:!0,writable:!0,value:d}):p[m]=d,Q=(p,m)=>{for(var d in m||(m={}))r.call(m,d)&&u(p,d,m[d]);if(w)for(var d of w(m))n.call(m,d)&&u(p,d,m[d]);return p};const J=p=>e.createElement("svg",Q({viewBox:"64 64 896 896"},p),e.createElement("path",{d:"M847.7 112H176.3c-35.5 0-64.3 28.8-64.3 64.3v671.4c0 35.5 28.8 64.3 64.3 64.3h671.4c35.5 0 64.3-28.8 64.3-64.3V176.3c0-35.5-28.8-64.3-64.3-64.3zm0 736c-447.8-.1-671.7-.2-671.7-.3.1-447.8.2-671.7.3-671.7 447.8.1 671.7.2 671.7.3-.1 447.8-.2 671.7-.3 671.7zM230.6 411.9h118.7v381.8H230.6zm59.4-52.2c37.9 0 68.8-30.8 68.8-68.8a68.8 68.8 0 1 0-137.6 0c-.1 38 30.7 68.8 68.8 68.8zm252.3 245.1c0-49.8 9.5-98 71.2-98 60.8 0 61.7 56.9 61.7 101.2v185.7h118.6V584.3c0-102.8-22.2-181.9-142.3-181.9-57.7 0-96.4 31.7-112.3 61.7h-1.6v-52.2H423.7v381.8h118.6V604.8z"}));var K="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNODQ3LjcgMTEySDE3Ni4zYy0zNS41IDAtNjQuMyAyOC44LTY0LjMgNjQuM3Y2NzEuNGMwIDM1LjUgMjguOCA2NC4zIDY0LjMgNjQuM2g2NzEuNGMzNS41IDAgNjQuMy0yOC44IDY0LjMtNjQuM1YxNzYuM2MwLTM1LjUtMjguOC02NC4zLTY0LjMtNjQuM3ptMCA3MzZjLTQ0Ny44LS4xLTY3MS43LS4yLTY3MS43LS4zLjEtNDQ3LjguMi02NzEuNy4zLTY3MS43IDQ0Ny44LjEgNjcxLjcuMiA2NzEuNy4zLS4xIDQ0Ny44LS4yIDY3MS43LS4zIDY3MS43ek0yMzAuNiA0MTEuOWgxMTguN3YzODEuOEgyMzAuNnptNTkuNC01Mi4yYzM3LjkgMCA2OC44LTMwLjggNjguOC02OC44YTY4LjggNjguOCAwIDEgMC0xMzcuNiAwYy0uMSAzOCAzMC43IDY4LjggNjguOCA2OC44em0yNTIuMyAyNDUuMWMwLTQ5LjggOS41LTk4IDcxLjItOTggNjAuOCAwIDYxLjcgNTYuOSA2MS43IDEwMS4ydjE4NS43aDExOC42VjU4NC4zYzAtMTAyLjgtMjIuMi0xODEuOS0xNDIuMy0xODEuOS01Ny43IDAtOTYuNCAzMS43LTExMi4zIDYxLjdoLTEuNnYtNTIuMkg0MjMuN3YzODEuOGgxMTguNlY2MDQuOHoiLz48L3N2Zz4=",S=Object.defineProperty,l=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,Y=(p,m,d)=>m in p?S(p,m,{enumerable:!0,configurable:!0,writable:!0,value:d}):p[m]=d,H=(p,m)=>{for(var d in m||(m={}))o.call(m,d)&&Y(p,d,m[d]);if(l)for(var d of l(m))f.call(m,d)&&Y(p,d,m[d]);return p};const Z=p=>e.createElement("svg",H({viewBox:"64 64 896 896"},p),e.createElement("path",{d:"M928 254.3c-30.6 13.2-63.9 22.7-98.2 26.4a170.1 170.1 0 0 0 75-94 336.64 336.64 0 0 1-108.2 41.2A170.1 170.1 0 0 0 672 174c-94.5 0-170.5 76.6-170.5 170.6 0 13.2 1.6 26.4 4.2 39.1-141.5-7.4-267.7-75-351.6-178.5a169.32 169.32 0 0 0-23.2 86.1c0 59.2 30.1 111.4 76 142.1a172 172 0 0 1-77.1-21.7v2.1c0 82.9 58.6 151.6 136.7 167.4a180.6 180.6 0 0 1-44.9 5.8c-11.1 0-21.6-1.1-32.2-2.6C211 652 273.9 701.1 348.8 702.7c-58.6 45.9-132 72.9-211.7 72.9-14.3 0-27.5-.5-41.2-2.1C171.5 822 261.2 850 357.8 850 671.4 850 843 590.2 843 364.7c0-7.4 0-14.8-.5-22.2 33.2-24.3 62.3-54.4 85.5-88.2z"}));var i="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNOTI4IDI1NC4zYy0zMC42IDEzLjItNjMuOSAyMi43LTk4LjIgMjYuNGExNzAuMSAxNzAuMSAwIDAgMCA3NS05NCAzMzYuNjQgMzM2LjY0IDAgMCAxLTEwOC4yIDQxLjJBMTcwLjEgMTcwLjEgMCAwIDAgNjcyIDE3NGMtOTQuNSAwLTE3MC41IDc2LjYtMTcwLjUgMTcwLjYgMCAxMy4yIDEuNiAyNi40IDQuMiAzOS4xLTE0MS41LTcuNC0yNjcuNy03NS0zNTEuNi0xNzguNWExNjkuMzIgMTY5LjMyIDAgMCAwLTIzLjIgODYuMWMwIDU5LjIgMzAuMSAxMTEuNCA3NiAxNDIuMWExNzIgMTcyIDAgMCAxLTc3LjEtMjEuN3YyLjFjMCA4Mi45IDU4LjYgMTUxLjYgMTM2LjcgMTY3LjRhMTgwLjYgMTgwLjYgMCAwIDEtNDQuOSA1LjhjLTExLjEgMC0yMS42LTEuMS0zMi4yLTIuNkMyMTEgNjUyIDI3My45IDcwMS4xIDM0OC44IDcwMi43Yy01OC42IDQ1LjktMTMyIDcyLjktMjExLjcgNzIuOS0xNC4zIDAtMjcuNS0uNS00MS4yLTIuMUMxNzEuNSA4MjIgMjYxLjIgODUwIDM1Ny44IDg1MCA2NzEuNCA4NTAgODQzIDU5MC4yIDg0MyAzNjQuN2MwLTcuNCAwLTE0LjgtLjUtMjIuMiAzMy4yLTI0LjMgNjIuMy01NC40IDg1LjUtODguMnoiLz48L3N2Zz4=",s=Object.defineProperty,c=Object.getOwnPropertySymbols,F=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable,_=(p,m,d)=>m in p?s(p,m,{enumerable:!0,configurable:!0,writable:!0,value:d}):p[m]=d,$=(p,m)=>{for(var d in m||(m={}))F.call(m,d)&&_(p,d,m[d]);if(c)for(var d of c(m))W.call(m,d)&&_(p,d,m[d]);return p};const oe=p=>e.createElement("svg",$({viewBox:"64 64 896 896"},p),e.createElement("path",{d:"M457.3 543c-68.1-17.7-145 16.2-174.6 76.2-30.1 61.2-1 129.1 67.8 151.3 71.2 23 155.2-12.2 184.4-78.3 28.7-64.6-7.2-131-77.6-149.2zm-52 156.2c-13.8 22.1-43.5 31.7-65.8 21.6-22-10-28.5-35.7-14.6-57.2 13.7-21.4 42.3-31 64.4-21.7 22.4 9.5 29.6 35 16 57.3zm45.5-58.5c-5 8.6-16.1 12.7-24.7 9.1-8.5-3.5-11.2-13.1-6.4-21.5 5-8.4 15.6-12.4 24.1-9.1 8.7 3.2 11.8 12.9 7 21.5zm334.5-197.2c15 4.8 31-3.4 35.9-18.3 11.8-36.6 4.4-78.4-23.2-109a111.39 111.39 0 0 0-106-34.3 28.45 28.45 0 0 0-21.9 33.8 28.39 28.39 0 0 0 33.8 21.8c18.4-3.9 38.3 1.8 51.9 16.7a54.2 54.2 0 0 1 11.3 53.3 28.45 28.45 0 0 0 18.2 36zm99.8-206c-56.7-62.9-140.4-86.9-217.7-70.5a32.98 32.98 0 0 0-25.4 39.3 33.12 33.12 0 0 0 39.3 25.5c55-11.7 114.4 5.4 154.8 50.1 40.3 44.7 51.2 105.7 34 159.1-5.6 17.4 3.9 36 21.3 41.7 17.4 5.6 36-3.9 41.6-21.2v-.1c24.1-75.4 8.9-161.1-47.9-223.9zM729 499c-12.2-3.6-20.5-6.1-14.1-22.1 13.8-34.7 15.2-64.7.3-86-28-40.1-104.8-37.9-192.8-1.1 0 0-27.6 12.1-20.6-9.8 13.5-43.5 11.5-79.9-9.6-101-47.7-47.8-174.6 1.8-283.5 110.6C127.3 471.1 80 557.5 80 632.2 80 775.1 263.2 862 442.5 862c235 0 391.3-136.5 391.3-245 0-65.5-55.2-102.6-104.8-118zM443 810.8c-143 14.1-266.5-50.5-275.8-144.5-9.3-93.9 99.2-181.5 242.2-195.6 143-14.2 266.5 50.5 275.8 144.4C694.4 709 586 796.6 443 810.8z"}));var ne="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNNDU3LjMgNTQzYy02OC4xLTE3LjctMTQ1IDE2LjItMTc0LjYgNzYuMi0zMC4xIDYxLjItMSAxMjkuMSA2Ny44IDE1MS4zIDcxLjIgMjMgMTU1LjItMTIuMiAxODQuNC03OC4zIDI4LjctNjQuNi03LjItMTMxLTc3LjYtMTQ5LjJ6bS01MiAxNTYuMmMtMTMuOCAyMi4xLTQzLjUgMzEuNy02NS44IDIxLjYtMjItMTAtMjguNS0zNS43LTE0LjYtNTcuMiAxMy43LTIxLjQgNDIuMy0zMSA2NC40LTIxLjcgMjIuNCA5LjUgMjkuNiAzNSAxNiA1Ny4zem00NS41LTU4LjVjLTUgOC42LTE2LjEgMTIuNy0yNC43IDkuMS04LjUtMy41LTExLjItMTMuMS02LjQtMjEuNSA1LTguNCAxNS42LTEyLjQgMjQuMS05LjEgOC43IDMuMiAxMS44IDEyLjkgNyAyMS41em0zMzQuNS0xOTcuMmMxNSA0LjggMzEtMy40IDM1LjktMTguMyAxMS44LTM2LjYgNC40LTc4LjQtMjMuMi0xMDlhMTExLjM5IDExMS4zOSAwIDAgMC0xMDYtMzQuMyAyOC40NSAyOC40NSAwIDAgMC0yMS45IDMzLjggMjguMzkgMjguMzkgMCAwIDAgMzMuOCAyMS44YzE4LjQtMy45IDM4LjMgMS44IDUxLjkgMTYuN2E1NC4yIDU0LjIgMCAwIDEgMTEuMyA1My4zIDI4LjQ1IDI4LjQ1IDAgMCAwIDE4LjIgMzZ6bTk5LjgtMjA2Yy01Ni43LTYyLjktMTQwLjQtODYuOS0yMTcuNy03MC41YTMyLjk4IDMyLjk4IDAgMCAwLTI1LjQgMzkuMyAzMy4xMiAzMy4xMiAwIDAgMCAzOS4zIDI1LjVjNTUtMTEuNyAxMTQuNCA1LjQgMTU0LjggNTAuMSA0MC4zIDQ0LjcgNTEuMiAxMDUuNyAzNCAxNTkuMS01LjYgMTcuNCAzLjkgMzYgMjEuMyA0MS43IDE3LjQgNS42IDM2LTMuOSA0MS42LTIxLjJ2LS4xYzI0LjEtNzUuNCA4LjktMTYxLjEtNDcuOS0yMjMuOXpNNzI5IDQ5OWMtMTIuMi0zLjYtMjAuNS02LjEtMTQuMS0yMi4xIDEzLjgtMzQuNyAxNS4yLTY0LjcuMy04Ni0yOC00MC4xLTEwNC44LTM3LjktMTkyLjgtMS4xIDAgMC0yNy42IDEyLjEtMjAuNi05LjggMTMuNS00My41IDExLjUtNzkuOS05LjYtMTAxLTQ3LjctNDcuOC0xNzQuNiAxLjgtMjgzLjUgMTEwLjZDMTI3LjMgNDcxLjEgODAgNTU3LjUgODAgNjMyLjIgODAgNzc1LjEgMjYzLjIgODYyIDQ0Mi41IDg2MmMyMzUgMCAzOTEuMy0xMzYuNSAzOTEuMy0yNDUgMC02NS41LTU1LjItMTAyLjYtMTA0LjgtMTE4ek00NDMgODEwLjhjLTE0MyAxNC4xLTI2Ni41LTUwLjUtMjc1LjgtMTQ0LjUtOS4zLTkzLjkgOTkuMi0xODEuNSAyNDIuMi0xOTUuNiAxNDMtMTQuMiAyNjYuNSA1MC41IDI3NS44IDE0NC40QzY5NC40IDcwOSA1ODYgNzk2LjYgNDQzIDgxMC44eiIvPjwvc3ZnPg==",te=Object.defineProperty,ae=Object.getOwnPropertySymbols,le=Object.prototype.hasOwnProperty,re=Object.prototype.propertyIsEnumerable,ee=(p,m,d)=>m in p?te(p,m,{enumerable:!0,configurable:!0,writable:!0,value:d}):p[m]=d,q=(p,m)=>{for(var d in m||(m={}))le.call(m,d)&&ee(p,d,m[d]);if(ae)for(var d of ae(m))re.call(m,d)&&ee(p,d,m[d]);return p};const ce=p=>e.createElement("svg",q({viewBox:"64 64 896 896"},p),e.createElement("path",{d:"M854.6 370.6c-9.9-39.4 9.9-102.2 73.4-124.4l-67.9-3.6s-25.7-90-143.6-98c-117.8-8.1-194.9-3-195-3 .1 0 87.4 55.6 52.4 154.7-25.6 52.5-65.8 95.6-108.8 144.7-1.3 1.3-2.5 2.6-3.5 3.7C319.4 605 96 860 96 860c245.9 64.4 410.7-6.3 508.2-91.1 20.5-.2 35.9-.3 46.3-.3 135.8 0 250.6-117.6 245.9-248.4-3.2-89.9-31.9-110.2-41.8-149.6zm-204.1 334c-10.6 0-26.2.1-46.8.3l-23.6.2-17.8 15.5c-47.1 41-104.4 71.5-171.4 87.6-52.5 12.6-110 16.2-172.7 9.6 18-20.5 36.5-41.6 55.4-63.1 92-104.6 173.8-197.5 236.9-268.5l1.4-1.4 1.3-1.5c4.1-4.6 20.6-23.3 24.7-28.1 9.7-11.1 17.3-19.9 24.5-28.6 30.7-36.7 52.2-67.8 69-102.2l1.6-3.3 1.2-3.4c13.7-38.8 15.4-76.9 6.2-112.8 22.5.7 46.5 1.9 71.7 3.6 33.3 2.3 55.5 12.9 71.1 29.2 5.8 6 10.2 12.5 13.4 18.7 1 2 1.7 3.6 2.3 5l5 17.7c-15.7 34.5-19.9 73.3-11.4 107.2 3 11.8 6.9 22.4 12.3 34.4 2.1 4.7 9.5 20.1 11 23.3 10.3 22.7 15.4 43 16.7 78.7 3.3 94.6-82.7 181.9-182 181.9z"}));var se="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNODU0LjYgMzcwLjZjLTkuOS0zOS40IDkuOS0xMDIuMiA3My40LTEyNC40bC02Ny45LTMuNnMtMjUuNy05MC0xNDMuNi05OGMtMTE3LjgtOC4xLTE5NC45LTMtMTk1LTMgLjEgMCA4Ny40IDU1LjYgNTIuNCAxNTQuNy0yNS42IDUyLjUtNjUuOCA5NS42LTEwOC44IDE0NC43LTEuMyAxLjMtMi41IDIuNi0zLjUgMy43QzMxOS40IDYwNSA5NiA4NjAgOTYgODYwYzI0NS45IDY0LjQgNDEwLjctNi4zIDUwOC4yLTkxLjEgMjAuNS0uMiAzNS45LS4zIDQ2LjMtLjMgMTM1LjggMCAyNTAuNi0xMTcuNiAyNDUuOS0yNDguNC0zLjItODkuOS0zMS45LTExMC4yLTQxLjgtMTQ5LjZ6bS0yMDQuMSAzMzRjLTEwLjYgMC0yNi4yLjEtNDYuOC4zbC0yMy42LjItMTcuOCAxNS41Yy00Ny4xIDQxLTEwNC40IDcxLjUtMTcxLjQgODcuNi01Mi41IDEyLjYtMTEwIDE2LjItMTcyLjcgOS42IDE4LTIwLjUgMzYuNS00MS42IDU1LjQtNjMuMSA5Mi0xMDQuNiAxNzMuOC0xOTcuNSAyMzYuOS0yNjguNWwxLjQtMS40IDEuMy0xLjVjNC4xLTQuNiAyMC42LTIzLjMgMjQuNy0yOC4xIDkuNy0xMS4xIDE3LjMtMTkuOSAyNC41LTI4LjYgMzAuNy0zNi43IDUyLjItNjcuOCA2OS0xMDIuMmwxLjYtMy4zIDEuMi0zLjRjMTMuNy0zOC44IDE1LjQtNzYuOSA2LjItMTEyLjggMjIuNS43IDQ2LjUgMS45IDcxLjcgMy42IDMzLjMgMi4zIDU1LjUgMTIuOSA3MS4xIDI5LjIgNS44IDYgMTAuMiAxMi41IDEzLjQgMTguNyAxIDIgMS43IDMuNiAyLjMgNWw1IDE3LjdjLTE1LjcgMzQuNS0xOS45IDczLjMtMTEuNCAxMDcuMiAzIDExLjggNi45IDIyLjQgMTIuMyAzNC40IDIuMSA0LjcgOS41IDIwLjEgMTEgMjMuMyAxMC4zIDIyLjcgMTUuNCA0MyAxNi43IDc4LjcgMy4zIDk0LjYtODIuNyAxODEuOS0xODIgMTgxLjl6Ii8+PC9zdmc+",Me=Object.defineProperty,fe=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable,ue=(p,m,d)=>m in p?Me(p,m,{enumerable:!0,configurable:!0,writable:!0,value:d}):p[m]=d,ge=(p,m)=>{for(var d in m||(m={}))de.call(m,d)&&ue(p,d,m[d]);if(fe)for(var d of fe(m))me.call(m,d)&&ue(p,d,m[d]);return p};const ie=p=>e.createElement("svg",ge({viewBox:"64 64 896 896"},p),e.createElement("path",{d:"M564.7 230.1V803h60l25.2 71.4L756.3 803h131.5V230.1H564.7zm247.7 497h-59.9l-75.1 50.4-17.8-50.4h-18V308.3h170.7v418.8zM526.1 486.9H393.3c2.1-44.9 4.3-104.3 6.6-172.9h130.9l-.1-8.1c0-.6-.2-14.7-2.3-29.1-2.1-15-6.6-34.9-21-34.9H287.8c4.4-20.6 15.7-69.7 29.4-93.8l6.4-11.2-12.9-.7c-.8 0-19.6-.9-41.4 10.6-35.7 19-51.7 56.4-58.7 84.4-18.4 73.1-44.6 123.9-55.7 145.6-3.3 6.4-5.3 10.2-6.2 12.8-1.8 4.9-.8 9.8 2.8 13 10.5 9.5 38.2-2.9 38.5-3 .6-.3 1.3-.6 2.2-1 13.9-6.3 55.1-25 69.8-84.5h56.7c.7 32.2 3.1 138.4 2.9 172.9h-141l-2.1 1.5c-23.1 16.9-30.5 63.2-30.8 65.2l-1.4 9.2h167c-12.3 78.3-26.5 113.4-34 127.4-3.7 7-7.3 14-10.7 20.8-21.3 42.2-43.4 85.8-126.3 153.6-3.6 2.8-7 8-4.8 13.7 2.4 6.3 9.3 9.1 24.6 9.1 5.4 0 11.8-.3 19.4-1 49.9-4.4 100.8-18 135.1-87.6 17-35.1 31.7-71.7 43.9-108.9L497 850l5-12c.8-1.9 19-46.3 5.1-95.9l-.5-1.8-108.1-123-22 16.6c6.4-26.1 10.6-49.9 12.5-71.1h158.7v-8c0-40.1-18.5-63.9-19.2-64.9l-2.4-3z"}));var ye="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNNTY0LjcgMjMwLjFWODAzaDYwbDI1LjIgNzEuNEw3NTYuMyA4MDNoMTMxLjVWMjMwLjFINTY0Ljd6bTI0Ny43IDQ5N2gtNTkuOWwtNzUuMSA1MC40LTE3LjgtNTAuNGgtMThWMzA4LjNoMTcwLjd2NDE4Ljh6TTUyNi4xIDQ4Ni45SDM5My4zYzIuMS00NC45IDQuMy0xMDQuMyA2LjYtMTcyLjloMTMwLjlsLS4xLTguMWMwLS42LS4yLTE0LjctMi4zLTI5LjEtMi4xLTE1LTYuNi0zNC45LTIxLTM0LjlIMjg3LjhjNC40LTIwLjYgMTUuNy02OS43IDI5LjQtOTMuOGw2LjQtMTEuMi0xMi45LS43Yy0uOCAwLTE5LjYtLjktNDEuNCAxMC42LTM1LjcgMTktNTEuNyA1Ni40LTU4LjcgODQuNC0xOC40IDczLjEtNDQuNiAxMjMuOS01NS43IDE0NS42LTMuMyA2LjQtNS4zIDEwLjItNi4yIDEyLjgtMS44IDQuOS0uOCA5LjggMi44IDEzIDEwLjUgOS41IDM4LjItMi45IDM4LjUtMyAuNi0uMyAxLjMtLjYgMi4yLTEgMTMuOS02LjMgNTUuMS0yNSA2OS44LTg0LjVoNTYuN2MuNyAzMi4yIDMuMSAxMzguNCAyLjkgMTcyLjloLTE0MWwtMi4xIDEuNWMtMjMuMSAxNi45LTMwLjUgNjMuMi0zMC44IDY1LjJsLTEuNCA5LjJoMTY3Yy0xMi4zIDc4LjMtMjYuNSAxMTMuNC0zNCAxMjcuNC0zLjcgNy03LjMgMTQtMTAuNyAyMC44LTIxLjMgNDIuMi00My40IDg1LjgtMTI2LjMgMTUzLjYtMy42IDIuOC03IDgtNC44IDEzLjcgMi40IDYuMyA5LjMgOS4xIDI0LjYgOS4xIDUuNCAwIDExLjgtLjMgMTkuNC0xIDQ5LjktNC40IDEwMC44LTE4IDEzNS4xLTg3LjYgMTctMzUuMSAzMS43LTcxLjcgNDMuOS0xMDguOUw0OTcgODUwbDUtMTJjLjgtMS45IDE5LTQ2LjMgNS4xLTk1LjlsLS41LTEuOC0xMDguMS0xMjMtMjIgMTYuNmM2LjQtMjYuMSAxMC42LTQ5LjkgMTIuNS03MS4xaDE1OC43di04YzAtNDAuMS0xOC41LTYzLjktMTkuMi02NC45bC0yLjQtM3oiLz48L3N2Zz4=",Ae=t(89813),ve={github:a,weibo:oe,twitter:Z,gitlab:R,facebook:O,zhihu:ie,yuque:ce,linkedin:J},Ne=function(m){var d=m.icon,je=m.link,pe=(0,Ae.Z)(),Ie=(0,e.useMemo)(function(){return{Icon:ve[d],link:je}},[d,je]);return e.createElement("a",{className:"dumi-default-icon","data-dumi-tooltip":pe.formatMessage({id:"header.social.".concat(d)}),"data-dumi-tooltip-bottom":!0,target:"_blank",href:Ie.link,rel:"noreferrer"},e.createElement(Ie.Icon,null))},Le=Ne},61029:function(N,C,t){"use strict";t.d(C,{Z:function(){return K}});var e=t(37205),A=t.n(e),j=t(79800),h=t.n(j),D=t(21739),z=t(82100),k=t.n(z),O=t(29186),T=t.n(O),I=t(13720),L=t.n(I),b=t(80619),x=t.n(b),g=t(47074),y=t.n(g),a=t(85573),v=t.n(a),M=T()(function S(){k()(this,S)}),E=function(S){x()(o,S);var l=y()(o);function o(f){var Y;return k()(this,o),Y=l.call(this),v()(L()(Y),"el",void 0),Y.el=f,Y}return T()(o,[{key:"top",get:function(){return this.el.getBoundingClientRect().top}},{key:"outerHeight",get:function(){return this.el.getBoundingClientRect().height}},{key:"scrollTop",get:function(){return this.el.scrollTop}},{key:"scrollHeight",get:function(){return this.el.scrollHeight}},{key:"isScrolledToBottom",value:function(){return this.scrollTop+this.outerHeight>=this.scrollHeight}},{key:"registerScrollEvent",value:function(Y){this.el.addEventListener("scroll",Y)}},{key:"unregisterScrollEvent",value:function(Y){this.el.removeEventListener("scroll",Y)}}],[{key:"create",value:function(Y){var H=document.querySelector(Y);if(!H)throw new Error("element is not found.");return new o(H)}}]),o}(M),P=function(S){x()(o,S);var l=y()(o);function o(){return k()(this,o),l.apply(this,arguments)}return T()(o,[{key:"outerHeight",get:function(){return window.innerHeight}},{key:"scrollTop",get:function(){return document.documentElement.scrollTop}},{key:"scrollHeight",get:function(){return document.documentElement.scrollHeight}},{key:"isScrolledToBottom",value:function(){return this.scrollTop+this.outerHeight>=this.scrollHeight}},{key:"registerScrollEvent",value:function(Y){document.addEventListener("scroll",Y)}},{key:"unregisterScrollEvent",value:function(Y){document.removeEventListener("scroll",Y)}}],[{key:"create",value:function(){return new o}}]),o}(M),B=function(){function S(){k()(this,S)}return T()(S,null,[{key:"create",value:function(o){return o?E.create(o):P.create()}}]),S}(),U=function(l){var o=l.sectionRefs,f=l.rootSelector,Y=l.offset,H=Y===void 0?0:Y,Z=(0,D.useRef)(null);(0,D.useEffect)(function(){Z.current=B.create(f)},[f]);var i=(0,D.useCallback)(function(){return Z.current?Z.current.isScrolledToBottom():!1},[Z]),s=(0,D.useCallback)(function(te){if(!Z.current)return!1;var ae=Z.current.scrollTop,le=ae+Z.current.outerHeight,re=te.getBoundingClientRect(),ee=Z.current instanceof E?ae+re.top-Z.current.top+H:ae+re.top+H,q=ee+re.height;return[eeae].every(function(ce){return ce})},[Z,H]),c=(0,D.useCallback)(function(){return o.map(function(te){return te.current?s(te.current):!1})},[s,o]),F=(0,D.useState)([]),W=h()(F,2),_=W[0],$=W[1],oe=(0,D.useMemo)(function(){return _.findIndex(function(te){return te})},[_]),ne=(0,D.useCallback)(function(){var te=i()?[].concat(A()(new Array(o.length-1).fill(!1).map(function(ae){return ae})),[!0]):c();$(te)},[c,i,o]);return(0,D.useEffect)(function(){return ne(),Z.current&&Z.current.registerScrollEvent(ne),function(){Z.current&&Z.current.unregisterScrollEvent(ne)}},[ne]),{elementsStatusInViewport:_,currentElementIndexInViewport:oe}},V=function(l){var o=l.children,f=l.sectionRefs,Y=l.rootSelector,H=l.offset,Z=U({sectionRefs:f,rootSelector:Y,offset:H}),i=Z.elementsStatusInViewport,s=Z.currentElementIndexInViewport;return o({elementsStatusInViewport:i,currentElementIndexInViewport:s})},R=t(39013);function G(){return G=Object.assign?Object.assign.bind():function(S){for(var l=1;lS.length)&&(l=S.length);for(var o=0,f=new Array(l);o1&&q<4})},[H,Z]);return(0,D.useEffect)(function(){if(!s){var re=le.map(function(ee){var q=ee.id;return{current:document.getElementById(q)}});$(re)}},[o,f,s,le]),(0,D.useEffect)(function(){if(_.length>0){var re=document.querySelector(".dumi-default-header");ae(re?re.clientHeight:0)}},[_]),_.length?D.createElement(V,{sectionRefs:_,offset:-te},function(re){var ee=re.currentElementIndexInViewport;return ee>-1&&(c.current=ee),D.createElement("ul",{className:"dumi-default-toc"},le.filter(function(q){var ce=q.depth;return ce>1&&ce<4}).map(function(q,ce){var se="".concat(f,"#").concat(encodeURIComponent(q.id)),Me=ee>-1?ee:c.current;return D.createElement("li",{key:q.id,"data-depth":q.depth},D.createElement(R.rU,G({to:se,onClickCapture:function(){decodeURIComponent(Y).slice(1)===q.id&&R.m8.replace("".concat(o).concat(f))},title:q.title},Me===ce?{className:"active"}:{}),q.title))}))}):null},K=J},61004:function(N,C,t){var e=t(39572);function A(j){if(Array.isArray(j))return e(j)}N.exports=A,N.exports.__esModule=!0,N.exports.default=N.exports},13720:function(N){function C(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}N.exports=C,N.exports.__esModule=!0,N.exports.default=N.exports},47074:function(N,C,t){var e=t(34577),A=t(74716),j=t(34456);function h(D){var z=A();return function(){var O=e(D),T;if(z){var I=e(this).constructor;T=Reflect.construct(O,arguments,I)}else T=O.apply(this,arguments);return j(this,T)}}N.exports=h,N.exports.__esModule=!0,N.exports.default=N.exports},34577:function(N){function C(t){return N.exports=C=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(A){return A.__proto__||Object.getPrototypeOf(A)},N.exports.__esModule=!0,N.exports.default=N.exports,C(t)}N.exports=C,N.exports.__esModule=!0,N.exports.default=N.exports},80619:function(N,C,t){var e=t(35745);function A(j,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function");j.prototype=Object.create(h&&h.prototype,{constructor:{value:j,writable:!0,configurable:!0}}),Object.defineProperty(j,"prototype",{writable:!1}),h&&e(j,h)}N.exports=A,N.exports.__esModule=!0,N.exports.default=N.exports},74716:function(N){function C(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}N.exports=C,N.exports.__esModule=!0,N.exports.default=N.exports},97012:function(N){function C(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}N.exports=C,N.exports.__esModule=!0,N.exports.default=N.exports},93215:function(N){function C(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}N.exports=C,N.exports.__esModule=!0,N.exports.default=N.exports},34456:function(N,C,t){var e=t(31468).default,A=t(13720);function j(h,D){if(D&&(e(D)==="object"||typeof D=="function"))return D;if(D!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return A(h)}N.exports=j,N.exports.__esModule=!0,N.exports.default=N.exports},35745:function(N){function C(t,e){return N.exports=C=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(j,h){return j.__proto__=h,j},N.exports.__esModule=!0,N.exports.default=N.exports,C(t,e)}N.exports=C,N.exports.__esModule=!0,N.exports.default=N.exports},37205:function(N,C,t){var e=t(61004),A=t(97012),j=t(66109),h=t(93215);function D(z){return e(z)||A(z)||j(z)||h()}N.exports=D,N.exports.__esModule=!0,N.exports.default=N.exports},10291:function(N,C){"use strict";var t=function(O,T,I,L){function b(x){return x instanceof I?x:new I(function(g){g(x)})}return new(I||(I=Promise))(function(x,g){function y(M){try{v(L.next(M))}catch(E){g(E)}}function a(M){try{v(L.throw(M))}catch(E){g(E)}}function v(M){M.done?x(M.value):b(M.value).then(y,a)}v((L=L.apply(O,T||[])).next())})};function e(O){let T=0,I=0,L=O;do T+=L.offsetTop||0,I+=L.offsetLeft||0,L=L.offsetParent;while(L);return{top:T,left:I}}class A{constructor(T){this.element=T}getHorizontalScroll(){return this.element.scrollLeft}getVerticalScroll(){return this.element.scrollTop}getMaxHorizontalScroll(){return this.element.scrollWidth-this.element.clientWidth}getMaxVerticalScroll(){return this.element.scrollHeight-this.element.clientHeight}getHorizontalElementScrollOffset(T,I){return e(T).left-e(I).left}getVerticalElementScrollOffset(T,I){return e(T).top-e(I).top}scrollTo(T,I){this.element.scrollLeft=T,this.element.scrollTop=I}}class j{constructor(){this.element=window}getHorizontalScroll(){return window.scrollX||document.documentElement.scrollLeft}getVerticalScroll(){return window.scrollY||document.documentElement.scrollTop}getMaxHorizontalScroll(){return Math.max(document.body.scrollWidth,document.documentElement.scrollWidth,document.body.offsetWidth,document.documentElement.offsetWidth,document.body.clientWidth,document.documentElement.clientWidth)-window.innerWidth}getMaxVerticalScroll(){return Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight)-window.innerHeight}getHorizontalElementScrollOffset(T){return(window.scrollX||document.documentElement.scrollLeft)+T.getBoundingClientRect().left}getVerticalElementScrollOffset(T){return(window.scrollY||document.documentElement.scrollTop)+T.getBoundingClientRect().top}scrollTo(T,I){window.scrollTo(T,I)}}const h={elements:[],cancelMethods:[],add:(O,T)=>{h.elements.push(O),h.cancelMethods.push(T)},remove:(O,T)=>{const I=h.elements.indexOf(O);I>-1&&(T&&h.cancelMethods[I](),h.elements.splice(I,1),h.cancelMethods.splice(I,1))}},D=typeof window!="undefined",z={cancelOnUserAction:!0,easing:O=>--O*O*O+1,elementToScroll:D?window:null,horizontalOffset:0,maxDuration:3e3,minDuration:250,speed:500,verticalOffset:0};function k(O,T={}){return t(this,void 0,void 0,function*(){if(D){if(!window.Promise)throw"Browser doesn't support Promises, and animated-scroll-to depends on it, please provide a polyfill."}else return new Promise(r=>{r(!1)});let I,L,b,x=Object.assign(Object.assign({},z),T);const g=x.elementToScroll===window,y=!!x.elementToScroll.nodeName;if(!g&&!y)throw"Element to scroll needs to be either window or DOM element.";const a=g?document.documentElement:x.elementToScroll;getComputedStyle(a).getPropertyValue("scroll-behavior")==="smooth"&&console.warn(`${a.tagName} has "scroll-behavior: smooth" which can mess up with animated-scroll-to's animations`);const M=g?new j:new A(x.elementToScroll);if(O instanceof Element){if(b=O,y&&(!x.elementToScroll.contains(b)||x.elementToScroll.isSameNode(b)))throw"options.elementToScroll has to be a parent of scrollToElement";I=M.getHorizontalElementScrollOffset(b,x.elementToScroll),L=M.getVerticalElementScrollOffset(b,x.elementToScroll)}else if(typeof O=="number")I=M.getHorizontalScroll(),L=O;else if(Array.isArray(O)&&O.length===2)I=O[0]===null?M.getHorizontalScroll():O[0],L=O[1]===null?M.getVerticalScroll():O[1];else throw`Wrong function signature. Check documentation. +Available method signatures are: + animateScrollTo(y:number, options) + animateScrollTo([x:number | null, y:number | null], options) + animateScrollTo(scrollToElement:Element, options)`;I+=x.horizontalOffset,L+=x.verticalOffset;const E=M.getMaxHorizontalScroll(),P=M.getHorizontalScroll();I>E&&(I=E);const B=I-P,U=M.getMaxVerticalScroll(),V=M.getVerticalScroll();L>U&&(L=U);const R=L-V,G=Math.abs(Math.round(B/1e3*x.speed)),X=Math.abs(Math.round(R/1e3*x.speed));let w=G>X?G:X;return wx.maxDuration&&(w=x.maxDuration),new Promise((r,n)=>{B===0&&R===0&&r(!0),h.remove(M.element,!0);let u;const Q=()=>{o(),cancelAnimationFrame(u),r(!1)};h.add(M.element,Q);const J=H=>H.preventDefault(),K=x.cancelOnUserAction?Q:J,S=x.cancelOnUserAction?{passive:!0}:{passive:!1},l=["wheel","touchstart","keydown","mousedown"],o=()=>{l.forEach(H=>{M.element.removeEventListener(H,K,S)})};l.forEach(H=>{M.element.addEventListener(H,K,S)});const f=Date.now(),Y=()=>{var H=Date.now()-f,Z=H/w;const i=Math.round(P+B*x.easing(Z)),s=Math.round(V+R*x.easing(Z));H - +
- + \ No newline at end of file diff --git a/464.4cb6aec9.async.js b/752.0b5379d1.async.js similarity index 99% rename from 464.4cb6aec9.async.js rename to 752.0b5379d1.async.js index 8addc26..c8dd3c3 100644 --- a/464.4cb6aec9.async.js +++ b/752.0b5379d1.async.js @@ -1,4 +1,4 @@ -!(function(){var yl=Object.defineProperty,xl=Object.defineProperties;var wl=Object.getOwnPropertyDescriptors;var Mn=Object.getOwnPropertySymbols;var X1=Object.prototype.hasOwnProperty,z1=Object.prototype.propertyIsEnumerable;var Y1=(Le,I,H)=>I in Le?yl(Le,I,{enumerable:!0,configurable:!0,writable:!0,value:H}):Le[I]=H,J1=(Le,I)=>{for(var H in I||(I={}))X1.call(I,H)&&Y1(Le,H,I[H]);if(Mn)for(var H of Mn(I))z1.call(I,H)&&Y1(Le,H,I[H]);return Le},Q1=(Le,I)=>xl(Le,wl(I));var Ds=(Le,I)=>{var H={};for(var u in Le)X1.call(Le,u)&&I.indexOf(u)<0&&(H[u]=Le[u]);if(Le!=null&&Mn)for(var u of Mn(Le))I.indexOf(u)<0&&z1.call(Le,u)&&(H[u]=Le[u]);return H};(self.webpackChunk_rc_component_color_picker=self.webpackChunk_rc_component_color_picker||[]).push([[464],{7209:function(Le,I,H){(function(u,e){e(I,H(10335),H(89285),H(50995))})(this,function(u,e,Ie,O){"use strict";class j{constructor({file:U,sourceRoot:G}={}){this._names=new e.SetArray,this._sources=new e.SetArray,this._sourcesContent=[],this._mappings=[],this.file=U,this.sourceRoot=G,this._ignoreList=new e.SetArray}}function r($){return $}function w($,U,G,M,pe,ue,re,N){return Ae(!1,$,U,G,M,pe,ue,re,N)}function ce($,U){return de(!1,$,U)}const q=($,U,G,M,pe,ue,re,N)=>Ae(!0,$,U,G,M,pe,ue,re,N),oe=($,U)=>de(!0,$,U);function ie($,U,G){const{_sources:M,_sourcesContent:pe}=$,ue=e.put(M,U);pe[ue]=G}function ye($,U,G=!0){const{_sources:M,_sourcesContent:pe,_ignoreList:ue}=$,re=e.put(M,U);re===pe.length&&(pe[re]=null),G?e.put(ue,re):e.remove(ue,re)}function ve($){const{_mappings:U,_sources:G,_sourcesContent:M,_names:pe,_ignoreList:ue}=$;return K(U),{version:3,file:$.file||void 0,names:pe.array,sourceRoot:$.sourceRoot||void 0,sources:G.array,sourcesContent:M,mappings:U,ignoreList:ue.array}}function P($){const U=ve($);return Object.assign(Object.assign({},U),{mappings:Ie.encode(U.mappings)})}function Se($){const U=new O.TraceMap($),G=new j({file:U.file,sourceRoot:U.sourceRoot});return R(G._names,U.names),R(G._sources,U.sources),G._sourcesContent=U.sourcesContent||U.sources.map(()=>null),G._mappings=O.decodedMappings(U),U.ignoreList&&R(G._ignoreList,U.ignoreList),G}function Ce($){const U=[],{_mappings:G,_sources:M,_names:pe}=$;for(let ue=0;ue=0;G=M--){const pe=$[M];if(U>=pe[0])break}return G}function Ke($,U,G){for(let M=$.length;M>U;M--)$[M]=$[M-1];$[U]=G}function K($){const{length:U}=$;let G=U;for(let M=G-1;M>=0&&!($[M].length>0);G=M,M--);Gye&&(ye=Se)}w(ie,ye);const ve=ie.query+ie.hash;switch(ye){case 2:case 3:return ve;case 4:{const P=ie.path.slice(1);return P?C(oe||q)&&!C(P)?"./"+P+ve:P+ve:ve||"."}case 5:return ie.path+ve;default:return ie.scheme+"//"+ie.user+ie.host+ie.port+ie.path+ve}}return ce})},10335:function(Le,I){(function(H,u){u(I)})(this,function(H){"use strict";class u{constructor(){this._indexes={__proto__:null},this.array=[]}}function e(h){return h}function Ie(h,d){return h._indexes[d]}function O(h,d){const T=Ie(h,d);if(T!==void 0)return T;const{array:E,_indexes:j}=h,r=E.push(d);return j[d]=r-1}function X(h){const{array:d,_indexes:T}=h;if(d.length===0)return;const E=d.pop();T[E]=void 0}function C(h,d){const T=Ie(h,d);if(T===void 0)return;const{array:E,_indexes:j}=h;for(let r=T+1;r>>=1,$&&(m=-2147483648|-m),R+m}function T(K,R,m){let v=R-m;v=v<0?-v<<1|1:v<<1;do{let de=v&31;v>>>=5,v>0&&(de|=32),K.write(C[de])}while(v>0);return R}function E(K,R){return K.pos>=R?!1:K.peek()!==44}const j=1024*16,r=typeof TextDecoder!="undefined"?new TextDecoder:typeof u!="undefined"?{decode(K){return u.from(K.buffer,K.byteOffset,K.byteLength).toString()}}:{decode(K){let R="";for(let m=0;m0?m+r.decode(R.subarray(0,v)):m}}class ce{constructor(R){this.pos=0,this.buffer=R}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(R){const{buffer:m,pos:v}=this,de=m.indexOf(R,v);return de===-1?m.length:de}}const q=[];function oe(K){const{length:R}=K,m=new ce(K),v=[],de=[];let $=0;for(;m.pos0&&m.write(44),v[0]=T(m,$,v[0]),T(m,U,0),T(m,pe,0);const re=de.length===6?1:0;T(m,re,0),de.length===6&&T(m,de[5],0);for(const N of ue)T(m,N,0);for(R++;RG||se===G&&Ne>=M)break;R=ye(K,R,m,v)}return m.write(44),v[0]=T(m,G,v[0]),T(m,M,0),R}function ve(K){const{length:R}=K,m=new ce(K),v=[],de=[];let $=0,U=0,G=0,M=0,pe=0,ue=0,re=0,N=0;do{const se=m.indexOf(";");let Ne=0;for(;m.posme;Q--){const te=re;re=d(m,re),N=d(m,re===te?N:0);const x=d(m,0);Re.push([x,re,N])}}else Re=[[me]];ae.push(Re)}while(E(m,se))}_.bindings=ae,v.push(_),de.push(_)}$++,m.pos=se+1}while(m.pos0&&m.write(44),v[1]=T(m,de[1],v[1]);const N=(de.length===6?1:0)|(ue?2:0)|(pe?4:0);if(T(m,N,0),de.length===6){const{4:se,5:Ne}=de;se!==v[2]&&(v[3]=0),v[2]=T(m,se,v[2]),v[3]=T(m,Ne,v[3])}if(ue){const{0:se,1:Ne,2:b}=de.callsite;se!==v[4]?(v[5]=0,v[6]=0):Ne!==v[5]&&(v[6]=0),v[4]=T(m,se,v[4]),v[5]=T(m,Ne,v[5]),v[6]=T(m,b,v[6])}if(re)for(const se of re){se.length>1&&T(m,-se.length,0);const Ne=se[0][0];T(m,Ne,0);let b=$,S=U;for(let L=1;LG||Ne===G&&b>=M)break;R=Se(K,R,m,v)}return v[0]0&&R.write(59),G.length===0)continue;let M=0;for(let pe=0;pe0&&R.write(44),M=T(R,ue[0],M),ue.length!==1&&(m=T(R,ue[1],m),v=T(R,ue[2],v),de=T(R,ue[3],de),ue.length!==4&&($=T(R,ue[4],$)))}}return R.flush()}e.decode=Ae,e.decodeGeneratedRanges=ve,e.decodeOriginalScopes=oe,e.encode=Ke,e.encodeGeneratedRanges=P,e.encodeOriginalScopes=ie,Object.defineProperty(e,"__esModule",{value:!0})})},50995:function(Le,I,H){(function(u,e){e(I,H(89285),H(90326))})(this,function(u,e,Ie){"use strict";function O(l,p){return p&&!p.endsWith("/")&&(p+="/"),Ie(l,p)}function X(l){if(!l)return"";const p=l.lastIndexOf("/");return l.slice(0,p+1)}const C=0,h=1,d=2,T=3,E=4,j=1,r=2;function w(l,p){const g=ce(l,0);if(g===l.length)return l;p||(l=l.slice());for(let y=g;y>1),W=l[Y][C]-p;if(W===0)return ye=!0,Y;W<0?g=Y+1:y=Y-1}return ye=!1,g-1}function P(l,p,g){for(let y=g+1;y=0&&l[y][C]===p;g=y--);return g}function Ce(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function Ae(l,p,g,y){const{lastKey:Y,lastNeedle:W,lastIndex:he}=g;let Ee=0,le=l.length-1;if(y===Y){if(p===W)return ye=he!==-1&&l[he][C]===p,he;p>=W?Ee=he===-1?0:he:le=he}return g.lastKey=y,g.lastNeedle=p,g.lastIndex=ve(l,p,Ee,le)}function Fe(l,p){const g=p.map(Ke);for(let y=0;yp;y--)l[y]=l[y-1];l[p]=g}function Ke(){return{__proto__:null}}const K=function(l,p){const g=R(l);if(!("sections"in g))return new ue(g,p);const y=[],Y=[],W=[],he=[],Ee=[];m(g,p,y,Y,W,he,Ee,0,0,1/0,1/0);const le={version:3,file:g.file,names:he,sources:Y,sourcesContent:W,mappings:y,ignoreList:Ee};return me(le)};function R(l){return typeof l=="string"?JSON.parse(l):l}function m(l,p,g,y,Y,W,he,Ee,le,J,Ge){const{sections:je}=l;for(let Ue=0;UeJ)return;const zt=$(g,Xt),Pe=nt===0?le:0,hn=gt[nt];for(let Nt=0;Nt=Ge)return;if(yt.length===1){zt.push([Rt]);continue}const pn=ze+yt[h],mn=yt[d],dn=yt[T];zt.push(yt.length===4?[Rt,pn,mn,dn]:[Rt,pn,mn,dn,at+yt[E]])}}}function de(l,p){for(let g=0;gO(ze||"",je));const{mappings:Ue}=Y;typeof Ue=="string"?(this._encoded=Ue,this._decoded=void 0):(this._encoded=void 0,this._decoded=w(Ue,y)),this._decodedMemo=Ce(),this._bySources=void 0,this._bySourceMemos=void 0}}function re(l){return l}function N(l){var p,g;return(p=(g=l)._encoded)!==null&&p!==void 0?p:g._encoded=e.encode(l._decoded)}function se(l){var p;return(p=l)._decoded||(p._decoded=e.decode(l._encoded))}function Ne(l,p,g){const y=se(l);if(p>=y.length)return null;const Y=y[p],W=o(Y,l._decodedMemo,p,g,pe);return W===-1?null:Y[W]}function b(l,p){let{line:g,column:y,bias:Y}=p;if(g--,g<0)throw new Error(U);if(y<0)throw new Error(G);const W=se(l);if(g>=W.length)return x(null,null,null,null);const he=W[g],Ee=o(he,l._decodedMemo,g,y,Y||pe);if(Ee===-1)return x(null,null,null,null);const le=he[Ee];if(le.length===1)return x(null,null,null,null);const{names:J,resolvedSources:Ge}=l;return x(Ge[le[h]],le[d]+1,le[T],le.length===5?J[le[E]]:null)}function S(l,p){const{source:g,line:y,column:Y,bias:W}=p;return a(l,g,y,Y,W||pe,!1)}function L(l,p){const{source:g,line:y,column:Y,bias:W}=p;return a(l,g,y,Y,W||M,!0)}function D(l,p){const g=se(l),{names:y,resolvedSources:Y}=l;for(let W=0;W";case e.template:return"template";case e.ellipsis:return"...";case e.backQuote:return"`";case e.dollarBraceL:return"${";case e.at:return"@";case e.hash:return"#";case e.eq:return"=";case e.assign:return"_=";case e.preIncDec:return"++/--";case e.postIncDec:return"++/--";case e.bang:return"!";case e.tilde:return"~";case e.pipeline:return"|>";case e.nullishCoalescing:return"??";case e.logicalOR:return"||";case e.logicalAND:return"&&";case e.bitwiseOR:return"|";case e.bitwiseXOR:return"^";case e.bitwiseAND:return"&";case e.equality:return"==/!=";case e.lessThan:return"<";case e.greaterThan:return">";case e.relationalOrEqual:return"<=/>=";case e.bitShiftL:return"<<";case e.bitShiftR:return">>/>>>";case e.plus:return"+";case e.minus:return"-";case e.modulo:return"%";case e.star:return"*";case e.slash:return"/";case e.exponent:return"**";case e.jsxName:return"jsxName";case e.jsxText:return"jsxText";case e.jsxEmptyText:return"jsxEmptyText";case e.jsxTagStart:return"jsxTagStart";case e.jsxTagEnd:return"jsxTagEnd";case e.typeParameterStart:return"typeParameterStart";case e.nonNullAssertion:return"nonNullAssertion";case e._break:return"break";case e._case:return"case";case e._catch:return"catch";case e._continue:return"continue";case e._debugger:return"debugger";case e._default:return"default";case e._do:return"do";case e._else:return"else";case e._finally:return"finally";case e._for:return"for";case e._function:return"function";case e._if:return"if";case e._return:return"return";case e._switch:return"switch";case e._throw:return"throw";case e._try:return"try";case e._var:return"var";case e._let:return"let";case e._const:return"const";case e._while:return"while";case e._with:return"with";case e._new:return"new";case e._this:return"this";case e._super:return"super";case e._class:return"class";case e._extends:return"extends";case e._export:return"export";case e._import:return"import";case e._yield:return"yield";case e._null:return"null";case e._true:return"true";case e._false:return"false";case e._in:return"in";case e._instanceof:return"instanceof";case e._typeof:return"typeof";case e._void:return"void";case e._delete:return"delete";case e._async:return"async";case e._get:return"get";case e._set:return"set";case e._declare:return"declare";case e._readonly:return"readonly";case e._abstract:return"abstract";case e._static:return"static";case e._public:return"public";case e._private:return"private";case e._protected:return"protected";case e._override:return"override";case e._as:return"as";case e._enum:return"enum";case e._type:return"type";case e._implements:return"implements";default:return""}}class O{constructor(n,s,c){this.startTokenIndex=n,this.endTokenIndex=s,this.isFunctionScope=c}}class X{constructor(n,s,c,f,k,A,B,ee,fe,be,ge,ne,we){this.potentialArrowAt=n,this.noAnonFunctionType=s,this.inDisallowConditionalTypesContext=c,this.tokensLength=f,this.scopesLength=k,this.pos=A,this.type=B,this.contextualKeyword=ee,this.start=fe,this.end=be,this.isType=ge,this.scopeDepth=ne,this.error=we}}class C{constructor(){C.prototype.__init.call(this),C.prototype.__init2.call(this),C.prototype.__init3.call(this),C.prototype.__init4.call(this),C.prototype.__init5.call(this),C.prototype.__init6.call(this),C.prototype.__init7.call(this),C.prototype.__init8.call(this),C.prototype.__init9.call(this),C.prototype.__init10.call(this),C.prototype.__init11.call(this),C.prototype.__init12.call(this),C.prototype.__init13.call(this)}__init(){this.potentialArrowAt=-1}__init2(){this.noAnonFunctionType=!1}__init3(){this.inDisallowConditionalTypesContext=!1}__init4(){this.tokens=[]}__init5(){this.scopes=[]}__init6(){this.pos=0}__init7(){this.type=e.eof}__init8(){this.contextualKeyword=u.NONE}__init9(){this.start=0}__init10(){this.end=0}__init11(){this.isType=!1}__init12(){this.scopeDepth=0}__init13(){this.error=null}snapshot(){return new X(this.potentialArrowAt,this.noAnonFunctionType,this.inDisallowConditionalTypesContext,this.tokens.length,this.scopes.length,this.pos,this.type,this.contextualKeyword,this.start,this.end,this.isType,this.scopeDepth,this.error)}restoreFromSnapshot(n){this.potentialArrowAt=n.potentialArrowAt,this.noAnonFunctionType=n.noAnonFunctionType,this.inDisallowConditionalTypesContext=n.inDisallowConditionalTypesContext,this.tokens.length=n.tokensLength,this.scopes.length=n.scopesLength,this.pos=n.pos,this.type=n.type,this.contextualKeyword=n.contextualKeyword,this.start=n.start,this.end=n.end,this.isType=n.isType,this.scopeDepth=n.scopeDepth,this.error=n.error}}var h;(function(t){t[t.backSpace=8]="backSpace";const s=10;t[t.lineFeed=s]="lineFeed";const c=9;t[t.tab=c]="tab";const f=13;t[t.carriageReturn=f]="carriageReturn";const k=14;t[t.shiftOut=k]="shiftOut";const A=32;t[t.space=A]="space";const B=33;t[t.exclamationMark=B]="exclamationMark";const ee=34;t[t.quotationMark=ee]="quotationMark";const fe=35;t[t.numberSign=fe]="numberSign";const be=36;t[t.dollarSign=be]="dollarSign";const ge=37;t[t.percentSign=ge]="percentSign";const ne=38;t[t.ampersand=ne]="ampersand";const we=39;t[t.apostrophe=we]="apostrophe";const De=40;t[t.leftParenthesis=De]="leftParenthesis";const Ze=41;t[t.rightParenthesis=Ze]="rightParenthesis";const He=42;t[t.asterisk=He]="asterisk";const et=43;t[t.plusSign=et]="plusSign";const Je=44;t[t.comma=Je]="comma";const lt=45;t[t.dash=lt]="dash";const Qe=46;t[t.dot=Qe]="dot";const vt=47;t[t.slash=vt]="slash";const wt=48;t[t.digit0=wt]="digit0";const Ct=49;t[t.digit1=Ct]="digit1";const mt=50;t[t.digit2=mt]="digit2";const dt=51;t[t.digit3=dt]="digit3";const kt=52;t[t.digit4=kt]="digit4";const It=53;t[t.digit5=It]="digit5";const Z=54;t[t.digit6=Z]="digit6";const F=55;t[t.digit7=F]="digit7";const V=56;t[t.digit8=V]="digit8";const ke=57;t[t.digit9=ke]="digit9";const Te=58;t[t.colon=Te]="colon";const _e=59;t[t.semicolon=_e]="semicolon";const Be=60;t[t.lessThan=Be]="lessThan";const Ve=61;t[t.equalsTo=Ve]="equalsTo";const We=62;t[t.greaterThan=We]="greaterThan";const st=63;t[t.questionMark=st]="questionMark";const tt=64;t[t.atSign=tt]="atSign";const ot=65;t[t.uppercaseA=ot]="uppercaseA";const Yt=66;t[t.uppercaseB=Yt]="uppercaseB";const fn=67;t[t.uppercaseC=fn]="uppercaseC";const Er=68;t[t.uppercaseD=Er]="uppercaseD";const Ar=69;t[t.uppercaseE=Ar]="uppercaseE";const Sr=70;t[t.uppercaseF=Sr]="uppercaseF";const vr=71;t[t.uppercaseG=vr]="uppercaseG";const Cr=72;t[t.uppercaseH=Cr]="uppercaseH";const Nr=73;t[t.uppercaseI=Nr]="uppercaseI";const Rr=74;t[t.uppercaseJ=Rr]="uppercaseJ";const Pr=75;t[t.uppercaseK=Pr]="uppercaseK";const Lr=76;t[t.uppercaseL=Lr]="uppercaseL";const Dr=77;t[t.uppercaseM=Dr]="uppercaseM";const Fr=78;t[t.uppercaseN=Fr]="uppercaseN";const Or=79;t[t.uppercaseO=Or]="uppercaseO";const Mr=80;t[t.uppercaseP=Mr]="uppercaseP";const Br=81;t[t.uppercaseQ=Br]="uppercaseQ";const jr=82;t[t.uppercaseR=jr]="uppercaseR";const qr=83;t[t.uppercaseS=qr]="uppercaseS";const Ur=84;t[t.uppercaseT=Ur]="uppercaseT";const $r=85;t[t.uppercaseU=$r]="uppercaseU";const Vr=86;t[t.uppercaseV=Vr]="uppercaseV";const Wr=87;t[t.uppercaseW=Wr]="uppercaseW";const Hr=88;t[t.uppercaseX=Hr]="uppercaseX";const Gr=89;t[t.uppercaseY=Gr]="uppercaseY";const Yr=90;t[t.uppercaseZ=Yr]="uppercaseZ";const Xr=91;t[t.leftSquareBracket=Xr]="leftSquareBracket";const zr=92;t[t.backslash=zr]="backslash";const Jr=93;t[t.rightSquareBracket=Jr]="rightSquareBracket";const Qr=94;t[t.caret=Qr]="caret";const Zr=95;t[t.underscore=Zr]="underscore";const Kr=96;t[t.graveAccent=Kr]="graveAccent";const es=97;t[t.lowercaseA=es]="lowercaseA";const ts=98;t[t.lowercaseB=ts]="lowercaseB";const ns=99;t[t.lowercaseC=ns]="lowercaseC";const rs=100;t[t.lowercaseD=rs]="lowercaseD";const ss=101;t[t.lowercaseE=ss]="lowercaseE";const os=102;t[t.lowercaseF=os]="lowercaseF";const is=103;t[t.lowercaseG=is]="lowercaseG";const as=104;t[t.lowercaseH=as]="lowercaseH";const cs=105;t[t.lowercaseI=cs]="lowercaseI";const ls=106;t[t.lowercaseJ=ls]="lowercaseJ";const us=107;t[t.lowercaseK=us]="lowercaseK";const fs=108;t[t.lowercaseL=fs]="lowercaseL";const hs=109;t[t.lowercaseM=hs]="lowercaseM";const ps=110;t[t.lowercaseN=ps]="lowercaseN";const ms=111;t[t.lowercaseO=ms]="lowercaseO";const ds=112;t[t.lowercaseP=ds]="lowercaseP";const ks=113;t[t.lowercaseQ=ks]="lowercaseQ";const gs=114;t[t.lowercaseR=gs]="lowercaseR";const _s=115;t[t.lowercaseS=_s]="lowercaseS";const ys=116;t[t.lowercaseT=ys]="lowercaseT";const xs=117;t[t.lowercaseU=xs]="lowercaseU";const ws=118;t[t.lowercaseV=ws]="lowercaseV";const Is=119;t[t.lowercaseW=Is]="lowercaseW";const bs=120;t[t.lowercaseX=bs]="lowercaseX";const Ts=121;t[t.lowercaseY=Ts]="lowercaseY";const Es=122;t[t.lowercaseZ=Es]="lowercaseZ";const As=123;t[t.leftCurlyBrace=As]="leftCurlyBrace";const Ss=124;t[t.verticalBar=Ss]="verticalBar";const vs=125;t[t.rightCurlyBrace=vs]="rightCurlyBrace";const Cs=126;t[t.tilde=Cs]="tilde";const Ns=160;t[t.nonBreakingSpace=Ns]="nonBreakingSpace";const Rs=5760;t[t.oghamSpaceMark=Rs]="oghamSpaceMark";const Ps=8232;t[t.lineSeparator=Ps]="lineSeparator";const Ls=8233;t[t.paragraphSeparator=Ls]="paragraphSeparator"})(h||(h={}));function d(t){return t>=h.digit0&&t<=h.digit9||t>=h.lowercaseA&&t<=h.lowercaseF||t>=h.uppercaseA&&t<=h.uppercaseF}let T,E,j,r,w,ce;function q(){return ce++}function oe(t){if("pos"in t){const n=ye(t.pos);t.message+=` (${n.line}:${n.column})`,t.loc=n}return t}class ie{constructor(n,s){this.line=n,this.column=s}}function ye(t){let n=1,s=1;for(let c=0;ch.lowercaseZ));){const f=ue[t+(n-h.lowercaseA)+1];if(f===-1)break;t=f,s++}const c=ue[t];if(c>-1&&!M[n]){r.pos=s,c&1?J(c>>>1):J(e.name,c>>>1);return}for(;s=w.length){const t=r.tokens;t.length>=2&&t[t.length-1].start>=w.length&&t[t.length-2].start>=w.length&&v("Unexpectedly reached the end of input."),J(e.eof);return}W(w.charCodeAt(r.pos))}function W(t){pe[t]||t===h.backslash||t===h.atSign&&w.charCodeAt(r.pos+1)===h.atSign?re():zt(t)}function he(){for(;w.charCodeAt(r.pos)!==h.asterisk||w.charCodeAt(r.pos+1)!==h.slash;)if(r.pos++,r.pos>w.length){v("Unterminated comment",r.pos-2);return}r.pos+=2}function Ee(t){let n=w.charCodeAt(r.pos+=t);if(r.pos=h.digit0&&t<=h.digit9){Rt(!0);return}t===h.dot&&w.charCodeAt(r.pos+2)===h.dot?(r.pos+=3,J(e.ellipsis)):(++r.pos,J(e.dot))}function je(){w.charCodeAt(r.pos+1)===h.equalsTo?Pe(e.assign,2):Pe(e.slash,1)}function Ue(t){let n=t===h.asterisk?e.star:e.modulo,s=1,c=w.charCodeAt(r.pos+1);t===h.asterisk&&c===h.asterisk&&(s++,c=w.charCodeAt(r.pos+2),n=e.exponent),c===h.equalsTo&&w.charCodeAt(r.pos+2)!==h.greaterThan&&(s++,n=e.assign),Pe(n,s)}function ze(t){const n=w.charCodeAt(r.pos+1);if(n===t){w.charCodeAt(r.pos+2)===h.equalsTo?Pe(e.assign,3):Pe(t===h.verticalBar?e.logicalOR:e.logicalAND,2);return}if(t===h.verticalBar){if(n===h.greaterThan){Pe(e.pipeline,2);return}else if(n===h.rightCurlyBrace&&j){Pe(e.braceBarR,2);return}}if(n===h.equalsTo){Pe(e.assign,2);return}Pe(t===h.verticalBar?e.bitwiseOR:e.bitwiseAND,1)}function at(){w.charCodeAt(r.pos+1)===h.equalsTo?Pe(e.assign,2):Pe(e.bitwiseXOR,1)}function gt(t){const n=w.charCodeAt(r.pos+1);if(n===t){Pe(e.preIncDec,2);return}n===h.equalsTo?Pe(e.assign,2):t===h.plusSign?Pe(e.plus,1):Pe(e.minus,1)}function bt(){const t=w.charCodeAt(r.pos+1);if(t===h.lessThan){if(w.charCodeAt(r.pos+2)===h.equalsTo){Pe(e.assign,3);return}r.isType?Pe(e.lessThan,1):Pe(e.bitShiftL,2);return}t===h.equalsTo?Pe(e.relationalOrEqual,2):Pe(e.lessThan,1)}function _t(){if(r.isType){Pe(e.greaterThan,1);return}const t=w.charCodeAt(r.pos+1);if(t===h.greaterThan){const n=w.charCodeAt(r.pos+2)===h.greaterThan?3:2;if(w.charCodeAt(r.pos+n)===h.equalsTo){Pe(e.assign,n+1);return}Pe(e.bitShiftR,n);return}t===h.equalsTo?Pe(e.relationalOrEqual,2):Pe(e.greaterThan,1)}function qt(){r.type===e.greaterThan&&(r.pos-=1,_t())}function nt(t){const n=w.charCodeAt(r.pos+1);if(n===h.equalsTo){Pe(e.equality,w.charCodeAt(r.pos+2)===h.equalsTo?3:2);return}if(t===h.equalsTo&&n===h.greaterThan){r.pos+=2,J(e.arrow);return}Pe(t===h.equalsTo?e.eq:e.bang,1)}function Xt(){const t=w.charCodeAt(r.pos+1),n=w.charCodeAt(r.pos+2);t===h.questionMark&&!(j&&r.isType)?n===h.equalsTo?Pe(e.assign,3):Pe(e.nullishCoalescing,2):t===h.dot&&!(n>=h.digit0&&n<=h.digit9)?(r.pos+=2,J(e.questionDot)):(++r.pos,J(e.question))}function zt(t){switch(t){case h.numberSign:++r.pos,J(e.hash);return;case h.dot:Ge();return;case h.leftParenthesis:++r.pos,J(e.parenL);return;case h.rightParenthesis:++r.pos,J(e.parenR);return;case h.semicolon:++r.pos,J(e.semi);return;case h.comma:++r.pos,J(e.comma);return;case h.leftSquareBracket:++r.pos,J(e.bracketL);return;case h.rightSquareBracket:++r.pos,J(e.bracketR);return;case h.leftCurlyBrace:j&&w.charCodeAt(r.pos+1)===h.verticalBar?Pe(e.braceBarL,2):(++r.pos,J(e.braceL));return;case h.rightCurlyBrace:++r.pos,J(e.braceR);return;case h.colon:w.charCodeAt(r.pos+1)===h.colon?Pe(e.doubleColon,2):(++r.pos,J(e.colon));return;case h.questionMark:Xt();return;case h.atSign:++r.pos,J(e.at);return;case h.graveAccent:++r.pos,J(e.backQuote);return;case h.digit0:{const n=w.charCodeAt(r.pos+1);if(n===h.lowercaseX||n===h.uppercaseX||n===h.lowercaseO||n===h.uppercaseO||n===h.lowercaseB||n===h.uppercaseB){yt();return}}case h.digit1:case h.digit2:case h.digit3:case h.digit4:case h.digit5:case h.digit6:case h.digit7:case h.digit8:case h.digit9:Rt(!1);return;case h.quotationMark:case h.apostrophe:pn(t);return;case h.slash:je();return;case h.percentSign:case h.asterisk:Ue(t);return;case h.verticalBar:case h.ampersand:ze(t);return;case h.caret:at();return;case h.plusSign:case h.dash:gt(t);return;case h.lessThan:bt();return;case h.greaterThan:_t();return;case h.equalsTo:case h.exclamationMark:nt(t);return;case h.tilde:Pe(e.tilde,1);return;default:break}v(`Unexpected character '${String.fromCharCode(t)}'`,r.pos)}function Pe(t,n){r.pos+=n,J(t)}function hn(){const t=r.pos;let n=!1,s=!1;for(;;){if(r.pos>=w.length){v("Unterminated regular expression",t);return}const c=w.charCodeAt(r.pos);if(n)n=!1;else{if(c===h.leftSquareBracket)s=!0;else if(c===h.rightSquareBracket&&s)s=!1;else if(c===h.slash&&!s)break;n=c===h.backslash}++r.pos}++r.pos,dn(),J(e.regexp)}function Nt(){for(;;){const t=w.charCodeAt(r.pos);if(t>=h.digit0&&t<=h.digit9||t===h.underscore)r.pos++;else break}}function yt(){for(r.pos+=2;;){const n=w.charCodeAt(r.pos);if(n>=h.digit0&&n<=h.digit9||n>=h.lowercaseA&&n<=h.lowercaseF||n>=h.uppercaseA&&n<=h.uppercaseF||n===h.underscore)r.pos++;else break}w.charCodeAt(r.pos)===h.lowercaseN?(++r.pos,J(e.bigint)):J(e.num)}function Rt(t){let n=!1,s=!1;t||Nt();let c=w.charCodeAt(r.pos);if(c===h.dot&&(++r.pos,Nt(),c=w.charCodeAt(r.pos)),(c===h.uppercaseE||c===h.lowercaseE)&&(c=w.charCodeAt(++r.pos),(c===h.plusSign||c===h.dash)&&++r.pos,Nt(),c=w.charCodeAt(r.pos)),c===h.lowercaseN?(++r.pos,n=!0):c===h.lowercaseM&&(++r.pos,s=!0),n){J(e.bigint);return}if(s){J(e.decimal);return}J(e.num)}function pn(t){for(r.pos++;;){if(r.pos>=w.length){v("Unterminated string constant");return}const n=w.charCodeAt(r.pos);if(n===h.backslash)r.pos++;else if(n===t)break;r.pos++}r.pos++,J(e.string)}function mn(){for(;;){if(r.pos>=w.length){v("Unterminated template");return}const t=w.charCodeAt(r.pos);if(t===h.graveAccent||t===h.dollarSign&&w.charCodeAt(r.pos+1)===h.leftCurlyBrace){if(r.pos===r.start&&o(e.template))if(t===h.dollarSign){r.pos+=2,J(e.dollarBraceL);return}else{++r.pos,J(e.backQuote);return}J(e.template);return}t===h.backslash&&r.pos++,r.pos++}}function dn(){for(;r.pos"],["nbsp","\xA0"],["iexcl","\xA1"],["cent","\xA2"],["pound","\xA3"],["curren","\xA4"],["yen","\xA5"],["brvbar","\xA6"],["sect","\xA7"],["uml","\xA8"],["copy","\xA9"],["ordf","\xAA"],["laquo","\xAB"],["not","\xAC"],["shy","\xAD"],["reg","\xAE"],["macr","\xAF"],["deg","\xB0"],["plusmn","\xB1"],["sup2","\xB2"],["sup3","\xB3"],["acute","\xB4"],["micro","\xB5"],["para","\xB6"],["middot","\xB7"],["cedil","\xB8"],["sup1","\xB9"],["ordm","\xBA"],["raquo","\xBB"],["frac14","\xBC"],["frac12","\xBD"],["frac34","\xBE"],["iquest","\xBF"],["Agrave","\xC0"],["Aacute","\xC1"],["Acirc","\xC2"],["Atilde","\xC3"],["Auml","\xC4"],["Aring","\xC5"],["AElig","\xC6"],["Ccedil","\xC7"],["Egrave","\xC8"],["Eacute","\xC9"],["Ecirc","\xCA"],["Euml","\xCB"],["Igrave","\xCC"],["Iacute","\xCD"],["Icirc","\xCE"],["Iuml","\xCF"],["ETH","\xD0"],["Ntilde","\xD1"],["Ograve","\xD2"],["Oacute","\xD3"],["Ocirc","\xD4"],["Otilde","\xD5"],["Ouml","\xD6"],["times","\xD7"],["Oslash","\xD8"],["Ugrave","\xD9"],["Uacute","\xDA"],["Ucirc","\xDB"],["Uuml","\xDC"],["Yacute","\xDD"],["THORN","\xDE"],["szlig","\xDF"],["agrave","\xE0"],["aacute","\xE1"],["acirc","\xE2"],["atilde","\xE3"],["auml","\xE4"],["aring","\xE5"],["aelig","\xE6"],["ccedil","\xE7"],["egrave","\xE8"],["eacute","\xE9"],["ecirc","\xEA"],["euml","\xEB"],["igrave","\xEC"],["iacute","\xED"],["icirc","\xEE"],["iuml","\xEF"],["eth","\xF0"],["ntilde","\xF1"],["ograve","\xF2"],["oacute","\xF3"],["ocirc","\xF4"],["otilde","\xF5"],["ouml","\xF6"],["divide","\xF7"],["oslash","\xF8"],["ugrave","\xF9"],["uacute","\xFA"],["ucirc","\xFB"],["uuml","\xFC"],["yacute","\xFD"],["thorn","\xFE"],["yuml","\xFF"],["OElig","\u0152"],["oelig","\u0153"],["Scaron","\u0160"],["scaron","\u0161"],["Yuml","\u0178"],["fnof","\u0192"],["circ","\u02C6"],["tilde","\u02DC"],["Alpha","\u0391"],["Beta","\u0392"],["Gamma","\u0393"],["Delta","\u0394"],["Epsilon","\u0395"],["Zeta","\u0396"],["Eta","\u0397"],["Theta","\u0398"],["Iota","\u0399"],["Kappa","\u039A"],["Lambda","\u039B"],["Mu","\u039C"],["Nu","\u039D"],["Xi","\u039E"],["Omicron","\u039F"],["Pi","\u03A0"],["Rho","\u03A1"],["Sigma","\u03A3"],["Tau","\u03A4"],["Upsilon","\u03A5"],["Phi","\u03A6"],["Chi","\u03A7"],["Psi","\u03A8"],["Omega","\u03A9"],["alpha","\u03B1"],["beta","\u03B2"],["gamma","\u03B3"],["delta","\u03B4"],["epsilon","\u03B5"],["zeta","\u03B6"],["eta","\u03B7"],["theta","\u03B8"],["iota","\u03B9"],["kappa","\u03BA"],["lambda","\u03BB"],["mu","\u03BC"],["nu","\u03BD"],["xi","\u03BE"],["omicron","\u03BF"],["pi","\u03C0"],["rho","\u03C1"],["sigmaf","\u03C2"],["sigma","\u03C3"],["tau","\u03C4"],["upsilon","\u03C5"],["phi","\u03C6"],["chi","\u03C7"],["psi","\u03C8"],["omega","\u03C9"],["thetasym","\u03D1"],["upsih","\u03D2"],["piv","\u03D6"],["ensp","\u2002"],["emsp","\u2003"],["thinsp","\u2009"],["zwnj","\u200C"],["zwj","\u200D"],["lrm","\u200E"],["rlm","\u200F"],["ndash","\u2013"],["mdash","\u2014"],["lsquo","\u2018"],["rsquo","\u2019"],["sbquo","\u201A"],["ldquo","\u201C"],["rdquo","\u201D"],["bdquo","\u201E"],["dagger","\u2020"],["Dagger","\u2021"],["bull","\u2022"],["hellip","\u2026"],["permil","\u2030"],["prime","\u2032"],["Prime","\u2033"],["lsaquo","\u2039"],["rsaquo","\u203A"],["oline","\u203E"],["frasl","\u2044"],["euro","\u20AC"],["image","\u2111"],["weierp","\u2118"],["real","\u211C"],["trade","\u2122"],["alefsym","\u2135"],["larr","\u2190"],["uarr","\u2191"],["rarr","\u2192"],["darr","\u2193"],["harr","\u2194"],["crarr","\u21B5"],["lArr","\u21D0"],["uArr","\u21D1"],["rArr","\u21D2"],["dArr","\u21D3"],["hArr","\u21D4"],["forall","\u2200"],["part","\u2202"],["exist","\u2203"],["empty","\u2205"],["nabla","\u2207"],["isin","\u2208"],["notin","\u2209"],["ni","\u220B"],["prod","\u220F"],["sum","\u2211"],["minus","\u2212"],["lowast","\u2217"],["radic","\u221A"],["prop","\u221D"],["infin","\u221E"],["ang","\u2220"],["and","\u2227"],["or","\u2228"],["cap","\u2229"],["cup","\u222A"],["int","\u222B"],["there4","\u2234"],["sim","\u223C"],["cong","\u2245"],["asymp","\u2248"],["ne","\u2260"],["equiv","\u2261"],["le","\u2264"],["ge","\u2265"],["sub","\u2282"],["sup","\u2283"],["nsub","\u2284"],["sube","\u2286"],["supe","\u2287"],["oplus","\u2295"],["otimes","\u2297"],["perp","\u22A5"],["sdot","\u22C5"],["lceil","\u2308"],["rceil","\u2309"],["lfloor","\u230A"],["rfloor","\u230B"],["lang","\u2329"],["rang","\u232A"],["loz","\u25CA"],["spades","\u2660"],["clubs","\u2663"],["hearts","\u2665"],["diams","\u2666"]]);function Fs(t){const[n,s]=Os(t.jsxPragma||"React.createElement"),[c,f]=Os(t.jsxFragmentPragma||"React.Fragment");return{base:n,suffix:s,fragmentBase:c,fragmentSuffix:f}}function Os(t){let n=t.indexOf(".");return n===-1&&(n=t.length),[t.slice(0,n),t.slice(n)]}class ut{getPrefixCode(){return""}getHoistedCode(){return""}getSuffixCode(){return""}}class Pt extends ut{__init(){this.lastLineNumber=1}__init2(){this.lastIndex=0}__init3(){this.filenameVarName=null}__init4(){this.esmAutomaticImportNameResolutions={}}__init5(){this.cjsAutomaticModuleNameResolutions={}}constructor(n,s,c,f,k){super(),this.rootTransformer=n,this.tokens=s,this.importProcessor=c,this.nameManager=f,this.options=k,Pt.prototype.__init.call(this),Pt.prototype.__init2.call(this),Pt.prototype.__init3.call(this),Pt.prototype.__init4.call(this),Pt.prototype.__init5.call(this),this.jsxPragmaInfo=Fs(k),this.isAutomaticRuntime=k.jsxRuntime==="automatic",this.jsxImportSource=k.jsxImportSource||"react"}process(){return this.tokens.matches1(e.jsxTagStart)?(this.processJSXTag(),!0):!1}getPrefixCode(){let n="";if(this.filenameVarName&&(n+=`const ${this.filenameVarName} = ${JSON.stringify(this.options.filePath||"")};`),this.isAutomaticRuntime)if(this.importProcessor)for(const[c,f]of Object.entries(this.cjsAutomaticModuleNameResolutions))n+=`var ${f} = require("${c}");`;else{const s=this.esmAutomaticImportNameResolutions,{createElement:c}=s,f=Ds(s,["createElement"]);c&&(n+=`import {createElement as ${c}} from "${this.jsxImportSource}";`);const k=Object.entries(f).map(([A,B])=>`${A} as ${B}`).join(", ");if(k){const A=this.jsxImportSource+(this.options.production?"/jsx-runtime":"/jsx-dev-runtime");n+=`import {${k}} from "${A}";`}}return n}processJSXTag(){const{jsxRole:n,start:s}=this.tokens.currentToken(),c=this.options.production?null:this.getElementLocationCode(s);this.isAutomaticRuntime&&n!==se.KeyAfterPropSpread?this.transformTagToJSXFunc(c,n):this.transformTagToCreateElement(c)}getElementLocationCode(n){return`lineNumber: ${this.getLineNumberForIndex(n)}`}getLineNumberForIndex(n){const s=this.tokens.code;for(;this.lastIndexI in Le?yl(Le,I,{enumerable:!0,configurable:!0,writable:!0,value:H}):Le[I]=H,J1=(Le,I)=>{for(var H in I||(I={}))X1.call(I,H)&&Y1(Le,H,I[H]);if(Mn)for(var H of Mn(I))z1.call(I,H)&&Y1(Le,H,I[H]);return Le},Q1=(Le,I)=>xl(Le,wl(I));var Ds=(Le,I)=>{var H={};for(var u in Le)X1.call(Le,u)&&I.indexOf(u)<0&&(H[u]=Le[u]);if(Le!=null&&Mn)for(var u of Mn(Le))I.indexOf(u)<0&&z1.call(Le,u)&&(H[u]=Le[u]);return H};(self.webpackChunk_rc_component_color_picker=self.webpackChunk_rc_component_color_picker||[]).push([[752],{7209:function(Le,I,H){(function(u,e){e(I,H(10335),H(89285),H(50995))})(this,function(u,e,Ie,O){"use strict";class j{constructor({file:U,sourceRoot:G}={}){this._names=new e.SetArray,this._sources=new e.SetArray,this._sourcesContent=[],this._mappings=[],this.file=U,this.sourceRoot=G,this._ignoreList=new e.SetArray}}function r($){return $}function w($,U,G,M,pe,ue,re,N){return Ae(!1,$,U,G,M,pe,ue,re,N)}function ce($,U){return de(!1,$,U)}const q=($,U,G,M,pe,ue,re,N)=>Ae(!0,$,U,G,M,pe,ue,re,N),oe=($,U)=>de(!0,$,U);function ie($,U,G){const{_sources:M,_sourcesContent:pe}=$,ue=e.put(M,U);pe[ue]=G}function ye($,U,G=!0){const{_sources:M,_sourcesContent:pe,_ignoreList:ue}=$,re=e.put(M,U);re===pe.length&&(pe[re]=null),G?e.put(ue,re):e.remove(ue,re)}function ve($){const{_mappings:U,_sources:G,_sourcesContent:M,_names:pe,_ignoreList:ue}=$;return K(U),{version:3,file:$.file||void 0,names:pe.array,sourceRoot:$.sourceRoot||void 0,sources:G.array,sourcesContent:M,mappings:U,ignoreList:ue.array}}function P($){const U=ve($);return Object.assign(Object.assign({},U),{mappings:Ie.encode(U.mappings)})}function Se($){const U=new O.TraceMap($),G=new j({file:U.file,sourceRoot:U.sourceRoot});return R(G._names,U.names),R(G._sources,U.sources),G._sourcesContent=U.sourcesContent||U.sources.map(()=>null),G._mappings=O.decodedMappings(U),U.ignoreList&&R(G._ignoreList,U.ignoreList),G}function Ce($){const U=[],{_mappings:G,_sources:M,_names:pe}=$;for(let ue=0;ue=0;G=M--){const pe=$[M];if(U>=pe[0])break}return G}function Ke($,U,G){for(let M=$.length;M>U;M--)$[M]=$[M-1];$[U]=G}function K($){const{length:U}=$;let G=U;for(let M=G-1;M>=0&&!($[M].length>0);G=M,M--);Gye&&(ye=Se)}w(ie,ye);const ve=ie.query+ie.hash;switch(ye){case 2:case 3:return ve;case 4:{const P=ie.path.slice(1);return P?C(oe||q)&&!C(P)?"./"+P+ve:P+ve:ve||"."}case 5:return ie.path+ve;default:return ie.scheme+"//"+ie.user+ie.host+ie.port+ie.path+ve}}return ce})},10335:function(Le,I){(function(H,u){u(I)})(this,function(H){"use strict";class u{constructor(){this._indexes={__proto__:null},this.array=[]}}function e(h){return h}function Ie(h,d){return h._indexes[d]}function O(h,d){const T=Ie(h,d);if(T!==void 0)return T;const{array:E,_indexes:j}=h,r=E.push(d);return j[d]=r-1}function X(h){const{array:d,_indexes:T}=h;if(d.length===0)return;const E=d.pop();T[E]=void 0}function C(h,d){const T=Ie(h,d);if(T===void 0)return;const{array:E,_indexes:j}=h;for(let r=T+1;r>>=1,$&&(m=-2147483648|-m),R+m}function T(K,R,m){let v=R-m;v=v<0?-v<<1|1:v<<1;do{let de=v&31;v>>>=5,v>0&&(de|=32),K.write(C[de])}while(v>0);return R}function E(K,R){return K.pos>=R?!1:K.peek()!==44}const j=1024*16,r=typeof TextDecoder!="undefined"?new TextDecoder:typeof u!="undefined"?{decode(K){return u.from(K.buffer,K.byteOffset,K.byteLength).toString()}}:{decode(K){let R="";for(let m=0;m0?m+r.decode(R.subarray(0,v)):m}}class ce{constructor(R){this.pos=0,this.buffer=R}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(R){const{buffer:m,pos:v}=this,de=m.indexOf(R,v);return de===-1?m.length:de}}const q=[];function oe(K){const{length:R}=K,m=new ce(K),v=[],de=[];let $=0;for(;m.pos0&&m.write(44),v[0]=T(m,$,v[0]),T(m,U,0),T(m,pe,0);const re=de.length===6?1:0;T(m,re,0),de.length===6&&T(m,de[5],0);for(const N of ue)T(m,N,0);for(R++;RG||se===G&&Ne>=M)break;R=ye(K,R,m,v)}return m.write(44),v[0]=T(m,G,v[0]),T(m,M,0),R}function ve(K){const{length:R}=K,m=new ce(K),v=[],de=[];let $=0,U=0,G=0,M=0,pe=0,ue=0,re=0,N=0;do{const se=m.indexOf(";");let Ne=0;for(;m.posme;Q--){const te=re;re=d(m,re),N=d(m,re===te?N:0);const x=d(m,0);Re.push([x,re,N])}}else Re=[[me]];ae.push(Re)}while(E(m,se))}_.bindings=ae,v.push(_),de.push(_)}$++,m.pos=se+1}while(m.pos0&&m.write(44),v[1]=T(m,de[1],v[1]);const N=(de.length===6?1:0)|(ue?2:0)|(pe?4:0);if(T(m,N,0),de.length===6){const{4:se,5:Ne}=de;se!==v[2]&&(v[3]=0),v[2]=T(m,se,v[2]),v[3]=T(m,Ne,v[3])}if(ue){const{0:se,1:Ne,2:b}=de.callsite;se!==v[4]?(v[5]=0,v[6]=0):Ne!==v[5]&&(v[6]=0),v[4]=T(m,se,v[4]),v[5]=T(m,Ne,v[5]),v[6]=T(m,b,v[6])}if(re)for(const se of re){se.length>1&&T(m,-se.length,0);const Ne=se[0][0];T(m,Ne,0);let b=$,S=U;for(let L=1;LG||Ne===G&&b>=M)break;R=Se(K,R,m,v)}return v[0]0&&R.write(59),G.length===0)continue;let M=0;for(let pe=0;pe0&&R.write(44),M=T(R,ue[0],M),ue.length!==1&&(m=T(R,ue[1],m),v=T(R,ue[2],v),de=T(R,ue[3],de),ue.length!==4&&($=T(R,ue[4],$)))}}return R.flush()}e.decode=Ae,e.decodeGeneratedRanges=ve,e.decodeOriginalScopes=oe,e.encode=Ke,e.encodeGeneratedRanges=P,e.encodeOriginalScopes=ie,Object.defineProperty(e,"__esModule",{value:!0})})},50995:function(Le,I,H){(function(u,e){e(I,H(89285),H(90326))})(this,function(u,e,Ie){"use strict";function O(l,p){return p&&!p.endsWith("/")&&(p+="/"),Ie(l,p)}function X(l){if(!l)return"";const p=l.lastIndexOf("/");return l.slice(0,p+1)}const C=0,h=1,d=2,T=3,E=4,j=1,r=2;function w(l,p){const g=ce(l,0);if(g===l.length)return l;p||(l=l.slice());for(let y=g;y>1),W=l[Y][C]-p;if(W===0)return ye=!0,Y;W<0?g=Y+1:y=Y-1}return ye=!1,g-1}function P(l,p,g){for(let y=g+1;y=0&&l[y][C]===p;g=y--);return g}function Ce(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function Ae(l,p,g,y){const{lastKey:Y,lastNeedle:W,lastIndex:he}=g;let Ee=0,le=l.length-1;if(y===Y){if(p===W)return ye=he!==-1&&l[he][C]===p,he;p>=W?Ee=he===-1?0:he:le=he}return g.lastKey=y,g.lastNeedle=p,g.lastIndex=ve(l,p,Ee,le)}function Fe(l,p){const g=p.map(Ke);for(let y=0;yp;y--)l[y]=l[y-1];l[p]=g}function Ke(){return{__proto__:null}}const K=function(l,p){const g=R(l);if(!("sections"in g))return new ue(g,p);const y=[],Y=[],W=[],he=[],Ee=[];m(g,p,y,Y,W,he,Ee,0,0,1/0,1/0);const le={version:3,file:g.file,names:he,sources:Y,sourcesContent:W,mappings:y,ignoreList:Ee};return me(le)};function R(l){return typeof l=="string"?JSON.parse(l):l}function m(l,p,g,y,Y,W,he,Ee,le,J,Ge){const{sections:je}=l;for(let Ue=0;UeJ)return;const zt=$(g,Xt),Pe=nt===0?le:0,hn=gt[nt];for(let Nt=0;Nt=Ge)return;if(yt.length===1){zt.push([Rt]);continue}const pn=ze+yt[h],mn=yt[d],dn=yt[T];zt.push(yt.length===4?[Rt,pn,mn,dn]:[Rt,pn,mn,dn,at+yt[E]])}}}function de(l,p){for(let g=0;gO(ze||"",je));const{mappings:Ue}=Y;typeof Ue=="string"?(this._encoded=Ue,this._decoded=void 0):(this._encoded=void 0,this._decoded=w(Ue,y)),this._decodedMemo=Ce(),this._bySources=void 0,this._bySourceMemos=void 0}}function re(l){return l}function N(l){var p,g;return(p=(g=l)._encoded)!==null&&p!==void 0?p:g._encoded=e.encode(l._decoded)}function se(l){var p;return(p=l)._decoded||(p._decoded=e.decode(l._encoded))}function Ne(l,p,g){const y=se(l);if(p>=y.length)return null;const Y=y[p],W=o(Y,l._decodedMemo,p,g,pe);return W===-1?null:Y[W]}function b(l,p){let{line:g,column:y,bias:Y}=p;if(g--,g<0)throw new Error(U);if(y<0)throw new Error(G);const W=se(l);if(g>=W.length)return x(null,null,null,null);const he=W[g],Ee=o(he,l._decodedMemo,g,y,Y||pe);if(Ee===-1)return x(null,null,null,null);const le=he[Ee];if(le.length===1)return x(null,null,null,null);const{names:J,resolvedSources:Ge}=l;return x(Ge[le[h]],le[d]+1,le[T],le.length===5?J[le[E]]:null)}function S(l,p){const{source:g,line:y,column:Y,bias:W}=p;return a(l,g,y,Y,W||pe,!1)}function L(l,p){const{source:g,line:y,column:Y,bias:W}=p;return a(l,g,y,Y,W||M,!0)}function D(l,p){const g=se(l),{names:y,resolvedSources:Y}=l;for(let W=0;W";case e.template:return"template";case e.ellipsis:return"...";case e.backQuote:return"`";case e.dollarBraceL:return"${";case e.at:return"@";case e.hash:return"#";case e.eq:return"=";case e.assign:return"_=";case e.preIncDec:return"++/--";case e.postIncDec:return"++/--";case e.bang:return"!";case e.tilde:return"~";case e.pipeline:return"|>";case e.nullishCoalescing:return"??";case e.logicalOR:return"||";case e.logicalAND:return"&&";case e.bitwiseOR:return"|";case e.bitwiseXOR:return"^";case e.bitwiseAND:return"&";case e.equality:return"==/!=";case e.lessThan:return"<";case e.greaterThan:return">";case e.relationalOrEqual:return"<=/>=";case e.bitShiftL:return"<<";case e.bitShiftR:return">>/>>>";case e.plus:return"+";case e.minus:return"-";case e.modulo:return"%";case e.star:return"*";case e.slash:return"/";case e.exponent:return"**";case e.jsxName:return"jsxName";case e.jsxText:return"jsxText";case e.jsxEmptyText:return"jsxEmptyText";case e.jsxTagStart:return"jsxTagStart";case e.jsxTagEnd:return"jsxTagEnd";case e.typeParameterStart:return"typeParameterStart";case e.nonNullAssertion:return"nonNullAssertion";case e._break:return"break";case e._case:return"case";case e._catch:return"catch";case e._continue:return"continue";case e._debugger:return"debugger";case e._default:return"default";case e._do:return"do";case e._else:return"else";case e._finally:return"finally";case e._for:return"for";case e._function:return"function";case e._if:return"if";case e._return:return"return";case e._switch:return"switch";case e._throw:return"throw";case e._try:return"try";case e._var:return"var";case e._let:return"let";case e._const:return"const";case e._while:return"while";case e._with:return"with";case e._new:return"new";case e._this:return"this";case e._super:return"super";case e._class:return"class";case e._extends:return"extends";case e._export:return"export";case e._import:return"import";case e._yield:return"yield";case e._null:return"null";case e._true:return"true";case e._false:return"false";case e._in:return"in";case e._instanceof:return"instanceof";case e._typeof:return"typeof";case e._void:return"void";case e._delete:return"delete";case e._async:return"async";case e._get:return"get";case e._set:return"set";case e._declare:return"declare";case e._readonly:return"readonly";case e._abstract:return"abstract";case e._static:return"static";case e._public:return"public";case e._private:return"private";case e._protected:return"protected";case e._override:return"override";case e._as:return"as";case e._enum:return"enum";case e._type:return"type";case e._implements:return"implements";default:return""}}class O{constructor(n,s,c){this.startTokenIndex=n,this.endTokenIndex=s,this.isFunctionScope=c}}class X{constructor(n,s,c,f,k,A,B,ee,fe,be,ge,ne,we){this.potentialArrowAt=n,this.noAnonFunctionType=s,this.inDisallowConditionalTypesContext=c,this.tokensLength=f,this.scopesLength=k,this.pos=A,this.type=B,this.contextualKeyword=ee,this.start=fe,this.end=be,this.isType=ge,this.scopeDepth=ne,this.error=we}}class C{constructor(){C.prototype.__init.call(this),C.prototype.__init2.call(this),C.prototype.__init3.call(this),C.prototype.__init4.call(this),C.prototype.__init5.call(this),C.prototype.__init6.call(this),C.prototype.__init7.call(this),C.prototype.__init8.call(this),C.prototype.__init9.call(this),C.prototype.__init10.call(this),C.prototype.__init11.call(this),C.prototype.__init12.call(this),C.prototype.__init13.call(this)}__init(){this.potentialArrowAt=-1}__init2(){this.noAnonFunctionType=!1}__init3(){this.inDisallowConditionalTypesContext=!1}__init4(){this.tokens=[]}__init5(){this.scopes=[]}__init6(){this.pos=0}__init7(){this.type=e.eof}__init8(){this.contextualKeyword=u.NONE}__init9(){this.start=0}__init10(){this.end=0}__init11(){this.isType=!1}__init12(){this.scopeDepth=0}__init13(){this.error=null}snapshot(){return new X(this.potentialArrowAt,this.noAnonFunctionType,this.inDisallowConditionalTypesContext,this.tokens.length,this.scopes.length,this.pos,this.type,this.contextualKeyword,this.start,this.end,this.isType,this.scopeDepth,this.error)}restoreFromSnapshot(n){this.potentialArrowAt=n.potentialArrowAt,this.noAnonFunctionType=n.noAnonFunctionType,this.inDisallowConditionalTypesContext=n.inDisallowConditionalTypesContext,this.tokens.length=n.tokensLength,this.scopes.length=n.scopesLength,this.pos=n.pos,this.type=n.type,this.contextualKeyword=n.contextualKeyword,this.start=n.start,this.end=n.end,this.isType=n.isType,this.scopeDepth=n.scopeDepth,this.error=n.error}}var h;(function(t){t[t.backSpace=8]="backSpace";const s=10;t[t.lineFeed=s]="lineFeed";const c=9;t[t.tab=c]="tab";const f=13;t[t.carriageReturn=f]="carriageReturn";const k=14;t[t.shiftOut=k]="shiftOut";const A=32;t[t.space=A]="space";const B=33;t[t.exclamationMark=B]="exclamationMark";const ee=34;t[t.quotationMark=ee]="quotationMark";const fe=35;t[t.numberSign=fe]="numberSign";const be=36;t[t.dollarSign=be]="dollarSign";const ge=37;t[t.percentSign=ge]="percentSign";const ne=38;t[t.ampersand=ne]="ampersand";const we=39;t[t.apostrophe=we]="apostrophe";const De=40;t[t.leftParenthesis=De]="leftParenthesis";const Ze=41;t[t.rightParenthesis=Ze]="rightParenthesis";const He=42;t[t.asterisk=He]="asterisk";const et=43;t[t.plusSign=et]="plusSign";const Je=44;t[t.comma=Je]="comma";const lt=45;t[t.dash=lt]="dash";const Qe=46;t[t.dot=Qe]="dot";const vt=47;t[t.slash=vt]="slash";const wt=48;t[t.digit0=wt]="digit0";const Ct=49;t[t.digit1=Ct]="digit1";const mt=50;t[t.digit2=mt]="digit2";const dt=51;t[t.digit3=dt]="digit3";const kt=52;t[t.digit4=kt]="digit4";const It=53;t[t.digit5=It]="digit5";const Z=54;t[t.digit6=Z]="digit6";const F=55;t[t.digit7=F]="digit7";const V=56;t[t.digit8=V]="digit8";const ke=57;t[t.digit9=ke]="digit9";const Te=58;t[t.colon=Te]="colon";const _e=59;t[t.semicolon=_e]="semicolon";const Be=60;t[t.lessThan=Be]="lessThan";const Ve=61;t[t.equalsTo=Ve]="equalsTo";const We=62;t[t.greaterThan=We]="greaterThan";const st=63;t[t.questionMark=st]="questionMark";const tt=64;t[t.atSign=tt]="atSign";const ot=65;t[t.uppercaseA=ot]="uppercaseA";const Yt=66;t[t.uppercaseB=Yt]="uppercaseB";const fn=67;t[t.uppercaseC=fn]="uppercaseC";const Er=68;t[t.uppercaseD=Er]="uppercaseD";const Ar=69;t[t.uppercaseE=Ar]="uppercaseE";const Sr=70;t[t.uppercaseF=Sr]="uppercaseF";const vr=71;t[t.uppercaseG=vr]="uppercaseG";const Cr=72;t[t.uppercaseH=Cr]="uppercaseH";const Nr=73;t[t.uppercaseI=Nr]="uppercaseI";const Rr=74;t[t.uppercaseJ=Rr]="uppercaseJ";const Pr=75;t[t.uppercaseK=Pr]="uppercaseK";const Lr=76;t[t.uppercaseL=Lr]="uppercaseL";const Dr=77;t[t.uppercaseM=Dr]="uppercaseM";const Fr=78;t[t.uppercaseN=Fr]="uppercaseN";const Or=79;t[t.uppercaseO=Or]="uppercaseO";const Mr=80;t[t.uppercaseP=Mr]="uppercaseP";const Br=81;t[t.uppercaseQ=Br]="uppercaseQ";const jr=82;t[t.uppercaseR=jr]="uppercaseR";const qr=83;t[t.uppercaseS=qr]="uppercaseS";const Ur=84;t[t.uppercaseT=Ur]="uppercaseT";const $r=85;t[t.uppercaseU=$r]="uppercaseU";const Vr=86;t[t.uppercaseV=Vr]="uppercaseV";const Wr=87;t[t.uppercaseW=Wr]="uppercaseW";const Hr=88;t[t.uppercaseX=Hr]="uppercaseX";const Gr=89;t[t.uppercaseY=Gr]="uppercaseY";const Yr=90;t[t.uppercaseZ=Yr]="uppercaseZ";const Xr=91;t[t.leftSquareBracket=Xr]="leftSquareBracket";const zr=92;t[t.backslash=zr]="backslash";const Jr=93;t[t.rightSquareBracket=Jr]="rightSquareBracket";const Qr=94;t[t.caret=Qr]="caret";const Zr=95;t[t.underscore=Zr]="underscore";const Kr=96;t[t.graveAccent=Kr]="graveAccent";const es=97;t[t.lowercaseA=es]="lowercaseA";const ts=98;t[t.lowercaseB=ts]="lowercaseB";const ns=99;t[t.lowercaseC=ns]="lowercaseC";const rs=100;t[t.lowercaseD=rs]="lowercaseD";const ss=101;t[t.lowercaseE=ss]="lowercaseE";const os=102;t[t.lowercaseF=os]="lowercaseF";const is=103;t[t.lowercaseG=is]="lowercaseG";const as=104;t[t.lowercaseH=as]="lowercaseH";const cs=105;t[t.lowercaseI=cs]="lowercaseI";const ls=106;t[t.lowercaseJ=ls]="lowercaseJ";const us=107;t[t.lowercaseK=us]="lowercaseK";const fs=108;t[t.lowercaseL=fs]="lowercaseL";const hs=109;t[t.lowercaseM=hs]="lowercaseM";const ps=110;t[t.lowercaseN=ps]="lowercaseN";const ms=111;t[t.lowercaseO=ms]="lowercaseO";const ds=112;t[t.lowercaseP=ds]="lowercaseP";const ks=113;t[t.lowercaseQ=ks]="lowercaseQ";const gs=114;t[t.lowercaseR=gs]="lowercaseR";const _s=115;t[t.lowercaseS=_s]="lowercaseS";const ys=116;t[t.lowercaseT=ys]="lowercaseT";const xs=117;t[t.lowercaseU=xs]="lowercaseU";const ws=118;t[t.lowercaseV=ws]="lowercaseV";const Is=119;t[t.lowercaseW=Is]="lowercaseW";const bs=120;t[t.lowercaseX=bs]="lowercaseX";const Ts=121;t[t.lowercaseY=Ts]="lowercaseY";const Es=122;t[t.lowercaseZ=Es]="lowercaseZ";const As=123;t[t.leftCurlyBrace=As]="leftCurlyBrace";const Ss=124;t[t.verticalBar=Ss]="verticalBar";const vs=125;t[t.rightCurlyBrace=vs]="rightCurlyBrace";const Cs=126;t[t.tilde=Cs]="tilde";const Ns=160;t[t.nonBreakingSpace=Ns]="nonBreakingSpace";const Rs=5760;t[t.oghamSpaceMark=Rs]="oghamSpaceMark";const Ps=8232;t[t.lineSeparator=Ps]="lineSeparator";const Ls=8233;t[t.paragraphSeparator=Ls]="paragraphSeparator"})(h||(h={}));function d(t){return t>=h.digit0&&t<=h.digit9||t>=h.lowercaseA&&t<=h.lowercaseF||t>=h.uppercaseA&&t<=h.uppercaseF}let T,E,j,r,w,ce;function q(){return ce++}function oe(t){if("pos"in t){const n=ye(t.pos);t.message+=` (${n.line}:${n.column})`,t.loc=n}return t}class ie{constructor(n,s){this.line=n,this.column=s}}function ye(t){let n=1,s=1;for(let c=0;ch.lowercaseZ));){const f=ue[t+(n-h.lowercaseA)+1];if(f===-1)break;t=f,s++}const c=ue[t];if(c>-1&&!M[n]){r.pos=s,c&1?J(c>>>1):J(e.name,c>>>1);return}for(;s=w.length){const t=r.tokens;t.length>=2&&t[t.length-1].start>=w.length&&t[t.length-2].start>=w.length&&v("Unexpectedly reached the end of input."),J(e.eof);return}W(w.charCodeAt(r.pos))}function W(t){pe[t]||t===h.backslash||t===h.atSign&&w.charCodeAt(r.pos+1)===h.atSign?re():zt(t)}function he(){for(;w.charCodeAt(r.pos)!==h.asterisk||w.charCodeAt(r.pos+1)!==h.slash;)if(r.pos++,r.pos>w.length){v("Unterminated comment",r.pos-2);return}r.pos+=2}function Ee(t){let n=w.charCodeAt(r.pos+=t);if(r.pos=h.digit0&&t<=h.digit9){Rt(!0);return}t===h.dot&&w.charCodeAt(r.pos+2)===h.dot?(r.pos+=3,J(e.ellipsis)):(++r.pos,J(e.dot))}function je(){w.charCodeAt(r.pos+1)===h.equalsTo?Pe(e.assign,2):Pe(e.slash,1)}function Ue(t){let n=t===h.asterisk?e.star:e.modulo,s=1,c=w.charCodeAt(r.pos+1);t===h.asterisk&&c===h.asterisk&&(s++,c=w.charCodeAt(r.pos+2),n=e.exponent),c===h.equalsTo&&w.charCodeAt(r.pos+2)!==h.greaterThan&&(s++,n=e.assign),Pe(n,s)}function ze(t){const n=w.charCodeAt(r.pos+1);if(n===t){w.charCodeAt(r.pos+2)===h.equalsTo?Pe(e.assign,3):Pe(t===h.verticalBar?e.logicalOR:e.logicalAND,2);return}if(t===h.verticalBar){if(n===h.greaterThan){Pe(e.pipeline,2);return}else if(n===h.rightCurlyBrace&&j){Pe(e.braceBarR,2);return}}if(n===h.equalsTo){Pe(e.assign,2);return}Pe(t===h.verticalBar?e.bitwiseOR:e.bitwiseAND,1)}function at(){w.charCodeAt(r.pos+1)===h.equalsTo?Pe(e.assign,2):Pe(e.bitwiseXOR,1)}function gt(t){const n=w.charCodeAt(r.pos+1);if(n===t){Pe(e.preIncDec,2);return}n===h.equalsTo?Pe(e.assign,2):t===h.plusSign?Pe(e.plus,1):Pe(e.minus,1)}function bt(){const t=w.charCodeAt(r.pos+1);if(t===h.lessThan){if(w.charCodeAt(r.pos+2)===h.equalsTo){Pe(e.assign,3);return}r.isType?Pe(e.lessThan,1):Pe(e.bitShiftL,2);return}t===h.equalsTo?Pe(e.relationalOrEqual,2):Pe(e.lessThan,1)}function _t(){if(r.isType){Pe(e.greaterThan,1);return}const t=w.charCodeAt(r.pos+1);if(t===h.greaterThan){const n=w.charCodeAt(r.pos+2)===h.greaterThan?3:2;if(w.charCodeAt(r.pos+n)===h.equalsTo){Pe(e.assign,n+1);return}Pe(e.bitShiftR,n);return}t===h.equalsTo?Pe(e.relationalOrEqual,2):Pe(e.greaterThan,1)}function qt(){r.type===e.greaterThan&&(r.pos-=1,_t())}function nt(t){const n=w.charCodeAt(r.pos+1);if(n===h.equalsTo){Pe(e.equality,w.charCodeAt(r.pos+2)===h.equalsTo?3:2);return}if(t===h.equalsTo&&n===h.greaterThan){r.pos+=2,J(e.arrow);return}Pe(t===h.equalsTo?e.eq:e.bang,1)}function Xt(){const t=w.charCodeAt(r.pos+1),n=w.charCodeAt(r.pos+2);t===h.questionMark&&!(j&&r.isType)?n===h.equalsTo?Pe(e.assign,3):Pe(e.nullishCoalescing,2):t===h.dot&&!(n>=h.digit0&&n<=h.digit9)?(r.pos+=2,J(e.questionDot)):(++r.pos,J(e.question))}function zt(t){switch(t){case h.numberSign:++r.pos,J(e.hash);return;case h.dot:Ge();return;case h.leftParenthesis:++r.pos,J(e.parenL);return;case h.rightParenthesis:++r.pos,J(e.parenR);return;case h.semicolon:++r.pos,J(e.semi);return;case h.comma:++r.pos,J(e.comma);return;case h.leftSquareBracket:++r.pos,J(e.bracketL);return;case h.rightSquareBracket:++r.pos,J(e.bracketR);return;case h.leftCurlyBrace:j&&w.charCodeAt(r.pos+1)===h.verticalBar?Pe(e.braceBarL,2):(++r.pos,J(e.braceL));return;case h.rightCurlyBrace:++r.pos,J(e.braceR);return;case h.colon:w.charCodeAt(r.pos+1)===h.colon?Pe(e.doubleColon,2):(++r.pos,J(e.colon));return;case h.questionMark:Xt();return;case h.atSign:++r.pos,J(e.at);return;case h.graveAccent:++r.pos,J(e.backQuote);return;case h.digit0:{const n=w.charCodeAt(r.pos+1);if(n===h.lowercaseX||n===h.uppercaseX||n===h.lowercaseO||n===h.uppercaseO||n===h.lowercaseB||n===h.uppercaseB){yt();return}}case h.digit1:case h.digit2:case h.digit3:case h.digit4:case h.digit5:case h.digit6:case h.digit7:case h.digit8:case h.digit9:Rt(!1);return;case h.quotationMark:case h.apostrophe:pn(t);return;case h.slash:je();return;case h.percentSign:case h.asterisk:Ue(t);return;case h.verticalBar:case h.ampersand:ze(t);return;case h.caret:at();return;case h.plusSign:case h.dash:gt(t);return;case h.lessThan:bt();return;case h.greaterThan:_t();return;case h.equalsTo:case h.exclamationMark:nt(t);return;case h.tilde:Pe(e.tilde,1);return;default:break}v(`Unexpected character '${String.fromCharCode(t)}'`,r.pos)}function Pe(t,n){r.pos+=n,J(t)}function hn(){const t=r.pos;let n=!1,s=!1;for(;;){if(r.pos>=w.length){v("Unterminated regular expression",t);return}const c=w.charCodeAt(r.pos);if(n)n=!1;else{if(c===h.leftSquareBracket)s=!0;else if(c===h.rightSquareBracket&&s)s=!1;else if(c===h.slash&&!s)break;n=c===h.backslash}++r.pos}++r.pos,dn(),J(e.regexp)}function Nt(){for(;;){const t=w.charCodeAt(r.pos);if(t>=h.digit0&&t<=h.digit9||t===h.underscore)r.pos++;else break}}function yt(){for(r.pos+=2;;){const n=w.charCodeAt(r.pos);if(n>=h.digit0&&n<=h.digit9||n>=h.lowercaseA&&n<=h.lowercaseF||n>=h.uppercaseA&&n<=h.uppercaseF||n===h.underscore)r.pos++;else break}w.charCodeAt(r.pos)===h.lowercaseN?(++r.pos,J(e.bigint)):J(e.num)}function Rt(t){let n=!1,s=!1;t||Nt();let c=w.charCodeAt(r.pos);if(c===h.dot&&(++r.pos,Nt(),c=w.charCodeAt(r.pos)),(c===h.uppercaseE||c===h.lowercaseE)&&(c=w.charCodeAt(++r.pos),(c===h.plusSign||c===h.dash)&&++r.pos,Nt(),c=w.charCodeAt(r.pos)),c===h.lowercaseN?(++r.pos,n=!0):c===h.lowercaseM&&(++r.pos,s=!0),n){J(e.bigint);return}if(s){J(e.decimal);return}J(e.num)}function pn(t){for(r.pos++;;){if(r.pos>=w.length){v("Unterminated string constant");return}const n=w.charCodeAt(r.pos);if(n===h.backslash)r.pos++;else if(n===t)break;r.pos++}r.pos++,J(e.string)}function mn(){for(;;){if(r.pos>=w.length){v("Unterminated template");return}const t=w.charCodeAt(r.pos);if(t===h.graveAccent||t===h.dollarSign&&w.charCodeAt(r.pos+1)===h.leftCurlyBrace){if(r.pos===r.start&&o(e.template))if(t===h.dollarSign){r.pos+=2,J(e.dollarBraceL);return}else{++r.pos,J(e.backQuote);return}J(e.template);return}t===h.backslash&&r.pos++,r.pos++}}function dn(){for(;r.pos"],["nbsp","\xA0"],["iexcl","\xA1"],["cent","\xA2"],["pound","\xA3"],["curren","\xA4"],["yen","\xA5"],["brvbar","\xA6"],["sect","\xA7"],["uml","\xA8"],["copy","\xA9"],["ordf","\xAA"],["laquo","\xAB"],["not","\xAC"],["shy","\xAD"],["reg","\xAE"],["macr","\xAF"],["deg","\xB0"],["plusmn","\xB1"],["sup2","\xB2"],["sup3","\xB3"],["acute","\xB4"],["micro","\xB5"],["para","\xB6"],["middot","\xB7"],["cedil","\xB8"],["sup1","\xB9"],["ordm","\xBA"],["raquo","\xBB"],["frac14","\xBC"],["frac12","\xBD"],["frac34","\xBE"],["iquest","\xBF"],["Agrave","\xC0"],["Aacute","\xC1"],["Acirc","\xC2"],["Atilde","\xC3"],["Auml","\xC4"],["Aring","\xC5"],["AElig","\xC6"],["Ccedil","\xC7"],["Egrave","\xC8"],["Eacute","\xC9"],["Ecirc","\xCA"],["Euml","\xCB"],["Igrave","\xCC"],["Iacute","\xCD"],["Icirc","\xCE"],["Iuml","\xCF"],["ETH","\xD0"],["Ntilde","\xD1"],["Ograve","\xD2"],["Oacute","\xD3"],["Ocirc","\xD4"],["Otilde","\xD5"],["Ouml","\xD6"],["times","\xD7"],["Oslash","\xD8"],["Ugrave","\xD9"],["Uacute","\xDA"],["Ucirc","\xDB"],["Uuml","\xDC"],["Yacute","\xDD"],["THORN","\xDE"],["szlig","\xDF"],["agrave","\xE0"],["aacute","\xE1"],["acirc","\xE2"],["atilde","\xE3"],["auml","\xE4"],["aring","\xE5"],["aelig","\xE6"],["ccedil","\xE7"],["egrave","\xE8"],["eacute","\xE9"],["ecirc","\xEA"],["euml","\xEB"],["igrave","\xEC"],["iacute","\xED"],["icirc","\xEE"],["iuml","\xEF"],["eth","\xF0"],["ntilde","\xF1"],["ograve","\xF2"],["oacute","\xF3"],["ocirc","\xF4"],["otilde","\xF5"],["ouml","\xF6"],["divide","\xF7"],["oslash","\xF8"],["ugrave","\xF9"],["uacute","\xFA"],["ucirc","\xFB"],["uuml","\xFC"],["yacute","\xFD"],["thorn","\xFE"],["yuml","\xFF"],["OElig","\u0152"],["oelig","\u0153"],["Scaron","\u0160"],["scaron","\u0161"],["Yuml","\u0178"],["fnof","\u0192"],["circ","\u02C6"],["tilde","\u02DC"],["Alpha","\u0391"],["Beta","\u0392"],["Gamma","\u0393"],["Delta","\u0394"],["Epsilon","\u0395"],["Zeta","\u0396"],["Eta","\u0397"],["Theta","\u0398"],["Iota","\u0399"],["Kappa","\u039A"],["Lambda","\u039B"],["Mu","\u039C"],["Nu","\u039D"],["Xi","\u039E"],["Omicron","\u039F"],["Pi","\u03A0"],["Rho","\u03A1"],["Sigma","\u03A3"],["Tau","\u03A4"],["Upsilon","\u03A5"],["Phi","\u03A6"],["Chi","\u03A7"],["Psi","\u03A8"],["Omega","\u03A9"],["alpha","\u03B1"],["beta","\u03B2"],["gamma","\u03B3"],["delta","\u03B4"],["epsilon","\u03B5"],["zeta","\u03B6"],["eta","\u03B7"],["theta","\u03B8"],["iota","\u03B9"],["kappa","\u03BA"],["lambda","\u03BB"],["mu","\u03BC"],["nu","\u03BD"],["xi","\u03BE"],["omicron","\u03BF"],["pi","\u03C0"],["rho","\u03C1"],["sigmaf","\u03C2"],["sigma","\u03C3"],["tau","\u03C4"],["upsilon","\u03C5"],["phi","\u03C6"],["chi","\u03C7"],["psi","\u03C8"],["omega","\u03C9"],["thetasym","\u03D1"],["upsih","\u03D2"],["piv","\u03D6"],["ensp","\u2002"],["emsp","\u2003"],["thinsp","\u2009"],["zwnj","\u200C"],["zwj","\u200D"],["lrm","\u200E"],["rlm","\u200F"],["ndash","\u2013"],["mdash","\u2014"],["lsquo","\u2018"],["rsquo","\u2019"],["sbquo","\u201A"],["ldquo","\u201C"],["rdquo","\u201D"],["bdquo","\u201E"],["dagger","\u2020"],["Dagger","\u2021"],["bull","\u2022"],["hellip","\u2026"],["permil","\u2030"],["prime","\u2032"],["Prime","\u2033"],["lsaquo","\u2039"],["rsaquo","\u203A"],["oline","\u203E"],["frasl","\u2044"],["euro","\u20AC"],["image","\u2111"],["weierp","\u2118"],["real","\u211C"],["trade","\u2122"],["alefsym","\u2135"],["larr","\u2190"],["uarr","\u2191"],["rarr","\u2192"],["darr","\u2193"],["harr","\u2194"],["crarr","\u21B5"],["lArr","\u21D0"],["uArr","\u21D1"],["rArr","\u21D2"],["dArr","\u21D3"],["hArr","\u21D4"],["forall","\u2200"],["part","\u2202"],["exist","\u2203"],["empty","\u2205"],["nabla","\u2207"],["isin","\u2208"],["notin","\u2209"],["ni","\u220B"],["prod","\u220F"],["sum","\u2211"],["minus","\u2212"],["lowast","\u2217"],["radic","\u221A"],["prop","\u221D"],["infin","\u221E"],["ang","\u2220"],["and","\u2227"],["or","\u2228"],["cap","\u2229"],["cup","\u222A"],["int","\u222B"],["there4","\u2234"],["sim","\u223C"],["cong","\u2245"],["asymp","\u2248"],["ne","\u2260"],["equiv","\u2261"],["le","\u2264"],["ge","\u2265"],["sub","\u2282"],["sup","\u2283"],["nsub","\u2284"],["sube","\u2286"],["supe","\u2287"],["oplus","\u2295"],["otimes","\u2297"],["perp","\u22A5"],["sdot","\u22C5"],["lceil","\u2308"],["rceil","\u2309"],["lfloor","\u230A"],["rfloor","\u230B"],["lang","\u2329"],["rang","\u232A"],["loz","\u25CA"],["spades","\u2660"],["clubs","\u2663"],["hearts","\u2665"],["diams","\u2666"]]);function Fs(t){const[n,s]=Os(t.jsxPragma||"React.createElement"),[c,f]=Os(t.jsxFragmentPragma||"React.Fragment");return{base:n,suffix:s,fragmentBase:c,fragmentSuffix:f}}function Os(t){let n=t.indexOf(".");return n===-1&&(n=t.length),[t.slice(0,n),t.slice(n)]}class ut{getPrefixCode(){return""}getHoistedCode(){return""}getSuffixCode(){return""}}class Pt extends ut{__init(){this.lastLineNumber=1}__init2(){this.lastIndex=0}__init3(){this.filenameVarName=null}__init4(){this.esmAutomaticImportNameResolutions={}}__init5(){this.cjsAutomaticModuleNameResolutions={}}constructor(n,s,c,f,k){super(),this.rootTransformer=n,this.tokens=s,this.importProcessor=c,this.nameManager=f,this.options=k,Pt.prototype.__init.call(this),Pt.prototype.__init2.call(this),Pt.prototype.__init3.call(this),Pt.prototype.__init4.call(this),Pt.prototype.__init5.call(this),this.jsxPragmaInfo=Fs(k),this.isAutomaticRuntime=k.jsxRuntime==="automatic",this.jsxImportSource=k.jsxImportSource||"react"}process(){return this.tokens.matches1(e.jsxTagStart)?(this.processJSXTag(),!0):!1}getPrefixCode(){let n="";if(this.filenameVarName&&(n+=`const ${this.filenameVarName} = ${JSON.stringify(this.options.filePath||"")};`),this.isAutomaticRuntime)if(this.importProcessor)for(const[c,f]of Object.entries(this.cjsAutomaticModuleNameResolutions))n+=`var ${f} = require("${c}");`;else{const s=this.esmAutomaticImportNameResolutions,{createElement:c}=s,f=Ds(s,["createElement"]);c&&(n+=`import {createElement as ${c}} from "${this.jsxImportSource}";`);const k=Object.entries(f).map(([A,B])=>`${A} as ${B}`).join(", ");if(k){const A=this.jsxImportSource+(this.options.production?"/jsx-runtime":"/jsx-dev-runtime");n+=`import {${k}} from "${A}";`}}return n}processJSXTag(){const{jsxRole:n,start:s}=this.tokens.currentToken(),c=this.options.production?null:this.getElementLocationCode(s);this.isAutomaticRuntime&&n!==se.KeyAfterPropSpread?this.transformTagToJSXFunc(c,n):this.transformTagToCreateElement(c)}getElementLocationCode(n){return`lineNumber: ${this.getLineNumberForIndex(n)}`}getLineNumberForIndex(n){const s=this.tokens.code;for(;this.lastIndex or > at the end of the tag.");f&&this.tokens.appendCode(`, ${f}`)}for(this.options.production||(f===null&&this.tokens.appendCode(", void 0"),this.tokens.appendCode(`, ${c}, ${this.getDevSource(n)}, this`)),this.tokens.removeInitialToken();!this.tokens.matches1(e.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}transformTagToCreateElement(n){if(this.tokens.replaceToken(this.getCreateElementInvocationCode()),this.tokens.matches1(e.jsxTagEnd))this.tokens.replaceToken(`${this.getFragmentCode()}, null`),this.processChildren(!0);else if(this.processTagIntro(),this.processPropsObjectWithDevInfo(n),!this.tokens.matches2(e.slash,e.jsxTagEnd))if(this.tokens.matches1(e.jsxTagEnd))this.tokens.removeToken(),this.processChildren(!0);else throw new Error("Expected either /> or > at the end of the tag.");for(this.tokens.removeInitialToken();!this.tokens.matches1(e.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}getJSXFuncInvocationCode(n){return this.options.production?n?this.claimAutoImportedFuncInvocation("jsxs","/jsx-runtime"):this.claimAutoImportedFuncInvocation("jsx","/jsx-runtime"):this.claimAutoImportedFuncInvocation("jsxDEV","/jsx-dev-runtime")}getCreateElementInvocationCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedFuncInvocation("createElement","");{const{jsxPragmaInfo:n}=this;return`${this.importProcessor&&this.importProcessor.getIdentifierReplacement(n.base)||n.base}${n.suffix}(`}}getFragmentCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedName("Fragment",this.options.production?"/jsx-runtime":"/jsx-dev-runtime");{const{jsxPragmaInfo:n}=this;return(this.importProcessor&&this.importProcessor.getIdentifierReplacement(n.fragmentBase)||n.fragmentBase)+n.fragmentSuffix}}claimAutoImportedFuncInvocation(n,s){const c=this.claimAutoImportedName(n,s);return this.importProcessor?`${c}.call(void 0, `:`${c}(`}claimAutoImportedName(n,s){if(this.importProcessor){const c=this.jsxImportSource+s;return this.cjsAutomaticModuleNameResolutions[c]||(this.cjsAutomaticModuleNameResolutions[c]=this.importProcessor.getFreeIdentifierForPath(c)),`${this.cjsAutomaticModuleNameResolutions[c]}.${n}`}else return this.esmAutomaticImportNameResolutions[n]||(this.esmAutomaticImportNameResolutions[n]=this.nameManager.claimFreeName(`_${n}`)),this.esmAutomaticImportNameResolutions[n]}processTagIntro(){let n=this.tokens.currentIndex()+1;for(;this.tokens.tokens[n].isType||!this.tokens.matches2AtIndex(n-1,e.jsxName,e.jsxName)&&!this.tokens.matches2AtIndex(n-1,e.greaterThan,e.jsxName)&&!this.tokens.matches1AtIndex(n,e.braceL)&&!this.tokens.matches1AtIndex(n,e.jsxTagEnd)&&!this.tokens.matches2AtIndex(n,e.slash,e.jsxTagEnd);)n++;if(n===this.tokens.currentIndex()+1){const s=this.tokens.identifierName();Ms(s)&&this.tokens.replaceToken(`'${s}'`)}for(;this.tokens.currentIndex()=h.lowercaseA&&n<=h.lowercaseZ}function K1(t){let n="",s="",c=!1,f=!1;for(let k=0;kL in I?A(I,L,{enumerable:!0,configurable:!0,writable:!0,value:b}):I[L]=b,k=(I,L)=>{for(var b in L||(L={}))h.call(L,b)&&z(I,b,L[b]);if(j)for(var b of j(L))D.call(L,b)&&z(I,b,L[b]);return I};const O=I=>e.createElement("svg",k({viewBox:"64 64 896 896"},I),e.createElement("path",{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}));var T="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNODg0IDI1NmgtNzVjLTUuMSAwLTkuOSAyLjUtMTIuOSA2LjZMNTEyIDY1NC4yIDIyNy45IDI2Mi42Yy0zLTQuMS03LjgtNi42LTEyLjktNi42aC03NWMtNi41IDAtMTAuMyA3LjQtNi41IDEyLjdsMzUyLjYgNDg2LjFjMTIuOCAxNy42IDM5IDE3LjYgNTEuNyAwbDM1Mi42LTQ4Ni4xYzMuOS01LjMuMS0xMi43LTYuNC0xMi43eiIvPjwvc3ZnPg=="},67066:function(N,C,t){"use strict";t.r(C),t.d(C,{default:function(){return w}});var e=t(21739),A=Object.defineProperty,j=Object.getOwnPropertySymbols,h=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable,z=(r,n,u)=>n in r?A(r,n,{enumerable:!0,configurable:!0,writable:!0,value:u}):r[n]=u,k=(r,n)=>{for(var u in n||(n={}))h.call(n,u)&&z(r,u,n[u]);if(j)for(var u of j(n))D.call(n,u)&&z(r,u,n[u]);return r};const O=r=>e.createElement("svg",k({viewBox:"64 64 896 896"},r),e.createElement("path",{d:"M120 230h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0 424h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm784 140H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-424H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}));var T="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNMTIwIDIzMGg0OTZjNC40IDAgOC0zLjYgOC04di01NmMwLTQuNC0zLjYtOC04LThIMTIwYy00LjQgMC04IDMuNi04IDh2NTZjMCA0LjQgMy42IDggOCA4em0wIDQyNGg0OTZjNC40IDAgOC0zLjYgOC04di01NmMwLTQuNC0zLjYtOC04LThIMTIwYy00LjQgMC04IDMuNi04IDh2NTZjMCA0LjQgMy42IDggOCA4em03ODQgMTQwSDEyMGMtNC40IDAtOCAzLjYtOCA4djU2YzAgNC40IDMuNiA4IDggOGg3ODRjNC40IDAgOC0zLjYgOC04di01NmMwLTQuNC0zLjYtOC04LTh6bTAtNDI0SDEyMGMtNC40IDAtOCAzLjYtOCA4djU2YzAgNC40IDMuNiA4IDggOGg3ODRjNC40IDAgOC0zLjYgOC04di01NmMwLTQuNC0zLjYtOC04LTh6Ii8+PC9zdmc+",I=t(10291),L=t(2738),b=t(30047),x=t(59080),g=t(19756),y=t(53307),a=t(89882),v=t(36708),M=t(57010),E=t(8943);function P(r,n){return G(r)||R(r,n)||U(r,n)||B()}function B(){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(r,n){if(r){if(typeof r=="string")return V(r,n);var u=Object.prototype.toString.call(r).slice(8,-1);if(u==="Object"&&r.constructor&&(u=r.constructor.name),u==="Map"||u==="Set")return Array.from(r);if(u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return V(r,n)}}function V(r,n){(n==null||n>r.length)&&(n=r.length);for(var u=0,Q=new Array(n);u0;return(0,e.useEffect)(function(){var W=K.replace("#","");W&&setTimeout(function(){var _=document.getElementById(decodeURIComponent(W));_&&(0,I.Z)(_.offsetTop-80,{maxDuration:300})},1)},[o,K]),e.createElement("div",{className:"dumi-default-doc-layout","data-mobile-sidebar-active":Z||void 0,onClick:function(){return i(!1)}},e.createElement(L.ql,null,e.createElement("html",{lang:n.locale.replace(/-.+$/,"")}),c.title&&e.createElement("title",null,c.title),c.title&&e.createElement("meta",{property:"og:title",content:c.title}),c.description&&e.createElement("meta",{name:"description",content:c.description}),c.description&&e.createElement("meta",{property:"og:description",content:c.description}),c.keywords&&e.createElement("meta",{name:"keywords",content:c.keywords.join(",")}),c.keywords&&c.keywords.map(function(W){return e.createElement("meta",{key:W,property:"article:tag",content:W})}),f&&e.createElement("link",{rel:"canonical",href:f+S})),e.createElement(a.Z,null),e.createElement(v.Z,null),e.createElement(g.Z,null),F&&e.createElement("div",{className:"dumi-default-doc-layout-mobile-bar"},e.createElement("button",{type:"button",className:"dumi-default-sidebar-btn",onClick:function(_){_.stopPropagation(),i(function($){return!$})}},e.createElement(O,null),n.formatMessage({id:"layout.sidebar.btn"}))),e.createElement("main",null,F&&e.createElement(M.Z,null),e.createElement(b.Z,null,e.createElement("article",null,u),e.createElement(x.Z,null),e.createElement(y.Z,null)),c.toc==="content"&&e.createElement("div",{className:"dumi-default-doc-layout-toc-wrapper"},e.createElement("h4",null,"TABLE OF CONTENTS"),e.createElement(E.Z,null))))},w=X},53140:function(N,C,t){"use strict";t.d(C,{Z:function(){return g}});var e=t(2738),A=t(21739);function j(y,a){return O(y)||k(y,a)||D(y,a)||h()}function h(){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 D(y,a){if(y){if(typeof y=="string")return z(y,a);var v=Object.prototype.toString.call(y).slice(8,-1);if(v==="Object"&&y.constructor&&(v=y.constructor.name),v==="Map"||v==="Set")return Array.from(y);if(v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v))return z(y,a)}}function z(y,a){(a==null||a>y.length)&&(a=y.length);for(var v=0,M=new Array(a);vn in r?A(r,n,{enumerable:!0,configurable:!0,writable:!0,value:u}):r[n]=u,k=(r,n)=>{for(var u in n||(n={}))h.call(n,u)&&z(r,u,n[u]);if(j)for(var u of j(n))D.call(n,u)&&z(r,u,n[u]);return r};const O=r=>e.createElement("svg",k({viewBox:"64 64 896 896"},r),e.createElement("path",{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 0 0 0 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}));var T="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNODcyIDQ3NEgyODYuOWwzNTAuMi0zMDRjNS42LTQuOSAyLjItMTQtNS4yLTE0aC04OC41Yy0zLjkgMC03LjYgMS40LTEwLjUgMy45TDE1NSA0ODcuOGEzMS45NiAzMS45NiAwIDAgMCAwIDQ4LjNMNTM1LjEgODY2YzEuNSAxLjMgMy4zIDIgNS4yIDJoOTEuNWM3LjQgMCAxMC44LTkuMiA1LjItMTRMMjg2LjkgNTUwSDg3MmM0LjQgMCA4LTMuNiA4LTh2LTYwYzAtNC40LTMuNi04LTgtOHoiLz48L3N2Zz4=",I=Object.defineProperty,L=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,g=(r,n,u)=>n in r?I(r,n,{enumerable:!0,configurable:!0,writable:!0,value:u}):r[n]=u,y=(r,n)=>{for(var u in n||(n={}))b.call(n,u)&&g(r,u,n[u]);if(L)for(var u of L(n))x.call(n,u)&&g(r,u,n[u]);return r};const a=r=>e.createElement("svg",y({viewBox:"64 64 896 896"},r),e.createElement("path",{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}),e.createElement("path",{d:"M686.7 638.6 544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}));var v="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNNTEyIDY0QzI2NC42IDY0IDY0IDI2NC42IDY0IDUxMnMyMDAuNiA0NDggNDQ4IDQ0OCA0NDgtMjAwLjYgNDQ4LTQ0OFM3NTkuNCA2NCA1MTIgNjR6bTAgODIwYy0yMDUuNCAwLTM3Mi0xNjYuNi0zNzItMzcyczE2Ni42LTM3MiAzNzItMzcyIDM3MiAxNjYuNiAzNzIgMzcyLTE2Ni42IDM3Mi0zNzIgMzcyeiIvPjxwYXRoIGQ9Ik02ODYuNyA2MzguNiA1NDQuMSA1MzUuNVYyODhjMC00LjQtMy42LTgtOC04SDQ4OGMtNC40IDAtOCAzLjYtOCA4djI3NS40YzAgMi42IDEuMiA1IDMuMyA2LjVsMTY1LjQgMTIwLjZjMy42IDIuNiA4LjYgMS44IDExLjItMS43bDI4LjYtMzljMi42LTMuNyAxLjgtOC43LTEuOC0xMS4yeiIvPjwvc3ZnPg==",M=t(79582),E=t(2738);function P(r,n){return G(r)||R(r,n)||U(r,n)||B()}function B(){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(r,n){if(r){if(typeof r=="string")return V(r,n);var u=Object.prototype.toString.call(r).slice(8,-1);if(u==="Object"&&r.constructor&&(u=r.constructor.name),u==="Map"||u==="Set")return Array.from(r);if(u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return V(r,n)}}function V(r,n){(n==null||n>r.length)&&(n=r.length);for(var u=0,Q=new Array(n);uo in l?A(l,o,{enumerable:!0,configurable:!0,writable:!0,value:f}):l[o]=f,k=(l,o)=>{for(var f in o||(o={}))h.call(o,f)&&z(l,f,o[f]);if(j)for(var f of j(o))D.call(o,f)&&z(l,f,o[f]);return l};const O=l=>e.createElement("svg",k({fillRule:"evenodd",viewBox:"64 64 896 896"},l),e.createElement("path",{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 0 1 0 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 0 1 0 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 0 1-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 0 1-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7a.169.169 0 0 1-.06-.07.12.12 0 0 1 0-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7a.199.199 0 0 1-.06-.09.12.12 0 0 1 0-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 0 1 .07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 0 1 .07 0z"}));var T="data:image/svg+xml;base64,PHN2ZyBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiPjxwYXRoIGQ9Ik03OTkuODYgMTY2LjMxYy4wMiAwIC4wNC4wMi4wOC4wNmw1Ny42OSA1Ny43Yy4wNC4wMy4wNS4wNS4wNi4wOGEuMTIuMTIgMCAwIDEgMCAuMDZjMCAuMDMtLjAyLjA1LS4wNi4wOUw1NjkuOTMgNTEybDI4Ny43IDI4Ny43Yy4wNC4wNC4wNS4wNi4wNi4wOWEuMTIuMTIgMCAwIDEgMCAuMDdjMCAuMDItLjAyLjA0LS4wNi4wOGwtNTcuNyA1Ny42OWMtLjAzLjA0LS4wNS4wNS0uMDcuMDZhLjEyLjEyIDAgMCAxLS4wNyAwYy0uMDMgMC0uMDUtLjAyLS4wOS0uMDZMNTEyIDU2OS45M2wtMjg3LjcgMjg3LjdjLS4wNC4wNC0uMDYuMDUtLjA5LjA2YS4xMi4xMiAwIDAgMS0uMDcgMGMtLjAyIDAtLjA0LS4wMi0uMDgtLjA2bC01Ny42OS01Ny43YS4xNjkuMTY5IDAgMCAxLS4wNi0uMDcuMTIuMTIgMCAwIDEgMC0uMDdjMC0uMDMuMDItLjA1LjA2LS4wOUw0NTQuMDcgNTEybC0yODcuNy0yODcuN2EuMTk5LjE5OSAwIDAgMS0uMDYtLjA5LjEyLjEyIDAgMCAxIDAtLjA3YzAtLjAyLjAyLS4wNC4wNi0uMDhsNTcuNy01Ny42OWMuMDMtLjA0LjA1LS4wNS4wNy0uMDZhLjEyLjEyIDAgMCAxIC4wNyAwYy4wMyAwIC4wNS4wMi4wOS4wNkw1MTIgNDU0LjA3bDI4Ny43LTI4Ny43Yy4wNC0uMDQuMDYtLjA1LjA5LS4wNmEuMTIuMTIgMCAwIDEgLjA3IDB6Ii8+PC9zdmc+",I=Object.defineProperty,L=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,g=(l,o,f)=>o in l?I(l,o,{enumerable:!0,configurable:!0,writable:!0,value:f}):l[o]=f,y=(l,o)=>{for(var f in o||(o={}))b.call(o,f)&&g(l,f,o[f]);if(L)for(var f of L(o))x.call(o,f)&&g(l,f,o[f]);return l};const a=l=>e.createElement("svg",y({viewBox:"64 64 896 896"},l),e.createElement("path",{d:"M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z"}));var v="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNOTA0IDE2MEgxMjBjLTQuNCAwLTggMy42LTggOHY2NGMwIDQuNCAzLjYgOCA4IDhoNzg0YzQuNCAwIDgtMy42IDgtOHYtNjRjMC00LjQtMy42LTgtOC04em0wIDYyNEgxMjBjLTQuNCAwLTggMy42LTggOHY2NGMwIDQuNCAzLjYgOCA4IDhoNzg0YzQuNCAwIDgtMy42IDgtOHYtNjRjMC00LjQtMy42LTgtOC04em0wLTMxMkgxMjBjLTQuNCAwLTggMy42LTggOHY2NGMwIDQuNCAzLjYgOCA4IDhoNzg0YzQuNCAwIDgtMy42IDgtOHYtNjRjMC00LjQtMy42LTgtOC04eiIvPjwvc3ZnPg==",M=t(2738),E=t(94411),P=t(565),B=t(58312),U=t(22675),V=t(86757),R=t(51278),G=t(76145),X=t(44242);function w(l,o){return J(l)||Q(l,o)||n(l,o)||r()}function r(){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 n(l,o){if(l){if(typeof l=="string")return u(l,o);var f=Object.prototype.toString.call(l).slice(8,-1);if(f==="Object"&&l.constructor&&(f=l.constructor.name),f==="Map"||f==="Set")return Array.from(l);if(f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f))return u(l,o)}}function u(l,o){(o==null||o>l.length)&&(o=l.length);for(var f=0,Y=new Array(o);fg.length)&&(y=g.length);for(var a=0,v=new Array(y);a2?j.createElement("div",{className:"dumi-default-lang-select"},j.createElement("select",{defaultValue:M,onChange:function(B){A.m8.push(I({pathname:A.m8.location.pathname,current:E,target:a.find(function(U){var V=U.id;return V===B.target.value})}))}},a.map(function(P){return j.createElement("option",{key:P.id,value:P.id},P.name)})),j.createElement(e.r,null)):j.createElement(L,{locale:a.find(function(P){var B=P.id;return B!==M}),current:E})},x=b},61746:function(N,C,t){"use strict";t.d(C,{Z:function(){return h}});var e=t(2738),A=t(21739),j=function(){var z=(0,e.WF)(),k=z.themeConfig,O=(0,e.bU)();return A.createElement(e.rU,{className:"dumi-default-logo",to:"base"in O?O.base:"/"},k.logo!==!1&&A.createElement("img",{src:k.logo||"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIQAAACCCAMAAACww5CIAAACf1BMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8YkP8AAAACCxMamv/6+voaGhoXi/YYjv8aoP8cq/8dr/8bo/8cqP8bpv8Ykv8drv8BAwUcrP8Zlf8Xjf/s7OzLy8scp/8anP8ZmP/d3d0BBArg4ODT09O7u7sEGCsKCgoanf8YlP/8/Pz09PTIyMgMTIV1dXUGKEVEREQ0NDQODg4GBgYdsv8dsf8Zl//m5uYVgOXj4+MWgtfW1tYTc87BwcERbLWzs7Ovr6+np6cQX6OgoKCTk5MMSXlwcHBra2tiYmIVFRUetf/39/fp6ekWhOkXi+QVfNvY2NjPz88TdcUSb7u6urq3t7cPYK0NUJGQkJCLi4ttbW0JO2cINFtVVVVRUVEHMFEHLEs6OjoEHDEiIiIcHBwXj/vx8fEWh+4Sb8gRbL+rq6upqakOVZiWlpaJiYmGhoYMSIF9fX15eXkKPnQLRHJMTExHR0c9PT0FHzkqKiomJiYEFyUBBw8bovfu7u4Wht4UedsUeMrFxcW9vb0RZrOkpKSampoPXZqAgIALQmtlZWUJOGJZWVkIMFcFIUExMTEwMDAtLS0DEh8Zl/v4+PgXj/QWhvEWhvAYku8YjuwUfNcUfNAVfc0RaLkSaKsRZ6kPWqENUYlbW1sCEBhkSPCkAAAAOHRSTlMA87y4BeKrltbFnUDo0MCup6D67t7ayZKGemtmWS8rEwLNso1wVEpFGaR+UDUlHwmBYls5i1oN/DMym4YAAAfTSURBVHjaxNndS1NxHMfxX5s6t1Kz1KzsuazMnqjgyxv03ovtQrYxUBEfLkREVBQf0AsFBRUUQvEiSVFQ0YsuiiIiqKC/oH+o31lzjtPZg55zttfVNnbx5ffw+X53pmx5UFl2+XLZ4zpVOPWlJFTntYyiBwF/VbX39Sv9upYU9/QHjbXe6qqayrrnylXXi0kov3GVuFiMuNqbHhIu3FcuuohZZ+jDh7mdXkwqlGtKMGmOSFzrGiYe5ZL4+vdsd/SHFyYxtIQlIdiD4ftCa39osTlxRtzwHO1tUOLm0XYk6T3asMRtdKHdUs6qv+L1l/vKgak2SYjqN+1yYg2G5NgR4Pd5/F7fk9sO3YhSkoYkaW40KCk2Rj9KUoikqmtOn8YpydE6J7xFyq5yUhxIjvZJcUfZ5EOb6oxGQmPdtEQlR4Mxupc6IoOdzWiVypabaF1BiesIS876OiSufRXtvO0DcSi2dAN+ZcclYFZsCaOps3nYUOKprDTiSWzqAioCnpIX9ep03pxkw7jYtMWx0pdn7Jb2i1jixN3cM6OGFCti0zgpyopOsw6xiZHoyHIPLIhNHdD7bWR+c7znFD3+PNp+vxhmRkNi28BoWAzBPbQHKhdlQLe4ogsoVTl4ijYjrmiKATdUdvfjh9Ely8DVHFvWe3HJMBBQ2QWAd+KSeeBxjtuxKC7ZzG07Ht0DusQlfwDfs2wZ4b2EYVBcESHO81BlcIWESXHFV7Qss5aXY1FxRSj7L7QAhv3tsaVBMVn8Ou1MFUtjW3sYKjL0jO6QWJiA7iZxysBbtDplpRT4KZbQWkUbHRMnGFUUKwuNaH1iaRJ+Tf8bDbqcWJH2HuCV+l9DpkuxtdsuGlpYHNAJ1FqNMjnE9QocOXJCPwJ309zPT9la8e5yUJwwC/jTBNWQ5EkIqEyzHROSJzvWSeFDW5M8OUArsdgMq2EmanOyGB4WSyMYAhZp2TwkJouw2mZvmusUSwtraA//m7DXZ8SsBxiQM5tGSxNuv3+ZU/NmIpfN9qDXxp1sO4LDNrE202J6cHE1TVq2f1uNiA39K9/7JJ0JwGe6nvOSZ4OA1/R0bFbyrBWoMUX2nOTZAOA3pcSXjFW7UOJnU17VAYeZv98pTvsB1KsTRVXAtqQVA/rFWSNo11SKiuRYZeknEBRn7WJ4rZKuX8pcROvBj6g4rLUZQ8NJYBo2Jb/ax2KkhKYf6I1I3oWngKqUhfgkBTCL1pics1elICaS/5Y9jk+XBdEBeJKhHZGCCLZAWTIkBqQgNlr+NbGi2wHgS1tTAbQNAxW3i1R58WWgd725ANZ7gXPFNaqagrvwt1t7aW0qiOIAPlErPqJCq6JWrW8r1ar1xf0n4NxnnpCELEKyCNmkJZSQRSCbQltooS4sVApiC10U2kWhFRUEEdGF4vuNH8g7c9NQ2pjepPcB/r5ADjlnzp2ZM+QMXHeYb+1WfO5hi5QfveYe33XJ4+d8a3MNQHbI75KhMt9z9wF4FRNcIi3wO94bAHJiQHCHNgmgh3QD8D1MCK6I+KeNCUgbgFFRcEX8Qwhov014o/juUlEoxeqrgpsA7oWp4AZprnpv1ANgShFcoU4a+36jMgOuVGYmnuJ1Wb0hKWqCC8QCgI4dqyfRbNCFoqDBX7Xz6C0AS660K3UKQCdhuqAbdqFT+B8mAXQTbhtbpM7ng4Yn1oytOwFMu5AP9QGAa4Qz8lFwvFWIH6G7Qjijc8/LDueDyvd4z151EYBvwOF+lRFTAK6TGi+ACWdLk0ozANqvkpojAFJKRnCSlFt3m8pLc9bJTylVn64ty9rJfEl1cpVKbH3uJ2v1QleUqOCI2h9xeeP0aVqLCA4JSLk6s7hu6CbkqOAIGpyB7iRZ5xLvFWlHEkITyjK/41/v9h0AC3lngpCz0PXWf0yDUcmBhFDt0T/flx8CkNL8VLAZjUhvAHSQek5AtyALdqP5e9BdbPCkZsbuFRKVvlRHs/W1AfC902yNgoriWwCeqw1fSL+J2VkWNBF8vckr6mPQ3ZcjtkVBA/3z4Ju6Bs5ANzck2BQFpUMTxlVZQ4ege95vUxRUHoPOe5s01OWBbryf2hEFDX4Fc4Vs4gaYZ3ZEQeXBJPgMcFPnwYzJVmeE6jGsGCNAE/rAlPIBamkMQv9YCLpzxJRjYMr5BLXyg5EvgTlKTOoEkw2LUct6dTz4ojqCNO04mMm4ZE150mhMuQ+jHppwAUxqUM5QK9qkPLIE5jhpygkvmHJYiW45FaL8IwmdZy9pUtc2MK9HtvgloZngJyMVp3tJ846ASb7Q1NYrg1JN+ukDs4e05LwHTO5bUKG0tRBEeXAKzJ3rpEXdB8C9fBIWKW0hhOBIBdy2K6R11zvALY6EFYE21yHF4OdKEkz7ObIlXXvAhV4OquoApaYbpCo9qayA29lLturibhimSgOSFjG1ILRwYnwShn09xArnT8PwdnHML6n+hl+2gD8Wjj+rLMOwq49Y5dZpVKUWS++VcCwdCdT5/Uhck5SH45VpVO3qJFbq2Y5Vvly2VBgQY5KqKWI6HY+n06KiqVJMSQyP/37wB6v29xGrnThyEDWh5dyr+fJscbQw/OjRcGG0OFvO3n+QSqKm7exlYgsvNgolkyFs1HGV2OQgTGsjNjnVBtO8Owj3nwbhgWnttgWxy2PaoWaC+AuAXqWYKHupMgAAAABJRU5ErkJggg==",alt:k.name}),k.name)},h=j},66783:function(N,C,t){"use strict";t.d(C,{Z:function(){return y}});var e=t(40286),A=t(2738),j=t(21420),h=t(21739);function D(){return D=Object.assign?Object.assign.bind():function(a){for(var v=1;va.length)&&(v=a.length);for(var M=0,E=new Array(v);Mg.length)&&(y=g.length);for(var a=0,v=new Array(y);as in i?A(i,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):i[s]=c,k=(i,s)=>{for(var c in s||(s={}))h.call(s,c)&&z(i,c,s[c]);if(j)for(var c of j(s))D.call(s,c)&&z(i,c,s[c]);return i};const O=i=>e.createElement("svg",k({viewBox:"64 64 896 896"},i),e.createElement("path",{d:"M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0 0 48.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"}));var T="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNODYyIDQ2NS4zaC04MWMtNC42IDAtOSAyLTEyLjEgNS41TDU1MCA3MjMuMVYxNjBjMC00LjQtMy42LTgtOC04aC02MGMtNC40IDAtOCAzLjYtOCA4djU2My4xTDI1NS4xIDQ3MC44Yy0zLTMuNS03LjQtNS41LTEyLjEtNS41aC04MWMtNi44IDAtMTAuNSA4LjEtNiAxMy4yTDQ4Ny45IDg2MWEzMS45NiAzMS45NiAwIDAgMCA0OC4zIDBMODY4IDQ3OC41YzQuNS01LjIuOC0xMy4yLTYtMTMuMnoiLz48L3N2Zz4=",I=Object.defineProperty,L=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,g=(i,s,c)=>s in i?I(i,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):i[s]=c,y=(i,s)=>{for(var c in s||(s={}))b.call(s,c)&&g(i,c,s[c]);if(L)for(var c of L(s))x.call(s,c)&&g(i,c,s[c]);return i};const a=i=>e.createElement("svg",y({viewBox:"64 64 896 896"},i),e.createElement("path",{d:"M868 545.5 536.1 163a31.96 31.96 0 0 0-48.3 0L156 545.5a7.97 7.97 0 0 0 6 13.2h81c4.6 0 9-2 12.1-5.5L474 300.9V864c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V300.9l218.9 252.3c3 3.5 7.4 5.5 12.1 5.5h81c6.8 0 10.5-8 6-13.2z"}));var v="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNODY4IDU0NS41IDUzNi4xIDE2M2EzMS45NiAzMS45NiAwIDAgMC00OC4zIDBMMTU2IDU0NS41YTcuOTcgNy45NyAwIDAgMCA2IDEzLjJoODFjNC42IDAgOS0yIDEyLjEtNS41TDQ3NCAzMDAuOVY4NjRjMCA0LjQgMy42IDggOCA4aDYwYzQuNCAwIDgtMy42IDgtOFYzMDAuOWwyMTguOSAyNTIuM2MzIDMuNSA3LjQgNS41IDEyLjEgNS41aDgxYzYuOCAwIDEwLjUtOCA2LTEzLjJ6Ii8+PC9zdmc+",M=Object.defineProperty,E=Object.getOwnPropertySymbols,P=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable,U=(i,s,c)=>s in i?M(i,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):i[s]=c,V=(i,s)=>{for(var c in s||(s={}))P.call(s,c)&&U(i,c,s[c]);if(E)for(var c of E(s))B.call(s,c)&&U(i,c,s[c]);return i};const R=i=>e.createElement("svg",V({viewBox:"64 64 896 896"},i),e.createElement("path",{d:"M909.6 854.5 649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0 0 11.6 0l43.6-43.5a8.2 8.2 0 0 0 0-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}));var G="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNOTA5LjYgODU0LjUgNjQ5LjkgNTk0LjhDNjkwLjIgNTQyLjcgNzEyIDQ3OSA3MTIgNDEyYzAtODAuMi0zMS4zLTE1NS40LTg3LjktMjEyLjEtNTYuNi01Ni43LTEzMi04Ny45LTIxMi4xLTg3LjlzLTE1NS41IDMxLjMtMjEyLjEgODcuOUMxNDMuMiAyNTYuNSAxMTIgMzMxLjggMTEyIDQxMmMwIDgwLjEgMzEuMyAxNTUuNSA4Ny45IDIxMi4xQzI1Ni41IDY4MC44IDMzMS44IDcxMiA0MTIgNzEyYzY3IDAgMTMwLjYtMjEuOCAxODIuNy02MmwyNTkuNyAyNTkuNmE4LjIgOC4yIDAgMCAwIDExLjYgMGw0My42LTQzLjVhOC4yIDguMiAwIDAgMCAwLTExLjZ6TTU3MC40IDU3MC40QzUyOCA2MTIuNyA0NzEuOCA2MzYgNDEyIDYzNnMtMTE2LTIzLjMtMTU4LjQtNjUuNkMyMTEuMyA1MjggMTg4IDQ3MS44IDE4OCA0MTJzMjMuMy0xMTYuMSA2NS42LTE1OC40QzI5NiAyMTEuMyAzNTIuMiAxODggNDEyIDE4OHMxMTYuMSAyMy4yIDE1OC40IDY1LjZTNjM2IDM1Mi4yIDYzNiA0MTJzLTIzLjMgMTE2LjEtNjUuNiAxNTguNHoiLz48L3N2Zz4=",X=t(2738),w=t(63541),r=(0,e.forwardRef)(function(i,s){var c=(0,X.YB)(),F=(0,e.useRef)(!1),W=(0,e.useRef)(null);return(0,e.useImperativeHandle)(s,function(){return W.current}),e.createElement("input",{className:"dumi-default-search-bar-input",onCompositionStart:function(){return F.current=!0},onCompositionEnd:function($){F.current=!1,i.onChange($.currentTarget.value)},onFocus:i.onFocus,onBlur:i.onBlur,onMouseEnter:i.onMouseEnter,onKeyDown:function($){["ArrowDown","ArrowUp"].includes($.key)&&$.preventDefault(),$.key==="Escape"&&!F.current&&$.currentTarget.blur()},onChange:function($){var oe=$.target.value;setTimeout(function(){F.current||i.onChange(oe)},1)},placeholder:c.formatMessage({id:"header.search.placeholder"}),ref:W})}),n=function(s){return(0,e.useEffect)(function(){if(s.visible)document.body.style.overflow="hidden";else if(document.body.style.overflow){var c;document.body.style.overflow="",(c=s.onClose)===null||c===void 0||c.call(s)}},[s.visible]),s.visible?e.createElement("div",{className:"dumi-default-search-modal"},e.createElement("div",{className:"dumi-default-search-modal-mask",onClick:s.onMaskClick}),e.createElement("div",{className:"dumi-default-search-modal-content"},s.children)):null},u;function Q(i,s){return o(i)||l(i,s)||K(i,s)||J()}function J(){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 K(i,s){if(i){if(typeof i=="string")return S(i,s);var c=Object.prototype.toString.call(i).slice(8,-1);if(c==="Object"&&i.constructor&&(c=i.constructor.name),c==="Map"||c==="Set")return Array.from(i);if(c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return S(i,s)}}function S(i,s){(s==null||s>i.length)&&(s=i.length);for(var c=0,F=new Array(s);c=0&&Ne>=0&&ve<=window.innerHeight&&Le<=window.innerWidth;p?_.current.focus():(ee(""),me(!0),setTimeout(function(){var m;(m=$.current)===null||m===void 0||m.focus()}))}ie.key==="Escape"&&(ie.preventDefault(),me(!1))};return document.addEventListener("keydown",ue),function(){return document.removeEventListener("keydown",ue)}},[]),e.createElement("div",{className:"dumi-default-search-bar"},e.createElement(R,{className:"dumi-default-search-bar-svg"}),e.createElement(r,{onFocus:function(){W(!0),se()},onMouseEnter:function(){se()},onBlur:function(){setTimeout(function(){W(!1)},1)},onChange:function(ge){return ee(ge)},ref:_}),e.createElement("span",{className:"dumi-default-search-shortcut"},te," K"),re.trim()&&F&&!de&&e.createElement("div",{className:"dumi-default-search-popover"},e.createElement("section",null,e.createElement(w.Z,{data:q,loading:ce}))),e.createElement(n,{visible:de,onMaskClick:function(){me(!1)},onClose:function(){return ee("")}},e.createElement("div",{style:{position:"relative"}},e.createElement(R,{className:"dumi-default-search-bar-svg"}),e.createElement(r,{onFocus:function(){return W(!0)},onBlur:function(){setTimeout(function(){W(!1)},1)},onChange:function(ge){return ee(ge)},ref:$})),e.createElement(w.Z,{data:q,loading:ce,onItemSelect:function(){me(!1)}}),e.createElement("footer",null,e.createElement("ul",{className:"dumi-default-search-modal-commands"},e.createElement("li",{className:"dumi-default-search-modal-commands-arrow"},e.createElement("span",{className:"dumi-default-search-modal-shortcut"},e.createElement(a,{width:"10px",height:"10px",fill:"rgba(0, 0, 0, 0.45)"})),e.createElement("span",{className:"dumi-default-search-modal-shortcut"},e.createElement(O,{width:"10px",height:"10px",fill:"rgba(0, 0, 0, 0.45)"})),e.createElement("span",{className:"dumi-default-search-modal-commands-text"},"to navigate")),e.createElement("li",null,e.createElement("span",{className:"dumi-default-search-modal-shortcut"},"esc"),e.createElement("span",{className:"dumi-default-search-modal-commands-text"},"to close"))))))},Z=H},4089:function(N,C,t){"use strict";t.d(C,{Z:function(){return X}});var e=t(21739),A=Object.defineProperty,j=Object.getOwnPropertySymbols,h=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable,z=(w,r,n)=>r in w?A(w,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):w[r]=n,k=(w,r)=>{for(var n in r||(r={}))h.call(r,n)&&z(w,n,r[n]);if(j)for(var n of j(r))D.call(r,n)&&z(w,n,r[n]);return w};const O=w=>e.createElement("svg",k({viewBox:"0 0 1024 1024"},w),e.createElement("path",{d:"m885.2 446.3-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0 0 60.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}));var T="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0Ij48cGF0aCBkPSJtODg1LjIgNDQ2LjMtLjItLjgtMTEyLjItMjg1LjFjLTUtMTYuMS0xOS45LTI3LjItMzYuOC0yNy4ySDI4MS4yYy0xNyAwLTMyLjEgMTEuMy0zNi45IDI3LjZMMTM5LjQgNDQzbC0uMy43LS4yLjhjLTEuMyA0LjktMS43IDkuOS0xIDE0LjgtLjEgMS42LS4yIDMuMi0uMiA0LjhWODMwYTYwLjkgNjAuOSAwIDAgMCA2MC44IDYwLjhoNjI3LjJjMzMuNSAwIDYwLjgtMjcuMyA2MC45LTYwLjhWNDY0LjFjMC0xLjMgMC0yLjYtLjEtMy43LjQtNC45IDAtOS42LTEuMy0xNC4xem0tMjk1LjgtNDMtLjMgMTUuN2MtLjggNDQuOS0zMS44IDc1LjEtNzcuMSA3NS4xLTIyLjEgMC00MS4xLTcuMS01NC44LTIwLjZTNDM2IDQ0MS4yIDQzNS42IDQxOWwtLjMtMTUuN0gyMjkuNUwzMDkgMjEwaDM5OS4ybDgxLjcgMTkzLjNINTg5LjR6bS0zNzUgNzYuOGgxNTcuM2MyNC4zIDU3LjEgNzYgOTAuOCAxNDAuNCA5MC44IDMzLjcgMCA2NS05LjQgOTAuMy0yNy4yIDIyLjItMTUuNiAzOS41LTM3LjQgNTAuNy02My42aDE1Ni41VjgxNEgyMTQuNFY0ODAuMXoiLz48L3N2Zz4=",I=t(10291),L=t(2738);function b(w,r){return v(w)||a(w,r)||g(w,r)||x()}function x(){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 g(w,r){if(w){if(typeof w=="string")return y(w,r);var n=Object.prototype.toString.call(w).slice(8,-1);if(n==="Object"&&w.constructor&&(n=w.constructor.name),n==="Map"||n==="Set")return Array.from(w);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(w,r)}}function y(w,r){(r==null||r>w.length)&&(r=w.length);for(var n=0,u=new Array(r);n=0){var F=Q.find(function(W){return W.type==="hint"&&W.activeIndex===l}).value;L.m8.push(F.link),H==null||H(F),document.activeElement.blur()}["Escape","Enter"].includes(c.key)&&o(-1)};return document.addEventListener("keydown",i),function(){return document.removeEventListener("keydown",i)}});var Z=null;return r.loading?Z=e.createElement("div",{className:"dumi-default-search-empty"},e.createElement(O,null),e.createElement(L._H,{id:"search.loading"})):r.data.length?Z=e.createElement("dl",null,Q.map(function(i,s){return i.type==="title"?e.createElement("dt",{key:String(s)},i.value.title):e.createElement("dd",{key:String(s)},e.createElement(L.rU,{to:i.value.link,"data-active":l===i.activeIndex||void 0,onClick:function(){return H==null?void 0:H(i.value)}},e.createElement(U[i.value.type]),e.createElement("h4",null,e.createElement(V,{texts:i.value.highlightTitleTexts})),e.createElement("p",null,e.createElement(V,{texts:i.value.highlightTexts}))))})):Z=e.createElement("div",{className:"dumi-default-search-empty"},e.createElement(O,null),e.createElement(L._H,{id:"search.not.found"})),e.createElement("div",{className:"dumi-default-search-result",onMouseEnter:function(){return o(-1)},onMouseDownCapture:function(s){return s.preventDefault()},onMouseUpCapture:function(){document.activeElement.blur()}},Z)},X=G},70921:function(N,C,t){"use strict";t.d(C,{Z:function(){return D}});var e=t(2738),A=t(8943),j=t(21739),h=function(){var k=(0,e.TH)(),O=k.pathname,T=(0,e.eL)(),I=(0,e.tx)();return I?j.createElement("div",{className:"dumi-default-sidebar"},I.map(function(L,b){return j.createElement("dl",{className:"dumi-default-sidebar-group",key:String(b)},L.title&&j.createElement("dt",null,L.title),L.children.map(function(x){return j.createElement("dd",{key:x.link},j.createElement(e.OL,{to:x.link,title:x.title,end:!0},x.title),x.link===O&&T.frontmatter.toc==="menu"&&j.createElement(A.Z,null))}))})):null},D=h},87039:function(N,C,t){"use strict";t.d(C,{Z:function(){return Le}});var e=t(21739),A=Object.defineProperty,j=Object.getOwnPropertySymbols,h=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable,z=(p,m,d)=>m in p?A(p,m,{enumerable:!0,configurable:!0,writable:!0,value:d}):p[m]=d,k=(p,m)=>{for(var d in m||(m={}))h.call(m,d)&&z(p,d,m[d]);if(j)for(var d of j(m))D.call(m,d)&&z(p,d,m[d]);return p};const O=p=>e.createElement("svg",k({viewBox:"64 64 896 896"},p),e.createElement("path",{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-32 736H663.9V602.2h104l15.6-120.7H663.9v-77.1c0-35 9.7-58.8 59.8-58.8h63.9v-108c-11.1-1.5-49-4.8-93.2-4.8-92.2 0-155.3 56.3-155.3 159.6v89H434.9v120.7h104.3V848H176V176h672v672z"}));var T="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNODgwIDExMkgxNDRjLTE3LjcgMC0zMiAxNC4zLTMyIDMydjczNmMwIDE3LjcgMTQuMyAzMiAzMiAzMmg3MzZjMTcuNyAwIDMyLTE0LjMgMzItMzJWMTQ0YzAtMTcuNy0xNC4zLTMyLTMyLTMyem0tMzIgNzM2SDY2My45VjYwMi4yaDEwNGwxNS42LTEyMC43SDY2My45di03Ny4xYzAtMzUgOS43LTU4LjggNTkuOC01OC44aDYzLjl2LTEwOGMtMTEuMS0xLjUtNDktNC44LTkzLjItNC44LTkyLjIgMC0xNTUuMyA1Ni4zLTE1NS4zIDE1OS42djg5SDQzNC45djEyMC43aDEwNC4zVjg0OEgxNzZWMTc2aDY3MnY2NzJ6Ii8+PC9zdmc+",I=Object.defineProperty,L=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,g=(p,m,d)=>m in p?I(p,m,{enumerable:!0,configurable:!0,writable:!0,value:d}):p[m]=d,y=(p,m)=>{for(var d in m||(m={}))b.call(m,d)&&g(p,d,m[d]);if(L)for(var d of L(m))x.call(m,d)&&g(p,d,m[d]);return p};const a=p=>e.createElement("svg",y({viewBox:"64 64 896 896"},p),e.createElement("path",{d:"M511.6 76.3C264.3 76.2 64 276.4 64 523.5 64 718.9 189.3 885 363.8 946c23.5 5.9 19.9-10.8 19.9-22.2v-77.5c-135.7 15.9-141.2-73.9-150.3-88.9C215 726 171.5 718 184.5 703c30.9-15.9 62.4 4 98.9 57.9 26.4 39.1 77.9 32.5 104 26 5.7-23.5 17.9-44.5 34.7-60.8-140.6-25.2-199.2-111-199.2-213 0-49.5 16.3-95 48.3-131.7-20.4-60.5 1.9-112.3 4.9-120 58.1-5.2 118.5 41.6 123.2 45.3 33-8.9 70.7-13.6 112.9-13.6 42.4 0 80.2 4.9 113.5 13.9 11.3-8.6 67.3-48.8 121.3-43.9 2.9 7.7 24.7 58.3 5.5 118 32.4 36.8 48.9 82.7 48.9 132.3 0 102.2-59 188.1-200 212.9a127.5 127.5 0 0 1 38.1 91v112.5c.8 9 0 17.9 15 17.9 177.1-59.7 304.6-227 304.6-424.1 0-247.2-200.4-447.3-447.5-447.3z"}));var v="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNNTExLjYgNzYuM0MyNjQuMyA3Ni4yIDY0IDI3Ni40IDY0IDUyMy41IDY0IDcxOC45IDE4OS4zIDg4NSAzNjMuOCA5NDZjMjMuNSA1LjkgMTkuOS0xMC44IDE5LjktMjIuMnYtNzcuNWMtMTM1LjcgMTUuOS0xNDEuMi03My45LTE1MC4zLTg4LjlDMjE1IDcyNiAxNzEuNSA3MTggMTg0LjUgNzAzYzMwLjktMTUuOSA2Mi40IDQgOTguOSA1Ny45IDI2LjQgMzkuMSA3Ny45IDMyLjUgMTA0IDI2IDUuNy0yMy41IDE3LjktNDQuNSAzNC43LTYwLjgtMTQwLjYtMjUuMi0xOTkuMi0xMTEtMTk5LjItMjEzIDAtNDkuNSAxNi4zLTk1IDQ4LjMtMTMxLjctMjAuNC02MC41IDEuOS0xMTIuMyA0LjktMTIwIDU4LjEtNS4yIDExOC41IDQxLjYgMTIzLjIgNDUuMyAzMy04LjkgNzAuNy0xMy42IDExMi45LTEzLjYgNDIuNCAwIDgwLjIgNC45IDExMy41IDEzLjkgMTEuMy04LjYgNjcuMy00OC44IDEyMS4zLTQzLjkgMi45IDcuNyAyNC43IDU4LjMgNS41IDExOCAzMi40IDM2LjggNDguOSA4Mi43IDQ4LjkgMTMyLjMgMCAxMDIuMi01OSAxODguMS0yMDAgMjEyLjlhMTI3LjUgMTI3LjUgMCAwIDEgMzguMSA5MXYxMTIuNWMuOCA5IDAgMTcuOSAxNSAxNy45IDE3Ny4xLTU5LjcgMzA0LjYtMjI3IDMwNC42LTQyNC4xIDAtMjQ3LjItMjAwLjQtNDQ3LjMtNDQ3LjUtNDQ3LjN6Ii8+PC9zdmc+",M=Object.defineProperty,E=Object.getOwnPropertySymbols,P=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable,U=(p,m,d)=>m in p?M(p,m,{enumerable:!0,configurable:!0,writable:!0,value:d}):p[m]=d,V=(p,m)=>{for(var d in m||(m={}))P.call(m,d)&&U(p,d,m[d]);if(E)for(var d of E(m))B.call(m,d)&&U(p,d,m[d]);return p};const R=p=>e.createElement("svg",V({viewBox:"64 64 896 896"},p),e.createElement("path",{d:"M913.9 552.2 805 181.4v-.1c-7.6-22.9-25.7-36.5-48.3-36.5-23.4 0-42.5 13.5-49.7 35.2l-71.4 213H388.8l-71.4-213c-7.2-21.7-26.3-35.2-49.7-35.2-23.1 0-42.5 14.8-48.4 36.6L110.5 552.2c-4.4 14.7 1.2 31.4 13.5 40.7l368.5 276.4c2.6 3.6 6.2 6.3 10.4 7.8l8.6 6.4 8.5-6.4c4.9-1.7 9-4.7 11.9-8.9l368.4-275.4c12.4-9.2 18-25.9 13.6-40.6zM751.7 193.4c1-1.8 2.9-1.9 3.5-1.9 1.1 0 2.5.3 3.4 3L818 394.3H684.5l67.2-200.9zm-487.4 1c.9-2.6 2.3-2.9 3.4-2.9 2.7 0 2.9.1 3.4 1.7l67.3 201.2H206.5l57.8-200zM158.8 558.7l28.2-97.3 202.4 270.2-230.6-172.9zm73.9-116.4h122.1l90.8 284.3-212.9-284.3zM512.9 776 405.7 442.3H620L512.9 776zm157.9-333.7h119.5L580 723.1l90.8-280.8zm-40.7 293.9 207.3-276.7 29.5 99.2-236.8 177.5z"}));var G="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNOTEzLjkgNTUyLjIgODA1IDE4MS40di0uMWMtNy42LTIyLjktMjUuNy0zNi41LTQ4LjMtMzYuNS0yMy40IDAtNDIuNSAxMy41LTQ5LjcgMzUuMmwtNzEuNCAyMTNIMzg4LjhsLTcxLjQtMjEzYy03LjItMjEuNy0yNi4zLTM1LjItNDkuNy0zNS4yLTIzLjEgMC00Mi41IDE0LjgtNDguNCAzNi42TDExMC41IDU1Mi4yYy00LjQgMTQuNyAxLjIgMzEuNCAxMy41IDQwLjdsMzY4LjUgMjc2LjRjMi42IDMuNiA2LjIgNi4zIDEwLjQgNy44bDguNiA2LjQgOC41LTYuNGM0LjktMS43IDktNC43IDExLjktOC45bDM2OC40LTI3NS40YzEyLjQtOS4yIDE4LTI1LjkgMTMuNi00MC42ek03NTEuNyAxOTMuNGMxLTEuOCAyLjktMS45IDMuNS0xLjkgMS4xIDAgMi41LjMgMy40IDNMODE4IDM5NC4zSDY4NC41bDY3LjItMjAwLjl6bS00ODcuNCAxYy45LTIuNiAyLjMtMi45IDMuNC0yLjkgMi43IDAgMi45LjEgMy40IDEuN2w2Ny4zIDIwMS4ySDIwNi41bDU3LjgtMjAwek0xNTguOCA1NTguN2wyOC4yLTk3LjMgMjAyLjQgMjcwLjItMjMwLjYtMTcyLjl6bTczLjktMTE2LjRoMTIyLjFsOTAuOCAyODQuMy0yMTIuOS0yODQuM3pNNTEyLjkgNzc2IDQwNS43IDQ0Mi4zSDYyMEw1MTIuOSA3NzZ6bTE1Ny45LTMzMy43aDExOS41TDU4MCA3MjMuMWw5MC44LTI4MC44em0tNDAuNyAyOTMuOSAyMDcuMy0yNzYuNyAyOS41IDk5LjItMjM2LjggMTc3LjV6Ii8+PC9zdmc+",X=Object.defineProperty,w=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable,u=(p,m,d)=>m in p?X(p,m,{enumerable:!0,configurable:!0,writable:!0,value:d}):p[m]=d,Q=(p,m)=>{for(var d in m||(m={}))r.call(m,d)&&u(p,d,m[d]);if(w)for(var d of w(m))n.call(m,d)&&u(p,d,m[d]);return p};const J=p=>e.createElement("svg",Q({viewBox:"64 64 896 896"},p),e.createElement("path",{d:"M847.7 112H176.3c-35.5 0-64.3 28.8-64.3 64.3v671.4c0 35.5 28.8 64.3 64.3 64.3h671.4c35.5 0 64.3-28.8 64.3-64.3V176.3c0-35.5-28.8-64.3-64.3-64.3zm0 736c-447.8-.1-671.7-.2-671.7-.3.1-447.8.2-671.7.3-671.7 447.8.1 671.7.2 671.7.3-.1 447.8-.2 671.7-.3 671.7zM230.6 411.9h118.7v381.8H230.6zm59.4-52.2c37.9 0 68.8-30.8 68.8-68.8a68.8 68.8 0 1 0-137.6 0c-.1 38 30.7 68.8 68.8 68.8zm252.3 245.1c0-49.8 9.5-98 71.2-98 60.8 0 61.7 56.9 61.7 101.2v185.7h118.6V584.3c0-102.8-22.2-181.9-142.3-181.9-57.7 0-96.4 31.7-112.3 61.7h-1.6v-52.2H423.7v381.8h118.6V604.8z"}));var K="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNODQ3LjcgMTEySDE3Ni4zYy0zNS41IDAtNjQuMyAyOC44LTY0LjMgNjQuM3Y2NzEuNGMwIDM1LjUgMjguOCA2NC4zIDY0LjMgNjQuM2g2NzEuNGMzNS41IDAgNjQuMy0yOC44IDY0LjMtNjQuM1YxNzYuM2MwLTM1LjUtMjguOC02NC4zLTY0LjMtNjQuM3ptMCA3MzZjLTQ0Ny44LS4xLTY3MS43LS4yLTY3MS43LS4zLjEtNDQ3LjguMi02NzEuNy4zLTY3MS43IDQ0Ny44LjEgNjcxLjcuMiA2NzEuNy4zLS4xIDQ0Ny44LS4yIDY3MS43LS4zIDY3MS43ek0yMzAuNiA0MTEuOWgxMTguN3YzODEuOEgyMzAuNnptNTkuNC01Mi4yYzM3LjkgMCA2OC44LTMwLjggNjguOC02OC44YTY4LjggNjguOCAwIDEgMC0xMzcuNiAwYy0uMSAzOCAzMC43IDY4LjggNjguOCA2OC44em0yNTIuMyAyNDUuMWMwLTQ5LjggOS41LTk4IDcxLjItOTggNjAuOCAwIDYxLjcgNTYuOSA2MS43IDEwMS4ydjE4NS43aDExOC42VjU4NC4zYzAtMTAyLjgtMjIuMi0xODEuOS0xNDIuMy0xODEuOS01Ny43IDAtOTYuNCAzMS43LTExMi4zIDYxLjdoLTEuNnYtNTIuMkg0MjMuN3YzODEuOGgxMTguNlY2MDQuOHoiLz48L3N2Zz4=",S=Object.defineProperty,l=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,Y=(p,m,d)=>m in p?S(p,m,{enumerable:!0,configurable:!0,writable:!0,value:d}):p[m]=d,H=(p,m)=>{for(var d in m||(m={}))o.call(m,d)&&Y(p,d,m[d]);if(l)for(var d of l(m))f.call(m,d)&&Y(p,d,m[d]);return p};const Z=p=>e.createElement("svg",H({viewBox:"64 64 896 896"},p),e.createElement("path",{d:"M928 254.3c-30.6 13.2-63.9 22.7-98.2 26.4a170.1 170.1 0 0 0 75-94 336.64 336.64 0 0 1-108.2 41.2A170.1 170.1 0 0 0 672 174c-94.5 0-170.5 76.6-170.5 170.6 0 13.2 1.6 26.4 4.2 39.1-141.5-7.4-267.7-75-351.6-178.5a169.32 169.32 0 0 0-23.2 86.1c0 59.2 30.1 111.4 76 142.1a172 172 0 0 1-77.1-21.7v2.1c0 82.9 58.6 151.6 136.7 167.4a180.6 180.6 0 0 1-44.9 5.8c-11.1 0-21.6-1.1-32.2-2.6C211 652 273.9 701.1 348.8 702.7c-58.6 45.9-132 72.9-211.7 72.9-14.3 0-27.5-.5-41.2-2.1C171.5 822 261.2 850 357.8 850 671.4 850 843 590.2 843 364.7c0-7.4 0-14.8-.5-22.2 33.2-24.3 62.3-54.4 85.5-88.2z"}));var i="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNOTI4IDI1NC4zYy0zMC42IDEzLjItNjMuOSAyMi43LTk4LjIgMjYuNGExNzAuMSAxNzAuMSAwIDAgMCA3NS05NCAzMzYuNjQgMzM2LjY0IDAgMCAxLTEwOC4yIDQxLjJBMTcwLjEgMTcwLjEgMCAwIDAgNjcyIDE3NGMtOTQuNSAwLTE3MC41IDc2LjYtMTcwLjUgMTcwLjYgMCAxMy4yIDEuNiAyNi40IDQuMiAzOS4xLTE0MS41LTcuNC0yNjcuNy03NS0zNTEuNi0xNzguNWExNjkuMzIgMTY5LjMyIDAgMCAwLTIzLjIgODYuMWMwIDU5LjIgMzAuMSAxMTEuNCA3NiAxNDIuMWExNzIgMTcyIDAgMCAxLTc3LjEtMjEuN3YyLjFjMCA4Mi45IDU4LjYgMTUxLjYgMTM2LjcgMTY3LjRhMTgwLjYgMTgwLjYgMCAwIDEtNDQuOSA1LjhjLTExLjEgMC0yMS42LTEuMS0zMi4yLTIuNkMyMTEgNjUyIDI3My45IDcwMS4xIDM0OC44IDcwMi43Yy01OC42IDQ1LjktMTMyIDcyLjktMjExLjcgNzIuOS0xNC4zIDAtMjcuNS0uNS00MS4yLTIuMUMxNzEuNSA4MjIgMjYxLjIgODUwIDM1Ny44IDg1MCA2NzEuNCA4NTAgODQzIDU5MC4yIDg0MyAzNjQuN2MwLTcuNCAwLTE0LjgtLjUtMjIuMiAzMy4yLTI0LjMgNjIuMy01NC40IDg1LjUtODguMnoiLz48L3N2Zz4=",s=Object.defineProperty,c=Object.getOwnPropertySymbols,F=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable,_=(p,m,d)=>m in p?s(p,m,{enumerable:!0,configurable:!0,writable:!0,value:d}):p[m]=d,$=(p,m)=>{for(var d in m||(m={}))F.call(m,d)&&_(p,d,m[d]);if(c)for(var d of c(m))W.call(m,d)&&_(p,d,m[d]);return p};const oe=p=>e.createElement("svg",$({viewBox:"64 64 896 896"},p),e.createElement("path",{d:"M457.3 543c-68.1-17.7-145 16.2-174.6 76.2-30.1 61.2-1 129.1 67.8 151.3 71.2 23 155.2-12.2 184.4-78.3 28.7-64.6-7.2-131-77.6-149.2zm-52 156.2c-13.8 22.1-43.5 31.7-65.8 21.6-22-10-28.5-35.7-14.6-57.2 13.7-21.4 42.3-31 64.4-21.7 22.4 9.5 29.6 35 16 57.3zm45.5-58.5c-5 8.6-16.1 12.7-24.7 9.1-8.5-3.5-11.2-13.1-6.4-21.5 5-8.4 15.6-12.4 24.1-9.1 8.7 3.2 11.8 12.9 7 21.5zm334.5-197.2c15 4.8 31-3.4 35.9-18.3 11.8-36.6 4.4-78.4-23.2-109a111.39 111.39 0 0 0-106-34.3 28.45 28.45 0 0 0-21.9 33.8 28.39 28.39 0 0 0 33.8 21.8c18.4-3.9 38.3 1.8 51.9 16.7a54.2 54.2 0 0 1 11.3 53.3 28.45 28.45 0 0 0 18.2 36zm99.8-206c-56.7-62.9-140.4-86.9-217.7-70.5a32.98 32.98 0 0 0-25.4 39.3 33.12 33.12 0 0 0 39.3 25.5c55-11.7 114.4 5.4 154.8 50.1 40.3 44.7 51.2 105.7 34 159.1-5.6 17.4 3.9 36 21.3 41.7 17.4 5.6 36-3.9 41.6-21.2v-.1c24.1-75.4 8.9-161.1-47.9-223.9zM729 499c-12.2-3.6-20.5-6.1-14.1-22.1 13.8-34.7 15.2-64.7.3-86-28-40.1-104.8-37.9-192.8-1.1 0 0-27.6 12.1-20.6-9.8 13.5-43.5 11.5-79.9-9.6-101-47.7-47.8-174.6 1.8-283.5 110.6C127.3 471.1 80 557.5 80 632.2 80 775.1 263.2 862 442.5 862c235 0 391.3-136.5 391.3-245 0-65.5-55.2-102.6-104.8-118zM443 810.8c-143 14.1-266.5-50.5-275.8-144.5-9.3-93.9 99.2-181.5 242.2-195.6 143-14.2 266.5 50.5 275.8 144.4C694.4 709 586 796.6 443 810.8z"}));var ne="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNNDU3LjMgNTQzYy02OC4xLTE3LjctMTQ1IDE2LjItMTc0LjYgNzYuMi0zMC4xIDYxLjItMSAxMjkuMSA2Ny44IDE1MS4zIDcxLjIgMjMgMTU1LjItMTIuMiAxODQuNC03OC4zIDI4LjctNjQuNi03LjItMTMxLTc3LjYtMTQ5LjJ6bS01MiAxNTYuMmMtMTMuOCAyMi4xLTQzLjUgMzEuNy02NS44IDIxLjYtMjItMTAtMjguNS0zNS43LTE0LjYtNTcuMiAxMy43LTIxLjQgNDIuMy0zMSA2NC40LTIxLjcgMjIuNCA5LjUgMjkuNiAzNSAxNiA1Ny4zem00NS41LTU4LjVjLTUgOC42LTE2LjEgMTIuNy0yNC43IDkuMS04LjUtMy41LTExLjItMTMuMS02LjQtMjEuNSA1LTguNCAxNS42LTEyLjQgMjQuMS05LjEgOC43IDMuMiAxMS44IDEyLjkgNyAyMS41em0zMzQuNS0xOTcuMmMxNSA0LjggMzEtMy40IDM1LjktMTguMyAxMS44LTM2LjYgNC40LTc4LjQtMjMuMi0xMDlhMTExLjM5IDExMS4zOSAwIDAgMC0xMDYtMzQuMyAyOC40NSAyOC40NSAwIDAgMC0yMS45IDMzLjggMjguMzkgMjguMzkgMCAwIDAgMzMuOCAyMS44YzE4LjQtMy45IDM4LjMgMS44IDUxLjkgMTYuN2E1NC4yIDU0LjIgMCAwIDEgMTEuMyA1My4zIDI4LjQ1IDI4LjQ1IDAgMCAwIDE4LjIgMzZ6bTk5LjgtMjA2Yy01Ni43LTYyLjktMTQwLjQtODYuOS0yMTcuNy03MC41YTMyLjk4IDMyLjk4IDAgMCAwLTI1LjQgMzkuMyAzMy4xMiAzMy4xMiAwIDAgMCAzOS4zIDI1LjVjNTUtMTEuNyAxMTQuNCA1LjQgMTU0LjggNTAuMSA0MC4zIDQ0LjcgNTEuMiAxMDUuNyAzNCAxNTkuMS01LjYgMTcuNCAzLjkgMzYgMjEuMyA0MS43IDE3LjQgNS42IDM2LTMuOSA0MS42LTIxLjJ2LS4xYzI0LjEtNzUuNCA4LjktMTYxLjEtNDcuOS0yMjMuOXpNNzI5IDQ5OWMtMTIuMi0zLjYtMjAuNS02LjEtMTQuMS0yMi4xIDEzLjgtMzQuNyAxNS4yLTY0LjcuMy04Ni0yOC00MC4xLTEwNC44LTM3LjktMTkyLjgtMS4xIDAgMC0yNy42IDEyLjEtMjAuNi05LjggMTMuNS00My41IDExLjUtNzkuOS05LjYtMTAxLTQ3LjctNDcuOC0xNzQuNiAxLjgtMjgzLjUgMTEwLjZDMTI3LjMgNDcxLjEgODAgNTU3LjUgODAgNjMyLjIgODAgNzc1LjEgMjYzLjIgODYyIDQ0Mi41IDg2MmMyMzUgMCAzOTEuMy0xMzYuNSAzOTEuMy0yNDUgMC02NS41LTU1LjItMTAyLjYtMTA0LjgtMTE4ek00NDMgODEwLjhjLTE0MyAxNC4xLTI2Ni41LTUwLjUtMjc1LjgtMTQ0LjUtOS4zLTkzLjkgOTkuMi0xODEuNSAyNDIuMi0xOTUuNiAxNDMtMTQuMiAyNjYuNSA1MC41IDI3NS44IDE0NC40QzY5NC40IDcwOSA1ODYgNzk2LjYgNDQzIDgxMC44eiIvPjwvc3ZnPg==",te=Object.defineProperty,ae=Object.getOwnPropertySymbols,le=Object.prototype.hasOwnProperty,re=Object.prototype.propertyIsEnumerable,ee=(p,m,d)=>m in p?te(p,m,{enumerable:!0,configurable:!0,writable:!0,value:d}):p[m]=d,q=(p,m)=>{for(var d in m||(m={}))le.call(m,d)&&ee(p,d,m[d]);if(ae)for(var d of ae(m))re.call(m,d)&&ee(p,d,m[d]);return p};const ce=p=>e.createElement("svg",q({viewBox:"64 64 896 896"},p),e.createElement("path",{d:"M854.6 370.6c-9.9-39.4 9.9-102.2 73.4-124.4l-67.9-3.6s-25.7-90-143.6-98c-117.8-8.1-194.9-3-195-3 .1 0 87.4 55.6 52.4 154.7-25.6 52.5-65.8 95.6-108.8 144.7-1.3 1.3-2.5 2.6-3.5 3.7C319.4 605 96 860 96 860c245.9 64.4 410.7-6.3 508.2-91.1 20.5-.2 35.9-.3 46.3-.3 135.8 0 250.6-117.6 245.9-248.4-3.2-89.9-31.9-110.2-41.8-149.6zm-204.1 334c-10.6 0-26.2.1-46.8.3l-23.6.2-17.8 15.5c-47.1 41-104.4 71.5-171.4 87.6-52.5 12.6-110 16.2-172.7 9.6 18-20.5 36.5-41.6 55.4-63.1 92-104.6 173.8-197.5 236.9-268.5l1.4-1.4 1.3-1.5c4.1-4.6 20.6-23.3 24.7-28.1 9.7-11.1 17.3-19.9 24.5-28.6 30.7-36.7 52.2-67.8 69-102.2l1.6-3.3 1.2-3.4c13.7-38.8 15.4-76.9 6.2-112.8 22.5.7 46.5 1.9 71.7 3.6 33.3 2.3 55.5 12.9 71.1 29.2 5.8 6 10.2 12.5 13.4 18.7 1 2 1.7 3.6 2.3 5l5 17.7c-15.7 34.5-19.9 73.3-11.4 107.2 3 11.8 6.9 22.4 12.3 34.4 2.1 4.7 9.5 20.1 11 23.3 10.3 22.7 15.4 43 16.7 78.7 3.3 94.6-82.7 181.9-182 181.9z"}));var se="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNODU0LjYgMzcwLjZjLTkuOS0zOS40IDkuOS0xMDIuMiA3My40LTEyNC40bC02Ny45LTMuNnMtMjUuNy05MC0xNDMuNi05OGMtMTE3LjgtOC4xLTE5NC45LTMtMTk1LTMgLjEgMCA4Ny40IDU1LjYgNTIuNCAxNTQuNy0yNS42IDUyLjUtNjUuOCA5NS42LTEwOC44IDE0NC43LTEuMyAxLjMtMi41IDIuNi0zLjUgMy43QzMxOS40IDYwNSA5NiA4NjAgOTYgODYwYzI0NS45IDY0LjQgNDEwLjctNi4zIDUwOC4yLTkxLjEgMjAuNS0uMiAzNS45LS4zIDQ2LjMtLjMgMTM1LjggMCAyNTAuNi0xMTcuNiAyNDUuOS0yNDguNC0zLjItODkuOS0zMS45LTExMC4yLTQxLjgtMTQ5LjZ6bS0yMDQuMSAzMzRjLTEwLjYgMC0yNi4yLjEtNDYuOC4zbC0yMy42LjItMTcuOCAxNS41Yy00Ny4xIDQxLTEwNC40IDcxLjUtMTcxLjQgODcuNi01Mi41IDEyLjYtMTEwIDE2LjItMTcyLjcgOS42IDE4LTIwLjUgMzYuNS00MS42IDU1LjQtNjMuMSA5Mi0xMDQuNiAxNzMuOC0xOTcuNSAyMzYuOS0yNjguNWwxLjQtMS40IDEuMy0xLjVjNC4xLTQuNiAyMC42LTIzLjMgMjQuNy0yOC4xIDkuNy0xMS4xIDE3LjMtMTkuOSAyNC41LTI4LjYgMzAuNy0zNi43IDUyLjItNjcuOCA2OS0xMDIuMmwxLjYtMy4zIDEuMi0zLjRjMTMuNy0zOC44IDE1LjQtNzYuOSA2LjItMTEyLjggMjIuNS43IDQ2LjUgMS45IDcxLjcgMy42IDMzLjMgMi4zIDU1LjUgMTIuOSA3MS4xIDI5LjIgNS44IDYgMTAuMiAxMi41IDEzLjQgMTguNyAxIDIgMS43IDMuNiAyLjMgNWw1IDE3LjdjLTE1LjcgMzQuNS0xOS45IDczLjMtMTEuNCAxMDcuMiAzIDExLjggNi45IDIyLjQgMTIuMyAzNC40IDIuMSA0LjcgOS41IDIwLjEgMTEgMjMuMyAxMC4zIDIyLjcgMTUuNCA0MyAxNi43IDc4LjcgMy4zIDk0LjYtODIuNyAxODEuOS0xODIgMTgxLjl6Ii8+PC9zdmc+",Me=Object.defineProperty,fe=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable,ue=(p,m,d)=>m in p?Me(p,m,{enumerable:!0,configurable:!0,writable:!0,value:d}):p[m]=d,ge=(p,m)=>{for(var d in m||(m={}))de.call(m,d)&&ue(p,d,m[d]);if(fe)for(var d of fe(m))me.call(m,d)&&ue(p,d,m[d]);return p};const ie=p=>e.createElement("svg",ge({viewBox:"64 64 896 896"},p),e.createElement("path",{d:"M564.7 230.1V803h60l25.2 71.4L756.3 803h131.5V230.1H564.7zm247.7 497h-59.9l-75.1 50.4-17.8-50.4h-18V308.3h170.7v418.8zM526.1 486.9H393.3c2.1-44.9 4.3-104.3 6.6-172.9h130.9l-.1-8.1c0-.6-.2-14.7-2.3-29.1-2.1-15-6.6-34.9-21-34.9H287.8c4.4-20.6 15.7-69.7 29.4-93.8l6.4-11.2-12.9-.7c-.8 0-19.6-.9-41.4 10.6-35.7 19-51.7 56.4-58.7 84.4-18.4 73.1-44.6 123.9-55.7 145.6-3.3 6.4-5.3 10.2-6.2 12.8-1.8 4.9-.8 9.8 2.8 13 10.5 9.5 38.2-2.9 38.5-3 .6-.3 1.3-.6 2.2-1 13.9-6.3 55.1-25 69.8-84.5h56.7c.7 32.2 3.1 138.4 2.9 172.9h-141l-2.1 1.5c-23.1 16.9-30.5 63.2-30.8 65.2l-1.4 9.2h167c-12.3 78.3-26.5 113.4-34 127.4-3.7 7-7.3 14-10.7 20.8-21.3 42.2-43.4 85.8-126.3 153.6-3.6 2.8-7 8-4.8 13.7 2.4 6.3 9.3 9.1 24.6 9.1 5.4 0 11.8-.3 19.4-1 49.9-4.4 100.8-18 135.1-87.6 17-35.1 31.7-71.7 43.9-108.9L497 850l5-12c.8-1.9 19-46.3 5.1-95.9l-.5-1.8-108.1-123-22 16.6c6.4-26.1 10.6-49.9 12.5-71.1h158.7v-8c0-40.1-18.5-63.9-19.2-64.9l-2.4-3z"}));var ye="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNNTY0LjcgMjMwLjFWODAzaDYwbDI1LjIgNzEuNEw3NTYuMyA4MDNoMTMxLjVWMjMwLjFINTY0Ljd6bTI0Ny43IDQ5N2gtNTkuOWwtNzUuMSA1MC40LTE3LjgtNTAuNGgtMThWMzA4LjNoMTcwLjd2NDE4Ljh6TTUyNi4xIDQ4Ni45SDM5My4zYzIuMS00NC45IDQuMy0xMDQuMyA2LjYtMTcyLjloMTMwLjlsLS4xLTguMWMwLS42LS4yLTE0LjctMi4zLTI5LjEtMi4xLTE1LTYuNi0zNC45LTIxLTM0LjlIMjg3LjhjNC40LTIwLjYgMTUuNy02OS43IDI5LjQtOTMuOGw2LjQtMTEuMi0xMi45LS43Yy0uOCAwLTE5LjYtLjktNDEuNCAxMC42LTM1LjcgMTktNTEuNyA1Ni40LTU4LjcgODQuNC0xOC40IDczLjEtNDQuNiAxMjMuOS01NS43IDE0NS42LTMuMyA2LjQtNS4zIDEwLjItNi4yIDEyLjgtMS44IDQuOS0uOCA5LjggMi44IDEzIDEwLjUgOS41IDM4LjItMi45IDM4LjUtMyAuNi0uMyAxLjMtLjYgMi4yLTEgMTMuOS02LjMgNTUuMS0yNSA2OS44LTg0LjVoNTYuN2MuNyAzMi4yIDMuMSAxMzguNCAyLjkgMTcyLjloLTE0MWwtMi4xIDEuNWMtMjMuMSAxNi45LTMwLjUgNjMuMi0zMC44IDY1LjJsLTEuNCA5LjJoMTY3Yy0xMi4zIDc4LjMtMjYuNSAxMTMuNC0zNCAxMjcuNC0zLjcgNy03LjMgMTQtMTAuNyAyMC44LTIxLjMgNDIuMi00My40IDg1LjgtMTI2LjMgMTUzLjYtMy42IDIuOC03IDgtNC44IDEzLjcgMi40IDYuMyA5LjMgOS4xIDI0LjYgOS4xIDUuNCAwIDExLjgtLjMgMTkuNC0xIDQ5LjktNC40IDEwMC44LTE4IDEzNS4xLTg3LjYgMTctMzUuMSAzMS43LTcxLjcgNDMuOS0xMDguOUw0OTcgODUwbDUtMTJjLjgtMS45IDE5LTQ2LjMgNS4xLTk1LjlsLS41LTEuOC0xMDguMS0xMjMtMjIgMTYuNmM2LjQtMjYuMSAxMC42LTQ5LjkgMTIuNS03MS4xaDE1OC43di04YzAtNDAuMS0xOC41LTYzLjktMTkuMi02NC45bC0yLjQtM3oiLz48L3N2Zz4=",Ae=t(89813),ve={github:a,weibo:oe,twitter:Z,gitlab:R,facebook:O,zhihu:ie,yuque:ce,linkedin:J},Ne=function(m){var d=m.icon,je=m.link,pe=(0,Ae.Z)(),Ie=(0,e.useMemo)(function(){return{Icon:ve[d],link:je}},[d,je]);return e.createElement("a",{className:"dumi-default-icon","data-dumi-tooltip":pe.formatMessage({id:"header.social.".concat(d)}),"data-dumi-tooltip-bottom":!0,target:"_blank",href:Ie.link,rel:"noreferrer"},e.createElement(Ie.Icon,null))},Le=Ne},75557:function(N,C,t){"use strict";t.d(C,{Z:function(){return K}});var e=t(37205),A=t.n(e),j=t(79800),h=t.n(j),D=t(21739),z=t(82100),k=t.n(z),O=t(29186),T=t.n(O),I=t(13720),L=t.n(I),b=t(80619),x=t.n(b),g=t(47074),y=t.n(g),a=t(85573),v=t.n(a),M=T()(function S(){k()(this,S)}),E=function(S){x()(o,S);var l=y()(o);function o(f){var Y;return k()(this,o),Y=l.call(this),v()(L()(Y),"el",void 0),Y.el=f,Y}return T()(o,[{key:"top",get:function(){return this.el.getBoundingClientRect().top}},{key:"outerHeight",get:function(){return this.el.getBoundingClientRect().height}},{key:"scrollTop",get:function(){return this.el.scrollTop}},{key:"scrollHeight",get:function(){return this.el.scrollHeight}},{key:"isScrolledToBottom",value:function(){return this.scrollTop+this.outerHeight>=this.scrollHeight}},{key:"registerScrollEvent",value:function(Y){this.el.addEventListener("scroll",Y)}},{key:"unregisterScrollEvent",value:function(Y){this.el.removeEventListener("scroll",Y)}}],[{key:"create",value:function(Y){var H=document.querySelector(Y);if(!H)throw new Error("element is not found.");return new o(H)}}]),o}(M),P=function(S){x()(o,S);var l=y()(o);function o(){return k()(this,o),l.apply(this,arguments)}return T()(o,[{key:"outerHeight",get:function(){return window.innerHeight}},{key:"scrollTop",get:function(){return document.documentElement.scrollTop}},{key:"scrollHeight",get:function(){return document.documentElement.scrollHeight}},{key:"isScrolledToBottom",value:function(){return this.scrollTop+this.outerHeight>=this.scrollHeight}},{key:"registerScrollEvent",value:function(Y){document.addEventListener("scroll",Y)}},{key:"unregisterScrollEvent",value:function(Y){document.removeEventListener("scroll",Y)}}],[{key:"create",value:function(){return new o}}]),o}(M),B=function(){function S(){k()(this,S)}return T()(S,null,[{key:"create",value:function(o){return o?E.create(o):P.create()}}]),S}(),U=function(l){var o=l.sectionRefs,f=l.rootSelector,Y=l.offset,H=Y===void 0?0:Y,Z=(0,D.useRef)(null);(0,D.useEffect)(function(){Z.current=B.create(f)},[f]);var i=(0,D.useCallback)(function(){return Z.current?Z.current.isScrolledToBottom():!1},[Z]),s=(0,D.useCallback)(function(te){if(!Z.current)return!1;var ae=Z.current.scrollTop,le=ae+Z.current.outerHeight,re=te.getBoundingClientRect(),ee=Z.current instanceof E?ae+re.top-Z.current.top+H:ae+re.top+H,q=ee+re.height;return[eeae].every(function(ce){return ce})},[Z,H]),c=(0,D.useCallback)(function(){return o.map(function(te){return te.current?s(te.current):!1})},[s,o]),F=(0,D.useState)([]),W=h()(F,2),_=W[0],$=W[1],oe=(0,D.useMemo)(function(){return _.findIndex(function(te){return te})},[_]),ne=(0,D.useCallback)(function(){var te=i()?[].concat(A()(new Array(o.length-1).fill(!1).map(function(ae){return ae})),[!0]):c();$(te)},[c,i,o]);return(0,D.useEffect)(function(){return ne(),Z.current&&Z.current.registerScrollEvent(ne),function(){Z.current&&Z.current.unregisterScrollEvent(ne)}},[ne]),{elementsStatusInViewport:_,currentElementIndexInViewport:oe}},V=function(l){var o=l.children,f=l.sectionRefs,Y=l.rootSelector,H=l.offset,Z=U({sectionRefs:f,rootSelector:Y,offset:H}),i=Z.elementsStatusInViewport,s=Z.currentElementIndexInViewport;return o({elementsStatusInViewport:i,currentElementIndexInViewport:s})},R=t(2738);function G(){return G=Object.assign?Object.assign.bind():function(S){for(var l=1;lS.length)&&(l=S.length);for(var o=0,f=new Array(l);o1&&q<4})},[H,Z]);return(0,D.useEffect)(function(){if(!s){var re=le.map(function(ee){var q=ee.id;return{current:document.getElementById(q)}});$(re)}},[o,f,s,le]),(0,D.useEffect)(function(){if(_.length>0){var re=document.querySelector(".dumi-default-header");ae(re?re.clientHeight:0)}},[_]),_.length?D.createElement(V,{sectionRefs:_,offset:-te},function(re){var ee=re.currentElementIndexInViewport;return ee>-1&&(c.current=ee),D.createElement("ul",{className:"dumi-default-toc"},le.filter(function(q){var ce=q.depth;return ce>1&&ce<4}).map(function(q,ce){var se="".concat(f,"#").concat(encodeURIComponent(q.id)),Me=ee>-1?ee:c.current;return D.createElement("li",{key:q.id,"data-depth":q.depth},D.createElement(R.rU,G({to:se,onClickCapture:function(){decodeURIComponent(Y).slice(1)===q.id&&R.m8.replace("".concat(o).concat(f))},title:q.title},Me===ce?{className:"active"}:{}),q.title))}))}):null},K=J},61004:function(N,C,t){var e=t(39572);function A(j){if(Array.isArray(j))return e(j)}N.exports=A,N.exports.__esModule=!0,N.exports.default=N.exports},13720:function(N){function C(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}N.exports=C,N.exports.__esModule=!0,N.exports.default=N.exports},47074:function(N,C,t){var e=t(34577),A=t(3529),j=t(34456);function h(D){var z=A();return function(){var O=e(D),T;if(z){var I=e(this).constructor;T=Reflect.construct(O,arguments,I)}else T=O.apply(this,arguments);return j(this,T)}}N.exports=h,N.exports.__esModule=!0,N.exports.default=N.exports},34577:function(N){function C(t){return N.exports=C=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(A){return A.__proto__||Object.getPrototypeOf(A)},N.exports.__esModule=!0,N.exports.default=N.exports,C(t)}N.exports=C,N.exports.__esModule=!0,N.exports.default=N.exports},80619:function(N,C,t){var e=t(35745);function A(j,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function");j.prototype=Object.create(h&&h.prototype,{constructor:{value:j,writable:!0,configurable:!0}}),Object.defineProperty(j,"prototype",{writable:!1}),h&&e(j,h)}N.exports=A,N.exports.__esModule=!0,N.exports.default=N.exports},3529:function(N){function C(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}N.exports=C,N.exports.__esModule=!0,N.exports.default=N.exports},97012:function(N){function C(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}N.exports=C,N.exports.__esModule=!0,N.exports.default=N.exports},93215:function(N){function C(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}N.exports=C,N.exports.__esModule=!0,N.exports.default=N.exports},34456:function(N,C,t){var e=t(31468).default,A=t(13720);function j(h,D){if(D&&(e(D)==="object"||typeof D=="function"))return D;if(D!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return A(h)}N.exports=j,N.exports.__esModule=!0,N.exports.default=N.exports},35745:function(N){function C(t,e){return N.exports=C=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(j,h){return j.__proto__=h,j},N.exports.__esModule=!0,N.exports.default=N.exports,C(t,e)}N.exports=C,N.exports.__esModule=!0,N.exports.default=N.exports},37205:function(N,C,t){var e=t(61004),A=t(97012),j=t(66109),h=t(93215);function D(z){return e(z)||A(z)||j(z)||h()}N.exports=D,N.exports.__esModule=!0,N.exports.default=N.exports},10291:function(N,C){"use strict";var t=function(O,T,I,L){function b(x){return x instanceof I?x:new I(function(g){g(x)})}return new(I||(I=Promise))(function(x,g){function y(M){try{v(L.next(M))}catch(E){g(E)}}function a(M){try{v(L.throw(M))}catch(E){g(E)}}function v(M){M.done?x(M.value):b(M.value).then(y,a)}v((L=L.apply(O,T||[])).next())})};function e(O){let T=0,I=0,L=O;do T+=L.offsetTop||0,I+=L.offsetLeft||0,L=L.offsetParent;while(L);return{top:T,left:I}}class A{constructor(T){this.element=T}getHorizontalScroll(){return this.element.scrollLeft}getVerticalScroll(){return this.element.scrollTop}getMaxHorizontalScroll(){return this.element.scrollWidth-this.element.clientWidth}getMaxVerticalScroll(){return this.element.scrollHeight-this.element.clientHeight}getHorizontalElementScrollOffset(T,I){return e(T).left-e(I).left}getVerticalElementScrollOffset(T,I){return e(T).top-e(I).top}scrollTo(T,I){this.element.scrollLeft=T,this.element.scrollTop=I}}class j{constructor(){this.element=window}getHorizontalScroll(){return window.scrollX||document.documentElement.scrollLeft}getVerticalScroll(){return window.scrollY||document.documentElement.scrollTop}getMaxHorizontalScroll(){return Math.max(document.body.scrollWidth,document.documentElement.scrollWidth,document.body.offsetWidth,document.documentElement.offsetWidth,document.body.clientWidth,document.documentElement.clientWidth)-window.innerWidth}getMaxVerticalScroll(){return Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight)-window.innerHeight}getHorizontalElementScrollOffset(T){return(window.scrollX||document.documentElement.scrollLeft)+T.getBoundingClientRect().left}getVerticalElementScrollOffset(T){return(window.scrollY||document.documentElement.scrollTop)+T.getBoundingClientRect().top}scrollTo(T,I){window.scrollTo(T,I)}}const h={elements:[],cancelMethods:[],add:(O,T)=>{h.elements.push(O),h.cancelMethods.push(T)},remove:(O,T)=>{const I=h.elements.indexOf(O);I>-1&&(T&&h.cancelMethods[I](),h.elements.splice(I,1),h.cancelMethods.splice(I,1))}},D=typeof window!="undefined",z={cancelOnUserAction:!0,easing:O=>--O*O*O+1,elementToScroll:D?window:null,horizontalOffset:0,maxDuration:3e3,minDuration:250,speed:500,verticalOffset:0};function k(O,T={}){return t(this,void 0,void 0,function*(){if(D){if(!window.Promise)throw"Browser doesn't support Promises, and animated-scroll-to depends on it, please provide a polyfill."}else return new Promise(r=>{r(!1)});let I,L,b,x=Object.assign(Object.assign({},z),T);const g=x.elementToScroll===window,y=!!x.elementToScroll.nodeName;if(!g&&!y)throw"Element to scroll needs to be either window or DOM element.";const a=g?document.documentElement:x.elementToScroll;getComputedStyle(a).getPropertyValue("scroll-behavior")==="smooth"&&console.warn(`${a.tagName} has "scroll-behavior: smooth" which can mess up with animated-scroll-to's animations`);const M=g?new j:new A(x.elementToScroll);if(O instanceof Element){if(b=O,y&&(!x.elementToScroll.contains(b)||x.elementToScroll.isSameNode(b)))throw"options.elementToScroll has to be a parent of scrollToElement";I=M.getHorizontalElementScrollOffset(b,x.elementToScroll),L=M.getVerticalElementScrollOffset(b,x.elementToScroll)}else if(typeof O=="number")I=M.getHorizontalScroll(),L=O;else if(Array.isArray(O)&&O.length===2)I=O[0]===null?M.getHorizontalScroll():O[0],L=O[1]===null?M.getVerticalScroll():O[1];else throw`Wrong function signature. Check documentation. -Available method signatures are: - animateScrollTo(y:number, options) - animateScrollTo([x:number | null, y:number | null], options) - animateScrollTo(scrollToElement:Element, options)`;I+=x.horizontalOffset,L+=x.verticalOffset;const E=M.getMaxHorizontalScroll(),P=M.getHorizontalScroll();I>E&&(I=E);const B=I-P,U=M.getMaxVerticalScroll(),V=M.getVerticalScroll();L>U&&(L=U);const R=L-V,G=Math.abs(Math.round(B/1e3*x.speed)),X=Math.abs(Math.round(R/1e3*x.speed));let w=G>X?G:X;return wx.maxDuration&&(w=x.maxDuration),new Promise((r,n)=>{B===0&&R===0&&r(!0),h.remove(M.element,!0);let u;const Q=()=>{o(),cancelAnimationFrame(u),r(!1)};h.add(M.element,Q);const J=H=>H.preventDefault(),K=x.cancelOnUserAction?Q:J,S=x.cancelOnUserAction?{passive:!0}:{passive:!1},l=["wheel","touchstart","keydown","mousedown"],o=()=>{l.forEach(H=>{M.element.removeEventListener(H,K,S)})};l.forEach(H=>{M.element.addEventListener(H,K,S)});const f=Date.now(),Y=()=>{var H=Date.now()-f,Z=H/w;const i=Math.round(P+B*x.easing(Z)),s=Math.round(V+R*x.easing(Z));H - +
- + \ No newline at end of file diff --git a/demos.3c749dd0.async.js b/demos.3c749dd0.async.js deleted file mode 100644 index 746f621..0000000 --- a/demos.3c749dd0.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_rc_component_color_picker=self.webpackChunk_rc_component_color_picker||[]).push([[433],{15413:function(u,n,_){_.r(n);var o=_(79800),i=_.n(o),l=_(74716),s=_(21739),d=_(65403),e=_(27174),E=!0;n.default=function(){var a=(0,s.useState)(new l.Color("rgba(255,0,0,0)")),r=i()(a,2),t=r[0],c=r[1];return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(l.default,{value:t,onChange:function(D){var P=D;E&&(E=!1,P=D.setA(1)),c(P)}}),(0,e.jsx)("br",{}),(0,e.jsxs)("div",{style:{width:258,display:"flex",flexDirection:"column",gap:8},children:[(0,e.jsxs)("span",{children:["hex: ",t.toHexString()]}),(0,e.jsxs)("span",{children:[" rgb: ",t.toRgbString()]}),(0,e.jsxs)("span",{children:[" hsb: ",t.toHsbString()]})]})]})}},87538:function(u,n,_){_.r(n);var o=_(74716),i=_(21739),l=_(65403),s=_(27174);n.default=function(){var d=["#F5222D","#FA8C16","#FADB14","#8BBB11","#52C41A","#13A8A8","#1677FF","#2F54EB","#722ED1","#EB2F96","#F5222D4D","#FA8C164D","#FADB144D","#8BBB114D","#52C41A4D","#13A8A84D","#1677FF4D","#2F54EB4D","#722ED14D","#EB2F964D"];return(0,s.jsx)("div",{style:{display:"flex",flexWrap:"wrap"},children:d.map(function(e){return(0,s.jsx)(o.ColorBlock,{color:e,prefixCls:"rc-color-picker"},e)})})}},70302:function(u,n,_){_.r(n);var o=_(79800),i=_.n(o),l=_(74716),s=_(21739),d=_(65403),e=_(27174);n.default=function(){var E=(0,s.useState)(new l.Color("#163cff")),a=i()(E,2),r=a[0],t=a[1];return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("div",{style:{width:500,display:"flex",flexDirection:"column",gap:8},children:(0,e.jsx)("span",{children:"Only called while change completed: ".concat(r.toRgbString())})}),(0,e.jsx)("br",{}),(0,e.jsx)(l.default,{onChangeComplete:t})]})}},71155:function(u,n,_){_.r(n);var o=_(79800),i=_.n(o),l=_(74716),s=_(21739),d=_(65403),e=_(27174),E=function(r){var t=r.min,c=r.max;return(0,e.jsxs)("div",{children:[(0,e.jsx)("span",{children:t}),(0,e.jsx)("span",{children:c})]})};n.default=function(){var a=(0,s.useState)(new l.Color("#163cff")),r=i()(a,2),t=r[0],c=r[1];return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(l.default,{color:t,onChange:c,components:{slider:E}}),(0,e.jsx)("br",{}),(0,e.jsxs)("div",{style:{width:258,display:"flex",flexDirection:"column",gap:8},children:[(0,e.jsxs)("span",{children:["hex: ",t.toHexString()]}),(0,e.jsxs)("span",{children:["rgb: ",t.toRgbString()]}),(0,e.jsxs)("span",{children:["hsb: ",t.toHsbString()]})]})]})}},16422:function(u,n,_){_.r(n);var o=_(74716),i=_(21739),l=_(65403),s=_(27174);n.default=function(){return(0,s.jsx)(o.default,{disabled:!0})}},7e3:function(u,n,_){_.r(n);var o=_(74716),i=_(21739),l=_(65403),s=_(27174);n.default=function(){return(0,s.jsx)(o.default,{disabledAlpha:!0})}},98838:function(u,n,_){_.r(n),_.d(n,{toHexFormat:function(){return E}});var o=_(79800),i=_.n(o),l=_(74716),s=_(21739),d=_(65403),e=_(27174),E=function(r){return(r==null?void 0:r.replace(/[^0-9a-fA-F#]/g,"").slice(0,9))||""};n.default=function(){var a=(0,s.useState)("#163cff"),r=i()(a,2),t=r[0],c=r[1],M=(0,s.useMemo)(function(){return typeof t=="string"?t:t.getAlpha()<1?t.toHex8String():t.toHexString()},[t]);return(0,e.jsx)("div",{style:{width:240},children:(0,e.jsx)(l.default,{value:t,onChange:c,panelRender:function(P){return(0,e.jsxs)(e.Fragment,{children:[P,(0,e.jsx)("input",{value:M,onChange:function(O){var m=O.target.value;c(E(m))}})]})}})})}},8622:function(u,n,_){_.r(n);var o=_(79800),i=_.n(o),l=_(74716),s=_(35593),d=_(21739),e=_(65403),E=_(91263),a=_(27174);n.default=function(){var r=(0,d.useState)("#1677ff"),t=i()(r,2),c=t[0],M=t[1],D="rc-color-picker",P=(0,d.useMemo)(function(){return typeof c=="string"?c:c.toRgbString()},[c]);return(0,a.jsx)(s.default,{action:["click"],prefixCls:D,popupPlacement:"bottomLeft",builtinPlacements:E.default,popup:(0,a.jsx)(l.default,{value:c,onChange:M}),children:(0,a.jsx)(l.ColorBlock,{color:P,prefixCls:D})})}}}]); diff --git a/demos.70c93e1c.async.js b/demos.70c93e1c.async.js new file mode 100644 index 0000000..1ec54f5 --- /dev/null +++ b/demos.70c93e1c.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_rc_component_color_picker=self.webpackChunk_rc_component_color_picker||[]).push([[433],{43402:function(u,n,_){_.r(n);var o=_(79800),i=_.n(o),l=_(21399),s=_(21739),d=_(35683),e=_(27174),E=!0;n.default=function(){var a=(0,s.useState)(new l.Color("rgba(255,0,0,0)")),r=i()(a,2),t=r[0],c=r[1];return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(l.default,{value:t,onChange:function(D){var P=D;E&&(E=!1,P=D.setA(1)),c(P)}}),(0,e.jsx)("br",{}),(0,e.jsxs)("div",{style:{width:258,display:"flex",flexDirection:"column",gap:8},children:[(0,e.jsxs)("span",{children:["hex: ",t.toHexString()]}),(0,e.jsxs)("span",{children:[" rgb: ",t.toRgbString()]}),(0,e.jsxs)("span",{children:[" hsb: ",t.toHsbString()]})]})]})}},38428:function(u,n,_){_.r(n);var o=_(21399),i=_(21739),l=_(35683),s=_(27174);n.default=function(){var d=["#F5222D","#FA8C16","#FADB14","#8BBB11","#52C41A","#13A8A8","#1677FF","#2F54EB","#722ED1","#EB2F96","#F5222D4D","#FA8C164D","#FADB144D","#8BBB114D","#52C41A4D","#13A8A84D","#1677FF4D","#2F54EB4D","#722ED14D","#EB2F964D"];return(0,s.jsx)("div",{style:{display:"flex",flexWrap:"wrap"},children:d.map(function(e){return(0,s.jsx)(o.ColorBlock,{color:e,prefixCls:"rc-color-picker"},e)})})}},67884:function(u,n,_){_.r(n);var o=_(79800),i=_.n(o),l=_(21399),s=_(21739),d=_(35683),e=_(27174);n.default=function(){var E=(0,s.useState)(new l.Color("#163cff")),a=i()(E,2),r=a[0],t=a[1];return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("div",{style:{width:500,display:"flex",flexDirection:"column",gap:8},children:(0,e.jsx)("span",{children:"Only called while change completed: ".concat(r.toRgbString())})}),(0,e.jsx)("br",{}),(0,e.jsx)(l.default,{onChangeComplete:t})]})}},30414:function(u,n,_){_.r(n);var o=_(79800),i=_.n(o),l=_(21399),s=_(21739),d=_(35683),e=_(27174),E=function(r){var t=r.min,c=r.max;return(0,e.jsxs)("div",{children:[(0,e.jsx)("span",{children:t}),(0,e.jsx)("span",{children:c})]})};n.default=function(){var a=(0,s.useState)(new l.Color("#163cff")),r=i()(a,2),t=r[0],c=r[1];return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(l.default,{color:t,onChange:c,components:{slider:E}}),(0,e.jsx)("br",{}),(0,e.jsxs)("div",{style:{width:258,display:"flex",flexDirection:"column",gap:8},children:[(0,e.jsxs)("span",{children:["hex: ",t.toHexString()]}),(0,e.jsxs)("span",{children:["rgb: ",t.toRgbString()]}),(0,e.jsxs)("span",{children:["hsb: ",t.toHsbString()]})]})]})}},66939:function(u,n,_){_.r(n);var o=_(21399),i=_(21739),l=_(35683),s=_(27174);n.default=function(){return(0,s.jsx)(o.default,{disabled:!0})}},99927:function(u,n,_){_.r(n);var o=_(21399),i=_(21739),l=_(35683),s=_(27174);n.default=function(){return(0,s.jsx)(o.default,{disabledAlpha:!0})}},43250:function(u,n,_){_.r(n),_.d(n,{toHexFormat:function(){return E}});var o=_(79800),i=_.n(o),l=_(21399),s=_(21739),d=_(35683),e=_(27174),E=function(r){return(r==null?void 0:r.replace(/[^0-9a-fA-F#]/g,"").slice(0,9))||""};n.default=function(){var a=(0,s.useState)("#163cff"),r=i()(a,2),t=r[0],c=r[1],M=(0,s.useMemo)(function(){return typeof t=="string"?t:t.getAlpha()<1?t.toHex8String():t.toHexString()},[t]);return(0,e.jsx)("div",{style:{width:240},children:(0,e.jsx)(l.default,{value:t,onChange:c,panelRender:function(P){return(0,e.jsxs)(e.Fragment,{children:[P,(0,e.jsx)("input",{value:M,onChange:function(O){var m=O.target.value;c(E(m))}})]})}})})}},40480:function(u,n,_){_.r(n);var o=_(79800),i=_.n(o),l=_(21399),s=_(35593),d=_(21739),e=_(35683),E=_(91701),a=_(27174);n.default=function(){var r=(0,d.useState)("#1677ff"),t=i()(r,2),c=t[0],M=t[1],D="rc-color-picker",P=(0,d.useMemo)(function(){return typeof c=="string"?c:c.toRgbString()},[c]);return(0,a.jsx)(s.default,{action:["click"],prefixCls:D,popupPlacement:"bottomLeft",builtinPlacements:E.default,popup:(0,a.jsx)(l.default,{value:c,onChange:M}),children:(0,a.jsx)(l.ColorBlock,{color:P,prefixCls:D})})}}}]); diff --git a/docs__demo__index.md.a09f8575.async.js b/docs__demo__index.md.a09f8575.async.js deleted file mode 100644 index cae28e4..0000000 --- a/docs__demo__index.md.a09f8575.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_rc_component_color_picker=self.webpackChunk_rc_component_color_picker||[]).push([[570],{4717:function(l,_,d){d.r(_);var c=d(71486),m=d(87924),t=d(11417),x=d(20883),h=d(39200),j=d(6686),u=d(54131),p=d(35328),s=d(2738),i=d(2399),n=d(21739),e=d(27174);function o(){var a=(0,s.eL)(),D=a.texts;return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("div",{className:"markdown",children:(0,e.jsxs)("h2",{id:"basic",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#basic",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"Basic"]})}),(0,e.jsx)(s.Dl,{demo:{id:"docs-demo-demo-basic"},previewerProps:{filename:"docs/example/basic.tsx"}}),(0,e.jsx)("div",{className:"markdown",children:(0,e.jsxs)("h2",{id:"disabled",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#disabled",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"Disabled"]})}),(0,e.jsx)(s.Dl,{demo:{id:"docs-demo-demo-disabled"},previewerProps:{filename:"docs/example/disabled.tsx"}}),(0,e.jsx)("div",{className:"markdown",children:(0,e.jsxs)("h2",{id:"disabled-alpha",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#disabled-alpha",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"Disabled Alpha"]})}),(0,e.jsx)(s.Dl,{demo:{id:"docs-demo-demo-disabledalpha"},previewerProps:{filename:"docs/example/disabledAlpha.tsx"}}),(0,e.jsx)("div",{className:"markdown",children:(0,e.jsxs)("h2",{id:"custom-render",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#custom-render",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"Custom Render"]})}),(0,e.jsx)(s.Dl,{demo:{id:"docs-demo-demo-panelrender"},previewerProps:{filename:"docs/example/panelRender.tsx"}}),(0,e.jsx)("div",{className:"markdown",children:(0,e.jsxs)("h2",{id:"work-with-trigger",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#work-with-trigger",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"Work with Trigger"]})}),(0,e.jsx)(s.Dl,{demo:{id:"docs-demo-demo-trigger"},previewerProps:{filename:"docs/example/trigger.tsx"}}),(0,e.jsx)("div",{className:"markdown",children:(0,e.jsxs)("h2",{id:"color-change-completed",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#color-change-completed",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"Color change completed"]})}),(0,e.jsx)(s.Dl,{demo:{id:"docs-demo-demo-changecomplete"},previewerProps:{filename:"docs/example/changeComplete.tsx"}}),(0,e.jsx)("div",{className:"markdown",children:(0,e.jsxs)("h2",{id:"color-block",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#color-block",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"Color Block"]})}),(0,e.jsx)(s.Dl,{demo:{id:"docs-demo-demo-block"},previewerProps:{filename:"docs/example/block.tsx"}}),(0,e.jsx)("div",{className:"markdown",children:(0,e.jsxs)("h2",{id:"components",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#components",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"Components"]})}),(0,e.jsx)(s.Dl,{demo:{id:"docs-demo-demo-components"},previewerProps:{filename:"docs/example/components.tsx"}})]})}function r(){return(0,e.jsx)(s.dY,{children:(0,e.jsx)(n.Suspense,{fallback:(0,e.jsx)(i.Z,{}),children:(0,e.jsx)(o,{})})})}_.default=r}}]); diff --git a/docs__demo__index.md.aa1a7217.async.js b/docs__demo__index.md.aa1a7217.async.js new file mode 100644 index 0000000..50b6d3f --- /dev/null +++ b/docs__demo__index.md.aa1a7217.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_rc_component_color_picker=self.webpackChunk_rc_component_color_picker||[]).push([[570],{60252:function(l,_,d){d.r(_);var c=d(3122),m=d(8407),t=d(11417),x=d(99729),h=d(68865),j=d(51425),u=d(73514),p=d(99920),s=d(39013),i=d(96601),n=d(21739),e=d(27174);function o(){var a=(0,s.eL)(),D=a.texts;return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("div",{className:"markdown",children:(0,e.jsxs)("h2",{id:"basic",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#basic",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"Basic"]})}),(0,e.jsx)(s.Dl,{demo:{id:"docs-demo-demo-basic"},previewerProps:{filename:"docs/example/basic.tsx"}}),(0,e.jsx)("div",{className:"markdown",children:(0,e.jsxs)("h2",{id:"disabled",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#disabled",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"Disabled"]})}),(0,e.jsx)(s.Dl,{demo:{id:"docs-demo-demo-disabled"},previewerProps:{filename:"docs/example/disabled.tsx"}}),(0,e.jsx)("div",{className:"markdown",children:(0,e.jsxs)("h2",{id:"disabled-alpha",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#disabled-alpha",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"Disabled Alpha"]})}),(0,e.jsx)(s.Dl,{demo:{id:"docs-demo-demo-disabledalpha"},previewerProps:{filename:"docs/example/disabledAlpha.tsx"}}),(0,e.jsx)("div",{className:"markdown",children:(0,e.jsxs)("h2",{id:"custom-render",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#custom-render",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"Custom Render"]})}),(0,e.jsx)(s.Dl,{demo:{id:"docs-demo-demo-panelrender"},previewerProps:{filename:"docs/example/panelRender.tsx"}}),(0,e.jsx)("div",{className:"markdown",children:(0,e.jsxs)("h2",{id:"work-with-trigger",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#work-with-trigger",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"Work with Trigger"]})}),(0,e.jsx)(s.Dl,{demo:{id:"docs-demo-demo-trigger"},previewerProps:{filename:"docs/example/trigger.tsx"}}),(0,e.jsx)("div",{className:"markdown",children:(0,e.jsxs)("h2",{id:"color-change-completed",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#color-change-completed",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"Color change completed"]})}),(0,e.jsx)(s.Dl,{demo:{id:"docs-demo-demo-changecomplete"},previewerProps:{filename:"docs/example/changeComplete.tsx"}}),(0,e.jsx)("div",{className:"markdown",children:(0,e.jsxs)("h2",{id:"color-block",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#color-block",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"Color Block"]})}),(0,e.jsx)(s.Dl,{demo:{id:"docs-demo-demo-block"},previewerProps:{filename:"docs/example/block.tsx"}}),(0,e.jsx)("div",{className:"markdown",children:(0,e.jsxs)("h2",{id:"components",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#components",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"Components"]})}),(0,e.jsx)(s.Dl,{demo:{id:"docs-demo-demo-components"},previewerProps:{filename:"docs/example/components.tsx"}})]})}function r(){return(0,e.jsx)(s.dY,{children:(0,e.jsx)(n.Suspense,{fallback:(0,e.jsx)(i.Z,{}),children:(0,e.jsx)(o,{})})})}_.default=r}}]); diff --git a/docs__index.md.256d7f56.async.js b/docs__index.md.256d7f56.async.js new file mode 100644 index 0000000..d2c231d --- /dev/null +++ b/docs__index.md.256d7f56.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_rc_component_color_picker=self.webpackChunk_rc_component_color_picker||[]).push([[935],{29331:function(u,a,n){n.r(a),n.d(a,{default:function(){return j}});var v=n(3122),g=n(8407),f=n(11417),p=n(99729),m=n(68865),i=n(51425),c=n(73514),k=n(99920),d=n(39013),r=n(96601),t=n(21739),e=n(27174);function h(){var s=useRouteMeta(),l=s.texts;return _jsx(_Fragment,{})}function b(){return _jsx(DumiPage,{children:_jsx(Suspense,{fallback:_jsx(LoadingComponent,{}),children:_jsx(h,{})})})}var I=null;function o(){var s=(0,d.eL)(),l=s.texts;return(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)("div",{className:"markdown",children:[(0,e.jsxs)("h1",{id:"rc-componentcolor-picker",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#rc-componentcolor-picker",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"@rc-component/color-picker"]}),(0,e.jsx)("p",{children:l[0].value}),(0,e.jsxs)("p",{children:[(0,e.jsx)("a",{href:"http://npmjs.org/package/@rc-component/color-picker",children:(0,e.jsx)("img",{src:"http://img.shields.io/npm/v/@rc-component/color-picker.svg?style=flat-square",alt:"NPM version"})}),l[1].value,(0,e.jsx)("a",{href:"https://github.com/umijs/dumi",children:(0,e.jsx)("img",{src:"https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square",alt:"dumi"})}),l[2].value,(0,e.jsx)("a",{href:"https://github.com/react-component/color-picker/actions",children:(0,e.jsx)("img",{src:"https://github.com/react-component/color-picker/workflows/CI/badge.svg",alt:"build status"})}),l[3].value,(0,e.jsx)("a",{href:"https://codecov.io/gh/react-component/color-picker/branch/master",children:(0,e.jsx)("img",{src:"https://img.shields.io/codecov/c/github/react-component/color-picker/master.svg?style=flat-square",alt:"Test coverage"})}),l[4].value,(0,e.jsx)("a",{href:"https://npmjs.org/package/@rc-component/color-picker",children:(0,e.jsx)("img",{src:"https://img.shields.io/npm/dm/@rc-component/color-picker.svg?style=flat-square",alt:"npm download"})}),l[5].value,(0,e.jsx)("a",{href:"https://bundlephobia.com/result?p=@rc-component/color-picker",children:(0,e.jsx)("img",{src:"https://badgen.net/bundlephobia/minzip/@rc-component/color-picker",alt:"bundle size"})})]}),(0,e.jsxs)("h2",{id:"install",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#install",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"install"]}),(0,e.jsx)("p",{children:(0,e.jsx)("a",{href:"https://npmjs.org/package/@rc-component/color-picker",children:(0,e.jsx)("img",{src:"https://nodei.co/npm/@rc-component/color-picker.png",alt:"@rc-component/color-picker"})})}),(0,e.jsxs)("h2",{id:"development",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#development",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"Development"]}),(0,e.jsx)(i.Z,{children:l[6].value}),(0,e.jsxs)("h2",{id:"example",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#example",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"Example"]}),(0,e.jsx)("p",{children:(0,e.jsx)("a",{href:"http://localhost:8000",children:l[7].value})}),(0,e.jsxs)("h2",{id:"usage",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#usage",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"Usage"]}),(0,e.jsx)(i.Z,{lang:"js",children:l[8].value}),(0,e.jsxs)("h2",{id:"api",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#api",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"API"]}),(0,e.jsxs)(c.Z,{children:[(0,e.jsx)("thead",{children:(0,e.jsxs)("tr",{children:[(0,e.jsx)("th",{align:"left",children:l[9].value}),(0,e.jsx)("th",{align:"left",children:l[10].value}),(0,e.jsx)("th",{align:"left",children:l[11].value}),(0,e.jsx)("th",{align:"left",children:l[12].value})]})}),(0,e.jsxs)("tbody",{children:[(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{align:"left",children:l[13].value}),(0,e.jsx)("td",{align:"left",children:l[14].value}),(0,e.jsxs)("td",{align:"left",children:[l[15].value,(0,e.jsx)("code",{children:l[16].value})]}),(0,e.jsx)("td",{align:"left",children:l[17].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{align:"left",children:l[18].value}),(0,e.jsx)("td",{align:"left",children:l[19].value}),(0,e.jsxs)("td",{align:"left",children:[l[20].value,(0,e.jsx)("code",{children:l[21].value})]}),(0,e.jsx)("td",{align:"left",children:l[22].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{align:"left",children:l[23].value}),(0,e.jsxs)("td",{align:"left",children:[l[24].value,(0,e.jsx)("code",{children:l[25].value}),l[26].value]}),(0,e.jsx)("td",{align:"left",children:(0,e.jsx)("code",{children:l[27].value})}),(0,e.jsx)("td",{align:"left",children:l[28].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{align:"left",children:l[29].value}),(0,e.jsxs)("td",{align:"left",children:[l[30].value,(0,e.jsx)("code",{children:l[31].value}),l[32].value]}),(0,e.jsx)("td",{align:"left",children:(0,e.jsx)("code",{children:l[33].value})}),(0,e.jsx)("td",{align:"left",children:l[34].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{align:"left",children:l[35].value}),(0,e.jsx)("td",{align:"left",children:l[36].value}),(0,e.jsx)("td",{align:"left",children:l[37].value}),(0,e.jsx)("td",{align:"left",children:l[38].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{align:"left",children:l[39].value}),(0,e.jsx)("td",{align:"left",children:l[40].value}),(0,e.jsx)("td",{align:"left",children:l[41].value}),(0,e.jsx)("td",{align:"left",children:l[42].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{align:"left",children:l[43].value}),(0,e.jsx)("td",{align:"left",children:l[44].value}),(0,e.jsx)("td",{align:"left",children:(0,e.jsx)("code",{children:l[45].value})}),(0,e.jsx)("td",{align:"left",children:l[46].value})]})]})]}),(0,e.jsxs)("h3",{id:"color",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#color",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"Color"]}),(0,e.jsxs)(c.Z,{children:[(0,e.jsx)("thead",{children:(0,e.jsxs)("tr",{children:[(0,e.jsx)("th",{align:"left",children:l[47].value}),(0,e.jsx)("th",{align:"left",children:l[48].value}),(0,e.jsx)("th",{align:"left",children:l[49].value}),(0,e.jsx)("th",{align:"left",children:l[50].value})]})}),(0,e.jsxs)("tbody",{children:[(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{align:"left",children:l[51].value}),(0,e.jsxs)("td",{align:"left",children:[l[52].value,(0,e.jsx)("code",{children:l[53].value}),l[54].value,(0,e.jsx)("code",{children:l[55].value})]}),(0,e.jsx)("td",{align:"left",children:(0,e.jsx)("code",{children:l[56].value})}),(0,e.jsx)("td",{align:"left",children:l[57].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{align:"left",children:l[58].value}),(0,e.jsxs)("td",{align:"left",children:[l[59].value,(0,e.jsx)("code",{children:l[60].value}),l[61].value,(0,e.jsx)("code",{children:l[62].value})]}),(0,e.jsx)("td",{align:"left",children:(0,e.jsx)("code",{children:l[63].value})}),(0,e.jsx)("td",{align:"left",children:l[64].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{align:"left",children:l[65].value}),(0,e.jsxs)("td",{align:"left",children:[l[66].value,(0,e.jsx)("code",{children:l[67].value}),l[68].value,(0,e.jsx)("code",{children:l[69].value})]}),(0,e.jsx)("td",{align:"left",children:(0,e.jsx)("code",{children:l[70].value})}),(0,e.jsx)("td",{align:"left",children:l[71].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{align:"left",children:l[72].value}),(0,e.jsxs)("td",{align:"left",children:[l[73].value,(0,e.jsx)("code",{children:l[74].value}),l[75].value,(0,e.jsx)("code",{children:l[76].value})]}),(0,e.jsx)("td",{align:"left",children:(0,e.jsx)("code",{children:l[77].value})}),(0,e.jsx)("td",{align:"left",children:l[78].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{align:"left",children:l[79].value}),(0,e.jsxs)("td",{align:"left",children:[l[80].value,(0,e.jsx)("code",{children:l[81].value}),l[82].value,(0,e.jsx)("code",{children:l[83].value})]}),(0,e.jsx)("td",{align:"left",children:(0,e.jsx)("code",{children:l[84].value})}),(0,e.jsx)("td",{align:"left",children:l[85].value})]})]})]}),(0,e.jsxs)("h2",{id:"test-case",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#test-case",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"Test Case"]}),(0,e.jsx)(i.Z,{children:l[86].value}),(0,e.jsxs)("h2",{id:"license",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#license",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"License"]}),(0,e.jsx)("p",{children:l[87].value})]})})}function x(){return(0,e.jsx)(d.dY,{children:(0,e.jsx)(t.Suspense,{fallback:(0,e.jsx)(r.Z,{}),children:(0,e.jsx)(o,{})})})}var j=x}}]); diff --git a/docs__index.md.ece39bf8.async.js b/docs__index.md.ece39bf8.async.js deleted file mode 100644 index ea6cf0a..0000000 --- a/docs__index.md.ece39bf8.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_rc_component_color_picker=self.webpackChunk_rc_component_color_picker||[]).push([[935],{4789:function(u,a,n){n.r(a),n.d(a,{default:function(){return j}});var v=n(71486),g=n(87924),f=n(11417),p=n(20883),m=n(39200),i=n(6686),c=n(54131),k=n(35328),d=n(2738),r=n(2399),t=n(21739),e=n(27174);function h(){var s=useRouteMeta(),l=s.texts;return _jsx(_Fragment,{})}function b(){return _jsx(DumiPage,{children:_jsx(Suspense,{fallback:_jsx(LoadingComponent,{}),children:_jsx(h,{})})})}var I=null;function o(){var s=(0,d.eL)(),l=s.texts;return(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)("div",{className:"markdown",children:[(0,e.jsxs)("h1",{id:"rc-componentcolor-picker",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#rc-componentcolor-picker",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"@rc-component/color-picker"]}),(0,e.jsx)("p",{children:l[0].value}),(0,e.jsxs)("p",{children:[(0,e.jsx)("a",{href:"http://npmjs.org/package/@rc-component/color-picker",children:(0,e.jsx)("img",{src:"http://img.shields.io/npm/v/@rc-component/color-picker.svg?style=flat-square",alt:"NPM version"})}),l[1].value,(0,e.jsx)("a",{href:"https://github.com/umijs/dumi",children:(0,e.jsx)("img",{src:"https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square",alt:"dumi"})}),l[2].value,(0,e.jsx)("a",{href:"https://github.com/react-component/color-picker/actions",children:(0,e.jsx)("img",{src:"https://github.com/react-component/color-picker/workflows/CI/badge.svg",alt:"build status"})}),l[3].value,(0,e.jsx)("a",{href:"https://codecov.io/gh/react-component/color-picker/branch/master",children:(0,e.jsx)("img",{src:"https://img.shields.io/codecov/c/github/react-component/color-picker/master.svg?style=flat-square",alt:"Test coverage"})}),l[4].value,(0,e.jsx)("a",{href:"https://npmjs.org/package/@rc-component/color-picker",children:(0,e.jsx)("img",{src:"https://img.shields.io/npm/dm/@rc-component/color-picker.svg?style=flat-square",alt:"npm download"})}),l[5].value,(0,e.jsx)("a",{href:"https://bundlephobia.com/result?p=@rc-component/color-picker",children:(0,e.jsx)("img",{src:"https://badgen.net/bundlephobia/minzip/@rc-component/color-picker",alt:"bundle size"})})]}),(0,e.jsxs)("h2",{id:"install",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#install",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"install"]}),(0,e.jsx)("p",{children:(0,e.jsx)("a",{href:"https://npmjs.org/package/@rc-component/color-picker",children:(0,e.jsx)("img",{src:"https://nodei.co/npm/@rc-component/color-picker.png",alt:"@rc-component/color-picker"})})}),(0,e.jsxs)("h2",{id:"development",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#development",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"Development"]}),(0,e.jsx)(i.Z,{children:l[6].value}),(0,e.jsxs)("h2",{id:"example",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#example",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"Example"]}),(0,e.jsx)("p",{children:(0,e.jsx)("a",{href:"http://localhost:8000",children:l[7].value})}),(0,e.jsxs)("h2",{id:"usage",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#usage",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"Usage"]}),(0,e.jsx)(i.Z,{lang:"js",children:l[8].value}),(0,e.jsxs)("h2",{id:"api",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#api",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"API"]}),(0,e.jsxs)(c.Z,{children:[(0,e.jsx)("thead",{children:(0,e.jsxs)("tr",{children:[(0,e.jsx)("th",{align:"left",children:l[9].value}),(0,e.jsx)("th",{align:"left",children:l[10].value}),(0,e.jsx)("th",{align:"left",children:l[11].value}),(0,e.jsx)("th",{align:"left",children:l[12].value})]})}),(0,e.jsxs)("tbody",{children:[(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{align:"left",children:l[13].value}),(0,e.jsx)("td",{align:"left",children:l[14].value}),(0,e.jsxs)("td",{align:"left",children:[l[15].value,(0,e.jsx)("code",{children:l[16].value})]}),(0,e.jsx)("td",{align:"left",children:l[17].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{align:"left",children:l[18].value}),(0,e.jsx)("td",{align:"left",children:l[19].value}),(0,e.jsxs)("td",{align:"left",children:[l[20].value,(0,e.jsx)("code",{children:l[21].value})]}),(0,e.jsx)("td",{align:"left",children:l[22].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{align:"left",children:l[23].value}),(0,e.jsxs)("td",{align:"left",children:[l[24].value,(0,e.jsx)("code",{children:l[25].value}),l[26].value]}),(0,e.jsx)("td",{align:"left",children:(0,e.jsx)("code",{children:l[27].value})}),(0,e.jsx)("td",{align:"left",children:l[28].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{align:"left",children:l[29].value}),(0,e.jsxs)("td",{align:"left",children:[l[30].value,(0,e.jsx)("code",{children:l[31].value}),l[32].value]}),(0,e.jsx)("td",{align:"left",children:(0,e.jsx)("code",{children:l[33].value})}),(0,e.jsx)("td",{align:"left",children:l[34].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{align:"left",children:l[35].value}),(0,e.jsx)("td",{align:"left",children:l[36].value}),(0,e.jsx)("td",{align:"left",children:l[37].value}),(0,e.jsx)("td",{align:"left",children:l[38].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{align:"left",children:l[39].value}),(0,e.jsx)("td",{align:"left",children:l[40].value}),(0,e.jsx)("td",{align:"left",children:l[41].value}),(0,e.jsx)("td",{align:"left",children:l[42].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{align:"left",children:l[43].value}),(0,e.jsx)("td",{align:"left",children:l[44].value}),(0,e.jsx)("td",{align:"left",children:(0,e.jsx)("code",{children:l[45].value})}),(0,e.jsx)("td",{align:"left",children:l[46].value})]})]})]}),(0,e.jsxs)("h3",{id:"color",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#color",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"Color"]}),(0,e.jsxs)(c.Z,{children:[(0,e.jsx)("thead",{children:(0,e.jsxs)("tr",{children:[(0,e.jsx)("th",{align:"left",children:l[47].value}),(0,e.jsx)("th",{align:"left",children:l[48].value}),(0,e.jsx)("th",{align:"left",children:l[49].value}),(0,e.jsx)("th",{align:"left",children:l[50].value})]})}),(0,e.jsxs)("tbody",{children:[(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{align:"left",children:l[51].value}),(0,e.jsxs)("td",{align:"left",children:[l[52].value,(0,e.jsx)("code",{children:l[53].value}),l[54].value,(0,e.jsx)("code",{children:l[55].value})]}),(0,e.jsx)("td",{align:"left",children:(0,e.jsx)("code",{children:l[56].value})}),(0,e.jsx)("td",{align:"left",children:l[57].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{align:"left",children:l[58].value}),(0,e.jsxs)("td",{align:"left",children:[l[59].value,(0,e.jsx)("code",{children:l[60].value}),l[61].value,(0,e.jsx)("code",{children:l[62].value})]}),(0,e.jsx)("td",{align:"left",children:(0,e.jsx)("code",{children:l[63].value})}),(0,e.jsx)("td",{align:"left",children:l[64].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{align:"left",children:l[65].value}),(0,e.jsxs)("td",{align:"left",children:[l[66].value,(0,e.jsx)("code",{children:l[67].value}),l[68].value,(0,e.jsx)("code",{children:l[69].value})]}),(0,e.jsx)("td",{align:"left",children:(0,e.jsx)("code",{children:l[70].value})}),(0,e.jsx)("td",{align:"left",children:l[71].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{align:"left",children:l[72].value}),(0,e.jsxs)("td",{align:"left",children:[l[73].value,(0,e.jsx)("code",{children:l[74].value}),l[75].value,(0,e.jsx)("code",{children:l[76].value})]}),(0,e.jsx)("td",{align:"left",children:(0,e.jsx)("code",{children:l[77].value})}),(0,e.jsx)("td",{align:"left",children:l[78].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{align:"left",children:l[79].value}),(0,e.jsxs)("td",{align:"left",children:[l[80].value,(0,e.jsx)("code",{children:l[81].value}),l[82].value,(0,e.jsx)("code",{children:l[83].value})]}),(0,e.jsx)("td",{align:"left",children:(0,e.jsx)("code",{children:l[84].value})}),(0,e.jsx)("td",{align:"left",children:l[85].value})]})]})]}),(0,e.jsxs)("h2",{id:"test-case",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#test-case",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"Test Case"]}),(0,e.jsx)(i.Z,{children:l[86].value}),(0,e.jsxs)("h2",{id:"license",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#license",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"License"]}),(0,e.jsx)("p",{children:l[87].value})]})})}function x(){return(0,e.jsx)(d.dY,{children:(0,e.jsx)(t.Suspense,{fallback:(0,e.jsx)(r.Z,{}),children:(0,e.jsx)(o,{})})})}var j=x}}]); diff --git a/dumi__tmp-production__dumi__theme__ContextWrapper.6df3ec10.async.js b/dumi__tmp-production__dumi__theme__ContextWrapper.6df3ec10.async.js deleted file mode 100644 index c61a3d3..0000000 --- a/dumi__tmp-production__dumi__theme__ContextWrapper.6df3ec10.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_rc_component_color_picker=self.webpackChunk_rc_component_color_picker||[]).push([[923],{79633:function(P,n,e){e.r(n),e.d(n,{default:function(){return T}});var g=e(79800),y=e.n(g),o=e(21739),r=e(2738),k=e(40150),C=e(93148),a=null,s=e(91768),x=e(27174),c={},i={name:"@rc-component/color-picker",description:"React Color Picker",version:"1.8.3",license:"MIT",repository:{type:"git",url:"git@github.com:react-component/color-picker.git"}},l="browser",u=void 0,m={footer:'Copyright \xA9 2024 | Powered by dumi',prefersColor:{default:"light",switch:!0},nprogress:!0,lastUpdated:!0,name:"color-picker",logo:"https://avatars0.githubusercontent.com/u/9441414?s=200&v=4",sourceLink:"https://github.com/react-component/color-picker/tree/master/{fileName}#L{line}",editLink:"https://github.com/react-component/color-picker/edit/master/{filename}"},p=!1;function T(){var L=(0,r.pC)(),j=(0,o.useState)(!1),v=y()(j,2),d=v[0],f=v[1],h=(0,o.useRef)(r.m8.location.pathname);(0,o.useEffect)(function(){return r.m8.listen(function(t){t.location.pathname!==h.current&&(h.current=t.location.pathname,document.documentElement.scrollTo(0,0))})},[]);var E=o.useMemo(function(){var t={pkg:i,historyType:l,entryExports:c,demos:null,components:a,locales:s.k,loading:d,setLoading:f,hostname:u,themeConfig:m,_2_level_nav_available:p};return Object.defineProperty(t,"demos",{get:function(){return(0,k.Kp)(!1,"`demos` return empty in latest version, please use `useDemo` instead."),{}}}),t},[i,l,c,a,s.k,d,f,u,m,p]);return(0,x.jsx)(C.D.Provider,{value:E,children:L})}}}]); diff --git a/dumi__tmp-production__dumi__theme__ContextWrapper.b8463a6b.async.js b/dumi__tmp-production__dumi__theme__ContextWrapper.b8463a6b.async.js new file mode 100644 index 0000000..4a9355d --- /dev/null +++ b/dumi__tmp-production__dumi__theme__ContextWrapper.b8463a6b.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_rc_component_color_picker=self.webpackChunk_rc_component_color_picker||[]).push([[923],{89907:function(P,n,e){e.r(n),e.d(n,{default:function(){return T}});var g=e(79800),y=e.n(g),o=e(21739),r=e(39013),k=e(40150),C=e(21075),a=null,s=e(38191),x=e(27174),c={},i={name:"@rc-component/color-picker",description:"React Color Picker",version:"1.9.0",license:"MIT",repository:{type:"git",url:"git@github.com:react-component/color-picker.git"}},l="browser",u=void 0,m={footer:'Copyright \xA9 2024 | Powered by dumi',prefersColor:{default:"light",switch:!0},nprogress:!0,lastUpdated:!0,name:"color-picker",logo:"https://avatars0.githubusercontent.com/u/9441414?s=200&v=4",sourceLink:"https://github.com/react-component/color-picker/tree/master/{fileName}#L{line}",editLink:"https://github.com/react-component/color-picker/edit/master/{filename}"},p=!1;function T(){var L=(0,r.pC)(),j=(0,o.useState)(!1),v=y()(j,2),d=v[0],f=v[1],h=(0,o.useRef)(r.m8.location.pathname);(0,o.useEffect)(function(){return r.m8.listen(function(t){t.location.pathname!==h.current&&(h.current=t.location.pathname,document.documentElement.scrollTo(0,0))})},[]);var E=o.useMemo(function(){var t={pkg:i,historyType:l,entryExports:c,demos:null,components:a,locales:s.k,loading:d,setLoading:f,hostname:u,themeConfig:m,_2_level_nav_available:p};return Object.defineProperty(t,"demos",{get:function(){return(0,k.Kp)(!1,"`demos` return empty in latest version, please use `useDemo` instead."),{}}}),t},[i,l,c,a,s.k,d,f,u,m,p]);return(0,x.jsx)(C.D.Provider,{value:E,children:L})}}}]); diff --git a/index.html b/index.html index 5b4ad4e..7aa18e4 100644 --- a/index.html +++ b/index.html @@ -11,10 +11,10 @@ } - +
- + \ No newline at end of file diff --git a/meta__docs.2d5d4f72.async.js b/meta__docs.2d5d4f72.async.js deleted file mode 100644 index 06d9837..0000000 --- a/meta__docs.2d5d4f72.async.js +++ /dev/null @@ -1,434 +0,0 @@ -!(function(){var Me=Object.defineProperty;var Ee=(r,o,e)=>o in r?Me(r,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[o]=e;var J=(r,o,e)=>Ee(r,typeof o!="symbol"?o+"":o,e);(self.webpackChunk_rc_component_color_picker=self.webpackChunk_rc_component_color_picker||[]).push([[904],{84889:function(r,o,e){"use strict";e.r(o),e.d(o,{demos:function(){return h}});var m=e(7557),l=e.n(m),d=e(41498),u=e.n(d),p=e(21739),B=e(86228),h={"docs-demo-demo-basic":{component:p.memo(p.lazy(function(){return e.e(433).then(e.bind(e,15413))})),asset:{type:"BLOCK",id:"docs-demo-demo-basic",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:e(57583).Z},"@rc-component/color-picker":{type:"NPM",value:"1.8.3"},react:{type:"NPM",value:"18.3.1"},"../../assets/index.less":{type:"FILE",value:e(72119).Z}},entry:"index.tsx"},context:{"@rc-component/color-picker":e(74716),react:e(21739),"../../assets/index.less":e(65403)},renderOpts:{compile:function(){var g=u()(l()().mark(function x(){var b,D=arguments;return l()().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,e.e(464).then(e.bind(e,22464));case 2:return i.abrupt("return",(b=i.sent).default.apply(b,D));case 3:case"end":return i.stop()}},x)}));function R(){return g.apply(this,arguments)}return R}()}},"docs-demo-demo-disabled":{component:p.memo(p.lazy(function(){return e.e(433).then(e.bind(e,16422))})),asset:{type:"BLOCK",id:"docs-demo-demo-disabled",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:e(81162).Z},"@rc-component/color-picker":{type:"NPM",value:"1.8.3"},react:{type:"NPM",value:"18.3.1"},"../../assets/index.less":{type:"FILE",value:e(72119).Z}},entry:"index.tsx"},context:{"@rc-component/color-picker":e(74716),react:e(21739),"../../assets/index.less":e(65403)},renderOpts:{compile:function(){var g=u()(l()().mark(function x(){var b,D=arguments;return l()().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,e.e(464).then(e.bind(e,22464));case 2:return i.abrupt("return",(b=i.sent).default.apply(b,D));case 3:case"end":return i.stop()}},x)}));function R(){return g.apply(this,arguments)}return R}()}},"docs-demo-demo-disabledalpha":{component:p.memo(p.lazy(function(){return e.e(433).then(e.bind(e,7e3))})),asset:{type:"BLOCK",id:"docs-demo-demo-disabledalpha",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:e(27526).Z},"@rc-component/color-picker":{type:"NPM",value:"1.8.3"},react:{type:"NPM",value:"18.3.1"},"../../assets/index.less":{type:"FILE",value:e(72119).Z}},entry:"index.tsx"},context:{"@rc-component/color-picker":e(74716),react:e(21739),"../../assets/index.less":e(65403)},renderOpts:{compile:function(){var g=u()(l()().mark(function x(){var b,D=arguments;return l()().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,e.e(464).then(e.bind(e,22464));case 2:return i.abrupt("return",(b=i.sent).default.apply(b,D));case 3:case"end":return i.stop()}},x)}));function R(){return g.apply(this,arguments)}return R}()}},"docs-demo-demo-panelrender":{component:p.memo(p.lazy(function(){return e.e(433).then(e.bind(e,98838))})),asset:{type:"BLOCK",id:"docs-demo-demo-panelrender",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:e(56034).Z},"@rc-component/color-picker":{type:"NPM",value:"1.8.3"},react:{type:"NPM",value:"18.3.1"},"../../assets/index.less":{type:"FILE",value:e(72119).Z}},entry:"index.tsx"},context:{"@rc-component/color-picker":e(74716),react:e(21739),"../../assets/index.less":e(65403)},renderOpts:{compile:function(){var g=u()(l()().mark(function x(){var b,D=arguments;return l()().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,e.e(464).then(e.bind(e,22464));case 2:return i.abrupt("return",(b=i.sent).default.apply(b,D));case 3:case"end":return i.stop()}},x)}));function R(){return g.apply(this,arguments)}return R}()}},"docs-demo-demo-trigger":{component:p.memo(p.lazy(function(){return e.e(433).then(e.bind(e,8622))})),asset:{type:"BLOCK",id:"docs-demo-demo-trigger",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:e(72217).Z},"@rc-component/color-picker":{type:"NPM",value:"1.8.3"},"@rc-component/trigger":{type:"NPM",value:"1.18.3"},react:{type:"NPM",value:"18.3.1"},"./placements.tsx":{type:"FILE",value:e(148).Z},"../../assets/index.less":{type:"FILE",value:e(72119).Z}},entry:"index.tsx"},context:{"@rc-component/color-picker":e(74716),"@rc-component/trigger":e(35593),react:e(21739),"./placements.tsx":e(91263),"../../assets/index.less":e(65403)},renderOpts:{compile:function(){var g=u()(l()().mark(function x(){var b,D=arguments;return l()().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,e.e(464).then(e.bind(e,22464));case 2:return i.abrupt("return",(b=i.sent).default.apply(b,D));case 3:case"end":return i.stop()}},x)}));function R(){return g.apply(this,arguments)}return R}()}},"docs-demo-demo-changecomplete":{component:p.memo(p.lazy(function(){return e.e(433).then(e.bind(e,70302))})),asset:{type:"BLOCK",id:"docs-demo-demo-changecomplete",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:e(72255).Z},"@rc-component/color-picker":{type:"NPM",value:"1.8.3"},react:{type:"NPM",value:"18.3.1"},"../../assets/index.less":{type:"FILE",value:e(72119).Z}},entry:"index.tsx"},context:{"@rc-component/color-picker":e(74716),react:e(21739),"../../assets/index.less":e(65403)},renderOpts:{compile:function(){var g=u()(l()().mark(function x(){var b,D=arguments;return l()().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,e.e(464).then(e.bind(e,22464));case 2:return i.abrupt("return",(b=i.sent).default.apply(b,D));case 3:case"end":return i.stop()}},x)}));function R(){return g.apply(this,arguments)}return R}()}},"docs-demo-demo-block":{component:p.memo(p.lazy(function(){return e.e(433).then(e.bind(e,87538))})),asset:{type:"BLOCK",id:"docs-demo-demo-block",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:e(51623).Z},"@rc-component/color-picker":{type:"NPM",value:"1.8.3"},react:{type:"NPM",value:"18.3.1"},"../../assets/index.less":{type:"FILE",value:e(72119).Z}},entry:"index.tsx"},context:{"@rc-component/color-picker":e(74716),react:e(21739),"../../assets/index.less":e(65403)},renderOpts:{compile:function(){var g=u()(l()().mark(function x(){var b,D=arguments;return l()().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,e.e(464).then(e.bind(e,22464));case 2:return i.abrupt("return",(b=i.sent).default.apply(b,D));case 3:case"end":return i.stop()}},x)}));function R(){return g.apply(this,arguments)}return R}()}},"docs-demo-demo-components":{component:p.memo(p.lazy(function(){return e.e(433).then(e.bind(e,71155))})),asset:{type:"BLOCK",id:"docs-demo-demo-components",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:e(98805).Z},"@rc-component/color-picker":{type:"NPM",value:"1.8.3"},react:{type:"NPM",value:"18.3.1"},"../../assets/index.less":{type:"FILE",value:e(72119).Z}},entry:"index.tsx"},context:{"@rc-component/color-picker":e(74716),react:e(21739),"../../assets/index.less":e(65403)},renderOpts:{compile:function(){var g=u()(l()().mark(function x(){var b,D=arguments;return l()().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,e.e(464).then(e.bind(e,22464));case 2:return i.abrupt("return",(b=i.sent).default.apply(b,D));case 3:case"end":return i.stop()}},x)}));function R(){return g.apply(this,arguments)}return R}()}}}},70973:function(r,o,e){"use strict";e.r(o),e.d(o,{demos:function(){return d}});var m=e(21739),l=e(4e4),d={}},91263:function(r,o,e){"use strict";e.r(o),e.d(o,{placements:function(){return u}});var m={shiftX:64,adjustY:1},l={adjustX:1,shiftY:!0},d=[0,0],u={left:{points:["cr","cl"],overflow:l,offset:[-4,0],targetOffset:d},right:{points:["cl","cr"],overflow:l,offset:[4,0],targetOffset:d},top:{points:["bc","tc"],overflow:m,offset:[0,-4],targetOffset:d},bottom:{points:["tc","bc"],overflow:m,offset:[0,4],targetOffset:d},topLeft:{points:["bl","tl"],overflow:m,offset:[0,-4],targetOffset:d},leftTop:{points:["tr","tl"],overflow:l,offset:[-4,0],targetOffset:d},topRight:{points:["br","tr"],overflow:m,offset:[0,-4],targetOffset:d},rightTop:{points:["tl","tr"],overflow:l,offset:[4,0],targetOffset:d},bottomRight:{points:["tr","br"],overflow:m,offset:[0,4],targetOffset:d},rightBottom:{points:["bl","br"],overflow:l,offset:[4,0],targetOffset:d},bottomLeft:{points:["tl","bl"],overflow:m,offset:[0,4],targetOffset:d},leftBottom:{points:["br","bl"],overflow:l,offset:[-4,0],targetOffset:d}};o.default=u},91291:function(r,o,e){"use strict";e.d(o,{Z:function(){return Re}});var m=e(82242),l=e.n(m),d=e(85573),u=e.n(d),p=e(79800),B=e.n(p),h=e(21739),g=e(21838),R="rc-color-picker",x=function(c){return c instanceof g.I?c:new g.I(c)},b=x("#1677ff"),D=function(c){var f=c.offset,M=c.targetRef,y=c.containerRef,I=c.color,H=c.type,O=y.current.getBoundingClientRect(),E=O.width,V=O.height,A=M.current.getBoundingClientRect(),$=A.width,z=A.height,j=$/2,Z=z/2,K=(f.x+j)/E,X=1-(f.y+Z)/V,w=I.toHsb(),_=K,Q=(f.x+j)/E*360;if(H)switch(H){case"hue":return x(l()(l()({},w),{},{h:Q<=0?0:Q}));case"alpha":return x(l()(l()({},w),{},{a:_<=0?0:_}))}return x({h:w.h,s:K<=0?0:K,b:X>=1?1:X,a:w.a})},W=function(c,f,M,y){var I=c.current.getBoundingClientRect(),H=I.width,O=I.height,E=f.current.getBoundingClientRect(),V=E.width,A=E.height,$=V/2,z=A/2,j=M.toHsb();if(V===0&&A===0||V!==A)return{x:0,y:0};if(y)switch(y){case"hue":return{x:j.h/360*H-$,y:-z/3};case"alpha":return{x:j.a/1*H-$,y:-z/3}}return{x:j.s*H-$,y:(1-j.b)*O-z}},i=e(92310),ee=e.n(i),ue=e(65809);function re(v){var c="touches"in v?v.touches[0]:v,f=document.documentElement.scrollLeft||document.body.scrollLeft||window.pageXOffset,M=document.documentElement.scrollTop||document.body.scrollTop||window.pageYOffset;return{pageX:c.pageX-f,pageY:c.pageY-M}}function oe(v){var c=v.targetRef,f=v.containerRef,M=v.direction,y=v.onDragChange,I=v.onDragChangeComplete,H=v.calculate,O=v.color,E=v.disabledDrag,V=(0,h.useState)({x:0,y:0}),A=B()(V,2),$=A[0],z=A[1],j=(0,h.useRef)(null),Z=(0,h.useRef)(null);(0,h.useEffect)(function(){f.current&&z(H(f))},[O]),(0,h.useEffect)(function(){return function(){document.removeEventListener("mousemove",j.current),document.removeEventListener("mouseup",Z.current),document.removeEventListener("touchmove",j.current),document.removeEventListener("touchend",Z.current),j.current=null,Z.current=null}},[]);var K=function(S){var T=re(S),xe=T.pageX,Ce=T.pageY,te=f.current.getBoundingClientRect(),pe=te.x,he=te.y,Ie=te.width,be=te.height,ve=c.current.getBoundingClientRect(),le=ve.width,ie=ve.height,ce=le/2,ge=ie/2,ne=Math.max(0,Math.min(xe-pe,Ie))-ce,U=Math.max(0,Math.min(Ce-he,be))-ge,ye={x:ne,y:M==="x"?$.y:U};if(le===0&&ie===0||le!==ie)return!1;y==null||y(ye)},X=function(S){S.preventDefault(),K(S)},w=function(S){S.preventDefault(),document.removeEventListener("mousemove",j.current),document.removeEventListener("mouseup",Z.current),document.removeEventListener("touchmove",j.current),document.removeEventListener("touchend",Z.current),j.current=null,Z.current=null,I==null||I()},_=function(S){document.removeEventListener("mousemove",j.current),document.removeEventListener("mouseup",Z.current),!E&&(K(S),document.addEventListener("mousemove",X),document.addEventListener("mouseup",w),document.addEventListener("touchmove",X),document.addEventListener("touchend",w),j.current=X,Z.current=w)};return[$,_]}var de=oe,ae=e(40150),P=e(27174),me=function(c){var f=c.size,M=f===void 0?"default":f,y=c.color,I=c.prefixCls;return(0,P.jsx)("div",{className:ee()("".concat(I,"-handler"),u()({},"".concat(I,"-handler-sm"),M==="small")),style:{backgroundColor:y}})},fe=me,Y=function(c){var f=c.children,M=c.style,y=c.prefixCls;return(0,P.jsx)("div",{className:"".concat(y,"-palette"),style:l()({position:"relative"},M),children:f})},t=Y,n=(0,h.forwardRef)(function(v,c){var f=v.children,M=v.offset;return(0,P.jsx)("div",{ref:c,style:{position:"absolute",left:M.x,top:M.y,zIndex:1},children:f})}),a=n,s=function(c){var f=c.color,M=c.onChange,y=c.prefixCls,I=c.onChangeComplete,H=c.disabled,O=(0,h.useRef)(),E=(0,h.useRef)(),V=(0,h.useRef)(f),A=(0,ae.zX)(function(K){var X=D({offset:K,targetRef:E,containerRef:O,color:f});V.current=X,M(X)}),$=de({color:f,containerRef:O,targetRef:E,calculate:function(X){return W(X,E,f)},onDragChange:A,onDragChangeComplete:function(){return I==null?void 0:I(V.current)},disabledDrag:H}),z=B()($,2),j=z[0],Z=z[1];return(0,P.jsx)("div",{ref:O,className:"".concat(y,"-select"),onMouseDown:Z,onTouchStart:Z,children:(0,P.jsxs)(t,{prefixCls:y,children:[(0,P.jsx)(a,{offset:j,ref:E,children:(0,P.jsx)(fe,{color:f.toRgbString(),prefixCls:y})}),(0,P.jsx)("div",{className:"".concat(y,"-saturation"),style:{backgroundColor:"hsl(".concat(f.toHsb().h,",100%, 50%)"),backgroundImage:"linear-gradient(0deg, #000, transparent),linear-gradient(90deg, #fff, hsla(0, 0%, 100%, 0))"}})]})})},C=s,N=function(c,f){var M=(0,ae.C8)(c,{value:f}),y=B()(M,2),I=y[0],H=y[1],O=(0,h.useMemo)(function(){return x(I)},[I]);return[O,H]},G=N,L=function(c){var f=c.colors,M=c.children,y=c.direction,I=y===void 0?"to right":y,H=c.type,O=c.prefixCls,E=(0,h.useMemo)(function(){return f.map(function(V,A){var $=x(V);return H==="alpha"&&A===f.length-1&&($=new g.I($.setA(1))),$.toRgbString()}).join(",")},[f,H]);return(0,P.jsx)("div",{className:"".concat(O,"-gradient"),style:{position:"absolute",inset:0,background:"linear-gradient(".concat(I,", ").concat(E,")")},children:M})},F=L,k=function(c){var f=c.prefixCls,M=c.colors,y=c.disabled,I=c.onChange,H=c.onChangeComplete,O=c.color,E=c.type,V=(0,h.useRef)(),A=(0,h.useRef)(),$=(0,h.useRef)(O),z=function(T){return E==="hue"?T.getHue():T.a*100},j=(0,ae.zX)(function(S){var T=D({offset:S,targetRef:A,containerRef:V,color:O,type:E});$.current=T,I(z(T))}),Z=de({color:O,targetRef:A,containerRef:V,calculate:function(T){return W(T,A,O,E)},onDragChange:j,onDragChangeComplete:function(){H(z($.current))},direction:"x",disabledDrag:y}),K=B()(Z,2),X=K[0],w=K[1],_=h.useMemo(function(){if(E==="hue"){var S=O.toHsb();S.s=1,S.b=1,S.a=1;var T=new g.I(S);return T}return O},[O,E]),Q=h.useMemo(function(){return M.map(function(S){return"".concat(S.color," ").concat(S.percent,"%")})},[M]);return(0,P.jsx)("div",{ref:V,className:ee()("".concat(f,"-slider"),"".concat(f,"-slider-").concat(E)),onMouseDown:w,onTouchStart:w,children:(0,P.jsxs)(t,{prefixCls:f,children:[(0,P.jsx)(a,{offset:X,ref:A,children:(0,P.jsx)(fe,{size:"small",color:_.toHexString(),prefixCls:f})}),(0,P.jsx)(F,{colors:Q,type:E,prefixCls:f})]})})},q=k;function se(v){return h.useMemo(function(){var c=v||{},f=c.slider;return[f||q]},[v])}var Oe=[{color:"rgb(255, 0, 0)",percent:0},{color:"rgb(255, 255, 0)",percent:17},{color:"rgb(0, 255, 0)",percent:33},{color:"rgb(0, 255, 255)",percent:50},{color:"rgb(0, 0, 255)",percent:67},{color:"rgb(255, 0, 255)",percent:83},{color:"rgb(255, 0, 0)",percent:100}],Pe=(0,h.forwardRef)(function(v,c){var f=v.value,M=v.defaultValue,y=v.prefixCls,I=y===void 0?R:y,H=v.onChange,O=v.onChangeComplete,E=v.className,V=v.style,A=v.panelRender,$=v.disabledAlpha,z=$===void 0?!1:$,j=v.disabled,Z=j===void 0?!1:j,K=v.components,X=se(K),w=B()(X,1),_=w[0],Q=G(M||b,f),S=B()(Q,2),T=S[0],xe=S[1],Ce=(0,h.useMemo)(function(){return T.setA(1).toRgbString()},[T]),te=function(U,ye){f||xe(U),H==null||H(U,ye)},pe=function(U){return new g.I(T.setHue(U))},he=function(U){return new g.I(T.setA(U/100))},Ie=function(U){te(pe(U),"hue")},be=function(U){te(he(U),"alpha")},ve=function(U){O&&O(pe(U))},le=function(U){O&&O(he(U))},ie=ee()("".concat(I,"-panel"),E,u()({},"".concat(I,"-panel-disabled"),Z)),ce={prefixCls:I,disabled:Z,color:T},ge=(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)(C,l()(l()({onChange:te},ce),{},{onChangeComplete:O})),(0,P.jsxs)("div",{className:"".concat(I,"-slider-container"),children:[(0,P.jsxs)("div",{className:ee()("".concat(I,"-slider-group"),u()({},"".concat(I,"-slider-group-disabled-alpha"),z)),children:[(0,P.jsx)(_,l()(l()({},ce),{},{type:"hue",colors:Oe,min:0,max:359,value:T.getHue(),onChange:Ie,onChangeComplete:ve})),!z&&(0,P.jsx)(_,l()(l()({},ce),{},{type:"alpha",colors:[{percent:0,color:"rgba(255, 0, 4, 0)"},{percent:100,color:Ce}],min:0,max:100,value:T.a*100,onChange:be,onChangeComplete:le}))]}),(0,P.jsx)(ue.Z,{color:T.toRgbString(),prefixCls:I})]})]});return(0,P.jsx)("div",{className:ie,style:V,ref:c,children:typeof A=="function"?A(ge):ge})}),Re=Pe},21838:function(r,o,e){"use strict";e.d(o,{I:function(){return fe}});var m=e(82100),l=e.n(m),d=e(29186),u=e.n(d),p=e(80619),B=e.n(p),h=e(47074),g=e.n(h),R=e(82242),x=e.n(R),b=e(39647),D=e.n(b),W=e(31468),i=e.n(W);function ee(Y,t){const n=Y.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],a=n.map(s=>parseFloat(s));for(let s=0;s<3;s+=1)a[s]=t(a[s]||0,n[s]||"",s);return n[3]?a[3]=n[3].includes("%")?a[3]/100:a[3]:a[3]=1,a}const ue=(Y,t,n)=>n===0?Y:Y/100;function re(Y,t){const n=t||255;return Y>n?n:Y<0?0:Y}class oe{constructor(t){J(this,"isValid");J(this,"r",0);J(this,"g",0);J(this,"b",0);J(this,"a",1);J(this,"_h");J(this,"_s");J(this,"_l");J(this,"_v");J(this,"_max");J(this,"_min");J(this,"_brightness");function n(a){return a[0]in t&&a[1]in t&&a[2]in t}if(t)if(typeof t=="string"){let s=function(C){return a.startsWith(C)};const a=t.trim();/^#?[A-F\d]{3,8}$/i.test(a)?this.fromHexString(a):s("rgb")?this.fromRgbString(a):s("hsl")?this.fromHslString(a):(s("hsv")||s("hsb"))&&this.fromHsvString(a)}else if(t instanceof oe)this.r=t.r,this.g=t.g,this.b=t.b,this.a=t.a,this._h=t._h,this._s=t._s,this._l=t._l,this._v=t._v;else if(n("rgb"))this.r=re(t.r),this.g=re(t.g),this.b=re(t.b),this.a=typeof t.a=="number"?re(t.a,1):1;else if(n("hsl"))this.fromHsl(t);else if(n("hsv"))this.fromHsv(t);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(t))}setR(t){return this._sc("r",t)}setG(t){return this._sc("g",t)}setB(t){return this._sc("b",t)}setA(t){return this._sc("a",t,1)}setHue(t){const n=this.toHsv();return n.h=t,this._c(n)}getLuminance(){function t(C){const N=C/255;return N<=.03928?N/12.92:Math.pow((N+.055)/1.055,2.4)}const n=t(this.r),a=t(this.g),s=t(this.b);return .2126*n+.7152*a+.0722*s}getHue(){if(typeof this._h=="undefined"){const t=this.getMax()-this.getMin();t===0?this._h=0:this._h=Math.round(60*(this.r===this.getMax()?(this.g-this.b)/t+(this.g1&&(s=1),this._c({h:n,s:a,l:s,a:this.a})}mix(t,n=50){const a=this._c(t),s=n/100,C={r:(a.r-this.r)*s+this.r,g:(a.g-this.g)*s+this.g,b:(a.b-this.b)*s+this.b,a:(a.a-this.a)*s+this.a};return this._c(C)}tint(t=10){return this.mix({r:255,g:255,b:255,a:1},t)}shade(t=10){return this.mix({r:0,g:0,b:0,a:1},t)}onBackground(t){const n=this._c(t),a=this.a+n.a*(1-this.a),s=C=>Math.round((this[C]*this.a+n[C]*n.a*(1-this.a))/a);return this._c({r:s("r"),g:s("g"),b:s("b"),a})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(t){return this.r===t.r&&this.g===t.g&&this.b===t.b&&this.a===t.a}clone(){return this._c(this)}toHexString(){let t="#";const n=(this.r||0).toString(16);t+=n.length===2?n:"0"+n;const a=(this.g||0).toString(16);t+=a.length===2?a:"0"+a;const s=(this.b||0).toString(16);if(t+=s.length===2?s:"0"+s,typeof this.a=="number"&&this.a>=0&&this.a<1){const C=Math.round(this.a*255).toString(16);t+=C.length===2?C:"0"+C}return t}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const t=this.getHue(),n=Math.round(this.getSaturation()*100),a=Math.round(this.getLightness()*100);return this.a!==1?`hsla(${t},${n}%,${a}%,${this.a})`:`hsl(${t},${n}%,${a}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(t,n,a){const s=this.clone();return s[t]=re(n,a),s}_c(t){return new this.constructor(t)}getMax(){return typeof this._max=="undefined"&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return typeof this._min=="undefined"&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(t){const n=t.replace("#","");function a(s,C){return parseInt(n[s]+n[C||s],16)}n.length<6?(this.r=a(0),this.g=a(1),this.b=a(2),this.a=n[3]?a(3)/255:1):(this.r=a(0,1),this.g=a(2,3),this.b=a(4,5),this.a=n[6]?a(6,7)/255:1)}fromHsl({h:t,s:n,l:a,a:s}){if(this._h=t%360,this._s=n,this._l=a,this.a=typeof s=="number"?s:1,n<=0){const se=Math.round(a*255);this.r=se,this.g=se,this.b=se}let C=0,N=0,G=0;const L=t/60,F=(1-Math.abs(2*a-1))*n,k=F*(1-Math.abs(L%2-1));L>=0&&L<1?(C=F,N=k):L>=1&&L<2?(C=k,N=F):L>=2&&L<3?(N=F,G=k):L>=3&&L<4?(N=k,G=F):L>=4&&L<5?(C=k,G=F):L>=5&&L<6&&(C=F,G=k);const q=a-F/2;this.r=Math.round((C+q)*255),this.g=Math.round((N+q)*255),this.b=Math.round((G+q)*255)}fromHsv({h:t,s:n,v:a,a:s}){this._h=t%360,this._s=n,this._v=a,this.a=typeof s=="number"?s:1;const C=Math.round(a*255);if(this.r=C,this.g=C,this.b=C,n<=0)return;const N=t/60,G=Math.floor(N),L=N-G,F=Math.round(a*(1-n)*255),k=Math.round(a*(1-n*L)*255),q=Math.round(a*(1-n*(1-L))*255);switch(G){case 0:this.g=q,this.b=F;break;case 1:this.r=k,this.b=F;break;case 2:this.r=F,this.b=q;break;case 3:this.r=F,this.g=k;break;case 4:this.r=q,this.g=F;break;case 5:default:this.g=F,this.b=k;break}}fromHsvString(t){const n=ee(t,ue);this.fromHsv({h:n[0],s:n[1],v:n[2],a:n[3]})}fromHslString(t){const n=ee(t,ue);this.fromHsl({h:n[0],s:n[1],l:n[2],a:n[3]})}fromRgbString(t){const n=ee(t,(a,s)=>s.includes("%")?Math.round(a/100*255):a);this.r=n[0],this.g=n[1],this.b=n[2],this.a=n[3]}}var de=["b"],ae=["v"],P=function(t){return Math.round(Number(t||0))},me=function(t){if(t instanceof oe)return t;if(t&&i()(t)==="object"&&"h"in t&&"b"in t){var n=t,a=n.b,s=D()(n,de);return x()(x()({},s),{},{v:a})}return typeof t=="string"&&/hsb/.test(t)?t.replace(/hsb/,"hsv"):t},fe=function(Y){B()(n,Y);var t=g()(n);function n(a){return l()(this,n),t.call(this,me(a))}return u()(n,[{key:"toHsbString",value:function(){var s=this.toHsb(),C=P(s.s*100),N=P(s.b*100),G=P(s.h),L=s.a,F="hsb(".concat(G,", ").concat(C,"%, ").concat(N,"%)"),k="hsba(".concat(G,", ").concat(C,"%, ").concat(N,"%, ").concat(L.toFixed(L===0?0:2),")");return L===1?F:k}},{key:"toHsb",value:function(){var s=this.toHsv(),C=s.v,N=D()(s,ae);return x()(x()({},N),{},{b:C,a:this.a})}}]),n}(oe)},65809:function(r,o,e){"use strict";var m=e(92310),l=e.n(m),d=e(21739),u=e(27174),p=function(h){var g=h.color,R=h.prefixCls,x=h.className,b=h.style,D=h.onClick,W="".concat(R,"-color-block");return(0,u.jsx)("div",{className:l()(W,x),style:b,onClick:D,children:(0,u.jsx)("div",{className:"".concat(W,"-inner"),style:{background:g}})})};o.Z=p},74716:function(r,o,e){"use strict";e.r(o),e.d(o,{Color:function(){return l.I},ColorBlock:function(){return d.Z}});var m=e(91291),l=e(21838),d=e(65809),u=e(18553),p=e.n(u),B={};for(var h in u)["default","Color","ColorBlock"].indexOf(h)<0&&(B[h]=function(g){return u[g]}.bind(0,h));e.d(o,B),o.default=m.Z},18553:function(){},65403:function(r,o,e){"use strict";e.r(o)},17005:function(r,o,e){"use strict";e.r(o),e.d(o,{texts:function(){return l}});var m=e(86228);const l=[]},34454:function(r,o,e){"use strict";e.r(o),e.d(o,{texts:function(){return l}});var m=e(4e4);const l=[{value:"React Color Picker.",paraId:0,tocIndex:0},{value:" ",paraId:1,tocIndex:0},{value:" ",paraId:1,tocIndex:0},{value:" ",paraId:1,tocIndex:0},{value:" ",paraId:1,tocIndex:0},{value:" ",paraId:1,tocIndex:0},{value:`npm install -npm start -`,paraId:2,tocIndex:2},{value:"http://localhost:8000",paraId:3,tocIndex:3},{value:`import ColorPicker from '@rc-component/color-picker'; -import '@rc-component/color-picker/assets/index.css'; - -export default () => ; -`,paraId:4,tocIndex:4},{value:"Property",paraId:5,tocIndex:5},{value:"Description",paraId:5,tocIndex:5},{value:"Type",paraId:5,tocIndex:5},{value:"Default",paraId:5,tocIndex:5},{value:"value",paraId:5,tocIndex:5},{value:"Value of color",paraId:5,tocIndex:5},{value:"string | ",paraId:5,tocIndex:5},{value:"Color",paraId:5,tocIndex:5},{value:"-",paraId:5,tocIndex:5},{value:"defaultValue",paraId:5,tocIndex:5},{value:"Default value of color",paraId:5,tocIndex:5},{value:"string | ",paraId:5,tocIndex:5},{value:"Color",paraId:5,tocIndex:5},{value:"-",paraId:5,tocIndex:5},{value:"onChange",paraId:5,tocIndex:5},{value:"Callback when ",paraId:5,tocIndex:5},{value:"value",paraId:5,tocIndex:5},{value:" is changed",paraId:5,tocIndex:5},{value:"(value: Color, type: hue | alpha) => void",paraId:5,tocIndex:5},{value:"-",paraId:5,tocIndex:5},{value:"onChangeComplete",paraId:5,tocIndex:5},{value:"Callback when ",paraId:5,tocIndex:5},{value:"drag",paraId:5,tocIndex:5},{value:" is stop",paraId:5,tocIndex:5},{value:"(value: Color, type: hue | alpha) => void",paraId:5,tocIndex:5},{value:"-",paraId:5,tocIndex:5},{value:"disabled",paraId:5,tocIndex:5},{value:"Disabled ColorPicker",paraId:5,tocIndex:5},{value:"boolean",paraId:5,tocIndex:5},{value:"false",paraId:5,tocIndex:5},{value:"disabledAlpha",paraId:5,tocIndex:5},{value:"Disabled alpha slider",paraId:5,tocIndex:5},{value:"boolean",paraId:5,tocIndex:5},{value:"false",paraId:5,tocIndex:5},{value:"panelRender",paraId:5,tocIndex:5},{value:"Custom panel render",paraId:5,tocIndex:5},{value:"(panel: React.ReactElement) => React.ReactElement",paraId:5,tocIndex:5},{value:"-",paraId:5,tocIndex:5},{value:"Property",paraId:6,tocIndex:6},{value:"Description",paraId:6,tocIndex:6},{value:"Type",paraId:6,tocIndex:6},{value:"Default",paraId:6,tocIndex:6},{value:"toHexString",paraId:6,tocIndex:6},{value:"Convert to ",paraId:6,tocIndex:6},{value:"hex",paraId:6,tocIndex:6},{value:" format color string, like ",paraId:6,tocIndex:6},{value:"#ffffff",paraId:6,tocIndex:6},{value:"() => string",paraId:6,tocIndex:6},{value:"-",paraId:6,tocIndex:6},{value:"toHsb",paraId:6,tocIndex:6},{value:"Convert to ",paraId:6,tocIndex:6},{value:"hsb",paraId:6,tocIndex:6},{value:" object, like ",paraId:6,tocIndex:6},{value:"{ h: 0, s: 0, b: 0, a: 0 }",paraId:6,tocIndex:6},{value:"() => ({ h: number, s: number, b: number, a number })",paraId:6,tocIndex:6},{value:"-",paraId:6,tocIndex:6},{value:"toHsbString",paraId:6,tocIndex:6},{value:"Convert to ",paraId:6,tocIndex:6},{value:"hsb",paraId:6,tocIndex:6},{value:" format color string, like ",paraId:6,tocIndex:6},{value:"hsba(0, 0%, 0%, 0)",paraId:6,tocIndex:6},{value:"() => string",paraId:6,tocIndex:6},{value:"-",paraId:6,tocIndex:6},{value:"toRgb",paraId:6,tocIndex:6},{value:"Convert to ",paraId:6,tocIndex:6},{value:"rgb",paraId:6,tocIndex:6},{value:" object, like ",paraId:6,tocIndex:6},{value:"{ r: 0, g: 0, b: 0, a: 0 }",paraId:6,tocIndex:6},{value:"() => ({ r: number, g: number, b: number, a number })",paraId:6,tocIndex:6},{value:"-",paraId:6,tocIndex:6},{value:"toRgbString",paraId:6,tocIndex:6},{value:"Convert to ",paraId:6,tocIndex:6},{value:"rgb",paraId:6,tocIndex:6},{value:" format color string, like ",paraId:6,tocIndex:6},{value:"rgba(0, 0, 0, 0)",paraId:6,tocIndex:6},{value:"() => string",paraId:6,tocIndex:6},{value:"-",paraId:6,tocIndex:6},{value:`npm test -or -npm run coverage -`,paraId:7,tocIndex:7},{value:"@rc-component/color-picker is released under the MIT license.",paraId:8,tocIndex:8}]},72119:function(r,o){"use strict";o.Z=`@ColorPickerPrefixCls: rc-color-picker; -@font-size-base: 12px; -@vertical-space: 12px; -@inner-border-radius: 4px; -@outer-border-radius: 8px; -@default-handler-size: 16px; -@sm-handler-size: 12px; -@handler-border-size: 2px; -@shadow-2-down:0px 3px 6px -4px rgba(0, 0, 0, 0.12),0px 6px 16px 0px rgba(0, 0, 0, 0.08),0px 9px 28px 8px rgba(0, 0, 0, 0.05); - -.@{ColorPickerPrefixCls} { - position: absolute; - z-index: 1; - display: block; - width: max-content; - min-width: 258px; - visibility: visible; - &-hidden { - display: none; - } - &-panel { - display: flex; - flex-direction: column; - width: 258px; - padding: @vertical-space; - background-color: #fff; - border-radius: @outer-border-radius; - box-shadow: @shadow-2-down; - &-disabled { - cursor: not-allowed; - } - } - &-select { - .@{ColorPickerPrefixCls}-palette { - min-height: 160px; - overflow: hidden; - border-radius: @inner-border-radius; - & > .@{ColorPickerPrefixCls}-gradient { - border-top-left-radius: 5px; - } - } - margin-bottom: @vertical-space; - } - - &-saturation { - position: absolute; - border-radius: inherit; - inset: 0px; - } - - &-handler { - box-sizing: border-box; - width: @default-handler-size; - height: @default-handler-size; - border: @handler-border-size solid #fff; - border-radius: 50%; - box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.06); - } - &-handler-sm { - width: @sm-handler-size; - height: @sm-handler-size; - } - - &-slider { - width: 100%; - margin-bottom: @vertical-space; - .@{ColorPickerPrefixCls}-palette { - height: 8px; - } - .@{ColorPickerPrefixCls}-gradient { - border-radius: @inner-border-radius; - } - &-alpha { - background: url('./alpha.svg'); - } - } - - &-color-block { - position: relative; - width: 28px; - height: 28px; - margin-left: 8px; - overflow: hidden; - background-image: url('./alpha.svg'); - border-radius: @inner-border-radius; - &-inner { - box-sizing: border-box; - width: 100%; - height: 100%; - border: 1px solid rgba(0, 0, 0, 0.06); - border-radius: @inner-border-radius; - } - } - &-slider-container { - display: flex; - .@{ColorPickerPrefixCls}-slider-group { - flex: 1; - &-disabled-alpha { - display: flex; - align-items: center; - .@{ColorPickerPrefixCls}-slider{ - margin-bottom: 0; - } - } - } - } -} -`},57583:function(r,o){"use strict";o.Z=`import ColorPicker, { Color } from '@rc-component/color-picker'; -import React, { useState } from 'react'; -import '../../assets/index.less'; - -let start = true; - -export default () => { - const [value, setValue] = useState(new Color('rgba(255,0,0,0)')); - - return ( - <> - { - let proxyValue = nextValue; - - if (start) { - start = false; - proxyValue = nextValue.setA(1); - } - - setValue(proxyValue); - }} - /> -
-
- hex: {value.toHexString()} - rgb: {value.toRgbString()} - hsb: {value.toHsbString()} -
- - ); -}; -`},51623:function(r,o){"use strict";o.Z=`import { ColorBlock } from '@rc-component/color-picker'; -import React from 'react'; -import '../../assets/index.less'; - -export default () => { - const colorPresets = [ - '#F5222D', - '#FA8C16', - '#FADB14', - '#8BBB11', - '#52C41A', - '#13A8A8', - '#1677FF', - '#2F54EB', - '#722ED1', - '#EB2F96', - '#F5222D4D', - '#FA8C164D', - '#FADB144D', - '#8BBB114D', - '#52C41A4D', - '#13A8A84D', - '#1677FF4D', - '#2F54EB4D', - '#722ED14D', - '#EB2F964D', - ]; - return ( -
- {colorPresets.map(color => ( - - ))} -
- ); -}; -`},72255:function(r,o){"use strict";o.Z=`import ColorPicker, { Color } from '@rc-component/color-picker'; -import React, { useState } from 'react'; -import '../../assets/index.less'; - -export default () => { - const [value, setValue] = useState(new Color('#163cff')); - - return ( - <> -
- {\`Only called while change completed: \${value.toRgbString()}\`} -
-
- - - ); -}; -`},98805:function(r,o){"use strict";o.Z=`import ColorPicker, { - Color, - type BaseSliderProps, -} from '@rc-component/color-picker'; -import React, { useState } from 'react'; -import '../../assets/index.less'; - -const Slider = ({ min, max }: BaseSliderProps) => { - return ( -
- {min} - {max} -
- ); -}; - -export default () => { - const [value, setValue] = useState(new Color('#163cff')); - - return ( - <> - -
-
- hex: {value.toHexString()} - rgb: {value.toRgbString()} - hsb: {value.toHsbString()} -
- - ); -}; -`},81162:function(r,o){"use strict";o.Z=`import ColorPicker from '@rc-component/color-picker'; -import React from 'react'; -import '../../assets/index.less'; - -export default () => { - return ; -}; -`},27526:function(r,o){"use strict";o.Z=`import ColorPicker from '@rc-component/color-picker'; -import React from 'react'; -import '../../assets/index.less'; - -export default () => { - return ; -}; -`},56034:function(r,o){"use strict";o.Z=`import type { Color } from '@rc-component/color-picker'; -import ColorPicker from '@rc-component/color-picker'; -import React, { useMemo, useState } from 'react'; -import '../../assets/index.less'; - -export const toHexFormat = (value?: string) => - value?.replace(/[^0-9a-fA-F#]/g, '').slice(0, 9) || ''; - -export default () => { - const [value, setValue] = useState('#163cff'); - const color = useMemo( - () => - typeof value === 'string' - ? value - : value.getAlpha() < 1 - ? value.toHex8String() - : value.toHexString(), - [value], - ); - - return ( -
- ( - <> - {panel} - { - const originValue = e.target.value; - setValue(toHexFormat(originValue)); - }} - /> - - )} - /> -
- ); -}; -`},148:function(r,o){"use strict";o.Z=`import type { BuildInPlacements } from '@rc-component/trigger'; - -const autoAdjustOverflowTopBottom = { - shiftX: 64, - adjustY: 1, -}; - -const autoAdjustOverflowLeftRight = { adjustX: 1, shiftY: true }; - -const targetOffset = [0, 0]; - -export const placements: BuildInPlacements = { - left: { - points: ['cr', 'cl'], - overflow: autoAdjustOverflowLeftRight, - offset: [-4, 0], - targetOffset, - }, - right: { - points: ['cl', 'cr'], - overflow: autoAdjustOverflowLeftRight, - offset: [4, 0], - targetOffset, - }, - top: { - points: ['bc', 'tc'], - overflow: autoAdjustOverflowTopBottom, - offset: [0, -4], - targetOffset, - }, - bottom: { - points: ['tc', 'bc'], - overflow: autoAdjustOverflowTopBottom, - offset: [0, 4], - targetOffset, - }, - topLeft: { - points: ['bl', 'tl'], - overflow: autoAdjustOverflowTopBottom, - offset: [0, -4], - targetOffset, - }, - leftTop: { - points: ['tr', 'tl'], - overflow: autoAdjustOverflowLeftRight, - offset: [-4, 0], - targetOffset, - }, - topRight: { - points: ['br', 'tr'], - overflow: autoAdjustOverflowTopBottom, - offset: [0, -4], - targetOffset, - }, - rightTop: { - points: ['tl', 'tr'], - overflow: autoAdjustOverflowLeftRight, - offset: [4, 0], - targetOffset, - }, - bottomRight: { - points: ['tr', 'br'], - overflow: autoAdjustOverflowTopBottom, - offset: [0, 4], - targetOffset, - }, - rightBottom: { - points: ['bl', 'br'], - overflow: autoAdjustOverflowLeftRight, - offset: [4, 0], - targetOffset, - }, - bottomLeft: { - points: ['tl', 'bl'], - overflow: autoAdjustOverflowTopBottom, - offset: [0, 4], - targetOffset, - }, - leftBottom: { - points: ['br', 'bl'], - overflow: autoAdjustOverflowLeftRight, - offset: [-4, 0], - targetOffset, - }, -}; - -export default placements; -`},72217:function(r,o){"use strict";o.Z=`import type { Color } from '@rc-component/color-picker'; -import ColorPicker, { ColorBlock } from '@rc-component/color-picker'; -import Trigger from '@rc-component/trigger'; -import React, { useMemo, useState } from 'react'; -import '../../assets/index.less'; -import builtinPlacements from './placements'; - -export default () => { - const [value, setValue] = useState('#1677ff'); - const prefixCls = 'rc-color-picker'; - const color = useMemo( - () => (typeof value === 'string' ? value : value.toRgbString()), - [value], - ); - return ( - } - > - - - ); -}; -`},13720:function(r){function o(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}r.exports=o,r.exports.__esModule=!0,r.exports.default=r.exports},47074:function(r,o,e){var m=e(34577),l=e(3529),d=e(34456);function u(p){var B=l();return function(){var g=m(p),R;if(B){var x=m(this).constructor;R=Reflect.construct(g,arguments,x)}else R=g.apply(this,arguments);return d(this,R)}}r.exports=u,r.exports.__esModule=!0,r.exports.default=r.exports},34577:function(r){function o(e){return r.exports=o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(l){return l.__proto__||Object.getPrototypeOf(l)},r.exports.__esModule=!0,r.exports.default=r.exports,o(e)}r.exports=o,r.exports.__esModule=!0,r.exports.default=r.exports},80619:function(r,o,e){var m=e(35745);function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),u&&m(d,u)}r.exports=l,r.exports.__esModule=!0,r.exports.default=r.exports},3529:function(r){function o(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}r.exports=o,r.exports.__esModule=!0,r.exports.default=r.exports},39647:function(r,o,e){var m=e(32890);function l(d,u){if(d==null)return{};var p=m(d,u),B,h;if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(d);for(h=0;h=0)&&Object.prototype.propertyIsEnumerable.call(d,B)&&(p[B]=d[B])}return p}r.exports=l,r.exports.__esModule=!0,r.exports.default=r.exports},32890:function(r){function o(e,m){if(e==null)return{};var l={},d=Object.keys(e),u,p;for(p=0;p=0)&&(l[u]=e[u]);return l}r.exports=o,r.exports.__esModule=!0,r.exports.default=r.exports},34456:function(r,o,e){var m=e(31468).default,l=e(13720);function d(u,p){if(p&&(m(p)==="object"||typeof p=="function"))return p;if(p!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return l(u)}r.exports=d,r.exports.__esModule=!0,r.exports.default=r.exports},35745:function(r){function o(e,m){return r.exports=o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,u){return d.__proto__=u,d},r.exports.__esModule=!0,r.exports.default=r.exports,o(e,m)}r.exports=o,r.exports.__esModule=!0,r.exports.default=r.exports}}]); -}()); \ No newline at end of file diff --git a/meta__docs.77d03aee.async.js b/meta__docs.77d03aee.async.js new file mode 100644 index 0000000..f1a30d9 --- /dev/null +++ b/meta__docs.77d03aee.async.js @@ -0,0 +1,434 @@ +!(function(){var Me=Object.defineProperty;var Ee=(r,o,e)=>o in r?Me(r,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[o]=e;var w=(r,o,e)=>Ee(r,typeof o!="symbol"?o+"":o,e);(self.webpackChunk_rc_component_color_picker=self.webpackChunk_rc_component_color_picker||[]).push([[904],{75113:function(r,o,e){"use strict";e.r(o),e.d(o,{demos:function(){return v}});var m=e(7557),l=e.n(m),d=e(41498),u=e.n(d),h=e(21739),j=e(48964),v={"docs-demo-demo-basic":{component:h.memo(h.lazy(function(){return e.e(433).then(e.bind(e,43402))})),asset:{type:"BLOCK",id:"docs-demo-demo-basic",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:e(57583).Z},"@rc-component/color-picker":{type:"NPM",value:"1.9.0"},react:{type:"NPM",value:"18.3.1"},"../../assets/index.less":{type:"FILE",value:e(72119).Z}},entry:"index.tsx"},context:{"@rc-component/color-picker":e(21399),react:e(21739),"../../assets/index.less":e(35683)},renderOpts:{compile:function(){var g=u()(l()().mark(function x(){var I,S=arguments;return l()().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,e.e(752).then(e.bind(e,97752));case 2:return i.abrupt("return",(I=i.sent).default.apply(I,S));case 3:case"end":return i.stop()}},x)}));function M(){return g.apply(this,arguments)}return M}()}},"docs-demo-demo-disabled":{component:h.memo(h.lazy(function(){return e.e(433).then(e.bind(e,66939))})),asset:{type:"BLOCK",id:"docs-demo-demo-disabled",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:e(81162).Z},"@rc-component/color-picker":{type:"NPM",value:"1.9.0"},react:{type:"NPM",value:"18.3.1"},"../../assets/index.less":{type:"FILE",value:e(72119).Z}},entry:"index.tsx"},context:{"@rc-component/color-picker":e(21399),react:e(21739),"../../assets/index.less":e(35683)},renderOpts:{compile:function(){var g=u()(l()().mark(function x(){var I,S=arguments;return l()().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,e.e(752).then(e.bind(e,97752));case 2:return i.abrupt("return",(I=i.sent).default.apply(I,S));case 3:case"end":return i.stop()}},x)}));function M(){return g.apply(this,arguments)}return M}()}},"docs-demo-demo-disabledalpha":{component:h.memo(h.lazy(function(){return e.e(433).then(e.bind(e,99927))})),asset:{type:"BLOCK",id:"docs-demo-demo-disabledalpha",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:e(27526).Z},"@rc-component/color-picker":{type:"NPM",value:"1.9.0"},react:{type:"NPM",value:"18.3.1"},"../../assets/index.less":{type:"FILE",value:e(72119).Z}},entry:"index.tsx"},context:{"@rc-component/color-picker":e(21399),react:e(21739),"../../assets/index.less":e(35683)},renderOpts:{compile:function(){var g=u()(l()().mark(function x(){var I,S=arguments;return l()().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,e.e(752).then(e.bind(e,97752));case 2:return i.abrupt("return",(I=i.sent).default.apply(I,S));case 3:case"end":return i.stop()}},x)}));function M(){return g.apply(this,arguments)}return M}()}},"docs-demo-demo-panelrender":{component:h.memo(h.lazy(function(){return e.e(433).then(e.bind(e,43250))})),asset:{type:"BLOCK",id:"docs-demo-demo-panelrender",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:e(56034).Z},"@rc-component/color-picker":{type:"NPM",value:"1.9.0"},react:{type:"NPM",value:"18.3.1"},"../../assets/index.less":{type:"FILE",value:e(72119).Z}},entry:"index.tsx"},context:{"@rc-component/color-picker":e(21399),react:e(21739),"../../assets/index.less":e(35683)},renderOpts:{compile:function(){var g=u()(l()().mark(function x(){var I,S=arguments;return l()().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,e.e(752).then(e.bind(e,97752));case 2:return i.abrupt("return",(I=i.sent).default.apply(I,S));case 3:case"end":return i.stop()}},x)}));function M(){return g.apply(this,arguments)}return M}()}},"docs-demo-demo-trigger":{component:h.memo(h.lazy(function(){return e.e(433).then(e.bind(e,40480))})),asset:{type:"BLOCK",id:"docs-demo-demo-trigger",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:e(72217).Z},"@rc-component/color-picker":{type:"NPM",value:"1.9.0"},"@rc-component/trigger":{type:"NPM",value:"1.18.3"},react:{type:"NPM",value:"18.3.1"},"./placements.tsx":{type:"FILE",value:e(148).Z},"../../assets/index.less":{type:"FILE",value:e(72119).Z}},entry:"index.tsx"},context:{"@rc-component/color-picker":e(21399),"@rc-component/trigger":e(35593),react:e(21739),"./placements.tsx":e(91701),"../../assets/index.less":e(35683)},renderOpts:{compile:function(){var g=u()(l()().mark(function x(){var I,S=arguments;return l()().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,e.e(752).then(e.bind(e,97752));case 2:return i.abrupt("return",(I=i.sent).default.apply(I,S));case 3:case"end":return i.stop()}},x)}));function M(){return g.apply(this,arguments)}return M}()}},"docs-demo-demo-changecomplete":{component:h.memo(h.lazy(function(){return e.e(433).then(e.bind(e,67884))})),asset:{type:"BLOCK",id:"docs-demo-demo-changecomplete",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:e(72255).Z},"@rc-component/color-picker":{type:"NPM",value:"1.9.0"},react:{type:"NPM",value:"18.3.1"},"../../assets/index.less":{type:"FILE",value:e(72119).Z}},entry:"index.tsx"},context:{"@rc-component/color-picker":e(21399),react:e(21739),"../../assets/index.less":e(35683)},renderOpts:{compile:function(){var g=u()(l()().mark(function x(){var I,S=arguments;return l()().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,e.e(752).then(e.bind(e,97752));case 2:return i.abrupt("return",(I=i.sent).default.apply(I,S));case 3:case"end":return i.stop()}},x)}));function M(){return g.apply(this,arguments)}return M}()}},"docs-demo-demo-block":{component:h.memo(h.lazy(function(){return e.e(433).then(e.bind(e,38428))})),asset:{type:"BLOCK",id:"docs-demo-demo-block",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:e(51623).Z},"@rc-component/color-picker":{type:"NPM",value:"1.9.0"},react:{type:"NPM",value:"18.3.1"},"../../assets/index.less":{type:"FILE",value:e(72119).Z}},entry:"index.tsx"},context:{"@rc-component/color-picker":e(21399),react:e(21739),"../../assets/index.less":e(35683)},renderOpts:{compile:function(){var g=u()(l()().mark(function x(){var I,S=arguments;return l()().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,e.e(752).then(e.bind(e,97752));case 2:return i.abrupt("return",(I=i.sent).default.apply(I,S));case 3:case"end":return i.stop()}},x)}));function M(){return g.apply(this,arguments)}return M}()}},"docs-demo-demo-components":{component:h.memo(h.lazy(function(){return e.e(433).then(e.bind(e,30414))})),asset:{type:"BLOCK",id:"docs-demo-demo-components",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:e(98805).Z},"@rc-component/color-picker":{type:"NPM",value:"1.9.0"},react:{type:"NPM",value:"18.3.1"},"../../assets/index.less":{type:"FILE",value:e(72119).Z}},entry:"index.tsx"},context:{"@rc-component/color-picker":e(21399),react:e(21739),"../../assets/index.less":e(35683)},renderOpts:{compile:function(){var g=u()(l()().mark(function x(){var I,S=arguments;return l()().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,e.e(752).then(e.bind(e,97752));case 2:return i.abrupt("return",(I=i.sent).default.apply(I,S));case 3:case"end":return i.stop()}},x)}));function M(){return g.apply(this,arguments)}return M}()}}}},96333:function(r,o,e){"use strict";e.r(o),e.d(o,{demos:function(){return d}});var m=e(21739),l=e(5885),d={}},91701:function(r,o,e){"use strict";e.r(o),e.d(o,{placements:function(){return u}});var m={shiftX:64,adjustY:1},l={adjustX:1,shiftY:!0},d=[0,0],u={left:{points:["cr","cl"],overflow:l,offset:[-4,0],targetOffset:d},right:{points:["cl","cr"],overflow:l,offset:[4,0],targetOffset:d},top:{points:["bc","tc"],overflow:m,offset:[0,-4],targetOffset:d},bottom:{points:["tc","bc"],overflow:m,offset:[0,4],targetOffset:d},topLeft:{points:["bl","tl"],overflow:m,offset:[0,-4],targetOffset:d},leftTop:{points:["tr","tl"],overflow:l,offset:[-4,0],targetOffset:d},topRight:{points:["br","tr"],overflow:m,offset:[0,-4],targetOffset:d},rightTop:{points:["tl","tr"],overflow:l,offset:[4,0],targetOffset:d},bottomRight:{points:["tr","br"],overflow:m,offset:[0,4],targetOffset:d},rightBottom:{points:["bl","br"],overflow:l,offset:[4,0],targetOffset:d},bottomLeft:{points:["tl","bl"],overflow:m,offset:[0,4],targetOffset:d},leftBottom:{points:["br","bl"],overflow:l,offset:[-4,0],targetOffset:d}};o.default=u},91475:function(r,o,e){"use strict";e.d(o,{Z:function(){return Re}});var m=e(82242),l=e.n(m),d=e(85573),u=e.n(d),h=e(79800),j=e.n(h),v=e(21739),g=e(19219),M="rc-color-picker",x=function(c){return c instanceof g.I?c:new g.I(c)},I=x("#1677ff"),S=function(c){var p=c.offset,P=c.targetRef,y=c.containerRef,O=c.color,N=c.type,R=y.current.getBoundingClientRect(),L=R.width,X=R.height,F=P.current.getBoundingClientRect(),V=F.width,J=F.height,A=V/2,$=J/2,U=(p.x+A)/L,Y=1-(p.y+$)/X,G=O.toHsb(),_=U,Q=(p.x+A)/L*360;if(N)switch(N){case"hue":return x(l()(l()({},G),{},{h:Q<=0?0:Q}));case"alpha":return x(l()(l()({},G),{},{a:_<=0?0:_}))}return x({h:G.h,s:U<=0?0:U,b:Y>=1?1:Y,a:G.a})},z=function(c,p){var P=c.toHsb();switch(p){case"hue":return{x:P.h/360*100,y:50};case"alpha":return{x:c.a*100,y:50};default:return{x:P.s*100,y:(1-P.b)*100}}},i=e(92310),ee=e.n(i),ue=e(54023);function re(f){var c="touches"in f?f.touches[0]:f,p=document.documentElement.scrollLeft||document.body.scrollLeft||window.pageXOffset,P=document.documentElement.scrollTop||document.body.scrollTop||window.pageYOffset;return{pageX:c.pageX-p,pageY:c.pageY-P}}function oe(f){var c=f.targetRef,p=f.containerRef,P=f.direction,y=f.onDragChange,O=f.onDragChangeComplete,N=f.calculate,R=f.color,L=f.disabledDrag,X=(0,v.useState)({x:0,y:0}),F=j()(X,2),V=F[0],J=F[1],A=(0,v.useRef)(null),$=(0,v.useRef)(null);(0,v.useEffect)(function(){J(N())},[R]),(0,v.useEffect)(function(){return function(){document.removeEventListener("mousemove",A.current),document.removeEventListener("mouseup",$.current),document.removeEventListener("touchmove",A.current),document.removeEventListener("touchend",$.current),A.current=null,$.current=null}},[]);var U=function(E){var T=re(E),xe=T.pageX,Ce=T.pageY,te=p.current.getBoundingClientRect(),pe=te.x,he=te.y,Ie=te.width,be=te.height,ve=c.current.getBoundingClientRect(),le=ve.width,ie=ve.height,ce=le/2,ge=ie/2,ne=Math.max(0,Math.min(xe-pe,Ie))-ce,Z=Math.max(0,Math.min(Ce-he,be))-ge,ye={x:ne,y:P==="x"?V.y:Z};if(le===0&&ie===0||le!==ie)return!1;y==null||y(ye)},Y=function(E){E.preventDefault(),U(E)},G=function(E){E.preventDefault(),document.removeEventListener("mousemove",A.current),document.removeEventListener("mouseup",$.current),document.removeEventListener("touchmove",A.current),document.removeEventListener("touchend",$.current),A.current=null,$.current=null,O==null||O()},_=function(E){document.removeEventListener("mousemove",A.current),document.removeEventListener("mouseup",$.current),!L&&(U(E),document.addEventListener("mousemove",Y),document.addEventListener("mouseup",G),document.addEventListener("touchmove",Y),document.addEventListener("touchend",G),A.current=Y,$.current=G)};return[V,_]}var de=oe,ae=e(40150),b=e(27174),me=function(c){var p=c.size,P=p===void 0?"default":p,y=c.color,O=c.prefixCls;return(0,b.jsx)("div",{className:ee()("".concat(O,"-handler"),u()({},"".concat(O,"-handler-sm"),P==="small")),style:{backgroundColor:y}})},fe=me,W=function(c){var p=c.children,P=c.style,y=c.prefixCls;return(0,b.jsx)("div",{className:"".concat(y,"-palette"),style:l()({position:"relative"},P),children:p})},t=W,n=(0,v.forwardRef)(function(f,c){var p=f.children,P=f.x,y=f.y;return(0,b.jsx)("div",{ref:c,style:{position:"absolute",left:"".concat(P,"%"),top:"".concat(y,"%"),zIndex:1,transform:"translate(-50%, -50%)"},children:p})}),a=n,s=function(c){var p=c.color,P=c.onChange,y=c.prefixCls,O=c.onChangeComplete,N=c.disabled,R=(0,v.useRef)(),L=(0,v.useRef)(),X=(0,v.useRef)(p),F=(0,ae.zX)(function(U){var Y=S({offset:U,targetRef:L,containerRef:R,color:p});X.current=Y,P(Y)}),V=de({color:p,containerRef:R,targetRef:L,calculate:function(){return z(p)},onDragChange:F,onDragChangeComplete:function(){return O==null?void 0:O(X.current)},disabledDrag:N}),J=j()(V,2),A=J[0],$=J[1];return(0,b.jsx)("div",{ref:R,className:"".concat(y,"-select"),onMouseDown:$,onTouchStart:$,children:(0,b.jsxs)(t,{prefixCls:y,children:[(0,b.jsx)(a,{x:A.x,y:A.y,ref:L,children:(0,b.jsx)(fe,{color:p.toRgbString(),prefixCls:y})}),(0,b.jsx)("div",{className:"".concat(y,"-saturation"),style:{backgroundColor:"hsl(".concat(p.toHsb().h,",100%, 50%)"),backgroundImage:"linear-gradient(0deg, #000, transparent),linear-gradient(90deg, #fff, hsla(0, 0%, 100%, 0))"}})]})})},C=s,B=function(c,p){var P=(0,ae.C8)(c,{value:p}),y=j()(P,2),O=y[0],N=y[1],R=(0,v.useMemo)(function(){return x(O)},[O]);return[R,N]},k=B,D=function(c){var p=c.colors,P=c.children,y=c.direction,O=y===void 0?"to right":y,N=c.type,R=c.prefixCls,L=(0,v.useMemo)(function(){return p.map(function(X,F){var V=x(X);return N==="alpha"&&F===p.length-1&&(V=new g.I(V.setA(1))),V.toRgbString()}).join(",")},[p,N]);return(0,b.jsx)("div",{className:"".concat(R,"-gradient"),style:{position:"absolute",inset:0,background:"linear-gradient(".concat(O,", ").concat(L,")")},children:P})},H=D,K=function(c){var p=c.prefixCls,P=c.colors,y=c.disabled,O=c.onChange,N=c.onChangeComplete,R=c.color,L=c.type,X=(0,v.useRef)(),F=(0,v.useRef)(),V=(0,v.useRef)(R),J=function(T){return L==="hue"?T.getHue():T.a*100},A=(0,ae.zX)(function(E){var T=S({offset:E,targetRef:F,containerRef:X,color:R,type:L});V.current=T,O(J(T))}),$=de({color:R,targetRef:F,containerRef:X,calculate:function(){return z(R,L)},onDragChange:A,onDragChangeComplete:function(){N(J(V.current))},direction:"x",disabledDrag:y}),U=j()($,2),Y=U[0],G=U[1],_=v.useMemo(function(){if(L==="hue"){var E=R.toHsb();E.s=1,E.b=1,E.a=1;var T=new g.I(E);return T}return R},[R,L]),Q=v.useMemo(function(){return P.map(function(E){return"".concat(E.color," ").concat(E.percent,"%")})},[P]);return(0,b.jsx)("div",{ref:X,className:ee()("".concat(p,"-slider"),"".concat(p,"-slider-").concat(L)),onMouseDown:G,onTouchStart:G,children:(0,b.jsxs)(t,{prefixCls:p,children:[(0,b.jsx)(a,{x:Y.x,y:Y.y,ref:F,children:(0,b.jsx)(fe,{size:"small",color:_.toHexString(),prefixCls:p})}),(0,b.jsx)(H,{colors:Q,type:L,prefixCls:p})]})})},q=K;function se(f){return v.useMemo(function(){var c=f||{},p=c.slider;return[p||q]},[f])}var Oe=[{color:"rgb(255, 0, 0)",percent:0},{color:"rgb(255, 255, 0)",percent:17},{color:"rgb(0, 255, 0)",percent:33},{color:"rgb(0, 255, 255)",percent:50},{color:"rgb(0, 0, 255)",percent:67},{color:"rgb(255, 0, 255)",percent:83},{color:"rgb(255, 0, 0)",percent:100}],Pe=(0,v.forwardRef)(function(f,c){var p=f.value,P=f.defaultValue,y=f.prefixCls,O=y===void 0?M:y,N=f.onChange,R=f.onChangeComplete,L=f.className,X=f.style,F=f.panelRender,V=f.disabledAlpha,J=V===void 0?!1:V,A=f.disabled,$=A===void 0?!1:A,U=f.components,Y=se(U),G=j()(Y,1),_=G[0],Q=k(P||I,p),E=j()(Q,2),T=E[0],xe=E[1],Ce=(0,v.useMemo)(function(){return T.setA(1).toRgbString()},[T]),te=function(Z,ye){p||xe(Z),N==null||N(Z,ye)},pe=function(Z){return new g.I(T.setHue(Z))},he=function(Z){return new g.I(T.setA(Z/100))},Ie=function(Z){te(pe(Z),"hue")},be=function(Z){te(he(Z),"alpha")},ve=function(Z){R&&R(pe(Z))},le=function(Z){R&&R(he(Z))},ie=ee()("".concat(O,"-panel"),L,u()({},"".concat(O,"-panel-disabled"),$)),ce={prefixCls:O,disabled:$,color:T},ge=(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(C,l()(l()({onChange:te},ce),{},{onChangeComplete:R})),(0,b.jsxs)("div",{className:"".concat(O,"-slider-container"),children:[(0,b.jsxs)("div",{className:ee()("".concat(O,"-slider-group"),u()({},"".concat(O,"-slider-group-disabled-alpha"),J)),children:[(0,b.jsx)(_,l()(l()({},ce),{},{type:"hue",colors:Oe,min:0,max:359,value:T.getHue(),onChange:Ie,onChangeComplete:ve})),!J&&(0,b.jsx)(_,l()(l()({},ce),{},{type:"alpha",colors:[{percent:0,color:"rgba(255, 0, 4, 0)"},{percent:100,color:Ce}],min:0,max:100,value:T.a*100,onChange:be,onChangeComplete:le}))]}),(0,b.jsx)(ue.Z,{color:T.toRgbString(),prefixCls:O})]})]});return(0,b.jsx)("div",{className:ie,style:X,ref:c,children:typeof F=="function"?F(ge):ge})}),Re=Pe},19219:function(r,o,e){"use strict";e.d(o,{I:function(){return fe}});var m=e(82100),l=e.n(m),d=e(29186),u=e.n(d),h=e(80619),j=e.n(h),v=e(47074),g=e.n(v),M=e(82242),x=e.n(M),I=e(39647),S=e.n(I),z=e(31468),i=e.n(z);function ee(W,t){const n=W.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],a=n.map(s=>parseFloat(s));for(let s=0;s<3;s+=1)a[s]=t(a[s]||0,n[s]||"",s);return n[3]?a[3]=n[3].includes("%")?a[3]/100:a[3]:a[3]=1,a}const ue=(W,t,n)=>n===0?W:W/100;function re(W,t){const n=t||255;return W>n?n:W<0?0:W}class oe{constructor(t){w(this,"isValid");w(this,"r",0);w(this,"g",0);w(this,"b",0);w(this,"a",1);w(this,"_h");w(this,"_s");w(this,"_l");w(this,"_v");w(this,"_max");w(this,"_min");w(this,"_brightness");function n(a){return a[0]in t&&a[1]in t&&a[2]in t}if(t)if(typeof t=="string"){let s=function(C){return a.startsWith(C)};const a=t.trim();/^#?[A-F\d]{3,8}$/i.test(a)?this.fromHexString(a):s("rgb")?this.fromRgbString(a):s("hsl")?this.fromHslString(a):(s("hsv")||s("hsb"))&&this.fromHsvString(a)}else if(t instanceof oe)this.r=t.r,this.g=t.g,this.b=t.b,this.a=t.a,this._h=t._h,this._s=t._s,this._l=t._l,this._v=t._v;else if(n("rgb"))this.r=re(t.r),this.g=re(t.g),this.b=re(t.b),this.a=typeof t.a=="number"?re(t.a,1):1;else if(n("hsl"))this.fromHsl(t);else if(n("hsv"))this.fromHsv(t);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(t))}setR(t){return this._sc("r",t)}setG(t){return this._sc("g",t)}setB(t){return this._sc("b",t)}setA(t){return this._sc("a",t,1)}setHue(t){const n=this.toHsv();return n.h=t,this._c(n)}getLuminance(){function t(C){const B=C/255;return B<=.03928?B/12.92:Math.pow((B+.055)/1.055,2.4)}const n=t(this.r),a=t(this.g),s=t(this.b);return .2126*n+.7152*a+.0722*s}getHue(){if(typeof this._h=="undefined"){const t=this.getMax()-this.getMin();t===0?this._h=0:this._h=Math.round(60*(this.r===this.getMax()?(this.g-this.b)/t+(this.g1&&(s=1),this._c({h:n,s:a,l:s,a:this.a})}mix(t,n=50){const a=this._c(t),s=n/100,C={r:(a.r-this.r)*s+this.r,g:(a.g-this.g)*s+this.g,b:(a.b-this.b)*s+this.b,a:(a.a-this.a)*s+this.a};return this._c(C)}tint(t=10){return this.mix({r:255,g:255,b:255,a:1},t)}shade(t=10){return this.mix({r:0,g:0,b:0,a:1},t)}onBackground(t){const n=this._c(t),a=this.a+n.a*(1-this.a),s=C=>Math.round((this[C]*this.a+n[C]*n.a*(1-this.a))/a);return this._c({r:s("r"),g:s("g"),b:s("b"),a})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(t){return this.r===t.r&&this.g===t.g&&this.b===t.b&&this.a===t.a}clone(){return this._c(this)}toHexString(){let t="#";const n=(this.r||0).toString(16);t+=n.length===2?n:"0"+n;const a=(this.g||0).toString(16);t+=a.length===2?a:"0"+a;const s=(this.b||0).toString(16);if(t+=s.length===2?s:"0"+s,typeof this.a=="number"&&this.a>=0&&this.a<1){const C=Math.round(this.a*255).toString(16);t+=C.length===2?C:"0"+C}return t}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const t=this.getHue(),n=Math.round(this.getSaturation()*100),a=Math.round(this.getLightness()*100);return this.a!==1?`hsla(${t},${n}%,${a}%,${this.a})`:`hsl(${t},${n}%,${a}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(t,n,a){const s=this.clone();return s[t]=re(n,a),s}_c(t){return new this.constructor(t)}getMax(){return typeof this._max=="undefined"&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return typeof this._min=="undefined"&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(t){const n=t.replace("#","");function a(s,C){return parseInt(n[s]+n[C||s],16)}n.length<6?(this.r=a(0),this.g=a(1),this.b=a(2),this.a=n[3]?a(3)/255:1):(this.r=a(0,1),this.g=a(2,3),this.b=a(4,5),this.a=n[6]?a(6,7)/255:1)}fromHsl({h:t,s:n,l:a,a:s}){if(this._h=t%360,this._s=n,this._l=a,this.a=typeof s=="number"?s:1,n<=0){const se=Math.round(a*255);this.r=se,this.g=se,this.b=se}let C=0,B=0,k=0;const D=t/60,H=(1-Math.abs(2*a-1))*n,K=H*(1-Math.abs(D%2-1));D>=0&&D<1?(C=H,B=K):D>=1&&D<2?(C=K,B=H):D>=2&&D<3?(B=H,k=K):D>=3&&D<4?(B=K,k=H):D>=4&&D<5?(C=K,k=H):D>=5&&D<6&&(C=H,k=K);const q=a-H/2;this.r=Math.round((C+q)*255),this.g=Math.round((B+q)*255),this.b=Math.round((k+q)*255)}fromHsv({h:t,s:n,v:a,a:s}){this._h=t%360,this._s=n,this._v=a,this.a=typeof s=="number"?s:1;const C=Math.round(a*255);if(this.r=C,this.g=C,this.b=C,n<=0)return;const B=t/60,k=Math.floor(B),D=B-k,H=Math.round(a*(1-n)*255),K=Math.round(a*(1-n*D)*255),q=Math.round(a*(1-n*(1-D))*255);switch(k){case 0:this.g=q,this.b=H;break;case 1:this.r=K,this.b=H;break;case 2:this.r=H,this.b=q;break;case 3:this.r=H,this.g=K;break;case 4:this.r=q,this.g=H;break;case 5:default:this.g=H,this.b=K;break}}fromHsvString(t){const n=ee(t,ue);this.fromHsv({h:n[0],s:n[1],v:n[2],a:n[3]})}fromHslString(t){const n=ee(t,ue);this.fromHsl({h:n[0],s:n[1],l:n[2],a:n[3]})}fromRgbString(t){const n=ee(t,(a,s)=>s.includes("%")?Math.round(a/100*255):a);this.r=n[0],this.g=n[1],this.b=n[2],this.a=n[3]}}var de=["b"],ae=["v"],b=function(t){return Math.round(Number(t||0))},me=function(t){if(t instanceof oe)return t;if(t&&i()(t)==="object"&&"h"in t&&"b"in t){var n=t,a=n.b,s=S()(n,de);return x()(x()({},s),{},{v:a})}return typeof t=="string"&&/hsb/.test(t)?t.replace(/hsb/,"hsv"):t},fe=function(W){j()(n,W);var t=g()(n);function n(a){return l()(this,n),t.call(this,me(a))}return u()(n,[{key:"toHsbString",value:function(){var s=this.toHsb(),C=b(s.s*100),B=b(s.b*100),k=b(s.h),D=s.a,H="hsb(".concat(k,", ").concat(C,"%, ").concat(B,"%)"),K="hsba(".concat(k,", ").concat(C,"%, ").concat(B,"%, ").concat(D.toFixed(D===0?0:2),")");return D===1?H:K}},{key:"toHsb",value:function(){var s=this.toHsv(),C=s.v,B=S()(s,ae);return x()(x()({},B),{},{b:C,a:this.a})}}]),n}(oe)},54023:function(r,o,e){"use strict";var m=e(92310),l=e.n(m),d=e(21739),u=e(27174),h=function(v){var g=v.color,M=v.prefixCls,x=v.className,I=v.style,S=v.onClick,z="".concat(M,"-color-block");return(0,u.jsx)("div",{className:l()(z,x),style:I,onClick:S,children:(0,u.jsx)("div",{className:"".concat(z,"-inner"),style:{background:g}})})};o.Z=h},21399:function(r,o,e){"use strict";e.r(o),e.d(o,{Color:function(){return l.I},ColorBlock:function(){return d.Z}});var m=e(91475),l=e(19219),d=e(54023),u=e(43923),h=e.n(u),j={};for(var v in u)["default","Color","ColorBlock"].indexOf(v)<0&&(j[v]=function(g){return u[g]}.bind(0,v));e.d(o,j),o.default=m.Z},43923:function(){},35683:function(r,o,e){"use strict";e.r(o)},17005:function(r,o,e){"use strict";e.r(o),e.d(o,{texts:function(){return l}});var m=e(48964);const l=[]},34454:function(r,o,e){"use strict";e.r(o),e.d(o,{texts:function(){return l}});var m=e(5885);const l=[{value:"React Color Picker.",paraId:0,tocIndex:0},{value:" ",paraId:1,tocIndex:0},{value:" ",paraId:1,tocIndex:0},{value:" ",paraId:1,tocIndex:0},{value:" ",paraId:1,tocIndex:0},{value:" ",paraId:1,tocIndex:0},{value:`npm install +npm start +`,paraId:2,tocIndex:2},{value:"http://localhost:8000",paraId:3,tocIndex:3},{value:`import ColorPicker from '@rc-component/color-picker'; +import '@rc-component/color-picker/assets/index.css'; + +export default () => ; +`,paraId:4,tocIndex:4},{value:"Property",paraId:5,tocIndex:5},{value:"Description",paraId:5,tocIndex:5},{value:"Type",paraId:5,tocIndex:5},{value:"Default",paraId:5,tocIndex:5},{value:"value",paraId:5,tocIndex:5},{value:"Value of color",paraId:5,tocIndex:5},{value:"string | ",paraId:5,tocIndex:5},{value:"Color",paraId:5,tocIndex:5},{value:"-",paraId:5,tocIndex:5},{value:"defaultValue",paraId:5,tocIndex:5},{value:"Default value of color",paraId:5,tocIndex:5},{value:"string | ",paraId:5,tocIndex:5},{value:"Color",paraId:5,tocIndex:5},{value:"-",paraId:5,tocIndex:5},{value:"onChange",paraId:5,tocIndex:5},{value:"Callback when ",paraId:5,tocIndex:5},{value:"value",paraId:5,tocIndex:5},{value:" is changed",paraId:5,tocIndex:5},{value:"(value: Color, type: hue | alpha) => void",paraId:5,tocIndex:5},{value:"-",paraId:5,tocIndex:5},{value:"onChangeComplete",paraId:5,tocIndex:5},{value:"Callback when ",paraId:5,tocIndex:5},{value:"drag",paraId:5,tocIndex:5},{value:" is stop",paraId:5,tocIndex:5},{value:"(value: Color, type: hue | alpha) => void",paraId:5,tocIndex:5},{value:"-",paraId:5,tocIndex:5},{value:"disabled",paraId:5,tocIndex:5},{value:"Disabled ColorPicker",paraId:5,tocIndex:5},{value:"boolean",paraId:5,tocIndex:5},{value:"false",paraId:5,tocIndex:5},{value:"disabledAlpha",paraId:5,tocIndex:5},{value:"Disabled alpha slider",paraId:5,tocIndex:5},{value:"boolean",paraId:5,tocIndex:5},{value:"false",paraId:5,tocIndex:5},{value:"panelRender",paraId:5,tocIndex:5},{value:"Custom panel render",paraId:5,tocIndex:5},{value:"(panel: React.ReactElement) => React.ReactElement",paraId:5,tocIndex:5},{value:"-",paraId:5,tocIndex:5},{value:"Property",paraId:6,tocIndex:6},{value:"Description",paraId:6,tocIndex:6},{value:"Type",paraId:6,tocIndex:6},{value:"Default",paraId:6,tocIndex:6},{value:"toHexString",paraId:6,tocIndex:6},{value:"Convert to ",paraId:6,tocIndex:6},{value:"hex",paraId:6,tocIndex:6},{value:" format color string, like ",paraId:6,tocIndex:6},{value:"#ffffff",paraId:6,tocIndex:6},{value:"() => string",paraId:6,tocIndex:6},{value:"-",paraId:6,tocIndex:6},{value:"toHsb",paraId:6,tocIndex:6},{value:"Convert to ",paraId:6,tocIndex:6},{value:"hsb",paraId:6,tocIndex:6},{value:" object, like ",paraId:6,tocIndex:6},{value:"{ h: 0, s: 0, b: 0, a: 0 }",paraId:6,tocIndex:6},{value:"() => ({ h: number, s: number, b: number, a number })",paraId:6,tocIndex:6},{value:"-",paraId:6,tocIndex:6},{value:"toHsbString",paraId:6,tocIndex:6},{value:"Convert to ",paraId:6,tocIndex:6},{value:"hsb",paraId:6,tocIndex:6},{value:" format color string, like ",paraId:6,tocIndex:6},{value:"hsba(0, 0%, 0%, 0)",paraId:6,tocIndex:6},{value:"() => string",paraId:6,tocIndex:6},{value:"-",paraId:6,tocIndex:6},{value:"toRgb",paraId:6,tocIndex:6},{value:"Convert to ",paraId:6,tocIndex:6},{value:"rgb",paraId:6,tocIndex:6},{value:" object, like ",paraId:6,tocIndex:6},{value:"{ r: 0, g: 0, b: 0, a: 0 }",paraId:6,tocIndex:6},{value:"() => ({ r: number, g: number, b: number, a number })",paraId:6,tocIndex:6},{value:"-",paraId:6,tocIndex:6},{value:"toRgbString",paraId:6,tocIndex:6},{value:"Convert to ",paraId:6,tocIndex:6},{value:"rgb",paraId:6,tocIndex:6},{value:" format color string, like ",paraId:6,tocIndex:6},{value:"rgba(0, 0, 0, 0)",paraId:6,tocIndex:6},{value:"() => string",paraId:6,tocIndex:6},{value:"-",paraId:6,tocIndex:6},{value:`npm test +or +npm run coverage +`,paraId:7,tocIndex:7},{value:"@rc-component/color-picker is released under the MIT license.",paraId:8,tocIndex:8}]},72119:function(r,o){"use strict";o.Z=`@ColorPickerPrefixCls: rc-color-picker; +@font-size-base: 12px; +@vertical-space: 12px; +@inner-border-radius: 4px; +@outer-border-radius: 8px; +@default-handler-size: 16px; +@sm-handler-size: 12px; +@handler-border-size: 2px; +@shadow-2-down:0px 3px 6px -4px rgba(0, 0, 0, 0.12),0px 6px 16px 0px rgba(0, 0, 0, 0.08),0px 9px 28px 8px rgba(0, 0, 0, 0.05); + +.@{ColorPickerPrefixCls} { + position: absolute; + z-index: 1; + display: block; + width: max-content; + min-width: 258px; + visibility: visible; + &-hidden { + display: none; + } + &-panel { + display: flex; + flex-direction: column; + width: 258px; + padding: @vertical-space; + background-color: #fff; + border-radius: @outer-border-radius; + box-shadow: @shadow-2-down; + &-disabled { + cursor: not-allowed; + } + } + &-select { + .@{ColorPickerPrefixCls}-palette { + min-height: 160px; + overflow: hidden; + border-radius: @inner-border-radius; + & > .@{ColorPickerPrefixCls}-gradient { + border-top-left-radius: 5px; + } + } + margin-bottom: @vertical-space; + } + + &-saturation { + position: absolute; + border-radius: inherit; + inset: 0px; + } + + &-handler { + box-sizing: border-box; + width: @default-handler-size; + height: @default-handler-size; + border: @handler-border-size solid #fff; + border-radius: 50%; + box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.06); + } + &-handler-sm { + width: @sm-handler-size; + height: @sm-handler-size; + } + + &-slider { + width: 100%; + margin-bottom: @vertical-space; + .@{ColorPickerPrefixCls}-palette { + height: 8px; + } + .@{ColorPickerPrefixCls}-gradient { + border-radius: @inner-border-radius; + } + &-alpha { + background: url('./alpha.svg'); + } + } + + &-color-block { + position: relative; + width: 28px; + height: 28px; + margin-left: 8px; + overflow: hidden; + background-image: url('./alpha.svg'); + border-radius: @inner-border-radius; + &-inner { + box-sizing: border-box; + width: 100%; + height: 100%; + border: 1px solid rgba(0, 0, 0, 0.06); + border-radius: @inner-border-radius; + } + } + &-slider-container { + display: flex; + .@{ColorPickerPrefixCls}-slider-group { + flex: 1; + &-disabled-alpha { + display: flex; + align-items: center; + .@{ColorPickerPrefixCls}-slider{ + margin-bottom: 0; + } + } + } + } +} +`},57583:function(r,o){"use strict";o.Z=`import ColorPicker, { Color } from '@rc-component/color-picker'; +import React, { useState } from 'react'; +import '../../assets/index.less'; + +let start = true; + +export default () => { + const [value, setValue] = useState(new Color('rgba(255,0,0,0)')); + + return ( + <> + { + let proxyValue = nextValue; + + if (start) { + start = false; + proxyValue = nextValue.setA(1); + } + + setValue(proxyValue); + }} + /> +
+
+ hex: {value.toHexString()} + rgb: {value.toRgbString()} + hsb: {value.toHsbString()} +
+ + ); +}; +`},51623:function(r,o){"use strict";o.Z=`import { ColorBlock } from '@rc-component/color-picker'; +import React from 'react'; +import '../../assets/index.less'; + +export default () => { + const colorPresets = [ + '#F5222D', + '#FA8C16', + '#FADB14', + '#8BBB11', + '#52C41A', + '#13A8A8', + '#1677FF', + '#2F54EB', + '#722ED1', + '#EB2F96', + '#F5222D4D', + '#FA8C164D', + '#FADB144D', + '#8BBB114D', + '#52C41A4D', + '#13A8A84D', + '#1677FF4D', + '#2F54EB4D', + '#722ED14D', + '#EB2F964D', + ]; + return ( +
+ {colorPresets.map(color => ( + + ))} +
+ ); +}; +`},72255:function(r,o){"use strict";o.Z=`import ColorPicker, { Color } from '@rc-component/color-picker'; +import React, { useState } from 'react'; +import '../../assets/index.less'; + +export default () => { + const [value, setValue] = useState(new Color('#163cff')); + + return ( + <> +
+ {\`Only called while change completed: \${value.toRgbString()}\`} +
+
+ + + ); +}; +`},98805:function(r,o){"use strict";o.Z=`import ColorPicker, { + Color, + type BaseSliderProps, +} from '@rc-component/color-picker'; +import React, { useState } from 'react'; +import '../../assets/index.less'; + +const Slider = ({ min, max }: BaseSliderProps) => { + return ( +
+ {min} + {max} +
+ ); +}; + +export default () => { + const [value, setValue] = useState(new Color('#163cff')); + + return ( + <> + +
+
+ hex: {value.toHexString()} + rgb: {value.toRgbString()} + hsb: {value.toHsbString()} +
+ + ); +}; +`},81162:function(r,o){"use strict";o.Z=`import ColorPicker from '@rc-component/color-picker'; +import React from 'react'; +import '../../assets/index.less'; + +export default () => { + return ; +}; +`},27526:function(r,o){"use strict";o.Z=`import ColorPicker from '@rc-component/color-picker'; +import React from 'react'; +import '../../assets/index.less'; + +export default () => { + return ; +}; +`},56034:function(r,o){"use strict";o.Z=`import type { Color } from '@rc-component/color-picker'; +import ColorPicker from '@rc-component/color-picker'; +import React, { useMemo, useState } from 'react'; +import '../../assets/index.less'; + +export const toHexFormat = (value?: string) => + value?.replace(/[^0-9a-fA-F#]/g, '').slice(0, 9) || ''; + +export default () => { + const [value, setValue] = useState('#163cff'); + const color = useMemo( + () => + typeof value === 'string' + ? value + : value.getAlpha() < 1 + ? value.toHex8String() + : value.toHexString(), + [value], + ); + + return ( +
+ ( + <> + {panel} + { + const originValue = e.target.value; + setValue(toHexFormat(originValue)); + }} + /> + + )} + /> +
+ ); +}; +`},148:function(r,o){"use strict";o.Z=`import type { BuildInPlacements } from '@rc-component/trigger'; + +const autoAdjustOverflowTopBottom = { + shiftX: 64, + adjustY: 1, +}; + +const autoAdjustOverflowLeftRight = { adjustX: 1, shiftY: true }; + +const targetOffset = [0, 0]; + +export const placements: BuildInPlacements = { + left: { + points: ['cr', 'cl'], + overflow: autoAdjustOverflowLeftRight, + offset: [-4, 0], + targetOffset, + }, + right: { + points: ['cl', 'cr'], + overflow: autoAdjustOverflowLeftRight, + offset: [4, 0], + targetOffset, + }, + top: { + points: ['bc', 'tc'], + overflow: autoAdjustOverflowTopBottom, + offset: [0, -4], + targetOffset, + }, + bottom: { + points: ['tc', 'bc'], + overflow: autoAdjustOverflowTopBottom, + offset: [0, 4], + targetOffset, + }, + topLeft: { + points: ['bl', 'tl'], + overflow: autoAdjustOverflowTopBottom, + offset: [0, -4], + targetOffset, + }, + leftTop: { + points: ['tr', 'tl'], + overflow: autoAdjustOverflowLeftRight, + offset: [-4, 0], + targetOffset, + }, + topRight: { + points: ['br', 'tr'], + overflow: autoAdjustOverflowTopBottom, + offset: [0, -4], + targetOffset, + }, + rightTop: { + points: ['tl', 'tr'], + overflow: autoAdjustOverflowLeftRight, + offset: [4, 0], + targetOffset, + }, + bottomRight: { + points: ['tr', 'br'], + overflow: autoAdjustOverflowTopBottom, + offset: [0, 4], + targetOffset, + }, + rightBottom: { + points: ['bl', 'br'], + overflow: autoAdjustOverflowLeftRight, + offset: [4, 0], + targetOffset, + }, + bottomLeft: { + points: ['tl', 'bl'], + overflow: autoAdjustOverflowTopBottom, + offset: [0, 4], + targetOffset, + }, + leftBottom: { + points: ['br', 'bl'], + overflow: autoAdjustOverflowLeftRight, + offset: [-4, 0], + targetOffset, + }, +}; + +export default placements; +`},72217:function(r,o){"use strict";o.Z=`import type { Color } from '@rc-component/color-picker'; +import ColorPicker, { ColorBlock } from '@rc-component/color-picker'; +import Trigger from '@rc-component/trigger'; +import React, { useMemo, useState } from 'react'; +import '../../assets/index.less'; +import builtinPlacements from './placements'; + +export default () => { + const [value, setValue] = useState('#1677ff'); + const prefixCls = 'rc-color-picker'; + const color = useMemo( + () => (typeof value === 'string' ? value : value.toRgbString()), + [value], + ); + return ( + } + > + + + ); +}; +`},13720:function(r){function o(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}r.exports=o,r.exports.__esModule=!0,r.exports.default=r.exports},47074:function(r,o,e){var m=e(34577),l=e(74716),d=e(34456);function u(h){var j=l();return function(){var g=m(h),M;if(j){var x=m(this).constructor;M=Reflect.construct(g,arguments,x)}else M=g.apply(this,arguments);return d(this,M)}}r.exports=u,r.exports.__esModule=!0,r.exports.default=r.exports},34577:function(r){function o(e){return r.exports=o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(l){return l.__proto__||Object.getPrototypeOf(l)},r.exports.__esModule=!0,r.exports.default=r.exports,o(e)}r.exports=o,r.exports.__esModule=!0,r.exports.default=r.exports},80619:function(r,o,e){var m=e(35745);function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),u&&m(d,u)}r.exports=l,r.exports.__esModule=!0,r.exports.default=r.exports},74716:function(r){function o(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}r.exports=o,r.exports.__esModule=!0,r.exports.default=r.exports},39647:function(r,o,e){var m=e(32890);function l(d,u){if(d==null)return{};var h=m(d,u),j,v;if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(d);for(v=0;v=0)&&Object.prototype.propertyIsEnumerable.call(d,j)&&(h[j]=d[j])}return h}r.exports=l,r.exports.__esModule=!0,r.exports.default=r.exports},32890:function(r){function o(e,m){if(e==null)return{};var l={},d=Object.keys(e),u,h;for(h=0;h=0)&&(l[u]=e[u]);return l}r.exports=o,r.exports.__esModule=!0,r.exports.default=r.exports},34456:function(r,o,e){var m=e(31468).default,l=e(13720);function d(u,h){if(h&&(m(h)==="object"||typeof h=="function"))return h;if(h!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return l(u)}r.exports=d,r.exports.__esModule=!0,r.exports.default=r.exports},35745:function(r){function o(e,m){return r.exports=o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,u){return d.__proto__=u,d},r.exports.__esModule=!0,r.exports.default=r.exports,o(e,m)}r.exports=o,r.exports.__esModule=!0,r.exports.default=r.exports}}]); +}()); \ No newline at end of file diff --git a/nm__dumi__dist__client__pages__404.015bdc8d.async.js b/nm__dumi__dist__client__pages__404.015bdc8d.async.js new file mode 100644 index 0000000..950481d --- /dev/null +++ b/nm__dumi__dist__client__pages__404.015bdc8d.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_rc_component_color_picker=self.webpackChunk_rc_component_color_picker||[]).push([[65],{20402:function(u,n,e){e.r(n),e.d(n,{default:function(){return l}});var t=e(39013),a=e(21739),o=function(){var r=(0,t.YB)(),c=(0,t.bU)();return a.createElement("div",{className:"dumi-default-not-found"},a.createElement("h1",null,r.formatMessage({id:"404.title"})),a.createElement(t.rU,{to:"base"in c?c.base:"/",replace:!0},r.formatMessage({id:"404.back"})," \u2192"))},l=o}}]); diff --git a/nm__dumi__dist__client__pages__404.ba09b78a.async.js b/nm__dumi__dist__client__pages__404.ba09b78a.async.js deleted file mode 100644 index 5159173..0000000 --- a/nm__dumi__dist__client__pages__404.ba09b78a.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_rc_component_color_picker=self.webpackChunk_rc_component_color_picker||[]).push([[65],{22715:function(u,n,e){e.r(n),e.d(n,{default:function(){return l}});var t=e(2738),a=e(21739),o=function(){var r=(0,t.YB)(),c=(0,t.bU)();return a.createElement("div",{className:"dumi-default-not-found"},a.createElement("h1",null,r.formatMessage({id:"404.title"})),a.createElement(t.rU,{to:"base"in c?c.base:"/",replace:!0},r.formatMessage({id:"404.back"})," \u2192"))},l=o}}]); diff --git a/nm__dumi__dist__client__pages__Demo__index.2016c4e4.async.js b/nm__dumi__dist__client__pages__Demo__index.2016c4e4.async.js deleted file mode 100644 index 6ffb305..0000000 --- a/nm__dumi__dist__client__pages__Demo__index.2016c4e4.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_rc_component_color_picker=self.webpackChunk_rc_component_color_picker||[]).push([[9],{36200:function(k,s,e){e.r(s),e.d(s,{default:function(){return E}});var o=e(2738),n=e(21739),D=e(2129),g=function(){var O=(0,o.UO)(),t=O.id,a=(0,o.FO)(t),R=(0,D.m)({id:t,component:a.component,renderOpts:a.renderOpts}),h=R.canvasRef,u=a||{},m=u.component,d=u.renderOpts,r=(0,o.kw)(t),c=r.node,v=r.setSource,i=r.error,l=r.loading,w=c||(d!=null&&d.renderer?(0,n.createElement)("div",{ref:h}):m&&(0,n.createElement)(m));return(0,n.useEffect)(function(){var f=function(p){p.data.type==="dumi.liveDemo.setSource"&&v(p.data.value)};return window.addEventListener("message",f),function(){return window.removeEventListener("message",f)}},[v]),(0,n.useEffect)(function(){!l&&(i||c)&&window.postMessage({type:"dumi.liveDemo.compileDone",value:{err:i}})},[i,c,l]),w},E=g}}]); diff --git a/nm__dumi__dist__client__pages__Demo__index.b0c43691.async.js b/nm__dumi__dist__client__pages__Demo__index.b0c43691.async.js new file mode 100644 index 0000000..8b00c9a --- /dev/null +++ b/nm__dumi__dist__client__pages__Demo__index.b0c43691.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_rc_component_color_picker=self.webpackChunk_rc_component_color_picker||[]).push([[9],{16694:function(k,s,e){e.r(s),e.d(s,{default:function(){return E}});var o=e(39013),n=e(21739),D=e(3152),g=function(){var O=(0,o.UO)(),t=O.id,a=(0,o.FO)(t),R=(0,D.m)({id:t,component:a.component,renderOpts:a.renderOpts}),h=R.canvasRef,u=a||{},m=u.component,d=u.renderOpts,r=(0,o.kw)(t),c=r.node,v=r.setSource,i=r.error,l=r.loading,w=c||(d!=null&&d.renderer?(0,n.createElement)("div",{ref:h}):m&&(0,n.createElement)(m));return(0,n.useEffect)(function(){var f=function(p){p.data.type==="dumi.liveDemo.setSource"&&v(p.data.value)};return window.addEventListener("message",f),function(){return window.removeEventListener("message",f)}},[v]),(0,n.useEffect)(function(){!l&&(i||c)&&window.postMessage({type:"dumi.liveDemo.compileDone",value:{err:i}})},[i,c,l]),w},E=g}}]); diff --git a/nm__dumi__theme-default__layouts__DocLayout__index.3905b7f9.async.js b/nm__dumi__theme-default__layouts__DocLayout__index.3905b7f9.async.js deleted file mode 100644 index 2f9cb63..0000000 --- a/nm__dumi__theme-default__layouts__DocLayout__index.3905b7f9.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_rc_component_color_picker=self.webpackChunk_rc_component_color_picker||[]).push([[519],{94411:function(o,e,_){_.d(e,{Z:function(){return n.Z}});var n=_(53140)},30047:function(o,e,_){_.d(e,{Z:function(){return n.Z}});var n=_(39629)},59080:function(o,e,_){_.d(e,{Z:function(){return n.Z}});var n=_(24123)},19756:function(o,e,_){_.d(e,{Z:function(){return n.Z}});var n=_(89564)},53307:function(o,e,_){_.d(e,{Z:function(){return n.Z}});var n=_(47938)},89882:function(o,e,_){_.d(e,{Z:function(){return n.Z}});var n=_(20105)},565:function(o,e,_){_.d(e,{Z:function(){return n.Z}});var n=_(69630)},36708:function(o,e,_){_.d(e,{Z:function(){return n.Z}});var n=_(84184)},1259:function(o,e,_){_.d(e,{Z:function(){return n.Z}});var n=_(17376)},58312:function(o,e,_){_.d(e,{Z:function(){return n.Z}});var n=_(60324)},22675:function(o,e,_){_.d(e,{Z:function(){return n.Z}});var n=_(61746)},86757:function(o,e,_){_.d(e,{Z:function(){return n.Z}});var n=_(66783)},21420:function(o,e,_){_.d(e,{Z:function(){return n.Z}});var n=_(87181)},51278:function(o,e,_){_.d(e,{Z:function(){return n.Z}});var n=_(83909)},76145:function(o,e,_){_.d(e,{ZP:function(){return n.ZP}});var n=_(99059)},63541:function(o,e,_){_.d(e,{Z:function(){return n.Z}});var n=_(4089)},57010:function(o,e,_){_.d(e,{Z:function(){return n.Z}});var n=_(70921)},44242:function(o,e,_){_.d(e,{Z:function(){return n.Z}});var n=_(87039)},8943:function(o,e,_){_.d(e,{Z:function(){return n.Z}});var n=_(75557)}}]); diff --git a/nm__dumi__theme-default__layouts__DocLayout__index.ea3eb0f0.async.js b/nm__dumi__theme-default__layouts__DocLayout__index.ea3eb0f0.async.js new file mode 100644 index 0000000..39bf7b3 --- /dev/null +++ b/nm__dumi__theme-default__layouts__DocLayout__index.ea3eb0f0.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_rc_component_color_picker=self.webpackChunk_rc_component_color_picker||[]).push([[519],{19486:function(o,e,_){_.d(e,{Z:function(){return n.Z}});var n=_(77569)},42462:function(o,e,_){_.d(e,{Z:function(){return n.Z}});var n=_(57438)},54275:function(o,e,_){_.d(e,{Z:function(){return n.Z}});var n=_(60697)},17155:function(o,e,_){_.d(e,{Z:function(){return n.Z}});var n=_(92147)},23894:function(o,e,_){_.d(e,{Z:function(){return n.Z}});var n=_(29264)},25493:function(o,e,_){_.d(e,{Z:function(){return n.Z}});var n=_(90889)},84155:function(o,e,_){_.d(e,{Z:function(){return n.Z}});var n=_(69630)},68096:function(o,e,_){_.d(e,{Z:function(){return n.Z}});var n=_(36175)},38446:function(o,e,_){_.d(e,{Z:function(){return n.Z}});var n=_(33587)},60143:function(o,e,_){_.d(e,{Z:function(){return n.Z}});var n=_(98830)},70105:function(o,e,_){_.d(e,{Z:function(){return n.Z}});var n=_(38903)},27841:function(o,e,_){_.d(e,{Z:function(){return n.Z}});var n=_(61461)},28951:function(o,e,_){_.d(e,{Z:function(){return n.Z}});var n=_(87181)},3690:function(o,e,_){_.d(e,{Z:function(){return n.Z}});var n=_(70135)},60528:function(o,e,_){_.d(e,{ZP:function(){return n.ZP}});var n=_(7514)},99464:function(o,e,_){_.d(e,{Z:function(){return n.Z}});var n=_(62199)},7679:function(o,e,_){_.d(e,{Z:function(){return n.Z}});var n=_(1271)},49266:function(o,e,_){_.d(e,{Z:function(){return n.Z}});var n=_(51245)},95508:function(o,e,_){_.d(e,{Z:function(){return n.Z}});var n=_(61029)}}]); diff --git a/preload_helper.755801a1.js b/preload_helper.a5d0300f.js similarity index 68% rename from preload_helper.755801a1.js rename to preload_helper.a5d0300f.js index 1433d89..0a5df74 100644 --- a/preload_helper.755801a1.js +++ b/preload_helper.a5d0300f.js @@ -1 +1 @@ -!function(){"use strict";var t="/color-picker/".replace(/([^/])$/,"$1/"),e=location.pathname,n=e.startsWith(t)&&decodeURI("/".concat(e.slice(t.length)));if(n){var a=document,c=a.head,r=a.createElement.bind(a),i=function(t,e,n){var a,c=e.r[t]||(null===(a=Object.entries(e.r).find((function(e){var n=e[0];return new RegExp("^".concat(n.replace(/\/:[^/]+/g,"/[^/]+").replace("/*","/.+"),"$")).test(t)})))||void 0===a?void 0:a[1]);return null==c?void 0:c.map((function(t){var a=e.f[t][1],c=e.f[t][0];return{type:c.split(".").pop(),url:"".concat(n.publicPath).concat(c),attrs:[["data-".concat(e.b),"".concat(e.p,":").concat(a)]]}}))}(n,{"p":"@rc-component/color-picker","b":"webpack","f":[["nm__dumi__dist__client__pages__Demo__index.578aa5c0.chunk.css",9],["nm__dumi__dist__client__pages__Demo__index.2016c4e4.async.js",9],["nm__dumi__dist__client__pages__404.8b85f2d9.chunk.css",65],["nm__dumi__dist__client__pages__404.ba09b78a.async.js",65],["nm__dumi__theme-default__layouts__DocLayout__index.3905b7f9.async.js",519],["docs__demo__index.md.a09f8575.async.js",570],["764.e8c51481.chunk.css",764],["764.8c15f73d.async.js",764],["dumi__tmp-production__dumi__theme__ContextWrapper.6df3ec10.async.js",923],["docs__index.md.ece39bf8.async.js",935]],"r":{"/*":[2,3,4,6,7,8],"/":[9,4,6,7,8],"/demo":[5,4,6,7,8],"/~demos/:id":[0,1,8]}},{publicPath:"/color-picker/"});null==i||i.forEach((function(t){var e,n=t.type,a=t.url;if("js"===n)(e=r("script")).src=a,e.async=!0;else{if("css"!==n)return;(e=r("link")).href=a,e.rel="preload",e.as="style"}t.attrs.forEach((function(t){e.setAttribute(t[0],t[1]||"")})),c.appendChild(e)}))}}(); \ No newline at end of file +!function(){"use strict";var t="/color-picker/".replace(/([^/])$/,"$1/"),e=location.pathname,n=e.startsWith(t)&&decodeURI("/".concat(e.slice(t.length)));if(n){var a=document,c=a.head,r=a.createElement.bind(a),i=function(t,e,n){var a,c=e.r[t]||(null===(a=Object.entries(e.r).find((function(e){var n=e[0];return new RegExp("^".concat(n.replace(/\/:[^/]+/g,"/[^/]+").replace("/*","/.+"),"$")).test(t)})))||void 0===a?void 0:a[1]);return null==c?void 0:c.map((function(t){var a=e.f[t][1],c=e.f[t][0];return{type:c.split(".").pop(),url:"".concat(n.publicPath).concat(c),attrs:[["data-".concat(e.b),"".concat(e.p,":").concat(a)]]}}))}(n,{"p":"@rc-component/color-picker","b":"webpack","f":[["nm__dumi__dist__client__pages__Demo__index.578aa5c0.chunk.css",9],["nm__dumi__dist__client__pages__Demo__index.b0c43691.async.js",9],["nm__dumi__dist__client__pages__404.8b85f2d9.chunk.css",65],["nm__dumi__dist__client__pages__404.015bdc8d.async.js",65],["288.e8c51481.chunk.css",288],["288.ae9dcee3.async.js",288],["nm__dumi__theme-default__layouts__DocLayout__index.ea3eb0f0.async.js",519],["docs__demo__index.md.aa1a7217.async.js",570],["dumi__tmp-production__dumi__theme__ContextWrapper.b8463a6b.async.js",923],["docs__index.md.256d7f56.async.js",935]],"r":{"/*":[2,3,4,5,6,8],"/":[9,4,5,6,8],"/demo":[7,4,5,6,8],"/~demos/:id":[0,1,8]}},{publicPath:"/color-picker/"});null==i||i.forEach((function(t){var e,n=t.type,a=t.url;if("js"===n)(e=r("script")).src=a,e.async=!0;else{if("css"!==n)return;(e=r("link")).href=a,e.rel="preload",e.as="style"}t.attrs.forEach((function(t){e.setAttribute(t[0],t[1]||"")})),c.appendChild(e)}))}}(); \ No newline at end of file diff --git a/umi.6af177c7.js b/umi.022737a9.js similarity index 86% rename from umi.6af177c7.js rename to umi.022737a9.js index a7464ee..bd10996 100644 --- a/umi.6af177c7.js +++ b/umi.022737a9.js @@ -15,7 +15,7 @@ Description: `).concat(w==null?void 0:w.description,` html body { overflow-y: hidden; `.concat(Ve?"width: calc(100% - ".concat(et,"px);"):"",` -}`),Me)}else V(Me);return function(){V(Me)}},[Z,Me])}var R=!1;function q(k){return typeof k=="boolean"&&(R=k),R}var le=function(Z){return Z===!1?!1:!(0,u.Z)()||!Z?null:typeof Z=="string"?document.querySelector(Z):typeof Z=="function"?Z():Z},re=o.forwardRef(function(k,Z){var z=k.open,Ee=k.autoLock,Me=k.getContainer,et=k.debug,Ve=k.autoDestroy,tt=Ve===void 0?!0:Ve,gt=k.children,ee=o.useState(z),$=(0,n.Z)(ee,2),X=$[0],Y=$[1],ye=X||z;o.useEffect(function(){(tt||z)&&Y(z)},[z,tt]);var J=o.useState(function(){return le(Me)}),ve=(0,n.Z)(J,2),ge=ve[0],fe=ve[1];o.useEffect(function(){var Re=le(Me);fe(Re!=null?Re:null)});var Te=g(ye&&!ge,et),We=(0,n.Z)(Te,2),nt=We[0],Xe=We[1],Ut=ge!=null?ge:nt;U(Ee&&z&&(0,u.Z)()&&(Ut===nt||Ut===document.body));var Pe=null;if(gt&&(0,f.Yr)(gt)&&Z){var he=gt;Pe=he.ref}var Le=(0,f.x1)(Pe,Z);if(!ye||!(0,u.Z)()||ge===void 0)return null;var b=Ut===!1||q(),te=gt;return Z&&(te=o.cloneElement(gt,{ref:Le})),o.createElement(m.Provider,{value:Xe},b?te:(0,a.createPortal)(te,Ut))}),A=re,W=A},35593:function(d,p,e){"use strict";e.r(p),e.d(p,{default:function(){return ee},generateTrigger:function(){return gt}});var n=e(71930),o=e(2289),a=e(61191),u=e(14725),c=e(92310),f=e.n(c),s=e(10933),m=e(10748),y=e(78962),v=e(30609),l=e(15173),g=e(19171),E=e(70041),w=e(21739),S=e(15250),x=e(16934),O=e(25629);function j($){var X=$.prefixCls,Y=$.align,ye=$.arrow,J=$.arrowPos,ve=ye||{},ge=ve.className,fe=ve.content,Te=J.x,We=Te===void 0?0:Te,nt=J.y,Xe=nt===void 0?0:nt,Ut=w.useRef();if(!Y||!Y.points)return null;var Pe={position:"absolute"};if(Y.autoArrow!==!1){var he=Y.points[0],Le=Y.points[1],b=he[0],te=he[1],Re=Le[0],be=Le[1];b===Re||!["t","b"].includes(b)?Pe.top=Xe:b==="t"?Pe.top=0:Pe.bottom=0,te===be||!["l","r"].includes(te)?Pe.left=We:te==="l"?Pe.left=0:Pe.right=0}return w.createElement("div",{ref:Ut,className:f()("".concat(X,"-arrow"),ge),style:Pe},fe)}function _($){var X=$.prefixCls,Y=$.open,ye=$.zIndex,J=$.mask,ve=$.motion;return J?w.createElement(x.ZP,(0,S.Z)({},ve,{motionAppear:!0,visible:Y,removeOnLeave:!0}),function(ge){var fe=ge.className;return w.createElement("div",{style:{zIndex:ye},className:f()("".concat(X,"-mask"),fe)})}):null}var K=w.memo(function($){var X=$.children;return X},function($,X){return X.cache}),P=K,I=w.forwardRef(function($,X){var Y=$.popup,ye=$.className,J=$.prefixCls,ve=$.style,ge=$.target,fe=$.onVisibleChanged,Te=$.open,We=$.keepDom,nt=$.fresh,Xe=$.onClick,Ut=$.mask,Pe=$.arrow,he=$.arrowPos,Le=$.align,b=$.motion,te=$.maskMotion,Re=$.forceRender,be=$.getPopupContainer,Ze=$.autoDestroy,Mt=$.portal,_t=$.zIndex,Yt=$.onMouseEnter,Rt=$.onMouseLeave,Tt=$.onPointerEnter,je=$.ready,yt=$.offsetX,Be=$.offsetY,Je=$.offsetR,Nt=$.offsetB,Lt=$.onAlign,Wt=$.onPrepare,Xt=$.stretch,ar=$.targetWidth,gr=$.targetHeight,ur=typeof Y=="function"?Y():Y,Yr=Te||We,an=(be==null?void 0:be.length)>0,aa=w.useState(!be||!an),la=(0,o.Z)(aa,2),Ln=la[0],Hn=la[1];if((0,g.Z)(function(){!Ln&&an&&ge&&Hn(!0)},[Ln,an,ge]),!Ln)return null;var Tn="auto",Qn={left:"-1000vw",top:"-1000vh",right:Tn,bottom:Tn};if(je||!Te){var qt,Kt=Le.points,Jt=Le.dynamicInset||((qt=Le._experimental)===null||qt===void 0?void 0:qt.dynamicInset),Nr=Jt&&Kt[0][1]==="r",sn=Jt&&Kt[0][0]==="b";Nr?(Qn.right=Je,Qn.left=Tn):(Qn.left=yt,Qn.right=Tn),sn?(Qn.bottom=Nt,Qn.top=Tn):(Qn.top=Be,Qn.bottom=Tn)}var Lr={};return Xt&&(Xt.includes("height")&&gr?Lr.height=gr:Xt.includes("minHeight")&&gr&&(Lr.minHeight=gr),Xt.includes("width")&&ar?Lr.width=ar:Xt.includes("minWidth")&&ar&&(Lr.minWidth=ar)),Te||(Lr.pointerEvents="none"),w.createElement(Mt,{open:Re||Yr,getContainer:be&&function(){return be(ge)},autoDestroy:Ze},w.createElement(_,{prefixCls:J,open:Te,zIndex:_t,mask:Ut,motion:te}),w.createElement(s.Z,{onResize:Lt,disabled:!Te},function(jn){return w.createElement(x.ZP,(0,S.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Re,leavedClassName:"".concat(J,"-hidden")},b,{onAppearPrepare:Wt,onEnterPrepare:Wt,visible:Te,onVisibleChanged:function(On){var $n;b==null||($n=b.onVisibleChanged)===null||$n===void 0||$n.call(b,On),fe(On)}}),function(Wn,On){var $n=Wn.className,Fr=Wn.style,pa=f()(J,$n,ye);return w.createElement("div",{ref:(0,O.sQ)(jn,X,On),className:pa,style:(0,n.Z)((0,n.Z)((0,n.Z)((0,n.Z)({"--arrow-x":"".concat(he.x||0,"px"),"--arrow-y":"".concat(he.y||0,"px")},Qn),Lr),Fr),{},{boxSizing:"border-box",zIndex:_t},ve),onMouseEnter:Yt,onMouseLeave:Rt,onPointerEnter:Tt,onClick:Xe},Pe&&w.createElement(j,{prefixCls:J,arrow:Pe,arrowPos:he,align:Le}),w.createElement(P,{cache:!Te&&!nt},ur))})}))}),L=I,H=w.forwardRef(function($,X){var Y=$.children,ye=$.getTriggerDOMNode,J=(0,O.Yr)(Y),ve=w.useCallback(function(fe){(0,O.mH)(X,ye?ye(fe):fe)},[ye]),ge=(0,O.x1)(ve,Y.ref);return J?w.cloneElement(Y,{ref:ge}):Y}),V=H,B=w.createContext(null),G=B;function ce($){return $?Array.isArray($)?$:[$]:[]}function pe($,X,Y,ye){return w.useMemo(function(){var J=ce(Y!=null?Y:X),ve=ce(ye!=null?ye:X),ge=new Set(J),fe=new Set(ve);return $&&(ge.has("hover")&&(ge.delete("hover"),ge.add("click")),fe.has("hover")&&(fe.delete("hover"),fe.add("click"))),[ge,fe]},[$,X,Y,ye])}var Ae=e(57840);function Ne(){var $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Y=arguments.length>2?arguments[2]:void 0;return Y?$[0]===X[0]:$[0]===X[0]&&$[1]===X[1]}function me($,X,Y,ye){for(var J=Y.points,ve=Object.keys($),ge=0;ge1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN($)?X:$}function R($){return U(parseFloat($),0)}function q($,X){var Y=(0,n.Z)({},$);return(X||[]).forEach(function(ye){if(!(ye instanceof HTMLBodyElement||ye instanceof HTMLHtmlElement)){var J=ne(ye).getComputedStyle(ye),ve=J.overflow,ge=J.overflowClipMargin,fe=J.borderTopWidth,Te=J.borderBottomWidth,We=J.borderLeftWidth,nt=J.borderRightWidth,Xe=ye.getBoundingClientRect(),Ut=ye.offsetHeight,Pe=ye.clientHeight,he=ye.offsetWidth,Le=ye.clientWidth,b=R(fe),te=R(Te),Re=R(We),be=R(nt),Ze=U(Math.round(Xe.width/he*1e3)/1e3),Mt=U(Math.round(Xe.height/Ut*1e3)/1e3),_t=(he-Le-Re-be)*Ze,Yt=(Ut-Pe-b-te)*Mt,Rt=b*Mt,Tt=te*Mt,je=Re*Ze,yt=be*Ze,Be=0,Je=0;if(ve==="clip"){var Nt=R(ge);Be=Nt*Ze,Je=Nt*Mt}var Lt=Xe.x+je-Be,Wt=Xe.y+Rt-Je,Xt=Lt+Xe.width+2*Be-je-yt-_t,ar=Wt+Xe.height+2*Je-Rt-Tt-Yt;Y.left=Math.max(Y.left,Lt),Y.top=Math.max(Y.top,Wt),Y.right=Math.min(Y.right,Xt),Y.bottom=Math.min(Y.bottom,ar)}}),Y}function le($){var X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,Y="".concat(X),ye=Y.match(/^(.*)\%$/);return ye?$*(parseFloat(ye[1])/100):parseFloat(Y)}function re($,X){var Y=X||[],ye=(0,o.Z)(Y,2),J=ye[0],ve=ye[1];return[le($.width,J),le($.height,ve)]}function A(){var $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[$[0],$[1]]}function W($,X){var Y=X[0],ye=X[1],J,ve;return Y==="t"?ve=$.y:Y==="b"?ve=$.y+$.height:ve=$.y+$.height/2,ye==="l"?J=$.x:ye==="r"?J=$.x+$.width:J=$.x+$.width/2,{x:J,y:ve}}function k($,X){var Y={t:"b",b:"t",l:"r",r:"l"};return $.map(function(ye,J){return J===X?Y[ye]||"c":ye}).join("")}function Z($,X,Y,ye,J,ve,ge){var fe=w.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:J[ye]||{}}),Te=(0,o.Z)(fe,2),We=Te[0],nt=Te[1],Xe=w.useRef(0),Ut=w.useMemo(function(){return X?ae(X):[]},[X]),Pe=w.useRef({}),he=function(){Pe.current={}};$||he();var Le=(0,v.Z)(function(){if(X&&Y&&$){let gn=function(Mn,An){var _n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:pa,ra=ur.x+Mn,Pn=ur.y+An,Vn=ra+qt,ia=Pn+Qn,Ea=Math.max(ra,_n.left),ma=Math.max(Pn,_n.top),Ia=Math.min(Vn,_n.right),ro=Math.min(ia,_n.bottom);return Math.max(0,(Ia-Ea)*(ro-ma))},Cn=function(){Qr=ur.y+Er,Sn=Qr+Qn,cn=ur.x+zn,Un=cn+qt};var Re,be,Ze=X,Mt=Ze.ownerDocument,_t=ne(Ze),Yt=_t.getComputedStyle(Ze),Rt=Yt.width,Tt=Yt.height,je=Yt.position,yt=Ze.style.left,Be=Ze.style.top,Je=Ze.style.right,Nt=Ze.style.bottom,Lt=Ze.style.overflow,Wt=(0,n.Z)((0,n.Z)({},J[ye]),ve),Xt=Mt.createElement("div");(Re=Ze.parentElement)===null||Re===void 0||Re.appendChild(Xt),Xt.style.left="".concat(Ze.offsetLeft,"px"),Xt.style.top="".concat(Ze.offsetTop,"px"),Xt.style.position=je,Xt.style.height="".concat(Ze.offsetHeight,"px"),Xt.style.width="".concat(Ze.offsetWidth,"px"),Ze.style.left="0",Ze.style.top="0",Ze.style.right="auto",Ze.style.bottom="auto",Ze.style.overflow="hidden";var ar;if(Array.isArray(Y))ar={x:Y[0],y:Y[1],width:0,height:0};else{var gr=Y.getBoundingClientRect();ar={x:gr.x,y:gr.y,width:gr.width,height:gr.height}}var ur=Ze.getBoundingClientRect(),Yr=Mt.documentElement,an=Yr.clientWidth,aa=Yr.clientHeight,la=Yr.scrollWidth,Ln=Yr.scrollHeight,Hn=Yr.scrollTop,Tn=Yr.scrollLeft,Qn=ur.height,qt=ur.width,Kt=ar.height,Jt=ar.width,Nr={left:0,top:0,right:an,bottom:aa},sn={left:-Tn,top:-Hn,right:la-Tn,bottom:Ln-Hn},Lr=Wt.htmlRegion,jn="visible",Wn="visibleFirst";Lr!=="scroll"&&Lr!==Wn&&(Lr=jn);var On=Lr===Wn,$n=q(sn,Ut),Fr=q(Nr,Ut),pa=Lr===jn?Fr:$n,fa=On?Fr:pa;Ze.style.left="auto",Ze.style.top="auto",Ze.style.right="0",Ze.style.bottom="0";var Ra=Ze.getBoundingClientRect();Ze.style.left=yt,Ze.style.top=Be,Ze.style.right=Je,Ze.style.bottom=Nt,Ze.style.overflow=Lt,(be=Ze.parentElement)===null||be===void 0||be.removeChild(Xt);var ja=U(Math.round(qt/parseFloat(Rt)*1e3)/1e3),eo=U(Math.round(Qn/parseFloat(Tt)*1e3)/1e3);if(ja===0||eo===0||(0,m.Sh)(Y)&&!(0,Ae.Z)(Y))return;var ba=Wt.offset,Ca=Wt.targetOffset,Fa=re(ur,ba),vo=(0,o.Z)(Fa,2),wa=vo[0],Ma=vo[1],Ka=re(ar,Ca),mo=(0,o.Z)(Ka,2),co=mo[0],So=mo[1];ar.x-=co,ar.y-=So;var to=Wt.points||[],ga=(0,o.Z)(to,2),uo=ga[0],po=ga[1],Ha=A(po),ha=A(uo),Io=W(ar,Ha),Na=W(ur,ha),ao=(0,n.Z)({},Wt),zn=Io.x-Na.x+wa,Er=Io.y-Na.y+Ma,xa=gn(zn,Er),Ga=gn(zn,Er,Fr),Va=W(ar,["t","l"]),Ie=W(ur,["t","l"]),Oe=W(ar,["b","r"]),De=W(ur,["b","r"]),Zt=Wt.overflow||{},pr=Zt.adjustX,Sr=Zt.adjustY,Ur=Zt.shiftX,kr=Zt.shiftY,en=function(An){return typeof An=="boolean"?An:An>=0},Qr,Sn,cn,Un;Cn();var tn=en(Sr),Dn=ha[0]===Ha[0];if(tn&&ha[0]==="t"&&(Sn>fa.bottom||Pe.current.bt)){var oa=Er;Dn?oa-=Qn-Kt:oa=Va.y-De.y-Ma;var Gn=gn(zn,oa),ua=gn(zn,oa,Fr);Gn>xa||Gn===xa&&(!On||ua>=Ga)?(Pe.current.bt=!0,Er=oa,Ma=-Ma,ao.points=[k(ha,0),k(Ha,0)]):Pe.current.bt=!1}if(tn&&ha[0]==="b"&&(Qrxa||ie===xa&&(!On||Se>=Ga)?(Pe.current.tb=!0,Er=dn,Ma=-Ma,ao.points=[k(ha,0),k(Ha,0)]):Pe.current.tb=!1}var ke=en(pr),F=ha[1]===Ha[1];if(ke&&ha[1]==="l"&&(Un>fa.right||Pe.current.rl)){var $e=zn;F?$e-=qt-Jt:$e=Va.x-De.x-wa;var dt=gn($e,Er),mt=gn($e,Er,Fr);dt>xa||dt===xa&&(!On||mt>=Ga)?(Pe.current.rl=!0,zn=$e,wa=-wa,ao.points=[k(ha,1),k(Ha,1)]):Pe.current.rl=!1}if(ke&&ha[1]==="r"&&(cnxa||we===xa&&(!On||Ce>=Ga)?(Pe.current.lr=!0,zn=de,wa=-wa,ao.points=[k(ha,1),k(Ha,1)]):Pe.current.lr=!1}Cn();var Qe=Ur===!0?0:Ur;typeof Qe=="number"&&(cnFr.right&&(zn-=Un-Fr.right-wa,ar.x>Fr.right-Qe&&(zn+=ar.x-Fr.right+Qe)));var it=kr===!0?0:kr;typeof it=="number"&&(QrFr.bottom&&(Er-=Sn-Fr.bottom-Ma,ar.y>Fr.bottom-it&&(Er+=ar.y-Fr.bottom+it)));var Et=ur.x+zn,pt=Et+qt,bt=ur.y+Er,ht=bt+Qn,xt=ar.x,It=xt+Jt,Gt=ar.y,Ht=Gt+Kt,fr=Math.max(Et,xt),wr=Math.min(pt,It),Zr=(fr+wr)/2,Xr=Zr-Et,xr=Math.max(bt,Gt),Tr=Math.min(ht,Ht),Hr=(xr+Tr)/2,on=Hr-bt;ge==null||ge(X,ao);var hn=Ra.right-ur.x-(zn+ur.width),ea=Ra.bottom-ur.y-(Er+ur.height);nt({ready:!0,offsetX:zn/ja,offsetY:Er/eo,offsetR:hn/ja,offsetB:ea/eo,arrowX:Xr/ja,arrowY:on/eo,scaleX:ja,scaleY:eo,align:ao})}}),b=function(){Xe.current+=1;var be=Xe.current;Promise.resolve().then(function(){Xe.current===be&&Le()})},te=function(){nt(function(be){return(0,n.Z)((0,n.Z)({},be),{},{ready:!1})})};return(0,g.Z)(te,[ye]),(0,g.Z)(function(){$||te()},[$]),[We.ready,We.offsetX,We.offsetY,We.offsetR,We.offsetB,We.arrowX,We.arrowY,We.scaleX,We.scaleY,We.align,b]}var z=e(73730);function Ee($,X,Y,ye,J){(0,g.Z)(function(){if($&&X&&Y){let Xe=function(){ye(),J()};var ve=X,ge=Y,fe=ae(ve),Te=ae(ge),We=ne(ge),nt=new Set([We].concat((0,z.Z)(fe),(0,z.Z)(Te)));return nt.forEach(function(Ut){Ut.addEventListener("scroll",Xe,{passive:!0})}),We.addEventListener("resize",Xe,{passive:!0}),ye(),function(){nt.forEach(function(Ut){Ut.removeEventListener("scroll",Xe),We.removeEventListener("resize",Xe)})}}},[$,X,Y])}var Me=e(85870),et=e(71783);function Ve($,X,Y,ye,J,ve,ge,fe){var Te=w.useRef($),We=w.useRef(!1);Te.current!==$&&(We.current=!0,Te.current=$),w.useEffect(function(){var nt=(0,et.Z)(function(){We.current=!1});return function(){et.Z.cancel(nt)}},[$]),w.useEffect(function(){if(X&&ye&&(!J||ve)){var nt=function(){var je=!1,yt=function(Nt){var Lt=Nt.target;je=ge(Lt)},Be=function(Nt){var Lt=Nt.target;!We.current&&Te.current&&!je&&!ge(Lt)&&fe(!1)};return[yt,Be]},Xe=nt(),Ut=(0,o.Z)(Xe,2),Pe=Ut[0],he=Ut[1],Le=nt(),b=(0,o.Z)(Le,2),te=b[0],Re=b[1],be=ne(ye);be.addEventListener("mousedown",Pe,!0),be.addEventListener("click",he,!0),be.addEventListener("contextmenu",he,!0);var Ze=(0,y.A)(Y);if(Ze&&(Ze.addEventListener("mousedown",te,!0),Ze.addEventListener("click",Re,!0),Ze.addEventListener("contextmenu",Re,!0)),0)var Mt,_t,Yt,Rt;return function(){be.removeEventListener("mousedown",Pe,!0),be.removeEventListener("click",he,!0),be.removeEventListener("contextmenu",he,!0),Ze&&(Ze.removeEventListener("mousedown",te,!0),Ze.removeEventListener("click",Re,!0),Ze.removeEventListener("contextmenu",Re,!0))}}},[X,Y,ye,J,ve])}var tt=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function gt(){var $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:u.Z,X=w.forwardRef(function(Y,ye){var J=Y.prefixCls,ve=J===void 0?"rc-trigger-popup":J,ge=Y.children,fe=Y.action,Te=fe===void 0?"hover":fe,We=Y.showAction,nt=Y.hideAction,Xe=Y.popupVisible,Ut=Y.defaultPopupVisible,Pe=Y.onPopupVisibleChange,he=Y.afterPopupVisibleChange,Le=Y.mouseEnterDelay,b=Y.mouseLeaveDelay,te=b===void 0?.1:b,Re=Y.focusDelay,be=Y.blurDelay,Ze=Y.mask,Mt=Y.maskClosable,_t=Mt===void 0?!0:Mt,Yt=Y.getPopupContainer,Rt=Y.forceRender,Tt=Y.autoDestroy,je=Y.destroyPopupOnHide,yt=Y.popup,Be=Y.popupClassName,Je=Y.popupStyle,Nt=Y.popupPlacement,Lt=Y.builtinPlacements,Wt=Lt===void 0?{}:Lt,Xt=Y.popupAlign,ar=Y.zIndex,gr=Y.stretch,ur=Y.getPopupClassNameFromAlign,Yr=Y.fresh,an=Y.alignPoint,aa=Y.onPopupClick,la=Y.onPopupAlign,Ln=Y.arrow,Hn=Y.popupMotion,Tn=Y.maskMotion,Qn=Y.popupTransitionName,qt=Y.popupAnimation,Kt=Y.maskTransitionName,Jt=Y.maskAnimation,Nr=Y.className,sn=Y.getTriggerDOMNode,Lr=(0,a.Z)(Y,tt),jn=Tt||je||!1,Wn=w.useState(!1),On=(0,o.Z)(Wn,2),$n=On[0],Fr=On[1];(0,g.Z)(function(){Fr((0,E.Z)())},[]);var pa=w.useRef({}),fa=w.useContext(G),Ra=w.useMemo(function(){return{registerSubPopup:function(Jr,Rn){pa.current[Jr]=Rn,fa==null||fa.registerSubPopup(Jr,Rn)}}},[fa]),ja=(0,l.Z)(),eo=w.useState(null),ba=(0,o.Z)(eo,2),Ca=ba[0],Fa=ba[1],vo=(0,v.Z)(function(lr){(0,m.Sh)(lr)&&Ca!==lr&&Fa(lr),fa==null||fa.registerSubPopup(ja,lr)}),wa=w.useState(null),Ma=(0,o.Z)(wa,2),Ka=Ma[0],mo=Ma[1],co=w.useRef(null),So=(0,v.Z)(function(lr){(0,m.Sh)(lr)&&Ka!==lr&&(mo(lr),co.current=lr)}),to=w.Children.only(ge),ga=(to==null?void 0:to.props)||{},uo={},po=(0,v.Z)(function(lr){var Jr,Rn,En=Ka;return(En==null?void 0:En.contains(lr))||((Jr=(0,y.A)(En))===null||Jr===void 0?void 0:Jr.host)===lr||lr===En||(Ca==null?void 0:Ca.contains(lr))||((Rn=(0,y.A)(Ca))===null||Rn===void 0?void 0:Rn.host)===lr||lr===Ca||Object.values(pa.current).some(function(rn){return(rn==null?void 0:rn.contains(lr))||lr===rn})}),Ha=Q(ve,Hn,qt,Qn),ha=Q(ve,Tn,Jt,Kt),Io=w.useState(Ut||!1),Na=(0,o.Z)(Io,2),ao=Na[0],zn=Na[1],Er=Xe!=null?Xe:ao,xa=(0,v.Z)(function(lr){Xe===void 0&&zn(lr)});(0,g.Z)(function(){zn(Xe||!1)},[Xe]);var Ga=w.useRef(Er);Ga.current=Er;var Va=w.useRef([]);Va.current=[];var Ie=(0,v.Z)(function(lr){var Jr;xa(lr),((Jr=Va.current[Va.current.length-1])!==null&&Jr!==void 0?Jr:Er)!==lr&&(Va.current.push(lr),Pe==null||Pe(lr))}),Oe=w.useRef(),De=function(){clearTimeout(Oe.current)},Zt=function(Jr){var Rn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;De(),Rn===0?Ie(Jr):Oe.current=setTimeout(function(){Ie(Jr)},Rn*1e3)};w.useEffect(function(){return De},[]);var pr=w.useState(!1),Sr=(0,o.Z)(pr,2),Ur=Sr[0],kr=Sr[1];(0,g.Z)(function(lr){(!lr||Er)&&kr(!0)},[Er]);var en=w.useState(null),Qr=(0,o.Z)(en,2),Sn=Qr[0],cn=Qr[1],Un=w.useState([0,0]),tn=(0,o.Z)(Un,2),Dn=tn[0],oa=tn[1],Gn=function(Jr){oa([Jr.clientX,Jr.clientY])},ua=Z(Er,Ca,an?Dn:Ka,Nt,Wt,Xt,la),dn=(0,o.Z)(ua,11),ie=dn[0],Se=dn[1],ke=dn[2],F=dn[3],$e=dn[4],dt=dn[5],mt=dn[6],de=dn[7],we=dn[8],Ce=dn[9],Qe=dn[10],it=pe($n,Te,We,nt),Et=(0,o.Z)(it,2),pt=Et[0],bt=Et[1],ht=pt.has("click"),xt=bt.has("click")||bt.has("contextMenu"),It=(0,v.Z)(function(){Ur||Qe()}),Gt=function(){Ga.current&&an&&xt&&Zt(!1)};Ee(Er,Ka,Ca,It,Gt),(0,g.Z)(function(){It()},[Dn,Nt]),(0,g.Z)(function(){Er&&!(Wt!=null&&Wt[Nt])&&It()},[JSON.stringify(Xt)]);var Ht=w.useMemo(function(){var lr=me(Wt,ve,Ce,an);return f()(lr,ur==null?void 0:ur(Ce))},[Ce,ur,Wt,ve,an]);w.useImperativeHandle(ye,function(){return{nativeElement:co.current,forceAlign:It}});var fr=w.useState(0),wr=(0,o.Z)(fr,2),Zr=wr[0],Xr=wr[1],xr=w.useState(0),Tr=(0,o.Z)(xr,2),Hr=Tr[0],on=Tr[1],hn=function(){if(gr&&Ka){var Jr=Ka.getBoundingClientRect();Xr(Jr.width),on(Jr.height)}},ea=function(){hn(),It()},gn=function(Jr){kr(!1),Qe(),he==null||he(Jr)},Cn=function(){return new Promise(function(Jr){hn(),cn(function(){return Jr})})};(0,g.Z)(function(){Sn&&(Qe(),Sn(),cn(null))},[Sn]);function Mn(lr,Jr,Rn,En){uo[lr]=function(rn){var La;En==null||En(rn),Zt(Jr,Rn);for(var Da=arguments.length,Ya=new Array(Da>1?Da-1:0),Qa=1;Qa1?Rn-1:0),rn=1;rn1?Rn-1:0),rn=1;rn0,aa=w.useState(!be||!an),la=(0,o.Z)(aa,2),Ln=la[0],Hn=la[1];if((0,g.Z)(function(){!Ln&&an&&ge&&Hn(!0)},[Ln,an,ge]),!Ln)return null;var Tn="auto",Qn={left:"-1000vw",top:"-1000vh",right:Tn,bottom:Tn};if(je||!Te){var qt,Kt=Le.points,Jt=Le.dynamicInset||((qt=Le._experimental)===null||qt===void 0?void 0:qt.dynamicInset),Nr=Jt&&Kt[0][1]==="r",sn=Jt&&Kt[0][0]==="b";Nr?(Qn.right=Je,Qn.left=Tn):(Qn.left=yt,Qn.right=Tn),sn?(Qn.bottom=Nt,Qn.top=Tn):(Qn.top=Be,Qn.bottom=Tn)}var Lr={};return Xt&&(Xt.includes("height")&&gr?Lr.height=gr:Xt.includes("minHeight")&&gr&&(Lr.minHeight=gr),Xt.includes("width")&&ar?Lr.width=ar:Xt.includes("minWidth")&&ar&&(Lr.minWidth=ar)),Te||(Lr.pointerEvents="none"),w.createElement(Mt,{open:Re||Yr,getContainer:be&&function(){return be(ge)},autoDestroy:Ze},w.createElement(_,{prefixCls:J,open:Te,zIndex:_t,mask:Ut,motion:te}),w.createElement(s.Z,{onResize:Lt,disabled:!Te},function(jn){return w.createElement(x.ZP,(0,S.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Re,leavedClassName:"".concat(J,"-hidden")},b,{onAppearPrepare:Wt,onEnterPrepare:Wt,visible:Te,onVisibleChanged:function(On){var $n;b==null||($n=b.onVisibleChanged)===null||$n===void 0||$n.call(b,On),fe(On)}}),function(Wn,On){var $n=Wn.className,Fr=Wn.style,pa=f()(J,$n,ye);return w.createElement("div",{ref:(0,O.sQ)(jn,X,On),className:pa,style:(0,n.Z)((0,n.Z)((0,n.Z)((0,n.Z)({"--arrow-x":"".concat(he.x||0,"px"),"--arrow-y":"".concat(he.y||0,"px")},Qn),Lr),Fr),{},{boxSizing:"border-box",zIndex:_t},ve),onMouseEnter:Yt,onMouseLeave:Rt,onPointerEnter:Tt,onClick:Xe},Pe&&w.createElement(j,{prefixCls:J,arrow:Pe,arrowPos:he,align:Le}),w.createElement(P,{cache:!Te&&!nt},ur))})}))}),L=I,H=w.forwardRef(function($,X){var Y=$.children,ye=$.getTriggerDOMNode,J=(0,O.Yr)(Y),ve=w.useCallback(function(fe){(0,O.mH)(X,ye?ye(fe):fe)},[ye]),ge=(0,O.x1)(ve,Y.ref);return J?w.cloneElement(Y,{ref:ge}):Y}),V=H,B=w.createContext(null),G=B;function ce($){return $?Array.isArray($)?$:[$]:[]}function pe($,X,Y,ye){return w.useMemo(function(){var J=ce(Y!=null?Y:X),ve=ce(ye!=null?ye:X),ge=new Set(J),fe=new Set(ve);return $&&(ge.has("hover")&&(ge.delete("hover"),ge.add("click")),fe.has("hover")&&(fe.delete("hover"),fe.add("click"))),[ge,fe]},[$,X,Y,ye])}var Ae=e(57840);function Ne(){var $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Y=arguments.length>2?arguments[2]:void 0;return Y?$[0]===X[0]:$[0]===X[0]&&$[1]===X[1]}function me($,X,Y,ye){for(var J=Y.points,ve=Object.keys($),ge=0;ge1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN($)?X:$}function R($){return U(parseFloat($),0)}function q($,X){var Y=(0,n.Z)({},$);return(X||[]).forEach(function(ye){if(!(ye instanceof HTMLBodyElement||ye instanceof HTMLHtmlElement)){var J=ne(ye).getComputedStyle(ye),ve=J.overflow,ge=J.overflowClipMargin,fe=J.borderTopWidth,Te=J.borderBottomWidth,We=J.borderLeftWidth,nt=J.borderRightWidth,Xe=ye.getBoundingClientRect(),Ut=ye.offsetHeight,Pe=ye.clientHeight,he=ye.offsetWidth,Le=ye.clientWidth,b=R(fe),te=R(Te),Re=R(We),be=R(nt),Ze=U(Math.round(Xe.width/he*1e3)/1e3),Mt=U(Math.round(Xe.height/Ut*1e3)/1e3),_t=(he-Le-Re-be)*Ze,Yt=(Ut-Pe-b-te)*Mt,Rt=b*Mt,Tt=te*Mt,je=Re*Ze,yt=be*Ze,Be=0,Je=0;if(ve==="clip"){var Nt=R(ge);Be=Nt*Ze,Je=Nt*Mt}var Lt=Xe.x+je-Be,Wt=Xe.y+Rt-Je,Xt=Lt+Xe.width+2*Be-je-yt-_t,ar=Wt+Xe.height+2*Je-Rt-Tt-Yt;Y.left=Math.max(Y.left,Lt),Y.top=Math.max(Y.top,Wt),Y.right=Math.min(Y.right,Xt),Y.bottom=Math.min(Y.bottom,ar)}}),Y}function le($){var X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,Y="".concat(X),ye=Y.match(/^(.*)\%$/);return ye?$*(parseFloat(ye[1])/100):parseFloat(Y)}function re($,X){var Y=X||[],ye=(0,o.Z)(Y,2),J=ye[0],ve=ye[1];return[le($.width,J),le($.height,ve)]}function A(){var $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[$[0],$[1]]}function W($,X){var Y=X[0],ye=X[1],J,ve;return Y==="t"?ve=$.y:Y==="b"?ve=$.y+$.height:ve=$.y+$.height/2,ye==="l"?J=$.x:ye==="r"?J=$.x+$.width:J=$.x+$.width/2,{x:J,y:ve}}function k($,X){var Y={t:"b",b:"t",l:"r",r:"l"};return $.map(function(ye,J){return J===X?Y[ye]||"c":ye}).join("")}function Z($,X,Y,ye,J,ve,ge){var fe=w.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:J[ye]||{}}),Te=(0,o.Z)(fe,2),We=Te[0],nt=Te[1],Xe=w.useRef(0),Ut=w.useMemo(function(){return X?ae(X):[]},[X]),Pe=w.useRef({}),he=function(){Pe.current={}};$||he();var Le=(0,v.Z)(function(){if(X&&Y&&$){let gn=function(Mn,An){var _n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:pa,ra=ur.x+Mn,Pn=ur.y+An,Vn=ra+qt,ia=Pn+Qn,Ea=Math.max(ra,_n.left),ma=Math.max(Pn,_n.top),Ia=Math.min(Vn,_n.right),ro=Math.min(ia,_n.bottom);return Math.max(0,(Ia-Ea)*(ro-ma))},Cn=function(){Qr=ur.y+Er,Sn=Qr+Qn,cn=ur.x+zn,Un=cn+qt};var Re,be,Ze=X,Mt=Ze.ownerDocument,_t=ne(Ze),Yt=_t.getComputedStyle(Ze),Rt=Yt.width,Tt=Yt.height,je=Yt.position,yt=Ze.style.left,Be=Ze.style.top,Je=Ze.style.right,Nt=Ze.style.bottom,Lt=Ze.style.overflow,Wt=(0,n.Z)((0,n.Z)({},J[ye]),ve),Xt=Mt.createElement("div");(Re=Ze.parentElement)===null||Re===void 0||Re.appendChild(Xt),Xt.style.left="".concat(Ze.offsetLeft,"px"),Xt.style.top="".concat(Ze.offsetTop,"px"),Xt.style.position=je,Xt.style.height="".concat(Ze.offsetHeight,"px"),Xt.style.width="".concat(Ze.offsetWidth,"px"),Ze.style.left="0",Ze.style.top="0",Ze.style.right="auto",Ze.style.bottom="auto",Ze.style.overflow="hidden";var ar;if(Array.isArray(Y))ar={x:Y[0],y:Y[1],width:0,height:0};else{var gr=Y.getBoundingClientRect();ar={x:gr.x,y:gr.y,width:gr.width,height:gr.height}}var ur=Ze.getBoundingClientRect(),Yr=Mt.documentElement,an=Yr.clientWidth,aa=Yr.clientHeight,la=Yr.scrollWidth,Ln=Yr.scrollHeight,Hn=Yr.scrollTop,Tn=Yr.scrollLeft,Qn=ur.height,qt=ur.width,Kt=ar.height,Jt=ar.width,Nr={left:0,top:0,right:an,bottom:aa},sn={left:-Tn,top:-Hn,right:la-Tn,bottom:Ln-Hn},Lr=Wt.htmlRegion,jn="visible",Wn="visibleFirst";Lr!=="scroll"&&Lr!==Wn&&(Lr=jn);var On=Lr===Wn,$n=q(sn,Ut),Fr=q(Nr,Ut),pa=Lr===jn?Fr:$n,fa=On?Fr:pa;Ze.style.left="auto",Ze.style.top="auto",Ze.style.right="0",Ze.style.bottom="0";var Ra=Ze.getBoundingClientRect();Ze.style.left=yt,Ze.style.top=Be,Ze.style.right=Je,Ze.style.bottom=Nt,Ze.style.overflow=Lt,(be=Ze.parentElement)===null||be===void 0||be.removeChild(Xt);var ja=U(Math.round(qt/parseFloat(Rt)*1e3)/1e3),eo=U(Math.round(Qn/parseFloat(Tt)*1e3)/1e3);if(ja===0||eo===0||(0,m.Sh)(Y)&&!(0,Ae.Z)(Y))return;var ba=Wt.offset,Ca=Wt.targetOffset,Fa=re(ur,ba),vo=(0,o.Z)(Fa,2),wa=vo[0],Ma=vo[1],Ka=re(ar,Ca),mo=(0,o.Z)(Ka,2),co=mo[0],So=mo[1];ar.x-=co,ar.y-=So;var to=Wt.points||[],ga=(0,o.Z)(to,2),uo=ga[0],po=ga[1],Ha=A(po),ha=A(uo),Io=W(ar,Ha),Na=W(ur,ha),ao=(0,n.Z)({},Wt),zn=Io.x-Na.x+wa,Er=Io.y-Na.y+Ma,xa=gn(zn,Er),Ga=gn(zn,Er,Fr),Va=W(ar,["t","l"]),Ie=W(ur,["t","l"]),Oe=W(ar,["b","r"]),De=W(ur,["b","r"]),Zt=Wt.overflow||{},pr=Zt.adjustX,Sr=Zt.adjustY,Ur=Zt.shiftX,kr=Zt.shiftY,en=function(An){return typeof An=="boolean"?An:An>=0},Qr,Sn,cn,Un;Cn();var tn=en(Sr),Dn=ha[0]===Ha[0];if(tn&&ha[0]==="t"&&(Sn>fa.bottom||Pe.current.bt)){var oa=Er;Dn?oa-=Qn-Kt:oa=Va.y-De.y-Ma;var Gn=gn(zn,oa),ua=gn(zn,oa,Fr);Gn>xa||Gn===xa&&(!On||ua>=Ga)?(Pe.current.bt=!0,Er=oa,Ma=-Ma,ao.points=[k(ha,0),k(Ha,0)]):Pe.current.bt=!1}if(tn&&ha[0]==="b"&&(Qrxa||ie===xa&&(!On||Se>=Ga)?(Pe.current.tb=!0,Er=dn,Ma=-Ma,ao.points=[k(ha,0),k(Ha,0)]):Pe.current.tb=!1}var ke=en(pr),F=ha[1]===Ha[1];if(ke&&ha[1]==="l"&&(Un>fa.right||Pe.current.rl)){var $e=zn;F?$e-=qt-Jt:$e=Va.x-De.x-wa;var dt=gn($e,Er),mt=gn($e,Er,Fr);dt>xa||dt===xa&&(!On||mt>=Ga)?(Pe.current.rl=!0,zn=$e,wa=-wa,ao.points=[k(ha,1),k(Ha,1)]):Pe.current.rl=!1}if(ke&&ha[1]==="r"&&(cnxa||we===xa&&(!On||Ce>=Ga)?(Pe.current.lr=!0,zn=de,wa=-wa,ao.points=[k(ha,1),k(Ha,1)]):Pe.current.lr=!1}Cn();var Qe=Ur===!0?0:Ur;typeof Qe=="number"&&(cnFr.right&&(zn-=Un-Fr.right-wa,ar.x>Fr.right-Qe&&(zn+=ar.x-Fr.right+Qe)));var it=kr===!0?0:kr;typeof it=="number"&&(QrFr.bottom&&(Er-=Sn-Fr.bottom-Ma,ar.y>Fr.bottom-it&&(Er+=ar.y-Fr.bottom+it)));var Et=ur.x+zn,pt=Et+qt,bt=ur.y+Er,ht=bt+Qn,xt=ar.x,It=xt+Jt,Gt=ar.y,Ht=Gt+Kt,fr=Math.max(Et,xt),wr=Math.min(pt,It),Zr=(fr+wr)/2,Xr=Zr-Et,xr=Math.max(bt,Gt),Tr=Math.min(ht,Ht),Hr=(xr+Tr)/2,on=Hr-bt;ge==null||ge(X,ao);var hn=Ra.right-ur.x-(zn+ur.width),ea=Ra.bottom-ur.y-(Er+ur.height);nt({ready:!0,offsetX:zn/ja,offsetY:Er/eo,offsetR:hn/ja,offsetB:ea/eo,arrowX:Xr/ja,arrowY:on/eo,scaleX:ja,scaleY:eo,align:ao})}}),b=function(){Xe.current+=1;var be=Xe.current;Promise.resolve().then(function(){Xe.current===be&&Le()})},te=function(){nt(function(be){return(0,n.Z)((0,n.Z)({},be),{},{ready:!1})})};return(0,g.Z)(te,[ye]),(0,g.Z)(function(){$||te()},[$]),[We.ready,We.offsetX,We.offsetY,We.offsetR,We.offsetB,We.arrowX,We.arrowY,We.scaleX,We.scaleY,We.align,b]}var z=e(73730);function Ee($,X,Y,ye,J){(0,g.Z)(function(){if($&&X&&Y){let Xe=function(){ye(),J()};var ve=X,ge=Y,fe=ae(ve),Te=ae(ge),We=ne(ge),nt=new Set([We].concat((0,z.Z)(fe),(0,z.Z)(Te)));return nt.forEach(function(Ut){Ut.addEventListener("scroll",Xe,{passive:!0})}),We.addEventListener("resize",Xe,{passive:!0}),ye(),function(){nt.forEach(function(Ut){Ut.removeEventListener("scroll",Xe),We.removeEventListener("resize",Xe)})}}},[$,X,Y])}var Me=e(85870),et=e(71783);function Ve($,X,Y,ye,J,ve,ge,fe){var Te=w.useRef($),We=w.useRef(!1);Te.current!==$&&(We.current=!0,Te.current=$),w.useEffect(function(){var nt=(0,et.Z)(function(){We.current=!1});return function(){et.Z.cancel(nt)}},[$]),w.useEffect(function(){if(X&&ye&&(!J||ve)){var nt=function(){var je=!1,yt=function(Nt){var Lt=Nt.target;je=ge(Lt)},Be=function(Nt){var Lt=Nt.target;!We.current&&Te.current&&!je&&!ge(Lt)&&fe(!1)};return[yt,Be]},Xe=nt(),Ut=(0,o.Z)(Xe,2),Pe=Ut[0],he=Ut[1],Le=nt(),b=(0,o.Z)(Le,2),te=b[0],Re=b[1],be=ne(ye);be.addEventListener("mousedown",Pe,!0),be.addEventListener("click",he,!0),be.addEventListener("contextmenu",he,!0);var Ze=(0,y.A)(Y);if(Ze&&(Ze.addEventListener("mousedown",te,!0),Ze.addEventListener("click",Re,!0),Ze.addEventListener("contextmenu",Re,!0)),0)var Mt,_t,Yt,Rt;return function(){be.removeEventListener("mousedown",Pe,!0),be.removeEventListener("click",he,!0),be.removeEventListener("contextmenu",he,!0),Ze&&(Ze.removeEventListener("mousedown",te,!0),Ze.removeEventListener("click",Re,!0),Ze.removeEventListener("contextmenu",Re,!0))}}},[X,Y,ye,J,ve])}var tt=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function gt(){var $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:u.Z,X=w.forwardRef(function(Y,ye){var J=Y.prefixCls,ve=J===void 0?"rc-trigger-popup":J,ge=Y.children,fe=Y.action,Te=fe===void 0?"hover":fe,We=Y.showAction,nt=Y.hideAction,Xe=Y.popupVisible,Ut=Y.defaultPopupVisible,Pe=Y.onPopupVisibleChange,he=Y.afterPopupVisibleChange,Le=Y.mouseEnterDelay,b=Y.mouseLeaveDelay,te=b===void 0?.1:b,Re=Y.focusDelay,be=Y.blurDelay,Ze=Y.mask,Mt=Y.maskClosable,_t=Mt===void 0?!0:Mt,Yt=Y.getPopupContainer,Rt=Y.forceRender,Tt=Y.autoDestroy,je=Y.destroyPopupOnHide,yt=Y.popup,Be=Y.popupClassName,Je=Y.popupStyle,Nt=Y.popupPlacement,Lt=Y.builtinPlacements,Wt=Lt===void 0?{}:Lt,Xt=Y.popupAlign,ar=Y.zIndex,gr=Y.stretch,ur=Y.getPopupClassNameFromAlign,Yr=Y.fresh,an=Y.alignPoint,aa=Y.onPopupClick,la=Y.onPopupAlign,Ln=Y.arrow,Hn=Y.popupMotion,Tn=Y.maskMotion,Qn=Y.popupTransitionName,qt=Y.popupAnimation,Kt=Y.maskTransitionName,Jt=Y.maskAnimation,Nr=Y.className,sn=Y.getTriggerDOMNode,Lr=(0,a.Z)(Y,tt),jn=Tt||je||!1,Wn=w.useState(!1),On=(0,o.Z)(Wn,2),$n=On[0],Fr=On[1];(0,g.Z)(function(){Fr((0,E.Z)())},[]);var pa=w.useRef({}),fa=w.useContext(G),Ra=w.useMemo(function(){return{registerSubPopup:function(Jr,Rn){pa.current[Jr]=Rn,fa==null||fa.registerSubPopup(Jr,Rn)}}},[fa]),ja=(0,l.Z)(),eo=w.useState(null),ba=(0,o.Z)(eo,2),Ca=ba[0],Fa=ba[1],vo=(0,v.Z)(function(lr){(0,m.Sh)(lr)&&Ca!==lr&&Fa(lr),fa==null||fa.registerSubPopup(ja,lr)}),wa=w.useState(null),Ma=(0,o.Z)(wa,2),Ka=Ma[0],mo=Ma[1],co=w.useRef(null),So=(0,v.Z)(function(lr){(0,m.Sh)(lr)&&Ka!==lr&&(mo(lr),co.current=lr)}),to=w.Children.only(ge),ga=(to==null?void 0:to.props)||{},uo={},po=(0,v.Z)(function(lr){var Jr,Rn,En=Ka;return(En==null?void 0:En.contains(lr))||((Jr=(0,y.A)(En))===null||Jr===void 0?void 0:Jr.host)===lr||lr===En||(Ca==null?void 0:Ca.contains(lr))||((Rn=(0,y.A)(Ca))===null||Rn===void 0?void 0:Rn.host)===lr||lr===Ca||Object.values(pa.current).some(function(rn){return(rn==null?void 0:rn.contains(lr))||lr===rn})}),Ha=Q(ve,Hn,qt,Qn),ha=Q(ve,Tn,Jt,Kt),Io=w.useState(Ut||!1),Na=(0,o.Z)(Io,2),ao=Na[0],zn=Na[1],Er=Xe!=null?Xe:ao,xa=(0,v.Z)(function(lr){Xe===void 0&&zn(lr)});(0,g.Z)(function(){zn(Xe||!1)},[Xe]);var Ga=w.useRef(Er);Ga.current=Er;var Va=w.useRef([]);Va.current=[];var Ie=(0,v.Z)(function(lr){var Jr;xa(lr),((Jr=Va.current[Va.current.length-1])!==null&&Jr!==void 0?Jr:Er)!==lr&&(Va.current.push(lr),Pe==null||Pe(lr))}),Oe=w.useRef(),De=function(){clearTimeout(Oe.current)},Zt=function(Jr){var Rn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;De(),Rn===0?Ie(Jr):Oe.current=setTimeout(function(){Ie(Jr)},Rn*1e3)};w.useEffect(function(){return De},[]);var pr=w.useState(!1),Sr=(0,o.Z)(pr,2),Ur=Sr[0],kr=Sr[1];(0,g.Z)(function(lr){(!lr||Er)&&kr(!0)},[Er]);var en=w.useState(null),Qr=(0,o.Z)(en,2),Sn=Qr[0],cn=Qr[1],Un=w.useState([0,0]),tn=(0,o.Z)(Un,2),Dn=tn[0],oa=tn[1],Gn=function(Jr){oa([Jr.clientX,Jr.clientY])},ua=Z(Er,Ca,an?Dn:Ka,Nt,Wt,Xt,la),dn=(0,o.Z)(ua,11),ie=dn[0],Se=dn[1],ke=dn[2],F=dn[3],$e=dn[4],dt=dn[5],mt=dn[6],de=dn[7],we=dn[8],Ce=dn[9],Qe=dn[10],it=pe($n,Te,We,nt),Et=(0,o.Z)(it,2),pt=Et[0],bt=Et[1],ht=pt.has("click"),xt=bt.has("click")||bt.has("contextMenu"),It=(0,v.Z)(function(){Ur||Qe()}),Gt=function(){Ga.current&&an&&xt&&Zt(!1)};Ee(Er,Ka,Ca,It,Gt),(0,g.Z)(function(){It()},[Dn,Nt]),(0,g.Z)(function(){Er&&!(Wt!=null&&Wt[Nt])&&It()},[JSON.stringify(Xt)]);var Ht=w.useMemo(function(){var lr=me(Wt,ve,Ce,an);return f()(lr,ur==null?void 0:ur(Ce))},[Ce,ur,Wt,ve,an]);w.useImperativeHandle(ye,function(){return{nativeElement:co.current,forceAlign:It}});var fr=w.useState(0),wr=(0,o.Z)(fr,2),Zr=wr[0],Xr=wr[1],xr=w.useState(0),Tr=(0,o.Z)(xr,2),Hr=Tr[0],on=Tr[1],hn=function(){if(gr&&Ka){var Jr=Ka.getBoundingClientRect();Xr(Jr.width),on(Jr.height)}},ea=function(){hn(),It()},gn=function(Jr){kr(!1),Qe(),he==null||he(Jr)},Cn=function(){return new Promise(function(Jr){hn(),cn(function(){return Jr})})};(0,g.Z)(function(){Sn&&(Qe(),Sn(),cn(null))},[Sn]);function Mn(lr,Jr,Rn,En){uo[lr]=function(rn){var La;En==null||En(rn),Zt(Jr,Rn);for(var Da=arguments.length,Ya=new Array(Da>1?Da-1:0),Qa=1;Qa1?Rn-1:0),rn=1;rn1?Rn-1:0),rn=1;rn0&&arguments[0]!==void 0?arguments[0]:[],M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return C.length!==M.length||C.some((N,se)=>!Object.is(N,M[se]))}function _(C){if(C==null||typeof C.didCatch!="boolean"||typeof C.resetErrorBoundary!="function")throw new Error("ErrorBoundaryContext not found")}function K(){const C=useContext(S);_(C);const[M,N]=useState({error:null,hasError:!1}),se=useMemo(()=>({resetBoundary:()=>{C.resetErrorBoundary(),N({error:null,hasError:!1})},showBoundary:Ue=>N({error:Ue,hasError:!0})}),[C.resetErrorBoundary]);if(M.hasError)throw M.error;return se}function P(C,M){const N=forwardRef((Ue,Ke)=>createElement(O,M,createElement(C,is(_i({},Ue),{ref:Ke})))),se=C.displayName||C.name||"Unknown";return N.displayName="withErrorBoundary(".concat(se,")"),N}var I=function(M){return a.createElement(O,{fallbackRender:function(se){var Ue=se.error;return a.createElement(w.Z,{type:"error"},a.createElement("p",null,a.createElement("strong",null,Ue.message||"This demo has been crashed.")),Ue.stack&&a.createElement("p",null,a.createElement("details",{open:!0},a.createElement("summary",null,"Error stack"),a.createElement("pre",null,Ue.stack))))}},M.children)},L=I;function H(){return H=Object.assign?Object.assign.bind():function(C){for(var M=1;M0&&arguments[0]!==void 0?arguments[0]:[],M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return C.length!==M.length||C.some((N,se)=>!Object.is(N,M[se]))}function _(C){if(C==null||typeof C.didCatch!="boolean"||typeof C.resetErrorBoundary!="function")throw new Error("ErrorBoundaryContext not found")}function K(){const C=useContext(S);_(C);const[M,N]=useState({error:null,hasError:!1}),se=useMemo(()=>({resetBoundary:()=>{C.resetErrorBoundary(),N({error:null,hasError:!1})},showBoundary:Ue=>N({error:Ue,hasError:!0})}),[C.resetErrorBoundary]);if(M.hasError)throw M.error;return se}function P(C,M){const N=forwardRef((Ue,Ke)=>createElement(O,M,createElement(C,is(_i({},Ue),{ref:Ke})))),se=C.displayName||C.name||"Unknown";return N.displayName="withErrorBoundary(".concat(se,")"),N}var I=function(M){return a.createElement(O,{fallbackRender:function(se){var Ue=se.error;return a.createElement(w.Z,{type:"error"},a.createElement("p",null,a.createElement("strong",null,Ue.message||"This demo has been crashed.")),Ue.stack&&a.createElement("p",null,a.createElement("details",{open:!0},a.createElement("summary",null,"Error stack"),a.createElement("pre",null,Ue.stack))))}},M.children)},L=I;function H(){return H=Object.assign?Object.assign.bind():function(C){for(var M=1;MC.length)&&(M=C.length);for(var N=0,se=new Array(M);N1&&(typeof window=="undefined"||window.innerWidth>1024)){for(var Vt=0;VtC.length)&&(M=C.length);for(var N=0,se=new Array(M);NC.length)&&(M=C.length);for(var N=0,se=new Array(M);NC.length)&&(M=C.length);for(var N=0,se=new Array(M);NC.length)&&(M=C.length);for(var N=0,se=new Array(M);N',isBinary:!1},Ge[jt]={content:(0,Y.AM)(St.react),isBinary:!1};var Ft=Y.EV.applyPlugins({type:n.Ac.modify,key:"modifyCodeSandboxData",initialValue:{files:Ge},args:C});return(0,X.Z)(Ft)}var Xe=function(M,N){var se,Ue=document.createElement("form"),Ke=document.createElement("input"),ct=nt(M);Ue.method="POST",Ue.target="_blank",Ue.style.display="none",Ue.action=(N==null?void 0:N.api)||We,Ue.appendChild(Ke),Ue.setAttribute("data-demo",((se=M.assets)===null||se===void 0?void 0:se.id)||""),Ke.name="parameters",Ke.value=ct,document.body.appendChild(Ue),Ue.submit(),Ue.remove()},Ut=e(82242),Pe=e.n(Ut),he=e(82100),Le=e.n(he),b=e(29186),te=e.n(b),Re=e(31468),be=e.n(Re),Ze=e(79800),Mt=e.n(Ze),_t=500,Yt=20,Rt=300,Tt="https://stackblitz.com",je=["angular-cli","create-react-app","html","javascript","node","polymer","typescript","vue"],yt=["project","search","ports","settings"],Be=["light","dark"],Je=["editor","preview"],Nt={clickToLoad:function(M){return Wt("ctl",M)},devToolsHeight:function(M){return ar("devtoolsheight",M)},forceEmbedLayout:function(M){return Wt("embed",M)},hideDevTools:function(M){return Wt("hidedevtools",M)},hideExplorer:function(M){return Wt("hideExplorer",M)},hideNavigation:function(M){return Wt("hideNavigation",M)},openFile:function(M){return ur("file",M)},showSidebar:function(M){return Xt("showSidebar",M)},sidebarView:function(M){return gr("sidebarView",M,yt)},startScript:function(M){return ur("startScript",M)},terminalHeight:function(M){return ar("terminalHeight",M)},theme:function(M){return gr("theme",M,Be)},view:function(M){return gr("view",M,Je)},zenMode:function(M){return Wt("zenMode",M)},organization:function(M){return"".concat(ur("orgName",M==null?void 0:M.name),"&").concat(ur("orgProvider",M==null?void 0:M.provider))},crossOriginIsolated:function(M){return Wt("corp",M)}};function Lt(){var C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},M=Object.entries(C).map(function(N){var se=Mt()(N,2),Ue=se[0],Ke=se[1];return Ke!=null&&Nt.hasOwnProperty(Ue)?Nt[Ue](Ke):""}).filter(Boolean);return M.length?"?".concat(M.join("&")):""}function Wt(C,M){return M===!0?"".concat(C,"=1"):""}function Xt(C,M){return typeof M=="boolean"?"".concat(C,"=").concat(M?"1":"0"):""}function ar(C,M){if(typeof M=="number"&&!Number.isNaN(M)){var N=Math.min(100,Math.max(0,M));return"".concat(C,"=").concat(encodeURIComponent(Math.round(N)))}return""}function gr(C){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",N=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return N.includes(M)?"".concat(C,"=").concat(encodeURIComponent(M)):""}function ur(C,M){var N=Array.isArray(M)?M:[M];return N.filter(function(se){return typeof se=="string"&&se.trim()!==""}).map(function(se){return"".concat(C,"=").concat(encodeURIComponent(se))}).join("&")}function Yr(){return Math.random().toString(36).slice(2,6)+Math.random().toString(36).slice(2,6)}function an(C,M){return"".concat(la(M)).concat(C).concat(Lt(M))}function aa(C,M){var N={forceEmbedLayout:!0};return M&&be()(M)==="object"&&Object.assign(N,M),"".concat(la(N)).concat(C).concat(Lt(N))}function la(){var C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},M=typeof C.origin=="string"?C.origin:Tt;return M.replace(/\/$/,"")}function Ln(C,M,N){if(!M||!C||!C.parentNode)throw new Error("Invalid Element");C.id&&(M.id=C.id),C.className&&(M.className=C.className),Qn(M,N),qt(C,M,N),C.replaceWith(M)}function Hn(C){if(typeof C=="string"){var M=document.getElementById(C);if(!M)throw new Error("Could not find element with id '".concat(C,"'"));return M}else if(C instanceof HTMLElement)return C;throw new Error("Invalid element: ".concat(C))}function Tn(C){return C&&C.newWindow===!1?"_self":"_blank"}function Qn(C){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},N=Object.hasOwnProperty.call(M,"height")?"".concat(M.height):"".concat(Rt),se=Object.hasOwnProperty.call(M,"width")?"".concat(M.width):void 0;C.setAttribute("height",N),se?C.setAttribute("width",se):C.setAttribute("style","width:100%;")}function qt(C,M){var N,se,Ue=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Ke=(N=(se=C.allow)===null||se===void 0||(se=se.split(";"))===null||se===void 0?void 0:se.map(function(ct){return ct.trim()}))!==null&&N!==void 0?N:[];Ue.crossOriginIsolated&&!Ke.includes("cross-origin-isolated")&&Ke.push("cross-origin-isolated"),Ke.length>0&&(M.allow=Ke.join("; "))}var Kt=function(){function C(M){Le()(this,C),this.pending={},this.port=M,this.port.onmessage=this.messageListener.bind(this)}return te()(C,[{key:"request",value:function(N){var se=this,Ue=N.type,Ke=N.payload;return new Promise(function(ct,at){var Ge=Yr();se.pending[Ge]={resolve:ct,reject:at},se.port.postMessage({type:Ue,payload:Pe()(Pe()({},Ke),{},{__reqid:Ge})})})}},{key:"messageListener",value:function(N){var se;if(typeof((se=N.data.payload)===null||se===void 0?void 0:se.__reqid)=="string"){var Ue=N.data,Ke=Ue.type,ct=Ue.payload,at=ct.__reqid,Ge=ct.__success,St=ct.__error;this.pending[at]&&(Ge?this.pending[at].resolve(this.cleanResult(ct)):this.pending[at].reject(St?"".concat(Ke,": ").concat(St):Ke),delete this.pending[at])}}},{key:"cleanResult",value:function(N){var se=Pe()({},N);return delete se.__reqid,delete se.__success,delete se.__error,Object.keys(se).length?se:null}}]),C}(),Jt=function(){function C(M,N){var se=this;Le()(this,C),this.editor={openFile:function(Ke){return se._rdc.request({type:"SDK_OPEN_FILE",payload:{path:Ke}})},setCurrentFile:function(Ke){return se._rdc.request({type:"SDK_SET_CURRENT_FILE",payload:{path:Ke}})},setTheme:function(Ke){return se._rdc.request({type:"SDK_SET_UI_THEME",payload:{theme:Ke}})},setView:function(Ke){return se._rdc.request({type:"SDK_SET_UI_VIEW",payload:{view:Ke}})},showSidebar:function(){var Ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return se._rdc.request({type:"SDK_TOGGLE_SIDEBAR",payload:{visible:Ke}})}},this.preview={origin:"",getUrl:function(){return se._rdc.request({type:"SDK_GET_PREVIEW_URL",payload:{}}).then(function(Ke){var ct;return(ct=Ke==null?void 0:Ke.url)!==null&&ct!==void 0?ct:null})},setUrl:function(){var Ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"/";if(typeof Ke!="string"||!Ke.startsWith("/"))throw new Error("Invalid argument: expected a path starting with '/', got '".concat(Ke,"'"));return se._rdc.request({type:"SDK_SET_PREVIEW_URL",payload:{path:Ke}})}},this._rdc=new Kt(M),Object.defineProperty(this.preview,"origin",{value:typeof N.previewOrigin=="string"?N.previewOrigin:null,writable:!1})}return te()(C,[{key:"applyFsDiff",value:function(N){var se=function(Ke){return Ke!==null&&be()(Ke)==="object"};if(!se(N)||!se(N.create))throw new Error("Invalid diff object: expected diff.create to be an object.");if(!Array.isArray(N.destroy))throw new Error("Invalid diff object: expected diff.destroy to be an array.");return this._rdc.request({type:"SDK_APPLY_FS_DIFF",payload:N})}},{key:"getDependencies",value:function(){return this._rdc.request({type:"SDK_GET_DEPS_SNAPSHOT",payload:{}})}},{key:"getFsSnapshot",value:function(){return this._rdc.request({type:"SDK_GET_FS_SNAPSHOT",payload:{}})}}]),C}(),Nr=[],sn=te()(function C(M){var N=this;Le()(this,C),this.id=Yr(),this.element=M,this.pending=new Promise(function(se,Ue){var Ke=function(Ft){var $t=Ft.data,zt=Ft.ports;($t==null?void 0:$t.action)==="SDK_INIT_SUCCESS"&&$t.id===N.id&&(N.vm=new Jt(zt[0],$t.payload),se(N.vm),at())},ct=function(){var Ft;(Ft=N.element.contentWindow)===null||Ft===void 0||Ft.postMessage({action:"SDK_INIT",id:N.id},"*")};function at(){window.clearInterval(St),window.removeEventListener("message",Ke)}window.addEventListener("message",Ke),ct();var Ge=0,St=window.setInterval(function(){if(N.vm){at();return}if(Ge>=Yt){at(),Ue("Timeout: Unable to establish a connection with the StackBlitz VM"),Nr.forEach(function(jt,Ft){jt.id===N.id&&Nr.splice(Ft,1)});return}Ge++,ct()},_t)}),Nr.push(this)}),Lr=function(M){var N,se=M instanceof Element?"element":"id";return(N=Nr.find(function(Ue){return Ue[se]===M}))!==null&&N!==void 0?N:null};function jn(C,M){var N=document.createElement("input");return N.type="hidden",N.name=C,N.value=M,N}function Wn(C){return C.replace(/\[/g,"%5B").replace(/\]/g,"%5D")}function On(C){var M=C.template,N=C.title,se=C.description,Ue=C.dependencies,Ke=C.files,ct=C.settings;if(!je.includes(M)){var at=je.map(function(Ft){return"'".concat(Ft,"'")}).join(", ");console.warn("Unsupported project.template: must be one of ".concat(at))}var Ge=[],St=function($t,zt){var Vt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";Ge.push(jn($t,typeof zt=="string"?zt:Vt))};St("project[title]",N),typeof se=="string"&&se.length>0&&St("project[description]",se),St("project[template]",M,"javascript"),Ue&&(M==="node"?console.warn("Invalid project.dependencies: dependencies must be provided as a 'package.json' file when using the 'node' template."):St("project[dependencies]",JSON.stringify(Ue))),ct&&St("project[settings]",JSON.stringify(ct)),Object.entries(Ke).forEach(function(Ft){var $t=Mt()(Ft,2),zt=$t[0],Vt=$t[1];St("project[files][".concat(Wn(zt),"]"),Vt)});var jt=document.createElement("form");return jt.method="POST",jt.setAttribute("style","display:none!important;"),jt.append.apply(jt,Ge),jt}function $n(C,M){var N=On(C);N.action=aa("/run",M),N.id="sb_run";var se=` @@ -38,7 +38,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho `);return se}function Fr(C,M){var N=On(C);N.action=an("/run",M),N.target=Tn(M),document.body.appendChild(N),N.submit(),document.body.removeChild(N)}function pa(C){var M;if(!(C!=null&&C.contentWindow))return Promise.reject("Provided element is not an iframe.");var N=(M=Lr(C))!==null&&M!==void 0?M:new sn(C);return N.pending}function fa(C,M){Fr(C,M)}function Ra(C,M){var N=an("/edit/".concat(C),M),se=Tn(M);window.open(N,se)}function ja(C,M){var N=an("/github/".concat(C),M),se=Tn(M);window.open(N,se)}function eo(C,M,N){var se,Ue=Hn(C),Ke=$n(M,N),ct=document.createElement("iframe");return Ln(Ue,ct,N),(se=ct.contentDocument)===null||se===void 0||se.write(Ke),pa(ct)}function ba(C,M,N){var se=Hn(C),Ue=document.createElement("iframe");return Ue.src=aa("/edit/".concat(M),N),Ln(se,Ue,N),pa(Ue)}function Ca(C,M,N){var se=Hn(C),Ue=document.createElement("iframe");return Ue.src=aa("/github/".concat(M),N),Ln(se,Ue,N),pa(Ue)}var Fa={connect:pa,embedGithubProject:Ca,embedProject:eo,embedProjectId:ba,openGithubProject:ja,openProject:fa,openProjectId:Ra};function vo(C,M){return co(C)||mo(C,M)||Ma(C,M)||wa()}function wa(){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 Ma(C,M){if(C){if(typeof C=="string")return Ka(C,M);var N=Object.prototype.toString.call(C).slice(8,-1);if(N==="Object"&&C.constructor&&(N=C.constructor.name),N==="Map"||N==="Set")return Array.from(C);if(N==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(N))return Ka(C,M)}}function Ka(C,M){(M==null||M>C.length)&&(M=C.length);for(var N=0,se=new Array(M);N'},$t={title:M.title||"",description:M.description||"An auto-generated demo by dumi",template:"create-react-app",files:{}};Object.entries(M.asset.dependencies).forEach(function(Vt){var Kr=vo(Vt,2),Cr=Kr[0],Ar=Kr[1],nr=Ar.type,vr=Ar.value;nr==="NPM"?St[Cr]=vr:Ft[Cr===jt?"App".concat(Ge):Cr]=vr}),(Ue=St[se="react"])!==null&&Ue!==void 0||(St[se]="latest"),(ct=St[Ke="react-dom"])!==null&&ct!==void 0||(St[Ke]=St.react),Ft["package.json"]=JSON.stringify({name:M.title,description:M.description||"An auto-generated demo by dumi",dependencies:St,devDependencies:at?{typescript:"^4"}:{}},null,2),Ft[jt]=(0,Y.AM)(St.react),$t.files=Ft;var zt=Y.EV.applyPlugins({type:n.Ac.modify,key:"modifyStackBlitzData",initialValue:$t,args:M});Fa.openProject(zt)},to=function(){var M=useSiteData(),N=M.components;return{components:N}},ga=e(39940),uo=e.n(ga);function po(C){"@babel/helpers - typeof";return po=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(M){return typeof M}:function(M){return M&&typeof Symbol=="function"&&M.constructor===Symbol&&M!==Symbol.prototype?"symbol":typeof M},po(C)}function Ha(){"use strict";Ha=function(){return C};var C={},M=Object.prototype,N=M.hasOwnProperty,se=Object.defineProperty||function(wt,qe,ft){wt[qe]=ft.value},Ue=typeof Symbol=="function"?Symbol:{},Ke=Ue.iterator||"@@iterator",ct=Ue.asyncIterator||"@@asyncIterator",at=Ue.toStringTag||"@@toStringTag";function Ge(wt,qe,ft){return Object.defineProperty(wt,qe,{value:ft,enumerable:!0,configurable:!0,writable:!0}),wt[qe]}try{Ge({},"")}catch(wt){Ge=function(ft,He,ut){return ft[He]=ut}}function St(wt,qe,ft,He){var ut=qe&&qe.prototype instanceof $t?qe:$t,lt=Object.create(ut.prototype),Qt=new va(He||[]);return se(lt,"_invoke",{value:wn(wt,ft,Qt)}),lt}function jt(wt,qe,ft){try{return{type:"normal",arg:wt.call(qe,ft)}}catch(He){return{type:"throw",arg:He}}}C.wrap=St;var Ft={};function $t(){}function zt(){}function Vt(){}var Kr={};Ge(Kr,Ke,function(){return this});var Cr=Object.getPrototypeOf,Ar=Cr&&Cr(Cr(ya([])));Ar&&Ar!==M&&N.call(Ar,Ke)&&(Kr=Ar);var nr=Vt.prototype=$t.prototype=Object.create(Kr);function vr(wt){["next","throw","return"].forEach(function(qe){Ge(wt,qe,function(ft){return this._invoke(qe,ft)})})}function Ir(wt,qe){function ft(ut,lt,Qt,rr){var or=jt(wt[ut],wt,lt);if(or.type!=="throw"){var Rr=or.arg,_r=Rr.value;return _r&&po(_r)=="object"&&N.call(_r,"__await")?qe.resolve(_r.__await).then(function(Mr){ft("next",Mr,Qt,rr)},function(Mr){ft("throw",Mr,Qt,rr)}):qe.resolve(_r).then(function(Mr){Rr.value=Mr,Qt(Rr)},function(Mr){return ft("throw",Mr,Qt,rr)})}rr(or.arg)}var He;se(this,"_invoke",{value:function(lt,Qt){function rr(){return new qe(function(or,Rr){ft(lt,Qt,or,Rr)})}return He=He?He.then(rr,rr):rr()}})}function wn(wt,qe,ft){var He="suspendedStart";return function(ut,lt){if(He==="executing")throw new Error("Generator is already running");if(He==="completed"){if(ut==="throw")throw lt;return Sa()}for(ft.method=ut,ft.arg=lt;;){var Qt=ft.delegate;if(Qt){var rr=Xn(Qt,ft);if(rr){if(rr===Ft)continue;return rr}}if(ft.method==="next")ft.sent=ft._sent=ft.arg;else if(ft.method==="throw"){if(He==="suspendedStart")throw He="completed",ft.arg;ft.dispatchException(ft.arg)}else ft.method==="return"&&ft.abrupt("return",ft.arg);He="executing";var or=jt(wt,qe,ft);if(or.type==="normal"){if(He=ft.done?"completed":"suspendedYield",or.arg===Ft)continue;return{value:or.arg,done:ft.done}}or.type==="throw"&&(He="completed",ft.method="throw",ft.arg=or.arg)}}}function Xn(wt,qe){var ft=qe.method,He=wt.iterator[ft];if(He===void 0)return qe.delegate=null,ft==="throw"&&wt.iterator.return&&(qe.method="return",qe.arg=void 0,Xn(wt,qe),qe.method==="throw")||ft!=="return"&&(qe.method="throw",qe.arg=new TypeError("The iterator does not provide a '"+ft+"' method")),Ft;var ut=jt(He,wt.iterator,qe.arg);if(ut.type==="throw")return qe.method="throw",qe.arg=ut.arg,qe.delegate=null,Ft;var lt=ut.arg;return lt?lt.done?(qe[wt.resultName]=lt.value,qe.next=wt.nextLoc,qe.method!=="return"&&(qe.method="next",qe.arg=void 0),qe.delegate=null,Ft):lt:(qe.method="throw",qe.arg=new TypeError("iterator result is not an object"),qe.delegate=null,Ft)}function In(wt){var qe={tryLoc:wt[0]};1 in wt&&(qe.catchLoc=wt[1]),2 in wt&&(qe.finallyLoc=wt[2],qe.afterLoc=wt[3]),this.tryEntries.push(qe)}function Kn(wt){var qe=wt.completion||{};qe.type="normal",delete qe.arg,wt.completion=qe}function va(wt){this.tryEntries=[{tryLoc:"root"}],wt.forEach(In,this),this.reset(!0)}function ya(wt){if(wt){var qe=wt[Ke];if(qe)return qe.call(wt);if(typeof wt.next=="function")return wt;if(!isNaN(wt.length)){var ft=-1,He=function ut(){for(;++ft=0;--ut){var lt=this.tryEntries[ut],Qt=lt.completion;if(lt.tryLoc==="root")return He("end");if(lt.tryLoc<=this.prev){var rr=N.call(lt,"catchLoc"),or=N.call(lt,"finallyLoc");if(rr&&or){if(this.prev=0;--He){var ut=this.tryEntries[He];if(ut.tryLoc<=this.prev&&N.call(ut,"finallyLoc")&&this.prev=0;--ft){var He=this.tryEntries[ft];if(He.finallyLoc===qe)return this.complete(He.completion,He.afterLoc),Kn(He),Ft}},catch:function(qe){for(var ft=this.tryEntries.length-1;ft>=0;--ft){var He=this.tryEntries[ft];if(He.tryLoc===qe){var ut=He.completion;if(ut.type==="throw"){var lt=ut.arg;Kn(He)}return lt}}throw new Error("illegal catch attempt")},delegateYield:function(qe,ft,He){return this.delegate={iterator:ya(qe),resultName:ft,nextLoc:He},this.method==="next"&&(this.arg=void 0),Ft}},C}function ha(C,M,N,se,Ue,Ke,ct){try{var at=C[Ke](ct),Ge=at.value}catch(St){N(St);return}at.done?M(Ge):Promise.resolve(Ge).then(se,Ue)}function Io(C){return function(){var M=this,N=arguments;return new Promise(function(se,Ue){var Ke=C.apply(M,N);function ct(Ge){ha(Ke,se,Ue,ct,at,"next",Ge)}function at(Ge){ha(Ke,se,Ue,ct,at,"throw",Ge)}ct(void 0)})}}function Na(C,M){return Ga(C)||xa(C,M)||zn(C,M)||ao()}function ao(){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 zn(C,M){if(C){if(typeof C=="string")return Er(C,M);var N=Object.prototype.toString.call(C).slice(8,-1);if(N==="Object"&&C.constructor&&(N=C.constructor.name),N==="Map"||N==="Set")return Array.from(C);if(N==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(N))return Er(C,M)}}function Er(C,M){(M==null||M>C.length)&&(M=C.length);for(var N=0,se=new Array(M);N=C.length?{done:!0}:{done:!1,value:C[se++]}},e:function(St){throw St},f:Ue}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function zn(C,M){if(C){if(typeof C=="string")return Er(C,M);var N=Object.prototype.toString.call(C).slice(8,-1);if(N==="Object"&&C.constructor&&(N=C.constructor.name),N==="Map"||N==="Set")return Array.from(C);if(N==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(N))return Er(C,M)}}function Er(C,M){(M==null||M>C.length)&&(M=C.length);for(var N=0,se=new Array(M);N=C.length?{done:!0}:{done:!1,value:C[se++]}},e:function(St){throw St},f:Ue}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Ke=!0,ct=!1,at;return{s:function(){N=N.call(C)},n:function(){var St=N.next();return Ke=St.done,St},e:function(St){ct=!0,at=St},f:function(){try{!Ke&&N.return!=null&&N.return()}finally{if(ct)throw at}}}}function Sn(C){return tn(C)||Un(C)||Gn(C)||cn()}function cn(){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 Un(C){if(typeof Symbol!="undefined"&&C[Symbol.iterator]!=null||C["@@iterator"]!=null)return Array.from(C)}function tn(C){if(Array.isArray(C))return ua(C)}function Dn(C,M){return ie(C)||dn(C,M)||Gn(C,M)||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 Gn(C,M){if(C){if(typeof C=="string")return ua(C,M);var N=Object.prototype.toString.call(C).slice(8,-1);if(N==="Object"&&C.constructor&&(N=C.constructor.name),N==="Map"||N==="Set")return Array.from(C);if(N==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(N))return ua(C,M)}}function ua(C,M){(M==null||M>C.length)&&(M=C.length);for(var N=0,se=new Array(M);NC.length)&&(M=C.length);for(var N=0,se=new Array(M);NC.length)&&(M=C.length);for(var N=0,se=new Array(M);N0&&arguments[0]!==void 0?arguments[0]:Lo;return C.meta&&(Object.keys(C.meta).forEach(function(St){var jt,Ft;(Ft=(jt=Ge)[St])!==null&&Ft!==void 0||(jt[St]=C.meta[St])}),Ge.frontmatter=lr()(Ge.frontmatter,C.meta.frontmatter,{arrayMerge:function(jt,Ft){return Ft}})),Ge},Ue=se((0,ln.lZ)(C.id,{syncOnly:!0})),Ke=function(Ge,St){if(ue.includes(St)){if(!Qa.get(M)){var jt=(0,ln.lZ)(C.id);jt&&Qa.set(M,jt.then(function($t){return Ya.set(M,se($t)).get(M)}))}var Ft=Qa.get(M);if(Ft)throw Ft}return Ge[St]};(N=Ue.tabs)===null||N===void 0||N.forEach(function(at){at.meta=new Proxy(at.meta,{get:Ke})});var ct=new Proxy(Ue,{get:Ke});Ya.set(M,ct)}return Ya.get(M)}var Fe=function(){var M=(0,n.Qt)(),N=M.route,se=(0,n.TH)(),Ue=se.pathname,Ke=(0,n.Ov)(),ct=Ke.clientRoutes,at=(0,a.useCallback)(function(){var zt;if(N.path===Ue&&!("isLayout"in N))zt=N;else{var Vt,Kr=(Vt=(0,n.fp)(ct,Ue))===null||Vt===void 0?void 0:Vt.pop();zt=Kr==null?void 0:Kr.route}return zt},[ct.length,Ue]),Ge=(0,a.useState)(at),St=Jr(Ge,2),jt=St[0],Ft=St[1],$t=xe(jt);return(0,Y.LI)(function(){Ft(at)},[ct.length,Ue]),$t};function rt(C){"@babel/helpers - typeof";return rt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(M){return typeof M}:function(M){return M&&typeof Symbol=="function"&&M.constructor===Symbol&&M!==Symbol.prototype?"symbol":typeof M},rt(C)}var ze=["renderOpts","component","context"];function Ye(){"use strict";Ye=function(){return C};var C={},M=Object.prototype,N=M.hasOwnProperty,se=Object.defineProperty||function(wt,qe,ft){wt[qe]=ft.value},Ue=typeof Symbol=="function"?Symbol:{},Ke=Ue.iterator||"@@iterator",ct=Ue.asyncIterator||"@@asyncIterator",at=Ue.toStringTag||"@@toStringTag";function Ge(wt,qe,ft){return Object.defineProperty(wt,qe,{value:ft,enumerable:!0,configurable:!0,writable:!0}),wt[qe]}try{Ge({},"")}catch(wt){Ge=function(ft,He,ut){return ft[He]=ut}}function St(wt,qe,ft,He){var ut=qe&&qe.prototype instanceof $t?qe:$t,lt=Object.create(ut.prototype),Qt=new va(He||[]);return se(lt,"_invoke",{value:wn(wt,ft,Qt)}),lt}function jt(wt,qe,ft){try{return{type:"normal",arg:wt.call(qe,ft)}}catch(He){return{type:"throw",arg:He}}}C.wrap=St;var Ft={};function $t(){}function zt(){}function Vt(){}var Kr={};Ge(Kr,Ke,function(){return this});var Cr=Object.getPrototypeOf,Ar=Cr&&Cr(Cr(ya([])));Ar&&Ar!==M&&N.call(Ar,Ke)&&(Kr=Ar);var nr=Vt.prototype=$t.prototype=Object.create(Kr);function vr(wt){["next","throw","return"].forEach(function(qe){Ge(wt,qe,function(ft){return this._invoke(qe,ft)})})}function Ir(wt,qe){function ft(ut,lt,Qt,rr){var or=jt(wt[ut],wt,lt);if(or.type!=="throw"){var Rr=or.arg,_r=Rr.value;return _r&&rt(_r)=="object"&&N.call(_r,"__await")?qe.resolve(_r.__await).then(function(Mr){ft("next",Mr,Qt,rr)},function(Mr){ft("throw",Mr,Qt,rr)}):qe.resolve(_r).then(function(Mr){Rr.value=Mr,Qt(Rr)},function(Mr){return ft("throw",Mr,Qt,rr)})}rr(or.arg)}var He;se(this,"_invoke",{value:function(lt,Qt){function rr(){return new qe(function(or,Rr){ft(lt,Qt,or,Rr)})}return He=He?He.then(rr,rr):rr()}})}function wn(wt,qe,ft){var He="suspendedStart";return function(ut,lt){if(He==="executing")throw new Error("Generator is already running");if(He==="completed"){if(ut==="throw")throw lt;return Sa()}for(ft.method=ut,ft.arg=lt;;){var Qt=ft.delegate;if(Qt){var rr=Xn(Qt,ft);if(rr){if(rr===Ft)continue;return rr}}if(ft.method==="next")ft.sent=ft._sent=ft.arg;else if(ft.method==="throw"){if(He==="suspendedStart")throw He="completed",ft.arg;ft.dispatchException(ft.arg)}else ft.method==="return"&&ft.abrupt("return",ft.arg);He="executing";var or=jt(wt,qe,ft);if(or.type==="normal"){if(He=ft.done?"completed":"suspendedYield",or.arg===Ft)continue;return{value:or.arg,done:ft.done}}or.type==="throw"&&(He="completed",ft.method="throw",ft.arg=or.arg)}}}function Xn(wt,qe){var ft=qe.method,He=wt.iterator[ft];if(He===void 0)return qe.delegate=null,ft==="throw"&&wt.iterator.return&&(qe.method="return",qe.arg=void 0,Xn(wt,qe),qe.method==="throw")||ft!=="return"&&(qe.method="throw",qe.arg=new TypeError("The iterator does not provide a '"+ft+"' method")),Ft;var ut=jt(He,wt.iterator,qe.arg);if(ut.type==="throw")return qe.method="throw",qe.arg=ut.arg,qe.delegate=null,Ft;var lt=ut.arg;return lt?lt.done?(qe[wt.resultName]=lt.value,qe.next=wt.nextLoc,qe.method!=="return"&&(qe.method="next",qe.arg=void 0),qe.delegate=null,Ft):lt:(qe.method="throw",qe.arg=new TypeError("iterator result is not an object"),qe.delegate=null,Ft)}function In(wt){var qe={tryLoc:wt[0]};1 in wt&&(qe.catchLoc=wt[1]),2 in wt&&(qe.finallyLoc=wt[2],qe.afterLoc=wt[3]),this.tryEntries.push(qe)}function Kn(wt){var qe=wt.completion||{};qe.type="normal",delete qe.arg,wt.completion=qe}function va(wt){this.tryEntries=[{tryLoc:"root"}],wt.forEach(In,this),this.reset(!0)}function ya(wt){if(wt){var qe=wt[Ke];if(qe)return qe.call(wt);if(typeof wt.next=="function")return wt;if(!isNaN(wt.length)){var ft=-1,He=function ut(){for(;++ft=0;--ut){var lt=this.tryEntries[ut],Qt=lt.completion;if(lt.tryLoc==="root")return He("end");if(lt.tryLoc<=this.prev){var rr=N.call(lt,"catchLoc"),or=N.call(lt,"finallyLoc");if(rr&&or){if(this.prev=0;--He){var ut=this.tryEntries[He];if(ut.tryLoc<=this.prev&&N.call(ut,"finallyLoc")&&this.prev=0;--ft){var He=this.tryEntries[ft];if(He.finallyLoc===qe)return this.complete(He.completion,He.afterLoc),Kn(He),Ft}},catch:function(qe){for(var ft=this.tryEntries.length-1;ft>=0;--ft){var He=this.tryEntries[ft];if(He.tryLoc===qe){var ut=He.completion;if(ut.type==="throw"){var lt=ut.arg;Kn(He)}return lt}}throw new Error("illegal catch attempt")},delegateYield:function(qe,ft,He){return this.delegate={iterator:ya(qe),resultName:ft,nextLoc:He},this.method==="next"&&(this.arg=void 0),Ft}},C}function st(C,M){if(C==null)return{};var N=Ot(C,M),se,Ue;if(Object.getOwnPropertySymbols){var Ke=Object.getOwnPropertySymbols(C);for(Ue=0;Ue=0)&&Object.prototype.propertyIsEnumerable.call(C,se)&&(N[se]=C[se])}return N}function Ot(C,M){if(C==null)return{};var N={},se=Object.keys(C),Ue,Ke;for(Ke=0;Ke=0)&&(N[Ue]=C[Ue]);return N}function At(C,M){var N=Object.keys(C);if(Object.getOwnPropertySymbols){var se=Object.getOwnPropertySymbols(C);M&&(se=se.filter(function(Ue){return Object.getOwnPropertyDescriptor(C,Ue).enumerable})),N.push.apply(N,se)}return N}function Bt(C){for(var M=1;MC.length)&&(M=C.length);for(var N=0,se=new Array(M);NC.length)&&(M=C.length);for(var N=0,se=new Array(M);N{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'],{type:"application/javascript"}))));var zr=function(){var M=(0,a.useRef)(),N=(0,a.useState)(!1),se=Vr(N,2),Ue=se[0],Ke=se[1],ct=(0,a.useState)(""),at=Vr(ct,2),Ge=at[0],St=at[1],jt=Tr(),Ft=(0,a.useState)([]),$t=Vr(Ft,2),zt=$t[0],Vt=$t[1],Kr=Dr(),Cr=Vr(Kr,2),Ar=Cr[0],nr=Cr[1],vr=(0,a.useCallback)(function(Xn){nr(),Ke(!0),St(Xn)},[]),Ir=Ar==null?void 0:Ar[0],wn=Ar==null?void 0:Ar[1];return(0,a.useEffect)(function(){fn.onmessage=function(Xn){Vt(Xn.data),Ke(!1)}},[]),(0,a.useEffect)(function(){!Ir||!wn||fn.postMessage({action:"generate-metadata",args:{routes:JSON.parse(JSON.stringify(Ir)),nav:jt,demos:wn}})},[Ir,wn,jt]),(0,a.useEffect)(function(){if(Ir){var Xn=Ge.trim();Xn?(clearTimeout(M.current),M.current=window.setTimeout(function(){fn.postMessage({action:"get-search-result",args:{keywords:Xn}})},200)):Vt([])}},[Ge,Ir]),{keywords:Ge,setKeywords:vr,result:zt,loading:Ue,load:nr}},ln=e(53270)},91768:function(d,p,e){"use strict";e.d(p,{k:function(){return n},s:function(){return o}});var n=[{id:"zh-CN",name:"\u4E2D\u6587",base:"/"}],o={"en-US":{"header.search.placeholder":"Type keywords...","header.color.mode.light":"Light Mode","header.color.mode.dark":"Dark Mode","header.color.mode.auto":"Follow System","header.social.github":"GitHub","header.social.weibo":"Weibo","header.social.twitter":"Twitter","header.social.gitlab":"GitLab","header.social.facebook":"Facebook","header.social.zhihu":"Zhihu","header.social.yuque":"Yuque","header.social.linkedin":"Linkedin","previewer.actions.code.expand":"Show Code","previewer.actions.code.shrink":"Hide Code","previewer.actions.code.editable":"Edit code with real-time preview","previewer.actions.code.readonly":"Only index file is editable","previewer.actions.sketch":"Copy to Sketch app","previewer.actions.sketch.group":"Copy as Sketch Group","previewer.actions.sketch.symbol":"Copy as Sketch Symbol","previewer.actions.sketch.divider":"------------------------","previewer.actions.sketch.guide":"How to paste to Sketch?","previewer.actions.codesandbox":"Open in CodeSandbox","previewer.actions.codepen":"Open in CodePen (Not implemented)","previewer.actions.stackblitz":"Open in StackBlitz","previewer.actions.separate":"Open in separate page","404.title":"PAGE NOT FOUND","404.back":"Back to homepage","api.component.name":"Name","api.component.description":"Description","api.component.type":"Type","api.component.default":"Default","api.component.required":"(required)","api.component.release.alpha":"Alpha","api.component.release.beta":"Beta","api.component.release.experimental":"Experimental","api.component.release.deprecated":"Deprecated","api.component.unavailable":"apiParser must be enabled to use auto-generated API","api.component.loading":"Properties definition is resolving, wait a moment...","api.component.not.found":"Properties definition not found for {id} component","content.tabs.default":"Doc","content.footer.last.updated":"Last updated: ","content.footer.actions.edit":"Improve this documentation","content.footer.actions.previous":"PREV","content.footer.actions.next":"NEXT","search.not.found":"No content was found","search.loading":"Loading...","layout.sidebar.btn":"Sidebar"},"zh-CN":{"header.search.placeholder":"\u8F93\u5165\u5173\u952E\u5B57\u641C\u7D22...","header.color.mode.light":"\u4EAE\u8272\u6A21\u5F0F","header.color.mode.dark":"\u6697\u8272\u6A21\u5F0F","header.color.mode.auto":"\u8DDF\u968F\u7CFB\u7EDF","header.social.github":"GitHub","header.social.weibo":"\u5FAE\u535A","header.social.twitter":"Twitter","header.social.gitlab":"GitLab","header.social.facebook":"Facebook","header.social.zhihu":"\u77E5\u4E4E","header.social.yuque":"\u8BED\u96C0","header.social.linkedin":"Linkedin","previewer.actions.code.expand":"\u5C55\u5F00\u4EE3\u7801","previewer.actions.code.shrink":"\u6536\u8D77\u4EE3\u7801","previewer.actions.code.editable":"\u7F16\u8F91\u4EE3\u7801\u53EF\u5B9E\u65F6\u9884\u89C8","previewer.actions.code.readonly":"\u4EC5 index \u53EF\u7F16\u8F91","previewer.actions.codesandbox":"\u5728 CodeSandbox \u4E2D\u6253\u5F00","previewer.actions.sketch":"\u62F7\u8D1D\u5230 Sketch","previewer.actions.sketch.group":"\u62F7\u8D1D\u4E3A Sketch Group","previewer.actions.sketch.symbol":"\u62F7\u8D1D\u4E3A Sketch Symbol","previewer.actions.sketch.divider":"----------------------","previewer.actions.sketch.guide":"\u5982\u4F55\u7C98\u8D34\u5230 SKetch\uFF1F","previewer.actions.stackblitz":"\u5728 StackBlitz \u4E2D\u6253\u5F00","previewer.actions.separate":"\u5728\u72EC\u7ACB\u9875\u9762\u4E2D\u6253\u5F00","404.title":"\u9875\u9762\u672A\u627E\u5230","404.back":"\u8FD4\u56DE\u9996\u9875","api.component.name":"\u5C5E\u6027\u540D","api.component.description":"\u63CF\u8FF0","api.component.type":"\u7C7B\u578B","api.component.default":"\u9ED8\u8BA4\u503C","api.component.required":"(\u5FC5\u9009)","api.component.release.alpha":"Alpha","api.component.release.beta":"Beta","api.component.release.experimental":"\u5B9E\u9A8C\u6027","api.component.release.deprecated":"\u5E9F\u5F03","api.component.unavailable":"\u5FC5\u987B\u542F\u7528 apiParser \u624D\u80FD\u4F7F\u7528\u81EA\u52A8 API \u7279\u6027","api.component.loading":"\u5C5E\u6027\u5B9A\u4E49\u6B63\u5728\u89E3\u6790\u4E2D\uFF0C\u7A0D\u7B49\u7247\u523B...","api.component.not.found":"\u672A\u627E\u5230 {id} \u7EC4\u4EF6\u7684\u5C5E\u6027\u5B9A\u4E49","content.tabs.default":"\u6587\u6863","content.footer.last.updated":"\u6700\u540E\u66F4\u65B0\u65F6\u95F4\uFF1A","content.footer.actions.edit":"\u5E2E\u52A9\u6539\u8FDB\u6B64\u6587\u6863","content.footer.actions.previous":"\u4E0A\u4E00\u7BC7","content.footer.actions.next":"\u4E0B\u4E00\u7BC7","search.not.found":"\u672A\u627E\u5230\u76F8\u5173\u5185\u5BB9","search.loading":"\u52A0\u8F7D\u4E2D...","layout.sidebar.btn":"\u4FA7\u8FB9\u83DC\u5355"}}},53270:function(d,p,e){"use strict";e.d(p,{EQ:function(){return B},TR:function(){return Ae},lZ:function(){return pe},FO:function(){return V}});var n=e(85573),o=e.n(n),a=e(79800),u=e.n(a),c=e(7557),f=e.n(c),s=e(82242),m=e.n(s),y=e(41498),v=e.n(y),l=e(86228);const g=[{id:"basic",depth:2,title:"Basic"},{id:"disabled",depth:2,title:"Disabled"},{id:"disabled-alpha",depth:2,title:"Disabled Alpha"},{id:"custom-render",depth:2,title:"Custom Render"},{id:"work-with-trigger",depth:2,title:"Work with Trigger"},{id:"color-change-completed",depth:2,title:"Color change completed"},{id:"color-block",depth:2,title:"Color Block"},{id:"components",depth:2,title:"Components"}],E={title:"Demo",toc:"menu",filename:"docs/demo/index.md",lastUpdated:1721300157e3},w={ids:["docs-demo-demo-basic","docs-demo-demo-disabled","docs-demo-demo-disabledalpha","docs-demo-demo-panelrender","docs-demo-demo-trigger","docs-demo-demo-changecomplete","docs-demo-demo-block","docs-demo-demo-components"],getter:()=>e.e(904).then(e.bind(e,84889))};var S=e(4e4);const x=[{id:"rc-componentcolor-picker",depth:1,title:"@rc-component/color-picker"},{id:"install",depth:2,title:"install"},{id:"development",depth:2,title:"Development"},{id:"example",depth:2,title:"Example"},{id:"usage",depth:2,title:"Usage"},{id:"api",depth:2,title:"API"},{id:"color",depth:3,title:"Color"},{id:"test-case",depth:2,title:"Test Case"},{id:"license",depth:2,title:"License"}],O={title:"rc-color-picker",toc:"menu",filename:"docs/index.md",lastUpdated:1679884691e3,description:"React Color Picker."},j={ids:[],getter:()=>e.e(904).then(e.bind(e,70973))};var _={},K={"docs/demo/index":{frontmatter:E,toc:g,demoIndex:w,textGetter:function(){return e.e(904).then(e.bind(e,17005))}},"docs/index":{frontmatter:O,toc:x,demoIndex:j,textGetter:function(){return e.e(904).then(e.bind(e,34454))}}};function P(me){if(me.status==="fulfilled")return me.value;throw me.status==="rejected"?me.reason:(me.status==="pending"||(me.status="pending",me.then(function(Q){me.status="fulfilled",me.value=Q},function(Q){me.status="rejected",me.reason=Q})),me)}var I=Object.keys(K).reduce(function(me,Q){if(K[Q].demoIndex){var ne=K[Q].demoIndex,ae=ne.ids,U=ne.getter;ae.forEach(function(R){me[R]=U})}return me},{}),L=new Map;function H(me){me&&Object.keys(me).forEach(function(Q){var ne,ae=(ne=Q.match(/^(.+)\.(js|jsx|ts|tsx|json)$/))===null||ne===void 0?void 0:ne[1];ae&&!me[ae]&&(me[ae]=me[Q])})}function V(me){if(!L.get(me)){var Q;L.set(me,(Q=I[me])===null||Q===void 0?void 0:Q.call(I).then(function(ne){var ae=ne.demos;return H(ae[me].context),ae[me]}))}return P(L.get(me))}function B(){return G.apply(this,arguments)}function G(){return G=v()(f()().mark(function me(){var Q;return f()().wrap(function(ae){for(;;)switch(ae.prev=ae.next){case 0:return Q=Object.entries(K).filter(function(U){var R=u()(U,2),q=R[0],le=R[1];return le.demoIndex}),ae.abrupt("return",Promise.all(Q.map(function(){var U=v()(f()().mark(function R(q){var le,re,A;return f()().wrap(function(k){for(;;)switch(k.prev=k.next){case 0:return le=u()(q,2),re=le[0],A=le[1],k.t0=re,k.next=4,A.demoIndex.getter();case 4:return k.t1=k.sent.demos,k.abrupt("return",{id:k.t0,demos:k.t1});case 6:case"end":return k.stop()}},R)}));return function(R){return U.apply(this,arguments)}}())).then(function(U){return U.reduce(function(R,q){var le=q.id,re=q.demos;return Object.values(re).forEach(function(A){A.routeId=le,H(A.context)}),m()(m()({},R),re)},{})}));case 2:case"end":return ae.stop()}},me)})),G.apply(this,arguments)}function ce(me,Q){return m()(m()({},_[me]),{},{meta:Q!=null?Q:{frontmatter:{title:_[me].title},toc:[],texts:[]}})}function pe(me,Q){if(K[me]){var ne=K[me],ae=ne.frontmatter,U=ne.toc,R=ne.textGetter,q=ne.tabs,le={frontmatter:ae,toc:U,texts:[]};return Q!=null&&Q.syncOnly?(q&&(le.tabs=q.map(function(re){return ce(re,pe(re,Q))})),le):new Promise(function(){var re=v()(f()().mark(function A(W){var k;return f()().wrap(function(z){for(;;)switch(z.prev=z.next){case 0:if(!R){z.next=5;break}return z.next=3,R();case 3:k=z.sent,le.texts=k.texts;case 5:if(!q){z.next=9;break}return z.next=8,Promise.all(q.map(function(){var Ee=v()(f()().mark(function Me(et){return f()().wrap(function(tt){for(;;)switch(tt.prev=tt.next){case 0:return tt.t0=ce,tt.t1=et,tt.next=4,pe(et,Q);case 4:return tt.t2=tt.sent,tt.abrupt("return",(0,tt.t0)(tt.t1,tt.t2));case 6:case"end":return tt.stop()}},Me)}));return function(Me){return Ee.apply(this,arguments)}}()));case 8:le.tabs=z.sent;case 9:W(le);case 10:case"end":return z.stop()}},A)}));return function(A){return re.apply(this,arguments)}}())}}function Ae(){return Ne.apply(this,arguments)}function Ne(){return Ne=v()(f()().mark(function me(){return f()().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:return ne.next=2,Promise.all(Object.keys(K).map(function(){var ae=v()(f()().mark(function U(R){return f()().wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return le.t0=R,le.next=3,pe(R);case 3:return le.t1=le.sent,le.abrupt("return",{id:le.t0,meta:le.t1});case 5:case"end":return le.stop()}},U)}));return function(U){return ae.apply(this,arguments)}}())).then(function(ae){return ae.reduce(function(U,R){var q=R.id,le=R.meta;return m()(m()({},U),{},o()({},q,le))},{})});case 2:return ne.abrupt("return",ne.sent);case 3:case"end":return ne.stop()}},me)})),Ne.apply(this,arguments)}},14033:function(d,p,e){"use strict";e.d(p,{Z:function(){return n.Z}});var n=e(6686)},2399:function(d,p,e){"use strict";e.d(p,{Z:function(){return w}});var n=e(65345),o=e.n(n),a=e(21739);const u=a.createContext({}),c=!0;function f({baseColor:S,highlightColor:x,width:O,height:j,borderRadius:_,circle:K,direction:P,duration:I,enableAnimation:L=c}){const H={};return P==="rtl"&&(H["--animation-direction"]="reverse"),typeof I=="number"&&(H["--animation-duration"]=`${I}s`),L||(H["--pseudo-element-display"]="none"),(typeof O=="string"||typeof O=="number")&&(H.width=O),(typeof j=="string"||typeof j=="number")&&(H.height=j),(typeof _=="string"||typeof _=="number")&&(H.borderRadius=_),K&&(H.borderRadius="50%"),typeof S!="undefined"&&(H["--base-color"]=S),typeof x!="undefined"&&(H["--highlight-color"]=x),H}function s(L){var H=L,{count:S=1,wrapper:x,className:O,containerClassName:j,containerTestId:_,circle:K=!1,style:P}=H,I=ul(H,["count","wrapper","className","containerClassName","containerTestId","circle","style"]);var V,B,G;const ce=a.useContext(u),pe=_i({},I);for(const[U,R]of Object.entries(I))typeof R=="undefined"&&delete pe[U];const Ae=is(_i(_i({},ce),pe),{circle:K}),Ne=_i(_i({},P),f(Ae));let me="react-loading-skeleton";O&&(me+=` ${O}`);const Q=(V=Ae.inline)!==null&&V!==void 0?V:!1,ne=[],ae=Math.ceil(S);for(let U=0;US&&U===ae-1){const le=(B=R.width)!==null&&B!==void 0?B:"100%",re=S%1,A=typeof le=="number"?le*re:`calc(${le} * ${re})`;R=is(_i({},R),{width:A})}const q=a.createElement("span",{className:me,style:R,key:U},"\u200C");Q?ne.push(q):ne.push(a.createElement(a.Fragment,{key:U},q,a.createElement("br",null)))}return a.createElement("span",{className:j,"data-testid":_,"aria-live":"polite","aria-busy":(G=Ae.enableAnimation)!==null&&G!==void 0?G:c},x?ne.map((U,R)=>a.createElement(x,{key:R},U)):ne)}function m(O){var j=O,{children:S}=j,x=ul(j,["children"]);return React.createElement(u.Provider,{value:x},S)}var y=function(){return a.createElement("div",{className:"dumi-default-loading-skeleton"},a.createElement(s,{className:"first-line",count:1}),a.createElement(s,{count:2}),a.createElement(s,{count:1,width:"75%"}))},v=y,l=e(2738),g=e(27174),E=function(){var x=(0,l.WF)(),O=x.setLoading;return(0,a.useLayoutEffect)(function(){return O(!0),o().start(),function(){O(!1),o().done()}},[]),(0,g.jsx)(v,{})},w=E},27362:function(d,p,e){"use strict";e.d(p,{Ac:function(){return $},ql:function(){return me.ql},rU:function(){return Ne},OL:function(){return L},Q$:function(){return X},p6:function(){return y},m8:function(){return Y.m8},fp:function(){return l.fp},Ov:function(){return pe.Ov},TH:function(){return l.TH},pC:function(){return l.pC},UO:function(){return l.UO},Qt:function(){return Q.Q},lr:function(){return V}});var n=e(7557),o=e(41498),a=e(2738),u=e(51576),c=typeof window!="undefined"?window.html2sketch:null;function f(Pe,he){return s.apply(this,arguments)}function s(){return s=_asyncToGenerator(_regeneratorRuntime().mark(function Pe(he,Le){return _regeneratorRuntime().wrap(function(te){for(;;)switch(te.prev=te.next){case 0:if(Le.type!=="group"){te.next=6;break}return te.next=3,c.nodeToGroup(he);case 3:te.t0=te.sent.toSketchJSON(),te.next=9;break;case 6:return te.next=8,c.nodeToSymbol(he);case 8:te.t0=te.sent.toSketchJSON();case 9:return te.abrupt("return",te.t0);case 10:case"end":return te.stop()}},Pe)})),s.apply(this,arguments)}function m(Pe,he){return getPluginManager().applyPlugins({key:"toSketchJSON",type:ApplyPluginsType.modify,initialValue:null,args:{target:Pe,opts:he},async:!0})}var y=null,v=e(21739),l=e(35338),g=e(19340);function E(){return E=Object.assign||function(Pe){for(var he=1;he=0)&&(Le[te]=Pe[te]);return Le}const S=["onClick","reloadDocument","replace","state","target","to"],x=["aria-current","caseSensitive","className","end","style","to","children"];function O(Pe,he){if(!Pe){typeof console!="undefined"&&console.warn(he);try{throw new Error(he)}catch(Le){}}}function j(Pe){let{basename:he,children:Le,window:b}=Pe,te=useRef();te.current==null&&(te.current=createBrowserHistory({window:b}));let Re=te.current,[be,Ze]=useState({action:Re.action,location:Re.location});return useLayoutEffect(()=>Re.listen(Ze),[Re]),createElement(Router,{basename:he,children:Le,location:be.location,navigationType:be.action,navigator:Re})}function _(Pe){let{basename:he,children:Le,window:b}=Pe,te=useRef();te.current==null&&(te.current=createHashHistory({window:b}));let Re=te.current,[be,Ze]=useState({action:Re.action,location:Re.location});return useLayoutEffect(()=>Re.listen(Ze),[Re]),createElement(Router,{basename:he,children:Le,location:be.location,navigationType:be.action,navigator:Re})}function K(Pe){let{basename:he,children:Le,history:b}=Pe;const[te,Re]=useState({action:b.action,location:b.location});return useLayoutEffect(()=>b.listen(Re),[b]),createElement(Router,{basename:he,children:Le,location:te.location,navigationType:te.action,navigator:b})}function P(Pe){return!!(Pe.metaKey||Pe.altKey||Pe.ctrlKey||Pe.shiftKey)}const I=(0,v.forwardRef)(function(he,Le){let{onClick:b,reloadDocument:te,replace:Re=!1,state:be,target:Ze,to:Mt}=he,_t=w(he,S),Yt=(0,l.oQ)(Mt),Rt=H(Mt,{replace:Re,state:be,target:Ze});function Tt(je){b&&b(je),!je.defaultPrevented&&!te&&Rt(je)}return(0,v.createElement)("a",E({},_t,{href:Yt,onClick:Tt,ref:Le,target:Ze}))}),L=(0,v.forwardRef)(function(he,Le){let{"aria-current":b="page",caseSensitive:te=!1,className:Re="",end:be=!1,style:Ze,to:Mt,children:_t}=he,Yt=w(he,x),Rt=(0,l.TH)(),Tt=(0,l.WU)(Mt),je=Rt.pathname,yt=Tt.pathname;te||(je=je.toLowerCase(),yt=yt.toLowerCase());let Be=je===yt||!be&&je.startsWith(yt)&&je.charAt(yt.length)==="/",Je=Be?b:void 0,Nt;typeof Re=="function"?Nt=Re({isActive:Be}):Nt=[Re,Be?"active":null].filter(Boolean).join(" ");let Lt=typeof Ze=="function"?Ze({isActive:Be}):Ze;return(0,v.createElement)(I,E({},Yt,{"aria-current":Je,className:Nt,ref:Le,style:Lt,to:Mt}),typeof _t=="function"?_t({isActive:Be}):_t)});function H(Pe,he){let{target:Le,replace:b,state:te}=he===void 0?{}:he,Re=(0,l.s0)(),be=(0,l.TH)(),Ze=(0,l.WU)(Pe);return(0,v.useCallback)(Mt=>{if(Mt.button===0&&(!Le||Le==="_self")&&!P(Mt)){Mt.preventDefault();let _t=!!b||(0,g.Ep)(be)===(0,g.Ep)(Ze);Re(Pe,{replace:_t,state:te})}},[be,Re,Ze,b,te,Le,Pe])}function V(Pe){let he=(0,v.useRef)(B(Pe)),Le=(0,l.TH)(),b=(0,v.useMemo)(()=>{let be=B(Le.search);for(let Ze of he.current.keys())be.has(Ze)||he.current.getAll(Ze).forEach(Mt=>{be.append(Ze,Mt)});return be},[Le.search]),te=(0,l.s0)(),Re=(0,v.useCallback)((be,Ze)=>{te("?"+B(be),Ze)},[te]);return[b,Re]}function B(Pe){return Pe===void 0&&(Pe=""),new URLSearchParams(typeof Pe=="string"||Array.isArray(Pe)||Pe instanceof URLSearchParams?Pe:Object.keys(Pe).reduce((he,Le)=>{let b=Pe[Le];return he.concat(Array.isArray(b)?b.map(te=>[Le,te]):[[Le,b]])},[]))}var G=e(38329),ce=e(38127),pe=e(35353),Ae=["prefetch"];function Ne(Pe){var he,Le=Pe.prefetch,b=(0,ce.Z)(Pe,Ae),te=(0,pe.Ov)(),Re=typeof Pe.to=="string"?Pe.to:(he=Pe.to)===null||he===void 0?void 0:he.pathname;return Re?v.createElement(I,(0,G.Z)({onMouseEnter:function(){var Ze;return Le&&Re&&((Ze=te.preloadRoute)===null||Ze===void 0?void 0:Ze.call(te,Re))}},b),Pe.children):null}var me=e(55200),Q=e(9836),ne=e(8616);function ae(){"use strict";ae=function(){return he};var Pe,he={},Le=Object.prototype,b=Le.hasOwnProperty,te=Object.defineProperty||function(qt,Kt,Jt){qt[Kt]=Jt.value},Re=typeof Symbol=="function"?Symbol:{},be=Re.iterator||"@@iterator",Ze=Re.asyncIterator||"@@asyncIterator",Mt=Re.toStringTag||"@@toStringTag";function _t(qt,Kt,Jt){return Object.defineProperty(qt,Kt,{value:Jt,enumerable:!0,configurable:!0,writable:!0}),qt[Kt]}try{_t({},"")}catch(qt){_t=function(Jt,Nr,sn){return Jt[Nr]=sn}}function Yt(qt,Kt,Jt,Nr){var sn=Kt&&Kt.prototype instanceof Nt?Kt:Nt,Lr=Object.create(sn.prototype),jn=new Tn(Nr||[]);return te(Lr,"_invoke",{value:aa(qt,Jt,jn)}),Lr}function Rt(qt,Kt,Jt){try{return{type:"normal",arg:qt.call(Kt,Jt)}}catch(Nr){return{type:"throw",arg:Nr}}}he.wrap=Yt;var Tt="suspendedStart",je="suspendedYield",yt="executing",Be="completed",Je={};function Nt(){}function Lt(){}function Wt(){}var Xt={};_t(Xt,be,function(){return this});var ar=Object.getPrototypeOf,gr=ar&&ar(ar(Qn([])));gr&&gr!==Le&&b.call(gr,be)&&(Xt=gr);var ur=Wt.prototype=Nt.prototype=Object.create(Xt);function Yr(qt){["next","throw","return"].forEach(function(Kt){_t(qt,Kt,function(Jt){return this._invoke(Kt,Jt)})})}function an(qt,Kt){function Jt(sn,Lr,jn,Wn){var On=Rt(qt[sn],qt,Lr);if(On.type!=="throw"){var $n=On.arg,Fr=$n.value;return Fr&&(0,ne.Z)(Fr)=="object"&&b.call(Fr,"__await")?Kt.resolve(Fr.__await).then(function(pa){Jt("next",pa,jn,Wn)},function(pa){Jt("throw",pa,jn,Wn)}):Kt.resolve(Fr).then(function(pa){$n.value=pa,jn($n)},function(pa){return Jt("throw",pa,jn,Wn)})}Wn(On.arg)}var Nr;te(this,"_invoke",{value:function(Lr,jn){function Wn(){return new Kt(function(On,$n){Jt(Lr,jn,On,$n)})}return Nr=Nr?Nr.then(Wn,Wn):Wn()}})}function aa(qt,Kt,Jt){var Nr=Tt;return function(sn,Lr){if(Nr===yt)throw new Error("Generator is already running");if(Nr===Be){if(sn==="throw")throw Lr;return{value:Pe,done:!0}}for(Jt.method=sn,Jt.arg=Lr;;){var jn=Jt.delegate;if(jn){var Wn=la(jn,Jt);if(Wn){if(Wn===Je)continue;return Wn}}if(Jt.method==="next")Jt.sent=Jt._sent=Jt.arg;else if(Jt.method==="throw"){if(Nr===Tt)throw Nr=Be,Jt.arg;Jt.dispatchException(Jt.arg)}else Jt.method==="return"&&Jt.abrupt("return",Jt.arg);Nr=yt;var On=Rt(qt,Kt,Jt);if(On.type==="normal"){if(Nr=Jt.done?Be:je,On.arg===Je)continue;return{value:On.arg,done:Jt.done}}On.type==="throw"&&(Nr=Be,Jt.method="throw",Jt.arg=On.arg)}}}function la(qt,Kt){var Jt=Kt.method,Nr=qt.iterator[Jt];if(Nr===Pe)return Kt.delegate=null,Jt==="throw"&&qt.iterator.return&&(Kt.method="return",Kt.arg=Pe,la(qt,Kt),Kt.method==="throw")||Jt!=="return"&&(Kt.method="throw",Kt.arg=new TypeError("The iterator does not provide a '"+Jt+"' method")),Je;var sn=Rt(Nr,qt.iterator,Kt.arg);if(sn.type==="throw")return Kt.method="throw",Kt.arg=sn.arg,Kt.delegate=null,Je;var Lr=sn.arg;return Lr?Lr.done?(Kt[qt.resultName]=Lr.value,Kt.next=qt.nextLoc,Kt.method!=="return"&&(Kt.method="next",Kt.arg=Pe),Kt.delegate=null,Je):Lr:(Kt.method="throw",Kt.arg=new TypeError("iterator result is not an object"),Kt.delegate=null,Je)}function Ln(qt){var Kt={tryLoc:qt[0]};1 in qt&&(Kt.catchLoc=qt[1]),2 in qt&&(Kt.finallyLoc=qt[2],Kt.afterLoc=qt[3]),this.tryEntries.push(Kt)}function Hn(qt){var Kt=qt.completion||{};Kt.type="normal",delete Kt.arg,qt.completion=Kt}function Tn(qt){this.tryEntries=[{tryLoc:"root"}],qt.forEach(Ln,this),this.reset(!0)}function Qn(qt){if(qt||qt===""){var Kt=qt[be];if(Kt)return Kt.call(qt);if(typeof qt.next=="function")return qt;if(!isNaN(qt.length)){var Jt=-1,Nr=function sn(){for(;++Jt=0;--sn){var Lr=this.tryEntries[sn],jn=Lr.completion;if(Lr.tryLoc==="root")return Nr("end");if(Lr.tryLoc<=this.prev){var Wn=b.call(Lr,"catchLoc"),On=b.call(Lr,"finallyLoc");if(Wn&&On){if(this.prev=0;--Nr){var sn=this.tryEntries[Nr];if(sn.tryLoc<=this.prev&&b.call(sn,"finallyLoc")&&this.prev=0;--Jt){var Nr=this.tryEntries[Jt];if(Nr.finallyLoc===Kt)return this.complete(Nr.completion,Nr.afterLoc),Hn(Nr),Je}},catch:function(Kt){for(var Jt=this.tryEntries.length-1;Jt>=0;--Jt){var Nr=this.tryEntries[Jt];if(Nr.tryLoc===Kt){var sn=Nr.completion;if(sn.type==="throw"){var Lr=sn.arg;Hn(Nr)}return Lr}}throw new Error("illegal catch attempt")},delegateYield:function(Kt,Jt,Nr){return this.delegate={iterator:Qn(Kt),resultName:Jt,nextLoc:Nr},this.method==="next"&&(this.arg=Pe),Je}},he}var U=e(63579);function R(Pe,he,Le,b,te,Re,be){try{var Ze=Pe[Re](be),Mt=Ze.value}catch(_t){Le(_t);return}Ze.done?he(Mt):Promise.resolve(Mt).then(b,te)}function q(Pe){return function(){var he=this,Le=arguments;return new Promise(function(b,te){var Re=Pe.apply(he,Le);function be(Mt){R(Re,b,te,be,Ze,"next",Mt)}function Ze(Mt){R(Re,b,te,be,Ze,"throw",Mt)}be(void 0)})}}var le=e(99227);function re(Pe,he){var Le=typeof Symbol!="undefined"&&Pe[Symbol.iterator]||Pe["@@iterator"];if(!Le){if(Array.isArray(Pe)||(Le=(0,le.Z)(Pe))||he&&Pe&&typeof Pe.length=="number"){Le&&(Pe=Le);var b=0,te=function(){};return{s:te,n:function(){return b>=Pe.length?{done:!0}:{done:!1,value:Pe[b++]}},e:function(_t){throw _t},f:te}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Re=!0,be=!1,Ze;return{s:function(){Le=Le.call(Pe)},n:function(){var _t=Le.next();return Re=_t.done,_t},e:function(_t){be=!0,Ze=_t},f:function(){try{!Re&&Le.return!=null&&Le.return()}finally{if(be)throw Ze}}}}var A=e(73825);function W(Pe){if(typeof Symbol!="undefined"&&Pe[Symbol.iterator]!=null||Pe["@@iterator"]!=null)return Array.from(Pe)}var k=e(66160);function Z(Pe){return(0,A.Z)(Pe)||W(Pe)||(0,le.Z)(Pe)||(0,k.Z)()}function z(Pe,he){if(!(Pe instanceof he))throw new TypeError("Cannot call a class as a function")}var Ee=e(89878);function Me(Pe,he){for(var Le=0;Le-1,"register failed, invalid key ".concat(te," ").concat(Le.path?"from plugin ".concat(Le.path):"",".")),b.hooks[te]=(b.hooks[te]||[]).concat(Le.apply[te])})}},{key:"getHooks",value:function(Le){var b=Le.split("."),te=Z(b),Re=te[0],be=te.slice(1),Ze=this.hooks[Re]||[];return be.length&&(Ze=Ze.map(function(Mt){try{var _t=Mt,Yt=re(be),Rt;try{for(Yt.s();!(Rt=Yt.n()).done;){var Tt=Rt.value;_t=_t[Tt]}}catch(je){Yt.e(je)}finally{Yt.f()}return _t}catch(je){return null}}).filter(Boolean)),Ze}},{key:"applyPlugins",value:function(Le){var b=Le.key,te=Le.type,Re=Le.initialValue,be=Le.args,Ze=Le.async,Mt=this.getHooks(b)||[];switch(be&&tt((0,ne.Z)(be)==="object","applyPlugins failed, args must be plain object."),Ze&&tt(te===$.modify||te===$.event,"async only works with modify and event type."),te){case $.modify:return Ze?Mt.reduce(function(){var _t=q(ae().mark(function Yt(Rt,Tt){var je;return ae().wrap(function(Be){for(;;)switch(Be.prev=Be.next){case 0:if(tt(typeof Tt=="function"||(0,ne.Z)(Tt)==="object"||ee(Tt),"applyPlugins failed, all hooks for key ".concat(b," must be function, plain object or Promise.")),!ee(Rt)){Be.next=5;break}return Be.next=4,Rt;case 4:Rt=Be.sent;case 5:if(typeof Tt!="function"){Be.next=16;break}if(je=Tt(Rt,be),!ee(je)){Be.next=13;break}return Be.next=10,je;case 10:return Be.abrupt("return",Be.sent);case 13:return Be.abrupt("return",je);case 14:Be.next=21;break;case 16:if(!ee(Tt)){Be.next=20;break}return Be.next=19,Tt;case 19:Tt=Be.sent;case 20:return Be.abrupt("return",(0,U.Z)((0,U.Z)({},Rt),Tt));case 21:case"end":return Be.stop()}},Yt)}));return function(Yt,Rt){return _t.apply(this,arguments)}}(),ee(Re)?Re:Promise.resolve(Re)):Mt.reduce(function(_t,Yt){return tt(typeof Yt=="function"||(0,ne.Z)(Yt)==="object","applyPlugins failed, all hooks for key ".concat(b," must be function or plain object.")),typeof Yt=="function"?Yt(_t,be):(0,U.Z)((0,U.Z)({},_t),Yt)},Re);case $.event:return q(ae().mark(function _t(){var Yt,Rt,Tt,je;return ae().wrap(function(Be){for(;;)switch(Be.prev=Be.next){case 0:Yt=re(Mt),Be.prev=1,Yt.s();case 3:if((Rt=Yt.n()).done){Be.next=12;break}if(Tt=Rt.value,tt(typeof Tt=="function","applyPlugins failed, all hooks for key ".concat(b," must be function.")),je=Tt(be),!(Ze&&ee(je))){Be.next=10;break}return Be.next=10,je;case 10:Be.next=3;break;case 12:Be.next=17;break;case 14:Be.prev=14,Be.t0=Be.catch(1),Yt.e(Be.t0);case 17:return Be.prev=17,Yt.f(),Be.finish(17);case 20:case"end":return Be.stop()}},_t,null,[[1,14,17,20]])}))();case $.compose:return function(){return gt({fns:Mt.concat(Re),args:be})()}}}}],[{key:"create",value:function(Le){var b=new Pe({validKeys:Le.validKeys});return Le.plugins.forEach(function(te){b.register(te)}),b}}]),Pe}(),Y=e(86043),ye=e(31468),J=e.n(ye),ve=0,ge=0;function fe(Pe,he){if(0)var Le}function Te(Pe){return JSON.stringify(Pe,null,2)}function We(Pe){var he=Pe.length>1?Pe.map(nt).join(" "):Pe[0];return J()(he)==="object"?"".concat(Te(he)):he.toString()}function nt(Pe){return J()(Pe)==="object"?"".concat(JSON.stringify(Pe)):Pe.toString()}var Xe={log:function(){for(var he=arguments.length,Le=new Array(he),b=0;bd.length)&&(p=d.length);for(var e=0,n=new Array(p);ev.length)&&(l=v.length);for(var g=0,E=new Array(l);g=0;--Me){var et=this.tryEntries[Me],Ve=et.completion;if(et.tryLoc==="root")return Ee("end");if(et.tryLoc<=this.prev){var tt=O.call(et,"catchLoc"),gt=O.call(et,"finallyLoc");if(tt&>){if(this.prev=0;--Ee){var Me=this.tryEntries[Ee];if(Me.tryLoc<=this.prev&&O.call(Me,"finallyLoc")&&this.prev=0;--z){var Ee=this.tryEntries[z];if(Ee.finallyLoc===Z)return this.complete(Ee.completion,Ee.afterLoc),le(Ee),B}},catch:function(Z){for(var z=this.tryEntries.length-1;z>=0;--z){var Ee=this.tryEntries[z];if(Ee.tryLoc===Z){var Me=Ee.completion;if(Me.type==="throw"){var et=Me.arg;le(Ee)}return et}}throw new Error("illegal catch attempt")},delegateYield:function(Z,z,Ee){return this.delegate={iterator:A(Z),resultName:z,nextLoc:Ee},this.method==="next"&&(this.arg=void 0),B}},S}function c(S,x,O,j,_,K,P){try{var I=S[K](P),L=I.value}catch(H){O(H);return}I.done?x(L):Promise.resolve(L).then(j,_)}function f(S){return function(){var x=this,O=arguments;return new Promise(function(j,_){var K=S.apply(x,O);function P(L){c(K,j,_,P,I,"next",L)}function I(L){c(K,j,_,P,I,"throw",L)}P(void 0)})}}function s(S,x){return g(S)||l(S,x)||y(S,x)||m()}function m(){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 y(S,x){if(S){if(typeof S=="string")return v(S,x);var O=Object.prototype.toString.call(S).slice(8,-1);if(O==="Object"&&S.constructor&&(O=S.constructor.name),O==="Map"||O==="Set")return Array.from(S);if(O==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(O))return v(S,x)}}function v(S,x){(x==null||x>S.length)&&(x=S.length);for(var O=0,j=new Array(x);O=0;--ye){var J=this.tryEntries[ye],ve=J.completion;if(J.tryLoc==="root")return Y("end");if(J.tryLoc<=this.prev){var ge=B.call(J,"catchLoc"),fe=B.call(J,"finallyLoc");if(ge&&fe){if(this.prev=0;--Y){var ye=this.tryEntries[Y];if(ye.tryLoc<=this.prev&&B.call(ye,"finallyLoc")&&this.prev=0;--X){var Y=this.tryEntries[X];if(Y.finallyLoc===$)return this.complete(Y.completion,Y.afterLoc),et(Y),ae}},catch:function($){for(var X=this.tryEntries.length-1;X>=0;--X){var Y=this.tryEntries[X];if(Y.tryLoc===$){var ye=Y.completion;if(ye.type==="throw"){var J=ye.arg;et(Y)}return J}}throw new Error("illegal catch attempt")},delegateYield:function($,X,Y){return this.delegate={iterator:tt($),resultName:X,nextLoc:Y},this.method==="next"&&(this.arg=void 0),ae}},H}function c(H,V,B,G,ce,pe,Ae){try{var Ne=H[pe](Ae),me=Ne.value}catch(Q){B(Q);return}Ne.done?V(me):Promise.resolve(me).then(G,ce)}function f(H){return function(){var V=this,B=arguments;return new Promise(function(G,ce){var pe=H.apply(V,B);function Ae(me){c(pe,G,ce,Ae,Ne,"next",me)}function Ne(me){c(pe,G,ce,Ae,Ne,"throw",me)}Ae(void 0)})}}function s(H){"@babel/helpers - typeof";return s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(V){return typeof V}:function(V){return V&&typeof Symbol=="function"&&V.constructor===Symbol&&V!==Symbol.prototype?"symbol":typeof V},s(H)}function m(H,V){return E(H)||g(H,V)||v(H,V)||y()}function y(){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 jr(C,M){if(C){if(typeof C=="string")return $r(C,M);var N=Object.prototype.toString.call(C).slice(8,-1);if(N==="Object"&&C.constructor&&(N=C.constructor.name),N==="Map"||N==="Set")return Array.from(C);if(N==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(N))return $r(C,M)}}function $r(C,M){(M==null||M>C.length)&&(M=C.length);for(var N=0,se=new Array(M);N{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'],{type:"application/javascript"}))));var zr=function(){var M=(0,a.useRef)(),N=(0,a.useState)(!1),se=Vr(N,2),Ue=se[0],Ke=se[1],ct=(0,a.useState)(""),at=Vr(ct,2),Ge=at[0],St=at[1],jt=Tr(),Ft=(0,a.useState)([]),$t=Vr(Ft,2),zt=$t[0],Vt=$t[1],Kr=Dr(),Cr=Vr(Kr,2),Ar=Cr[0],nr=Cr[1],vr=(0,a.useCallback)(function(Xn){nr(),Ke(!0),St(Xn)},[]),Ir=Ar==null?void 0:Ar[0],wn=Ar==null?void 0:Ar[1];return(0,a.useEffect)(function(){fn.onmessage=function(Xn){Vt(Xn.data),Ke(!1)}},[]),(0,a.useEffect)(function(){!Ir||!wn||fn.postMessage({action:"generate-metadata",args:{routes:JSON.parse(JSON.stringify(Ir)),nav:jt,demos:wn}})},[Ir,wn,jt]),(0,a.useEffect)(function(){if(Ir){var Xn=Ge.trim();Xn?(clearTimeout(M.current),M.current=window.setTimeout(function(){fn.postMessage({action:"get-search-result",args:{keywords:Xn}})},200)):Vt([])}},[Ge,Ir]),{keywords:Ge,setKeywords:vr,result:zt,loading:Ue,load:nr}},ln=e(51985)},38191:function(d,p,e){"use strict";e.d(p,{k:function(){return n},s:function(){return o}});var n=[{id:"zh-CN",name:"\u4E2D\u6587",base:"/"}],o={"en-US":{"header.search.placeholder":"Type keywords...","header.color.mode.light":"Light Mode","header.color.mode.dark":"Dark Mode","header.color.mode.auto":"Follow System","header.social.github":"GitHub","header.social.weibo":"Weibo","header.social.twitter":"Twitter","header.social.gitlab":"GitLab","header.social.facebook":"Facebook","header.social.zhihu":"Zhihu","header.social.yuque":"Yuque","header.social.linkedin":"Linkedin","previewer.actions.code.expand":"Show Code","previewer.actions.code.shrink":"Hide Code","previewer.actions.code.editable":"Edit code with real-time preview","previewer.actions.code.readonly":"Only index file is editable","previewer.actions.sketch":"Copy to Sketch app","previewer.actions.sketch.group":"Copy as Sketch Group","previewer.actions.sketch.symbol":"Copy as Sketch Symbol","previewer.actions.sketch.divider":"------------------------","previewer.actions.sketch.guide":"How to paste to Sketch?","previewer.actions.codesandbox":"Open in CodeSandbox","previewer.actions.codepen":"Open in CodePen (Not implemented)","previewer.actions.stackblitz":"Open in StackBlitz","previewer.actions.separate":"Open in separate page","404.title":"PAGE NOT FOUND","404.back":"Back to homepage","api.component.name":"Name","api.component.description":"Description","api.component.type":"Type","api.component.default":"Default","api.component.required":"(required)","api.component.release.alpha":"Alpha","api.component.release.beta":"Beta","api.component.release.experimental":"Experimental","api.component.release.deprecated":"Deprecated","api.component.unavailable":"apiParser must be enabled to use auto-generated API","api.component.loading":"Properties definition is resolving, wait a moment...","api.component.not.found":"Properties definition not found for {id} component","content.tabs.default":"Doc","content.footer.last.updated":"Last updated: ","content.footer.actions.edit":"Improve this documentation","content.footer.actions.previous":"PREV","content.footer.actions.next":"NEXT","search.not.found":"No content was found","search.loading":"Loading...","layout.sidebar.btn":"Sidebar"},"zh-CN":{"header.search.placeholder":"\u8F93\u5165\u5173\u952E\u5B57\u641C\u7D22...","header.color.mode.light":"\u4EAE\u8272\u6A21\u5F0F","header.color.mode.dark":"\u6697\u8272\u6A21\u5F0F","header.color.mode.auto":"\u8DDF\u968F\u7CFB\u7EDF","header.social.github":"GitHub","header.social.weibo":"\u5FAE\u535A","header.social.twitter":"Twitter","header.social.gitlab":"GitLab","header.social.facebook":"Facebook","header.social.zhihu":"\u77E5\u4E4E","header.social.yuque":"\u8BED\u96C0","header.social.linkedin":"Linkedin","previewer.actions.code.expand":"\u5C55\u5F00\u4EE3\u7801","previewer.actions.code.shrink":"\u6536\u8D77\u4EE3\u7801","previewer.actions.code.editable":"\u7F16\u8F91\u4EE3\u7801\u53EF\u5B9E\u65F6\u9884\u89C8","previewer.actions.code.readonly":"\u4EC5 index \u53EF\u7F16\u8F91","previewer.actions.codesandbox":"\u5728 CodeSandbox \u4E2D\u6253\u5F00","previewer.actions.sketch":"\u62F7\u8D1D\u5230 Sketch","previewer.actions.sketch.group":"\u62F7\u8D1D\u4E3A Sketch Group","previewer.actions.sketch.symbol":"\u62F7\u8D1D\u4E3A Sketch Symbol","previewer.actions.sketch.divider":"----------------------","previewer.actions.sketch.guide":"\u5982\u4F55\u7C98\u8D34\u5230 SKetch\uFF1F","previewer.actions.stackblitz":"\u5728 StackBlitz \u4E2D\u6253\u5F00","previewer.actions.separate":"\u5728\u72EC\u7ACB\u9875\u9762\u4E2D\u6253\u5F00","404.title":"\u9875\u9762\u672A\u627E\u5230","404.back":"\u8FD4\u56DE\u9996\u9875","api.component.name":"\u5C5E\u6027\u540D","api.component.description":"\u63CF\u8FF0","api.component.type":"\u7C7B\u578B","api.component.default":"\u9ED8\u8BA4\u503C","api.component.required":"(\u5FC5\u9009)","api.component.release.alpha":"Alpha","api.component.release.beta":"Beta","api.component.release.experimental":"\u5B9E\u9A8C\u6027","api.component.release.deprecated":"\u5E9F\u5F03","api.component.unavailable":"\u5FC5\u987B\u542F\u7528 apiParser \u624D\u80FD\u4F7F\u7528\u81EA\u52A8 API \u7279\u6027","api.component.loading":"\u5C5E\u6027\u5B9A\u4E49\u6B63\u5728\u89E3\u6790\u4E2D\uFF0C\u7A0D\u7B49\u7247\u523B...","api.component.not.found":"\u672A\u627E\u5230 {id} \u7EC4\u4EF6\u7684\u5C5E\u6027\u5B9A\u4E49","content.tabs.default":"\u6587\u6863","content.footer.last.updated":"\u6700\u540E\u66F4\u65B0\u65F6\u95F4\uFF1A","content.footer.actions.edit":"\u5E2E\u52A9\u6539\u8FDB\u6B64\u6587\u6863","content.footer.actions.previous":"\u4E0A\u4E00\u7BC7","content.footer.actions.next":"\u4E0B\u4E00\u7BC7","search.not.found":"\u672A\u627E\u5230\u76F8\u5173\u5185\u5BB9","search.loading":"\u52A0\u8F7D\u4E2D...","layout.sidebar.btn":"\u4FA7\u8FB9\u83DC\u5355"}}},51985:function(d,p,e){"use strict";e.d(p,{EQ:function(){return B},TR:function(){return Ae},lZ:function(){return pe},FO:function(){return V}});var n=e(85573),o=e.n(n),a=e(79800),u=e.n(a),c=e(7557),f=e.n(c),s=e(82242),m=e.n(s),y=e(41498),v=e.n(y),l=e(48964);const g=[{id:"basic",depth:2,title:"Basic"},{id:"disabled",depth:2,title:"Disabled"},{id:"disabled-alpha",depth:2,title:"Disabled Alpha"},{id:"custom-render",depth:2,title:"Custom Render"},{id:"work-with-trigger",depth:2,title:"Work with Trigger"},{id:"color-change-completed",depth:2,title:"Color change completed"},{id:"color-block",depth:2,title:"Color Block"},{id:"components",depth:2,title:"Components"}],E={title:"Demo",toc:"menu",filename:"docs/demo/index.md",lastUpdated:1721300157e3},w={ids:["docs-demo-demo-basic","docs-demo-demo-disabled","docs-demo-demo-disabledalpha","docs-demo-demo-panelrender","docs-demo-demo-trigger","docs-demo-demo-changecomplete","docs-demo-demo-block","docs-demo-demo-components"],getter:()=>e.e(904).then(e.bind(e,75113))};var S=e(5885);const x=[{id:"rc-componentcolor-picker",depth:1,title:"@rc-component/color-picker"},{id:"install",depth:2,title:"install"},{id:"development",depth:2,title:"Development"},{id:"example",depth:2,title:"Example"},{id:"usage",depth:2,title:"Usage"},{id:"api",depth:2,title:"API"},{id:"color",depth:3,title:"Color"},{id:"test-case",depth:2,title:"Test Case"},{id:"license",depth:2,title:"License"}],O={title:"rc-color-picker",toc:"menu",filename:"docs/index.md",lastUpdated:1679884691e3,description:"React Color Picker."},j={ids:[],getter:()=>e.e(904).then(e.bind(e,96333))};var _={},K={"docs/demo/index":{frontmatter:E,toc:g,demoIndex:w,textGetter:function(){return e.e(904).then(e.bind(e,17005))}},"docs/index":{frontmatter:O,toc:x,demoIndex:j,textGetter:function(){return e.e(904).then(e.bind(e,34454))}}};function P(me){if(me.status==="fulfilled")return me.value;throw me.status==="rejected"?me.reason:(me.status==="pending"||(me.status="pending",me.then(function(Q){me.status="fulfilled",me.value=Q},function(Q){me.status="rejected",me.reason=Q})),me)}var I=Object.keys(K).reduce(function(me,Q){if(K[Q].demoIndex){var ne=K[Q].demoIndex,ae=ne.ids,U=ne.getter;ae.forEach(function(R){me[R]=U})}return me},{}),L=new Map;function H(me){me&&Object.keys(me).forEach(function(Q){var ne,ae=(ne=Q.match(/^(.+)\.(js|jsx|ts|tsx|json)$/))===null||ne===void 0?void 0:ne[1];ae&&!me[ae]&&(me[ae]=me[Q])})}function V(me){if(!L.get(me)){var Q;L.set(me,(Q=I[me])===null||Q===void 0?void 0:Q.call(I).then(function(ne){var ae=ne.demos;return H(ae[me].context),ae[me]}))}return P(L.get(me))}function B(){return G.apply(this,arguments)}function G(){return G=v()(f()().mark(function me(){var Q;return f()().wrap(function(ae){for(;;)switch(ae.prev=ae.next){case 0:return Q=Object.entries(K).filter(function(U){var R=u()(U,2),q=R[0],le=R[1];return le.demoIndex}),ae.abrupt("return",Promise.all(Q.map(function(){var U=v()(f()().mark(function R(q){var le,re,A;return f()().wrap(function(k){for(;;)switch(k.prev=k.next){case 0:return le=u()(q,2),re=le[0],A=le[1],k.t0=re,k.next=4,A.demoIndex.getter();case 4:return k.t1=k.sent.demos,k.abrupt("return",{id:k.t0,demos:k.t1});case 6:case"end":return k.stop()}},R)}));return function(R){return U.apply(this,arguments)}}())).then(function(U){return U.reduce(function(R,q){var le=q.id,re=q.demos;return Object.values(re).forEach(function(A){A.routeId=le,H(A.context)}),m()(m()({},R),re)},{})}));case 2:case"end":return ae.stop()}},me)})),G.apply(this,arguments)}function ce(me,Q){return m()(m()({},_[me]),{},{meta:Q!=null?Q:{frontmatter:{title:_[me].title},toc:[],texts:[]}})}function pe(me,Q){if(K[me]){var ne=K[me],ae=ne.frontmatter,U=ne.toc,R=ne.textGetter,q=ne.tabs,le={frontmatter:ae,toc:U,texts:[]};return Q!=null&&Q.syncOnly?(q&&(le.tabs=q.map(function(re){return ce(re,pe(re,Q))})),le):new Promise(function(){var re=v()(f()().mark(function A(W){var k;return f()().wrap(function(z){for(;;)switch(z.prev=z.next){case 0:if(!R){z.next=5;break}return z.next=3,R();case 3:k=z.sent,le.texts=k.texts;case 5:if(!q){z.next=9;break}return z.next=8,Promise.all(q.map(function(){var Ee=v()(f()().mark(function Me(et){return f()().wrap(function(tt){for(;;)switch(tt.prev=tt.next){case 0:return tt.t0=ce,tt.t1=et,tt.next=4,pe(et,Q);case 4:return tt.t2=tt.sent,tt.abrupt("return",(0,tt.t0)(tt.t1,tt.t2));case 6:case"end":return tt.stop()}},Me)}));return function(Me){return Ee.apply(this,arguments)}}()));case 8:le.tabs=z.sent;case 9:W(le);case 10:case"end":return z.stop()}},A)}));return function(A){return re.apply(this,arguments)}}())}}function Ae(){return Ne.apply(this,arguments)}function Ne(){return Ne=v()(f()().mark(function me(){return f()().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:return ne.next=2,Promise.all(Object.keys(K).map(function(){var ae=v()(f()().mark(function U(R){return f()().wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return le.t0=R,le.next=3,pe(R);case 3:return le.t1=le.sent,le.abrupt("return",{id:le.t0,meta:le.t1});case 5:case"end":return le.stop()}},U)}));return function(U){return ae.apply(this,arguments)}}())).then(function(ae){return ae.reduce(function(U,R){var q=R.id,le=R.meta;return m()(m()({},U),{},o()({},q,le))},{})});case 2:return ne.abrupt("return",ne.sent);case 3:case"end":return ne.stop()}},me)})),Ne.apply(this,arguments)}},94354:function(d,p,e){"use strict";e.d(p,{Z:function(){return n.Z}});var n=e(51425)},96601:function(d,p,e){"use strict";e.d(p,{Z:function(){return w}});var n=e(65345),o=e.n(n),a=e(21739);const u=a.createContext({}),c=!0;function f({baseColor:S,highlightColor:x,width:O,height:j,borderRadius:_,circle:K,direction:P,duration:I,enableAnimation:L=c}){const H={};return P==="rtl"&&(H["--animation-direction"]="reverse"),typeof I=="number"&&(H["--animation-duration"]=`${I}s`),L||(H["--pseudo-element-display"]="none"),(typeof O=="string"||typeof O=="number")&&(H.width=O),(typeof j=="string"||typeof j=="number")&&(H.height=j),(typeof _=="string"||typeof _=="number")&&(H.borderRadius=_),K&&(H.borderRadius="50%"),typeof S!="undefined"&&(H["--base-color"]=S),typeof x!="undefined"&&(H["--highlight-color"]=x),H}function s(L){var H=L,{count:S=1,wrapper:x,className:O,containerClassName:j,containerTestId:_,circle:K=!1,style:P}=H,I=ul(H,["count","wrapper","className","containerClassName","containerTestId","circle","style"]);var V,B,G;const ce=a.useContext(u),pe=_i({},I);for(const[U,R]of Object.entries(I))typeof R=="undefined"&&delete pe[U];const Ae=is(_i(_i({},ce),pe),{circle:K}),Ne=_i(_i({},P),f(Ae));let me="react-loading-skeleton";O&&(me+=` ${O}`);const Q=(V=Ae.inline)!==null&&V!==void 0?V:!1,ne=[],ae=Math.ceil(S);for(let U=0;US&&U===ae-1){const le=(B=R.width)!==null&&B!==void 0?B:"100%",re=S%1,A=typeof le=="number"?le*re:`calc(${le} * ${re})`;R=is(_i({},R),{width:A})}const q=a.createElement("span",{className:me,style:R,key:U},"\u200C");Q?ne.push(q):ne.push(a.createElement(a.Fragment,{key:U},q,a.createElement("br",null)))}return a.createElement("span",{className:j,"data-testid":_,"aria-live":"polite","aria-busy":(G=Ae.enableAnimation)!==null&&G!==void 0?G:c},x?ne.map((U,R)=>a.createElement(x,{key:R},U)):ne)}function m(O){var j=O,{children:S}=j,x=ul(j,["children"]);return React.createElement(u.Provider,{value:x},S)}var y=function(){return a.createElement("div",{className:"dumi-default-loading-skeleton"},a.createElement(s,{className:"first-line",count:1}),a.createElement(s,{count:2}),a.createElement(s,{count:1,width:"75%"}))},v=y,l=e(39013),g=e(27174),E=function(){var x=(0,l.WF)(),O=x.setLoading;return(0,a.useLayoutEffect)(function(){return O(!0),o().start(),function(){O(!1),o().done()}},[]),(0,g.jsx)(v,{})},w=E},81890:function(d,p,e){"use strict";e.d(p,{Ac:function(){return $},ql:function(){return me.ql},rU:function(){return Ne},OL:function(){return L},Q$:function(){return X},p6:function(){return y},m8:function(){return Y.m8},fp:function(){return l.fp},Ov:function(){return pe.Ov},TH:function(){return l.TH},pC:function(){return l.pC},UO:function(){return l.UO},Qt:function(){return Q.Q},lr:function(){return V}});var n=e(7557),o=e(41498),a=e(39013),u=e(90152),c=typeof window!="undefined"?window.html2sketch:null;function f(Pe,he){return s.apply(this,arguments)}function s(){return s=_asyncToGenerator(_regeneratorRuntime().mark(function Pe(he,Le){return _regeneratorRuntime().wrap(function(te){for(;;)switch(te.prev=te.next){case 0:if(Le.type!=="group"){te.next=6;break}return te.next=3,c.nodeToGroup(he);case 3:te.t0=te.sent.toSketchJSON(),te.next=9;break;case 6:return te.next=8,c.nodeToSymbol(he);case 8:te.t0=te.sent.toSketchJSON();case 9:return te.abrupt("return",te.t0);case 10:case"end":return te.stop()}},Pe)})),s.apply(this,arguments)}function m(Pe,he){return getPluginManager().applyPlugins({key:"toSketchJSON",type:ApplyPluginsType.modify,initialValue:null,args:{target:Pe,opts:he},async:!0})}var y=null,v=e(21739),l=e(35338),g=e(19340);function E(){return E=Object.assign||function(Pe){for(var he=1;he=0)&&(Le[te]=Pe[te]);return Le}const S=["onClick","reloadDocument","replace","state","target","to"],x=["aria-current","caseSensitive","className","end","style","to","children"];function O(Pe,he){if(!Pe){typeof console!="undefined"&&console.warn(he);try{throw new Error(he)}catch(Le){}}}function j(Pe){let{basename:he,children:Le,window:b}=Pe,te=useRef();te.current==null&&(te.current=createBrowserHistory({window:b}));let Re=te.current,[be,Ze]=useState({action:Re.action,location:Re.location});return useLayoutEffect(()=>Re.listen(Ze),[Re]),createElement(Router,{basename:he,children:Le,location:be.location,navigationType:be.action,navigator:Re})}function _(Pe){let{basename:he,children:Le,window:b}=Pe,te=useRef();te.current==null&&(te.current=createHashHistory({window:b}));let Re=te.current,[be,Ze]=useState({action:Re.action,location:Re.location});return useLayoutEffect(()=>Re.listen(Ze),[Re]),createElement(Router,{basename:he,children:Le,location:be.location,navigationType:be.action,navigator:Re})}function K(Pe){let{basename:he,children:Le,history:b}=Pe;const[te,Re]=useState({action:b.action,location:b.location});return useLayoutEffect(()=>b.listen(Re),[b]),createElement(Router,{basename:he,children:Le,location:te.location,navigationType:te.action,navigator:b})}function P(Pe){return!!(Pe.metaKey||Pe.altKey||Pe.ctrlKey||Pe.shiftKey)}const I=(0,v.forwardRef)(function(he,Le){let{onClick:b,reloadDocument:te,replace:Re=!1,state:be,target:Ze,to:Mt}=he,_t=w(he,S),Yt=(0,l.oQ)(Mt),Rt=H(Mt,{replace:Re,state:be,target:Ze});function Tt(je){b&&b(je),!je.defaultPrevented&&!te&&Rt(je)}return(0,v.createElement)("a",E({},_t,{href:Yt,onClick:Tt,ref:Le,target:Ze}))}),L=(0,v.forwardRef)(function(he,Le){let{"aria-current":b="page",caseSensitive:te=!1,className:Re="",end:be=!1,style:Ze,to:Mt,children:_t}=he,Yt=w(he,x),Rt=(0,l.TH)(),Tt=(0,l.WU)(Mt),je=Rt.pathname,yt=Tt.pathname;te||(je=je.toLowerCase(),yt=yt.toLowerCase());let Be=je===yt||!be&&je.startsWith(yt)&&je.charAt(yt.length)==="/",Je=Be?b:void 0,Nt;typeof Re=="function"?Nt=Re({isActive:Be}):Nt=[Re,Be?"active":null].filter(Boolean).join(" ");let Lt=typeof Ze=="function"?Ze({isActive:Be}):Ze;return(0,v.createElement)(I,E({},Yt,{"aria-current":Je,className:Nt,ref:Le,style:Lt,to:Mt}),typeof _t=="function"?_t({isActive:Be}):_t)});function H(Pe,he){let{target:Le,replace:b,state:te}=he===void 0?{}:he,Re=(0,l.s0)(),be=(0,l.TH)(),Ze=(0,l.WU)(Pe);return(0,v.useCallback)(Mt=>{if(Mt.button===0&&(!Le||Le==="_self")&&!P(Mt)){Mt.preventDefault();let _t=!!b||(0,g.Ep)(be)===(0,g.Ep)(Ze);Re(Pe,{replace:_t,state:te})}},[be,Re,Ze,b,te,Le,Pe])}function V(Pe){let he=(0,v.useRef)(B(Pe)),Le=(0,l.TH)(),b=(0,v.useMemo)(()=>{let be=B(Le.search);for(let Ze of he.current.keys())be.has(Ze)||he.current.getAll(Ze).forEach(Mt=>{be.append(Ze,Mt)});return be},[Le.search]),te=(0,l.s0)(),Re=(0,v.useCallback)((be,Ze)=>{te("?"+B(be),Ze)},[te]);return[b,Re]}function B(Pe){return Pe===void 0&&(Pe=""),new URLSearchParams(typeof Pe=="string"||Array.isArray(Pe)||Pe instanceof URLSearchParams?Pe:Object.keys(Pe).reduce((he,Le)=>{let b=Pe[Le];return he.concat(Array.isArray(b)?b.map(te=>[Le,te]):[[Le,b]])},[]))}var G=e(38329),ce=e(38127),pe=e(67955),Ae=["prefetch"];function Ne(Pe){var he,Le=Pe.prefetch,b=(0,ce.Z)(Pe,Ae),te=(0,pe.Ov)(),Re=typeof Pe.to=="string"?Pe.to:(he=Pe.to)===null||he===void 0?void 0:he.pathname;return Re?v.createElement(I,(0,G.Z)({onMouseEnter:function(){var Ze;return Le&&Re&&((Ze=te.preloadRoute)===null||Ze===void 0?void 0:Ze.call(te,Re))}},b),Pe.children):null}var me=e(55200),Q=e(65796),ne=e(8616);function ae(){"use strict";ae=function(){return he};var Pe,he={},Le=Object.prototype,b=Le.hasOwnProperty,te=Object.defineProperty||function(qt,Kt,Jt){qt[Kt]=Jt.value},Re=typeof Symbol=="function"?Symbol:{},be=Re.iterator||"@@iterator",Ze=Re.asyncIterator||"@@asyncIterator",Mt=Re.toStringTag||"@@toStringTag";function _t(qt,Kt,Jt){return Object.defineProperty(qt,Kt,{value:Jt,enumerable:!0,configurable:!0,writable:!0}),qt[Kt]}try{_t({},"")}catch(qt){_t=function(Jt,Nr,sn){return Jt[Nr]=sn}}function Yt(qt,Kt,Jt,Nr){var sn=Kt&&Kt.prototype instanceof Nt?Kt:Nt,Lr=Object.create(sn.prototype),jn=new Tn(Nr||[]);return te(Lr,"_invoke",{value:aa(qt,Jt,jn)}),Lr}function Rt(qt,Kt,Jt){try{return{type:"normal",arg:qt.call(Kt,Jt)}}catch(Nr){return{type:"throw",arg:Nr}}}he.wrap=Yt;var Tt="suspendedStart",je="suspendedYield",yt="executing",Be="completed",Je={};function Nt(){}function Lt(){}function Wt(){}var Xt={};_t(Xt,be,function(){return this});var ar=Object.getPrototypeOf,gr=ar&&ar(ar(Qn([])));gr&&gr!==Le&&b.call(gr,be)&&(Xt=gr);var ur=Wt.prototype=Nt.prototype=Object.create(Xt);function Yr(qt){["next","throw","return"].forEach(function(Kt){_t(qt,Kt,function(Jt){return this._invoke(Kt,Jt)})})}function an(qt,Kt){function Jt(sn,Lr,jn,Wn){var On=Rt(qt[sn],qt,Lr);if(On.type!=="throw"){var $n=On.arg,Fr=$n.value;return Fr&&(0,ne.Z)(Fr)=="object"&&b.call(Fr,"__await")?Kt.resolve(Fr.__await).then(function(pa){Jt("next",pa,jn,Wn)},function(pa){Jt("throw",pa,jn,Wn)}):Kt.resolve(Fr).then(function(pa){$n.value=pa,jn($n)},function(pa){return Jt("throw",pa,jn,Wn)})}Wn(On.arg)}var Nr;te(this,"_invoke",{value:function(Lr,jn){function Wn(){return new Kt(function(On,$n){Jt(Lr,jn,On,$n)})}return Nr=Nr?Nr.then(Wn,Wn):Wn()}})}function aa(qt,Kt,Jt){var Nr=Tt;return function(sn,Lr){if(Nr===yt)throw new Error("Generator is already running");if(Nr===Be){if(sn==="throw")throw Lr;return{value:Pe,done:!0}}for(Jt.method=sn,Jt.arg=Lr;;){var jn=Jt.delegate;if(jn){var Wn=la(jn,Jt);if(Wn){if(Wn===Je)continue;return Wn}}if(Jt.method==="next")Jt.sent=Jt._sent=Jt.arg;else if(Jt.method==="throw"){if(Nr===Tt)throw Nr=Be,Jt.arg;Jt.dispatchException(Jt.arg)}else Jt.method==="return"&&Jt.abrupt("return",Jt.arg);Nr=yt;var On=Rt(qt,Kt,Jt);if(On.type==="normal"){if(Nr=Jt.done?Be:je,On.arg===Je)continue;return{value:On.arg,done:Jt.done}}On.type==="throw"&&(Nr=Be,Jt.method="throw",Jt.arg=On.arg)}}}function la(qt,Kt){var Jt=Kt.method,Nr=qt.iterator[Jt];if(Nr===Pe)return Kt.delegate=null,Jt==="throw"&&qt.iterator.return&&(Kt.method="return",Kt.arg=Pe,la(qt,Kt),Kt.method==="throw")||Jt!=="return"&&(Kt.method="throw",Kt.arg=new TypeError("The iterator does not provide a '"+Jt+"' method")),Je;var sn=Rt(Nr,qt.iterator,Kt.arg);if(sn.type==="throw")return Kt.method="throw",Kt.arg=sn.arg,Kt.delegate=null,Je;var Lr=sn.arg;return Lr?Lr.done?(Kt[qt.resultName]=Lr.value,Kt.next=qt.nextLoc,Kt.method!=="return"&&(Kt.method="next",Kt.arg=Pe),Kt.delegate=null,Je):Lr:(Kt.method="throw",Kt.arg=new TypeError("iterator result is not an object"),Kt.delegate=null,Je)}function Ln(qt){var Kt={tryLoc:qt[0]};1 in qt&&(Kt.catchLoc=qt[1]),2 in qt&&(Kt.finallyLoc=qt[2],Kt.afterLoc=qt[3]),this.tryEntries.push(Kt)}function Hn(qt){var Kt=qt.completion||{};Kt.type="normal",delete Kt.arg,qt.completion=Kt}function Tn(qt){this.tryEntries=[{tryLoc:"root"}],qt.forEach(Ln,this),this.reset(!0)}function Qn(qt){if(qt||qt===""){var Kt=qt[be];if(Kt)return Kt.call(qt);if(typeof qt.next=="function")return qt;if(!isNaN(qt.length)){var Jt=-1,Nr=function sn(){for(;++Jt=0;--sn){var Lr=this.tryEntries[sn],jn=Lr.completion;if(Lr.tryLoc==="root")return Nr("end");if(Lr.tryLoc<=this.prev){var Wn=b.call(Lr,"catchLoc"),On=b.call(Lr,"finallyLoc");if(Wn&&On){if(this.prev=0;--Nr){var sn=this.tryEntries[Nr];if(sn.tryLoc<=this.prev&&b.call(sn,"finallyLoc")&&this.prev=0;--Jt){var Nr=this.tryEntries[Jt];if(Nr.finallyLoc===Kt)return this.complete(Nr.completion,Nr.afterLoc),Hn(Nr),Je}},catch:function(Kt){for(var Jt=this.tryEntries.length-1;Jt>=0;--Jt){var Nr=this.tryEntries[Jt];if(Nr.tryLoc===Kt){var sn=Nr.completion;if(sn.type==="throw"){var Lr=sn.arg;Hn(Nr)}return Lr}}throw new Error("illegal catch attempt")},delegateYield:function(Kt,Jt,Nr){return this.delegate={iterator:Qn(Kt),resultName:Jt,nextLoc:Nr},this.method==="next"&&(this.arg=Pe),Je}},he}var U=e(63579);function R(Pe,he,Le,b,te,Re,be){try{var Ze=Pe[Re](be),Mt=Ze.value}catch(_t){Le(_t);return}Ze.done?he(Mt):Promise.resolve(Mt).then(b,te)}function q(Pe){return function(){var he=this,Le=arguments;return new Promise(function(b,te){var Re=Pe.apply(he,Le);function be(Mt){R(Re,b,te,be,Ze,"next",Mt)}function Ze(Mt){R(Re,b,te,be,Ze,"throw",Mt)}be(void 0)})}}var le=e(99227);function re(Pe,he){var Le=typeof Symbol!="undefined"&&Pe[Symbol.iterator]||Pe["@@iterator"];if(!Le){if(Array.isArray(Pe)||(Le=(0,le.Z)(Pe))||he&&Pe&&typeof Pe.length=="number"){Le&&(Pe=Le);var b=0,te=function(){};return{s:te,n:function(){return b>=Pe.length?{done:!0}:{done:!1,value:Pe[b++]}},e:function(_t){throw _t},f:te}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Re=!0,be=!1,Ze;return{s:function(){Le=Le.call(Pe)},n:function(){var _t=Le.next();return Re=_t.done,_t},e:function(_t){be=!0,Ze=_t},f:function(){try{!Re&&Le.return!=null&&Le.return()}finally{if(be)throw Ze}}}}var A=e(73825);function W(Pe){if(typeof Symbol!="undefined"&&Pe[Symbol.iterator]!=null||Pe["@@iterator"]!=null)return Array.from(Pe)}var k=e(66160);function Z(Pe){return(0,A.Z)(Pe)||W(Pe)||(0,le.Z)(Pe)||(0,k.Z)()}function z(Pe,he){if(!(Pe instanceof he))throw new TypeError("Cannot call a class as a function")}var Ee=e(89878);function Me(Pe,he){for(var Le=0;Le-1,"register failed, invalid key ".concat(te," ").concat(Le.path?"from plugin ".concat(Le.path):"",".")),b.hooks[te]=(b.hooks[te]||[]).concat(Le.apply[te])})}},{key:"getHooks",value:function(Le){var b=Le.split("."),te=Z(b),Re=te[0],be=te.slice(1),Ze=this.hooks[Re]||[];return be.length&&(Ze=Ze.map(function(Mt){try{var _t=Mt,Yt=re(be),Rt;try{for(Yt.s();!(Rt=Yt.n()).done;){var Tt=Rt.value;_t=_t[Tt]}}catch(je){Yt.e(je)}finally{Yt.f()}return _t}catch(je){return null}}).filter(Boolean)),Ze}},{key:"applyPlugins",value:function(Le){var b=Le.key,te=Le.type,Re=Le.initialValue,be=Le.args,Ze=Le.async,Mt=this.getHooks(b)||[];switch(be&&tt((0,ne.Z)(be)==="object","applyPlugins failed, args must be plain object."),Ze&&tt(te===$.modify||te===$.event,"async only works with modify and event type."),te){case $.modify:return Ze?Mt.reduce(function(){var _t=q(ae().mark(function Yt(Rt,Tt){var je;return ae().wrap(function(Be){for(;;)switch(Be.prev=Be.next){case 0:if(tt(typeof Tt=="function"||(0,ne.Z)(Tt)==="object"||ee(Tt),"applyPlugins failed, all hooks for key ".concat(b," must be function, plain object or Promise.")),!ee(Rt)){Be.next=5;break}return Be.next=4,Rt;case 4:Rt=Be.sent;case 5:if(typeof Tt!="function"){Be.next=16;break}if(je=Tt(Rt,be),!ee(je)){Be.next=13;break}return Be.next=10,je;case 10:return Be.abrupt("return",Be.sent);case 13:return Be.abrupt("return",je);case 14:Be.next=21;break;case 16:if(!ee(Tt)){Be.next=20;break}return Be.next=19,Tt;case 19:Tt=Be.sent;case 20:return Be.abrupt("return",(0,U.Z)((0,U.Z)({},Rt),Tt));case 21:case"end":return Be.stop()}},Yt)}));return function(Yt,Rt){return _t.apply(this,arguments)}}(),ee(Re)?Re:Promise.resolve(Re)):Mt.reduce(function(_t,Yt){return tt(typeof Yt=="function"||(0,ne.Z)(Yt)==="object","applyPlugins failed, all hooks for key ".concat(b," must be function or plain object.")),typeof Yt=="function"?Yt(_t,be):(0,U.Z)((0,U.Z)({},_t),Yt)},Re);case $.event:return q(ae().mark(function _t(){var Yt,Rt,Tt,je;return ae().wrap(function(Be){for(;;)switch(Be.prev=Be.next){case 0:Yt=re(Mt),Be.prev=1,Yt.s();case 3:if((Rt=Yt.n()).done){Be.next=12;break}if(Tt=Rt.value,tt(typeof Tt=="function","applyPlugins failed, all hooks for key ".concat(b," must be function.")),je=Tt(be),!(Ze&&ee(je))){Be.next=10;break}return Be.next=10,je;case 10:Be.next=3;break;case 12:Be.next=17;break;case 14:Be.prev=14,Be.t0=Be.catch(1),Yt.e(Be.t0);case 17:return Be.prev=17,Yt.f(),Be.finish(17);case 20:case"end":return Be.stop()}},_t,null,[[1,14,17,20]])}))();case $.compose:return function(){return gt({fns:Mt.concat(Re),args:be})()}}}}],[{key:"create",value:function(Le){var b=new Pe({validKeys:Le.validKeys});return Le.plugins.forEach(function(te){b.register(te)}),b}}]),Pe}(),Y=e(65337),ye=e(31468),J=e.n(ye),ve=0,ge=0;function fe(Pe,he){if(0)var Le}function Te(Pe){return JSON.stringify(Pe,null,2)}function We(Pe){var he=Pe.length>1?Pe.map(nt).join(" "):Pe[0];return J()(he)==="object"?"".concat(Te(he)):he.toString()}function nt(Pe){return J()(Pe)==="object"?"".concat(JSON.stringify(Pe)):Pe.toString()}var Xe={log:function(){for(var he=arguments.length,Le=new Array(he),b=0;bd.length)&&(p=d.length);for(var e=0,n=new Array(p);ev.length)&&(l=v.length);for(var g=0,E=new Array(l);g=0;--Me){var et=this.tryEntries[Me],Ve=et.completion;if(et.tryLoc==="root")return Ee("end");if(et.tryLoc<=this.prev){var tt=O.call(et,"catchLoc"),gt=O.call(et,"finallyLoc");if(tt&>){if(this.prev=0;--Ee){var Me=this.tryEntries[Ee];if(Me.tryLoc<=this.prev&&O.call(Me,"finallyLoc")&&this.prev=0;--z){var Ee=this.tryEntries[z];if(Ee.finallyLoc===Z)return this.complete(Ee.completion,Ee.afterLoc),le(Ee),B}},catch:function(Z){for(var z=this.tryEntries.length-1;z>=0;--z){var Ee=this.tryEntries[z];if(Ee.tryLoc===Z){var Me=Ee.completion;if(Me.type==="throw"){var et=Me.arg;le(Ee)}return et}}throw new Error("illegal catch attempt")},delegateYield:function(Z,z,Ee){return this.delegate={iterator:A(Z),resultName:z,nextLoc:Ee},this.method==="next"&&(this.arg=void 0),B}},S}function c(S,x,O,j,_,K,P){try{var I=S[K](P),L=I.value}catch(H){O(H);return}I.done?x(L):Promise.resolve(L).then(j,_)}function f(S){return function(){var x=this,O=arguments;return new Promise(function(j,_){var K=S.apply(x,O);function P(L){c(K,j,_,P,I,"next",L)}function I(L){c(K,j,_,P,I,"throw",L)}P(void 0)})}}function s(S,x){return g(S)||l(S,x)||y(S,x)||m()}function m(){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 y(S,x){if(S){if(typeof S=="string")return v(S,x);var O=Object.prototype.toString.call(S).slice(8,-1);if(O==="Object"&&S.constructor&&(O=S.constructor.name),O==="Map"||O==="Set")return Array.from(S);if(O==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(O))return v(S,x)}}function v(S,x){(x==null||x>S.length)&&(x=S.length);for(var O=0,j=new Array(x);O=0;--ye){var J=this.tryEntries[ye],ve=J.completion;if(J.tryLoc==="root")return Y("end");if(J.tryLoc<=this.prev){var ge=B.call(J,"catchLoc"),fe=B.call(J,"finallyLoc");if(ge&&fe){if(this.prev=0;--Y){var ye=this.tryEntries[Y];if(ye.tryLoc<=this.prev&&B.call(ye,"finallyLoc")&&this.prev=0;--X){var Y=this.tryEntries[X];if(Y.finallyLoc===$)return this.complete(Y.completion,Y.afterLoc),et(Y),ae}},catch:function($){for(var X=this.tryEntries.length-1;X>=0;--X){var Y=this.tryEntries[X];if(Y.tryLoc===$){var ye=Y.completion;if(ye.type==="throw"){var J=ye.arg;et(Y)}return J}}throw new Error("illegal catch attempt")},delegateYield:function($,X,Y){return this.delegate={iterator:tt($),resultName:X,nextLoc:Y},this.method==="next"&&(this.arg=void 0),ae}},H}function c(H,V,B,G,ce,pe,Ae){try{var Ne=H[pe](Ae),me=Ne.value}catch(Q){B(Q);return}Ne.done?V(me):Promise.resolve(me).then(G,ce)}function f(H){return function(){var V=this,B=arguments;return new Promise(function(G,ce){var pe=H.apply(V,B);function Ae(me){c(pe,G,ce,Ae,Ne,"next",me)}function Ne(me){c(pe,G,ce,Ae,Ne,"throw",me)}Ae(void 0)})}}function s(H){"@babel/helpers - typeof";return s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(V){return typeof V}:function(V){return V&&typeof Symbol=="function"&&V.constructor===Symbol&&V!==Symbol.prototype?"symbol":typeof V},s(H)}function m(H,V){return E(H)||g(H,V)||v(H,V)||y()}function y(){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 v(H,V){if(H){if(typeof H=="string")return l(H,V);var B=Object.prototype.toString.call(H).slice(8,-1);if(B==="Object"&&H.constructor&&(B=H.constructor.name),B==="Map"||B==="Set")return Array.from(H);if(B==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(B))return l(H,V)}}function l(H,V){(V==null||V>H.length)&&(V=H.length);for(var B=0,G=new Array(V);B, document.getElementById('root'), -);`)},j=typeof window!="undefined"?o.useLayoutEffect:o.useEffect,_=function(){var V=(0,a.b)();return(0,o.useCallback)(function(B,G){return("order"in B&&"order"in G?B.order-G.order:0)||("link"in B&&"link"in G?B.link.split("/").length-G.link.split("/").length:0)||("path"in B&&"path"in G?B.path.split("/").length-G.path.split("/").length:0)||(B.title?B.title.localeCompare(G.title||"",V.id):-1)},[])},K=function(V,B,G){var ce,pe=B==="nav.second"?s(G.nav)==="object"?G.nav.second:{}:G[B];switch(s(pe)){case"object":V.title=pe.title||V.title,V.order=(ce=pe.order)!==null&&ce!==void 0?ce:V.order;break;case"string":V.title=pe||V.title;break;default:}return V};function P(H,V){return Array.isArray(H)?H:H[V.id]}function I(H){return L.apply(this,arguments)}function L(){return L=f(u().mark(function H(V){var B,G;return u().wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:if(!(V instanceof Promise)){pe.next=6;break}return pe.next=3,V;case 3:pe.t0=pe.sent,pe.next=7;break;case 6:pe.t0=V;case 7:return G=pe.t0,pe.abrupt("return",(B=G.default)!==null&&B!==void 0?B:G);case 9:case"end":return pe.stop()}},H)})),L.apply(this,arguments)}},73596:function(d,p,e){"use strict";e.d(p,{r:function(){return m}});var n=e(21739),o=Object.defineProperty,a=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,f=(v,l,g)=>l in v?o(v,l,{enumerable:!0,configurable:!0,writable:!0,value:g}):v[l]=g,s=(v,l)=>{for(var g in l||(l={}))u.call(l,g)&&f(v,g,l[g]);if(a)for(var g of a(l))c.call(l,g)&&f(v,g,l[g]);return v};const m=v=>n.createElement("svg",s({viewBox:"64 64 896 896"},v),n.createElement("path",{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 0 0-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}));var y="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNOTEyIDE5MGgtNjkuOWMtOS44IDAtMTkuMSA0LjUtMjUuMSAxMi4yTDQwNC43IDcyNC41IDIwNyA0NzRhMzIgMzIgMCAwIDAtMjUuMS0xMi4ySDExMmMtNi43IDAtMTAuNCA3LjctNi4zIDEyLjlsMjczLjkgMzQ3YzEyLjggMTYuMiAzNy40IDE2LjIgNTAuMyAwbDQ4OC40LTYxOC45YzQuMS01LjEuNC0xMi44LTYuMy0xMi44eiIvPjwvc3ZnPg=="},79582:function(d,p,e){"use strict";e.d(p,{r:function(){return m}});var n=e(21739),o=Object.defineProperty,a=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,f=(v,l,g)=>l in v?o(v,l,{enumerable:!0,configurable:!0,writable:!0,value:g}):v[l]=g,s=(v,l)=>{for(var g in l||(l={}))u.call(l,g)&&f(v,g,l[g]);if(a)for(var g of a(l))c.call(l,g)&&f(v,g,l[g]);return v};const m=v=>n.createElement("svg",s({viewBox:"64 64 896 896"},v),n.createElement("path",{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 0 0 0-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 0 0 9.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}));var y="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNMjU3LjcgNzUyYzIgMCA0LS4yIDYtLjVMNDMxLjkgNzIyYzItLjQgMy45LTEuMyA1LjMtMi44bDQyMy45LTQyMy45YTkuOTYgOS45NiAwIDAgMCAwLTE0LjFMNjk0LjkgMTE0LjljLTEuOS0xLjktNC40LTIuOS03LjEtMi45cy01LjIgMS03LjEgMi45TDI1Ni44IDUzOC44Yy0xLjUgMS41LTIuNCAzLjMtMi44IDUuM2wtMjkuNSAxNjguMmEzMy41IDMzLjUgMCAwIDAgOS40IDI5LjhjNi42IDYuNCAxNC45IDkuOSAyMy44IDkuOXptNjcuNC0xNzQuNEw2ODcuOCAyMTVsNzMuMyA3My4zLTM2Mi43IDM2Mi42LTg4LjkgMTUuNyAxNS42LTg5ek04ODAgODM2SDE0NGMtMTcuNyAwLTMyIDE0LjMtMzIgMzJ2MzZjMCA0LjQgMy42IDggOCA4aDc4NGM0LjQgMCA4LTMuNiA4LTh2LTM2YzAtMTcuNy0xNC4zLTMyLTMyLTMyeiIvPjwvc3ZnPg=="},35353:function(d,p,e){"use strict";e.d(p,{Il:function(){return c},Ov:function(){return f},T$:function(){return m}});var n=e(38127),o=e(21739),a=e(35338),u=["element"],c=o.createContext({});function f(){return o.useContext(c)}function s(){var g=(0,a.TH)(),E=f(),w=E.clientRoutes,S=(0,a.fp)(w,g.pathname);return S||[]}function m(){var g,E=s().slice(-1),w=((g=E[0])===null||g===void 0?void 0:g.route)||{},S=w.element,x=(0,n.Z)(w,u);return x}function y(){var g=s(),E=f(),w=E.serverLoaderData,S=E.basename,x=React.useState(function(){var K={},P=!1;return g.forEach(function(I){var L=w[I.route.id];L&&(Object.assign(K,L),P=!0)}),P?K:void 0}),O=_slicedToArray(x,2),j=O[0],_=O[1];return React.useEffect(function(){window.__UMI_LOADER_DATA__||Promise.all(g.filter(function(K){return K.route.hasServerLoader}).map(function(K){return new Promise(function(P){fetchServerLoader({id:K.route.id,basename:S,cb:P})})})).then(function(K){if(K.length){var P={};K.forEach(function(I){Object.assign(P,I)}),_(P)}})},[]),{data:j}}function v(){var g=useRouteData(),E=f();return{data:E.clientLoaderData[g.route.id]}}function l(){var g=y(),E=v();return{data:_objectSpread(_objectSpread({},g.data),E.data)}}},9836:function(d,p,e){"use strict";e.d(p,{Q:function(){return a},X:function(){return o}});var n=e(21739),o=n.createContext(void 0);function a(){return n.useContext(o)}},12124:function(d,p){var e,n;(function(){"use strict";var o={}.hasOwnProperty,a="[native code]";function u(){for(var c=[],f=0;f{for(var H in L)p(I,H,{get:L[H],enumerable:!0})},u=(I,L,H,V)=>{if(L&&typeof L=="object"||typeof L=="function")for(let B of n(L))!o.call(I,B)&&B!==H&&p(I,B,{get:()=>L[B],enumerable:!(V=e(L,B))||V.enumerable});return I},c=I=>u(p({},"__esModule",{value:!0}),I),f={};a(f,{DEFAULT_DEMO_MODULE_EXTENSIONS:()=>j,DEFAULT_DEMO_PLAIN_TEXT_EXTENSIONS:()=>_,FS_CACHE_DIR:()=>K,LOCAL_DUMI_DIR:()=>s,LOCAL_PAGES_DIR:()=>y,LOCAL_THEME_DIR:()=>m,PICKED_PKG_FIELDS:()=>w,PREFERS_COLOR_ATTR:()=>g,PREFERS_COLOR_LS_KEY:()=>E,SHOULD_SKIP_LIVEDEMO_ERROR:()=>P,SP_ROUTE_PREFIX:()=>l,THEME_PREFIX:()=>v,USELESS_TMP_FILES:()=>S,VERSION_2_DEPRECATE_SOFT_BREAKS:()=>O,VERSION_2_LEVEL_NAV:()=>x}),d.exports=c(f);var s=".dumi",m=`${s}/theme`,y=`${s}/pages`,v="dumi-theme-",l="~",g="data-prefers-color",E="dumi:prefers-color",w={name:"",description:"",version:"",license:"",repository:"",author:"",authors:""},S=["tsconfig.json","typings.d.ts"],x="^2.2.0",O="^2.2.0",j=[".js",".jsx",".ts",".tsx"],_=[".css",".less",".sass",".scss",".styl",".json"],K="node_modules/.cache/dumi",P=["Unable to find node on an unmounted component","#188","Portals are not currently supported by the server renderer","#257"]},71486:function(d,p,e){"use strict";var n=e(2738),o=e(21739),a=e(87924),u=e(54131);function c(B){"@babel/helpers - typeof";return c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(G){return typeof G}:function(G){return G&&typeof Symbol=="function"&&G.constructor===Symbol&&G!==Symbol.prototype?"symbol":typeof G},c(B)}function f(B,G){return l(B)||v(B,G)||m(B,G)||s()}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 m(B,G){if(B){if(typeof B=="string")return y(B,G);var ce=Object.prototype.toString.call(B).slice(8,-1);if(ce==="Object"&&B.constructor&&(ce=B.constructor.name),ce==="Map"||ce==="Set")return Array.from(B);if(ce==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ce))return y(B,G)}}function y(B,G){(G==null||G>B.length)&&(G=B.length);for(var ce=0,pe=new Array(G);ce"))},function:function(G){var ce=this,pe=G.signature;if(!pe)return o.createElement("span",null,"Function");var Ae="oneOf"in pe?pe.oneOf:[pe];return Ae.map(function(Ne,me){return o.createElement("span",{key:"".concat(me)},Ne.isAsync?o.createElement(O,null,"async"):"",o.createElement(O,null,"("),Ne.arguments.map(function(Q,ne){return o.createElement("span",{key:"".concat(me).concat(ne)},o.createElement("span",null,Q.key),Q.hasQuestionToken&&o.createElement(O,null,"?"),o.createElement(O,null,":"),ce.toNode(Q.schema?Q.schema:j(Q)),ne"),ce.toNode(Ne.returnType),me")):"")},getValidClassName:function(G){return"className"in G&&typeof G.className=="string"&&G.className!=="__type"?o.createElement(_,G):null}},P=function(G){var ce=useState(function(){return K.toNode(G)}),pe=f(ce,2),Ae=pe[0],Ne=pe[1];return useEffect(function(){Ne(K.toNode(G))},[G]),React.createElement("code",{className:"dumi-default-api-type"},Ae)};function I(B){var G={};return Object.entries(B).forEach(function(ce){var pe,Ae,Ne=f(ce,2),me=Ne[0],Q=Ne[1],ne=(pe=Q.tags)===null||pe===void 0?void 0:pe.modifierTags,ae=(Ae=Q.tags)===null||Ae===void 0?void 0:Ae.blockTags;ne==null||ne.forEach(function(U){(U==="alpha"||U==="beta"||U==="experimental")&&(G[me]=[U])}),ae==null||ae.forEach(function(U){var R=U.tag,q=U.content;if(R==="deprecated"||R==="since"){var le=q.map(function(re){return re.text}).join("");G[me]=[R,le]}})}),G}var L=function(G){var ce=G.name,pe=G.info,Ae=useIntl(),Ne=f(pe,2),me=Ne[0],Q=Ne[1],ne=w({className:"dumi-default-api-release-modifer"},"data-release",me);Q&&me==="deprecated"&&(ne["data-dumi-tooltip"]=Q);var ae=me==="since"?"".concat(Q,"+"):Ae.formatMessage({id:"api.component.release.".concat(me)});return React.createElement("span",{className:"dumi-default-api-release"},React.createElement("span",{className:"dumi-default-api-release-name","data-release":me},ce),React.createElement("span",ne,me==="deprecated"?ae:React.createElement(Badge,{type:"info"},ae)))},H=function(G){var ce=useRouteMeta(),pe=ce.frontmatter,Ae=useAtomAssets(),Ne=Ae.components,me=G.id||pe.atomId,Q=useIntl();if(!me)throw new Error("`id` properties if required for API component!");var ne=Ne==null?void 0:Ne[me],ae={},U=(G.type||"props").toLowerCase();if(ne){var R,q="".concat(U,"Config");ae=((R=ne[q])===null||R===void 0?void 0:R.properties)||{}}var le=useMemo(function(){return I(ae)},[ae]);return React.createElement("div",{className:"markdown"},React.createElement(Table,null,React.createElement("thead",null,React.createElement("tr",null,React.createElement("th",null,Q.formatMessage({id:"api.component.name"})),React.createElement("th",null,Q.formatMessage({id:"api.component.description"})),React.createElement("th",null,Q.formatMessage({id:"api.component.type"})),U==="props"&&React.createElement("th",null,Q.formatMessage({id:"api.component.default"})))),React.createElement("tbody",null,Object.keys(ae).length?Object.entries(ae).map(function(re){var A,W=f(re,2),k=W[0],Z=W[1];return React.createElement("tr",{key:k},React.createElement("td",null,le[k]?React.createElement(L,{name:k,info:le[k]}):k),React.createElement("td",null,Z.description||"--"),React.createElement("td",null,React.createElement(P,Z)),U==="props"&&React.createElement("td",null,React.createElement("code",null,(A=ne.propsConfig.required)!==null&&A!==void 0&&A.includes(k)?Q.formatMessage({id:"api.component.required"}):JSON.stringify(Z.default)||"--")))}):React.createElement("tr",null,React.createElement("td",{colSpan:4},Q.formatMessage({id:"api.component.".concat(Ne?"not.found":"unavailable")},{id:me}))))))},V=null},87924:function(d,p,e){"use strict";var n=e(21739);function o(){return o=Object.assign?Object.assign.bind():function(c){for(var f=1;fZ in k?o(k,Z,{enumerable:!0,configurable:!0,writable:!0,value:z}):k[Z]=z,s=(k,Z)=>{for(var z in Z||(Z={}))u.call(Z,z)&&f(k,z,Z[z]);if(a)for(var z of a(Z))c.call(Z,z)&&f(k,z,Z[z]);return k};const m=k=>n.createElement("svg",s({viewBox:"64 64 896 896"},k),n.createElement("path",{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0 0 51.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}),n.createElement("path",{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}));var y="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNNjk5IDM1M2gtNDYuOWMtMTAuMiAwLTE5LjkgNC45LTI1LjkgMTMuM0w0NjkgNTg0LjNsLTcxLjItOTguOGMtNi04LjMtMTUuNi0xMy4zLTI1LjktMTMuM0gzMjVjLTYuNSAwLTEwLjMgNy40LTYuNSAxMi43bDEyNC42IDE3Mi44YTMxLjggMzEuOCAwIDAgMCA1MS43IDBsMjEwLjYtMjkyYzMuOS01LjMuMS0xMi43LTYuNC0xMi43eiIvPjxwYXRoIGQ9Ik01MTIgNjRDMjY0LjYgNjQgNjQgMjY0LjYgNjQgNTEyczIwMC42IDQ0OCA0NDggNDQ4IDQ0OC0yMDAuNiA0NDgtNDQ4Uzc1OS40IDY0IDUxMiA2NHptMCA4MjBjLTIwNS40IDAtMzcyLTE2Ni42LTM3Mi0zNzJzMTY2LjYtMzcyIDM3Mi0zNzIgMzcyIDE2Ni42IDM3MiAzNzItMTY2LjYgMzcyLTM3MiAzNzJ6Ii8+PC9zdmc+",v=Object.defineProperty,l=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,w=(k,Z,z)=>Z in k?v(k,Z,{enumerable:!0,configurable:!0,writable:!0,value:z}):k[Z]=z,S=(k,Z)=>{for(var z in Z||(Z={}))g.call(Z,z)&&w(k,z,Z[z]);if(l)for(var z of l(Z))E.call(Z,z)&&w(k,z,Z[z]);return k};const x=k=>n.createElement("svg",S({fillRule:"evenodd",viewBox:"64 64 896 896"},k),n.createElement("path",{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 0 1 .05.09.12.12 0 0 1 0 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 0 1 .05.06v.02a.12.12 0 0 1 0 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 0 1-.09.05.12.12 0 0 1-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 0 1-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 0 1-.05-.09.12.12 0 0 1 0-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 0 1-.05-.06l-.01-.02a.12.12 0 0 1 0-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 0 1 .09-.05.12.12 0 0 1 .07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 0 1 .07 0z"}));var O="data:image/svg+xml;base64,PHN2ZyBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiPjxwYXRoIGQ9Ik01MTIgNjRjMjQ3LjQgMCA0NDggMjAwLjYgNDQ4IDQ0OFM3NTkuNCA5NjAgNTEyIDk2MCA2NCA3NTkuNCA2NCA1MTIgMjY0LjYgNjQgNTEyIDY0em0wIDc2Yy0yMDUuNCAwLTM3MiAxNjYuNi0zNzIgMzcyczE2Ni42IDM3MiAzNzIgMzcyIDM3Mi0xNjYuNiAzNzItMzcyLTE2Ni42LTM3Mi0zNzItMzcyem0xMjguMDEgMTk4LjgzYy4wMyAwIC4wNS4wMS4wOS4wNmw0NS4wMiA0NS4wMWEuMi4yIDAgMCAxIC4wNS4wOS4xMi4xMiAwIDAgMSAwIC4wN2MwIC4wMi0uMDEuMDQtLjA1LjA4TDU1Ny4yNSA1MTJsMTI3Ljg3IDEyNy44NmEuMjcuMjcgMCAwIDEgLjA1LjA2di4wMmEuMTIuMTIgMCAwIDEgMCAuMDdjMCAuMDMtLjAxLjA1LS4wNS4wOWwtNDUuMDIgNDUuMDJhLjIuMiAwIDAgMS0uMDkuMDUuMTIuMTIgMCAwIDEtLjA3IDBjLS4wMiAwLS4wNC0uMDEtLjA4LS4wNUw1MTIgNTU3LjI1IDM4NC4xNCA2ODUuMTJjLS4wNC4wNC0uMDYuMDUtLjA4LjA1YS4xMi4xMiAwIDAgMS0uMDcgMGMtLjAzIDAtLjA1LS4wMS0uMDktLjA1bC00NS4wMi00NS4wMmEuMi4yIDAgMCAxLS4wNS0uMDkuMTIuMTIgMCAwIDEgMC0uMDdjMC0uMDIuMDEtLjA0LjA2LS4wOEw0NjYuNzUgNTEyIDMzOC44OCAzODQuMTRhLjI3LjI3IDAgMCAxLS4wNS0uMDZsLS4wMS0uMDJhLjEyLjEyIDAgMCAxIDAtLjA3YzAtLjAzLjAxLS4wNS4wNS0uMDlsNDUuMDItNDUuMDJhLjIuMiAwIDAgMSAuMDktLjA1LjEyLjEyIDAgMCAxIC4wNyAwYy4wMiAwIC4wNC4wMS4wOC4wNkw1MTIgNDY2Ljc1bDEyNy44Ni0xMjcuODZjLjA0LS4wNS4wNi0uMDYuMDgtLjA2YS4xMi4xMiAwIDAgMSAuMDcgMHoiLz48L3N2Zz4=",j=Object.defineProperty,_=Object.getOwnPropertySymbols,K=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable,I=(k,Z,z)=>Z in k?j(k,Z,{enumerable:!0,configurable:!0,writable:!0,value:z}):k[Z]=z,L=(k,Z)=>{for(var z in Z||(Z={}))K.call(Z,z)&&I(k,z,Z[z]);if(_)for(var z of _(Z))P.call(Z,z)&&I(k,z,Z[z]);return k};const H=k=>n.createElement("svg",L({viewBox:"64 64 896 896"},k),n.createElement("path",{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}),n.createElement("path",{d:"M464 336a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}));var V="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNNTEyIDY0QzI2NC42IDY0IDY0IDI2NC42IDY0IDUxMnMyMDAuNiA0NDggNDQ4IDQ0OCA0NDgtMjAwLjYgNDQ4LTQ0OFM3NTkuNCA2NCA1MTIgNjR6bTAgODIwYy0yMDUuNCAwLTM3Mi0xNjYuNi0zNzItMzcyczE2Ni42LTM3MiAzNzItMzcyIDM3MiAxNjYuNiAzNzIgMzcyLTE2Ni42IDM3Mi0zNzIgMzcyeiIvPjxwYXRoIGQ9Ik00NjQgMzM2YTQ4IDQ4IDAgMSAwIDk2IDAgNDggNDggMCAxIDAtOTYgMHptNzIgMTEyaC00OGMtNC40IDAtOCAzLjYtOCA4djI3MmMwIDQuNCAzLjYgOCA4IDhoNDhjNC40IDAgOC0zLjYgOC04VjQ1NmMwLTQuNC0zLjYtOC04LTh6Ii8+PC9zdmc+",B=Object.defineProperty,G=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable,Ae=(k,Z,z)=>Z in k?B(k,Z,{enumerable:!0,configurable:!0,writable:!0,value:z}):k[Z]=z,Ne=(k,Z)=>{for(var z in Z||(Z={}))ce.call(Z,z)&&Ae(k,z,Z[z]);if(G)for(var z of G(Z))pe.call(Z,z)&&Ae(k,z,Z[z]);return k};const me=k=>n.createElement("svg",Ne({viewBox:"64 64 896 896"},k),n.createElement("path",{d:"M464 720a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zm475.7 440-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z"}));var Q="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNNDY0IDcyMGE0OCA0OCAwIDEgMCA5NiAwIDQ4IDQ4IDAgMSAwLTk2IDB6bTE2LTMwNHYxODRjMCA0LjQgMy42IDggOCA4aDQ4YzQuNCAwIDgtMy42IDgtOFY0MTZjMC00LjQtMy42LTgtOC04aC00OGMtNC40IDAtOCAzLjYtOCA4em00NzUuNyA0NDAtNDE2LTcyMGMtNi4yLTEwLjctMTYuOS0xNi0yNy43LTE2cy0yMS42IDUuMy0yNy43IDE2bC00MTYgNzIwQzU2IDg3Ny40IDcxLjQgOTA0IDk2IDkwNGg4MzJjMjQuNiAwIDQwLTI2LjYgMjcuNy00OHptLTc4My41LTI3LjlMNTEyIDIzOS45bDMzOS44IDU4OC4ySDE3Mi4yeiIvPjwvc3ZnPg==";function ne(k,Z){return le(k)||q(k,Z)||U(k,Z)||ae()}function ae(){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(k,Z){if(k){if(typeof k=="string")return R(k,Z);var z=Object.prototype.toString.call(k).slice(8,-1);if(z==="Object"&&k.constructor&&(z=k.constructor.name),z==="Map"||z==="Set")return Array.from(k);if(z==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(z))return R(k,Z)}}function R(k,Z){(Z==null||Z>k.length)&&(Z=k.length);for(var z=0,Ee=new Array(Z);zOe in Ie?o(Ie,Oe,{enumerable:!0,configurable:!0,writable:!0,value:De}):Ie[Oe]=De,s=(Ie,Oe)=>{for(var De in Oe||(Oe={}))u.call(Oe,De)&&f(Ie,De,Oe[De]);if(a)for(var De of a(Oe))c.call(Oe,De)&&f(Ie,De,Oe[De]);return Ie};const m=Ie=>n.createElement("svg",s({fillRule:"evenodd",viewBox:"64 64 896 896"},Ie),n.createElement("path",{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 0 0-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 0 0-.05.09.12.12 0 0 0 0 .07v.02a.27.27 0 0 0 .06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 0 0 0 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 0 0 .09.05.12.12 0 0 0 .07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 0 0 .07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 0 0 .05-.09.12.12 0 0 0 0-.07v-.02a.27.27 0 0 0-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 0 0 0-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 0 0-.09-.05.12.12 0 0 0-.07 0z"}));var y="data:image/svg+xml;base64,PHN2ZyBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiPjxwYXRoIGQ9Ik01MTIgNjRjMjQ3LjQgMCA0NDggMjAwLjYgNDQ4IDQ0OFM3NTkuNCA5NjAgNTEyIDk2MCA2NCA3NTkuNCA2NCA1MTIgMjY0LjYgNjQgNTEyIDY0em0xMjcuOTggMjc0LjgyaC0uMDRsLS4wOC4wNkw1MTIgNDY2Ljc1IDM4NC4xNCAzMzguODhjLS4wNC0uMDUtLjA2LS4wNi0uMDgtLjA2YS4xMi4xMiAwIDAgMC0uMDcgMGMtLjAzIDAtLjA1LjAxLS4wOS4wNWwtNDUuMDIgNDUuMDJhLjIuMiAwIDAgMC0uMDUuMDkuMTIuMTIgMCAwIDAgMCAuMDd2LjAyYS4yNy4yNyAwIDAgMCAuMDYuMDZMNDY2Ljc1IDUxMiAzMzguODggNjM5Ljg2Yy0uMDUuMDQtLjA2LjA2LS4wNi4wOGEuMTIuMTIgMCAwIDAgMCAuMDdjMCAuMDMuMDEuMDUuMDUuMDlsNDUuMDIgNDUuMDJhLjIuMiAwIDAgMCAuMDkuMDUuMTIuMTIgMCAwIDAgLjA3IDBjLjAyIDAgLjA0LS4wMS4wOC0uMDVMNTEyIDU1Ny4yNWwxMjcuODYgMTI3Ljg3Yy4wNC4wNC4wNi4wNS4wOC4wNWEuMTIuMTIgMCAwIDAgLjA3IDBjLjAzIDAgLjA1LS4wMS4wOS0uMDVsNDUuMDItNDUuMDJhLjIuMiAwIDAgMCAuMDUtLjA5LjEyLjEyIDAgMCAwIDAtLjA3di0uMDJhLjI3LjI3IDAgMCAwLS4wNS0uMDZMNTU3LjI1IDUxMmwxMjcuODctMTI3Ljg2Yy4wNC0uMDQuMDUtLjA2LjA1LS4wOGEuMTIuMTIgMCAwIDAgMC0uMDdjMC0uMDMtLjAxLS4wNS0uMDUtLjA5bC00NS4wMi00NS4wMmEuMi4yIDAgMCAwLS4wOS0uMDUuMTIuMTIgMCAwIDAtLjA3IDB6Ii8+PC9zdmc+",v=e(12124),l=e.n(v),g=e(2738),E=e(25085),w=e(73596),S=Object.defineProperty,x=Object.getOwnPropertySymbols,O=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable,_=(Ie,Oe,De)=>Oe in Ie?S(Ie,Oe,{enumerable:!0,configurable:!0,writable:!0,value:De}):Ie[Oe]=De,K=(Ie,Oe)=>{for(var De in Oe||(Oe={}))O.call(Oe,De)&&_(Ie,De,Oe[De]);if(x)for(var De of x(Oe))j.call(Oe,De)&&_(Ie,De,Oe[De]);return Ie};const P=Ie=>n.createElement("svg",K({viewBox:"64 64 896 896"},Ie),n.createElement("path",{d:"m709.6 210 .4-.2h.2L512 96 313.9 209.8h-.2l.7.3L151.5 304v416L512 928l360.5-208V304l-162.9-94zM482.7 843.6 339.6 761V621.4L210 547.8V372.9l272.7 157.3v313.4zM238.2 321.5l134.7-77.8 138.9 79.7 139.1-79.9 135.2 78-273.9 158-274-158zM814 548.3l-128.8 73.1v139.1l-143.9 83V530.4L814 373.1v175.2z"}));var I="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJtNzA5LjYgMjEwIC40LS4yaC4yTDUxMiA5NiAzMTMuOSAyMDkuOGgtLjJsLjcuM0wxNTEuNSAzMDR2NDE2TDUxMiA5MjhsMzYwLjUtMjA4VjMwNGwtMTYyLjktOTR6TTQ4Mi43IDg0My42IDMzOS42IDc2MVY2MjEuNEwyMTAgNTQ3LjhWMzcyLjlsMjcyLjcgMTU3LjN2MzEzLjR6TTIzOC4yIDMyMS41bDEzNC43LTc3LjggMTM4LjkgNzkuNyAxMzkuMS03OS45IDEzNS4yIDc4LTI3My45IDE1OC0yNzQtMTU4ek04MTQgNTQ4LjNsLTEyOC44IDczLjF2MTM5LjFsLTE0My45IDgzVjUzMC40TDgxNCAzNzMuMXYxNzUuMnoiLz48L3N2Zz4=",L=e(79582),H=Object.defineProperty,V=Object.getOwnPropertySymbols,B=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable,ce=(Ie,Oe,De)=>Oe in Ie?H(Ie,Oe,{enumerable:!0,configurable:!0,writable:!0,value:De}):Ie[Oe]=De,pe=(Ie,Oe)=>{for(var De in Oe||(Oe={}))B.call(Oe,De)&&ce(Ie,De,Oe[De]);if(V)for(var De of V(Oe))G.call(Oe,De)&&ce(Ie,De,Oe[De]);return Ie};const Ae=Ie=>n.createElement("svg",pe({viewBox:"64 64 896 896"},Ie),n.createElement("path",{d:"m925.6 405.1-203-253.7a6.5 6.5 0 0 0-5-2.4H306.4c-1.9 0-3.8.9-5 2.4l-203 253.7a6.5 6.5 0 0 0 .2 8.3l408.6 459.5c1.2 1.4 3 2.1 4.8 2.1 1.8 0 3.5-.8 4.8-2.1l408.6-459.5a6.5 6.5 0 0 0 .2-8.3zM645.2 206.4l34.4 133.9-132.5-133.9h98.1zm8.2 178.5H370.6L512 242l141.4 142.9zM378.8 206.4h98.1L344.3 340.3l34.5-133.9zm-53.4 7-44.1 171.5h-93.1l137.2-171.5zM194.6 434.9H289l125.8 247.7-220.2-247.7zM512 763.4 345.1 434.9h333.7L512 763.4zm97.1-80.8L735 434.9h94.4L609.1 682.6zm133.6-297.7-44.1-171.5 137.2 171.5h-93.1z"}));var Ne="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJtOTI1LjYgNDA1LjEtMjAzLTI1My43YTYuNSA2LjUgMCAwIDAtNS0yLjRIMzA2LjRjLTEuOSAwLTMuOC45LTUgMi40bC0yMDMgMjUzLjdhNi41IDYuNSAwIDAgMCAuMiA4LjNsNDA4LjYgNDU5LjVjMS4yIDEuNCAzIDIuMSA0LjggMi4xIDEuOCAwIDMuNS0uOCA0LjgtMi4xbDQwOC42LTQ1OS41YTYuNSA2LjUgMCAwIDAgLjItOC4zek02NDUuMiAyMDYuNGwzNC40IDEzMy45LTEzMi41LTEzMy45aDk4LjF6bTguMiAxNzguNUgzNzAuNkw1MTIgMjQybDE0MS40IDE0Mi45ek0zNzguOCAyMDYuNGg5OC4xTDM0NC4zIDM0MC4zbDM0LjUtMTMzLjl6bS01My40IDctNDQuMSAxNzEuNWgtOTMuMWwxMzcuMi0xNzEuNXpNMTk0LjYgNDM0LjlIMjg5bDEyNS44IDI0Ny43LTIyMC4yLTI0Ny43ek01MTIgNzYzLjQgMzQ1LjEgNDM0LjloMzMzLjdMNTEyIDc2My40em05Ny4xLTgwLjhMNzM1IDQzNC45aDk0LjRMNjA5LjEgNjgyLjZ6bTEzMy42LTI5Ny43LTQ0LjEtMTcxLjUgMTM3LjIgMTcxLjVoLTkzLjF6Ii8+PC9zdmc+",me=Object.defineProperty,Q=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable,U=(Ie,Oe,De)=>Oe in Ie?me(Ie,Oe,{enumerable:!0,configurable:!0,writable:!0,value:De}):Ie[Oe]=De,R=(Ie,Oe)=>{for(var De in Oe||(Oe={}))ne.call(Oe,De)&&U(Ie,De,Oe[De]);if(Q)for(var De of Q(Oe))ae.call(Oe,De)&&U(Ie,De,Oe[De]);return Ie};const q=Ie=>n.createElement("svg",R({viewBox:"64 64 896 896"},Ie),n.createElement("path",{d:"M848 359.3H627.7L825.8 109c4.1-5.3.4-13-6.3-13H436c-2.8 0-5.5 1.5-6.9 4L170 547.5c-3.1 5.3.7 12 6.9 12h174.4l-89.4 357.6c-1.9 7.8 7.5 13.3 13.3 7.7L853.5 373c5.2-4.9 1.7-13.7-5.5-13.7zM378.2 732.5l60.3-241H281.1l189.6-327.4h224.6L487 427.4h211L378.2 732.5z"}));var le="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNODQ4IDM1OS4zSDYyNy43TDgyNS44IDEwOWM0LjEtNS4zLjQtMTMtNi4zLTEzSDQzNmMtMi44IDAtNS41IDEuNS02LjkgNEwxNzAgNTQ3LjVjLTMuMSA1LjMuNyAxMiA2LjkgMTJoMTc0LjRsLTg5LjQgMzU3LjZjLTEuOSA3LjggNy41IDEzLjMgMTMuMyA3LjdMODUzLjUgMzczYzUuMi00LjkgMS43LTEzLjctNS41LTEzLjd6TTM3OC4yIDczMi41bDYwLjMtMjQxSDI4MS4xbDE4OS42LTMyNy40aDIyNC42TDQ4NyA0MjcuNGgyMTFMMzc4LjIgNzMyLjV6Ii8+PC9zdmc+",re=e(25769),A=e.n(re),W=e(14033),k=function(){return n.createElement(n.Fragment,null)},Z=k;function z(){return z=Object.assign?Object.assign.bind():function(Ie){for(var Oe=1;Oel in v?o(v,l,{enumerable:!0,configurable:!0,writable:!0,value:g}):v[l]=g,s=(v,l)=>{for(var g in l||(l={}))u.call(l,g)&&f(v,g,l[g]);if(a)for(var g of a(l))c.call(l,g)&&f(v,g,l[g]);return v};const m=v=>n.createElement("svg",s({viewBox:"64 64 896 896"},v),n.createElement("path",{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 0 0-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}));var y="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNOTEyIDE5MGgtNjkuOWMtOS44IDAtMTkuMSA0LjUtMjUuMSAxMi4yTDQwNC43IDcyNC41IDIwNyA0NzRhMzIgMzIgMCAwIDAtMjUuMS0xMi4ySDExMmMtNi43IDAtMTAuNCA3LjctNi4zIDEyLjlsMjczLjkgMzQ3YzEyLjggMTYuMiAzNy40IDE2LjIgNTAuMyAwbDQ4OC40LTYxOC45YzQuMS01LjEuNC0xMi44LTYuMy0xMi44eiIvPjwvc3ZnPg=="},34864:function(d,p,e){"use strict";e.d(p,{r:function(){return m}});var n=e(21739),o=Object.defineProperty,a=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,f=(v,l,g)=>l in v?o(v,l,{enumerable:!0,configurable:!0,writable:!0,value:g}):v[l]=g,s=(v,l)=>{for(var g in l||(l={}))u.call(l,g)&&f(v,g,l[g]);if(a)for(var g of a(l))c.call(l,g)&&f(v,g,l[g]);return v};const m=v=>n.createElement("svg",s({viewBox:"64 64 896 896"},v),n.createElement("path",{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 0 0 0-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 0 0 9.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}));var y="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNMjU3LjcgNzUyYzIgMCA0LS4yIDYtLjVMNDMxLjkgNzIyYzItLjQgMy45LTEuMyA1LjMtMi44bDQyMy45LTQyMy45YTkuOTYgOS45NiAwIDAgMCAwLTE0LjFMNjk0LjkgMTE0LjljLTEuOS0xLjktNC40LTIuOS03LjEtMi45cy01LjIgMS03LjEgMi45TDI1Ni44IDUzOC44Yy0xLjUgMS41LTIuNCAzLjMtMi44IDUuM2wtMjkuNSAxNjguMmEzMy41IDMzLjUgMCAwIDAgOS40IDI5LjhjNi42IDYuNCAxNC45IDkuOSAyMy44IDkuOXptNjcuNC0xNzQuNEw2ODcuOCAyMTVsNzMuMyA3My4zLTM2Mi43IDM2Mi42LTg4LjkgMTUuNyAxNS42LTg5ek04ODAgODM2SDE0NGMtMTcuNyAwLTMyIDE0LjMtMzIgMzJ2MzZjMCA0LjQgMy42IDggOCA4aDc4NGM0LjQgMCA4LTMuNiA4LTh2LTM2YzAtMTcuNy0xNC4zLTMyLTMyLTMyeiIvPjwvc3ZnPg=="},67955:function(d,p,e){"use strict";e.d(p,{Il:function(){return c},Ov:function(){return f},T$:function(){return m}});var n=e(38127),o=e(21739),a=e(35338),u=["element"],c=o.createContext({});function f(){return o.useContext(c)}function s(){var g=(0,a.TH)(),E=f(),w=E.clientRoutes,S=(0,a.fp)(w,g.pathname);return S||[]}function m(){var g,E=s().slice(-1),w=((g=E[0])===null||g===void 0?void 0:g.route)||{},S=w.element,x=(0,n.Z)(w,u);return x}function y(){var g=s(),E=f(),w=E.serverLoaderData,S=E.basename,x=React.useState(function(){var K={},P=!1;return g.forEach(function(I){var L=w[I.route.id];L&&(Object.assign(K,L),P=!0)}),P?K:void 0}),O=_slicedToArray(x,2),j=O[0],_=O[1];return React.useEffect(function(){window.__UMI_LOADER_DATA__||Promise.all(g.filter(function(K){return K.route.hasServerLoader}).map(function(K){return new Promise(function(P){fetchServerLoader({id:K.route.id,basename:S,cb:P})})})).then(function(K){if(K.length){var P={};K.forEach(function(I){Object.assign(P,I)}),_(P)}})},[]),{data:j}}function v(){var g=useRouteData(),E=f();return{data:E.clientLoaderData[g.route.id]}}function l(){var g=y(),E=v();return{data:_objectSpread(_objectSpread({},g.data),E.data)}}},65796:function(d,p,e){"use strict";e.d(p,{Q:function(){return a},X:function(){return o}});var n=e(21739),o=n.createContext(void 0);function a(){return n.useContext(o)}},12124:function(d,p){var e,n;(function(){"use strict";var o={}.hasOwnProperty,a="[native code]";function u(){for(var c=[],f=0;f{for(var H in L)p(I,H,{get:L[H],enumerable:!0})},u=(I,L,H,V)=>{if(L&&typeof L=="object"||typeof L=="function")for(let B of n(L))!o.call(I,B)&&B!==H&&p(I,B,{get:()=>L[B],enumerable:!(V=e(L,B))||V.enumerable});return I},c=I=>u(p({},"__esModule",{value:!0}),I),f={};a(f,{DEFAULT_DEMO_MODULE_EXTENSIONS:()=>j,DEFAULT_DEMO_PLAIN_TEXT_EXTENSIONS:()=>_,FS_CACHE_DIR:()=>K,LOCAL_DUMI_DIR:()=>s,LOCAL_PAGES_DIR:()=>y,LOCAL_THEME_DIR:()=>m,PICKED_PKG_FIELDS:()=>w,PREFERS_COLOR_ATTR:()=>g,PREFERS_COLOR_LS_KEY:()=>E,SHOULD_SKIP_LIVEDEMO_ERROR:()=>P,SP_ROUTE_PREFIX:()=>l,THEME_PREFIX:()=>v,USELESS_TMP_FILES:()=>S,VERSION_2_DEPRECATE_SOFT_BREAKS:()=>O,VERSION_2_LEVEL_NAV:()=>x}),d.exports=c(f);var s=".dumi",m=`${s}/theme`,y=`${s}/pages`,v="dumi-theme-",l="~",g="data-prefers-color",E="dumi:prefers-color",w={name:"",description:"",version:"",license:"",repository:"",author:"",authors:""},S=["tsconfig.json","typings.d.ts"],x="^2.2.0",O="^2.2.0",j=[".js",".jsx",".ts",".tsx"],_=[".css",".less",".sass",".scss",".styl",".json"],K="node_modules/.cache/dumi",P=["Unable to find node on an unmounted component","#188","Portals are not currently supported by the server renderer","#257"]},3122:function(d,p,e){"use strict";var n=e(39013),o=e(21739),a=e(8407),u=e(73514);function c(B){"@babel/helpers - typeof";return c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(G){return typeof G}:function(G){return G&&typeof Symbol=="function"&&G.constructor===Symbol&&G!==Symbol.prototype?"symbol":typeof G},c(B)}function f(B,G){return l(B)||v(B,G)||m(B,G)||s()}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 m(B,G){if(B){if(typeof B=="string")return y(B,G);var ce=Object.prototype.toString.call(B).slice(8,-1);if(ce==="Object"&&B.constructor&&(ce=B.constructor.name),ce==="Map"||ce==="Set")return Array.from(B);if(ce==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ce))return y(B,G)}}function y(B,G){(G==null||G>B.length)&&(G=B.length);for(var ce=0,pe=new Array(G);ce"))},function:function(G){var ce=this,pe=G.signature;if(!pe)return o.createElement("span",null,"Function");var Ae="oneOf"in pe?pe.oneOf:[pe];return Ae.map(function(Ne,me){return o.createElement("span",{key:"".concat(me)},Ne.isAsync?o.createElement(O,null,"async"):"",o.createElement(O,null,"("),Ne.arguments.map(function(Q,ne){return o.createElement("span",{key:"".concat(me).concat(ne)},o.createElement("span",null,Q.key),Q.hasQuestionToken&&o.createElement(O,null,"?"),o.createElement(O,null,":"),ce.toNode(Q.schema?Q.schema:j(Q)),ne"),ce.toNode(Ne.returnType),me")):"")},getValidClassName:function(G){return"className"in G&&typeof G.className=="string"&&G.className!=="__type"?o.createElement(_,G):null}},P=function(G){var ce=useState(function(){return K.toNode(G)}),pe=f(ce,2),Ae=pe[0],Ne=pe[1];return useEffect(function(){Ne(K.toNode(G))},[G]),React.createElement("code",{className:"dumi-default-api-type"},Ae)};function I(B){var G={};return Object.entries(B).forEach(function(ce){var pe,Ae,Ne=f(ce,2),me=Ne[0],Q=Ne[1],ne=(pe=Q.tags)===null||pe===void 0?void 0:pe.modifierTags,ae=(Ae=Q.tags)===null||Ae===void 0?void 0:Ae.blockTags;ne==null||ne.forEach(function(U){(U==="alpha"||U==="beta"||U==="experimental")&&(G[me]=[U])}),ae==null||ae.forEach(function(U){var R=U.tag,q=U.content;if(R==="deprecated"||R==="since"){var le=q.map(function(re){return re.text}).join("");G[me]=[R,le]}})}),G}var L=function(G){var ce=G.name,pe=G.info,Ae=useIntl(),Ne=f(pe,2),me=Ne[0],Q=Ne[1],ne=w({className:"dumi-default-api-release-modifer"},"data-release",me);Q&&me==="deprecated"&&(ne["data-dumi-tooltip"]=Q);var ae=me==="since"?"".concat(Q,"+"):Ae.formatMessage({id:"api.component.release.".concat(me)});return React.createElement("span",{className:"dumi-default-api-release"},React.createElement("span",{className:"dumi-default-api-release-name","data-release":me},ce),React.createElement("span",ne,me==="deprecated"?ae:React.createElement(Badge,{type:"info"},ae)))},H=function(G){var ce=useRouteMeta(),pe=ce.frontmatter,Ae=useAtomAssets(),Ne=Ae.components,me=G.id||pe.atomId,Q=useIntl();if(!me)throw new Error("`id` properties if required for API component!");var ne=Ne==null?void 0:Ne[me],ae={},U=(G.type||"props").toLowerCase();if(ne){var R,q="".concat(U,"Config");ae=((R=ne[q])===null||R===void 0?void 0:R.properties)||{}}var le=useMemo(function(){return I(ae)},[ae]);return React.createElement("div",{className:"markdown"},React.createElement(Table,null,React.createElement("thead",null,React.createElement("tr",null,React.createElement("th",null,Q.formatMessage({id:"api.component.name"})),React.createElement("th",null,Q.formatMessage({id:"api.component.description"})),React.createElement("th",null,Q.formatMessage({id:"api.component.type"})),U==="props"&&React.createElement("th",null,Q.formatMessage({id:"api.component.default"})))),React.createElement("tbody",null,Object.keys(ae).length?Object.entries(ae).map(function(re){var A,W=f(re,2),k=W[0],Z=W[1];return React.createElement("tr",{key:k},React.createElement("td",null,le[k]?React.createElement(L,{name:k,info:le[k]}):k),React.createElement("td",null,Z.description||"--"),React.createElement("td",null,React.createElement(P,Z)),U==="props"&&React.createElement("td",null,React.createElement("code",null,(A=ne.propsConfig.required)!==null&&A!==void 0&&A.includes(k)?Q.formatMessage({id:"api.component.required"}):JSON.stringify(Z.default)||"--")))}):React.createElement("tr",null,React.createElement("td",{colSpan:4},Q.formatMessage({id:"api.component.".concat(Ne?"not.found":"unavailable")},{id:me}))))))},V=null},8407:function(d,p,e){"use strict";var n=e(21739);function o(){return o=Object.assign?Object.assign.bind():function(c){for(var f=1;fZ in k?o(k,Z,{enumerable:!0,configurable:!0,writable:!0,value:z}):k[Z]=z,s=(k,Z)=>{for(var z in Z||(Z={}))u.call(Z,z)&&f(k,z,Z[z]);if(a)for(var z of a(Z))c.call(Z,z)&&f(k,z,Z[z]);return k};const m=k=>n.createElement("svg",s({viewBox:"64 64 896 896"},k),n.createElement("path",{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0 0 51.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}),n.createElement("path",{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}));var y="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNNjk5IDM1M2gtNDYuOWMtMTAuMiAwLTE5LjkgNC45LTI1LjkgMTMuM0w0NjkgNTg0LjNsLTcxLjItOTguOGMtNi04LjMtMTUuNi0xMy4zLTI1LjktMTMuM0gzMjVjLTYuNSAwLTEwLjMgNy40LTYuNSAxMi43bDEyNC42IDE3Mi44YTMxLjggMzEuOCAwIDAgMCA1MS43IDBsMjEwLjYtMjkyYzMuOS01LjMuMS0xMi43LTYuNC0xMi43eiIvPjxwYXRoIGQ9Ik01MTIgNjRDMjY0LjYgNjQgNjQgMjY0LjYgNjQgNTEyczIwMC42IDQ0OCA0NDggNDQ4IDQ0OC0yMDAuNiA0NDgtNDQ4Uzc1OS40IDY0IDUxMiA2NHptMCA4MjBjLTIwNS40IDAtMzcyLTE2Ni42LTM3Mi0zNzJzMTY2LjYtMzcyIDM3Mi0zNzIgMzcyIDE2Ni42IDM3MiAzNzItMTY2LjYgMzcyLTM3MiAzNzJ6Ii8+PC9zdmc+",v=Object.defineProperty,l=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,w=(k,Z,z)=>Z in k?v(k,Z,{enumerable:!0,configurable:!0,writable:!0,value:z}):k[Z]=z,S=(k,Z)=>{for(var z in Z||(Z={}))g.call(Z,z)&&w(k,z,Z[z]);if(l)for(var z of l(Z))E.call(Z,z)&&w(k,z,Z[z]);return k};const x=k=>n.createElement("svg",S({fillRule:"evenodd",viewBox:"64 64 896 896"},k),n.createElement("path",{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 0 1 .05.09.12.12 0 0 1 0 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 0 1 .05.06v.02a.12.12 0 0 1 0 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 0 1-.09.05.12.12 0 0 1-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 0 1-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 0 1-.05-.09.12.12 0 0 1 0-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 0 1-.05-.06l-.01-.02a.12.12 0 0 1 0-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 0 1 .09-.05.12.12 0 0 1 .07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 0 1 .07 0z"}));var O="data:image/svg+xml;base64,PHN2ZyBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiPjxwYXRoIGQ9Ik01MTIgNjRjMjQ3LjQgMCA0NDggMjAwLjYgNDQ4IDQ0OFM3NTkuNCA5NjAgNTEyIDk2MCA2NCA3NTkuNCA2NCA1MTIgMjY0LjYgNjQgNTEyIDY0em0wIDc2Yy0yMDUuNCAwLTM3MiAxNjYuNi0zNzIgMzcyczE2Ni42IDM3MiAzNzIgMzcyIDM3Mi0xNjYuNiAzNzItMzcyLTE2Ni42LTM3Mi0zNzItMzcyem0xMjguMDEgMTk4LjgzYy4wMyAwIC4wNS4wMS4wOS4wNmw0NS4wMiA0NS4wMWEuMi4yIDAgMCAxIC4wNS4wOS4xMi4xMiAwIDAgMSAwIC4wN2MwIC4wMi0uMDEuMDQtLjA1LjA4TDU1Ny4yNSA1MTJsMTI3Ljg3IDEyNy44NmEuMjcuMjcgMCAwIDEgLjA1LjA2di4wMmEuMTIuMTIgMCAwIDEgMCAuMDdjMCAuMDMtLjAxLjA1LS4wNS4wOWwtNDUuMDIgNDUuMDJhLjIuMiAwIDAgMS0uMDkuMDUuMTIuMTIgMCAwIDEtLjA3IDBjLS4wMiAwLS4wNC0uMDEtLjA4LS4wNUw1MTIgNTU3LjI1IDM4NC4xNCA2ODUuMTJjLS4wNC4wNC0uMDYuMDUtLjA4LjA1YS4xMi4xMiAwIDAgMS0uMDcgMGMtLjAzIDAtLjA1LS4wMS0uMDktLjA1bC00NS4wMi00NS4wMmEuMi4yIDAgMCAxLS4wNS0uMDkuMTIuMTIgMCAwIDEgMC0uMDdjMC0uMDIuMDEtLjA0LjA2LS4wOEw0NjYuNzUgNTEyIDMzOC44OCAzODQuMTRhLjI3LjI3IDAgMCAxLS4wNS0uMDZsLS4wMS0uMDJhLjEyLjEyIDAgMCAxIDAtLjA3YzAtLjAzLjAxLS4wNS4wNS0uMDlsNDUuMDItNDUuMDJhLjIuMiAwIDAgMSAuMDktLjA1LjEyLjEyIDAgMCAxIC4wNyAwYy4wMiAwIC4wNC4wMS4wOC4wNkw1MTIgNDY2Ljc1bDEyNy44Ni0xMjcuODZjLjA0LS4wNS4wNi0uMDYuMDgtLjA2YS4xMi4xMiAwIDAgMSAuMDcgMHoiLz48L3N2Zz4=",j=Object.defineProperty,_=Object.getOwnPropertySymbols,K=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable,I=(k,Z,z)=>Z in k?j(k,Z,{enumerable:!0,configurable:!0,writable:!0,value:z}):k[Z]=z,L=(k,Z)=>{for(var z in Z||(Z={}))K.call(Z,z)&&I(k,z,Z[z]);if(_)for(var z of _(Z))P.call(Z,z)&&I(k,z,Z[z]);return k};const H=k=>n.createElement("svg",L({viewBox:"64 64 896 896"},k),n.createElement("path",{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}),n.createElement("path",{d:"M464 336a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}));var V="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNNTEyIDY0QzI2NC42IDY0IDY0IDI2NC42IDY0IDUxMnMyMDAuNiA0NDggNDQ4IDQ0OCA0NDgtMjAwLjYgNDQ4LTQ0OFM3NTkuNCA2NCA1MTIgNjR6bTAgODIwYy0yMDUuNCAwLTM3Mi0xNjYuNi0zNzItMzcyczE2Ni42LTM3MiAzNzItMzcyIDM3MiAxNjYuNiAzNzIgMzcyLTE2Ni42IDM3Mi0zNzIgMzcyeiIvPjxwYXRoIGQ9Ik00NjQgMzM2YTQ4IDQ4IDAgMSAwIDk2IDAgNDggNDggMCAxIDAtOTYgMHptNzIgMTEyaC00OGMtNC40IDAtOCAzLjYtOCA4djI3MmMwIDQuNCAzLjYgOCA4IDhoNDhjNC40IDAgOC0zLjYgOC04VjQ1NmMwLTQuNC0zLjYtOC04LTh6Ii8+PC9zdmc+",B=Object.defineProperty,G=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable,Ae=(k,Z,z)=>Z in k?B(k,Z,{enumerable:!0,configurable:!0,writable:!0,value:z}):k[Z]=z,Ne=(k,Z)=>{for(var z in Z||(Z={}))ce.call(Z,z)&&Ae(k,z,Z[z]);if(G)for(var z of G(Z))pe.call(Z,z)&&Ae(k,z,Z[z]);return k};const me=k=>n.createElement("svg",Ne({viewBox:"64 64 896 896"},k),n.createElement("path",{d:"M464 720a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zm475.7 440-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z"}));var Q="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNNDY0IDcyMGE0OCA0OCAwIDEgMCA5NiAwIDQ4IDQ4IDAgMSAwLTk2IDB6bTE2LTMwNHYxODRjMCA0LjQgMy42IDggOCA4aDQ4YzQuNCAwIDgtMy42IDgtOFY0MTZjMC00LjQtMy42LTgtOC04aC00OGMtNC40IDAtOCAzLjYtOCA4em00NzUuNyA0NDAtNDE2LTcyMGMtNi4yLTEwLjctMTYuOS0xNi0yNy43LTE2cy0yMS42IDUuMy0yNy43IDE2bC00MTYgNzIwQzU2IDg3Ny40IDcxLjQgOTA0IDk2IDkwNGg4MzJjMjQuNiAwIDQwLTI2LjYgMjcuNy00OHptLTc4My41LTI3LjlMNTEyIDIzOS45bDMzOS44IDU4OC4ySDE3Mi4yeiIvPjwvc3ZnPg==";function ne(k,Z){return le(k)||q(k,Z)||U(k,Z)||ae()}function ae(){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(k,Z){if(k){if(typeof k=="string")return R(k,Z);var z=Object.prototype.toString.call(k).slice(8,-1);if(z==="Object"&&k.constructor&&(z=k.constructor.name),z==="Map"||z==="Set")return Array.from(k);if(z==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(z))return R(k,Z)}}function R(k,Z){(Z==null||Z>k.length)&&(Z=k.length);for(var z=0,Ee=new Array(Z);zOe in Ie?o(Ie,Oe,{enumerable:!0,configurable:!0,writable:!0,value:De}):Ie[Oe]=De,s=(Ie,Oe)=>{for(var De in Oe||(Oe={}))u.call(Oe,De)&&f(Ie,De,Oe[De]);if(a)for(var De of a(Oe))c.call(Oe,De)&&f(Ie,De,Oe[De]);return Ie};const m=Ie=>n.createElement("svg",s({fillRule:"evenodd",viewBox:"64 64 896 896"},Ie),n.createElement("path",{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 0 0-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 0 0-.05.09.12.12 0 0 0 0 .07v.02a.27.27 0 0 0 .06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 0 0 0 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 0 0 .09.05.12.12 0 0 0 .07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 0 0 .07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 0 0 .05-.09.12.12 0 0 0 0-.07v-.02a.27.27 0 0 0-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 0 0 0-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 0 0-.09-.05.12.12 0 0 0-.07 0z"}));var y="data:image/svg+xml;base64,PHN2ZyBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiPjxwYXRoIGQ9Ik01MTIgNjRjMjQ3LjQgMCA0NDggMjAwLjYgNDQ4IDQ0OFM3NTkuNCA5NjAgNTEyIDk2MCA2NCA3NTkuNCA2NCA1MTIgMjY0LjYgNjQgNTEyIDY0em0xMjcuOTggMjc0LjgyaC0uMDRsLS4wOC4wNkw1MTIgNDY2Ljc1IDM4NC4xNCAzMzguODhjLS4wNC0uMDUtLjA2LS4wNi0uMDgtLjA2YS4xMi4xMiAwIDAgMC0uMDcgMGMtLjAzIDAtLjA1LjAxLS4wOS4wNWwtNDUuMDIgNDUuMDJhLjIuMiAwIDAgMC0uMDUuMDkuMTIuMTIgMCAwIDAgMCAuMDd2LjAyYS4yNy4yNyAwIDAgMCAuMDYuMDZMNDY2Ljc1IDUxMiAzMzguODggNjM5Ljg2Yy0uMDUuMDQtLjA2LjA2LS4wNi4wOGEuMTIuMTIgMCAwIDAgMCAuMDdjMCAuMDMuMDEuMDUuMDUuMDlsNDUuMDIgNDUuMDJhLjIuMiAwIDAgMCAuMDkuMDUuMTIuMTIgMCAwIDAgLjA3IDBjLjAyIDAgLjA0LS4wMS4wOC0uMDVMNTEyIDU1Ny4yNWwxMjcuODYgMTI3Ljg3Yy4wNC4wNC4wNi4wNS4wOC4wNWEuMTIuMTIgMCAwIDAgLjA3IDBjLjAzIDAgLjA1LS4wMS4wOS0uMDVsNDUuMDItNDUuMDJhLjIuMiAwIDAgMCAuMDUtLjA5LjEyLjEyIDAgMCAwIDAtLjA3di0uMDJhLjI3LjI3IDAgMCAwLS4wNS0uMDZMNTU3LjI1IDUxMmwxMjcuODctMTI3Ljg2Yy4wNC0uMDQuMDUtLjA2LjA1LS4wOGEuMTIuMTIgMCAwIDAgMC0uMDdjMC0uMDMtLjAxLS4wNS0uMDUtLjA5bC00NS4wMi00NS4wMmEuMi4yIDAgMCAwLS4wOS0uMDUuMTIuMTIgMCAwIDAtLjA3IDB6Ii8+PC9zdmc+",v=e(12124),l=e.n(v),g=e(39013),E=e(35400),w=e(48101),S=Object.defineProperty,x=Object.getOwnPropertySymbols,O=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable,_=(Ie,Oe,De)=>Oe in Ie?S(Ie,Oe,{enumerable:!0,configurable:!0,writable:!0,value:De}):Ie[Oe]=De,K=(Ie,Oe)=>{for(var De in Oe||(Oe={}))O.call(Oe,De)&&_(Ie,De,Oe[De]);if(x)for(var De of x(Oe))j.call(Oe,De)&&_(Ie,De,Oe[De]);return Ie};const P=Ie=>n.createElement("svg",K({viewBox:"64 64 896 896"},Ie),n.createElement("path",{d:"m709.6 210 .4-.2h.2L512 96 313.9 209.8h-.2l.7.3L151.5 304v416L512 928l360.5-208V304l-162.9-94zM482.7 843.6 339.6 761V621.4L210 547.8V372.9l272.7 157.3v313.4zM238.2 321.5l134.7-77.8 138.9 79.7 139.1-79.9 135.2 78-273.9 158-274-158zM814 548.3l-128.8 73.1v139.1l-143.9 83V530.4L814 373.1v175.2z"}));var I="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJtNzA5LjYgMjEwIC40LS4yaC4yTDUxMiA5NiAzMTMuOSAyMDkuOGgtLjJsLjcuM0wxNTEuNSAzMDR2NDE2TDUxMiA5MjhsMzYwLjUtMjA4VjMwNGwtMTYyLjktOTR6TTQ4Mi43IDg0My42IDMzOS42IDc2MVY2MjEuNEwyMTAgNTQ3LjhWMzcyLjlsMjcyLjcgMTU3LjN2MzEzLjR6TTIzOC4yIDMyMS41bDEzNC43LTc3LjggMTM4LjkgNzkuNyAxMzkuMS03OS45IDEzNS4yIDc4LTI3My45IDE1OC0yNzQtMTU4ek04MTQgNTQ4LjNsLTEyOC44IDczLjF2MTM5LjFsLTE0My45IDgzVjUzMC40TDgxNCAzNzMuMXYxNzUuMnoiLz48L3N2Zz4=",L=e(34864),H=Object.defineProperty,V=Object.getOwnPropertySymbols,B=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable,ce=(Ie,Oe,De)=>Oe in Ie?H(Ie,Oe,{enumerable:!0,configurable:!0,writable:!0,value:De}):Ie[Oe]=De,pe=(Ie,Oe)=>{for(var De in Oe||(Oe={}))B.call(Oe,De)&&ce(Ie,De,Oe[De]);if(V)for(var De of V(Oe))G.call(Oe,De)&&ce(Ie,De,Oe[De]);return Ie};const Ae=Ie=>n.createElement("svg",pe({viewBox:"64 64 896 896"},Ie),n.createElement("path",{d:"m925.6 405.1-203-253.7a6.5 6.5 0 0 0-5-2.4H306.4c-1.9 0-3.8.9-5 2.4l-203 253.7a6.5 6.5 0 0 0 .2 8.3l408.6 459.5c1.2 1.4 3 2.1 4.8 2.1 1.8 0 3.5-.8 4.8-2.1l408.6-459.5a6.5 6.5 0 0 0 .2-8.3zM645.2 206.4l34.4 133.9-132.5-133.9h98.1zm8.2 178.5H370.6L512 242l141.4 142.9zM378.8 206.4h98.1L344.3 340.3l34.5-133.9zm-53.4 7-44.1 171.5h-93.1l137.2-171.5zM194.6 434.9H289l125.8 247.7-220.2-247.7zM512 763.4 345.1 434.9h333.7L512 763.4zm97.1-80.8L735 434.9h94.4L609.1 682.6zm133.6-297.7-44.1-171.5 137.2 171.5h-93.1z"}));var Ne="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJtOTI1LjYgNDA1LjEtMjAzLTI1My43YTYuNSA2LjUgMCAwIDAtNS0yLjRIMzA2LjRjLTEuOSAwLTMuOC45LTUgMi40bC0yMDMgMjUzLjdhNi41IDYuNSAwIDAgMCAuMiA4LjNsNDA4LjYgNDU5LjVjMS4yIDEuNCAzIDIuMSA0LjggMi4xIDEuOCAwIDMuNS0uOCA0LjgtMi4xbDQwOC42LTQ1OS41YTYuNSA2LjUgMCAwIDAgLjItOC4zek02NDUuMiAyMDYuNGwzNC40IDEzMy45LTEzMi41LTEzMy45aDk4LjF6bTguMiAxNzguNUgzNzAuNkw1MTIgMjQybDE0MS40IDE0Mi45ek0zNzguOCAyMDYuNGg5OC4xTDM0NC4zIDM0MC4zbDM0LjUtMTMzLjl6bS01My40IDctNDQuMSAxNzEuNWgtOTMuMWwxMzcuMi0xNzEuNXpNMTk0LjYgNDM0LjlIMjg5bDEyNS44IDI0Ny43LTIyMC4yLTI0Ny43ek01MTIgNzYzLjQgMzQ1LjEgNDM0LjloMzMzLjdMNTEyIDc2My40em05Ny4xLTgwLjhMNzM1IDQzNC45aDk0LjRMNjA5LjEgNjgyLjZ6bTEzMy42LTI5Ny43LTQ0LjEtMTcxLjUgMTM3LjIgMTcxLjVoLTkzLjF6Ii8+PC9zdmc+",me=Object.defineProperty,Q=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable,U=(Ie,Oe,De)=>Oe in Ie?me(Ie,Oe,{enumerable:!0,configurable:!0,writable:!0,value:De}):Ie[Oe]=De,R=(Ie,Oe)=>{for(var De in Oe||(Oe={}))ne.call(Oe,De)&&U(Ie,De,Oe[De]);if(Q)for(var De of Q(Oe))ae.call(Oe,De)&&U(Ie,De,Oe[De]);return Ie};const q=Ie=>n.createElement("svg",R({viewBox:"64 64 896 896"},Ie),n.createElement("path",{d:"M848 359.3H627.7L825.8 109c4.1-5.3.4-13-6.3-13H436c-2.8 0-5.5 1.5-6.9 4L170 547.5c-3.1 5.3.7 12 6.9 12h174.4l-89.4 357.6c-1.9 7.8 7.5 13.3 13.3 7.7L853.5 373c5.2-4.9 1.7-13.7-5.5-13.7zM378.2 732.5l60.3-241H281.1l189.6-327.4h224.6L487 427.4h211L378.2 732.5z"}));var le="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNODQ4IDM1OS4zSDYyNy43TDgyNS44IDEwOWM0LjEtNS4zLjQtMTMtNi4zLTEzSDQzNmMtMi44IDAtNS41IDEuNS02LjkgNEwxNzAgNTQ3LjVjLTMuMSA1LjMuNyAxMiA2LjkgMTJoMTc0LjRsLTg5LjQgMzU3LjZjLTEuOSA3LjggNy41IDEzLjMgMTMuMyA3LjdMODUzLjUgMzczYzUuMi00LjkgMS43LTEzLjctNS41LTEzLjd6TTM3OC4yIDczMi41bDYwLjMtMjQxSDI4MS4xbDE4OS42LTMyNy40aDIyNC42TDQ4NyA0MjcuNGgyMTFMMzc4LjIgNzMyLjV6Ii8+PC9zdmc+",re=e(25769),A=e.n(re),W=e(94354),k=function(){return n.createElement(n.Fragment,null)},Z=k;function z(){return z=Object.assign?Object.assign.bind():function(Ie){for(var Oe=1;OeIe.length)&&(Oe=Ie.length);for(var De=0,Zt=new Array(Oe);De0,fr=n.useState(!ie||!Ht),wr=(0,fe.Z)(fr,2),Zr=wr[0],Xr=wr[1];if((0,he.Z)(function(){!Zr&&Ht&&Ur&&Xr(!0)},[Zr,Ht,Ur]),!Zr)return null;var xr="auto",Tr={left:"-1000vw",top:"-1000vh",right:xr,bottom:xr};if(de||!en){var Hr,on=oa.points,hn=oa.dynamicInset||((Hr=oa._experimental)===null||Hr===void 0?void 0:Hr.dynamicInset),ea=hn&&on[0][1]==="r",gn=hn&&on[0][0]==="b";ea?(Tr.right=Qe,Tr.left=xr):(Tr.left=we,Tr.right=xr),gn?(Tr.bottom=it,Tr.top=xr):(Tr.top=Ce,Tr.bottom=xr)}var Cn={};return bt&&(bt.includes("height")&&xt?Cn.height=xt:bt.includes("minHeight")&&xt&&(Cn.minHeight=xt),bt.includes("width")&&ht?Cn.width=ht:bt.includes("minWidth")&&ht&&(Cn.minWidth=ht)),en||(Cn.pointerEvents="none"),n.createElement(ke,{open:dn||Gt,getContainer:ie&&function(){return ie(Ur)},autoDestroy:Se},n.createElement(be,{prefixCls:pr,open:en,zIndex:F,mask:Un,motion:ua}),n.createElement(We.Z,{onResize:Et,disabled:!en},function(Mn){return n.createElement(b.ZP,(0,J.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:dn,leavedClassName:"".concat(pr,"-hidden")},Gn,{onAppearPrepare:pt,onEnterPrepare:pt,visible:en,onVisibleChanged:function(_n){var ra;Gn==null||(ra=Gn.onVisibleChanged)===null||ra===void 0||ra.call(Gn,_n),kr(_n)}}),function(An,_n){var ra=An.className,Pn=An.style,Vn=Y()(pr,ra,Zt);return n.createElement("div",{ref:(0,te.sQ)(Mn,Oe,_n),className:Vn,style:(0,ve.Z)((0,ve.Z)((0,ve.Z)((0,ve.Z)({"--arrow-x":"".concat(Dn.x||0,"px"),"--arrow-y":"".concat(Dn.y||0,"px")},Tr),Cn),Pn),{},{boxSizing:"border-box",zIndex:F},Sr),onMouseEnter:$e,onMouseLeave:dt,onPointerEnter:mt,onClick:cn},tn&&n.createElement(Re,{prefixCls:pr,arrow:tn,arrowPos:Dn,align:oa}),n.createElement(Mt,{cache:!en&&!Sn},It))})}))}),Yt=_t,Rt=n.forwardRef(function(Ie,Oe){var De=Ie.children,Zt=Ie.getTriggerDOMNode,pr=(0,te.Yr)(De),Sr=n.useCallback(function(kr){(0,te.mH)(Oe,Zt?Zt(kr):kr)},[Zt]),Ur=(0,te.x1)(Sr,De.ref);return pr?n.cloneElement(De,{ref:Ur}):De}),Tt=Rt,je=n.createContext(null),yt=je;function Be(Ie){return Ie?Array.isArray(Ie)?Ie:[Ie]:[]}function Je(Ie,Oe,De,Zt){return n.useMemo(function(){var pr=Be(De!=null?De:Oe),Sr=Be(Zt!=null?Zt:Oe),Ur=new Set(pr),kr=new Set(Sr);return Ie&&(Ur.has("hover")&&(Ur.delete("hover"),Ur.add("click")),kr.has("hover")&&(kr.delete("hover"),kr.add("click"))),[Ur,kr]},[Ie,Oe,De,Zt])}var Nt=e(57840);function Lt(){var Ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],De=arguments.length>2?arguments[2]:void 0;return De?Ie[0]===Oe[0]:Ie[0]===Oe[0]&&Ie[1]===Oe[1]}function Wt(Ie,Oe,De,Zt){for(var pr=De.points,Sr=Object.keys(Ie),Ur=0;Ur1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(Ie)?Oe:Ie}function Yr(Ie){return ur(parseFloat(Ie),0)}function an(Ie,Oe){var De=(0,ve.Z)({},Ie);return(Oe||[]).forEach(function(Zt){if(!(Zt instanceof HTMLBodyElement||Zt instanceof HTMLHtmlElement)){var pr=ar(Zt).getComputedStyle(Zt),Sr=pr.overflow,Ur=pr.overflowClipMargin,kr=pr.borderTopWidth,en=pr.borderBottomWidth,Qr=pr.borderLeftWidth,Sn=pr.borderRightWidth,cn=Zt.getBoundingClientRect(),Un=Zt.offsetHeight,tn=Zt.clientHeight,Dn=Zt.offsetWidth,oa=Zt.clientWidth,Gn=Yr(kr),ua=Yr(en),dn=Yr(Qr),ie=Yr(Sn),Se=ur(Math.round(cn.width/Dn*1e3)/1e3),ke=ur(Math.round(cn.height/Un*1e3)/1e3),F=(Dn-oa-dn-ie)*Se,$e=(Un-tn-Gn-ua)*ke,dt=Gn*ke,mt=ua*ke,de=dn*Se,we=ie*Se,Ce=0,Qe=0;if(Sr==="clip"){var it=Yr(Ur);Ce=it*Se,Qe=it*ke}var Et=cn.x+de-Ce,pt=cn.y+dt-Qe,bt=Et+cn.width+2*Ce-de-we-F,ht=pt+cn.height+2*Qe-dt-mt-$e;De.left=Math.max(De.left,Et),De.top=Math.max(De.top,pt),De.right=Math.min(De.right,bt),De.bottom=Math.min(De.bottom,ht)}}),De}function aa(Ie){var Oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,De="".concat(Oe),Zt=De.match(/^(.*)\%$/);return Zt?Ie*(parseFloat(Zt[1])/100):parseFloat(De)}function la(Ie,Oe){var De=Oe||[],Zt=(0,fe.Z)(De,2),pr=Zt[0],Sr=Zt[1];return[aa(Ie.width,pr),aa(Ie.height,Sr)]}function Ln(){var Ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[Ie[0],Ie[1]]}function Hn(Ie,Oe){var De=Oe[0],Zt=Oe[1],pr,Sr;return De==="t"?Sr=Ie.y:De==="b"?Sr=Ie.y+Ie.height:Sr=Ie.y+Ie.height/2,Zt==="l"?pr=Ie.x:Zt==="r"?pr=Ie.x+Ie.width:pr=Ie.x+Ie.width/2,{x:pr,y:Sr}}function Tn(Ie,Oe){var De={t:"b",b:"t",l:"r",r:"l"};return Ie.map(function(Zt,pr){return pr===Oe?De[Zt]||"c":Zt}).join("")}function Qn(Ie,Oe,De,Zt,pr,Sr,Ur){var kr=n.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:pr[Zt]||{}}),en=(0,fe.Z)(kr,2),Qr=en[0],Sn=en[1],cn=n.useRef(0),Un=n.useMemo(function(){return Oe?gr(Oe):[]},[Oe]),tn=n.useRef({}),Dn=function(){tn.current={}};Ie||Dn();var oa=(0,Ut.Z)(function(){if(Oe&&De&&Ie){let ut=function(Qt,rr){var or=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Vn,Rr=It.x+Qt,_r=It.y+rr,Mr=Rr+Hr,Jn=_r+Tr,kn=Math.max(Rr,or.left),ca=Math.max(_r,or.top),ka=Math.min(Mr,or.right),Ua=Math.min(Jn,or.bottom);return Math.max(0,(ka-kn)*(Ua-ca))},lt=function(){Vr=It.y+Bt,mn=Vr+Tr,jr=It.x+At,$r=jr+Hr};var dn,ie,Se=Oe,ke=Se.ownerDocument,F=ar(Se),$e=F.getComputedStyle(Se),dt=$e.width,mt=$e.height,de=$e.position,we=Se.style.left,Ce=Se.style.top,Qe=Se.style.right,it=Se.style.bottom,Et=Se.style.overflow,pt=(0,ve.Z)((0,ve.Z)({},pr[Zt]),Sr),bt=ke.createElement("div");(dn=Se.parentElement)===null||dn===void 0||dn.appendChild(bt),bt.style.left="".concat(Se.offsetLeft,"px"),bt.style.top="".concat(Se.offsetTop,"px"),bt.style.position=de,bt.style.height="".concat(Se.offsetHeight,"px"),bt.style.width="".concat(Se.offsetWidth,"px"),Se.style.left="0",Se.style.top="0",Se.style.right="auto",Se.style.bottom="auto",Se.style.overflow="hidden";var ht;if(Array.isArray(De))ht={x:De[0],y:De[1],width:0,height:0};else{var xt=De.getBoundingClientRect();ht={x:xt.x,y:xt.y,width:xt.width,height:xt.height}}var It=Se.getBoundingClientRect(),Gt=ke.documentElement,Ht=Gt.clientWidth,fr=Gt.clientHeight,wr=Gt.scrollWidth,Zr=Gt.scrollHeight,Xr=Gt.scrollTop,xr=Gt.scrollLeft,Tr=It.height,Hr=It.width,on=ht.height,hn=ht.width,ea={left:0,top:0,right:Ht,bottom:fr},gn={left:-xr,top:-Xr,right:wr-xr,bottom:Zr-Xr},Cn=pt.htmlRegion,Mn="visible",An="visibleFirst";Cn!=="scroll"&&Cn!==An&&(Cn=Mn);var _n=Cn===An,ra=an(gn,Un),Pn=an(ea,Un),Vn=Cn===Mn?Pn:ra,ia=_n?Pn:Vn;Se.style.left="auto",Se.style.top="auto",Se.style.right="0",Se.style.bottom="0";var Ea=Se.getBoundingClientRect();Se.style.left=we,Se.style.top=Ce,Se.style.right=Qe,Se.style.bottom=it,Se.style.overflow=Et,(ie=Se.parentElement)===null||ie===void 0||ie.removeChild(bt);var ma=ur(Math.round(Hr/parseFloat(dt)*1e3)/1e3),Ia=ur(Math.round(Tr/parseFloat(mt)*1e3)/1e3);if(ma===0||Ia===0||(0,nt.Sh)(De)&&!(0,Nt.Z)(De))return;var ro=pt.offset,lr=pt.targetOffset,Jr=la(It,ro),Rn=(0,fe.Z)(Jr,2),En=Rn[0],rn=Rn[1],La=la(ht,lr),Da=(0,fe.Z)(La,2),Ya=Da[0],Qa=Da[1];ht.x-=Ya,ht.y-=Qa;var Lo=pt.points||[],ue=(0,fe.Z)(Lo,2),xe=ue[0],Fe=ue[1],rt=Ln(Fe),ze=Ln(xe),Ye=Hn(ht,rt),st=Hn(It,ze),Ot=(0,ve.Z)({},pt),At=Ye.x-st.x+En,Bt=Ye.y-st.y+rn,er=ut(At,Bt),tr=ut(At,Bt,Pn),sr=Hn(ht,["t","l"]),yr=Hn(It,["t","l"]),mr=Hn(ht,["b","r"]),Wr=Hn(It,["b","r"]),Gr=pt.overflow||{},un=Gr.adjustX,qr=Gr.adjustY,Dt=Gr.shiftX,Or=Gr.shiftY,Dr=function(rr){return typeof rr=="boolean"?rr:rr>=0},Vr,mn,jr,$r;lt();var Pr=Dr(qr),bn=ze[0]===rt[0];if(Pr&&ze[0]==="t"&&(mn>ia.bottom||tn.current.bt)){var fn=Bt;bn?fn-=Tr-on:fn=sr.y-Wr.y-rn;var zr=ut(At,fn),ln=ut(At,fn,Pn);zr>er||zr===er&&(!_n||ln>=tr)?(tn.current.bt=!0,Bt=fn,rn=-rn,Ot.points=[Tn(ze,0),Tn(rt,0)]):tn.current.bt=!1}if(Pr&&ze[0]==="b"&&(Vrer||M===er&&(!_n||N>=tr)?(tn.current.tb=!0,Bt=C,rn=-rn,Ot.points=[Tn(ze,0),Tn(rt,0)]):tn.current.tb=!1}var se=Dr(un),Ue=ze[1]===rt[1];if(se&&ze[1]==="l"&&($r>ia.right||tn.current.rl)){var Ke=At;Ue?Ke-=Hr-hn:Ke=sr.x-Wr.x-En;var ct=ut(Ke,Bt),at=ut(Ke,Bt,Pn);ct>er||ct===er&&(!_n||at>=tr)?(tn.current.rl=!0,At=Ke,En=-En,Ot.points=[Tn(ze,1),Tn(rt,1)]):tn.current.rl=!1}if(se&&ze[1]==="r"&&(jrer||St===er&&(!_n||jt>=tr)?(tn.current.lr=!0,At=Ge,En=-En,Ot.points=[Tn(ze,1),Tn(rt,1)]):tn.current.lr=!1}lt();var Ft=Dt===!0?0:Dt;typeof Ft=="number"&&(jrPn.right&&(At-=$r-Pn.right-En,ht.x>Pn.right-Ft&&(At+=ht.x-Pn.right+Ft)));var $t=Or===!0?0:Or;typeof $t=="number"&&(VrPn.bottom&&(Bt-=mn-Pn.bottom-rn,ht.y>Pn.bottom-$t&&(Bt+=ht.y-Pn.bottom+$t)));var zt=It.x+At,Vt=zt+Hr,Kr=It.y+Bt,Cr=Kr+Tr,Ar=ht.x,nr=Ar+hn,vr=ht.y,Ir=vr+on,wn=Math.max(zt,Ar),Xn=Math.min(Vt,nr),In=(wn+Xn)/2,Kn=In-zt,va=Math.max(Kr,vr),ya=Math.min(Cr,Ir),Sa=(va+ya)/2,wt=Sa-Kr;Ur==null||Ur(Oe,Ot);var qe=Ea.right-It.x-(At+It.width),ft=Ea.bottom-It.y-(Bt+It.height);ma===1&&(At=Math.round(At),qe=Math.round(qe)),Ia===1&&(Bt=Math.round(Bt),ft=Math.round(ft));var He={ready:!0,offsetX:At/ma,offsetY:Bt/Ia,offsetR:qe/ma,offsetB:ft/Ia,arrowX:Kn/ma,arrowY:wt/Ia,scaleX:ma,scaleY:Ia,align:Ot};Sn(He)}}),Gn=function(){cn.current+=1;var ie=cn.current;Promise.resolve().then(function(){cn.current===ie&&oa()})},ua=function(){Sn(function(ie){return(0,ve.Z)((0,ve.Z)({},ie),{},{ready:!1})})};return(0,he.Z)(ua,[Zt]),(0,he.Z)(function(){Ie||ua()},[Ie]),[Qr.ready,Qr.offsetX,Qr.offsetY,Qr.offsetR,Qr.offsetB,Qr.arrowX,Qr.arrowY,Qr.scaleX,Qr.scaleY,Qr.align,Gn]}var qt=e(73730);function Kt(Ie,Oe,De,Zt,pr){(0,he.Z)(function(){if(Ie&&Oe&&De){let cn=function(){Zt(),pr()};var Sr=Oe,Ur=De,kr=gr(Sr),en=gr(Ur),Qr=ar(Ur),Sn=new Set([Qr].concat((0,qt.Z)(kr),(0,qt.Z)(en)));return Sn.forEach(function(Un){Un.addEventListener("scroll",cn,{passive:!0})}),Qr.addEventListener("resize",cn,{passive:!0}),Zt(),function(){Sn.forEach(function(Un){Un.removeEventListener("scroll",cn),Qr.removeEventListener("resize",cn)})}}},[Ie,Oe,De])}var Jt=e(85870);function Nr(Ie,Oe,De,Zt,pr,Sr,Ur,kr){var en=n.useRef(Ie);en.current=Ie,n.useEffect(function(){if(Oe&&Zt&&(!pr||Sr)){var Qr=function(ua){var dn=ua.target;en.current&&!Ur(dn)&&kr(!1)},Sn=ar(Zt);Sn.addEventListener("mousedown",Qr,!0),Sn.addEventListener("contextmenu",Qr,!0);var cn=(0,Xe.A)(De);if(cn&&(cn.addEventListener("mousedown",Qr,!0),cn.addEventListener("contextmenu",Qr,!0)),0)var Un,tn,Dn,oa;return function(){Sn.removeEventListener("mousedown",Qr,!0),Sn.removeEventListener("contextmenu",Qr,!0),cn&&(cn.removeEventListener("mousedown",Qr,!0),cn.removeEventListener("contextmenu",Qr,!0))}}},[Oe,De,Zt,pr,Sr])}var sn=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function Lr(){var Ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Te.Z,Oe=n.forwardRef(function(De,Zt){var pr=De.prefixCls,Sr=pr===void 0?"rc-trigger-popup":pr,Ur=De.children,kr=De.action,en=kr===void 0?"hover":kr,Qr=De.showAction,Sn=De.hideAction,cn=De.popupVisible,Un=De.defaultPopupVisible,tn=De.onPopupVisibleChange,Dn=De.afterPopupVisibleChange,oa=De.mouseEnterDelay,Gn=De.mouseLeaveDelay,ua=Gn===void 0?.1:Gn,dn=De.focusDelay,ie=De.blurDelay,Se=De.mask,ke=De.maskClosable,F=ke===void 0?!0:ke,$e=De.getPopupContainer,dt=De.forceRender,mt=De.autoDestroy,de=De.destroyPopupOnHide,we=De.popup,Ce=De.popupClassName,Qe=De.popupStyle,it=De.popupPlacement,Et=De.builtinPlacements,pt=Et===void 0?{}:Et,bt=De.popupAlign,ht=De.zIndex,xt=De.stretch,It=De.getPopupClassNameFromAlign,Gt=De.fresh,Ht=De.alignPoint,fr=De.onPopupClick,wr=De.onPopupAlign,Zr=De.arrow,Xr=De.popupMotion,xr=De.maskMotion,Tr=De.popupTransitionName,Hr=De.popupAnimation,on=De.maskTransitionName,hn=De.maskAnimation,ea=De.className,gn=De.getTriggerDOMNode,Cn=(0,ge.Z)(De,sn),Mn=mt||de||!1,An=n.useState(!1),_n=(0,fe.Z)(An,2),ra=_n[0],Pn=_n[1];(0,he.Z)(function(){Pn((0,Le.Z)())},[]);var Vn=n.useRef({}),ia=n.useContext(yt),Ea=n.useMemo(function(){return{registerSubPopup:function(ir,Yn){Vn.current[ir]=Yn,ia==null||ia.registerSubPopup(ir,Yn)}}},[ia]),ma=(0,Pe.Z)(),Ia=n.useState(null),ro=(0,fe.Z)(Ia,2),lr=ro[0],Jr=ro[1],Rn=n.useRef(null),En=(0,Ut.Z)(function(Br){Rn.current=Br,(0,nt.Sh)(Br)&&lr!==Br&&Jr(Br),ia==null||ia.registerSubPopup(ma,Br)}),rn=n.useState(null),La=(0,fe.Z)(rn,2),Da=La[0],Ya=La[1],Qa=n.useRef(null),Lo=(0,Ut.Z)(function(Br){(0,nt.Sh)(Br)&&Da!==Br&&(Ya(Br),Qa.current=Br)}),ue=n.Children.only(Ur),xe=(ue==null?void 0:ue.props)||{},Fe={},rt=(0,Ut.Z)(function(Br){var ir,Yn,qn=Da;return(qn==null?void 0:qn.contains(Br))||((ir=(0,Xe.A)(qn))===null||ir===void 0?void 0:ir.host)===Br||Br===qn||(lr==null?void 0:lr.contains(Br))||((Yn=(0,Xe.A)(lr))===null||Yn===void 0?void 0:Yn.host)===Br||Br===lr||Object.values(Vn.current).some(function(na){return(na==null?void 0:na.contains(Br))||Br===na})}),ze=Xt(Sr,Xr,Hr,Tr),Ye=Xt(Sr,xr,hn,on),st=n.useState(Un||!1),Ot=(0,fe.Z)(st,2),At=Ot[0],Bt=Ot[1],er=cn!=null?cn:At,tr=(0,Ut.Z)(function(Br){cn===void 0&&Bt(Br)});(0,he.Z)(function(){Bt(cn||!1)},[cn]);var sr=n.useRef(er);sr.current=er;var yr=n.useRef([]);yr.current=[];var mr=(0,Ut.Z)(function(Br){var ir;tr(Br),((ir=yr.current[yr.current.length-1])!==null&&ir!==void 0?ir:er)!==Br&&(yr.current.push(Br),tn==null||tn(Br))}),Wr=n.useRef(),Gr=function(){clearTimeout(Wr.current)},un=function(ir){var Yn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Gr(),Yn===0?mr(ir):Wr.current=setTimeout(function(){mr(ir)},Yn*1e3)};n.useEffect(function(){return Gr},[]);var qr=n.useState(!1),Dt=(0,fe.Z)(qr,2),Or=Dt[0],Dr=Dt[1];(0,he.Z)(function(Br){(!Br||er)&&Dr(!0)},[er]);var Vr=n.useState(null),mn=(0,fe.Z)(Vr,2),jr=mn[0],$r=mn[1],Pr=n.useState([0,0]),bn=(0,fe.Z)(Pr,2),fn=bn[0],zr=bn[1],ln=function(ir){zr([ir.clientX,ir.clientY])},C=Qn(er,lr,Ht?fn:Da,it,pt,bt,wr),M=(0,fe.Z)(C,11),N=M[0],se=M[1],Ue=M[2],Ke=M[3],ct=M[4],at=M[5],Ge=M[6],St=M[7],jt=M[8],Ft=M[9],$t=M[10],zt=Je(ra,en,Qr,Sn),Vt=(0,fe.Z)(zt,2),Kr=Vt[0],Cr=Vt[1],Ar=Kr.has("click"),nr=Cr.has("click")||Cr.has("contextMenu"),vr=(0,Ut.Z)(function(){Or||$t()}),Ir=function(){sr.current&&Ht&&nr&&un(!1)};Kt(er,Da,lr,vr,Ir),(0,he.Z)(function(){vr()},[fn,it]),(0,he.Z)(function(){er&&!(pt!=null&&pt[it])&&vr()},[JSON.stringify(bt)]);var wn=n.useMemo(function(){var Br=Wt(pt,Sr,Ft,Ht);return Y()(Br,It==null?void 0:It(Ft))},[Ft,It,pt,Sr,Ht]);n.useImperativeHandle(Zt,function(){return{nativeElement:Qa.current,popupElement:Rn.current,forceAlign:vr}});var Xn=n.useState(0),In=(0,fe.Z)(Xn,2),Kn=In[0],va=In[1],ya=n.useState(0),Sa=(0,fe.Z)(ya,2),wt=Sa[0],qe=Sa[1],ft=function(){if(xt&&Da){var ir=Da.getBoundingClientRect();va(ir.width),qe(ir.height)}},He=function(){ft(),vr()},ut=function(ir){Dr(!1),$t(),Dn==null||Dn(ir)},lt=function(){return new Promise(function(ir){ft(),$r(function(){return ir})})};(0,he.Z)(function(){jr&&($t(),jr(),$r(null))},[jr]);function Qt(Br,ir,Yn,qn){Fe[Br]=function(na){var Xa;qn==null||qn(na),un(ir,Yn);for(var yo=arguments.length,Zn=new Array(yo>1?yo-1:0),Nn=1;Nn1?Yn-1:0),na=1;na1?Yn-1:0),na=1;naIe.length)&&(Oe=Ie.length);for(var De=0,Zt=new Array(Oe);De=0)&&Object.prototype.propertyIsEnumerable.call(Ie,Zt)&&(De[Zt]=Ie[Zt])}return De}function po(Ie,Oe){if(Ie==null)return{};var De={},Zt=Object.keys(Ie),pr,Sr;for(Sr=0;Sr=0)&&(De[pr]=Ie[pr]);return De}var Ha=function(Oe){var De=Oe.title,Zt=Oe.placement,pr=Zt===void 0?"top":Zt,Sr=uo(Oe,Ca);return n.createElement(eo,ga({prefixCls:"dumi-theme-default-tooltip",placement:pr},Sr,{overlay:De}))},ha=function(){return n.createElement("svg",{viewBox:"0 0 200 117"},n.createElement("path",{d:"M59.688 2.578c-3.438-3.437-8.438-3.437-11.563 0L3.75 48.516c-5 5.937-5 14.062 0 19.062l44.063 45.938c1.562 1.562 4.062 2.5 5.937 2.5s4.063-.938 5.938-2.5c3.437-3.438 3.437-8.438 0-11.563l-42.5-43.437 42.5-44.063c3.437-3.437 3.437-8.437 0-11.875Zm135.937 45.938L151.25 2.578c-3.438-3.437-8.438-3.437-11.563 0-3.125 3.438-3.437 8.438 0 11.563l42.5 44.375-42.5 44.062c-3.437 3.438-3.437 8.438 0 11.563 1.563 1.562 3.438 2.5 5.938 2.5 2.5 0 4.063-.938 5.938-2.5l44.062-45.938c5.625-5.625 5.625-13.75 0-19.687Zm-75.938-45c-4.062-1.563-9.062.937-10.937 5l-34.063 95c-1.562 4.062.938 9.062 5 10.937.938 0 1.563.938 2.5.938 3.438 0 6.563-2.5 7.5-5.938l35-95.937c1.563-4.063-.937-9.063-5-10Z"}))},Io=function(){return n.createElement("svg",{viewBox:"0 0 200 117"},n.createElement("path",{d:"M59.688 2.578c-3.438-3.437-8.438-3.437-11.563 0L3.75 48.516c-5 5.937-5 14.062 0 19.062l44.063 45.938c1.562 1.562 4.062 2.5 5.937 2.5s4.063-.938 5.938-2.5c3.437-3.438 3.437-8.438 0-11.563l-42.5-43.437 42.5-44.063c3.437-3.437 3.437-8.437 0-11.875Zm135.937 45.938L151.25 2.578c-3.438-3.437-8.438-3.437-11.563 0-3.125 3.438-3.437 8.438 0 11.563l42.5 44.375-42.5 44.062c-3.437 3.438-3.437 8.438 0 11.563 1.563 1.562 3.438 2.5 5.938 2.5 2.5 0 4.063-.938 5.938-2.5l44.062-45.938c5.625-5.625 5.625-13.75 0-19.687Z"}))},Na=function(){return n.createElement("svg",{viewBox:"0 0 1024 1024"},n.createElement("path",{d:"M853.333 469.333A42.667 42.667 0 0 0 810.667 512v256A42.667 42.667 0 0 1 768 810.667H256A42.667 42.667 0 0 1 213.333 768V256A42.667 42.667 0 0 1 256 213.333h256A42.667 42.667 0 0 0 512 128H256a128 128 0 0 0-128 128v512a128 128 0 0 0 128 128h512a128 128 0 0 0 128-128V512a42.667 42.667 0 0 0-42.667-42.667z"}),n.createElement("path",{d:"M682.667 213.333h67.413L481.707 481.28a42.667 42.667 0 0 0 0 60.587 42.667 42.667 0 0 0 60.586 0L810.667 273.92v67.413A42.667 42.667 0 0 0 853.333 384 42.667 42.667 0 0 0 896 341.333V170.667A42.667 42.667 0 0 0 853.333 128H682.667a42.667 42.667 0 0 0 0 85.333z"}))},ao=function(Oe){var De,Zt,pr,Sr,Ur,kr=(0,g.YB)(),en=Object.entries(Oe.asset.dependencies).filter(function(de){var we=Ma(de,2),Ce=we[1].type;return Ce==="FILE"}),Qr=(0,g.FO)(Oe.asset.id),Sn=Qr.renderOpts,cn=(0,n.useState)(0),Un=Ma(cn,2),tn=Un[0],Dn=Un[1],oa=(0,n.useState)(Oe.forceShowCode||Oe.defaultShowCode),Gn=Ma(oa,2),ua=Gn[0],dn=Gn[1],ie=(0,n.useRef)(),Se=(0,n.useState)(!1),ke=Ma(Se,2),F=ke[0],$e=ke[1],dt=en.length===1,mt=((De=en[tn][0].match(/\.([^.]+)$/))===null||De===void 0?void 0:De[1])||"text";return n.createElement(n.Fragment,null,n.createElement("div",{className:"dumi-default-previewer-actions"},!((Zt=Oe.disabledActions)!==null&&Zt!==void 0&&Zt.includes("CSB"))&&n.createElement("button",{className:"dumi-default-previewer-action-btn",type:"button","data-dumi-tooltip":kr.formatMessage({id:"previewer.actions.codesandbox"}),onClick:function(){return(0,g.il)(Oe)}},n.createElement(P,null)),!((pr=Oe.disabledActions)!==null&&pr!==void 0&&pr.includes("STACKBLITZ"))&&n.createElement("button",{className:"dumi-default-previewer-action-btn",type:"button","data-dumi-tooltip":kr.formatMessage({id:"previewer.actions.stackblitz"}),onClick:function(){return(0,g.Sc)(Oe)}},n.createElement(q,null)),!((Sr=Oe.disabledActions)!==null&&Sr!==void 0&&Sr.includes("HTML2SKETCH"))&&g.p6&&n.createElement("span",{className:"dumi-default-previewer-action-btn dumi-default-previewer-action-sketch","data-dumi-tooltip":kr.formatMessage({id:"previewer.actions.sketch"}),"data-copied":F||void 0},F?n.createElement(w.r,null):n.createElement(Ae,null),n.createElement("select",{value:"",onChange:function(we){var Ce=we.target.value;switch(Ce){case"group":case"symbol":(0,g.p6)(Oe.demoContainer,{type:Ce}).then(function(Qe){A()(JSON.stringify(Qe)),$e(!0),clearTimeout(ie.current),ie.current=window.setTimeout(function(){return $e(!1)},2e3)});break;case"guide":window.open("https://d.umijs.org/config#html2sketch");break;default:}}},n.createElement("option",{value:"",hidden:!0}),n.createElement("option",{value:"group"},kr.formatMessage({id:"previewer.actions.sketch.group"})),n.createElement("option",{value:"symbol"},kr.formatMessage({id:"previewer.actions.sketch.symbol"})),n.createElement("option",{value:"-",disabled:!0},kr.formatMessage({id:"previewer.actions.sketch.divider"})),n.createElement("option",{value:"guide"},kr.formatMessage({id:"previewer.actions.sketch.guide"})))),!((Ur=Oe.disabledActions)!==null&&Ur!==void 0&&Ur.includes("EXTERNAL"))&&n.createElement("a",{target:"_blank",rel:"noreferrer",href:Oe.demoUrl,className:"dumi-default-previewer-action-btn","data-dumi-tooltip":kr.formatMessage({id:"previewer.actions.separate"})},n.createElement(Na,null)),Oe.extra,n.createElement(Z,Oe),!Oe.forceShowCode&&n.createElement("button",{className:"dumi-default-previewer-action-btn",type:"button",onClick:function(){return dn(function(we){return!we})},"data-dumi-tooltip":kr.formatMessage({id:"previewer.actions.code.".concat(ua?"shrink":"expand")})},ua?n.createElement(Io,null):n.createElement(ha,null))),ua&&n.createElement(n.Fragment,null,n.createElement("div",{className:"dumi-default-previewer-sources"},n.createElement(E.Z,{className:l()("dumi-default-previewer-tabs",dt&&"dumi-default-previewer-tabs-single"),defaultActiveKey:String(tn),onChange:function(we){return Dn(Number(we))},items:en.map(function(de,we){var Ce=Ma(de,1),Qe=Ce[0];return{key:String(we),label:Qe.replace(/^\.\//,""),children:we===0&&Sn!==null&&Sn!==void 0&&Sn.compile?n.createElement($,{lang:mt,initialValue:en[we][1].value.trim(),onChange:function(Et){var pt,bt;(pt=Oe.onSourceChange)===null||pt===void 0||pt.call(Oe,Fa({},en[we][0],Et)),(bt=Oe.onSourceTranspile)===null||bt===void 0||bt.call(Oe,{source:Fa({},en[we][0],Et)})},extra:n.createElement(Ha,{title:kr.formatMessage({id:"previewer.actions.code.editable"})},n.createElement("button",{type:"button",className:"dumi-default-previewer-editor-tip-btn"},n.createElement(L.r,null)))}):n.createElement(W.Z,{lang:mt,extra:we!==0&&n.createElement(Ha,{title:kr.formatMessage({id:"previewer.actions.code.readonly"})},n.createElement("button",{type:"button",className:"dumi-default-previewer-editor-tip-btn","data-readonly":!0},n.createElement("span",null),n.createElement(L.r,null)))},en[tn][1].value.trim())}})}))))},zn=ao;function Er(){return Er=Object.assign?Object.assign.bind():function(Ie){for(var Oe=1;OeW in A?a(A,W,{enumerable:!0,configurable:!0,writable:!0,value:k}):A[W]=k,m=(A,W)=>{for(var k in W||(W={}))c.call(W,k)&&s(A,k,W[k]);if(u)for(var k of u(W))f.call(W,k)&&s(A,k,W[k]);return A};const y=A=>o.createElement("svg",m({viewBox:"64 64 896 896"},A),o.createElement("path",{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2 263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}));var v="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNODMyIDY0SDI5NmMtNC40IDAtOCAzLjYtOCA4djU2YzAgNC40IDMuNiA4IDggOGg0OTZ2Njg4YzAgNC40IDMuNiA4IDggOGg1NmM0LjQgMCA4LTMuNiA4LThWOTZjMC0xNy43LTE0LjMtMzItMzItMzJ6TTcwNCAxOTJIMTkyYy0xNy43IDAtMzIgMTQuMy0zMiAzMnY1MzAuN2MwIDguNSAzLjQgMTYuNiA5LjQgMjIuNmwxNzMuMyAxNzMuM2MyLjIgMi4yIDQuNyA0IDcuNCA1LjV2MS45aDQuMmMzLjUgMS4zIDcuMiAyIDExIDJINzA0YzE3LjcgMCAzMi0xNC4zIDMyLTMyVjIyNGMwLTE3LjctMTQuMy0zMi0zMi0zMnpNMzUwIDg1Ni4yIDI2My45IDc3MEgzNTB2ODYuMnpNNjY0IDg4OEg0MTRWNzQ2YzAtMjIuMS0xNy45LTQwLTQwLTQwSDIzMlYyNjRoNDMydjYyNHoiLz48L3N2Zz4=",l=e(12124),g=e.n(l),E=e(2738);var w=function(){var A=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,W=0,k={},Z={util:{encode:function ee($){return $ instanceof z?new z($.type,ee($.content),$.alias):Array.isArray($)?$.map(ee):$.replace(/&/g,"&").replace(/"+ye.content+""};function Ee(ee,$,X,Y){ee.lastIndex=$;var ye=ee.exec(X);if(ye&&Y&&ye[1]){var J=ye[1].length;ye.index+=J,ye[0]=ye[0].slice(J)}return ye}function Me(ee,$,X,Y,ye,J){for(var ve in X)if(!(!X.hasOwnProperty(ve)||!X[ve])){var ge=X[ve];ge=Array.isArray(ge)?ge:[ge];for(var fe=0;fe=J.reach);b+=Le.value.length,Le=Le.next){var te=Le.value;if($.length>ee.length)return;if(!(te instanceof z)){var Re=1,be;if(Xe){if(be=Ee(he,b,ee,nt),!be||be.index>=ee.length)break;var Yt=be.index,Ze=be.index+be[0].length,Mt=b;for(Mt+=Le.value.length;Yt>=Mt;)Le=Le.next,Mt+=Le.value.length;if(Mt-=Le.value.length,b=Mt,Le.value instanceof z)continue;for(var _t=Le;_t!==$.tail&&(MtJ.reach&&(J.reach=yt);var Be=Le.prev;Tt&&(Be=Ve($,Be,Tt),b+=Tt.length),tt($,Be,Re);var Je=new z(ve,We?Z.tokenize(Rt,We):Rt,Ut,Rt);if(Le=Ve($,Be,Je),je&&Ve($,Le,je),Re>1){var Nt={cause:ve+","+fe,reach:yt};Me(ee,$,X,Le.prev,b,Nt),J&&Nt.reach>J.reach&&(J.reach=Nt.reach)}}}}}}function et(){var ee={value:null,prev:null,next:null},$={value:null,prev:ee,next:null};ee.next=$,this.head=ee,this.tail=$,this.length=0}function Ve(ee,$,X){var Y=$.next,ye={value:X,prev:$,next:Y};return $.next=ye,Y.prev=ye,ee.length++,ye}function tt(ee,$,X){for(var Y=$.next,ye=0;ye/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},S.languages.markup.tag.inside["attr-value"].inside.entity=S.languages.markup.entity,S.languages.markup.doctype.inside["internal-subset"].inside=S.languages.markup,S.hooks.add("wrap",function(A){A.type==="entity"&&(A.attributes.title=A.content.replace(/&/,"&"))}),Object.defineProperty(S.languages.markup.tag,"addInlined",{value:function(W,k){var Z={};Z["language-"+k]={pattern:/(^$)/i,lookbehind:!0,inside:S.languages[k]},Z.cdata=/^$/i;var z={"included-cdata":{pattern://i,inside:Z}};z["language-"+k]={pattern:/[\s\S]+/,inside:S.languages[k]};var Ee={};Ee[W]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return W}),"i"),lookbehind:!0,greedy:!0,inside:z},S.languages.insertBefore("markup","cdata",Ee)}}),Object.defineProperty(S.languages.markup.tag,"addAttribute",{value:function(A,W){S.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+A+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[W,"language-"+W],inside:S.languages[W]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),S.languages.html=S.languages.markup,S.languages.mathml=S.languages.markup,S.languages.svg=S.languages.markup,S.languages.xml=S.languages.extend("markup",{}),S.languages.ssml=S.languages.xml,S.languages.atom=S.languages.xml,S.languages.rss=S.languages.xml,function(A){var W="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",k={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},Z={bash:k,environment:{pattern:RegExp("\\$"+W),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+W),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};A.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+W),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:Z},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:k}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:Z},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:Z.entity}}],environment:{pattern:RegExp("\\$?"+W),alias:"constant"},variable:Z.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},k.inside=A.languages.bash;for(var z=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],Ee=Z.variable[1].inside,Me=0;Me]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},S.languages.c=S.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),S.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),S.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},S.languages.c.string],char:S.languages.c.char,comment:S.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:S.languages.c}}}}),S.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete S.languages.c.boolean,function(A){var W=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,k=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return W.source});A.languages.cpp=A.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return W.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:W,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),A.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return k})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),A.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:A.languages.cpp}}}}),A.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),A.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:A.languages.extend("cpp",{})}}),A.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},A.languages.cpp["base-clause"])}(S),function(A){var W=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;A.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+W.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+W.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+W.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:W,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},A.languages.css.atrule.inside.rest=A.languages.css;var k=A.languages.markup;k&&(k.tag.addInlined("style","css"),k.tag.addAttribute("style","css"))}(S),function(A){var W=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,k;A.languages.css.selector={pattern:A.languages.css.selector.pattern,lookbehind:!0,inside:k={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp(`\\[(?:[^[\\]"']|`+W.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[W,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},A.languages.css.atrule.inside["selector-function-argument"].inside=k,A.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var Z={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},z={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};A.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:Z,number:z,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:Z,number:z})}(S),S.languages.javascript=S.languages.extend("clike",{"class-name":[S.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),S.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,S.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:S.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:S.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:S.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:S.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:S.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),S.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:S.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),S.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),S.languages.markup&&(S.languages.markup.tag.addInlined("script","javascript"),S.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),S.languages.js=S.languages.javascript,function(A){var W=/#(?!\{).+/,k={pattern:/#\{[^}]+\}/,alias:"variable"};A.languages.coffeescript=A.languages.extend("javascript",{comment:W,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:k}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),A.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:W,interpolation:k}}}),A.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:A.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:k}}]}),A.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete A.languages.coffeescript["template-string"],A.languages.coffee=A.languages.coffeescript}(S),function(A){var W=/[*&][^\s[\]{},]+/,k=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,Z="(?:"+k.source+"(?:[ ]+"+W.source+")?|"+W.source+"(?:[ ]+"+k.source+")?)",z=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),Ee=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function Me(et,Ve){Ve=(Ve||"").replace(/m/g,"")+"m";var tt=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return Z}).replace(/<>/g,function(){return et});return RegExp(tt,Ve)}A.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return Z})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return Z}).replace(/<>/g,function(){return"(?:"+z+"|"+Ee+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:Me(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:Me(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:Me(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:Me(Ee),lookbehind:!0,greedy:!0},number:{pattern:Me(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:k,important:W,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},A.languages.yml=A.languages.yaml}(S),function(A){var W=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function k(gt){return gt=gt.replace(//g,function(){return W}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+gt+")")}var Z=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,z=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return Z}),Ee=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;A.languages.markdown=A.languages.extend("markup",{}),A.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:A.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+z+Ee+"(?:"+z+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+z+Ee+")(?:"+z+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(Z),inside:A.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+z+")"+Ee+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+z+"$"),inside:{"table-header":{pattern:RegExp(Z),alias:"important",inside:A.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:k(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:k(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:k(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:k(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(gt){["url","bold","italic","strike","code-snippet"].forEach(function(ee){gt!==ee&&(A.languages.markdown[gt].inside.content.inside[ee]=A.languages.markdown[ee])})}),A.hooks.add("after-tokenize",function(gt){if(gt.language!=="markdown"&>.language!=="md")return;function ee($){if(!(!$||typeof $=="string"))for(var X=0,Y=$.length;X",quot:'"'},Ve=String.fromCodePoint||String.fromCharCode;function tt(gt){var ee=gt.replace(Me,"");return ee=ee.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function($,X){if(X=X.toLowerCase(),X[0]==="#"){var Y;return X[1]==="x"?Y=parseInt(X.slice(2),16):Y=Number(X.slice(1)),Ve(Y)}else{var ye=et[X];return ye||$}}),ee}A.languages.md=A.languages.markdown}(S),S.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:S.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},S.hooks.add("after-tokenize",function(W){if(W.language!=="graphql")return;var k=W.tokens.filter(function(ye){return typeof ye!="string"&&ye.type!=="comment"&&ye.type!=="scalar"}),Z=0;function z(ye){return k[Z+ye]}function Ee(ye,J){J=J||0;for(var ve=0;ve0)){var $=Me(/^\{$/,/^\}$/);if($===-1)continue;for(var X=Z;X<$;X++){var Y=k[X];Y.type==="variable"&&tt.indexOf(Y.content)>=0&&et(Y,"variable-input")}}}}}),S.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(A){var W=A.languages.javascript["template-string"],k=W.pattern.source,Z=W.inside.interpolation,z=Z.inside["interpolation-punctuation"],Ee=Z.pattern.source;function Me(X,Y){if(A.languages[X])return{pattern:RegExp("((?:"+Y+")\\s*)"+k),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:X}}}}A.languages.javascript["template-string"]=[Me("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),Me("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),Me("svg",/\bsvg/.source),Me("markdown",/\b(?:markdown|md)/.source),Me("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),Me("sql",/\bsql/.source),W].filter(Boolean);function et(X,Y){return"___"+Y.toUpperCase()+"_"+X+"___"}function Ve(X,Y,ye){var J={code:X,grammar:Y,language:ye};return A.hooks.run("before-tokenize",J),J.tokens=A.tokenize(J.code,J.grammar),A.hooks.run("after-tokenize",J),J.tokens}function tt(X){var Y={};Y["interpolation-punctuation"]=z;var ye=A.tokenize(X,Y);if(ye.length===3){var J=[1,1];J.push.apply(J,Ve(ye[1],A.languages.javascript,"javascript")),ye.splice.apply(ye,J)}return new A.Token("interpolation",ye,Z.alias,X)}function gt(X,Y,ye){var J=A.tokenize(X,{interpolation:{pattern:RegExp(Ee),lookbehind:!0}}),ve=0,ge={},fe=J.map(function(Xe){if(typeof Xe=="string")return Xe;for(var Ut=Xe.content,Pe;X.indexOf(Pe=et(ve++,ye))!==-1;);return ge[Pe]=Ut,Pe}).join(""),Te=Ve(fe,Y,ye),We=Object.keys(ge);ve=0;function nt(Xe){for(var Ut=0;Ut=We.length)return;var Pe=Xe[Ut];if(typeof Pe=="string"||typeof Pe.content=="string"){var he=We[ve],Le=typeof Pe=="string"?Pe:Pe.content,b=Le.indexOf(he);if(b!==-1){++ve;var te=Le.substring(0,b),Re=tt(ge[he]),be=Le.substring(b+he.length),Ze=[];if(te&&Ze.push(te),Ze.push(Re),be){var Mt=[be];nt(Mt),Ze.push.apply(Ze,Mt)}typeof Pe=="string"?(Xe.splice.apply(Xe,[Ut,1].concat(Ze)),Ut+=Ze.length-1):Pe.content=Ze}}else{var _t=Pe.content;Array.isArray(_t)?nt(_t):nt([_t])}}}return nt(Te),new A.Token(ye,Te,"language-"+ye,X)}var ee={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};A.hooks.add("after-tokenize",function(X){if(!(X.language in ee))return;function Y(ye){for(var J=0,ve=ye.length;J]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),A.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete A.languages.typescript.parameter,delete A.languages.typescript["literal-property"];var W=A.languages.extend("typescript",{});delete W["class-name"],A.languages.typescript["class-name"].inside=W,A.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:W}}}}),A.languages.ts=A.languages.typescript}(S),function(A){A.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+A.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),A.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+A.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),A.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function W(et,Ve){return RegExp(et.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),Ve)}A.languages.insertBefore("javascript","keyword",{imports:{pattern:W(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:A.languages.javascript},exports:{pattern:W(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:A.languages.javascript}}),A.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),A.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),A.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:W(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var k=["function","function-variable","method","method-variable","property-access"],Z=0;Z*\.{3}(?:[^{}]|)*\})/.source;function Ee(Ve,tt){return Ve=Ve.replace(//g,function(){return k}).replace(//g,function(){return Z}).replace(//g,function(){return z}),RegExp(Ve,tt)}z=Ee(z).source,A.languages.jsx=A.languages.extend("markup",W),A.languages.jsx.tag.pattern=Ee(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),A.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,A.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,A.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,A.languages.jsx.tag.inside.comment=W.comment,A.languages.insertBefore("inside","attr-name",{spread:{pattern:Ee(//.source),inside:A.languages.jsx}},A.languages.jsx.tag),A.languages.insertBefore("inside","special-attr",{script:{pattern:Ee(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:A.languages.jsx}}},A.languages.jsx.tag);var Me=function(Ve){return Ve?typeof Ve=="string"?Ve:typeof Ve.content=="string"?Ve.content:Ve.content.map(Me).join(""):""},et=function(Ve){for(var tt=[],gt=0;gt0&&tt[tt.length-1].tagName===Me(ee.content[0].content[1])&&tt.pop():ee.content[ee.content.length-1].content==="/>"||tt.push({tagName:Me(ee.content[0].content[1]),openedBraces:0}):tt.length>0&&ee.type==="punctuation"&&ee.content==="{"?tt[tt.length-1].openedBraces++:tt.length>0&&tt[tt.length-1].openedBraces>0&&ee.type==="punctuation"&&ee.content==="}"?tt[tt.length-1].openedBraces--:$=!0),($||typeof ee=="string")&&tt.length>0&&tt[tt.length-1].openedBraces===0){var X=Me(ee);gt0&&(typeof Ve[gt-1]=="string"||Ve[gt-1].type==="plain-text")&&(X=Me(Ve[gt-1])+X,Ve.splice(gt-1,1),gt--),Ve[gt]=new A.Token("plain-text",X,null,X)}ee.content&&typeof ee.content!="string"&&et(ee.content)}};A.hooks.add("after-tokenize",function(Ve){Ve.language!=="jsx"&&Ve.language!=="tsx"||et(Ve.tokens)})}(S),function(A){A.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var W={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(W).forEach(function(k){var Z=W[k],z=[];/^\w+$/.test(k)||z.push(/\w+/.exec(k)[0]),k==="diff"&&z.push("bold"),A.languages.diff[k]={pattern:RegExp("^(?:["+Z+`].*(?:\r +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function mo(Ie,Oe){if(Ie){if(typeof Ie=="string")return co(Ie,Oe);var De=Object.prototype.toString.call(Ie).slice(8,-1);if(De==="Object"&&Ie.constructor&&(De=Ie.constructor.name),De==="Map"||De==="Set")return Array.from(Ie);if(De==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(De))return co(Ie,Oe)}}function co(Ie,Oe){(Oe==null||Oe>Ie.length)&&(Oe=Ie.length);for(var De=0,Zt=new Array(Oe);De=0)&&Object.prototype.propertyIsEnumerable.call(Ie,Zt)&&(De[Zt]=Ie[Zt])}return De}function po(Ie,Oe){if(Ie==null)return{};var De={},Zt=Object.keys(Ie),pr,Sr;for(Sr=0;Sr=0)&&(De[pr]=Ie[pr]);return De}var Ha=function(Oe){var De=Oe.title,Zt=Oe.placement,pr=Zt===void 0?"top":Zt,Sr=uo(Oe,Ca);return n.createElement(eo,ga({prefixCls:"dumi-theme-default-tooltip",placement:pr},Sr,{overlay:De}))},ha=function(){return n.createElement("svg",{viewBox:"0 0 200 117"},n.createElement("path",{d:"M59.688 2.578c-3.438-3.437-8.438-3.437-11.563 0L3.75 48.516c-5 5.937-5 14.062 0 19.062l44.063 45.938c1.562 1.562 4.062 2.5 5.937 2.5s4.063-.938 5.938-2.5c3.437-3.438 3.437-8.438 0-11.563l-42.5-43.437 42.5-44.063c3.437-3.437 3.437-8.437 0-11.875Zm135.937 45.938L151.25 2.578c-3.438-3.437-8.438-3.437-11.563 0-3.125 3.438-3.437 8.438 0 11.563l42.5 44.375-42.5 44.062c-3.437 3.438-3.437 8.438 0 11.563 1.563 1.562 3.438 2.5 5.938 2.5 2.5 0 4.063-.938 5.938-2.5l44.062-45.938c5.625-5.625 5.625-13.75 0-19.687Zm-75.938-45c-4.062-1.563-9.062.937-10.937 5l-34.063 95c-1.562 4.062.938 9.062 5 10.937.938 0 1.563.938 2.5.938 3.438 0 6.563-2.5 7.5-5.938l35-95.937c1.563-4.063-.937-9.063-5-10Z"}))},Io=function(){return n.createElement("svg",{viewBox:"0 0 200 117"},n.createElement("path",{d:"M59.688 2.578c-3.438-3.437-8.438-3.437-11.563 0L3.75 48.516c-5 5.937-5 14.062 0 19.062l44.063 45.938c1.562 1.562 4.062 2.5 5.937 2.5s4.063-.938 5.938-2.5c3.437-3.438 3.437-8.438 0-11.563l-42.5-43.437 42.5-44.063c3.437-3.437 3.437-8.437 0-11.875Zm135.937 45.938L151.25 2.578c-3.438-3.437-8.438-3.437-11.563 0-3.125 3.438-3.437 8.438 0 11.563l42.5 44.375-42.5 44.062c-3.437 3.438-3.437 8.438 0 11.563 1.563 1.562 3.438 2.5 5.938 2.5 2.5 0 4.063-.938 5.938-2.5l44.062-45.938c5.625-5.625 5.625-13.75 0-19.687Z"}))},Na=function(){return n.createElement("svg",{viewBox:"0 0 1024 1024"},n.createElement("path",{d:"M853.333 469.333A42.667 42.667 0 0 0 810.667 512v256A42.667 42.667 0 0 1 768 810.667H256A42.667 42.667 0 0 1 213.333 768V256A42.667 42.667 0 0 1 256 213.333h256A42.667 42.667 0 0 0 512 128H256a128 128 0 0 0-128 128v512a128 128 0 0 0 128 128h512a128 128 0 0 0 128-128V512a42.667 42.667 0 0 0-42.667-42.667z"}),n.createElement("path",{d:"M682.667 213.333h67.413L481.707 481.28a42.667 42.667 0 0 0 0 60.587 42.667 42.667 0 0 0 60.586 0L810.667 273.92v67.413A42.667 42.667 0 0 0 853.333 384 42.667 42.667 0 0 0 896 341.333V170.667A42.667 42.667 0 0 0 853.333 128H682.667a42.667 42.667 0 0 0 0 85.333z"}))},ao=function(Oe){var De,Zt,pr,Sr,Ur,kr=(0,g.YB)(),en=Object.entries(Oe.asset.dependencies).filter(function(de){var we=Ma(de,2),Ce=we[1].type;return Ce==="FILE"}),Qr=(0,g.FO)(Oe.asset.id),Sn=Qr.renderOpts,cn=(0,n.useState)(0),Un=Ma(cn,2),tn=Un[0],Dn=Un[1],oa=(0,n.useState)(Oe.forceShowCode||Oe.defaultShowCode),Gn=Ma(oa,2),ua=Gn[0],dn=Gn[1],ie=(0,n.useRef)(),Se=(0,n.useState)(!1),ke=Ma(Se,2),F=ke[0],$e=ke[1],dt=en.length===1,mt=((De=en[tn][0].match(/\.([^.]+)$/))===null||De===void 0?void 0:De[1])||"text";return n.createElement(n.Fragment,null,n.createElement("div",{className:"dumi-default-previewer-actions"},!((Zt=Oe.disabledActions)!==null&&Zt!==void 0&&Zt.includes("CSB"))&&n.createElement("button",{className:"dumi-default-previewer-action-btn",type:"button","data-dumi-tooltip":kr.formatMessage({id:"previewer.actions.codesandbox"}),onClick:function(){return(0,g.il)(Oe)}},n.createElement(P,null)),!((pr=Oe.disabledActions)!==null&&pr!==void 0&&pr.includes("STACKBLITZ"))&&n.createElement("button",{className:"dumi-default-previewer-action-btn",type:"button","data-dumi-tooltip":kr.formatMessage({id:"previewer.actions.stackblitz"}),onClick:function(){return(0,g.Sc)(Oe)}},n.createElement(q,null)),!((Sr=Oe.disabledActions)!==null&&Sr!==void 0&&Sr.includes("HTML2SKETCH"))&&g.p6&&n.createElement("span",{className:"dumi-default-previewer-action-btn dumi-default-previewer-action-sketch","data-dumi-tooltip":kr.formatMessage({id:"previewer.actions.sketch"}),"data-copied":F||void 0},F?n.createElement(w.r,null):n.createElement(Ae,null),n.createElement("select",{value:"",onChange:function(we){var Ce=we.target.value;switch(Ce){case"group":case"symbol":(0,g.p6)(Oe.demoContainer,{type:Ce}).then(function(Qe){A()(JSON.stringify(Qe)),$e(!0),clearTimeout(ie.current),ie.current=window.setTimeout(function(){return $e(!1)},2e3)});break;case"guide":window.open("https://d.umijs.org/config#html2sketch");break;default:}}},n.createElement("option",{value:"",hidden:!0}),n.createElement("option",{value:"group"},kr.formatMessage({id:"previewer.actions.sketch.group"})),n.createElement("option",{value:"symbol"},kr.formatMessage({id:"previewer.actions.sketch.symbol"})),n.createElement("option",{value:"-",disabled:!0},kr.formatMessage({id:"previewer.actions.sketch.divider"})),n.createElement("option",{value:"guide"},kr.formatMessage({id:"previewer.actions.sketch.guide"})))),!((Ur=Oe.disabledActions)!==null&&Ur!==void 0&&Ur.includes("EXTERNAL"))&&n.createElement("a",{target:"_blank",rel:"noreferrer",href:Oe.demoUrl,className:"dumi-default-previewer-action-btn","data-dumi-tooltip":kr.formatMessage({id:"previewer.actions.separate"})},n.createElement(Na,null)),Oe.extra,n.createElement(Z,Oe),!Oe.forceShowCode&&n.createElement("button",{className:"dumi-default-previewer-action-btn",type:"button",onClick:function(){return dn(function(we){return!we})},"data-dumi-tooltip":kr.formatMessage({id:"previewer.actions.code.".concat(ua?"shrink":"expand")})},ua?n.createElement(Io,null):n.createElement(ha,null))),ua&&n.createElement(n.Fragment,null,n.createElement("div",{className:"dumi-default-previewer-sources"},n.createElement(E.Z,{className:l()("dumi-default-previewer-tabs",dt&&"dumi-default-previewer-tabs-single"),defaultActiveKey:String(tn),onChange:function(we){return Dn(Number(we))},items:en.map(function(de,we){var Ce=Ma(de,1),Qe=Ce[0];return{key:String(we),label:Qe.replace(/^\.\//,""),children:we===0&&Sn!==null&&Sn!==void 0&&Sn.compile?n.createElement($,{lang:mt,initialValue:en[we][1].value.trim(),onChange:function(Et){var pt,bt;(pt=Oe.onSourceChange)===null||pt===void 0||pt.call(Oe,Fa({},en[we][0],Et)),(bt=Oe.onSourceTranspile)===null||bt===void 0||bt.call(Oe,{source:Fa({},en[we][0],Et)})},extra:n.createElement(Ha,{title:kr.formatMessage({id:"previewer.actions.code.editable"})},n.createElement("button",{type:"button",className:"dumi-default-previewer-editor-tip-btn"},n.createElement(L.r,null)))}):n.createElement(W.Z,{lang:mt,extra:we!==0&&n.createElement(Ha,{title:kr.formatMessage({id:"previewer.actions.code.readonly"})},n.createElement("button",{type:"button",className:"dumi-default-previewer-editor-tip-btn","data-readonly":!0},n.createElement("span",null),n.createElement(L.r,null)))},en[tn][1].value.trim())}})}))))},zn=ao;function Er(){return Er=Object.assign?Object.assign.bind():function(Ie){for(var Oe=1;OeW in A?a(A,W,{enumerable:!0,configurable:!0,writable:!0,value:k}):A[W]=k,m=(A,W)=>{for(var k in W||(W={}))c.call(W,k)&&s(A,k,W[k]);if(u)for(var k of u(W))f.call(W,k)&&s(A,k,W[k]);return A};const y=A=>o.createElement("svg",m({viewBox:"64 64 896 896"},A),o.createElement("path",{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2 263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}));var v="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2Ij48cGF0aCBkPSJNODMyIDY0SDI5NmMtNC40IDAtOCAzLjYtOCA4djU2YzAgNC40IDMuNiA4IDggOGg0OTZ2Njg4YzAgNC40IDMuNiA4IDggOGg1NmM0LjQgMCA4LTMuNiA4LThWOTZjMC0xNy43LTE0LjMtMzItMzItMzJ6TTcwNCAxOTJIMTkyYy0xNy43IDAtMzIgMTQuMy0zMiAzMnY1MzAuN2MwIDguNSAzLjQgMTYuNiA5LjQgMjIuNmwxNzMuMyAxNzMuM2MyLjIgMi4yIDQuNyA0IDcuNCA1LjV2MS45aDQuMmMzLjUgMS4zIDcuMiAyIDExIDJINzA0YzE3LjcgMCAzMi0xNC4zIDMyLTMyVjIyNGMwLTE3LjctMTQuMy0zMi0zMi0zMnpNMzUwIDg1Ni4yIDI2My45IDc3MEgzNTB2ODYuMnpNNjY0IDg4OEg0MTRWNzQ2YzAtMjIuMS0xNy45LTQwLTQwLTQwSDIzMlYyNjRoNDMydjYyNHoiLz48L3N2Zz4=",l=e(12124),g=e.n(l),E=e(39013);var w=function(){var A=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,W=0,k={},Z={util:{encode:function ee($){return $ instanceof z?new z($.type,ee($.content),$.alias):Array.isArray($)?$.map(ee):$.replace(/&/g,"&").replace(/"+ye.content+""};function Ee(ee,$,X,Y){ee.lastIndex=$;var ye=ee.exec(X);if(ye&&Y&&ye[1]){var J=ye[1].length;ye.index+=J,ye[0]=ye[0].slice(J)}return ye}function Me(ee,$,X,Y,ye,J){for(var ve in X)if(!(!X.hasOwnProperty(ve)||!X[ve])){var ge=X[ve];ge=Array.isArray(ge)?ge:[ge];for(var fe=0;fe=J.reach);b+=Le.value.length,Le=Le.next){var te=Le.value;if($.length>ee.length)return;if(!(te instanceof z)){var Re=1,be;if(Xe){if(be=Ee(he,b,ee,nt),!be||be.index>=ee.length)break;var Yt=be.index,Ze=be.index+be[0].length,Mt=b;for(Mt+=Le.value.length;Yt>=Mt;)Le=Le.next,Mt+=Le.value.length;if(Mt-=Le.value.length,b=Mt,Le.value instanceof z)continue;for(var _t=Le;_t!==$.tail&&(MtJ.reach&&(J.reach=yt);var Be=Le.prev;Tt&&(Be=Ve($,Be,Tt),b+=Tt.length),tt($,Be,Re);var Je=new z(ve,We?Z.tokenize(Rt,We):Rt,Ut,Rt);if(Le=Ve($,Be,Je),je&&Ve($,Le,je),Re>1){var Nt={cause:ve+","+fe,reach:yt};Me(ee,$,X,Le.prev,b,Nt),J&&Nt.reach>J.reach&&(J.reach=Nt.reach)}}}}}}function et(){var ee={value:null,prev:null,next:null},$={value:null,prev:ee,next:null};ee.next=$,this.head=ee,this.tail=$,this.length=0}function Ve(ee,$,X){var Y=$.next,ye={value:X,prev:$,next:Y};return $.next=ye,Y.prev=ye,ee.length++,ye}function tt(ee,$,X){for(var Y=$.next,ye=0;ye/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},S.languages.markup.tag.inside["attr-value"].inside.entity=S.languages.markup.entity,S.languages.markup.doctype.inside["internal-subset"].inside=S.languages.markup,S.hooks.add("wrap",function(A){A.type==="entity"&&(A.attributes.title=A.content.replace(/&/,"&"))}),Object.defineProperty(S.languages.markup.tag,"addInlined",{value:function(W,k){var Z={};Z["language-"+k]={pattern:/(^$)/i,lookbehind:!0,inside:S.languages[k]},Z.cdata=/^$/i;var z={"included-cdata":{pattern://i,inside:Z}};z["language-"+k]={pattern:/[\s\S]+/,inside:S.languages[k]};var Ee={};Ee[W]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return W}),"i"),lookbehind:!0,greedy:!0,inside:z},S.languages.insertBefore("markup","cdata",Ee)}}),Object.defineProperty(S.languages.markup.tag,"addAttribute",{value:function(A,W){S.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+A+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[W,"language-"+W],inside:S.languages[W]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),S.languages.html=S.languages.markup,S.languages.mathml=S.languages.markup,S.languages.svg=S.languages.markup,S.languages.xml=S.languages.extend("markup",{}),S.languages.ssml=S.languages.xml,S.languages.atom=S.languages.xml,S.languages.rss=S.languages.xml,function(A){var W="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",k={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},Z={bash:k,environment:{pattern:RegExp("\\$"+W),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+W),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};A.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+W),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:Z},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:k}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:Z},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:Z.entity}}],environment:{pattern:RegExp("\\$?"+W),alias:"constant"},variable:Z.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},k.inside=A.languages.bash;for(var z=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],Ee=Z.variable[1].inside,Me=0;Me]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},S.languages.c=S.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),S.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),S.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},S.languages.c.string],char:S.languages.c.char,comment:S.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:S.languages.c}}}}),S.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete S.languages.c.boolean,function(A){var W=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,k=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return W.source});A.languages.cpp=A.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return W.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:W,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),A.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return k})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),A.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:A.languages.cpp}}}}),A.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),A.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:A.languages.extend("cpp",{})}}),A.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},A.languages.cpp["base-clause"])}(S),function(A){var W=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;A.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+W.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+W.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+W.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:W,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},A.languages.css.atrule.inside.rest=A.languages.css;var k=A.languages.markup;k&&(k.tag.addInlined("style","css"),k.tag.addAttribute("style","css"))}(S),function(A){var W=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,k;A.languages.css.selector={pattern:A.languages.css.selector.pattern,lookbehind:!0,inside:k={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp(`\\[(?:[^[\\]"']|`+W.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[W,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},A.languages.css.atrule.inside["selector-function-argument"].inside=k,A.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var Z={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},z={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};A.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:Z,number:z,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:Z,number:z})}(S),S.languages.javascript=S.languages.extend("clike",{"class-name":[S.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),S.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,S.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:S.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:S.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:S.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:S.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:S.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),S.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:S.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),S.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),S.languages.markup&&(S.languages.markup.tag.addInlined("script","javascript"),S.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),S.languages.js=S.languages.javascript,function(A){var W=/#(?!\{).+/,k={pattern:/#\{[^}]+\}/,alias:"variable"};A.languages.coffeescript=A.languages.extend("javascript",{comment:W,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:k}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),A.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:W,interpolation:k}}}),A.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:A.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:k}}]}),A.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete A.languages.coffeescript["template-string"],A.languages.coffee=A.languages.coffeescript}(S),function(A){var W=/[*&][^\s[\]{},]+/,k=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,Z="(?:"+k.source+"(?:[ ]+"+W.source+")?|"+W.source+"(?:[ ]+"+k.source+")?)",z=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),Ee=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function Me(et,Ve){Ve=(Ve||"").replace(/m/g,"")+"m";var tt=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return Z}).replace(/<>/g,function(){return et});return RegExp(tt,Ve)}A.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return Z})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return Z}).replace(/<>/g,function(){return"(?:"+z+"|"+Ee+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:Me(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:Me(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:Me(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:Me(Ee),lookbehind:!0,greedy:!0},number:{pattern:Me(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:k,important:W,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},A.languages.yml=A.languages.yaml}(S),function(A){var W=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function k(gt){return gt=gt.replace(//g,function(){return W}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+gt+")")}var Z=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,z=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return Z}),Ee=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;A.languages.markdown=A.languages.extend("markup",{}),A.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:A.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+z+Ee+"(?:"+z+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+z+Ee+")(?:"+z+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(Z),inside:A.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+z+")"+Ee+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+z+"$"),inside:{"table-header":{pattern:RegExp(Z),alias:"important",inside:A.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:k(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:k(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:k(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:k(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(gt){["url","bold","italic","strike","code-snippet"].forEach(function(ee){gt!==ee&&(A.languages.markdown[gt].inside.content.inside[ee]=A.languages.markdown[ee])})}),A.hooks.add("after-tokenize",function(gt){if(gt.language!=="markdown"&>.language!=="md")return;function ee($){if(!(!$||typeof $=="string"))for(var X=0,Y=$.length;X",quot:'"'},Ve=String.fromCodePoint||String.fromCharCode;function tt(gt){var ee=gt.replace(Me,"");return ee=ee.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function($,X){if(X=X.toLowerCase(),X[0]==="#"){var Y;return X[1]==="x"?Y=parseInt(X.slice(2),16):Y=Number(X.slice(1)),Ve(Y)}else{var ye=et[X];return ye||$}}),ee}A.languages.md=A.languages.markdown}(S),S.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:S.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},S.hooks.add("after-tokenize",function(W){if(W.language!=="graphql")return;var k=W.tokens.filter(function(ye){return typeof ye!="string"&&ye.type!=="comment"&&ye.type!=="scalar"}),Z=0;function z(ye){return k[Z+ye]}function Ee(ye,J){J=J||0;for(var ve=0;ve0)){var $=Me(/^\{$/,/^\}$/);if($===-1)continue;for(var X=Z;X<$;X++){var Y=k[X];Y.type==="variable"&&tt.indexOf(Y.content)>=0&&et(Y,"variable-input")}}}}}),S.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(A){var W=A.languages.javascript["template-string"],k=W.pattern.source,Z=W.inside.interpolation,z=Z.inside["interpolation-punctuation"],Ee=Z.pattern.source;function Me(X,Y){if(A.languages[X])return{pattern:RegExp("((?:"+Y+")\\s*)"+k),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:X}}}}A.languages.javascript["template-string"]=[Me("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),Me("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),Me("svg",/\bsvg/.source),Me("markdown",/\b(?:markdown|md)/.source),Me("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),Me("sql",/\bsql/.source),W].filter(Boolean);function et(X,Y){return"___"+Y.toUpperCase()+"_"+X+"___"}function Ve(X,Y,ye){var J={code:X,grammar:Y,language:ye};return A.hooks.run("before-tokenize",J),J.tokens=A.tokenize(J.code,J.grammar),A.hooks.run("after-tokenize",J),J.tokens}function tt(X){var Y={};Y["interpolation-punctuation"]=z;var ye=A.tokenize(X,Y);if(ye.length===3){var J=[1,1];J.push.apply(J,Ve(ye[1],A.languages.javascript,"javascript")),ye.splice.apply(ye,J)}return new A.Token("interpolation",ye,Z.alias,X)}function gt(X,Y,ye){var J=A.tokenize(X,{interpolation:{pattern:RegExp(Ee),lookbehind:!0}}),ve=0,ge={},fe=J.map(function(Xe){if(typeof Xe=="string")return Xe;for(var Ut=Xe.content,Pe;X.indexOf(Pe=et(ve++,ye))!==-1;);return ge[Pe]=Ut,Pe}).join(""),Te=Ve(fe,Y,ye),We=Object.keys(ge);ve=0;function nt(Xe){for(var Ut=0;Ut=We.length)return;var Pe=Xe[Ut];if(typeof Pe=="string"||typeof Pe.content=="string"){var he=We[ve],Le=typeof Pe=="string"?Pe:Pe.content,b=Le.indexOf(he);if(b!==-1){++ve;var te=Le.substring(0,b),Re=tt(ge[he]),be=Le.substring(b+he.length),Ze=[];if(te&&Ze.push(te),Ze.push(Re),be){var Mt=[be];nt(Mt),Ze.push.apply(Ze,Mt)}typeof Pe=="string"?(Xe.splice.apply(Xe,[Ut,1].concat(Ze)),Ut+=Ze.length-1):Pe.content=Ze}}else{var _t=Pe.content;Array.isArray(_t)?nt(_t):nt([_t])}}}return nt(Te),new A.Token(ye,Te,"language-"+ye,X)}var ee={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};A.hooks.add("after-tokenize",function(X){if(!(X.language in ee))return;function Y(ye){for(var J=0,ve=ye.length;J]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),A.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete A.languages.typescript.parameter,delete A.languages.typescript["literal-property"];var W=A.languages.extend("typescript",{});delete W["class-name"],A.languages.typescript["class-name"].inside=W,A.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:W}}}}),A.languages.ts=A.languages.typescript}(S),function(A){A.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+A.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),A.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+A.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),A.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function W(et,Ve){return RegExp(et.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),Ve)}A.languages.insertBefore("javascript","keyword",{imports:{pattern:W(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:A.languages.javascript},exports:{pattern:W(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:A.languages.javascript}}),A.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),A.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),A.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:W(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var k=["function","function-variable","method","method-variable","property-access"],Z=0;Z*\.{3}(?:[^{}]|)*\})/.source;function Ee(Ve,tt){return Ve=Ve.replace(//g,function(){return k}).replace(//g,function(){return Z}).replace(//g,function(){return z}),RegExp(Ve,tt)}z=Ee(z).source,A.languages.jsx=A.languages.extend("markup",W),A.languages.jsx.tag.pattern=Ee(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),A.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,A.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,A.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,A.languages.jsx.tag.inside.comment=W.comment,A.languages.insertBefore("inside","attr-name",{spread:{pattern:Ee(//.source),inside:A.languages.jsx}},A.languages.jsx.tag),A.languages.insertBefore("inside","special-attr",{script:{pattern:Ee(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:A.languages.jsx}}},A.languages.jsx.tag);var Me=function(Ve){return Ve?typeof Ve=="string"?Ve:typeof Ve.content=="string"?Ve.content:Ve.content.map(Me).join(""):""},et=function(Ve){for(var tt=[],gt=0;gt0&&tt[tt.length-1].tagName===Me(ee.content[0].content[1])&&tt.pop():ee.content[ee.content.length-1].content==="/>"||tt.push({tagName:Me(ee.content[0].content[1]),openedBraces:0}):tt.length>0&&ee.type==="punctuation"&&ee.content==="{"?tt[tt.length-1].openedBraces++:tt.length>0&&tt[tt.length-1].openedBraces>0&&ee.type==="punctuation"&&ee.content==="}"?tt[tt.length-1].openedBraces--:$=!0),($||typeof ee=="string")&&tt.length>0&&tt[tt.length-1].openedBraces===0){var X=Me(ee);gt0&&(typeof Ve[gt-1]=="string"||Ve[gt-1].type==="plain-text")&&(X=Me(Ve[gt-1])+X,Ve.splice(gt-1,1),gt--),Ve[gt]=new A.Token("plain-text",X,null,X)}ee.content&&typeof ee.content!="string"&&et(ee.content)}};A.hooks.add("after-tokenize",function(Ve){Ve.language!=="jsx"&&Ve.language!=="tsx"||et(Ve.tokens)})}(S),function(A){A.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var W={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(W).forEach(function(k){var Z=W[k],z=[];/^\w+$/.test(k)||z.push(/\w+/.exec(k)[0]),k==="diff"&&z.push("bold"),A.languages.diff[k]={pattern:RegExp("^(?:["+Z+`].*(?:\r ?| |(?![\\s\\S])))+`,"m"),alias:z,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(k)[0]}}}}),Object.defineProperty(A.languages.diff,"PREFIXES",{value:W})}(S),S.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m},S.languages.go=S.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),S.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete S.languages.go["class-name"],function(A){function W(k,Z){return"___"+k.toUpperCase()+Z+"___"}Object.defineProperties(A.languages["markup-templating"]={},{buildPlaceholders:{value:function(k,Z,z,Ee){if(k.language===Z){var Me=k.tokenStack=[];k.code=k.code.replace(z,function(et){if(typeof Ee=="function"&&!Ee(et))return et;for(var Ve=Me.length,tt;k.code.indexOf(tt=W(Z,Ve))!==-1;)++Ve;return Me[Ve]=et,tt}),k.grammar=A.languages.markup}}},tokenizePlaceholders:{value:function(k,Z){if(k.language!==Z||!k.tokenStack)return;k.grammar=A.languages[Z];var z=0,Ee=Object.keys(k.tokenStack);function Me(et){for(var Ve=0;Ve=Ee.length);Ve++){var tt=et[Ve];if(typeof tt=="string"||tt.content&&typeof tt.content=="string"){var gt=Ee[z],ee=k.tokenStack[gt],$=typeof tt=="string"?tt:tt.content,X=W(Z,gt),Y=$.indexOf(X);if(Y>-1){++z;var ye=$.substring(0,Y),J=new A.Token(Z,A.tokenize(ee,k.grammar),"language-"+Z,ee),ve=$.substring(Y+X.length),ge=[];ye&&ge.push.apply(ge,Me([ye])),ge.push(J),ve&&ge.push.apply(ge,Me([ve])),typeof tt=="string"?et.splice.apply(et,[Ve,1].concat(ge)):tt.content=ge}}else tt.content&&Me(tt.content)}return et}Me(k.tokens)}}})}(S),function(A){A.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},A.hooks.add("before-tokenize",function(W){var k=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;A.languages["markup-templating"].buildPlaceholders(W,"handlebars",k)}),A.hooks.add("after-tokenize",function(W){A.languages["markup-templating"].tokenizePlaceholders(W,"handlebars")}),A.languages.hbs=A.languages.handlebars}(S),S.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},S.languages.webmanifest=S.languages.json,S.languages.less=S.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),S.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}}),S.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/},S.languages.objectivec=S.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete S.languages.objectivec["class-name"],S.languages.objc=S.languages.objectivec,S.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/},S.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},S.languages.python["string-interpolation"].inside.interpolation.inside.rest=S.languages.python,S.languages.py=S.languages.python,S.languages.reason=S.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),S.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete S.languages.reason.function,function(A){A.languages.sass=A.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),A.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete A.languages.sass.atrule;var W=/\$[-\w]+|#\{\$[-\w]+\}/,k=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];A.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:W,operator:k}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:W,operator:k,important:A.languages.sass.important}}}),delete A.languages.sass.property,delete A.languages.sass.important,A.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}(S),S.languages.scss=S.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),S.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),S.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),S.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),S.languages.scss.atrule.inside.rest=S.languages.scss,function(A){var W={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},k={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},Z={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:W,number:k,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:W,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:k,punctuation:/[{}()\[\];:,]/};Z.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:Z}},Z.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:Z}},A.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:Z}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:Z}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:Z}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:Z.interpolation}},rest:Z}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:Z.interpolation,comment:Z.comment,punctuation:/[{},]/}},func:Z.func,string:Z.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:Z.interpolation,punctuation:/[{}()\[\];:.]/}}(S),function(A){var W=A.util.clone(A.languages.typescript);A.languages.tsx=A.languages.extend("jsx",W),delete A.languages.tsx.parameter,delete A.languages.tsx["literal-property"];var k=A.languages.tsx.tag;k.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+k.pattern.source+")",k.pattern.flags),k.lookbehind=!0}(S),S.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/};var x=S,O={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},j=O,_={Prism:x,theme:j};function K(A,W,k){return W in A?Object.defineProperty(A,W,{value:k,enumerable:!0,configurable:!0,writable:!0}):A[W]=k,A}function P(){return P=Object.assign||function(A){for(var W=1;W0&&A[k-1]===W?A:A.concat(W)},V=function(A){for(var W=[[]],k=[A],Z=[0],z=[A.length],Ee=0,Me=0,et=[],Ve=[et];Me>-1;){for(;(Ee=Z[Me]++)0?gt:["plain"],tt=$):(gt=H(gt,$.type),$.alias&&(gt=H(gt,$.alias)),tt=$.content),typeof tt!="string"){Me++,W.push(gt),k.push(tt),Z.push(0),z.push(tt.length);continue}var X=tt.split(I),Y=X.length;et.push({types:gt,content:X[0]});for(var ye=1;yeA.length)&&(W=A.length);for(var k=0,Z=new Array(W);k)\s/gm,"");ye(Te)}},[z,Z]);var ge=o.createElement(pe,Ne({},_,{code:W.textarea?Z:Z.trim(),language:q[z]||z,theme:void 0}),function(fe){var Te=fe.className,We=fe.style,nt=fe.tokens,Xe=fe.getLineProps,Ut=fe.getTokenProps;return o.createElement("pre",{className:Te,style:We},nt.map(function(Pe,he){return o.createElement("div",{key:String(he),className:g()({highlighted:Me.includes(he+1),wrap:ve.showLineNum})},ve.showLineNum&&o.createElement("span",{className:"token-line-num"},he+1),o.createElement("div",Ne({},Xe({line:Pe,key:he}),{className:g()({"line-cell":ve.showLineNum})}),Pe.map(function(Le,b){return o.createElement("span",Ut({token:Le,key:b}))})))}))});return o.createElement("div",{className:"dumi-default-source-code"},o.createElement(Ae.CopyToClipboard,{text:Y,onCopy:function(){ee(!0),clearTimeout(et.current),et.current=window.setTimeout(function(){return ee(!1)},2e3)}},o.createElement("button",{type:"button",className:"dumi-default-source-code-copy","data-copied":gt||void 0},gt?o.createElement(n.r,null):o.createElement(y,null))),W.textarea?o.createElement("div",{className:"dumi-default-source-code-scroll-container"},o.createElement("div",{className:"dumi-default-source-code-scroll-content"},ge,W.textarea)):ge,W.extra)},re=le},54131:function(d,p,e){"use strict";e.d(p,{Z:function(){return w}});var n=e(39940),o=e.n(n),a=e(21739),u=["children"];function c(S,x){return v(S)||y(S,x)||s(S,x)||f()}function f(){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 s(S,x){if(S){if(typeof S=="string")return m(S,x);var O=Object.prototype.toString.call(S).slice(8,-1);if(O==="Object"&&S.constructor&&(O=S.constructor.name),O==="Map"||O==="Set")return Array.from(S);if(O==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(O))return m(S,x)}}function m(S,x){(x==null||x>S.length)&&(x=S.length);for(var O=0,j=new Array(x);O=0)&&Object.prototype.propertyIsEnumerable.call(S,j)&&(O[j]=S[j])}return O}function g(S,x){if(S==null)return{};var O={},j=Object.keys(S),_,K;for(K=0;K=0)&&(O[_]=S[_]);return O}var E=function(x){var O=x.children,j=l(x,u),_=(0,a.useRef)(null),K=(0,a.useState)(!1),P=c(K,2),I=P[0],L=P[1],H=(0,a.useState)(!1),V=c(H,2),B=V[0],G=V[1];return(0,a.useEffect)(function(){var ce=_.current;if(ce){var pe=o()(function(){L(ce.scrollLeft>0),G(ce.scrollLeftA.length)&&(W=A.length);for(var k=0,Z=new Array(W);k)\s/gm,"");ye(Te)}},[z,Z]);var ge=o.createElement(pe,Ne({},_,{code:W.textarea?Z:Z.trim(),language:q[z]||z,theme:void 0}),function(fe){var Te=fe.className,We=fe.style,nt=fe.tokens,Xe=fe.getLineProps,Ut=fe.getTokenProps;return o.createElement("pre",{className:Te,style:We},nt.map(function(Pe,he){return o.createElement("div",{key:String(he),className:g()({highlighted:Me.includes(he+1),wrap:ve.showLineNum})},ve.showLineNum&&o.createElement("span",{className:"token-line-num"},he+1),o.createElement("div",Ne({},Xe({line:Pe,key:he}),{className:g()({"line-cell":ve.showLineNum})}),Pe.map(function(Le,b){return o.createElement("span",Ut({token:Le,key:b}))})))}))});return o.createElement("div",{className:"dumi-default-source-code"},o.createElement(Ae.CopyToClipboard,{text:Y,onCopy:function(){ee(!0),clearTimeout(et.current),et.current=window.setTimeout(function(){return ee(!1)},2e3)}},o.createElement("button",{type:"button",className:"dumi-default-source-code-copy","data-copied":gt||void 0},gt?o.createElement(n.r,null):o.createElement(y,null))),W.textarea?o.createElement("div",{className:"dumi-default-source-code-scroll-container"},o.createElement("div",{className:"dumi-default-source-code-scroll-content"},ge,W.textarea)):ge,W.extra)},re=le},73514:function(d,p,e){"use strict";e.d(p,{Z:function(){return w}});var n=e(39940),o=e.n(n),a=e(21739),u=["children"];function c(S,x){return v(S)||y(S,x)||s(S,x)||f()}function f(){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 s(S,x){if(S){if(typeof S=="string")return m(S,x);var O=Object.prototype.toString.call(S).slice(8,-1);if(O==="Object"&&S.constructor&&(O=S.constructor.name),O==="Map"||O==="Set")return Array.from(S);if(O==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(O))return m(S,x)}}function m(S,x){(x==null||x>S.length)&&(x=S.length);for(var O=0,j=new Array(x);O=0)&&Object.prototype.propertyIsEnumerable.call(S,j)&&(O[j]=S[j])}return O}function g(S,x){if(S==null)return{};var O={},j=Object.keys(S),_,K;for(K=0;K=0)&&(O[_]=S[_]);return O}var E=function(x){var O=x.children,j=l(x,u),_=(0,a.useRef)(null),K=(0,a.useState)(!1),P=c(K,2),I=P[0],L=P[1],H=(0,a.useState)(!1),V=c(H,2),B=V[0],G=V[1];return(0,a.useEffect)(function(){var ce=_.current;if(ce){var pe=o()(function(){L(ce.scrollLeft>0),G(ce.scrollLeft1&&arguments[1]!==void 0?arguments[1]:!1,ke;Se===!1?ke={aria:!0,data:!0,attr:!0}:Se===!0?ke={aria:!0}:ke=(0,a.Z)({},Se);var F={};return Object.keys(ie).forEach(function($e){(ke.aria&&($e==="role"||_($e,O))||ke.data&&_($e,j)||ke.attr&&x.includes($e))&&(F[$e]=ie[$e])}),F}var P=e(85870),I=e(21739),L=I.createContext(null);function H(ie){var Se=ie.dropPosition,ke=ie.dropLevelOffset,F=ie.indent,$e={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(Se){case-1:$e.top=0,$e.left=-ke*F;break;case 1:$e.bottom=0,$e.left=-ke*F;break;case 0:$e.bottom=0,$e.left=F;break}return I.createElement("div",{style:$e})}function V(ie){if(ie==null)throw new TypeError("Cannot destructure "+ie)}var B=e(2289),G=e(61191),ce=e(19171),pe=e(10933),Ae=e(40150),Ne=e(67820),me=I.forwardRef(function(ie,Se){var ke=ie.height,F=ie.offsetY,$e=ie.offsetX,dt=ie.children,mt=ie.prefixCls,de=ie.onInnerResize,we=ie.innerProps,Ce=ie.rtl,Qe=ie.extra,it={},Et={display:"flex",flexDirection:"column"};return F!==void 0&&(it={height:ke,position:"relative",overflow:"hidden"},Et=(0,a.Z)((0,a.Z)({},Et),{},(0,v.Z)((0,v.Z)((0,v.Z)((0,v.Z)((0,v.Z)({transform:"translateY(".concat(F,"px)")},Ce?"marginRight":"marginLeft",-$e),"position","absolute"),"left",0),"right",0),"top",0))),I.createElement("div",{style:it},I.createElement(pe.Z,{onResize:function(bt){var ht=bt.offsetHeight;ht&&de&&de()}},I.createElement("div",(0,n.Z)({style:Et,className:g()((0,v.Z)({},"".concat(mt,"-holder-inner"),mt)),ref:Se},we),dt,Qe)))});me.displayName="Filler";var Q=me;function ne(ie){var Se=ie.children,ke=ie.setRef,F=I.useCallback(function($e){ke($e)},[]);return I.cloneElement(Se,{ref:F})}function ae(ie,Se,ke,F,$e,dt,mt,de){var we=de.getKey;return ie.slice(Se,ke+1).map(function(Ce,Qe){var it=Se+Qe,Et=mt(Ce,it,{style:{width:F},offsetX:$e}),pt=we(Ce);return I.createElement(ne,{key:pt,setRef:function(ht){return dt(Ce,ht)}},Et)})}function U(ie,Se,ke,F){var $e=ke-ie,dt=Se-ke,mt=Math.min($e,dt)*2;if(F<=mt){var de=Math.floor(F/2);return F%2?ke+de+1:ke-de}return $e>dt?ke-(F-dt):ke+(F-$e)}function R(ie,Se,ke){var F=ie.length,$e=Se.length,dt,mt;if(F===0&&$e===0)return null;F<$e?(dt=ie,mt=Se):(dt=Se,mt=ie);var de={__EMPTY_ITEM__:!0};function we(bt){return bt!==void 0?ke(bt):de}for(var Ce=null,Qe=Math.abs(F-$e)!==1,it=0;it2&&arguments[2]!==void 0?arguments[2]:!1,it=we?Ce<0&&de.current.left||Ce>0&&de.current.right:Ce<0&&de.current.top||Ce>0&&de.current.bottom;return Qe&&it?(clearTimeout(dt.current),$e.current=!1):(!it||$e.current)&&mt(),!$e.current&&it}};function k(ie,Se,ke,F,$e,dt,mt){var de=(0,I.useRef)(0),we=(0,I.useRef)(null),Ce=(0,I.useRef)(null),Qe=(0,I.useRef)(!1),it=W(Se,ke,F,$e);function Et(Gt,Ht){le.Z.cancel(we.current),de.current+=Ht,Ce.current=Ht,!it(!1,Ht)&&(A||Gt.preventDefault(),we.current=(0,le.Z)(function(){var fr=Qe.current?10:1;mt(de.current*fr),de.current=0}))}function pt(Gt,Ht){mt(Ht,!0),A||Gt.preventDefault()}var bt=(0,I.useRef)(null),ht=(0,I.useRef)(null);function xt(Gt){if(ie){le.Z.cancel(ht.current),ht.current=(0,le.Z)(function(){bt.current=null},2);var Ht=Gt.deltaX,fr=Gt.deltaY,wr=Gt.shiftKey,Zr=Ht,Xr=fr;(bt.current==="sx"||!bt.current&&wr&&fr&&!Ht)&&(Zr=fr,Xr=0,bt.current="sx");var xr=Math.abs(Zr),Tr=Math.abs(Xr);bt.current===null&&(bt.current=dt&&xr>Tr?"x":"y"),bt.current==="y"?Et(Gt,Xr):pt(Gt,Zr)}}function It(Gt){ie&&(Qe.current=Gt.detail===Ce.current)}return[xt,It]}function Z(ie,Se,ke,F){var $e=I.useMemo(function(){return[new Map,[]]},[ie,ke.id,F]),dt=(0,B.Z)($e,2),mt=dt[0],de=dt[1],we=function(Qe){var it=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Qe,Et=mt.get(Qe),pt=mt.get(it);if(Et===void 0||pt===void 0)for(var bt=ie.length,ht=de.length;ht0&&arguments[0]!==void 0?arguments[0]:!1;Qe();var bt=function(){de.current.forEach(function(xt,It){if(xt&&xt.offsetParent){var Gt=(0,z.ZP)(xt),Ht=Gt.offsetHeight;we.current.get(It)!==Ht&&we.current.set(It,Gt.offsetHeight)}}),mt(function(xt){return xt+1})};pt?bt():Ce.current=(0,le.Z)(bt)}function Et(pt,bt){var ht=ie(pt),xt=de.current.get(ht);bt?(de.current.set(ht,bt),it()):de.current.delete(ht),!xt!=!bt&&(bt?Se==null||Se(pt):ke==null||ke(pt))}return(0,I.useEffect)(function(){return Qe},[]),[Et,it,we.current,dt]}var Ve=14/15;function tt(ie,Se,ke){var F=(0,I.useRef)(!1),$e=(0,I.useRef)(0),dt=(0,I.useRef)(0),mt=(0,I.useRef)(null),de=(0,I.useRef)(null),we,Ce=function(pt){if(F.current){var bt=Math.ceil(pt.touches[0].pageX),ht=Math.ceil(pt.touches[0].pageY),xt=$e.current-bt,It=dt.current-ht,Gt=Math.abs(xt)>Math.abs(It);Gt?$e.current=bt:dt.current=ht,ke(Gt,Gt?xt:It)&&pt.preventDefault(),clearInterval(de.current),de.current=setInterval(function(){Gt?xt*=Ve:It*=Ve;var Ht=Math.floor(Gt?xt:It);(!ke(Gt,Ht,!0)||Math.abs(Ht)<=.1)&&clearInterval(de.current)},16)}},Qe=function(){F.current=!1,we()},it=function(pt){we(),pt.touches.length===1&&!F.current&&(F.current=!0,$e.current=Math.ceil(pt.touches[0].pageX),dt.current=Math.ceil(pt.touches[0].pageY),mt.current=pt.target,mt.current.addEventListener("touchmove",Ce,{passive:!1}),mt.current.addEventListener("touchend",Qe,{passive:!0}))};we=function(){mt.current&&(mt.current.removeEventListener("touchmove",Ce),mt.current.removeEventListener("touchend",Qe))},(0,ce.Z)(function(){return ie&&Se.current.addEventListener("touchstart",it,{passive:!0}),function(){var Et;(Et=Se.current)===null||Et===void 0||Et.removeEventListener("touchstart",it),we(),clearInterval(de.current)}},[ie])}var gt=10;function ee(ie,Se,ke,F,$e,dt,mt,de){var we=I.useRef(),Ce=I.useState(null),Qe=(0,B.Z)(Ce,2),it=Qe[0],Et=Qe[1];return(0,ce.Z)(function(){if(it&&it.times=0;gn-=1){var Cn=$e(Se[gn]),Mn=ke.get(Cn);if(Mn===void 0){Gt=!0;break}if(ea-=Mn,ea<=0)break}switch(wr){case"top":fr=Xr-xt;break;case"bottom":fr=xr-It+xt;break;default:{var An=ie.current.scrollTop,_n=An+It;Xr_n&&(Ht="bottom")}}fr!==null&&mt(fr),fr!==it.lastTop&&(Gt=!0)}Gt&&Et((0,a.Z)((0,a.Z)({},it),{},{times:it.times+1,targetAlign:Ht,lastTop:fr}))}},[it,ie.current]),function(pt){if(pt==null){de();return}if(le.Z.cancel(we.current),typeof pt=="number")mt(pt);else if(pt&&(0,o.Z)(pt)==="object"){var bt,ht=pt.align;"index"in pt?bt=pt.index:bt=Se.findIndex(function(Gt){return $e(Gt)===pt.key});var xt=pt.offset,It=xt===void 0?0:xt;Et({times:0,index:bt,offset:It,originAlign:ht})}}}function $(ie,Se){var ke="touches"in ie?ie.touches[0]:ie;return ke[Se?"pageX":"pageY"]}var X=I.forwardRef(function(ie,Se){var ke=ie.prefixCls,F=ie.rtl,$e=ie.scrollOffset,dt=ie.scrollRange,mt=ie.onStartMove,de=ie.onStopMove,we=ie.onScroll,Ce=ie.horizontal,Qe=ie.spinSize,it=ie.containerSize,Et=ie.style,pt=ie.thumbStyle,bt=I.useState(!1),ht=(0,B.Z)(bt,2),xt=ht[0],It=ht[1],Gt=I.useState(null),Ht=(0,B.Z)(Gt,2),fr=Ht[0],wr=Ht[1],Zr=I.useState(null),Xr=(0,B.Z)(Zr,2),xr=Xr[0],Tr=Xr[1],Hr=!F,on=I.useRef(),hn=I.useRef(),ea=I.useState(!1),gn=(0,B.Z)(ea,2),Cn=gn[0],Mn=gn[1],An=I.useRef(),_n=function(){clearTimeout(An.current),Mn(!0),An.current=setTimeout(function(){Mn(!1)},3e3)},ra=dt-it||0,Pn=it-Qe||0,Vn=I.useMemo(function(){if($e===0||ra===0)return 0;var En=$e/ra;return En*Pn},[$e,ra,Pn]),ia=function(rn){rn.stopPropagation(),rn.preventDefault()},Ea=I.useRef({top:Vn,dragging:xt,pageY:fr,startTop:xr});Ea.current={top:Vn,dragging:xt,pageY:fr,startTop:xr};var ma=function(rn){It(!0),wr($(rn,Ce)),Tr(Ea.current.top),mt(),rn.stopPropagation(),rn.preventDefault()};I.useEffect(function(){var En=function(Ya){Ya.preventDefault()},rn=on.current,La=hn.current;return rn.addEventListener("touchstart",En,{passive:!1}),La.addEventListener("touchstart",ma,{passive:!1}),function(){rn.removeEventListener("touchstart",En),La.removeEventListener("touchstart",ma)}},[]);var Ia=I.useRef();Ia.current=ra;var ro=I.useRef();ro.current=Pn,I.useEffect(function(){if(xt){var En,rn=function(Ya){var Qa=Ea.current,Lo=Qa.dragging,ue=Qa.pageY,xe=Qa.startTop;le.Z.cancel(En);var Fe=on.current.getBoundingClientRect(),rt=it/(Ce?Fe.width:Fe.height);if(Lo){var ze=($(Ya,Ce)-ue)*rt,Ye=xe;!Hr&&Ce?Ye-=ze:Ye+=ze;var st=Ia.current,Ot=ro.current,At=Ot?Ye/Ot:0,Bt=Math.ceil(At*st);Bt=Math.max(Bt,0),Bt=Math.min(Bt,st),En=(0,le.Z)(function(){we(Bt,Ce)})}},La=function(){It(!1),de()};return window.addEventListener("mousemove",rn,{passive:!0}),window.addEventListener("touchmove",rn,{passive:!0}),window.addEventListener("mouseup",La,{passive:!0}),window.addEventListener("touchend",La,{passive:!0}),function(){window.removeEventListener("mousemove",rn),window.removeEventListener("touchmove",rn),window.removeEventListener("mouseup",La),window.removeEventListener("touchend",La),le.Z.cancel(En)}}},[xt]),I.useEffect(function(){return _n(),function(){clearTimeout(An.current)}},[$e]),I.useImperativeHandle(Se,function(){return{delayHidden:_n}});var lr="".concat(ke,"-scrollbar"),Jr={position:"absolute",visibility:Cn?null:"hidden"},Rn={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return Ce?(Jr.height=8,Jr.left=0,Jr.right=0,Jr.bottom=0,Rn.height="100%",Rn.width=Qe,Hr?Rn.left=Vn:Rn.right=Vn):(Jr.width=8,Jr.top=0,Jr.bottom=0,Hr?Jr.right=0:Jr.left=0,Rn.width="100%",Rn.height=Qe,Rn.top=Vn),I.createElement("div",{ref:on,className:g()(lr,(0,v.Z)((0,v.Z)((0,v.Z)({},"".concat(lr,"-horizontal"),Ce),"".concat(lr,"-vertical"),!Ce),"".concat(lr,"-visible"),Cn)),style:(0,a.Z)((0,a.Z)({},Jr),Et),onMouseDown:ia,onMouseMove:_n},I.createElement("div",{ref:hn,className:g()("".concat(lr,"-thumb"),(0,v.Z)({},"".concat(lr,"-thumb-moving"),xt)),style:(0,a.Z)((0,a.Z)({},Rn),pt),onMouseDown:ma}))}),Y=X,ye=20;function J(){var ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,Se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,ke=ie/Se*ie;return isNaN(ke)&&(ke=0),ke=Math.max(ke,ye),Math.floor(ke)}var ve=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles"],ge=[],fe={overflowY:"auto",overflowAnchor:"none"};function Te(ie,Se){var ke=ie.prefixCls,F=ke===void 0?"rc-virtual-list":ke,$e=ie.className,dt=ie.height,mt=ie.itemHeight,de=ie.fullHeight,we=de===void 0?!0:de,Ce=ie.style,Qe=ie.data,it=ie.children,Et=ie.itemKey,pt=ie.virtual,bt=ie.direction,ht=ie.scrollWidth,xt=ie.component,It=xt===void 0?"div":xt,Gt=ie.onScroll,Ht=ie.onVirtualScroll,fr=ie.onVisibleChange,wr=ie.innerProps,Zr=ie.extraRender,Xr=ie.styles,xr=(0,G.Z)(ie,ve),Tr=I.useCallback(function(nr){return typeof Et=="function"?Et(nr):nr==null?void 0:nr[Et]},[Et]),Hr=et(Tr,null,null),on=(0,B.Z)(Hr,4),hn=on[0],ea=on[1],gn=on[2],Cn=on[3],Mn=!!(pt!==!1&&dt&&mt),An=I.useMemo(function(){return Object.values(gn.maps).reduce(function(nr,vr){return nr+vr},0)},[gn.id,gn.maps]),_n=Mn&&Qe&&(Math.max(mt*Qe.length,An)>dt||!!ht),ra=bt==="rtl",Pn=g()(F,(0,v.Z)({},"".concat(F,"-rtl"),ra),$e),Vn=Qe||ge,ia=(0,I.useRef)(),Ea=(0,I.useRef)(),ma=(0,I.useRef)(),Ia=(0,I.useState)(0),ro=(0,B.Z)(Ia,2),lr=ro[0],Jr=ro[1],Rn=(0,I.useState)(0),En=(0,B.Z)(Rn,2),rn=En[0],La=En[1],Da=(0,I.useState)(!1),Ya=(0,B.Z)(Da,2),Qa=Ya[0],Lo=Ya[1],ue=function(){Lo(!0)},xe=function(){Lo(!1)},Fe={getKey:Tr};function rt(nr){Jr(function(vr){var Ir;typeof nr=="function"?Ir=nr(vr):Ir=nr;var wn=$r(Ir);return ia.current.scrollTop=wn,wn})}var ze=(0,I.useRef)({start:0,end:Vn.length}),Ye=(0,I.useRef)(),st=q(Vn,Tr),Ot=(0,B.Z)(st,1),At=Ot[0];Ye.current=At;var Bt=I.useMemo(function(){if(!Mn)return{scrollHeight:void 0,start:0,end:Vn.length-1,offset:void 0};if(!_n){var nr;return{scrollHeight:((nr=Ea.current)===null||nr===void 0?void 0:nr.offsetHeight)||0,start:0,end:Vn.length-1,offset:void 0}}for(var vr=0,Ir,wn,Xn,In=Vn.length,Kn=0;Kn=lr&&Ir===void 0&&(Ir=Kn,wn=vr),wt>lr+dt&&Xn===void 0&&(Xn=Kn),vr=wt}return Ir===void 0&&(Ir=0,wn=0,Xn=Math.ceil(dt/mt)),Xn===void 0&&(Xn=Vn.length-1),Xn=Math.min(Xn+1,Vn.length-1),{scrollHeight:vr,start:Ir,end:Xn,offset:wn}},[_n,Mn,lr,Vn,Cn,dt]),er=Bt.scrollHeight,tr=Bt.start,sr=Bt.end,yr=Bt.offset;ze.current.start=tr,ze.current.end=sr;var mr=I.useState({width:0,height:dt}),Wr=(0,B.Z)(mr,2),Gr=Wr[0],un=Wr[1],qr=function(vr){un({width:vr.offsetWidth,height:vr.offsetHeight})},Dt=(0,I.useRef)(),Or=(0,I.useRef)(),Dr=I.useMemo(function(){return J(Gr.width,ht)},[Gr.width,ht]),Vr=I.useMemo(function(){return J(Gr.height,er)},[Gr.height,er]),mn=er-dt,jr=(0,I.useRef)(mn);jr.current=mn;function $r(nr){var vr=nr;return Number.isNaN(jr.current)||(vr=Math.min(vr,jr.current)),vr=Math.max(vr,0),vr}var Pr=lr<=0,bn=lr>=mn,fn=rn<=0,zr=rn>=ht,ln=W(Pr,bn,fn,zr),C=function(){return{x:ra?-rn:rn,y:lr}},M=(0,I.useRef)(C()),N=(0,Ae.zX)(function(nr){if(Ht){var vr=(0,a.Z)((0,a.Z)({},C()),nr);(M.current.x!==vr.x||M.current.y!==vr.y)&&(Ht(vr),M.current=vr)}});function se(nr,vr){var Ir=nr;vr?((0,Ne.flushSync)(function(){La(Ir)}),N()):rt(Ir)}function Ue(nr){var vr=nr.currentTarget.scrollTop;vr!==lr&&rt(vr),Gt==null||Gt(nr),N()}var Ke=function(vr){var Ir=vr,wn=ht?ht-Gr.width:0;return Ir=Math.max(Ir,0),Ir=Math.min(Ir,wn),Ir},ct=(0,Ae.zX)(function(nr,vr){vr?((0,Ne.flushSync)(function(){La(function(Ir){var wn=Ir+(ra?-nr:nr);return Ke(wn)})}),N()):rt(function(Ir){var wn=Ir+nr;return wn})}),at=k(Mn,Pr,bn,fn,zr,!!ht,ct),Ge=(0,B.Z)(at,2),St=Ge[0],jt=Ge[1];tt(Mn,ia,function(nr,vr,Ir){return ln(nr,vr,Ir)?!1:(St({preventDefault:function(){},deltaX:nr?vr:0,deltaY:nr?0:vr}),!0)}),(0,ce.Z)(function(){function nr(Ir){Mn&&Ir.preventDefault()}var vr=ia.current;return vr.addEventListener("wheel",St,{passive:!1}),vr.addEventListener("DOMMouseScroll",jt,{passive:!0}),vr.addEventListener("MozMousePixelScroll",nr,{passive:!1}),function(){vr.removeEventListener("wheel",St),vr.removeEventListener("DOMMouseScroll",jt),vr.removeEventListener("MozMousePixelScroll",nr)}},[Mn]),(0,ce.Z)(function(){if(ht){var nr=Ke(rn);La(nr),N({x:nr})}},[Gr.width,ht]);var Ft=function(){var vr,Ir;(vr=Dt.current)===null||vr===void 0||vr.delayHidden(),(Ir=Or.current)===null||Ir===void 0||Ir.delayHidden()},$t=ee(ia,Vn,gn,mt,Tr,function(){return ea(!0)},rt,Ft);I.useImperativeHandle(Se,function(){return{nativeElement:ma.current,getScrollInfo:C,scrollTo:function(vr){function Ir(wn){return wn&&(0,o.Z)(wn)==="object"&&("left"in wn||"top"in wn)}Ir(vr)?(vr.left!==void 0&&La(Ke(vr.left)),$t(vr.top)):$t(vr)}}}),(0,ce.Z)(function(){if(fr){var nr=Vn.slice(tr,sr+1);fr(nr,Vn)}},[tr,sr,Vn]);var zt=Z(Vn,Tr,gn,mt),Vt=Zr==null?void 0:Zr({start:tr,end:sr,virtual:_n,offsetX:rn,offsetY:yr,rtl:ra,getSize:zt}),Kr=ae(Vn,tr,sr,ht,rn,hn,it,Fe),Cr=null;dt&&(Cr=(0,a.Z)((0,v.Z)({},we?"height":"maxHeight",dt),fe),Mn&&(Cr.overflowY="hidden",ht&&(Cr.overflowX="hidden"),Qa&&(Cr.pointerEvents="none")));var Ar={};return ra&&(Ar.dir="rtl"),I.createElement("div",(0,n.Z)({ref:ma,style:(0,a.Z)((0,a.Z)({},Ce),{},{position:"relative"}),className:Pn},Ar,xr),I.createElement(pe.Z,{onResize:qr},I.createElement(It,{className:"".concat(F,"-holder"),style:Cr,ref:ia,onScroll:Ue,onMouseEnter:Ft},I.createElement(Q,{prefixCls:F,height:er,offsetX:rn,offsetY:yr,scrollWidth:ht,onInnerResize:ea,ref:Ea,innerProps:wr,rtl:ra,extra:Vt},Kr))),_n&&er>dt&&I.createElement(Y,{ref:Dt,prefixCls:F,scrollOffset:lr,scrollRange:er,rtl:ra,onScroll:se,onStartMove:ue,onStopMove:xe,spinSize:Vr,containerSize:Gr.height,style:Xr==null?void 0:Xr.verticalScrollBar,thumbStyle:Xr==null?void 0:Xr.verticalScrollBarThumb}),_n&&ht>Gr.width&&I.createElement(Y,{ref:Or,prefixCls:F,scrollOffset:rn,scrollRange:ht,rtl:ra,onScroll:se,onStartMove:ue,onStopMove:xe,spinSize:Dr,containerSize:Gr.width,horizontal:!0,style:Xr==null?void 0:Xr.horizontalScrollBar,thumbStyle:Xr==null?void 0:Xr.horizontalScrollBarThumb}))}var We=I.forwardRef(Te);We.displayName="List";var nt=We,Xe=nt,Ut=e(16934),Pe=function(Se){for(var ke=Se.prefixCls,F=Se.level,$e=Se.isStart,dt=Se.isEnd,mt="".concat(ke,"-indent-unit"),de=[],we=0;we1&&arguments[1]!==void 0?arguments[1]:"";($e||[]).forEach(function(mt){var de=mt[Se.key],we=mt[Se.children];warning(de!=null,"Tree node must have a certain key: [".concat(dt).concat(de,"]"));var Ce=String(de);warning(!ke.has(Ce)||de===null||de===void 0,"Same 'key' exist in the Tree: ".concat(Ce)),ke.set(Ce,!0),F(we,"".concat(dt).concat(Ce," > "))})}F(ie)}function Rt(ie){function Se(ke){var F=(0,b.Z)(ke);return F.map(function($e){if(!Ze($e))return(0,P.ZP)(!$e,"Tree/TreeNode can only accept TreeNode as children."),null;var dt=$e.key,mt=$e.props,de=mt.children,we=(0,G.Z)(mt,Re),Ce=(0,a.Z)({key:dt},we),Qe=Se(de);return Qe.length&&(Ce.children=Qe),Ce}).filter(function($e){return $e})}return Se(ie)}function Tt(ie,Se,ke){var F=_t(ke),$e=F._title,dt=F.key,mt=F.children,de=new Set(Se===!0?[]:Se),we=[];function Ce(Qe){var it=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Qe.map(function(Et,pt){for(var bt=be(it?it.pos:"0",pt),ht=Mt(Et[dt],bt),xt,It=0;It<$e.length;It+=1){var Gt=$e[It];if(Et[Gt]!==void 0){xt=Et[Gt];break}}var Ht=Object.assign((0,te.Z)(Et,[].concat((0,u.Z)($e),[dt,mt])),{title:xt,key:ht,parent:it,pos:bt,children:null,data:Et,isStart:[].concat((0,u.Z)(it?it.isStart:[]),[pt===0]),isEnd:[].concat((0,u.Z)(it?it.isEnd:[]),[pt===Qe.length-1])});return we.push(Ht),Se===!0||de.has(ht)?Ht.children=Ce(Et[mt]||[],Ht):Ht.children=[],Ht})}return Ce(ie),we}function je(ie,Se,ke){var F={};(0,o.Z)(ke)==="object"?F=ke:F={externalGetKey:ke},F=F||{};var $e=F,dt=$e.childrenPropName,mt=$e.externalGetKey,de=$e.fieldNames,we=_t(de),Ce=we.key,Qe=we.children,it=dt||Qe,Et;mt?typeof mt=="string"?Et=function(ht){return ht[mt]}:typeof mt=="function"&&(Et=function(ht){return mt(ht)}):Et=function(ht,xt){return Mt(ht[Ce],xt)};function pt(bt,ht,xt,It){var Gt=bt?bt[it]:ie,Ht=bt?be(xt.pos,ht):"0",fr=bt?[].concat((0,u.Z)(It),[bt]):[];if(bt){var wr=Et(bt,Ht),Zr={node:bt,index:ht,pos:Ht,key:wr,parentPos:xt.node?xt.pos:null,level:xt.level+1,nodes:fr};Se(Zr)}Gt&&Gt.forEach(function(Xr,xr){pt(Xr,xr,{node:bt,pos:Ht,level:xt?xt.level+1:-1},fr)})}pt(null)}function yt(ie){var Se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ke=Se.initWrapper,F=Se.processEntity,$e=Se.onProcessFinished,dt=Se.externalGetKey,mt=Se.childrenPropName,de=Se.fieldNames,we=arguments.length>2?arguments[2]:void 0,Ce=dt||we,Qe={},it={},Et={posEntities:Qe,keyEntities:it};return ke&&(Et=ke(Et)||Et),je(ie,function(pt){var bt=pt.node,ht=pt.index,xt=pt.pos,It=pt.key,Gt=pt.parentPos,Ht=pt.level,fr=pt.nodes,wr={node:bt,nodes:fr,index:ht,key:It,pos:xt,level:Ht},Zr=Mt(It,xt);Qe[xt]=wr,it[Zr]=wr,wr.parent=Qe[Gt],wr.parent&&(wr.parent.children=wr.parent.children||[],wr.parent.children.push(wr)),F&&F(wr,Et)},{externalGetKey:Ce,childrenPropName:mt,fieldNames:de}),$e&&$e(Et),Et}function Be(ie,Se){var ke=Se.expandedKeys,F=Se.selectedKeys,$e=Se.loadedKeys,dt=Se.loadingKeys,mt=Se.checkedKeys,de=Se.halfCheckedKeys,we=Se.dragOverNodeKey,Ce=Se.dropPosition,Qe=Se.keyEntities,it=Le(Qe,ie),Et={eventKey:ie,expanded:ke.indexOf(ie)!==-1,selected:F.indexOf(ie)!==-1,loaded:$e.indexOf(ie)!==-1,loading:dt.indexOf(ie)!==-1,checked:mt.indexOf(ie)!==-1,halfChecked:de.indexOf(ie)!==-1,pos:String(it?it.pos:""),dragOver:we===ie&&Ce===0,dragOverGapTop:we===ie&&Ce===-1,dragOverGapBottom:we===ie&&Ce===1};return Et}function Je(ie){var Se=ie.data,ke=ie.expanded,F=ie.selected,$e=ie.checked,dt=ie.loaded,mt=ie.loading,de=ie.halfChecked,we=ie.dragOver,Ce=ie.dragOverGapTop,Qe=ie.dragOverGapBottom,it=ie.pos,Et=ie.active,pt=ie.eventKey,bt=(0,a.Z)((0,a.Z)({},Se),{},{expanded:ke,selected:F,checked:$e,loaded:dt,loading:mt,halfChecked:de,dragOver:we,dragOverGapTop:Ce,dragOverGapBottom:Qe,pos:it,active:Et,key:pt});return"props"in bt||Object.defineProperty(bt,"props",{get:function(){return(0,P.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),ie}}),bt}var Nt=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],Lt="open",Wt="close",Xt="---",ar=function(ie){(0,m.Z)(ke,ie);var Se=(0,y.Z)(ke);function ke(){var F;(0,c.Z)(this,ke);for(var $e=arguments.length,dt=new Array($e),mt=0;mt<$e;mt++)dt[mt]=arguments[mt];return F=Se.call.apply(Se,[this].concat(dt)),(0,v.Z)((0,s.Z)(F),"state",{dragNodeHighlight:!1}),(0,v.Z)((0,s.Z)(F),"selectHandle",void 0),(0,v.Z)((0,s.Z)(F),"cacheIndent",void 0),(0,v.Z)((0,s.Z)(F),"onSelectorClick",function(de){var we=F.props.context.onNodeClick;we(de,Je(F.props)),F.isSelectable()?F.onSelect(de):F.onCheck(de)}),(0,v.Z)((0,s.Z)(F),"onSelectorDoubleClick",function(de){var we=F.props.context.onNodeDoubleClick;we(de,Je(F.props))}),(0,v.Z)((0,s.Z)(F),"onSelect",function(de){if(!F.isDisabled()){var we=F.props.context.onNodeSelect;we(de,Je(F.props))}}),(0,v.Z)((0,s.Z)(F),"onCheck",function(de){if(!F.isDisabled()){var we=F.props,Ce=we.disableCheckbox,Qe=we.checked,it=F.props.context.onNodeCheck;if(!(!F.isCheckable()||Ce)){var Et=!Qe;it(de,Je(F.props),Et)}}}),(0,v.Z)((0,s.Z)(F),"onMouseEnter",function(de){var we=F.props.context.onNodeMouseEnter;we(de,Je(F.props))}),(0,v.Z)((0,s.Z)(F),"onMouseLeave",function(de){var we=F.props.context.onNodeMouseLeave;we(de,Je(F.props))}),(0,v.Z)((0,s.Z)(F),"onContextMenu",function(de){var we=F.props.context.onNodeContextMenu;we(de,Je(F.props))}),(0,v.Z)((0,s.Z)(F),"onDragStart",function(de){var we=F.props.context.onNodeDragStart;de.stopPropagation(),F.setState({dragNodeHighlight:!0}),we(de,(0,s.Z)(F));try{de.dataTransfer.setData("text/plain","")}catch(Ce){}}),(0,v.Z)((0,s.Z)(F),"onDragEnter",function(de){var we=F.props.context.onNodeDragEnter;de.preventDefault(),de.stopPropagation(),we(de,(0,s.Z)(F))}),(0,v.Z)((0,s.Z)(F),"onDragOver",function(de){var we=F.props.context.onNodeDragOver;de.preventDefault(),de.stopPropagation(),we(de,(0,s.Z)(F))}),(0,v.Z)((0,s.Z)(F),"onDragLeave",function(de){var we=F.props.context.onNodeDragLeave;de.stopPropagation(),we(de,(0,s.Z)(F))}),(0,v.Z)((0,s.Z)(F),"onDragEnd",function(de){var we=F.props.context.onNodeDragEnd;de.stopPropagation(),F.setState({dragNodeHighlight:!1}),we(de,(0,s.Z)(F))}),(0,v.Z)((0,s.Z)(F),"onDrop",function(de){var we=F.props.context.onNodeDrop;de.preventDefault(),de.stopPropagation(),F.setState({dragNodeHighlight:!1}),we(de,(0,s.Z)(F))}),(0,v.Z)((0,s.Z)(F),"onExpand",function(de){var we=F.props,Ce=we.loading,Qe=we.context.onNodeExpand;Ce||Qe(de,Je(F.props))}),(0,v.Z)((0,s.Z)(F),"setSelectHandle",function(de){F.selectHandle=de}),(0,v.Z)((0,s.Z)(F),"getNodeState",function(){var de=F.props.expanded;return F.isLeaf()?null:de?Lt:Wt}),(0,v.Z)((0,s.Z)(F),"hasChildren",function(){var de=F.props.eventKey,we=F.props.context.keyEntities,Ce=Le(we,de)||{},Qe=Ce.children;return!!(Qe||[]).length}),(0,v.Z)((0,s.Z)(F),"isLeaf",function(){var de=F.props,we=de.isLeaf,Ce=de.loaded,Qe=F.props.context.loadData,it=F.hasChildren();return we===!1?!1:we||!Qe&&!it||Qe&&Ce&&!it}),(0,v.Z)((0,s.Z)(F),"isDisabled",function(){var de=F.props.disabled,we=F.props.context.disabled;return!!(we||de)}),(0,v.Z)((0,s.Z)(F),"isCheckable",function(){var de=F.props.checkable,we=F.props.context.checkable;return!we||de===!1?!1:we}),(0,v.Z)((0,s.Z)(F),"syncLoadData",function(de){var we=de.expanded,Ce=de.loading,Qe=de.loaded,it=F.props.context,Et=it.loadData,pt=it.onNodeLoad;Ce||Et&&we&&!F.isLeaf()&&!Qe&&pt(Je(F.props))}),(0,v.Z)((0,s.Z)(F),"isDraggable",function(){var de=F.props,we=de.data,Ce=de.context.draggable;return!!(Ce&&(!Ce.nodeDraggable||Ce.nodeDraggable(we)))}),(0,v.Z)((0,s.Z)(F),"renderDragHandler",function(){var de=F.props.context,we=de.draggable,Ce=de.prefixCls;return we!=null&&we.icon?I.createElement("span",{className:"".concat(Ce,"-draggable-icon")},we.icon):null}),(0,v.Z)((0,s.Z)(F),"renderSwitcherIconDom",function(de){var we=F.props.switcherIcon,Ce=F.props.context.switcherIcon,Qe=we||Ce;return typeof Qe=="function"?Qe((0,a.Z)((0,a.Z)({},F.props),{},{isLeaf:de})):Qe}),(0,v.Z)((0,s.Z)(F),"renderSwitcher",function(){var de=F.props.expanded,we=F.props.context.prefixCls;if(F.isLeaf()){var Ce=F.renderSwitcherIconDom(!0);return Ce!==!1?I.createElement("span",{className:g()("".concat(we,"-switcher"),"".concat(we,"-switcher-noop"))},Ce):null}var Qe=g()("".concat(we,"-switcher"),"".concat(we,"-switcher_").concat(de?Lt:Wt)),it=F.renderSwitcherIconDom(!1);return it!==!1?I.createElement("span",{onClick:F.onExpand,className:Qe},it):null}),(0,v.Z)((0,s.Z)(F),"renderCheckbox",function(){var de=F.props,we=de.checked,Ce=de.halfChecked,Qe=de.disableCheckbox,it=F.props.context.prefixCls,Et=F.isDisabled(),pt=F.isCheckable();if(!pt)return null;var bt=typeof pt!="boolean"?pt:null;return I.createElement("span",{className:g()("".concat(it,"-checkbox"),we&&"".concat(it,"-checkbox-checked"),!we&&Ce&&"".concat(it,"-checkbox-indeterminate"),(Et||Qe)&&"".concat(it,"-checkbox-disabled")),onClick:F.onCheck},bt)}),(0,v.Z)((0,s.Z)(F),"renderIcon",function(){var de=F.props.loading,we=F.props.context.prefixCls;return I.createElement("span",{className:g()("".concat(we,"-iconEle"),"".concat(we,"-icon__").concat(F.getNodeState()||"docu"),de&&"".concat(we,"-icon_loading"))})}),(0,v.Z)((0,s.Z)(F),"renderSelector",function(){var de=F.state.dragNodeHighlight,we=F.props,Ce=we.title,Qe=Ce===void 0?Xt:Ce,it=we.selected,Et=we.icon,pt=we.loading,bt=we.data,ht=F.props.context,xt=ht.prefixCls,It=ht.showIcon,Gt=ht.icon,Ht=ht.loadData,fr=ht.titleRender,wr=F.isDisabled(),Zr="".concat(xt,"-node-content-wrapper"),Xr;if(It){var xr=Et||Gt;Xr=xr?I.createElement("span",{className:g()("".concat(xt,"-iconEle"),"".concat(xt,"-icon__customize"))},typeof xr=="function"?xr(F.props):xr):F.renderIcon()}else Ht&&pt&&(Xr=F.renderIcon());var Tr;typeof Qe=="function"?Tr=Qe(bt):fr?Tr=fr(bt):Tr=Qe;var Hr=I.createElement("span",{className:"".concat(xt,"-title")},Tr);return I.createElement("span",{ref:F.setSelectHandle,title:typeof Qe=="string"?Qe:"",className:g()("".concat(Zr),"".concat(Zr,"-").concat(F.getNodeState()||"normal"),!wr&&(it||de)&&"".concat(xt,"-node-selected")),onMouseEnter:F.onMouseEnter,onMouseLeave:F.onMouseLeave,onContextMenu:F.onContextMenu,onClick:F.onSelectorClick,onDoubleClick:F.onSelectorDoubleClick},Xr,Hr,F.renderDropIndicator())}),(0,v.Z)((0,s.Z)(F),"renderDropIndicator",function(){var de=F.props,we=de.disabled,Ce=de.eventKey,Qe=F.props.context,it=Qe.draggable,Et=Qe.dropLevelOffset,pt=Qe.dropPosition,bt=Qe.prefixCls,ht=Qe.indent,xt=Qe.dropIndicatorRender,It=Qe.dragOverNodeKey,Gt=Qe.direction,Ht=!!it,fr=!we&&Ht&&It===Ce,wr=ht!=null?ht:F.cacheIndent;return F.cacheIndent=ht,fr?xt({dropPosition:pt,dropLevelOffset:Et,indent:wr,prefixCls:bt,direction:Gt}):null}),F}return(0,f.Z)(ke,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var $e=this.props.selectable,dt=this.props.context.selectable;return typeof $e=="boolean"?$e:dt}},{key:"render",value:function(){var $e,dt=this.props,mt=dt.eventKey,de=dt.className,we=dt.style,Ce=dt.dragOver,Qe=dt.dragOverGapTop,it=dt.dragOverGapBottom,Et=dt.isLeaf,pt=dt.isStart,bt=dt.isEnd,ht=dt.expanded,xt=dt.selected,It=dt.checked,Gt=dt.halfChecked,Ht=dt.loading,fr=dt.domRef,wr=dt.active,Zr=dt.data,Xr=dt.onMouseMove,xr=dt.selectable,Tr=(0,G.Z)(dt,Nt),Hr=this.props.context,on=Hr.prefixCls,hn=Hr.filterTreeNode,ea=Hr.keyEntities,gn=Hr.dropContainerKey,Cn=Hr.dropTargetKey,Mn=Hr.draggingNodeKey,An=this.isDisabled(),_n=K(Tr,{aria:!0,data:!0}),ra=Le(ea,mt)||{},Pn=ra.level,Vn=bt[bt.length-1],ia=this.isDraggable(),Ea=!An&&ia,ma=Mn===mt,Ia=xr!==void 0?{"aria-selected":!!xr}:void 0;return I.createElement("div",(0,n.Z)({ref:fr,className:g()(de,"".concat(on,"-treenode"),($e={},(0,v.Z)((0,v.Z)((0,v.Z)((0,v.Z)((0,v.Z)((0,v.Z)((0,v.Z)((0,v.Z)((0,v.Z)((0,v.Z)($e,"".concat(on,"-treenode-disabled"),An),"".concat(on,"-treenode-switcher-").concat(ht?"open":"close"),!Et),"".concat(on,"-treenode-checkbox-checked"),It),"".concat(on,"-treenode-checkbox-indeterminate"),Gt),"".concat(on,"-treenode-selected"),xt),"".concat(on,"-treenode-loading"),Ht),"".concat(on,"-treenode-active"),wr),"".concat(on,"-treenode-leaf-last"),Vn),"".concat(on,"-treenode-draggable"),ia),"dragging",ma),(0,v.Z)((0,v.Z)((0,v.Z)((0,v.Z)((0,v.Z)((0,v.Z)($e,"drop-target",Cn===mt),"drop-container",gn===mt),"drag-over",!An&&Ce),"drag-over-gap-top",!An&&Qe),"drag-over-gap-bottom",!An&&it),"filter-node",hn&&hn(Je(this.props))))),style:we,draggable:Ea,"aria-grabbed":ma,onDragStart:Ea?this.onDragStart:void 0,onDragEnter:ia?this.onDragEnter:void 0,onDragOver:ia?this.onDragOver:void 0,onDragLeave:ia?this.onDragLeave:void 0,onDrop:ia?this.onDrop:void 0,onDragEnd:ia?this.onDragEnd:void 0,onMouseMove:Xr},Ia,_n),I.createElement(he,{prefixCls:on,level:Pn,isStart:pt,isEnd:bt}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),ke}(I.Component),gr=function(Se){return I.createElement(L.Consumer,null,function(ke){return I.createElement(ar,(0,n.Z)({},Se,{context:ke}))})};gr.displayName="TreeNode",gr.isTreeNode=1;var ur=gr;function Yr(ie,Se){var ke=I.useState(!1),F=(0,B.Z)(ke,2),$e=F[0],dt=F[1];(0,ce.Z)(function(){if($e)return ie(),function(){Se()}},[$e]),(0,ce.Z)(function(){return dt(!0),function(){dt(!1)}},[])}var an=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],aa=function(Se,ke){var F=Se.className,$e=Se.style,dt=Se.motion,mt=Se.motionNodes,de=Se.motionType,we=Se.onMotionStart,Ce=Se.onMotionEnd,Qe=Se.active,it=Se.treeNodeRequiredProps,Et=(0,G.Z)(Se,an),pt=I.useState(!0),bt=(0,B.Z)(pt,2),ht=bt[0],xt=bt[1],It=I.useContext(L),Gt=It.prefixCls,Ht=mt&&de!=="hide";(0,ce.Z)(function(){mt&&Ht!==ht&&xt(Ht)},[mt]);var fr=function(){mt&&we()},wr=I.useRef(!1),Zr=function(){mt&&!wr.current&&(wr.current=!0,Ce())};Yr(fr,Zr);var Xr=function(Tr){Ht===Tr&&Zr()};return mt?I.createElement(Ut.ZP,(0,n.Z)({ref:ke,visible:ht},dt,{motionAppear:de==="show",onVisibleChanged:Xr}),function(xr,Tr){var Hr=xr.className,on=xr.style;return I.createElement("div",{ref:Tr,className:g()("".concat(Gt,"-treenode-motion"),Hr),style:on},mt.map(function(hn){var ea=Object.assign({},(V(hn.data),hn.data)),gn=hn.title,Cn=hn.key,Mn=hn.isStart,An=hn.isEnd;delete ea.children;var _n=Be(Cn,it);return I.createElement(ur,(0,n.Z)({},ea,_n,{title:gn,active:Qe,data:hn.data,key:Cn,isStart:Mn,isEnd:An}))}))}):I.createElement(ur,(0,n.Z)({domRef:ke,className:F,style:$e},Et,{active:Qe}))};aa.displayName="MotionTreeNode";var la=I.forwardRef(aa),Ln=la;function Hn(){var ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ke=ie.length,F=Se.length;if(Math.abs(ke-F)!==1)return{add:!1,key:null};function $e(dt,mt){var de=new Map;dt.forEach(function(Ce){de.set(Ce,!0)});var we=mt.filter(function(Ce){return!de.has(Ce)});return we.length===1?we[0]:null}return ke ").concat(Se);return Se}var $n=I.forwardRef(function(ie,Se){var ke=ie.prefixCls,F=ie.data,$e=ie.selectable,dt=ie.checkable,mt=ie.expandedKeys,de=ie.selectedKeys,we=ie.checkedKeys,Ce=ie.loadedKeys,Qe=ie.loadingKeys,it=ie.halfCheckedKeys,Et=ie.keyEntities,pt=ie.disabled,bt=ie.dragging,ht=ie.dragOverNodeKey,xt=ie.dropPosition,It=ie.motion,Gt=ie.height,Ht=ie.itemHeight,fr=ie.virtual,wr=ie.focusable,Zr=ie.activeItem,Xr=ie.focused,xr=ie.tabIndex,Tr=ie.onKeyDown,Hr=ie.onFocus,on=ie.onBlur,hn=ie.onActiveChange,ea=ie.onListChangeStart,gn=ie.onListChangeEnd,Cn=(0,G.Z)(ie,Qn),Mn=I.useRef(null),An=I.useRef(null);I.useImperativeHandle(Se,function(){return{scrollTo:function(st){Mn.current.scrollTo(st)},getIndentWidth:function(){return An.current.offsetWidth}}});var _n=I.useState(mt),ra=(0,B.Z)(_n,2),Pn=ra[0],Vn=ra[1],ia=I.useState(F),Ea=(0,B.Z)(ia,2),ma=Ea[0],Ia=Ea[1],ro=I.useState(F),lr=(0,B.Z)(ro,2),Jr=lr[0],Rn=lr[1],En=I.useState([]),rn=(0,B.Z)(En,2),La=rn[0],Da=rn[1],Ya=I.useState(null),Qa=(0,B.Z)(Ya,2),Lo=Qa[0],ue=Qa[1],xe=I.useRef(F);xe.current=F;function Fe(){var Ye=xe.current;Ia(Ye),Rn(Ye),Da([]),ue(null),gn()}(0,ce.Z)(function(){Vn(mt);var Ye=Hn(Pn,mt);if(Ye.key!==null)if(Ye.add){var st=ma.findIndex(function(sr){var yr=sr.key;return yr===Ye.key}),Ot=jn(Tn(ma,F,Ye.key),fr,Gt,Ht),At=ma.slice();At.splice(st+1,0,Lr),Rn(At),Da(Ot),ue("show")}else{var Bt=F.findIndex(function(sr){var yr=sr.key;return yr===Ye.key}),er=jn(Tn(F,ma,Ye.key),fr,Gt,Ht),tr=F.slice();tr.splice(Bt+1,0,Lr),Rn(tr),Da(er),ue("hide")}else ma!==F&&(Ia(F),Rn(F))},[mt,F]),I.useEffect(function(){bt||Fe()},[bt]);var rt=It?Jr:F,ze={expandedKeys:mt,selectedKeys:de,loadedKeys:Ce,loadingKeys:Qe,checkedKeys:we,halfCheckedKeys:it,dragOverNodeKey:ht,dropPosition:xt,keyEntities:Et};return I.createElement(I.Fragment,null,Xr&&Zr&&I.createElement("span",{style:qt,"aria-live":"assertive"},On(Zr)),I.createElement("div",null,I.createElement("input",{style:qt,disabled:wr===!1||pt,tabIndex:wr!==!1?xr:null,onKeyDown:Tr,onFocus:Hr,onBlur:on,value:"",onChange:Kt,"aria-label":"for screen reader"})),I.createElement("div",{className:"".concat(ke,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},I.createElement("div",{className:"".concat(ke,"-indent")},I.createElement("div",{ref:An,className:"".concat(ke,"-indent-unit")}))),I.createElement(Xe,(0,n.Z)({},Cn,{data:rt,itemKey:Wn,height:Gt,fullHeight:!1,virtual:fr,itemHeight:Ht,prefixCls:"".concat(ke,"-list"),ref:Mn,onVisibleChange:function(st,Ot){var At=new Set(st),Bt=Ot.filter(function(er){return!At.has(er)});Bt.some(function(er){return Wn(er)===Jt})&&Fe()}}),function(Ye){var st=Ye.pos,Ot=Object.assign({},(V(Ye.data),Ye.data)),At=Ye.title,Bt=Ye.key,er=Ye.isStart,tr=Ye.isEnd,sr=Mt(Bt,st);delete Ot.key,delete Ot.children;var yr=Be(sr,ze);return I.createElement(Ln,(0,n.Z)({},Ot,yr,{title:At,active:!!Zr&&Bt===Zr.key,pos:st,data:Ye.data,isStart:er,isEnd:tr,motion:It,motionNodes:Bt===Jt?La:null,motionType:Lo,onMotionStart:ea,onMotionEnd:Fe,treeNodeRequiredProps:ze,onMouseMove:function(){hn(null)}}))}))});$n.displayName="NodeList";var Fr=$n,pa=null;function fa(ie,Se){if(!ie)return[];var ke=ie.slice(),F=ke.indexOf(Se);return F>=0&&ke.splice(F,1),ke}function Ra(ie,Se){var ke=(ie||[]).slice();return ke.indexOf(Se)===-1&&ke.push(Se),ke}function ja(ie){return ie.split("-")}function eo(ie,Se){var ke=[],F=Le(Se,ie);function $e(){var dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];dt.forEach(function(mt){var de=mt.key,we=mt.children;ke.push(de),$e(we)})}return $e(F.children),ke}function ba(ie){if(ie.parent){var Se=ja(ie.pos);return Number(Se[Se.length-1])===ie.parent.children.length-1}return!1}function Ca(ie){var Se=ja(ie.pos);return Number(Se[Se.length-1])===0}function Fa(ie,Se,ke,F,$e,dt,mt,de,we,Ce){var Qe,it=ie.clientX,Et=ie.clientY,pt=ie.target.getBoundingClientRect(),bt=pt.top,ht=pt.height,xt=(Ce==="rtl"?-1:1)*((($e==null?void 0:$e.x)||0)-it),It=(xt-12)/F,Gt=we.filter(function(Mn){var An;return(An=de[Mn])===null||An===void 0||(An=An.children)===null||An===void 0?void 0:An.length}),Ht=Le(de,ke.props.eventKey);if(Et-1.5?dt({dragNode:ea,dropNode:gn,dropPosition:1})?Hr=1:Cn=!1:dt({dragNode:ea,dropNode:gn,dropPosition:0})?Hr=0:dt({dragNode:ea,dropNode:gn,dropPosition:1})?Hr=1:Cn=!1:dt({dragNode:ea,dropNode:gn,dropPosition:1})?Hr=1:Cn=!1,{dropPosition:Hr,dropLevelOffset:on,dropTargetKey:Ht.key,dropTargetPos:Ht.pos,dragOverNodeKey:Tr,dropContainerKey:Hr===0?null:((Qe=Ht.parent)===null||Qe===void 0?void 0:Qe.key)||null,dropAllowed:Cn}}function vo(ie,Se){if(ie){var ke=Se.multiple;return ke?ie.slice():ie.length?[ie[0]]:ie}}var wa=function(Se){return Se};function Ma(ie,Se){if(!ie)return[];var ke=Se||{},F=ke.processProps,$e=F===void 0?wa:F,dt=Array.isArray(ie)?ie:[ie];return dt.map(function(mt){var de=mt.children,we=_objectWithoutProperties(mt,pa),Ce=Ma(de,Se);return React.createElement(TreeNode,_extends({key:we.key},$e(we)),Ce)})}function Ka(ie){if(!ie)return null;var Se;if(Array.isArray(ie))Se={checkedKeys:ie,halfCheckedKeys:void 0};else if((0,o.Z)(ie)==="object")Se={checkedKeys:ie.checked||void 0,halfCheckedKeys:ie.halfChecked||void 0};else return(0,P.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return Se}function mo(ie,Se){var ke=new Set;function F($e){if(!ke.has($e)){var dt=Le(Se,$e);if(dt){ke.add($e);var mt=dt.parent,de=dt.node;de.disabled||mt&&F(mt.key)}}}return(ie||[]).forEach(function($e){F($e)}),(0,u.Z)(ke)}function co(ie,Se){var ke=new Set;return ie.forEach(function(F){Se.has(F)||ke.add(F)}),ke}function So(ie){var Se=ie||{},ke=Se.disabled,F=Se.disableCheckbox,$e=Se.checkable;return!!(ke||F)||$e===!1}function to(ie,Se,ke,F){for(var $e=new Set(ie),dt=new Set,mt=0;mt<=ke;mt+=1){var de=Se.get(mt)||new Set;de.forEach(function(it){var Et=it.key,pt=it.node,bt=it.children,ht=bt===void 0?[]:bt;$e.has(Et)&&!F(pt)&&ht.filter(function(xt){return!F(xt.node)}).forEach(function(xt){$e.add(xt.key)})})}for(var we=new Set,Ce=ke;Ce>=0;Ce-=1){var Qe=Se.get(Ce)||new Set;Qe.forEach(function(it){var Et=it.parent,pt=it.node;if(!(F(pt)||!it.parent||we.has(it.parent.key))){if(F(it.parent.node)){we.add(Et.key);return}var bt=!0,ht=!1;(Et.children||[]).filter(function(xt){return!F(xt.node)}).forEach(function(xt){var It=xt.key,Gt=$e.has(It);bt&&!Gt&&(bt=!1),!ht&&(Gt||dt.has(It))&&(ht=!0)}),bt&&$e.add(Et.key),ht&&dt.add(Et.key),we.add(Et.key)}})}return{checkedKeys:Array.from($e),halfCheckedKeys:Array.from(co(dt,$e))}}function ga(ie,Se,ke,F,$e){for(var dt=new Set(ie),mt=new Set(Se),de=0;de<=F;de+=1){var we=ke.get(de)||new Set;we.forEach(function(Et){var pt=Et.key,bt=Et.node,ht=Et.children,xt=ht===void 0?[]:ht;!dt.has(pt)&&!mt.has(pt)&&!$e(bt)&&xt.filter(function(It){return!$e(It.node)}).forEach(function(It){dt.delete(It.key)})})}mt=new Set;for(var Ce=new Set,Qe=F;Qe>=0;Qe-=1){var it=ke.get(Qe)||new Set;it.forEach(function(Et){var pt=Et.parent,bt=Et.node;if(!($e(bt)||!Et.parent||Ce.has(Et.parent.key))){if($e(Et.parent.node)){Ce.add(pt.key);return}var ht=!0,xt=!1;(pt.children||[]).filter(function(It){return!$e(It.node)}).forEach(function(It){var Gt=It.key,Ht=dt.has(Gt);ht&&!Ht&&(ht=!1),!xt&&(Ht||mt.has(Gt))&&(xt=!0)}),ht||dt.delete(pt.key),xt&&mt.add(pt.key),Ce.add(pt.key)}})}return{checkedKeys:Array.from(dt),halfCheckedKeys:Array.from(co(mt,dt))}}function uo(ie,Se,ke,F){var $e=[],dt;F?dt=F:dt=So;var mt=new Set(ie.filter(function(Qe){var it=!!Le(ke,Qe);return it||$e.push(Qe),it})),de=new Map,we=0;Object.keys(ke).forEach(function(Qe){var it=ke[Qe],Et=it.level,pt=de.get(Et);pt||(pt=new Set,de.set(Et,pt)),pt.add(it),we=Math.max(we,Et)}),(0,P.ZP)(!$e.length,"Tree missing follow keys: ".concat($e.slice(0,100).map(function(Qe){return"'".concat(Qe,"'")}).join(", ")));var Ce;return Se===!0?Ce=to(mt,de,we,dt):Ce=ga(mt,Se.halfCheckedKeys,de,we,dt),Ce}var po=10,Ha=function(ie){(0,m.Z)(ke,ie);var Se=(0,y.Z)(ke);function ke(){var F;(0,c.Z)(this,ke);for(var $e=arguments.length,dt=new Array($e),mt=0;mt<$e;mt++)dt[mt]=arguments[mt];return F=Se.call.apply(Se,[this].concat(dt)),(0,v.Z)((0,s.Z)(F),"destroyed",!1),(0,v.Z)((0,s.Z)(F),"delayedDragEnterLogic",void 0),(0,v.Z)((0,s.Z)(F),"loadingRetryTimes",{}),(0,v.Z)((0,s.Z)(F),"state",{keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:_t()}),(0,v.Z)((0,s.Z)(F),"dragStartMousePosition",null),(0,v.Z)((0,s.Z)(F),"dragNode",void 0),(0,v.Z)((0,s.Z)(F),"currentMouseOverDroppableNodeKey",null),(0,v.Z)((0,s.Z)(F),"listRef",I.createRef()),(0,v.Z)((0,s.Z)(F),"onNodeDragStart",function(de,we){var Ce=F.state,Qe=Ce.expandedKeys,it=Ce.keyEntities,Et=F.props.onDragStart,pt=we.props.eventKey;F.dragNode=we,F.dragStartMousePosition={x:de.clientX,y:de.clientY};var bt=fa(Qe,pt);F.setState({draggingNodeKey:pt,dragChildrenKeys:eo(pt,it),indent:F.listRef.current.getIndentWidth()}),F.setExpandedKeys(bt),window.addEventListener("dragend",F.onWindowDragEnd),Et==null||Et({event:de,node:Je(we.props)})}),(0,v.Z)((0,s.Z)(F),"onNodeDragEnter",function(de,we){var Ce=F.state,Qe=Ce.expandedKeys,it=Ce.keyEntities,Et=Ce.dragChildrenKeys,pt=Ce.flattenNodes,bt=Ce.indent,ht=F.props,xt=ht.onDragEnter,It=ht.onExpand,Gt=ht.allowDrop,Ht=ht.direction,fr=we.props,wr=fr.pos,Zr=fr.eventKey,Xr=(0,s.Z)(F),xr=Xr.dragNode;if(F.currentMouseOverDroppableNodeKey!==Zr&&(F.currentMouseOverDroppableNodeKey=Zr),!xr){F.resetDragState();return}var Tr=Fa(de,xr,we,bt,F.dragStartMousePosition,Gt,pt,it,Qe,Ht),Hr=Tr.dropPosition,on=Tr.dropLevelOffset,hn=Tr.dropTargetKey,ea=Tr.dropContainerKey,gn=Tr.dropTargetPos,Cn=Tr.dropAllowed,Mn=Tr.dragOverNodeKey;if(Et.indexOf(hn)!==-1||!Cn){F.resetDragState();return}if(F.delayedDragEnterLogic||(F.delayedDragEnterLogic={}),Object.keys(F.delayedDragEnterLogic).forEach(function(An){clearTimeout(F.delayedDragEnterLogic[An])}),xr.props.eventKey!==we.props.eventKey&&(de.persist(),F.delayedDragEnterLogic[wr]=window.setTimeout(function(){if(F.state.draggingNodeKey!==null){var An=(0,u.Z)(Qe),_n=Le(it,we.props.eventKey);_n&&(_n.children||[]).length&&(An=Ra(Qe,we.props.eventKey)),"expandedKeys"in F.props||F.setExpandedKeys(An),It==null||It(An,{node:Je(we.props),expanded:!0,nativeEvent:de.nativeEvent})}},800)),xr.props.eventKey===hn&&on===0){F.resetDragState();return}F.setState({dragOverNodeKey:Mn,dropPosition:Hr,dropLevelOffset:on,dropTargetKey:hn,dropContainerKey:ea,dropTargetPos:gn,dropAllowed:Cn}),xt==null||xt({event:de,node:Je(we.props),expandedKeys:Qe})}),(0,v.Z)((0,s.Z)(F),"onNodeDragOver",function(de,we){var Ce=F.state,Qe=Ce.dragChildrenKeys,it=Ce.flattenNodes,Et=Ce.keyEntities,pt=Ce.expandedKeys,bt=Ce.indent,ht=F.props,xt=ht.onDragOver,It=ht.allowDrop,Gt=ht.direction,Ht=(0,s.Z)(F),fr=Ht.dragNode;if(fr){var wr=Fa(de,fr,we,bt,F.dragStartMousePosition,It,it,Et,pt,Gt),Zr=wr.dropPosition,Xr=wr.dropLevelOffset,xr=wr.dropTargetKey,Tr=wr.dropContainerKey,Hr=wr.dropAllowed,on=wr.dropTargetPos,hn=wr.dragOverNodeKey;Qe.indexOf(xr)!==-1||!Hr||(fr.props.eventKey===xr&&Xr===0?F.state.dropPosition===null&&F.state.dropLevelOffset===null&&F.state.dropTargetKey===null&&F.state.dropContainerKey===null&&F.state.dropTargetPos===null&&F.state.dropAllowed===!1&&F.state.dragOverNodeKey===null||F.resetDragState():Zr===F.state.dropPosition&&Xr===F.state.dropLevelOffset&&xr===F.state.dropTargetKey&&Tr===F.state.dropContainerKey&&on===F.state.dropTargetPos&&Hr===F.state.dropAllowed&&hn===F.state.dragOverNodeKey||F.setState({dropPosition:Zr,dropLevelOffset:Xr,dropTargetKey:xr,dropContainerKey:Tr,dropTargetPos:on,dropAllowed:Hr,dragOverNodeKey:hn}),xt==null||xt({event:de,node:Je(we.props)}))}}),(0,v.Z)((0,s.Z)(F),"onNodeDragLeave",function(de,we){F.currentMouseOverDroppableNodeKey===we.props.eventKey&&!de.currentTarget.contains(de.relatedTarget)&&(F.resetDragState(),F.currentMouseOverDroppableNodeKey=null);var Ce=F.props.onDragLeave;Ce==null||Ce({event:de,node:Je(we.props)})}),(0,v.Z)((0,s.Z)(F),"onWindowDragEnd",function(de){F.onNodeDragEnd(de,null,!0),window.removeEventListener("dragend",F.onWindowDragEnd)}),(0,v.Z)((0,s.Z)(F),"onNodeDragEnd",function(de,we){var Ce=F.props.onDragEnd;F.setState({dragOverNodeKey:null}),F.cleanDragState(),Ce==null||Ce({event:de,node:Je(we.props)}),F.dragNode=null,window.removeEventListener("dragend",F.onWindowDragEnd)}),(0,v.Z)((0,s.Z)(F),"onNodeDrop",function(de,we){var Ce,Qe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,it=F.state,Et=it.dragChildrenKeys,pt=it.dropPosition,bt=it.dropTargetKey,ht=it.dropTargetPos,xt=it.dropAllowed;if(xt){var It=F.props.onDrop;if(F.setState({dragOverNodeKey:null}),F.cleanDragState(),bt!==null){var Gt=(0,a.Z)((0,a.Z)({},Be(bt,F.getTreeNodeRequiredProps())),{},{active:((Ce=F.getActiveItem())===null||Ce===void 0?void 0:Ce.key)===bt,data:Le(F.state.keyEntities,bt).node}),Ht=Et.indexOf(bt)!==-1;(0,P.ZP)(!Ht,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var fr=ja(ht),wr={event:de,node:Je(Gt),dragNode:F.dragNode?Je(F.dragNode.props):null,dragNodesKeys:[F.dragNode.props.eventKey].concat(Et),dropToGap:pt!==0,dropPosition:pt+Number(fr[fr.length-1])};Qe||It==null||It(wr),F.dragNode=null}}}),(0,v.Z)((0,s.Z)(F),"cleanDragState",function(){var de=F.state.draggingNodeKey;de!==null&&F.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),F.dragStartMousePosition=null,F.currentMouseOverDroppableNodeKey=null}),(0,v.Z)((0,s.Z)(F),"triggerExpandActionExpand",function(de,we){var Ce=F.state,Qe=Ce.expandedKeys,it=Ce.flattenNodes,Et=we.expanded,pt=we.key,bt=we.isLeaf;if(!(bt||de.shiftKey||de.metaKey||de.ctrlKey)){var ht=it.filter(function(It){return It.key===pt})[0],xt=Je((0,a.Z)((0,a.Z)({},Be(pt,F.getTreeNodeRequiredProps())),{},{data:ht.data}));F.setExpandedKeys(Et?fa(Qe,pt):Ra(Qe,pt)),F.onNodeExpand(de,xt)}}),(0,v.Z)((0,s.Z)(F),"onNodeClick",function(de,we){var Ce=F.props,Qe=Ce.onClick,it=Ce.expandAction;it==="click"&&F.triggerExpandActionExpand(de,we),Qe==null||Qe(de,we)}),(0,v.Z)((0,s.Z)(F),"onNodeDoubleClick",function(de,we){var Ce=F.props,Qe=Ce.onDoubleClick,it=Ce.expandAction;it==="doubleClick"&&F.triggerExpandActionExpand(de,we),Qe==null||Qe(de,we)}),(0,v.Z)((0,s.Z)(F),"onNodeSelect",function(de,we){var Ce=F.state.selectedKeys,Qe=F.state,it=Qe.keyEntities,Et=Qe.fieldNames,pt=F.props,bt=pt.onSelect,ht=pt.multiple,xt=we.selected,It=we[Et.key],Gt=!xt;Gt?ht?Ce=Ra(Ce,It):Ce=[It]:Ce=fa(Ce,It);var Ht=Ce.map(function(fr){var wr=Le(it,fr);return wr?wr.node:null}).filter(function(fr){return fr});F.setUncontrolledState({selectedKeys:Ce}),bt==null||bt(Ce,{event:"select",selected:Gt,node:we,selectedNodes:Ht,nativeEvent:de.nativeEvent})}),(0,v.Z)((0,s.Z)(F),"onNodeCheck",function(de,we,Ce){var Qe=F.state,it=Qe.keyEntities,Et=Qe.checkedKeys,pt=Qe.halfCheckedKeys,bt=F.props,ht=bt.checkStrictly,xt=bt.onCheck,It=we.key,Gt,Ht={event:"check",node:we,checked:Ce,nativeEvent:de.nativeEvent};if(ht){var fr=Ce?Ra(Et,It):fa(Et,It),wr=fa(pt,It);Gt={checked:fr,halfChecked:wr},Ht.checkedNodes=fr.map(function(on){return Le(it,on)}).filter(function(on){return on}).map(function(on){return on.node}),F.setUncontrolledState({checkedKeys:fr})}else{var Zr=uo([].concat((0,u.Z)(Et),[It]),!0,it),Xr=Zr.checkedKeys,xr=Zr.halfCheckedKeys;if(!Ce){var Tr=new Set(Xr);Tr.delete(It);var Hr=uo(Array.from(Tr),{checked:!1,halfCheckedKeys:xr},it);Xr=Hr.checkedKeys,xr=Hr.halfCheckedKeys}Gt=Xr,Ht.checkedNodes=[],Ht.checkedNodesPositions=[],Ht.halfCheckedKeys=xr,Xr.forEach(function(on){var hn=Le(it,on);if(hn){var ea=hn.node,gn=hn.pos;Ht.checkedNodes.push(ea),Ht.checkedNodesPositions.push({node:ea,pos:gn})}}),F.setUncontrolledState({checkedKeys:Xr},!1,{halfCheckedKeys:xr})}xt==null||xt(Gt,Ht)}),(0,v.Z)((0,s.Z)(F),"onNodeLoad",function(de){var we,Ce=de.key,Qe=F.state.keyEntities,it=Le(Qe,Ce);if(!(it!=null&&(we=it.children)!==null&&we!==void 0&&we.length)){var Et=new Promise(function(pt,bt){F.setState(function(ht){var xt=ht.loadedKeys,It=xt===void 0?[]:xt,Gt=ht.loadingKeys,Ht=Gt===void 0?[]:Gt,fr=F.props,wr=fr.loadData,Zr=fr.onLoad;if(!wr||It.indexOf(Ce)!==-1||Ht.indexOf(Ce)!==-1)return null;var Xr=wr(de);return Xr.then(function(){var xr=F.state.loadedKeys,Tr=Ra(xr,Ce);Zr==null||Zr(Tr,{event:"load",node:de}),F.setUncontrolledState({loadedKeys:Tr}),F.setState(function(Hr){return{loadingKeys:fa(Hr.loadingKeys,Ce)}}),pt()}).catch(function(xr){if(F.setState(function(Hr){return{loadingKeys:fa(Hr.loadingKeys,Ce)}}),F.loadingRetryTimes[Ce]=(F.loadingRetryTimes[Ce]||0)+1,F.loadingRetryTimes[Ce]>=po){var Tr=F.state.loadedKeys;(0,P.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),F.setUncontrolledState({loadedKeys:Ra(Tr,Ce)}),pt()}bt(xr)}),{loadingKeys:Ra(Ht,Ce)}})});return Et.catch(function(){}),Et}}),(0,v.Z)((0,s.Z)(F),"onNodeMouseEnter",function(de,we){var Ce=F.props.onMouseEnter;Ce==null||Ce({event:de,node:we})}),(0,v.Z)((0,s.Z)(F),"onNodeMouseLeave",function(de,we){var Ce=F.props.onMouseLeave;Ce==null||Ce({event:de,node:we})}),(0,v.Z)((0,s.Z)(F),"onNodeContextMenu",function(de,we){var Ce=F.props.onRightClick;Ce&&(de.preventDefault(),Ce({event:de,node:we}))}),(0,v.Z)((0,s.Z)(F),"onFocus",function(){var de=F.props.onFocus;F.setState({focused:!0});for(var we=arguments.length,Ce=new Array(we),Qe=0;Qe1&&arguments[1]!==void 0?arguments[1]:!1,Ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!F.destroyed){var Qe=!1,it=!0,Et={};Object.keys(de).forEach(function(pt){if(pt in F.props){it=!1;return}Qe=!0,Et[pt]=de[pt]}),Qe&&(!we||it)&&F.setState((0,a.Z)((0,a.Z)({},Et),Ce))}}),(0,v.Z)((0,s.Z)(F),"scrollTo",function(de){F.listRef.current.scrollTo(de)}),F}return(0,f.Z)(ke,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var $e=this.props,dt=$e.activeKey,mt=$e.itemScrollOffset,de=mt===void 0?0:mt;dt!==void 0&&dt!==this.state.activeKey&&(this.setState({activeKey:dt}),dt!==null&&this.scrollTo({key:dt,offset:de}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var $e=this.state,dt=$e.focused,mt=$e.flattenNodes,de=$e.keyEntities,we=$e.draggingNodeKey,Ce=$e.activeKey,Qe=$e.dropLevelOffset,it=$e.dropContainerKey,Et=$e.dropTargetKey,pt=$e.dropPosition,bt=$e.dragOverNodeKey,ht=$e.indent,xt=this.props,It=xt.prefixCls,Gt=xt.className,Ht=xt.style,fr=xt.showLine,wr=xt.focusable,Zr=xt.tabIndex,Xr=Zr===void 0?0:Zr,xr=xt.selectable,Tr=xt.showIcon,Hr=xt.icon,on=xt.switcherIcon,hn=xt.draggable,ea=xt.checkable,gn=xt.checkStrictly,Cn=xt.disabled,Mn=xt.motion,An=xt.loadData,_n=xt.filterTreeNode,ra=xt.height,Pn=xt.itemHeight,Vn=xt.virtual,ia=xt.titleRender,Ea=xt.dropIndicatorRender,ma=xt.onContextMenu,Ia=xt.onScroll,ro=xt.direction,lr=xt.rootClassName,Jr=xt.rootStyle,Rn=K(this.props,{aria:!0,data:!0}),En;return hn&&((0,o.Z)(hn)==="object"?En=hn:typeof hn=="function"?En={nodeDraggable:hn}:En={}),I.createElement(L.Provider,{value:{prefixCls:It,selectable:xr,showIcon:Tr,icon:Hr,switcherIcon:on,draggable:En,draggingNodeKey:we,checkable:ea,checkStrictly:gn,disabled:Cn,keyEntities:de,dropLevelOffset:Qe,dropContainerKey:it,dropTargetKey:Et,dropPosition:pt,dragOverNodeKey:bt,indent:ht,direction:ro,dropIndicatorRender:Ea,loadData:An,filterTreeNode:_n,titleRender:ia,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},I.createElement("div",{role:"tree",className:g()(It,Gt,lr,(0,v.Z)((0,v.Z)((0,v.Z)({},"".concat(It,"-show-line"),fr),"".concat(It,"-focused"),dt),"".concat(It,"-active-focused"),Ce!==null)),style:Jr},I.createElement(Fr,(0,n.Z)({ref:this.listRef,prefixCls:It,style:Ht,data:mt,disabled:Cn,selectable:xr,checkable:!!ea,motion:Mn,dragging:we!==null,height:ra,itemHeight:Pn,virtual:Vn,focusable:wr,focused:dt,tabIndex:Xr,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:ma,onScroll:Ia},this.getTreeNodeRequiredProps(),Rn))))}}],[{key:"getDerivedStateFromProps",value:function($e,dt){var mt=dt.prevProps,de={prevProps:$e};function we(Zr){return!mt&&Zr in $e||mt&&mt[Zr]!==$e[Zr]}var Ce,Qe=dt.fieldNames;if(we("fieldNames")&&(Qe=_t($e.fieldNames),de.fieldNames=Qe),we("treeData")?Ce=$e.treeData:we("children")&&((0,P.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Ce=Rt($e.children)),Ce){de.treeData=Ce;var it=yt(Ce,{fieldNames:Qe});de.keyEntities=(0,a.Z)((0,v.Z)({},Jt,sn),it.keyEntities)}var Et=de.keyEntities||dt.keyEntities;if(we("expandedKeys")||mt&&we("autoExpandParent"))de.expandedKeys=$e.autoExpandParent||!mt&&$e.defaultExpandParent?mo($e.expandedKeys,Et):$e.expandedKeys;else if(!mt&&$e.defaultExpandAll){var pt=(0,a.Z)({},Et);delete pt[Jt],de.expandedKeys=Object.keys(pt).map(function(Zr){return pt[Zr].key})}else!mt&&$e.defaultExpandedKeys&&(de.expandedKeys=$e.autoExpandParent||$e.defaultExpandParent?mo($e.defaultExpandedKeys,Et):$e.defaultExpandedKeys);if(de.expandedKeys||delete de.expandedKeys,Ce||de.expandedKeys){var bt=Tt(Ce||dt.treeData,de.expandedKeys||dt.expandedKeys,Qe);de.flattenNodes=bt}if($e.selectable&&(we("selectedKeys")?de.selectedKeys=vo($e.selectedKeys,$e):!mt&&$e.defaultSelectedKeys&&(de.selectedKeys=vo($e.defaultSelectedKeys,$e))),$e.checkable){var ht;if(we("checkedKeys")?ht=Ka($e.checkedKeys)||{}:!mt&&$e.defaultCheckedKeys?ht=Ka($e.defaultCheckedKeys)||{}:Ce&&(ht=Ka($e.checkedKeys)||{checkedKeys:dt.checkedKeys,halfCheckedKeys:dt.halfCheckedKeys}),ht){var xt=ht,It=xt.checkedKeys,Gt=It===void 0?[]:It,Ht=xt.halfCheckedKeys,fr=Ht===void 0?[]:Ht;if(!$e.checkStrictly){var wr=uo(Gt,!0,Et);Gt=wr.checkedKeys,fr=wr.halfCheckedKeys}de.checkedKeys=Gt,de.halfCheckedKeys=fr}}return we("loadedKeys")&&(de.loadedKeys=$e.loadedKeys),de}}]),ke}(I.Component);(0,v.Z)(Ha,"defaultProps",{prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:H,allowDrop:function(){return!0},expandAction:!1}),(0,v.Z)(Ha,"TreeNode",ur);var ha=null,Io=null;function Na(ie){"@babel/helpers - typeof";return Na=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Se){return typeof Se}:function(Se){return Se&&typeof Symbol=="function"&&Se.constructor===Symbol&&Se!==Symbol.prototype?"symbol":typeof Se},Na(ie)}function ao(ie,Se){var ke=Object.keys(ie);if(Object.getOwnPropertySymbols){var F=Object.getOwnPropertySymbols(ie);Se&&(F=F.filter(function($e){return Object.getOwnPropertyDescriptor(ie,$e).enumerable})),ke.push.apply(ke,F)}return ke}function zn(ie){for(var Se=1;Seie.length)&&(Se=ie.length);for(var ke=0,F=new Array(Se);ke1&&arguments[1]!==void 0?arguments[1]:"",ke=[];return[].concat(ie).forEach(function(F,$e){var dt="".concat(Se?"".concat(Se,"-"):"").concat($e);switch(F==null?void 0:F.type){case"ul":{var mt,de=((mt=ke[ke.length-1])===null||mt===void 0?void 0:mt.children)||ke,we=Qr(F.props.children||[],dt);de.push.apply(de,Zt(we));break}case"li":{var Ce,Qe,it=(Ce=F.props.children)===null||Ce===void 0||(Qe=Ce.some)===null||Qe===void 0?void 0:Qe.call(Ce,function(bt){var ht;return bt.type==="ul"&&!((ht=bt.props.children)!==null&&ht!==void 0&&ht.length)}),Et=[].concat(F.props.children).filter(function(bt){return bt.type!=="ul"}),pt=it?[]:Qr(F.props.children,dt);ke.push({title:Et,key:dt,children:pt,isLeaf:!it&&!pt.length,switcherIcon:it?React.createElement("span",{className:"tree-switcher-leaf-line"}):void 0});break}default:}}),ke}var Sn=function(Se){var ke=useState(Qr(Se)),F=Va(ke,2),$e=F[0],dt=F[1];return useEffect(function(){dt(Qr(Se))},[Se]),$e},cn=function(Se){var ke,F=Se.isLeaf,$e=Se.expanded,dt=Se.data;return F?React.createElement("span",{className:"dumi-default-tree-icon"},React.createElement(FileOutlined,{fill:"currentColor"})):!$e||!(dt!=null&&(ke=dt.children)!==null&&ke!==void 0&&ke.length)?React.createElement("span",{className:"dumi-default-tree-icon"},React.createElement(FolderOutlined,{fill:"currentColor"})):React.createElement("span",{className:"dumi-default-tree-icon"},React.createElement(FolderOpenOutlined,{fill:"currentColor"}))},Un=function(Se){var ke=Se.isLeaf,F=Se.expanded;return ke?React.createElement("span",{className:"tree-switcher-leaf-line"}):F?React.createElement("span",{className:"tree-switcher-line-icon"},React.createElement("span",{className:"dumi-default-tree-icon"},React.createElement(MinusSquareOutlined,{fill:"currentColor"}))):React.createElement("span",{className:"tree-switcher-line-icon"},React.createElement("span",{className:"dumi-default-tree-icon"},React.createElement(PlusSquareOutlined,{fill:"currentColor"})))},tn=function(){return{height:0,opacity:0}},Dn=function(Se){var ke=Se.scrollHeight;return{height:ke,opacity:1}},oa=function(Se){return{height:Se?Se.offsetHeight:0}},Gn=function(Se,ke){return(ke==null?void 0:ke.deadline)===!0||ke.propertyName==="height"},ua={motionName:"ant-motion-collapse",onAppearStart:tn,onEnterStart:tn,onAppearActive:Dn,onEnterActive:Dn,onLeaveStart:oa,onLeaveActive:tn,onAppearEnd:Gn,onEnterEnd:Gn,onLeaveEnd:Gn,motionDeadline:500},dn=function(ie){var Se=Sn(ie.children),ke=createRef(),F=function(dt,mt){var de,we=mt.isLeaf,Ce=!we&&!((de=mt.children)!==null&&de!==void 0&&de.length);we||Ce||dt.shiftKey||dt.metaKey||dt.ctrlKey||ke.current.onNodeExpand(dt,mt)};return React.createElement(Tree,{className:"dumi-default-tree",icon:cn,ref:ke,itemHeight:20,showLine:!0,selectable:!1,virtual:!1,motion:zn(zn({},ua),{},{motionAppear:!1}),onClick:F,treeData:[{key:"0",title:ie.title||"",children:Se}],defaultExpandAll:!0,switcherIcon:Un})}},25085:function(d,p,e){"use strict";e.d(p,{Z:function(){return Lo}});var n=e(15250),o=e(97326),a=e(71930),u=e(2289),c=e(75253),f=e(61191),s=e(92310),m=e.n(s),y=e(71366),v=e(70041),l=e(21739),g=(0,l.createContext)(null),E=e(73730),w=e(10933),S=e(30609),x=e(25629),O=e(71783),j=function(xe){var Fe=xe.activeTabOffset,rt=xe.horizontal,ze=xe.rtl,Ye=xe.indicatorSize,st=xe.indicatorAlign,Ot=(0,l.useState)(),At=(0,u.Z)(Ot,2),Bt=At[0],er=At[1],tr=(0,l.useRef)(),sr=l.useCallback(function(mr){return typeof Ye=="function"?Ye(mr):typeof Ye=="number"?Ye:mr},[Ye]);function yr(){O.Z.cancel(tr.current)}return(0,l.useEffect)(function(){var mr={};if(Fe)if(rt){mr.width=sr(Fe.width);var Wr=ze?"right":"left";st==="start"&&(mr[Wr]=Fe[Wr]),st==="center"&&(mr[Wr]=Fe[Wr]+Fe.width/2,mr.transform=ze?"translateX(50%)":"translateX(-50%)"),st==="end"&&(mr[Wr]=Fe[Wr]+Fe.width,mr.transform="translateX(-100%)")}else mr.height=sr(Fe.height),st==="start"&&(mr.top=Fe.top),st==="center"&&(mr.top=Fe.top+Fe.height/2,mr.transform="translateY(-50%)"),st==="end"&&(mr.top=Fe.top+Fe.height,mr.transform="translateY(-100%)");return yr(),tr.current=(0,O.Z)(function(){er(mr)}),yr},[Fe,rt,ze,Ye,st,sr]),{style:Bt}},_=j,K={width:0,height:0,left:0,top:0};function P(ue,xe,Fe){return(0,l.useMemo)(function(){for(var rt,ze=new Map,Ye=xe.get((rt=ue[0])===null||rt===void 0?void 0:rt.key)||K,st=Ye.left+Ye.width,Ot=0;Otln?(fn=Pr,Vr.current="x"):(fn=bn,Vr.current="y"),xe(-fn,-fn)&&$r.preventDefault()}var jr=(0,l.useRef)(null);jr.current={onTouchStart:Dt,onTouchMove:Or,onTouchEnd:Dr,onWheel:mn},l.useEffect(function(){function $r(zr){jr.current.onTouchStart(zr)}function Pr(zr){jr.current.onTouchMove(zr)}function bn(zr){jr.current.onTouchEnd(zr)}function fn(zr){jr.current.onWheel(zr)}return document.addEventListener("touchmove",Pr,{passive:!1}),document.addEventListener("touchend",bn,{passive:!1}),ue.current.addEventListener("touchstart",$r,{passive:!1}),ue.current.addEventListener("wheel",fn),function(){document.removeEventListener("touchmove",Pr),document.removeEventListener("touchend",bn)}},[])}var ce=e(19171);function pe(ue){var xe=(0,l.useState)(0),Fe=(0,u.Z)(xe,2),rt=Fe[0],ze=Fe[1],Ye=(0,l.useRef)(0),st=(0,l.useRef)();return st.current=ue,(0,ce.o)(function(){var Ot;(Ot=st.current)===null||Ot===void 0||Ot.call(st)},[rt]),function(){Ye.current===rt&&(Ye.current+=1,ze(Ye.current))}}function Ae(ue){var xe=(0,l.useRef)([]),Fe=(0,l.useState)({}),rt=(0,u.Z)(Fe,2),ze=rt[1],Ye=(0,l.useRef)(typeof ue=="function"?ue():ue),st=pe(function(){var At=Ye.current;xe.current.forEach(function(Bt){At=Bt(At)}),xe.current=[],Ye.current=At,ze({})});function Ot(At){xe.current.push(At),st()}return[Ye.current,Ot]}var Ne={width:0,height:0,left:0,top:0,right:0};function me(ue,xe,Fe,rt,ze,Ye,st){var Ot=st.tabs,At=st.tabPosition,Bt=st.rtl,er,tr,sr;return["top","bottom"].includes(At)?(er="width",tr=Bt?"right":"left",sr=Math.abs(Fe)):(er="height",tr="top",sr=-Fe),(0,l.useMemo)(function(){if(!Ot.length)return[0,0];for(var yr=Ot.length,mr=yr,Wr=0;Wrsr+xe){mr=Wr-1;break}}for(var un=0,qr=yr-1;qr>=0;qr-=1){var Dt=ue.get(Ot[qr].key)||Ne;if(Dt[tr]=mr?[0,0]:[un,mr]},[ue,xe,rt,ze,Ye,sr,At,Ot.map(function(yr){return yr.key}).join("_"),Bt])}function Q(ue){var xe;return ue instanceof Map?(xe={},ue.forEach(function(Fe,rt){xe[rt]=Fe})):xe=ue,JSON.stringify(xe)}var ne="TABS_DQ";function ae(ue){return String(ue).replace(/"/g,ne)}function U(ue,xe,Fe,rt){return!(!Fe||rt||ue===!1||ue===void 0&&(xe===!1||xe===null))}var R=l.forwardRef(function(ue,xe){var Fe=ue.prefixCls,rt=ue.editable,ze=ue.locale,Ye=ue.style;return!rt||rt.showAdd===!1?null:l.createElement("button",{ref:xe,type:"button",className:"".concat(Fe,"-nav-add"),style:Ye,"aria-label":(ze==null?void 0:ze.addAriaLabel)||"Add tab",onClick:function(Ot){rt.onEdit("add",{event:Ot})}},rt.addIcon||"+")}),q=R,le=l.forwardRef(function(ue,xe){var Fe=ue.position,rt=ue.prefixCls,ze=ue.extra;if(!ze)return null;var Ye,st={};return(0,c.Z)(ze)==="object"&&!l.isValidElement(ze)?st=ze:st.right=ze,Fe==="right"&&(Ye=st.right),Fe==="left"&&(Ye=st.left),Ye?l.createElement("div",{className:"".concat(rt,"-extra-content"),ref:xe},Ye):null}),re=le,A=e(35593),W=e(20287),k=W.Z.ESC,Z=W.Z.TAB;function z(ue){var xe=ue.visible,Fe=ue.triggerRef,rt=ue.onVisibleChange,ze=ue.autoFocus,Ye=ue.overlayRef,st=l.useRef(!1),Ot=function(){if(xe){var tr,sr;(tr=Fe.current)===null||tr===void 0||(sr=tr.focus)===null||sr===void 0||sr.call(tr),rt==null||rt(!1)}},At=function(){var tr;return(tr=Ye.current)!==null&&tr!==void 0&&tr.focus?(Ye.current.focus(),st.current=!0,!0):!1},Bt=function(tr){switch(tr.keyCode){case k:Ot();break;case Z:{var sr=!1;st.current||(sr=At()),sr?tr.preventDefault():Ot();break}}};l.useEffect(function(){return xe?(window.addEventListener("keydown",Bt),ze&&(0,O.Z)(At,3),function(){window.removeEventListener("keydown",Bt),st.current=!1}):function(){st.current=!1}},[xe])}var Ee=(0,l.forwardRef)(function(ue,xe){var Fe=ue.overlay,rt=ue.arrow,ze=ue.prefixCls,Ye=(0,l.useMemo)(function(){var Ot;return typeof Fe=="function"?Ot=Fe():Ot=Fe,Ot},[Fe]),st=(0,x.sQ)(xe,Ye==null?void 0:Ye.ref);return l.createElement(l.Fragment,null,rt&&l.createElement("div",{className:"".concat(ze,"-arrow")}),l.cloneElement(Ye,{ref:(0,x.Yr)(Ye)?st:void 0}))}),Me=Ee,et={adjustX:1,adjustY:1},Ve=[0,0],tt={topLeft:{points:["bl","tl"],overflow:et,offset:[0,-4],targetOffset:Ve},top:{points:["bc","tc"],overflow:et,offset:[0,-4],targetOffset:Ve},topRight:{points:["br","tr"],overflow:et,offset:[0,-4],targetOffset:Ve},bottomLeft:{points:["tl","bl"],overflow:et,offset:[0,4],targetOffset:Ve},bottom:{points:["tc","bc"],overflow:et,offset:[0,4],targetOffset:Ve},bottomRight:{points:["tr","br"],overflow:et,offset:[0,4],targetOffset:Ve}},gt=tt,ee=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function $(ue,xe){var Fe,rt=ue.arrow,ze=rt===void 0?!1:rt,Ye=ue.prefixCls,st=Ye===void 0?"rc-dropdown":Ye,Ot=ue.transitionName,At=ue.animation,Bt=ue.align,er=ue.placement,tr=er===void 0?"bottomLeft":er,sr=ue.placements,yr=sr===void 0?gt:sr,mr=ue.getPopupContainer,Wr=ue.showAction,Gr=ue.hideAction,un=ue.overlayClassName,qr=ue.overlayStyle,Dt=ue.visible,Or=ue.trigger,Dr=Or===void 0?["hover"]:Or,Vr=ue.autoFocus,mn=ue.overlay,jr=ue.children,$r=ue.onVisibleChange,Pr=(0,f.Z)(ue,ee),bn=l.useState(),fn=(0,u.Z)(bn,2),zr=fn[0],ln=fn[1],C="visible"in ue?Dt:zr,M=l.useRef(null),N=l.useRef(null),se=l.useRef(null);l.useImperativeHandle(xe,function(){return M.current});var Ue=function(zt){ln(zt),$r==null||$r(zt)};z({visible:C,triggerRef:se,onVisibleChange:Ue,autoFocus:Vr,overlayRef:N});var Ke=function(zt){var Vt=ue.onOverlayClick;ln(!1),Vt&&Vt(zt)},ct=function(){return l.createElement(Me,{ref:N,overlay:mn,prefixCls:st,arrow:ze})},at=function(){return typeof mn=="function"?ct:ct()},Ge=function(){var zt=ue.minOverlayWidthMatchTrigger,Vt=ue.alignPoint;return"minOverlayWidthMatchTrigger"in ue?zt:!Vt},St=function(){var zt=ue.openClassName;return zt!==void 0?zt:"".concat(st,"-open")},jt=l.cloneElement(jr,{className:m()((Fe=jr.props)===null||Fe===void 0?void 0:Fe.className,C&&St()),ref:(0,x.Yr)(jr)?(0,x.sQ)(se,jr.ref):void 0}),Ft=Gr;return!Ft&&Dr.indexOf("contextMenu")!==-1&&(Ft=["click"]),l.createElement(A.default,(0,n.Z)({builtinPlacements:yr},Pr,{prefixCls:st,ref:M,popupClassName:m()(un,(0,o.Z)({},"".concat(st,"-show-arrow"),ze)),popupStyle:qr,action:Dr,showAction:Wr,hideAction:Ft,popupPlacement:tr,popupAlign:Bt,popupTransitionName:Ot,popupAnimation:At,popupVisible:C,stretch:Ge()?"minWidth":"",popup:at(),onPopupVisibleChange:Ue,onPopupClick:Ke,getPopupContainer:mr}),jt)}var X=l.forwardRef($),Y=X,ye=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],J=void 0;function ve(ue,xe){var Fe=ue.prefixCls,rt=ue.invalidate,ze=ue.item,Ye=ue.renderItem,st=ue.responsive,Ot=ue.responsiveDisabled,At=ue.registerSize,Bt=ue.itemKey,er=ue.className,tr=ue.style,sr=ue.children,yr=ue.display,mr=ue.order,Wr=ue.component,Gr=Wr===void 0?"div":Wr,un=(0,f.Z)(ue,ye),qr=st&&!yr;function Dt(jr){At(Bt,jr)}l.useEffect(function(){return function(){Dt(null)}},[]);var Or=Ye&&ze!==J?Ye(ze):sr,Dr;rt||(Dr={opacity:qr?0:1,height:qr?0:J,overflowY:qr?"hidden":J,order:st?mr:J,pointerEvents:qr?"none":J,position:qr?"absolute":J});var Vr={};qr&&(Vr["aria-hidden"]=!0);var mn=l.createElement(Gr,(0,n.Z)({className:m()(!rt&&Fe,er),style:(0,a.Z)((0,a.Z)({},Dr),tr)},Vr,un,{ref:xe}),Or);return st&&(mn=l.createElement(w.Z,{onResize:function($r){var Pr=$r.offsetWidth;Dt(Pr)},disabled:Ot},mn)),mn}var ge=l.forwardRef(ve);ge.displayName="Item";var fe=ge,Te=e(67820);function We(ue){if(typeof MessageChannel=="undefined")(0,O.Z)(ue);else{var xe=new MessageChannel;xe.port1.onmessage=function(){return ue()},xe.port2.postMessage(void 0)}}function nt(){var ue=l.useRef(null),xe=function(rt){ue.current||(ue.current=[],We(function(){(0,Te.unstable_batchedUpdates)(function(){ue.current.forEach(function(ze){ze()}),ue.current=null})})),ue.current.push(rt)};return xe}function Xe(ue,xe){var Fe=l.useState(xe),rt=(0,u.Z)(Fe,2),ze=rt[0],Ye=rt[1],st=(0,S.Z)(function(Ot){ue(function(){Ye(Ot)})});return[ze,st]}var Ut=l.createContext(null),Pe=["component"],he=["className"],Le=["className"],b=function(xe,Fe){var rt=l.useContext(Ut);if(!rt){var ze=xe.component,Ye=ze===void 0?"div":ze,st=(0,f.Z)(xe,Pe);return l.createElement(Ye,(0,n.Z)({},st,{ref:Fe}))}var Ot=rt.className,At=(0,f.Z)(rt,he),Bt=xe.className,er=(0,f.Z)(xe,Le);return l.createElement(Ut.Provider,{value:null},l.createElement(fe,(0,n.Z)({ref:Fe,className:m()(Ot,Bt)},At,er)))},te=l.forwardRef(b);te.displayName="RawItem";var Re=te,be=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],Ze="responsive",Mt="invalidate";function _t(ue){return"+ ".concat(ue.length," ...")}function Yt(ue,xe){var Fe=ue.prefixCls,rt=Fe===void 0?"rc-overflow":Fe,ze=ue.data,Ye=ze===void 0?[]:ze,st=ue.renderItem,Ot=ue.renderRawItem,At=ue.itemKey,Bt=ue.itemWidth,er=Bt===void 0?10:Bt,tr=ue.ssr,sr=ue.style,yr=ue.className,mr=ue.maxCount,Wr=ue.renderRest,Gr=ue.renderRawRest,un=ue.suffix,qr=ue.component,Dt=qr===void 0?"div":qr,Or=ue.itemComponent,Dr=ue.onVisibleChange,Vr=(0,f.Z)(ue,be),mn=tr==="full",jr=nt(),$r=Xe(jr,null),Pr=(0,u.Z)($r,2),bn=Pr[0],fn=Pr[1],zr=bn||0,ln=Xe(jr,new Map),C=(0,u.Z)(ln,2),M=C[0],N=C[1],se=Xe(jr,0),Ue=(0,u.Z)(se,2),Ke=Ue[0],ct=Ue[1],at=Xe(jr,0),Ge=(0,u.Z)(at,2),St=Ge[0],jt=Ge[1],Ft=Xe(jr,0),$t=(0,u.Z)(Ft,2),zt=$t[0],Vt=$t[1],Kr=(0,l.useState)(null),Cr=(0,u.Z)(Kr,2),Ar=Cr[0],nr=Cr[1],vr=(0,l.useState)(null),Ir=(0,u.Z)(vr,2),wn=Ir[0],Xn=Ir[1],In=l.useMemo(function(){return wn===null&&mn?Number.MAX_SAFE_INTEGER:wn||0},[wn,bn]),Kn=(0,l.useState)(!1),va=(0,u.Z)(Kn,2),ya=va[0],Sa=va[1],wt="".concat(rt,"-item"),qe=Math.max(Ke,St),ft=mr===Ze,He=Ye.length&&ft,ut=mr===Mt,lt=He||typeof mr=="number"&&Ye.length>mr,Qt=(0,l.useMemo)(function(){var Zn=Ye;return He?bn===null&&mn?Zn=Ye:Zn=Ye.slice(0,Math.min(Ye.length,zr/er)):typeof mr=="number"&&(Zn=Ye.slice(0,mr)),Zn},[Ye,er,bn,mr,He]),rr=(0,l.useMemo)(function(){return He?Ye.slice(In+1):Ye.slice(Qt.length)},[Ye,Qt,He,In]),or=(0,l.useCallback)(function(Zn,Nn){var Ja;return typeof At=="function"?At(Zn):(Ja=At&&(Zn==null?void 0:Zn[At]))!==null&&Ja!==void 0?Ja:Nn},[At]),Rr=(0,l.useCallback)(st||function(Zn){return Zn},[st]);function _r(Zn,Nn,Ja){wn===Zn&&(Nn===void 0||Nn===Ar)||(Xn(Zn),Ja||(Sa(Znzr){_r(Wa-1,Zn-bo-zt+St);break}}un&&ka(0)+zt>zr&&nr(null)}},[zr,M,St,zt,or,Qt]);var Ua=ya&&!!rr.length,Br={};Ar!==null&&He&&(Br={position:"absolute",left:Ar,top:0});var ir={prefixCls:wt,responsive:He,component:Or,invalidate:ut},Yn=Ot?function(Zn,Nn){var Ja=or(Zn,Nn);return l.createElement(Ut.Provider,{key:Ja,value:(0,a.Z)((0,a.Z)({},ir),{},{order:Nn,item:Zn,itemKey:Ja,registerSize:Jn,display:Nn<=In})},Ot(Zn,Nn))}:function(Zn,Nn){var Ja=or(Zn,Nn);return l.createElement(fe,(0,n.Z)({},ir,{order:Nn,key:Ja,item:Zn,renderItem:Rr,itemKey:Ja,registerSize:Jn,display:Nn<=In}))},qn,na={order:Ua?In:Number.MAX_SAFE_INTEGER,className:"".concat(wt,"-rest"),registerSize:kn,display:Ua};if(Gr)Gr&&(qn=l.createElement(Ut.Provider,{value:(0,a.Z)((0,a.Z)({},ir),na)},Gr(rr)));else{var Xa=Wr||_t;qn=l.createElement(fe,(0,n.Z)({},ir,na),typeof Xa=="function"?Xa(rr):Xa)}var yo=l.createElement(Dt,(0,n.Z)({className:m()(!ut&&rt,yr),style:sr,ref:xe},Vr),Qt.map(Yn),lt?qn:null,un&&l.createElement(fe,(0,n.Z)({},ir,{responsive:ft,responsiveDisabled:!He,order:In,className:"".concat(wt,"-suffix"),registerSize:ca,display:!0,style:Br}),un));return ft&&(yo=l.createElement(w.Z,{onResize:Mr,disabled:!He},yo)),yo}var Rt=l.forwardRef(Yt);Rt.displayName="Overflow",Rt.Item=Re,Rt.RESPONSIVE=Ze,Rt.INVALIDATE=Mt;var Tt=Rt,je=Tt,yt=e(85870);function Be(ue,xe){var Fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,rt=new Set;function ze(Ye,st){var Ot=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,At=rt.has(Ye);if((0,yt.ZP)(!At,"Warning: There may be circular references"),At)return!1;if(Ye===st)return!0;if(Fe&&Ot>1)return!1;rt.add(Ye);var Bt=Ot+1;if(Array.isArray(Ye)){if(!Array.isArray(st)||Ye.length!==st.length)return!1;for(var er=0;er1&&arguments[1]!==void 0?arguments[1]:!1;if((0,Kt.Z)(ue)){var Fe=ue.nodeName.toLowerCase(),rt=["input","select","textarea","button"].includes(Fe)||ue.isContentEditable||Fe==="a"&&!!ue.getAttribute("href"),ze=ue.getAttribute("tabindex"),Ye=Number(ze),st=null;return ze&&!Number.isNaN(Ye)?st=Ye:rt&&st===null&&(st=0),rt&&ue.disabled&&(st=null),st!==null&&(st>=0||xe&&st<0)}return!1}function Nr(ue){var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Fe=(0,E.Z)(ue.querySelectorAll("*")).filter(function(rt){return Jt(rt,xe)});return Jt(ue,xe)&&Fe.unshift(ue),Fe}var sn=null;function Lr(){sn=document.activeElement}function jn(){sn=null}function Wn(){if(sn)try{sn.focus()}catch(ue){}}function On(ue,xe){if(xe.keyCode===9){var Fe=Nr(ue),rt=Fe[xe.shiftKey?0:Fe.length-1],ze=rt===document.activeElement||ue===document.activeElement;if(ze){var Ye=Fe[xe.shiftKey?Fe.length-1:0];Ye.focus(),xe.preventDefault()}}}var $n=W.Z.LEFT,Fr=W.Z.RIGHT,pa=W.Z.UP,fa=W.Z.DOWN,Ra=W.Z.ENTER,ja=W.Z.ESC,eo=W.Z.HOME,ba=W.Z.END,Ca=[pa,fa,$n,Fr];function Fa(ue,xe,Fe,rt){var ze,Ye,st,Ot,At="prev",Bt="next",er="children",tr="parent";if(ue==="inline"&&rt===Ra)return{inlineTrigger:!0};var sr=(ze={},(0,o.Z)(ze,pa,At),(0,o.Z)(ze,fa,Bt),ze),yr=(Ye={},(0,o.Z)(Ye,$n,Fe?Bt:At),(0,o.Z)(Ye,Fr,Fe?At:Bt),(0,o.Z)(Ye,fa,er),(0,o.Z)(Ye,Ra,er),Ye),mr=(st={},(0,o.Z)(st,pa,At),(0,o.Z)(st,fa,Bt),(0,o.Z)(st,Ra,er),(0,o.Z)(st,ja,tr),(0,o.Z)(st,$n,Fe?er:tr),(0,o.Z)(st,Fr,Fe?tr:er),st),Wr={inline:sr,horizontal:yr,vertical:mr,inlineSub:sr,horizontalSub:mr,verticalSub:mr},Gr=(Ot=Wr["".concat(ue).concat(xe?"":"Sub")])===null||Ot===void 0?void 0:Ot[rt];switch(Gr){case At:return{offset:-1,sibling:!0};case Bt:return{offset:1,sibling:!0};case tr:return{offset:-1,sibling:!1};case er:return{offset:1,sibling:!1};default:return null}}function vo(ue){for(var xe=ue;xe;){if(xe.getAttribute("data-menu-list"))return xe;xe=xe.parentElement}return null}function wa(ue,xe){for(var Fe=ue||document.activeElement;Fe;){if(xe.has(Fe))return Fe;Fe=Fe.parentElement}return null}function Ma(ue,xe){var Fe=Nr(ue,!0);return Fe.filter(function(rt){return xe.has(rt)})}function Ka(ue,xe,Fe){var rt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!ue)return null;var ze=Ma(ue,xe),Ye=ze.length,st=ze.findIndex(function(Ot){return Fe===Ot});return rt<0?st===-1?st=Ye-1:st-=1:rt>0&&(st+=1),st=(st+Ye)%Ye,ze[st]}var mo=function(xe,Fe){var rt=new Set,ze=new Map,Ye=new Map;return xe.forEach(function(st){var Ot=document.querySelector("[data-menu-id='".concat(Lt(Fe,st),"']"));Ot&&(rt.add(Ot),Ye.set(Ot,st),ze.set(st,Ot))}),{elements:rt,key2element:ze,element2key:Ye}};function co(ue,xe,Fe,rt,ze,Ye,st,Ot,At,Bt){var er=l.useRef(),tr=l.useRef();tr.current=xe;var sr=function(){O.Z.cancel(er.current)};return l.useEffect(function(){return function(){sr()}},[]),function(yr){var mr=yr.which;if([].concat(Ca,[Ra,ja,eo,ba]).includes(mr)){var Wr=Ye(),Gr=mo(Wr,rt),un=Gr,qr=un.elements,Dt=un.key2element,Or=un.element2key,Dr=Dt.get(xe),Vr=wa(Dr,qr),mn=Or.get(Vr),jr=Fa(ue,st(mn,!0).length===1,Fe,mr);if(!jr&&mr!==eo&&mr!==ba)return;(Ca.includes(mr)||[eo,ba].includes(mr))&&yr.preventDefault();var $r=function(N){if(N){var se=N,Ue=N.querySelector("a");Ue!=null&&Ue.getAttribute("href")&&(se=Ue);var Ke=Or.get(N);Ot(Ke),sr(),er.current=(0,O.Z)(function(){tr.current===Ke&&se.focus()})}};if([eo,ba].includes(mr)||jr.sibling||!Vr){var Pr;!Vr||ue==="inline"?Pr=ze.current:Pr=vo(Vr);var bn,fn=Ma(Pr,qr);mr===eo?bn=fn[0]:mr===ba?bn=fn[fn.length-1]:bn=Ka(Pr,qr,Vr,jr.offset),$r(bn)}else if(jr.inlineTrigger)At(mn);else if(jr.offset>0)At(mn,!0),sr(),er.current=(0,O.Z)(function(){Gr=mo(Wr,rt);var M=Vr.getAttribute("aria-controls"),N=document.getElementById(M),se=Ka(N,Gr.elements);$r(se)},5);else if(jr.offset<0){var zr=st(mn,!0),ln=zr[zr.length-2],C=Dt.get(ln);At(ln,!1),$r(C)}}Bt==null||Bt(yr)}}function So(ue){Promise.resolve().then(ue)}var to="__RC_UTIL_PATH_SPLIT__",ga=function(xe){return xe.join(to)},uo=function(xe){return xe.split(to)},po="rc-menu-more";function Ha(){var ue=l.useState({}),xe=(0,u.Z)(ue,2),Fe=xe[1],rt=(0,l.useRef)(new Map),ze=(0,l.useRef)(new Map),Ye=l.useState([]),st=(0,u.Z)(Ye,2),Ot=st[0],At=st[1],Bt=(0,l.useRef)(0),er=(0,l.useRef)(!1),tr=function(){er.current||Fe({})},sr=(0,l.useCallback)(function(Dt,Or){var Dr=ga(Or);ze.current.set(Dr,Dt),rt.current.set(Dt,Dr),Bt.current+=1;var Vr=Bt.current;So(function(){Vr===Bt.current&&tr()})},[]),yr=(0,l.useCallback)(function(Dt,Or){var Dr=ga(Or);ze.current.delete(Dr),rt.current.delete(Dt)},[]),mr=(0,l.useCallback)(function(Dt){At(Dt)},[]),Wr=(0,l.useCallback)(function(Dt,Or){var Dr=rt.current.get(Dt)||"",Vr=uo(Dr);return Or&&Ot.includes(Vr[0])&&Vr.unshift(po),Vr},[Ot]),Gr=(0,l.useCallback)(function(Dt,Or){return Dt.some(function(Dr){var Vr=Wr(Dr,!0);return Vr.includes(Or)})},[Wr]),un=function(){var Or=(0,E.Z)(rt.current.keys());return Ot.length&&Or.push(po),Or},qr=(0,l.useCallback)(function(Dt){var Or="".concat(rt.current.get(Dt)).concat(to),Dr=new Set;return(0,E.Z)(ze.current.keys()).forEach(function(Vr){Vr.startsWith(Or)&&Dr.add(ze.current.get(Vr))}),Dr},[]);return l.useEffect(function(){return function(){er.current=!0}},[]),{registerPath:sr,unregisterPath:yr,refreshOverflowKeys:mr,isSubPathKey:Gr,getKeyPath:Wr,getKeys:un,getSubPathKeys:qr}}function ha(ue){var xe=l.useRef(ue);xe.current=ue;var Fe=l.useCallback(function(){for(var rt,ze=arguments.length,Ye=new Array(ze),st=0;st1&&(qr.motionAppear=!1);var Dt=qr.onVisibleChanged;return qr.onVisibleChanged=function(Or){return!sr.current&&!Or&&Gr(!0),Dt==null?void 0:Dt(Or)},Wr?null:l.createElement(Yr,{mode:Ye,locked:!sr.current},l.createElement(mt.ZP,(0,n.Z)({visible:un},qr,{forceRender:At,removeOnLeave:!1,leavedClassName:"".concat(Ot,"-hidden")}),function(Or){var Dr=Or.className,Vr=Or.style;return l.createElement(oa,{id:xe,className:Dr,style:Vr},ze)}))}var we=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],Ce=["active"],Qe=function(xe){var Fe,rt=xe.style,ze=xe.className,Ye=xe.title,st=xe.eventKey,Ot=xe.warnKey,At=xe.disabled,Bt=xe.internalPopupClose,er=xe.children,tr=xe.itemIcon,sr=xe.expandIcon,yr=xe.popupClassName,mr=xe.popupOffset,Wr=xe.popupStyle,Gr=xe.onClick,un=xe.onMouseEnter,qr=xe.onMouseLeave,Dt=xe.onTitleClick,Or=xe.onTitleMouseEnter,Dr=xe.onTitleMouseLeave,Vr=(0,f.Z)(xe,we),mn=Wt(st),jr=l.useContext(gr),$r=jr.prefixCls,Pr=jr.mode,bn=jr.openKeys,fn=jr.disabled,zr=jr.overflowDisabled,ln=jr.activeKey,C=jr.selectedKeys,M=jr.itemIcon,N=jr.expandIcon,se=jr.onItemClick,Ue=jr.onOpenChange,Ke=jr.onActive,ct=l.useContext(qt),at=ct._internalRenderSubMenuItem,Ge=l.useContext(Tn),St=Ge.isSubPathKey,jt=Hn(),Ft="".concat($r,"-submenu"),$t=fn||At,zt=l.useRef(),Vt=l.useRef(),Kr=tr!=null?tr:M,Cr=sr!=null?sr:N,Ar=bn.includes(st),nr=!zr&&Ar,vr=St(C,st),Ir=Ie(st,$t,Or,Dr),wn=Ir.active,Xn=(0,f.Z)(Ir,Ce),In=l.useState(!1),Kn=(0,u.Z)(In,2),va=Kn[0],ya=Kn[1],Sa=function(ca){$t||ya(ca)},wt=function(ca){Sa(!0),un==null||un({key:st,domEvent:ca})},qe=function(ca){Sa(!1),qr==null||qr({key:st,domEvent:ca})},ft=l.useMemo(function(){return wn||(Pr!=="inline"?va||St([ln],st):!1)},[Pr,wn,ln,va,st,St]),He=Oe(jt.length),ut=function(ca){$t||(Dt==null||Dt({key:st,domEvent:ca}),Pr==="inline"&&Ue(st,!Ar))},lt=ha(function(kn){Gr==null||Gr(pr(kn)),se(kn)}),Qt=function(ca){Pr!=="inline"&&Ue(st,ca)},rr=function(){Ke(st)},or=mn&&"".concat(mn,"-popup"),Rr=l.createElement("div",(0,n.Z)({role:"menuitem",style:He,className:"".concat(Ft,"-title"),tabIndex:$t?null:-1,ref:zt,title:typeof Ye=="string"?Ye:null,"data-menu-id":zr&&mn?null:mn,"aria-expanded":nr,"aria-haspopup":!0,"aria-controls":or,"aria-disabled":$t,onClick:ut,onFocus:rr},Xn),Ye,l.createElement(De,{icon:Pr!=="horizontal"?Cr:void 0,props:(0,a.Z)((0,a.Z)({},xe),{},{isOpen:nr,isSubMenu:!0})},l.createElement("i",{className:"".concat(Ft,"-arrow")}))),_r=l.useRef(Pr);if(Pr!=="inline"&&jt.length>1?_r.current="vertical":_r.current=Pr,!zr){var Mr=_r.current;Rr=l.createElement(dt,{mode:Mr,prefixCls:Ft,visible:!Bt&&nr&&Pr!=="inline",popupClassName:yr,popupOffset:mr,popupStyle:Wr,popup:l.createElement(Yr,{mode:Mr==="horizontal"?"vertical":Mr},l.createElement(oa,{id:or,ref:Vt},er)),disabled:$t,onVisibleChange:Qt},Rr)}var Jn=l.createElement(je.Item,(0,n.Z)({role:"none"},Vr,{component:"li",style:rt,className:m()(Ft,"".concat(Ft,"-").concat(Pr),ze,(Fe={},(0,o.Z)(Fe,"".concat(Ft,"-open"),nr),(0,o.Z)(Fe,"".concat(Ft,"-active"),ft),(0,o.Z)(Fe,"".concat(Ft,"-selected"),vr),(0,o.Z)(Fe,"".concat(Ft,"-disabled"),$t),Fe)),onMouseEnter:wt,onMouseLeave:qe}),Rr,!zr&&l.createElement(de,{id:or,open:nr,keyPath:jt},er));return at&&(Jn=at(Jn,xe,{selected:vr,active:ft,open:nr,disabled:$t})),l.createElement(Yr,{onItemClick:lt,mode:Pr==="horizontal"?"vertical":Pr,itemIcon:Kr,expandIcon:Cr},Jn)};function it(ue){var xe=ue.eventKey,Fe=ue.children,rt=Hn(xe),ze=ua(Fe,rt),Ye=la();l.useEffect(function(){if(Ye)return Ye.registerPath(xe,rt),function(){Ye.unregisterPath(xe,rt)}},[rt]);var st;return Ye?st=ze:st=l.createElement(Qe,ue,ze),l.createElement(Ln.Provider,{value:rt},st)}var Et=["className","title","eventKey","children"],pt=["children"],bt=function(xe){var Fe=xe.className,rt=xe.title,ze=xe.eventKey,Ye=xe.children,st=(0,f.Z)(xe,Et),Ot=l.useContext(gr),At=Ot.prefixCls,Bt="".concat(At,"-item-group");return l.createElement("li",(0,n.Z)({role:"presentation"},st,{onClick:function(tr){return tr.stopPropagation()},className:m()(Bt,Fe)}),l.createElement("div",{role:"presentation",className:"".concat(Bt,"-title"),title:typeof rt=="string"?rt:void 0},rt),l.createElement("ul",{role:"group",className:"".concat(Bt,"-list")},Ye))};function ht(ue){var xe=ue.children,Fe=(0,f.Z)(ue,pt),rt=Hn(Fe.eventKey),ze=ua(xe,rt),Ye=la();return Ye?ze:l.createElement(bt,(0,Va.Z)(Fe,["warnKey"]),ze)}function xt(ue){var xe=ue.className,Fe=ue.style,rt=l.useContext(gr),ze=rt.prefixCls,Ye=la();return Ye?null:l.createElement("li",{role:"separator",className:m()("".concat(ze,"-item-divider"),xe),style:Fe})}var It=["label","children","key","type"];function Gt(ue){return(ue||[]).map(function(xe,Fe){if(xe&&(0,c.Z)(xe)==="object"){var rt=xe,ze=rt.label,Ye=rt.children,st=rt.key,Ot=rt.type,At=(0,f.Z)(rt,It),Bt=st!=null?st:"tmp-".concat(Fe);return Ye||Ot==="group"?Ot==="group"?l.createElement(ht,(0,n.Z)({key:Bt},At,{title:ze}),Gt(Ye)):l.createElement(it,(0,n.Z)({key:Bt},At,{title:ze}),Gt(Ye)):Ot==="divider"?l.createElement(xt,(0,n.Z)({key:Bt},At)):l.createElement(cn,(0,n.Z)({key:Bt},At),ze)}return null}).filter(function(xe){return xe})}function Ht(ue,xe,Fe){var rt=ue;return xe&&(rt=Gt(xe)),ua(rt,Fe)}var fr=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],wr=[],Zr=l.forwardRef(function(ue,xe){var Fe,rt,ze=ue,Ye=ze.prefixCls,st=Ye===void 0?"rc-menu":Ye,Ot=ze.rootClassName,At=ze.style,Bt=ze.className,er=ze.tabIndex,tr=er===void 0?0:er,sr=ze.items,yr=ze.children,mr=ze.direction,Wr=ze.id,Gr=ze.mode,un=Gr===void 0?"vertical":Gr,qr=ze.inlineCollapsed,Dt=ze.disabled,Or=ze.disabledOverflow,Dr=ze.subMenuOpenDelay,Vr=Dr===void 0?.1:Dr,mn=ze.subMenuCloseDelay,jr=mn===void 0?.1:mn,$r=ze.forceSubMenuRender,Pr=ze.defaultOpenKeys,bn=ze.openKeys,fn=ze.activeKey,zr=ze.defaultActiveFirst,ln=ze.selectable,C=ln===void 0?!0:ln,M=ze.multiple,N=M===void 0?!1:M,se=ze.defaultSelectedKeys,Ue=ze.selectedKeys,Ke=ze.onSelect,ct=ze.onDeselect,at=ze.inlineIndent,Ge=at===void 0?24:at,St=ze.motion,jt=ze.defaultMotions,Ft=ze.triggerSubMenuAction,$t=Ft===void 0?"hover":Ft,zt=ze.builtinPlacements,Vt=ze.itemIcon,Kr=ze.expandIcon,Cr=ze.overflowedIndicator,Ar=Cr===void 0?"...":Cr,nr=ze.overflowedIndicatorPopupClassName,vr=ze.getPopupContainer,Ir=ze.onClick,wn=ze.onOpenChange,Xn=ze.onKeyDown,In=ze.openAnimation,Kn=ze.openTransitionName,va=ze._internalRenderMenuItem,ya=ze._internalRenderSubMenuItem,Sa=(0,f.Z)(ze,fr),wt=l.useMemo(function(){return Ht(yr,sr,wr)},[yr,sr]),qe=l.useState(!1),ft=(0,u.Z)(qe,2),He=ft[0],ut=ft[1],lt=l.useRef(),Qt=ao(Wr),rr=mr==="rtl",or=(0,y.Z)(Pr,{value:bn,postState:function(Oa){return Oa||wr}}),Rr=(0,u.Z)(or,2),_r=Rr[0],Mr=Rr[1],Jn=function(Oa){var za=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function Mo(){Mr(Oa),wn==null||wn(Oa)}za?(0,Te.flushSync)(Mo):Mo()},kn=l.useState(_r),ca=(0,u.Z)(kn,2),ka=ca[0],Ua=ca[1],Br=l.useRef(!1),ir=l.useMemo(function(){return(un==="inline"||un==="vertical")&&qr?["vertical",qr]:[un,!1]},[un,qr]),Yn=(0,u.Z)(ir,2),qn=Yn[0],na=Yn[1],Xa=qn==="inline",yo=l.useState(qn),Zn=(0,u.Z)(yo,2),Nn=Zn[0],Ja=Zn[1],Wa=l.useState(na),bo=(0,u.Z)(Wa,2),Do=bo[0],hi=bo[1];l.useEffect(function(){Ja(qn),hi(na),Br.current&&(Xa?Mr(ka):Jn(wr))},[qn,na]);var Xo=l.useState(0),wo=(0,u.Z)(Xo,2),Ao=wo[0],xo=wo[1],Ko=Ao>=wt.length-1||Nn!=="horizontal"||Or;l.useEffect(function(){Xa&&Ua(_r)},[_r]),l.useEffect(function(){return Br.current=!0,function(){Br.current=!1}},[]);var Bo=Ha(),wi=Bo.registerPath,Ta=Bo.unregisterPath,sa=Bo.refreshOverflowKeys,da=Bo.isSubPathKey,Za=Bo.getKeyPath,no=Bo.getKeys,To=Bo.getSubPathKeys,Ho=l.useMemo(function(){return{registerPath:wi,unregisterPath:Ta}},[wi,Ta]),_a=l.useMemo(function(){return{isSubPathKey:da}},[da]);l.useEffect(function(){sa(Ko?wr:wt.slice(Ao+1).map(function($a){return $a.key}))},[Ao,Ko]);var Ba=(0,y.Z)(fn||zr&&((Fe=wt[0])===null||Fe===void 0?void 0:Fe.key),{value:fn}),Fo=(0,u.Z)(Ba,2),oo=Fo[0],go=Fo[1],ui=ha(function($a){go($a)}),mi=ha(function(){go(void 0)});(0,l.useImperativeHandle)(xe,function(){return{list:lt.current,focus:function(Oa){var za,Mo=no(),qa=mo(Mo,Qt),ko=qa.elements,si=qa.key2element,li=qa.element2key,ri=Ma(lt.current,ko),gi=oo!=null?oo:ri[0]?li.get(ri[0]):(za=wt.find(function(su){return!su.props.disabled}))===null||za===void 0?void 0:za.key,Ii=si.get(gi);if(gi&&Ii){var Ui;Ii==null||(Ui=Ii.focus)===null||Ui===void 0||Ui.call(Ii,Oa)}}}});var Uo=(0,y.Z)(se||[],{value:Ue,postState:function(Oa){return Array.isArray(Oa)?Oa:Oa==null?wr:[Oa]}}),Bi=(0,u.Z)(Uo,2),Fi=Bi[0],xu=Bi[1],Yi=function(Oa){if(C){var za=Oa.key,Mo=Fi.includes(za),qa;N?Mo?qa=Fi.filter(function(si){return si!==za}):qa=[].concat((0,E.Z)(Fi),[za]):qa=[za],xu(qa);var ko=(0,a.Z)((0,a.Z)({},Oa),{},{selectedKeys:qa});Mo?ct==null||ct(ko):Ke==null||Ke(ko)}!N&&_r.length&&Nn!=="inline"&&Jn(wr)},Tu=ha(function($a){Ir==null||Ir(pr($a)),Yi($a)}),ti=ha(function($a,Oa){var za=_r.filter(function(qa){return qa!==$a});if(Oa)za.push($a);else if(Nn!=="inline"){var Mo=To($a);za=za.filter(function(qa){return!Mo.has(qa)})}Je(_r,za,!0)||Jn(za,!0)}),Qi=function(Oa,za){var Mo=za!=null?za:!_r.includes(Oa);ti(Oa,Mo)},uu=co(Nn,oo,rr,Qt,lt,no,Za,go,Qi,Xn);l.useEffect(function(){ut(!0)},[]);var Ou=l.useMemo(function(){return{_internalRenderMenuItem:va,_internalRenderSubMenuItem:ya}},[va,ya]),us=Nn!=="horizontal"||Or?wt:wt.map(function($a,Oa){return l.createElement(Yr,{key:$a.key,overflowDisabled:Oa>Ao},$a)}),yi=l.createElement(je,(0,n.Z)({id:Wr,ref:lt,prefixCls:"".concat(st,"-overflow"),component:"ul",itemComponent:cn,className:m()(st,"".concat(st,"-root"),"".concat(st,"-").concat(Nn),Bt,(rt={},(0,o.Z)(rt,"".concat(st,"-inline-collapsed"),Do),(0,o.Z)(rt,"".concat(st,"-rtl"),rr),rt),Ot),dir:mr,style:At,role:"menu",tabIndex:tr,data:us,renderRawItem:function(Oa){return Oa},renderRawRest:function(Oa){var za=Oa.length,Mo=za?wt.slice(-za):null;return l.createElement(it,{eventKey:po,title:Ar,disabled:Ko,internalPopupClose:za===0,popupClassName:nr},Mo)},maxCount:Nn!=="horizontal"||Or?je.INVALIDATE:je.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Oa){xo(Oa)},onKeyDown:uu},Sa));return l.createElement(qt.Provider,{value:Ou},l.createElement(Nt.Provider,{value:Qt},l.createElement(Yr,{prefixCls:st,rootClassName:Ot,mode:Nn,openKeys:_r,rtl:rr,disabled:Dt,motion:He?St:null,defaultMotions:He?jt:null,activeKey:oo,onActive:ui,onInactive:mi,selectedKeys:Fi,inlineIndent:Ge,subMenuOpenDelay:Vr,subMenuCloseDelay:jr,forceSubMenuRender:$r,builtinPlacements:zt,triggerSubMenuAction:$t,getPopupContainer:vr,itemIcon:Vt,expandIcon:Kr,onItemClick:Tu,onOpenChange:ti},l.createElement(Tn.Provider,{value:_a},yi),l.createElement("div",{style:{display:"none"},"aria-hidden":!0},l.createElement(aa.Provider,{value:Ho},wt)))))}),Xr=Zr,xr=Xr;xr.Item=cn,xr.SubMenu=it,xr.ItemGroup=ht,xr.Divider=xt;var Tr=xr,Hr=l.forwardRef(function(ue,xe){var Fe=ue.prefixCls,rt=ue.id,ze=ue.tabs,Ye=ue.locale,st=ue.mobile,Ot=ue.moreIcon,At=Ot===void 0?"More":Ot,Bt=ue.moreTransitionName,er=ue.style,tr=ue.className,sr=ue.editable,yr=ue.tabBarGutter,mr=ue.rtl,Wr=ue.removeAriaLabel,Gr=ue.onTabClick,un=ue.getPopupContainer,qr=ue.popupClassName,Dt=(0,l.useState)(!1),Or=(0,u.Z)(Dt,2),Dr=Or[0],Vr=Or[1],mn=(0,l.useState)(null),jr=(0,u.Z)(mn,2),$r=jr[0],Pr=jr[1],bn="".concat(rt,"-more-popup"),fn="".concat(Fe,"-dropdown"),zr=$r!==null?"".concat(bn,"-").concat($r):null,ln=Ye==null?void 0:Ye.dropdownAriaLabel;function C(at,Ge){at.preventDefault(),at.stopPropagation(),sr.onEdit("remove",{key:Ge,event:at})}var M=l.createElement(Tr,{onClick:function(Ge){var St=Ge.key,jt=Ge.domEvent;Gr(St,jt),Vr(!1)},prefixCls:"".concat(fn,"-menu"),id:bn,tabIndex:-1,role:"listbox","aria-activedescendant":zr,selectedKeys:[$r],"aria-label":ln!==void 0?ln:"expanded dropdown"},ze.map(function(at){var Ge=at.closable,St=at.disabled,jt=at.closeIcon,Ft=at.key,$t=at.label,zt=U(Ge,jt,sr,St);return l.createElement(cn,{key:Ft,id:"".concat(bn,"-").concat(Ft),role:"option","aria-controls":rt&&"".concat(rt,"-panel-").concat(Ft),disabled:St},l.createElement("span",null,$t),zt&&l.createElement("button",{type:"button","aria-label":Wr||"remove",tabIndex:0,className:"".concat(fn,"-menu-item-remove"),onClick:function(Kr){Kr.stopPropagation(),C(Kr,Ft)}},jt||sr.removeIcon||"\xD7"))}));function N(at){for(var Ge=ze.filter(function(zt){return!zt.disabled}),St=Ge.findIndex(function(zt){return zt.key===$r})||0,jt=Ge.length,Ft=0;Ftsa?"left":"right"})}),C=(0,u.Z)(ln,2),M=C[0],N=C[1],se=I(0,function(Ta,sa){!zr&&Gr&&Gr({direction:Ta>sa?"top":"bottom"})}),Ue=(0,u.Z)(se,2),Ke=Ue[0],ct=Ue[1],at=(0,l.useState)([0,0]),Ge=(0,u.Z)(at,2),St=Ge[0],jt=Ge[1],Ft=(0,l.useState)([0,0]),$t=(0,u.Z)(Ft,2),zt=$t[0],Vt=$t[1],Kr=(0,l.useState)([0,0]),Cr=(0,u.Z)(Kr,2),Ar=Cr[0],nr=Cr[1],vr=(0,l.useState)([0,0]),Ir=(0,u.Z)(vr,2),wn=Ir[0],Xn=Ir[1],In=Ae(new Map),Kn=(0,u.Z)(In,2),va=Kn[0],ya=Kn[1],Sa=P(Dr,va,zt[0]),wt=Mn(St,zr),qe=Mn(zt,zr),ft=Mn(Ar,zr),He=Mn(wn,zr),ut=wtor?or:Ta}var _r=(0,l.useRef)(null),Mr=(0,l.useState)(),Jn=(0,u.Z)(Mr,2),kn=Jn[0],ca=Jn[1];function ka(){ca(Date.now())}function Ua(){_r.current&&clearTimeout(_r.current)}G($r,function(Ta,sa){function da(Za,no){Za(function(To){var Ho=Rr(To+no);return Ho})}return ut?(zr?da(N,Ta):da(ct,sa),Ua(),ka(),!0):!1}),(0,l.useEffect)(function(){return Ua(),kn&&(_r.current=setTimeout(function(){ca(0)},100)),Ua},[kn]);var Br=me(Sa,lt,zr?M:Ke,qe,ft,He,(0,a.Z)((0,a.Z)({},ue),{},{tabs:Dr})),ir=(0,u.Z)(Br,2),Yn=ir[0],qn=ir[1],na=(0,S.Z)(function(){var Ta=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ot,sa=Sa.get(Ta)||{width:0,height:0,left:0,right:0,top:0};if(zr){var da=M;At?sa.rightM+lt&&(da=sa.right+sa.width-lt):sa.left<-M?da=-sa.left:sa.left+sa.width>-M+lt&&(da=-(sa.left+sa.width-lt)),ct(0),N(Rr(da))}else{var Za=Ke;sa.top<-Ke?Za=-sa.top:sa.top+sa.height>-Ke+lt&&(Za=-(sa.top+sa.height-lt)),N(0),ct(Rr(Za))}}),Xa={};sr==="top"||sr==="bottom"?Xa[At?"marginRight":"marginLeft"]=yr:Xa.marginTop=yr;var yo=Dr.map(function(Ta,sa){var da=Ta.key;return l.createElement(ea,{id:Ye,prefixCls:Or,key:da,tab:Ta,style:sa===0?void 0:Xa,closable:Ta.closable,editable:er,active:da===Ot,renderWrapper:mr,removeAriaLabel:tr==null?void 0:tr.removeAriaLabel,onClick:function(no){Wr(da,no)},onFocus:function(){na(da),ka(),$r.current&&(At||($r.current.scrollLeft=0),$r.current.scrollTop=0)}})}),Zn=function(){return ya(function(){var sa,da=new Map,Za=(sa=Pr.current)===null||sa===void 0?void 0:sa.getBoundingClientRect();return Dr.forEach(function(no){var To,Ho=no.key,_a=(To=Pr.current)===null||To===void 0?void 0:To.querySelector('[data-node-key="'.concat(ae(Ho),'"]'));if(_a){var Ba=gn(_a,Za),Fo=(0,u.Z)(Ba,4),oo=Fo[0],go=Fo[1],ui=Fo[2],mi=Fo[3];da.set(Ho,{width:oo,height:go,left:ui,top:mi})}}),da})};(0,l.useEffect)(function(){Zn()},[Dr.map(function(Ta){return Ta.key}).join("_")]);var Nn=pe(function(){var Ta=Cn(Vr),sa=Cn(mn),da=Cn(jr);jt([Ta[0]-sa[0]-da[0],Ta[1]-sa[1]-da[1]]);var Za=Cn(fn);nr(Za);var no=Cn(bn);Xn(no);var To=Cn(Pr);Vt([To[0]-Za[0],To[1]-Za[1]]),Zn()}),Ja=Dr.slice(0,Yn),Wa=Dr.slice(qn+1),bo=[].concat((0,E.Z)(Ja),(0,E.Z)(Wa)),Do=Sa.get(Ot),hi=_({activeTabOffset:Do,horizontal:zr,rtl:At,indicatorSize:un,indicatorAlign:qr}),Xo=hi.style;(0,l.useEffect)(function(){na()},[Ot,rr,or,Q(Do),Q(Sa),zr]),(0,l.useEffect)(function(){Nn()},[At]);var wo=!!bo.length,Ao="".concat(Or,"-nav-wrap"),xo,Ko,Bo,wi;return zr?At?(Ko=M>0,xo=M!==or):(xo=M<0,Ko=M!==rr):(Bo=Ke<0,wi=Ke!==rr),l.createElement(w.Z,{onResize:Nn},l.createElement("div",{ref:(0,x.x1)(xe,Vr),role:"tablist",className:m()("".concat(Or,"-nav"),rt),style:ze,onKeyDown:function(){ka()}},l.createElement(re,{ref:mn,position:"left",extra:Bt,prefixCls:Or}),l.createElement(w.Z,{onResize:Nn},l.createElement("div",{className:m()(Ao,(Fe={},(0,o.Z)(Fe,"".concat(Ao,"-ping-left"),xo),(0,o.Z)(Fe,"".concat(Ao,"-ping-right"),Ko),(0,o.Z)(Fe,"".concat(Ao,"-ping-top"),Bo),(0,o.Z)(Fe,"".concat(Ao,"-ping-bottom"),wi),Fe)),ref:$r},l.createElement(w.Z,{onResize:Nn},l.createElement("div",{ref:Pr,className:"".concat(Or,"-nav-list"),style:{transform:"translate(".concat(M,"px, ").concat(Ke,"px)"),transition:kn?"none":void 0}},yo,l.createElement(q,{ref:fn,prefixCls:Or,locale:tr,editable:er,style:(0,a.Z)((0,a.Z)({},yo.length===0?void 0:Xa),{},{visibility:wo?"hidden":null})}),l.createElement("div",{className:m()("".concat(Or,"-ink-bar"),(0,o.Z)({},"".concat(Or,"-ink-bar-animated"),st.inkBar)),style:Xo}))))),l.createElement(on,(0,n.Z)({},ue,{removeAriaLabel:tr==null?void 0:tr.removeAriaLabel,ref:bn,prefixCls:Or,tabs:bo,className:!wo&&Qt,tabMoving:!!kn})),l.createElement(re,{ref:jr,position:"right",extra:Bt,prefixCls:Or})))}),_n=An,ra=l.forwardRef(function(ue,xe){var Fe=ue.prefixCls,rt=ue.className,ze=ue.style,Ye=ue.id,st=ue.active,Ot=ue.tabKey,At=ue.children;return l.createElement("div",{id:Ye&&"".concat(Ye,"-panel-").concat(Ot),role:"tabpanel",tabIndex:st?0:-1,"aria-labelledby":Ye&&"".concat(Ye,"-tab-").concat(Ot),"aria-hidden":!st,style:ze,className:m()(Fe,st&&"".concat(Fe,"-active"),rt),ref:xe},At)}),Pn=ra,Vn=["renderTabBar"],ia=["label","key"],Ea=function(xe){var Fe=xe.renderTabBar,rt=(0,f.Z)(xe,Vn),ze=l.useContext(g),Ye=ze.tabs;if(Fe){var st=(0,a.Z)((0,a.Z)({},rt),{},{panes:Ye.map(function(Ot){var At=Ot.label,Bt=Ot.key,er=(0,f.Z)(Ot,ia);return l.createElement(Pn,(0,n.Z)({tab:At,key:Bt,tabKey:Bt},er))})});return Fe(st,_n)}return l.createElement(_n,rt)},ma=Ea,Ia=["key","forceRender","style","className","destroyInactiveTabPane"],ro=function(xe){var Fe=xe.id,rt=xe.activeKey,ze=xe.animated,Ye=xe.tabPosition,st=xe.destroyInactiveTabPane,Ot=l.useContext(g),At=Ot.prefixCls,Bt=Ot.tabs,er=ze.tabPane,tr="".concat(At,"-tabpane");return l.createElement("div",{className:m()("".concat(At,"-content-holder"))},l.createElement("div",{className:m()("".concat(At,"-content"),"".concat(At,"-content-").concat(Ye),(0,o.Z)({},"".concat(At,"-content-animated"),er))},Bt.map(function(sr){var yr=sr.key,mr=sr.forceRender,Wr=sr.style,Gr=sr.className,un=sr.destroyInactiveTabPane,qr=(0,f.Z)(sr,Ia),Dt=yr===rt;return l.createElement(mt.ZP,(0,n.Z)({key:yr,visible:Dt,forceRender:mr,removeOnLeave:!!(st||un),leavedClassName:"".concat(tr,"-hidden")},ze.tabPaneMotion),function(Or,Dr){var Vr=Or.style,mn=Or.className;return l.createElement(Pn,(0,n.Z)({},qr,{prefixCls:tr,id:Fe,tabKey:yr,animated:er,active:Dt,style:(0,a.Z)((0,a.Z)({},Wr),Vr),className:m()(Gr,mn),ref:Dr}))})})))},lr=ro;function Jr(){var ue=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},xe;return ue===!1?xe={inkBar:!1,tabPane:!1}:ue===!0?xe={inkBar:!0,tabPane:!1}:xe=(0,a.Z)({inkBar:!0},(0,c.Z)(ue)==="object"?ue:{}),xe.tabPaneMotion&&xe.tabPane===void 0&&(xe.tabPane=!0),!xe.tabPaneMotion&&xe.tabPane&&(xe.tabPane=!1),xe}var Rn=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicatorSize","indicatorAlign"],En=0,rn=l.forwardRef(function(ue,xe){var Fe,rt=ue.id,ze=ue.prefixCls,Ye=ze===void 0?"rc-tabs":ze,st=ue.className,Ot=ue.items,At=ue.direction,Bt=ue.activeKey,er=ue.defaultActiveKey,tr=ue.editable,sr=ue.animated,yr=ue.tabPosition,mr=yr===void 0?"top":yr,Wr=ue.tabBarGutter,Gr=ue.tabBarStyle,un=ue.tabBarExtraContent,qr=ue.locale,Dt=ue.moreIcon,Or=ue.moreTransitionName,Dr=ue.destroyInactiveTabPane,Vr=ue.renderTabBar,mn=ue.onChange,jr=ue.onTabClick,$r=ue.onTabScroll,Pr=ue.getPopupContainer,bn=ue.popupClassName,fn=ue.indicatorSize,zr=ue.indicatorAlign,ln=zr===void 0?"center":zr,C=(0,f.Z)(ue,Rn),M=l.useMemo(function(){return(Ot||[]).filter(function(In){return In&&(0,c.Z)(In)==="object"&&"key"in In})},[Ot]),N=At==="rtl",se=Jr(sr),Ue=(0,l.useState)(!1),Ke=(0,u.Z)(Ue,2),ct=Ke[0],at=Ke[1];(0,l.useEffect)(function(){at((0,v.Z)())},[]);var Ge=(0,y.Z)(function(){var In;return(In=M[0])===null||In===void 0?void 0:In.key},{value:Bt,defaultValue:er}),St=(0,u.Z)(Ge,2),jt=St[0],Ft=St[1],$t=(0,l.useState)(function(){return M.findIndex(function(In){return In.key===jt})}),zt=(0,u.Z)($t,2),Vt=zt[0],Kr=zt[1];(0,l.useEffect)(function(){var In=M.findIndex(function(va){return va.key===jt});if(In===-1){var Kn;In=Math.max(0,Math.min(Vt,M.length-1)),Ft((Kn=M[In])===null||Kn===void 0?void 0:Kn.key)}Kr(In)},[M.map(function(In){return In.key}).join("_"),jt,Vt]);var Cr=(0,y.Z)(null,{value:rt}),Ar=(0,u.Z)(Cr,2),nr=Ar[0],vr=Ar[1];(0,l.useEffect)(function(){rt||(vr("rc-tabs-".concat(En)),En+=1)},[]);function Ir(In,Kn){jr==null||jr(In,Kn);var va=In!==jt;Ft(In),va&&(mn==null||mn(In))}var wn={id:nr,activeKey:jt,animated:se,tabPosition:mr,rtl:N,mobile:ct},Xn=(0,a.Z)((0,a.Z)({},wn),{},{editable:tr,locale:qr,moreIcon:Dt,moreTransitionName:Or,tabBarGutter:Wr,onTabClick:Ir,onTabScroll:$r,extra:un,style:Gr,panes:null,getPopupContainer:Pr,popupClassName:bn,indicatorSize:fn,indicatorAlign:ln});return l.createElement(g.Provider,{value:{tabs:M,prefixCls:Ye}},l.createElement("div",(0,n.Z)({ref:xe,id:rt,className:m()(Ye,"".concat(Ye,"-").concat(mr),(Fe={},(0,o.Z)(Fe,"".concat(Ye,"-mobile"),ct),(0,o.Z)(Fe,"".concat(Ye,"-editable"),tr),(0,o.Z)(Fe,"".concat(Ye,"-rtl"),N),Fe),st)},C),l.createElement(ma,(0,n.Z)({},Xn,{renderTabBar:Vr})),l.createElement(lr,(0,n.Z)({destroyInactiveTabPane:Dr},wn,{animated:se}))))}),La=rn,Da=La;function Ya(){return Ya=Object.assign?Object.assign.bind():function(ue){for(var xe=1;xe=0&&(j.hash=O.substr(_),O=O.substr(0,_));var K=O.indexOf("?");K>=0&&(j.search=O.substr(K),O=O.substr(0,K)),O&&(j.pathname=O)}return j}},94266:function(d,p,e){"use strict";var n=e(99234),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},u={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},c={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},f={};f[n.ForwardRef]=u,f[n.Memo]=c;function s(S){return n.isMemo(S)?c:f[S.$$typeof]||o}var m=Object.defineProperty,y=Object.getOwnPropertyNames,v=Object.getOwnPropertySymbols,l=Object.getOwnPropertyDescriptor,g=Object.getPrototypeOf,E=Object.prototype;function w(S,x,O){if(typeof x!="string"){if(E){var j=g(x);j&&j!==E&&w(S,j,O)}var _=y(x);v&&(_=_.concat(v(x)));for(var K=s(S),P=s(x),I=0;I<_.length;++I){var L=_[I];if(!a[L]&&!(O&&O[L])&&!(P&&P[L])&&!(K&&K[L])){var H=l(x,L);try{m(S,L,H)}catch(V){}}}}return S}d.exports=w},65925:function(d,p,e){"use strict";e.d(p,{C:function(){return y}});var n=e(24092),o=e(34669),a=e(27017),u=e(16314);function c(v,l){return l?(0,n.pi)((0,n.pi)((0,n.pi)({},v||{}),l||{}),Object.keys(v).reduce(function(g,E){return g[E]=(0,n.pi)((0,n.pi)({},v[E]),l[E]||{}),g},{})):v}function f(v,l){return l?Object.keys(v).reduce(function(g,E){return g[E]=c(v[E],l[E]),g},(0,n.pi)({},v)):v}function s(v){return{create:function(){return{get:function(l){return v[l]},set:function(l,g){v[l]=g}}}}}function m(v){return v===void 0&&(v={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:(0,a.H)(function(){for(var l,g=[],E=0;E0?new Intl.Locale(g[0]):new Intl.Locale(typeof l=="string"?l:l[0])}},v.__parse=o.Qc,v.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},v}()},63703:function(d,p,e){"use strict";e.d(p,{C8:function(){return u},HR:function(){return f},YR:function(){return c},jK:function(){return o},u_:function(){return a}});var n=e(24092),o;(function(s){s.MISSING_VALUE="MISSING_VALUE",s.INVALID_VALUE="INVALID_VALUE",s.MISSING_INTL_API="MISSING_INTL_API"})(o||(o={}));var a=function(s){(0,n.ZT)(m,s);function m(y,v,l){var g=s.call(this,y)||this;return g.code=v,g.originalMessage=l,g}return m.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},m}(Error),u=function(s){(0,n.ZT)(m,s);function m(y,v,l,g){return s.call(this,'Invalid values for "'.concat(y,'": "').concat(v,'". Options are "').concat(Object.keys(l).join('", "'),'"'),o.INVALID_VALUE,g)||this}return m}(a),c=function(s){(0,n.ZT)(m,s);function m(y,v,l){return s.call(this,'Value for "'.concat(y,'" must be of type ').concat(v),o.INVALID_VALUE,l)||this}return m}(a),f=function(s){(0,n.ZT)(m,s);function m(y,v){return s.call(this,'The intl string context variable "'.concat(y,'" was not provided to the string "').concat(v,'"'),o.MISSING_VALUE,v)||this}return m}(a)},16314:function(d,p,e){"use strict";e.d(p,{FK:function(){return f},Gt:function(){return c},du:function(){return a}});var n=e(34669),o=e(63703),a;(function(s){s[s.literal=0]="literal",s[s.object=1]="object"})(a||(a={}));function u(s){return s.length<2?s:s.reduce(function(m,y){var v=m[m.length-1];return!v||v.type!==a.literal||y.type!==a.literal?m.push(y):v.value+=y.value,m},[])}function c(s){return typeof s=="function"}function f(s,m,y,v,l,g,E){if(s.length===1&&(0,n.O4)(s[0]))return[{type:a.literal,value:s[0].value}];for(var w=[],S=0,x=s;Sie.length)&&(Se=ie.length);for(var ke=0,F=new Array(Se);ke1&&arguments[1]!==void 0?arguments[1]:"",ke=[];return[].concat(ie).forEach(function(F,$e){var dt="".concat(Se?"".concat(Se,"-"):"").concat($e);switch(F==null?void 0:F.type){case"ul":{var mt,de=((mt=ke[ke.length-1])===null||mt===void 0?void 0:mt.children)||ke,we=Qr(F.props.children||[],dt);de.push.apply(de,Zt(we));break}case"li":{var Ce,Qe,it=(Ce=F.props.children)===null||Ce===void 0||(Qe=Ce.some)===null||Qe===void 0?void 0:Qe.call(Ce,function(bt){var ht;return bt.type==="ul"&&!((ht=bt.props.children)!==null&&ht!==void 0&&ht.length)}),Et=[].concat(F.props.children).filter(function(bt){return bt.type!=="ul"}),pt=it?[]:Qr(F.props.children,dt);ke.push({title:Et,key:dt,children:pt,isLeaf:!it&&!pt.length,switcherIcon:it?React.createElement("span",{className:"tree-switcher-leaf-line"}):void 0});break}default:}}),ke}var Sn=function(Se){var ke=useState(Qr(Se)),F=Va(ke,2),$e=F[0],dt=F[1];return useEffect(function(){dt(Qr(Se))},[Se]),$e},cn=function(Se){var ke,F=Se.isLeaf,$e=Se.expanded,dt=Se.data;return F?React.createElement("span",{className:"dumi-default-tree-icon"},React.createElement(FileOutlined,{fill:"currentColor"})):!$e||!(dt!=null&&(ke=dt.children)!==null&&ke!==void 0&&ke.length)?React.createElement("span",{className:"dumi-default-tree-icon"},React.createElement(FolderOutlined,{fill:"currentColor"})):React.createElement("span",{className:"dumi-default-tree-icon"},React.createElement(FolderOpenOutlined,{fill:"currentColor"}))},Un=function(Se){var ke=Se.isLeaf,F=Se.expanded;return ke?React.createElement("span",{className:"tree-switcher-leaf-line"}):F?React.createElement("span",{className:"tree-switcher-line-icon"},React.createElement("span",{className:"dumi-default-tree-icon"},React.createElement(MinusSquareOutlined,{fill:"currentColor"}))):React.createElement("span",{className:"tree-switcher-line-icon"},React.createElement("span",{className:"dumi-default-tree-icon"},React.createElement(PlusSquareOutlined,{fill:"currentColor"})))},tn=function(){return{height:0,opacity:0}},Dn=function(Se){var ke=Se.scrollHeight;return{height:ke,opacity:1}},oa=function(Se){return{height:Se?Se.offsetHeight:0}},Gn=function(Se,ke){return(ke==null?void 0:ke.deadline)===!0||ke.propertyName==="height"},ua={motionName:"ant-motion-collapse",onAppearStart:tn,onEnterStart:tn,onAppearActive:Dn,onEnterActive:Dn,onLeaveStart:oa,onLeaveActive:tn,onAppearEnd:Gn,onEnterEnd:Gn,onLeaveEnd:Gn,motionDeadline:500},dn=function(ie){var Se=Sn(ie.children),ke=createRef(),F=function(dt,mt){var de,we=mt.isLeaf,Ce=!we&&!((de=mt.children)!==null&&de!==void 0&&de.length);we||Ce||dt.shiftKey||dt.metaKey||dt.ctrlKey||ke.current.onNodeExpand(dt,mt)};return React.createElement(Tree,{className:"dumi-default-tree",icon:cn,ref:ke,itemHeight:20,showLine:!0,selectable:!1,virtual:!1,motion:zn(zn({},ua),{},{motionAppear:!1}),onClick:F,treeData:[{key:"0",title:ie.title||"",children:Se}],defaultExpandAll:!0,switcherIcon:Un})}},35400:function(d,p,e){"use strict";e.d(p,{Z:function(){return Lo}});var n=e(15250),o=e(97326),a=e(71930),u=e(2289),c=e(75253),f=e(61191),s=e(92310),m=e.n(s),y=e(71366),v=e(70041),l=e(21739),g=(0,l.createContext)(null),E=e(73730),w=e(10933),S=e(30609),x=e(25629),O=e(71783),j=function(xe){var Fe=xe.activeTabOffset,rt=xe.horizontal,ze=xe.rtl,Ye=xe.indicatorSize,st=xe.indicatorAlign,Ot=(0,l.useState)(),At=(0,u.Z)(Ot,2),Bt=At[0],er=At[1],tr=(0,l.useRef)(),sr=l.useCallback(function(mr){return typeof Ye=="function"?Ye(mr):typeof Ye=="number"?Ye:mr},[Ye]);function yr(){O.Z.cancel(tr.current)}return(0,l.useEffect)(function(){var mr={};if(Fe)if(rt){mr.width=sr(Fe.width);var Wr=ze?"right":"left";st==="start"&&(mr[Wr]=Fe[Wr]),st==="center"&&(mr[Wr]=Fe[Wr]+Fe.width/2,mr.transform=ze?"translateX(50%)":"translateX(-50%)"),st==="end"&&(mr[Wr]=Fe[Wr]+Fe.width,mr.transform="translateX(-100%)")}else mr.height=sr(Fe.height),st==="start"&&(mr.top=Fe.top),st==="center"&&(mr.top=Fe.top+Fe.height/2,mr.transform="translateY(-50%)"),st==="end"&&(mr.top=Fe.top+Fe.height,mr.transform="translateY(-100%)");return yr(),tr.current=(0,O.Z)(function(){er(mr)}),yr},[Fe,rt,ze,Ye,st,sr]),{style:Bt}},_=j,K={width:0,height:0,left:0,top:0};function P(ue,xe,Fe){return(0,l.useMemo)(function(){for(var rt,ze=new Map,Ye=xe.get((rt=ue[0])===null||rt===void 0?void 0:rt.key)||K,st=Ye.left+Ye.width,Ot=0;Otln?(fn=Pr,Vr.current="x"):(fn=bn,Vr.current="y"),xe(-fn,-fn)&&$r.preventDefault()}var jr=(0,l.useRef)(null);jr.current={onTouchStart:Dt,onTouchMove:Or,onTouchEnd:Dr,onWheel:mn},l.useEffect(function(){function $r(zr){jr.current.onTouchStart(zr)}function Pr(zr){jr.current.onTouchMove(zr)}function bn(zr){jr.current.onTouchEnd(zr)}function fn(zr){jr.current.onWheel(zr)}return document.addEventListener("touchmove",Pr,{passive:!1}),document.addEventListener("touchend",bn,{passive:!1}),ue.current.addEventListener("touchstart",$r,{passive:!1}),ue.current.addEventListener("wheel",fn),function(){document.removeEventListener("touchmove",Pr),document.removeEventListener("touchend",bn)}},[])}var ce=e(19171);function pe(ue){var xe=(0,l.useState)(0),Fe=(0,u.Z)(xe,2),rt=Fe[0],ze=Fe[1],Ye=(0,l.useRef)(0),st=(0,l.useRef)();return st.current=ue,(0,ce.o)(function(){var Ot;(Ot=st.current)===null||Ot===void 0||Ot.call(st)},[rt]),function(){Ye.current===rt&&(Ye.current+=1,ze(Ye.current))}}function Ae(ue){var xe=(0,l.useRef)([]),Fe=(0,l.useState)({}),rt=(0,u.Z)(Fe,2),ze=rt[1],Ye=(0,l.useRef)(typeof ue=="function"?ue():ue),st=pe(function(){var At=Ye.current;xe.current.forEach(function(Bt){At=Bt(At)}),xe.current=[],Ye.current=At,ze({})});function Ot(At){xe.current.push(At),st()}return[Ye.current,Ot]}var Ne={width:0,height:0,left:0,top:0,right:0};function me(ue,xe,Fe,rt,ze,Ye,st){var Ot=st.tabs,At=st.tabPosition,Bt=st.rtl,er,tr,sr;return["top","bottom"].includes(At)?(er="width",tr=Bt?"right":"left",sr=Math.abs(Fe)):(er="height",tr="top",sr=-Fe),(0,l.useMemo)(function(){if(!Ot.length)return[0,0];for(var yr=Ot.length,mr=yr,Wr=0;Wrsr+xe){mr=Wr-1;break}}for(var un=0,qr=yr-1;qr>=0;qr-=1){var Dt=ue.get(Ot[qr].key)||Ne;if(Dt[tr]=mr?[0,0]:[un,mr]},[ue,xe,rt,ze,Ye,sr,At,Ot.map(function(yr){return yr.key}).join("_"),Bt])}function Q(ue){var xe;return ue instanceof Map?(xe={},ue.forEach(function(Fe,rt){xe[rt]=Fe})):xe=ue,JSON.stringify(xe)}var ne="TABS_DQ";function ae(ue){return String(ue).replace(/"/g,ne)}function U(ue,xe,Fe,rt){return!(!Fe||rt||ue===!1||ue===void 0&&(xe===!1||xe===null))}var R=l.forwardRef(function(ue,xe){var Fe=ue.prefixCls,rt=ue.editable,ze=ue.locale,Ye=ue.style;return!rt||rt.showAdd===!1?null:l.createElement("button",{ref:xe,type:"button",className:"".concat(Fe,"-nav-add"),style:Ye,"aria-label":(ze==null?void 0:ze.addAriaLabel)||"Add tab",onClick:function(Ot){rt.onEdit("add",{event:Ot})}},rt.addIcon||"+")}),q=R,le=l.forwardRef(function(ue,xe){var Fe=ue.position,rt=ue.prefixCls,ze=ue.extra;if(!ze)return null;var Ye,st={};return(0,c.Z)(ze)==="object"&&!l.isValidElement(ze)?st=ze:st.right=ze,Fe==="right"&&(Ye=st.right),Fe==="left"&&(Ye=st.left),Ye?l.createElement("div",{className:"".concat(rt,"-extra-content"),ref:xe},Ye):null}),re=le,A=e(35593),W=e(20287),k=W.Z.ESC,Z=W.Z.TAB;function z(ue){var xe=ue.visible,Fe=ue.triggerRef,rt=ue.onVisibleChange,ze=ue.autoFocus,Ye=ue.overlayRef,st=l.useRef(!1),Ot=function(){if(xe){var tr,sr;(tr=Fe.current)===null||tr===void 0||(sr=tr.focus)===null||sr===void 0||sr.call(tr),rt==null||rt(!1)}},At=function(){var tr;return(tr=Ye.current)!==null&&tr!==void 0&&tr.focus?(Ye.current.focus(),st.current=!0,!0):!1},Bt=function(tr){switch(tr.keyCode){case k:Ot();break;case Z:{var sr=!1;st.current||(sr=At()),sr?tr.preventDefault():Ot();break}}};l.useEffect(function(){return xe?(window.addEventListener("keydown",Bt),ze&&(0,O.Z)(At,3),function(){window.removeEventListener("keydown",Bt),st.current=!1}):function(){st.current=!1}},[xe])}var Ee=(0,l.forwardRef)(function(ue,xe){var Fe=ue.overlay,rt=ue.arrow,ze=ue.prefixCls,Ye=(0,l.useMemo)(function(){var Ot;return typeof Fe=="function"?Ot=Fe():Ot=Fe,Ot},[Fe]),st=(0,x.sQ)(xe,Ye==null?void 0:Ye.ref);return l.createElement(l.Fragment,null,rt&&l.createElement("div",{className:"".concat(ze,"-arrow")}),l.cloneElement(Ye,{ref:(0,x.Yr)(Ye)?st:void 0}))}),Me=Ee,et={adjustX:1,adjustY:1},Ve=[0,0],tt={topLeft:{points:["bl","tl"],overflow:et,offset:[0,-4],targetOffset:Ve},top:{points:["bc","tc"],overflow:et,offset:[0,-4],targetOffset:Ve},topRight:{points:["br","tr"],overflow:et,offset:[0,-4],targetOffset:Ve},bottomLeft:{points:["tl","bl"],overflow:et,offset:[0,4],targetOffset:Ve},bottom:{points:["tc","bc"],overflow:et,offset:[0,4],targetOffset:Ve},bottomRight:{points:["tr","br"],overflow:et,offset:[0,4],targetOffset:Ve}},gt=tt,ee=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function $(ue,xe){var Fe,rt=ue.arrow,ze=rt===void 0?!1:rt,Ye=ue.prefixCls,st=Ye===void 0?"rc-dropdown":Ye,Ot=ue.transitionName,At=ue.animation,Bt=ue.align,er=ue.placement,tr=er===void 0?"bottomLeft":er,sr=ue.placements,yr=sr===void 0?gt:sr,mr=ue.getPopupContainer,Wr=ue.showAction,Gr=ue.hideAction,un=ue.overlayClassName,qr=ue.overlayStyle,Dt=ue.visible,Or=ue.trigger,Dr=Or===void 0?["hover"]:Or,Vr=ue.autoFocus,mn=ue.overlay,jr=ue.children,$r=ue.onVisibleChange,Pr=(0,f.Z)(ue,ee),bn=l.useState(),fn=(0,u.Z)(bn,2),zr=fn[0],ln=fn[1],C="visible"in ue?Dt:zr,M=l.useRef(null),N=l.useRef(null),se=l.useRef(null);l.useImperativeHandle(xe,function(){return M.current});var Ue=function(zt){ln(zt),$r==null||$r(zt)};z({visible:C,triggerRef:se,onVisibleChange:Ue,autoFocus:Vr,overlayRef:N});var Ke=function(zt){var Vt=ue.onOverlayClick;ln(!1),Vt&&Vt(zt)},ct=function(){return l.createElement(Me,{ref:N,overlay:mn,prefixCls:st,arrow:ze})},at=function(){return typeof mn=="function"?ct:ct()},Ge=function(){var zt=ue.minOverlayWidthMatchTrigger,Vt=ue.alignPoint;return"minOverlayWidthMatchTrigger"in ue?zt:!Vt},St=function(){var zt=ue.openClassName;return zt!==void 0?zt:"".concat(st,"-open")},jt=l.cloneElement(jr,{className:m()((Fe=jr.props)===null||Fe===void 0?void 0:Fe.className,C&&St()),ref:(0,x.Yr)(jr)?(0,x.sQ)(se,jr.ref):void 0}),Ft=Gr;return!Ft&&Dr.indexOf("contextMenu")!==-1&&(Ft=["click"]),l.createElement(A.default,(0,n.Z)({builtinPlacements:yr},Pr,{prefixCls:st,ref:M,popupClassName:m()(un,(0,o.Z)({},"".concat(st,"-show-arrow"),ze)),popupStyle:qr,action:Dr,showAction:Wr,hideAction:Ft,popupPlacement:tr,popupAlign:Bt,popupTransitionName:Ot,popupAnimation:At,popupVisible:C,stretch:Ge()?"minWidth":"",popup:at(),onPopupVisibleChange:Ue,onPopupClick:Ke,getPopupContainer:mr}),jt)}var X=l.forwardRef($),Y=X,ye=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],J=void 0;function ve(ue,xe){var Fe=ue.prefixCls,rt=ue.invalidate,ze=ue.item,Ye=ue.renderItem,st=ue.responsive,Ot=ue.responsiveDisabled,At=ue.registerSize,Bt=ue.itemKey,er=ue.className,tr=ue.style,sr=ue.children,yr=ue.display,mr=ue.order,Wr=ue.component,Gr=Wr===void 0?"div":Wr,un=(0,f.Z)(ue,ye),qr=st&&!yr;function Dt(jr){At(Bt,jr)}l.useEffect(function(){return function(){Dt(null)}},[]);var Or=Ye&&ze!==J?Ye(ze):sr,Dr;rt||(Dr={opacity:qr?0:1,height:qr?0:J,overflowY:qr?"hidden":J,order:st?mr:J,pointerEvents:qr?"none":J,position:qr?"absolute":J});var Vr={};qr&&(Vr["aria-hidden"]=!0);var mn=l.createElement(Gr,(0,n.Z)({className:m()(!rt&&Fe,er),style:(0,a.Z)((0,a.Z)({},Dr),tr)},Vr,un,{ref:xe}),Or);return st&&(mn=l.createElement(w.Z,{onResize:function($r){var Pr=$r.offsetWidth;Dt(Pr)},disabled:Ot},mn)),mn}var ge=l.forwardRef(ve);ge.displayName="Item";var fe=ge,Te=e(67820);function We(ue){if(typeof MessageChannel=="undefined")(0,O.Z)(ue);else{var xe=new MessageChannel;xe.port1.onmessage=function(){return ue()},xe.port2.postMessage(void 0)}}function nt(){var ue=l.useRef(null),xe=function(rt){ue.current||(ue.current=[],We(function(){(0,Te.unstable_batchedUpdates)(function(){ue.current.forEach(function(ze){ze()}),ue.current=null})})),ue.current.push(rt)};return xe}function Xe(ue,xe){var Fe=l.useState(xe),rt=(0,u.Z)(Fe,2),ze=rt[0],Ye=rt[1],st=(0,S.Z)(function(Ot){ue(function(){Ye(Ot)})});return[ze,st]}var Ut=l.createContext(null),Pe=["component"],he=["className"],Le=["className"],b=function(xe,Fe){var rt=l.useContext(Ut);if(!rt){var ze=xe.component,Ye=ze===void 0?"div":ze,st=(0,f.Z)(xe,Pe);return l.createElement(Ye,(0,n.Z)({},st,{ref:Fe}))}var Ot=rt.className,At=(0,f.Z)(rt,he),Bt=xe.className,er=(0,f.Z)(xe,Le);return l.createElement(Ut.Provider,{value:null},l.createElement(fe,(0,n.Z)({ref:Fe,className:m()(Ot,Bt)},At,er)))},te=l.forwardRef(b);te.displayName="RawItem";var Re=te,be=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],Ze="responsive",Mt="invalidate";function _t(ue){return"+ ".concat(ue.length," ...")}function Yt(ue,xe){var Fe=ue.prefixCls,rt=Fe===void 0?"rc-overflow":Fe,ze=ue.data,Ye=ze===void 0?[]:ze,st=ue.renderItem,Ot=ue.renderRawItem,At=ue.itemKey,Bt=ue.itemWidth,er=Bt===void 0?10:Bt,tr=ue.ssr,sr=ue.style,yr=ue.className,mr=ue.maxCount,Wr=ue.renderRest,Gr=ue.renderRawRest,un=ue.suffix,qr=ue.component,Dt=qr===void 0?"div":qr,Or=ue.itemComponent,Dr=ue.onVisibleChange,Vr=(0,f.Z)(ue,be),mn=tr==="full",jr=nt(),$r=Xe(jr,null),Pr=(0,u.Z)($r,2),bn=Pr[0],fn=Pr[1],zr=bn||0,ln=Xe(jr,new Map),C=(0,u.Z)(ln,2),M=C[0],N=C[1],se=Xe(jr,0),Ue=(0,u.Z)(se,2),Ke=Ue[0],ct=Ue[1],at=Xe(jr,0),Ge=(0,u.Z)(at,2),St=Ge[0],jt=Ge[1],Ft=Xe(jr,0),$t=(0,u.Z)(Ft,2),zt=$t[0],Vt=$t[1],Kr=(0,l.useState)(null),Cr=(0,u.Z)(Kr,2),Ar=Cr[0],nr=Cr[1],vr=(0,l.useState)(null),Ir=(0,u.Z)(vr,2),wn=Ir[0],Xn=Ir[1],In=l.useMemo(function(){return wn===null&&mn?Number.MAX_SAFE_INTEGER:wn||0},[wn,bn]),Kn=(0,l.useState)(!1),va=(0,u.Z)(Kn,2),ya=va[0],Sa=va[1],wt="".concat(rt,"-item"),qe=Math.max(Ke,St),ft=mr===Ze,He=Ye.length&&ft,ut=mr===Mt,lt=He||typeof mr=="number"&&Ye.length>mr,Qt=(0,l.useMemo)(function(){var Zn=Ye;return He?bn===null&&mn?Zn=Ye:Zn=Ye.slice(0,Math.min(Ye.length,zr/er)):typeof mr=="number"&&(Zn=Ye.slice(0,mr)),Zn},[Ye,er,bn,mr,He]),rr=(0,l.useMemo)(function(){return He?Ye.slice(In+1):Ye.slice(Qt.length)},[Ye,Qt,He,In]),or=(0,l.useCallback)(function(Zn,Nn){var Ja;return typeof At=="function"?At(Zn):(Ja=At&&(Zn==null?void 0:Zn[At]))!==null&&Ja!==void 0?Ja:Nn},[At]),Rr=(0,l.useCallback)(st||function(Zn){return Zn},[st]);function _r(Zn,Nn,Ja){wn===Zn&&(Nn===void 0||Nn===Ar)||(Xn(Zn),Ja||(Sa(Znzr){_r(Wa-1,Zn-bo-zt+St);break}}un&&ka(0)+zt>zr&&nr(null)}},[zr,M,St,zt,or,Qt]);var Ua=ya&&!!rr.length,Br={};Ar!==null&&He&&(Br={position:"absolute",left:Ar,top:0});var ir={prefixCls:wt,responsive:He,component:Or,invalidate:ut},Yn=Ot?function(Zn,Nn){var Ja=or(Zn,Nn);return l.createElement(Ut.Provider,{key:Ja,value:(0,a.Z)((0,a.Z)({},ir),{},{order:Nn,item:Zn,itemKey:Ja,registerSize:Jn,display:Nn<=In})},Ot(Zn,Nn))}:function(Zn,Nn){var Ja=or(Zn,Nn);return l.createElement(fe,(0,n.Z)({},ir,{order:Nn,key:Ja,item:Zn,renderItem:Rr,itemKey:Ja,registerSize:Jn,display:Nn<=In}))},qn,na={order:Ua?In:Number.MAX_SAFE_INTEGER,className:"".concat(wt,"-rest"),registerSize:kn,display:Ua};if(Gr)Gr&&(qn=l.createElement(Ut.Provider,{value:(0,a.Z)((0,a.Z)({},ir),na)},Gr(rr)));else{var Xa=Wr||_t;qn=l.createElement(fe,(0,n.Z)({},ir,na),typeof Xa=="function"?Xa(rr):Xa)}var yo=l.createElement(Dt,(0,n.Z)({className:m()(!ut&&rt,yr),style:sr,ref:xe},Vr),Qt.map(Yn),lt?qn:null,un&&l.createElement(fe,(0,n.Z)({},ir,{responsive:ft,responsiveDisabled:!He,order:In,className:"".concat(wt,"-suffix"),registerSize:ca,display:!0,style:Br}),un));return ft&&(yo=l.createElement(w.Z,{onResize:Mr,disabled:!He},yo)),yo}var Rt=l.forwardRef(Yt);Rt.displayName="Overflow",Rt.Item=Re,Rt.RESPONSIVE=Ze,Rt.INVALIDATE=Mt;var Tt=Rt,je=Tt,yt=e(85870);function Be(ue,xe){var Fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,rt=new Set;function ze(Ye,st){var Ot=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,At=rt.has(Ye);if((0,yt.ZP)(!At,"Warning: There may be circular references"),At)return!1;if(Ye===st)return!0;if(Fe&&Ot>1)return!1;rt.add(Ye);var Bt=Ot+1;if(Array.isArray(Ye)){if(!Array.isArray(st)||Ye.length!==st.length)return!1;for(var er=0;er1&&arguments[1]!==void 0?arguments[1]:!1;if((0,Kt.Z)(ue)){var Fe=ue.nodeName.toLowerCase(),rt=["input","select","textarea","button"].includes(Fe)||ue.isContentEditable||Fe==="a"&&!!ue.getAttribute("href"),ze=ue.getAttribute("tabindex"),Ye=Number(ze),st=null;return ze&&!Number.isNaN(Ye)?st=Ye:rt&&st===null&&(st=0),rt&&ue.disabled&&(st=null),st!==null&&(st>=0||xe&&st<0)}return!1}function Nr(ue){var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Fe=(0,E.Z)(ue.querySelectorAll("*")).filter(function(rt){return Jt(rt,xe)});return Jt(ue,xe)&&Fe.unshift(ue),Fe}var sn=null;function Lr(){sn=document.activeElement}function jn(){sn=null}function Wn(){if(sn)try{sn.focus()}catch(ue){}}function On(ue,xe){if(xe.keyCode===9){var Fe=Nr(ue),rt=Fe[xe.shiftKey?0:Fe.length-1],ze=rt===document.activeElement||ue===document.activeElement;if(ze){var Ye=Fe[xe.shiftKey?Fe.length-1:0];Ye.focus(),xe.preventDefault()}}}var $n=W.Z.LEFT,Fr=W.Z.RIGHT,pa=W.Z.UP,fa=W.Z.DOWN,Ra=W.Z.ENTER,ja=W.Z.ESC,eo=W.Z.HOME,ba=W.Z.END,Ca=[pa,fa,$n,Fr];function Fa(ue,xe,Fe,rt){var ze,Ye,st,Ot,At="prev",Bt="next",er="children",tr="parent";if(ue==="inline"&&rt===Ra)return{inlineTrigger:!0};var sr=(ze={},(0,o.Z)(ze,pa,At),(0,o.Z)(ze,fa,Bt),ze),yr=(Ye={},(0,o.Z)(Ye,$n,Fe?Bt:At),(0,o.Z)(Ye,Fr,Fe?At:Bt),(0,o.Z)(Ye,fa,er),(0,o.Z)(Ye,Ra,er),Ye),mr=(st={},(0,o.Z)(st,pa,At),(0,o.Z)(st,fa,Bt),(0,o.Z)(st,Ra,er),(0,o.Z)(st,ja,tr),(0,o.Z)(st,$n,Fe?er:tr),(0,o.Z)(st,Fr,Fe?tr:er),st),Wr={inline:sr,horizontal:yr,vertical:mr,inlineSub:sr,horizontalSub:mr,verticalSub:mr},Gr=(Ot=Wr["".concat(ue).concat(xe?"":"Sub")])===null||Ot===void 0?void 0:Ot[rt];switch(Gr){case At:return{offset:-1,sibling:!0};case Bt:return{offset:1,sibling:!0};case tr:return{offset:-1,sibling:!1};case er:return{offset:1,sibling:!1};default:return null}}function vo(ue){for(var xe=ue;xe;){if(xe.getAttribute("data-menu-list"))return xe;xe=xe.parentElement}return null}function wa(ue,xe){for(var Fe=ue||document.activeElement;Fe;){if(xe.has(Fe))return Fe;Fe=Fe.parentElement}return null}function Ma(ue,xe){var Fe=Nr(ue,!0);return Fe.filter(function(rt){return xe.has(rt)})}function Ka(ue,xe,Fe){var rt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!ue)return null;var ze=Ma(ue,xe),Ye=ze.length,st=ze.findIndex(function(Ot){return Fe===Ot});return rt<0?st===-1?st=Ye-1:st-=1:rt>0&&(st+=1),st=(st+Ye)%Ye,ze[st]}var mo=function(xe,Fe){var rt=new Set,ze=new Map,Ye=new Map;return xe.forEach(function(st){var Ot=document.querySelector("[data-menu-id='".concat(Lt(Fe,st),"']"));Ot&&(rt.add(Ot),Ye.set(Ot,st),ze.set(st,Ot))}),{elements:rt,key2element:ze,element2key:Ye}};function co(ue,xe,Fe,rt,ze,Ye,st,Ot,At,Bt){var er=l.useRef(),tr=l.useRef();tr.current=xe;var sr=function(){O.Z.cancel(er.current)};return l.useEffect(function(){return function(){sr()}},[]),function(yr){var mr=yr.which;if([].concat(Ca,[Ra,ja,eo,ba]).includes(mr)){var Wr=Ye(),Gr=mo(Wr,rt),un=Gr,qr=un.elements,Dt=un.key2element,Or=un.element2key,Dr=Dt.get(xe),Vr=wa(Dr,qr),mn=Or.get(Vr),jr=Fa(ue,st(mn,!0).length===1,Fe,mr);if(!jr&&mr!==eo&&mr!==ba)return;(Ca.includes(mr)||[eo,ba].includes(mr))&&yr.preventDefault();var $r=function(N){if(N){var se=N,Ue=N.querySelector("a");Ue!=null&&Ue.getAttribute("href")&&(se=Ue);var Ke=Or.get(N);Ot(Ke),sr(),er.current=(0,O.Z)(function(){tr.current===Ke&&se.focus()})}};if([eo,ba].includes(mr)||jr.sibling||!Vr){var Pr;!Vr||ue==="inline"?Pr=ze.current:Pr=vo(Vr);var bn,fn=Ma(Pr,qr);mr===eo?bn=fn[0]:mr===ba?bn=fn[fn.length-1]:bn=Ka(Pr,qr,Vr,jr.offset),$r(bn)}else if(jr.inlineTrigger)At(mn);else if(jr.offset>0)At(mn,!0),sr(),er.current=(0,O.Z)(function(){Gr=mo(Wr,rt);var M=Vr.getAttribute("aria-controls"),N=document.getElementById(M),se=Ka(N,Gr.elements);$r(se)},5);else if(jr.offset<0){var zr=st(mn,!0),ln=zr[zr.length-2],C=Dt.get(ln);At(ln,!1),$r(C)}}Bt==null||Bt(yr)}}function So(ue){Promise.resolve().then(ue)}var to="__RC_UTIL_PATH_SPLIT__",ga=function(xe){return xe.join(to)},uo=function(xe){return xe.split(to)},po="rc-menu-more";function Ha(){var ue=l.useState({}),xe=(0,u.Z)(ue,2),Fe=xe[1],rt=(0,l.useRef)(new Map),ze=(0,l.useRef)(new Map),Ye=l.useState([]),st=(0,u.Z)(Ye,2),Ot=st[0],At=st[1],Bt=(0,l.useRef)(0),er=(0,l.useRef)(!1),tr=function(){er.current||Fe({})},sr=(0,l.useCallback)(function(Dt,Or){var Dr=ga(Or);ze.current.set(Dr,Dt),rt.current.set(Dt,Dr),Bt.current+=1;var Vr=Bt.current;So(function(){Vr===Bt.current&&tr()})},[]),yr=(0,l.useCallback)(function(Dt,Or){var Dr=ga(Or);ze.current.delete(Dr),rt.current.delete(Dt)},[]),mr=(0,l.useCallback)(function(Dt){At(Dt)},[]),Wr=(0,l.useCallback)(function(Dt,Or){var Dr=rt.current.get(Dt)||"",Vr=uo(Dr);return Or&&Ot.includes(Vr[0])&&Vr.unshift(po),Vr},[Ot]),Gr=(0,l.useCallback)(function(Dt,Or){return Dt.some(function(Dr){var Vr=Wr(Dr,!0);return Vr.includes(Or)})},[Wr]),un=function(){var Or=(0,E.Z)(rt.current.keys());return Ot.length&&Or.push(po),Or},qr=(0,l.useCallback)(function(Dt){var Or="".concat(rt.current.get(Dt)).concat(to),Dr=new Set;return(0,E.Z)(ze.current.keys()).forEach(function(Vr){Vr.startsWith(Or)&&Dr.add(ze.current.get(Vr))}),Dr},[]);return l.useEffect(function(){return function(){er.current=!0}},[]),{registerPath:sr,unregisterPath:yr,refreshOverflowKeys:mr,isSubPathKey:Gr,getKeyPath:Wr,getKeys:un,getSubPathKeys:qr}}function ha(ue){var xe=l.useRef(ue);xe.current=ue;var Fe=l.useCallback(function(){for(var rt,ze=arguments.length,Ye=new Array(ze),st=0;st1&&(qr.motionAppear=!1);var Dt=qr.onVisibleChanged;return qr.onVisibleChanged=function(Or){return!sr.current&&!Or&&Gr(!0),Dt==null?void 0:Dt(Or)},Wr?null:l.createElement(Yr,{mode:Ye,locked:!sr.current},l.createElement(mt.ZP,(0,n.Z)({visible:un},qr,{forceRender:At,removeOnLeave:!1,leavedClassName:"".concat(Ot,"-hidden")}),function(Or){var Dr=Or.className,Vr=Or.style;return l.createElement(oa,{id:xe,className:Dr,style:Vr},ze)}))}var we=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],Ce=["active"],Qe=function(xe){var Fe,rt=xe.style,ze=xe.className,Ye=xe.title,st=xe.eventKey,Ot=xe.warnKey,At=xe.disabled,Bt=xe.internalPopupClose,er=xe.children,tr=xe.itemIcon,sr=xe.expandIcon,yr=xe.popupClassName,mr=xe.popupOffset,Wr=xe.popupStyle,Gr=xe.onClick,un=xe.onMouseEnter,qr=xe.onMouseLeave,Dt=xe.onTitleClick,Or=xe.onTitleMouseEnter,Dr=xe.onTitleMouseLeave,Vr=(0,f.Z)(xe,we),mn=Wt(st),jr=l.useContext(gr),$r=jr.prefixCls,Pr=jr.mode,bn=jr.openKeys,fn=jr.disabled,zr=jr.overflowDisabled,ln=jr.activeKey,C=jr.selectedKeys,M=jr.itemIcon,N=jr.expandIcon,se=jr.onItemClick,Ue=jr.onOpenChange,Ke=jr.onActive,ct=l.useContext(qt),at=ct._internalRenderSubMenuItem,Ge=l.useContext(Tn),St=Ge.isSubPathKey,jt=Hn(),Ft="".concat($r,"-submenu"),$t=fn||At,zt=l.useRef(),Vt=l.useRef(),Kr=tr!=null?tr:M,Cr=sr!=null?sr:N,Ar=bn.includes(st),nr=!zr&&Ar,vr=St(C,st),Ir=Ie(st,$t,Or,Dr),wn=Ir.active,Xn=(0,f.Z)(Ir,Ce),In=l.useState(!1),Kn=(0,u.Z)(In,2),va=Kn[0],ya=Kn[1],Sa=function(ca){$t||ya(ca)},wt=function(ca){Sa(!0),un==null||un({key:st,domEvent:ca})},qe=function(ca){Sa(!1),qr==null||qr({key:st,domEvent:ca})},ft=l.useMemo(function(){return wn||(Pr!=="inline"?va||St([ln],st):!1)},[Pr,wn,ln,va,st,St]),He=Oe(jt.length),ut=function(ca){$t||(Dt==null||Dt({key:st,domEvent:ca}),Pr==="inline"&&Ue(st,!Ar))},lt=ha(function(kn){Gr==null||Gr(pr(kn)),se(kn)}),Qt=function(ca){Pr!=="inline"&&Ue(st,ca)},rr=function(){Ke(st)},or=mn&&"".concat(mn,"-popup"),Rr=l.createElement("div",(0,n.Z)({role:"menuitem",style:He,className:"".concat(Ft,"-title"),tabIndex:$t?null:-1,ref:zt,title:typeof Ye=="string"?Ye:null,"data-menu-id":zr&&mn?null:mn,"aria-expanded":nr,"aria-haspopup":!0,"aria-controls":or,"aria-disabled":$t,onClick:ut,onFocus:rr},Xn),Ye,l.createElement(De,{icon:Pr!=="horizontal"?Cr:void 0,props:(0,a.Z)((0,a.Z)({},xe),{},{isOpen:nr,isSubMenu:!0})},l.createElement("i",{className:"".concat(Ft,"-arrow")}))),_r=l.useRef(Pr);if(Pr!=="inline"&&jt.length>1?_r.current="vertical":_r.current=Pr,!zr){var Mr=_r.current;Rr=l.createElement(dt,{mode:Mr,prefixCls:Ft,visible:!Bt&&nr&&Pr!=="inline",popupClassName:yr,popupOffset:mr,popupStyle:Wr,popup:l.createElement(Yr,{mode:Mr==="horizontal"?"vertical":Mr},l.createElement(oa,{id:or,ref:Vt},er)),disabled:$t,onVisibleChange:Qt},Rr)}var Jn=l.createElement(je.Item,(0,n.Z)({role:"none"},Vr,{component:"li",style:rt,className:m()(Ft,"".concat(Ft,"-").concat(Pr),ze,(Fe={},(0,o.Z)(Fe,"".concat(Ft,"-open"),nr),(0,o.Z)(Fe,"".concat(Ft,"-active"),ft),(0,o.Z)(Fe,"".concat(Ft,"-selected"),vr),(0,o.Z)(Fe,"".concat(Ft,"-disabled"),$t),Fe)),onMouseEnter:wt,onMouseLeave:qe}),Rr,!zr&&l.createElement(de,{id:or,open:nr,keyPath:jt},er));return at&&(Jn=at(Jn,xe,{selected:vr,active:ft,open:nr,disabled:$t})),l.createElement(Yr,{onItemClick:lt,mode:Pr==="horizontal"?"vertical":Pr,itemIcon:Kr,expandIcon:Cr},Jn)};function it(ue){var xe=ue.eventKey,Fe=ue.children,rt=Hn(xe),ze=ua(Fe,rt),Ye=la();l.useEffect(function(){if(Ye)return Ye.registerPath(xe,rt),function(){Ye.unregisterPath(xe,rt)}},[rt]);var st;return Ye?st=ze:st=l.createElement(Qe,ue,ze),l.createElement(Ln.Provider,{value:rt},st)}var Et=["className","title","eventKey","children"],pt=["children"],bt=function(xe){var Fe=xe.className,rt=xe.title,ze=xe.eventKey,Ye=xe.children,st=(0,f.Z)(xe,Et),Ot=l.useContext(gr),At=Ot.prefixCls,Bt="".concat(At,"-item-group");return l.createElement("li",(0,n.Z)({role:"presentation"},st,{onClick:function(tr){return tr.stopPropagation()},className:m()(Bt,Fe)}),l.createElement("div",{role:"presentation",className:"".concat(Bt,"-title"),title:typeof rt=="string"?rt:void 0},rt),l.createElement("ul",{role:"group",className:"".concat(Bt,"-list")},Ye))};function ht(ue){var xe=ue.children,Fe=(0,f.Z)(ue,pt),rt=Hn(Fe.eventKey),ze=ua(xe,rt),Ye=la();return Ye?ze:l.createElement(bt,(0,Va.Z)(Fe,["warnKey"]),ze)}function xt(ue){var xe=ue.className,Fe=ue.style,rt=l.useContext(gr),ze=rt.prefixCls,Ye=la();return Ye?null:l.createElement("li",{role:"separator",className:m()("".concat(ze,"-item-divider"),xe),style:Fe})}var It=["label","children","key","type"];function Gt(ue){return(ue||[]).map(function(xe,Fe){if(xe&&(0,c.Z)(xe)==="object"){var rt=xe,ze=rt.label,Ye=rt.children,st=rt.key,Ot=rt.type,At=(0,f.Z)(rt,It),Bt=st!=null?st:"tmp-".concat(Fe);return Ye||Ot==="group"?Ot==="group"?l.createElement(ht,(0,n.Z)({key:Bt},At,{title:ze}),Gt(Ye)):l.createElement(it,(0,n.Z)({key:Bt},At,{title:ze}),Gt(Ye)):Ot==="divider"?l.createElement(xt,(0,n.Z)({key:Bt},At)):l.createElement(cn,(0,n.Z)({key:Bt},At),ze)}return null}).filter(function(xe){return xe})}function Ht(ue,xe,Fe){var rt=ue;return xe&&(rt=Gt(xe)),ua(rt,Fe)}var fr=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],wr=[],Zr=l.forwardRef(function(ue,xe){var Fe,rt,ze=ue,Ye=ze.prefixCls,st=Ye===void 0?"rc-menu":Ye,Ot=ze.rootClassName,At=ze.style,Bt=ze.className,er=ze.tabIndex,tr=er===void 0?0:er,sr=ze.items,yr=ze.children,mr=ze.direction,Wr=ze.id,Gr=ze.mode,un=Gr===void 0?"vertical":Gr,qr=ze.inlineCollapsed,Dt=ze.disabled,Or=ze.disabledOverflow,Dr=ze.subMenuOpenDelay,Vr=Dr===void 0?.1:Dr,mn=ze.subMenuCloseDelay,jr=mn===void 0?.1:mn,$r=ze.forceSubMenuRender,Pr=ze.defaultOpenKeys,bn=ze.openKeys,fn=ze.activeKey,zr=ze.defaultActiveFirst,ln=ze.selectable,C=ln===void 0?!0:ln,M=ze.multiple,N=M===void 0?!1:M,se=ze.defaultSelectedKeys,Ue=ze.selectedKeys,Ke=ze.onSelect,ct=ze.onDeselect,at=ze.inlineIndent,Ge=at===void 0?24:at,St=ze.motion,jt=ze.defaultMotions,Ft=ze.triggerSubMenuAction,$t=Ft===void 0?"hover":Ft,zt=ze.builtinPlacements,Vt=ze.itemIcon,Kr=ze.expandIcon,Cr=ze.overflowedIndicator,Ar=Cr===void 0?"...":Cr,nr=ze.overflowedIndicatorPopupClassName,vr=ze.getPopupContainer,Ir=ze.onClick,wn=ze.onOpenChange,Xn=ze.onKeyDown,In=ze.openAnimation,Kn=ze.openTransitionName,va=ze._internalRenderMenuItem,ya=ze._internalRenderSubMenuItem,Sa=(0,f.Z)(ze,fr),wt=l.useMemo(function(){return Ht(yr,sr,wr)},[yr,sr]),qe=l.useState(!1),ft=(0,u.Z)(qe,2),He=ft[0],ut=ft[1],lt=l.useRef(),Qt=ao(Wr),rr=mr==="rtl",or=(0,y.Z)(Pr,{value:bn,postState:function(Oa){return Oa||wr}}),Rr=(0,u.Z)(or,2),_r=Rr[0],Mr=Rr[1],Jn=function(Oa){var za=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function Mo(){Mr(Oa),wn==null||wn(Oa)}za?(0,Te.flushSync)(Mo):Mo()},kn=l.useState(_r),ca=(0,u.Z)(kn,2),ka=ca[0],Ua=ca[1],Br=l.useRef(!1),ir=l.useMemo(function(){return(un==="inline"||un==="vertical")&&qr?["vertical",qr]:[un,!1]},[un,qr]),Yn=(0,u.Z)(ir,2),qn=Yn[0],na=Yn[1],Xa=qn==="inline",yo=l.useState(qn),Zn=(0,u.Z)(yo,2),Nn=Zn[0],Ja=Zn[1],Wa=l.useState(na),bo=(0,u.Z)(Wa,2),Do=bo[0],hi=bo[1];l.useEffect(function(){Ja(qn),hi(na),Br.current&&(Xa?Mr(ka):Jn(wr))},[qn,na]);var Xo=l.useState(0),wo=(0,u.Z)(Xo,2),Ao=wo[0],xo=wo[1],Ko=Ao>=wt.length-1||Nn!=="horizontal"||Or;l.useEffect(function(){Xa&&Ua(_r)},[_r]),l.useEffect(function(){return Br.current=!0,function(){Br.current=!1}},[]);var Bo=Ha(),wi=Bo.registerPath,Ta=Bo.unregisterPath,sa=Bo.refreshOverflowKeys,da=Bo.isSubPathKey,Za=Bo.getKeyPath,no=Bo.getKeys,To=Bo.getSubPathKeys,Ho=l.useMemo(function(){return{registerPath:wi,unregisterPath:Ta}},[wi,Ta]),_a=l.useMemo(function(){return{isSubPathKey:da}},[da]);l.useEffect(function(){sa(Ko?wr:wt.slice(Ao+1).map(function($a){return $a.key}))},[Ao,Ko]);var Ba=(0,y.Z)(fn||zr&&((Fe=wt[0])===null||Fe===void 0?void 0:Fe.key),{value:fn}),Fo=(0,u.Z)(Ba,2),oo=Fo[0],go=Fo[1],ui=ha(function($a){go($a)}),mi=ha(function(){go(void 0)});(0,l.useImperativeHandle)(xe,function(){return{list:lt.current,focus:function(Oa){var za,Mo=no(),qa=mo(Mo,Qt),ko=qa.elements,si=qa.key2element,li=qa.element2key,ri=Ma(lt.current,ko),gi=oo!=null?oo:ri[0]?li.get(ri[0]):(za=wt.find(function(su){return!su.props.disabled}))===null||za===void 0?void 0:za.key,Ii=si.get(gi);if(gi&&Ii){var Ui;Ii==null||(Ui=Ii.focus)===null||Ui===void 0||Ui.call(Ii,Oa)}}}});var Uo=(0,y.Z)(se||[],{value:Ue,postState:function(Oa){return Array.isArray(Oa)?Oa:Oa==null?wr:[Oa]}}),Bi=(0,u.Z)(Uo,2),Fi=Bi[0],xu=Bi[1],Yi=function(Oa){if(C){var za=Oa.key,Mo=Fi.includes(za),qa;N?Mo?qa=Fi.filter(function(si){return si!==za}):qa=[].concat((0,E.Z)(Fi),[za]):qa=[za],xu(qa);var ko=(0,a.Z)((0,a.Z)({},Oa),{},{selectedKeys:qa});Mo?ct==null||ct(ko):Ke==null||Ke(ko)}!N&&_r.length&&Nn!=="inline"&&Jn(wr)},Tu=ha(function($a){Ir==null||Ir(pr($a)),Yi($a)}),ti=ha(function($a,Oa){var za=_r.filter(function(qa){return qa!==$a});if(Oa)za.push($a);else if(Nn!=="inline"){var Mo=To($a);za=za.filter(function(qa){return!Mo.has(qa)})}Je(_r,za,!0)||Jn(za,!0)}),Qi=function(Oa,za){var Mo=za!=null?za:!_r.includes(Oa);ti(Oa,Mo)},uu=co(Nn,oo,rr,Qt,lt,no,Za,go,Qi,Xn);l.useEffect(function(){ut(!0)},[]);var Ou=l.useMemo(function(){return{_internalRenderMenuItem:va,_internalRenderSubMenuItem:ya}},[va,ya]),us=Nn!=="horizontal"||Or?wt:wt.map(function($a,Oa){return l.createElement(Yr,{key:$a.key,overflowDisabled:Oa>Ao},$a)}),yi=l.createElement(je,(0,n.Z)({id:Wr,ref:lt,prefixCls:"".concat(st,"-overflow"),component:"ul",itemComponent:cn,className:m()(st,"".concat(st,"-root"),"".concat(st,"-").concat(Nn),Bt,(rt={},(0,o.Z)(rt,"".concat(st,"-inline-collapsed"),Do),(0,o.Z)(rt,"".concat(st,"-rtl"),rr),rt),Ot),dir:mr,style:At,role:"menu",tabIndex:tr,data:us,renderRawItem:function(Oa){return Oa},renderRawRest:function(Oa){var za=Oa.length,Mo=za?wt.slice(-za):null;return l.createElement(it,{eventKey:po,title:Ar,disabled:Ko,internalPopupClose:za===0,popupClassName:nr},Mo)},maxCount:Nn!=="horizontal"||Or?je.INVALIDATE:je.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Oa){xo(Oa)},onKeyDown:uu},Sa));return l.createElement(qt.Provider,{value:Ou},l.createElement(Nt.Provider,{value:Qt},l.createElement(Yr,{prefixCls:st,rootClassName:Ot,mode:Nn,openKeys:_r,rtl:rr,disabled:Dt,motion:He?St:null,defaultMotions:He?jt:null,activeKey:oo,onActive:ui,onInactive:mi,selectedKeys:Fi,inlineIndent:Ge,subMenuOpenDelay:Vr,subMenuCloseDelay:jr,forceSubMenuRender:$r,builtinPlacements:zt,triggerSubMenuAction:$t,getPopupContainer:vr,itemIcon:Vt,expandIcon:Kr,onItemClick:Tu,onOpenChange:ti},l.createElement(Tn.Provider,{value:_a},yi),l.createElement("div",{style:{display:"none"},"aria-hidden":!0},l.createElement(aa.Provider,{value:Ho},wt)))))}),Xr=Zr,xr=Xr;xr.Item=cn,xr.SubMenu=it,xr.ItemGroup=ht,xr.Divider=xt;var Tr=xr,Hr=l.forwardRef(function(ue,xe){var Fe=ue.prefixCls,rt=ue.id,ze=ue.tabs,Ye=ue.locale,st=ue.mobile,Ot=ue.moreIcon,At=Ot===void 0?"More":Ot,Bt=ue.moreTransitionName,er=ue.style,tr=ue.className,sr=ue.editable,yr=ue.tabBarGutter,mr=ue.rtl,Wr=ue.removeAriaLabel,Gr=ue.onTabClick,un=ue.getPopupContainer,qr=ue.popupClassName,Dt=(0,l.useState)(!1),Or=(0,u.Z)(Dt,2),Dr=Or[0],Vr=Or[1],mn=(0,l.useState)(null),jr=(0,u.Z)(mn,2),$r=jr[0],Pr=jr[1],bn="".concat(rt,"-more-popup"),fn="".concat(Fe,"-dropdown"),zr=$r!==null?"".concat(bn,"-").concat($r):null,ln=Ye==null?void 0:Ye.dropdownAriaLabel;function C(at,Ge){at.preventDefault(),at.stopPropagation(),sr.onEdit("remove",{key:Ge,event:at})}var M=l.createElement(Tr,{onClick:function(Ge){var St=Ge.key,jt=Ge.domEvent;Gr(St,jt),Vr(!1)},prefixCls:"".concat(fn,"-menu"),id:bn,tabIndex:-1,role:"listbox","aria-activedescendant":zr,selectedKeys:[$r],"aria-label":ln!==void 0?ln:"expanded dropdown"},ze.map(function(at){var Ge=at.closable,St=at.disabled,jt=at.closeIcon,Ft=at.key,$t=at.label,zt=U(Ge,jt,sr,St);return l.createElement(cn,{key:Ft,id:"".concat(bn,"-").concat(Ft),role:"option","aria-controls":rt&&"".concat(rt,"-panel-").concat(Ft),disabled:St},l.createElement("span",null,$t),zt&&l.createElement("button",{type:"button","aria-label":Wr||"remove",tabIndex:0,className:"".concat(fn,"-menu-item-remove"),onClick:function(Kr){Kr.stopPropagation(),C(Kr,Ft)}},jt||sr.removeIcon||"\xD7"))}));function N(at){for(var Ge=ze.filter(function(zt){return!zt.disabled}),St=Ge.findIndex(function(zt){return zt.key===$r})||0,jt=Ge.length,Ft=0;Ftsa?"left":"right"})}),C=(0,u.Z)(ln,2),M=C[0],N=C[1],se=I(0,function(Ta,sa){!zr&&Gr&&Gr({direction:Ta>sa?"top":"bottom"})}),Ue=(0,u.Z)(se,2),Ke=Ue[0],ct=Ue[1],at=(0,l.useState)([0,0]),Ge=(0,u.Z)(at,2),St=Ge[0],jt=Ge[1],Ft=(0,l.useState)([0,0]),$t=(0,u.Z)(Ft,2),zt=$t[0],Vt=$t[1],Kr=(0,l.useState)([0,0]),Cr=(0,u.Z)(Kr,2),Ar=Cr[0],nr=Cr[1],vr=(0,l.useState)([0,0]),Ir=(0,u.Z)(vr,2),wn=Ir[0],Xn=Ir[1],In=Ae(new Map),Kn=(0,u.Z)(In,2),va=Kn[0],ya=Kn[1],Sa=P(Dr,va,zt[0]),wt=Mn(St,zr),qe=Mn(zt,zr),ft=Mn(Ar,zr),He=Mn(wn,zr),ut=wtor?or:Ta}var _r=(0,l.useRef)(null),Mr=(0,l.useState)(),Jn=(0,u.Z)(Mr,2),kn=Jn[0],ca=Jn[1];function ka(){ca(Date.now())}function Ua(){_r.current&&clearTimeout(_r.current)}G($r,function(Ta,sa){function da(Za,no){Za(function(To){var Ho=Rr(To+no);return Ho})}return ut?(zr?da(N,Ta):da(ct,sa),Ua(),ka(),!0):!1}),(0,l.useEffect)(function(){return Ua(),kn&&(_r.current=setTimeout(function(){ca(0)},100)),Ua},[kn]);var Br=me(Sa,lt,zr?M:Ke,qe,ft,He,(0,a.Z)((0,a.Z)({},ue),{},{tabs:Dr})),ir=(0,u.Z)(Br,2),Yn=ir[0],qn=ir[1],na=(0,S.Z)(function(){var Ta=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ot,sa=Sa.get(Ta)||{width:0,height:0,left:0,right:0,top:0};if(zr){var da=M;At?sa.rightM+lt&&(da=sa.right+sa.width-lt):sa.left<-M?da=-sa.left:sa.left+sa.width>-M+lt&&(da=-(sa.left+sa.width-lt)),ct(0),N(Rr(da))}else{var Za=Ke;sa.top<-Ke?Za=-sa.top:sa.top+sa.height>-Ke+lt&&(Za=-(sa.top+sa.height-lt)),N(0),ct(Rr(Za))}}),Xa={};sr==="top"||sr==="bottom"?Xa[At?"marginRight":"marginLeft"]=yr:Xa.marginTop=yr;var yo=Dr.map(function(Ta,sa){var da=Ta.key;return l.createElement(ea,{id:Ye,prefixCls:Or,key:da,tab:Ta,style:sa===0?void 0:Xa,closable:Ta.closable,editable:er,active:da===Ot,renderWrapper:mr,removeAriaLabel:tr==null?void 0:tr.removeAriaLabel,onClick:function(no){Wr(da,no)},onFocus:function(){na(da),ka(),$r.current&&(At||($r.current.scrollLeft=0),$r.current.scrollTop=0)}})}),Zn=function(){return ya(function(){var sa,da=new Map,Za=(sa=Pr.current)===null||sa===void 0?void 0:sa.getBoundingClientRect();return Dr.forEach(function(no){var To,Ho=no.key,_a=(To=Pr.current)===null||To===void 0?void 0:To.querySelector('[data-node-key="'.concat(ae(Ho),'"]'));if(_a){var Ba=gn(_a,Za),Fo=(0,u.Z)(Ba,4),oo=Fo[0],go=Fo[1],ui=Fo[2],mi=Fo[3];da.set(Ho,{width:oo,height:go,left:ui,top:mi})}}),da})};(0,l.useEffect)(function(){Zn()},[Dr.map(function(Ta){return Ta.key}).join("_")]);var Nn=pe(function(){var Ta=Cn(Vr),sa=Cn(mn),da=Cn(jr);jt([Ta[0]-sa[0]-da[0],Ta[1]-sa[1]-da[1]]);var Za=Cn(fn);nr(Za);var no=Cn(bn);Xn(no);var To=Cn(Pr);Vt([To[0]-Za[0],To[1]-Za[1]]),Zn()}),Ja=Dr.slice(0,Yn),Wa=Dr.slice(qn+1),bo=[].concat((0,E.Z)(Ja),(0,E.Z)(Wa)),Do=Sa.get(Ot),hi=_({activeTabOffset:Do,horizontal:zr,rtl:At,indicatorSize:un,indicatorAlign:qr}),Xo=hi.style;(0,l.useEffect)(function(){na()},[Ot,rr,or,Q(Do),Q(Sa),zr]),(0,l.useEffect)(function(){Nn()},[At]);var wo=!!bo.length,Ao="".concat(Or,"-nav-wrap"),xo,Ko,Bo,wi;return zr?At?(Ko=M>0,xo=M!==or):(xo=M<0,Ko=M!==rr):(Bo=Ke<0,wi=Ke!==rr),l.createElement(w.Z,{onResize:Nn},l.createElement("div",{ref:(0,x.x1)(xe,Vr),role:"tablist",className:m()("".concat(Or,"-nav"),rt),style:ze,onKeyDown:function(){ka()}},l.createElement(re,{ref:mn,position:"left",extra:Bt,prefixCls:Or}),l.createElement(w.Z,{onResize:Nn},l.createElement("div",{className:m()(Ao,(Fe={},(0,o.Z)(Fe,"".concat(Ao,"-ping-left"),xo),(0,o.Z)(Fe,"".concat(Ao,"-ping-right"),Ko),(0,o.Z)(Fe,"".concat(Ao,"-ping-top"),Bo),(0,o.Z)(Fe,"".concat(Ao,"-ping-bottom"),wi),Fe)),ref:$r},l.createElement(w.Z,{onResize:Nn},l.createElement("div",{ref:Pr,className:"".concat(Or,"-nav-list"),style:{transform:"translate(".concat(M,"px, ").concat(Ke,"px)"),transition:kn?"none":void 0}},yo,l.createElement(q,{ref:fn,prefixCls:Or,locale:tr,editable:er,style:(0,a.Z)((0,a.Z)({},yo.length===0?void 0:Xa),{},{visibility:wo?"hidden":null})}),l.createElement("div",{className:m()("".concat(Or,"-ink-bar"),(0,o.Z)({},"".concat(Or,"-ink-bar-animated"),st.inkBar)),style:Xo}))))),l.createElement(on,(0,n.Z)({},ue,{removeAriaLabel:tr==null?void 0:tr.removeAriaLabel,ref:bn,prefixCls:Or,tabs:bo,className:!wo&&Qt,tabMoving:!!kn})),l.createElement(re,{ref:jr,position:"right",extra:Bt,prefixCls:Or})))}),_n=An,ra=l.forwardRef(function(ue,xe){var Fe=ue.prefixCls,rt=ue.className,ze=ue.style,Ye=ue.id,st=ue.active,Ot=ue.tabKey,At=ue.children;return l.createElement("div",{id:Ye&&"".concat(Ye,"-panel-").concat(Ot),role:"tabpanel",tabIndex:st?0:-1,"aria-labelledby":Ye&&"".concat(Ye,"-tab-").concat(Ot),"aria-hidden":!st,style:ze,className:m()(Fe,st&&"".concat(Fe,"-active"),rt),ref:xe},At)}),Pn=ra,Vn=["renderTabBar"],ia=["label","key"],Ea=function(xe){var Fe=xe.renderTabBar,rt=(0,f.Z)(xe,Vn),ze=l.useContext(g),Ye=ze.tabs;if(Fe){var st=(0,a.Z)((0,a.Z)({},rt),{},{panes:Ye.map(function(Ot){var At=Ot.label,Bt=Ot.key,er=(0,f.Z)(Ot,ia);return l.createElement(Pn,(0,n.Z)({tab:At,key:Bt,tabKey:Bt},er))})});return Fe(st,_n)}return l.createElement(_n,rt)},ma=Ea,Ia=["key","forceRender","style","className","destroyInactiveTabPane"],ro=function(xe){var Fe=xe.id,rt=xe.activeKey,ze=xe.animated,Ye=xe.tabPosition,st=xe.destroyInactiveTabPane,Ot=l.useContext(g),At=Ot.prefixCls,Bt=Ot.tabs,er=ze.tabPane,tr="".concat(At,"-tabpane");return l.createElement("div",{className:m()("".concat(At,"-content-holder"))},l.createElement("div",{className:m()("".concat(At,"-content"),"".concat(At,"-content-").concat(Ye),(0,o.Z)({},"".concat(At,"-content-animated"),er))},Bt.map(function(sr){var yr=sr.key,mr=sr.forceRender,Wr=sr.style,Gr=sr.className,un=sr.destroyInactiveTabPane,qr=(0,f.Z)(sr,Ia),Dt=yr===rt;return l.createElement(mt.ZP,(0,n.Z)({key:yr,visible:Dt,forceRender:mr,removeOnLeave:!!(st||un),leavedClassName:"".concat(tr,"-hidden")},ze.tabPaneMotion),function(Or,Dr){var Vr=Or.style,mn=Or.className;return l.createElement(Pn,(0,n.Z)({},qr,{prefixCls:tr,id:Fe,tabKey:yr,animated:er,active:Dt,style:(0,a.Z)((0,a.Z)({},Wr),Vr),className:m()(Gr,mn),ref:Dr}))})})))},lr=ro;function Jr(){var ue=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},xe;return ue===!1?xe={inkBar:!1,tabPane:!1}:ue===!0?xe={inkBar:!0,tabPane:!1}:xe=(0,a.Z)({inkBar:!0},(0,c.Z)(ue)==="object"?ue:{}),xe.tabPaneMotion&&xe.tabPane===void 0&&(xe.tabPane=!0),!xe.tabPaneMotion&&xe.tabPane&&(xe.tabPane=!1),xe}var Rn=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicatorSize","indicatorAlign"],En=0,rn=l.forwardRef(function(ue,xe){var Fe,rt=ue.id,ze=ue.prefixCls,Ye=ze===void 0?"rc-tabs":ze,st=ue.className,Ot=ue.items,At=ue.direction,Bt=ue.activeKey,er=ue.defaultActiveKey,tr=ue.editable,sr=ue.animated,yr=ue.tabPosition,mr=yr===void 0?"top":yr,Wr=ue.tabBarGutter,Gr=ue.tabBarStyle,un=ue.tabBarExtraContent,qr=ue.locale,Dt=ue.moreIcon,Or=ue.moreTransitionName,Dr=ue.destroyInactiveTabPane,Vr=ue.renderTabBar,mn=ue.onChange,jr=ue.onTabClick,$r=ue.onTabScroll,Pr=ue.getPopupContainer,bn=ue.popupClassName,fn=ue.indicatorSize,zr=ue.indicatorAlign,ln=zr===void 0?"center":zr,C=(0,f.Z)(ue,Rn),M=l.useMemo(function(){return(Ot||[]).filter(function(In){return In&&(0,c.Z)(In)==="object"&&"key"in In})},[Ot]),N=At==="rtl",se=Jr(sr),Ue=(0,l.useState)(!1),Ke=(0,u.Z)(Ue,2),ct=Ke[0],at=Ke[1];(0,l.useEffect)(function(){at((0,v.Z)())},[]);var Ge=(0,y.Z)(function(){var In;return(In=M[0])===null||In===void 0?void 0:In.key},{value:Bt,defaultValue:er}),St=(0,u.Z)(Ge,2),jt=St[0],Ft=St[1],$t=(0,l.useState)(function(){return M.findIndex(function(In){return In.key===jt})}),zt=(0,u.Z)($t,2),Vt=zt[0],Kr=zt[1];(0,l.useEffect)(function(){var In=M.findIndex(function(va){return va.key===jt});if(In===-1){var Kn;In=Math.max(0,Math.min(Vt,M.length-1)),Ft((Kn=M[In])===null||Kn===void 0?void 0:Kn.key)}Kr(In)},[M.map(function(In){return In.key}).join("_"),jt,Vt]);var Cr=(0,y.Z)(null,{value:rt}),Ar=(0,u.Z)(Cr,2),nr=Ar[0],vr=Ar[1];(0,l.useEffect)(function(){rt||(vr("rc-tabs-".concat(En)),En+=1)},[]);function Ir(In,Kn){jr==null||jr(In,Kn);var va=In!==jt;Ft(In),va&&(mn==null||mn(In))}var wn={id:nr,activeKey:jt,animated:se,tabPosition:mr,rtl:N,mobile:ct},Xn=(0,a.Z)((0,a.Z)({},wn),{},{editable:tr,locale:qr,moreIcon:Dt,moreTransitionName:Or,tabBarGutter:Wr,onTabClick:Ir,onTabScroll:$r,extra:un,style:Gr,panes:null,getPopupContainer:Pr,popupClassName:bn,indicatorSize:fn,indicatorAlign:ln});return l.createElement(g.Provider,{value:{tabs:M,prefixCls:Ye}},l.createElement("div",(0,n.Z)({ref:xe,id:rt,className:m()(Ye,"".concat(Ye,"-").concat(mr),(Fe={},(0,o.Z)(Fe,"".concat(Ye,"-mobile"),ct),(0,o.Z)(Fe,"".concat(Ye,"-editable"),tr),(0,o.Z)(Fe,"".concat(Ye,"-rtl"),N),Fe),st)},C),l.createElement(ma,(0,n.Z)({},Xn,{renderTabBar:Vr})),l.createElement(lr,(0,n.Z)({destroyInactiveTabPane:Dr},wn,{animated:se}))))}),La=rn,Da=La;function Ya(){return Ya=Object.assign?Object.assign.bind():function(ue){for(var xe=1;xe=0&&(j.hash=O.substr(_),O=O.substr(0,_));var K=O.indexOf("?");K>=0&&(j.search=O.substr(K),O=O.substr(0,K)),O&&(j.pathname=O)}return j}},94266:function(d,p,e){"use strict";var n=e(99234),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},u={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},c={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},f={};f[n.ForwardRef]=u,f[n.Memo]=c;function s(S){return n.isMemo(S)?c:f[S.$$typeof]||o}var m=Object.defineProperty,y=Object.getOwnPropertyNames,v=Object.getOwnPropertySymbols,l=Object.getOwnPropertyDescriptor,g=Object.getPrototypeOf,E=Object.prototype;function w(S,x,O){if(typeof x!="string"){if(E){var j=g(x);j&&j!==E&&w(S,j,O)}var _=y(x);v&&(_=_.concat(v(x)));for(var K=s(S),P=s(x),I=0;I<_.length;++I){var L=_[I];if(!a[L]&&!(O&&O[L])&&!(P&&P[L])&&!(K&&K[L])){var H=l(x,L);try{m(S,L,H)}catch(V){}}}}return S}d.exports=w},65925:function(d,p,e){"use strict";e.d(p,{C:function(){return y}});var n=e(24092),o=e(34669),a=e(27017),u=e(16314);function c(v,l){return l?(0,n.pi)((0,n.pi)((0,n.pi)({},v||{}),l||{}),Object.keys(v).reduce(function(g,E){return g[E]=(0,n.pi)((0,n.pi)({},v[E]),l[E]||{}),g},{})):v}function f(v,l){return l?Object.keys(v).reduce(function(g,E){return g[E]=c(v[E],l[E]),g},(0,n.pi)({},v)):v}function s(v){return{create:function(){return{get:function(l){return v[l]},set:function(l,g){v[l]=g}}}}}function m(v){return v===void 0&&(v={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:(0,a.H)(function(){for(var l,g=[],E=0;E0?new Intl.Locale(g[0]):new Intl.Locale(typeof l=="string"?l:l[0])}},v.__parse=o.Qc,v.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},v}()},63703:function(d,p,e){"use strict";e.d(p,{C8:function(){return u},HR:function(){return f},YR:function(){return c},jK:function(){return o},u_:function(){return a}});var n=e(24092),o;(function(s){s.MISSING_VALUE="MISSING_VALUE",s.INVALID_VALUE="INVALID_VALUE",s.MISSING_INTL_API="MISSING_INTL_API"})(o||(o={}));var a=function(s){(0,n.ZT)(m,s);function m(y,v,l){var g=s.call(this,y)||this;return g.code=v,g.originalMessage=l,g}return m.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},m}(Error),u=function(s){(0,n.ZT)(m,s);function m(y,v,l,g){return s.call(this,'Invalid values for "'.concat(y,'": "').concat(v,'". Options are "').concat(Object.keys(l).join('", "'),'"'),o.INVALID_VALUE,g)||this}return m}(a),c=function(s){(0,n.ZT)(m,s);function m(y,v,l){return s.call(this,'Value for "'.concat(y,'" must be of type ').concat(v),o.INVALID_VALUE,l)||this}return m}(a),f=function(s){(0,n.ZT)(m,s);function m(y,v){return s.call(this,'The intl string context variable "'.concat(y,'" was not provided to the string "').concat(v,'"'),o.MISSING_VALUE,v)||this}return m}(a)},16314:function(d,p,e){"use strict";e.d(p,{FK:function(){return f},Gt:function(){return c},du:function(){return a}});var n=e(34669),o=e(63703),a;(function(s){s[s.literal=0]="literal",s[s.object=1]="object"})(a||(a={}));function u(s){return s.length<2?s:s.reduce(function(m,y){var v=m[m.length-1];return!v||v.type!==a.literal||y.type!==a.literal?m.push(y):v.value+=y.value,m},[])}function c(s){return typeof s=="function"}function f(s,m,y,v,l,g,E){if(s.length===1&&(0,n.O4)(s[0]))return[{type:a.literal,value:s[0].value}];for(var w=[],S=0,x=s;S=H||Ee<0||ne&&Me>=ce}function re(){var z=x();if(le(z))return A(z);Ae=setTimeout(re,q(z))}function A(z){return Ae=void 0,ae&&B?U(z):(B=G=void 0,pe)}function W(){Ae!==void 0&&clearTimeout(Ae),me=0,B=Ne=G=Ae=void 0}function k(){return Ae===void 0?pe:A(x())}function Z(){var z=x(),Ee=le(z);if(B=arguments,G=this,Ne=z,Ee){if(Ae===void 0)return R(Ne);if(ne)return Ae=setTimeout(re,H),U(Ne)}return Ae===void 0&&(Ae=setTimeout(re,H)),pe}return Z.cancel=W,Z.flush=k,Z}function j(L,H,V){var B=!0,G=!0;if(typeof L!="function")throw new TypeError(n);return _(V)&&(B="leading"in V?!!V.leading:B,G="trailing"in V?!!V.trailing:G),O(L,H,{leading:B,maxWait:H,trailing:G})}function _(L){var H=typeof L;return!!L&&(H=="object"||H=="function")}function K(L){return!!L&&typeof L=="object"}function P(L){return typeof L=="symbol"||K(L)&&E.call(L)==a}function I(L){if(typeof L=="number")return L;if(P(L))return o;if(_(L)){var H=typeof L.valueOf=="function"?L.valueOf():L;L=_(H)?H+"":H}if(typeof L!="string")return L===0?L:+L;L=L.replace(u,"");var V=f.test(L);return V||s.test(L)?m(L.slice(2),V?2:8):c.test(L)?o:+L}d.exports=j},88211:function(d,p,e){var n,o=function(){var a=String.fromCharCode,u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",f={};function s(y,v){if(!f[y]){f[y]={};for(var l=0;l>>8,l[g*2+1]=w%256}return l},decompressFromUint8Array:function(y){if(y==null)return m.decompress(y);for(var v=new Array(y.length/2),l=0,g=v.length;l>1}else{for(E=1,g=0;g>1}_--,_==0&&(_=Math.pow(2,P),P++),delete S[j]}else for(E=w[j],g=0;g>1;_--,_==0&&(_=Math.pow(2,P),P++),w[O]=K++,j=String(x)}if(j!==""){if(Object.prototype.hasOwnProperty.call(S,j)){if(j.charCodeAt(0)<256){for(g=0;g>1}else{for(E=1,g=0;g>1}_--,_==0&&(_=Math.pow(2,P),P++),delete S[j]}else for(E=w[j],g=0;g>1;_--,_==0&&(_=Math.pow(2,P),P++)}for(E=2,g=0;g>1;for(;;)if(L=L<<1,H==v-1){I.push(l(L));break}else H++;return I.join("")},decompress:function(y){return y==null?"":y==""?null:m._decompress(y.length,32768,function(v){return y.charCodeAt(v)})},_decompress:function(y,v,l){var g=[],E,w=4,S=4,x=3,O="",j=[],_,K,P,I,L,H,V,B={val:l(0),position:v,index:1};for(_=0;_<3;_+=1)g[_]=_;for(P=0,L=Math.pow(2,2),H=1;H!=L;)I=B.val&B.position,B.position>>=1,B.position==0&&(B.position=v,B.val=l(B.index++)),P|=(I>0?1:0)*H,H<<=1;switch(E=P){case 0:for(P=0,L=Math.pow(2,8),H=1;H!=L;)I=B.val&B.position,B.position>>=1,B.position==0&&(B.position=v,B.val=l(B.index++)),P|=(I>0?1:0)*H,H<<=1;V=a(P);break;case 1:for(P=0,L=Math.pow(2,16),H=1;H!=L;)I=B.val&B.position,B.position>>=1,B.position==0&&(B.position=v,B.val=l(B.index++)),P|=(I>0?1:0)*H,H<<=1;V=a(P);break;case 2:return""}for(g[3]=V,K=V,j.push(V);;){if(B.index>y)return"";for(P=0,L=Math.pow(2,x),H=1;H!=L;)I=B.val&B.position,B.position>>=1,B.position==0&&(B.position=v,B.val=l(B.index++)),P|=(I>0?1:0)*H,H<<=1;switch(V=P){case 0:for(P=0,L=Math.pow(2,8),H=1;H!=L;)I=B.val&B.position,B.position>>=1,B.position==0&&(B.position=v,B.val=l(B.index++)),P|=(I>0?1:0)*H,H<<=1;g[S++]=a(P),V=S-1,w--;break;case 1:for(P=0,L=Math.pow(2,16),H=1;H!=L;)I=B.val&B.position,B.position>>=1,B.position==0&&(B.position=v,B.val=l(B.index++)),P|=(I>0?1:0)*H,H<<=1;g[S++]=a(P),V=S-1,w--;break;case 2:return j.join("")}if(w==0&&(w=Math.pow(2,x),x++),g[V])O=g[V];else if(V===S)O=K+K.charAt(0);else return null;j.push(O),g[S++]=K+O.charAt(0),w--,K=O,w==0&&(w=Math.pow(2,x),x++)}}};return m}();n=function(){return o}.call(p,e,p,d),n!==void 0&&(d.exports=n)},65345:function(d,p,e){var n,o;(function(a,u){n=u,o=typeof n=="function"?n.call(p,e,p,d):n,o!==void 0&&(d.exports=o)})(this,function(){var a={};a.version="0.2.0";var u=a.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
'};a.configure=function(S){var x,O;for(x in S)O=S[x],O!==void 0&&S.hasOwnProperty(x)&&(u[x]=O);return this},a.status=null,a.set=function(S){var x=a.isStarted();S=c(S,u.minimum,1),a.status=S===1?null:S;var O=a.render(!x),j=O.querySelector(u.barSelector),_=u.speed,K=u.easing;return O.offsetWidth,m(function(P){u.positionUsing===""&&(u.positionUsing=a.getPositioningCSS()),y(j,s(S,_,K)),S===1?(y(O,{transition:"none",opacity:1}),O.offsetWidth,setTimeout(function(){y(O,{transition:"all "+_+"ms linear",opacity:0}),setTimeout(function(){a.remove(),P()},_)},_)):setTimeout(P,_)}),this},a.isStarted=function(){return typeof a.status=="number"},a.start=function(){a.status||a.set(0);var S=function(){setTimeout(function(){a.status&&(a.trickle(),S())},u.trickleSpeed)};return u.trickle&&S(),this},a.done=function(S){return!S&&!a.status?this:a.inc(.3+.5*Math.random()).set(1)},a.inc=function(S){var x=a.status;return x?(typeof S!="number"&&(S=(1-x)*c(Math.random()*x,.1,.95)),x=c(x+S,0,.994),a.set(x)):a.start()},a.trickle=function(){return a.inc(Math.random()*u.trickleRate)},function(){var S=0,x=0;a.promise=function(O){return!O||O.state()==="resolved"?this:(x===0&&a.start(),S++,x++,O.always(function(){x--,x===0?(S=0,a.done()):a.set((S-x)/S)}),this)}}(),a.render=function(S){if(a.isRendered())return document.getElementById("nprogress");l(document.documentElement,"nprogress-busy");var x=document.createElement("div");x.id="nprogress",x.innerHTML=u.template;var O=x.querySelector(u.barSelector),j=S?"-100":f(a.status||0),_=document.querySelector(u.parent),K;return y(O,{transition:"all 0 linear",transform:"translate3d("+j+"%,0,0)"}),u.showSpinner||(K=x.querySelector(u.spinnerSelector),K&&w(K)),_!=document.body&&l(_,"nprogress-custom-parent"),_.appendChild(x),x},a.remove=function(){g(document.documentElement,"nprogress-busy"),g(document.querySelector(u.parent),"nprogress-custom-parent");var S=document.getElementById("nprogress");S&&w(S)},a.isRendered=function(){return!!document.getElementById("nprogress")},a.getPositioningCSS=function(){var S=document.body.style,x="WebkitTransform"in S?"Webkit":"MozTransform"in S?"Moz":"msTransform"in S?"ms":"OTransform"in S?"O":"";return x+"Perspective"in S?"translate3d":x+"Transform"in S?"translate":"margin"};function c(S,x,O){return SO?O:S}function f(S){return(-1+S)*100}function s(S,x,O){var j;return u.positionUsing==="translate3d"?j={transform:"translate3d("+f(S)+"%,0,0)"}:u.positionUsing==="translate"?j={transform:"translate("+f(S)+"%,0)"}:j={"margin-left":f(S)+"%"},j.transition="all "+x+"ms "+O,j}var m=function(){var S=[];function x(){var O=S.shift();O&&O(x)}return function(O){S.push(O),S.length==1&&x()}}(),y=function(){var S=["Webkit","O","Moz","ms"],x={};function O(P){return P.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(I,L){return L.toUpperCase()})}function j(P){var I=document.body.style;if(P in I)return P;for(var L=S.length,H=P.charAt(0).toUpperCase()+P.slice(1),V;L--;)if(V=S[L]+H,V in I)return V;return P}function _(P){return P=O(P),x[P]||(x[P]=j(P))}function K(P,I,L){I=_(I),P.style[I]=L}return function(P,I){var L=arguments,H,V;if(L.length==2)for(H in I)V=I[H],V!==void 0&&I.hasOwnProperty(H)&&K(P,H,V);else K(P,L[1],L[2])}}();function v(S,x){var O=typeof S=="string"?S:E(S);return O.indexOf(" "+x+" ")>=0}function l(S,x){var O=E(S),j=O+x;v(O,x)||(S.className=j.substring(1))}function g(S,x){var O=E(S),j;v(S,x)&&(j=O.replace(" "+x+" "," "),S.className=j.substring(1,j.length-1))}function E(S){return(" "+(S.className||"")+" ").replace(/\s+/gi," ")}function w(S){S&&S.parentNode&&S.parentNode.removeChild(S)}return a})},79442:function(d,p,e){"use strict";var n=e(97825);function o(){}function a(){}a.resetWarningCache=o,d.exports=function(){function u(s,m,y,v,l,g){if(g!==n){var E=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw E.name="Invariant Violation",E}}u.isRequired=u;function c(){return u}var f={array:u,bigint:u,bool:u,func:u,number:u,object:u,string:u,symbol:u,any:u,arrayOf:c,element:u,elementType:u,instanceOf:c,node:u,objectOf:c,oneOf:c,oneOfType:c,shape:c,exact:c,checkPropTypes:a,resetWarningCache:o};return f.PropTypes=f,f}},12708:function(d,p,e){if(0)var n,o;else d.exports=e(79442)()},97825:function(d){"use strict";var p="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";d.exports=p},16934:function(d,p,e){"use strict";e.d(p,{ZP:function(){return Yt}});var n=e(97326),o=e(71930),a=e(2289),u=e(75253),c=e(92310),f=e.n(c),s=e(10748),m=e(25629),y=e(21739),v=null,l=y.createContext({});function g(Rt){var Tt=Rt.children,je=_objectWithoutProperties(Rt,v);return React.createElement(l.Provider,{value:je},Tt)}var E=e(17712),w=e(38261),S=e(96798),x=e(29384),O=function(Rt){(0,S.Z)(je,Rt);var Tt=(0,x.Z)(je);function je(){return(0,E.Z)(this,je),Tt.apply(this,arguments)}return(0,w.Z)(je,[{key:"render",value:function(){return this.props.children}}]),je}(y.Component),j=O,_=e(40150),K=e(60665),P=e(30609);function I(Rt){var Tt=y.useReducer(function(Lt){return Lt+1},0),je=(0,a.Z)(Tt,2),yt=je[1],Be=y.useRef(Rt),Je=(0,P.Z)(function(){return Be.current}),Nt=(0,P.Z)(function(Lt){Be.current=typeof Lt=="function"?Lt(Be.current):Lt,yt()});return[Je,Nt]}var L="none",H="appear",V="enter",B="leave",G="none",ce="prepare",pe="start",Ae="active",Ne="end",me="prepared",Q=e(55562);function ne(Rt,Tt){var je={};return je[Rt.toLowerCase()]=Tt.toLowerCase(),je["Webkit".concat(Rt)]="webkit".concat(Tt),je["Moz".concat(Rt)]="moz".concat(Tt),je["ms".concat(Rt)]="MS".concat(Tt),je["O".concat(Rt)]="o".concat(Tt.toLowerCase()),je}function ae(Rt,Tt){var je={animationend:ne("Animation","AnimationEnd"),transitionend:ne("Transition","TransitionEnd")};return Rt&&("AnimationEvent"in Tt||delete je.animationend.animation,"TransitionEvent"in Tt||delete je.transitionend.transition),je}var U=ae((0,Q.Z)(),typeof window!="undefined"?window:{}),R={};if((0,Q.Z)()){var q=document.createElement("div");R=q.style}var le={};function re(Rt){if(le[Rt])return le[Rt];var Tt=U[Rt];if(Tt)for(var je=Object.keys(Tt),yt=je.length,Be=0;Be1&&arguments[1]!==void 0?arguments[1]:2;Tt();var Je=(0,tt.Z)(function(){Be<=1?yt({isCanceled:function(){return Je!==Rt.current}}):je(yt,Be-1)});Rt.current=Je}return y.useEffect(function(){return function(){Tt()}},[]),[je,Tt]},ee=[ce,pe,Ae,Ne],$=[ce,me],X=!1,Y=!0;function ye(Rt){return Rt===Ae||Rt===Ne}var J=function(Rt,Tt,je){var yt=(0,K.Z)(G),Be=(0,a.Z)(yt,2),Je=Be[0],Nt=Be[1],Lt=gt(),Wt=(0,a.Z)(Lt,2),Xt=Wt[0],ar=Wt[1];function gr(){Nt(ce,!0)}var ur=Tt?$:ee;return Ve(function(){if(Je!==G&&Je!==Ne){var Yr=ur.indexOf(Je),an=ur[Yr+1],aa=je(Je);aa===X?Nt(an,!0):an&&Xt(function(la){function Ln(){la.isCanceled()||Nt(an,!0)}aa===!0?Ln():Promise.resolve(aa).then(Ln)})}},[Rt,Je]),y.useEffect(function(){return function(){ar()}},[]),[gr,Je]};function ve(Rt,Tt,je,yt){var Be=yt.motionEnter,Je=Be===void 0?!0:Be,Nt=yt.motionAppear,Lt=Nt===void 0?!0:Nt,Wt=yt.motionLeave,Xt=Wt===void 0?!0:Wt,ar=yt.motionDeadline,gr=yt.motionLeaveImmediately,ur=yt.onAppearPrepare,Yr=yt.onEnterPrepare,an=yt.onLeavePrepare,aa=yt.onAppearStart,la=yt.onEnterStart,Ln=yt.onLeaveStart,Hn=yt.onAppearActive,Tn=yt.onEnterActive,Qn=yt.onLeaveActive,qt=yt.onAppearEnd,Kt=yt.onEnterEnd,Jt=yt.onLeaveEnd,Nr=yt.onVisibleChanged,sn=(0,K.Z)(),Lr=(0,a.Z)(sn,2),jn=Lr[0],Wn=Lr[1],On=I(L),$n=(0,a.Z)(On,2),Fr=$n[0],pa=$n[1],fa=(0,K.Z)(null),Ra=(0,a.Z)(fa,2),ja=Ra[0],eo=Ra[1],ba=Fr(),Ca=(0,y.useRef)(!1),Fa=(0,y.useRef)(null);function vo(){return je()}var wa=(0,y.useRef)(!1);function Ma(){pa(L),eo(null,!0)}var Ka=(0,_.zX)(function(zn){var Er=Fr();if(Er!==L){var xa=vo();if(!(zn&&!zn.deadline&&zn.target!==xa)){var Ga=wa.current,Va;Er===H&&Ga?Va=qt==null?void 0:qt(xa,zn):Er===V&&Ga?Va=Kt==null?void 0:Kt(xa,zn):Er===B&&Ga&&(Va=Jt==null?void 0:Jt(xa,zn)),Ga&&Va!==!1&&Ma()}}}),mo=Me(Ka),co=(0,a.Z)(mo,1),So=co[0],to=function(Er){switch(Er){case H:return(0,n.Z)((0,n.Z)((0,n.Z)({},ce,ur),pe,aa),Ae,Hn);case V:return(0,n.Z)((0,n.Z)((0,n.Z)({},ce,Yr),pe,la),Ae,Tn);case B:return(0,n.Z)((0,n.Z)((0,n.Z)({},ce,an),pe,Ln),Ae,Qn);default:return{}}},ga=y.useMemo(function(){return to(ba)},[ba]),uo=J(ba,!Rt,function(zn){if(zn===ce){var Er=ga[ce];return Er?Er(vo()):X}if(ha in ga){var xa;eo(((xa=ga[ha])===null||xa===void 0?void 0:xa.call(ga,vo(),null))||null)}return ha===Ae&&ba!==L&&(So(vo()),ar>0&&(clearTimeout(Fa.current),Fa.current=setTimeout(function(){Ka({deadline:!0})},ar))),ha===me&&Ma(),Y}),po=(0,a.Z)(uo,2),Ha=po[0],ha=po[1],Io=ye(ha);wa.current=Io,Ve(function(){Wn(Tt);var zn=Ca.current;Ca.current=!0;var Er;!zn&&Tt&&Lt&&(Er=H),zn&&Tt&&Je&&(Er=V),(zn&&!Tt&&Xt||!zn&&gr&&!Tt&&Xt)&&(Er=B);var xa=to(Er);Er&&(Rt||xa[ce])?(pa(Er),Ha()):pa(L)},[Tt]),(0,y.useEffect)(function(){(ba===H&&!Lt||ba===V&&!Je||ba===B&&!Xt)&&pa(L)},[Lt,Je,Xt]),(0,y.useEffect)(function(){return function(){Ca.current=!1,clearTimeout(Fa.current)}},[]);var Na=y.useRef(!1);(0,y.useEffect)(function(){jn&&(Na.current=!0),jn!==void 0&&ba===L&&((Na.current||jn)&&(Nr==null||Nr(jn)),Na.current=!0)},[jn,ba]);var ao=ja;return ga[ce]&&ha===pe&&(ao=(0,o.Z)({transition:"none"},ao)),[ba,ha,ao,jn!=null?jn:Tt]}function ge(Rt){var Tt=Rt;(0,u.Z)(Rt)==="object"&&(Tt=Rt.transitionSupport);function je(Be,Je){return!!(Be.motionName&&Tt&&Je!==!1)}var yt=y.forwardRef(function(Be,Je){var Nt=Be.visible,Lt=Nt===void 0?!0:Nt,Wt=Be.removeOnLeave,Xt=Wt===void 0?!0:Wt,ar=Be.forceRender,gr=Be.children,ur=Be.motionName,Yr=Be.leavedClassName,an=Be.eventProps,aa=y.useContext(l),la=aa.motion,Ln=je(Be,la),Hn=(0,y.useRef)(),Tn=(0,y.useRef)();function Qn(){try{return Hn.current instanceof HTMLElement?Hn.current:(0,s.ZP)(Tn.current)}catch(ja){return null}}var qt=ve(Ln,Lt,Qn,Be),Kt=(0,a.Z)(qt,4),Jt=Kt[0],Nr=Kt[1],sn=Kt[2],Lr=Kt[3],jn=y.useRef(Lr);Lr&&(jn.current=!0);var Wn=y.useCallback(function(ja){Hn.current=ja,(0,m.mH)(Je,ja)},[Je]),On,$n=(0,o.Z)((0,o.Z)({},an),{},{visible:Lt});if(!gr)On=null;else if(Jt===L)Lr?On=gr((0,o.Z)({},$n),Wn):!Xt&&jn.current&&Yr?On=gr((0,o.Z)((0,o.Z)({},$n),{},{className:Yr}),Wn):ar||!Xt&&!Yr?On=gr((0,o.Z)((0,o.Z)({},$n),{},{style:{display:"none"}}),Wn):On=null;else{var Fr;Nr===ce?Fr="prepare":ye(Nr)?Fr="active":Nr===pe&&(Fr="start");var pa=Ee(ur,"".concat(Jt,"-").concat(Fr));On=gr((0,o.Z)((0,o.Z)({},$n),{},{className:f()(Ee(ur,Jt),(0,n.Z)((0,n.Z)({},pa,pa&&Fr),ur,typeof ur=="string")),style:sn}),Wn)}if(y.isValidElement(On)&&(0,m.Yr)(On)){var fa=On,Ra=fa.ref;Ra||(On=y.cloneElement(On,{ref:Wn}))}return y.createElement(j,{ref:Tn},On)});return yt.displayName="CSSMotion",yt}var fe=ge(k),Te=e(15250),We=e(61191),nt=e(31367),Xe="add",Ut="keep",Pe="remove",he="removed";function Le(Rt){var Tt;return Rt&&(0,u.Z)(Rt)==="object"&&"key"in Rt?Tt=Rt:Tt={key:Rt},(0,o.Z)((0,o.Z)({},Tt),{},{key:String(Tt.key)})}function b(){var Rt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return Rt.map(Le)}function te(){var Rt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],je=[],yt=0,Be=Tt.length,Je=b(Rt),Nt=b(Tt);Je.forEach(function(Xt){for(var ar=!1,gr=yt;gr1});return Wt.forEach(function(Xt){je=je.filter(function(ar){var gr=ar.key,ur=ar.status;return gr!==Xt||ur!==Pe}),je.forEach(function(ar){ar.key===Xt&&(ar.status=Ut)})}),je}var Re=["component","children","onVisibleChanged","onAllRemoved"],be=["status"],Ze=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Mt(Rt){var Tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:fe,je=function(yt){(0,S.Z)(Je,yt);var Be=(0,x.Z)(Je);function Je(){var Nt;(0,E.Z)(this,Je);for(var Lt=arguments.length,Wt=new Array(Lt),Xt=0;Xt0},fe.prototype.connect_=function(){!g||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),_?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},fe.prototype.disconnect_=function(){!g||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},fe.prototype.onTransitionEnd_=function(Te){var We=Te.propertyName,nt=We===void 0?"":We,Xe=j.some(function(Ut){return!!~nt.indexOf(Ut)});Xe&&this.refresh()},fe.getInstance=function(){return this.instance_||(this.instance_=new fe),this.instance_},fe.instance_=null,fe}(),P=function(fe,Te){for(var We=0,nt=Object.keys(Te);We0},fe}(),R=typeof WeakMap!="undefined"?new WeakMap:new l,q=function(){function fe(Te){if(!(this instanceof fe))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var We=K.getInstance(),nt=new U(Te,We,this);R.set(this,nt)}return fe}();["observe","unobserve","disconnect"].forEach(function(fe){q.prototype[fe]=function(){var Te;return(Te=R.get(this))[fe].apply(Te,arguments)}});var le=function(){return typeof E.ResizeObserver!="undefined"?E.ResizeObserver:q}(),re=le,A=new Map;function W(fe){fe.forEach(function(Te){var We,nt=Te.target;(We=A.get(nt))===null||We===void 0||We.forEach(function(Xe){return Xe(nt)})})}var k=new re(W),Z=null,z=null;function Ee(fe,Te){A.has(fe)||(A.set(fe,new Set),k.observe(fe)),A.get(fe).add(Te)}function Me(fe,Te){A.has(fe)&&(A.get(fe).delete(Te),A.get(fe).size||(k.unobserve(fe),A.delete(fe)))}var et=e(17712),Ve=e(38261),tt=e(96798),gt=e(29384),ee=function(fe){(0,tt.Z)(We,fe);var Te=(0,gt.Z)(We);function We(){return(0,et.Z)(this,We),Te.apply(this,arguments)}return(0,Ve.Z)(We,[{key:"render",value:function(){return this.props.children}}]),We}(o.Component);function $(fe,Te){var We=fe.children,nt=fe.disabled,Xe=o.useRef(null),Ut=o.useRef(null),Pe=o.useContext(y),he=typeof We=="function",Le=he?We(Xe):We,b=o.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),te=!he&&o.isValidElement(Le)&&(0,m.Yr)(Le),Re=te?Le.ref:null,be=(0,m.x1)(Re,Xe),Ze=function(){var Rt;return(0,s.ZP)(Xe.current)||(Xe.current&&(0,f.Z)(Xe.current)==="object"?(0,s.ZP)((Rt=Xe.current)===null||Rt===void 0?void 0:Rt.nativeElement):null)||(0,s.ZP)(Ut.current)};o.useImperativeHandle(Te,function(){return Ze()});var Mt=o.useRef(fe);Mt.current=fe;var _t=o.useCallback(function(Yt){var Rt=Mt.current,Tt=Rt.onResize,je=Rt.data,yt=Yt.getBoundingClientRect(),Be=yt.width,Je=yt.height,Nt=Yt.offsetWidth,Lt=Yt.offsetHeight,Wt=Math.floor(Be),Xt=Math.floor(Je);if(b.current.width!==Wt||b.current.height!==Xt||b.current.offsetWidth!==Nt||b.current.offsetHeight!==Lt){var ar={width:Wt,height:Xt,offsetWidth:Nt,offsetHeight:Lt};b.current=ar;var gr=Nt===Math.round(Be)?Be:Nt,ur=Lt===Math.round(Je)?Je:Lt,Yr=(0,c.Z)((0,c.Z)({},ar),{},{offsetWidth:gr,offsetHeight:ur});Pe==null||Pe(Yr,Yt,je),Tt&&Promise.resolve().then(function(){Tt(Yr,Yt)})}},[]);return o.useEffect(function(){var Yt=Ze();return Yt&&!nt&&Ee(Yt,_t),function(){return Me(Yt,_t)}},[Xe.current,nt]),o.createElement(ee,{ref:Ut},te?o.cloneElement(Le,{ref:be}):Le)}var X=o.forwardRef($),Y=X,ye="rc-observer-key";function J(fe,Te){var We=fe.children,nt=typeof We=="function"?[We]:(0,a.Z)(We);return nt.map(function(Xe,Ut){var Pe=(Xe==null?void 0:Xe.key)||"".concat(ye,"-").concat(Ut);return o.createElement(Y,(0,n.Z)({},fe,{key:Pe,ref:Ut===0?Te:void 0}),Xe)})}var ve=o.forwardRef(J);ve.Collection=v;var ge=ve},75440:function(d,p,e){"use strict";e.d(p,{Z:function(){return a}});var n=e(21739),o=e(23265);function a(u){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},f=[];return n.Children.forEach(u,function(s){s==null&&!c.keepEmpty||(Array.isArray(s)?f=f.concat(a(s)):(0,o.isFragment)(s)&&s.props?f=f.concat(a(s.props.children,c)):f.push(s))}),f}},55562:function(d,p,e){"use strict";e.d(p,{Z:function(){return n}});function n(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}},10748:function(d,p,e){"use strict";e.d(p,{Sh:function(){return u},ZP:function(){return f}});var n=e(75253),o=e(21739),a=e(67820);function u(s){return s instanceof HTMLElement||s instanceof SVGElement}function c(s){return s&&(0,n.Z)(s)==="object"&&u(s.nativeElement)?s.nativeElement:u(s)?s:null}function f(s){var m=c(s);if(m)return m;if(s instanceof o.Component){var y;return(y=a.findDOMNode)===null||y===void 0?void 0:y.call(a,s)}return null}},57840:function(d,p){"use strict";p.Z=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var n=e.getBBox(),o=n.width,a=n.height;if(o||a)return!0}if(e.getBoundingClientRect){var u=e.getBoundingClientRect(),c=u.width,f=u.height;if(c||f)return!0}}return!1}},78962:function(d,p,e){"use strict";e.d(p,{A:function(){return a}});function n(u){var c;return u==null||(c=u.getRootNode)===null||c===void 0?void 0:c.call(u)}function o(u){return n(u)instanceof ShadowRoot}function a(u){return o(u)?n(u):null}},20287:function(d,p){"use strict";var e={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(o){var a=o.keyCode;if(o.altKey&&!o.ctrlKey||o.metaKey||a>=e.F1&&a<=e.F12)return!1;switch(a){case e.ALT:case e.CAPS_LOCK:case e.CONTEXT_MENU:case e.CTRL:case e.DOWN:case e.END:case e.ESC:case e.HOME:case e.INSERT:case e.LEFT:case e.MAC_FF_META:case e.META:case e.NUMLOCK:case e.NUM_CENTER:case e.PAGE_DOWN:case e.PAGE_UP:case e.PAUSE:case e.PRINT_SCREEN:case e.RIGHT:case e.SHIFT:case e.UP:case e.WIN_KEY:case e.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(o){if(o>=e.ZERO&&o<=e.NINE||o>=e.NUM_ZERO&&o<=e.NUM_MULTIPLY||o>=e.A&&o<=e.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&o===0)return!0;switch(o){case e.SPACE:case e.QUESTION_MARK:case e.NUM_PLUS:case e.NUM_MINUS:case e.NUM_PERIOD:case e.NUM_DIVISION:case e.SEMICOLON:case e.DASH:case e.EQUALS:case e.COMMA:case e.PERIOD:case e.SLASH:case e.APOSTROPHE:case e.SINGLE_QUOTE:case e.OPEN_SQUARE_BRACKET:case e.BACKSLASH:case e.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};p.Z=e},30609:function(d,p,e){"use strict";e.d(p,{Z:function(){return o}});var n=e(21739);function o(a){var u=n.useRef();u.current=a;var c=n.useCallback(function(){for(var f,s=arguments.length,m=new Array(s),y=0;y3&&arguments[3]!==void 0?arguments[3]:!1;return g.length&&w&&E===void 0&&!get(l,g.slice(0,-1))?l:u(l,g,E,w)}function f(l){return _typeof(l)==="object"&&l!==null&&Object.getPrototypeOf(l)===Object.prototype}function s(l){return Array.isArray(l)?[]:{}}var m=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function y(){for(var l=arguments.length,g=new Array(l),E=0;E1&&arguments[1]!==void 0?arguments[1]:1;o+=1;var y=o;function v(l){if(l===0)u(y),s();else{var g=e(function(){v(l-1)});a.set(y,g)}}return v(m),y};c.cancel=function(f){var s=a.get(f);return u(f),n(s)},p.Z=c},25629:function(d,p,e){"use strict";e.d(p,{Yr:function(){return m},mH:function(){return c},sQ:function(){return f},x1:function(){return s}});var n=e(75253),o=e(21739),a=e(23265),u=e(19544),c=function(E,w){typeof E=="function"?E(w):(0,n.Z)(E)==="object"&&E&&"current"in E&&(E.current=w)},f=function(){for(var E=arguments.length,w=new Array(E),S=0;S=19?function(g){return y(g)?g.props.ref:null}:function(g){return y(g)?g.ref:null}},85870:function(d,p,e){"use strict";var n={},o=[],a=function(l){o.push(l)};function u(v,l){if(0)var g}function c(v,l){if(0)var g}function f(){n={}}function s(v,l,g){!l&&!n[g]&&(v(!1,g),n[g]=!0)}function m(v,l){s(u,v,l)}function y(v,l){s(c,v,l)}m.preMessage=a,m.resetWarned=f,m.noteOnce=y,p.ZP=m},98039:function(d,p,e){"use strict";var n,o=e(56145).default;n={value:!0},n=c;var a=o(e(21739)),u=e(23265);function c(f){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},m=[];return a.default.Children.forEach(f,function(y){y==null&&!s.keepEmpty||(Array.isArray(y)?m=m.concat(c(y)):(0,u.isFragment)(y)&&y.props?m=m.concat(c(y.props.children,s)):m.push(y))}),m}},54892:function(d,p,e){"use strict";function n(I){"@babel/helpers - typeof";return n=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},n(I)}Object.defineProperty(p,"__esModule",{value:!0}),p.CopyToClipboard=void 0;var o=c(e(21739)),a=c(e(25769)),u=["text","onCopy","options","children"];function c(I){return I&&I.__esModule?I:{default:I}}function f(I,L){var H=Object.keys(I);if(Object.getOwnPropertySymbols){var V=Object.getOwnPropertySymbols(I);L&&(V=V.filter(function(B){return Object.getOwnPropertyDescriptor(I,B).enumerable})),H.push.apply(H,V)}return H}function s(I){for(var L=1;L=0)&&Object.prototype.propertyIsEnumerable.call(I,V)&&(H[V]=I[V])}return H}function y(I,L){if(I==null)return{};var H={},V=Object.keys(I),B,G;for(G=0;G=0)&&(H[B]=I[B]);return H}function v(I,L){if(!(I instanceof L))throw new TypeError("Cannot call a class as a function")}function l(I,L){for(var H=0;Hr}return!1}function x(t,r,i,h,T,D,oe){this.acceptsBooleans=r===2||r===3||r===4,this.attributeName=h,this.attributeNamespace=T,this.mustUseProperty=i,this.propertyName=t,this.type=r,this.sanitizeURL=D,this.removeEmptyString=oe}var O={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){O[t]=new x(t,0,!1,t,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var r=t[0];O[r]=new x(r,1,!1,t[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(t){O[t]=new x(t,2,!1,t.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){O[t]=new x(t,2,!1,t,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(t){O[t]=new x(t,3,!1,t.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(t){O[t]=new x(t,3,!0,t,null,!1,!1)}),["capture","download"].forEach(function(t){O[t]=new x(t,4,!1,t,null,!1,!1)}),["cols","rows","size","span"].forEach(function(t){O[t]=new x(t,6,!1,t,null,!1,!1)}),["rowSpan","start"].forEach(function(t){O[t]=new x(t,5,!1,t.toLowerCase(),null,!1,!1)});var j=/[\-:]([a-z])/g;function _(t){return t[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(t){var r=t.replace(j,_);O[r]=new x(r,1,!1,t,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var r=t.replace(j,_);O[r]=new x(r,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(t){var r=t.replace(j,_);O[r]=new x(r,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(t){O[t]=new x(t,1,!1,t.toLowerCase(),null,!1,!1)}),O.xlinkHref=new x("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(t){O[t]=new x(t,1,!1,t.toLowerCase(),null,!0,!0)});function K(t,r,i,h){var T=O.hasOwnProperty(r)?O[r]:null;(T!==null?T.type!==0:h||!(2_&&v(pe,arguments[_]),pe});if(V.prototype=L,P!=="Error"?c?c(V,H):f(V,H,{name:!0}):g&&j in I&&(s(V,I,j),s(V,I,"prepareStackTrace")),f(V,I),!E)try{L.name!==P&&a(L,"name",P),L.constructor=V}catch(B){}return V}}},93074:function(d,p,e){"use strict";var n=e(94488),o=e(65911),a=e(13743),u=e(3338),c=e(78540),f="AggregateError",s=o(f),m=!u(function(){return s([1]).errors[0]!==1})&&u(function(){return s([1],f,{cause:7}).cause!==7});n({global:!0,constructor:!0,arity:2,forced:m},{AggregateError:c(f,function(y){return function(l,g){return a(y,this,arguments)}},m,!0)})},6555:function(d,p,e){"use strict";var n=e(94488),o=e(16332),a=e(53456),u=e(58218),c=e(24538),f=e(20132),s=e(68151),m=e(35012),y=e(73068),v=e(61888),l=e(62003),g=e(7825),E=e(59893),w=E("toStringTag"),S=Error,x=[].push,O=function(K,P){var I=o(j,this),L;u?L=u(new S,I?a(this):j):(L=I?this:f(j),s(L,w,"Error")),P!==void 0&&s(L,"message",g(P)),v(L,O,L.stack,1),arguments.length>2&&y(L,arguments[2]);var H=[];return l(K,x,{that:H}),s(L,"errors",H),L};u?u(O,S):c(O,S,{name:!0});var j=O.prototype=f(S.prototype,{constructor:m(1,O),message:m(1,""),name:m(1,"AggregateError")});n({global:!0,constructor:!0,arity:2},{AggregateError:O})},86357:function(d,p,e){"use strict";e(6555)},96331:function(d,p,e){"use strict";var n=e(94488),o=e(94029),a=e(82762),u=e(56902),c=e(81181);n({target:"Array",proto:!0},{at:function(s){var m=o(this),y=a(m),v=u(s),l=v>=0?v:y+v;return l<0||l>=y?void 0:m[l]}}),c("at")},17482:function(d,p,e){"use strict";var n=e(94488),o=e(53279).findLastIndex,a=e(81181);n({target:"Array",proto:!0},{findLastIndex:function(c){return o(this,c,arguments.length>1?arguments[1]:void 0)}}),a("findLastIndex")},33717:function(d,p,e){"use strict";var n=e(94488),o=e(53279).findLast,a=e(81181);n({target:"Array",proto:!0},{findLast:function(c){return o(this,c,arguments.length>1?arguments[1]:void 0)}}),a("findLast")},7154:function(d,p,e){"use strict";var n=e(94488),o=e(94029),a=e(82762),u=e(39428),c=e(66434),f=e(3338),s=f(function(){return[].push.call({length:4294967296},1)!==4294967297}),m=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(v){return v instanceof TypeError}},y=s||!m();n({target:"Array",proto:!0,arity:1,forced:y},{push:function(l){var g=o(this),E=a(g),w=arguments.length;c(E+w);for(var S=0;S79&&u<83,s=f||!a("reduceRight");n({target:"Array",proto:!0,forced:s},{reduceRight:function(y){return o(this,y,arguments.length,arguments.length>1?arguments[1]:void 0)}})},67788:function(d,p,e){"use strict";var n=e(94488),o=e(16370).left,a=e(45601),u=e(46573),c=e(90946),f=!c&&u>79&&u<83,s=f||!a("reduce");n({target:"Array",proto:!0,forced:s},{reduce:function(y){var v=arguments.length;return o(this,y,v,v>1?arguments[1]:void 0)}})},1148:function(d,p,e){"use strict";var n=e(94488),o=e(85903),a=e(80524),u=e(81181),c=Array;n({target:"Array",proto:!0},{toReversed:function(){return o(a(this),c)}}),u("toReversed")},82445:function(d,p,e){"use strict";var n=e(94488),o=e(94237),a=e(63335),u=e(80524),c=e(69478),f=e(55174),s=e(81181),m=Array,y=o(f("Array","sort"));n({target:"Array",proto:!0},{toSorted:function(l){l!==void 0&&a(l);var g=u(this),E=c(m,g);return y(E,l)}}),s("toSorted")},27267:function(d,p,e){"use strict";var n=e(94488),o=e(81181),a=e(66434),u=e(82762),c=e(51981),f=e(80524),s=e(56902),m=Array,y=Math.max,v=Math.min;n({target:"Array",proto:!0},{toSpliced:function(g,E){var w=f(this),S=u(w),x=c(g,S),O=arguments.length,j=0,_,K,P,I;for(O===0?_=K=0:O===1?(_=0,K=S-x):(_=O-2,K=v(y(s(E),0),S-x)),P=a(S+_-K),I=m(P);j=0?E:g+E;return w<0||w>=g?void 0:s(l,w)}})},32493:function(d,p,e){"use strict";var n=e(94488),o=e(94237),a=e(95955),u=e(69905),c=o("".charCodeAt);n({target:"String",proto:!0},{isWellFormed:function(){for(var s=u(a(this)),m=s.length,y=0;y=56320||++y>=m||(c(s,y)&64512)!==56320))return!1}return!0}})},55629:function(d,p,e){"use strict";var n=e(94488),o=e(89945),a=e(94237),u=e(95955),c=e(55327),f=e(4112),s=e(44639),m=e(69905),y=e(53776),v=e(81644),l=e(23011),g=e(59893),E=e(16697),w=g("replace"),S=TypeError,x=a("".indexOf),O=a("".replace),j=a("".slice),_=Math.max,K=function(P,I,L){return L>P.length?-1:I===""?L:x(P,I,L)};n({target:"String",proto:!0},{replaceAll:function(I,L){var H=u(this),V,B,G,ce,pe,Ae,Ne,me,Q,ne=0,ae=0,U="";if(!f(I)){if(V=s(I),V&&(B=m(u(v(I))),!~x(B,"g")))throw new S("`.replaceAll` does not allow non-global regexes");if(G=y(I,w),G)return o(G,I,H,L);if(E&&V)return O(m(H),I,L)}for(ce=m(H),pe=m(I),Ae=c(L),Ae||(L=m(L)),Ne=pe.length,me=_(1,Ne),ne=K(ce,pe,0);ne!==-1;)Q=Ae?m(L(pe,ne,ce)):l(pe,ce,ne,[],void 0,L),U+=j(ce,ae,ne)+Q,ae=ne+Ne,ne=K(ce,pe,ne+me);return ae=56320||j+1>=x||(y(S,j+1)&64512)!==56320?O[j]=g:(O[j]=m(S,j),O[++j]=m(S,j))}return v(O,"")}})},35246:function(d,p,e){"use strict";var n=e(58261),o=e(82762),a=e(56902),u=n.aTypedArray,c=n.exportTypedArrayMethod;c("at",function(s){var m=u(this),y=o(m),v=a(s),l=v>=0?v:y+v;return l<0||l>=y?void 0:m[l]})},64344:function(d,p,e){"use strict";var n=e(58261),o=e(53279).findLastIndex,a=n.aTypedArray,u=n.exportTypedArrayMethod;u("findLastIndex",function(f){return o(a(this),f,arguments.length>1?arguments[1]:void 0)})},59419:function(d,p,e){"use strict";var n=e(58261),o=e(53279).findLast,a=n.aTypedArray,u=n.exportTypedArrayMethod;u("findLast",function(f){return o(a(this),f,arguments.length>1?arguments[1]:void 0)})},89466:function(d,p,e){"use strict";var n=e(92916),o=e(89945),a=e(58261),u=e(82762),c=e(64135),f=e(94029),s=e(3338),m=n.RangeError,y=n.Int8Array,v=y&&y.prototype,l=v&&v.set,g=a.aTypedArray,E=a.exportTypedArrayMethod,w=!s(function(){var x=new Uint8ClampedArray(2);return o(l,x,{length:1,0:3},1),x[1]!==3}),S=w&&a.NATIVE_ARRAY_BUFFER_VIEWS&&s(function(){var x=new y(2);return x.set(1),x.set("2",1),x[0]!==0||x[1]!==2});E("set",function(O){g(this);var j=c(arguments.length>1?arguments[1]:void 0,1),_=f(O);if(w)return o(l,this,_,j);var K=this.length,P=u(_),I=0;if(P+j>K)throw new m("Wrong length");for(;I1?arguments[1]:void 0)}}),a("filterOut")},55885:function(d,p,e){"use strict";var n=e(94488),o=e(90560).filterReject,a=e(81181);n({target:"Array",proto:!0,forced:!0},{filterReject:function(c){return o(this,c,arguments.length>1?arguments[1]:void 0)}}),a("filterReject")},91130:function(d,p,e){"use strict";var n=e(94488),o=e(32278);n({target:"Array",stat:!0},{fromAsync:o})},64963:function(d,p,e){"use strict";var n=e(94488),o=e(45601),a=e(81181),u=e(33940),c=e(16697);n({target:"Array",proto:!0,name:"groupToMap",forced:c||!o("groupByToMap")},{groupByToMap:u}),a("groupByToMap")},8604:function(d,p,e){"use strict";var n=e(94488),o=e(36444),a=e(45601),u=e(81181);n({target:"Array",proto:!0,forced:!a("groupBy")},{groupBy:function(f){var s=arguments.length>1?arguments[1]:void 0;return o(this,f,s)}}),u("groupBy")},25178:function(d,p,e){"use strict";var n=e(94488),o=e(81181),a=e(33940),u=e(16697);n({target:"Array",proto:!0,forced:u},{groupToMap:a}),o("groupToMap")},39034:function(d,p,e){"use strict";var n=e(94488),o=e(36444),a=e(81181);n({target:"Array",proto:!0},{group:function(c){var f=arguments.length>1?arguments[1]:void 0;return o(this,c,f)}}),a("group")},1905:function(d,p,e){"use strict";var n=e(94488),o=e(18589),a=Object.isFrozen,u=function(c,f){if(!a||!o(c)||!a(c))return!1;for(var s=0,m=c.length,y;s1?arguments[1]:!1);return a([s&255,s>>8&255],10)}})},93236:function(d,p,e){"use strict";var n=e(94488),o=e(94237),a=o(DataView.prototype.getUint8);n({target:"DataView",proto:!0,forced:!0},{getUint8Clamped:function(c){return a(this,c)}})},42212:function(d,p,e){"use strict";var n=e(94488),o=e(94237),a=e(97607),u=e(24225),c=e(61618).pack,f=e(35175),s=TypeError,m=o(DataView.prototype.setUint16);n({target:"DataView",proto:!0},{setFloat16:function(v,l){if(a(this)!=="DataView")throw new s("Incorrect receiver");var g=u(v),E=c(f(l),10,2);return m(this,g,E[1]<<8|E[0],arguments.length>2?arguments[2]:!1)}})},63923:function(d,p,e){"use strict";var n=e(94488),o=e(94237),a=e(97607),u=e(24225),c=e(86350),f=TypeError,s=o(DataView.prototype.setUint8);n({target:"DataView",proto:!0,forced:!0},{setUint8Clamped:function(y,v){if(a(this)!=="DataView")throw new f("Incorrect receiver");var l=u(y);return s(this,l,c(v))}})},2278:function(d,p,e){"use strict";var n=e(94488),o=e(35454),a=e(65911),u=e(63335),c=e(56472),f=e(2291),s=e(66477),m=e(64110),y=e(59893),v=e(94844),l=e(5978),g=a("SuppressedError"),E=ReferenceError,w=y("dispose"),S=y("toStringTag"),x="DisposableStack",O=v.set,j=v.getterFor(x),_="sync-dispose",K="disposed",P="pending",I=function(V){var B=j(V);if(B.state===K)throw new E(x+" already disposed");return B},L=function(){O(c(this,H),{type:x,state:P,stack:[]}),o||(this.disposed=!1)},H=L.prototype;s(H,{dispose:function(){var B=j(this);if(B.state!==K){B.state=K,o||(this.disposed=!0);for(var G=B.stack,ce=G.length,pe=!1,Ae;ce;){var Ne=G[--ce];G[ce]=null;try{Ne()}catch(me){pe?Ae=new g(me,Ae):(pe=!0,Ae=me)}}if(B.stack=null,pe)throw Ae}},use:function(B){return l(I(this),B,_),B},adopt:function(B,G){var ce=I(this);return u(G),l(ce,void 0,_,function(){G(B)}),B},defer:function(B){var G=I(this);u(B),l(G,void 0,_,B)},move:function(){var B=I(this),G=new L;return j(G).stack=B.stack,B.stack=[],B.state=K,o||(this.disposed=!0),G}}),o&&m(H,"disposed",{configurable:!0,get:function(){return j(this).state===K}}),f(H,w,H.dispose,{name:"dispose"}),f(H,S,x,{nonWritable:!0}),n({global:!0,constructor:!0},{DisposableStack:L})},36955:function(d,p,e){"use strict";var n=e(94488),o=e(47739);n({target:"Function",proto:!0,forced:!0},{demethodize:o})},77326:function(d,p,e){"use strict";var n=e(94488),o=e(94237),a=e(55327),u=e(15212),c=e(32621),f=e(35454),s=Object.getOwnPropertyDescriptor,m=/^\s*class\b/,y=o(m.exec),v=function(l){try{if(!f||!y(m,u(l)))return!1}catch(E){}var g=s(l,"prototype");return!!g&&c(g,"writable")&&!g.writable};n({target:"Function",stat:!0,sham:!0,forced:!0},{isCallable:function(g){return a(g)&&!v(g)}})},53571:function(d,p,e){"use strict";var n=e(94488),o=e(39812);n({target:"Function",stat:!0,forced:!0},{isConstructor:o})},28670:function(d,p,e){"use strict";var n=e(59893),o=e(37691).f,a=n("metadata"),u=Function.prototype;u[a]===void 0&&o(u,a,{value:null})},31050:function(d,p,e){"use strict";var n=e(94488),o=e(47739);n({target:"Function",proto:!0,forced:!0,name:"demethodize"},{unThis:o})},96364:function(d,p,e){"use strict";var n=e(94488),o=e(24771);n({target:"Iterator",name:"indexed",proto:!0,real:!0,forced:!0},{asIndexedPairs:o})},25321:function(d,p,e){"use strict";var n=e(94488),o=e(92916),a=e(56472),u=e(80449),c=e(55327),f=e(53456),s=e(64110),m=e(69392),y=e(3338),v=e(32621),l=e(59893),g=e(46571).IteratorPrototype,E=e(35454),w=e(16697),S="constructor",x="Iterator",O=l("toStringTag"),j=TypeError,_=o[x],K=w||!c(_)||_.prototype!==g||!y(function(){_({})}),P=function(){if(a(this,g),f(this)===g)throw new j("Abstract class Iterator not directly constructable")},I=function(L,H){E?s(g,L,{configurable:!0,get:function(){return H},set:function(V){if(u(this),this===g)throw new j("You can't redefine this property");v(this,L)?this[L]=V:m(this,L,V)}}):g[L]=H};v(g,O)||I(O,x),(K||!v(g,S)||g[S]===Object)&&I(S,P),P.prototype=g,n({global:!0,constructor:!0,forced:K},{Iterator:P})},46304:function(d,p,e){"use strict";var n=e(89945),o=e(2291),a=e(53776),u=e(32621),c=e(59893),f=e(46571).IteratorPrototype,s=c("dispose");u(f,s)||o(f,s,function(){var m=a(this,"return");m&&n(m,this)})},55163:function(d,p,e){"use strict";var n=e(94488),o=e(89945),a=e(80449),u=e(10731),c=e(2279),f=e(51358),s=e(20547),m=e(16697),y=s(function(){for(var v=this.iterator,l=this.next,g,E;this.remaining;)if(this.remaining--,g=a(o(l,v)),E=this.done=!!g.done,E)return;if(g=a(o(l,v)),E=this.done=!!g.done,!E)return g.value});n({target:"Iterator",proto:!0,real:!0,forced:m},{drop:function(l){a(this);var g=f(c(+l));return new y(u(this),{remaining:g})}})},78722:function(d,p,e){"use strict";var n=e(94488),o=e(62003),a=e(63335),u=e(80449),c=e(10731);n({target:"Iterator",proto:!0,real:!0},{every:function(s){u(this),a(s);var m=c(this),y=0;return!o(m,function(v,l){if(!s(v,y++))return l()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},35977:function(d,p,e){"use strict";var n=e(94488),o=e(89945),a=e(63335),u=e(80449),c=e(10731),f=e(20547),s=e(46319),m=e(16697),y=f(function(){for(var v=this.iterator,l=this.predicate,g=this.next,E,w,S;;){if(E=u(o(g,v)),w=this.done=!!E.done,w)return;if(S=E.value,s(v,l,[S,this.counter++],!0))return S}});n({target:"Iterator",proto:!0,real:!0,forced:m},{filter:function(l){return u(this),a(l),new y(c(this),{predicate:l})}})},81848:function(d,p,e){"use strict";var n=e(94488),o=e(62003),a=e(63335),u=e(80449),c=e(10731);n({target:"Iterator",proto:!0,real:!0},{find:function(s){u(this),a(s);var m=c(this),y=0;return o(m,function(v,l){if(s(v,y++))return l(v)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})},52867:function(d,p,e){"use strict";var n=e(94488),o=e(89945),a=e(63335),u=e(80449),c=e(10731),f=e(7157),s=e(20547),m=e(67996),y=e(16697),v=s(function(){for(var l=this.iterator,g=this.mapper,E,w;;){if(w=this.inner)try{if(E=u(o(w.next,w.iterator)),!E.done)return E.value;this.inner=null}catch(S){m(l,"throw",S)}if(E=u(o(this.next,l)),this.done=!!E.done)return;try{this.inner=f(g(E.value,this.counter++),!1)}catch(S){m(l,"throw",S)}}});n({target:"Iterator",proto:!0,real:!0,forced:y},{flatMap:function(g){return u(this),a(g),new v(c(this),{mapper:g,inner:null})}})},72211:function(d,p,e){"use strict";var n=e(94488),o=e(62003),a=e(63335),u=e(80449),c=e(10731);n({target:"Iterator",proto:!0,real:!0},{forEach:function(s){u(this),a(s);var m=c(this),y=0;o(m,function(v){s(v,y++)},{IS_RECORD:!0})}})},84862:function(d,p,e){"use strict";var n=e(94488),o=e(89945),a=e(94029),u=e(16332),c=e(46571).IteratorPrototype,f=e(20547),s=e(7157),m=e(16697),y=f(function(){return o(this.next,this.iterator)},!0);n({target:"Iterator",stat:!0,forced:m},{from:function(l){var g=s(typeof l=="string"?a(l):l,!0);return u(c,g.iterator)?g.iterator:new y(g)}})},92381:function(d,p,e){"use strict";var n=e(94488),o=e(24771);n({target:"Iterator",proto:!0,real:!0,forced:!0},{indexed:o})},19517:function(d,p,e){"use strict";var n=e(94488),o=e(2155),a=e(16697);n({target:"Iterator",proto:!0,real:!0,forced:a},{map:o})},69667:function(d,p,e){"use strict";var n=e(94488),o=e(17243),a=TypeError;n({target:"Iterator",stat:!0,forced:!0},{range:function(c,f,s){if(typeof c=="number")return new o(c,f,s,"number",0,1);if(typeof c=="bigint")return new o(c,f,s,"bigint",BigInt(0),BigInt(1));throw new a("Incorrect Iterator.range arguments")}})},80820:function(d,p,e){"use strict";var n=e(94488),o=e(62003),a=e(63335),u=e(80449),c=e(10731),f=TypeError;n({target:"Iterator",proto:!0,real:!0},{reduce:function(m){u(this),a(m);var y=c(this),v=arguments.length<2,l=v?void 0:arguments[1],g=0;if(o(y,function(E){v?(v=!1,l=E):l=m(l,E,g),g++},{IS_RECORD:!0}),v)throw new f("Reduce of empty iterator with no initial value");return l}})},87873:function(d,p,e){"use strict";var n=e(94488),o=e(62003),a=e(63335),u=e(80449),c=e(10731);n({target:"Iterator",proto:!0,real:!0},{some:function(s){u(this),a(s);var m=c(this),y=0;return o(m,function(v,l){if(s(v,y++))return l()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},54609:function(d,p,e){"use strict";var n=e(94488),o=e(89945),a=e(80449),u=e(10731),c=e(2279),f=e(51358),s=e(20547),m=e(67996),y=e(16697),v=s(function(){var l=this.iterator;if(!this.remaining--)return this.done=!0,m(l,"normal",void 0);var g=a(o(this.next,l)),E=this.done=!!g.done;if(!E)return g.value});n({target:"Iterator",proto:!0,real:!0,forced:y},{take:function(g){a(this);var E=f(c(+g));return new v(u(this),{remaining:E})}})},28566:function(d,p,e){"use strict";var n=e(94488),o=e(80449),a=e(62003),u=e(10731),c=[].push;n({target:"Iterator",proto:!0,real:!0},{toArray:function(){var s=[];return a(u(o(this)),c,{that:s,IS_RECORD:!0}),s}})},51697:function(d,p,e){"use strict";var n=e(94488),o=e(80449),a=e(57975),u=e(80025),c=e(10731),f=e(16697);n({target:"Iterator",proto:!0,real:!0,forced:f},{toAsync:function(){return new u(c(new a(c(o(this)))))}})},61872:function(d,p,e){"use strict";var n=e(94488),o=e(82778),a=e(83502);n({target:"JSON",stat:!0,forced:!o},{isRawJSON:a})},76077:function(d,p,e){"use strict";var n=e(94488),o=e(35454),a=e(92916),u=e(65911),c=e(94237),f=e(89945),s=e(55327),m=e(31946),y=e(18589),v=e(32621),l=e(69905),g=e(82762),E=e(69392),w=e(3338),S=e(70913),x=e(42820),O=a.JSON,j=a.Number,_=a.SyntaxError,K=O&&O.parse,P=u("Object","keys"),I=Object.getOwnPropertyDescriptor,L=c("".charAt),H=c("".slice),V=c(/./.exec),B=c([].push),G=/^\d$/,ce=/^[1-9]$/,pe=/^(?:-|\d)$/,Ae=/^[\t\n\r ]$/,Ne=0,me=1,Q=function(re,A){re=l(re);var W=new R(re,0,""),k=W.parse(),Z=k.value,z=W.skip(Ae,k.end);if(z1?arguments[1]:void 0);return u(s,function(y,v){if(!m(y,v,s))return!1},!0)!==!1}})},28220:function(d,p,e){"use strict";var n=e(94488),o=e(80666),a=e(42683),u=e(2786),c=e(95037),f=u.Map,s=u.set;n({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(y){var v=a(this),l=o(y,arguments.length>1?arguments[1]:void 0),g=new f;return c(v,function(E,w){l(E,w,v)&&s(g,w,E)}),g}})},49350:function(d,p,e){"use strict";var n=e(94488),o=e(80666),a=e(42683),u=e(95037);n({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(f){var s=a(this),m=o(f,arguments.length>1?arguments[1]:void 0),y=u(s,function(v,l){if(m(v,l,s))return{key:l}},!0);return y&&y.key}})},62060:function(d,p,e){"use strict";var n=e(94488),o=e(80666),a=e(42683),u=e(95037);n({target:"Map",proto:!0,real:!0,forced:!0},{find:function(f){var s=a(this),m=o(f,arguments.length>1?arguments[1]:void 0),y=u(s,function(v,l){if(m(v,l,s))return{value:v}},!0);return y&&y.value}})},20126:function(d,p,e){"use strict";var n=e(94488),o=e(5370);n({target:"Map",stat:!0,forced:!0},{from:o})},18090:function(d,p,e){"use strict";var n=e(94488),o=e(88134),a=e(42683),u=e(95037);n({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(f){return u(a(this),function(s){if(o(s,f))return!0},!0)===!0}})},14309:function(d,p,e){"use strict";var n=e(94488),o=e(89945),a=e(62003),u=e(55327),c=e(63335),f=e(2786).Map;n({target:"Map",stat:!0,forced:!0},{keyBy:function(m,y){var v=u(this)?this:f,l=new v;c(y);var g=c(l.set);return a(m,function(E){o(g,l,y(E),E)}),l}})},17822:function(d,p,e){"use strict";var n=e(94488),o=e(42683),a=e(95037);n({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(c){var f=a(o(this),function(s,m){if(s===c)return{key:m}},!0);return f&&f.key}})},83543:function(d,p,e){"use strict";var n=e(94488),o=e(80666),a=e(42683),u=e(2786),c=e(95037),f=u.Map,s=u.set;n({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(y){var v=a(this),l=o(y,arguments.length>1?arguments[1]:void 0),g=new f;return c(v,function(E,w){s(g,l(E,w,v),E)}),g}})},13853:function(d,p,e){"use strict";var n=e(94488),o=e(80666),a=e(42683),u=e(2786),c=e(95037),f=u.Map,s=u.set;n({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(y){var v=a(this),l=o(y,arguments.length>1?arguments[1]:void 0),g=new f;return c(v,function(E,w){s(g,w,l(E,w,v))}),g}})},25188:function(d,p,e){"use strict";var n=e(94488),o=e(42683),a=e(62003),u=e(2786).set;n({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(f){for(var s=o(this),m=arguments.length,y=0;y1?arguments[1]:void 0);return u(s,function(y,v){if(m(y,v,s))return!0},!0)===!0}})},8774:function(d,p,e){"use strict";var n=e(94488),o=e(14615);n({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:o})},6736:function(d,p,e){"use strict";var n=e(94488),o=e(63335),a=e(42683),u=e(2786),c=TypeError,f=u.get,s=u.has,m=u.set;n({target:"Map",proto:!0,real:!0,forced:!0},{update:function(v,l){var g=a(this),E=arguments.length;o(l);var w=s(g,v);if(!w&&E<3)throw new c("Updating absent value");var S=w?f(g,v):o(E>2?arguments[2]:void 0)(v,g);return m(g,v,l(S,v,g)),g}})},94065:function(d,p,e){"use strict";var n=e(94488),o=e(14615);n({target:"Map",proto:!0,real:!0,forced:!0},{upsert:o})},93036:function(d,p,e){"use strict";var n=e(94488),o=Math.min,a=Math.max;n({target:"Math",stat:!0,forced:!0},{clamp:function(c,f,s){return o(s,a(f,c))}})},75708:function(d,p,e){"use strict";var n=e(94488);n({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{DEG_PER_RAD:Math.PI/180})},84624:function(d,p,e){"use strict";var n=e(94488),o=180/Math.PI;n({target:"Math",stat:!0,forced:!0},{degrees:function(u){return u*o}})},43710:function(d,p,e){"use strict";var n=e(94488),o=e(35175);n({target:"Math",stat:!0},{f16round:o})},66233:function(d,p,e){"use strict";var n=e(94488),o=e(24619),a=e(14894);n({target:"Math",stat:!0,forced:!0},{fscale:function(c,f,s,m,y){return a(o(c,f,s,m,y))}})},92762:function(d,p,e){"use strict";var n=e(94488);n({target:"Math",stat:!0,forced:!0},{iaddh:function(a,u,c,f){var s=a>>>0,m=u>>>0,y=c>>>0;return m+(f>>>0)+((s&y|(s|y)&~(s+y>>>0))>>>31)|0}})},24467:function(d,p,e){"use strict";var n=e(94488);n({target:"Math",stat:!0,forced:!0},{imulh:function(a,u){var c=65535,f=+a,s=+u,m=f&c,y=s&c,v=f>>16,l=s>>16,g=(v*y>>>0)+(m*y>>>16);return v*l+(g>>16)+((m*l>>>0)+(g&c)>>16)}})},68465:function(d,p,e){"use strict";var n=e(94488);n({target:"Math",stat:!0,forced:!0},{isubh:function(a,u,c,f){var s=a>>>0,m=u>>>0,y=c>>>0;return m-(f>>>0)-((~s&y|~(s^y)&s-y>>>0)>>>31)|0}})},77004:function(d,p,e){"use strict";var n=e(94488);n({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{RAD_PER_DEG:180/Math.PI})},83925:function(d,p,e){"use strict";var n=e(94488),o=Math.PI/180;n({target:"Math",stat:!0,forced:!0},{radians:function(u){return u*o}})},51117:function(d,p,e){"use strict";var n=e(94488),o=e(24619);n({target:"Math",stat:!0,forced:!0},{scale:o})},87236:function(d,p,e){"use strict";var n=e(94488),o=e(80449),a=e(1222),u=e(83126),c=e(25587),f=e(94844),s="Seeded Random",m=s+" Generator",y='Math.seededPRNG() argument should have a "seed" field with a finite value.',v=f.set,l=f.getterFor(m),g=TypeError,E=u(function(S){v(this,{type:m,seed:S%2147483647})},s,function(){var S=l(this),x=S.seed=(S.seed*1103515245+12345)%2147483647;return c((x&1073741823)/1073741823,!1)});n({target:"Math",stat:!0,forced:!0},{seededPRNG:function(S){var x=o(S).seed;if(!a(x))throw new g(y);return new E(x)}})},83733:function(d,p,e){"use strict";var n=e(94488);n({target:"Math",stat:!0,forced:!0},{signbit:function(a){var u=+a;return u===u&&u===0?1/u===-1/0:u<0}})},92044:function(d,p,e){"use strict";var n=e(94488);n({target:"Math",stat:!0,forced:!0},{umulh:function(a,u){var c=65535,f=+a,s=+u,m=f&c,y=s&c,v=f>>>16,l=s>>>16,g=(v*y>>>0)+(m*y>>>16);return v*l+(g>>>16)+((m*l>>>0)+(g&c)>>>16)}})},29190:function(d,p,e){"use strict";var n=e(94488),o=e(94237),a=e(56902),u="Invalid number representation",c="Invalid radix",f=RangeError,s=SyntaxError,m=TypeError,y=parseInt,v=Math.pow,l=/^[\d.a-z]+$/,g=o("".charAt),E=o(l.exec),w=o(1 .toString),S=o("".slice),x=o("".split);n({target:"Number",stat:!0,forced:!0},{fromString:function(j,_){var K=1;if(typeof j!="string")throw new m(u);if(!j.length)throw new s(u);if(g(j,0)==="-"&&(K=-1,j=S(j,1),!j.length))throw new s(u);var P=_===void 0?10:a(_);if(P<2||P>36)throw new f(c);if(!E(l,j))throw new s(u);var I=x(j,"."),L=y(I[0],P);if(I.length>1&&(L+=y(I[1],P)/v(P,I[1].length)),P===10&&w(L,P)!==j)throw new s(u);return K*L}})},10775:function(d,p,e){"use strict";var n=e(94488),o=e(17243);n({target:"Number",stat:!0,forced:!0},{range:function(u,c,f){return new o(u,c,f,"number",0,1)}})},19593:function(d,p,e){"use strict";var n=e(94488),o=e(20574);n({target:"Object",stat:!0,forced:!0},{iterateEntries:function(u){return new o(u,"entries")}})},26502:function(d,p,e){"use strict";var n=e(94488),o=e(20574);n({target:"Object",stat:!0,forced:!0},{iterateKeys:function(u){return new o(u,"keys")}})},10174:function(d,p,e){"use strict";var n=e(94488),o=e(20574);n({target:"Object",stat:!0,forced:!0},{iterateValues:function(u){return new o(u,"values")}})},76867:function(d,p,e){"use strict";var n=e(94488),o=e(89945),a=e(35454),u=e(51996),c=e(63335),f=e(80449),s=e(56472),m=e(55327),y=e(4112),v=e(31946),l=e(53776),g=e(2291),E=e(66477),w=e(64110),S=e(61810),x=e(59893),O=e(94844),j=x("observable"),_="Observable",K="Subscription",P="SubscriptionObserver",I=O.getterFor,L=O.set,H=I(_),V=I(K),B=I(P),G=function(me){this.observer=f(me),this.cleanup=void 0,this.subscriptionObserver=void 0};G.prototype={type:K,clean:function(){var me=this.cleanup;if(me){this.cleanup=void 0;try{me()}catch(Q){S(Q)}}},close:function(){if(!a){var me=this.facade,Q=this.subscriptionObserver;me.closed=!0,Q&&(Q.closed=!0)}this.observer=void 0},isClosed:function(){return this.observer===void 0}};var ce=function(me,Q){var ne=L(this,new G(me)),ae;a||(this.closed=!1);try{(ae=l(me,"start"))&&o(ae,me,this)}catch(le){S(le)}if(!ne.isClosed()){var U=ne.subscriptionObserver=new pe(ne);try{var R=Q(U),q=R;y(R)||(ne.cleanup=m(R.unsubscribe)?function(){q.unsubscribe()}:c(R))}catch(le){U.error(le);return}ne.isClosed()&&ne.clean()}};ce.prototype=E({},{unsubscribe:function(){var Q=V(this);Q.isClosed()||(Q.close(),Q.clean())}}),a&&w(ce.prototype,"closed",{configurable:!0,get:function(){return V(this).isClosed()}});var pe=function(me){L(this,{type:P,subscriptionState:me}),a||(this.closed=!1)};pe.prototype=E({},{next:function(Q){var ne=B(this).subscriptionState;if(!ne.isClosed()){var ae=ne.observer;try{var U=l(ae,"next");U&&o(U,ae,Q)}catch(R){S(R)}}},error:function(Q){var ne=B(this).subscriptionState;if(!ne.isClosed()){var ae=ne.observer;ne.close();try{var U=l(ae,"error");U?o(U,ae,Q):S(Q)}catch(R){S(R)}ne.clean()}},complete:function(){var Q=B(this).subscriptionState;if(!Q.isClosed()){var ne=Q.observer;Q.close();try{var ae=l(ne,"complete");ae&&o(ae,ne)}catch(U){S(U)}Q.clean()}}}),a&&w(pe.prototype,"closed",{configurable:!0,get:function(){return B(this).subscriptionState.isClosed()}});var Ae=function(Q){s(this,Ne),L(this,{type:_,subscriber:c(Q)})},Ne=Ae.prototype;E(Ne,{subscribe:function(Q){var ne=arguments.length;return new ce(m(Q)?{next:Q,error:ne>1?arguments[1]:void 0,complete:ne>2?arguments[2]:void 0}:v(Q)?Q:{},H(this).subscriber)}}),g(Ne,j,function(){return this}),n({global:!0,constructor:!0,forced:!0},{Observable:Ae}),u(_)},14548:function(d,p,e){"use strict";var n=e(94488),o=e(65911),a=e(89945),u=e(80449),c=e(39812),f=e(85428),s=e(53776),m=e(62003),y=e(59893),v=y("observable");n({target:"Observable",stat:!0,forced:!0},{from:function(g){var E=c(this)?this:o("Observable"),w=s(u(g),v);if(w){var S=u(a(w,g));return S.constructor===E?S:new E(function(O){return S.subscribe(O)})}var x=f(g);return new E(function(O){m(x,function(j,_){if(O.next(j),O.closed)return _()},{IS_ITERATOR:!0,INTERRUPTED:!0}),O.complete()})}})},96378:function(d,p,e){"use strict";e(76867),e(14548),e(6053)},6053:function(d,p,e){"use strict";var n=e(94488),o=e(65911),a=e(39812),u=o("Array");n({target:"Observable",stat:!0,forced:!0},{of:function(){for(var f=a(this)?this:o("Observable"),s=arguments.length,m=u(s),y=0;y?@[\\\\\\]^`{|}~"+u+"]","g");n({target:"RegExp",stat:!0,forced:!0},{escape:function(y){var v=a(y),l=c(v,0);return(l>47&&l<58?"\\x3":"")+f(v,s,"\\$&")}})},1220:function(d,p,e){"use strict";var n=e(94488),o=e(17442),a=e(19691).add;n({target:"Set",proto:!0,real:!0,forced:!0},{addAll:function(){for(var c=o(this),f=0,s=arguments.length;f1?arguments[1]:void 0);return u(s,function(y){if(!m(y,y,s))return!1},!0)!==!1}})},38487:function(d,p,e){"use strict";var n=e(94488),o=e(80666),a=e(17442),u=e(19691),c=e(57002),f=u.Set,s=u.add;n({target:"Set",proto:!0,real:!0,forced:!0},{filter:function(y){var v=a(this),l=o(y,arguments.length>1?arguments[1]:void 0),g=new f;return c(v,function(E){l(E,E,v)&&s(g,E)}),g}})},29916:function(d,p,e){"use strict";var n=e(94488),o=e(80666),a=e(17442),u=e(57002);n({target:"Set",proto:!0,real:!0,forced:!0},{find:function(f){var s=a(this),m=o(f,arguments.length>1?arguments[1]:void 0),y=u(s,function(v){if(m(v,v,s))return{value:v}},!0);return y&&y.value}})},25541:function(d,p,e){"use strict";var n=e(94488),o=e(5370);n({target:"Set",stat:!0,forced:!0},{from:o})},34926:function(d,p,e){"use strict";var n=e(94488),o=e(89945),a=e(77999),u=e(16049);n({target:"Set",proto:!0,real:!0,forced:!0},{intersection:function(f){return o(u,this,a(f))}})},45612:function(d,p,e){"use strict";var n=e(94488),o=e(3338),a=e(16049),u=e(22627),c=!u("intersection")||o(function(){return Array.from(new Set([1,2,3]).intersection(new Set([3,2])))!=="3,2"});n({target:"Set",proto:!0,real:!0,forced:c},{intersection:a})},68255:function(d,p,e){"use strict";var n=e(94488),o=e(89945),a=e(77999),u=e(17616);n({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(f){return o(u,this,a(f))}})},98080:function(d,p,e){"use strict";var n=e(94488),o=e(17616),a=e(22627);n({target:"Set",proto:!0,real:!0,forced:!a("isDisjointFrom")},{isDisjointFrom:o})},16450:function(d,p,e){"use strict";var n=e(94488),o=e(89945),a=e(77999),u=e(84833);n({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function(f){return o(u,this,a(f))}})},96351:function(d,p,e){"use strict";var n=e(94488),o=e(84833),a=e(22627);n({target:"Set",proto:!0,real:!0,forced:!a("isSubsetOf")},{isSubsetOf:o})},86921:function(d,p,e){"use strict";var n=e(94488),o=e(89945),a=e(77999),u=e(51135);n({target:"Set",proto:!0,real:!0,forced:!0},{isSupersetOf:function(f){return o(u,this,a(f))}})},60244:function(d,p,e){"use strict";var n=e(94488),o=e(51135),a=e(22627);n({target:"Set",proto:!0,real:!0,forced:!a("isSupersetOf")},{isSupersetOf:o})},82928:function(d,p,e){"use strict";var n=e(94488),o=e(94237),a=e(17442),u=e(57002),c=e(69905),f=o([].join),s=o([].push);n({target:"Set",proto:!0,real:!0,forced:!0},{join:function(y){var v=a(this),l=y===void 0?",":c(y),g=[];return u(v,function(E){s(g,E)}),f(g,l)}})},42947:function(d,p,e){"use strict";var n=e(94488),o=e(80666),a=e(17442),u=e(19691),c=e(57002),f=u.Set,s=u.add;n({target:"Set",proto:!0,real:!0,forced:!0},{map:function(y){var v=a(this),l=o(y,arguments.length>1?arguments[1]:void 0),g=new f;return c(v,function(E){s(g,l(E,E,v))}),g}})},71568:function(d,p,e){"use strict";var n=e(94488),o=e(48800);n({target:"Set",stat:!0,forced:!0},{of:o})},94194:function(d,p,e){"use strict";var n=e(94488),o=e(63335),a=e(17442),u=e(57002),c=TypeError;n({target:"Set",proto:!0,real:!0,forced:!0},{reduce:function(s){var m=a(this),y=arguments.length<2,v=y?void 0:arguments[1];if(o(s),u(m,function(l){y?(y=!1,v=l):v=s(v,l,l,m)}),y)throw new c("Reduce of empty set with no initial value");return v}})},30556:function(d,p,e){"use strict";var n=e(94488),o=e(80666),a=e(17442),u=e(57002);n({target:"Set",proto:!0,real:!0,forced:!0},{some:function(f){var s=a(this),m=o(f,arguments.length>1?arguments[1]:void 0);return u(s,function(y){if(m(y,y,s))return!0},!0)===!0}})},93102:function(d,p,e){"use strict";var n=e(94488),o=e(89945),a=e(77999),u=e(36312);n({target:"Set",proto:!0,real:!0,forced:!0},{symmetricDifference:function(f){return o(u,this,a(f))}})},32100:function(d,p,e){"use strict";var n=e(94488),o=e(36312),a=e(22627);n({target:"Set",proto:!0,real:!0,forced:!a("symmetricDifference")},{symmetricDifference:o})},82074:function(d,p,e){"use strict";var n=e(94488),o=e(89945),a=e(77999),u=e(24667);n({target:"Set",proto:!0,real:!0,forced:!0},{union:function(f){return o(u,this,a(f))}})},1821:function(d,p,e){"use strict";var n=e(94488),o=e(24667),a=e(22627);n({target:"Set",proto:!0,real:!0,forced:!a("union")},{union:o})},13578:function(d,p,e){"use strict";var n=e(94488),o=e(13764).charAt,a=e(95955),u=e(56902),c=e(69905);n({target:"String",proto:!0,forced:!0},{at:function(s){var m=c(a(this)),y=m.length,v=u(s),l=v>=0?v:y+v;return l<0||l>=y?void 0:o(m,l)}})},62882:function(d,p,e){"use strict";var n=e(94488),o=e(83126),a=e(25587),u=e(95955),c=e(69905),f=e(94844),s=e(13764),m=s.codeAt,y=s.charAt,v="String Iterator",l=f.set,g=f.getterFor(v),E=o(function(S){l(this,{type:v,string:S,index:0})},"String",function(){var S=g(this),x=S.string,O=S.index,j;return O>=x.length?a(void 0,!0):(j=y(x,O),S.index+=j.length,a({codePoint:m(j,0),position:O},!1))});n({target:"String",proto:!0,forced:!0},{codePoints:function(){return new E(c(u(this)))}})},59348:function(d,p,e){"use strict";var n=e(94488),o=e(67410);n({target:"String",stat:!0,forced:!0},{cooked:o})},37457:function(d,p,e){"use strict";var n=e(13247),o=e(94488),a=e(86528),u=e(94237),c=e(13743),f=e(80449),s=e(94029),m=e(55327),y=e(82762),v=e(37691).f,l=e(71698),g=e(42530),E=e(67410),w=e(79204),S=e(19268),x=new g.WeakMap,O=g.get,j=g.has,_=g.set,K=Array,P=TypeError,I=Object.freeze||Object,L=Object.isFrozen,H=Math.min,V=u("".charAt),B=u("".slice),G=u("".split),ce=u(/./.exec),pe=/([\n\u2028\u2029]|\r\n?)/g,Ae=RegExp("^["+S+"]*"),Ne=RegExp("[^"+S+"]"),me="Invalid tag",Q="Invalid opening line",ne="Invalid closing line",ae=function(A){var W=A.raw;if(n&&!L(W))throw new P("Raw template should be frozen");if(j(x,W))return O(x,W);var k=U(W),Z=q(k);return v(Z,"raw",{value:I(k)}),I(Z),_(x,W,Z),Z},U=function(A){var W=s(A),k=y(W),Z=K(k),z=K(k),Ee=0,Me,et,Ve,tt;if(!k)throw new P(me);for(;Ee0)throw new P(Q);Me[1]=""}if(ee){if(Me.length===1||ce(Ne,Me[Me.length-1]))throw new P(ne);Me[Me.length-2]="",Me[Me.length-1]=""}for(var $=2;$1?arguments[1]:void 0);return a(this,m)},!0)},16315:function(d,p,e){"use strict";var n=e(58261),o=e(90560).filterReject,a=e(27607),u=n.aTypedArray,c=n.exportTypedArrayMethod;c("filterReject",function(s){var m=o(u(this),s,arguments.length>1?arguments[1]:void 0);return a(this,m)},!0)},56966:function(d,p,e){"use strict";var n=e(65911),o=e(6086),a=e(32278),u=e(58261),c=e(69478),f=u.aTypedArrayConstructor,s=u.exportTypedArrayStaticMethod;s("fromAsync",function(y){var v=this,l=arguments.length,g=l>1?arguments[1]:void 0,E=l>2?arguments[2]:void 0;return new(n("Promise"))(function(w){o(v),w(a(y,g,E))}).then(function(w){return c(f(v),w)})},!0)},60239:function(d,p,e){"use strict";var n=e(58261),o=e(36444),a=e(31384),u=n.aTypedArray,c=n.exportTypedArrayMethod;c("groupBy",function(s){var m=arguments.length>1?arguments[1]:void 0;return o(u(this),s,m,a)},!0)},49381:function(d,p,e){"use strict";var n=e(58261),o=e(82762),a=e(75406),u=e(51981),c=e(93303),f=e(56902),s=e(3338),m=n.aTypedArray,y=n.getTypedArrayConstructor,v=n.exportTypedArrayMethod,l=Math.max,g=Math.min,E=!s(function(){var w=new Int8Array([1]),S=w.toSpliced(1,0,{valueOf:function(){return w[0]=2,3}});return S[0]!==2||S[1]!==3});v("toSpliced",function(S,x){var O=m(this),j=y(O),_=o(O),K=u(S,_),P=arguments.length,I=0,L,H,V,B,G,ce,pe;if(P===0)L=H=0;else if(P===1)L=0,H=_-K;else if(H=g(l(f(x),0),_-K),L=P-2,L){B=new j(L),V=a(B);for(var Ae=2;Ae1?u(arguments[1]):void 0,L=y(I)==="base64"?v:l,H=I?!!I.strict:!1,V=H?P:S(P,j,"");if(V.length%4===0)x(V,-2)==="=="?V=x(V,0,-2):x(V,-1)==="="&&(V=x(V,0,-1));else if(H)throw new E("Input is not correctly padded");var B=V.length%4;switch(B){case 1:throw new E("Bad input length");case 2:V+="AA";break;case 3:V+="A"}for(var G=[],ce=0,pe=V.length,Ae=function(Q){var ne=w(V,ce+Q);if(!f(L,ne))throw new E('Bad char in input: "'+ne+'"');return L[ne]<<18-6*Q};ce>16&255,Ne>>8&255,Ne&255)}var me=G.length;if(B===2){if(H&&G[me-2]!==0)throw new E(_);me-=2}else if(B===3){if(H&&G[me-1]!==0)throw new E(_);me--}return s(g,G,me)}})},57151:function(d,p,e){"use strict";var n=e(94488),o=e(92916),a=e(94237),u=e(79606),c=o.Uint8Array,f=o.SyntaxError,s=o.parseInt,m=/[^\da-f]/i,y=a(m.exec),v=a("".slice);c&&n({target:"Uint8Array",stat:!0,forced:!0},{fromHex:function(g){u(g);var E=g.length;if(E%2)throw new f("String should have an even number of characters");if(y(m,g))throw new f("String should only contain hex characters");for(var w=new c(E/2),S=0;S>6*P&63)};O+21&&!v(arguments[1])?w(arguments[1]):void 0,te=b?b.transfer:void 0,Re,be;te!==void 0&&(Re=new ae,be=Ut(te,Re));var Ze=Xe(Le,Re);return be&&Pe(be),Ze}})},4890:function(d,p,e){"use strict";var n=e(2291),o=e(94237),a=e(69905),u=e(57106),c=URLSearchParams,f=c.prototype,s=o(f.append),m=o(f.delete),y=o(f.forEach),v=o([].push),l=new c("a=1&a=2&b=3");l.delete("a",1),l.delete("b",void 0),l+""!="a=2"&&n(f,"delete",function(g){var E=arguments.length,w=E<2?void 0:arguments[1];if(E&&w===void 0)return m(this,g);var S=[];y(this,function(L,H){v(S,{key:H,value:L})}),u(E,1);for(var x=a(g),O=a(w),j=0,_=0,K=!1,P=S.length,I;j=0)&&(c[s]=a[s]);return c}function o(a,u){if(a==null)return{};var c=n(a,u),f,s;if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(a);for(s=0;s=0)&&Object.prototype.propertyIsEnumerable.call(a,f)&&(c[f]=a[f])}return c}},89878:function(d,p,e){"use strict";e.d(p,{Z:function(){return a}});var n=e(8616);function o(u,c){if((0,n.Z)(u)!="object"||!u)return u;var f=u[Symbol.toPrimitive];if(f!==void 0){var s=f.call(u,c||"default");if((0,n.Z)(s)!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(c==="string"?String:Number)(u)}function a(u){var c=o(u,"string");return(0,n.Z)(c)=="symbol"?c:String(c)}},8616:function(d,p,e){"use strict";e.d(p,{Z:function(){return n}});function n(o){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},n(o)}},99227:function(d,p,e){"use strict";e.d(p,{Z:function(){return o}});function n(a,u){(u==null||u>a.length)&&(u=a.length);for(var c=0,f=new Array(u);co.length)&&(a=o.length);for(var u=0,c=Array(a);u=0;k--)(W=U[k])&&(A=(re<3?W(A):re>3?W(R,q,A):W(R,q))||A);return re>3&&A&&Object.defineProperty(R,q,A),A}function f(U,R){return function(q,le){R(q,le,U)}}function s(U,R,q,le,re,A){function W($){if($!==void 0&&typeof $!="function")throw new TypeError("Function expected");return $}for(var k=le.kind,Z=k==="getter"?"get":k==="setter"?"set":"value",z=!R&&U?le.static?U:U.prototype:null,Ee=R||(z?Object.getOwnPropertyDescriptor(z,le.name):{}),Me,et=!1,Ve=q.length-1;Ve>=0;Ve--){var tt={};for(var gt in le)tt[gt]=gt==="access"?{}:le[gt];for(var gt in le.access)tt.access[gt]=le.access[gt];tt.addInitializer=function($){if(et)throw new TypeError("Cannot add initializers after decoration has completed");A.push(W($||null))};var ee=(0,q[Ve])(k==="accessor"?{get:Ee.get,set:Ee.set}:Ee[Z],tt);if(k==="accessor"){if(ee===void 0)continue;if(ee===null||typeof ee!="object")throw new TypeError("Object expected");(Me=W(ee.get))&&(Ee.get=Me),(Me=W(ee.set))&&(Ee.set=Me),(Me=W(ee.init))&&re.unshift(Me)}else(Me=W(ee))&&(k==="field"?re.unshift(Me):Ee[Z]=Me)}z&&Object.defineProperty(z,le.name,Ee),et=!0}function m(U,R,q){for(var le=arguments.length>2,re=0;re0&&A[A.length-1])&&(z[0]===6||z[0]===2)){q=0;continue}if(z[0]===3&&(!A||z[1]>A[0]&&z[1]=U.length&&(U=void 0),{value:U&&U[le++],done:!U}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")}function O(U,R){var q=typeof Symbol=="function"&&U[Symbol.iterator];if(!q)return U;var le=q.call(U),re,A=[],W;try{for(;(R===void 0||R-- >0)&&!(re=le.next()).done;)A.push(re.value)}catch(k){W={error:k}}finally{try{re&&!re.done&&(q=le.return)&&q.call(le)}finally{if(W)throw W.error}}return A}function j(){for(var U=[],R=0;R1||Z(Ve,gt)})},tt&&(re[Ve]=tt(re[Ve])))}function Z(Ve,tt){try{z(le[Ve](tt))}catch(gt){et(A[0][3],gt)}}function z(Ve){Ve.value instanceof P?Promise.resolve(Ve.value.v).then(Ee,Me):et(A[0][2],Ve)}function Ee(Ve){Z("next",Ve)}function Me(Ve){Z("throw",Ve)}function et(Ve,tt){Ve(tt),A.shift(),A.length&&Z(A[0][0],A[0][1])}}function L(U){var R,q;return R={},le("next"),le("throw",function(re){throw re}),le("return"),R[Symbol.iterator]=function(){return this},R;function le(re,A){R[re]=U[re]?function(W){return(q=!q)?{value:P(U[re](W)),done:!1}:A?A(W):W}:A}}function H(U){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var R=U[Symbol.asyncIterator],q;return R?R.call(U):(U=typeof x=="function"?x(U):U[Symbol.iterator](),q={},le("next"),le("throw"),le("return"),q[Symbol.asyncIterator]=function(){return this},q);function le(A){q[A]=U[A]&&function(W){return new Promise(function(k,Z){W=U[A](W),re(k,Z,W.done,W.value)})}}function re(A,W,k,Z){Promise.resolve(Z).then(function(z){A({value:z,done:k})},W)}}function V(U,R){return Object.defineProperty?Object.defineProperty(U,"raw",{value:R}):U.raw=R,U}var B=Object.create?function(U,R){Object.defineProperty(U,"default",{enumerable:!0,value:R})}:function(U,R){U.default=R};function G(U){if(U&&U.__esModule)return U;var R={};if(U!=null)for(var q in U)q!=="default"&&Object.prototype.hasOwnProperty.call(U,q)&&w(R,U,q);return B(R,U),R}function ce(U){return U&&U.__esModule?U:{default:U}}function pe(U,R,q,le){if(q==="a"&&!le)throw new TypeError("Private accessor was defined without a getter");if(typeof R=="function"?U!==R||!le:!R.has(U))throw new TypeError("Cannot read private member from an object whose class did not declare it");return q==="m"?le:q==="a"?le.call(U):le?le.value:R.get(U)}function Ae(U,R,q,le,re){if(le==="m")throw new TypeError("Private method is not writable");if(le==="a"&&!re)throw new TypeError("Private accessor was defined without a setter");if(typeof R=="function"?U!==R||!re:!R.has(U))throw new TypeError("Cannot write private member to an object whose class did not declare it");return le==="a"?re.call(U,q):re?re.value=q:R.set(U,q),q}function Ne(U,R){if(R===null||typeof R!="object"&&typeof R!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof U=="function"?R===U:U.has(R)}function me(U,R,q){if(R!=null){if(typeof R!="object"&&typeof R!="function")throw new TypeError("Object expected.");var le,re;if(q){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");le=R[Symbol.asyncDispose]}if(le===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");le=R[Symbol.dispose],q&&(re=le)}if(typeof le!="function")throw new TypeError("Object not disposable.");re&&(le=function(){try{re.call(this)}catch(A){return Promise.reject(A)}}),U.stack.push({value:R,dispose:le,async:q})}else q&&U.stack.push({async:!0});return R}var Q=typeof SuppressedError=="function"?SuppressedError:function(U,R,q){var le=new Error(q);return le.name="SuppressedError",le.error=U,le.suppressed=R,le};function ne(U){function R(le){U.error=U.hasError?new Q(le,U.error,"An error was suppressed during disposal."):le,U.hasError=!0}function q(){for(;U.stack.length;){var le=U.stack.pop();try{var re=le.dispose&&le.dispose.call(le.value);if(le.async)return Promise.resolve(re).then(q,function(A){return R(A),q()})}catch(A){R(A)}}if(U.hasError)throw U.error}return q()}var ae={__extends:o,__assign:a,__rest:u,__decorate:c,__param:f,__metadata:l,__awaiter:g,__generator:E,__createBinding:w,__exportStar:S,__values:x,__read:O,__spread:j,__spreadArrays:_,__spreadArray:K,__await:P,__asyncGenerator:I,__asyncDelegator:L,__asyncValues:H,__makeTemplateObject:V,__importStar:G,__importDefault:ce,__classPrivateFieldGet:pe,__classPrivateFieldSet:Ae,__classPrivateFieldIn:Ne,__addDisposableResource:me,__disposeResources:ne}}},__webpack_module_cache__={};function __webpack_require__(d){var p=__webpack_module_cache__[d];if(p!==void 0)return p.exports;var e=__webpack_module_cache__[d]={exports:{}};return __webpack_modules__[d].call(e.exports,e,e.exports,__webpack_require__),e.exports}__webpack_require__.m=__webpack_modules__,function(){__webpack_require__.n=function(d){var p=d&&d.__esModule?function(){return d.default}:function(){return d};return __webpack_require__.d(p,{a:p}),p}}(),function(){var d=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},p;__webpack_require__.t=function(e,n){if(n&1&&(e=this(e)),n&8||typeof e=="object"&&e&&(n&4&&e.__esModule||n&16&&typeof e.then=="function"))return e;var o=Object.create(null);__webpack_require__.r(o);var a={};p=p||[null,d({}),d([]),d(d)];for(var u=n&2&&e;typeof u=="object"&&!~p.indexOf(u);u=d(u))Object.getOwnPropertyNames(u).forEach(function(c){a[c]=function(){return e[c]}});return a.default=function(){return e},__webpack_require__.d(o,a),o}}(),function(){__webpack_require__.d=function(d,p){for(var e in p)__webpack_require__.o(p,e)&&!__webpack_require__.o(d,e)&&Object.defineProperty(d,e,{enumerable:!0,get:p[e]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(d){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(p,e){return __webpack_require__.f[e](d,p),p},[]))}}(),function(){__webpack_require__.u=function(d){return""+({9:"nm__dumi__dist__client__pages__Demo__index",65:"nm__dumi__dist__client__pages__404",433:"demos",519:"nm__dumi__theme-default__layouts__DocLayout__index",570:"docs__demo__index.md",904:"meta__docs",923:"dumi__tmp-production__dumi__theme__ContextWrapper",935:"docs__index.md"}[d]||d)+"."+{9:"2016c4e4",65:"ba09b78a",291:"b881c591",433:"3c749dd0",464:"4cb6aec9",519:"3905b7f9",570:"a09f8575",764:"8c15f73d",904:"2d5d4f72",923:"6df3ec10",935:"ece39bf8"}[d]+".async.js"}}(),function(){__webpack_require__.miniCssF=function(d){return""+({9:"nm__dumi__dist__client__pages__Demo__index",65:"nm__dumi__dist__client__pages__404",904:"meta__docs"}[d]||d)+"."+{9:"578aa5c0",65:"8b85f2d9",764:"e8c51481",904:"90a064bb"}[d]+".chunk.css"}}(),function(){__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(d){if(typeof window=="object")return window}}()}(),function(){__webpack_require__.o=function(d,p){return Object.prototype.hasOwnProperty.call(d,p)}}(),function(){var d={},p="@rc-component/color-picker:";__webpack_require__.l=function(e,n,o,a){if(d[e]){d[e].push(n);return}var u,c;if(o!==void 0)for(var f=document.getElementsByTagName("script"),s=0;s0&&arguments[0]!==void 0?arguments[0]:"";return He.endsWith("/")?He:"".concat(He,"/")}var $r=__webpack_require__(38127),Pr=__webpack_require__(38329),bn=__webpack_require__(8616),fn=["content"],zr=["content"],ln=/^(http:|https:)?\/\//;function C(He){return ln.test(He)||He.startsWith("/")&&!He.startsWith("/*")||He.startsWith("./")||He.startsWith("../")}var M=function(){return Dt.createElement("noscript",{dangerouslySetInnerHTML:{__html:"Enable JavaScript to run this app."}})},N=function(ut){var lt,Qt=ut.loaderData,rr=ut.htmlPageOpts,or=ut.manifest,Rr=(or==null||(lt=or.assets)===null||lt===void 0?void 0:lt["umi.css"])||"";return Dt.createElement("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:"window.__UMI_LOADER_DATA__ = ".concat(JSON.stringify(Qt||{}),"; window.__UMI_METADATA_LOADER_DATA__ = ").concat(JSON.stringify(rr||{}),"; window.__UMI_BUILD_ClIENT_CSS__ = '").concat(Rr,"'")}})};function se(He){var ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof He=="string")return C(He)?(0,yr.Z)({src:He},ut):{content:He};if((0,bn.Z)(He)==="object")return(0,yr.Z)((0,yr.Z)({},He),ut);throw new Error("Invalid script type: ".concat((0,bn.Z)(He)))}function Ue(He){return C(He)?{type:"link",href:He}:{type:"style",content:He}}var Ke=function(ut){var lt,Qt,rr,or,Rr,_r,Mr=ut.htmlPageOpts;return Dt.createElement(Dt.Fragment,null,(Mr==null?void 0:Mr.title)&&Dt.createElement("title",null,Mr.title),Mr==null||(lt=Mr.favicons)===null||lt===void 0?void 0:lt.map(function(Jn,kn){return Dt.createElement("link",{key:kn,rel:"shortcut icon",href:Jn})}),(Mr==null?void 0:Mr.description)&&Dt.createElement("meta",{name:"description",content:Mr.description}),(Mr==null||(Qt=Mr.keywords)===null||Qt===void 0?void 0:Qt.length)&&Dt.createElement("meta",{name:"keywords",content:Mr.keywords.join(",")}),Mr==null||(rr=Mr.metas)===null||rr===void 0?void 0:rr.map(function(Jn){return Dt.createElement("meta",{key:Jn.name,name:Jn.name,content:Jn.content})}),Mr==null||(or=Mr.links)===null||or===void 0?void 0:or.map(function(Jn,kn){return Dt.createElement("link",(0,Pr.Z)({key:kn},Jn))}),Mr==null||(Rr=Mr.styles)===null||Rr===void 0?void 0:Rr.map(function(Jn,kn){var ca=Ue(Jn),ka=ca.type,Ua=ca.href,Br=ca.content;if(ka==="link")return Dt.createElement("link",{key:kn,rel:"stylesheet",href:Ua});if(ka==="style")return Dt.createElement("style",{key:kn},Br)}),Mr==null||(_r=Mr.headScripts)===null||_r===void 0?void 0:_r.map(function(Jn,kn){var ca=se(Jn),ka=ca.content,Ua=(0,$r.Z)(ca,fn);return Dt.createElement("script",(0,Pr.Z)({dangerouslySetInnerHTML:{__html:ka},key:kn,crossOrigin:"anonymous"},Ua))}))};function ct(He){var ut,lt=He.children,Qt=He.loaderData,rr=He.manifest,or=He.htmlPageOpts,Rr=He.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,_r=He.mountElementId;if(Rr!=null&&Rr.pureHtml)return Dt.createElement("html",null,Dt.createElement("head",null),Dt.createElement("body",null,Dt.createElement(M,null),Dt.createElement("div",{id:_r},lt),Dt.createElement(N,{manifest:rr,loaderData:Qt,htmlPageOpts:or})));if(Rr!=null&&Rr.pureApp)return Dt.createElement(Dt.Fragment,null,lt);var Mr=typeof window=="undefined"?rr==null?void 0:rr.assets["umi.css"]:window.__UMI_BUILD_ClIENT_CSS__;return Dt.createElement("html",{suppressHydrationWarning:!0,lang:(or==null?void 0:or.lang)||"en"},Dt.createElement("head",null,Dt.createElement("meta",{charSet:"utf-8"}),Dt.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),Mr&&Dt.createElement("link",{suppressHydrationWarning:!0,rel:"stylesheet",href:Mr}),Dt.createElement(Ke,{htmlPageOpts:or})),Dt.createElement("body",null,Dt.createElement(M,null),Dt.createElement("div",{id:_r},lt),Dt.createElement(N,{manifest:rr,loaderData:Qt,htmlPageOpts:or}),or==null||(ut=or.scripts)===null||ut===void 0?void 0:ut.map(function(Jn,kn){var ca=se(Jn),ka=ca.content,Ua=(0,$r.Z)(ca,zr);return Dt.createElement("script",(0,Pr.Z)({dangerouslySetInnerHTML:{__html:ka},key:kn,crossOrigin:"anonymous"},Ua))})))}var at=__webpack_require__(9836),Ge=["redirect"];function St(He){var ut=He.routesById,lt=He.parentId,Qt=He.routeComponents;return Object.keys(ut).filter(function(rr){return ut[rr].parentId===lt}).map(function(rr){var or=Ft((0,yr.Z)({route:ut[rr],routeComponent:Qt[rr],loadingComponent:He.loadingComponent,reactRouter5Compat:He.reactRouter5Compat},He.reactRouter5Compat&&{hasChildren:Object.keys(ut).filter(function(_r){return ut[_r].parentId===rr}).length>0})),Rr=St({routesById:ut,routeComponents:Qt,parentId:or.id,loadingComponent:He.loadingComponent,reactRouter5Compat:He.reactRouter5Compat});return Rr.length>0&&(or.children=Rr,or.routes=Rr),or})}function jt(He){var ut=(0,Dr.UO)(),lt=(0,Dr.Gn)(He.to,ut),Qt=(0,Vr.T$)(),rr=(0,Dr.TH)();if(Qt!=null&&Qt.keepQuery){var or=rr.search+rr.hash;lt+=or}var Rr=(0,yr.Z)((0,yr.Z)({},He),{},{to:lt});return Dt.createElement(Dr.Fg,(0,Pr.Z)({replace:!0},Rr))}function Ft(He){var ut=He.route,lt=ut.redirect,Qt=(0,$r.Z)(ut,Ge),rr=He.reactRouter5Compat?zt:Vt;return(0,yr.Z)({element:lt?Dt.createElement(jt,{to:lt}):Dt.createElement(at.X.Provider,{value:{route:He.route}},Dt.createElement(rr,{loader:Dt.memo(He.routeComponent),loadingComponent:He.loadingComponent||$t,hasChildren:He.hasChildren}))},Qt)}function $t(){return Dt.createElement("div",null)}function zt(He){var ut=(0,at.Q)(),lt=ut.route,Qt=(0,Vr.Ov)(),rr=Qt.history,or=Qt.clientRoutes,Rr=(0,Dr.UO)(),_r={params:Rr,isExact:!0,path:lt.path,url:rr.location.pathname},Mr=He.loader;return Dt.createElement(Dt.Suspense,{fallback:Dt.createElement(He.loadingComponent,null)},Dt.createElement(Mr,{location:rr.location,match:_r,history:rr,params:Rr,route:lt,routes:or},He.hasChildren&&Dt.createElement(Dr.j3,null)))}function Vt(He){var ut=He.loader;return Dt.createElement(Dt.Suspense,{fallback:Dt.createElement(He.loadingComponent,null)},Dt.createElement(ut,null))}var Kr=null;function Cr(){return Kr}function Ar(He){var ut=He.history,lt=Dt.useState({action:ut.action,location:ut.location}),Qt=qr(lt,2),rr=Qt[0],or=Qt[1];return(0,Dt.useLayoutEffect)(function(){return ut.listen(or)},[ut]),(0,Dt.useLayoutEffect)(function(){function Rr(_r){He.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:He.routes,clientRoutes:He.clientRoutes,location:_r.location,action:_r.action,basename:He.basename,isFirst:!!_r.isFirst}})}return Rr({location:rr.location,action:rr.action,isFirst:!0}),ut.listen(Rr)},[ut,He.routes,He.clientRoutes]),Dt.createElement(Dr.F0,{navigator:ut,location:rr.location,basename:He.basename},He.children)}function nr(){var He=(0,Vr.Ov)(),ut=He.clientRoutes;return(0,Dr.V$)(ut)}var vr=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],Ir=function(ut,lt){var Qt=ut.basename||"/",rr=St({routesById:ut.routes,routeComponents:ut.routeComponents,loadingComponent:ut.loadingComponent,reactRouter5Compat:ut.reactRouter5Compat});ut.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:rr}});for(var or=Dt.createElement(Ar,{basename:Qt,pluginManager:ut.pluginManager,routes:ut.routes,clientRoutes:rr,history:ut.history},lt),Rr=0,_r=vr;Rr<_r.length;Rr++){var Mr=_r[Rr];or=ut.pluginManager.applyPlugins({type:"modify",key:Mr,initialValue:or,args:{routes:ut.routes,history:ut.history,plugin:ut.pluginManager}})}var Jn=function(){var ca=(0,Dt.useState)({}),ka=qr(ca,2),Ua=ka[0],Br=ka[1],ir=(0,Dt.useState)(window.__UMI_LOADER_DATA__||{}),Yn=qr(ir,2),qn=Yn[0],na=Yn[1],Xa=(0,Dt.useCallback)(function(yo,Zn){var Nn,Ja=(((Nn=(0,Dr.fp)(rr,yo,Qt))===null||Nn===void 0?void 0:Nn.map(function(Wa){return Wa.route.id}))||[]).filter(Boolean);Ja.forEach(function(Wa){var bo,Do,hi=window.__umi_manifest__;if(hi){var Xo=Wa.replace(/[\/\-]/g,"_"),wo="preload-".concat(Xo,".js");if(!document.getElementById(wo)){var Ao=Object.keys(hi).filter(function(da){return da.startsWith(Xo+".")});Ao.forEach(function(da){if(!/\.(js|css)$/.test(da))throw Error("preload not support ".concat(da," file"));var Za=hi[da],no=document.createElement("link");no.rel="preload",no.as="style",da.endsWith(".js")&&(no.as="script",no.id=wo),ut.runtimePublicPath&&(Za=Za.replace(new RegExp("^".concat(ut.publicPath)),window.publicPath)),no.href=Za,document.head.appendChild(no)})}}var xo=(bo=ut.routes[Wa])===null||bo===void 0?void 0:bo.clientLoader,Ko=!!xo,Bo=(Do=ut.routes[Wa])===null||Do===void 0?void 0:Do.hasServerLoader;!Zn&&Bo&&!Ko&&!window.__UMI_LOADER_DATA__&&mn({id:Wa,basename:Qt,cb:function(Za){Dt.startTransition(function(){na(function(no){return(0,yr.Z)((0,yr.Z)({},no),{},(0,sr.Z)({},Wa,Za))})})}});var wi=!!Ua[Wa],Ta=Ko&&xo.hydrate||!Bo,sa=Bo&&!window.__UMI_LOADER_DATA__;Ko&&!wi&&(Ta||sa)&&xo({serverLoader:function(){return mn({id:Wa,basename:Qt,cb:function(no){Dt.startTransition(function(){na(function(To){return(0,yr.Z)((0,yr.Z)({},To),{},(0,sr.Z)({},Wa,no))})})}})}}).then(function(da){Br(function(Za){return(0,yr.Z)((0,yr.Z)({},Za),{},(0,sr.Z)({},Wa,da))})})})},[Ua]);return(0,Dt.useEffect)(function(){return Xa(window.location.pathname,!0),ut.history.listen(function(yo){Xa(yo.location.pathname)})},[]),(0,Dt.useLayoutEffect)(function(){typeof ut.callback=="function"&&ut.callback()},[]),Dt.createElement(Vr.Il.Provider,{value:{routes:ut.routes,routeComponents:ut.routeComponents,clientRoutes:rr,pluginManager:ut.pluginManager,rootElement:ut.rootElement,basename:Qt,clientLoaderData:Ua,serverLoaderData:qn,preloadRoute:Xa,history:ut.history}},or)};return Jn};function wn(He){var ut=He.rootElement||document.getElementById("root"),lt=Ir(He,Dt.createElement(nr,null));if(He.components)return lt;if(He.hydrate){var Qt=window.__UMI_LOADER_DATA__||{},rr=window.__UMI_METADATA_LOADER_DATA__||{},or={metadata:rr,loaderData:Qt,mountElementId:He.mountElementId},Rr=He.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.pureApp||He.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.pureHtml;Or.hydrateRoot(Rr?ut:document,Rr?Dt.createElement(lt,null):Dt.createElement(ct,or,Dt.createElement(lt,null)));return}if(Or.createRoot){Kr=Or.createRoot(ut),Kr.render(Dt.createElement(lt,null));return}Or.render(Dt.createElement(lt,null),ut)}function Xn(){return In.apply(this,arguments)}function In(){return In=a()(p()().mark(function He(){var ut;return p()().wrap(function(Qt){for(;;)switch(Qt.prev=Qt.next){case 0:return ut={404:{id:"404",path:"*",parentId:"DocLayout"},"dumi-context-layout":{id:"dumi-context-layout",path:"/",isLayout:!0},DocLayout:{id:"DocLayout",path:"/",parentId:"dumi-context-layout",isLayout:!0},"docs/demo/index":{path:"demo",id:"docs/demo/index",parentId:"DocLayout"},"docs/index":{path:"",id:"docs/index",parentId:"DocLayout"},"demo-render":{id:"demo-render",path:"~demos/:id",parentId:"dumi-context-layout",prerender:!1}},Qt.abrupt("return",{routes:ut,routeComponents:{404:Dt.lazy(function(){return __webpack_require__.e(65).then(__webpack_require__.bind(__webpack_require__,22715))}),"dumi-context-layout":Dt.lazy(function(){return __webpack_require__.e(923).then(__webpack_require__.bind(__webpack_require__,79633))}),DocLayout:Dt.lazy(function(){return Promise.all([__webpack_require__.e(764),__webpack_require__.e(519)]).then(__webpack_require__.bind(__webpack_require__,67066))}),"docs/demo/index":Dt.lazy(function(){return __webpack_require__.e(570).then(__webpack_require__.bind(__webpack_require__,4717))}),"docs/index":Dt.lazy(function(){return __webpack_require__.e(935).then(__webpack_require__.bind(__webpack_require__,4789))}),"demo-render":Dt.lazy(function(){return __webpack_require__.e(9).then(__webpack_require__.bind(__webpack_require__,36200))})}});case 2:case"end":return Qt.stop()}},He)})),In.apply(this,arguments)}var Kn=__webpack_require__(86043),va=__webpack_require__(2399),ya=__webpack_require__(27362),Sa="/color-picker/",wt=!1;function qe(){return ft.apply(this,arguments)}function ft(){return ft=a()(p()().mark(function He(){var ut,lt,Qt,rr,or,Rr,_r,Mr;return p()().wrap(function(kn){for(;;)switch(kn.prev=kn.next){case 0:return ut=(0,er.gD)(),kn.next=3,Xn(ut);case 3:return lt=kn.sent,Qt=lt.routes,rr=lt.routeComponents,kn.next=8,ut.applyPlugins({key:"patchRoutes",type:ya.Ac.event,args:{routes:Qt,routeComponents:rr}});case 8:return or=ut.applyPlugins({key:"modifyContextOpts",type:ya.Ac.modify,initialValue:{}}),Rr=or.basename||"/color-picker/",_r=or.historyType||"browser",Mr=(0,Kn.fi)(n()({type:_r,basename:Rr},or.historyOpts)),kn.abrupt("return",ut.applyPlugins({key:"render",type:ya.Ac.compose,initialValue:function(){var ka={routes:Qt,routeComponents:rr,pluginManager:ut,mountElementId:"root",rootElement:or.rootElement||document.getElementById("root"),loadingComponent:va.Z,publicPath:Sa,runtimePublicPath:wt,history:Mr,historyType:_r,basename:Rr,__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{pureApp:!1,pureHtml:!1},callback:or.callback},Ua=ut.applyPlugins({key:"modifyClientRenderOpts",type:ya.Ac.modify,initialValue:ka});return wn(Ua)}})());case 13:case"end":return kn.stop()}},He)})),ft.apply(this,arguments)}typeof history!="undefined"&&location.pathname.length>1&&location.pathname.endsWith("/")&&history.replaceState({},"",location.pathname.slice(0,-1)+location.search+location.hash),function(){var He=typeof navigator!="undefined"&&navigator.cookieEnabled&&typeof window.localStorage!="undefined"&&localStorage.getItem("dumi:prefers-color")||"light",ut=typeof window!="undefined"&&window.matchMedia("(prefers-color-scheme: dark)").matches,lt=["light","dark","auto"];typeof document!="undefined"&&document.documentElement.setAttribute("data-prefers-color",He===lt[2]?ut?lt[1]:lt[0]:lt.indexOf(He)>-1?He:lt[0])}(),qe(),typeof window!="undefined"&&(window.g_umi={version:"4.3.6"}),(0,tr.rl)((0,er.We)())})()})(); +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function f(s){return o(s)||a(s)||(0,u.Z)(s)||c()}},14053:function(d,p,e){"use strict";e.d(p,{Z:function(){return a}});var n=e(75253);function o(u,c){if((0,n.Z)(u)!="object"||!u)return u;var f=u[Symbol.toPrimitive];if(f!==void 0){var s=f.call(u,c||"default");if((0,n.Z)(s)!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(c==="string"?String:Number)(u)}function a(u){var c=o(u,"string");return(0,n.Z)(c)=="symbol"?c:c+""}},75253:function(d,p,e){"use strict";e.d(p,{Z:function(){return n}});function n(o){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},n(o)}},2031:function(d,p,e){"use strict";e.d(p,{Z:function(){return o}});var n=e(96363);function o(a,u){if(a){if(typeof a=="string")return(0,n.Z)(a,u);var c={}.toString.call(a).slice(8,-1);return c==="Object"&&a.constructor&&(c=a.constructor.name),c==="Map"||c==="Set"?Array.from(a):c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c)?(0,n.Z)(a,u):void 0}}},24092:function(d,p,e){"use strict";e.d(p,{ZT:function(){return o},_T:function(){return u},ev:function(){return K},pi:function(){return a}});var n=function(U,R){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(q,le){q.__proto__=le}||function(q,le){for(var re in le)Object.prototype.hasOwnProperty.call(le,re)&&(q[re]=le[re])},n(U,R)};function o(U,R){if(typeof R!="function"&&R!==null)throw new TypeError("Class extends value "+String(R)+" is not a constructor or null");n(U,R);function q(){this.constructor=U}U.prototype=R===null?Object.create(R):(q.prototype=R.prototype,new q)}var a=function(){return a=Object.assign||function(R){for(var q,le=1,re=arguments.length;le=0;k--)(W=U[k])&&(A=(re<3?W(A):re>3?W(R,q,A):W(R,q))||A);return re>3&&A&&Object.defineProperty(R,q,A),A}function f(U,R){return function(q,le){R(q,le,U)}}function s(U,R,q,le,re,A){function W($){if($!==void 0&&typeof $!="function")throw new TypeError("Function expected");return $}for(var k=le.kind,Z=k==="getter"?"get":k==="setter"?"set":"value",z=!R&&U?le.static?U:U.prototype:null,Ee=R||(z?Object.getOwnPropertyDescriptor(z,le.name):{}),Me,et=!1,Ve=q.length-1;Ve>=0;Ve--){var tt={};for(var gt in le)tt[gt]=gt==="access"?{}:le[gt];for(var gt in le.access)tt.access[gt]=le.access[gt];tt.addInitializer=function($){if(et)throw new TypeError("Cannot add initializers after decoration has completed");A.push(W($||null))};var ee=(0,q[Ve])(k==="accessor"?{get:Ee.get,set:Ee.set}:Ee[Z],tt);if(k==="accessor"){if(ee===void 0)continue;if(ee===null||typeof ee!="object")throw new TypeError("Object expected");(Me=W(ee.get))&&(Ee.get=Me),(Me=W(ee.set))&&(Ee.set=Me),(Me=W(ee.init))&&re.unshift(Me)}else(Me=W(ee))&&(k==="field"?re.unshift(Me):Ee[Z]=Me)}z&&Object.defineProperty(z,le.name,Ee),et=!0}function m(U,R,q){for(var le=arguments.length>2,re=0;re0&&A[A.length-1])&&(z[0]===6||z[0]===2)){q=0;continue}if(z[0]===3&&(!A||z[1]>A[0]&&z[1]=U.length&&(U=void 0),{value:U&&U[le++],done:!U}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")}function O(U,R){var q=typeof Symbol=="function"&&U[Symbol.iterator];if(!q)return U;var le=q.call(U),re,A=[],W;try{for(;(R===void 0||R-- >0)&&!(re=le.next()).done;)A.push(re.value)}catch(k){W={error:k}}finally{try{re&&!re.done&&(q=le.return)&&q.call(le)}finally{if(W)throw W.error}}return A}function j(){for(var U=[],R=0;R1||Z(Ve,gt)})},tt&&(re[Ve]=tt(re[Ve])))}function Z(Ve,tt){try{z(le[Ve](tt))}catch(gt){et(A[0][3],gt)}}function z(Ve){Ve.value instanceof P?Promise.resolve(Ve.value.v).then(Ee,Me):et(A[0][2],Ve)}function Ee(Ve){Z("next",Ve)}function Me(Ve){Z("throw",Ve)}function et(Ve,tt){Ve(tt),A.shift(),A.length&&Z(A[0][0],A[0][1])}}function L(U){var R,q;return R={},le("next"),le("throw",function(re){throw re}),le("return"),R[Symbol.iterator]=function(){return this},R;function le(re,A){R[re]=U[re]?function(W){return(q=!q)?{value:P(U[re](W)),done:!1}:A?A(W):W}:A}}function H(U){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var R=U[Symbol.asyncIterator],q;return R?R.call(U):(U=typeof x=="function"?x(U):U[Symbol.iterator](),q={},le("next"),le("throw"),le("return"),q[Symbol.asyncIterator]=function(){return this},q);function le(A){q[A]=U[A]&&function(W){return new Promise(function(k,Z){W=U[A](W),re(k,Z,W.done,W.value)})}}function re(A,W,k,Z){Promise.resolve(Z).then(function(z){A({value:z,done:k})},W)}}function V(U,R){return Object.defineProperty?Object.defineProperty(U,"raw",{value:R}):U.raw=R,U}var B=Object.create?function(U,R){Object.defineProperty(U,"default",{enumerable:!0,value:R})}:function(U,R){U.default=R};function G(U){if(U&&U.__esModule)return U;var R={};if(U!=null)for(var q in U)q!=="default"&&Object.prototype.hasOwnProperty.call(U,q)&&w(R,U,q);return B(R,U),R}function ce(U){return U&&U.__esModule?U:{default:U}}function pe(U,R,q,le){if(q==="a"&&!le)throw new TypeError("Private accessor was defined without a getter");if(typeof R=="function"?U!==R||!le:!R.has(U))throw new TypeError("Cannot read private member from an object whose class did not declare it");return q==="m"?le:q==="a"?le.call(U):le?le.value:R.get(U)}function Ae(U,R,q,le,re){if(le==="m")throw new TypeError("Private method is not writable");if(le==="a"&&!re)throw new TypeError("Private accessor was defined without a setter");if(typeof R=="function"?U!==R||!re:!R.has(U))throw new TypeError("Cannot write private member to an object whose class did not declare it");return le==="a"?re.call(U,q):re?re.value=q:R.set(U,q),q}function Ne(U,R){if(R===null||typeof R!="object"&&typeof R!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof U=="function"?R===U:U.has(R)}function me(U,R,q){if(R!=null){if(typeof R!="object"&&typeof R!="function")throw new TypeError("Object expected.");var le,re;if(q){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");le=R[Symbol.asyncDispose]}if(le===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");le=R[Symbol.dispose],q&&(re=le)}if(typeof le!="function")throw new TypeError("Object not disposable.");re&&(le=function(){try{re.call(this)}catch(A){return Promise.reject(A)}}),U.stack.push({value:R,dispose:le,async:q})}else q&&U.stack.push({async:!0});return R}var Q=typeof SuppressedError=="function"?SuppressedError:function(U,R,q){var le=new Error(q);return le.name="SuppressedError",le.error=U,le.suppressed=R,le};function ne(U){function R(le){U.error=U.hasError?new Q(le,U.error,"An error was suppressed during disposal."):le,U.hasError=!0}function q(){for(;U.stack.length;){var le=U.stack.pop();try{var re=le.dispose&&le.dispose.call(le.value);if(le.async)return Promise.resolve(re).then(q,function(A){return R(A),q()})}catch(A){R(A)}}if(U.hasError)throw U.error}return q()}var ae={__extends:o,__assign:a,__rest:u,__decorate:c,__param:f,__metadata:l,__awaiter:g,__generator:E,__createBinding:w,__exportStar:S,__values:x,__read:O,__spread:j,__spreadArrays:_,__spreadArray:K,__await:P,__asyncGenerator:I,__asyncDelegator:L,__asyncValues:H,__makeTemplateObject:V,__importStar:G,__importDefault:ce,__classPrivateFieldGet:pe,__classPrivateFieldSet:Ae,__classPrivateFieldIn:Ne,__addDisposableResource:me,__disposeResources:ne}}},__webpack_module_cache__={};function __webpack_require__(d){var p=__webpack_module_cache__[d];if(p!==void 0)return p.exports;var e=__webpack_module_cache__[d]={exports:{}};return __webpack_modules__[d].call(e.exports,e,e.exports,__webpack_require__),e.exports}__webpack_require__.m=__webpack_modules__,function(){__webpack_require__.n=function(d){var p=d&&d.__esModule?function(){return d.default}:function(){return d};return __webpack_require__.d(p,{a:p}),p}}(),function(){var d=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},p;__webpack_require__.t=function(e,n){if(n&1&&(e=this(e)),n&8||typeof e=="object"&&e&&(n&4&&e.__esModule||n&16&&typeof e.then=="function"))return e;var o=Object.create(null);__webpack_require__.r(o);var a={};p=p||[null,d({}),d([]),d(d)];for(var u=n&2&&e;typeof u=="object"&&!~p.indexOf(u);u=d(u))Object.getOwnPropertyNames(u).forEach(function(c){a[c]=function(){return e[c]}});return a.default=function(){return e},__webpack_require__.d(o,a),o}}(),function(){__webpack_require__.d=function(d,p){for(var e in p)__webpack_require__.o(p,e)&&!__webpack_require__.o(d,e)&&Object.defineProperty(d,e,{enumerable:!0,get:p[e]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(d){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(p,e){return __webpack_require__.f[e](d,p),p},[]))}}(),function(){__webpack_require__.u=function(d){return""+({9:"nm__dumi__dist__client__pages__Demo__index",65:"nm__dumi__dist__client__pages__404",433:"demos",519:"nm__dumi__theme-default__layouts__DocLayout__index",570:"docs__demo__index.md",904:"meta__docs",923:"dumi__tmp-production__dumi__theme__ContextWrapper",935:"docs__index.md"}[d]||d)+"."+{9:"b0c43691",65:"015bdc8d",288:"ae9dcee3",291:"b881c591",433:"70c93e1c",519:"ea3eb0f0",570:"aa1a7217",752:"0b5379d1",904:"77d03aee",923:"b8463a6b",935:"256d7f56"}[d]+".async.js"}}(),function(){__webpack_require__.miniCssF=function(d){return""+({9:"nm__dumi__dist__client__pages__Demo__index",65:"nm__dumi__dist__client__pages__404",904:"meta__docs"}[d]||d)+"."+{9:"578aa5c0",65:"8b85f2d9",288:"e8c51481",904:"90a064bb"}[d]+".chunk.css"}}(),function(){__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(d){if(typeof window=="object")return window}}()}(),function(){__webpack_require__.o=function(d,p){return Object.prototype.hasOwnProperty.call(d,p)}}(),function(){var d={},p="@rc-component/color-picker:";__webpack_require__.l=function(e,n,o,a){if(d[e]){d[e].push(n);return}var u,c;if(o!==void 0)for(var f=document.getElementsByTagName("script"),s=0;s0&&arguments[0]!==void 0?arguments[0]:"";return He.endsWith("/")?He:"".concat(He,"/")}var $r=__webpack_require__(38127),Pr=__webpack_require__(38329),bn=__webpack_require__(8616),fn=["content"],zr=["content"],ln=/^(http:|https:)?\/\//;function C(He){return ln.test(He)||He.startsWith("/")&&!He.startsWith("/*")||He.startsWith("./")||He.startsWith("../")}var M=function(){return Dt.createElement("noscript",{dangerouslySetInnerHTML:{__html:"Enable JavaScript to run this app."}})},N=function(ut){var lt,Qt=ut.loaderData,rr=ut.htmlPageOpts,or=ut.manifest,Rr=(or==null||(lt=or.assets)===null||lt===void 0?void 0:lt["umi.css"])||"";return Dt.createElement("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:"window.__UMI_LOADER_DATA__ = ".concat(JSON.stringify(Qt||{}),"; window.__UMI_METADATA_LOADER_DATA__ = ").concat(JSON.stringify(rr||{}),"; window.__UMI_BUILD_ClIENT_CSS__ = '").concat(Rr,"'")}})};function se(He){var ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof He=="string")return C(He)?(0,yr.Z)({src:He},ut):{content:He};if((0,bn.Z)(He)==="object")return(0,yr.Z)((0,yr.Z)({},He),ut);throw new Error("Invalid script type: ".concat((0,bn.Z)(He)))}function Ue(He){return C(He)?{type:"link",href:He}:{type:"style",content:He}}var Ke=function(ut){var lt,Qt,rr,or,Rr,_r,Mr=ut.htmlPageOpts;return Dt.createElement(Dt.Fragment,null,(Mr==null?void 0:Mr.title)&&Dt.createElement("title",null,Mr.title),Mr==null||(lt=Mr.favicons)===null||lt===void 0?void 0:lt.map(function(Jn,kn){return Dt.createElement("link",{key:kn,rel:"shortcut icon",href:Jn})}),(Mr==null?void 0:Mr.description)&&Dt.createElement("meta",{name:"description",content:Mr.description}),(Mr==null||(Qt=Mr.keywords)===null||Qt===void 0?void 0:Qt.length)&&Dt.createElement("meta",{name:"keywords",content:Mr.keywords.join(",")}),Mr==null||(rr=Mr.metas)===null||rr===void 0?void 0:rr.map(function(Jn){return Dt.createElement("meta",{key:Jn.name,name:Jn.name,content:Jn.content})}),Mr==null||(or=Mr.links)===null||or===void 0?void 0:or.map(function(Jn,kn){return Dt.createElement("link",(0,Pr.Z)({key:kn},Jn))}),Mr==null||(Rr=Mr.styles)===null||Rr===void 0?void 0:Rr.map(function(Jn,kn){var ca=Ue(Jn),ka=ca.type,Ua=ca.href,Br=ca.content;if(ka==="link")return Dt.createElement("link",{key:kn,rel:"stylesheet",href:Ua});if(ka==="style")return Dt.createElement("style",{key:kn},Br)}),Mr==null||(_r=Mr.headScripts)===null||_r===void 0?void 0:_r.map(function(Jn,kn){var ca=se(Jn),ka=ca.content,Ua=(0,$r.Z)(ca,fn);return Dt.createElement("script",(0,Pr.Z)({dangerouslySetInnerHTML:{__html:ka},key:kn,crossOrigin:"anonymous"},Ua))}))};function ct(He){var ut,lt=He.children,Qt=He.loaderData,rr=He.manifest,or=He.htmlPageOpts,Rr=He.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,_r=He.mountElementId;if(Rr!=null&&Rr.pureHtml)return Dt.createElement("html",null,Dt.createElement("head",null),Dt.createElement("body",null,Dt.createElement(M,null),Dt.createElement("div",{id:_r},lt),Dt.createElement(N,{manifest:rr,loaderData:Qt,htmlPageOpts:or})));if(Rr!=null&&Rr.pureApp)return Dt.createElement(Dt.Fragment,null,lt);var Mr=typeof window=="undefined"?rr==null?void 0:rr.assets["umi.css"]:window.__UMI_BUILD_ClIENT_CSS__;return Dt.createElement("html",{suppressHydrationWarning:!0,lang:(or==null?void 0:or.lang)||"en"},Dt.createElement("head",null,Dt.createElement("meta",{charSet:"utf-8"}),Dt.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),Mr&&Dt.createElement("link",{suppressHydrationWarning:!0,rel:"stylesheet",href:Mr}),Dt.createElement(Ke,{htmlPageOpts:or})),Dt.createElement("body",null,Dt.createElement(M,null),Dt.createElement("div",{id:_r},lt),Dt.createElement(N,{manifest:rr,loaderData:Qt,htmlPageOpts:or}),or==null||(ut=or.scripts)===null||ut===void 0?void 0:ut.map(function(Jn,kn){var ca=se(Jn),ka=ca.content,Ua=(0,$r.Z)(ca,zr);return Dt.createElement("script",(0,Pr.Z)({dangerouslySetInnerHTML:{__html:ka},key:kn,crossOrigin:"anonymous"},Ua))})))}var at=__webpack_require__(65796),Ge=["redirect"];function St(He){var ut=He.routesById,lt=He.parentId,Qt=He.routeComponents;return Object.keys(ut).filter(function(rr){return ut[rr].parentId===lt}).map(function(rr){var or=Ft((0,yr.Z)({route:ut[rr],routeComponent:Qt[rr],loadingComponent:He.loadingComponent,reactRouter5Compat:He.reactRouter5Compat},He.reactRouter5Compat&&{hasChildren:Object.keys(ut).filter(function(_r){return ut[_r].parentId===rr}).length>0})),Rr=St({routesById:ut,routeComponents:Qt,parentId:or.id,loadingComponent:He.loadingComponent,reactRouter5Compat:He.reactRouter5Compat});return Rr.length>0&&(or.children=Rr,or.routes=Rr),or})}function jt(He){var ut=(0,Dr.UO)(),lt=(0,Dr.Gn)(He.to,ut),Qt=(0,Vr.T$)(),rr=(0,Dr.TH)();if(Qt!=null&&Qt.keepQuery){var or=rr.search+rr.hash;lt+=or}var Rr=(0,yr.Z)((0,yr.Z)({},He),{},{to:lt});return Dt.createElement(Dr.Fg,(0,Pr.Z)({replace:!0},Rr))}function Ft(He){var ut=He.route,lt=ut.redirect,Qt=(0,$r.Z)(ut,Ge),rr=He.reactRouter5Compat?zt:Vt;return(0,yr.Z)({element:lt?Dt.createElement(jt,{to:lt}):Dt.createElement(at.X.Provider,{value:{route:He.route}},Dt.createElement(rr,{loader:Dt.memo(He.routeComponent),loadingComponent:He.loadingComponent||$t,hasChildren:He.hasChildren}))},Qt)}function $t(){return Dt.createElement("div",null)}function zt(He){var ut=(0,at.Q)(),lt=ut.route,Qt=(0,Vr.Ov)(),rr=Qt.history,or=Qt.clientRoutes,Rr=(0,Dr.UO)(),_r={params:Rr,isExact:!0,path:lt.path,url:rr.location.pathname},Mr=He.loader;return Dt.createElement(Dt.Suspense,{fallback:Dt.createElement(He.loadingComponent,null)},Dt.createElement(Mr,{location:rr.location,match:_r,history:rr,params:Rr,route:lt,routes:or},He.hasChildren&&Dt.createElement(Dr.j3,null)))}function Vt(He){var ut=He.loader;return Dt.createElement(Dt.Suspense,{fallback:Dt.createElement(He.loadingComponent,null)},Dt.createElement(ut,null))}var Kr=null;function Cr(){return Kr}function Ar(He){var ut=He.history,lt=Dt.useState({action:ut.action,location:ut.location}),Qt=qr(lt,2),rr=Qt[0],or=Qt[1];return(0,Dt.useLayoutEffect)(function(){return ut.listen(or)},[ut]),(0,Dt.useLayoutEffect)(function(){function Rr(_r){He.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:He.routes,clientRoutes:He.clientRoutes,location:_r.location,action:_r.action,basename:He.basename,isFirst:!!_r.isFirst}})}return Rr({location:rr.location,action:rr.action,isFirst:!0}),ut.listen(Rr)},[ut,He.routes,He.clientRoutes]),Dt.createElement(Dr.F0,{navigator:ut,location:rr.location,basename:He.basename},He.children)}function nr(){var He=(0,Vr.Ov)(),ut=He.clientRoutes;return(0,Dr.V$)(ut)}var vr=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],Ir=function(ut,lt){var Qt=ut.basename||"/",rr=St({routesById:ut.routes,routeComponents:ut.routeComponents,loadingComponent:ut.loadingComponent,reactRouter5Compat:ut.reactRouter5Compat});ut.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:rr}});for(var or=Dt.createElement(Ar,{basename:Qt,pluginManager:ut.pluginManager,routes:ut.routes,clientRoutes:rr,history:ut.history},lt),Rr=0,_r=vr;Rr<_r.length;Rr++){var Mr=_r[Rr];or=ut.pluginManager.applyPlugins({type:"modify",key:Mr,initialValue:or,args:{routes:ut.routes,history:ut.history,plugin:ut.pluginManager}})}var Jn=function(){var ca=(0,Dt.useState)({}),ka=qr(ca,2),Ua=ka[0],Br=ka[1],ir=(0,Dt.useState)(window.__UMI_LOADER_DATA__||{}),Yn=qr(ir,2),qn=Yn[0],na=Yn[1],Xa=(0,Dt.useCallback)(function(yo,Zn){var Nn,Ja=(((Nn=(0,Dr.fp)(rr,yo,Qt))===null||Nn===void 0?void 0:Nn.map(function(Wa){return Wa.route.id}))||[]).filter(Boolean);Ja.forEach(function(Wa){var bo,Do,hi=window.__umi_manifest__;if(hi){var Xo=Wa.replace(/[\/\-]/g,"_"),wo="preload-".concat(Xo,".js");if(!document.getElementById(wo)){var Ao=Object.keys(hi).filter(function(da){return da.startsWith(Xo+".")});Ao.forEach(function(da){if(!/\.(js|css)$/.test(da))throw Error("preload not support ".concat(da," file"));var Za=hi[da],no=document.createElement("link");no.rel="preload",no.as="style",da.endsWith(".js")&&(no.as="script",no.id=wo),ut.runtimePublicPath&&(Za=Za.replace(new RegExp("^".concat(ut.publicPath)),window.publicPath)),no.href=Za,document.head.appendChild(no)})}}var xo=(bo=ut.routes[Wa])===null||bo===void 0?void 0:bo.clientLoader,Ko=!!xo,Bo=(Do=ut.routes[Wa])===null||Do===void 0?void 0:Do.hasServerLoader;!Zn&&Bo&&!Ko&&!window.__UMI_LOADER_DATA__&&mn({id:Wa,basename:Qt,cb:function(Za){Dt.startTransition(function(){na(function(no){return(0,yr.Z)((0,yr.Z)({},no),{},(0,sr.Z)({},Wa,Za))})})}});var wi=!!Ua[Wa],Ta=Ko&&xo.hydrate||!Bo,sa=Bo&&!window.__UMI_LOADER_DATA__;Ko&&!wi&&(Ta||sa)&&xo({serverLoader:function(){return mn({id:Wa,basename:Qt,cb:function(no){Dt.startTransition(function(){na(function(To){return(0,yr.Z)((0,yr.Z)({},To),{},(0,sr.Z)({},Wa,no))})})}})}}).then(function(da){Br(function(Za){return(0,yr.Z)((0,yr.Z)({},Za),{},(0,sr.Z)({},Wa,da))})})})},[Ua]);return(0,Dt.useEffect)(function(){return Xa(window.location.pathname,!0),ut.history.listen(function(yo){Xa(yo.location.pathname)})},[]),(0,Dt.useLayoutEffect)(function(){typeof ut.callback=="function"&&ut.callback()},[]),Dt.createElement(Vr.Il.Provider,{value:{routes:ut.routes,routeComponents:ut.routeComponents,clientRoutes:rr,pluginManager:ut.pluginManager,rootElement:ut.rootElement,basename:Qt,clientLoaderData:Ua,serverLoaderData:qn,preloadRoute:Xa,history:ut.history}},or)};return Jn};function wn(He){var ut=He.rootElement||document.getElementById("root"),lt=Ir(He,Dt.createElement(nr,null));if(He.components)return lt;if(He.hydrate){var Qt=window.__UMI_LOADER_DATA__||{},rr=window.__UMI_METADATA_LOADER_DATA__||{},or={metadata:rr,loaderData:Qt,mountElementId:He.mountElementId},Rr=He.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.pureApp||He.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.pureHtml;Or.hydrateRoot(Rr?ut:document,Rr?Dt.createElement(lt,null):Dt.createElement(ct,or,Dt.createElement(lt,null)));return}if(Or.createRoot){Kr=Or.createRoot(ut),Kr.render(Dt.createElement(lt,null));return}Or.render(Dt.createElement(lt,null),ut)}function Xn(){return In.apply(this,arguments)}function In(){return In=a()(p()().mark(function He(){var ut;return p()().wrap(function(Qt){for(;;)switch(Qt.prev=Qt.next){case 0:return ut={404:{id:"404",path:"*",parentId:"DocLayout"},"dumi-context-layout":{id:"dumi-context-layout",path:"/",isLayout:!0},DocLayout:{id:"DocLayout",path:"/",parentId:"dumi-context-layout",isLayout:!0},"docs/demo/index":{path:"demo",id:"docs/demo/index",parentId:"DocLayout"},"docs/index":{path:"",id:"docs/index",parentId:"DocLayout"},"demo-render":{id:"demo-render",path:"~demos/:id",parentId:"dumi-context-layout",prerender:!1}},Qt.abrupt("return",{routes:ut,routeComponents:{404:Dt.lazy(function(){return __webpack_require__.e(65).then(__webpack_require__.bind(__webpack_require__,20402))}),"dumi-context-layout":Dt.lazy(function(){return __webpack_require__.e(923).then(__webpack_require__.bind(__webpack_require__,89907))}),DocLayout:Dt.lazy(function(){return Promise.all([__webpack_require__.e(288),__webpack_require__.e(519)]).then(__webpack_require__.bind(__webpack_require__,75315))}),"docs/demo/index":Dt.lazy(function(){return __webpack_require__.e(570).then(__webpack_require__.bind(__webpack_require__,60252))}),"docs/index":Dt.lazy(function(){return __webpack_require__.e(935).then(__webpack_require__.bind(__webpack_require__,29331))}),"demo-render":Dt.lazy(function(){return __webpack_require__.e(9).then(__webpack_require__.bind(__webpack_require__,16694))})}});case 2:case"end":return Qt.stop()}},He)})),In.apply(this,arguments)}var Kn=__webpack_require__(65337),va=__webpack_require__(96601),ya=__webpack_require__(81890),Sa="/color-picker/",wt=!1;function qe(){return ft.apply(this,arguments)}function ft(){return ft=a()(p()().mark(function He(){var ut,lt,Qt,rr,or,Rr,_r,Mr;return p()().wrap(function(kn){for(;;)switch(kn.prev=kn.next){case 0:return ut=(0,er.gD)(),kn.next=3,Xn(ut);case 3:return lt=kn.sent,Qt=lt.routes,rr=lt.routeComponents,kn.next=8,ut.applyPlugins({key:"patchRoutes",type:ya.Ac.event,args:{routes:Qt,routeComponents:rr}});case 8:return or=ut.applyPlugins({key:"modifyContextOpts",type:ya.Ac.modify,initialValue:{}}),Rr=or.basename||"/color-picker/",_r=or.historyType||"browser",Mr=(0,Kn.fi)(n()({type:_r,basename:Rr},or.historyOpts)),kn.abrupt("return",ut.applyPlugins({key:"render",type:ya.Ac.compose,initialValue:function(){var ka={routes:Qt,routeComponents:rr,pluginManager:ut,mountElementId:"root",rootElement:or.rootElement||document.getElementById("root"),loadingComponent:va.Z,publicPath:Sa,runtimePublicPath:wt,history:Mr,historyType:_r,basename:Rr,__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{pureApp:!1,pureHtml:!1},callback:or.callback},Ua=ut.applyPlugins({key:"modifyClientRenderOpts",type:ya.Ac.modify,initialValue:ka});return wn(Ua)}})());case 13:case"end":return kn.stop()}},He)})),ft.apply(this,arguments)}typeof history!="undefined"&&location.pathname.length>1&&location.pathname.endsWith("/")&&history.replaceState({},"",location.pathname.slice(0,-1)+location.search+location.hash),function(){var He=typeof navigator!="undefined"&&navigator.cookieEnabled&&typeof window.localStorage!="undefined"&&localStorage.getItem("dumi:prefers-color")||"light",ut=typeof window!="undefined"&&window.matchMedia("(prefers-color-scheme: dark)").matches,lt=["light","dark","auto"];typeof document!="undefined"&&document.documentElement.setAttribute("data-prefers-color",He===lt[2]?ut?lt[1]:lt[0]:lt.indexOf(He)>-1?He:lt[0])}(),qe(),typeof window!="undefined"&&(window.g_umi={version:"4.3.9"}),(0,tr.rl)((0,er.We)())})()})(); }()); \ No newline at end of file diff --git a/~demos/:id/index.html b/~demos/:id/index.html index 5b4ad4e..7aa18e4 100644 --- a/~demos/:id/index.html +++ b/~demos/:id/index.html @@ -11,10 +11,10 @@ } - +
- + \ No newline at end of file diff --git a/~demos/docs-demo-demo-basic/index.html b/~demos/docs-demo-demo-basic/index.html index 5b4ad4e..7aa18e4 100644 --- a/~demos/docs-demo-demo-basic/index.html +++ b/~demos/docs-demo-demo-basic/index.html @@ -11,10 +11,10 @@ } - +
- + \ No newline at end of file diff --git a/~demos/docs-demo-demo-block/index.html b/~demos/docs-demo-demo-block/index.html index 5b4ad4e..7aa18e4 100644 --- a/~demos/docs-demo-demo-block/index.html +++ b/~demos/docs-demo-demo-block/index.html @@ -11,10 +11,10 @@ } - +
- + \ No newline at end of file diff --git a/~demos/docs-demo-demo-changecomplete/index.html b/~demos/docs-demo-demo-changecomplete/index.html index 5b4ad4e..7aa18e4 100644 --- a/~demos/docs-demo-demo-changecomplete/index.html +++ b/~demos/docs-demo-demo-changecomplete/index.html @@ -11,10 +11,10 @@ } - +
- + \ No newline at end of file diff --git a/~demos/docs-demo-demo-components/index.html b/~demos/docs-demo-demo-components/index.html index 5b4ad4e..7aa18e4 100644 --- a/~demos/docs-demo-demo-components/index.html +++ b/~demos/docs-demo-demo-components/index.html @@ -11,10 +11,10 @@ } - +
- + \ No newline at end of file diff --git a/~demos/docs-demo-demo-disabled/index.html b/~demos/docs-demo-demo-disabled/index.html index 5b4ad4e..7aa18e4 100644 --- a/~demos/docs-demo-demo-disabled/index.html +++ b/~demos/docs-demo-demo-disabled/index.html @@ -11,10 +11,10 @@ } - +
- + \ No newline at end of file diff --git a/~demos/docs-demo-demo-disabledalpha/index.html b/~demos/docs-demo-demo-disabledalpha/index.html index 5b4ad4e..7aa18e4 100644 --- a/~demos/docs-demo-demo-disabledalpha/index.html +++ b/~demos/docs-demo-demo-disabledalpha/index.html @@ -11,10 +11,10 @@ } - +
- + \ No newline at end of file diff --git a/~demos/docs-demo-demo-panelrender/index.html b/~demos/docs-demo-demo-panelrender/index.html index 5b4ad4e..7aa18e4 100644 --- a/~demos/docs-demo-demo-panelrender/index.html +++ b/~demos/docs-demo-demo-panelrender/index.html @@ -11,10 +11,10 @@ } - +
- + \ No newline at end of file diff --git a/~demos/docs-demo-demo-trigger/index.html b/~demos/docs-demo-demo-trigger/index.html index 5b4ad4e..7aa18e4 100644 --- a/~demos/docs-demo-demo-trigger/index.html +++ b/~demos/docs-demo-demo-trigger/index.html @@ -11,10 +11,10 @@ } - +
- + \ No newline at end of file