PageSourceSearch

https://chatboost.ru/_next/static/chunks/pages/components/mui/popover-33c08557409e706c.js

js chatboost.ru collected 2026-10-07 01:19:02 UTC 7,576 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1373],{78445:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(63366),o=n(87462),a=n(67294),i=n(90512),s=n(94780),l=n(15861),c=n(71657),d=n(90948),u=n(1588),p=n(34867);function h(e){return(0,p.ZP)("MuiCardHeader",e)}var x=(0,u.Z)("MuiCardHeader",["root","avatar","action","content","title","subheader"]),v=n(85893);const m=["action","avatar","className","component","disableTypography","subheader","subheaderTypographyProps","title","titleTypographyProps"],f=(0,d.ZP)("div",{name:"MuiCardHeader",slot:"Root",overridesResolver:(e,t)=>(0,o.Z)({[`& .${x.title}`]:t.title,[`& .${x.subheader}`]:t.subheader},t.root)})({display:"flex",alignItems:"center",padding:16}),Z=(0,d.ZP)("div",{name:"MuiCardHeader",slot:"Avatar",overridesResolver:(e,t)=>t.avatar})({display:"flex",flex:"0 0 auto",marginRight:16}),g=(0,d.ZP)("div",{name:"MuiCardHeader",slot:"Action",overridesResolver:(e,t)=>t.action})({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-4,marginRight:-8,marginBottom:-4}),j=(0,d.ZP)("div",{name:"MuiCardHeader",slot:"Content",overridesResolver:(e,t)=>t.content})({flex:"1 1 auto"});var b=a.forwardRef((function(e,t){const n=(0,c.Z)({props:e,name:"MuiCardHeader"}),{action:a,avatar:d,className:u,component:p="div",disableTypography:x=!1,subheader:b,subheaderTypographyProps:y,title:k,titleTypographyProps:w}=n,C=(0,r.Z)(n,m),P=(0,o.Z)({},n,{component:p,disableTypography:x}),_=(e=>{const{classes:t}=e;return(0,s.Z)({root:["root"],avatar:["avatar"],action:["action"],content:["content"],title:["title"],subheader:["subheader"]},h,t)})(P);let T=k;null==T||T.type===l.Z||x||(T=(0,v.jsx)(l.Z,(0,o.Z)({variant:d?"body2":"h5",className:_.title,component:"span",display:"block"},w,{children:T})));let N=b;return null==N||N.type===l.Z||x||(N=(0,v.jsx)(l.Z,(0,o.Z)({variant:d?"body2":"body1",className:_.subheader,color:"text.secondary",component:"span",display:"block"},y,{children:N}))),(0,v.jsxs)(f,(0,o.Z)({className:(0,i.Z)(_.root,u),as:p,ref:t,ownerState:P},C,{children:[d&&(0,v.jsx)(Z,{className:_.avatar,ownerState:P,children:d}),(0,v.jsxs)(j,{className:_.content,ownerState:P,children:[T,N]}),a&&(0,v.jsx)(g,{className:_.action,ownerState:P,children:a})]}))}))},58615:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/components/mui/popover",function(){return n(55402)}])},22284:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(26042),o=n(69396),a=n(99534),i=n(85893),s=n(41664),l=n.n(s),c=n(15861),d=n(12963),u=n(5616),p=n(23795);function h(e){var t=e.links,n=e.activeLast,s=void 0!==n&&n,l=(0,a.Z)(e,["links","activeLast"]);if(!t.length)return null;var p=t[t.length-1].name,h=t.map((function(e){return(0,i.jsx)(x,{link:e},e.name)})),v=t.map((function(e){return(0,i.jsx)("div",{children:e.name!==p?(0,i.jsx)(x,{link:e}):(0,i.jsx)(c.Z,{variant:"body2",sx:{maxWidth:260,overflow:"hidden",whiteSpace:"nowrap",color:"text.disabled",textOverflow:"ellipsis"},children:p})},e.name)}));return(0,i.jsx)(d.Z,(0,o.Z)((0,r.Z)({separator:(0,i.jsx)(u.Z,{component:"span",sx:{width:4,height:4,borderRadius:"50%",bgcolor:"text.disabled"}})},l),{children:s?h:v}))}function x(e){var t=e.link,n=t.href,r=void 0===n?"":n,o=t.name,a=t.icon;return(0,i.jsx)(l(),{href:r,passHref:!0,children:(0,i.jsxs)(p.Z,{variant:"body2",sx:{lineHeight:2,display:"flex",alignItems:"center",color:"text.primary","& > div":{display:"inherit"}},children:[a&&(0,i.jsx)(u.Z,{sx:{mr:1,"& svg":{width:20,height:20}},children:a}),o]},o)})}},72728:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(26042),o=n(99534),a=n(85893),i=n(5616),s=n(15861),l=n(23795),c=n(22284);function d(e){var t=e.links,n=e.action,d=e.heading,u=e.moreLink,p=void 0===u?[]:u,h=e.sx,x=(0,o.Z)(e,["links","action","heading","moreLink","sx"]);return(0,a.jsxs)(i.Z,{sx:(0,r.Z)({mb:5},h),children:[(0,a.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center"},children:[(0,a.jsxs)(i.Z,{sx:{flexGrow:1},children:[(0,a.jsx)(s.Z,{variant:"h4",gutterBottom:!0,children:d}),(0,a.jsx)(c.Z,(0,r.Z)({links:t},x))]}),n&&(0,a.jsx)(i.Z,{sx:{flexShrink:0},children:n})]}),(0,a.jsx)(i.Z,{sx:{mt:2},children:"string"===typeof p?(0,a.jsx)(l.Z,{href:p,target:"_blank",variant:"body2",children:p}):p.map((function(e){return(0,a.jsx)(l.Z,{noWrap:!0,href:e,variant:"body2",target:"_blank",sx:{dis
1play:"table"},children:e},e)}))})]})}},55402:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return Z}});var r=n(85893),o=n(67294),a=n(90948),i=n(5616),s=n(65582),l=n(11057),c=n(14564),d=n(15861),u=n(96259),p=n(85885),h=n(61582),x=n(72728),v=n(56691),m=(0,a.ZP)("div")((function(e){var t=e.theme;return{paddingTop:t.spacing(11),paddingBottom:t.spacing(15)}})),f={display:"flex",alignItems:"center",justifyContent:"center"};function Z(){var e=(0,o.useState)(null),t=e[0],n=e[1],a=(0,o.useState)(null),p=a[0],Z=a[1],g=function(){Z(null)};return(0,r.jsx)(h.Z,{title:"Components: Popover",children:(0,r.jsxs)(m,{children:[(0,r.jsx)(i.Z,{sx:{pt:6,pb:1,mb:10,bgcolor:function(e){return"light"===e.palette.mode?"grey.200":"grey.800"}},children:(0,r.jsx)(s.Z,{children:(0,r.jsx)(x.Z,{heading:"Popover",links:[{name:"Components",href:u.ko.components},{name:"Popover"}],moreLink:"https://mui.com/components/popover"})})}),(0,r.jsx)(s.Z,{children:(0,r.jsxs)(i.Z,{sx:{display:"grid",gap:3,gridTemplateColumns:{xs:"repeat(1, 1fr)",md:"repeat(2, 1fr)"}},children:[(0,r.jsxs)(v.g,{title:"Click",sx:f,children:[(0,r.jsx)(l.Z,{variant:"contained",onClick:function(e){n(e.currentTarget)},children:"Open Popover"}),(0,r.jsx)(c.ZP,{open:Boolean(t),anchorEl:t,onClose:function(){n(null)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},children:(0,r.jsxs)(i.Z,{sx:{p:2,maxWidth:280},children:[(0,r.jsx)(d.Z,{variant:"subtitle1",gutterBottom:!0,children:"Etiam feugiat lorem non metus"}),(0,r.jsx)(d.Z,{variant:"body2",sx:{color:"text.secondary"}
1,children:"Fusce vulputate eleifend sapien. Curabitur at lacus ac velit ornare lobortis."})]})})]}),(0,r.jsxs)(v.g,{title:"Hover",sx:f,children:[(0,r.jsx)(d.Z,{"aria-owns":p?"mouse-over-popover":void 0,"aria-haspopup":"true",onMouseEnter:function(e){Z(e.currentTarget)},onMouseLeave:g,children:"Hover with a Popover."}),(0,r.jsx)(c.ZP,{id:"mouse-over-popover",open:Boolean(p),anchorEl:p,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},onClose:g,disableRestoreFocus:!0,sx:{pointerEvents:"none"},children:(0,r.jsxs)(i.Z,{sx:{p:2,maxWidth:280},children:[(0,r.jsx)(d.Z,{variant:"subtitle1",gutterBottom:!0,children:"Etiam feugiat lorem non metus"}),(0,r.jsx)(d.Z,{variant:"body2",sx:{color:"text.secondary"},children:"Fusce vulputate eleifend sapien. Curabitur at lacus ac velit ornare lobortis."})]})})]})]})})]})})}Z.getLayout=function(e){return(0,r.jsx)(p.Z,{variant:"main",children:e})}},56691:function(e,t,n){"use strict";n.d(t,{_:function(){return u},g:function(){return d}});var r=n(26042),o=n(85893),a=n(41796),i=n(90629),s=n(78445),l=n(5616),c=n(15861);function d(e){var t=e.title,n=e.sx,c=e.children;return(0,o.jsxs)(i.Z,{variant:"outlined",sx:{borderRadius:1.5,bgcolor:function(e){return(0,a.Fq)(e.palette.grey[500],.04)}},children:[t&&(0,o.jsx)(s.Z,{title:t}),(0,o.jsx)(l.Z,{sx:(0,r.Z)({p:5,minHeight:180},n),children:c})]})}function u(e){var t=e.title;return(0,o.jsx)(c.Z,{variant:"overline",component:"p",gutterBottom:!0,sx:{color:"text.secondary"},children:t})}}},function(e){e.O(0,[793,8322,4757,7702,5885,9774,2888,179],(function(){return t=58615,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.