PageSourceSearch

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

js mechrevo.com collected 2026-09-24 22:52:43 UTC 3,075 bytes, 1 lines download raw bytes

1import{a_ as y,a$ as S,aE as d,b0 as w,bQ as B,ac as A,aC as T,aB as k,aD as _,b as f,aG as h,aH as D,x as N,H as z,be as C,F as H,bL as $}from"./C4-mtOfP.js";import{g as I,P as W,A as E,t as M,a as R}from"./DO0x301F.js";import{o as j,i as L}from"./DHM1Qp6X.js";import{i as F}from"./DN3XsdxB.js";const G=e=>{const{componentCls:o,popoverBg:r,popoverColor:t,width:a,fontWeightStrong:s,popoverPadding:l,boxShadowSecondary:c,colorTextHeading:g,borderRadiusLG:u,zIndexPopup:p,marginXS:v,colorBgElevated:n}=e;return[{[o]:d(d({},w(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:p,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--antd-arrow-background-color":n,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${o}-content`]:{position:"relative"},[`${o}-inner`]:{backgroundColor:r,backgroundClip:"padding-box",borderRadius:u,boxShadow:c,padding:l},[`${o}-title`]:{minWidth:a,marginBottom:v,color:g,fontWeight:s},[`${o}-inner-content`]:{color:t}})},I(e,{colorBg:"var(--antd-arrow-background-color)"}),{[`${o}-pure`]:{position:"relative",maxWidth:"none",[`${o}-content`]:{display:"inline-block"}}}]},O=e=>{const{componentCls:o}=e;return{[o]:W.map(r=>{const t=e[`${r}-6`];return{[`&${o}-${r}`]:{"--antd-arrow-background-color":t,[`${o}-inner`]:{backgroundColor:t},[`${o}-arrow`]:{background:"transparent"}}}})}},Q=e=>{const{componentCls:o,lineWidth:r,lineType:t,colorSplit:a,paddingSM:s,controlHeight:l,fontSize:c,lineHeight:g,padding:u}=e,p=l-Math.round(c*g),v=p/2,n=p/2-r,i=u;return{[o]:{[`${o}-inner`]:{padding:0},[`${o}-title`]:{margin:0,padding:`${v}px ${i}px ${n}px`,borderBottom:`${r}px ${t} ${a}`},[`${o}-inner-content`]:{padding:`${s}px ${i}px`}}}},V=y("Popover",e=>{const{colorBgElevated:o,colorText:r,wireframe:t}=e,a=S(e,{popoverBg:o,popoverColor:r,popoverPadding:12});return[G(a),O(a),t&&Q(a),F(a,"zoom-big")]},e=>{let{zIndexPopupBase:o}=e;return{zIndexPopup:o+30,width:177}}),X=()=>d(d({},R()),{content:$(),title:$()}),Z=A({compatConfig:{MODE:3},name:"APopover",inheritAttrs:!1,props:L(X(),d(d({},M()),{trigger:"hover",placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1})),setup(e,o){let{expose:r,slots:t,attrs:a}=o;const s=N();T(e.visible===void 0),r({getPopupDomNode:()=>{var n,i;return(i=(n=s.value)===null||n===void 0?void 0:n.getPopupDomNode)===null||i===void 0?void 0:i.call(n)}});const{prefixCls:l,configProvider:c}=k("popover",e),[g,u]=V(l),p=z(()=>c.getPrefixCls()),v=()=>{var n,i;const{title:m=C((n=t.title)===null||n===void 0?void 0:n.call(t)),content:b=C((i=t.content)===null||i===void 0?void 0:i.call(t))}=e,x=!!(Array.isArray(m)?m.length:m),P=!!(Array.isArray(b)?b.length:m);return!x&&!P?null:f(H,null,[x&&f("div",{class:`${l.value}-title`},[m]),f("div",{class:`${l.value}-inner-content`},[b])])};return()=>{const n=_(e.overlayClassName,u.value);return g(f(E,h(h(h({},j(e,["title","content"])),a),{},{prefixCls:l.value,ref:s,overlayClassName:n,transitionName:D(p.value,"zoom-big",e.transitionName),"data-popover-inject":!0}),{title:v,default:t.default}))}}}),K=B(Z);export{K as A};

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.