diff --git a/1670.4af6911f.async.js b/1670.a43642eb.async.js similarity index 98% rename from 1670.4af6911f.async.js rename to 1670.a43642eb.async.js index 93cf24b..8f6220b 100644 --- a/1670.4af6911f.async.js +++ b/1670.a43642eb.async.js @@ -1,2 +1,2 @@ -(self.webpackChunkroot=self.webpackChunkroot||[]).push([[1670],{41670:function(y,j,r){"use strict";r.r(j),r.d(j,{default:function(){return V}});var E=r(57213),o=r.n(E),u=r(68683),s=r(50959),i={submit:"submit",reset:"reset",collapse:"collapse"},b={prefixCls:"schema-render",layoutColumnGap:10,layoutRowGap:15,actions:[i.reset,i.submit,i.collapse],defaultCollapsed:!0,collapsedRows:2},A=r(54306),S=r.n(A),N=r(88695),O=r(15752),v=r(88182),m=r(90597);function Z(e,c,a){var t,n;if(a)return a(e);if(!e)return 5;var l=e.clientWidth,d=((t=e.firstElementChild)===null||t===void 0||(n=t.getBoundingClientRect())===null||n===void 0?void 0:n.width)||320;return Math.floor(l/d)*c-1}var H=r(54689),P=r.n(H);function D(e,c){var a={},t=Object.keys(e.properties).slice(0,c),n=P()(t),l;try{for(n.s();!(l=n.n()).done;){var d=l.value;a[d]=e.properties[d]}}catch(h){n.e(h)}finally{n.f()}return{renderType:"Root",properties:a}}function W(e){var c=e.isCollapsed,a=e.rawSchema,t=e.collapsedNumber;return c?D(a,t):a}var I=r(32766);function $(e){return I.PO(e)?Object.keys(e).length:I.kJ(e)||I.HD(e)?e.length:0}var w=r(55225);function G(e,c){var a=(0,w.Z)(c),t=(0,s.useRef)(-1);(0,s.useEffect)(function(){var n,l=(n=e.current)===null||n===void 0?void 0:n.getRootElement();if(l){var d=new ResizeObserver(function(h){var p=h[0].contentRect.width;t.current!==p&&(t.current=p,a.current(l))});return d.observe(l),function(){return d.disconnect()}}},[])}var g=r(11527);function L(e,c){var a=e.schema,t=(0,s.useState)(e.defaultCollapsed),n=S()(t,2),l=n[0],d=n[1],h=(0,s.useState)(function(){var f;return Z((f=c.current)===null||f===void 0?void 0:f.getRootElement(),e.collapsedRows,e.calcCollapsedNumber)}),p=S()(h,2),x=p[0],X=p[1],z=(0,s.useRef)(a);(0,s.useMemo)(function(){z.current=W({isCollapsed:l,collapsedNumber:x,rawSchema:a})},[x,l,a]),G(c,function(f){X(Z(f,e.collapsedRows,e.calcCollapsedNumber))});var M=(0,v.Z)(function(f){var C;d(f),(C=e.onToggleCollapsed)===null||C===void 0||C.call(e,f)}),Y=(0,v.Z)(function(f){var C,R=f.locale;if($(a.properties)<=x)return null;if(l){var T;return(0,g.jsxs)(m.ZP,{type:"link",onClick:function(){return M(!1)},style:{padding:0},children:[R==null||(T=R.Search)===null||T===void 0?void 0:T.expand,(0,g.jsx)(N.Z,{})]})}return(0,g.jsxs)(m.ZP,{type:"link",onClick:function(){return M(!0)},style:{padding:0},children:[R==null||(C=R.Search)===null||C===void 0?void 0:C.collapse,(0,g.jsx)(O.Z,{})]})}),k=o()({collapse:Y},e.registerActions);return{schema:z.current,registerActions:k}}var F=r(87793),U=o()(o()({},F.Z),{},{FormRender:o()(o()({},F.Z.FormRender),{},{submit:"\u67E5\u8BE2"}),Search:{collapse:"\u6536\u8D77",expand:"\u5C55\u5F00"}}),B=r(98445);function J(e){return{className:B.Rk(e,"form-actions"),style:{gridColumnStart:-2,textAlign:"end"}}}var K=function(c,a){var t=o()(o()({},b),c),n=(0,s.useRef)(null),l=(0,s.useMemo)(function(){return o()(o()({},U),t.locale)},[t.locale]),d=L(t,n),h=d.schema,p=d.registerActions,x=(0,s.useMemo)(function(){return J(t.prefixCls)},[t.prefixCls]);return(0,s.useImperativeHandle)(a,function(){return n.current}),(0,g.jsx)(u.default,o()(o()({layout:"autoFill"},t),{},{ref:n,locale:l,schema:h,registerActions:p,actionsRestSchema:x,actionsRenderMode:"formItem"}))},Q=(0,s.forwardRef)(K),V=Q},54689:function(y,j,r){var E=r(41442);function o(u,s){var i=typeof Symbol!="undefined"&&u[Symbol.iterator]||u["@@iterator"];if(!i){if(Array.isArray(u)||(i=E(u))||s&&u&&typeof u.length=="number"){i&&(u=i);var b=0,A=function(){};return{s:A,n:function(){return b>=u.length?{done:!0}:{done:!1,value:u[b++]}},e:function(m){throw m},f:A}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +(self.webpackChunkroot=self.webpackChunkroot||[]).push([[1670],{41670:function(y,j,r){"use strict";r.r(j),r.d(j,{default:function(){return V}});var E=r(57213),o=r.n(E),u=r(46440),s=r(50959),i={submit:"submit",reset:"reset",collapse:"collapse"},b={prefixCls:"schema-render",layoutColumnGap:10,layoutRowGap:15,actions:[i.reset,i.submit,i.collapse],defaultCollapsed:!0,collapsedRows:2},A=r(54306),S=r.n(A),N=r(88695),O=r(15752),v=r(88182),m=r(90597);function Z(e,c,a){var t,n;if(a)return a(e);if(!e)return 5;var l=e.clientWidth,d=((t=e.firstElementChild)===null||t===void 0||(n=t.getBoundingClientRect())===null||n===void 0?void 0:n.width)||320;return Math.floor(l/d)*c-1}var H=r(54689),P=r.n(H);function D(e,c){var a={},t=Object.keys(e.properties).slice(0,c),n=P()(t),l;try{for(n.s();!(l=n.n()).done;){var d=l.value;a[d]=e.properties[d]}}catch(h){n.e(h)}finally{n.f()}return{renderType:"Root",properties:a}}function W(e){var c=e.isCollapsed,a=e.rawSchema,t=e.collapsedNumber;return c?D(a,t):a}var I=r(32766);function $(e){return I.PO(e)?Object.keys(e).length:I.kJ(e)||I.HD(e)?e.length:0}var w=r(55225);function G(e,c){var a=(0,w.Z)(c),t=(0,s.useRef)(-1);(0,s.useEffect)(function(){var n,l=(n=e.current)===null||n===void 0?void 0:n.getRootElement();if(l){var d=new ResizeObserver(function(h){var p=h[0].contentRect.width;t.current!==p&&(t.current=p,a.current(l))});return d.observe(l),function(){return d.disconnect()}}},[])}var g=r(11527);function L(e,c){var a=e.schema,t=(0,s.useState)(e.defaultCollapsed),n=S()(t,2),l=n[0],d=n[1],h=(0,s.useState)(function(){var f;return Z((f=c.current)===null||f===void 0?void 0:f.getRootElement(),e.collapsedRows,e.calcCollapsedNumber)}),p=S()(h,2),x=p[0],X=p[1],z=(0,s.useRef)(a);(0,s.useMemo)(function(){z.current=W({isCollapsed:l,collapsedNumber:x,rawSchema:a})},[x,l,a]),G(c,function(f){X(Z(f,e.collapsedRows,e.calcCollapsedNumber))});var M=(0,v.Z)(function(f){var C;d(f),(C=e.onToggleCollapsed)===null||C===void 0||C.call(e,f)}),Y=(0,v.Z)(function(f){var C,R=f.locale;if($(a.properties)<=x)return null;if(l){var T;return(0,g.jsxs)(m.ZP,{type:"link",onClick:function(){return M(!1)},style:{padding:0},children:[R==null||(T=R.Search)===null||T===void 0?void 0:T.expand,(0,g.jsx)(N.Z,{})]})}return(0,g.jsxs)(m.ZP,{type:"link",onClick:function(){return M(!0)},style:{padding:0},children:[R==null||(C=R.Search)===null||C===void 0?void 0:C.collapse,(0,g.jsx)(O.Z,{})]})}),k=o()({collapse:Y},e.registerActions);return{schema:z.current,registerActions:k}}var F=r(87793),U=o()(o()({},F.Z),{},{FormRender:o()(o()({},F.Z.FormRender),{},{submit:"\u67E5\u8BE2"}),Search:{collapse:"\u6536\u8D77",expand:"\u5C55\u5F00"}}),B=r(98445);function J(e){return{className:B.Rk(e,"form-actions"),style:{gridColumnStart:-2,textAlign:"end"}}}var K=function(c,a){var t=o()(o()({},b),c),n=(0,s.useRef)(null),l=(0,s.useMemo)(function(){return o()(o()({},U),t.locale)},[t.locale]),d=L(t,n),h=d.schema,p=d.registerActions,x=(0,s.useMemo)(function(){return J(t.prefixCls)},[t.prefixCls]);return(0,s.useImperativeHandle)(a,function(){return n.current}),(0,g.jsx)(u.default,o()(o()({layout:"autoFill"},t),{},{ref:n,locale:l,schema:h,registerActions:p,actionsRestSchema:x,actionsRenderMode:"formItem"}))},Q=(0,s.forwardRef)(K),V=Q},54689:function(y,j,r){var E=r(41442);function o(u,s){var i=typeof Symbol!="undefined"&&u[Symbol.iterator]||u["@@iterator"];if(!i){if(Array.isArray(u)||(i=E(u))||s&&u&&typeof u.length=="number"){i&&(u=i);var b=0,A=function(){};return{s:A,n:function(){return b>=u.length?{done:!0}:{done:!1,value:u[b++]}},e:function(m){throw m},f:A}}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 S=!0,N=!1,O;return{s:function(){i=i.call(u)},n:function(){var m=i.next();return S=m.done,m},e:function(m){N=!0,O=m},f:function(){try{!S&&i.return!=null&&i.return()}finally{if(N)throw O}}}}y.exports=o,y.exports.__esModule=!0,y.exports.default=y.exports}}]); diff --git a/2070.983b893c.async.js b/2070.983b893c.async.js new file mode 100644 index 0000000..a52f01e --- /dev/null +++ b/2070.983b893c.async.js @@ -0,0 +1,5 @@ +(self.webpackChunkroot=self.webpackChunkroot||[]).push([[2070],{91941:function(K,H,v){"use strict";var L=v(7196),P=v(50959),E=v(51634);function R(u,e){return M(u)||_(u,e)||T(u,e)||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 T(u,e){if(u){if(typeof u=="string")return I(u,e);var r=Object.prototype.toString.call(u).slice(8,-1);if(r==="Object"&&u.constructor&&(r=u.constructor.name),r==="Map"||r==="Set")return Array.from(u);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return I(u,e)}}function I(u,e){(e==null||e>u.length)&&(e=u.length);for(var r=0,a=new Array(e);r")},function:function(e){var r=this,a=e.signature;if(!a)return"Function";var f="oneOf"in a?a.oneOf:[a];return f.map(function(c){return"".concat(c.isAsync?"async ":"","(").concat(c.arguments.map(function(s){return"".concat(s.key,": ").concat(r.toString(s))}).join(", "),") => ").concat(r.toString(c.returnType))}).join(" | ")},dom:function(e){return e.className||"DOM"},enum:function(e){return e.enum.map(function(r){return JSON.stringify(r)}).join(" | ")},oneOf:function(e){var r=this;return e.oneOf.map(function(a){return r.getValidClassName(a)||r.toString(a)}).join(" | ")},getValidClassName:function(e){return"className"in e&&typeof e.className=="string"&&e.className!=="__type"?e.className:null}},W=function(e){var r=useState(function(){return N.toString(e)}),a=R(r,2),f=a[0],c=a[1];return useEffect(function(){c(N.toString(e))},[e]),React.createElement("code",null,f)},F=function(e){var r,a=useRouteMeta(),f=a.frontmatter,c=useAtomAssets(),s=c.components,p=e.id||f.atomId,y=useIntl();if(!p)throw new Error("`id` properties if required for API component!");var o=s==null?void 0:s[p];return React.createElement("div",{className:"markdown"},React.createElement(Table,null,React.createElement("thead",null,React.createElement("tr",null,React.createElement("th",null,y.formatMessage({id:"api.component.name"})),React.createElement("th",null,y.formatMessage({id:"api.component.description"})),React.createElement("th",null,y.formatMessage({id:"api.component.type"})),React.createElement("th",null,y.formatMessage({id:"api.component.default"})))),React.createElement("tbody",null,o&&(r=o.propsConfig)!==null&&r!==void 0&&r.properties?Object.entries(o.propsConfig.properties).map(function(d){var m,g=R(d,2),O=g[0],S=g[1];return React.createElement("tr",{key:O},React.createElement("td",null,O),React.createElement("td",null,S.description||"--"),React.createElement("td",null,React.createElement(W,S)),React.createElement("td",null,React.createElement("code",null,(m=o.propsConfig.required)!==null&&m!==void 0&&m.includes(O)?y.formatMessage({id:"api.component.required"}):JSON.stringify(S.default)||"--")))}):React.createElement("tr",null,React.createElement("td",{colSpan:4},y.formatMessage({id:"api.component.".concat(s?"not.found":"unavailable")},{id:p}))))))},B=null},79671:function(K,H,v){"use strict";v.d(H,{Z:function(){return R}});var L=v(50959);function P(){return P=Object.assign?Object.assign.bind():function(j){for(var T=1;Te.length)&&(r=e.length);for(var a=0,f=new Array(r);a=0)&&Object.prototype.propertyIsEnumerable.call(e,f)&&(a[f]=e[f])}return a}function F(e,r){if(e==null)return{};var a={},f=Object.keys(e),c,s;for(s=0;s=0)&&(a[c]=e[c]);return a}var B=function(r){var a=r.children,f=W(r,R),c=(0,E.useRef)(null),s=(0,E.useState)(!1),p=j(s,2),y=p[0],o=p[1],d=(0,E.useState)(!1),m=j(d,2),g=m[0],O=m[1];return(0,E.useEffect)(function(){var S=c.current;if(S){var t=P()(function(){o(S.scrollLeft>0),O(S.scrollLeftt.length)&&(n=t.length);for(var i=0,l=new Array(n);i1&&arguments[1]!==void 0?arguments[1]:"",i=[];return[].concat(t).forEach(function(l,w){var b="".concat(n?"".concat(n,"-"):"").concat(w);switch(l==null?void 0:l.type){case"ul":{var A,C=((A=i[i.length-1])===null||A===void 0?void 0:A.children)||i,k=c(l.props.children||[],b);C.push.apply(C,B(k));break}case"li":{var D=c(l.props.children,b);i.push({title:[].concat(l.props.children).filter(function($){return $.type!=="ul"}),key:b,children:D,isLeaf:!D.length});break}default:}}),i}var s=function(n){var i=useState(c(n)),l=M(i,2),w=l[0],b=l[1];return useEffect(function(){b(c(n))},[n]),w},p=function(n){var i=n.isLeaf,l=n.expanded;return i?React.createElement("span",{className:"dumi-default-tree-icon"},React.createElement(FileOutlined,{fill:"currentColor"})):l?React.createElement("span",{className:"dumi-default-tree-icon"},React.createElement(FolderOpenOutlined,{fill:"currentColor"})):React.createElement("span",{className:"dumi-default-tree-icon"},React.createElement(FolderOutlined,{fill:"currentColor"}))},y=function(n){var i=n.isLeaf,l=n.expanded;return i?React.createElement("span",{className:"tree-switcher-leaf-line"}):l?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"})))},o=function(){return{height:0,opacity:0}},d=function(n){var i=n.scrollHeight;return{height:i,opacity:1}},m=function(n){return{height:n?n.offsetHeight:0}},g=function(n,i){return(i==null?void 0:i.deadline)===!0||i.propertyName==="height"},O={motionName:"ant-motion-collapse",onAppearStart:o,onEnterStart:o,onAppearActive:d,onEnterActive:d,onLeaveStart:m,onLeaveActive:o,onAppearEnd:g,onEnterEnd:g,onLeaveEnd:g,motionDeadline:500},S=function(t){var n=s(t.children),i=createRef(),l=function(b,A){var C=A.isLeaf;C||b.shiftKey||b.metaKey||b.ctrlKey||i.current.onNodeExpand(b,A)};return React.createElement(Tree,{className:"dumi-default-tree",icon:p,ref:i,itemHeight:20,showLine:!0,selectable:!1,virtual:!1,motion:j(j({},O),{},{motionAppear:!1}),onClick:l,treeData:[{key:"0",title:t.title||"",children:n}],defaultExpandAll:!0,switcherIcon:y})}},30826:function(K,H,v){var L="Expected a function",P=NaN,E="[object Symbol]",R=/^\s+|\s+$/g,j=/^[-+]0x[0-9a-f]+$/i,T=/^0b[01]+$/i,I=/^0o[0-7]+$/i,_=parseInt,M=typeof v.g=="object"&&v.g&&v.g.Object===Object&&v.g,N=typeof self=="object"&&self&&self.Object===Object&&self,W=M||N||Function("return this")(),F=Object.prototype,B=F.toString,u=Math.max,e=Math.min,r=function(){return W.Date.now()};function a(o,d,m){var g,O,S,t,n,i,l=0,w=!1,b=!1,A=!0;if(typeof o!="function")throw new TypeError(L);d=y(d)||0,c(m)&&(w=!!m.leading,b="maxWait"in m,S=b?u(y(m.maxWait)||0,d):S,A="trailing"in m?!!m.trailing:A);function C(h){var x=g,U=O;return g=O=void 0,l=h,t=o.apply(U,x),t}function k(h){return l=h,n=setTimeout(V,d),w?C(h):t}function D(h){var x=h-i,U=h-l,X=d-x;return b?e(X,S-U):X}function $(h){var x=h-i,U=h-l;return i===void 0||x>=d||x<0||b&&U>=S}function V(){var h=r();if($(h))return J(h);n=setTimeout(V,D(h))}function J(h){return n=void 0,A&&g?C(h):(g=O=void 0,t)}function Z(){n!==void 0&&clearTimeout(n),l=0,g=i=O=n=void 0}function G(){return n===void 0?t:J(r())}function z(){var h=r(),x=$(h);if(g=arguments,O=this,i=h,x){if(n===void 0)return k(i);if(b)return n=setTimeout(V,d),C(i)}return n===void 0&&(n=setTimeout(V,d)),t}return z.cancel=Z,z.flush=G,z}function f(o,d,m){var g=!0,O=!0;if(typeof o!="function")throw new TypeError(L);return c(m)&&(g="leading"in m?!!m.leading:g,O="trailing"in m?!!m.trailing:O),a(o,d,{leading:g,maxWait:d,trailing:O})}function c(o){var d=typeof o;return!!o&&(d=="object"||d=="function")}function s(o){return!!o&&typeof o=="object"}function p(o){return typeof o=="symbol"||s(o)&&B.call(o)==E}function y(o){if(typeof o=="number")return o;if(p(o))return P;if(c(o)){var d=typeof o.valueOf=="function"?o.valueOf():o;o=c(d)?d+"":d}if(typeof o!="string")return o===0?o:+o;o=o.replace(R,"");var m=T.test(o);return m||I.test(o)?_(o.slice(2),m?2:8):j.test(o)?P:+o}K.exports=f}}]); diff --git a/2070.b5dab85f.async.js b/2070.b5dab85f.async.js deleted file mode 100644 index 07ccb21..0000000 --- a/2070.b5dab85f.async.js +++ /dev/null @@ -1,5 +0,0 @@ -(self.webpackChunkroot=self.webpackChunkroot||[]).push([[2070],{91941:function($,K,h){"use strict";var x=h(7196),P=h(50959),E=h(51634);function C(u,e){return M(u)||R(u,e)||j(u,e)||_()}function _(){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 j(u,e){if(u){if(typeof u=="string")return T(u,e);var r=Object.prototype.toString.call(u).slice(8,-1);if(r==="Object"&&u.constructor&&(r=u.constructor.name),r==="Map"||r==="Set")return Array.from(u);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return T(u,e)}}function T(u,e){(e==null||e>u.length)&&(e=u.length);for(var r=0,i=new Array(e);r")},function:function(e){var r=this,i=e.signature;if(!i)return"Function";var f="oneOf"in i?i.oneOf:[i];return f.map(function(c){return"".concat(c.isAsync?"async ":"","(").concat(c.arguments.map(function(s){return"".concat(s.key,": ").concat(r.toString(s))}).join(", "),") => ").concat(r.toString(c.returnType))}).join(" | ")},dom:function(e){return e.className||"DOM"},enum:function(e){return e.enum.map(function(r){return JSON.stringify(r)}).join(" | ")},oneOf:function(e){var r=this;return e.oneOf.map(function(i){return r.getValidClassName(i)||r.toString(i)}).join(" | ")},getValidClassName:function(e){return"className"in e&&typeof e.className=="string"&&e.className!=="__type"?e.className:null}},W=function(e){var r=useState(function(){return L.toString(e)}),i=C(r,2),f=i[0],c=i[1];return useEffect(function(){c(L.toString(e))},[e]),React.createElement("code",null,f)},H=function(e){var r,i=useRouteMeta(),f=i.frontmatter,c=useAtomAssets(),s=c.components,p=e.id||f.atomId,y=useIntl();if(!p)throw new Error("`id` properties if required for API component!");var o=s==null?void 0:s[p];return React.createElement("div",{className:"markdown"},React.createElement(Table,null,React.createElement("thead",null,React.createElement("tr",null,React.createElement("th",null,y.formatMessage({id:"api.component.name"})),React.createElement("th",null,y.formatMessage({id:"api.component.description"})),React.createElement("th",null,y.formatMessage({id:"api.component.type"})),React.createElement("th",null,y.formatMessage({id:"api.component.default"})))),React.createElement("tbody",null,o&&(r=o.propsConfig)!==null&&r!==void 0&&r.properties?Object.entries(o.propsConfig.properties).map(function(d){var m,v=C(d,2),O=v[0],S=v[1];return React.createElement("tr",{key:O},React.createElement("td",null,O),React.createElement("td",null,S.description||"--"),React.createElement("td",null,React.createElement(W,S)),React.createElement("td",null,React.createElement("code",null,(m=o.propsConfig.required)!==null&&m!==void 0&&m.includes(O)?y.formatMessage({id:"api.component.required"}):JSON.stringify(S.default)||"--")))}):React.createElement("tr",null,React.createElement("td",{colSpan:4},y.formatMessage({id:"api.component.".concat(s?"not.found":"unavailable")},{id:p}))))))},F=null},79671:function($,K,h){"use strict";var x=h(50959);function P(){return P=Object.assign?Object.assign.bind():function(_){for(var j=1;je.length)&&(r=e.length);for(var i=0,f=new Array(r);i=0)&&Object.prototype.propertyIsEnumerable.call(e,f)&&(i[f]=e[f])}return i}function H(e,r){if(e==null)return{};var i={},f=Object.keys(e),c,s;for(s=0;s=0)&&(i[c]=e[c]);return i}var F=function(r){var i=r.children,f=W(r,C),c=(0,E.useRef)(null),s=(0,E.useState)(!1),p=_(s,2),y=p[0],o=p[1],d=(0,E.useState)(!1),m=_(d,2),v=m[0],O=m[1];return(0,E.useEffect)(function(){var S=c.current;if(S){var t=P()(function(){o(S.scrollLeft>0),O(S.scrollLeftt.length)&&(n=t.length);for(var a=0,l=new Array(n);a1&&arguments[1]!==void 0?arguments[1]:"",a=[];return[].concat(t).forEach(function(l,I){var b="".concat(n?"".concat(n,"-"):"").concat(I);switch(l==null?void 0:l.type){case"ul":{var A,w=((A=a[a.length-1])===null||A===void 0?void 0:A.children)||a,N=c(l.props.children||[],b);w.push.apply(w,F(N));break}case"li":{var D=c(l.props.children,b);a.push({title:[].concat(l.props.children).filter(function(B){return B.type!=="ul"}),key:b,children:D,isLeaf:!D.length});break}default:}}),a}var s=function(n){var a=useState(c(n)),l=M(a,2),I=l[0],b=l[1];return useEffect(function(){b(c(n))},[n]),I},p=function(n){var a=n.isLeaf,l=n.expanded;return a?React.createElement("span",{className:"dumi-default-tree-icon"},React.createElement(FileOutlined,{fill:"currentColor"})):l?React.createElement("span",{className:"dumi-default-tree-icon"},React.createElement(FolderOpenOutlined,{fill:"currentColor"})):React.createElement("span",{className:"dumi-default-tree-icon"},React.createElement(FolderOutlined,{fill:"currentColor"}))},y=function(n){var a=n.isLeaf,l=n.expanded;return a?React.createElement("span",{className:"tree-switcher-leaf-line"}):l?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"})))},o=function(){return{height:0,opacity:0}},d=function(n){var a=n.scrollHeight;return{height:a,opacity:1}},m=function(n){return{height:n?n.offsetHeight:0}},v=function(n,a){return(a==null?void 0:a.deadline)===!0||a.propertyName==="height"},O={motionName:"ant-motion-collapse",onAppearStart:o,onEnterStart:o,onAppearActive:d,onEnterActive:d,onLeaveStart:m,onLeaveActive:o,onAppearEnd:v,onEnterEnd:v,onLeaveEnd:v,motionDeadline:500},S=function(t){var n=s(t.children),a=createRef(),l=function(b,A){var w=A.isLeaf;w||b.shiftKey||b.metaKey||b.ctrlKey||a.current.onNodeExpand(b,A)};return React.createElement(Tree,{className:"dumi-default-tree",icon:p,ref:a,itemHeight:20,showLine:!0,selectable:!1,virtual:!1,motion:_(_({},O),{},{motionAppear:!1}),onClick:l,treeData:[{key:"0",title:t.title||"",children:n}],defaultExpandAll:!0,switcherIcon:y})}},30826:function($,K,h){var x="Expected a function",P=NaN,E="[object Symbol]",C=/^\s+|\s+$/g,_=/^[-+]0x[0-9a-f]+$/i,j=/^0b[01]+$/i,T=/^0o[0-7]+$/i,R=parseInt,M=typeof h.g=="object"&&h.g&&h.g.Object===Object&&h.g,L=typeof self=="object"&&self&&self.Object===Object&&self,W=M||L||Function("return this")(),H=Object.prototype,F=H.toString,u=Math.max,e=Math.min,r=function(){return W.Date.now()};function i(o,d,m){var v,O,S,t,n,a,l=0,I=!1,b=!1,A=!0;if(typeof o!="function")throw new TypeError(x);d=y(d)||0,c(m)&&(I=!!m.leading,b="maxWait"in m,S=b?u(y(m.maxWait)||0,d):S,A="trailing"in m?!!m.trailing:A);function w(g){var k=v,U=O;return v=O=void 0,l=g,t=o.apply(U,k),t}function N(g){return l=g,n=setTimeout(V,d),I?w(g):t}function D(g){var k=g-a,U=g-l,X=d-k;return b?e(X,S-U):X}function B(g){var k=g-a,U=g-l;return a===void 0||k>=d||k<0||b&&U>=S}function V(){var g=r();if(B(g))return J(g);n=setTimeout(V,D(g))}function J(g){return n=void 0,A&&v?w(g):(v=O=void 0,t)}function G(){n!==void 0&&clearTimeout(n),l=0,v=a=O=n=void 0}function Z(){return n===void 0?t:J(r())}function z(){var g=r(),k=B(g);if(v=arguments,O=this,a=g,k){if(n===void 0)return N(a);if(b)return n=setTimeout(V,d),w(a)}return n===void 0&&(n=setTimeout(V,d)),t}return z.cancel=G,z.flush=Z,z}function f(o,d,m){var v=!0,O=!0;if(typeof o!="function")throw new TypeError(x);return c(m)&&(v="leading"in m?!!m.leading:v,O="trailing"in m?!!m.trailing:O),i(o,d,{leading:v,maxWait:d,trailing:O})}function c(o){var d=typeof o;return!!o&&(d=="object"||d=="function")}function s(o){return!!o&&typeof o=="object"}function p(o){return typeof o=="symbol"||s(o)&&F.call(o)==E}function y(o){if(typeof o=="number")return o;if(p(o))return P;if(c(o)){var d=typeof o.valueOf=="function"?o.valueOf():o;o=c(d)?d+"":d}if(typeof o!="string")return o===0?o:+o;o=o.replace(C,"");var m=j.test(o);return m||T.test(o)?R(o.slice(2),m?2:8):_.test(o)?P:+o}$.exports=f}}]); diff --git a/2095.1d5272c4.async.js b/2095.1d5272c4.async.js deleted file mode 100644 index 7aa5d49..0000000 --- a/2095.1d5272c4.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkroot=self.webpackChunkroot||[]).push([[2095],{72095:function(p,t,r){r.r(t);var e=[{label:"\u6210\u90FD",value:"chengdu"},{label:"\u676D\u5DDE",value:"hangzhou"},{label:"\u6DF1\u5733",value:"shenzhen"},{label:"\u5317\u4EAC",value:"beijing",disabled:!0}],n={renderType:"Root",properties:{InputText:{title:"\u5355\u884C\u6587\u672C\uFF08InputText\uFF09",renderType:"InputText",renderOptions:{placeholder:"\u8BF7\u8F93\u5165\u5185\u5BB9"}},InputNumber:{title:"\u6570\u5B57\uFF08InputNumber\uFF09",renderType:"InputNumber",renderOptions:{placeholder:"\u8BF7\u8F93\u5165\u6570\u5B57"}},Switch:{title:"\u5F00\u5173\uFF08Switch\uFF09",renderType:"Switch"},TextArea:{title:"\u591A\u884C\u6587\u672C\uFF08TextArea\uFF09",renderType:"TextArea",renderOptions:{placeholder:"\u8BF7\u8F93\u5165\u5185\u5BB9"}},Password:{title:"\u5BC6\u7801\u6846\uFF08Password\uFF09",renderType:"Password",renderOptions:{placeholder:"\u8BF7\u8F93\u5165\u5BC6\u7801"}},Select:{title:"\u5355\u9879\u9009\u62E9\u5668\uFF08Select\uFF09",renderType:"Select",renderOptions:{placeholder:"\u8BF7\u9009\u62E9\u5185\u5BB9",options:e,mode:"multiple"}},SelectMultiple:{title:"\u591A\u9879\u9009\u62E9\u5668\uFF08SelectMultiple\uFF09",renderType:"SelectMultiple",renderOptions:{placeholder:"\u8BF7\u9009\u62E9\u5185\u5BB9",options:e}},Radio:{title:"\u5355\u9009\u6846\uFF08Radio\uFF09",renderType:"Radio",renderOptions:{options:e}},Checkbox:{title:"\u591A\u9009\u6846\uFF08Checkbox\uFF09",renderType:"Checkbox",renderOptions:{options:e}},Rate:{title:"\u8BC4\u5206\uFF08Rate\uFF09",renderType:"Rate"},DatePicker:{title:"\u65E5\u671F\uFF08DatePicker\uFF09",renderType:"DatePicker",renderOptions:{placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",format:"YYYY\u5E74MM\u6708DD\u65E5"}},DateRangePicker:{title:"\u65E5\u671F\u8303\u56F4\uFF08DateRangePicker\uFF09",renderType:"DateRangePicker",renderOptions:{placeholder:["\u5F00\u59CB\u65E5\u671F","\u7ED3\u675F\u65E5\u671F"]}},Description:{title:"\u7EAF\u5C55\u793A\uFF08Description\uFF09",renderType:"Description"},Object:{title:"\u5BF9\u8C61\u5BB9\u5668\uFF08Object\uFF09",renderType:"Object",properties:{InputText:{title:"\u5355\u884C\u6587\u672C\uFF08InputText\uFF09",renderType:"InputText",renderOptions:{placeholder:"\u8BF7\u8F93\u5165\u5185\u5BB9"}},InputNumber:{title:"\u6570\u5B57\uFF08InputNumber\uFF09",renderType:"InputNumber",renderOptions:{placeholder:"\u8BF7\u8F93\u5165\u6570\u5B57"}}}},ObjectRightIcon:{title:"\u5BF9\u8C61\u5BB9\u5668\uFF0C\u7BAD\u5934\u5728\u53F3\u8FB9",renderType:"Object",renderOptions:{headerOptions:{expandIconPosition:"end"}},properties:{InputText:{title:"\u5355\u884C\u6587\u672C\uFF08InputText\uFF09",renderType:"InputText",renderOptions:{placeholder:"\u8BF7\u8F93\u5165\u5185\u5BB9"}},InputNumber:{title:"\u6570\u5B57\uFF08InputNumber\uFF09",renderType:"InputNumber",renderOptions:{placeholder:"\u8BF7\u8F93\u5165\u6570\u5B57"}}}},ObjectNotCollapse:{title:"\u5BF9\u8C61\u5BB9\u5668\uFF0C\u4E0D\u5141\u8BB8\u6298\u53E0",renderType:"Object",renderOptions:{headerOptions:{collapsible:"icon"},panelOptions:{showArrow:!1}},properties:{InputText:{title:"\u5355\u884C\u6587\u672C\uFF08InputText\uFF09",renderType:"InputText",renderOptions:{placeholder:"\u8BF7\u8F93\u5165\u5185\u5BB9"}},InputNumber:{title:"\u6570\u5B57\uFF08InputNumber\uFF09",renderType:"InputNumber",renderOptions:{placeholder:"\u8BF7\u8F93\u5165\u6570\u5B57"}}}},ObjectNull:{title:"\u53EA\u6E32\u67D3\u5B50\u8282\u70B9\u7684\u5BF9\u8C61\u5BB9\u5668\uFF08ObjectNull\uFF09",renderType:"ObjectNull",style:{border:"1px solid #d9d9d9",padding:10,borderRadius:6},properties:{InputText:{title:"\u5355\u884C\u6587\u672C\uFF08InputText\uFF09",renderType:"InputText",description:"\u6765\u81EA\u53EA\u6E32\u67D3\u5B50\u8282\u70B9\u7684\u5BF9\u8C61\u5BB9\u5668\uFF08ObjectNull\uFF09",renderOptions:{placeholder:"\u8BF7\u8F93\u5165\u5185\u5BB9"}},InputNumber:{title:"\u6570\u5B57\uFF08InputNumber\uFF09",renderType:"InputNumber",description:"\u6765\u81EA\u53EA\u6E32\u67D3\u5B50\u8282\u70B9\u7684\u5BF9\u8C61\u5BB9\u5668\uFF08ObjectNull\uFF09",renderOptions:{placeholder:"\u8BF7\u8F93\u5165\u6570\u5B57"}}}}}};t.default=n}}]); diff --git a/2095.e8212ed3.async.js b/2095.e8212ed3.async.js new file mode 100644 index 0000000..b9a3d38 --- /dev/null +++ b/2095.e8212ed3.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkroot=self.webpackChunkroot||[]).push([[2095],{72095:function(p,t,r){r.r(t);var e=[{label:"\u6210\u90FD",value:"chengdu"},{label:"\u676D\u5DDE",value:"hangzhou"},{label:"\u6DF1\u5733",value:"shenzhen"},{label:"\u5317\u4EAC",value:"beijing",disabled:!0}],n={renderType:"Root",properties:{InputText:{title:"\u5355\u884C\u6587\u672C\uFF08InputText\uFF09",renderType:"InputText",renderOptions:{placeholder:"\u8BF7\u8F93\u5165\u5185\u5BB9"}},InputNumber:{title:"\u6570\u5B57\uFF08InputNumber\uFF09",renderType:"InputNumber",renderOptions:{placeholder:"\u8BF7\u8F93\u5165\u6570\u5B57"}},Switch:{title:"\u5F00\u5173\uFF08Switch\uFF09",renderType:"Switch"},SwitchBox:{title:"\u5F00\u5173\uFF08SwitchBox\uFF09",renderType:"SwitchBox",renderOptions:{text:"\u540C\u610F\u5E73\u53F0\u7528\u6237\u5185\u5BB9\u534F\u8BAE"}},TextArea:{title:"\u591A\u884C\u6587\u672C\uFF08TextArea\uFF09",renderType:"TextArea",renderOptions:{placeholder:"\u8BF7\u8F93\u5165\u5185\u5BB9"}},Password:{title:"\u5BC6\u7801\u6846\uFF08Password\uFF09",renderType:"Password",renderOptions:{placeholder:"\u8BF7\u8F93\u5165\u5BC6\u7801"}},Select:{title:"\u5355\u9879\u9009\u62E9\u5668\uFF08Select\uFF09",renderType:"Select",renderOptions:{placeholder:"\u8BF7\u9009\u62E9\u5185\u5BB9",options:e,mode:"multiple"}},SelectMultiple:{title:"\u591A\u9879\u9009\u62E9\u5668\uFF08SelectMultiple\uFF09",renderType:"SelectMultiple",renderOptions:{placeholder:"\u8BF7\u9009\u62E9\u5185\u5BB9",options:e}},Radio:{title:"\u5355\u9009\u6846\uFF08Radio\uFF09",renderType:"Radio",renderOptions:{options:e}},Checkbox:{title:"\u591A\u9009\u6846\uFF08Checkbox\uFF09",renderType:"Checkbox",renderOptions:{options:e}},Rate:{title:"\u8BC4\u5206\uFF08Rate\uFF09",renderType:"Rate"},DatePicker:{title:"\u65E5\u671F\uFF08DatePicker\uFF09",renderType:"DatePicker",renderOptions:{placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",format:"YYYY\u5E74MM\u6708DD\u65E5"}},DateRangePicker:{title:"\u65E5\u671F\u8303\u56F4\uFF08DateRangePicker\uFF09",renderType:"DateRangePicker",renderOptions:{placeholder:["\u5F00\u59CB\u65E5\u671F","\u7ED3\u675F\u65E5\u671F"]}},Description:{title:"\u7EAF\u5C55\u793A\uFF08Description\uFF09",renderType:"Description"},Object:{title:"\u5BF9\u8C61\u5BB9\u5668\uFF08Object\uFF09",renderType:"Object",properties:{InputText:{title:"\u5355\u884C\u6587\u672C\uFF08InputText\uFF09",renderType:"InputText",renderOptions:{placeholder:"\u8BF7\u8F93\u5165\u5185\u5BB9"}},InputNumber:{title:"\u6570\u5B57\uFF08InputNumber\uFF09",renderType:"InputNumber",renderOptions:{placeholder:"\u8BF7\u8F93\u5165\u6570\u5B57"}}}},ObjectRightIcon:{title:"\u5BF9\u8C61\u5BB9\u5668\uFF0C\u7BAD\u5934\u5728\u53F3\u8FB9",renderType:"Object",renderOptions:{headerOptions:{expandIconPosition:"end"}},properties:{InputText:{title:"\u5355\u884C\u6587\u672C\uFF08InputText\uFF09",renderType:"InputText",renderOptions:{placeholder:"\u8BF7\u8F93\u5165\u5185\u5BB9"}},InputNumber:{title:"\u6570\u5B57\uFF08InputNumber\uFF09",renderType:"InputNumber",renderOptions:{placeholder:"\u8BF7\u8F93\u5165\u6570\u5B57"}}}},ObjectNotCollapse:{title:"\u5BF9\u8C61\u5BB9\u5668\uFF0C\u4E0D\u5141\u8BB8\u6298\u53E0",renderType:"Object",renderOptions:{headerOptions:{collapsible:"icon"},panelOptions:{showArrow:!1}},properties:{InputText:{title:"\u5355\u884C\u6587\u672C\uFF08InputText\uFF09",renderType:"InputText",renderOptions:{placeholder:"\u8BF7\u8F93\u5165\u5185\u5BB9"}},InputNumber:{title:"\u6570\u5B57\uFF08InputNumber\uFF09",renderType:"InputNumber",renderOptions:{placeholder:"\u8BF7\u8F93\u5165\u6570\u5B57"}}}},ObjectNull:{title:"\u53EA\u6E32\u67D3\u5B50\u8282\u70B9\u7684\u5BF9\u8C61\u5BB9\u5668\uFF08ObjectNull\uFF09",renderType:"ObjectNull",style:{border:"1px solid #d9d9d9",padding:10,borderRadius:6},properties:{InputText:{title:"\u5355\u884C\u6587\u672C\uFF08InputText\uFF09",renderType:"InputText",description:"\u6765\u81EA\u53EA\u6E32\u67D3\u5B50\u8282\u70B9\u7684\u5BF9\u8C61\u5BB9\u5668\uFF08ObjectNull\uFF09",renderOptions:{placeholder:"\u8BF7\u8F93\u5165\u5185\u5BB9"}},InputNumber:{title:"\u6570\u5B57\uFF08InputNumber\uFF09",renderType:"InputNumber",description:"\u6765\u81EA\u53EA\u6E32\u67D3\u5B50\u8282\u70B9\u7684\u5BF9\u8C61\u5BB9\u5668\uFF08ObjectNull\uFF09",renderOptions:{placeholder:"\u8BF7\u8F93\u5165\u6570\u5B57"}}}}}};t.default=n}}]); diff --git a/404.html b/404.html index b7c1401..c7c86b0 100644 --- a/404.html +++ b/404.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/5318.543079f1.async.js b/5318.543079f1.async.js new file mode 100644 index 0000000..704b6f6 --- /dev/null +++ b/5318.543079f1.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkroot=self.webpackChunkroot||[]).push([[5318],{85318:function(r,a,l){l.r(a),l.d(a,{default:function(){return i}});var s=l(6522),g=l(91339),u=l(11527),h=function(t){var e=t.value,n=t.language,o=t.style;return(0,u.jsx)("div",{style:o,children:(0,u.jsx)(s.Z,{className:"example-hl",language:n!=null?n:"json",style:g.Z,children:JSON.stringify(e,null,2)})})},i=h}}]); diff --git a/5318.a880115f.async.js b/5318.a880115f.async.js deleted file mode 100644 index 75c3fcb..0000000 --- a/5318.a880115f.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkroot=self.webpackChunkroot||[]).push([[5318],{85318:function(r,a,l){l.r(a),l.d(a,{default:function(){return i}});var s=l(6522),g=l(54),u=l(11527),h=function(t){var e=t.value,n=t.language,o=t.style;return(0,u.jsx)("div",{style:o,children:(0,u.jsx)(s.Z,{className:"example-hl",language:n!=null?n:"json",style:g.Z,children:JSON.stringify(e,null,2)})})},i=h}}]); diff --git a/6440.e1144551.async.js b/6440.e1144551.async.js new file mode 100644 index 0000000..8e86110 --- /dev/null +++ b/6440.e1144551.async.js @@ -0,0 +1,72 @@ +(self.webpackChunkroot=self.webpackChunkroot||[]).push([[6440,7347],{67347:function(B,w,t){"use strict";t.r(w),t.d(w,{RendererDistributor:function(){return Ce.Z},RendererExecutor:function(){return J.Z},RendererIterator:function(){return o.Z},default:function(){return pe},useCoreValue:function(){return Y},useDebounceFn:function(){return Le.Z},useForceUpdate:function(){return ne},useLatest:function(){return he.Z},useMemoizedFn:function(){return $.Z},useUnmount:function(){return Me.Z},utils:function(){return q}});var q={};t.r(q),t.d(q,{classNames:function(){return ie.Z},classNamesWithPrefix:function(){return Z.Rk},cloneDeep:function(){return P.Xh},debounce:function(){return P.Ds},dropRight:function(){return P.j7},find:function(){return P.sE},get:function(){return P.U2},isArray:function(){return h.kJ},isBoolean:function(){return h.jn},isFunction:function(){return h.mf},isMatch:function(){return P.BD},isNil:function(){return h.kK},isNull:function(){return h.Ft},isNumber:function(){return h.hj},isObject:function(){return h.Kn},isPlainObject:function(){return h.PO},isString:function(){return h.HD},isUndefined:function(){return h.o8},logger:function(){return Ie.Z},mapKeys:function(){return P.Cw},omit:function(){return P.CE},pick:function(){return P.ei},positionedOffset:function(){return ce},set:function(){return P.t8},templateCompiled:function(){return Z.dr},toLower:function(){return P.t$},traverseSchema:function(){return Ee.Z},typeChecking:function(){return h.DN}});var i=t(57213),x=t.n(i),O=t(50959),_=t(7811),Z=t(98445),h=t(32766),re=t(92139),P=t(46373),Ne=t(54306),R=t.n(Ne);function ne(){var p=(0,O.useReducer)(function(N){return N+1},0),y=R()(p,2),d=y[0],T=y[1];return{forceUpdate:T}}var $=t(88182),Fe=function(){var y=(0,O.useRef)(!1);return(0,O.useEffect)(function(){return y.current=!1,function(){y.current=!0}},[]),y},ue=Fe;function Y(p){var y,d=(0,O.useRef)((y=p.defaultValue)!==null&&y!==void 0?y:{}),T=ue(),N=ne(),L=N.forceUpdate,g=(0,Z.nr)(p,"value");if(g){var W;d.current=(W=p.value)!==null&&W!==void 0?W:{}}var G=(0,$.Z)(function(j,S){if(!T.current){var k,K,X,ae=(0,re.P)(S.path),fe=x()(x()({},S),{},{sPath:ae}),je=(k=p.watch)===null||k===void 0?void 0:k[ae];(0,h.mf)(je)&&je(j,fe),d.current=j,g||L(),(K=p.onItemChange)===null||K===void 0||K.call(p,fe),(X=p.onChange)===null||X===void 0||X.call(p,j,fe)}}),H=(0,$.Z)(function(j){var S=(0,P.t8)(x()({},d.current),j.path,j.value);G(S,j)}),U=(0,$.Z)(function(){return d.current}),z=(0,$.Z)(function(j){G(j,{path:[],value:void 0})}),M=(0,$.Z)(function(){z({})});return{value:d.current,valueRef:d,onChange:H,getValue:U,setValue:z,resetValue:M}}var se=t(85191),me=["320px","1fr"];function Ze(p){var y=p.layout,d=p.layoutMinMax,T=p.layoutColumnGap,N=p.layoutRowGap,L=d==null?void 0:d[0],g=d==null?void 0:d[1],W=(0,O.useMemo)(function(){if(y===se.SY.normal)return"repeat(24, 1fr)";var H=y===se.SY.autoFill?"auto-fill":"auto-fit",U=(0,re.e)(L!=null?L:me[0]),z=(0,re.e)(g!=null?g:me[1]);return"repeat(".concat(H,", minmax(").concat(U,", ").concat(z,"))")},[y,L,g]),G={display:"grid",gridTemplateColumns:W,columnGap:T,rowGap:N};return G}function ce(p,y){if(!p||!y)return{left:0,top:0};for(var d=0,T=0,N=p;N&&N!==y;)d+=N.offsetLeft,T+=N.offsetTop,N=N.offsetParent;return{left:d,top:T}}var ge=t(94430);function be(p,y){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(p){var T=d.positionedElement,N=d.xAxis,L=d.yAxis,g=d.behavior,W=g===void 0?"smooth":g,G=d.gap,H=G===void 0?0:G,U=T||y;if(U){var z=ce(p,U);U.scrollTo({left:N===!1?void 0:z.left+H,top:L===!1?void 0:z.top+H,behavior:W})}}}function Te(p){var y=p.ref,d=p.rootElementRef,T=p.rootContextRef,N=p.getValue,L=p.setValue,g=p.resetValue,W=(0,$.Z)(function(){return(0,ge.Ze)((0,P.ei)(T.current,"rootSchema","rootValue","locale","disabled","readonly","renderers","rendererStorage","validators","userCtx"))}),G=(0,$.Z)(function(M){var j,S=(j=T.current)===null||j===void 0?void 0:j.rendererStorage;if(S&&M){var k=(0,h.kJ)(M)?(0,re.P)(M):M;return S[k]}}),H=(0,$.Z)(function(M){var j,S=(j=T.current)===null||j===void 0?void 0:j.rendererStorage;if(S){var k=M?(0,h.HD)(M)?[M]:M:Object.keys(S);k.forEach(function(K){var X;(X=S[K])===null||X===void 0||X.setValidatorState({status:se.r6.success})})}}),U=(0,$.Z)(function(){return d.current}),z=(0,$.Z)(function(M,j){var S;return be((S=G(M))===null||S===void 0?void 0:S.getRootElement(),U(),j)});(0,O.useImperativeHandle)(y,function(){return{validate:W,resetError:H,setValue:L,resetValue:g,getValue:N,getRootElement:U,scrollTo:z,findItem:G}},[])}var xe=t(15565),ve=t(73561),o=t(75892),ye=t(6647),ie=t(68362),de=t(11527),Ae={prefixCls:"schema-render",layout:"normal",layoutColumnGap:10,layoutRowGap:15,layoutMinMax:me,disabled:!1,readonly:!1,validators:{},userCtx:{}},Re=(0,O.forwardRef)(function(p,y){ye.Z.falsy(p.schema,"missing schema."),ye.Z.falsy(p.itemLayout,"missing itemLayout.");var d=x()(x()({},Ae),p),T=(0,O.useRef)(null),N=(0,O.useRef)({}),L=Y(d),g=L.value,W=L.onChange,G=L.getValue,H=L.setValue,U=L.resetValue,z=(0,O.useMemo)(function(){return x()(x()({},xe.Z),d.locale)},[d.locale]),M=(0,O.useMemo)(function(){return(0,P.Cw)(d.renderers,function(k,K){return K.toLowerCase()})},[d.renderers]),j=Ze(d),S=N.current=x()(x()({},(0,P.ei)(d,"disabled","readonly","prefixCls","layout","itemLayout","userCtx","validators","catchErrorTips")),{},{objectStyle:j,renderers:M,rootSchema:d.schema,rootValue:g,locale:z,rendererStorage:{},onChange:W,prefixClassNames:function(){for(var K=arguments.length,X=new Array(K),ae=0;ae0;if(!D)return null;var F=i()(i()({},de),c);return(0,o.jsx)(Fe.Z,i()(i()({size:f},r),{},{children:s.map(function(I){var C={locale:b,disabled:n,loading:u};I===Y.submit?C.handleSubmit=m:I===Y.reset&&(C.handleReset=v);var V=F[I];return V?(0,o.jsx)(h.Fragment,{children:V==null?void 0:V(C)},I):null})}))},Re=Ae,De=t(25359),oe=t.n(De),Le=t(49811),he=t.n(Le),Me=t(54306),Ce=t.n(Me),J=t(88182),Ie=t(72151);function Ee(l){var e=l.props,n=l.coreRef,r=(0,h.useState)(Ze),a=Ce()(r,2),s=a[0],u=a[1],c=(0,J.Z)(function(){var b=he()(oe()().mark(function D(F,I){return oe()().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:return u(function(E){return i()(i()({},E),{},R()({},F,!0))}),V.next=3,I().catch(function(E){Ie.Z.warn(E)});case 3:u(function(E){return i()(i()({},E),{},R()({},F,!1))});case 4:case"end":return V.stop()}},D)}));return function(D,F){return b.apply(this,arguments)}}()),v=(0,J.Z)(function(){c(Y.submit,he()(oe()().mark(function b(){var D,F;return oe()().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:if(n.current){C.next=2;break}return C.abrupt("return");case 2:if(!e.validateFormOnSubmit){C.next=8;break}return C.next=5,n.current.validate();case 5:if(F=C.sent,!(F.hasError||F.hasWarning)){C.next=8;break}return C.abrupt("return");case 8:return C.next=10,(D=e.onSubmit)===null||D===void 0?void 0:D.call(e,n.current.getValue());case 10:case"end":return C.stop()}},b)})))}),m=(0,J.Z)(function(b){b.preventDefault(),v()}),f=(0,J.Z)(function(){c(Y.reset,he()(oe()().mark(function b(){var D,F,I,C;return oe()().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:if(n.current){E.next=2;break}return E.abrupt("return");case 2:return E.next=4,(D=e.onBeforeReset)===null||D===void 0?void 0:D.call(e,n.current.getValue());case 4:return I=E.sent,C=i()({},I),n.current.setValue(C),n.current.resetError(),E.next=10,(F=e.onReset)===null||F===void 0?void 0:F.call(e,C);case 10:case"end":return E.stop()}},b)})))});return{handleFormSubmit:m,handleSubmit:v,handleReset:f,actionsLoading:s,isLoading:s.submit||s.reset}}var pe=t(29752),p=t(98563),y=t(92935),d=t.n(y),T=t(77487),N=Math.random().toString(36).substring(7).replace(/\d/g,"x"),L=(0,T.Z)({key:"schema-render-".concat(N)}),g=L.css,W,G,H,U,z,M,j,S,k,K,X=g(W||(W=d()([` + display: flex; + align-items: center; +`]))),ae=g(G||(G=d()([` + flex: 0 0 100px; + justify-content: flex-end; + display: flex; + align-items: center; + margin-right: 15px; + height: max-content; +`]))),fe=g(H||(H=d()([` + word-break: break-all; +`]))),je=g(U||(U=d()([` + margin-right: 4px; + color: var(--schema-render-color-required-mark); + position: relative; + top: 2px; +`]))),en=g(z||(z=d()([` + margin-left: 4px; + position: relative; + top: 1px; +`]))),nn=g(M||(M=d()([` + flex-grow: 1; +`]))),rn=g(j||(j=d()([` + word-break: break-all; + padding-left: 115px; + + &:empty { + display: none; + } +`]))),an=g(S||(S=d()([` + margin-top: 6px; + color: var(--schema-render-color-description); +`]))),tn=g(k||(k=d()([` + margin-top: 6px; + color: var(--schema-render-color-error); +`]))),on=g(K||(K=d()([` + color: var(--schema-render-color-warning); +`]))),Q=O.Z,ln=function(e){var n=e.schema,r=e.required,a=e.prefixClassNames,s=e.labelColon,u=!!s;return(0,o.jsxs)(o.Fragment,{children:[r&&(0,o.jsx)("span",{className:Q(a("item-mark"),je),children:"*"}),(0,o.jsx)("span",{className:Q(a("item-title"),fe),children:n.title}),!!n.titleDescription&&(0,o.jsx)(p.Z,{placement:"top",trigger:"hover",content:n.titleDescription,children:(0,o.jsx)(pe.Z,{className:Q(a("item-title-tooltip"),en),style:{marginRight:u?4:void 0}})}),u&&(0,o.jsx)("span",{className:Q(a("item-colon")),children:s})]})},sn=function(e){var n=e.body,r=e.schema,a=e.validator,s=e.required,u=e.disabled,c=e.readonly,v=e.userCtx,m=e.prefixClassNames,f=ve(),b=f.labelWidth,D=f.labelColon,F=f.labelGap,I=f.labelRender,C=f.locale,V=I||ln,E={schema:r,required:s,disabled:u,readonly:c,userCtx:v,prefixClassNames:m,labelWidth:b,labelColon:D,labelGap:F,locale:C};return(0,o.jsxs)("div",{className:Q(m("item-layout-horizontal")),children:[(0,o.jsxs)("div",{className:Q(m("item-main"),X),children:[(0,o.jsx)("div",{className:Q(m("item-header"),ae),style:{flexBasis:b,marginRight:F},children:V(E)}),(0,o.jsx)("div",{className:Q(m("item-body"),nn),children:n})]}),(0,o.jsxs)("div",{className:Q(m("item-footer"),rn),style:{paddingLeft:ne.hj(b)?b+F:0},children:[a.status==="error"&&!!a.message&&(0,o.jsx)("div",{className:Q(m("item-error-msg"),tn),children:a.message}),a.status==="warning"&&!!a.message&&(0,o.jsx)("div",{className:Q(m("item-warning-msg"),on),children:a.message}),!!r.description&&(0,o.jsx)("div",{className:Q(m("item-description"),an),children:r.description})]})]})},dn=sn,Ve,Ge,Ue,$e,We,ze,Be,Ye,un=g(Ve||(Ve=d()([` + margin-bottom: 8px; +`]))),cn=g(Ge||(Ge=d()([` + word-break: break-all; +`]))),vn=g(Ue||(Ue=d()([` + margin-right: 4px; + color: var(--schema-render-color-required-mark); + position: relative; + top: 2px; +`]))),mn=g($e||($e=d()([` + margin-left: 4px; +`]))),hn=g(We||(We=d()([` + word-break: break-all; + + &:empty { + display: none; + } +`]))),pn=g(ze||(ze=d()([` + margin-top: 8px; + color: var(--schema-render-color-description); +`]))),fn=g(Be||(Be=d()([` + margin-top: 8px; + color: var(--schema-render-color-error); +`]))),gn=g(Ye||(Ye=d()([` + color: var(--schema-render-color-warning); +`]))),te=O.Z,bn=function(e){var n=e.schema,r=e.required,a=e.prefixClassNames,s=e.labelColon,u=!!s;return(0,o.jsxs)(o.Fragment,{children:[r&&(0,o.jsx)("span",{className:te(a("item-mark"),vn),children:"*"}),(0,o.jsx)("span",{className:te(a("item-title"),cn),children:n.title}),!!n.titleDescription&&(0,o.jsx)(p.Z,{placement:"top",trigger:"hover",content:n.titleDescription,children:(0,o.jsx)(pe.Z,{className:te(a("item-title-tooltip"),mn),style:{marginRight:u?4:void 0}})}),u&&(0,o.jsx)("span",{className:te(a("item-colon")),children:s})]})},xn=function(e){var n=e.body,r=e.schema,a=e.validator,s=e.required,u=e.disabled,c=e.readonly,v=e.userCtx,m=e.prefixClassNames,f=ve(),b=f.labelWidth,D=f.labelColon,F=f.labelGap,I=f.labelRender,C=f.locale,V=I||bn,E={schema:r,required:s,disabled:u,readonly:c,userCtx:v,prefixClassNames:m,labelWidth:b,labelColon:D,labelGap:F,locale:C};return(0,o.jsxs)("div",{className:m("item-layout-vertical"),children:[(0,o.jsx)("div",{className:te(m("item-header"),un),children:V(E)}),(0,o.jsx)("div",{className:m("item-body"),children:n}),(0,o.jsxs)("div",{className:te(m("item-footer"),hn),children:[a.status==="error"&&!!a.message&&(0,o.jsx)("div",{className:te(m("item-error-msg"),fn),children:a.message}),a.status==="warning"&&!!a.message&&(0,o.jsx)("div",{className:te(m("item-warning-msg"),gn),children:a.message}),!!r.description&&(0,o.jsx)("div",{className:te(m("item-description"),pn),children:r.description})]})]})},yn=xn;function Rn(l){var e=l.itemLayout,n=(0,h.useMemo)(function(){return!e||e==="horizontal"?dn:e==="vertical"?yn:e},[e]);return n}var Oe=ne.kJ,He=ne.kK,Cn=ne.Kn;function jn(l,e){var n="".concat(ce,"_").concat(Date.now());return i()(i()({},l),{},{properties:i()(i()({},l==null?void 0:l.properties),{},R()({},n,i()(i()({},e),{},{renderType:ce})))})}function On(l){var e=l.itemLayout,n=l.labelWidth,r=l.labelGap;return e==="horizontal"&&ne.hj(n)?n+r:0}function Ke(){for(var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0,n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(x,Z)&&(_[Z]=x[Z])}return _}B.exports=i,B.exports.__esModule=!0,B.exports.default=B.exports},20006:function(B){function w(t,q){if(t==null)return{};var i={},x=Object.keys(t),O,_;for(_=0;_=0)&&(i[O]=t[O]);return i}B.exports=w,B.exports.__esModule=!0,B.exports.default=B.exports}}]); diff --git a/6481.1c725972.async.js b/6481.7cf08a34.async.js similarity index 99% rename from 6481.1c725972.async.js rename to 6481.7cf08a34.async.js index 84af627..39a639f 100644 --- a/6481.1c725972.async.js +++ b/6481.7cf08a34.async.js @@ -13,5 +13,5 @@ https://github.com/highlightjs/highlight.js/issues/2277`),Je=I,fe=w);const Be={c `))})}function A(c){var M=c.codeString,x=c.codeStyle,y=c.containerStyle,V=y===void 0?{float:"left",paddingRight:"10px"}:y,K=c.numberStyle,ne=K===void 0?{}:K,j=c.startingLineNumber;return i.createElement("code",{style:Object.assign({},x,V)},h({lines:M.replace(/\n$/,"").split(` `),style:ne,startingLineNumber:j}))}function F(c){return"".concat(c.toString().length,".25em")}function Y(c,M){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(c),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:M},children:[{type:"text",value:c}]}}function G(c,M,x){var y={display:"inline-block",minWidth:F(x),paddingRight:"1em",textAlign:"right",userSelect:"none"},V=typeof c=="function"?c(M):c,K=C(C({},y),V);return K}function W(c){var M=c.children,x=c.lineNumber,y=c.lineNumberStyle,V=c.largestLineNumber,K=c.showInlineLineNumbers,ne=c.lineProps,j=ne===void 0?{}:ne,Te=c.className,Ae=Te===void 0?[]:Te,me=c.showLineNumbers,se=c.wrapLongLines,ce=typeof j=="function"?j(x):j;if(ce.className=Ae,x&&K){var pe=G(y,x,V);M.unshift(Y(x,pe))}return se&me&&(ce.style=C(C({},ce.style),{},{display:"flex"})),{type:"element",tagName:"span",properties:ce,children:M}}function B(c){for(var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],x=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],y=0;y2&&arguments[2]!==void 0?arguments[2]:[];return W({children:ve,lineNumber:le,lineNumberStyle:j,largestLineNumber:ne,showInlineLineNumbers:V,lineProps:x,className:be,showLineNumbers:y,wrapLongLines:Te})}function ke(ve,le){if(y&&le&&V){var be=G(j,le,ne);ve.unshift(Y(le,be))}return ve}function Ne(ve,le){var be=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return M||be.length>0?we(ve,le,be):ke(ve,le)}for(var ge=function(){var le=me[pe],be=le.children[0].value,He=D(be);if(He){var xe=be.split(` `);xe.forEach(function(Pe,Ve){var _e=y&&se.length+K,ee={type:"text",value:"".concat(Pe,` -`)};if(Ve===0){var Ue=me.slice(ce+1,pe).concat(W({children:[ee],className:le.properties.className})),Fe=Ne(Ue,_e);se.push(Fe)}else if(Ve===xe.length-1){var Xe=me[pe+1]&&me[pe+1].children&&me[pe+1].children[0],Ze={type:"text",value:"".concat(Pe)};if(Xe){var p=W({children:[Ze],className:le.properties.className});me.splice(pe+1,0,p)}else{var N=[Ze],v=Ne(N,_e,le.properties.className);se.push(v)}}else{var U=[ee],X=Ne(U,_e,le.properties.className);se.push(X)}}),ce=pe}pe++};pe{const{componentCls:t,floatButtonSize:r,motionDurationSlow:n,motionEaseInOutCirc:o}=e,i=`${t}-group`,l=new bt.E4("antFloatButtonMoveDownIn",{"0%":{transform:`translate3d(0, ${r}px, 0)`,transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),s=new bt.E4("antFloatButtonMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:`translate3d(0, ${r}px, 0)`,transformOrigin:"0 0",opacity:0}});return[{[`${i}-wrap`]:Object.assign({},(0,cs.R)(`${i}-wrap`,l,s,n,!0))},{[`${i}-wrap`]:{[` &${i}-wrap-enter, &${i}-wrap-appear - `]:{opacity:0,animationTimingFunction:o},[`&${i}-wrap-leave`]:{animationTimingFunction:o}}}]},Bp=e=>{const{componentCls:t,floatButtonSize:r,margin:n,borderRadiusLG:o}=e,i=`${t}-group`;return{[i]:Object.assign(Object.assign({},(0,xe.Wf)(e)),{zIndex:99,display:"block",border:"none",position:"fixed",width:r,height:"auto",boxShadow:"none",minHeight:r,insetInlineEnd:e.floatButtonInsetInlineEnd,insetBlockEnd:e.floatButtonInsetBlockEnd,borderRadius:o,[`${i}-wrap`]:{zIndex:-1,display:"block",position:"relative",marginBottom:n},[`&${i}-rtl`]:{direction:"rtl"},[t]:{position:"static"}}),[`${i}-circle`]:{[`${t}-circle:not(:last-child)`]:{marginBottom:e.margin,[`${t}-body`]:{width:r,height:r}}},[`${i}-square`]:{[`${t}-square`]:{borderRadius:0,padding:0,"&:first-child":{borderStartStartRadius:o,borderStartEndRadius:o},"&:last-child":{borderEndStartRadius:o,borderEndEndRadius:o},"&:not(:last-child)":{borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`}},[`${i}-wrap`]:{display:"block",borderRadius:o,boxShadow:e.boxShadowSecondary,overflow:"hidden",[`${t}-square`]:{boxShadow:"none",marginTop:0,borderRadius:0,padding:e.paddingXXS,"&:first-child":{borderStartStartRadius:o,borderStartEndRadius:o},"&:last-child":{borderEndStartRadius:o,borderEndEndRadius:o},"&:not(:last-child)":{borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`},[`${t}-body`]:{width:r-e.paddingXXS*2,height:r-e.paddingXXS*2}}}},[`${i}-circle-shadow`]:{boxShadow:"none"},[`${i}-square-shadow`]:{boxShadow:e.boxShadowSecondary,[`${t}-square`]:{boxShadow:"none",padding:e.paddingXXS,[`${t}-body`]:{width:r-e.paddingXXS*2,height:r-e.paddingXXS*2}}}}},Ap=e=>{const{componentCls:t,floatButtonIconSize:r,floatButtonSize:n,borderRadiusLG:o}=e;return{[t]:Object.assign(Object.assign({},(0,xe.Wf)(e)),{border:"none",position:"fixed",cursor:"pointer",overflow:"hidden",zIndex:99,display:"block",justifyContent:"center",alignItems:"center",width:n,height:n,insetInlineEnd:e.floatButtonInsetInlineEnd,insetBlockEnd:e.floatButtonInsetBlockEnd,boxShadow:e.boxShadowSecondary,"&-pure":{position:"relative",inset:"auto"},"&:empty":{display:"none"},[`${t}-body`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",transition:`all ${e.motionDurationMid}`,[`${t}-content`]:{overflow:"hidden",textAlign:"center",minHeight:n,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",padding:"2px 4px",[`${t}-icon`]:{textAlign:"center",margin:"auto",width:r,fontSize:r,lineHeight:1}}}}),[`${t}-circle`]:{height:n,borderRadius:"50%",[`${t}-body`]:{borderRadius:"50%"}},[`${t}-square`]:{height:"auto",minHeight:n,borderRadius:o,[`${t}-body`]:{height:"auto",borderRadius:e.borderRadiusSM}},[`${t}-default`]:{backgroundColor:e.floatButtonBackgroundColor,transition:`background-color ${e.motionDurationMid}`,[`${t}-body`]:{backgroundColor:e.floatButtonBackgroundColor,transition:`background-color ${e.motionDurationMid}`,"&:hover":{backgroundColor:e.colorFillContent},[`${t}-content`]:{[`${t}-icon`]:{color:e.colorText},[`${t}-description`]:{display:"flex",alignItems:"center",lineHeight:`${e.fontSizeLG}px`,color:e.colorText,fontSize:e.fontSizeSM}}}},[`${t}-primary`]:{backgroundColor:e.colorPrimary,[`${t}-body`]:{backgroundColor:e.colorPrimary,transition:`background-color ${e.motionDurationMid}`,"&:hover":{backgroundColor:e.colorPrimaryHover},[`${t}-content`]:{[`${t}-icon`]:{color:e.colorTextLightSolid},[`${t}-description`]:{display:"flex",alignItems:"center",lineHeight:`${e.fontSizeLG}px`,color:e.colorTextLightSolid,fontSize:e.fontSizeSM}}}}}};var ka=(0,Ve.Z)("FloatButton",e=>{const{colorTextLightSolid:t,colorBgElevated:r,controlHeightLG:n,marginXXL:o,marginLG:i,fontSize:l,fontSizeIcon:s,controlItemBgHover:c}=e,d=(0,Qe.TS)(e,{floatButtonBackgroundColor:r,floatButtonColor:t,floatButtonHoverBackgroundColor:c,floatButtonFontSize:l,floatButtonIconSize:s*1.5,floatButtonSize:n,floatButtonInsetBlockEnd:o,floatButtonInsetInlineEnd:i});return[Bp(d),Ap(d),Aa(e),Dp(d)]}),Wt=Q(46085),ds=Q(80009);const kp=e=>{const{icon:t,description:r,prefixCls:n,className:o}=e,i=a.createElement("div",{className:`${n}-icon`},a.createElement(ds.Z,null));return a.createElement("div",{onClick:e.onClick,onFocus:e.onFocus,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,className:L()(o,`${n}-content`)},t||r?a.createElement(a.Fragment,null,t&&a.createElement("div",{className:`${n}-icon`},t),r&&a.createElement("div",{className:`${n}-description`},r)):i)};var Hp=(0,a.memo)(kp);const us=a.createContext(void 0),{Provider:Fp}=us;var fs=us,_p=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{prefixCls:r,className:n,type:o="default",shape:i="circle",icon:l,description:s,tooltip:c}=e,d=_p(e,["prefixCls","className","type","shape","icon","description","tooltip"]),{getPrefixCls:u,direction:f}=(0,a.useContext)(he.E_),m=(0,a.useContext)(fs),p=u(ho,r),[g,h]=ka(p),v=m||i,y=L()(h,p,n,`${p}-${o}`,`${p}-${v}`,{[`${p}-rtl`]:f==="rtl"}),b=(0,a.useMemo)(()=>({prefixCls:p,description:s,icon:l,type:o}),[p,s,l,o]),C=a.createElement(Wt.Z,{title:c,placement:"left"},a.createElement("div",{className:`${p}-body`},a.createElement(Hp,Object.assign({},b))));return g(e.href?a.createElement("a",Object.assign({ref:t},d,{className:y}),C):a.createElement("button",Object.assign({ref:t},d,{className:y,type:"button"}),C))};var Tn=a.forwardRef(Wp),pt=Q(89174);const Kp=e=>{const{prefixCls:t,className:r,style:n,shape:o="circle",type:i="default",icon:l=a.createElement(ds.Z,null),closeIcon:s=a.createElement(_t.Z,null),description:c,trigger:d,children:u,onOpenChange:f}=e,{direction:m,getPrefixCls:p}=(0,a.useContext)(he.E_),g=p(ho,t),[h,v]=ka(g),y=`${g}-group`,b=L()(y,v,r,{[`${y}-rtl`]:m==="rtl",[`${y}-${o}`]:o,[`${y}-${o}-shadow`]:!d}),C=L()(v,`${y}-wrap`),[x,S]=(0,pt.Z)(!1,{value:e.open}),$=(0,a.useRef)(null),w=(0,a.useRef)(null),P=(0,a.useMemo)(()=>d==="hover"?{onMouseEnter(){S(!0),f==null||f(!0)},onMouseLeave(){S(!1),f==null||f(!1)}}:{},[d]),E=()=>{S(M=>(f==null||f(!M),!M))},I=(0,a.useCallback)(M=>{var N,O;if(!((N=$.current)===null||N===void 0)&&N.contains(M.target)){!((O=w.current)===null||O===void 0)&&O.contains(M.target)&&E();return}S(!1),f==null||f(!1)},[d]);return(0,a.useEffect)(()=>{if(d==="click")return document.addEventListener("click",I),()=>{document.removeEventListener("click",I)}},[d]),h(a.createElement(Fp,{value:o},a.createElement("div",Object.assign({ref:$,className:b,style:n},P),d&&["click","hover"].includes(d)?a.createElement(a.Fragment,null,a.createElement(It.ZP,{visible:x,motionName:`${y}-wrap`},M=>{let{className:N}=M;return a.createElement("div",{className:L()(N,C)},u)}),a.createElement(Tn,{ref:w,type:i,shape:o,icon:x?s:l,description:c})):u)))};var ms=(0,a.memo)(Kp),ps=Q(59339),Xp=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{prefixCls:t,className:r="",type:n="default",shape:o="circle",visibilityHeight:i=400,icon:l=a.createElement(ps.Z,null),target:s,onClick:c,duration:d=450}=e,u=Xp(e,["prefixCls","className","type","shape","visibilityHeight","icon","target","onClick","duration"]),[f,m]=(0,a.useState)(i===0),p=(0,a.useRef)(null),g=()=>p.current&&p.current.ownerDocument?p.current.ownerDocument:window,h=so(P=>{const E=fo(P.target,!0);m(E>=i)});(0,a.useEffect)(()=>{const E=(s||g)();return h({target:E}),E==null||E.addEventListener("scroll",h),()=>{h.cancel(),E==null||E.removeEventListener("scroll",h)}},[s]);const v=P=>{mo(0,{getContainer:s||g,duration:d}),c==null||c(P)},{getPrefixCls:y}=(0,a.useContext)(he.E_),b=y(ho,t),C=y(),[x]=ka(b),$=(0,a.useContext)(fs)||o,w=Object.assign({prefixCls:b,icon:l,type:n,shape:$},u);return x(a.createElement(It.ZP,{visible:f,motionName:`${C}-fade`},P=>{let{className:E}=P;return a.createElement(Tn,Object.assign({ref:p},w,{onClick:v,className:L()(r,E)}))}))};var gs=(0,a.memo)(Vp),vs=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var{backTop:t}=e,r=vs(e,["backTop"]);return t?a.createElement(gs,Object.assign({},r,{visibilityHeight:0})):a.createElement(Tn,Object.assign({},r))};function Gp(e){var{className:t,items:r}=e,n=vs(e,["className","items"]);const{prefixCls:o}=n,{getPrefixCls:i}=a.useContext(he.E_),s=`${i(ho,o)}-pure`;return r?a.createElement(ms,Object.assign({className:L()(t,s)},n),r.map((c,d)=>a.createElement(hs,Object.assign({key:d},c)))):a.createElement(hs,Object.assign({className:L()(t,s)},n))}var Up=a.memo(Gp);Tn.BackTop=gs,Tn.Group=ms,Tn._InternalPanelDoNotUseOrYouWillBeFired=Up;var Yp=Tn;const Qp=e=>{const{componentCls:t,backTopFontSize:r,backTopSize:n,zIndexPopup:o}=e;return{[t]:Object.assign(Object.assign({},(0,xe.Wf)(e)),{position:"fixed",insetInlineEnd:e.backTopInlineEnd,insetBlockEnd:e.backTopBlockEnd,zIndex:o,width:40,height:40,cursor:"pointer","&:empty":{display:"none"},[`${t}-content`]:{width:n,height:n,overflow:"hidden",color:e.backTopColor,textAlign:"center",backgroundColor:e.backTopBackground,borderRadius:n,transition:`all ${e.motionDurationMid}`,"&:hover":{backgroundColor:e.backTopHoverBackground,transition:`all ${e.motionDurationMid}`}},[`${t}-icon`]:{fontSize:r,lineHeight:`${n}px`}})}},Jp=e=>{const{componentCls:t}=e;return{[`@media (max-width: ${e.screenMD}px)`]:{[t]:{insetInlineEnd:e.backTopInlineEndMD}},[`@media (max-width: ${e.screenXS}px)`]:{[t]:{insetInlineEnd:e.backTopInlineEndXS}}}};var qp=(0,Ve.Z)("BackTop",e=>{const{fontSizeHeading3:t,colorTextDescription:r,colorTextLightSolid:n,colorText:o,controlHeightLG:i}=e,l=(0,Qe.TS)(e,{backTopBackground:r,backTopColor:n,backTopHoverBackground:o,backTopFontSize:t,backTopSize:i,backTopBlockEnd:i*1.25,backTopInlineEnd:i*2.5,backTopInlineEndMD:i*1.5,backTopInlineEndXS:i*.5});return[Qp(l),Jp(l)]},e=>({zIndexPopup:e.zIndexBase+10}));const eg=e=>{const{prefixCls:t,className:r="",visibilityHeight:n=400,target:o,onClick:i,duration:l=450}=e,[s,c]=a.useState(n===0),d=a.useRef(null),u=()=>d.current&&d.current.ownerDocument?d.current.ownerDocument:window,f=so($=>{const w=fo($.target,!0);c(w>=n)});a.useEffect(()=>{const w=(o||u)();return f({target:w}),w==null||w.addEventListener("scroll",f),()=>{f.cancel(),w==null||w.removeEventListener("scroll",f)}},[o]);const m=$=>{mo(0,{getContainer:o||u,duration:l}),i==null||i($)},{getPrefixCls:p,direction:g}=a.useContext(he.E_),h=p("back-top",t),v=p(),[y,b]=qp(h),C=L()(b,h,{[`${h}-rtl`]:g==="rtl"},r),x=(0,ct.Z)(e,["prefixCls","className","children","visibilityHeight","target"]),S=a.createElement("div",{className:`${h}-content`},a.createElement("div",{className:`${h}-icon`},a.createElement(ps.Z,null)));return y(a.createElement("div",Object.assign({},x,{className:C,onClick:m,ref:d}),a.createElement(It.ZP,{visible:s,motionName:`${v}-fade`},$=>{let{className:w}=$;return(0,lt.Tm)(e.children||S,P=>{let{className:E}=P;return{className:L()(w,E)}})})))};var tg=a.memo(eg),Ha=Q(36303);const ng=new bt.E4("antStatusProcessing",{"0%":{transform:"scale(0.8)",opacity:.5},"100%":{transform:"scale(2.4)",opacity:0}}),rg=new bt.E4("antZoomBadgeIn",{"0%":{transform:"scale(0) translate(50%, -50%)",opacity:0},"100%":{transform:"scale(1) translate(50%, -50%)"}}),og=new bt.E4("antZoomBadgeOut",{"0%":{transform:"scale(1) translate(50%, -50%)"},"100%":{transform:"scale(0) translate(50%, -50%)",opacity:0}}),ag=new bt.E4("antNoWrapperZoomBadgeIn",{"0%":{transform:"scale(0)",opacity:0},"100%":{transform:"scale(1)"}}),ig=new bt.E4("antNoWrapperZoomBadgeOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0)",opacity:0}}),lg=new bt.E4("antBadgeLoadingCircle",{"0%":{transformOrigin:"50%"},"100%":{transform:"translate(50%, -50%) rotate(360deg)",transformOrigin:"50%"}}),sg=e=>{const{componentCls:t,iconCls:r,antCls:n,badgeFontHeight:o,badgeShadowSize:i,badgeHeightSm:l,motionDurationSlow:s,badgeStatusSize:c,marginXS:d,badgeRibbonOffset:u}=e,f=`${n}-scroll-number`,m=`${n}-ribbon`,p=`${n}-ribbon-wrapper`,g=(0,Ha.j)(e,(v,y)=>{let{darkColor:b}=y;return{[`${t}-status-${v}`]:{background:b}}}),h=(0,Ha.j)(e,(v,y)=>{let{darkColor:b}=y;return{[`&${m}-color-${v}`]:{background:b,color:b}}});return{[t]:Object.assign(Object.assign({},(0,xe.Wf)(e)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${t}-count`]:{zIndex:e.badgeZIndex,minWidth:e.badgeHeight,height:e.badgeHeight,color:e.badgeTextColor,fontWeight:e.badgeFontWeight,fontSize:e.badgeFontSize,lineHeight:`${e.badgeHeight}px`,whiteSpace:"nowrap",textAlign:"center",background:e.badgeColor,borderRadius:e.badgeHeight/2,boxShadow:`0 0 0 ${i}px ${e.badgeShadowColor}`,transition:`background ${e.motionDurationMid}`,a:{color:e.badgeTextColor},"a:hover":{color:e.badgeTextColor},"a:hover &":{background:e.badgeColorHover}},[`${t}-count-sm`]:{minWidth:l,height:l,fontSize:e.badgeFontSizeSm,lineHeight:`${l}px`,borderRadius:l/2},[`${t}-multiple-words`]:{padding:`0 ${e.paddingXS}px`},[`${t}-dot`]:{zIndex:e.badgeZIndex,width:e.badgeDotSize,minWidth:e.badgeDotSize,height:e.badgeDotSize,background:e.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${i}px ${e.badgeShadowColor}`},[`${t}-dot${f}`]:{transition:`background ${s}`},[`${t}-count, ${t}-dot, ${f}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`${r}-spin`]:{animationName:lg,animationDuration:e.motionDurationMid,animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${t}-status`]:Object.assign(Object.assign({lineHeight:"inherit",verticalAlign:"baseline",[`${t}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:c,height:c,verticalAlign:"middle",borderRadius:"50%"},[`${t}-status-success`]:{backgroundColor:e.colorSuccess},[`${t}-status-processing`]:{position:"relative",color:e.colorPrimary,backgroundColor:e.colorPrimary,"&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:i,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:ng,animationDuration:e.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${t}-status-default`]:{backgroundColor:e.colorTextPlaceholder},[`${t}-status-error`]:{backgroundColor:e.colorError},[`${t}-status-warning`]:{backgroundColor:e.colorWarning}},g),{[`${t}-status-text`]:{marginInlineStart:d,color:e.colorText,fontSize:e.fontSize}}),[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:rg,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`${t}-zoom-leave`]:{animationName:og,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`&${t}-not-a-wrapper`]:{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:ag,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`${t}-zoom-leave`]:{animationName:ig,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`&:not(${t}-status)`]:{verticalAlign:"middle"},[`${f}-custom-component, ${t}-count`]:{transform:"none"},[`${f}-custom-component, ${f}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[`${f}`]:{overflow:"hidden",[`${f}-only`]:{position:"relative",display:"inline-block",height:e.badgeHeight,transition:`all ${e.motionDurationSlow} ${e.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${f}-only-unit`]:{height:e.badgeHeight,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${f}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${t}-count, ${t}-dot, ${f}-custom-component`]:{transform:"translate(-50%, -50%)"}}}),[`${p}`]:{position:"relative"},[`${m}`]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,xe.Wf)(e)),{position:"absolute",top:d,height:o,padding:`0 ${e.paddingXS}px`,color:e.colorPrimary,lineHeight:`${o}px`,whiteSpace:"nowrap",backgroundColor:e.colorPrimary,borderRadius:e.borderRadiusSM,[`${m}-text`]:{color:e.colorTextLightSolid},[`${m}-corner`]:{position:"absolute",top:"100%",width:u,height:u,color:"currentcolor",border:`${u/2}px solid`,transform:e.badgeRibbonCornerTransform,transformOrigin:"top",filter:e.badgeRibbonCornerFilter}}),h),{[`&${m}-placement-end`]:{insetInlineEnd:-u,borderEndEndRadius:0,[`${m}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${m}-placement-start`]:{insetInlineStart:-u,borderEndStartRadius:0,[`${m}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}};var bs=(0,Ve.Z)("Badge",e=>{const{fontSize:t,lineHeight:r,fontSizeSM:n,lineWidth:o,marginXS:i,colorBorderBg:l}=e,s=Math.round(t*r),c=o,d="auto",u=s-2*c,f=e.colorBgContainer,m="normal",p=n,g=e.colorError,h=e.colorErrorHover,v=t,y=n/2,b=n,C=n/2,x=(0,Qe.TS)(e,{badgeFontHeight:s,badgeShadowSize:c,badgeZIndex:d,badgeHeight:u,badgeTextColor:f,badgeFontWeight:m,badgeFontSize:p,badgeColor:g,badgeColorHover:h,badgeShadowColor:l,badgeHeightSm:v,badgeDotSize:y,badgeFontSizeSm:b,badgeStatusSize:C,badgeProcessingDuration:"1.2s",badgeRibbonOffset:i,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"});return[sg(x)]}),bo=Q(91339),cg=e=>{let{className:t,prefixCls:r,style:n,color:o,children:i,text:l,placement:s="end"}=e;const{getPrefixCls:c,direction:d}=a.useContext(he.E_),u=c("ribbon",r),f=(0,bo.o2)(o,!1),m=L()(u,`${u}-placement-${s}`,{[`${u}-rtl`]:d==="rtl",[`${u}-color-${o}`]:f},t),[p,g]=bs(u),h={},v={};return o&&!f&&(h.background=o,v.color=o),p(a.createElement("div",{className:L()(`${u}-wrapper`,g)},i,a.createElement("div",{className:L()(m,g),style:Object.assign(Object.assign({},h),n)},a.createElement("span",{className:`${u}-text`},l),a.createElement("div",{className:`${u}-corner`,style:v}))))};function ys(e){let{prefixCls:t,value:r,current:n,offset:o=0}=e,i;return o&&(i={position:"absolute",top:`${o}00%`,left:0}),a.createElement("span",{style:i,className:L()(`${t}-only-unit`,{current:n})},r)}function dg(e,t,r){let n=e,o=0;for(;(n+10)%10!==t;)n+=r,o+=r;return o}function ug(e){const{prefixCls:t,count:r,value:n}=e,o=Number(n),i=Math.abs(r),[l,s]=a.useState(o),[c,d]=a.useState(i),u=()=>{s(o),d(i)};a.useEffect(()=>{const p=setTimeout(()=>{u()},1e3);return()=>{clearTimeout(p)}},[o]);let f,m;if(l===o||Number.isNaN(o)||Number.isNaN(l))f=[a.createElement(ys,Object.assign({},e,{key:o,current:!0}))],m={transition:"none"};else{f=[];const p=o+10,g=[];for(let y=o;y<=p;y+=1)g.push(y);const h=g.findIndex(y=>y%10===l);f=g.map((y,b)=>{const C=y%10;return a.createElement(ys,Object.assign({},e,{key:y,value:C,offset:b-h,current:b===h}))});const v=c{var{prefixCls:r,count:n,className:o,motionClassName:i,style:l,title:s,show:c,component:d="sup",children:u}=e,f=fg(e,["prefixCls","count","className","motionClassName","style","title","show","component","children"]);const{getPrefixCls:m}=a.useContext(he.E_),p=m("scroll-number",r),g=Object.assign(Object.assign({},f),{"data-show":c,style:l,className:L()(p,o,i),title:s});let h=n;if(n&&Number(n)%1===0){const v=String(n).split("");h=v.map((y,b)=>a.createElement(ug,{prefixCls:p,count:Number(n),value:y,key:v.length-b}))}return l&&l.borderColor&&(g.style=Object.assign(Object.assign({},l),{boxShadow:`0 0 0 1px ${l.borderColor} inset`})),u?(0,lt.Tm)(u,v=>({className:L()(`${p}-custom-component`,v==null?void 0:v.className,i)})):a.createElement(d,Object.assign({},g,{ref:t}),h)}),pg=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var{prefixCls:t,scrollNumberPrefixCls:r,children:n,status:o,text:i,color:l,count:s=null,overflowCount:c=99,dot:d=!1,size:u="default",title:f,offset:m,style:p,className:g,showZero:h=!1}=e,v=pg(e,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","showZero"]);const{getPrefixCls:y,direction:b}=a.useContext(he.E_),C=y("badge",t),[x,S]=bs(C),$=s>c?`${c}+`:s,w=$==="0"||$===0,P=s===null||w&&!h,E=(o!=null||l!=null)&&P,I=d&&!w,M=I?"":$,N=(0,a.useMemo)(()=>(M==null||M===""||w&&!h)&&!I,[M,w,h,I]),O=(0,a.useRef)(s);N||(O.current=s);const T=O.current,z=(0,a.useRef)(M);N||(z.current=M);const D=z.current,R=(0,a.useRef)(I);N||(R.current=I);const _=(0,a.useMemo)(()=>{if(!m)return Object.assign({},p);const Y={marginTop:m[1]};return b==="rtl"?Y.left=parseInt(m[0],10):Y.right=-parseInt(m[0],10),Object.assign(Object.assign({},Y),p)},[b,m,p]),k=f!=null?f:typeof T=="string"||typeof T=="number"?T:void 0,A=N||!i?null:a.createElement("span",{className:`${C}-status-text`},i),F=!T||typeof T!="object"?void 0:(0,lt.Tm)(T,Y=>({style:Object.assign(Object.assign({},_),Y.style)})),Z=(0,bo.o2)(l,!1),j=L()({[`${C}-status-dot`]:E,[`${C}-status-${o}`]:!!o,[`${C}-status-${l}`]:Z}),K={};l&&!Z&&(K.color=l,K.background=l);const G=L()(C,{[`${C}-status`]:E,[`${C}-not-a-wrapper`]:!n,[`${C}-rtl`]:b==="rtl"},g);if(!n&&E){const Y=_.color;return x(a.createElement("span",Object.assign({},v,{className:L()(G,S),style:_}),a.createElement("span",{className:j,style:K}),i&&a.createElement("span",{style:{color:Y},className:`${C}-status-text`},i)))}return x(a.createElement("span",Object.assign({},v,{className:L()(G,S)}),n,a.createElement(It.ZP,{visible:!N,motionName:`${C}-zoom`,motionAppear:!1,motionDeadline:1e3},Y=>{let{className:W,ref:ee}=Y;const oe=y("scroll-number",r),J=R.current,re=L()({[`${C}-dot`]:J,[`${C}-count`]:!J,[`${C}-count-sm`]:u==="small",[`${C}-multiple-words`]:!J&&D&&D.toString().length>1,[`${C}-status-${o}`]:!!o,[`${C}-status-${l}`]:Z});let U=Object.assign({},_);return l&&!Z&&(U=U||{},U.background=l),a.createElement(mg,{prefixCls:oe,show:!N,motionClassName:W,className:re,count:D,title:k,style:U,key:"scrollNumber",ref:ee},F)}),A))};Cs.Ribbon=cg;var gg=Cs,$e=Q(87366),q=Q(58216),B=Q(49919),ie=Q(47028),ot=Q(17576),Er=Q(24047),an=Q(37543),yo=Q(10422),Rn=Q(33795),Ss=a.createContext(null);function Fa(e,t){return e===void 0?null:"".concat(e,"-").concat(t)}function xs(e){var t=a.useContext(Ss);return Fa(t,e)}var Co=Q(7477),vg=["children","locked"],Yt=a.createContext(null);function hg(e,t){var r=(0,B.Z)({},e);return Object.keys(t).forEach(function(n){var o=t[n];o!==void 0&&(r[n]=o)}),r}function Ir(e){var t=e.children,r=e.locked,n=(0,ot.Z)(e,vg),o=a.useContext(Yt),i=(0,Co.Z)(function(){return hg(o,n)},[o,n],function(l,s){return!r&&(l[0]!==s[0]||!(0,Rn.Z)(l[1],s[1],!0))});return a.createElement(Yt.Provider,{value:i},t)}var bg=[],$s=a.createContext(null);function So(){return a.useContext($s)}var ws=a.createContext(bg);function Yn(e){var t=a.useContext(ws);return a.useMemo(function(){return e!==void 0?[].concat((0,pe.Z)(t),[e]):t},[t,e])}var Es=a.createContext(null),yg=a.createContext({}),_a=yg,Oe=Q(52053),Is=Q(73435),Wa=Oe.Z.LEFT,Ka=Oe.Z.RIGHT,Xa=Oe.Z.UP,xo=Oe.Z.DOWN,$o=Oe.Z.ENTER,Ps=Oe.Z.ESC,Pr=Oe.Z.HOME,Or=Oe.Z.END,Os=[Xa,xo,Wa,Ka];function Cg(e,t,r,n){var o,i,l,s,c="prev",d="next",u="children",f="parent";if(e==="inline"&&n===$o)return{inlineTrigger:!0};var m=(o={},(0,q.Z)(o,Xa,c),(0,q.Z)(o,xo,d),o),p=(i={},(0,q.Z)(i,Wa,r?d:c),(0,q.Z)(i,Ka,r?c:d),(0,q.Z)(i,xo,u),(0,q.Z)(i,$o,u),i),g=(l={},(0,q.Z)(l,Xa,c),(0,q.Z)(l,xo,d),(0,q.Z)(l,$o,u),(0,q.Z)(l,Ps,f),(0,q.Z)(l,Wa,r?u:f),(0,q.Z)(l,Ka,r?f:u),l),h={inline:m,horizontal:p,vertical:g,inlineSub:m,horizontalSub:g,verticalSub:g},v=(s=h["".concat(e).concat(t?"":"Sub")])===null||s===void 0?void 0:s[n];switch(v){case c:return{offset:-1,sibling:!0};case d:return{offset:1,sibling:!0};case f:return{offset:-1,sibling:!1};case u:return{offset:1,sibling:!1};default:return null}}function Sg(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}function xg(e,t){for(var r=e||document.activeElement;r;){if(t.has(r))return r;r=r.parentElement}return null}function Ns(e,t){var r=(0,Is.tS)(e,!0);return r.filter(function(n){return t.has(n)})}function Ms(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!e)return null;var o=Ns(e,t),i=o.length,l=o.findIndex(function(s){return r===s});return n<0?l===-1?l=i-1:l-=1:n>0&&(l+=1),l=(l+i)%i,o[l]}function $g(e,t,r,n,o,i,l,s,c,d){var u=a.useRef(),f=a.useRef();f.current=t;var m=function(){Mt.Z.cancel(u.current)};return a.useEffect(function(){return function(){m()}},[]),function(p){var g=p.which;if([].concat(Os,[$o,Ps,Pr,Or]).includes(g)){var h,v,y,b=function(){h=new Set,v=new Map,y=new Map;var z=i();return z.forEach(function(D){var R=document.querySelector("[data-menu-id='".concat(Fa(n,D),"']"));R&&(h.add(R),y.set(R,D),v.set(D,R))}),h};b();var C=v.get(t),x=xg(C,h),S=y.get(x),$=Cg(e,l(S,!0).length===1,r,g);if(!$&&g!==Pr&&g!==Or)return;(Os.includes(g)||[Pr,Or].includes(g))&&p.preventDefault();var w=function(z){if(z){var D=z,R=z.querySelector("a");R!=null&&R.getAttribute("href")&&(D=R);var _=y.get(z);s(_),m(),u.current=(0,Mt.Z)(function(){f.current===_&&D.focus()})}};if([Pr,Or].includes(g)||$.sibling||!x){var P;!x||e==="inline"?P=o.current:P=Sg(x);var E,I=Ns(P,h);g===Pr?E=I[0]:g===Or?E=I[I.length-1]:E=Ms(P,h,x,$.offset),w(E)}else if($.inlineTrigger)c(S);else if($.offset>0)c(S,!0),m(),u.current=(0,Mt.Z)(function(){b();var T=x.getAttribute("aria-controls"),z=document.getElementById(T),D=Ms(z,h);w(D)},5);else if($.offset<0){var M=l(S,!0),N=M[M.length-2],O=v.get(N);c(N,!1),w(O)}}d==null||d(p)}}function wg(e){Promise.resolve().then(e)}var Va="__RC_UTIL_PATH_SPLIT__",Ts=function(t){return t.join(Va)},Eg=function(t){return t.split(Va)},Ga="rc-menu-more";function Ig(){var e=a.useState({}),t=(0,ie.Z)(e,2),r=t[1],n=(0,a.useRef)(new Map),o=(0,a.useRef)(new Map),i=a.useState([]),l=(0,ie.Z)(i,2),s=l[0],c=l[1],d=(0,a.useRef)(0),u=(0,a.useRef)(!1),f=function(){u.current||r({})},m=(0,a.useCallback)(function(C,x){var S=Ts(x);o.current.set(S,C),n.current.set(C,S),d.current+=1;var $=d.current;wg(function(){$===d.current&&f()})},[]),p=(0,a.useCallback)(function(C,x){var S=Ts(x);o.current.delete(S),n.current.delete(C)},[]),g=(0,a.useCallback)(function(C){c(C)},[]),h=(0,a.useCallback)(function(C,x){var S=n.current.get(C)||"",$=Eg(S);return x&&s.includes($[0])&&$.unshift(Ga),$},[s]),v=(0,a.useCallback)(function(C,x){return C.some(function(S){var $=h(S,!0);return $.includes(x)})},[h]),y=function(){var x=(0,pe.Z)(n.current.keys());return s.length&&x.push(Ga),x},b=(0,a.useCallback)(function(C){var x="".concat(n.current.get(C)).concat(Va),S=new Set;return(0,pe.Z)(o.current.keys()).forEach(function($){$.startsWith(x)&&S.add(o.current.get($))}),S},[]);return a.useEffect(function(){return function(){u.current=!0}},[]),{registerPath:m,unregisterPath:p,refreshOverflowKeys:g,isSubPathKey:v,getKeyPath:h,getKeys:y,getSubPathKeys:b}}function Qn(e){var t=a.useRef(e);t.current=e;var r=a.useCallback(function(){for(var n,o=arguments.length,i=new Array(o),l=0;l1&&(b.motionAppear=!1);var C=b.onVisibleChanged;return b.onVisibleChanged=function(x){return!m.current&&!x&&v(!0),C==null?void 0:C(x)},h?null:a.createElement(Ir,{mode:i,locked:!m.current},a.createElement(It.ZP,(0,$e.Z)({visible:y},b,{forceRender:c,removeOnLeave:!1,leavedClassName:"".concat(s,"-hidden")}),function(x){var S=x.className,$=x.style;return a.createElement(Ds,{id:t,className:S,style:$},o)}))}var Kg=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],Xg=["active"],Vg=function(t){var r,n=t.style,o=t.className,i=t.title,l=t.eventKey,s=t.warnKey,c=t.disabled,d=t.internalPopupClose,u=t.children,f=t.itemIcon,m=t.expandIcon,p=t.popupClassName,g=t.popupOffset,h=t.onClick,v=t.onMouseEnter,y=t.onMouseLeave,b=t.onTitleClick,C=t.onTitleMouseEnter,x=t.onTitleMouseLeave,S=(0,ot.Z)(t,Kg),$=xs(l),w=a.useContext(Yt),P=w.prefixCls,E=w.mode,I=w.openKeys,M=w.disabled,N=w.overflowDisabled,O=w.activeKey,T=w.selectedKeys,z=w.itemIcon,D=w.expandIcon,R=w.onItemClick,_=w.onOpenChange,k=w.onActive,A=a.useContext(_a),F=A._internalRenderSubMenuItem,Z=a.useContext(Es),j=Z.isSubPathKey,K=Yn(),G="".concat(P,"-submenu"),Y=M||c,W=a.useRef(),ee=a.useRef(),oe=f||z,J=m||D,re=I.includes(l),U=!N&&re,X=j(T,l),te=Zs(l,Y,C,x),H=te.active,V=(0,ot.Z)(te,Xg),ne=a.useState(!1),ce=(0,ie.Z)(ne,2),le=ce[0],ge=ce[1],Se=function(je){Y||ge(je)},ae=function(je){Se(!0),v==null||v({key:l,domEvent:je})},de=function(je){Se(!1),y==null||y({key:l,domEvent:je})},ue=a.useMemo(function(){return H||(E!=="inline"?le||j([O],l):!1)},[E,H,O,le,l,j]),we=Ls(K.length),me=function(je){Y||(b==null||b({key:l,domEvent:je}),E==="inline"&&_(l,!re))},Ee=Qn(function(Re){h==null||h(wo(Re)),R(Re)}),Ce=function(je){E!=="inline"&&_(l,je)},Ie=function(){k(l)},Me=$&&"".concat($,"-popup"),De=a.createElement("div",(0,$e.Z)({role:"menuitem",style:we,className:"".concat(G,"-title"),tabIndex:Y?null:-1,ref:W,title:typeof i=="string"?i:null,"data-menu-id":N&&$?null:$,"aria-expanded":U,"aria-haspopup":!0,"aria-controls":Me,"aria-disabled":Y,onClick:me,onFocus:Ie},V),i,a.createElement(zs,{icon:E!=="horizontal"?J:null,props:(0,B.Z)((0,B.Z)({},t),{},{isOpen:U,isSubMenu:!0})},a.createElement("i",{className:"".concat(G,"-arrow")}))),fe=a.useRef(E);if(E!=="inline"&&K.length>1?fe.current="vertical":fe.current=E,!N){var ve=fe.current;De=a.createElement(_g,{mode:ve,prefixCls:G,visible:!d&&U&&E!=="inline",popupClassName:p,popupOffset:g,popup:a.createElement(Ir,{mode:ve==="horizontal"?"vertical":ve},a.createElement(Ds,{id:Me,ref:ee},u)),disabled:Y,onVisibleChange:Ce},De)}var Be=a.createElement(Er.Z.Item,(0,$e.Z)({role:"none"},S,{component:"li",style:n,className:L()(G,"".concat(G,"-").concat(E),o,(r={},(0,q.Z)(r,"".concat(G,"-open"),U),(0,q.Z)(r,"".concat(G,"-active"),ue),(0,q.Z)(r,"".concat(G,"-selected"),X),(0,q.Z)(r,"".concat(G,"-disabled"),Y),r)),onMouseEnter:ae,onMouseLeave:de}),De,!N&&a.createElement(Wg,{id:Me,open:U,keyPath:K},u));return F&&(Be=F(Be,t,{selected:X,active:ue,open:U,disabled:Y})),a.createElement(Ir,{onItemClick:Ee,mode:E==="horizontal"?"vertical":E,itemIcon:oe,expandIcon:J},Be)};function Io(e){var t=e.eventKey,r=e.children,n=Yn(t),o=Ua(r,n),i=So();a.useEffect(function(){if(i)return i.registerPath(t,n),function(){i.unregisterPath(t,n)}},[n]);var l;return i?l=o:l=a.createElement(Vg,e,o),a.createElement(ws.Provider,{value:n},l)}var Gg=["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"],Jn=[],Ug=a.forwardRef(function(e,t){var r,n,o=e,i=o.prefixCls,l=i===void 0?"rc-menu":i,s=o.rootClassName,c=o.style,d=o.className,u=o.tabIndex,f=u===void 0?0:u,m=o.items,p=o.children,g=o.direction,h=o.id,v=o.mode,y=v===void 0?"vertical":v,b=o.inlineCollapsed,C=o.disabled,x=o.disabledOverflow,S=o.subMenuOpenDelay,$=S===void 0?.1:S,w=o.subMenuCloseDelay,P=w===void 0?.1:w,E=o.forceSubMenuRender,I=o.defaultOpenKeys,M=o.openKeys,N=o.activeKey,O=o.defaultActiveFirst,T=o.selectable,z=T===void 0?!0:T,D=o.multiple,R=D===void 0?!1:D,_=o.defaultSelectedKeys,k=o.selectedKeys,A=o.onSelect,F=o.onDeselect,Z=o.inlineIndent,j=Z===void 0?24:Z,K=o.motion,G=o.defaultMotions,Y=o.triggerSubMenuAction,W=Y===void 0?"hover":Y,ee=o.builtinPlacements,oe=o.itemIcon,J=o.expandIcon,re=o.overflowedIndicator,U=re===void 0?"...":re,X=o.overflowedIndicatorPopupClassName,te=o.getPopupContainer,H=o.onClick,V=o.onOpenChange,ne=o.onKeyDown,ce=o.openAnimation,le=o.openTransitionName,ge=o._internalRenderMenuItem,Se=o._internalRenderSubMenuItem,ae=(0,ot.Z)(o,Gg),de=a.useMemo(function(){return Ag(p,m,Jn)},[p,m]),ue=a.useState(!1),we=(0,ie.Z)(ue,2),me=we[0],Ee=we[1],Ce=a.useRef(),Ie=Og(h),Me=g==="rtl",De=(0,pt.Z)(I,{value:M,postState:function(Le){return Le||Jn}}),fe=(0,ie.Z)(De,2),ve=fe[0],Be=fe[1],Re=function(Le){var _e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function mt(){Be(Le),V==null||V(Le)}_e?(0,yo.flushSync)(mt):mt()},je=a.useState(ve),Ge=(0,ie.Z)(je,2),tt=Ge[0],Xe=Ge[1],se=a.useRef(!1),ye=a.useMemo(function(){return(y==="inline"||y==="vertical")&&b?["vertical",b]:[y,!1]},[y,b]),Te=(0,ie.Z)(ye,2),be=Te[0],Ze=Te[1],ke=be==="inline",nt=a.useState(be),dt=(0,ie.Z)(nt,2),ze=dt[0],Ne=dt[1],He=a.useState(Ze),rt=(0,ie.Z)(He,2),xt=rt[0],ft=rt[1];a.useEffect(function(){Ne(be),ft(Ze),se.current&&(ke?Be(tt):Re(Jn))},[be,Ze]);var ht=a.useState(0),st=(0,ie.Z)(ht,2),Je=st[0],Fe=st[1],it=Je>=de.length-1||ze!=="horizontal"||x;a.useEffect(function(){ke&&Xe(ve)},[ve]),a.useEffect(function(){return se.current=!0,function(){se.current=!1}},[]);var Pe=Ig(),Ue=Pe.registerPath,qe=Pe.unregisterPath,at=Pe.refreshOverflowKeys,We=Pe.isSubPathKey,Ae=Pe.getKeyPath,Ke=Pe.getKeys,Ye=Pe.getSubPathKeys,ut=a.useMemo(function(){return{registerPath:Ue,unregisterPath:qe}},[Ue,qe]),yt=a.useMemo(function(){return{isSubPathKey:We}},[We]);a.useEffect(function(){at(it?Jn:de.slice(Je+1).map(function(Ct){return Ct.key}))},[Je,it]);var Gt=(0,pt.Z)(N||O&&((r=de[0])===null||r===void 0?void 0:r.key),{value:N}),cn=(0,ie.Z)(Gt,2),zt=cn[0],Ut=cn[1],bn=Qn(function(Ct){Ut(Ct)}),Rt=Qn(function(){Ut(void 0)});(0,a.useImperativeHandle)(t,function(){return{list:Ce.current,focus:function(Le){var _e,mt=zt!=null?zt:(_e=de.find(function(io){return!io.props.disabled}))===null||_e===void 0?void 0:_e.key;if(mt){var $t,Lt,Mn;($t=Ce.current)===null||$t===void 0||(Lt=$t.querySelector("li[data-menu-id='".concat(Fa(Ie,mt),"']")))===null||Lt===void 0||(Mn=Lt.focus)===null||Mn===void 0||Mn.call(Lt,Le)}}}});var Bt=(0,pt.Z)(_||[],{value:k,postState:function(Le){return Array.isArray(Le)?Le:Le==null?Jn:[Le]}}),Sr=(0,ie.Z)(Bt,2),xr=Sr[0],Oa=Sr[1],Na=function(Le){if(z){var _e=Le.key,mt=xr.includes(_e),$t;R?mt?$t=xr.filter(function(Mn){return Mn!==_e}):$t=[].concat((0,pe.Z)(xr),[_e]):$t=[_e],Oa($t);var Lt=(0,B.Z)((0,B.Z)({},Le),{},{selectedKeys:$t});mt?F==null||F(Lt):A==null||A(Lt)}!R&&ve.length&&ze!=="inline"&&Re(Jn)},Ma=Qn(function(Ct){H==null||H(wo(Ct)),Na(Ct)}),ro=Qn(function(Ct,Le){var _e=ve.filter(function($t){return $t!==Ct});if(Le)_e.push(Ct);else if(ze!=="inline"){var mt=Ye(Ct);_e=_e.filter(function($t){return!mt.has($t)})}(0,Rn.Z)(ve,_e,!0)||Re(_e,!0)}),Hl=Qn(te),Ta=function(Le,_e){var mt=_e!=null?_e:!ve.includes(Le);ro(Le,mt)},oo=$g(ze,zt,Me,Ie,Ce,Ke,Ae,Ut,Ta,ne);a.useEffect(function(){Ee(!0)},[]);var Ra=a.useMemo(function(){return{_internalRenderMenuItem:ge,_internalRenderSubMenuItem:Se}},[ge,Se]),ao=ze!=="horizontal"||x?de:de.map(function(Ct,Le){return a.createElement(Ir,{key:Ct.key,overflowDisabled:Le>Je},Ct)}),Za=a.createElement(Er.Z,(0,$e.Z)({id:h,ref:Ce,prefixCls:"".concat(l,"-overflow"),component:"ul",itemComponent:Zn,className:L()(l,"".concat(l,"-root"),"".concat(l,"-").concat(ze),d,(n={},(0,q.Z)(n,"".concat(l,"-inline-collapsed"),xt),(0,q.Z)(n,"".concat(l,"-rtl"),Me),n),s),dir:g,style:c,role:"menu",tabIndex:f,data:ao,renderRawItem:function(Le){return Le},renderRawRest:function(Le){var _e=Le.length,mt=_e?de.slice(-_e):null;return a.createElement(Io,{eventKey:Ga,title:U,disabled:it,internalPopupClose:_e===0,popupClassName:X},mt)},maxCount:ze!=="horizontal"||x?Er.Z.INVALIDATE:Er.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Le){Fe(Le)},onKeyDown:oo},ae));return a.createElement(_a.Provider,{value:Ra},a.createElement(Ss.Provider,{value:Ie},a.createElement(Ir,{prefixCls:l,rootClassName:s,mode:ze,openKeys:ve,rtl:Me,disabled:C,motion:me?K:null,defaultMotions:me?G:null,activeKey:zt,onActive:bn,onInactive:Rt,selectedKeys:xr,inlineIndent:j,subMenuOpenDelay:$,subMenuCloseDelay:P,forceSubMenuRender:E,builtinPlacements:ee,triggerSubMenuAction:W,getPopupContainer:Hl,itemIcon:oe,expandIcon:J,onItemClick:Ma,onOpenChange:ro},a.createElement(Es.Provider,{value:yt},Za),a.createElement("div",{style:{display:"none"},"aria-hidden":!0},a.createElement($s.Provider,{value:ut},de)))))}),Yg=Ug,Qg=["className","title","eventKey","children"],Jg=["children"],qg=function(t){var r=t.className,n=t.title,o=t.eventKey,i=t.children,l=(0,ot.Z)(t,Qg),s=a.useContext(Yt),c=s.prefixCls,d="".concat(c,"-item-group");return a.createElement("li",(0,$e.Z)({role:"presentation"},l,{onClick:function(f){return f.stopPropagation()},className:L()(d,r)}),a.createElement("div",{role:"presentation",className:"".concat(d,"-title"),title:typeof n=="string"?n:void 0},n),a.createElement("ul",{role:"group",className:"".concat(d,"-list")},i))};function Po(e){var t=e.children,r=(0,ot.Z)(e,Jg),n=Yn(r.eventKey),o=Ua(t,n),i=So();return i?o:a.createElement(qg,(0,ct.Z)(r,["warnKey"]),o)}function Qa(e){var t=e.className,r=e.style,n=a.useContext(Yt),o=n.prefixCls,i=So();return i?null:a.createElement("li",{className:L()("".concat(o,"-item-divider"),t),style:r})}var Nr=Yg;Nr.Item=Zn,Nr.SubMenu=Io,Nr.ItemGroup=Po,Nr.Divider=Qa;var Ja=Nr,Ln=Q(47737),qa=Q(66968),St=Q(59389),wt=Q(99590),Oo=Q(36879),ln=Q(58281),qn=Q(54271),e0=e=>{const{componentCls:t,motionDurationSlow:r,menuHorizontalHeight:n,colorSplit:o,lineWidth:i,lineType:l,menuItemPaddingInline:s}=e;return{[`${t}-horizontal`]:{lineHeight:`${n}px`,border:0,borderBottom:`${i}px ${l} ${o}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:s},[`> ${t}-item:hover, + `]:{opacity:0,animationTimingFunction:o},[`&${i}-wrap-leave`]:{animationTimingFunction:o}}}]},Bp=e=>{const{componentCls:t,floatButtonSize:r,margin:n,borderRadiusLG:o}=e,i=`${t}-group`;return{[i]:Object.assign(Object.assign({},(0,xe.Wf)(e)),{zIndex:99,display:"block",border:"none",position:"fixed",width:r,height:"auto",boxShadow:"none",minHeight:r,insetInlineEnd:e.floatButtonInsetInlineEnd,insetBlockEnd:e.floatButtonInsetBlockEnd,borderRadius:o,[`${i}-wrap`]:{zIndex:-1,display:"block",position:"relative",marginBottom:n},[`&${i}-rtl`]:{direction:"rtl"},[t]:{position:"static"}}),[`${i}-circle`]:{[`${t}-circle:not(:last-child)`]:{marginBottom:e.margin,[`${t}-body`]:{width:r,height:r}}},[`${i}-square`]:{[`${t}-square`]:{borderRadius:0,padding:0,"&:first-child":{borderStartStartRadius:o,borderStartEndRadius:o},"&:last-child":{borderEndStartRadius:o,borderEndEndRadius:o},"&:not(:last-child)":{borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`}},[`${i}-wrap`]:{display:"block",borderRadius:o,boxShadow:e.boxShadowSecondary,overflow:"hidden",[`${t}-square`]:{boxShadow:"none",marginTop:0,borderRadius:0,padding:e.paddingXXS,"&:first-child":{borderStartStartRadius:o,borderStartEndRadius:o},"&:last-child":{borderEndStartRadius:o,borderEndEndRadius:o},"&:not(:last-child)":{borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`},[`${t}-body`]:{width:r-e.paddingXXS*2,height:r-e.paddingXXS*2}}}},[`${i}-circle-shadow`]:{boxShadow:"none"},[`${i}-square-shadow`]:{boxShadow:e.boxShadowSecondary,[`${t}-square`]:{boxShadow:"none",padding:e.paddingXXS,[`${t}-body`]:{width:r-e.paddingXXS*2,height:r-e.paddingXXS*2}}}}},Ap=e=>{const{componentCls:t,floatButtonIconSize:r,floatButtonSize:n,borderRadiusLG:o}=e;return{[t]:Object.assign(Object.assign({},(0,xe.Wf)(e)),{border:"none",position:"fixed",cursor:"pointer",overflow:"hidden",zIndex:99,display:"block",justifyContent:"center",alignItems:"center",width:n,height:n,insetInlineEnd:e.floatButtonInsetInlineEnd,insetBlockEnd:e.floatButtonInsetBlockEnd,boxShadow:e.boxShadowSecondary,"&-pure":{position:"relative",inset:"auto"},"&:empty":{display:"none"},[`${t}-body`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",transition:`all ${e.motionDurationMid}`,[`${t}-content`]:{overflow:"hidden",textAlign:"center",minHeight:n,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",padding:"2px 4px",[`${t}-icon`]:{textAlign:"center",margin:"auto",width:r,fontSize:r,lineHeight:1}}}}),[`${t}-circle`]:{height:n,borderRadius:"50%",[`${t}-body`]:{borderRadius:"50%"}},[`${t}-square`]:{height:"auto",minHeight:n,borderRadius:o,[`${t}-body`]:{height:"auto",borderRadius:e.borderRadiusSM}},[`${t}-default`]:{backgroundColor:e.floatButtonBackgroundColor,transition:`background-color ${e.motionDurationMid}`,[`${t}-body`]:{backgroundColor:e.floatButtonBackgroundColor,transition:`background-color ${e.motionDurationMid}`,"&:hover":{backgroundColor:e.colorFillContent},[`${t}-content`]:{[`${t}-icon`]:{color:e.colorText},[`${t}-description`]:{display:"flex",alignItems:"center",lineHeight:`${e.fontSizeLG}px`,color:e.colorText,fontSize:e.fontSizeSM}}}},[`${t}-primary`]:{backgroundColor:e.colorPrimary,[`${t}-body`]:{backgroundColor:e.colorPrimary,transition:`background-color ${e.motionDurationMid}`,"&:hover":{backgroundColor:e.colorPrimaryHover},[`${t}-content`]:{[`${t}-icon`]:{color:e.colorTextLightSolid},[`${t}-description`]:{display:"flex",alignItems:"center",lineHeight:`${e.fontSizeLG}px`,color:e.colorTextLightSolid,fontSize:e.fontSizeSM}}}}}};var ka=(0,Ve.Z)("FloatButton",e=>{const{colorTextLightSolid:t,colorBgElevated:r,controlHeightLG:n,marginXXL:o,marginLG:i,fontSize:l,fontSizeIcon:s,controlItemBgHover:c}=e,d=(0,Qe.TS)(e,{floatButtonBackgroundColor:r,floatButtonColor:t,floatButtonHoverBackgroundColor:c,floatButtonFontSize:l,floatButtonIconSize:s*1.5,floatButtonSize:n,floatButtonInsetBlockEnd:o,floatButtonInsetInlineEnd:i});return[Bp(d),Ap(d),Aa(e),Dp(d)]}),Wt=Q(46085),ds=Q(80009);const kp=e=>{const{icon:t,description:r,prefixCls:n,className:o}=e,i=a.createElement("div",{className:`${n}-icon`},a.createElement(ds.Z,null));return a.createElement("div",{onClick:e.onClick,onFocus:e.onFocus,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,className:L()(o,`${n}-content`)},t||r?a.createElement(a.Fragment,null,t&&a.createElement("div",{className:`${n}-icon`},t),r&&a.createElement("div",{className:`${n}-description`},r)):i)};var Hp=(0,a.memo)(kp);const us=a.createContext(void 0),{Provider:Fp}=us;var fs=us,_p=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{prefixCls:r,className:n,type:o="default",shape:i="circle",icon:l,description:s,tooltip:c}=e,d=_p(e,["prefixCls","className","type","shape","icon","description","tooltip"]),{getPrefixCls:u,direction:f}=(0,a.useContext)(he.E_),m=(0,a.useContext)(fs),p=u(ho,r),[g,h]=ka(p),v=m||i,y=L()(h,p,n,`${p}-${o}`,`${p}-${v}`,{[`${p}-rtl`]:f==="rtl"}),b=(0,a.useMemo)(()=>({prefixCls:p,description:s,icon:l,type:o}),[p,s,l,o]),C=a.createElement(Wt.Z,{title:c,placement:"left"},a.createElement("div",{className:`${p}-body`},a.createElement(Hp,Object.assign({},b))));return g(e.href?a.createElement("a",Object.assign({ref:t},d,{className:y}),C):a.createElement("button",Object.assign({ref:t},d,{className:y,type:"button"}),C))};var Tn=a.forwardRef(Wp),pt=Q(89174);const Kp=e=>{const{prefixCls:t,className:r,style:n,shape:o="circle",type:i="default",icon:l=a.createElement(ds.Z,null),closeIcon:s=a.createElement(_t.Z,null),description:c,trigger:d,children:u,onOpenChange:f}=e,{direction:m,getPrefixCls:p}=(0,a.useContext)(he.E_),g=p(ho,t),[h,v]=ka(g),y=`${g}-group`,b=L()(y,v,r,{[`${y}-rtl`]:m==="rtl",[`${y}-${o}`]:o,[`${y}-${o}-shadow`]:!d}),C=L()(v,`${y}-wrap`),[x,S]=(0,pt.Z)(!1,{value:e.open}),$=(0,a.useRef)(null),w=(0,a.useRef)(null),P=(0,a.useMemo)(()=>d==="hover"?{onMouseEnter(){S(!0),f==null||f(!0)},onMouseLeave(){S(!1),f==null||f(!1)}}:{},[d]),E=()=>{S(M=>(f==null||f(!M),!M))},I=(0,a.useCallback)(M=>{var N,O;if(!((N=$.current)===null||N===void 0)&&N.contains(M.target)){!((O=w.current)===null||O===void 0)&&O.contains(M.target)&&E();return}S(!1),f==null||f(!1)},[d]);return(0,a.useEffect)(()=>{if(d==="click")return document.addEventListener("click",I),()=>{document.removeEventListener("click",I)}},[d]),h(a.createElement(Fp,{value:o},a.createElement("div",Object.assign({ref:$,className:b,style:n},P),d&&["click","hover"].includes(d)?a.createElement(a.Fragment,null,a.createElement(It.ZP,{visible:x,motionName:`${y}-wrap`},M=>{let{className:N}=M;return a.createElement("div",{className:L()(N,C)},u)}),a.createElement(Tn,{ref:w,type:i,shape:o,icon:x?s:l,description:c})):u)))};var ms=(0,a.memo)(Kp),ps=Q(59339),Xp=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{const{prefixCls:t,className:r="",type:n="default",shape:o="circle",visibilityHeight:i=400,icon:l=a.createElement(ps.Z,null),target:s,onClick:c,duration:d=450}=e,u=Xp(e,["prefixCls","className","type","shape","visibilityHeight","icon","target","onClick","duration"]),[f,m]=(0,a.useState)(i===0),p=(0,a.useRef)(null),g=()=>p.current&&p.current.ownerDocument?p.current.ownerDocument:window,h=so(P=>{const E=fo(P.target,!0);m(E>=i)});(0,a.useEffect)(()=>{const E=(s||g)();return h({target:E}),E==null||E.addEventListener("scroll",h),()=>{h.cancel(),E==null||E.removeEventListener("scroll",h)}},[s]);const v=P=>{mo(0,{getContainer:s||g,duration:d}),c==null||c(P)},{getPrefixCls:y}=(0,a.useContext)(he.E_),b=y(ho,t),C=y(),[x]=ka(b),$=(0,a.useContext)(fs)||o,w=Object.assign({prefixCls:b,icon:l,type:n,shape:$},u);return x(a.createElement(It.ZP,{visible:f,motionName:`${C}-fade`},P=>{let{className:E}=P;return a.createElement(Tn,Object.assign({ref:p},w,{onClick:v,className:L()(r,E)}))}))};var gs=(0,a.memo)(Vp),vs=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var{backTop:t}=e,r=vs(e,["backTop"]);return t?a.createElement(gs,Object.assign({},r,{visibilityHeight:0})):a.createElement(Tn,Object.assign({},r))};function Gp(e){var{className:t,items:r}=e,n=vs(e,["className","items"]);const{prefixCls:o}=n,{getPrefixCls:i}=a.useContext(he.E_),s=`${i(ho,o)}-pure`;return r?a.createElement(ms,Object.assign({className:L()(t,s)},n),r.map((c,d)=>a.createElement(hs,Object.assign({key:d},c)))):a.createElement(hs,Object.assign({className:L()(t,s)},n))}var Up=a.memo(Gp);Tn.BackTop=gs,Tn.Group=ms,Tn._InternalPanelDoNotUseOrYouWillBeFired=Up;var Yp=Tn;const Qp=e=>{const{componentCls:t,backTopFontSize:r,backTopSize:n,zIndexPopup:o}=e;return{[t]:Object.assign(Object.assign({},(0,xe.Wf)(e)),{position:"fixed",insetInlineEnd:e.backTopInlineEnd,insetBlockEnd:e.backTopBlockEnd,zIndex:o,width:40,height:40,cursor:"pointer","&:empty":{display:"none"},[`${t}-content`]:{width:n,height:n,overflow:"hidden",color:e.backTopColor,textAlign:"center",backgroundColor:e.backTopBackground,borderRadius:n,transition:`all ${e.motionDurationMid}`,"&:hover":{backgroundColor:e.backTopHoverBackground,transition:`all ${e.motionDurationMid}`}},[`${t}-icon`]:{fontSize:r,lineHeight:`${n}px`}})}},Jp=e=>{const{componentCls:t}=e;return{[`@media (max-width: ${e.screenMD}px)`]:{[t]:{insetInlineEnd:e.backTopInlineEndMD}},[`@media (max-width: ${e.screenXS}px)`]:{[t]:{insetInlineEnd:e.backTopInlineEndXS}}}};var qp=(0,Ve.Z)("BackTop",e=>{const{fontSizeHeading3:t,colorTextDescription:r,colorTextLightSolid:n,colorText:o,controlHeightLG:i}=e,l=(0,Qe.TS)(e,{backTopBackground:r,backTopColor:n,backTopHoverBackground:o,backTopFontSize:t,backTopSize:i,backTopBlockEnd:i*1.25,backTopInlineEnd:i*2.5,backTopInlineEndMD:i*1.5,backTopInlineEndXS:i*.5});return[Qp(l),Jp(l)]},e=>({zIndexPopup:e.zIndexBase+10}));const eg=e=>{const{prefixCls:t,className:r="",visibilityHeight:n=400,target:o,onClick:i,duration:l=450}=e,[s,c]=a.useState(n===0),d=a.useRef(null),u=()=>d.current&&d.current.ownerDocument?d.current.ownerDocument:window,f=so($=>{const w=fo($.target,!0);c(w>=n)});a.useEffect(()=>{const w=(o||u)();return f({target:w}),w==null||w.addEventListener("scroll",f),()=>{f.cancel(),w==null||w.removeEventListener("scroll",f)}},[o]);const m=$=>{mo(0,{getContainer:o||u,duration:l}),i==null||i($)},{getPrefixCls:p,direction:g}=a.useContext(he.E_),h=p("back-top",t),v=p(),[y,b]=qp(h),C=L()(b,h,{[`${h}-rtl`]:g==="rtl"},r),x=(0,ct.Z)(e,["prefixCls","className","children","visibilityHeight","target"]),S=a.createElement("div",{className:`${h}-content`},a.createElement("div",{className:`${h}-icon`},a.createElement(ps.Z,null)));return y(a.createElement("div",Object.assign({},x,{className:C,onClick:m,ref:d}),a.createElement(It.ZP,{visible:s,motionName:`${v}-fade`},$=>{let{className:w}=$;return(0,lt.Tm)(e.children||S,P=>{let{className:E}=P;return{className:L()(w,E)}})})))};var tg=a.memo(eg),Ha=Q(36303);const ng=new bt.E4("antStatusProcessing",{"0%":{transform:"scale(0.8)",opacity:.5},"100%":{transform:"scale(2.4)",opacity:0}}),rg=new bt.E4("antZoomBadgeIn",{"0%":{transform:"scale(0) translate(50%, -50%)",opacity:0},"100%":{transform:"scale(1) translate(50%, -50%)"}}),og=new bt.E4("antZoomBadgeOut",{"0%":{transform:"scale(1) translate(50%, -50%)"},"100%":{transform:"scale(0) translate(50%, -50%)",opacity:0}}),ag=new bt.E4("antNoWrapperZoomBadgeIn",{"0%":{transform:"scale(0)",opacity:0},"100%":{transform:"scale(1)"}}),ig=new bt.E4("antNoWrapperZoomBadgeOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0)",opacity:0}}),lg=new bt.E4("antBadgeLoadingCircle",{"0%":{transformOrigin:"50%"},"100%":{transform:"translate(50%, -50%) rotate(360deg)",transformOrigin:"50%"}}),sg=e=>{const{componentCls:t,iconCls:r,antCls:n,badgeFontHeight:o,badgeShadowSize:i,badgeHeightSm:l,motionDurationSlow:s,badgeStatusSize:c,marginXS:d,badgeRibbonOffset:u}=e,f=`${n}-scroll-number`,m=`${n}-ribbon`,p=`${n}-ribbon-wrapper`,g=(0,Ha.j)(e,(v,y)=>{let{darkColor:b}=y;return{[`${t}-status-${v}`]:{background:b}}}),h=(0,Ha.j)(e,(v,y)=>{let{darkColor:b}=y;return{[`&${m}-color-${v}`]:{background:b,color:b}}});return{[t]:Object.assign(Object.assign({},(0,xe.Wf)(e)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${t}-count`]:{zIndex:e.badgeZIndex,minWidth:e.badgeHeight,height:e.badgeHeight,color:e.badgeTextColor,fontWeight:e.badgeFontWeight,fontSize:e.badgeFontSize,lineHeight:`${e.badgeHeight}px`,whiteSpace:"nowrap",textAlign:"center",background:e.badgeColor,borderRadius:e.badgeHeight/2,boxShadow:`0 0 0 ${i}px ${e.badgeShadowColor}`,transition:`background ${e.motionDurationMid}`,a:{color:e.badgeTextColor},"a:hover":{color:e.badgeTextColor},"a:hover &":{background:e.badgeColorHover}},[`${t}-count-sm`]:{minWidth:l,height:l,fontSize:e.badgeFontSizeSm,lineHeight:`${l}px`,borderRadius:l/2},[`${t}-multiple-words`]:{padding:`0 ${e.paddingXS}px`},[`${t}-dot`]:{zIndex:e.badgeZIndex,width:e.badgeDotSize,minWidth:e.badgeDotSize,height:e.badgeDotSize,background:e.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${i}px ${e.badgeShadowColor}`},[`${t}-dot${f}`]:{transition:`background ${s}`},[`${t}-count, ${t}-dot, ${f}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`${r}-spin`]:{animationName:lg,animationDuration:e.motionDurationMid,animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${t}-status`]:Object.assign(Object.assign({lineHeight:"inherit",verticalAlign:"baseline",[`${t}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:c,height:c,verticalAlign:"middle",borderRadius:"50%"},[`${t}-status-success`]:{backgroundColor:e.colorSuccess},[`${t}-status-processing`]:{position:"relative",color:e.colorPrimary,backgroundColor:e.colorPrimary,"&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:i,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:ng,animationDuration:e.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${t}-status-default`]:{backgroundColor:e.colorTextPlaceholder},[`${t}-status-error`]:{backgroundColor:e.colorError},[`${t}-status-warning`]:{backgroundColor:e.colorWarning}},g),{[`${t}-status-text`]:{marginInlineStart:d,color:e.colorText,fontSize:e.fontSize}}),[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:rg,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`${t}-zoom-leave`]:{animationName:og,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`&${t}-not-a-wrapper`]:{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:ag,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`${t}-zoom-leave`]:{animationName:ig,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`&:not(${t}-status)`]:{verticalAlign:"middle"},[`${f}-custom-component, ${t}-count`]:{transform:"none"},[`${f}-custom-component, ${f}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[`${f}`]:{overflow:"hidden",[`${f}-only`]:{position:"relative",display:"inline-block",height:e.badgeHeight,transition:`all ${e.motionDurationSlow} ${e.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${f}-only-unit`]:{height:e.badgeHeight,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${f}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${t}-count, ${t}-dot, ${f}-custom-component`]:{transform:"translate(-50%, -50%)"}}}),[`${p}`]:{position:"relative"},[`${m}`]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,xe.Wf)(e)),{position:"absolute",top:d,height:o,padding:`0 ${e.paddingXS}px`,color:e.colorPrimary,lineHeight:`${o}px`,whiteSpace:"nowrap",backgroundColor:e.colorPrimary,borderRadius:e.borderRadiusSM,[`${m}-text`]:{color:e.colorTextLightSolid},[`${m}-corner`]:{position:"absolute",top:"100%",width:u,height:u,color:"currentcolor",border:`${u/2}px solid`,transform:e.badgeRibbonCornerTransform,transformOrigin:"top",filter:e.badgeRibbonCornerFilter}}),h),{[`&${m}-placement-end`]:{insetInlineEnd:-u,borderEndEndRadius:0,[`${m}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${m}-placement-start`]:{insetInlineStart:-u,borderEndStartRadius:0,[`${m}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}};var bs=(0,Ve.Z)("Badge",e=>{const{fontSize:t,lineHeight:r,fontSizeSM:n,lineWidth:o,marginXS:i,colorBorderBg:l}=e,s=Math.round(t*r),c=o,d="auto",u=s-2*c,f=e.colorBgContainer,m="normal",p=n,g=e.colorError,h=e.colorErrorHover,v=t,y=n/2,b=n,C=n/2,x=(0,Qe.TS)(e,{badgeFontHeight:s,badgeShadowSize:c,badgeZIndex:d,badgeHeight:u,badgeTextColor:f,badgeFontWeight:m,badgeFontSize:p,badgeColor:g,badgeColorHover:h,badgeShadowColor:l,badgeHeightSm:v,badgeDotSize:y,badgeFontSizeSm:b,badgeStatusSize:C,badgeProcessingDuration:"1.2s",badgeRibbonOffset:i,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"});return[sg(x)]}),bo=Q(3913),cg=e=>{let{className:t,prefixCls:r,style:n,color:o,children:i,text:l,placement:s="end"}=e;const{getPrefixCls:c,direction:d}=a.useContext(he.E_),u=c("ribbon",r),f=(0,bo.o2)(o,!1),m=L()(u,`${u}-placement-${s}`,{[`${u}-rtl`]:d==="rtl",[`${u}-color-${o}`]:f},t),[p,g]=bs(u),h={},v={};return o&&!f&&(h.background=o,v.color=o),p(a.createElement("div",{className:L()(`${u}-wrapper`,g)},i,a.createElement("div",{className:L()(m,g),style:Object.assign(Object.assign({},h),n)},a.createElement("span",{className:`${u}-text`},l),a.createElement("div",{className:`${u}-corner`,style:v}))))};function ys(e){let{prefixCls:t,value:r,current:n,offset:o=0}=e,i;return o&&(i={position:"absolute",top:`${o}00%`,left:0}),a.createElement("span",{style:i,className:L()(`${t}-only-unit`,{current:n})},r)}function dg(e,t,r){let n=e,o=0;for(;(n+10)%10!==t;)n+=r,o+=r;return o}function ug(e){const{prefixCls:t,count:r,value:n}=e,o=Number(n),i=Math.abs(r),[l,s]=a.useState(o),[c,d]=a.useState(i),u=()=>{s(o),d(i)};a.useEffect(()=>{const p=setTimeout(()=>{u()},1e3);return()=>{clearTimeout(p)}},[o]);let f,m;if(l===o||Number.isNaN(o)||Number.isNaN(l))f=[a.createElement(ys,Object.assign({},e,{key:o,current:!0}))],m={transition:"none"};else{f=[];const p=o+10,g=[];for(let y=o;y<=p;y+=1)g.push(y);const h=g.findIndex(y=>y%10===l);f=g.map((y,b)=>{const C=y%10;return a.createElement(ys,Object.assign({},e,{key:y,value:C,offset:b-h,current:b===h}))});const v=c{var{prefixCls:r,count:n,className:o,motionClassName:i,style:l,title:s,show:c,component:d="sup",children:u}=e,f=fg(e,["prefixCls","count","className","motionClassName","style","title","show","component","children"]);const{getPrefixCls:m}=a.useContext(he.E_),p=m("scroll-number",r),g=Object.assign(Object.assign({},f),{"data-show":c,style:l,className:L()(p,o,i),title:s});let h=n;if(n&&Number(n)%1===0){const v=String(n).split("");h=v.map((y,b)=>a.createElement(ug,{prefixCls:p,count:Number(n),value:y,key:v.length-b}))}return l&&l.borderColor&&(g.style=Object.assign(Object.assign({},l),{boxShadow:`0 0 0 1px ${l.borderColor} inset`})),u?(0,lt.Tm)(u,v=>({className:L()(`${p}-custom-component`,v==null?void 0:v.className,i)})):a.createElement(d,Object.assign({},g,{ref:t}),h)}),pg=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o{var{prefixCls:t,scrollNumberPrefixCls:r,children:n,status:o,text:i,color:l,count:s=null,overflowCount:c=99,dot:d=!1,size:u="default",title:f,offset:m,style:p,className:g,showZero:h=!1}=e,v=pg(e,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","showZero"]);const{getPrefixCls:y,direction:b}=a.useContext(he.E_),C=y("badge",t),[x,S]=bs(C),$=s>c?`${c}+`:s,w=$==="0"||$===0,P=s===null||w&&!h,E=(o!=null||l!=null)&&P,I=d&&!w,M=I?"":$,N=(0,a.useMemo)(()=>(M==null||M===""||w&&!h)&&!I,[M,w,h,I]),O=(0,a.useRef)(s);N||(O.current=s);const T=O.current,z=(0,a.useRef)(M);N||(z.current=M);const D=z.current,R=(0,a.useRef)(I);N||(R.current=I);const _=(0,a.useMemo)(()=>{if(!m)return Object.assign({},p);const Y={marginTop:m[1]};return b==="rtl"?Y.left=parseInt(m[0],10):Y.right=-parseInt(m[0],10),Object.assign(Object.assign({},Y),p)},[b,m,p]),k=f!=null?f:typeof T=="string"||typeof T=="number"?T:void 0,A=N||!i?null:a.createElement("span",{className:`${C}-status-text`},i),F=!T||typeof T!="object"?void 0:(0,lt.Tm)(T,Y=>({style:Object.assign(Object.assign({},_),Y.style)})),Z=(0,bo.o2)(l,!1),j=L()({[`${C}-status-dot`]:E,[`${C}-status-${o}`]:!!o,[`${C}-status-${l}`]:Z}),K={};l&&!Z&&(K.color=l,K.background=l);const G=L()(C,{[`${C}-status`]:E,[`${C}-not-a-wrapper`]:!n,[`${C}-rtl`]:b==="rtl"},g);if(!n&&E){const Y=_.color;return x(a.createElement("span",Object.assign({},v,{className:L()(G,S),style:_}),a.createElement("span",{className:j,style:K}),i&&a.createElement("span",{style:{color:Y},className:`${C}-status-text`},i)))}return x(a.createElement("span",Object.assign({},v,{className:L()(G,S)}),n,a.createElement(It.ZP,{visible:!N,motionName:`${C}-zoom`,motionAppear:!1,motionDeadline:1e3},Y=>{let{className:W,ref:ee}=Y;const oe=y("scroll-number",r),J=R.current,re=L()({[`${C}-dot`]:J,[`${C}-count`]:!J,[`${C}-count-sm`]:u==="small",[`${C}-multiple-words`]:!J&&D&&D.toString().length>1,[`${C}-status-${o}`]:!!o,[`${C}-status-${l}`]:Z});let U=Object.assign({},_);return l&&!Z&&(U=U||{},U.background=l),a.createElement(mg,{prefixCls:oe,show:!N,motionClassName:W,className:re,count:D,title:k,style:U,key:"scrollNumber",ref:ee},F)}),A))};Cs.Ribbon=cg;var gg=Cs,$e=Q(87366),q=Q(58216),B=Q(49919),ie=Q(47028),ot=Q(17576),Er=Q(24047),an=Q(37543),yo=Q(10422),Rn=Q(33795),Ss=a.createContext(null);function Fa(e,t){return e===void 0?null:"".concat(e,"-").concat(t)}function xs(e){var t=a.useContext(Ss);return Fa(t,e)}var Co=Q(7477),vg=["children","locked"],Yt=a.createContext(null);function hg(e,t){var r=(0,B.Z)({},e);return Object.keys(t).forEach(function(n){var o=t[n];o!==void 0&&(r[n]=o)}),r}function Ir(e){var t=e.children,r=e.locked,n=(0,ot.Z)(e,vg),o=a.useContext(Yt),i=(0,Co.Z)(function(){return hg(o,n)},[o,n],function(l,s){return!r&&(l[0]!==s[0]||!(0,Rn.Z)(l[1],s[1],!0))});return a.createElement(Yt.Provider,{value:i},t)}var bg=[],$s=a.createContext(null);function So(){return a.useContext($s)}var ws=a.createContext(bg);function Yn(e){var t=a.useContext(ws);return a.useMemo(function(){return e!==void 0?[].concat((0,pe.Z)(t),[e]):t},[t,e])}var Es=a.createContext(null),yg=a.createContext({}),_a=yg,Oe=Q(52053),Is=Q(73435),Wa=Oe.Z.LEFT,Ka=Oe.Z.RIGHT,Xa=Oe.Z.UP,xo=Oe.Z.DOWN,$o=Oe.Z.ENTER,Ps=Oe.Z.ESC,Pr=Oe.Z.HOME,Or=Oe.Z.END,Os=[Xa,xo,Wa,Ka];function Cg(e,t,r,n){var o,i,l,s,c="prev",d="next",u="children",f="parent";if(e==="inline"&&n===$o)return{inlineTrigger:!0};var m=(o={},(0,q.Z)(o,Xa,c),(0,q.Z)(o,xo,d),o),p=(i={},(0,q.Z)(i,Wa,r?d:c),(0,q.Z)(i,Ka,r?c:d),(0,q.Z)(i,xo,u),(0,q.Z)(i,$o,u),i),g=(l={},(0,q.Z)(l,Xa,c),(0,q.Z)(l,xo,d),(0,q.Z)(l,$o,u),(0,q.Z)(l,Ps,f),(0,q.Z)(l,Wa,r?u:f),(0,q.Z)(l,Ka,r?f:u),l),h={inline:m,horizontal:p,vertical:g,inlineSub:m,horizontalSub:g,verticalSub:g},v=(s=h["".concat(e).concat(t?"":"Sub")])===null||s===void 0?void 0:s[n];switch(v){case c:return{offset:-1,sibling:!0};case d:return{offset:1,sibling:!0};case f:return{offset:-1,sibling:!1};case u:return{offset:1,sibling:!1};default:return null}}function Sg(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}function xg(e,t){for(var r=e||document.activeElement;r;){if(t.has(r))return r;r=r.parentElement}return null}function Ns(e,t){var r=(0,Is.tS)(e,!0);return r.filter(function(n){return t.has(n)})}function Ms(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!e)return null;var o=Ns(e,t),i=o.length,l=o.findIndex(function(s){return r===s});return n<0?l===-1?l=i-1:l-=1:n>0&&(l+=1),l=(l+i)%i,o[l]}function $g(e,t,r,n,o,i,l,s,c,d){var u=a.useRef(),f=a.useRef();f.current=t;var m=function(){Mt.Z.cancel(u.current)};return a.useEffect(function(){return function(){m()}},[]),function(p){var g=p.which;if([].concat(Os,[$o,Ps,Pr,Or]).includes(g)){var h,v,y,b=function(){h=new Set,v=new Map,y=new Map;var z=i();return z.forEach(function(D){var R=document.querySelector("[data-menu-id='".concat(Fa(n,D),"']"));R&&(h.add(R),y.set(R,D),v.set(D,R))}),h};b();var C=v.get(t),x=xg(C,h),S=y.get(x),$=Cg(e,l(S,!0).length===1,r,g);if(!$&&g!==Pr&&g!==Or)return;(Os.includes(g)||[Pr,Or].includes(g))&&p.preventDefault();var w=function(z){if(z){var D=z,R=z.querySelector("a");R!=null&&R.getAttribute("href")&&(D=R);var _=y.get(z);s(_),m(),u.current=(0,Mt.Z)(function(){f.current===_&&D.focus()})}};if([Pr,Or].includes(g)||$.sibling||!x){var P;!x||e==="inline"?P=o.current:P=Sg(x);var E,I=Ns(P,h);g===Pr?E=I[0]:g===Or?E=I[I.length-1]:E=Ms(P,h,x,$.offset),w(E)}else if($.inlineTrigger)c(S);else if($.offset>0)c(S,!0),m(),u.current=(0,Mt.Z)(function(){b();var T=x.getAttribute("aria-controls"),z=document.getElementById(T),D=Ms(z,h);w(D)},5);else if($.offset<0){var M=l(S,!0),N=M[M.length-2],O=v.get(N);c(N,!1),w(O)}}d==null||d(p)}}function wg(e){Promise.resolve().then(e)}var Va="__RC_UTIL_PATH_SPLIT__",Ts=function(t){return t.join(Va)},Eg=function(t){return t.split(Va)},Ga="rc-menu-more";function Ig(){var e=a.useState({}),t=(0,ie.Z)(e,2),r=t[1],n=(0,a.useRef)(new Map),o=(0,a.useRef)(new Map),i=a.useState([]),l=(0,ie.Z)(i,2),s=l[0],c=l[1],d=(0,a.useRef)(0),u=(0,a.useRef)(!1),f=function(){u.current||r({})},m=(0,a.useCallback)(function(C,x){var S=Ts(x);o.current.set(S,C),n.current.set(C,S),d.current+=1;var $=d.current;wg(function(){$===d.current&&f()})},[]),p=(0,a.useCallback)(function(C,x){var S=Ts(x);o.current.delete(S),n.current.delete(C)},[]),g=(0,a.useCallback)(function(C){c(C)},[]),h=(0,a.useCallback)(function(C,x){var S=n.current.get(C)||"",$=Eg(S);return x&&s.includes($[0])&&$.unshift(Ga),$},[s]),v=(0,a.useCallback)(function(C,x){return C.some(function(S){var $=h(S,!0);return $.includes(x)})},[h]),y=function(){var x=(0,pe.Z)(n.current.keys());return s.length&&x.push(Ga),x},b=(0,a.useCallback)(function(C){var x="".concat(n.current.get(C)).concat(Va),S=new Set;return(0,pe.Z)(o.current.keys()).forEach(function($){$.startsWith(x)&&S.add(o.current.get($))}),S},[]);return a.useEffect(function(){return function(){u.current=!0}},[]),{registerPath:m,unregisterPath:p,refreshOverflowKeys:g,isSubPathKey:v,getKeyPath:h,getKeys:y,getSubPathKeys:b}}function Qn(e){var t=a.useRef(e);t.current=e;var r=a.useCallback(function(){for(var n,o=arguments.length,i=new Array(o),l=0;l1&&(b.motionAppear=!1);var C=b.onVisibleChanged;return b.onVisibleChanged=function(x){return!m.current&&!x&&v(!0),C==null?void 0:C(x)},h?null:a.createElement(Ir,{mode:i,locked:!m.current},a.createElement(It.ZP,(0,$e.Z)({visible:y},b,{forceRender:c,removeOnLeave:!1,leavedClassName:"".concat(s,"-hidden")}),function(x){var S=x.className,$=x.style;return a.createElement(Ds,{id:t,className:S,style:$},o)}))}var Kg=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],Xg=["active"],Vg=function(t){var r,n=t.style,o=t.className,i=t.title,l=t.eventKey,s=t.warnKey,c=t.disabled,d=t.internalPopupClose,u=t.children,f=t.itemIcon,m=t.expandIcon,p=t.popupClassName,g=t.popupOffset,h=t.onClick,v=t.onMouseEnter,y=t.onMouseLeave,b=t.onTitleClick,C=t.onTitleMouseEnter,x=t.onTitleMouseLeave,S=(0,ot.Z)(t,Kg),$=xs(l),w=a.useContext(Yt),P=w.prefixCls,E=w.mode,I=w.openKeys,M=w.disabled,N=w.overflowDisabled,O=w.activeKey,T=w.selectedKeys,z=w.itemIcon,D=w.expandIcon,R=w.onItemClick,_=w.onOpenChange,k=w.onActive,A=a.useContext(_a),F=A._internalRenderSubMenuItem,Z=a.useContext(Es),j=Z.isSubPathKey,K=Yn(),G="".concat(P,"-submenu"),Y=M||c,W=a.useRef(),ee=a.useRef(),oe=f||z,J=m||D,re=I.includes(l),U=!N&&re,X=j(T,l),te=Zs(l,Y,C,x),H=te.active,V=(0,ot.Z)(te,Xg),ne=a.useState(!1),ce=(0,ie.Z)(ne,2),le=ce[0],ge=ce[1],Se=function(je){Y||ge(je)},ae=function(je){Se(!0),v==null||v({key:l,domEvent:je})},de=function(je){Se(!1),y==null||y({key:l,domEvent:je})},ue=a.useMemo(function(){return H||(E!=="inline"?le||j([O],l):!1)},[E,H,O,le,l,j]),we=Ls(K.length),me=function(je){Y||(b==null||b({key:l,domEvent:je}),E==="inline"&&_(l,!re))},Ee=Qn(function(Re){h==null||h(wo(Re)),R(Re)}),Ce=function(je){E!=="inline"&&_(l,je)},Ie=function(){k(l)},Me=$&&"".concat($,"-popup"),De=a.createElement("div",(0,$e.Z)({role:"menuitem",style:we,className:"".concat(G,"-title"),tabIndex:Y?null:-1,ref:W,title:typeof i=="string"?i:null,"data-menu-id":N&&$?null:$,"aria-expanded":U,"aria-haspopup":!0,"aria-controls":Me,"aria-disabled":Y,onClick:me,onFocus:Ie},V),i,a.createElement(zs,{icon:E!=="horizontal"?J:null,props:(0,B.Z)((0,B.Z)({},t),{},{isOpen:U,isSubMenu:!0})},a.createElement("i",{className:"".concat(G,"-arrow")}))),fe=a.useRef(E);if(E!=="inline"&&K.length>1?fe.current="vertical":fe.current=E,!N){var ve=fe.current;De=a.createElement(_g,{mode:ve,prefixCls:G,visible:!d&&U&&E!=="inline",popupClassName:p,popupOffset:g,popup:a.createElement(Ir,{mode:ve==="horizontal"?"vertical":ve},a.createElement(Ds,{id:Me,ref:ee},u)),disabled:Y,onVisibleChange:Ce},De)}var Be=a.createElement(Er.Z.Item,(0,$e.Z)({role:"none"},S,{component:"li",style:n,className:L()(G,"".concat(G,"-").concat(E),o,(r={},(0,q.Z)(r,"".concat(G,"-open"),U),(0,q.Z)(r,"".concat(G,"-active"),ue),(0,q.Z)(r,"".concat(G,"-selected"),X),(0,q.Z)(r,"".concat(G,"-disabled"),Y),r)),onMouseEnter:ae,onMouseLeave:de}),De,!N&&a.createElement(Wg,{id:Me,open:U,keyPath:K},u));return F&&(Be=F(Be,t,{selected:X,active:ue,open:U,disabled:Y})),a.createElement(Ir,{onItemClick:Ee,mode:E==="horizontal"?"vertical":E,itemIcon:oe,expandIcon:J},Be)};function Io(e){var t=e.eventKey,r=e.children,n=Yn(t),o=Ua(r,n),i=So();a.useEffect(function(){if(i)return i.registerPath(t,n),function(){i.unregisterPath(t,n)}},[n]);var l;return i?l=o:l=a.createElement(Vg,e,o),a.createElement(ws.Provider,{value:n},l)}var Gg=["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"],Jn=[],Ug=a.forwardRef(function(e,t){var r,n,o=e,i=o.prefixCls,l=i===void 0?"rc-menu":i,s=o.rootClassName,c=o.style,d=o.className,u=o.tabIndex,f=u===void 0?0:u,m=o.items,p=o.children,g=o.direction,h=o.id,v=o.mode,y=v===void 0?"vertical":v,b=o.inlineCollapsed,C=o.disabled,x=o.disabledOverflow,S=o.subMenuOpenDelay,$=S===void 0?.1:S,w=o.subMenuCloseDelay,P=w===void 0?.1:w,E=o.forceSubMenuRender,I=o.defaultOpenKeys,M=o.openKeys,N=o.activeKey,O=o.defaultActiveFirst,T=o.selectable,z=T===void 0?!0:T,D=o.multiple,R=D===void 0?!1:D,_=o.defaultSelectedKeys,k=o.selectedKeys,A=o.onSelect,F=o.onDeselect,Z=o.inlineIndent,j=Z===void 0?24:Z,K=o.motion,G=o.defaultMotions,Y=o.triggerSubMenuAction,W=Y===void 0?"hover":Y,ee=o.builtinPlacements,oe=o.itemIcon,J=o.expandIcon,re=o.overflowedIndicator,U=re===void 0?"...":re,X=o.overflowedIndicatorPopupClassName,te=o.getPopupContainer,H=o.onClick,V=o.onOpenChange,ne=o.onKeyDown,ce=o.openAnimation,le=o.openTransitionName,ge=o._internalRenderMenuItem,Se=o._internalRenderSubMenuItem,ae=(0,ot.Z)(o,Gg),de=a.useMemo(function(){return Ag(p,m,Jn)},[p,m]),ue=a.useState(!1),we=(0,ie.Z)(ue,2),me=we[0],Ee=we[1],Ce=a.useRef(),Ie=Og(h),Me=g==="rtl",De=(0,pt.Z)(I,{value:M,postState:function(Le){return Le||Jn}}),fe=(0,ie.Z)(De,2),ve=fe[0],Be=fe[1],Re=function(Le){var _e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function mt(){Be(Le),V==null||V(Le)}_e?(0,yo.flushSync)(mt):mt()},je=a.useState(ve),Ge=(0,ie.Z)(je,2),tt=Ge[0],Xe=Ge[1],se=a.useRef(!1),ye=a.useMemo(function(){return(y==="inline"||y==="vertical")&&b?["vertical",b]:[y,!1]},[y,b]),Te=(0,ie.Z)(ye,2),be=Te[0],Ze=Te[1],ke=be==="inline",nt=a.useState(be),dt=(0,ie.Z)(nt,2),ze=dt[0],Ne=dt[1],He=a.useState(Ze),rt=(0,ie.Z)(He,2),xt=rt[0],ft=rt[1];a.useEffect(function(){Ne(be),ft(Ze),se.current&&(ke?Be(tt):Re(Jn))},[be,Ze]);var ht=a.useState(0),st=(0,ie.Z)(ht,2),Je=st[0],Fe=st[1],it=Je>=de.length-1||ze!=="horizontal"||x;a.useEffect(function(){ke&&Xe(ve)},[ve]),a.useEffect(function(){return se.current=!0,function(){se.current=!1}},[]);var Pe=Ig(),Ue=Pe.registerPath,qe=Pe.unregisterPath,at=Pe.refreshOverflowKeys,We=Pe.isSubPathKey,Ae=Pe.getKeyPath,Ke=Pe.getKeys,Ye=Pe.getSubPathKeys,ut=a.useMemo(function(){return{registerPath:Ue,unregisterPath:qe}},[Ue,qe]),yt=a.useMemo(function(){return{isSubPathKey:We}},[We]);a.useEffect(function(){at(it?Jn:de.slice(Je+1).map(function(Ct){return Ct.key}))},[Je,it]);var Gt=(0,pt.Z)(N||O&&((r=de[0])===null||r===void 0?void 0:r.key),{value:N}),cn=(0,ie.Z)(Gt,2),zt=cn[0],Ut=cn[1],bn=Qn(function(Ct){Ut(Ct)}),Rt=Qn(function(){Ut(void 0)});(0,a.useImperativeHandle)(t,function(){return{list:Ce.current,focus:function(Le){var _e,mt=zt!=null?zt:(_e=de.find(function(io){return!io.props.disabled}))===null||_e===void 0?void 0:_e.key;if(mt){var $t,Lt,Mn;($t=Ce.current)===null||$t===void 0||(Lt=$t.querySelector("li[data-menu-id='".concat(Fa(Ie,mt),"']")))===null||Lt===void 0||(Mn=Lt.focus)===null||Mn===void 0||Mn.call(Lt,Le)}}}});var Bt=(0,pt.Z)(_||[],{value:k,postState:function(Le){return Array.isArray(Le)?Le:Le==null?Jn:[Le]}}),Sr=(0,ie.Z)(Bt,2),xr=Sr[0],Oa=Sr[1],Na=function(Le){if(z){var _e=Le.key,mt=xr.includes(_e),$t;R?mt?$t=xr.filter(function(Mn){return Mn!==_e}):$t=[].concat((0,pe.Z)(xr),[_e]):$t=[_e],Oa($t);var Lt=(0,B.Z)((0,B.Z)({},Le),{},{selectedKeys:$t});mt?F==null||F(Lt):A==null||A(Lt)}!R&&ve.length&&ze!=="inline"&&Re(Jn)},Ma=Qn(function(Ct){H==null||H(wo(Ct)),Na(Ct)}),ro=Qn(function(Ct,Le){var _e=ve.filter(function($t){return $t!==Ct});if(Le)_e.push(Ct);else if(ze!=="inline"){var mt=Ye(Ct);_e=_e.filter(function($t){return!mt.has($t)})}(0,Rn.Z)(ve,_e,!0)||Re(_e,!0)}),Hl=Qn(te),Ta=function(Le,_e){var mt=_e!=null?_e:!ve.includes(Le);ro(Le,mt)},oo=$g(ze,zt,Me,Ie,Ce,Ke,Ae,Ut,Ta,ne);a.useEffect(function(){Ee(!0)},[]);var Ra=a.useMemo(function(){return{_internalRenderMenuItem:ge,_internalRenderSubMenuItem:Se}},[ge,Se]),ao=ze!=="horizontal"||x?de:de.map(function(Ct,Le){return a.createElement(Ir,{key:Ct.key,overflowDisabled:Le>Je},Ct)}),Za=a.createElement(Er.Z,(0,$e.Z)({id:h,ref:Ce,prefixCls:"".concat(l,"-overflow"),component:"ul",itemComponent:Zn,className:L()(l,"".concat(l,"-root"),"".concat(l,"-").concat(ze),d,(n={},(0,q.Z)(n,"".concat(l,"-inline-collapsed"),xt),(0,q.Z)(n,"".concat(l,"-rtl"),Me),n),s),dir:g,style:c,role:"menu",tabIndex:f,data:ao,renderRawItem:function(Le){return Le},renderRawRest:function(Le){var _e=Le.length,mt=_e?de.slice(-_e):null;return a.createElement(Io,{eventKey:Ga,title:U,disabled:it,internalPopupClose:_e===0,popupClassName:X},mt)},maxCount:ze!=="horizontal"||x?Er.Z.INVALIDATE:Er.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Le){Fe(Le)},onKeyDown:oo},ae));return a.createElement(_a.Provider,{value:Ra},a.createElement(Ss.Provider,{value:Ie},a.createElement(Ir,{prefixCls:l,rootClassName:s,mode:ze,openKeys:ve,rtl:Me,disabled:C,motion:me?K:null,defaultMotions:me?G:null,activeKey:zt,onActive:bn,onInactive:Rt,selectedKeys:xr,inlineIndent:j,subMenuOpenDelay:$,subMenuCloseDelay:P,forceSubMenuRender:E,builtinPlacements:ee,triggerSubMenuAction:W,getPopupContainer:Hl,itemIcon:oe,expandIcon:J,onItemClick:Ma,onOpenChange:ro},a.createElement(Es.Provider,{value:yt},Za),a.createElement("div",{style:{display:"none"},"aria-hidden":!0},a.createElement($s.Provider,{value:ut},de)))))}),Yg=Ug,Qg=["className","title","eventKey","children"],Jg=["children"],qg=function(t){var r=t.className,n=t.title,o=t.eventKey,i=t.children,l=(0,ot.Z)(t,Qg),s=a.useContext(Yt),c=s.prefixCls,d="".concat(c,"-item-group");return a.createElement("li",(0,$e.Z)({role:"presentation"},l,{onClick:function(f){return f.stopPropagation()},className:L()(d,r)}),a.createElement("div",{role:"presentation",className:"".concat(d,"-title"),title:typeof n=="string"?n:void 0},n),a.createElement("ul",{role:"group",className:"".concat(d,"-list")},i))};function Po(e){var t=e.children,r=(0,ot.Z)(e,Jg),n=Yn(r.eventKey),o=Ua(t,n),i=So();return i?o:a.createElement(qg,(0,ct.Z)(r,["warnKey"]),o)}function Qa(e){var t=e.className,r=e.style,n=a.useContext(Yt),o=n.prefixCls,i=So();return i?null:a.createElement("li",{className:L()("".concat(o,"-item-divider"),t),style:r})}var Nr=Yg;Nr.Item=Zn,Nr.SubMenu=Io,Nr.ItemGroup=Po,Nr.Divider=Qa;var Ja=Nr,Ln=Q(47737),qa=Q(66968),St=Q(59389),wt=Q(99590),Oo=Q(36879),ln=Q(58281),qn=Q(54271),e0=e=>{const{componentCls:t,motionDurationSlow:r,menuHorizontalHeight:n,colorSplit:o,lineWidth:i,lineType:l,menuItemPaddingInline:s}=e;return{[`${t}-horizontal`]:{lineHeight:`${n}px`,border:0,borderBottom:`${i}px ${l} ${o}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:s},[`> ${t}-item:hover, > ${t}-item-active, > ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${t}-item, ${t}-submenu-title`]:{transition:[`border-color ${r}`,`background ${r}`].join(",")},[`${t}-submenu-arrow`]:{display:"none"}}}},t0=e=>{let{componentCls:t,menuArrowOffset:r}=e;return{[`${t}-rtl`]:{direction:"rtl"},[`${t}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${t}-rtl${t}-vertical, ${t}-submenu-rtl ${t}-vertical`]:{[`${t}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${r})`},"&::after":{transform:`rotate(45deg) translateY(${r})`}}}}};const As=e=>Object.assign({},(0,xe.oN)(e));var ks=(e,t)=>{const{componentCls:r,colorItemText:n,colorItemTextSelected:o,colorGroupTitle:i,colorItemBg:l,colorSubItemBg:s,colorItemBgSelected:c,colorActiveBarHeight:d,colorActiveBarWidth:u,colorActiveBarBorderSize:f,motionDurationSlow:m,motionEaseInOut:p,motionEaseOut:g,menuItemPaddingInline:h,motionDurationMid:v,colorItemTextHover:y,lineType:b,colorSplit:C,colorItemTextDisabled:x,colorDangerItemText:S,colorDangerItemTextHover:$,colorDangerItemTextSelected:w,colorDangerItemBgActive:P,colorDangerItemBgSelected:E,colorItemBgHover:I,menuSubMenuBg:M,colorItemTextSelectedHorizontal:N,colorItemBgSelectedHorizontal:O}=e;return{[`${r}-${t}`]:{color:n,background:l,[`&${r}-root:focus-visible`]:Object.assign({},As(e)),[`${r}-item-group-title`]:{color:i},[`${r}-submenu-selected`]:{[`> ${r}-submenu-title`]:{color:o}},[`${r}-item-disabled, ${r}-submenu-disabled`]:{color:`${x} !important`},[`${r}-item:hover, ${r}-submenu-title:hover`]:{[`&:not(${r}-item-selected):not(${r}-submenu-selected)`]:{color:y}},[`&:not(${r}-horizontal)`]:{[`${r}-item:not(${r}-item-selected)`]:{"&:hover":{backgroundColor:I},"&:active":{backgroundColor:c}},[`${r}-submenu-title`]:{"&:hover":{backgroundColor:I},"&:active":{backgroundColor:c}}},[`${r}-item-danger`]:{color:S,[`&${r}-item:hover`]:{[`&:not(${r}-item-selected):not(${r}-submenu-selected)`]:{color:$}},[`&${r}-item:active`]:{background:P}},[`${r}-item a`]:{"&, &:hover":{color:"inherit"}},[`${r}-item-selected`]:{color:o,[`&${r}-item-danger`]:{color:w},["a, a:hover"]:{color:"inherit"}},[`& ${r}-item-selected`]:{backgroundColor:c,[`&${r}-item-danger`]:{backgroundColor:E}},[`${r}-item, ${r}-submenu-title`]:{[`&:not(${r}-item-disabled):focus-visible`]:Object.assign({},As(e))},[`&${r}-submenu > ${r}`]:{backgroundColor:M},[`&${r}-popup > ${r}`]:{backgroundColor:l},[`&${r}-horizontal`]:Object.assign(Object.assign({},t==="dark"?{borderBottom:0}:{}),{[`> ${r}-item, > ${r}-submenu`]:{top:f,marginTop:-f,marginBottom:0,borderRadius:0,"&::after":{position:"absolute",insetInline:h,bottom:0,borderBottom:`${d}px solid transparent`,transition:`border-color ${m} ${p}`,content:'""'},["&:hover, &-active, &-open"]:{"&::after":{borderBottomWidth:d,borderBottomColor:N}},["&-selected"]:{color:N,backgroundColor:O,"&::after":{borderBottomWidth:d,borderBottomColor:N}}}}),[`&${r}-root`]:{[`&${r}-inline, &${r}-vertical`]:{borderInlineEnd:`${f}px ${b} ${C}`}},[`&${r}-inline`]:{[`${r}-sub${r}-inline`]:{background:s},[`${r}-item, ${r}-submenu-title`]:f&&u?{width:`calc(100% + ${f}px)`}:{},[`${r}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${u}px solid ${o}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${v} ${g}`,`opacity ${v} ${g}`].join(","),content:'""'},[`&${r}-item-danger`]:{"&::after":{borderInlineEndColor:w}}},[`${r}-selected, ${r}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${v} ${p}`,`opacity ${v} ${p}`].join(",")}}}}}};const Hs=e=>{const{componentCls:t,menuItemHeight:r,itemMarginInline:n,padding:o,menuArrowSize:i,marginXS:l,marginXXS:s}=e,c=o+i+l;return{[`${t}-item`]:{position:"relative"},[`${t}-item, ${t}-submenu-title`]:{height:r,lineHeight:`${r}px`,paddingInline:o,overflow:"hidden",textOverflow:"ellipsis",marginInline:n,marginBlock:s,width:`calc(100% - ${n*2}px)`},[`${t}-submenu`]:{paddingBottom:.02},[`> ${t}-item, diff --git a/8683.373f6604.async.js b/8683.373f6604.async.js deleted file mode 100644 index 60a23a0..0000000 --- a/8683.373f6604.async.js +++ /dev/null @@ -1,72 +0,0 @@ -(self.webpackChunkroot=self.webpackChunkroot||[]).push([[8683,7347],{67347:function(B,J,t){"use strict";t.r(J),t.d(J,{RendererDistributor:function(){return Ce.Z},RendererExecutor:function(){return re.Z},RendererIterator:function(){return o.Z},default:function(){return pe},useCoreValue:function(){return Y},useDebounceFn:function(){return Ae.Z},useForceUpdate:function(){return _},useLatest:function(){return he.Z},useMemoizedFn:function(){return W.Z},useUnmount:function(){return Le.Z},utils:function(){return Q}});var Q={};t.r(Q),t.d(Q,{classNames:function(){return ie.Z},classNamesWithPrefix:function(){return Z.Rk},cloneDeep:function(){return P.Xh},debounce:function(){return P.Ds},dropRight:function(){return P.j7},find:function(){return P.sE},get:function(){return P.U2},isArray:function(){return m.kJ},isBoolean:function(){return m.jn},isFunction:function(){return m.mf},isMatch:function(){return P.BD},isNil:function(){return m.kK},isNull:function(){return m.Ft},isNumber:function(){return m.hj},isObject:function(){return m.Kn},isPlainObject:function(){return m.PO},isString:function(){return m.HD},isUndefined:function(){return m.o8},logger:function(){return Me.Z},mapKeys:function(){return P.Cw},omit:function(){return P.CE},pick:function(){return P.ei},positionedOffset:function(){return ce},set:function(){return P.t8},templateCompiled:function(){return Z.dr},toLower:function(){return P.t$},traverseSchema:function(){return Ie.Z},typeChecking:function(){return m.DN}});var s=t(57213),y=t.n(s),S=t(50959),q=t(7811),Z=t(98445),m=t(32766),ne=t(92139),P=t(46373),Oe=t(54306),C=t.n(Oe);function _(){var h=(0,S.useReducer)(function(N){return N+1},0),R=C()(h,2),d=R[0],T=R[1];return{forceUpdate:T}}var W=t(88182),Ne=function(){var R=(0,S.useRef)(!1);return(0,S.useEffect)(function(){return R.current=!1,function(){R.current=!0}},[]),R},ue=Ne;function Y(h){var R,d=(0,S.useRef)((R=h.defaultValue)!==null&&R!==void 0?R:{}),T=ue(),N=_(),A=N.forceUpdate,g=(0,Z.nr)(h,"value");if(g){var $;d.current=($=h.value)!==null&&$!==void 0?$:{}}var G=(0,W.Z)(function(j,O){if(!T.current){var k,K,X,ae=(0,ne.P)(O.path),fe=y()(y()({},O),{},{sPath:ae}),je=(k=h.watch)===null||k===void 0?void 0:k[ae];(0,m.mf)(je)&&je(j,fe),d.current=j,g||A(),(K=h.onItemChange)===null||K===void 0||K.call(h,fe),(X=h.onChange)===null||X===void 0||X.call(h,j,fe)}}),H=(0,W.Z)(function(j){var O=(0,P.t8)(y()({},d.current),j.path,j.value);G(O,j)}),U=(0,W.Z)(function(){return d.current}),z=(0,W.Z)(function(j){G(j,{path:[],value:void 0})}),L=(0,W.Z)(function(){z({})});return{value:d.current,valueRef:d,onChange:H,getValue:U,setValue:z,resetValue:L}}var se=t(85191),me=["320px","1fr"];function Fe(h){var R=h.layout,d=h.layoutMinMax,T=h.layoutColumnGap,N=h.layoutRowGap,A=d==null?void 0:d[0],g=d==null?void 0:d[1],$=(0,S.useMemo)(function(){if(R===se.SY.normal)return"repeat(24, 1fr)";var H=R===se.SY.autoFill?"auto-fill":"auto-fit",U=(0,ne.e)(A!=null?A:me[0]),z=(0,ne.e)(g!=null?g:me[1]);return"repeat(".concat(H,", minmax(").concat(U,", ").concat(z,"))")},[R,A,g]),G={display:"grid",gridTemplateColumns:$,columnGap:T,rowGap:N};return G}function ce(h,R){if(!h||!R)return{left:0,top:0};for(var d=0,T=0,N=h;N&&N!==R;)d+=N.offsetLeft,T+=N.offsetTop,N=N.offsetParent;return{left:d,top:T}}var ge=t(94430);function be(h,R){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(h){var T=d.positionedElement,N=d.xAxis,A=d.yAxis,g=d.behavior,$=g===void 0?"smooth":g,G=d.gap,H=G===void 0?0:G,U=T||R;if(U){var z=ce(h,U);U.scrollTo({left:N===!1?void 0:z.left+H,top:A===!1?void 0:z.top+H,behavior:$})}}}function Ze(h){var R=h.ref,d=h.rootElementRef,T=h.rootContextRef,N=h.getValue,A=h.setValue,g=h.resetValue,$=(0,W.Z)(function(){return(0,ge.Ze)((0,P.ei)(T.current,"rootSchema","rootValue","locale","disabled","readonly","renderers","rendererStorage","validators","userCtx"))}),G=(0,W.Z)(function(L){var j,O=(j=T.current)===null||j===void 0?void 0:j.rendererStorage;if(O&&L){var k=(0,m.kJ)(L)?(0,ne.P)(L):L;return O[k]}}),H=(0,W.Z)(function(L){var j,O=(j=T.current)===null||j===void 0?void 0:j.rendererStorage;if(O){var k=L?(0,m.HD)(L)?[L]:L:Object.keys(O);k.forEach(function(K){var X;(X=O[K])===null||X===void 0||X.setValidatorState({status:se.r6.success})})}}),U=(0,W.Z)(function(){return d.current}),z=(0,W.Z)(function(L,j){var O;return be((O=G(L))===null||O===void 0?void 0:O.getRootElement(),U(),j)});(0,S.useImperativeHandle)(R,function(){return{validate:$,resetError:H,setValue:A,resetValue:g,getValue:N,getRootElement:U,scrollTo:z,findItem:G}},[])}var ye=t(15565),ve=t(73561),o=t(75892),Re=t(6647),ie=t(68362),de=t(11527),Te={prefixCls:"schema-render",layout:"normal",layoutColumnGap:10,layoutRowGap:15,layoutMinMax:me,disabled:!1,readonly:!1,validators:{},userCtx:{}},xe=(0,S.forwardRef)(function(h,R){Re.Z.falsy(h.schema,"missing schema."),Re.Z.falsy(h.itemLayout,"missing itemLayout.");var d=y()(y()({},Te),h),T=(0,S.useRef)(null),N=(0,S.useRef)({}),A=Y(d),g=A.value,$=A.onChange,G=A.getValue,H=A.setValue,U=A.resetValue,z=(0,S.useMemo)(function(){return y()(y()({},ye.Z),d.locale)},[d.locale]),L=(0,S.useMemo)(function(){return(0,P.Cw)(d.renderers,function(k,K){return K.toLowerCase()})},[d.renderers]),j=Fe(d),O=N.current=y()(y()({},(0,P.ei)(d,"disabled","readonly","prefixCls","layout","itemLayout","userCtx","validators","catchErrorTips")),{},{objectStyle:j,renderers:L,rootSchema:d.schema,rootValue:g,locale:z,rendererStorage:{},onChange:$,prefixClassNames:function(){for(var K=arguments.length,X=new Array(K),ae=0;ae0;if(!D)return null;var F=s()(s()({},de),c);return(0,o.jsx)(Ne.Z,s()(s()({size:f},n),{},{children:i.map(function(I){var x={locale:b,disabled:r,loading:u};I===Y.submit?x.handleSubmit=v:I===Y.reset&&(x.handleReset=p);var V=F[I];return V?(0,o.jsx)(m.Fragment,{children:V==null?void 0:V(x)},I):null})}))},xe=Te,De=t(25359),oe=t.n(De),Ae=t(49811),he=t.n(Ae),Le=t(54306),Ce=t.n(Le),re=t(88182),Me=t(72151);function Ie(l){var e=l.props,r=l.coreRef,n=(0,m.useState)(Fe),a=Ce()(n,2),i=a[0],u=a[1],c=(0,re.Z)(function(){var b=he()(oe()().mark(function D(F,I){return oe()().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:return u(function(E){return s()(s()({},E),{},C()({},F,!0))}),V.next=3,I().catch(function(E){Me.Z.warn(E)});case 3:u(function(E){return s()(s()({},E),{},C()({},F,!1))});case 4:case"end":return V.stop()}},D)}));return function(D,F){return b.apply(this,arguments)}}()),p=(0,re.Z)(function(){c(Y.submit,he()(oe()().mark(function b(){var D,F;return oe()().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:if(r.current){x.next=2;break}return x.abrupt("return");case 2:if(!e.validateFormOnSubmit){x.next=8;break}return x.next=5,r.current.validate();case 5:if(F=x.sent,!(F.hasError||F.hasWarning)){x.next=8;break}return x.abrupt("return");case 8:return x.next=10,(D=e.onSubmit)===null||D===void 0?void 0:D.call(e,r.current.getValue());case 10:case"end":return x.stop()}},b)})))}),v=(0,re.Z)(function(b){b.preventDefault(),p()}),f=(0,re.Z)(function(){c(Y.reset,he()(oe()().mark(function b(){var D,F,I,x;return oe()().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:if(r.current){E.next=2;break}return E.abrupt("return");case 2:return E.next=4,(D=e.onBeforeReset)===null||D===void 0?void 0:D.call(e,r.current.getValue());case 4:return I=E.sent,x=s()({},I),r.current.setValue(x),r.current.resetError(),E.next=10,(F=e.onReset)===null||F===void 0?void 0:F.call(e,x);case 10:case"end":return E.stop()}},b)})))});return{handleFormSubmit:v,handleSubmit:p,handleReset:f,actionsLoading:i,isLoading:i.submit||i.reset}}var pe=t(29752),h=t(98563),R=t(92935),d=t.n(R),T=t(77487),N=Math.random().toString(36).substring(7).replace(/\d/g,"x"),A=(0,T.Z)({key:"schema-render-".concat(N)}),g=A.css,$,G,H,U,z,L,j,O,k,K,X=g($||($=d()([` - display: flex; - align-items: center; -`]))),ae=g(G||(G=d()([` - flex: 0 0 100px; - justify-content: flex-end; - display: flex; - align-items: center; - margin-right: 15px; - height: max-content; -`]))),fe=g(H||(H=d()([` - word-break: break-all; -`]))),je=g(U||(U=d()([` - margin-right: 4px; - color: var(--schema-render-color-required-mark); - position: relative; - top: 2px; -`]))),we=g(z||(z=d()([` - margin-left: 4px; - position: relative; - top: 1px; -`]))),Qe=g(L||(L=d()([` - flex-grow: 1; -`]))),qe=g(j||(j=d()([` - word-break: break-all; - padding-left: 115px; - - &:empty { - display: none; - } -`]))),_e=g(O||(O=d()([` - margin-top: 6px; - color: var(--schema-render-color-description); -`]))),er=g(k||(k=d()([` - margin-top: 6px; - color: var(--schema-render-color-error); -`]))),rr=g(K||(K=d()([` - color: var(--schema-render-color-warning); -`]))),w=S.Z,nr=function(e){var r=e.schema,n=e.required,a=e.prefixClassNames,i=e.labelColon,u=!!i;return(0,o.jsxs)(o.Fragment,{children:[n&&(0,o.jsx)("span",{className:w(a("item-mark"),je),children:"*"}),(0,o.jsx)("span",{className:w(a("item-title"),fe),children:r.title}),!!r.titleDescription&&(0,o.jsx)(h.Z,{placement:"top",trigger:"hover",content:r.titleDescription,children:(0,o.jsx)(pe.Z,{className:w(a("item-title-tooltip"),we),style:{marginRight:u?4:void 0}})}),u&&(0,o.jsx)("span",{className:w(a("item-colon")),children:i})]})},ar=function(e){var r=e.body,n=e.schema,a=e.validator,i=e.required,u=e.disabled,c=e.readonly,p=e.userCtx,v=e.prefixClassNames,f=ve(),b=f.labelWidth,D=f.labelColon,F=f.labelGap,I=f.labelRender,x=f.locale,V=I||nr,E={schema:n,required:i,disabled:u,readonly:c,userCtx:p,prefixClassNames:v,labelWidth:b,labelColon:D,labelGap:F,locale:x};return(0,o.jsxs)("div",{className:w(v("item-layout-horizontal")),children:[(0,o.jsxs)("div",{className:w(v("item-main"),X),children:[(0,o.jsx)("div",{className:w(v("item-header"),ae),style:{flexBasis:b,marginRight:F},children:V(E)}),(0,o.jsx)("div",{className:w(v("item-body"),Qe),children:r})]}),(0,o.jsxs)("div",{className:w(v("item-footer"),qe),style:{paddingLeft:_.hj(b)?b+F:0},children:[a.status==="error"&&!!a.message&&(0,o.jsx)("div",{className:w(v("item-error-msg"),er),children:a.message}),a.status==="warning"&&!!a.message&&(0,o.jsx)("div",{className:w(v("item-warning-msg"),rr),children:a.message}),!!n.description&&(0,o.jsx)("div",{className:w(v("item-description"),_e),children:n.description})]})]})},tr=ar,Pe,Ve,Ge,Ue,We,$e,ze,Be,or=g(Pe||(Pe=d()([` - margin-bottom: 8px; -`]))),lr=g(Ve||(Ve=d()([` - word-break: break-all; -`]))),sr=g(Ge||(Ge=d()([` - margin-right: 4px; - color: var(--schema-render-color-required-mark); - position: relative; - top: 2px; -`]))),ir=g(Ue||(Ue=d()([` - margin-left: 4px; -`]))),dr=g(We||(We=d()([` - word-break: break-all; - - &:empty { - display: none; - } -`]))),ur=g($e||($e=d()([` - margin-top: 8px; - color: var(--schema-render-color-description); -`]))),cr=g(ze||(ze=d()([` - margin-top: 8px; - color: var(--schema-render-color-error); -`]))),vr=g(Be||(Be=d()([` - color: var(--schema-render-color-warning); -`]))),te=S.Z,mr=function(e){var r=e.schema,n=e.required,a=e.prefixClassNames,i=e.labelColon,u=!!i;return(0,o.jsxs)(o.Fragment,{children:[n&&(0,o.jsx)("span",{className:te(a("item-mark"),sr),children:"*"}),(0,o.jsx)("span",{className:te(a("item-title"),lr),children:r.title}),!!r.titleDescription&&(0,o.jsx)(h.Z,{placement:"top",trigger:"hover",content:r.titleDescription,children:(0,o.jsx)(pe.Z,{className:te(a("item-title-tooltip"),ir),style:{marginRight:u?4:void 0}})}),u&&(0,o.jsx)("span",{className:te(a("item-colon")),children:i})]})},hr=function(e){var r=e.body,n=e.schema,a=e.validator,i=e.required,u=e.disabled,c=e.readonly,p=e.userCtx,v=e.prefixClassNames,f=ve(),b=f.labelWidth,D=f.labelColon,F=f.labelGap,I=f.labelRender,x=f.locale,V=I||mr,E={schema:n,required:i,disabled:u,readonly:c,userCtx:p,prefixClassNames:v,labelWidth:b,labelColon:D,labelGap:F,locale:x};return(0,o.jsxs)("div",{className:v("item-layout-vertical"),children:[(0,o.jsx)("div",{className:te(v("item-header"),or),children:V(E)}),(0,o.jsx)("div",{className:v("item-body"),children:r}),(0,o.jsxs)("div",{className:te(v("item-footer"),dr),children:[a.status==="error"&&!!a.message&&(0,o.jsx)("div",{className:te(v("item-error-msg"),cr),children:a.message}),a.status==="warning"&&!!a.message&&(0,o.jsx)("div",{className:te(v("item-warning-msg"),vr),children:a.message}),!!n.description&&(0,o.jsx)("div",{className:te(v("item-description"),ur),children:n.description})]})]})},pr=hr;function fr(l){var e=l.itemLayout,r=(0,m.useMemo)(function(){return!e||e==="horizontal"?tr:e==="vertical"?pr:e},[e]);return r}function gr(l,e){var r="".concat(ce,"_").concat(Date.now());return s()(s()({},l),{},{properties:s()(s()({},l==null?void 0:l.properties),{},C()({},r,s()(s()({},e),{},{renderType:ce})))})}function br(l){var e=l.itemLayout,r=l.labelWidth,n=l.labelGap;return e==="horizontal"&&_.hj(r)?r+n:0}function Se(l,e){var r=[];return _.kJ(e)&&_.kJ(l)&&e.forEach(function(n){if(!_.kK(n)){var a=y.sE(l,{value:n});a&&r.push(a.label)}}),r}function yr(l){return!!(_.kK(l)||l==="")}function Rr(l){var e=l.schema,r=l.actionsRestSchema,n=l.actionsRenderMode;return(0,m.useMemo)(function(){return n===se.normal?e:gr(e,r)},[e,r,n])}var Ye,xr=g(Ye||(Ye=d()([` - --schema-render-color-description: #999; - --schema-render-color-required-mark: #ff4d4f; - --schema-render-color-warning: #faad14; - --schema-render-color-error: #ff4d4f; - - font-size: 16px; - font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,'Noto Sans',sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol','Noto Color Emoji'; -`]))),Cr=t(87793),jr=t(27768),Sr=function(e){var r=e.children,n=ve(),a=n.readonlyPlaceholder;return(0,o.jsx)(o.Fragment,{children:yr(r)?a:r})},ee=Sr,Or=function(e){var r=e.schema,n=e.disabled,a=e.value,i=e.onChange;return(0,o.jsx)(jr.Z.Group,s()(s()({},r.renderOptions),{},{value:a,onChange:i,disabled:n}))},Nr=function(e){var r,n=e.schema,a=e.value,i=e.locale,u=Se((r=n.renderOptions)===null||r===void 0?void 0:r.options,a);return(0,o.jsx)(ee,{children:u.join(i.FormRender.comma)})},Fr={component:Or,readonlyComponent:Nr},He=t(72028),Zr=t(67006),le=t.n(Zr),Tr=function(e){var r=e.schema,n=e.value,a=e.onChange,i=e.disabled,u=e.locale,c=e.validator,p=(0,m.useMemo)(function(){return Z.dr(u.FormRender.placeholderSelect,{title:r.title})},[r.title,u.FormRender.placeholderSelect]);return(0,o.jsx)(He.Z,s()(s()({allowClear:!0,placeholder:p,style:{width:"100%"}},r.renderOptions),{},{status:c.status,value:n?le()(n):null,onChange:function(f){return a(f?le()(f).toISOString():void 0)},disabled:i}))},Dr=function(e){var r,n,a=e.schema,i=e.value;return(0,o.jsx)(ee,{children:i?le()(i).format(((r=a.renderOptions)===null||r===void 0?void 0:r.format)||((n=a.renderOptions)!==null&&n!==void 0&&n.showTime?be:ge)):""})},Ar={component:Tr,readonlyComponent:Dr};function Ke(l){return le()(l).toISOString()}var Lr=function(e){var r=e.schema,n=e.value,a=e.onChange,i=e.disabled,u=e.validator;return(0,o.jsx)(He.Z.RangePicker,s()(s()({allowClear:!0,style:{width:"100%"}},r.renderOptions),{},{status:u.status,value:n?[le()(n[0]),le()(n[1])]:null,onChange:function(p){return a(p?[Ke(p[0]),Ke(p[1])]:void 0)},disabled:i}))},Mr=function(e){var r=e.schema,n=e.value,a=e.locale,i="";if(_.kJ(n)&&n[0]&&n[1]){var u,c,p=(u=r.renderOptions)!==null&&u!==void 0&&u.showTime?be:ge,v=((c=r.renderOptions)===null||c===void 0?void 0:c.format)||p;i=Z.dr(a.FormRender.displayDateRange,{start:le()(n[0]).format(v),end:le()(n[1]).format(v)})}return(0,o.jsx)(ee,{children:i})},Ir={component:Lr,readonlyComponent:Mr},Er=function(e){var r=e.value;return(0,o.jsx)(ee,{children:r})},Pr={component:Er},Vr=function(e){var r=e.disabled;return(0,o.jsx)(xe,{disabled:r})},Gr={formItem:Vr},Ur=t(74437),Wr=function(e){var r=e.schema,n=e.disabled,a=e.value,i=e.onChange,u=e.validator,c=e.locale,p=(0,m.useMemo)(function(){return Z.dr(c.FormRender.placeholderInput,{title:r.title})},[r.title,c.FormRender.placeholderInput]),v=(0,re.Z)(function(f){return i(f!=null?f:void 0)});return(0,o.jsx)(Ur.Z,s()(s()({style:{width:"100%"},placeholder:p},r.renderOptions),{},{status:u.status,value:a,onChange:v,disabled:n}))},$r=function(e){var r=e.value;return(0,o.jsx)(ee,{children:r})},zr={component:Wr,readonlyComponent:$r},Ee=t(82991),Br=function(e){var r=e.schema,n=e.disabled,a=e.value,i=e.onChange,u=e.validator,c=e.locale,p=(0,m.useMemo)(function(){return Z.dr(c.FormRender.placeholderInput,{title:r.title})},[r.title,c.FormRender.placeholderInput]),v=(0,re.Z)(function(f){var b=f.target.value;b!==a&&i(b)});return(0,o.jsx)(Ee.Z,s()(s()({placeholder:p},r.renderOptions),{},{status:u.status,value:a!=null?a:"",onChange:v,disabled:n}))},Yr=function(e){var r=e.value;return(0,o.jsx)(ee,{children:r})},Hr={component:Br,readonlyComponent:Yr},Je=t(75892),ke=t(26513),Kr=function(e){var r,n,a=e.schema,i=e.path,u=e.objectStyle,c=(0,m.useState)(!1),p=Ce()(c,2),v=p[0],f=p[1],b=(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("span",{children:a.title}),!!a.titleDescription&&(0,o.jsx)(h.Z,{placement:"top",trigger:"hover",content:a.titleDescription,children:(0,o.jsx)(pe.Z,{style:{marginLeft:4}})})]});return(0,o.jsx)(ke.Z,s()(s()({},(r=a.renderOptions)===null||r===void 0?void 0:r.headerOptions),{},{activeKey:String(v),onChange:function(){return f(!v)},children:(0,m.createElement)(ke.Z.Panel,s()(s()({},(n=a.renderOptions)===null||n===void 0?void 0:n.panelOptions),{},{header:b,key:"false"}),(0,o.jsx)("div",{style:u,children:(0,o.jsx)(Je.Z,{schema:a,path:i})}))}))},Jr={formItem:Kr},kr=function(e){var r=e.schema,n=e.path,a=e.objectStyle;return(0,o.jsx)("div",{style:a,children:(0,o.jsx)(Je.Z,{schema:r,path:n})})},Xr={formItem:kr},wr=function(e){var r=e.schema,n=e.disabled,a=e.value,i=e.onChange,u=e.validator,c=e.locale,p=(0,m.useMemo)(function(){return Z.dr(c.FormRender.placeholderInput,{title:r.title})},[r.title,c.FormRender.placeholderInput]),v=(0,re.Z)(function(f){var b=f.target.value;b!==a&&i(b)});return(0,o.jsx)(Ee.Z.Password,s()(s()({placeholder:p},r.renderOptions),{},{status:u.status,value:a!=null?a:"",onChange:v,disabled:n}))},Qr=function(e){var r=e.value;return(0,o.jsx)(ee,{children:r})},qr={component:wr,readonlyComponent:Qr},_r=t(10294),en=function(e){var r=e.schema,n=e.disabled,a=e.value,i=e.onChange;return(0,o.jsx)(_r.ZP.Group,s()(s()({},r.renderOptions),{},{value:a,onChange:function(c){return i(c.target.value)},disabled:n}))},rn=function(e){var r,n=e.schema,a=e.value,i=Se((r=n.renderOptions)===null||r===void 0?void 0:r.options,[a]);return(0,o.jsx)(ee,{children:i[0]})},nn={component:en,readonlyComponent:rn},an=t(64263),tn=function(e){var r=e.schema,n=e.disabled,a=e.readonly,i=e.value,u=e.onChange;return(0,o.jsx)(an.Z,s()(s()({},r.renderOptions),{},{value:i!=null?i:0,onChange:u,disabled:n||a}))},on={component:tn},Xe=t(61328),ln=function(e){var r=e.schema,n=e.disabled,a=e.value,i=e.onChange,u=e.locale,c=e.validator,p=(0,m.useMemo)(function(){return Z.dr(u.FormRender.placeholderSelect,{title:r.title})},[r.title,u.FormRender.placeholderSelect]);return(0,o.jsx)(Xe.Z,s()(s()({allowClear:!0,style:{width:"100%"},placeholder:p},r.renderOptions),{},{status:c.status,mode:void 0,value:a!=null?a:null,onChange:function(f){return i(f)},disabled:n}))},sn=function(e){var r,n,a=e.schema,i=e.value,u=e.locale,c=Se((r=a.renderOptions)===null||r===void 0?void 0:r.options,[i]);return(0,o.jsx)(ee,{children:c.join((n=u.FormRender)===null||n===void 0?void 0:n.comma)})},dn={component:ln,readonlyComponent:sn},un=function(e){var r=e.schema,n=e.disabled,a=e.value,i=e.onChange,u=e.validator,c=e.locale,p=(0,m.useMemo)(function(){return Z.dr(c.FormRender.placeholderSelect,{title:r.title})},[r.title,c.FormRender.placeholderSelect]);return(0,o.jsx)(Xe.Z,s()(s()({allowClear:!0,style:{width:"100%"},placeholder:p},r.renderOptions),{},{status:u.status,mode:"multiple",value:a,onChange:function(f){return i(f)},disabled:n}))},cn=function(e){var r,n,a=e.schema,i=e.value,u=e.locale,c=Se((r=a.renderOptions)===null||r===void 0?void 0:r.options,i);return(0,o.jsx)(ee,{children:c.join((n=u.FormRender)===null||n===void 0?void 0:n.comma)})},vn={component:un,readonlyComponent:cn},mn=t(10177),hn=function(e){var r=e.schema,n=e.disabled,a=e.readonly,i=e.value,u=e.onChange;return(0,o.jsx)(mn.Z,s()(s()({},r.renderOptions),{},{checked:i,onChange:function(p){return u(p)},disabled:n||a}))},pn={component:hn},fn=function(e){var r=e.schema,n=e.disabled,a=e.value,i=e.onChange,u=e.validator,c=e.locale,p=(0,m.useMemo)(function(){return Z.dr(c.FormRender.placeholderInput,{title:r.title})},[r.title,c.FormRender.placeholderInput]),v=(0,re.Z)(function(f){var b=f.target.value;b!==a&&i(b)});return(0,o.jsx)(Ee.Z.TextArea,s()(s()({rows:3,placeholder:p},r.renderOptions),{},{status:u.status,value:a!=null?a:"",onChange:v,disabled:n}))},gn=function(e){var r=e.value;return(0,o.jsx)(ee,{children:r})},bn={component:fn,readonlyComponent:gn},M,yn=(M={},C()(M,ce,Gr),C()(M,"Object",Jr),C()(M,"ObjectNull",Xr),C()(M,"InputText",Hr),C()(M,"InputNumber",zr),C()(M,"Password",qr),C()(M,"TextArea",bn),C()(M,"Radio",nn),C()(M,"Checkbox",Fr),C()(M,"Switch",pn),C()(M,"DatePicker",Ar),C()(M,"DateRangePicker",Ir),C()(M,"Description",Pr),C()(M,"Rate",on),C()(M,"Select",dn),C()(M,"SelectMultiple",vn),M),Rn=yn,xn=function(e,r){var n=s()(s()({},me),e),a=(0,m.useRef)(null);(0,m.useImperativeHandle)(r,function(){return a.current});var i=(0,m.useMemo)(function(){return s()(s()({},Rn),n.renderers)},[n.renderers]),u=(0,m.useMemo)(function(){return s()(s()({},Cr.Z),n.locale)},[n.locale]),c=fr(n),p=Ie({props:n,coreRef:a}),v=p.handleFormSubmit,f=p.handleSubmit,b=p.handleReset,D=p.actionsLoading,F=p.isLoading,I=Rr(y.ei(n,"schema","actionsRestSchema","actionsRenderMode")),x=s()(s()({},y.ei(n,"labelWidth","labelGap","labelColon","labelRender","layoutColumnGap","layoutRowGap","actions","registerActions","readonlyPlaceholder")),{},{locale:u,actionsLoading:D,handleSubmit:f,handleReset:b}),V=n.disableFormOnActionLoading?n.disabled||F:n.disabled;return(0,o.jsx)(ye.Provider,{value:x,children:(0,o.jsxs)("form",{onSubmit:v,className:S.Z(n.rootClassName,xr),style:n.rootStyle,children:[(0,o.jsx)(q.default,s()(s()({},n),{},{ref:a,schema:I,locale:u,renderers:i,itemLayout:c,disabled:V})),n.actionsRenderMode===se.normal&&(0,o.jsx)(xe,{disabled:V,className:Z.Rk(n.prefixCls,"form-actions"),style:{marginTop:n.layoutRowGap,marginLeft:br(n)}})]})})},Cn=(0,m.forwardRef)(xn),jn=Cn},87793:function(B,J,t){"use strict";var Q=t(57213),s=t.n(Q),y=t(15565);J.Z=s()(s()({},y.Z),{},{FormRender:{submit:"\u63D0\u4EA4",reset:"\u91CD\u7F6E",placeholderInput:"\u8BF7\u8F93\u5165${title}",placeholderSelect:"\u8BF7\u9009\u62E9${title}",comma:"\uFF0C",displayDateRange:"${start} \u81F3 ${end}"}})},12342:function(B,J,t){var Q=t(20006);function s(y,S){if(y==null)return{};var q=Q(y,S),Z,m;if(Object.getOwnPropertySymbols){var ne=Object.getOwnPropertySymbols(y);for(m=0;m=0)&&Object.prototype.propertyIsEnumerable.call(y,Z)&&(q[Z]=y[Z])}return q}B.exports=s,B.exports.__esModule=!0,B.exports.default=B.exports},20006:function(B){function J(t,Q){if(t==null)return{};var s={},y=Object.keys(t),S,q;for(q=0;q=0)&&(s[S]=t[S]);return s}B.exports=J,B.exports.__esModule=!0,B.exports.default=B.exports}}]); diff --git a/9435.57ccfcb7.async.js b/9435.57ccfcb7.async.js deleted file mode 100644 index 758bfac..0000000 --- a/9435.57ccfcb7.async.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict";(self.webpackChunkroot=self.webpackChunkroot||[]).push([[9435],{29752:function(I,E,t){t.d(E,{Z:function(){return f}});var n=t(49919),s=t(50959),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{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"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},C=c,d=t(11875),g=function(y,p){return s.createElement(d.Z,(0,n.Z)((0,n.Z)({},y),{},{ref:p,icon:C}))};g.displayName="QuestionCircleOutlined";var f=s.forwardRef(g)},91339:function(I,E,t){t.d(E,{o2:function(){return d},yT:function(){return g}});var n=t(74758),s=t(12816);const c=s.i.map(f=>`${f}-inverse`),C=["success","processing","error","default","warning"];function d(f){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,n.Z)(c),(0,n.Z)(s.i)).includes(f):s.i.includes(f)}function g(f){return C.includes(f)}},81451:function(I,E,t){t.d(E,{Z:function(){return n}});const n=s=>s?typeof s=="function"?s():s:null},60275:function(I,E,t){t.d(E,{Z:function(){return g}});var n=t(73053);const s={adjustX:1,adjustY:1},c={adjustX:0,adjustY:0},C=[0,0];function d(f){return typeof f=="boolean"?f?s:c:Object.assign(Object.assign({},c),f)}function g(f){const{arrowWidth:r=4,horizontalArrowShift:y=16,verticalArrowShift:p=8,autoAdjustOverflow:u,arrowPointAtCenter:i}=f,l={left:{points:["cr","cl"],offset:[-4,0]},right:{points:["cl","cr"],offset:[4,0]},top:{points:["bc","tc"],offset:[0,-4]},bottom:{points:["tc","bc"],offset:[0,4]},topLeft:{points:["bl","tc"],offset:[-(y+r),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(p+r)]},topRight:{points:["br","tc"],offset:[y+r,-4]},rightTop:{points:["tl","cr"],offset:[4,-(p+r)]},bottomRight:{points:["tr","bc"],offset:[y+r,4]},rightBottom:{points:["bl","cr"],offset:[4,p+r]},bottomLeft:{points:["tl","bc"],offset:[-(y+r),4]},leftBottom:{points:["br","cl"],offset:[-4,p+r]}};return Object.keys(l).forEach(a=>{l[a]=i?Object.assign(Object.assign({},l[a]),{overflow:d(u),targetOffset:C}):Object.assign(Object.assign({},n.C[a]),{overflow:d(u)}),l[a].ignoreShake=!0}),l}},42126:function(I,E,t){t.d(E,{ZP:function(){return u},t5:function(){return p}});var n=t(50959),s=t(84875),c=t.n(s),C=t(51577),d=t(62933),g=t(39174),f=t(81451),r=function(i,l){var a={};for(var e in i)Object.prototype.hasOwnProperty.call(i,e)&&l.indexOf(e)<0&&(a[e]=i[e]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,e=Object.getOwnPropertySymbols(i);m{if(!(!l&&!a))return n.createElement(n.Fragment,null,l&&n.createElement("div",{className:`${i}-title`},(0,f.Z)(l)),n.createElement("div",{className:`${i}-inner-content`},(0,f.Z)(a)))};function p(i){const{hashId:l,prefixCls:a,className:e,style:m,placement:v="top",title:P,content:$,children:w}=i;return n.createElement("div",{className:c()(l,a,`${a}-pure`,`${a}-placement-${v}`,e),style:m},n.createElement(C.G,Object.assign({},i,{className:l,prefixCls:a}),w||y(a,P,$)))}function u(i){const{prefixCls:l}=i,a=r(i,["prefixCls"]),{getPrefixCls:e}=n.useContext(d.E_),m=e("popover",l),[v,P]=(0,g.Z)(m);return v(n.createElement(p,Object.assign({},a,{prefixCls:m,hashId:P})))}},98563:function(I,E,t){var n=t(84875),s=t.n(n),c=t(50959),C=t(62933),d=t(46085),g=t(81451),f=t(59389),r=t(42126),y=t(39174),p=function(l,a){var e={};for(var m in l)Object.prototype.hasOwnProperty.call(l,m)&&a.indexOf(m)<0&&(e[m]=l[m]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var v=0,m=Object.getOwnPropertySymbols(l);v{let{title:a,content:e,prefixCls:m}=l;return!a&&!e?null:c.createElement(c.Fragment,null,a&&c.createElement("div",{className:`${m}-title`},(0,g.Z)(a)),c.createElement("div",{className:`${m}-inner-content`},(0,g.Z)(e)))},i=c.forwardRef((l,a)=>{const{prefixCls:e,title:m,content:v,overlayClassName:P,placement:$="top",trigger:w="hover",mouseEnterDelay:R=.1,mouseLeaveDelay:S=.1,overlayStyle:Z={}}=l,U=p(l,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:V}=c.useContext(C.E_),o=V("popover",e),[h,_]=(0,y.Z)(o),O=V(),b=s()(P,_);return h(c.createElement(d.Z,Object.assign({placement:$,trigger:w,mouseEnterDelay:R,mouseLeaveDelay:S,overlayStyle:Z},U,{prefixCls:o,overlayClassName:b,ref:a,overlay:c.createElement(u,{prefixCls:o,title:m,content:v}),transitionName:(0,f.mL)(O,"zoom-big",U.transitionName),"data-popover-inject":!0})))});i._InternalPanelDoNotUseOrYouWillBeFired=r.ZP,E.Z=i},39174:function(I,E,t){var n=t(54271),s=t(12816),c=t(96574),C=t(19079),d=t(48339),g=t(62541);const f=p=>{const{componentCls:u,popoverBg:i,popoverColor:l,width:a,fontWeightStrong:e,popoverPadding:m,boxShadowSecondary:v,colorTextHeading:P,borderRadiusLG:$,zIndexPopup:w,marginXS:R,colorBgElevated:S}=p;return[{[u]:Object.assign(Object.assign({},(0,d.Wf)(p)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:w,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--antd-arrow-background-color":S,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${u}-content`]:{position:"relative"},[`${u}-inner`]:{backgroundColor:i,backgroundClip:"padding-box",borderRadius:$,boxShadow:v,padding:m},[`${u}-title`]:{minWidth:a,marginBottom:R,color:P,fontWeight:e},[`${u}-inner-content`]:{color:l}})},(0,g.ZP)(p,{colorBg:"var(--antd-arrow-background-color)"}),{[`${u}-pure`]:{position:"relative",maxWidth:"none",[`${u}-content`]:{display:"inline-block"}}}]},r=p=>{const{componentCls:u}=p;return{[u]:s.i.map(i=>{const l=p[`${i}-6`];return{[`&${u}-${i}`]:{"--antd-arrow-background-color":l,[`${u}-inner`]:{backgroundColor:l},[`${u}-arrow`]:{background:"transparent"}}}})}},y=p=>{const{componentCls:u,lineWidth:i,lineType:l,colorSplit:a,paddingSM:e,controlHeight:m,fontSize:v,lineHeight:P,padding:$}=p,w=m-Math.round(v*P),R=w/2,S=w/2-i,Z=$;return{[u]:{[`${u}-inner`]:{padding:0},[`${u}-title`]:{margin:0,padding:`${R}px ${Z}px ${S}px`,borderBottom:`${i}px ${l} ${a}`},[`${u}-inner-content`]:{padding:`${e}px ${Z}px`}}}};E.Z=(0,c.Z)("Popover",p=>{const{colorBgElevated:u,colorText:i,wireframe:l}=p,a=(0,C.TS)(p,{popoverBg:u,popoverColor:i,popoverPadding:12});return[f(a),r(a),l&&y(a),(0,n._y)(a,"zoom-big")]},p=>{let{zIndexPopupBase:u}=p;return{zIndexPopup:u+30,width:177}})},54271:function(I,E,t){t.d(E,{_y:function(){return m},kr:function(){return c}});var n=t(30518),s=t(4213);const c=new n.E4("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),C=new n.E4("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),d=new n.E4("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),g=new n.E4("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),f=new n.E4("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),r=new n.E4("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),y=new n.E4("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),p=new n.E4("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),u=new n.E4("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),i=new n.E4("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),l=new n.E4("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),a=new n.E4("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),e={zoom:{inKeyframes:c,outKeyframes:C},"zoom-big":{inKeyframes:d,outKeyframes:g},"zoom-big-fast":{inKeyframes:d,outKeyframes:g},"zoom-left":{inKeyframes:y,outKeyframes:p},"zoom-right":{inKeyframes:u,outKeyframes:i},"zoom-up":{inKeyframes:f,outKeyframes:r},"zoom-down":{inKeyframes:l,outKeyframes:a}},m=(v,P)=>{const{antCls:$}=v,w=`${$}-${P}`,{inKeyframes:R,outKeyframes:S}=e[P];return[(0,s.R)(w,R,S,P==="zoom-big-fast"?v.motionDurationFast:v.motionDurationMid),{[` - ${w}-enter, - ${w}-appear - `]:{transform:"scale(0)",opacity:0,animationTimingFunction:v.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${w}-leave`]:{animationTimingFunction:v.motionEaseInOutCirc}}]}},62541:function(I,E,t){t.d(E,{ZP:function(){return d},fS:function(){return C},qN:function(){return c}});var n=t(60144);function s(g){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return g.map(r=>`${f}${r}`).join(",")}const c=8;function C(g){const f=c,{sizePopupArrow:r,contentRadius:y,borderRadiusOuter:p,limitVerticalRadius:u}=g,i=r/2-Math.ceil(p*(Math.sqrt(2)-1)),l=(y>12?y+2:12)-i,a=u?f-i:l;return{dropdownArrowOffset:l,dropdownArrowOffsetVertical:a}}function d(g,f){const{componentCls:r,sizePopupArrow:y,marginXXS:p,borderRadiusXS:u,borderRadiusOuter:i,boxShadowPopoverArrow:l}=g,{colorBg:a,showArrowCls:e,contentRadius:m=g.borderRadiusLG,limitVerticalRadius:v}=f,{dropdownArrowOffsetVertical:P,dropdownArrowOffset:$}=C({sizePopupArrow:y,contentRadius:m,borderRadiusOuter:i,limitVerticalRadius:v}),w=y/2+p;return{[r]:{[`${r}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,n.r)(y,u,i,a,l)),{"&:before":{background:a}})],[[`&-placement-top ${r}-arrow`,`&-placement-topLeft ${r}-arrow`,`&-placement-topRight ${r}-arrow`].join(",")]:{bottom:0,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft ${r}-arrow`]:{left:{_skip_check_:!0,value:$}},[`&-placement-topRight ${r}-arrow`]:{right:{_skip_check_:!0,value:$}},[[`&-placement-bottom ${r}-arrow`,`&-placement-bottomLeft ${r}-arrow`,`&-placement-bottomRight ${r}-arrow`].join(",")]:{top:0,transform:"translateY(-100%)"},[`&-placement-bottom ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft ${r}-arrow`]:{left:{_skip_check_:!0,value:$}},[`&-placement-bottomRight ${r}-arrow`]:{right:{_skip_check_:!0,value:$}},[[`&-placement-left ${r}-arrow`,`&-placement-leftTop ${r}-arrow`,`&-placement-leftBottom ${r}-arrow`].join(",")]:{right:{_skip_check_:!0,value:0},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop ${r}-arrow`]:{top:P},[`&-placement-leftBottom ${r}-arrow`]:{bottom:P},[[`&-placement-right ${r}-arrow`,`&-placement-rightTop ${r}-arrow`,`&-placement-rightBottom ${r}-arrow`].join(",")]:{left:{_skip_check_:!0,value:0},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop ${r}-arrow`]:{top:P},[`&-placement-rightBottom ${r}-arrow`]:{bottom:P},[s(["&-placement-topLeft","&-placement-top","&-placement-topRight"],e)]:{paddingBottom:w},[s(["&-placement-bottomLeft","&-placement-bottom","&-placement-bottomRight"],e)]:{paddingTop:w},[s(["&-placement-leftTop","&-placement-left","&-placement-leftBottom"],e)]:{paddingRight:{_skip_check_:!0,value:w}},[s(["&-placement-rightTop","&-placement-right","&-placement-rightBottom"],e)]:{paddingLeft:{_skip_check_:!0,value:w}}}}}},36303:function(I,E,t){t.d(E,{j:function(){return s}});var n=t(12816);function s(c,C){return n.i.reduce((d,g)=>{const f=c[`${g}-1`],r=c[`${g}-3`],y=c[`${g}-6`],p=c[`${g}-7`];return Object.assign(Object.assign({},d),C(g,{lightColor:f,lightBorderColor:r,darkColor:y,textColor:p}))},{})}},60144:function(I,E,t){t.d(E,{r:function(){return n}});const n=(s,c,C,d,g)=>{const f=s/2,r=f-C*(Math.sqrt(2)-1),y=f,p=f+C*(1-1/Math.sqrt(2)),u=f-C*(1-1/Math.sqrt(2)),i=2*f-c*(1/Math.sqrt(2)),l=c*(1/Math.sqrt(2)),a=4*f-i,e=l,m=4*f-p,v=u,P=4*f-r,$=y;return{borderRadius:{_skip_check_:!0,value:`0 0 ${c}px`},pointerEvents:"none",width:s*2,height:s*2,overflow:"hidden","&::after":{content:'""',position:"absolute",width:s/Math.sqrt(2),height:s/Math.sqrt(2),bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${c}px 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:g,zIndex:0,background:"transparent"},"&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:s*2,height:s/2,background:d,clipPath:`path('M ${r} ${y} A ${C} ${C} 0 0 0 ${p} ${u} L ${i} ${l} A ${c} ${c} 0 0 1 ${a} ${e} L ${m} ${v} A ${C} ${C} 0 0 0 ${P} ${$} Z')`,content:'""'}}}},12816:function(I,E,t){t.d(E,{i:function(){return n}});const n=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"]},46085:function(I,E,t){t.d(E,{Z:function(){return V}});var n=t(84875),s=t.n(n),c=t(51577),C=t(89174),d=t(50959),g=t(62933),f=t(59389),r=t(60275),y=t(50497),p=t(54271),u=t(19079),i=t(96574),l=t(48339),a=t(36303),e=t(62541);const m=o=>{const{componentCls:h,tooltipMaxWidth:_,tooltipColor:O,tooltipBg:b,tooltipBorderRadius:x,zIndexPopup:j,controlHeight:M,boxShadowSecondary:A,paddingSM:K,paddingXS:L,tooltipRadiusOuter:B}=o;return[{[h]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,l.Wf)(o)),{position:"absolute",zIndex:j,display:"block","&":[{width:"max-content"},{width:"intrinsic"}],maxWidth:_,visibility:"visible","&-hidden":{display:"none"},"--antd-arrow-background-color":b,[`${h}-inner`]:{minWidth:M,minHeight:M,padding:`${K/2}px ${L}px`,color:O,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:b,borderRadius:x,boxShadow:A},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${h}-inner`]:{borderRadius:Math.min(x,e.qN)}},[`${h}-content`]:{position:"relative"}}),(0,a.j)(o,(N,X)=>{let{darkColor:H}=X;return{[`&${h}-${N}`]:{[`${h}-inner`]:{backgroundColor:H},[`${h}-arrow`]:{"--antd-arrow-background-color":H}}}})),{"&-rtl":{direction:"rtl"}})},(0,e.ZP)((0,u.TS)(o,{borderRadiusOuter:B}),{colorBg:"var(--antd-arrow-background-color)",showArrowCls:"",contentRadius:x,limitVerticalRadius:!0}),{[`${h}-pure`]:{position:"relative",maxWidth:"none"}}]};var v=(o,h)=>(0,i.Z)("Tooltip",O=>{if(h===!1)return[];const{borderRadius:b,colorTextLightSolid:x,colorBgDefault:j,borderRadiusOuter:M}=O,A=(0,u.TS)(O,{tooltipMaxWidth:250,tooltipColor:x,tooltipBorderRadius:b,tooltipBg:j,tooltipRadiusOuter:M>4?4:M});return[m(A),(0,p._y)(O,"zoom-big-fast")]},O=>{let{zIndexPopupBase:b,colorBgSpotlight:x}=O;return{zIndexPopup:b+70,colorBgDefault:x}})(o),P=t(91339);function $(o,h){const _=(0,P.o2)(h),O=s()({[`${o}-${h}`]:h&&_}),b={},x={};return h&&!_&&(b.background=h,x["--antd-arrow-background-color"]=h),{className:O,overlayStyle:b,arrowStyle:x}}function w(o){const{prefixCls:h,className:_,placement:O="top",title:b,color:x,overlayInnerStyle:j}=o,{getPrefixCls:M}=d.useContext(g.E_),A=M("tooltip",h),[K,L]=v(A,!0),B=$(A,x),N=Object.assign(Object.assign({},j),B.overlayStyle),X=B.arrowStyle;return K(d.createElement("div",{className:s()(L,A,`${A}-pure`,`${A}-placement-${O}`,_,B.className),style:X},d.createElement(c.G,Object.assign({},o,{className:L,prefixCls:A,overlayInnerStyle:N}),b)))}var R=function(o,h){var _={};for(var O in o)Object.prototype.hasOwnProperty.call(o,O)&&h.indexOf(O)<0&&(_[O]=o[O]);if(o!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,O=Object.getOwnPropertySymbols(o);b{const _={},O=Object.assign({},o);return h.forEach(b=>{o&&b in o&&(_[b]=o[b],delete O[b])}),{picked:_,omitted:O}};function Z(o,h){const _=o.type;if((_.__ANT_BUTTON===!0||o.type==="button")&&o.props.disabled||_.__ANT_SWITCH===!0&&(o.props.disabled||o.props.loading)||_.__ANT_RADIO===!0&&o.props.disabled){const{picked:O,omitted:b}=S(o.props.style,["position","left","right","top","bottom","float","display","zIndex"]),x=Object.assign(Object.assign({display:"inline-block"},O),{cursor:"not-allowed",width:o.props.block?"100%":void 0}),j=Object.assign(Object.assign({},b),{pointerEvents:"none"}),M=(0,y.Tm)(o,{style:j,className:null});return d.createElement("span",{style:x,className:s()(o.props.className,`${h}-disabled-compatible-wrapper`)},M)}return o}const U=d.forwardRef((o,h)=>{var _,O;const{prefixCls:b,openClassName:x,getTooltipContainer:j,overlayClassName:M,color:A,overlayInnerStyle:K,children:L,afterOpenChange:B,afterVisibleChange:N}=o,{getPopupContainer:X,getPrefixCls:H,direction:rt}=d.useContext(g.E_),[at,st]=(0,C.Z)(!1,{value:(_=o.open)!==null&&_!==void 0?_:o.visible,defaultValue:(O=o.defaultOpen)!==null&&O!==void 0?O:o.defaultVisible}),Y=()=>{const{title:T,overlay:D}=o;return!T&&!D&&T!==0},lt=T=>{var D,z;st(Y()?!1:T),Y()||((D=o.onOpenChange)===null||D===void 0||D.call(o,T),(z=o.onVisibleChange)===null||z===void 0||z.call(o,T))},J=()=>{const{builtinPlacements:T,arrowPointAtCenter:D=!1,autoAdjustOverflow:z=!0}=o;return T||(0,r.Z)({arrowPointAtCenter:D,autoAdjustOverflow:z})},q=(T,D)=>{const z=J(),Q=Object.keys(z).find(G=>{var W,ut;return z[G].points[0]===((W=D.points)===null||W===void 0?void 0:W[0])&&z[G].points[1]===((ut=D.points)===null||ut===void 0?void 0:ut[1])});if(Q){const G=T.getBoundingClientRect(),W={top:"50%",left:"50%"};/top|Bottom/.test(Q)?W.top=`${G.height-D.offset[1]}px`:/Top|bottom/.test(Q)&&(W.top=`${-D.offset[1]}px`),/left|Right/.test(Q)?W.left=`${G.width-D.offset[0]}px`:/right|Left/.test(Q)&&(W.left=`${-D.offset[0]}px`),T.style.transformOrigin=`${W.left} ${W.top}`}},tt=()=>{const{title:T,overlay:D}=o;return T===0?T:D||T||""},{getPopupContainer:it,placement:F="top",mouseEnterDelay:et=.1,mouseLeaveDelay:ot=.1,overlayStyle:pt}=o,dt=R(o,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),k=H("tooltip",b),gt=H(),vt=o["data-popover-inject"];let ct=at;!("open"in o)&&!("visible"in o)&&Y()&&(ct=!1);const ft=Z((0,y.l$)(L)&&!(0,y.M2)(L)?L:d.createElement("span",null,L),k),nt=ft.props,Ot=!nt.className||typeof nt.className=="string"?s()(nt.className,{[x||`${k}-open`]:!0}):nt.className,[yt,ht]=v(k,!vt),mt=$(k,A),Ct=Object.assign(Object.assign({},K),mt.overlayStyle),bt=mt.arrowStyle,Et=s()(M,{[`${k}-rtl`]:rt==="rtl"},mt.className,ht);return yt(d.createElement(c.Z,Object.assign({},dt,{placement:F,mouseEnterDelay:et,mouseLeaveDelay:ot,prefixCls:k,overlayClassName:Et,overlayStyle:Object.assign(Object.assign({},bt),pt),getTooltipContainer:it||j||X,ref:h,builtinPlacements:J(),overlay:tt(),visible:ct,onVisibleChange:lt,afterVisibleChange:B!=null?B:N,onPopupAlign:q,overlayInnerStyle:Ct,arrowContent:d.createElement("span",{className:`${k}-arrow-content`}),motion:{motionName:(0,f.mL)(gt,"zoom-big-fast",o.transitionName),motionDeadline:1e3}}),ct?(0,y.Tm)(ft,{className:Ot}):ft))});U._InternalPanelDoNotUseOrYouWillBeFired=w;var V=U},51577:function(I,E,t){t.d(E,{G:function(){return p},Z:function(){return l}});var n=t(87366),s=t(88143),c=t(49919),C=t(17576),d=t(50959),g=t(16578),f=t(73053),r=t(84875),y=t.n(r);function p(a){var e=a.showArrow,m=a.arrowContent,v=a.children,P=a.prefixCls,$=a.id,w=a.overlayInnerStyle,R=a.className,S=a.style;return d.createElement("div",{className:y()("".concat(P,"-content"),R),style:S},e!==!1&&d.createElement("div",{className:"".concat(P,"-arrow"),key:"arrow"},m),d.createElement("div",{className:"".concat(P,"-inner"),id:$,role:"tooltip",style:w},typeof v=="function"?v():v))}var u=function(e,m){var v=e.overlayClassName,P=e.trigger,$=P===void 0?["hover"]:P,w=e.mouseEnterDelay,R=w===void 0?0:w,S=e.mouseLeaveDelay,Z=S===void 0?.1:S,U=e.overlayStyle,V=e.prefixCls,o=V===void 0?"rc-tooltip":V,h=e.children,_=e.onVisibleChange,O=e.afterVisibleChange,b=e.transitionName,x=e.animation,j=e.motion,M=e.placement,A=M===void 0?"right":M,K=e.align,L=K===void 0?{}:K,B=e.destroyTooltipOnHide,N=B===void 0?!1:B,X=e.defaultVisible,H=e.getTooltipContainer,rt=e.overlayInnerStyle,at=e.arrowContent,st=e.overlay,Y=e.id,lt=e.showArrow,J=(0,C.Z)(e,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"]),q=(0,d.useRef)(null);(0,d.useImperativeHandle)(m,function(){return q.current});var tt=(0,c.Z)({},J);"visible"in e&&(tt.popupVisible=e.visible);var it=function(){return d.createElement(p,{showArrow:lt,arrowContent:at,key:"content",prefixCls:o,id:Y,overlayInnerStyle:rt},st)},F=!1,et=!1;if(typeof N=="boolean")F=N;else if(N&&(0,s.Z)(N)==="object"){var ot=N.keepParent;F=ot===!0,et=ot===!1}return d.createElement(g.Z,(0,n.Z)({popupClassName:v,prefixCls:o,popup:it,action:$,builtinPlacements:f.C,popupPlacement:A,ref:q,popupAlign:L,getPopupContainer:H,onPopupVisibleChange:_,afterPopupVisibleChange:O,popupTransitionName:b,popupAnimation:x,popupMotion:j,defaultPopupVisible:X,destroyPopupOnHide:F,autoDestroy:et,mouseLeaveDelay:Z,popupStyle:U,mouseEnterDelay:R},tt),h)},i=(0,d.forwardRef)(u),l=i},73053:function(I,E,t){t.d(E,{C:function(){return c}});var n={adjustX:1,adjustY:1},s=[0,0],c={left:{points:["cr","cl"],overflow:n,offset:[-4,0],targetOffset:s},right:{points:["cl","cr"],overflow:n,offset:[4,0],targetOffset:s},top:{points:["bc","tc"],overflow:n,offset:[0,-4],targetOffset:s},bottom:{points:["tc","bc"],overflow:n,offset:[0,4],targetOffset:s},topLeft:{points:["bl","tl"],overflow:n,offset:[0,-4],targetOffset:s},leftTop:{points:["tr","tl"],overflow:n,offset:[-4,0],targetOffset:s},topRight:{points:["br","tr"],overflow:n,offset:[0,-4],targetOffset:s},rightTop:{points:["tl","tr"],overflow:n,offset:[4,0],targetOffset:s},bottomRight:{points:["tr","br"],overflow:n,offset:[0,4],targetOffset:s},rightBottom:{points:["bl","br"],overflow:n,offset:[4,0],targetOffset:s},bottomLeft:{points:["tl","bl"],overflow:n,offset:[0,4],targetOffset:s},leftBottom:{points:["br","bl"],overflow:n,offset:[-4,0],targetOffset:s}},C=null}}]); diff --git a/9435.c89d9375.async.js b/9435.c89d9375.async.js new file mode 100644 index 0000000..ba4d82a --- /dev/null +++ b/9435.c89d9375.async.js @@ -0,0 +1,4 @@ +"use strict";(self.webpackChunkroot=self.webpackChunkroot||[]).push([[9435],{29752:function(I,E,t){t.d(E,{Z:function(){return f}});var n=t(49919),s=t(50959),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{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"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},C=c,d=t(11875),g=function(y,p){return s.createElement(d.Z,(0,n.Z)((0,n.Z)({},y),{},{ref:p,icon:C}))};g.displayName="QuestionCircleOutlined";var f=s.forwardRef(g)},3913:function(I,E,t){t.d(E,{o2:function(){return d},yT:function(){return g}});var n=t(74758),s=t(12816);const c=s.i.map(f=>`${f}-inverse`),C=["success","processing","error","default","warning"];function d(f){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,n.Z)(c),(0,n.Z)(s.i)).includes(f):s.i.includes(f)}function g(f){return C.includes(f)}},81451:function(I,E,t){t.d(E,{Z:function(){return n}});const n=s=>s?typeof s=="function"?s():s:null},60275:function(I,E,t){t.d(E,{Z:function(){return g}});var n=t(73053);const s={adjustX:1,adjustY:1},c={adjustX:0,adjustY:0},C=[0,0];function d(f){return typeof f=="boolean"?f?s:c:Object.assign(Object.assign({},c),f)}function g(f){const{arrowWidth:r=4,horizontalArrowShift:y=16,verticalArrowShift:p=8,autoAdjustOverflow:u,arrowPointAtCenter:i}=f,l={left:{points:["cr","cl"],offset:[-4,0]},right:{points:["cl","cr"],offset:[4,0]},top:{points:["bc","tc"],offset:[0,-4]},bottom:{points:["tc","bc"],offset:[0,4]},topLeft:{points:["bl","tc"],offset:[-(y+r),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(p+r)]},topRight:{points:["br","tc"],offset:[y+r,-4]},rightTop:{points:["tl","cr"],offset:[4,-(p+r)]},bottomRight:{points:["tr","bc"],offset:[y+r,4]},rightBottom:{points:["bl","cr"],offset:[4,p+r]},bottomLeft:{points:["tl","bc"],offset:[-(y+r),4]},leftBottom:{points:["br","cl"],offset:[-4,p+r]}};return Object.keys(l).forEach(a=>{l[a]=i?Object.assign(Object.assign({},l[a]),{overflow:d(u),targetOffset:C}):Object.assign(Object.assign({},n.C[a]),{overflow:d(u)}),l[a].ignoreShake=!0}),l}},42126:function(I,E,t){t.d(E,{ZP:function(){return u},t5:function(){return p}});var n=t(50959),s=t(84875),c=t.n(s),C=t(51577),d=t(62933),g=t(39174),f=t(81451),r=function(i,l){var a={};for(var e in i)Object.prototype.hasOwnProperty.call(i,e)&&l.indexOf(e)<0&&(a[e]=i[e]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,e=Object.getOwnPropertySymbols(i);m{if(!(!l&&!a))return n.createElement(n.Fragment,null,l&&n.createElement("div",{className:`${i}-title`},(0,f.Z)(l)),n.createElement("div",{className:`${i}-inner-content`},(0,f.Z)(a)))};function p(i){const{hashId:l,prefixCls:a,className:e,style:m,placement:v="top",title:P,content:$,children:w}=i;return n.createElement("div",{className:c()(l,a,`${a}-pure`,`${a}-placement-${v}`,e),style:m},n.createElement(C.G,Object.assign({},i,{className:l,prefixCls:a}),w||y(a,P,$)))}function u(i){const{prefixCls:l}=i,a=r(i,["prefixCls"]),{getPrefixCls:e}=n.useContext(d.E_),m=e("popover",l),[v,P]=(0,g.Z)(m);return v(n.createElement(p,Object.assign({},a,{prefixCls:m,hashId:P})))}},98563:function(I,E,t){var n=t(84875),s=t.n(n),c=t(50959),C=t(62933),d=t(46085),g=t(81451),f=t(59389),r=t(42126),y=t(39174),p=function(l,a){var e={};for(var m in l)Object.prototype.hasOwnProperty.call(l,m)&&a.indexOf(m)<0&&(e[m]=l[m]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var v=0,m=Object.getOwnPropertySymbols(l);v{let{title:a,content:e,prefixCls:m}=l;return!a&&!e?null:c.createElement(c.Fragment,null,a&&c.createElement("div",{className:`${m}-title`},(0,g.Z)(a)),c.createElement("div",{className:`${m}-inner-content`},(0,g.Z)(e)))},i=c.forwardRef((l,a)=>{const{prefixCls:e,title:m,content:v,overlayClassName:P,placement:$="top",trigger:w="hover",mouseEnterDelay:R=.1,mouseLeaveDelay:S=.1,overlayStyle:Z={}}=l,U=p(l,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:V}=c.useContext(C.E_),o=V("popover",e),[h,_]=(0,y.Z)(o),O=V(),b=s()(P,_);return h(c.createElement(d.Z,Object.assign({placement:$,trigger:w,mouseEnterDelay:R,mouseLeaveDelay:S,overlayStyle:Z},U,{prefixCls:o,overlayClassName:b,ref:a,overlay:c.createElement(u,{prefixCls:o,title:m,content:v}),transitionName:(0,f.mL)(O,"zoom-big",U.transitionName),"data-popover-inject":!0})))});i._InternalPanelDoNotUseOrYouWillBeFired=r.ZP,E.Z=i},39174:function(I,E,t){var n=t(54271),s=t(12816),c=t(96574),C=t(19079),d=t(48339),g=t(62541);const f=p=>{const{componentCls:u,popoverBg:i,popoverColor:l,width:a,fontWeightStrong:e,popoverPadding:m,boxShadowSecondary:v,colorTextHeading:P,borderRadiusLG:$,zIndexPopup:w,marginXS:R,colorBgElevated:S}=p;return[{[u]:Object.assign(Object.assign({},(0,d.Wf)(p)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:w,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--antd-arrow-background-color":S,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${u}-content`]:{position:"relative"},[`${u}-inner`]:{backgroundColor:i,backgroundClip:"padding-box",borderRadius:$,boxShadow:v,padding:m},[`${u}-title`]:{minWidth:a,marginBottom:R,color:P,fontWeight:e},[`${u}-inner-content`]:{color:l}})},(0,g.ZP)(p,{colorBg:"var(--antd-arrow-background-color)"}),{[`${u}-pure`]:{position:"relative",maxWidth:"none",[`${u}-content`]:{display:"inline-block"}}}]},r=p=>{const{componentCls:u}=p;return{[u]:s.i.map(i=>{const l=p[`${i}-6`];return{[`&${u}-${i}`]:{"--antd-arrow-background-color":l,[`${u}-inner`]:{backgroundColor:l},[`${u}-arrow`]:{background:"transparent"}}}})}},y=p=>{const{componentCls:u,lineWidth:i,lineType:l,colorSplit:a,paddingSM:e,controlHeight:m,fontSize:v,lineHeight:P,padding:$}=p,w=m-Math.round(v*P),R=w/2,S=w/2-i,Z=$;return{[u]:{[`${u}-inner`]:{padding:0},[`${u}-title`]:{margin:0,padding:`${R}px ${Z}px ${S}px`,borderBottom:`${i}px ${l} ${a}`},[`${u}-inner-content`]:{padding:`${e}px ${Z}px`}}}};E.Z=(0,c.Z)("Popover",p=>{const{colorBgElevated:u,colorText:i,wireframe:l}=p,a=(0,C.TS)(p,{popoverBg:u,popoverColor:i,popoverPadding:12});return[f(a),r(a),l&&y(a),(0,n._y)(a,"zoom-big")]},p=>{let{zIndexPopupBase:u}=p;return{zIndexPopup:u+30,width:177}})},54271:function(I,E,t){t.d(E,{_y:function(){return m},kr:function(){return c}});var n=t(30518),s=t(4213);const c=new n.E4("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),C=new n.E4("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),d=new n.E4("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),g=new n.E4("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),f=new n.E4("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),r=new n.E4("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),y=new n.E4("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),p=new n.E4("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),u=new n.E4("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),i=new n.E4("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),l=new n.E4("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),a=new n.E4("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),e={zoom:{inKeyframes:c,outKeyframes:C},"zoom-big":{inKeyframes:d,outKeyframes:g},"zoom-big-fast":{inKeyframes:d,outKeyframes:g},"zoom-left":{inKeyframes:y,outKeyframes:p},"zoom-right":{inKeyframes:u,outKeyframes:i},"zoom-up":{inKeyframes:f,outKeyframes:r},"zoom-down":{inKeyframes:l,outKeyframes:a}},m=(v,P)=>{const{antCls:$}=v,w=`${$}-${P}`,{inKeyframes:R,outKeyframes:S}=e[P];return[(0,s.R)(w,R,S,P==="zoom-big-fast"?v.motionDurationFast:v.motionDurationMid),{[` + ${w}-enter, + ${w}-appear + `]:{transform:"scale(0)",opacity:0,animationTimingFunction:v.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${w}-leave`]:{animationTimingFunction:v.motionEaseInOutCirc}}]}},62541:function(I,E,t){t.d(E,{ZP:function(){return d},fS:function(){return C},qN:function(){return c}});var n=t(60144);function s(g){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return g.map(r=>`${f}${r}`).join(",")}const c=8;function C(g){const f=c,{sizePopupArrow:r,contentRadius:y,borderRadiusOuter:p,limitVerticalRadius:u}=g,i=r/2-Math.ceil(p*(Math.sqrt(2)-1)),l=(y>12?y+2:12)-i,a=u?f-i:l;return{dropdownArrowOffset:l,dropdownArrowOffsetVertical:a}}function d(g,f){const{componentCls:r,sizePopupArrow:y,marginXXS:p,borderRadiusXS:u,borderRadiusOuter:i,boxShadowPopoverArrow:l}=g,{colorBg:a,showArrowCls:e,contentRadius:m=g.borderRadiusLG,limitVerticalRadius:v}=f,{dropdownArrowOffsetVertical:P,dropdownArrowOffset:$}=C({sizePopupArrow:y,contentRadius:m,borderRadiusOuter:i,limitVerticalRadius:v}),w=y/2+p;return{[r]:{[`${r}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,n.r)(y,u,i,a,l)),{"&:before":{background:a}})],[[`&-placement-top ${r}-arrow`,`&-placement-topLeft ${r}-arrow`,`&-placement-topRight ${r}-arrow`].join(",")]:{bottom:0,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft ${r}-arrow`]:{left:{_skip_check_:!0,value:$}},[`&-placement-topRight ${r}-arrow`]:{right:{_skip_check_:!0,value:$}},[[`&-placement-bottom ${r}-arrow`,`&-placement-bottomLeft ${r}-arrow`,`&-placement-bottomRight ${r}-arrow`].join(",")]:{top:0,transform:"translateY(-100%)"},[`&-placement-bottom ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft ${r}-arrow`]:{left:{_skip_check_:!0,value:$}},[`&-placement-bottomRight ${r}-arrow`]:{right:{_skip_check_:!0,value:$}},[[`&-placement-left ${r}-arrow`,`&-placement-leftTop ${r}-arrow`,`&-placement-leftBottom ${r}-arrow`].join(",")]:{right:{_skip_check_:!0,value:0},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop ${r}-arrow`]:{top:P},[`&-placement-leftBottom ${r}-arrow`]:{bottom:P},[[`&-placement-right ${r}-arrow`,`&-placement-rightTop ${r}-arrow`,`&-placement-rightBottom ${r}-arrow`].join(",")]:{left:{_skip_check_:!0,value:0},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop ${r}-arrow`]:{top:P},[`&-placement-rightBottom ${r}-arrow`]:{bottom:P},[s(["&-placement-topLeft","&-placement-top","&-placement-topRight"],e)]:{paddingBottom:w},[s(["&-placement-bottomLeft","&-placement-bottom","&-placement-bottomRight"],e)]:{paddingTop:w},[s(["&-placement-leftTop","&-placement-left","&-placement-leftBottom"],e)]:{paddingRight:{_skip_check_:!0,value:w}},[s(["&-placement-rightTop","&-placement-right","&-placement-rightBottom"],e)]:{paddingLeft:{_skip_check_:!0,value:w}}}}}},36303:function(I,E,t){t.d(E,{j:function(){return s}});var n=t(12816);function s(c,C){return n.i.reduce((d,g)=>{const f=c[`${g}-1`],r=c[`${g}-3`],y=c[`${g}-6`],p=c[`${g}-7`];return Object.assign(Object.assign({},d),C(g,{lightColor:f,lightBorderColor:r,darkColor:y,textColor:p}))},{})}},60144:function(I,E,t){t.d(E,{r:function(){return n}});const n=(s,c,C,d,g)=>{const f=s/2,r=f-C*(Math.sqrt(2)-1),y=f,p=f+C*(1-1/Math.sqrt(2)),u=f-C*(1-1/Math.sqrt(2)),i=2*f-c*(1/Math.sqrt(2)),l=c*(1/Math.sqrt(2)),a=4*f-i,e=l,m=4*f-p,v=u,P=4*f-r,$=y;return{borderRadius:{_skip_check_:!0,value:`0 0 ${c}px`},pointerEvents:"none",width:s*2,height:s*2,overflow:"hidden","&::after":{content:'""',position:"absolute",width:s/Math.sqrt(2),height:s/Math.sqrt(2),bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${c}px 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:g,zIndex:0,background:"transparent"},"&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:s*2,height:s/2,background:d,clipPath:`path('M ${r} ${y} A ${C} ${C} 0 0 0 ${p} ${u} L ${i} ${l} A ${c} ${c} 0 0 1 ${a} ${e} L ${m} ${v} A ${C} ${C} 0 0 0 ${P} ${$} Z')`,content:'""'}}}},12816:function(I,E,t){t.d(E,{i:function(){return n}});const n=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"]},46085:function(I,E,t){t.d(E,{Z:function(){return V}});var n=t(84875),s=t.n(n),c=t(51577),C=t(89174),d=t(50959),g=t(62933),f=t(59389),r=t(60275),y=t(50497),p=t(54271),u=t(19079),i=t(96574),l=t(48339),a=t(36303),e=t(62541);const m=o=>{const{componentCls:h,tooltipMaxWidth:_,tooltipColor:O,tooltipBg:b,tooltipBorderRadius:x,zIndexPopup:j,controlHeight:M,boxShadowSecondary:A,paddingSM:K,paddingXS:L,tooltipRadiusOuter:B}=o;return[{[h]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,l.Wf)(o)),{position:"absolute",zIndex:j,display:"block","&":[{width:"max-content"},{width:"intrinsic"}],maxWidth:_,visibility:"visible","&-hidden":{display:"none"},"--antd-arrow-background-color":b,[`${h}-inner`]:{minWidth:M,minHeight:M,padding:`${K/2}px ${L}px`,color:O,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:b,borderRadius:x,boxShadow:A},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${h}-inner`]:{borderRadius:Math.min(x,e.qN)}},[`${h}-content`]:{position:"relative"}}),(0,a.j)(o,(N,X)=>{let{darkColor:H}=X;return{[`&${h}-${N}`]:{[`${h}-inner`]:{backgroundColor:H},[`${h}-arrow`]:{"--antd-arrow-background-color":H}}}})),{"&-rtl":{direction:"rtl"}})},(0,e.ZP)((0,u.TS)(o,{borderRadiusOuter:B}),{colorBg:"var(--antd-arrow-background-color)",showArrowCls:"",contentRadius:x,limitVerticalRadius:!0}),{[`${h}-pure`]:{position:"relative",maxWidth:"none"}}]};var v=(o,h)=>(0,i.Z)("Tooltip",O=>{if(h===!1)return[];const{borderRadius:b,colorTextLightSolid:x,colorBgDefault:j,borderRadiusOuter:M}=O,A=(0,u.TS)(O,{tooltipMaxWidth:250,tooltipColor:x,tooltipBorderRadius:b,tooltipBg:j,tooltipRadiusOuter:M>4?4:M});return[m(A),(0,p._y)(O,"zoom-big-fast")]},O=>{let{zIndexPopupBase:b,colorBgSpotlight:x}=O;return{zIndexPopup:b+70,colorBgDefault:x}})(o),P=t(3913);function $(o,h){const _=(0,P.o2)(h),O=s()({[`${o}-${h}`]:h&&_}),b={},x={};return h&&!_&&(b.background=h,x["--antd-arrow-background-color"]=h),{className:O,overlayStyle:b,arrowStyle:x}}function w(o){const{prefixCls:h,className:_,placement:O="top",title:b,color:x,overlayInnerStyle:j}=o,{getPrefixCls:M}=d.useContext(g.E_),A=M("tooltip",h),[K,L]=v(A,!0),B=$(A,x),N=Object.assign(Object.assign({},j),B.overlayStyle),X=B.arrowStyle;return K(d.createElement("div",{className:s()(L,A,`${A}-pure`,`${A}-placement-${O}`,_,B.className),style:X},d.createElement(c.G,Object.assign({},o,{className:L,prefixCls:A,overlayInnerStyle:N}),b)))}var R=function(o,h){var _={};for(var O in o)Object.prototype.hasOwnProperty.call(o,O)&&h.indexOf(O)<0&&(_[O]=o[O]);if(o!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,O=Object.getOwnPropertySymbols(o);b{const _={},O=Object.assign({},o);return h.forEach(b=>{o&&b in o&&(_[b]=o[b],delete O[b])}),{picked:_,omitted:O}};function Z(o,h){const _=o.type;if((_.__ANT_BUTTON===!0||o.type==="button")&&o.props.disabled||_.__ANT_SWITCH===!0&&(o.props.disabled||o.props.loading)||_.__ANT_RADIO===!0&&o.props.disabled){const{picked:O,omitted:b}=S(o.props.style,["position","left","right","top","bottom","float","display","zIndex"]),x=Object.assign(Object.assign({display:"inline-block"},O),{cursor:"not-allowed",width:o.props.block?"100%":void 0}),j=Object.assign(Object.assign({},b),{pointerEvents:"none"}),M=(0,y.Tm)(o,{style:j,className:null});return d.createElement("span",{style:x,className:s()(o.props.className,`${h}-disabled-compatible-wrapper`)},M)}return o}const U=d.forwardRef((o,h)=>{var _,O;const{prefixCls:b,openClassName:x,getTooltipContainer:j,overlayClassName:M,color:A,overlayInnerStyle:K,children:L,afterOpenChange:B,afterVisibleChange:N}=o,{getPopupContainer:X,getPrefixCls:H,direction:rt}=d.useContext(g.E_),[at,st]=(0,C.Z)(!1,{value:(_=o.open)!==null&&_!==void 0?_:o.visible,defaultValue:(O=o.defaultOpen)!==null&&O!==void 0?O:o.defaultVisible}),Y=()=>{const{title:T,overlay:D}=o;return!T&&!D&&T!==0},lt=T=>{var D,z;st(Y()?!1:T),Y()||((D=o.onOpenChange)===null||D===void 0||D.call(o,T),(z=o.onVisibleChange)===null||z===void 0||z.call(o,T))},J=()=>{const{builtinPlacements:T,arrowPointAtCenter:D=!1,autoAdjustOverflow:z=!0}=o;return T||(0,r.Z)({arrowPointAtCenter:D,autoAdjustOverflow:z})},q=(T,D)=>{const z=J(),Q=Object.keys(z).find(G=>{var W,ut;return z[G].points[0]===((W=D.points)===null||W===void 0?void 0:W[0])&&z[G].points[1]===((ut=D.points)===null||ut===void 0?void 0:ut[1])});if(Q){const G=T.getBoundingClientRect(),W={top:"50%",left:"50%"};/top|Bottom/.test(Q)?W.top=`${G.height-D.offset[1]}px`:/Top|bottom/.test(Q)&&(W.top=`${-D.offset[1]}px`),/left|Right/.test(Q)?W.left=`${G.width-D.offset[0]}px`:/right|Left/.test(Q)&&(W.left=`${-D.offset[0]}px`),T.style.transformOrigin=`${W.left} ${W.top}`}},tt=()=>{const{title:T,overlay:D}=o;return T===0?T:D||T||""},{getPopupContainer:it,placement:F="top",mouseEnterDelay:et=.1,mouseLeaveDelay:ot=.1,overlayStyle:pt}=o,dt=R(o,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),k=H("tooltip",b),gt=H(),vt=o["data-popover-inject"];let ct=at;!("open"in o)&&!("visible"in o)&&Y()&&(ct=!1);const ft=Z((0,y.l$)(L)&&!(0,y.M2)(L)?L:d.createElement("span",null,L),k),nt=ft.props,Ot=!nt.className||typeof nt.className=="string"?s()(nt.className,{[x||`${k}-open`]:!0}):nt.className,[yt,ht]=v(k,!vt),mt=$(k,A),Ct=Object.assign(Object.assign({},K),mt.overlayStyle),bt=mt.arrowStyle,Et=s()(M,{[`${k}-rtl`]:rt==="rtl"},mt.className,ht);return yt(d.createElement(c.Z,Object.assign({},dt,{placement:F,mouseEnterDelay:et,mouseLeaveDelay:ot,prefixCls:k,overlayClassName:Et,overlayStyle:Object.assign(Object.assign({},bt),pt),getTooltipContainer:it||j||X,ref:h,builtinPlacements:J(),overlay:tt(),visible:ct,onVisibleChange:lt,afterVisibleChange:B!=null?B:N,onPopupAlign:q,overlayInnerStyle:Ct,arrowContent:d.createElement("span",{className:`${k}-arrow-content`}),motion:{motionName:(0,f.mL)(gt,"zoom-big-fast",o.transitionName),motionDeadline:1e3}}),ct?(0,y.Tm)(ft,{className:Ot}):ft))});U._InternalPanelDoNotUseOrYouWillBeFired=w;var V=U},51577:function(I,E,t){t.d(E,{G:function(){return p},Z:function(){return l}});var n=t(87366),s=t(88143),c=t(49919),C=t(17576),d=t(50959),g=t(16578),f=t(73053),r=t(84875),y=t.n(r);function p(a){var e=a.showArrow,m=a.arrowContent,v=a.children,P=a.prefixCls,$=a.id,w=a.overlayInnerStyle,R=a.className,S=a.style;return d.createElement("div",{className:y()("".concat(P,"-content"),R),style:S},e!==!1&&d.createElement("div",{className:"".concat(P,"-arrow"),key:"arrow"},m),d.createElement("div",{className:"".concat(P,"-inner"),id:$,role:"tooltip",style:w},typeof v=="function"?v():v))}var u=function(e,m){var v=e.overlayClassName,P=e.trigger,$=P===void 0?["hover"]:P,w=e.mouseEnterDelay,R=w===void 0?0:w,S=e.mouseLeaveDelay,Z=S===void 0?.1:S,U=e.overlayStyle,V=e.prefixCls,o=V===void 0?"rc-tooltip":V,h=e.children,_=e.onVisibleChange,O=e.afterVisibleChange,b=e.transitionName,x=e.animation,j=e.motion,M=e.placement,A=M===void 0?"right":M,K=e.align,L=K===void 0?{}:K,B=e.destroyTooltipOnHide,N=B===void 0?!1:B,X=e.defaultVisible,H=e.getTooltipContainer,rt=e.overlayInnerStyle,at=e.arrowContent,st=e.overlay,Y=e.id,lt=e.showArrow,J=(0,C.Z)(e,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"]),q=(0,d.useRef)(null);(0,d.useImperativeHandle)(m,function(){return q.current});var tt=(0,c.Z)({},J);"visible"in e&&(tt.popupVisible=e.visible);var it=function(){return d.createElement(p,{showArrow:lt,arrowContent:at,key:"content",prefixCls:o,id:Y,overlayInnerStyle:rt},st)},F=!1,et=!1;if(typeof N=="boolean")F=N;else if(N&&(0,s.Z)(N)==="object"){var ot=N.keepParent;F=ot===!0,et=ot===!1}return d.createElement(g.Z,(0,n.Z)({popupClassName:v,prefixCls:o,popup:it,action:$,builtinPlacements:f.C,popupPlacement:A,ref:q,popupAlign:L,getPopupContainer:H,onPopupVisibleChange:_,afterPopupVisibleChange:O,popupTransitionName:b,popupAnimation:x,popupMotion:j,defaultPopupVisible:X,destroyPopupOnHide:F,autoDestroy:et,mouseLeaveDelay:Z,popupStyle:U,mouseEnterDelay:R},tt),h)},i=(0,d.forwardRef)(u),l=i},73053:function(I,E,t){t.d(E,{C:function(){return c}});var n={adjustX:1,adjustY:1},s=[0,0],c={left:{points:["cr","cl"],overflow:n,offset:[-4,0],targetOffset:s},right:{points:["cl","cr"],overflow:n,offset:[4,0],targetOffset:s},top:{points:["bc","tc"],overflow:n,offset:[0,-4],targetOffset:s},bottom:{points:["tc","bc"],overflow:n,offset:[0,4],targetOffset:s},topLeft:{points:["bl","tl"],overflow:n,offset:[0,-4],targetOffset:s},leftTop:{points:["tr","tl"],overflow:n,offset:[-4,0],targetOffset:s},topRight:{points:["br","tr"],overflow:n,offset:[0,-4],targetOffset:s},rightTop:{points:["tl","tr"],overflow:n,offset:[4,0],targetOffset:s},bottomRight:{points:["tr","br"],overflow:n,offset:[0,4],targetOffset:s},rightBottom:{points:["bl","br"],overflow:n,offset:[4,0],targetOffset:s},bottomLeft:{points:["tl","bl"],overflow:n,offset:[0,4],targetOffset:s},leftBottom:{points:["br","bl"],overflow:n,offset:[-4,0],targetOffset:s}},C=null}}]); diff --git a/core-react/001-intro/index.html b/core-react/001-intro/index.html index b7c1401..c7c86b0 100644 --- a/core-react/001-intro/index.html +++ b/core-react/001-intro/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/002-quick-start/index.html b/core-react/002-quick-start/index.html index b7c1401..c7c86b0 100644 --- a/core-react/002-quick-start/index.html +++ b/core-react/002-quick-start/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/003-schema/index.html b/core-react/003-schema/index.html index b7c1401..c7c86b0 100644 --- a/core-react/003-schema/index.html +++ b/core-react/003-schema/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/100-layout/index.html b/core-react/100-layout/index.html index b7c1401..c7c86b0 100644 --- a/core-react/100-layout/index.html +++ b/core-react/100-layout/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/101-item-layout/index.html b/core-react/101-item-layout/index.html index b7c1401..c7c86b0 100644 --- a/core-react/101-item-layout/index.html +++ b/core-react/101-item-layout/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/102-prefix-cls/index.html b/core-react/102-prefix-cls/index.html index b7c1401..c7c86b0 100644 --- a/core-react/102-prefix-cls/index.html +++ b/core-react/102-prefix-cls/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/200-change-event/index.html b/core-react/200-change-event/index.html index b7c1401..c7c86b0 100644 --- a/core-react/200-change-event/index.html +++ b/core-react/200-change-event/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/210-relation/index.html b/core-react/210-relation/index.html index b7c1401..c7c86b0 100644 --- a/core-react/210-relation/index.html +++ b/core-react/210-relation/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/220-renderer/index.html b/core-react/220-renderer/index.html index b7c1401..c7c86b0 100644 --- a/core-react/220-renderer/index.html +++ b/core-react/220-renderer/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/221-renderer-object/index.html b/core-react/221-renderer-object/index.html index b7c1401..c7c86b0 100644 --- a/core-react/221-renderer-object/index.html +++ b/core-react/221-renderer-object/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/222-renderer-array/index.html b/core-react/222-renderer-array/index.html index b7c1401..c7c86b0 100644 --- a/core-react/222-renderer-array/index.html +++ b/core-react/222-renderer-array/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/223-validator/index.html b/core-react/223-validator/index.html index b7c1401..c7c86b0 100644 --- a/core-react/223-validator/index.html +++ b/core-react/223-validator/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/230-global-status/index.html b/core-react/230-global-status/index.html index b7c1401..c7c86b0 100644 --- a/core-react/230-global-status/index.html +++ b/core-react/230-global-status/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/250-scroll/index.html b/core-react/250-scroll/index.html index b7c1401..c7c86b0 100644 --- a/core-react/250-scroll/index.html +++ b/core-react/250-scroll/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/280-open-api/index.html b/core-react/280-open-api/index.html index b7c1401..c7c86b0 100644 --- a/core-react/280-open-api/index.html +++ b/core-react/280-open-api/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/300-default-value/index.html b/core-react/300-default-value/index.html index b7c1401..c7c86b0 100644 --- a/core-react/300-default-value/index.html +++ b/core-react/300-default-value/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/600-catch-error-tips/index.html b/core-react/600-catch-error-tips/index.html index b7c1401..c7c86b0 100644 --- a/core-react/600-catch-error-tips/index.html +++ b/core-react/600-catch-error-tips/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/700-locale/index.html b/core-react/700-locale/index.html index b7c1401..c7c86b0 100644 --- a/core-react/700-locale/index.html +++ b/core-react/700-locale/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/800-api-reference/index.html b/core-react/800-api-reference/index.html index b7c1401..c7c86b0 100644 --- a/core-react/800-api-reference/index.html +++ b/core-react/800-api-reference/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/890-benchmark/index.html b/core-react/890-benchmark/index.html index b7c1401..c7c86b0 100644 --- a/core-react/890-benchmark/index.html +++ b/core-react/890-benchmark/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/900-dev-tool/index.html b/core-react/900-dev-tool/index.html index b7c1401..c7c86b0 100644 --- a/core-react/900-dev-tool/index.html +++ b/core-react/900-dev-tool/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/910-playground/index.html b/core-react/910-playground/index.html index b7c1401..c7c86b0 100644 --- a/core-react/910-playground/index.html +++ b/core-react/910-playground/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/930-traverse-schema/index.html b/core-react/930-traverse-schema/index.html index b7c1401..c7c86b0 100644 --- a/core-react/930-traverse-schema/index.html +++ b/core-react/930-traverse-schema/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/931-schema-transform/index.html b/core-react/931-schema-transform/index.html index b7c1401..c7c86b0 100644 --- a/core-react/931-schema-transform/index.html +++ b/core-react/931-schema-transform/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/950-async/index.html b/core-react/950-async/index.html index b7c1401..c7c86b0 100644 --- a/core-react/950-async/index.html +++ b/core-react/950-async/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/951-controllable/index.html b/core-react/951-controllable/index.html index b7c1401..c7c86b0 100644 --- a/core-react/951-controllable/index.html +++ b/core-react/951-controllable/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/952-multi-renderer-on-change/index.html b/core-react/952-multi-renderer-on-change/index.html index b7c1401..c7c86b0 100644 --- a/core-react/952-multi-renderer-on-change/index.html +++ b/core-react/952-multi-renderer-on-change/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/953-disabled-component/index.html b/core-react/953-disabled-component/index.html index b7c1401..c7c86b0 100644 --- a/core-react/953-disabled-component/index.html +++ b/core-react/953-disabled-component/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/dumi__theme__ContextWrapper.acef070d.async.js b/dumi__theme__ContextWrapper.a9a08394.async.js similarity index 94% rename from dumi__theme__ContextWrapper.acef070d.async.js rename to dumi__theme__ContextWrapper.a9a08394.async.js index cd16cca..c651f63 100644 --- a/dumi__theme__ContextWrapper.acef070d.async.js +++ b/dumi__theme__ContextWrapper.a9a08394.async.js @@ -1 +1 @@ -"use strict";(self.webpackChunkroot=self.webpackChunkroot||[]).push([[3458],{29566:function(D,r,e){e.r(r),e.d(r,{default:function(){return h}});var l=e(54306),m=e.n(l),_=e(50959),t=e(7196),d=e(61320),n=e(86590),u=e(31621),i=e(11527),c={};function h(){var E=(0,t.pC)(),f=(0,_.useState)(!1),o=m()(f,2),p=o[0],v=o[1],a=(0,_.useRef)(t.m8.location.pathname);return(0,_.useEffect)(function(){return t.m8.listen(function(s){s.location.pathname!==a.current&&(a.current=s.location.pathname,document.documentElement.scrollTo(0,0))})},[]),(0,i.jsx)(d.D.Provider,{value:{pkg:{name:"root"},historyType:"browser",entryExports:c,demos:n.DE,components:n.wx,locales:u.k,loading:p,setLoading:v,hostname:void 0,themeConfig:{footer:!1,prefersColor:{default:"light",switch:!0},nprogress:!0,lastUpdated:!0,name:"SchemaRender",logo:!1,nav:[{title:"\u{1F48E} Core",link:"/core-react/001-intro"},{title:"\u{1F680} FormRender",link:"/form-render-react/001-intro"},{title:"\u26F5\uFE0F Search",link:"/search-react/001-intro"}],socialLinks:{github:"https://github.com/Barrior/schema-render"},rtl:!0},_2_level_nav_available:!0},children:E})}}}]); +"use strict";(self.webpackChunkroot=self.webpackChunkroot||[]).push([[3458],{29566:function(D,r,e){e.r(r),e.d(r,{default:function(){return h}});var l=e(54306),m=e.n(l),_=e(50959),t=e(7196),d=e(61320),n=e(98601),u=e(31621),i=e(11527),c={};function h(){var E=(0,t.pC)(),f=(0,_.useState)(!1),o=m()(f,2),p=o[0],v=o[1],a=(0,_.useRef)(t.m8.location.pathname);return(0,_.useEffect)(function(){return t.m8.listen(function(s){s.location.pathname!==a.current&&(a.current=s.location.pathname,document.documentElement.scrollTo(0,0))})},[]),(0,i.jsx)(d.D.Provider,{value:{pkg:{name:"root"},historyType:"browser",entryExports:c,demos:n.DE,components:n.wx,locales:u.k,loading:p,setLoading:v,hostname:void 0,themeConfig:{footer:!1,prefersColor:{default:"light",switch:!0},nprogress:!0,lastUpdated:!0,name:"SchemaRender",logo:!1,nav:[{title:"\u{1F48E} Core",link:"/core-react/001-intro"},{title:"\u{1F680} FormRender",link:"/form-render-react/001-intro"},{title:"\u26F5\uFE0F Search",link:"/search-react/001-intro"}],socialLinks:{github:"https://github.com/Barrior/schema-render"},rtl:!0},_2_level_nav_available:!0},children:E})}}}]); diff --git a/examples__form-render-react__500-builtin-renderers.md.bb792460.async.js b/examples__form-render-react__500-builtin-renderers.md.bb792460.async.js new file mode 100644 index 0000000..9876ad2 --- /dev/null +++ b/examples__form-render-react__500-builtin-renderers.md.bb792460.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkroot=self.webpackChunkroot||[]).push([[517],{48319:function(i,a,s){s.r(a);var c=s(91941),l=s(79671),h=s(81164),u=s(61716),o=s(11066),t=s(51634),m=s(11430),n=s(7196),x=s(50959),e=s(11527);function d(){var r=(0,n.eL)(),_=r.texts;return(0,e.jsx)(n.dY,{children:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)("div",{className:"markdown",children:[(0,e.jsxs)("h1",{id:"\u5185\u7F6E\u6E32\u67D3\u5668-renderers",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u5185\u7F6E\u6E32\u67D3\u5668-renderers",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"\u5185\u7F6E\u6E32\u67D3\u5668 renderers"]}),(0,e.jsxs)("p",{children:[(0,e.jsx)("code",{children:_[0].value}),_[1].value]})]}),(0,e.jsx)(n.Dl,{demo:{id:"examples-form-render-react-500-builtin-renderers-demo-0"},previewerProps:{}}),(0,e.jsxs)("div",{className:"markdown",children:[(0,e.jsxs)("p",{children:[_[2].value,(0,e.jsx)("code",{children:_[3].value}),_[4].value,(0,e.jsx)("a",{href:"https://ant-design.antgroup.com/components/overview-cn/",children:_[5].value}),_[6].value]}),(0,e.jsxs)("h2",{id:"\u516C\u5171\u533A",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u516C\u5171\u533A",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"\u516C\u5171\u533A"]}),(0,e.jsxs)("p",{children:[_[7].value,(0,e.jsx)("code",{children:_[8].value}),_[9].value,(0,e.jsx)("code",{children:_[10].value}),_[11].value,(0,e.jsx)("a",{href:"https://github.com/Barrior/schema-render/blob/main/packages/form-render-react/src/locale/zh_CN.ts#L10",children:_[12].value}),_[13].value]}),(0,e.jsxs)("h2",{id:"description",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#description",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"Description"]}),(0,e.jsx)("p",{children:_[14].value}),(0,e.jsxs)("h2",{id:"switchbox",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#switchbox",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"SwitchBox ",(0,e.jsx)(l.Z,{children:_[15].value})]}),(0,e.jsxs)("p",{children:[_[16].value,(0,e.jsx)("code",{children:_[17].value}),_[18].value]}),(0,e.jsxs)("h2",{id:"checkbox",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#checkbox",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"Checkbox"]}),(0,e.jsx)("ul",{children:(0,e.jsxs)("li",{children:[_[19].value,(0,e.jsx)("code",{children:_[20].value}),_[21].value,(0,e.jsx)("code",{children:_[22].value}),_[23].value,(0,e.jsx)(n.rU,{to:"/form-render-react/880-relation-checkbox",children:_[24].value}),_[25].value,(0,e.jsx)(l.Z,{children:_[26].value})]})}),(0,e.jsxs)("h2",{id:"selectmultiple",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#selectmultiple",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"SelectMultiple"]}),(0,e.jsx)("ul",{children:(0,e.jsxs)("li",{children:[_[27].value,(0,e.jsx)("code",{children:_[28].value}),_[29].value,(0,e.jsx)("code",{children:_[30].value}),_[31].value,(0,e.jsx)(l.Z,{children:_[32].value})]})}),(0,e.jsxs)("h2",{id:"datepicker",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#datepicker",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"DatePicker"]}),(0,e.jsxs)("p",{children:[_[33].value,(0,e.jsx)("a",{href:"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString",children:_[34].value}),_[35].value]}),(0,e.jsxs)("h2",{id:"daterangepicker",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#daterangepicker",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"DateRangePicker"]}),(0,e.jsx)("p",{children:_[36].value}),(0,e.jsxs)("p",{children:[_[37].value,(0,e.jsx)("code",{children:_[38].value}),_[39].value,(0,e.jsx)("a",{href:"https://github.com/Barrior/schema-render/blob/main/packages/form-render-react/src/locale/zh_CN.ts#L11",children:_[40].value}),_[41].value]}),(0,e.jsxs)("h2",{id:"object",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#object",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"Object"]}),(0,e.jsxs)("ul",{children:[(0,e.jsxs)("li",{children:[(0,e.jsx)("code",{children:_[42].value}),_[43].value,(0,e.jsx)("a",{href:"https://ant-design.antgroup.com/components/collapse-cn#collapse",children:_[44].value}),_[45].value]}),(0,e.jsxs)("li",{children:[(0,e.jsx)("code",{children:_[46].value}),_[47].value,(0,e.jsx)("a",{href:"https://ant-design.antgroup.com/components/collapse-cn#collapse",children:_[48].value}),_[49].value]})]}),(0,e.jsxs)("h2",{id:"objectnull",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#objectnull",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"ObjectNull"]}),(0,e.jsx)("p",{children:_[50].value}),(0,e.jsx)("ul",{children:(0,e.jsxs)("li",{children:[_[51].value,(0,e.jsx)("code",{children:_[52].value}),_[53].value,(0,e.jsx)("code",{children:_[54].value}),_[55].value]})})]})]})})}a.default=d}}]); diff --git a/examples__form-render-react__500-builtin-renderers.md.e53b0e63.async.js b/examples__form-render-react__500-builtin-renderers.md.e53b0e63.async.js deleted file mode 100644 index 07d4866..0000000 --- a/examples__form-render-react__500-builtin-renderers.md.e53b0e63.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkroot=self.webpackChunkroot||[]).push([[517],{48319:function(a,l,s){s.r(l);var i=s(91941),c=s(79671),t=s(81164),o=s(61716),u=s(11066),h=s(51634),m=s(11430),n=s(7196),j=s(50959),e=s(11527);function r(){var d=(0,n.eL)(),_=d.texts;return(0,e.jsx)(n.dY,{children:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)("div",{className:"markdown",children:[(0,e.jsxs)("h1",{id:"\u5185\u7F6E\u6E32\u67D3\u5668-renderers",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u5185\u7F6E\u6E32\u67D3\u5668-renderers",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"\u5185\u7F6E\u6E32\u67D3\u5668 renderers"]}),(0,e.jsxs)("p",{children:[(0,e.jsx)("code",{children:_[0].value}),_[1].value]})]}),(0,e.jsx)(n.Dl,{demo:{id:"examples-form-render-react-500-builtin-renderers-demo-0"},previewerProps:{}}),(0,e.jsxs)("div",{className:"markdown",children:[(0,e.jsxs)("p",{children:[_[2].value,(0,e.jsx)("code",{children:_[3].value}),_[4].value,(0,e.jsx)("a",{href:"https://ant-design.antgroup.com/components/overview-cn/",children:_[5].value}),_[6].value]}),(0,e.jsxs)("h2",{id:"\u516C\u5171\u533A",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u516C\u5171\u533A",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"\u516C\u5171\u533A"]}),(0,e.jsxs)("p",{children:[_[7].value,(0,e.jsx)("code",{children:_[8].value}),_[9].value,(0,e.jsx)("code",{children:_[10].value}),_[11].value,(0,e.jsx)("a",{href:"https://github.com/Barrior/schema-render/blob/main/packages/form-render-react/src/locale/zh_CN.ts#L10",children:_[12].value}),_[13].value]}),(0,e.jsxs)("h2",{id:"description",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#description",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"Description"]}),(0,e.jsx)("p",{children:_[14].value}),(0,e.jsxs)("h2",{id:"datepicker",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#datepicker",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"DatePicker"]}),(0,e.jsxs)("p",{children:[_[15].value,(0,e.jsx)("a",{href:"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString",children:_[16].value}),_[17].value]}),(0,e.jsxs)("h2",{id:"daterangepicker",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#daterangepicker",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"DateRangePicker"]}),(0,e.jsx)("p",{children:_[18].value}),(0,e.jsxs)("p",{children:[_[19].value,(0,e.jsx)("code",{children:_[20].value}),_[21].value,(0,e.jsx)("a",{href:"https://github.com/Barrior/schema-render/blob/main/packages/form-render-react/src/locale/zh_CN.ts#L11",children:_[22].value}),_[23].value]}),(0,e.jsxs)("h2",{id:"object",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#object",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"Object"]}),(0,e.jsxs)("ul",{children:[(0,e.jsxs)("li",{children:[(0,e.jsx)("code",{children:_[24].value}),_[25].value,(0,e.jsx)("a",{href:"https://ant-design.antgroup.com/components/collapse-cn#collapse",children:_[26].value}),_[27].value]}),(0,e.jsxs)("li",{children:[(0,e.jsx)("code",{children:_[28].value}),_[29].value,(0,e.jsx)("a",{href:"https://ant-design.antgroup.com/components/collapse-cn#collapse",children:_[30].value}),_[31].value]})]}),(0,e.jsxs)("h2",{id:"objectnull",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#objectnull",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"ObjectNull"]}),(0,e.jsx)("p",{children:_[32].value}),(0,e.jsx)("ul",{children:(0,e.jsxs)("li",{children:[_[33].value,(0,e.jsx)("code",{children:_[34].value}),_[35].value,(0,e.jsx)("code",{children:_[36].value}),_[37].value]})})]})]})})}l.default=r}}]); diff --git a/examples__form-render-react__880-relation-checkbox.md.778c6473.chunk.css b/examples__form-render-react__880-relation-checkbox.md.778c6473.chunk.css new file mode 100644 index 0000000..563c5c9 --- /dev/null +++ b/examples__form-render-react__880-relation-checkbox.md.778c6473.chunk.css @@ -0,0 +1 @@ +.dumi-default-table{margin:24px 0 32px;transform:translate(0)}.dumi-default-table-content{overflow:auto}.dumi-default-table-content:before,.dumi-default-table-content:after{content:"";display:block;position:fixed;z-index:1;top:0;bottom:0;width:6px;pointer-events:none}.dumi-default-table-content[data-left-folded]:before{left:0;background-image:linear-gradient(to right,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-left-folded]:before{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content[data-right-folded]:after{right:0;background-image:linear-gradient(to left,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-right-folded]:after{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content>table>thead>tr>th,.dumi-default-table-content>table>tr>th{white-space:nowrap}.dumi-default-badge{display:inline-block;margin-inline-start:2px;padding:1px 8px;font-size:12px;font-weight:400;line-height:20px;border-radius:4px;vertical-align:top}.dumi-default-badge:not([type]),.dumi-default-badge[type=info]{color:#1677ff;background:#e2eeff}[data-prefers-color=dark] .dumi-default-badge:not([type]),[data-prefers-color=dark] .dumi-default-badge[type=info]{color:#1677ff;background:#002962}.dumi-default-badge[type=warning]{color:#d59200;background:#ffefcb}[data-prefers-color=dark] .dumi-default-badge[type=warning]{color:#d59200;background:#231800}.dumi-default-badge[type=success]{color:#208a41;background:#cbf3d7}[data-prefers-color=dark] .dumi-default-badge[type=success]{color:#208a41;background:#092712}.dumi-default-badge[type=error]{color:#ce1f31;background:#fbe2e5}[data-prefers-color=dark] .dumi-default-badge[type=error]{color:#ce1f31;background:#3c090e}.dumi-default-tree{padding:16px;margin:24px 0 32px;background:#fbfcfd;border:1px solid #e4e9ec;border-radius:2px;color:#30363f;overflow-y:auto}[data-prefers-color=dark] .dumi-default-tree{color:#c6c9cd;background:#020305;border-color:#1c2022}.dumi-default-tree small{padding-left:24px;color:#616d7f;font-size:14px;white-space:nowrap}[data-prefers-color=dark] .dumi-default-tree small{color:#616d7f}.dumi-default-tree small:before{content:"# "}.dumi-default-tree.rc-tree{transition:all .3s;line-height:1.5715;list-style:none;font-size:14px}.dumi-default-tree.rc-tree .rc-tree-treenode{position:relative;display:flex;align-items:flex-start}.dumi-default-tree.rc-tree .rc-tree-treenode:before{position:absolute;top:0;right:0;bottom:4px;left:0;transition:background .3s;content:""}.dumi-default-tree.rc-tree .rc-tree-treenode:hover:before{background:#eeeff0}[data-prefers-color=dark] .dumi-default-tree.rc-tree .rc-tree-treenode:hover:before{background:#1c1d1e}.dumi-default-tree.rc-tree .rc-tree-treenode>*{z-index:1}.dumi-default-tree.rc-tree .rc-tree-treenode span.rc-tree-switcher{display:flex;align-items:center;justify-content:center;width:24px;height:28px;margin-right:2px;line-height:28px;background:transparent;cursor:pointer;flex-shrink:0}.dumi-default-tree.rc-tree .rc-tree-treenode .rc-tree-node-content-wrapper{flex:auto;min-height:28px;margin:0;padding:0 4px;line-height:28px;cursor:pointer;white-space:nowrap}.dumi-default-tree.rc-tree .rc-tree-treenode .rc-tree-node-content-wrapper .rc-tree-iconEle{margin-right:6px;vertical-align:0}.dumi-default-tree.rc-tree.rc-tree-show-line .rc-tree-indent{display:inline-block;height:0;vertical-align:bottom;flex-shrink:0}.dumi-default-tree.rc-tree.rc-tree-show-line .rc-tree-indent-unit{position:relative;display:inline-block;width:24px;height:28px}.dumi-default-tree.rc-tree.rc-tree-show-line .rc-tree-indent-unit:before{position:absolute;top:0;right:12px;bottom:-4px;border-right:1px solid #d9d9d9;content:""}.dumi-default-tree.rc-tree.rc-tree-show-line .rc-tree-indent-unit-end:before{display:none}.dumi-default-tree.rc-tree.rc-tree-show-line .tree-switcher-leaf-line{position:relative;z-index:1;display:inline-block;width:100%;height:100%;text-align:center}.dumi-default-tree.rc-tree.rc-tree-show-line .tree-switcher-leaf-line:before{position:absolute;top:0;bottom:-4px;margin-left:-1px;border-left:1px solid #d9d9d9;content:" "}.dumi-default-tree.rc-tree.rc-tree-show-line .tree-switcher-leaf-line:after{position:absolute;top:0;bottom:14px;width:12px;margin-left:-1px;border-bottom:1px solid #d9d9d9;content:" "}.dumi-default-tree.rc-tree.rc-tree-show-line .rc-tree-treenode-leaf-last .tree-switcher-leaf-line:before{height:14px}.dumi-default-tree-icon{width:16px;color:#30363f;vertical-align:-.225em;display:inline-block}[data-prefers-color=dark] .dumi-default-tree-icon{color:#c6c9cd}.ant-motion-collapse{overflow:hidden;transition:height .2s ease-in-out,opacity .2s ease-in-out!important} diff --git a/examples__form-render-react__880-relation-checkbox.md.c17cf0d4.async.js b/examples__form-render-react__880-relation-checkbox.md.c17cf0d4.async.js new file mode 100644 index 0000000..723bb86 --- /dev/null +++ b/examples__form-render-react__880-relation-checkbox.md.c17cf0d4.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkroot=self.webpackChunkroot||[]).push([[5822],{16217:function(u,d,s){s.r(d);var a=s(91941),i=s(79671),o=s(81164),m=s(61716),t=s(11066),h=s(51634),c=s(11430),n=s(7196),x=s(50959),_=s(11527);function l(){var r=(0,n.eL)(),e=r.texts;return(0,_.jsx)(n.dY,{children:(0,_.jsxs)(_.Fragment,{children:[(0,_.jsxs)("div",{className:"markdown",children:[(0,_.jsxs)("h1",{id:"\u8054\u52A8---checkbox-\u9009\u4E2D\u503C",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u8054\u52A8---checkbox-\u9009\u4E2D\u503C",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"\u8054\u52A8 - Checkbox \u9009\u4E2D\u503C"]}),(0,_.jsx)("p",{children:e[0].value}),(0,_.jsxs)("ul",{children:[(0,_.jsxs)("li",{children:[e[1].value,(0,_.jsx)("code",{children:e[2].value}),e[3].value,(0,_.jsx)("code",{children:e[4].value}),e[5].value]}),(0,_.jsxs)("li",{children:[e[6].value,(0,_.jsx)("code",{children:e[7].value}),e[8].value,(0,_.jsx)("code",{children:e[9].value}),e[10].value]})]}),(0,_.jsxs)("h2",{id:"\u81EA\u5B9A\u4E49\u6E32\u67D3\u5668\u5B9E\u73B0",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u81EA\u5B9A\u4E49\u6E32\u67D3\u5668\u5B9E\u73B0",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"\u81EA\u5B9A\u4E49\u6E32\u67D3\u5668\u5B9E\u73B0"]}),(0,_.jsx)("p",{children:e[11].value})]}),(0,_.jsx)(n.Dl,{demo:{id:"examples-form-render-react-880-relation-checkbox-demo-0"},previewerProps:{}}),(0,_.jsxs)("div",{className:"markdown",children:[(0,_.jsxs)("h2",{id:"schema-\u65B9\u5F0F\u5B9E\u73B0",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#schema-\u65B9\u5F0F\u5B9E\u73B0",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"Schema \u65B9\u5F0F\u5B9E\u73B0"]}),(0,_.jsx)("p",{children:e[12].value})]}),(0,_.jsx)(n.Dl,{demo:{id:"examples-form-render-react-880-relation-checkbox-demo-1"},previewerProps:{}})]})})}d.default=l}}]); diff --git a/examples__form-render-react__881-relation-select-multiple.md.3441656d.async.js b/examples__form-render-react__881-relation-select-multiple.md.3441656d.async.js new file mode 100644 index 0000000..c3cd147 --- /dev/null +++ b/examples__form-render-react__881-relation-select-multiple.md.3441656d.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkroot=self.webpackChunkroot||[]).push([[8773],{21044:function(t,d,e){e.r(d);var u=e(91941),m=e(79671),a=e(81164),i=e(61716),o=e(11066),h=e(51634),c=e(11430),n=e(7196),E=e(50959),_=e(11527);function l(){var r=(0,n.eL)(),s=r.texts;return(0,_.jsx)(n.dY,{children:(0,_.jsxs)(_.Fragment,{children:[(0,_.jsxs)("div",{className:"markdown",children:[(0,_.jsxs)("h1",{id:"\u8054\u52A8---selectmultiple-\u9009\u4E2D\u503C",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u8054\u52A8---selectmultiple-\u9009\u4E2D\u503C",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"\u8054\u52A8 - SelectMultiple \u9009\u4E2D\u503C"]}),(0,_.jsxs)("p",{children:[s[0].value,(0,_.jsx)("code",{children:s[1].value}),s[2].value]}),(0,_.jsxs)("h2",{id:"schema-\u65B9\u5F0F\u5B9E\u73B0",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#schema-\u65B9\u5F0F\u5B9E\u73B0",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"Schema \u65B9\u5F0F\u5B9E\u73B0"]}),(0,_.jsx)("p",{children:s[3].value})]}),(0,_.jsx)(n.Dl,{demo:{id:"examples-form-render-react-881-relation-select-multiple-demo-0"},previewerProps:{}})]})})}d.default=l}}]); diff --git a/examples__form-render-react__881-relation-select-multiple.md.778c6473.chunk.css b/examples__form-render-react__881-relation-select-multiple.md.778c6473.chunk.css new file mode 100644 index 0000000..563c5c9 --- /dev/null +++ b/examples__form-render-react__881-relation-select-multiple.md.778c6473.chunk.css @@ -0,0 +1 @@ +.dumi-default-table{margin:24px 0 32px;transform:translate(0)}.dumi-default-table-content{overflow:auto}.dumi-default-table-content:before,.dumi-default-table-content:after{content:"";display:block;position:fixed;z-index:1;top:0;bottom:0;width:6px;pointer-events:none}.dumi-default-table-content[data-left-folded]:before{left:0;background-image:linear-gradient(to right,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-left-folded]:before{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content[data-right-folded]:after{right:0;background-image:linear-gradient(to left,rgba(0,0,0,.1),rgba(0,0,0,0))}[data-prefers-color=dark] .dumi-default-table-content[data-right-folded]:after{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.dumi-default-table-content>table>thead>tr>th,.dumi-default-table-content>table>tr>th{white-space:nowrap}.dumi-default-badge{display:inline-block;margin-inline-start:2px;padding:1px 8px;font-size:12px;font-weight:400;line-height:20px;border-radius:4px;vertical-align:top}.dumi-default-badge:not([type]),.dumi-default-badge[type=info]{color:#1677ff;background:#e2eeff}[data-prefers-color=dark] .dumi-default-badge:not([type]),[data-prefers-color=dark] .dumi-default-badge[type=info]{color:#1677ff;background:#002962}.dumi-default-badge[type=warning]{color:#d59200;background:#ffefcb}[data-prefers-color=dark] .dumi-default-badge[type=warning]{color:#d59200;background:#231800}.dumi-default-badge[type=success]{color:#208a41;background:#cbf3d7}[data-prefers-color=dark] .dumi-default-badge[type=success]{color:#208a41;background:#092712}.dumi-default-badge[type=error]{color:#ce1f31;background:#fbe2e5}[data-prefers-color=dark] .dumi-default-badge[type=error]{color:#ce1f31;background:#3c090e}.dumi-default-tree{padding:16px;margin:24px 0 32px;background:#fbfcfd;border:1px solid #e4e9ec;border-radius:2px;color:#30363f;overflow-y:auto}[data-prefers-color=dark] .dumi-default-tree{color:#c6c9cd;background:#020305;border-color:#1c2022}.dumi-default-tree small{padding-left:24px;color:#616d7f;font-size:14px;white-space:nowrap}[data-prefers-color=dark] .dumi-default-tree small{color:#616d7f}.dumi-default-tree small:before{content:"# "}.dumi-default-tree.rc-tree{transition:all .3s;line-height:1.5715;list-style:none;font-size:14px}.dumi-default-tree.rc-tree .rc-tree-treenode{position:relative;display:flex;align-items:flex-start}.dumi-default-tree.rc-tree .rc-tree-treenode:before{position:absolute;top:0;right:0;bottom:4px;left:0;transition:background .3s;content:""}.dumi-default-tree.rc-tree .rc-tree-treenode:hover:before{background:#eeeff0}[data-prefers-color=dark] .dumi-default-tree.rc-tree .rc-tree-treenode:hover:before{background:#1c1d1e}.dumi-default-tree.rc-tree .rc-tree-treenode>*{z-index:1}.dumi-default-tree.rc-tree .rc-tree-treenode span.rc-tree-switcher{display:flex;align-items:center;justify-content:center;width:24px;height:28px;margin-right:2px;line-height:28px;background:transparent;cursor:pointer;flex-shrink:0}.dumi-default-tree.rc-tree .rc-tree-treenode .rc-tree-node-content-wrapper{flex:auto;min-height:28px;margin:0;padding:0 4px;line-height:28px;cursor:pointer;white-space:nowrap}.dumi-default-tree.rc-tree .rc-tree-treenode .rc-tree-node-content-wrapper .rc-tree-iconEle{margin-right:6px;vertical-align:0}.dumi-default-tree.rc-tree.rc-tree-show-line .rc-tree-indent{display:inline-block;height:0;vertical-align:bottom;flex-shrink:0}.dumi-default-tree.rc-tree.rc-tree-show-line .rc-tree-indent-unit{position:relative;display:inline-block;width:24px;height:28px}.dumi-default-tree.rc-tree.rc-tree-show-line .rc-tree-indent-unit:before{position:absolute;top:0;right:12px;bottom:-4px;border-right:1px solid #d9d9d9;content:""}.dumi-default-tree.rc-tree.rc-tree-show-line .rc-tree-indent-unit-end:before{display:none}.dumi-default-tree.rc-tree.rc-tree-show-line .tree-switcher-leaf-line{position:relative;z-index:1;display:inline-block;width:100%;height:100%;text-align:center}.dumi-default-tree.rc-tree.rc-tree-show-line .tree-switcher-leaf-line:before{position:absolute;top:0;bottom:-4px;margin-left:-1px;border-left:1px solid #d9d9d9;content:" "}.dumi-default-tree.rc-tree.rc-tree-show-line .tree-switcher-leaf-line:after{position:absolute;top:0;bottom:14px;width:12px;margin-left:-1px;border-bottom:1px solid #d9d9d9;content:" "}.dumi-default-tree.rc-tree.rc-tree-show-line .rc-tree-treenode-leaf-last .tree-switcher-leaf-line:before{height:14px}.dumi-default-tree-icon{width:16px;color:#30363f;vertical-align:-.225em;display:inline-block}[data-prefers-color=dark] .dumi-default-tree-icon{color:#c6c9cd}.ant-motion-collapse{overflow:hidden;transition:height .2s ease-in-out,opacity .2s ease-in-out!important} diff --git a/form-render-react/001-intro/index.html b/form-render-react/001-intro/index.html index b7c1401..c7c86b0 100644 --- a/form-render-react/001-intro/index.html +++ b/form-render-react/001-intro/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/form-render-react/100-item-layout/index.html b/form-render-react/100-item-layout/index.html index b7c1401..c7c86b0 100644 --- a/form-render-react/100-item-layout/index.html +++ b/form-render-react/100-item-layout/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/form-render-react/200-label/index.html b/form-render-react/200-label/index.html index b7c1401..c7c86b0 100644 --- a/form-render-react/200-label/index.html +++ b/form-render-react/200-label/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/form-render-react/300-actions/index.html b/form-render-react/300-actions/index.html index b7c1401..c7c86b0 100644 --- a/form-render-react/300-actions/index.html +++ b/form-render-react/300-actions/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/form-render-react/500-builtin-renderers/index.html b/form-render-react/500-builtin-renderers/index.html index b7c1401..c7c86b0 100644 --- a/form-render-react/500-builtin-renderers/index.html +++ b/form-render-react/500-builtin-renderers/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/form-render-react/700-locale/index.html b/form-render-react/700-locale/index.html index b7c1401..c7c86b0 100644 --- a/form-render-react/700-locale/index.html +++ b/form-render-react/700-locale/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/form-render-react/800-api-reference/index.html b/form-render-react/800-api-reference/index.html index b7c1401..c7c86b0 100644 --- a/form-render-react/800-api-reference/index.html +++ b/form-render-react/800-api-reference/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/form-render-react/850-position/index.html b/form-render-react/850-position/index.html index b7c1401..c7c86b0 100644 --- a/form-render-react/850-position/index.html +++ b/form-render-react/850-position/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/form-render-react/851-steps/index.html b/form-render-react/851-steps/index.html index b7c1401..c7c86b0 100644 --- a/form-render-react/851-steps/index.html +++ b/form-render-react/851-steps/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/form-render-react/880-relation-checkbox/index.html b/form-render-react/880-relation-checkbox/index.html new file mode 100644 index 0000000..c7c86b0 --- /dev/null +++ b/form-render-react/880-relation-checkbox/index.html @@ -0,0 +1,172 @@ + + + + + + + + + + + +
+ + + \ No newline at end of file diff --git a/form-render-react/881-relation-select-multiple/index.html b/form-render-react/881-relation-select-multiple/index.html new file mode 100644 index 0000000..c7c86b0 --- /dev/null +++ b/form-render-react/881-relation-select-multiple/index.html @@ -0,0 +1,172 @@ + + + + + + + + + + + +
+ + + \ No newline at end of file diff --git a/form-render-react/890-benchmark/index.html b/form-render-react/890-benchmark/index.html index b7c1401..c7c86b0 100644 --- a/form-render-react/890-benchmark/index.html +++ b/form-render-react/890-benchmark/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/form-render-react/900-renderers-warning/index.html b/form-render-react/900-renderers-warning/index.html index b7c1401..c7c86b0 100644 --- a/form-render-react/900-renderers-warning/index.html +++ b/form-render-react/900-renderers-warning/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/form-render-react/901-label-vertical/index.html b/form-render-react/901-label-vertical/index.html index b7c1401..c7c86b0 100644 --- a/form-render-react/901-label-vertical/index.html +++ b/form-render-react/901-label-vertical/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/index.html b/index.html index b7c1401..c7c86b0 100644 --- a/index.html +++ b/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/search-react/001-intro/index.html b/search-react/001-intro/index.html index b7c1401..c7c86b0 100644 --- a/search-react/001-intro/index.html +++ b/search-react/001-intro/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/search-react/300-actions/index.html b/search-react/300-actions/index.html index b7c1401..c7c86b0 100644 --- a/search-react/300-actions/index.html +++ b/search-react/300-actions/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/search-react/700-locale/index.html b/search-react/700-locale/index.html index b7c1401..c7c86b0 100644 --- a/search-react/700-locale/index.html +++ b/search-react/700-locale/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/search-react/800-api-reference/index.html b/search-react/800-api-reference/index.html index b7c1401..c7c86b0 100644 --- a/search-react/800-api-reference/index.html +++ b/search-react/800-api-reference/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/search-react/850-category-title/index.html b/search-react/850-category-title/index.html index b7c1401..c7c86b0 100644 --- a/search-react/850-category-title/index.html +++ b/search-react/850-category-title/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/search-table-react/001-intro/index.html b/search-table-react/001-intro/index.html index b7c1401..c7c86b0 100644 --- a/search-table-react/001-intro/index.html +++ b/search-table-react/001-intro/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/umi.2f1e7d94.js b/umi.2f1e7d94.js new file mode 100644 index 0000000..a61c2d3 --- /dev/null +++ b/umi.2f1e7d94.js @@ -0,0 +1,6548 @@ +!(function(){var hd=Object.defineProperty,yd=Object.defineProperties;var gd=Object.getOwnPropertyDescriptors;var Fc=Object.getOwnPropertySymbols;var Id=Object.prototype.hasOwnProperty,xd=Object.prototype.propertyIsEnumerable;var wc=(d,f,e)=>f in d?hd(d,f,{enumerable:!0,configurable:!0,writable:!0,value:e}):d[f]=e,ws=(d,f)=>{for(var e in f||(f={}))Id.call(f,e)&&wc(d,e,f[e]);if(Fc)for(var e of Fc(f))xd.call(f,e)&&wc(d,e,f[e]);return d},Eu=(d,f)=>yd(d,gd(f));(function(){var __webpack_modules__={64064:function(d,f,e){"use strict";e.d(f,{kG:function(){return h}});function i(y){return Math.floor(Math.log(y)*Math.LOG10E)}function a(y,I){if(typeof y.repeat=="function")return y.repeat(I);for(var x=new Array(I),T=0;T0}),Re=[],we=0,_e=X;we<_e.length;we++){var ke=_e[we],Ue=ke.split("/");if(Ue.length===0)throw new Error("Invalid number skeleton");for(var ht=Ue[0],It=Ue.slice(1),Et=0,Zt=It;Et1)throw new RangeError("integer-width stems only accept a single optional option");_e.options[0].replace(xe,function(It,Et,Zt,je,rt,it){if(Et)X.minimumIntegerDigits=Zt.length;else{if(je&&rt)throw new Error("We currently do not support maximum integer digits");if(it)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Be.test(_e.stem)){X.minimumIntegerDigits=_e.stem.length;continue}if(re.test(_e.stem)){if(_e.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");_e.stem.replace(re,function(It,Et,Zt,je,rt,it){return Zt==="*"?X.minimumFractionDigits=Et.length:je&&je[0]==="#"?X.maximumFractionDigits=je.length:rt&&it?(X.minimumFractionDigits=rt.length,X.maximumFractionDigits=rt.length+it.length):(X.minimumFractionDigits=Et.length,X.maximumFractionDigits=Et.length),""});var ke=_e.options[0];ke==="w"?X=(0,i.pi)((0,i.pi)({},X),{trailingZeroDisplay:"stripIfInteger"}):ke&&(X=(0,i.pi)((0,i.pi)({},X),$e(ke)));continue}if(te.test(_e.stem)){X=(0,i.pi)((0,i.pi)({},X),$e(_e.stem));continue}var Ue=se(_e.stem);Ue&&(X=(0,i.pi)((0,i.pi)({},X),Ue));var ht=q(_e.stem);ht&&(X=(0,i.pi)((0,i.pi)({},X),ht))}return X}var K={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","h","K"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TL:["H","hB","hb","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function ae(g,X){for(var Re="",we=0;we>1),It="a",Et=b(X);for((Et=="H"||Et=="k")&&(ht=0);ht-- >0;)Re+=It;for(;Ue-- >0;)Re=Et+Re}else _e==="J"?Re+="H":Re+=_e}return Re}function b(g){var X=g.hourCycle;if(X===void 0&&g.hourCycles&&g.hourCycles.length&&(X=g.hourCycles[0]),X)switch(X){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var Re=g.language,we;Re!=="root"&&(we=g.maximize().region);var _e=K[we||""]||K[Re||""]||K["".concat(Re,"-001")]||K["001"];return _e[0]}var j,Y=new RegExp("^".concat(L.source,"*")),he=new RegExp("".concat(L.source,"*$"));function k(g,X){return{start:g,end:X}}var C=!!String.prototype.startsWith,W=!!String.fromCodePoint,V=!!Object.fromEntries,_=!!String.prototype.codePointAt,oe=!!String.prototype.trimStart,We=!!String.prototype.trimEnd,tt=!!Number.isSafeInteger,gt=tt?Number.isSafeInteger:function(g){return typeof g=="number"&&isFinite(g)&&Math.floor(g)===g&&Math.abs(g)<=9007199254740991},ct=!0;try{var at=pe("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");ct=((j=at.exec("a"))===null||j===void 0?void 0:j[0])==="a"}catch(g){ct=!1}var vt=C?function(X,Re,we){return X.startsWith(Re,we)}:function(X,Re,we){return X.slice(we,we+Re.length)===Re},ie=W?String.fromCodePoint:function(){for(var X=[],Re=0;Reke;){if(Ue=X[ke++],Ue>1114111)throw RangeError(Ue+" is not a valid code point");we+=Ue<65536?String.fromCharCode(Ue):String.fromCharCode(((Ue-=65536)>>10)+55296,Ue%1024+56320)}return we},Ie=V?Object.fromEntries:function(X){for(var Re={},we=0,_e=X;we<_e.length;we++){var ke=_e[we],Ue=ke[0],ht=ke[1];Re[Ue]=ht}return Re},Oe=_?function(X,Re){return X.codePointAt(Re)}:function(X,Re){var we=X.length;if(!(Re<0||Re>=we)){var _e=X.charCodeAt(Re),ke;return _e<55296||_e>56319||Re+1===we||(ke=X.charCodeAt(Re+1))<56320||ke>57343?_e:(_e-55296<<10)+(ke-56320)+65536}},Pe=oe?function(X){return X.trimStart()}:function(X){return X.replace(Y,"")},He=We?function(X){return X.trimEnd()}:function(X){return X.replace(he,"")};function pe(g,X){return new RegExp(g,X)}var Ce;if(ct){var Me=pe("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Ce=function(X,Re){var we;Me.lastIndex=Re;var _e=Me.exec(X);return(we=_e[1])!==null&&we!==void 0?we:""}}else Ce=function(X,Re){for(var we=[];;){var _e=Oe(X,Re);if(_e===void 0||$t(_e)||Gt(_e))break;we.push(_e),Re+=_e>=65536?2:1}return ie.apply(void 0,we)};var et=function(){function g(X,Re){Re===void 0&&(Re={}),this.message=X,this.position={offset:0,line:1,column:1},this.ignoreTag=!!Re.ignoreTag,this.locale=Re.locale,this.requiresOtherClause=!!Re.requiresOtherClause,this.shouldParseSkeletons=!!Re.shouldParseSkeletons}return g.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},g.prototype.parseMessage=function(X,Re,we){for(var _e=[];!this.isEOF();){var ke=this.char();if(ke===123){var Ue=this.parseArgument(X,we);if(Ue.err)return Ue;_e.push(Ue.val)}else{if(ke===125&&X>0)break;if(ke===35&&(Re==="plural"||Re==="selectordinal")){var ht=this.clonePosition();this.bump(),_e.push({type:r.pound,location:k(ht,this.clonePosition())})}else if(ke===60&&!this.ignoreTag&&this.peek()===47){if(we)break;return this.error(a.UNMATCHED_CLOSING_TAG,k(this.clonePosition(),this.clonePosition()))}else if(ke===60&&!this.ignoreTag&&mt(this.peek()||0)){var Ue=this.parseTag(X,Re);if(Ue.err)return Ue;_e.push(Ue.val)}else{var Ue=this.parseLiteral(X,Re);if(Ue.err)return Ue;_e.push(Ue.val)}}}return{val:_e,err:null}},g.prototype.parseTag=function(X,Re){var we=this.clonePosition();this.bump();var _e=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:r.literal,value:"<".concat(_e,"/>"),location:k(we,this.clonePosition())},err:null};if(this.bumpIf(">")){var ke=this.parseMessage(X+1,Re,!0);if(ke.err)return ke;var Ue=ke.val,ht=this.clonePosition();if(this.bumpIf("")?{val:{type:r.tag,value:_e,children:Ue,location:k(we,this.clonePosition())},err:null}:this.error(a.INVALID_TAG,k(ht,this.clonePosition())))}else return this.error(a.UNCLOSED_TAG,k(we,this.clonePosition()))}else return this.error(a.INVALID_TAG,k(we,this.clonePosition()))},g.prototype.parseTagName=function(){var X=this.offset();for(this.bump();!this.isEOF()&&Pt(this.char());)this.bump();return this.message.slice(X,this.offset())},g.prototype.parseLiteral=function(X,Re){for(var we=this.clonePosition(),_e="";;){var ke=this.tryParseQuote(Re);if(ke){_e+=ke;continue}var Ue=this.tryParseUnquoted(X,Re);if(Ue){_e+=Ue;continue}var ht=this.tryParseLeftAngleBracket();if(ht){_e+=ht;continue}break}var It=k(we,this.clonePosition());return{val:{type:r.literal,value:_e,location:It},err:null}},g.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Ut(this.peek()||0))?(this.bump(),"<"):null},g.prototype.tryParseQuote=function(X){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(X==="plural"||X==="selectordinal")break;return null;default:return null}this.bump();var Re=[this.char()];for(this.bump();!this.isEOF();){var we=this.char();if(we===39)if(this.peek()===39)Re.push(39),this.bump();else{this.bump();break}else Re.push(we);this.bump()}return ie.apply(void 0,Re)},g.prototype.tryParseUnquoted=function(X,Re){if(this.isEOF())return null;var we=this.char();return we===60||we===123||we===35&&(Re==="plural"||Re==="selectordinal")||we===125&&X>0?null:(this.bump(),ie(we))},g.prototype.parseArgument=function(X,Re){var we=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(a.EXPECT_ARGUMENT_CLOSING_BRACE,k(we,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(a.EMPTY_ARGUMENT,k(we,this.clonePosition()));var _e=this.parseIdentifierIfPossible().value;if(!_e)return this.error(a.MALFORMED_ARGUMENT,k(we,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(a.EXPECT_ARGUMENT_CLOSING_BRACE,k(we,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:r.argument,value:_e,location:k(we,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(a.EXPECT_ARGUMENT_CLOSING_BRACE,k(we,this.clonePosition())):this.parseArgumentOptions(X,Re,_e,we);default:return this.error(a.MALFORMED_ARGUMENT,k(we,this.clonePosition()))}},g.prototype.parseIdentifierIfPossible=function(){var X=this.clonePosition(),Re=this.offset(),we=Ce(this.message,Re),_e=Re+we.length;this.bumpTo(_e);var ke=this.clonePosition(),Ue=k(X,ke);return{value:we,location:Ue}},g.prototype.parseArgumentOptions=function(X,Re,we,_e){var ke,Ue=this.clonePosition(),ht=this.parseIdentifierIfPossible().value,It=this.clonePosition();switch(ht){case"":return this.error(a.EXPECT_ARGUMENT_TYPE,k(Ue,It));case"number":case"date":case"time":{this.bumpSpace();var Et=null;if(this.bumpIf(",")){this.bumpSpace();var Zt=this.clonePosition(),je=this.parseSimpleArgStyleIfPossible();if(je.err)return je;var rt=He(je.val);if(rt.length===0)return this.error(a.EXPECT_ARGUMENT_STYLE,k(this.clonePosition(),this.clonePosition()));var it=k(Zt,this.clonePosition());Et={style:rt,styleLocation:it}}var Ge=this.tryParseArgumentClose(_e);if(Ge.err)return Ge;var Tt=k(_e,this.clonePosition());if(Et&&vt(Et==null?void 0:Et.style,"::",0)){var Rt=Pe(Et.style.slice(2));if(ht==="number"){var je=this.parseNumberSkeletonFromString(Rt,Et.styleLocation);return je.err?je:{val:{type:r.number,value:we,location:Tt,style:je.val},err:null}}else{if(Rt.length===0)return this.error(a.EXPECT_DATE_TIME_SKELETON,Tt);var Kt=Rt;this.locale&&(Kt=ae(Rt,this.locale));var rt={type:l.dateTime,pattern:Kt,location:Et.styleLocation,parsedOptions:this.shouldParseSkeletons?O(Kt):{}},en=ht==="date"?r.date:r.time;return{val:{type:en,value:we,location:Tt,style:rt},err:null}}}return{val:{type:ht==="number"?r.number:ht==="date"?r.date:r.time,value:we,location:Tt,style:(ke=Et==null?void 0:Et.style)!==null&&ke!==void 0?ke:null},err:null}}case"plural":case"selectordinal":case"select":{var hn=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(a.EXPECT_SELECT_ARGUMENT_OPTIONS,k(hn,(0,i.pi)({},hn)));this.bumpSpace();var Yn=this.parseIdentifierIfPossible(),Pn=0;if(ht!=="select"&&Yn.value==="offset"){if(!this.bumpIf(":"))return this.error(a.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,k(this.clonePosition(),this.clonePosition()));this.bumpSpace();var je=this.tryParseDecimalInteger(a.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,a.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(je.err)return je;this.bumpSpace(),Yn=this.parseIdentifierIfPossible(),Pn=je.val}var Qn=this.tryParsePluralOrSelectOptions(X,ht,Re,Yn);if(Qn.err)return Qn;var Ge=this.tryParseArgumentClose(_e);if(Ge.err)return Ge;var rr=k(_e,this.clonePosition());return ht==="select"?{val:{type:r.select,value:we,options:Ie(Qn.val),location:rr},err:null}:{val:{type:r.plural,value:we,options:Ie(Qn.val),offset:Pn,pluralType:ht==="plural"?"cardinal":"ordinal",location:rr},err:null}}default:return this.error(a.INVALID_ARGUMENT_TYPE,k(Ue,It))}},g.prototype.tryParseArgumentClose=function(X){return this.isEOF()||this.char()!==125?this.error(a.EXPECT_ARGUMENT_CLOSING_BRACE,k(X,this.clonePosition())):(this.bump(),{val:!0,err:null})},g.prototype.parseSimpleArgStyleIfPossible=function(){for(var X=0,Re=this.clonePosition();!this.isEOF();){var we=this.char();switch(we){case 39:{this.bump();var _e=this.clonePosition();if(!this.bumpUntil("'"))return this.error(a.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,k(_e,this.clonePosition()));this.bump();break}case 123:{X+=1,this.bump();break}case 125:{if(X>0)X-=1;else return{val:this.message.slice(Re.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(Re.offset,this.offset()),err:null}},g.prototype.parseNumberSkeletonFromString=function(X,Re){var we=[];try{we=U(X)}catch(_e){return this.error(a.INVALID_NUMBER_SKELETON,Re)}return{val:{type:l.number,tokens:we,location:Re,parsedOptions:this.shouldParseSkeletons?$(we):{}},err:null}},g.prototype.tryParsePluralOrSelectOptions=function(X,Re,we,_e){for(var ke,Ue=!1,ht=[],It=new Set,Et=_e.value,Zt=_e.location;;){if(Et.length===0){var je=this.clonePosition();if(Re!=="select"&&this.bumpIf("=")){var rt=this.tryParseDecimalInteger(a.EXPECT_PLURAL_ARGUMENT_SELECTOR,a.INVALID_PLURAL_ARGUMENT_SELECTOR);if(rt.err)return rt;Zt=k(je,this.clonePosition()),Et=this.message.slice(je.offset,this.offset())}else break}if(It.has(Et))return this.error(Re==="select"?a.DUPLICATE_SELECT_ARGUMENT_SELECTOR:a.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,Zt);Et==="other"&&(Ue=!0),this.bumpSpace();var it=this.clonePosition();if(!this.bumpIf("{"))return this.error(Re==="select"?a.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:a.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,k(this.clonePosition(),this.clonePosition()));var Ge=this.parseMessage(X+1,Re,we);if(Ge.err)return Ge;var Tt=this.tryParseArgumentClose(it);if(Tt.err)return Tt;ht.push([Et,{value:Ge.val,location:k(it,this.clonePosition())}]),It.add(Et),this.bumpSpace(),ke=this.parseIdentifierIfPossible(),Et=ke.value,Zt=ke.location}return ht.length===0?this.error(Re==="select"?a.EXPECT_SELECT_ARGUMENT_SELECTOR:a.EXPECT_PLURAL_ARGUMENT_SELECTOR,k(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!Ue?this.error(a.MISSING_OTHER_CLAUSE,k(this.clonePosition(),this.clonePosition())):{val:ht,err:null}},g.prototype.tryParseDecimalInteger=function(X,Re){var we=1,_e=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(we=-1);for(var ke=!1,Ue=0;!this.isEOF();){var ht=this.char();if(ht>=48&&ht<=57)ke=!0,Ue=Ue*10+(ht-48),this.bump();else break}var It=k(_e,this.clonePosition());return ke?(Ue*=we,gt(Ue)?{val:Ue,err:null}:this.error(Re,It)):this.error(X,It)},g.prototype.offset=function(){return this.position.offset},g.prototype.isEOF=function(){return this.offset()===this.message.length},g.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},g.prototype.char=function(){var X=this.position.offset;if(X>=this.message.length)throw Error("out of bound");var Re=Oe(this.message,X);if(Re===void 0)throw Error("Offset ".concat(X," is at invalid UTF-16 code unit boundary"));return Re},g.prototype.error=function(X,Re){return{val:null,err:{kind:X,message:this.message,location:Re}}},g.prototype.bump=function(){if(!this.isEOF()){var X=this.char();X===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=X<65536?1:2)}},g.prototype.bumpIf=function(X){if(vt(this.message,X,this.offset())){for(var Re=0;Re=0?(this.bumpTo(we),!0):(this.bumpTo(this.message.length),!1)},g.prototype.bumpTo=function(X){if(this.offset()>X)throw Error("targetOffset ".concat(X," must be greater than or equal to the current offset ").concat(this.offset()));for(X=Math.min(X,this.message.length);;){var Re=this.offset();if(Re===X)break;if(Re>X)throw Error("targetOffset ".concat(X," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},g.prototype.bumpSpace=function(){for(;!this.isEOF()&&$t(this.char());)this.bump()},g.prototype.peek=function(){if(this.isEOF())return null;var X=this.char(),Re=this.offset(),we=this.message.charCodeAt(Re+(X>=65536?2:1));return we!=null?we:null},g}();function mt(g){return g>=97&&g<=122||g>=65&&g<=90}function Ut(g){return mt(g)||g===47}function Pt(g){return g===45||g===46||g>=48&&g<=57||g===95||g>=97&&g<=122||g>=65&&g<=90||g==183||g>=192&&g<=214||g>=216&&g<=246||g>=248&&g<=893||g>=895&&g<=8191||g>=8204&&g<=8205||g>=8255&&g<=8256||g>=8304&&g<=8591||g>=11264&&g<=12271||g>=12289&&g<=55295||g>=63744&&g<=64975||g>=65008&&g<=65533||g>=65536&&g<=983039}function $t(g){return g>=9&&g<=13||g===32||g===133||g>=8206&&g<=8207||g===8232||g===8233}function Gt(g){return g>=33&&g<=35||g===36||g>=37&&g<=39||g===40||g===41||g===42||g===43||g===44||g===45||g>=46&&g<=47||g>=58&&g<=59||g>=60&&g<=62||g>=63&&g<=64||g===91||g===92||g===93||g===94||g===96||g===123||g===124||g===125||g===126||g===161||g>=162&&g<=165||g===166||g===167||g===169||g===171||g===172||g===174||g===176||g===177||g===182||g===187||g===191||g===215||g===247||g>=8208&&g<=8213||g>=8214&&g<=8215||g===8216||g===8217||g===8218||g>=8219&&g<=8220||g===8221||g===8222||g===8223||g>=8224&&g<=8231||g>=8240&&g<=8248||g===8249||g===8250||g>=8251&&g<=8254||g>=8257&&g<=8259||g===8260||g===8261||g===8262||g>=8263&&g<=8273||g===8274||g===8275||g>=8277&&g<=8286||g>=8592&&g<=8596||g>=8597&&g<=8601||g>=8602&&g<=8603||g>=8604&&g<=8607||g===8608||g>=8609&&g<=8610||g===8611||g>=8612&&g<=8613||g===8614||g>=8615&&g<=8621||g===8622||g>=8623&&g<=8653||g>=8654&&g<=8655||g>=8656&&g<=8657||g===8658||g===8659||g===8660||g>=8661&&g<=8691||g>=8692&&g<=8959||g>=8960&&g<=8967||g===8968||g===8969||g===8970||g===8971||g>=8972&&g<=8991||g>=8992&&g<=8993||g>=8994&&g<=9e3||g===9001||g===9002||g>=9003&&g<=9083||g===9084||g>=9085&&g<=9114||g>=9115&&g<=9139||g>=9140&&g<=9179||g>=9180&&g<=9185||g>=9186&&g<=9254||g>=9255&&g<=9279||g>=9280&&g<=9290||g>=9291&&g<=9311||g>=9472&&g<=9654||g===9655||g>=9656&&g<=9664||g===9665||g>=9666&&g<=9719||g>=9720&&g<=9727||g>=9728&&g<=9838||g===9839||g>=9840&&g<=10087||g===10088||g===10089||g===10090||g===10091||g===10092||g===10093||g===10094||g===10095||g===10096||g===10097||g===10098||g===10099||g===10100||g===10101||g>=10132&&g<=10175||g>=10176&&g<=10180||g===10181||g===10182||g>=10183&&g<=10213||g===10214||g===10215||g===10216||g===10217||g===10218||g===10219||g===10220||g===10221||g===10222||g===10223||g>=10224&&g<=10239||g>=10240&&g<=10495||g>=10496&&g<=10626||g===10627||g===10628||g===10629||g===10630||g===10631||g===10632||g===10633||g===10634||g===10635||g===10636||g===10637||g===10638||g===10639||g===10640||g===10641||g===10642||g===10643||g===10644||g===10645||g===10646||g===10647||g===10648||g>=10649&&g<=10711||g===10712||g===10713||g===10714||g===10715||g>=10716&&g<=10747||g===10748||g===10749||g>=10750&&g<=11007||g>=11008&&g<=11055||g>=11056&&g<=11076||g>=11077&&g<=11078||g>=11079&&g<=11084||g>=11085&&g<=11123||g>=11124&&g<=11125||g>=11126&&g<=11157||g===11158||g>=11159&&g<=11263||g>=11776&&g<=11777||g===11778||g===11779||g===11780||g===11781||g>=11782&&g<=11784||g===11785||g===11786||g===11787||g===11788||g===11789||g>=11790&&g<=11798||g===11799||g>=11800&&g<=11801||g===11802||g===11803||g===11804||g===11805||g>=11806&&g<=11807||g===11808||g===11809||g===11810||g===11811||g===11812||g===11813||g===11814||g===11815||g===11816||g===11817||g>=11818&&g<=11822||g===11823||g>=11824&&g<=11833||g>=11834&&g<=11835||g>=11836&&g<=11839||g===11840||g===11841||g===11842||g>=11843&&g<=11855||g>=11856&&g<=11857||g===11858||g>=11859&&g<=11903||g>=12289&&g<=12291||g===12296||g===12297||g===12298||g===12299||g===12300||g===12301||g===12302||g===12303||g===12304||g===12305||g>=12306&&g<=12307||g===12308||g===12309||g===12310||g===12311||g===12312||g===12313||g===12314||g===12315||g===12316||g===12317||g>=12318&&g<=12319||g===12320||g===12336||g===64830||g===64831||g>=65093&&g<=65094}function Ve(g){g.forEach(function(X){if(delete X.location,h(X)||y(X))for(var Re in X.options)delete X.options[Re].location,Ve(X.options[Re].value);else o(X)&&T(X.style)||(m(X)||v(X))&&E(X.style)?delete X.style.location:x(X)&&Ve(X.children)})}function nt(g,X){X===void 0&&(X={}),X=(0,i.pi)({shouldParseSkeletons:!0,requiresOtherClause:!0},X);var Re=new et(g,X).parse();if(Re.err){var we=SyntaxError(a[Re.err.kind]);throw we.location=Re.err.location,we.originalMessage=Re.err.message,we}return X!=null&&X.captureLocation||Ve(Re.val),Re.val}var st=null},45013:function(d,f,e){"use strict";e.d(f,{$6:function(){return v},OV:function(){return s},Qe:function(){return o},X9:function(){return m},gb:function(){return c},wI:function(){return l}});var i=e(13206),a;(function(h){h.FORMAT_ERROR="FORMAT_ERROR",h.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",h.INVALID_CONFIG="INVALID_CONFIG",h.MISSING_DATA="MISSING_DATA",h.MISSING_TRANSLATION="MISSING_TRANSLATION"})(a||(a={}));var r=function(h){(0,i.ZT)(y,h);function y(I,x,T){var E=this,P=T?T instanceof Error?T:new Error(String(T)):void 0;return E=h.call(this,"[@formatjs/intl Error ".concat(I,"] ").concat(x,` +`).concat(P?` +`.concat(P.message,` +`).concat(P.stack):""))||this,E.code=I,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(E,y),E}return y}(Error),l=function(h){(0,i.ZT)(y,h);function y(I,x){return h.call(this,a.UNSUPPORTED_FORMATTER,I,x)||this}return y}(r),s=function(h){(0,i.ZT)(y,h);function y(I,x){return h.call(this,a.INVALID_CONFIG,I,x)||this}return y}(r),c=function(h){(0,i.ZT)(y,h);function y(I,x){return h.call(this,a.MISSING_DATA,I,x)||this}return y}(r),o=function(h){(0,i.ZT)(y,h);function y(I,x,T){var E=h.call(this,a.FORMAT_ERROR,"".concat(I,` +Locale: `).concat(x,` +`),T)||this;return E.locale=x,E}return y}(r),m=function(h){(0,i.ZT)(y,h);function y(I,x,T,E){var P=h.call(this,"".concat(I,` +MessageID: `).concat(T==null?void 0:T.id,` +Default Message: `).concat(T==null?void 0:T.defaultMessage,` +Description: `).concat(T==null?void 0:T.description,` +`),x,E)||this;return P.descriptor=T,P.locale=x,P}return y}(o),v=function(h){(0,i.ZT)(y,h);function y(I,x){var T=h.call(this,a.MISSING_TRANSLATION,'Missing message: "'.concat(I.id,'" for locale "').concat(x,'", using ').concat(I.defaultMessage?"default message (".concat(typeof I.defaultMessage=="string"?I.defaultMessage:I.defaultMessage.map(function(E){var P;return(P=E.value)!==null&&P!==void 0?P:JSON.stringify(E)}).join(),")"):"id"," as fallback."))||this;return T.descriptor=I,T}return y}(r)},3062:function(d,f,e){"use strict";e.d(f,{L6:function(){return s},Sn:function(){return v},TB:function(){return I},Z0:function(){return m},ax:function(){return y}});var i=e(13206),a=e(24849),r=e(75344),l=e(45013);function s(x,T,E){return E===void 0&&(E={}),T.reduce(function(P,R){return R in x?P[R]=x[R]:R in E&&(P[R]=E[R]),P},{})}var c=function(x){},o=function(x){},m={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:c,onWarn:o};function v(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function h(x){return{create:function(){return{get:function(T){return x[T]},set:function(T,E){x[T]=E}}}}}function y(x){x===void 0&&(x=v());var T=Intl.RelativeTimeFormat,E=Intl.ListFormat,P=Intl.DisplayNames,R=(0,r.H)(function(){for(var F,O=[],D=0;D(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var P="rc-util-locker-".concat(Date.now()),R=0;function L(re){var te=!!re,xe=a.useState(function(){return R+=1,"".concat(P,"_").concat(R)}),Be=(0,i.Z)(xe,1),$e=Be[0];(0,h.Z)(function(){if(te){var se=(0,T.o)(document.body).width,q=E();(0,x.hq)(` +html body { + overflow-y: hidden; + `.concat(q?"width: calc(100% - ".concat(se,"px);"):"",` +}`),$e)}else(0,x.jL)($e);return function(){(0,x.jL)($e)}},[te,$e])}var N=!1;function F(re){return typeof re=="boolean"&&(N=re),N}var O=function(te){return te===!1?!1:!(0,l.Z)()||!te?null:typeof te=="string"?document.querySelector(te):typeof te=="function"?te():te},D=a.forwardRef(function(re,te){var xe=re.open,Be=re.autoLock,$e=re.getContainer,se=re.debug,q=re.autoDestroy,Q=q===void 0?!0:q,$=re.children,K=a.useState(xe),ae=(0,i.Z)(K,2),b=ae[0],j=ae[1],Y=b||xe;a.useEffect(function(){(Q||xe)&&j(xe)},[xe,Q]);var he=a.useState(function(){return O($e)}),k=(0,i.Z)(he,2),C=k[0],W=k[1];a.useEffect(function(){var Ie=O($e);W(Ie!=null?Ie:null)});var V=I(Y&&!C,se),_=(0,i.Z)(V,2),oe=_[0],We=_[1],tt=C!=null?C:oe;L(Be&&xe&&(0,l.Z)()&&(tt===oe||tt===document.body));var gt=null;if($&&(0,c.Yr)($)&&te){var ct=$;gt=ct.ref}var at=(0,c.x1)(gt,te);if(!Y||!(0,l.Z)()||C===void 0)return null;var vt=tt===!1||F(),ie=$;return te&&(ie=a.cloneElement($,{ref:at})),a.createElement(m.Provider,{value:We},vt?ie:(0,r.createPortal)(ie,tt))}),U=D,ee=U},3480:function(d,f,e){"use strict";e.d(f,{f:function(){return m},m:function(){return c}});var i=e(37635),a=e.n(i),r=e(57213),l=e.n(r),s=e(18280),c,o="/";function m(y){var I;return y.type==="hash"?I=(0,s.q_)():y.type==="memory"?I=(0,s.PP)(y):I=(0,s.lX)(),y.basename&&(o=y.basename),c=l()(l()({},I),{},{push:function(T,E){I.push(v(T,I),E)},replace:function(T,E){I.replace(v(T,I),E)},get location(){return I.location},get action(){return I.action}}),I}function v(y,I){if(typeof y=="string")return"".concat(h(o)).concat(y);if(a()(y)==="object"){var x=I.location.pathname;return l()(l()({},y),{},{pathname:y.pathname?"".concat(h(o)).concat(y.pathname):x})}else throw new Error("Unexpected to: ".concat(y))}function h(y){return y.slice(-1)==="/"?y.slice(0,-1):y}},14273:function(d,f,e){"use strict";e.d(f,{gD:function(){return Et},We:function(){return Zt}});var i={};e.r(i),e.d(i,{modifyClientRenderOpts:function(){return m}});var a={};e.r(a),e.d(a,{innerProvider:function(){return I}});var r={};e.r(r),e.d(r,{patchRoutes:function(){return P}});var l={};e.r(l),e.d(l,{i18nProvider:function(){return Re}});var s={};e.r(s),e.d(s,{modifyClientRenderOpts:function(){return we}});var c=e(57213),o=e.n(c);function m(je){var rt=je.history,it=je.hydrate;return o()(o()({},je),{},{hydrate:it&&!["/~demos/:id"].includes(rt.location.pathname)})}var v=e(50959),h=e(62363),y={},I=function(rt){return v.createElement(h.B6,{context:y},rt)},x=e(98601),T=e(12454),E=e.n(T),P=function(rt){var it=rt.routes;Object.values(it).forEach(function(Ge){if(x.C3[Ge.id]){var Tt,Rt;if((Tt=Ge.meta)!==null&&Tt!==void 0&&(Rt=Tt.frontmatter)!==null&&Rt!==void 0&&Rt.debug||x.C3[Ge.id].frontmatter.debug)delete it[Ge.id];else{var Kt;Ge.meta=E()(Ge.meta,x.C3[Ge.id]),Ge.meta.tabs=(Kt=Ge.meta.tabs)===null||Kt===void 0?void 0:Kt.map(function(en){var hn={frontmatter:{title:x.eA[en].title},toc:[],texts:[]};return o()(o()({},x.eA[en]),{},{meta:x.C3[en]||hn})})}}})},R=e(54306),L=e.n(R),N=e(7196),F=e(3062),O=e(13206),D=e(93289),U=e(98459),ee=e(64064),re=e(24849),te=e(45013),xe=e(17117);function Be(je,rt){return Object.keys(je).reduce(function(it,Ge){return it[Ge]=(0,O.pi)({timeZone:rt},je[Ge]),it},{})}function $e(je,rt){var it=Object.keys((0,O.pi)((0,O.pi)({},je),rt));return it.reduce(function(Ge,Tt){return Ge[Tt]=(0,O.pi)((0,O.pi)({},je[Tt]||{}),rt[Tt]||{}),Ge},{})}function se(je,rt){if(!rt)return je;var it=re.C.formats;return(0,O.pi)((0,O.pi)((0,O.pi)({},it),je),{date:$e(Be(it.date,rt),Be(je.date||{},rt)),time:$e(Be(it.time,rt),Be(je.time||{},rt))})}var q=function(je,rt,it,Ge,Tt){var Rt=je.locale,Kt=je.formats,en=je.messages,hn=je.defaultLocale,Yn=je.defaultFormats,Pn=je.fallbackOnEmptyString,Qn=je.onError,rr=je.timeZone,Jr=je.defaultRichTextElements;it===void 0&&(it={id:""});var Jt=it.id,Ct=it.defaultMessage;(0,ee.kG)(!!Jt,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var zt=String(Jt),_t=en&&Object.prototype.hasOwnProperty.call(en,zt)&&en[zt];if(Array.isArray(_t)&&_t.length===1&&_t[0].type===xe.wD.literal)return _t[0].value;if(!Ge&&_t&&typeof _t=="string"&&!Jr)return _t.replace(/'\{(.*?)\}'/gi,"{$1}");if(Ge=(0,O.pi)((0,O.pi)({},Jr),Ge||{}),Kt=se(Kt,rr),Yn=se(Yn,rr),!_t){if(Pn===!1&&_t==="")return _t;if((!Ct||Rt&&Rt.toLowerCase()!==hn.toLowerCase())&&Qn(new te.$6(it,Rt)),Ct)try{var an=rt.getMessageFormat(Ct,hn,Yn,Tt);return an.format(Ge)}catch(Sn){return Qn(new te.X9('Error formatting default message for: "'.concat(zt,'", rendering default message verbatim'),Rt,it,Sn)),typeof Ct=="string"?Ct:zt}return zt}try{var an=rt.getMessageFormat(_t,Rt,Kt,(0,O.pi)({formatters:rt},Tt||{}));return an.format(Ge)}catch(Sn){Qn(new te.X9('Error formatting message: "'.concat(zt,'", using ').concat(Ct?"default message":"id"," as fallback."),Rt,it,Sn))}if(Ct)try{var an=rt.getMessageFormat(Ct,hn,Yn,Tt);return an.format(Ge)}catch(Sn){Qn(new te.X9('Error formatting the default message for: "'.concat(zt,'", rendering message verbatim'),Rt,it,Sn))}return typeof _t=="string"?_t:typeof Ct=="string"?Ct:zt},Q=["style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function $(je,rt,it){var Ge=je.locale,Tt=je.formats,Rt=je.onError;it===void 0&&(it={});var Kt=it.format,en=Kt&&(0,F.TB)(Tt,"number",Kt,Rt)||{},hn=(0,F.L6)(it,Q,en);return rt(Ge,hn)}function K(je,rt,it,Ge){Ge===void 0&&(Ge={});try{return $(je,rt,Ge).format(it)}catch(Tt){je.onError(new te.Qe("Error formatting number.",je.locale,Tt))}return String(it)}function ae(je,rt,it,Ge){Ge===void 0&&(Ge={});try{return $(je,rt,Ge).formatToParts(it)}catch(Tt){je.onError(new te.Qe("Error formatting number.",je.locale,Tt))}return[]}var b=e(97566),j=["numeric","style"];function Y(je,rt,it){var Ge=je.locale,Tt=je.formats,Rt=je.onError;it===void 0&&(it={});var Kt=it.format,en=!!Kt&&(0,F.TB)(Tt,"relative",Kt,Rt)||{},hn=(0,F.L6)(it,j,en);return rt(Ge,hn)}function he(je,rt,it,Ge,Tt){Tt===void 0&&(Tt={}),Ge||(Ge="second");var Rt=Intl.RelativeTimeFormat;Rt||je.onError(new b.u_(`Intl.RelativeTimeFormat is not available in this environment. +Try polyfilling it using "@formatjs/intl-relativetimeformat" +`,b.jK.MISSING_INTL_API));try{return Y(je,rt,Tt).format(it,Ge)}catch(Kt){je.onError(new te.Qe("Error formatting relative time.",je.locale,Kt))}return String(it)}var k=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function C(je,rt,it,Ge){var Tt=je.locale,Rt=je.formats,Kt=je.onError,en=je.timeZone;Ge===void 0&&(Ge={});var hn=Ge.format,Yn=(0,O.pi)((0,O.pi)({},en&&{timeZone:en}),hn&&(0,F.TB)(Rt,rt,hn,Kt)),Pn=(0,F.L6)(Ge,k,Yn);return rt==="time"&&!Pn.hour&&!Pn.minute&&!Pn.second&&!Pn.timeStyle&&!Pn.dateStyle&&(Pn=(0,O.pi)((0,O.pi)({},Pn),{hour:"numeric",minute:"numeric"})),it(Tt,Pn)}function W(je,rt){for(var it=[],Ge=2;Ge0&&arguments[0]!==void 0?arguments[0]:[],H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return M.length!==H.length||M.some((z,be)=>!Object.is(z,H[be]))}function N(M){if(M==null||typeof M.didCatch!="boolean"||typeof M.resetErrorBoundary!="function")throw new Error("ErrorBoundaryContext not found");return!0}function F(){const M=useContext(E);N(M);const[H,z]=useState({error:null,hasError:!1}),be=useMemo(()=>({resetBoundary:()=>{M==null||M.resetErrorBoundary(),z({error:null,hasError:!1})},showBoundary:ut=>z({error:ut,hasError:!0})}),[M==null?void 0:M.resetErrorBoundary]);if(H.hasError)throw H.error;return be}function O(M,H){const z=forwardRef((ut,xt)=>createElement(R,H,createElement(M,Eu(ws({},ut),{ref:xt})))),be=M.displayName||M.name||"Unknown";return z.displayName="withErrorBoundary(".concat(be,")"),z}function D(){return D=Object.assign?Object.assign.bind():function(M){for(var H=1;HM.length)&&(H=M.length);for(var z=0,be=new Array(H);z1&&(typeof window=="undefined"||window.innerWidth>1024)){for(var zn=0;znM.length)&&(H=M.length);for(var z=0,be=new Array(H);zM.length)&&(H=M.length);for(var z=0,be=new Array(H);zM.length)&&(H=M.length);for(var z=0,be=new Array(H);z',isBinary:!1},Bt[sn]={content:(0,ie.AM)(jt.react),isBinary:!1};var Jn=ie.EV.applyPlugins({type:i.Ac.modify,key:"modifyCodeSandboxData",initialValue:{files:Bt},args:M});return(0,vt.Z)(Jn)}var mt=function(H,z){var be,ut=document.createElement("form"),xt=document.createElement("input"),St=et(H);ut.method="POST",ut.target="_blank",ut.style.display="none",ut.action=(z==null?void 0:z.api)||Me,ut.appendChild(xt),ut.setAttribute("data-demo",((be=H.assets)===null||be===void 0?void 0:be.id)||""),xt.name="parameters",xt.value=St,document.body.appendChild(ut),ut.submit(),ut.remove()};const Ut=500,Pt=20,$t=300,Gt="https://stackblitz.com",Ve=["angular-cli","create-react-app","html","javascript","node","polymer","typescript","vue"],nt=["project","search","ports","settings"],st=["light","dark"],g=["editor","preview"],X={clickToLoad:M=>we("ctl",M),devToolsHeight:M=>ke("devtoolsheight",M),forceEmbedLayout:M=>we("embed",M),hideDevTools:M=>we("hidedevtools",M),hideExplorer:M=>we("hideExplorer",M),hideNavigation:M=>we("hideNavigation",M),openFile:M=>ht("file",M),showSidebar:M=>_e("showSidebar",M),sidebarView:M=>Ue("sidebarView",M,nt),startScript:M=>ht("startScript",M),terminalHeight:M=>ke("terminalHeight",M),theme:M=>Ue("theme",M,st),view:M=>Ue("view",M,g),zenMode:M=>we("zenMode",M)};function Re(M={}){const H=Object.entries(M).map(([z,be])=>be!=null&&X.hasOwnProperty(z)?X[z](be):"").filter(Boolean);return H.length?`?${H.join("&")}`:""}function we(M,H){return H===!0?`${M}=1`:""}function _e(M,H){return typeof H=="boolean"?`${M}=${H?"1":"0"}`:""}function ke(M,H){if(typeof H=="number"&&!Number.isNaN(H)){const z=Math.min(100,Math.max(0,H));return`${M}=${encodeURIComponent(Math.round(z))}`}return""}function Ue(M,H="",z=[]){return z.includes(H)?`${M}=${encodeURIComponent(H)}`:""}function ht(M,H){return(Array.isArray(H)?H:[H]).filter(be=>typeof be=="string"&&be.trim()!=="").map(be=>`${M}=${encodeURIComponent(be)}`).join("&")}function It(){return Math.random().toString(36).slice(2,6)+Math.random().toString(36).slice(2,6)}function Et(M,H){return`${je(H)}${M}${Re(H)}`}function Zt(M,H){const z={forceEmbedLayout:!0};return H&&typeof H=="object"&&Object.assign(z,H),`${je(z)}${M}${Re(z)}`}function je(M={}){return(typeof M.origin=="string"?M.origin:Gt).replace(/\/$/,"")}function rt(M,H,z){if(!H||!M||!M.parentNode)throw new Error("Invalid Element");M.id&&(H.id=M.id),M.className&&(H.className=M.className),Tt(H,z),M.replaceWith(H)}function it(M){if(typeof M=="string"){const H=document.getElementById(M);if(!H)throw new Error(`Could not find element with id '${M}'`);return H}else if(M instanceof HTMLElement)return M;throw new Error(`Invalid element: ${M}`)}function Ge(M){return M&&M.newWindow===!1?"_self":"_blank"}function Tt(M,H={}){const z=Object.hasOwnProperty.call(H,"height")?`${H.height}`:`${$t}`,be=Object.hasOwnProperty.call(H,"width")?`${H.width}`:void 0;M.setAttribute("height",z),be?M.setAttribute("width",be):M.setAttribute("style","width:100%;")}class Rt{constructor(H){this.pending={},this.port=H,this.port.onmessage=this.messageListener.bind(this)}request({type:H,payload:z}){return new Promise((be,ut)=>{const xt=It();this.pending[xt]={resolve:be,reject:ut},this.port.postMessage({type:H,payload:Eu(ws({},z),{__reqid:xt})})})}messageListener(H){var At;if(typeof((At=H.data.payload)==null?void 0:At.__reqid)!="string")return;const{type:z,payload:be}=H.data,{__reqid:ut,__success:xt,__error:St}=be;this.pending[ut]&&(xt?this.pending[ut].resolve(this.cleanResult(be)):this.pending[ut].reject(St?`${z}: ${St}`:z),delete this.pending[ut])}cleanResult(H){const z=ws({},H);return delete z.__reqid,delete z.__success,delete z.__error,Object.keys(z).length?z:null}}class Kt{constructor(H,z){this.editor={openFile:be=>this._rdc.request({type:"SDK_OPEN_FILE",payload:{path:be}}),setCurrentFile:be=>this._rdc.request({type:"SDK_SET_CURRENT_FILE",payload:{path:be}}),setTheme:be=>this._rdc.request({type:"SDK_SET_UI_THEME",payload:{theme:be}}),setView:be=>this._rdc.request({type:"SDK_SET_UI_VIEW",payload:{view:be}}),showSidebar:(be=!0)=>this._rdc.request({type:"SDK_TOGGLE_SIDEBAR",payload:{visible:be}})},this.preview={origin:"",getUrl:()=>this._rdc.request({type:"SDK_GET_PREVIEW_URL",payload:{}}).then(be=>{var ut;return(ut=be==null?void 0:be.url)!=null?ut:null}),setUrl:(be="/")=>{if(typeof be!="string"||!be.startsWith("/"))throw new Error(`Invalid argument: expected a path starting with '/', got '${be}'`);return this._rdc.request({type:"SDK_SET_PREVIEW_URL",payload:{path:be}})}},this._rdc=new Rt(H),Object.defineProperty(this.preview,"origin",{value:typeof z.previewOrigin=="string"?z.previewOrigin:null,writable:!1})}applyFsDiff(H){const z=be=>be!==null&&typeof be=="object";if(!z(H)||!z(H.create))throw new Error("Invalid diff object: expected diff.create to be an object.");if(!Array.isArray(H.destroy))throw new Error("Invalid diff object: expected diff.destroy to be an array.");return this._rdc.request({type:"SDK_APPLY_FS_DIFF",payload:H})}getDependencies(){return this._rdc.request({type:"SDK_GET_DEPS_SNAPSHOT",payload:{}})}getFsSnapshot(){return this._rdc.request({type:"SDK_GET_FS_SNAPSHOT",payload:{}})}}const en=[];class hn{constructor(H){this.id=It(),this.element=H,this.pending=new Promise((z,be)=>{const ut=({data:jt,ports:sn})=>{(jt==null?void 0:jt.action)==="SDK_INIT_SUCCESS"&&jt.id===this.id&&(this.vm=new Kt(sn[0],jt.payload),z(this.vm),St())},xt=()=>{var jt;(jt=this.element.contentWindow)==null||jt.postMessage({action:"SDK_INIT",id:this.id},"*")};function St(){window.clearInterval(Bt),window.removeEventListener("message",ut)}window.addEventListener("message",ut),xt();let At=0;const Bt=window.setInterval(()=>{if(this.vm){St();return}if(At>=Pt){St(),be("Timeout: Unable to establish a connection with the StackBlitz VM"),en.forEach((jt,sn)=>{jt.id===this.id&&en.splice(sn,1)});return}At++,xt()},Ut)}),en.push(this)}}const Yn=M=>{var z;const H=M instanceof Element?"element":"id";return(z=en.find(be=>be[H]===M))!=null?z:null};function Pn(M,H){const z=document.createElement("input");return z.type="hidden",z.name=M,z.value=H,z}function Qn(M){return M.replace(/\[/g,"%5B").replace(/\]/g,"%5D")}function rr({template:M,title:H,description:z,dependencies:be,files:ut,settings:xt}){if(!Ve.includes(M)){const jt=Ve.map(sn=>`'${sn}'`).join(", ");console.warn(`Unsupported project.template: must be one of ${jt}`)}const St=[],At=(jt,sn,Jn="")=>{St.push(Pn(jt,typeof sn=="string"?sn:Jn))};At("project[title]",H),typeof z=="string"&&z.length>0&&At("project[description]",z),At("project[template]",M,"javascript"),be&&(M==="node"?console.warn("Invalid project.dependencies: dependencies must be provided as a 'package.json' file when using the 'node' template."):At("project[dependencies]",JSON.stringify(be))),xt&&At("project[settings]",JSON.stringify(xt)),Object.entries(ut).forEach(([jt,sn])=>{At(`project[files][${Qn(jt)}]`,sn)});const Bt=document.createElement("form");return Bt.method="POST",Bt.setAttribute("style","display:none!important;"),Bt.append(...St),Bt}function Jr(M,H){const z=rr(M);return z.action=Zt("/run",H),z.id="sb_run",` + + + + ${z.outerHTML} + + \ No newline at end of file diff --git a/~demos/examples-core-react-002-quick-start-demo-0/index.html b/~demos/examples-core-react-002-quick-start-demo-0/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-002-quick-start-demo-0/index.html +++ b/~demos/examples-core-react-002-quick-start-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-002-quick-start-demo-1/index.html b/~demos/examples-core-react-002-quick-start-demo-1/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-002-quick-start-demo-1/index.html +++ b/~demos/examples-core-react-002-quick-start-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-003-schema-demo-0/index.html b/~demos/examples-core-react-003-schema-demo-0/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-003-schema-demo-0/index.html +++ b/~demos/examples-core-react-003-schema-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-003-schema-demo-1/index.html b/~demos/examples-core-react-003-schema-demo-1/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-003-schema-demo-1/index.html +++ b/~demos/examples-core-react-003-schema-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-003-schema-demo-2/index.html b/~demos/examples-core-react-003-schema-demo-2/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-003-schema-demo-2/index.html +++ b/~demos/examples-core-react-003-schema-demo-2/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-003-schema-demo-3/index.html b/~demos/examples-core-react-003-schema-demo-3/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-003-schema-demo-3/index.html +++ b/~demos/examples-core-react-003-schema-demo-3/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-003-schema-demo-4/index.html b/~demos/examples-core-react-003-schema-demo-4/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-003-schema-demo-4/index.html +++ b/~demos/examples-core-react-003-schema-demo-4/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-003-schema-demo-5/index.html b/~demos/examples-core-react-003-schema-demo-5/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-003-schema-demo-5/index.html +++ b/~demos/examples-core-react-003-schema-demo-5/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-100-layout-demo-0/index.html b/~demos/examples-core-react-100-layout-demo-0/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-100-layout-demo-0/index.html +++ b/~demos/examples-core-react-100-layout-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-100-layout-demo-1/index.html b/~demos/examples-core-react-100-layout-demo-1/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-100-layout-demo-1/index.html +++ b/~demos/examples-core-react-100-layout-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-100-layout-demo-2/index.html b/~demos/examples-core-react-100-layout-demo-2/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-100-layout-demo-2/index.html +++ b/~demos/examples-core-react-100-layout-demo-2/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-100-layout-demo-3/index.html b/~demos/examples-core-react-100-layout-demo-3/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-100-layout-demo-3/index.html +++ b/~demos/examples-core-react-100-layout-demo-3/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-100-layout-demo-4/index.html b/~demos/examples-core-react-100-layout-demo-4/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-100-layout-demo-4/index.html +++ b/~demos/examples-core-react-100-layout-demo-4/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-101-item-layout-demo-0/index.html b/~demos/examples-core-react-101-item-layout-demo-0/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-101-item-layout-demo-0/index.html +++ b/~demos/examples-core-react-101-item-layout-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-101-item-layout-demo-1/index.html b/~demos/examples-core-react-101-item-layout-demo-1/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-101-item-layout-demo-1/index.html +++ b/~demos/examples-core-react-101-item-layout-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-102-prefix-cls-demo-0/index.html b/~demos/examples-core-react-102-prefix-cls-demo-0/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-102-prefix-cls-demo-0/index.html +++ b/~demos/examples-core-react-102-prefix-cls-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-200-change-event-demo-0/index.html b/~demos/examples-core-react-200-change-event-demo-0/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-200-change-event-demo-0/index.html +++ b/~demos/examples-core-react-200-change-event-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-200-change-event-demo-1/index.html b/~demos/examples-core-react-200-change-event-demo-1/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-200-change-event-demo-1/index.html +++ b/~demos/examples-core-react-200-change-event-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-200-change-event-demo-2/index.html b/~demos/examples-core-react-200-change-event-demo-2/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-200-change-event-demo-2/index.html +++ b/~demos/examples-core-react-200-change-event-demo-2/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-200-change-event-demo-3/index.html b/~demos/examples-core-react-200-change-event-demo-3/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-200-change-event-demo-3/index.html +++ b/~demos/examples-core-react-200-change-event-demo-3/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-210-relation-demo-0/index.html b/~demos/examples-core-react-210-relation-demo-0/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-210-relation-demo-0/index.html +++ b/~demos/examples-core-react-210-relation-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-210-relation-demo-1/index.html b/~demos/examples-core-react-210-relation-demo-1/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-210-relation-demo-1/index.html +++ b/~demos/examples-core-react-210-relation-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-210-relation-demo-2/index.html b/~demos/examples-core-react-210-relation-demo-2/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-210-relation-demo-2/index.html +++ b/~demos/examples-core-react-210-relation-demo-2/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-220-renderer-demo-0/index.html b/~demos/examples-core-react-220-renderer-demo-0/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-220-renderer-demo-0/index.html +++ b/~demos/examples-core-react-220-renderer-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-220-renderer-demo-1/index.html b/~demos/examples-core-react-220-renderer-demo-1/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-220-renderer-demo-1/index.html +++ b/~demos/examples-core-react-220-renderer-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-220-renderer-demo-2/index.html b/~demos/examples-core-react-220-renderer-demo-2/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-220-renderer-demo-2/index.html +++ b/~demos/examples-core-react-220-renderer-demo-2/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-221-renderer-object-demo-0/index.html b/~demos/examples-core-react-221-renderer-object-demo-0/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-221-renderer-object-demo-0/index.html +++ b/~demos/examples-core-react-221-renderer-object-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-221-renderer-object-demo-1/index.html b/~demos/examples-core-react-221-renderer-object-demo-1/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-221-renderer-object-demo-1/index.html +++ b/~demos/examples-core-react-221-renderer-object-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-223-validator-demo-0/index.html b/~demos/examples-core-react-223-validator-demo-0/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-223-validator-demo-0/index.html +++ b/~demos/examples-core-react-223-validator-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-223-validator-demo-1/index.html b/~demos/examples-core-react-223-validator-demo-1/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-223-validator-demo-1/index.html +++ b/~demos/examples-core-react-223-validator-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-223-validator-demo-2/index.html b/~demos/examples-core-react-223-validator-demo-2/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-223-validator-demo-2/index.html +++ b/~demos/examples-core-react-223-validator-demo-2/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-223-validator-demo-3/index.html b/~demos/examples-core-react-223-validator-demo-3/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-223-validator-demo-3/index.html +++ b/~demos/examples-core-react-223-validator-demo-3/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-230-global-status-demo-0/index.html b/~demos/examples-core-react-230-global-status-demo-0/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-230-global-status-demo-0/index.html +++ b/~demos/examples-core-react-230-global-status-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-250-scroll-demo-0/index.html b/~demos/examples-core-react-250-scroll-demo-0/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-250-scroll-demo-0/index.html +++ b/~demos/examples-core-react-250-scroll-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-250-scroll-demo-1/index.html b/~demos/examples-core-react-250-scroll-demo-1/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-250-scroll-demo-1/index.html +++ b/~demos/examples-core-react-250-scroll-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-250-scroll-demo-2/index.html b/~demos/examples-core-react-250-scroll-demo-2/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-250-scroll-demo-2/index.html +++ b/~demos/examples-core-react-250-scroll-demo-2/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-280-open-api-demo-0/index.html b/~demos/examples-core-react-280-open-api-demo-0/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-280-open-api-demo-0/index.html +++ b/~demos/examples-core-react-280-open-api-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-280-open-api-demo-1/index.html b/~demos/examples-core-react-280-open-api-demo-1/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-280-open-api-demo-1/index.html +++ b/~demos/examples-core-react-280-open-api-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-280-open-api-demo-2/index.html b/~demos/examples-core-react-280-open-api-demo-2/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-280-open-api-demo-2/index.html +++ b/~demos/examples-core-react-280-open-api-demo-2/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-280-open-api-demo-3/index.html b/~demos/examples-core-react-280-open-api-demo-3/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-280-open-api-demo-3/index.html +++ b/~demos/examples-core-react-280-open-api-demo-3/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-280-open-api-demo-4/index.html b/~demos/examples-core-react-280-open-api-demo-4/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-280-open-api-demo-4/index.html +++ b/~demos/examples-core-react-280-open-api-demo-4/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-300-default-value-demo-0/index.html b/~demos/examples-core-react-300-default-value-demo-0/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-300-default-value-demo-0/index.html +++ b/~demos/examples-core-react-300-default-value-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-600-catch-error-tips-demo-0/index.html b/~demos/examples-core-react-600-catch-error-tips-demo-0/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-600-catch-error-tips-demo-0/index.html +++ b/~demos/examples-core-react-600-catch-error-tips-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-600-catch-error-tips-demo-1/index.html b/~demos/examples-core-react-600-catch-error-tips-demo-1/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-600-catch-error-tips-demo-1/index.html +++ b/~demos/examples-core-react-600-catch-error-tips-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-600-catch-error-tips-demo-2/index.html b/~demos/examples-core-react-600-catch-error-tips-demo-2/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-600-catch-error-tips-demo-2/index.html +++ b/~demos/examples-core-react-600-catch-error-tips-demo-2/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-700-locale-demo-0/index.html b/~demos/examples-core-react-700-locale-demo-0/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-700-locale-demo-0/index.html +++ b/~demos/examples-core-react-700-locale-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-890-benchmark-demo-0/index.html b/~demos/examples-core-react-890-benchmark-demo-0/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-890-benchmark-demo-0/index.html +++ b/~demos/examples-core-react-890-benchmark-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-890-benchmark-demo-1/index.html b/~demos/examples-core-react-890-benchmark-demo-1/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-890-benchmark-demo-1/index.html +++ b/~demos/examples-core-react-890-benchmark-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-950-async-demo-0/index.html b/~demos/examples-core-react-950-async-demo-0/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-950-async-demo-0/index.html +++ b/~demos/examples-core-react-950-async-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-951-controllable-demo-0/index.html b/~demos/examples-core-react-951-controllable-demo-0/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-951-controllable-demo-0/index.html +++ b/~demos/examples-core-react-951-controllable-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-951-controllable-demo-1/index.html b/~demos/examples-core-react-951-controllable-demo-1/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-951-controllable-demo-1/index.html +++ b/~demos/examples-core-react-951-controllable-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-951-controllable-demo-2/index.html b/~demos/examples-core-react-951-controllable-demo-2/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-951-controllable-demo-2/index.html +++ b/~demos/examples-core-react-951-controllable-demo-2/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-951-controllable-demo-3/index.html b/~demos/examples-core-react-951-controllable-demo-3/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-951-controllable-demo-3/index.html +++ b/~demos/examples-core-react-951-controllable-demo-3/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-951-controllable-demo-4/index.html b/~demos/examples-core-react-951-controllable-demo-4/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-951-controllable-demo-4/index.html +++ b/~demos/examples-core-react-951-controllable-demo-4/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-952-multi-renderer-on-change-demo-0/index.html b/~demos/examples-core-react-952-multi-renderer-on-change-demo-0/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-952-multi-renderer-on-change-demo-0/index.html +++ b/~demos/examples-core-react-952-multi-renderer-on-change-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-953-disabled-component-demo-0/index.html b/~demos/examples-core-react-953-disabled-component-demo-0/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-core-react-953-disabled-component-demo-0/index.html +++ b/~demos/examples-core-react-953-disabled-component-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-demo-0/index.html b/~demos/examples-demo-0/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-demo-0/index.html +++ b/~demos/examples-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-demo-1/index.html b/~demos/examples-demo-1/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-demo-1/index.html +++ b/~demos/examples-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-demo-2/index.html b/~demos/examples-demo-2/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-demo-2/index.html +++ b/~demos/examples-demo-2/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-001-intro-demo-0/index.html b/~demos/examples-form-render-react-001-intro-demo-0/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-form-render-react-001-intro-demo-0/index.html +++ b/~demos/examples-form-render-react-001-intro-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-100-item-layout-demo-0/index.html b/~demos/examples-form-render-react-100-item-layout-demo-0/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-form-render-react-100-item-layout-demo-0/index.html +++ b/~demos/examples-form-render-react-100-item-layout-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-100-item-layout-demo-1/index.html b/~demos/examples-form-render-react-100-item-layout-demo-1/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-form-render-react-100-item-layout-demo-1/index.html +++ b/~demos/examples-form-render-react-100-item-layout-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-200-label-demo-0/index.html b/~demos/examples-form-render-react-200-label-demo-0/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-form-render-react-200-label-demo-0/index.html +++ b/~demos/examples-form-render-react-200-label-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-200-label-demo-1/index.html b/~demos/examples-form-render-react-200-label-demo-1/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-form-render-react-200-label-demo-1/index.html +++ b/~demos/examples-form-render-react-200-label-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-200-label-demo-2/index.html b/~demos/examples-form-render-react-200-label-demo-2/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-form-render-react-200-label-demo-2/index.html +++ b/~demos/examples-form-render-react-200-label-demo-2/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-200-label-demo-3/index.html b/~demos/examples-form-render-react-200-label-demo-3/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-form-render-react-200-label-demo-3/index.html +++ b/~demos/examples-form-render-react-200-label-demo-3/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-300-actions-demo-0/index.html b/~demos/examples-form-render-react-300-actions-demo-0/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-form-render-react-300-actions-demo-0/index.html +++ b/~demos/examples-form-render-react-300-actions-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-300-actions-demo-1/index.html b/~demos/examples-form-render-react-300-actions-demo-1/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-form-render-react-300-actions-demo-1/index.html +++ b/~demos/examples-form-render-react-300-actions-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-300-actions-demo-2/index.html b/~demos/examples-form-render-react-300-actions-demo-2/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-form-render-react-300-actions-demo-2/index.html +++ b/~demos/examples-form-render-react-300-actions-demo-2/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-300-actions-demo-3/index.html b/~demos/examples-form-render-react-300-actions-demo-3/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-form-render-react-300-actions-demo-3/index.html +++ b/~demos/examples-form-render-react-300-actions-demo-3/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-300-actions-demo-4/index.html b/~demos/examples-form-render-react-300-actions-demo-4/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-form-render-react-300-actions-demo-4/index.html +++ b/~demos/examples-form-render-react-300-actions-demo-4/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-300-actions-demo-5/index.html b/~demos/examples-form-render-react-300-actions-demo-5/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-form-render-react-300-actions-demo-5/index.html +++ b/~demos/examples-form-render-react-300-actions-demo-5/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-300-actions-demo-6/index.html b/~demos/examples-form-render-react-300-actions-demo-6/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-form-render-react-300-actions-demo-6/index.html +++ b/~demos/examples-form-render-react-300-actions-demo-6/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-500-builtin-renderers-demo-0/index.html b/~demos/examples-form-render-react-500-builtin-renderers-demo-0/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-form-render-react-500-builtin-renderers-demo-0/index.html +++ b/~demos/examples-form-render-react-500-builtin-renderers-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-700-locale-demo-0/index.html b/~demos/examples-form-render-react-700-locale-demo-0/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-form-render-react-700-locale-demo-0/index.html +++ b/~demos/examples-form-render-react-700-locale-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-850-position-demo-0/index.html b/~demos/examples-form-render-react-850-position-demo-0/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-form-render-react-850-position-demo-0/index.html +++ b/~demos/examples-form-render-react-850-position-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-851-steps-demo-0/index.html b/~demos/examples-form-render-react-851-steps-demo-0/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-form-render-react-851-steps-demo-0/index.html +++ b/~demos/examples-form-render-react-851-steps-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-880-relation-checkbox-demo-0/index.html b/~demos/examples-form-render-react-880-relation-checkbox-demo-0/index.html new file mode 100644 index 0000000..c7c86b0 --- /dev/null +++ b/~demos/examples-form-render-react-880-relation-checkbox-demo-0/index.html @@ -0,0 +1,172 @@ + + + + + + + + + + + +
+ + + \ No newline at end of file diff --git a/~demos/examples-form-render-react-880-relation-checkbox-demo-1/index.html b/~demos/examples-form-render-react-880-relation-checkbox-demo-1/index.html new file mode 100644 index 0000000..c7c86b0 --- /dev/null +++ b/~demos/examples-form-render-react-880-relation-checkbox-demo-1/index.html @@ -0,0 +1,172 @@ + + + + + + + + + + + +
+ + + \ No newline at end of file diff --git a/~demos/examples-form-render-react-881-relation-select-multiple-demo-0/index.html b/~demos/examples-form-render-react-881-relation-select-multiple-demo-0/index.html new file mode 100644 index 0000000..c7c86b0 --- /dev/null +++ b/~demos/examples-form-render-react-881-relation-select-multiple-demo-0/index.html @@ -0,0 +1,172 @@ + + + + + + + + + + + +
+ + + \ No newline at end of file diff --git a/~demos/examples-form-render-react-890-benchmark-demo-0/index.html b/~demos/examples-form-render-react-890-benchmark-demo-0/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-form-render-react-890-benchmark-demo-0/index.html +++ b/~demos/examples-form-render-react-890-benchmark-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-890-benchmark-demo-1/index.html b/~demos/examples-form-render-react-890-benchmark-demo-1/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-form-render-react-890-benchmark-demo-1/index.html +++ b/~demos/examples-form-render-react-890-benchmark-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-900-renderers-warning-demo-0/index.html b/~demos/examples-form-render-react-900-renderers-warning-demo-0/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-form-render-react-900-renderers-warning-demo-0/index.html +++ b/~demos/examples-form-render-react-900-renderers-warning-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-901-label-vertical-demo-0/index.html b/~demos/examples-form-render-react-901-label-vertical-demo-0/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-form-render-react-901-label-vertical-demo-0/index.html +++ b/~demos/examples-form-render-react-901-label-vertical-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-901-label-vertical-demo-1/index.html b/~demos/examples-form-render-react-901-label-vertical-demo-1/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-form-render-react-901-label-vertical-demo-1/index.html +++ b/~demos/examples-form-render-react-901-label-vertical-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-search-react-001-intro-demo-0/index.html b/~demos/examples-search-react-001-intro-demo-0/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-search-react-001-intro-demo-0/index.html +++ b/~demos/examples-search-react-001-intro-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-search-react-300-actions-demo-0/index.html b/~demos/examples-search-react-300-actions-demo-0/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-search-react-300-actions-demo-0/index.html +++ b/~demos/examples-search-react-300-actions-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-search-react-700-locale-demo-0/index.html b/~demos/examples-search-react-700-locale-demo-0/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-search-react-700-locale-demo-0/index.html +++ b/~demos/examples-search-react-700-locale-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-search-react-850-category-title-demo-0/index.html b/~demos/examples-search-react-850-category-title-demo-0/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-search-react-850-category-title-demo-0/index.html +++ b/~demos/examples-search-react-850-category-title-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-search-react-850-category-title-demo-1/index.html b/~demos/examples-search-react-850-category-title-demo-1/index.html index b7c1401..c7c86b0 100644 --- a/~demos/examples-search-react-850-category-title-demo-1/index.html +++ b/~demos/examples-search-react-850-category-title-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file