PageSourceSearch

https://www.mechrevo.com/na/_nuxt/De6jcG9N.js

js mechrevo.com collected 2026-09-24 22:54:57 UTC 14,098 bytes, 7 lines download raw bytes

1import{aV as Z,aI as C,ac as R,b as d,aG as g,aW as q,P as J,r as Q,aE as r,x as z,H as te,U as ie,E as k,ao as h,A as ee,R as ae,aX as le,aD as re,aY as de,aZ as se,a_ as ce,a$ as ue,b0 as me,b1 as fe,b2 as ge}from"./C4-mtOfP.js";import{p as pe,K as G}from"./DQX_lVZx.js";import{o as ve,i as oe}from"./DHM1Qp6X.js";import{i as be,P as Ce}from"./CXkkP6O4.js";import{i as $e}from"./DN3XsdxB.js";const ye=new Z("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),Se=new Z("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),xe=function(e){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:n}=e,t=`${n}-fade`,i=o?"&":"";return[be(t,ye,Se,e.motionDurationMid,o),{[`
2        ${i}${t}-enter,
3        ${i}${t}-appear
4      `]:{opacity:0,animationTimingFunction:"linear"},[`${i}${t}-leave`]:{animationTimingFunction:"linear"}}]};function _(){return{keyboard:{type:Boolean,default:void 0},mask:{type:Boolean,default:void 0},afterClose:Function,closable:{type:Boolean,default:void 0},maskClosable:{type:Boolean,default:void 0},visible:{type:Boolean,default:void 0},destroyOnClose:{type:Boolean,default:void 0},mousePosition:C.shape({x:Number,y:Number}).loose,title:C.any,footer:C.any,transitionName:String,maskTransitionName:String,animation:C.any,maskAnimation:C.any,wrapStyle:{type:Object,default:void 0},bodyStyle:{type:Object,default:void 0},maskStyle:{type:Object,default:void 0},prefixCls:String,wrapClassName:String,rootClassName:String,width:[String,Number],height:[String,Number],zIndex:Number,bodyProps:C.any,maskProps:C.any,wrapProps:C.any,getContainer:C.any,dialogStyle:{type:Object,default:void 0},dialogClass:String,closeIcon:C.any,forceRender:{type:Boolean,default:void 0},getOpenCount:Function,focusTriggerAfterClose:{type:Boolean,default:void 0},onClose:Function,modalRender:Function}}function X(e,o,n){let t=o;return!t&&n&&(t=`${e}-${n}`),t}let j=-1;function he(){return j+=1,j}function K(e,o){let n=e[`page${o?"Y":"X"}Offset`];const t=`scroll${o?"Top":"Left"}`;if(typeof n!="number"){const i=e.document;n=i.documentElement[t],typeof n!="number"&&(n=i.body[t])}return n}function we(e){const o=e.getBoundingClientRect(),n={left:o.left,top:o.top},t=e.ownerDocument,i=t.defaultView||t.parentWindow;return n.left+=K(i),n.top+=K(i,!0),n}const Be={width:0,height:0,overflow:"hidden",outline:"none"},ze={outline:"none"},He=R({compatConfig:{MODE:3},name:"DialogContent",inheritAttrs:!1,props:r(r({},_()),{motionName:String,ariaId:String,onVisibleChanged:Function,onMousedown:Function,onMouseup:Function}),setup(e,o){let{expose:n,slots:t,attrs:i}=o;const u=z(),m=z(),f=z();n({focus:()=>{var l;(l=u.value)===null||l===void 0||l.focus({preventScroll:!0})},changeActive:l=>{const{activeElement:c}=document;l&&c===m.value?u.value.focus({preventScroll:!0}):!l&&c===u.value&&m.value.focus({preventScroll:!0})}});const y=z(),x=te(()=>{const{width:l,height:c}=e,v={};return l!==void 0&&(v.width=typeof l=="number"?`${l}px`:l),c!==void 0&&(v.height=typeof c=="number"?`${c}px`:c),y.value&&(v.transformOrigin=y.value),v}),p=()=>{ie(()=>{if(f.value){const l=we(f.value);y.value=e.mousePosition?`${e.mousePosition.x-l.left}px ${e.mousePosition.y-l.top}px`:""}})},$=l=>{e.onVisibleChanged(l)};return()=>{var l,c,v,w;const{prefixCls:b,footer:a=(l=t.footer)===null||l===void 0?void 0:l.call(t),title:s=(c=t.title)===null||c===void 0?void 0:c.call(t),ariaId:S,closable:B,closeIcon:H=(v=t.closeIcon)===null||v===void 0?void 0:v.call(t),onClose:I,bodyStyle:W,bodyProps:E,onMousedown:O,onMouseup:N,visible:T,modalRender:P=t.modalRender,destroyOnClose:A,motionName:V}=e;let M;a&&(M=d("div",{class:`${b}-footer`},[a]));let F;s&&(F=d("div",{class:`${b}-header`},[d("div",{class:`${b}-title`,id:S},[s])]));let D;B&&(D=d("button",{type:"button",onClick:I,"aria-label":"Close",class:`${b}-close`},[H||d("span",{class:`${b}-close-x`},null)]));const L=d("div",{class:`${b}-content`},[D,F,d("div",g({class:`${b}-body`,style:W},E),[(w=t.default)===null||w===void 0?void 0:w.call(t)]),M]),ne=q(V);return d(J,g(g({},ne),{},{onBeforeEnter:p,onAfterEnter:()=>$(!0),onAfterLeave:()=>$(!1)}),{default:()=>[T||!A?Q(d("div",g(g({},i),{},{ref:f,key:"dialog-element",role:"document",style:[x.value,i.style],class:[b,i.class],onMousedown:O,onMouseup:N}),[d("div",{tabindex:0,ref:u,style:ze},[P?P({originVNode:L}):L]),d("div",{tabindex:0,ref:m,style:Be},null)]),[[k,T]]):null]})}}}),Ie=R({compatConfig:{MODE:3},name:"DialogMask",props:{prefixCls:String,visible:Boolean,motionName:String,maskProps:Object},setup(e,o){return()=>{const{prefixCls:n,visible:t,maskProps:i,motionName:u}=e,m=q(u);return d(J,m,{default:()=>[Q(d("div",g({class:`${n}-mask`},i),null),[[k,t]])]})}}}),U=R({compatConfig:{MODE:3},name:"VcDialog",inheritAttrs:!1,props:oe(r(r({},_()),{getOpenCount:Function,scrollLocker:Object}),{mask:!0,visible:!1,keyboard:!0,closable:!0,maskClosable:!0,destroyOnClose:!1,prefixCls:"rc-dialog",getOpenCount:()=>null,focusTriggerAfterClose:!0}),setup(e,o){let{attrs:n,slots:t}=o;const i=h(),u=h(),m=h(),f=h(e.visible),y=h(`vcDialogTitle${he()}`),x=a=>{var s,S;
4if(a)de(u.value,document.activeElement)||(i.value=document.activeElement,(s=m.value)===null||s===void 0||s.focus());else{const B=f.value;if(f.value=!1,e.mask&&i.value&&e.focusTriggerAfterClose){try{i.value.focus({preventScroll:!0})}catch{}i.value=null}B&&((S=e.afterClose)===null||S===void 0||S.call(e))}},p=a=>{var s;(s=e.onClose)===null||s===void 0||s.call(e,a)},$=h(!1),l=h(),c=()=>{clearTimeout(l.value),$.value=!0},v=()=>{l.value=setTimeout(()=>{$.value=!1})},w=a=>{if(!e.maskClosable)return null;$.value?$.value=!1:u.value===a.target&&p(a)},b=a=>{if(e.keyboard&&a.keyCode===G.ESC){a.stopPropagation(),p(a);return}e.visible&&a.keyCode===G.TAB&&m.value.changeActive(!a.shiftKey)};return ee(()=>e.visible,()=>{e.visible&&(f.value=!0)},{flush:"post"}),ae(()=>{var a;clearTimeout(l.value),(a=e.scrollLocker)===null||a===void 0||a.unLock()}),le(()=>{var a,s;(a=e.scrollLocker)===null||a===void 0||a.unLock(),f.value&&((s=e.scrollLocker)===null||s===void 0||s.lock())}),()=>{const{prefixCls:a,mask:s,visible:S,maskTransitionName:B,maskAnimation:H,zIndex:I,wrapClassName:W,rootClassName:E,wrapStyle:O,closable:N,maskProps:T,maskStyle:P,transitionName:A,animation:V,wrapProps:M,title:F=t.title}=e,{style:D,class:L}=n;return d("div",g({class:[`${a}-root`,E]},pe(e,{data:!0})),[d(Ie,{prefixCls:a,visible:s&&S,motionName:X(a,B,H),style:r({zIndex:I},P),maskProps:T},null),d("div",g({tabIndex:-1,onKeydown:b,class:re(`${a}-wrap`,W),ref:u,onClick:w,role:"dialog","aria-labelledby":F?y.value:null,style:r(r({zIndex:I},O),{display:f.value?null:"none"})},M),[d(He,g(g({},ve(e,["scrollLocker"])),{},{style:D,class:L,onMousedown:c,onMouseup:v,ref:m,closable:N,ariaId:y.value,prefixCls:a,visible:S,onClose:p,onVisibleChanged:x,motionName:X(a,A,V)}),t)])])}}}),Te=_(),Ae=R({compatConfig:{MODE:3}
4,name:"DialogWrap",inheritAttrs:!1,props:oe(Te,{visible:!1}),setup(e,o){let{attrs:n,slots:t}=o;const i=z(e.visible);return se({},{inTriggerContext:!1}),ee(()=>e.visible,()=>{e.visible&&(i.value=!0)},{flush:"post"}),()=>{const{visible:u,getContainer:m,forceRender:f,destroyOnClose:y=!1,afterClose:x}=e;let p=r(r(r({},e),n),{ref:"_component",key:"dialog"});return m===!1?d(U,g(g({},p),{},{getOpenCount:()=>2}),t):!f&&y&&!i.value?null:d(Ce,{autoLock:!0,visible:u,forceRender:f,getContainer:m},{default:$=>(p=r(r(r({},p),$),{afterClose:()=>{x?.(),i.value=!1}}),d(U,p,t))})}}});function Y(e){return{position:e,top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0}}const Pe=e=>{const{componentCls:o}=e;return[{[`${o}-root`]:{[`${o}${e.antCls}-zoom-enter, ${o}${e.antCls}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${o}${e.antCls}-zoom-leave ${o}-content`]:{pointerEvents:"none"},[`${o}-mask`]:r(r({},Y("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,[`${o}-hidden`]:{display:"none"}}),[`${o}-wrap`]:r(r({},Y("fixed")),{overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${o}-root`]:xe(e)}]},Me=e=>{const{componentCls:o}=e;return[{[`${o}-root`]:{[`${o}-wrap`]:{zIndex:e.zIndexPopupBase,position:"fixed",inset:0,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"},[`${o}-wrap-rtl`]:{direction:"rtl"},[`${o}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[o]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax})`]:{[o]:{maxWidth:"calc(100vw - 16px)",margin:`${e.marginXS} auto`},[`${o}-centered`]:{[o]:{flex:1}}}}},{[o]:r(r({},me(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${e.margin*2}px)`,margin:"0 auto",paddingBottom:e.paddingLG,[`${o}-title`]:{margin:0,color:e.modalHeadingColor,fontWeight:e.fontWeightStrong,fontSize:e.modalHeaderTitleFontSize,lineHeight:e.modalHeaderTitleLineHeight,wordWrap:"break-word"},[`${o}-content`]:{position:"relative",backgroundColor:e.modalContentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadowSecondary,pointerEvents:"auto",padding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`},[`${o}-close`]:r({position:"absolute",top:(e.modalHeaderCloseSize-e.modalCloseBtnSize)/2,insetInlineEnd:(e.modalHeaderCloseSize-e.modalCloseBtnSize)/2,zIndex:e.zIndexPopupBase+10,padding:0,color:e.modalCloseColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalConfirmIconSize,height:e.modalConfirmIconSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"block",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:`${e.modalCloseBtnSize}px`,textAlign:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalIconHoverColor,backgroundColor:e.wireframe?"transparent":e.colorFillContent,textDecoration:"none"},"&:active":{backgroundColor:e.wireframe?"transparent":e.colorFillContentHover}},fe(e)),[`${o}-header`]:{color:e.colorText,background:e.modalHeaderBg,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`,marginBottom:e.marginXS},[`${o}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word"},[`${o}-footer`]:{textAlign:"end",background:e.modalFooterBg,marginTop:e.marginSM,[`${e.antCls}-btn + ${e.antCls}-btn:not(${e.antCls}-dropdown-trigger)`]:{marginBottom:0,marginInlineStart:e.marginXS}},[`${o}-open`]:{overflow:"hidden"}})},{[`${o}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${o}-content,
5          ${o}-body,
6          ${o}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${o}-confirm-body`]:{marginBottom:"auto"}}}]},Fe=e=>{const{componentCls:o}=e,n=`${o}-confirm`;return{[n]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${n}-body-wrapper`]:r({},ge()),[`${n}-body`]:{display:"flex",flexWrap:"wrap",alignItems:"center",[`${n}-title`]:{flex:"0 0 100%",display:"block",overflow:"hidden",color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.modalHeaderTitleFontSize,lineHeight:e.modalHeaderTitleLineHeight,[`+ ${n}-content`]:{marginBlockStart:e.marginXS,flexBasis:"100%",maxWidth:`calc(100% - ${e.modalConfirmIconSize+e.marginSM}px)`}},[`${n}-content`]:{color:e.colorText,fontSize:e.fontSize},[`> ${e.iconCls}`]:{flex:"none",marginInlineEnd:e.marginSM,fontSize:e.modalConfirmIconSize,[`+ ${n}-title`]:{flex:1},[`+ ${n}-title + ${n}-content`]:{marginInlineStart:e.modalConfirmIconSize+e.marginSM}}},[`${n}-btns`]:{textAlign:"end",marginTop:e.marginSM,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${n}-error ${n}-body > ${e.iconCls}`]:{color:e.colorError},[`${n}-warning ${n}-body > ${e.iconCls},
7        ${n}-confirm ${n}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${n}-info ${n}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${n}-success ${n}-body > ${e.iconCls}`]:{color:e.colorSuccess},[`${o}-zoom-leave ${o}-btns`]:{pointerEvents:"none"}}},De=e=>{const{componentCls:o}=e;return{[`${o}-root`]:{[`${o}-wrap-rtl`]:{direction:"rtl",[`${o}-confirm-body`]:{direction:"rtl"}}}}},Le=e=>{const{componentCls:o,antCls:n}=e,t=`${o}-confirm`;return{[o]:{[`${o}-content`]:{padding:0},[`${o}-header`]:{padding:e.modalHeaderPadding,borderBottom:`${e.modalHeaderBorderWidth}px ${e.modalHeaderBorderStyle} ${e.modalHeaderBorderColorSplit}`,marginBottom:0},[`${o}-body`]:{padding:e.modalBodyPadding},[`${o}-footer`]:{padding:`${e.modalFooterPaddingVertical}px ${e.modalFooterPaddingHorizontal}px`,borderTop:`${e.modalFooterBorderWidth}px ${e.modalFooterBorderStyle} ${e.modalFooterBorderColorSplit}`,borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`,marginTop:0}},[t]:{[`${n}-modal-body`]:{padding:`${e.padding*2}px ${e.padding*2}px ${e.paddingLG}px`},[`${t}-body`]:{[`> ${e.iconCls}`]:{marginInlineEnd:e.margin,[`+ ${t}-title + ${t}-content`]:{marginInlineStart:e.modalConfirmIconSize+e.margin}}},[`${t}-btns`]:{marginTop:e.marginLG}}}},Ve=ce("Modal",e=>{const o=e.padding,n=e.fontSizeHeading5,t=e.lineHeightHeading5,i=ue(e,{modalBodyPadding:e.paddingLG,modalHeaderBg:e.colorBgElevated,modalHeaderPadding:`${o}px ${e.paddingLG}px`,modalHeaderBorderWidth:e.lineWidth,modalHeaderBorderStyle:e.lineType,modalHeaderTitleLineHeight:t,modalHeaderTitleFontSize:n,modalHeaderBorderColorSplit:e.colorSplit,modalHeaderCloseSize:t*n+o
7*2,modalContentBg:e.colorBgElevated,modalHeadingColor:e.colorTextHeading,modalCloseColor:e.colorTextDescription,modalFooterBg:"transparent",modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterPaddingVertical:e.paddingXS,modalFooterPaddingHorizontal:e.padding,modalFooterBorderWidth:e.lineWidth,modalConfirmTitleFontSize:e.fontSizeLG,modalIconHoverColor:e.colorIconHover,modalConfirmIconSize:e.fontSize*e.lineHeight,modalCloseBtnSize:e.controlHeightLG*.55});return[Me(i),Fe(i),De(i),Pe(i),e.wireframe&&Le(i),$e(i,"zoom")]});export{Ae as D,_ as d,Pe as g,xe as i,Ve as u};

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.