szld-libs 0.2.51 → 0.2.52

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.
@@ -1553,15 +1553,19 @@ const S7 = qw, C7 = "backheader-module_main_cac53", b7 = "backheader-module_titl
1553
1553
  sub: w7,
1554
1554
  btn: D7
1555
1555
  }, { Title: R7, Text: T7 } = GA, jN = (r) => {
1556
- const { isBack: l = !0, title: i, extra: c, subTitle: d = null, className: h, style: m, titleStyle: g, level: C = 2, icon: p } = r, _ = uk(), D = () => typeof d == "string" ? /* @__PURE__ */ Ue(T7, { className: k1.sub, children: d }) : d, b = () => {
1557
- _(-1);
1556
+ const { isBack: l = !0, title: i, extra: c, subTitle: d = null, className: h, style: m, titleStyle: g, level: C = 2, icon: p, onBack: _ } = r, D = uk(), b = () => typeof d == "string" ? /* @__PURE__ */ Ue(T7, { className: k1.sub, children: d }) : d, S = () => {
1557
+ if (_) {
1558
+ _ == null || _();
1559
+ return;
1560
+ }
1561
+ D(-1);
1558
1562
  };
1559
1563
  return /* @__PURE__ */ An("div", { className: Kl(k1.main, h), style: m, children: [
1560
1564
  /* @__PURE__ */ An(bw, { children: [
1561
- l && /* @__PURE__ */ Ue("div", { onClick: b, className: k1.btn, children: p || /* @__PURE__ */ Ue(Kk, { style: { fontSize: 24 } }) }),
1565
+ l && /* @__PURE__ */ Ue("div", { onClick: S, className: k1.btn, children: p || /* @__PURE__ */ Ue(Kk, { style: { fontSize: 24 } }) }),
1562
1566
  /* @__PURE__ */ An(R7, { level: C, className: k1.title, style: g, children: [
1563
1567
  i,
1564
- D()
1568
+ b()
1565
1569
  ] })
1566
1570
  ] }),
1567
1571
  c
@@ -66,7 +66,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
66
66
  }
67
67
  `,A6=function(l){var i=Xe.useContext(UE),c=i.csp,d=i.prefixCls,h=i.layer,m=R6;d&&(m=m.replace(/anticon/g,d)),h&&(m="@layer ".concat(h,` {
68
68
  `).concat(m,`
69
- }`)),Xe.useEffect(function(){var g=l.current,C=_6(g);g6(m,"@ant-design-icons",{prepend:!h,csp:c,attachTo:C})},[])},k6=["icon","className","onClick","style","primaryColor","secondaryColor"],j0={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function B6(r){var l=r.primaryColor,i=r.secondaryColor;j0.primaryColor=l,j0.secondaryColor=i||iS(l),j0.calculated=!!i}function O6(){return ho({},j0)}var Bv=function(l){var i=l.icon,c=l.className,d=l.onClick,h=l.style,m=l.primaryColor,g=l.secondaryColor,C=jE(l,k6),p=ur.useRef(),_=j0;if(m&&(_={primaryColor:m,secondaryColor:g||iS(m)}),A6(p),T6(rS(i),"icon should be icon definiton, but got ".concat(i)),!rS(i))return null;var D=i;return D&&typeof D.icon=="function"&&(D=ho(ho({},D),{},{icon:D.icon(_.primaryColor,_.secondaryColor)})),uy(D.icon,"svg-".concat(D.name),ho(ho({className:c,onClick:d,style:h,"data-icon":D.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},C),{},{ref:p}))};Bv.displayName="IconReact",Bv.getTwoToneColors=O6,Bv.setTwoToneColors=B6;const sy=Bv;function lS(r){var l=oS(r),i=PE(l,2),c=i[0],d=i[1];return sy.setTwoToneColors({primaryColor:c,secondaryColor:d})}function F6(){var r=sy.getTwoToneColors();return r.calculated?[r.primaryColor,r.secondaryColor]:r.primaryColor}var z6=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];lS(ny.primary);var Ov=ur.forwardRef(function(r,l){var i=r.className,c=r.icon,d=r.spin,h=r.rotate,m=r.tabIndex,g=r.onClick,C=r.twoToneColor,p=jE(r,z6),_=ur.useContext(UE),D=_.prefixCls,b=D===void 0?"anticon":D,S=_.rootClassName,R=ll(S,b,ha(ha({},"".concat(b,"-").concat(c.name),!!c.name),"".concat(b,"-spin"),!!d||c.name==="loading"),i),z=m;z===void 0&&g&&(z=-1);var F=h?{msTransform:"rotate(".concat(h,"deg)"),transform:"rotate(".concat(h,"deg)")}:void 0,N=oS(C),O=PE(N,2),A=O[0],B=O[1];return ur.createElement("span",vo({role:"img","aria-label":c.name},p,{ref:l,tabIndex:z,onClick:g,className:R}),ur.createElement(sy,{icon:c,primaryColor:A,secondaryColor:B,style:F}))});Ov.displayName="AntdIcon",Ov.getTwoToneColor=F6,Ov.setTwoToneColor=lS;const cs=Ov;var M6={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"};const N6=M6;var L6=function(l,i){return ur.createElement(cs,vo({},l,{ref:i,icon:N6}))},uS=ur.forwardRef(L6);process.env.NODE_ENV!=="production"&&(uS.displayName="ArrowLeftOutlined");const U6=uS;var H6={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"};const P6=H6;var j6=function(l,i){return ur.createElement(cs,vo({},l,{ref:i,icon:P6}))},sS=ur.forwardRef(j6);process.env.NODE_ENV!=="production"&&(sS.displayName="CloseCircleFilled");const I6=sS;var $6={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};const V6=$6;var Y6=function(l,i){return ur.createElement(cs,vo({},l,{ref:i,icon:V6}))},cS=ur.forwardRef(Y6);process.env.NODE_ENV!=="production"&&(cS.displayName="DownOutlined");const W6=cS;var q6={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};const G6=q6;var Z6=function(l,i){return ur.createElement(cs,vo({},l,{ref:i,icon:G6}))},fS=ur.forwardRef(Z6);process.env.NODE_ENV!=="production"&&(fS.displayName="PlusOutlined");const X6=fS;var Q6={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M168 504.2c1-43.7 10-86.1 26.9-126 17.3-41 42.1-77.7 73.7-109.4S337 212.3 378 195c42.4-17.9 87.4-27 133.9-27s91.5 9.1 133.8 27A341.5 341.5 0 01755 268.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.7 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c0-6.7-7.7-10.5-12.9-6.3l-56.4 44.1C765.8 155.1 646.2 92 511.8 92 282.7 92 96.3 275.6 92 503.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8zm756 7.8h-60c-4.4 0-7.9 3.5-8 7.8-1 43.7-10 86.1-26.9 126-17.3 41-42.1 77.8-73.7 109.4A342.45 342.45 0 01512.1 856a342.24 342.24 0 01-243.2-100.8c-9.9-9.9-19.2-20.4-27.8-31.4l60.2-47a8 8 0 00-3-14.1l-175.7-43c-5-1.2-9.9 2.6-9.9 7.7l-.7 181c0 6.7 7.7 10.5 12.9 6.3l56.4-44.1C258.2 868.9 377.8 932 512.2 932c229.2 0 415.5-183.7 419.8-411.8a8 8 0 00-8-8.2z"}}]},name:"sync",theme:"outlined"};const K6=Q6;var J6=function(l,i){return ur.createElement(cs,vo({},l,{ref:i,icon:K6}))},dS=ur.forwardRef(J6);process.env.NODE_ENV!=="production"&&(dS.displayName="SyncOutlined");const eD=dS;var tD={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"};const nD=tD;var rD=function(l,i){return ur.createElement(cs,vo({},l,{ref:i,icon:nD}))},pS=ur.forwardRef(rD);process.env.NODE_ENV!=="production"&&(pS.displayName="UpOutlined");const aD=pS;var iD={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"};const oD=iD;var lD=function(l,i){return ur.createElement(cs,vo({},l,{ref:i,icon:oD}))},vS=ur.forwardRef(lD);process.env.NODE_ENV!=="production"&&(vS.displayName="UploadOutlined");const uD=vS,Fv={main:"backheader-module_main_cac53",title:"backheader-module_title_33439",sub:"backheader-module_sub_1d015",btn:"backheader-module_btn_ee841"},{Title:sD,Text:cD}=dt.Typography,fD=r=>{const{isBack:l=!0,title:i,extra:c,subTitle:d=null,className:h,style:m,titleStyle:g,level:C=2,icon:p}=r,_=Z3.useNavigate(),D=()=>typeof d=="string"?Le(cD,{className:Fv.sub,children:d}):d,b=()=>{_(-1)};return wn("div",{className:ll(Fv.main,h),style:m,children:[wn(dt.Space,{children:[l&&Le("div",{onClick:b,className:Fv.btn,children:p||Le(U6,{style:{fontSize:24}})}),wn(sD,{level:C,className:Fv.title,style:g,children:[i,D()]})]}),c]})};var cy={exports:{}},Ba={},fy={exports:{}},dy={};var hS;function dD(){return hS||(hS=1,function(r){function l(pe,we){var Q=pe.length;pe.push(we);e:for(;0<Q;){var q=Q-1>>>1,te=pe[q];if(0<d(te,we))pe[q]=we,pe[Q]=te,Q=q;else break e}}function i(pe){return pe.length===0?null:pe[0]}function c(pe){if(pe.length===0)return null;var we=pe[0],Q=pe.pop();if(Q!==we){pe[0]=Q;e:for(var q=0,te=pe.length,ue=te>>>1;q<ue;){var ne=2*(q+1)-1,Ne=pe[ne],Re=ne+1,je=pe[Re];if(0>d(Ne,Q))Re<te&&0>d(je,Ne)?(pe[q]=je,pe[Re]=Q,q=Re):(pe[q]=Ne,pe[ne]=Q,q=ne);else if(Re<te&&0>d(je,Q))pe[q]=je,pe[Re]=Q,q=Re;else break e}}return we}function d(pe,we){var Q=pe.sortIndex-we.sortIndex;return Q!==0?Q:pe.id-we.id}if(typeof performance=="object"&&typeof performance.now=="function"){var h=performance;r.unstable_now=function(){return h.now()}}else{var m=Date,g=m.now();r.unstable_now=function(){return m.now()-g}}var C=[],p=[],_=1,D=null,b=3,S=!1,R=!1,z=!1,F=typeof setTimeout=="function"?setTimeout:null,N=typeof clearTimeout=="function"?clearTimeout:null,O=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function A(pe){for(var we=i(p);we!==null;){if(we.callback===null)c(p);else if(we.startTime<=pe)c(p),we.sortIndex=we.expirationTime,l(C,we);else break;we=i(p)}}function B(pe){if(z=!1,A(pe),!R)if(i(C)!==null)R=!0,ve(L);else{var we=i(p);we!==null&&Me(B,we.startTime-pe)}}function L(pe,we){R=!1,z&&(z=!1,N(V),V=-1),S=!0;var Q=b;try{for(A(we),D=i(C);D!==null&&(!(D.expirationTime>we)||pe&&!$());){var q=D.callback;if(typeof q=="function"){D.callback=null,b=D.priorityLevel;var te=q(D.expirationTime<=we);we=r.unstable_now(),typeof te=="function"?D.callback=te:D===i(C)&&c(C),A(we)}else c(C);D=i(C)}if(D!==null)var ue=!0;else{var ne=i(p);ne!==null&&Me(B,ne.startTime-we),ue=!1}return ue}finally{D=null,b=Q,S=!1}}var P=!1,U=null,V=-1,X=5,j=-1;function $(){return!(r.unstable_now()-j<X)}function oe(){if(U!==null){var pe=r.unstable_now();j=pe;var we=!0;try{we=U(!0,pe)}finally{we?G():(P=!1,U=null)}}else P=!1}var G;if(typeof O=="function")G=function(){O(oe)};else if(typeof MessageChannel<"u"){var de=new MessageChannel,xe=de.port2;de.port1.onmessage=oe,G=function(){xe.postMessage(null)}}else G=function(){F(oe,0)};function ve(pe){U=pe,P||(P=!0,G())}function Me(pe,we){V=F(function(){pe(r.unstable_now())},we)}r.unstable_IdlePriority=5,r.unstable_ImmediatePriority=1,r.unstable_LowPriority=4,r.unstable_NormalPriority=3,r.unstable_Profiling=null,r.unstable_UserBlockingPriority=2,r.unstable_cancelCallback=function(pe){pe.callback=null},r.unstable_continueExecution=function(){R||S||(R=!0,ve(L))},r.unstable_forceFrameRate=function(pe){0>pe||125<pe||(X=0<pe?Math.floor(1e3/pe):5)},r.unstable_getCurrentPriorityLevel=function(){return b},r.unstable_getFirstCallbackNode=function(){return i(C)},r.unstable_next=function(pe){switch(b){case 1:case 2:case 3:var we=3;break;default:we=b}var Q=b;b=we;try{return pe()}finally{b=Q}},r.unstable_pauseExecution=function(){},r.unstable_requestPaint=function(){},r.unstable_runWithPriority=function(pe,we){switch(pe){case 1:case 2:case 3:case 4:case 5:break;default:pe=3}var Q=b;b=pe;try{return we()}finally{b=Q}},r.unstable_scheduleCallback=function(pe,we,Q){var q=r.unstable_now();switch(typeof Q=="object"&&Q!==null?(Q=Q.delay,Q=typeof Q=="number"&&0<Q?q+Q:q):Q=q,pe){case 1:var te=-1;break;case 2:te=250;break;case 5:te=1073741823;break;case 4:te=1e4;break;default:te=5e3}return te=Q+te,pe={id:_++,callback:we,priorityLevel:pe,startTime:Q,expirationTime:te,sortIndex:-1},Q>q?(pe.sortIndex=Q,l(p,pe),i(C)===null&&pe===i(p)&&(z?(N(V),V=-1):z=!0,Me(B,Q-q))):(pe.sortIndex=te,l(C,pe),R||S||(R=!0,ve(L))),pe},r.unstable_shouldYield=$,r.unstable_wrapCallback=function(pe){var we=b;return function(){var Q=b;b=we;try{return pe.apply(this,arguments)}finally{b=Q}}}}(dy)),dy}var py={};var mS;function pD(){return mS||(mS=1,function(r){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var l=!1,i=!1,c=5;function d(Be,Ze){var _t=Be.length;Be.push(Ze),g(Be,Ze,_t)}function h(Be){return Be.length===0?null:Be[0]}function m(Be){if(Be.length===0)return null;var Ze=Be[0],_t=Be.pop();return _t!==Ze&&(Be[0]=_t,C(Be,_t,0)),Ze}function g(Be,Ze,_t){for(var Ut=_t;Ut>0;){var on=Ut-1>>>1,Un=Be[on];if(p(Un,Ze)>0)Be[on]=Ze,Be[Ut]=Un,Ut=on;else return}}function C(Be,Ze,_t){for(var Ut=_t,on=Be.length,Un=on>>>1;Ut<Un;){var _n=(Ut+1)*2-1,cr=Be[_n],Qt=_n+1,Tr=Be[Qt];if(p(cr,Ze)<0)Qt<on&&p(Tr,cr)<0?(Be[Ut]=Tr,Be[Qt]=Ze,Ut=Qt):(Be[Ut]=cr,Be[_n]=Ze,Ut=_n);else if(Qt<on&&p(Tr,Ze)<0)Be[Ut]=Tr,Be[Qt]=Ze,Ut=Qt;else return}}function p(Be,Ze){var _t=Be.sortIndex-Ze.sortIndex;return _t!==0?_t:Be.id-Ze.id}var _=1,D=2,b=3,S=4,R=5;function z(Be,Ze){}var F=typeof performance=="object"&&typeof performance.now=="function";if(F){var N=performance;r.unstable_now=function(){return N.now()}}else{var O=Date,A=O.now();r.unstable_now=function(){return O.now()-A}}var B=1073741823,L=-1,P=250,U=5e3,V=1e4,X=B,j=[],$=[],oe=1,G=null,de=b,xe=!1,ve=!1,Me=!1,pe=typeof setTimeout=="function"?setTimeout:null,we=typeof clearTimeout=="function"?clearTimeout:null,Q=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function q(Be){for(var Ze=h($);Ze!==null;){if(Ze.callback===null)m($);else if(Ze.startTime<=Be)m($),Ze.sortIndex=Ze.expirationTime,d(j,Ze);else return;Ze=h($)}}function te(Be){if(Me=!1,q(Be),!ve)if(h(j)!==null)ve=!0,Kn(ue);else{var Ze=h($);Ze!==null&&an(te,Ze.startTime-Be)}}function ue(Be,Ze){ve=!1,Me&&(Me=!1,jr()),xe=!0;var _t=de;try{var Ut;if(!i)return ne(Be,Ze)}finally{G=null,de=_t,xe=!1}}function ne(Be,Ze){var _t=Ze;for(q(_t),G=h(j);G!==null&&!l&&!(G.expirationTime>_t&&(!Be||Ur()));){var Ut=G.callback;if(typeof Ut=="function"){G.callback=null,de=G.priorityLevel;var on=G.expirationTime<=_t,Un=Ut(on);_t=r.unstable_now(),typeof Un=="function"?G.callback=Un:G===h(j)&&m(j),q(_t)}else m(j);G=h(j)}if(G!==null)return!0;var _n=h($);return _n!==null&&an(te,_n.startTime-_t),!1}function Ne(Be,Ze){switch(Be){case _:case D:case b:case S:case R:break;default:Be=b}var _t=de;de=Be;try{return Ze()}finally{de=_t}}function Re(Be){var Ze;switch(de){case _:case D:case b:Ze=b;break;default:Ze=de;break}var _t=de;de=Ze;try{return Be()}finally{de=_t}}function je(Be){var Ze=de;return function(){var _t=de;de=Ze;try{return Be.apply(this,arguments)}finally{de=_t}}}function _e(Be,Ze,_t){var Ut=r.unstable_now(),on;if(typeof _t=="object"&&_t!==null){var Un=_t.delay;typeof Un=="number"&&Un>0?on=Ut+Un:on=Ut}else on=Ut;var _n;switch(Be){case _:_n=L;break;case D:_n=P;break;case R:_n=X;break;case S:_n=V;break;case b:default:_n=U;break}var cr=on+_n,Qt={id:oe++,callback:Ze,priorityLevel:Be,startTime:on,expirationTime:cr,sortIndex:-1};return on>Ut?(Qt.sortIndex=on,d($,Qt),h(j)===null&&Qt===h($)&&(Me?jr():Me=!0,an(te,on-Ut))):(Qt.sortIndex=cr,d(j,Qt),!ve&&!xe&&(ve=!0,Kn(ue))),Qt}function it(){}function tt(){!ve&&!xe&&(ve=!0,Kn(ue))}function Mt(){return h(j)}function ke(Be){Be.callback=null}function xt(){return de}var At=!1,ln=null,Tn=-1,Fn=c,Qn=-1;function Ur(){var Be=r.unstable_now()-Qn;return!(Be<Fn)}function Hr(){}function Rn(Be){Be<0||Be>125||(Be>0?Fn=Math.floor(1e3/Be):Fn=c)}var pn=function(){if(ln!==null){var Be=r.unstable_now();Qn=Be;var Ze=!0,_t=!0;try{_t=ln(Ze,Be)}finally{_t?An():(At=!1,ln=null)}}else At=!1},An;if(typeof Q=="function")An=function(){Q(pn)};else if(typeof MessageChannel<"u"){var Pr=new MessageChannel,Dr=Pr.port2;Pr.port1.onmessage=pn,An=function(){Dr.postMessage(null)}}else An=function(){pe(pn,0)};function Kn(Be){ln=Be,At||(At=!0,An())}function an(Be,Ze){Tn=pe(function(){Be(r.unstable_now())},Ze)}function jr(){we(Tn),Tn=-1}var ii=Hr,ea=null;r.unstable_IdlePriority=R,r.unstable_ImmediatePriority=_,r.unstable_LowPriority=S,r.unstable_NormalPriority=b,r.unstable_Profiling=ea,r.unstable_UserBlockingPriority=D,r.unstable_cancelCallback=ke,r.unstable_continueExecution=tt,r.unstable_forceFrameRate=Rn,r.unstable_getCurrentPriorityLevel=xt,r.unstable_getFirstCallbackNode=Mt,r.unstable_next=Re,r.unstable_pauseExecution=it,r.unstable_requestPaint=ii,r.unstable_runWithPriority=Ne,r.unstable_scheduleCallback=_e,r.unstable_shouldYield=Ur,r.unstable_wrapCallback=je,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(py)),py}var yS;function gS(){return yS||(yS=1,function(r){process.env.NODE_ENV==="production"?r.exports=dD():r.exports=pD()}(fy)),fy.exports}var xS;function vD(){if(xS)return Ba;xS=1;var r=Xe,l=gS();function i(n){for(var a="https://reactjs.org/docs/error-decoder.html?invariant="+n,s=1;s<arguments.length;s++)a+="&args[]="+encodeURIComponent(arguments[s]);return"Minified React error #"+n+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var c=new Set,d={};function h(n,a){m(n,a),m(n+"Capture",a)}function m(n,a){for(d[n]=a,n=0;n<a.length;n++)c.add(a[n])}var g=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),C=Object.prototype.hasOwnProperty,p=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,_={},D={};function b(n){return C.call(D,n)?!0:C.call(_,n)?!1:p.test(n)?D[n]=!0:(_[n]=!0,!1)}function S(n,a,s,v){if(s!==null&&s.type===0)return!1;switch(typeof a){case"function":case"symbol":return!0;case"boolean":return v?!1:s!==null?!s.acceptsBooleans:(n=n.toLowerCase().slice(0,5),n!=="data-"&&n!=="aria-");default:return!1}}function R(n,a,s,v){if(a===null||typeof a>"u"||S(n,a,s,v))return!0;if(v)return!1;if(s!==null)switch(s.type){case 3:return!a;case 4:return a===!1;case 5:return isNaN(a);case 6:return isNaN(a)||1>a}return!1}function z(n,a,s,v,x,w,M){this.acceptsBooleans=a===2||a===3||a===4,this.attributeName=v,this.attributeNamespace=x,this.mustUseProperty=s,this.propertyName=n,this.type=a,this.sanitizeURL=w,this.removeEmptyString=M}var F={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n){F[n]=new z(n,0,!1,n,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var a=n[0];F[a]=new z(a,1,!1,n[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(n){F[n]=new z(n,2,!1,n.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){F[n]=new z(n,2,!1,n,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(n){F[n]=new z(n,3,!1,n.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(n){F[n]=new z(n,3,!0,n,null,!1,!1)}),["capture","download"].forEach(function(n){F[n]=new z(n,4,!1,n,null,!1,!1)}),["cols","rows","size","span"].forEach(function(n){F[n]=new z(n,6,!1,n,null,!1,!1)}),["rowSpan","start"].forEach(function(n){F[n]=new z(n,5,!1,n.toLowerCase(),null,!1,!1)});var N=/[\-:]([a-z])/g;function O(n){return n[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(n){var a=n.replace(N,O);F[a]=new z(a,1,!1,n,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(n){var a=n.replace(N,O);F[a]=new z(a,1,!1,n,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(n){var a=n.replace(N,O);F[a]=new z(a,1,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(n){F[n]=new z(n,1,!1,n.toLowerCase(),null,!1,!1)}),F.xlinkHref=new z("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(n){F[n]=new z(n,1,!1,n.toLowerCase(),null,!0,!0)});function A(n,a,s,v){var x=F.hasOwnProperty(a)?F[a]:null;(x!==null?x.type!==0:v||!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(R(a,s,x,v)&&(s=null),v||x===null?b(a)&&(s===null?n.removeAttribute(a):n.setAttribute(a,""+s)):x.mustUseProperty?n[x.propertyName]=s===null?x.type===3?!1:"":s:(a=x.attributeName,v=x.attributeNamespace,s===null?n.removeAttribute(a):(x=x.type,s=x===3||x===4&&s===!0?"":""+s,v?n.setAttributeNS(v,a,s):n.setAttribute(a,s))))}var B=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,L=Symbol.for("react.element"),P=Symbol.for("react.portal"),U=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),X=Symbol.for("react.profiler"),j=Symbol.for("react.provider"),$=Symbol.for("react.context"),oe=Symbol.for("react.forward_ref"),G=Symbol.for("react.suspense"),de=Symbol.for("react.suspense_list"),xe=Symbol.for("react.memo"),ve=Symbol.for("react.lazy"),Me=Symbol.for("react.offscreen"),pe=Symbol.iterator;function we(n){return n===null||typeof n!="object"?null:(n=pe&&n[pe]||n["@@iterator"],typeof n=="function"?n:null)}var Q=Object.assign,q;function te(n){if(q===void 0)try{throw Error()}catch(s){var a=s.stack.trim().match(/\n( *(at )?)/);q=a&&a[1]||""}return`
69
+ }`)),Xe.useEffect(function(){var g=l.current,C=_6(g);g6(m,"@ant-design-icons",{prepend:!h,csp:c,attachTo:C})},[])},k6=["icon","className","onClick","style","primaryColor","secondaryColor"],j0={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function B6(r){var l=r.primaryColor,i=r.secondaryColor;j0.primaryColor=l,j0.secondaryColor=i||iS(l),j0.calculated=!!i}function O6(){return ho({},j0)}var Bv=function(l){var i=l.icon,c=l.className,d=l.onClick,h=l.style,m=l.primaryColor,g=l.secondaryColor,C=jE(l,k6),p=ur.useRef(),_=j0;if(m&&(_={primaryColor:m,secondaryColor:g||iS(m)}),A6(p),T6(rS(i),"icon should be icon definiton, but got ".concat(i)),!rS(i))return null;var D=i;return D&&typeof D.icon=="function"&&(D=ho(ho({},D),{},{icon:D.icon(_.primaryColor,_.secondaryColor)})),uy(D.icon,"svg-".concat(D.name),ho(ho({className:c,onClick:d,style:h,"data-icon":D.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},C),{},{ref:p}))};Bv.displayName="IconReact",Bv.getTwoToneColors=O6,Bv.setTwoToneColors=B6;const sy=Bv;function lS(r){var l=oS(r),i=PE(l,2),c=i[0],d=i[1];return sy.setTwoToneColors({primaryColor:c,secondaryColor:d})}function F6(){var r=sy.getTwoToneColors();return r.calculated?[r.primaryColor,r.secondaryColor]:r.primaryColor}var z6=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];lS(ny.primary);var Ov=ur.forwardRef(function(r,l){var i=r.className,c=r.icon,d=r.spin,h=r.rotate,m=r.tabIndex,g=r.onClick,C=r.twoToneColor,p=jE(r,z6),_=ur.useContext(UE),D=_.prefixCls,b=D===void 0?"anticon":D,S=_.rootClassName,R=ll(S,b,ha(ha({},"".concat(b,"-").concat(c.name),!!c.name),"".concat(b,"-spin"),!!d||c.name==="loading"),i),z=m;z===void 0&&g&&(z=-1);var F=h?{msTransform:"rotate(".concat(h,"deg)"),transform:"rotate(".concat(h,"deg)")}:void 0,N=oS(C),O=PE(N,2),A=O[0],B=O[1];return ur.createElement("span",vo({role:"img","aria-label":c.name},p,{ref:l,tabIndex:z,onClick:g,className:R}),ur.createElement(sy,{icon:c,primaryColor:A,secondaryColor:B,style:F}))});Ov.displayName="AntdIcon",Ov.getTwoToneColor=F6,Ov.setTwoToneColor=lS;const cs=Ov;var M6={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"};const N6=M6;var L6=function(l,i){return ur.createElement(cs,vo({},l,{ref:i,icon:N6}))},uS=ur.forwardRef(L6);process.env.NODE_ENV!=="production"&&(uS.displayName="ArrowLeftOutlined");const U6=uS;var H6={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"};const P6=H6;var j6=function(l,i){return ur.createElement(cs,vo({},l,{ref:i,icon:P6}))},sS=ur.forwardRef(j6);process.env.NODE_ENV!=="production"&&(sS.displayName="CloseCircleFilled");const I6=sS;var $6={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};const V6=$6;var Y6=function(l,i){return ur.createElement(cs,vo({},l,{ref:i,icon:V6}))},cS=ur.forwardRef(Y6);process.env.NODE_ENV!=="production"&&(cS.displayName="DownOutlined");const W6=cS;var q6={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};const G6=q6;var Z6=function(l,i){return ur.createElement(cs,vo({},l,{ref:i,icon:G6}))},fS=ur.forwardRef(Z6);process.env.NODE_ENV!=="production"&&(fS.displayName="PlusOutlined");const X6=fS;var Q6={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M168 504.2c1-43.7 10-86.1 26.9-126 17.3-41 42.1-77.7 73.7-109.4S337 212.3 378 195c42.4-17.9 87.4-27 133.9-27s91.5 9.1 133.8 27A341.5 341.5 0 01755 268.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.7 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c0-6.7-7.7-10.5-12.9-6.3l-56.4 44.1C765.8 155.1 646.2 92 511.8 92 282.7 92 96.3 275.6 92 503.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8zm756 7.8h-60c-4.4 0-7.9 3.5-8 7.8-1 43.7-10 86.1-26.9 126-17.3 41-42.1 77.8-73.7 109.4A342.45 342.45 0 01512.1 856a342.24 342.24 0 01-243.2-100.8c-9.9-9.9-19.2-20.4-27.8-31.4l60.2-47a8 8 0 00-3-14.1l-175.7-43c-5-1.2-9.9 2.6-9.9 7.7l-.7 181c0 6.7 7.7 10.5 12.9 6.3l56.4-44.1C258.2 868.9 377.8 932 512.2 932c229.2 0 415.5-183.7 419.8-411.8a8 8 0 00-8-8.2z"}}]},name:"sync",theme:"outlined"};const K6=Q6;var J6=function(l,i){return ur.createElement(cs,vo({},l,{ref:i,icon:K6}))},dS=ur.forwardRef(J6);process.env.NODE_ENV!=="production"&&(dS.displayName="SyncOutlined");const eD=dS;var tD={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"};const nD=tD;var rD=function(l,i){return ur.createElement(cs,vo({},l,{ref:i,icon:nD}))},pS=ur.forwardRef(rD);process.env.NODE_ENV!=="production"&&(pS.displayName="UpOutlined");const aD=pS;var iD={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"};const oD=iD;var lD=function(l,i){return ur.createElement(cs,vo({},l,{ref:i,icon:oD}))},vS=ur.forwardRef(lD);process.env.NODE_ENV!=="production"&&(vS.displayName="UploadOutlined");const uD=vS,Fv={main:"backheader-module_main_cac53",title:"backheader-module_title_33439",sub:"backheader-module_sub_1d015",btn:"backheader-module_btn_ee841"},{Title:sD,Text:cD}=dt.Typography,fD=r=>{const{isBack:l=!0,title:i,extra:c,subTitle:d=null,className:h,style:m,titleStyle:g,level:C=2,icon:p,onBack:_}=r,D=Z3.useNavigate(),b=()=>typeof d=="string"?Le(cD,{className:Fv.sub,children:d}):d,S=()=>{if(_){_==null||_();return}D(-1)};return wn("div",{className:ll(Fv.main,h),style:m,children:[wn(dt.Space,{children:[l&&Le("div",{onClick:S,className:Fv.btn,children:p||Le(U6,{style:{fontSize:24}})}),wn(sD,{level:C,className:Fv.title,style:g,children:[i,b()]})]}),c]})};var cy={exports:{}},Ba={},fy={exports:{}},dy={};var hS;function dD(){return hS||(hS=1,function(r){function l(pe,we){var Q=pe.length;pe.push(we);e:for(;0<Q;){var q=Q-1>>>1,te=pe[q];if(0<d(te,we))pe[q]=we,pe[Q]=te,Q=q;else break e}}function i(pe){return pe.length===0?null:pe[0]}function c(pe){if(pe.length===0)return null;var we=pe[0],Q=pe.pop();if(Q!==we){pe[0]=Q;e:for(var q=0,te=pe.length,ue=te>>>1;q<ue;){var ne=2*(q+1)-1,Ne=pe[ne],Re=ne+1,je=pe[Re];if(0>d(Ne,Q))Re<te&&0>d(je,Ne)?(pe[q]=je,pe[Re]=Q,q=Re):(pe[q]=Ne,pe[ne]=Q,q=ne);else if(Re<te&&0>d(je,Q))pe[q]=je,pe[Re]=Q,q=Re;else break e}}return we}function d(pe,we){var Q=pe.sortIndex-we.sortIndex;return Q!==0?Q:pe.id-we.id}if(typeof performance=="object"&&typeof performance.now=="function"){var h=performance;r.unstable_now=function(){return h.now()}}else{var m=Date,g=m.now();r.unstable_now=function(){return m.now()-g}}var C=[],p=[],_=1,D=null,b=3,S=!1,R=!1,z=!1,F=typeof setTimeout=="function"?setTimeout:null,N=typeof clearTimeout=="function"?clearTimeout:null,O=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function A(pe){for(var we=i(p);we!==null;){if(we.callback===null)c(p);else if(we.startTime<=pe)c(p),we.sortIndex=we.expirationTime,l(C,we);else break;we=i(p)}}function B(pe){if(z=!1,A(pe),!R)if(i(C)!==null)R=!0,ve(L);else{var we=i(p);we!==null&&Me(B,we.startTime-pe)}}function L(pe,we){R=!1,z&&(z=!1,N(V),V=-1),S=!0;var Q=b;try{for(A(we),D=i(C);D!==null&&(!(D.expirationTime>we)||pe&&!$());){var q=D.callback;if(typeof q=="function"){D.callback=null,b=D.priorityLevel;var te=q(D.expirationTime<=we);we=r.unstable_now(),typeof te=="function"?D.callback=te:D===i(C)&&c(C),A(we)}else c(C);D=i(C)}if(D!==null)var ue=!0;else{var ne=i(p);ne!==null&&Me(B,ne.startTime-we),ue=!1}return ue}finally{D=null,b=Q,S=!1}}var P=!1,U=null,V=-1,X=5,j=-1;function $(){return!(r.unstable_now()-j<X)}function oe(){if(U!==null){var pe=r.unstable_now();j=pe;var we=!0;try{we=U(!0,pe)}finally{we?G():(P=!1,U=null)}}else P=!1}var G;if(typeof O=="function")G=function(){O(oe)};else if(typeof MessageChannel<"u"){var de=new MessageChannel,xe=de.port2;de.port1.onmessage=oe,G=function(){xe.postMessage(null)}}else G=function(){F(oe,0)};function ve(pe){U=pe,P||(P=!0,G())}function Me(pe,we){V=F(function(){pe(r.unstable_now())},we)}r.unstable_IdlePriority=5,r.unstable_ImmediatePriority=1,r.unstable_LowPriority=4,r.unstable_NormalPriority=3,r.unstable_Profiling=null,r.unstable_UserBlockingPriority=2,r.unstable_cancelCallback=function(pe){pe.callback=null},r.unstable_continueExecution=function(){R||S||(R=!0,ve(L))},r.unstable_forceFrameRate=function(pe){0>pe||125<pe||(X=0<pe?Math.floor(1e3/pe):5)},r.unstable_getCurrentPriorityLevel=function(){return b},r.unstable_getFirstCallbackNode=function(){return i(C)},r.unstable_next=function(pe){switch(b){case 1:case 2:case 3:var we=3;break;default:we=b}var Q=b;b=we;try{return pe()}finally{b=Q}},r.unstable_pauseExecution=function(){},r.unstable_requestPaint=function(){},r.unstable_runWithPriority=function(pe,we){switch(pe){case 1:case 2:case 3:case 4:case 5:break;default:pe=3}var Q=b;b=pe;try{return we()}finally{b=Q}},r.unstable_scheduleCallback=function(pe,we,Q){var q=r.unstable_now();switch(typeof Q=="object"&&Q!==null?(Q=Q.delay,Q=typeof Q=="number"&&0<Q?q+Q:q):Q=q,pe){case 1:var te=-1;break;case 2:te=250;break;case 5:te=1073741823;break;case 4:te=1e4;break;default:te=5e3}return te=Q+te,pe={id:_++,callback:we,priorityLevel:pe,startTime:Q,expirationTime:te,sortIndex:-1},Q>q?(pe.sortIndex=Q,l(p,pe),i(C)===null&&pe===i(p)&&(z?(N(V),V=-1):z=!0,Me(B,Q-q))):(pe.sortIndex=te,l(C,pe),R||S||(R=!0,ve(L))),pe},r.unstable_shouldYield=$,r.unstable_wrapCallback=function(pe){var we=b;return function(){var Q=b;b=we;try{return pe.apply(this,arguments)}finally{b=Q}}}}(dy)),dy}var py={};var mS;function pD(){return mS||(mS=1,function(r){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var l=!1,i=!1,c=5;function d(Be,Ze){var _t=Be.length;Be.push(Ze),g(Be,Ze,_t)}function h(Be){return Be.length===0?null:Be[0]}function m(Be){if(Be.length===0)return null;var Ze=Be[0],_t=Be.pop();return _t!==Ze&&(Be[0]=_t,C(Be,_t,0)),Ze}function g(Be,Ze,_t){for(var Ut=_t;Ut>0;){var on=Ut-1>>>1,Un=Be[on];if(p(Un,Ze)>0)Be[on]=Ze,Be[Ut]=Un,Ut=on;else return}}function C(Be,Ze,_t){for(var Ut=_t,on=Be.length,Un=on>>>1;Ut<Un;){var _n=(Ut+1)*2-1,cr=Be[_n],Qt=_n+1,Tr=Be[Qt];if(p(cr,Ze)<0)Qt<on&&p(Tr,cr)<0?(Be[Ut]=Tr,Be[Qt]=Ze,Ut=Qt):(Be[Ut]=cr,Be[_n]=Ze,Ut=_n);else if(Qt<on&&p(Tr,Ze)<0)Be[Ut]=Tr,Be[Qt]=Ze,Ut=Qt;else return}}function p(Be,Ze){var _t=Be.sortIndex-Ze.sortIndex;return _t!==0?_t:Be.id-Ze.id}var _=1,D=2,b=3,S=4,R=5;function z(Be,Ze){}var F=typeof performance=="object"&&typeof performance.now=="function";if(F){var N=performance;r.unstable_now=function(){return N.now()}}else{var O=Date,A=O.now();r.unstable_now=function(){return O.now()-A}}var B=1073741823,L=-1,P=250,U=5e3,V=1e4,X=B,j=[],$=[],oe=1,G=null,de=b,xe=!1,ve=!1,Me=!1,pe=typeof setTimeout=="function"?setTimeout:null,we=typeof clearTimeout=="function"?clearTimeout:null,Q=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function q(Be){for(var Ze=h($);Ze!==null;){if(Ze.callback===null)m($);else if(Ze.startTime<=Be)m($),Ze.sortIndex=Ze.expirationTime,d(j,Ze);else return;Ze=h($)}}function te(Be){if(Me=!1,q(Be),!ve)if(h(j)!==null)ve=!0,Kn(ue);else{var Ze=h($);Ze!==null&&an(te,Ze.startTime-Be)}}function ue(Be,Ze){ve=!1,Me&&(Me=!1,jr()),xe=!0;var _t=de;try{var Ut;if(!i)return ne(Be,Ze)}finally{G=null,de=_t,xe=!1}}function ne(Be,Ze){var _t=Ze;for(q(_t),G=h(j);G!==null&&!l&&!(G.expirationTime>_t&&(!Be||Ur()));){var Ut=G.callback;if(typeof Ut=="function"){G.callback=null,de=G.priorityLevel;var on=G.expirationTime<=_t,Un=Ut(on);_t=r.unstable_now(),typeof Un=="function"?G.callback=Un:G===h(j)&&m(j),q(_t)}else m(j);G=h(j)}if(G!==null)return!0;var _n=h($);return _n!==null&&an(te,_n.startTime-_t),!1}function Ne(Be,Ze){switch(Be){case _:case D:case b:case S:case R:break;default:Be=b}var _t=de;de=Be;try{return Ze()}finally{de=_t}}function Re(Be){var Ze;switch(de){case _:case D:case b:Ze=b;break;default:Ze=de;break}var _t=de;de=Ze;try{return Be()}finally{de=_t}}function je(Be){var Ze=de;return function(){var _t=de;de=Ze;try{return Be.apply(this,arguments)}finally{de=_t}}}function _e(Be,Ze,_t){var Ut=r.unstable_now(),on;if(typeof _t=="object"&&_t!==null){var Un=_t.delay;typeof Un=="number"&&Un>0?on=Ut+Un:on=Ut}else on=Ut;var _n;switch(Be){case _:_n=L;break;case D:_n=P;break;case R:_n=X;break;case S:_n=V;break;case b:default:_n=U;break}var cr=on+_n,Qt={id:oe++,callback:Ze,priorityLevel:Be,startTime:on,expirationTime:cr,sortIndex:-1};return on>Ut?(Qt.sortIndex=on,d($,Qt),h(j)===null&&Qt===h($)&&(Me?jr():Me=!0,an(te,on-Ut))):(Qt.sortIndex=cr,d(j,Qt),!ve&&!xe&&(ve=!0,Kn(ue))),Qt}function it(){}function tt(){!ve&&!xe&&(ve=!0,Kn(ue))}function Mt(){return h(j)}function ke(Be){Be.callback=null}function xt(){return de}var At=!1,ln=null,Tn=-1,Fn=c,Qn=-1;function Ur(){var Be=r.unstable_now()-Qn;return!(Be<Fn)}function Hr(){}function Rn(Be){Be<0||Be>125||(Be>0?Fn=Math.floor(1e3/Be):Fn=c)}var pn=function(){if(ln!==null){var Be=r.unstable_now();Qn=Be;var Ze=!0,_t=!0;try{_t=ln(Ze,Be)}finally{_t?An():(At=!1,ln=null)}}else At=!1},An;if(typeof Q=="function")An=function(){Q(pn)};else if(typeof MessageChannel<"u"){var Pr=new MessageChannel,Dr=Pr.port2;Pr.port1.onmessage=pn,An=function(){Dr.postMessage(null)}}else An=function(){pe(pn,0)};function Kn(Be){ln=Be,At||(At=!0,An())}function an(Be,Ze){Tn=pe(function(){Be(r.unstable_now())},Ze)}function jr(){we(Tn),Tn=-1}var ii=Hr,ea=null;r.unstable_IdlePriority=R,r.unstable_ImmediatePriority=_,r.unstable_LowPriority=S,r.unstable_NormalPriority=b,r.unstable_Profiling=ea,r.unstable_UserBlockingPriority=D,r.unstable_cancelCallback=ke,r.unstable_continueExecution=tt,r.unstable_forceFrameRate=Rn,r.unstable_getCurrentPriorityLevel=xt,r.unstable_getFirstCallbackNode=Mt,r.unstable_next=Re,r.unstable_pauseExecution=it,r.unstable_requestPaint=ii,r.unstable_runWithPriority=Ne,r.unstable_scheduleCallback=_e,r.unstable_shouldYield=Ur,r.unstable_wrapCallback=je,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(py)),py}var yS;function gS(){return yS||(yS=1,function(r){process.env.NODE_ENV==="production"?r.exports=dD():r.exports=pD()}(fy)),fy.exports}var xS;function vD(){if(xS)return Ba;xS=1;var r=Xe,l=gS();function i(n){for(var a="https://reactjs.org/docs/error-decoder.html?invariant="+n,s=1;s<arguments.length;s++)a+="&args[]="+encodeURIComponent(arguments[s]);return"Minified React error #"+n+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var c=new Set,d={};function h(n,a){m(n,a),m(n+"Capture",a)}function m(n,a){for(d[n]=a,n=0;n<a.length;n++)c.add(a[n])}var g=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),C=Object.prototype.hasOwnProperty,p=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,_={},D={};function b(n){return C.call(D,n)?!0:C.call(_,n)?!1:p.test(n)?D[n]=!0:(_[n]=!0,!1)}function S(n,a,s,v){if(s!==null&&s.type===0)return!1;switch(typeof a){case"function":case"symbol":return!0;case"boolean":return v?!1:s!==null?!s.acceptsBooleans:(n=n.toLowerCase().slice(0,5),n!=="data-"&&n!=="aria-");default:return!1}}function R(n,a,s,v){if(a===null||typeof a>"u"||S(n,a,s,v))return!0;if(v)return!1;if(s!==null)switch(s.type){case 3:return!a;case 4:return a===!1;case 5:return isNaN(a);case 6:return isNaN(a)||1>a}return!1}function z(n,a,s,v,x,w,M){this.acceptsBooleans=a===2||a===3||a===4,this.attributeName=v,this.attributeNamespace=x,this.mustUseProperty=s,this.propertyName=n,this.type=a,this.sanitizeURL=w,this.removeEmptyString=M}var F={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n){F[n]=new z(n,0,!1,n,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var a=n[0];F[a]=new z(a,1,!1,n[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(n){F[n]=new z(n,2,!1,n.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){F[n]=new z(n,2,!1,n,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(n){F[n]=new z(n,3,!1,n.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(n){F[n]=new z(n,3,!0,n,null,!1,!1)}),["capture","download"].forEach(function(n){F[n]=new z(n,4,!1,n,null,!1,!1)}),["cols","rows","size","span"].forEach(function(n){F[n]=new z(n,6,!1,n,null,!1,!1)}),["rowSpan","start"].forEach(function(n){F[n]=new z(n,5,!1,n.toLowerCase(),null,!1,!1)});var N=/[\-:]([a-z])/g;function O(n){return n[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(n){var a=n.replace(N,O);F[a]=new z(a,1,!1,n,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(n){var a=n.replace(N,O);F[a]=new z(a,1,!1,n,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(n){var a=n.replace(N,O);F[a]=new z(a,1,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(n){F[n]=new z(n,1,!1,n.toLowerCase(),null,!1,!1)}),F.xlinkHref=new z("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(n){F[n]=new z(n,1,!1,n.toLowerCase(),null,!0,!0)});function A(n,a,s,v){var x=F.hasOwnProperty(a)?F[a]:null;(x!==null?x.type!==0:v||!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(R(a,s,x,v)&&(s=null),v||x===null?b(a)&&(s===null?n.removeAttribute(a):n.setAttribute(a,""+s)):x.mustUseProperty?n[x.propertyName]=s===null?x.type===3?!1:"":s:(a=x.attributeName,v=x.attributeNamespace,s===null?n.removeAttribute(a):(x=x.type,s=x===3||x===4&&s===!0?"":""+s,v?n.setAttributeNS(v,a,s):n.setAttribute(a,s))))}var B=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,L=Symbol.for("react.element"),P=Symbol.for("react.portal"),U=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),X=Symbol.for("react.profiler"),j=Symbol.for("react.provider"),$=Symbol.for("react.context"),oe=Symbol.for("react.forward_ref"),G=Symbol.for("react.suspense"),de=Symbol.for("react.suspense_list"),xe=Symbol.for("react.memo"),ve=Symbol.for("react.lazy"),Me=Symbol.for("react.offscreen"),pe=Symbol.iterator;function we(n){return n===null||typeof n!="object"?null:(n=pe&&n[pe]||n["@@iterator"],typeof n=="function"?n:null)}var Q=Object.assign,q;function te(n){if(q===void 0)try{throw Error()}catch(s){var a=s.stack.trim().match(/\n( *(at )?)/);q=a&&a[1]||""}return`
70
70
  `+q+n}var ue=!1;function ne(n,a){if(!n||ue)return"";ue=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(a)if(a=function(){throw Error()},Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(a,[])}catch(fe){var v=fe}Reflect.construct(n,[],a)}else{try{a.call()}catch(fe){v=fe}n.call(a.prototype)}else{try{throw Error()}catch(fe){v=fe}n()}}catch(fe){if(fe&&v&&typeof fe.stack=="string"){for(var x=fe.stack.split(`
71
71
  `),w=v.stack.split(`
72
72
  `),M=x.length-1,Y=w.length-1;1<=M&&0<=Y&&x[M]!==w[Y];)Y--;for(;1<=M&&0<=Y;M--,Y--)if(x[M]!==w[Y]){if(M!==1||Y!==1)do if(M--,Y--,0>Y||x[M]!==w[Y]){var Z=`
@@ -18,6 +18,8 @@ interface BackHeaderProps {
18
18
  level?: 1 | 2 | 3 | 4 | 5;
19
19
  /** 自定义图标 */
20
20
  icon?: React.ReactNode;
21
+ /** 自定义返回事件 */
22
+ onBack?: () => void;
21
23
  }
22
24
  declare const BackHeader: (props: BackHeaderProps) => import("react/jsx-runtime").JSX.Element;
23
25
  export default BackHeader;
@@ -15,7 +15,7 @@ const styles = {
15
15
  };
16
16
  const { Title, Text } = Typography;
17
17
  const BackHeader = (props) => {
18
- const { isBack = true, title: title2, extra, subTitle = null, className, style, titleStyle, level = 2, icon } = props;
18
+ const { isBack = true, title: title2, extra, subTitle = null, className, style, titleStyle, level = 2, icon, onBack } = props;
19
19
  const navigate = useNavigate();
20
20
  const renderSubtitle = () => {
21
21
  if (typeof subTitle === "string") {
@@ -24,6 +24,10 @@ const BackHeader = (props) => {
24
24
  return subTitle;
25
25
  };
26
26
  const goBack = () => {
27
+ if (onBack) {
28
+ onBack == null ? void 0 : onBack();
29
+ return;
30
+ }
27
31
  navigate(-1);
28
32
  };
29
33
  return /* @__PURE__ */ jsxs("div", { className: classNames(styles.main, className), style, children: [
@@ -18,6 +18,8 @@ interface BackHeaderProps {
18
18
  level?: 1 | 2 | 3 | 4 | 5;
19
19
  /** 自定义图标 */
20
20
  icon?: React.ReactNode;
21
+ /** 自定义返回事件 */
22
+ onBack?: () => void;
21
23
  }
22
24
  declare const BackHeader: (props: BackHeaderProps) => import("react/jsx-runtime").JSX.Element;
23
25
  export default BackHeader;
@@ -16,7 +16,7 @@ const styles = {
16
16
  };
17
17
  const { Title, Text } = antd.Typography;
18
18
  const BackHeader = (props) => {
19
- const { isBack = true, title: title2, extra, subTitle = null, className, style, titleStyle, level = 2, icon } = props;
19
+ const { isBack = true, title: title2, extra, subTitle = null, className, style, titleStyle, level = 2, icon, onBack } = props;
20
20
  const navigate = reactRouterDom.useNavigate();
21
21
  const renderSubtitle = () => {
22
22
  if (typeof subTitle === "string") {
@@ -25,6 +25,10 @@ const BackHeader = (props) => {
25
25
  return subTitle;
26
26
  };
27
27
  const goBack = () => {
28
+ if (onBack) {
29
+ onBack == null ? void 0 : onBack();
30
+ return;
31
+ }
28
32
  navigate(-1);
29
33
  };
30
34
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: classNames(styles.main, className), style, children: [
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "szld-libs",
3
3
  "private": false,
4
- "version": "0.2.51",
4
+ "version": "0.2.52",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",