@nocobase/app 1.9.0-beta.8 → 2.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/1145.4029b0be.async.js +3 -0
- package/dist/client/1617.dd671a87.async.js +6 -0
- package/dist/client/1833.82373d30.async.js +6 -0
- package/dist/client/2134.1d86e440.async.js +5 -0
- package/dist/client/2190.90c718a9.async.js +3 -0
- package/dist/client/2498.be8b1194.async.js +7 -0
- package/dist/client/260.5b02a0a5.async.js +4 -0
- package/dist/client/2953.2e77d77c.async.js +24 -0
- package/dist/client/3130.8c624281.async.js +35 -0
- package/dist/client/3170.6147bd19.async.js +24 -0
- package/dist/client/3255.e6303833.async.js +10 -0
- package/dist/client/3520.81fd6362.async.js +24 -0
- package/dist/client/3522.674f2264.async.js +4 -0
- package/dist/client/4088.0568ef31.async.js +5 -0
- package/dist/client/4205.c3eac46d.async.js +9 -0
- package/dist/client/4644.ae01f8a6.async.js +4 -0
- package/dist/client/4666.d20ff352.async.js +8 -0
- package/dist/client/4840.477401f9.async.js +8 -0
- package/dist/client/5068.72e9d750.async.js +5 -0
- package/dist/client/5087.468f5500.async.js +6 -0
- package/dist/client/5950.b83f8586.async.js +4 -0
- package/dist/client/6416.361c93ff.async.js +4 -0
- package/dist/client/6472.ac05f778.async.js +7 -0
- package/dist/client/6779.47fc1971.async.js +10 -0
- package/dist/client/6816.1ff200ac.async.js +5 -0
- package/dist/client/6996.836a3f7f.async.js +8 -0
- package/dist/client/7463.70ca58ce.async.js +20 -0
- package/dist/client/7522.1f91be5c.async.js +23 -0
- package/dist/client/7596.232a7185.async.js +10 -0
- package/dist/client/7688.85d6d7bb.async.js +4 -0
- package/dist/client/8106.829fd6b5.async.js +10 -0
- package/dist/client/816.b71d5e67.async.js +1 -0
- package/dist/client/8541.e3110aaa.async.js +8 -0
- package/dist/client/9017.28eacc5a.async.js +6 -0
- package/dist/client/937.a55819ab.async.js +5 -0
- package/dist/client/9489.25ca39a9.async.js +7 -0
- package/dist/client/9663.c04b2ad1.async.js +5 -0
- package/dist/client/9729.0d7a5c47.async.js +8 -0
- package/dist/client/9848.18f8d3db.async.js +4 -0
- package/dist/client/index.html +1 -1
- package/dist/client/index.html.tpl +1 -1
- package/dist/client/npm._at_ant-design.0bc226be.async.js +141 -0
- package/dist/client/npm._at_babel.aa6aa60c.async.js +3 -0
- package/dist/client/npm._at_codemirror.23366286.async.js +26 -0
- package/dist/client/npm._at_formily.7785699b.async.js +96 -0
- package/dist/client/npm._at_lezer.8e7184b5.async.js +2 -0
- package/dist/client/npm._at_rc-component.adfcb69e.async.js +8 -0
- package/dist/client/npm._at_react-spring.47360957.async.js +1 -0
- package/dist/client/npm._at_umijs.47085d01.async.js +7 -0
- package/dist/client/npm._at_use-gesture.15164819.async.js +1 -0
- package/dist/client/npm.acorn.1f389fab.async.js +6 -0
- package/dist/client/npm.ahooks.7b545023.async.js +6 -0
- package/dist/client/npm.antd-mobile.9ba7b196.async.js +1 -0
- package/dist/client/npm.antd-style.f89528fc.async.js +1 -0
- package/dist/client/npm.antd.8f85b075.async.js +935 -0
- package/dist/client/npm.babel-runtime.eed49798.async.js +1 -0
- package/dist/client/{npm.d3-selection.15d6ab5b.async.js → npm.d3-selection.605ec083.async.js} +1 -1
- package/dist/client/{npm.d3-transition.5fd82a9c.async.js → npm.d3-transition.1d02fe5d.async.js} +1 -1
- package/dist/client/{npm.dayjs.45ed1676.async.js → npm.dayjs.772d2a39.async.js} +1 -1
- package/dist/client/npm.dompurify.2dcd638d.async.js +2 -0
- package/dist/client/{npm.entities.8159ac3e.async.js → npm.entities.536e25f7.async.js} +1 -1
- package/dist/client/{npm.highlight.js.f727dfe3.async.js → npm.highlight.js.c1f693ec.async.js} +2 -2
- package/dist/client/{npm.htmlparser2.1a3babb6.async.js → npm.htmlparser2.a2f8d64d.async.js} +1 -1
- package/dist/client/npm.joi.0be0ffb8.async.js +1 -0
- package/dist/client/npm.lodash-es.d3d83c5d.async.js +1 -0
- package/dist/client/{npm.markdown-it.5b35f93d.async.js → npm.markdown-it.9eced26c.async.js} +1 -1
- package/dist/client/npm.mermaid.91e7e45d.async.js +1556 -0
- package/dist/client/npm.rc-cascader.2d4909f4.async.js +4 -0
- package/dist/client/npm.rc-image.500705f3.async.js +1 -0
- package/dist/client/npm.rc-menu.623f9c7e.async.js +1 -0
- package/dist/client/npm.rc-picker.c4dce7bc.async.js +22 -0
- package/dist/client/npm.rc-select.34fc277e.async.js +3 -0
- package/dist/client/npm.rc-slider.a10210c6.async.js +1 -0
- package/dist/client/npm.rc-table.8e9124fe.async.js +22 -0
- package/dist/client/npm.rc-tree-select.c1fbaa19.async.js +5 -0
- package/dist/client/npm.rc-tree.c1d5eac5.async.js +1 -0
- package/dist/client/npm.rc-util.7f3dc7bf.async.js +35 -0
- package/dist/client/{npm.react-router-dom.2109af81.async.js → npm.react-router-dom.c4482ef7.async.js} +1 -1
- package/dist/client/npm.ses.94a6543e.async.js +29 -0
- package/dist/client/npm.slate-react.ef6881ab.async.js +15 -0
- package/dist/client/npm.slate.44c32547.async.js +1 -0
- package/dist/client/npm.util.9c956416.async.js +10 -0
- package/dist/client/p__index.5eda2656.chunk.css +1 -0
- package/dist/client/p__index.751f234c.async.js +2316 -0
- package/dist/client/umi.ce574f8c.js +63 -0
- package/lib/config/cache.d.ts +2 -11
- package/lib/config/cache.js +3 -2
- package/lib/config/index.d.ts +2 -21
- package/lib/config/index.js +3 -0
- package/package.json +6 -6
- package/src/config/cache.ts +5 -4
- package/src/config/index.ts +5 -1
- package/dist/client/6858.082255a5.async.js +0 -59
- package/dist/client/npm._at_ant-design.5b9b3ce7.async.js +0 -141
- package/dist/client/npm._at_formily.f71b1c62.async.js +0 -96
- package/dist/client/npm._at_rc-component.5f4cc5e2.async.js +0 -8
- package/dist/client/npm._at_umijs.7f6c4722.async.js +0 -7
- package/dist/client/npm.ahooks.c5b165dc.async.js +0 -6
- package/dist/client/npm.antd.168d1e29.async.js +0 -464
- package/dist/client/npm.dompurify.2ca7a7c6.async.js +0 -3
- package/dist/client/npm.elkjs.f35a7d45.async.js +0 -26
- package/dist/client/npm.lodash-es.99877438.async.js +0 -1
- package/dist/client/npm.mermaid.b398414f.async.js +0 -1529
- package/dist/client/npm.rc-cascader.cf6ec555.async.js +0 -4
- package/dist/client/npm.rc-image.d550fa79.async.js +0 -1
- package/dist/client/npm.rc-menu.da4ef0ce.async.js +0 -1
- package/dist/client/npm.rc-picker.89eafb74.async.js +0 -22
- package/dist/client/npm.rc-select.44fb85b4.async.js +0 -3
- package/dist/client/npm.rc-slider.d2d511ab.async.js +0 -1
- package/dist/client/npm.rc-table.c5aa8a0d.async.js +0 -22
- package/dist/client/npm.rc-tree-select.5597dcbf.async.js +0 -5
- package/dist/client/npm.rc-tree.49888c60.async.js +0 -1
- package/dist/client/p__index.15474ef0.async.js +0 -1685
- package/dist/client/p__index.e4a52407.chunk.css +0 -1
- package/dist/client/umi.cb68cc62.js +0 -63
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[8155],{45876:function(N,M,a){a.d(M,{J:function(){return S}});var v=a(67294),u=a(14863),i,S=(0,v.createContext)({appearance:"light",setAppearance:function(){},isDarkMode:!1,themeMode:"light",setThemeMode:function(){},browserPrefers:(i=(0,u.S)("dark"))!==null&&i!==void 0&&i.matches?"dark":"light"})},38368:function(N,M,a){a.d(M,{T:function(){return u}});var v=a(62121),u=function(){for(var S=arguments.length,k=new Array(S),L=0;L<S;L++)k[L]=arguments[L];return(0,v.O)(k)}},69984:function(N,M,a){a.d(M,{V9:function(){return ut},f6:function(){return ct},vJ:function(){return tt},Fs:function(){return Ce},kc:function(){return et},Yz:function(){return nt},iv:function(){return rt},cx:function(){return at},Y2:function(){return Se},hi:function(){return st},F4:function(){return ot},Us:function(){return Ge},Rr:function(){return it},Fg:function(){return lt}});var v="acss",u=a(1413),i=a(67294),S=a(15671),k=a(43144),L=a(4942),G=a(97133),H=function(){function c(){(0,S.Z)(this,c),(0,L.Z)(this,"_cacheList",[G.cache])}return(0,k.Z)(c,[{key:"add",value:function(t){var o=this.getCache(t.key);return o||(this._cacheList.push(t),t)}},{key:"delete",value:function(t){this._cacheList=this._cacheList.filter(function(o){return o.key!==t.key})}},{key:"hasCache",value:function(t){return this._cacheList.some(function(o){return o.key===t.key})}},{key:"getCache",value:function(t){return this._cacheList.find(function(o){return o.key===t})}},{key:"getCacheList",value:function(){return this._cacheList}}]),c}(),K=a(59206),B=a(70444),j=typeof document<"u",Z=function(e,t){return"".concat(e,"-").concat(t)},V=function(e,t,o,n){var r=n.hashPriority||"high";(0,B.hC)(e,t,o);var s=".".concat(Z(e.key,t.name)),l=r==="low"?":where(".concat(s,")"):s;if(e.inserted[t.name]===void 0){var y="",h=t;do{var d=e.insert(t===h?l:"",h,e.sheet,!0);!j&&d!==void 0&&(y+=d),h=h.next}while(h!==void 0);if(!j&&y.length!==0)return y}},X=a(71002),ee=function(e){return(0,X.Z)(e)==="object"&&"styles"in e&&"name"in e&&"toString"in e},ge=function c(e){for(var t="",o=0;o<e.length;o++){var n=e[o];if(n!==null){var r=void 0;switch((0,X.Z)(n)){case"boolean":break;case"object":{if(Array.isArray(n))r=c(n);else{r="";for(var s in n)n[s]&&s&&(r&&(r+=" "),r+=s)}break}default:r=n}r&&(t&&(t+=" "),t+=r)}}return t},Me=function(e,t,o){var n=[],r=(0,B.fp)(e,n,o);return n.length<2?o:r+t(n)},se=a(62121),pe=function(e,t){return function(){for(var o=arguments.length,n=new Array(o),r=0;r<o;r++)n[r]=arguments[r];var s=(0,se.O)(n,e.registered,void 0);return V(e,s,!1,t),Z(e.key,s.name)}},Pe=function(e,t){return function(){for(var o=arguments.length,n=new Array(o),r=0;r<o;r++)n[r]=arguments[r];var s=n.map(function(l){return ee(l)?t(l):l});return Me(e.registered,t,ge(s))}},ie=function(e,t){var o=pe(e,{hashPriority:t.hashPriority||"high",label:t.label}),n=Pe(e,o);return{css:o,cx:n}},J=a(38368),Ae=function(e){return(0,i.createContext)(e)},Ee=a(70917),D=a(85893),Ze=function(e){return function(){for(var t=arguments.length,o=new Array(t),n=0;n<t;n++)o[n]=arguments[n];return(0,i.memo)(function(r){var s=e();return(0,D.jsx)(Ee.xB,{styles:(0,se.O)(o,void 0,(0,u.Z)((0,u.Z)({},r),{},{theme:s}))})})}},ke=function(e){return function(t){var o=e(t);return function(n){var r=o(n),s=r.styles;return s}}},Q=a(91),te=a(25703),De=["children","prefix","speedy","getStyleManager","container","nonce","insertionPoint","stylisPlugins","linters"],Oe=function(e){return(0,i.memo)(function(t){var o=t.children,n=t.prefix,r=t.speedy,s=t.getStyleManager,l=t.container,y=t.nonce,h=t.insertionPoint,d=t.stylisPlugins,p=t.linters,m=(0,Q.Z)(t,De),C=(0,i.useContext)(e),T=n??C.sheet.key,x=l??C.sheet.container,g=r??C.sheet.isSpeedy,P=(0,i.useMemo)(function(){var A=!1,E=(0,K.Z)({speedy:g??A,key:T,container:x,nonce:y,insertionPoint:h,stylisPlugins:d});if(typeof a.g<"u"){var F=a.g.__ANTD_STYLE_CACHE_MANAGER_FOR_SSR__;F&&(E.cache=F.add(E.cache))}return E},[T,g,x,y,h,d]);(0,i.useEffect)(function(){s==null||s(P)},[P]);var f=(0,D.jsx)(e.Provider,{value:P,children:o});return Object.keys(m).length||x?(0,D.jsx)(te.StyleProvider,(0,u.Z)((0,u.Z)({linters:p,container:x},m),{},{children:f})):f})},U=a(97685),je=a(23497),Le=a(86499),Be=function(){var e=(0,je.S)(),t={xs:"@media (max-width: ".concat(e.screenXSMax,"px)"),sm:"@media (max-width: ".concat(e.screenSMMax,"px)"),md:"@media (max-width: ".concat(e.screenMDMax,"px)"),lg:"@media (max-width: ".concat(e.screenLGMax,"px)"),xl:"@media (max-width: ".concat(e.screenXLMax,"px)"),xxl:"@media (min-width: ".concat(e.screenXXLMin,"px)")};return(0,i.useMemo)(function(){return(0,Le.f)(t)},[e])},Re=function(e,t){return Object.entries(e).map(function(o){var n=(0,U.Z)(o,2),r=n[0],s=n[1],l=s;return ee(s)||(l=(0,J.T)(s)),t[r]?"".concat(t[r]," {").concat(l.styles,"}"):""}).join("")},Ie=["stylish","appearance","isDarkMode","prefixCls","iconPrefixCls"],Fe=["prefixCls","iconPrefixCls"],Ne=function(e){var t=e.hashPriority,o=e.useTheme,n=e.EmotionContext;return function(r,s){var l=s==null?void 0:s.__BABEL_FILE_NAME__,y=!!l;return function(h){var d=o(),p=(0,i.useContext)(n),m=p.cache,C=ie(m,{hashPriority:(s==null?void 0:s.hashPriority)||t,label:s==null?void 0:s.label}),T=C.cx,x=C.css,g=Be(),P=(0,i.useMemo)(function(){var f;if(r instanceof Function){var A=d.stylish,E=d.appearance,F=d.isDarkMode,I=d.prefixCls,O=d.iconPrefixCls,$=(0,Q.Z)(d,Ie),b=function(w){return Re(w,g)};Object.assign(b,g),f=r({token:$,stylish:A,appearance:E,isDarkMode:F,prefixCls:I,iconPrefixCls:O,cx:T,css:J.T,responsive:b},h)}else f=r;return(0,X.Z)(f)==="object"&&(ee(f)?f=x(f):f=Object.fromEntries(Object.entries(f).map(function(Y){var w=(0,U.Z)(Y,2),q=w[0],_=w[1],dt=y?"".concat(l,"-").concat(q):void 0;return(0,X.Z)(_)==="object"?y?[q,x(_,"label:".concat(dt))]:[q,x(_)]:[q,_]}))),f},[h,d]);return(0,i.useMemo)(function(){var f=d.prefixCls,A=d.iconPrefixCls,E=(0,Q.Z)(d,Fe);return{styles:P,cx:T,theme:E,prefixCls:f,iconPrefixCls:A}},[P,d])}}},ce=a(2623),ne=function(e){if(e.ThemeProvider)return e.ThemeProvider;var t=e.ThemeContext;return function(o){return(0,D.jsx)(t.Provider,{value:o.theme,children:o.children})}},ue=ce.a,re=ce.T,Ge=function(e){if(!e.ThemeContext)throw"ThemeContext is required. Please check your config.";re=e.ThemeContext,ue=ne(e)},He=a(74902),Ue=a(45360),We=a(26855),be=a(5914),le=a(9361),de=a(31282),ae=a(8694),ve=(0,i.memo)(function(c){var e=c.children,t=c.theme,o=c.prefixCls,n=c.getStaticInstance,r=c.staticInstanceConfig,s=(0,ae.r)(),l=s.appearance,y=s.isDarkMode,h=Ue.ZP.useMessage(r==null?void 0:r.message),d=(0,U.Z)(h,2),p=d[0],m=d[1],C=We.ZP.useNotification(r==null?void 0:r.notification),T=(0,U.Z)(C,2),x=T[0],g=T[1],P=be.Z.useModal(),f=(0,U.Z)(P,2),A=f[0],E=f[1];(0,i.useEffect)(function(){n==null||n({message:p,modal:A,notification:x})},[]);var F=(0,i.useMemo)(function(){var I=y?le.Z.darkAlgorithm:le.Z.defaultAlgorithm,O=t;if(typeof t=="function"&&(O=t(l)),!O)return{algorithm:I};var $=O.algorithm?O.algorithm instanceof Array?O.algorithm:[O.algorithm]:[];return(0,u.Z)((0,u.Z)({},O),{},{algorithm:O.algorithm?[I].concat((0,He.Z)($)):I})},[t,y]);return(0,D.jsxs)(de.ZP,{prefixCls:o,theme:F,children:[m,g,E,e]})});ve.displayName="AntdProvider";var Ke=ve,he=a(76010),$e=a(45876),z=a(14863),oe=function(e){typeof i.startTransition=="function"?(0,i.startTransition)(e):e()},W,Ve=function(e){var t=e.themeMode,o=e.setAppearance,n=e.setBrowserPrefers,r=function(){oe(function(){(0,z.S)("dark").matches?o("dark"):o("light")})},s=function(){oe(function(){(0,z.S)("dark").matches?n("dark"):n("light")})};return(0,i.useLayoutEffect)(function(){if(t!=="auto"){oe(function(){o(t)});return}return setTimeout(r,1),W||(W=(0,z.S)("dark")),W.addEventListener("change",r),function(){W.removeEventListener("change",r)}},[t]),(0,i.useLayoutEffect)(function(){return W||(W=(0,z.S)("dark")),W.addEventListener("change",s),function(){W.removeEventListener("change",s)}},[]),null},me=(0,i.memo)(function(c){var e,t=c.children,o=c.appearance,n=c.defaultAppearance,r=c.onAppearanceChange,s=c.themeMode,l=c.defaultThemeMode,y=c.onThemeModeChange,h=c.useTheme,d=h(),p=d.appearance,m=d.themeMode,C=(0,he.Z)("light",{value:s,defaultValue:l??m,onChange:function(Y){return y==null?void 0:y(Y)}}),T=(0,U.Z)(C,2),x=T[0],g=T[1],P=(0,he.Z)("light",{value:o,defaultValue:n??p,onChange:function(Y){return r==null?void 0:r(Y)}}),f=(0,U.Z)(P,2),A=f[0],E=f[1],F=(0,i.useState)((e=(0,z.S)("dark"))!==null&&e!==void 0&&e.matches?"dark":"light"),I=(0,U.Z)(F,2),O=I[0],$=I[1];return(0,D.jsxs)($e.J.Provider,{value:{themeMode:x,setThemeMode:g,appearance:A,setAppearance:E,isDarkMode:A==="dark",browserPrefers:O},children:[typeof window<"u"&&(0,D.jsx)(Ve,{themeMode:x,setAppearance:E,setBrowserPrefers:$}),t]})});me.displayName="ThemeSwitcher";var Xe=me,fe=a(59369),Ye=["stylish"],ze=function(e){var t=e.children,o=e.customToken,n=e.defaultCustomToken,r=e.customStylish,s=e.prefixCls,l=e.StyledThemeProvider,y=(0,ae.r)(),h=y.appearance,d=y.isDarkMode,p=(0,fe.A)(),m=p.stylish,C=(0,Q.Z)(p,Ye),T=(0,i.useMemo)(function(){return n?n instanceof Function?n({token:C,appearance:h,isDarkMode:d}):n:{}},[n,C,h]),x=(0,i.useMemo)(function(){return o instanceof Function?(0,u.Z)((0,u.Z)({},T),o({token:C,appearance:h,isDarkMode:d})):(0,u.Z)((0,u.Z)({},T),o)},[T,o,C,h]),g=(0,i.useMemo)(function(){return r?r({token:(0,u.Z)((0,u.Z)({},C),x),stylish:m,appearance:h,isDarkMode:d,css:J.T}):{}},[r,C,x,m,h]),P=(0,i.useMemo)(function(){return(0,u.Z)((0,u.Z)({},g),m)},[g,m]),f=(0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)({},C),x),{},{stylish:P},y),{},{prefixCls:s});return(0,D.jsx)(l,{theme:f,children:t})},Je=ze,Qe=function(e){var t=e.styledConfig?ne(e.styledConfig):void 0,o=e.StyleEngineContext;return(0,i.memo)(function(n){var r=n.children,s=n.customToken,l=n.customStylish,y=n.theme,h=n.getStaticInstance,d=n.prefixCls,p=n.staticInstanceConfig,m=n.appearance,C=n.defaultAppearance,T=n.onAppearanceChange,x=n.themeMode,g=n.defaultThemeMode,P=n.onThemeModeChange,f=n.styled,A=(0,i.useContext)(o),E=A.prefixCls,F=A.StyledThemeContext,I=A.CustomThemeContext,O=(0,i.useContext)(I),$=f?ne(f):t||ue,b=d||E;return(0,D.jsx)(o.Provider,{value:{prefixCls:b,StyledThemeContext:(f==null?void 0:f.ThemeContext)||F||re,CustomThemeContext:I},children:(0,D.jsx)(Xe,{themeMode:x,defaultThemeMode:g,onThemeModeChange:P,defaultAppearance:C,appearance:m,onAppearanceChange:T,useTheme:e.useTheme,children:(0,D.jsx)(Ke,{prefixCls:b,staticInstanceConfig:p,theme:y,getStaticInstance:h,children:(0,D.jsx)(Je,{prefixCls:b,customToken:s,defaultCustomToken:O,customStylish:l,StyledThemeProvider:$,children:r})})})})})},we=function(e){return function(){var t=e.StyleEngineContext,o=(0,i.useContext)(t),n=o.StyledThemeContext,r=o.CustomThemeContext,s=o.prefixCls,l=(0,fe.A)(),y=(0,ae.r)(),h=(0,i.useContext)(r),d=(0,i.useContext)(n??re)||{},p=(0,i.useContext)(de.ZP.ConfigContext),m=p.iconPrefixCls,C=p.getPrefixCls,T=C(),x=s&&s!=="ant"?s:T,g=(0,i.useMemo)(function(){return(0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)({},l),y),h),{},{prefixCls:x,iconPrefixCls:m})},[l,y,h,x,m]);return!d||Object.keys(d).length===0?g:(0,u.Z)((0,u.Z)({},d),{},{prefixCls:x,iconPrefixCls:m})}},ye=new H;typeof a.g<"u"&&(a.g.__ANTD_STYLE_CACHE_MANAGER_FOR_SSR__=ye);var Ce=function(e){var t,o,n,r=(0,u.Z)((0,u.Z)({},e),{},{key:(t=e.key)!==null&&t!==void 0?t:"zcss",speedy:(o=e.speedy)!==null&&o!==void 0?o:!1}),s=(0,K.Z)({key:r.key,speedy:r.speedy,container:r.container}),l=Ae(s),y=Oe(l);s.cache=ye.add(s.cache);var h=(0,i.createContext)(r.customToken?r.customToken:{}),d=(n=r.styled)===null||n===void 0?void 0:n.ThemeContext,p=(0,i.createContext)({CustomThemeContext:h,StyledThemeContext:d,prefixCls:r==null?void 0:r.prefixCls,iconPrefixCls:r==null?void 0:r.iconPrefixCls}),m=we({StyleEngineContext:p}),C=Ne({hashPriority:r.hashPriority,useTheme:m,EmotionContext:l}),T=Ze(m),x=ke(C),g=Qe({styledConfig:r.styled,StyleEngineContext:p,useTheme:m});g.displayName="AntdStyleThemeProvider";var P=ie(s.cache,{hashPriority:r.hashPriority}),f=P.cx,A=s.injectGlobal,E=s.keyframes;return{createStyles:C,createGlobalStyle:T,createStylish:x,css:J.T,cx:f,keyframes:E,injectGlobal:A,styleManager:s,useTheme:m,StyleProvider:y,ThemeProvider:g}},xe=a(67159),qe=function(e){return e.compat!==!0&&(e.compat=!0),function(t){for(var o=new RegExp(e.key+"-([a-zA-Z0-9-_]+)","gm"),n={html:t,ids:[],css:""},r,s={};(r=o.exec(t))!==null;)s[r[1]]===void 0&&(s[r[1]]=!0);return n.ids=Object.keys(e.inserted).filter(function(l){return(s[l]!==void 0||e.registered[e.key+"-"+l]===void 0)&&e.inserted[l]!==!0?(n.css+=e.inserted[l],!0):!1}),n}},_e=function(e){return{ids:Object.keys(e.inserted),css:Object.values(e.inserted).filter(function(t){return typeof t=="string"}).join("")}},Te=(0,te.createCache)(),Se=function(e,t){var o,n=typeof(t==null?void 0:t.includeAntd)<"u"?t.includeAntd:!0,r=(o=t==null?void 0:t.antdCache)!==null&&o!==void 0?o:Te,s=(0,te.extractStyle)(r),l=s.replace(/<style\s[^>]*>/g,"").replace(/<\/style>/g,""),y={style:(0,D.jsx)("style",{"data-antd-version":xe.Z,"data-rc-order":"prepend","data-rc-priority":"-9999",dangerouslySetInnerHTML:{__html:l}},"antd"),ids:Array.from(r.cache.keys()),key:"antd",css:l,tag:'<style data-rc-order="prepend" data-rc-priority="-9999" data-antd-version="'.concat(xe.Z,'">').concat(l,"</style>")},h=a.g.__ANTD_STYLE_CACHE_MANAGER_FOR_SSR__.getCacheList().map(function(d){var p=qe(d),m=e?p(e):_e(d);if(!m.css)return null;var C=m.css,T=m.ids;return{key:d.key,style:(0,D.jsx)("style",{"data-emotion":"".concat(d.key," ").concat(T.join(" ")),dangerouslySetInnerHTML:{__html:C}},d.key),css:C,ids:T,tag:'<style data-emotion="'.concat(d.key," ").concat(m.ids.join(" "),'">').concat(m.css,"</style>")}});return l&&n&&h.unshift(y),h.filter(Boolean)};Se.cache=Te;var R=Ce({key:v,speedy:!1}),et=R.createStyles,tt=R.createGlobalStyle,nt=R.createStylish,rt=R.css,at=R.cx,ot=R.keyframes,st=R.injectGlobal,it=R.styleManager,ct=R.ThemeProvider,ut=R.StyleProvider,lt=R.useTheme},34306:function(N,M,a){a.d(M,{n:function(){return H}});var v=a(67294),u=a(38368),i=function(B){var j=B.css,Z=B.token;return{buttonDefaultHover:j({backgroundColor:Z.colorBgContainer,border:"1px solid ".concat(Z.colorBorder),cursor:"pointer",":hover":{color:Z.colorPrimaryHover,borderColor:Z.colorPrimaryHover},":active":{color:Z.colorPrimaryActive,borderColor:Z.colorPrimaryActive}})}},S=a(97685),k=function(B){return Object.fromEntries(Object.entries(B).map(function(j){var Z=(0,S.Z)(j,2),V=Z[0],X=Z[1];return[V,X.styles]}))},L=a(23497),G=a(8694),H=function(){var B=(0,L.S)(),j=(0,G.r)(),Z=j.appearance,V=j.isDarkMode;return(0,v.useMemo)(function(){return k(i({token:B,css:u.T,appearance:Z,isDarkMode:V}))},[B,Z,V])}},59369:function(N,M,a){a.d(M,{A:function(){return k}});var v=a(1413),u=a(67294),i=a(34306),S=a(23497),k=function(){var G=(0,S.S)(),H=(0,i.n)();return(0,u.useMemo)(function(){return(0,v.Z)((0,v.Z)({},G),{},{stylish:H})},[G,H])}},23497:function(N,M,a){a.d(M,{S:function(){return u}});var v=a(9361),u=function(){var S=v.Z.useToken(),k=S.token;return k}},8694:function(N,M,a){a.d(M,{r:function(){return i}});var v=a(67294),u=a(45876),i=function(){return(0,v.useContext)(u.J)}},23344:function(N,M,a){a.r(M),a.d(M,{StyleProvider:function(){return v.V9},ThemeProvider:function(){return v.f6},createGlobalStyle:function(){return v.vJ},createInstance:function(){return v.Fs},createStyles:function(){return v.kc},createStylish:function(){return v.Yz},css:function(){return v.iv},cx:function(){return v.cx},extractStaticStyle:function(){return v.Y2},injectGlobal:function(){return v.hi},keyframes:function(){return v.F4},setupStyled:function(){return v.Us},styleManager:function(){return v.Rr},useAntdStylish:function(){return u.n},useAntdTheme:function(){return i.A},useAntdToken:function(){return S.S},useResponsive:function(){return H},useTheme:function(){return v.Fg},useThemeMode:function(){return K.r}});var v=a(69984),u=a(34306),i=a(59369),S=a(23497),k=a(86499),L=a(75302),G=a(67294),H=function(){var j=L.ZP.useBreakpoint();return(0,G.useMemo)(function(){return(0,k.f)(j)},[j])},K=a(8694)},14863:function(N,M,a){a.d(M,{S:function(){return v}});var v=function(i){return typeof window<"u"?matchMedia&&matchMedia("(prefers-color-scheme: ".concat(i,")")):{matches:!1}}},86499:function(N,M,a){a.d(M,{f:function(){return u}});var v=a(1413),u=function(S){return(0,v.Z)((0,v.Z)({},S),{},{mobile:S.xs,tablet:S.md,laptop:S.lg,desktop:S.xxl})}}}]);
|