PageSourceSearch

https://delco.mn/_next/static/chunks/9853-f369b2c728d2377a.js

js delco.mn collected 2026-09-24 15:06:01 UTC 17,608 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9853],{86743:function(e,t,n){var r=n(83963),o=n(97345),i=n(9475),c=n(67294),a=n(71577),u=n(6134);function l(e){return!(!e||!e.then)}t.Z=function(e){var t=c.useRef(!1),n=c.useRef(),s=(0,i.Z)(!1),f=(0,o.Z)(s,2),p=f[0],v=f[1],d=e.close,m=function(){null===d||void 0===d||d.apply(void 0,arguments)};c.useEffect((function(){var t;if(e.autoFocus){var r=n.current;t=setTimeout((function(){return r.focus()}))}return function(){t&&clearTimeout(t)}}),[]);var h=e.type,y=e.children,g=e.prefixCls,x=e.buttonProps;return c.createElement(a.Z,(0,r.Z)({},(0,u.n)(h),{onClick:function(n){var r=e.actionFn;if(!t.current)if(t.current=!0,r){var o;if(e.emitEvent){if(o=r(n),e.quitOnNullishReturnValue&&!l(o))return t.current=!1,void m(n)}else if(r.length)o=r(d),t.current=!1;else if(!(o=r()))return void m();!function(e){l(e)&&(v(!0),e.then((function(){v(!1,!0),m.apply(void 0,arguments),t.current=!1}),(function(e){console.error(e),v(!1,!0),t.current=!1})))}(o)}else m()},loading:p,prefixCls:g},x,{ref:n}),y)}},89853:function(e,t,n){n.d(t,{Z:function(){return ve}});var r=n(79453),o=n(83963),i=n(84742),c=n(19478),a=n(83133),u=n(42),l=n(38442);function s(){s=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",c=r.toStringTag||"@@toStringTag";function a(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{a({},"")}catch(N){a=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var o=t&&t.prototype instanceof v?t:v,i=Object.create(o.prototype),c=new Z(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return L()}for(n.method=o,n.arg=i;;){var c=n.delegate;if(c){var a=E(c,n);if(a){if(a===p)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=f(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===p)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(e,n,c),i}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(N){return{type:"throw",arg:N}}}e.wrap=u;var p={};function v(){}function d(){}function m(){}var h={};a(h,o,(function(){return this}));var y=Object.getPrototypeOf,g=y&&y(y(T([])));g&&g!==t&&n.call(g,o)&&(h=g);var x=m.prototype=v.prototype=Object.create(h);function C(e){["next","throw","return"].forEach((function(t){a(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(o,i,c,a){var u=f(e[o],e,i);if("throw"!==u.type){var s=u.arg,p=s.value;return p&&"object"==(0,l.Z)(p)&&n.call(p,"__await")?t.resolve(p.__await).then((function(e){r("next",e,c,a)}),(function(e){r("throw",e,c,a)})):t.resolve(p).then((function(e){s.value=e,c(s)}),(function(e){return r("throw",e,c,a)}))}a(u.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function E(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method))return p;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var r=f(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,p;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function b(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function Z(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(b,this),this.reset(!0)}function T(e){if(e){var t=e[o];if(t)return t.call(e);
1if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:L}}function L(){return{value:void 0,done:!0}}return d.prototype=m,a(x,"constructor",m),a(m,"constructor",d),d.displayName=a(m,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,a(e,c,"GeneratorFunction")),e.prototype=Object.create(x),e},e.awrap=function(e){return{__await:e}},C(w.prototype),a(w.prototype,i,(function(){return this})),e.AsyncIterator=w,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var c=new w(u(t,n,r,o),i);return e.isGeneratorFunction(n)?c:c.next().then((function(e){return e.done?e.value:c.next()}))},C(x),a(x,c,"Generator"),a(x,o,(function(){return this})),a(x,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=T,Z.prototype={constructor:Z,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return c.type="throw",c.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],c=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var a=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(a&&u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var c=i?i.completion:{};return c.type=e,c.arg=t,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(c)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),k(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;k(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:T(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},e}function f(e,t,n,r,o,i,c){try{var a=e[i](c),u=a.value}catch(l){return void n(l)}a.done?t(u):Promise.resolve(u).then(r,o)}function p(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function c(e){f(i,r,o,c,a,"next",e)}function a(e){f(i,r,o,c,a,"throw",e)}c(void 0)}))}}var v,d=n(27884),m=n(73935),h=n.t(m,2),y=(0,d.Z)({},h),g=y.version,x=y.render,C=y.unmountComponentAtNode;try{Number((g||"").split(".")[0])>=18&&(v=y.createRoot)}catch(de){}function w(e){var t=y.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"===(0,l.Z)(t)&&(t.usingClientEntryPoint=e)}var E="__rc_react_root__";function b(e,t){v?function(e,t){w(!0);var n=t[E]||v(t);w(!1),n.render(e),t[E]=n}(e,t):function(e,t){x(e,t)}(e,t)}function k(e){return Z.apply(this,arguments)}function Z(){return(Z=p(s().mark((function e(t){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.resolve().then((function(){var e;null===(e=t[E])||void 0===e||e.unmount(),delete t[E]})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function T(e){C(e)}function L(e){return N.apply(this,arguments)}function N(){return(N=p(s().mark((function e(t){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===v){e.next=2;break}return e.abrupt("return",k(t));case 2:T(t);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var O,P=n(67294),_=n(38080),j=n(85623),S=n(94184),I=n.n(S),F=n(86743),A=n(33603),R=n(85846),G=n(84698),B=n(71577),M=n(6134),z=n(53124),D=n(65223),Y=n(23715),U=n(31808),H=n(83008),q=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};(0,U.jD)()&&document.documentElement.addEventListener("click",(function(e){O={x:e.pageX,y:e.pageY},setTimeout((function(){O=null}),100)}),!0);var V=function(e){var t,n=P.useContext(z.E_),r=n.getPopupContainer,i=n.getPrefixCls,c=n.direction,a=function(t){var n=e.onCancel;null===n||void 0===n||n(t)},u=function(t){var n=e.onOk;null===n||void 0===n||n(t)},l=function(t){var n=e.okText,r=e.okType,i=e.cancelText,c=e.confirmLoading;return P.createElement(P.Fragment,null,P.createElement(B.Z,(0,o.Z)({onClick:a},e.cancelButtonProps),i||t.cancelText),P.createElement(B.Z,(0,o.Z)({},(0,M.n)(r),{loading:c,onClick:u},e.okButtonProps),n||t.okText))},s=e.prefixCls,f=e.footer,p=e.visible,v=e.wrapClassName,d=e.centered,m=e.getContainer,h=e.closeIcon,y=e.focusTriggerAfterClose,g=void 0===y||y,x=q(e,["prefixCls","footer","visible","wrapClassName","centered","getContainer","closeIcon","focusTriggerAfterClose"]),C=i("modal",s),w=i(),E=P.createElement(Y.Z,{componentName:"Modal",defaultLocale:(0,H.A)()},l),b=P.createElement("span",{className:"".concat(C,"-close-x")},h||P.createElement(R.Z,{className:"".concat(C,"-close-icon")})),k=I()(v,(t={}
1,(0,j.Z)(t,"".concat(C,"-centered"),!!d),(0,j.Z)(t,"".concat(C,"-wrap-rtl"),"rtl"===c),t));return P.createElement(D.Ux,{status:!0,override:!0},P.createElement(G.Z,(0,o.Z)({},x,{getContainer:void 0===m?r:m,prefixCls:C,wrapClassName:k,footer:void 0===f?E:f,visible:p,mousePosition:O,onClose:a,closeIcon:b,focusTriggerAfterClose:g,transitionName:(0,A.mL)(w,"zoom",e.transitionName),maskTransitionName:(0,A.mL)(w,"fade",e.maskTransitionName)})))};V.defaultProps={width:520,confirmLoading:!1,visible:!1,okType:"primary"};var W=V,X=function(e){var t=e.icon,n=e.onCancel,r=e.onOk,o=e.close,i=e.zIndex,c=e.afterClose,a=e.visible,u=e.keyboard,l=e.centered,s=e.getContainer,f=e.maskStyle,p=e.okText,v=e.okButtonProps,d=e.cancelText,m=e.cancelButtonProps,h=e.direction,y=e.prefixCls,g=e.wrapClassName,x=e.rootPrefixCls,C=e.iconPrefixCls,w=e.bodyStyle,E=e.closable,b=void 0!==E&&E,k=e.closeIcon,Z=e.modalRender,T=e.focusTriggerAfterClose,L=e.okType||"primary",N="".concat(y,"-confirm"),O=!("okCancel"in e)||e.okCancel,S=e.width||416,R=e.style||{},G=void 0===e.mask||e.mask,B=void 0!==e.maskClosable&&e.maskClosable,M=null!==e.autoFocusButton&&(e.autoFocusButton||"ok"),z=I()(N,"".concat(N,"-").concat(e.type),(0,j.Z)({},"".concat(N,"-rtl"),"rtl"===h),e.className),D=O&&P.createElement(F.Z,{actionFn:n,close:o,autoFocus:"cancel"===M,buttonProps:m,prefixCls:"".concat(x,"-btn")},d);return P.createElement(_.ZP,{prefixCls:x,iconPrefixCls:C,direction:h},P.createElement(W,{prefixCls:y,className:z,wrapClassName:I()((0,j.Z)({},"".concat(N,"-centered"),!!e.centered),g),onCancel:function(){return o({triggerCancel:!0})},visible:a,title:"",footer:"",transitionName:(0,A.mL)(x,"zoom",e.transitionName),maskTransitionName:(0,A.mL)(x,"fade",e.maskTransitionName),mask:G,maskClosable:B,maskStyle:f,style:R,bodyStyle:w,width:S,zIndex:i,afterClose:c,keyboard:u,centered:l,getContainer:s,closable:b,closeIcon:k,modalRender:Z,focusTriggerAfterClose:T},P.createElement("div",{className:"".concat(N,"-body-wrapper")},P.createElement("div",{className:"".concat(N,"-body")},t,void 0===e.title?null:P.createElement("span",{className:"".concat(N,"-title")},e.title),P.createElement("div",{className:"".concat(N,"-content")},e.content)),P.createElement("div",{className:"".concat(N,"-btns")},D,P.createElement(F.Z,{type:L,actionFn:r,close:o,autoFocus:"ok"===M,buttonProps:v,prefixCls:"".concat(x,"-btn")},p)))))},J=[],K=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},Q="";function $(e){var t=document.createDocumentFragment(),n=(0,o.Z)((0,o.Z)({},e),{close:a,visible:!0});function i(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var c=o.some((function(e){return e&&e.triggerCancel}));e.onCancel&&c&&e.onCancel.apply(e,[function(){}].concat((0,r.Z)(o.slice(1))));for(var u=0;u<J.length;u++){var l=J[u];if(l===a){J.splice(u,1);break}}L(t)}function c(e){var n=e.okText,r=e.cancelText,i=e.prefixCls,c=K(e,["okText","cancelText","prefixCls"]);setTimeout((function(){var e=(0,H.A)(),a=(0,_.w6)(),u=a.getPrefixCls,l=a.getIconPrefixCls,s=u(void 0,Q),f=i||"".concat(s,"-modal"),p=l();b(P.createElement(X,(0,o.Z)({},c,{prefixCls:f,rootPrefixCls:s,iconPrefixCls:p,okText:n||(c.okCancel?e.okText:e.justOkText),cancelText:r||e.cancelText})),t)}))}function a(){for(var t=this,r=arguments.length,a=new Array(r),u=0;u<r;u++)a[u]=arguments[u];c(n=(0,o.Z)((0,o.Z)({},n),{visible:!1,afterClose:function(){"function"===typeof e.afterClose&&e.afterClose(),i.apply(t,a)}}))}return c(n),J.push(a),{destroy:a,update:function(e){c(n="function"===typeof e?e(n):(0,o.Z)((0,o.Z)({},n),e))}}}function ee(e){return(0,o.Z)((0,o.Z)({icon:P.createElement(a.Z,null),okCancel:!1},e),{type:"warning"})}function te(e){return(0,o.Z)((0,o.Z)({icon:P.createElement(u.Z,null),okCancel:!1},e),{type:"info"})}function ne(e){return(0,o.Z)((0,o.Z)({icon:P.createElement(i.Z,null),okCancel:!1},e),{type:"success"})}function re(e){return(0,o.Z)((0,o.Z)({icon:P.createElement(c.Z,null),okCancel:!1},e),{type:"error"})}function oe(e){return(0,o.Z)((0,o.Z)({icon:P.createElement(a.Z,null),okCancel:!0},e),{type:"confirm"})}var ie=n(97345);var ce=n(80779),ae=function(e,t){var n=e.afterClose,i=e.config,c=P.useState(!0),a=(0,ie.Z)(c,2),u=a[0],l=a[1],s=P.useState(i),f=(0,ie.Z)(s,2),p=f[0],v=f[1],d=P.useContext(z.E_),m=d.direction,h=d.getPrefixCls,y=h("modal"),g=h(),x=function(){l(!1);for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t.some((function(e){return e&&e.triggerCancel}));p.onCancel&&o&&p.onCancel.apply(p,[function(){}].concat((0,r.Z)(t.slice(1))))};return P.useImperativeHandle(t,(function(){return{destroy:x,update:function(e){v((function(t){return(0,o.Z)((0,o.Z)({},t),e)}))}}})),P.createElement(Y.Z,{componentName:"Modal",defaultLocale:ce.Z.Modal},(function(e){return P.createElement(X,(0,o.Z)({prefixCls:y,rootPrefixCls:g},p,{close:x,visible:u,afterClose:n,okText:p.okText||(p.okCancel?e.okText:e.justOkText),direction:m,cancelText:p.cancelText||e.cancelText}))}))},ue=P.forwardRef(ae),le=0,se=P.memo(P.forwardRef((function(e,t){var n=function(){var e=P.useState([]),t=(0,ie.Z)(e,2),n=t[0],o=t[1];return[n,P.useCallback((function(e){return o((function(t){return[].concat((0,r.Z)(t),[e])})),function(){o((function(t){return t.filter((function(t){return t!==e}))}))}}),[])]}(),o=(0,ie.Z)(n,2),i=o[0],c=o[1];return P.useImperativeHandle(t,(function(){return{patchElement:c}}),[]),P.createElement(P.Fragment,null,i)})));function fe(e){return $(ee(e))}var pe=W;pe.useModal=function(){var e=P.useRef(null),t=P.useState([]),n=(0,ie.Z)(t,2),o=n[0],i=n[1];
1P.useEffect((function(){o.length&&((0,r.Z)(o).forEach((function(e){e()})),i([]))}),[o]);var c=P.useCallback((function(t){return function(n){var o;le+=1;var c,a=P.createRef(),u=P.createElement(ue,{key:"modal-".concat(le),config:t(n),ref:a,afterClose:function(){c()}});return c=null===(o=e.current)||void 0===o?void 0:o.patchElement(u),{destroy:function(){function e(){var e;null===(e=a.current)||void 0===e||e.destroy()}a.current?e():i((function(t){return[].concat((0,r.Z)(t),[e])}))},update:function(e){function t(){var t;null===(t=a.current)||void 0===t||t.update(e)}a.current?t():i((function(e){return[].concat((0,r.Z)(e),[t])}))}}}}),[]);return[P.useMemo((function(){return{info:c(te),success:c(ne),error:c(re),warning:c(ee),confirm:c(oe)}}),[]),P.createElement(se,{ref:e})]},pe.info=function(e){return $(te(e))},pe.success=function(e){return $(ne(e))},pe.error=function(e){return $(re(e))},pe.warning=fe,pe.warn=fe,pe.confirm=function(e){return $(oe(e))},pe.destroyAll=function(){for(;J.length;){var e=J.pop();e&&e()}},pe.config=function(e){var t=e.rootPrefixCls;Q=t};var ve=pe}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.