PageSourceSearch

https://mellro.com/_next/static/chunks/c466bd9c6a431ddd8a4c1291bc7d3a1568f25ce6.a6ec14318fbf576efb81.js

js mellro.com collected 2026-09-24 13:30:24 UTC 20,223 bytes, 1 lines download raw bytes

1(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[39,202],{"+I1/":function(e,t,o){"use strict";var n=o("nKUr"),i=o("vJKn"),r=o.n(i),a=o("rg98"),s=o("IP2g"),l=o("tTGf"),c=o("2U2a"),d=o("Le6n"),u=o("BveK"),p=o("q1tI"),v=o("u8hT"),m=o.n(v),b=o("tmKP"),h=function(e){var t,o=Object(p.useState)(!1),i=o[0],r=o[1],a=Object(p.useState)(null),l=a[0],d=a[1],u=Object(p.useState)(null),v=u[0],h=u[1];return Object(p.useEffect)((function(){!function(){if("corretor"===(null===e||void 0===e?void 0:e.context))switch(null===e||void 0===e?void 0:e.stepsCompleted){case 0:h("/images/meusImoveisV3/progress-1.svg"),d({title:"Encontre e aprove o inquilino",body:"Analise inquilinos. Assim que ele for aprovado, a negocia\xe7\xe3o segue para o pr\xf3ximo passo com seguran\xe7a. "});break;case 1:h("/images/meusImoveisV3/progress-2.svg"),d({title:"Preencha o contrato para o inquilino",body:"Chegou a hora de preencher o contrato. Adicione os detalhes da negocia\xe7\xe3o para que o documento esteja pronto para a assinatura."});break;case 2:h("/images/meusImoveisV3/progress-3.svg"),d({title:"Assine para come\xe7ar o contrato",body:"O contrato foi enviado para assinatura do respons\xe1vel e dos inquilinos. Todos precisam assinar o documento."});break;default:h("/images/meusImoveisV3/progress-1.svg"),d({title:"Encontre e aprove o inquilino",body:"Analise inquilinos. Assim que ele for aprovado, a negocia\xe7\xe3o segue para o pr\xf3ximo passo com seguran\xe7a."})}if("inquilino"===(null===e||void 0===e?void 0:e.context))switch(null===e||void 0===e?void 0:e.stepsCompleted){case 0:h("/images/meusImoveisV3/progress-1.svg"),d({title:"Mostre que voc\xea quer alugar",body:"Confirme seu interesse no im\xf3vel para dar o pr\xf3ximo passo em dire\xe7\xe3o do aluguel. Vamos precisar de mais alguns dados seus."});break;case 1:h("/images/meusImoveisV3/progress-2.svg"),d({title:"Informe quando quer entrar no im\xf3vel",body:"Converse com o respons\xe1vel qual \xe9 a data que voc\xea quer entrar no im\xf3vel. Assim ser\xe1 poss\xedvel receber o contrato do aluguel."});break;case 2:h("/images/meusImoveisV3/progress-3.svg"),d({title:"Assine para come\xe7ar o contrato",body:"O contrato foi enviado para assinatura do respons\xe1vel e dos inquilinos. Todos precisam assinar o documento."});break;default:h("/images/meusImoveisV3/progress-1.svg"),d({title:"Mostre que voc\xea quer alugar",body:"Confirme seu interesse no im\xf3vel para dar o pr\xf3ximo passo em dire\xe7\xe3o do aluguel. Vamos precisar de mais alguns dados seus."})}}()}),[null===e||void 0===e?void 0:e.stepsCompleted,null===e||void 0===e?void 0:e.context]),Object(n.jsxs)(n.Fragment,{children:[Object(n.jsxs)("div",{className:m.a.progressBar,onClick:function(){return r(!0)},children:[Object(n.jsxs)("p",{className:m.a.progressTitle,children:[(null===l||void 0===l?void 0:l.title)||"Progresso da negocia\xe7\xe3o",Object(n.jsx)(s.a,{icon:c.E,style:{color:"#A0B5C7",cursor:"pointer"}})]}),Object(n.jsxs)("div",{className:m.a.progressSteps,children:[Object(n.jsx)("img",{src:v}),Object(n.jsx)("div",{className:m.a.progressLine,children:null===e||void 0===e||null===(t=e.steps)||void 0===t?void 0:t.map((function(t,o){return Object(n.jsx)("p",{style:o==(null===e||void 0===e?void 0:e.stepsCompleted)?{color:"#3F6281"}:{},children:t},o)}))})]})]}),Object(n.jsx)(b.a,{showModal:i,setShowModal:r,modalContent:l})]})},g=o("lopY"),f=o("MdfC"),j=o("hw50"),y=o("0ISm"),x=o("/MKj"),O=o("lqRf"),k=o("20a2"),w=o("0fo0"),C=o("OKMn"),S=o("5PhN");t.a=function(e){var t,o,i,v,q,I,A,E,M,N,$=Object(p.useState)((null===e||void 0===e||null===(t=e.announcement)||void 0===t?void 0:t.is_published)||!1),B=$[0],P=$[1],D=Object(p.useState)(!1),T=D[0],R=D[1],V=Object(p.useState)(null),F=V[0],z=V[1],L=Object(p.useState)(!1),_=L[0],K=L[1],X=Object(p.useState)(0),H=X[0],J=X[1],U=Object(p.useState)(null),G=U[0],Q=U[1],W=Object(p.useState)(null),Y=W[0],Z=W[1],ee=Object(p.useState)(null),te=ee[0],oe=ee[1],ne=Object(x.d)((function(e){return e.user})).user,ie=Object(k.useRouter)(),re=Object(g.a)("(max-width: 991px)"),ae=(null===e||void 0===e?void 0:e.announcement)||null,se="corretor"===e.context||"inquilino"!==e.context,le=(null===ae||void 0===ae?void 0:ae.user_id)===(null===ne||void 0===ne?void 0:ne.id),ce=function(){var t=f.a.appHost+Object(j.eb)(ae).replace(/ /g,"");navigator.clipboard.writeText(t),e.setMessage({type:"success",text:"Link copiado para \xe1rea de transfer\xeancia.",icon:c.J}),window.scrollTo(0,0)},de=function(){var e=Object(a.a)(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:z(B?{title:"Despublicar im\xf3vel",body:"Tem certeza que deseja despublicar? Seu im\xf3vel est\xe1 divulgado na Mell.ro e em outros portais, <strong>sem nenhum custo</strong>."}:{title:"Publicar im\xf3vel",body:"Clique em publicar para seu im\xf3vel ser divulgado na Mell.ro e outros portais, <strong>sem nenhum custo</strong>."}),R(!0);case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),ue=function(){var t=Object(a.a)(r.a.mark((function t(){var o;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,K(!0),B||!((null===ae||void 0===ae||null===(o=ae.images)||void 0===o?void 0:o.length)<5)){t.next=7;break}return R(!1),t.next=6,ie.push("/imovel/anunciar?editId=".concat(null===ae||void 0===ae?void 0:ae.id));case 6:return t.abrupt("return",t.sent);case 7:return t.next=9,Object(y.r)(null===ae||void 0===ae?void 0:ae.id,{is_published:!B});case 9:P(!B),t.next=17;break;case 12:t.prev=12,t.t0=t.catch(0),console.error("Error updating announcement:",t.t0),e.setMessage({type:"error",text:"Ocorreu um erro ao atualizar o status do im\xf3vel. Tente novamente.",icon:c.J}),window.scrollTo(0,0);case 17:return t.prev=17,K(!1),R(!1),t.finish(17);case 21:case"end":return t.stop()}}),t,null,[[0,12,17,21]])})));return function(){return t.apply(this,arguments)}}(),pe=function(){var e=Object(a.a)(r.a.mark((function e(){var t,o;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(O.I)(null===ae||void 0===ae?void 0:ae.id);case 3:t=e.sent,o=t.data,Z(o),null!==o&&void 0!==o&&o.contractToSigned?(J(2),Q({title:"Assinar contrato",link:"/contratos/contrato-previa?id=".concat(null===o||void 0===o?void 0:o.contractToSigned)})):null!==o&&void 0!==o&&o.propositionApproved?(J(1),Q({title:"Enviar contrato",link:"/perfil/negociacao/enviar-contrato?propositionId=".concat(null===o||void 0===o?void 0:o.propositionApproved)})):(J(0),Q({title:"Analisar inquilino",link:"/perfil/imovel/convidar-inquilino/".concat(null===ae||void 0===ae?void 0:ae.id)})),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),console.error("Error fetching propositions:",e.t0);case 12:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(){return e.apply(this,arguments)}}(),ve=function(){var t=Object(a.a)(r.a.mark((function t(){var o,n,i,a;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(O.I)(null===ae||void 0===ae?void 0:ae.id,{tenant_id:null!==ne&&void 0!==ne&&ne.id?null===ne||void 0===ne?void 0:ne.id:e.userId},null!==e&&void 0!==e&&e.token?e.token:null);case 3:if(n=t.sent,i=n.data,a=null,null===i||void 0===i||!i.contractToSigned){t.next=13;break}return J(2),t.next=10,Object(w.d)(null===i||void 0===i?void 0:i.propositionAwaiting,null!==e&&void 0!==e&&e.token?e.token:null);case 10:a=t.sent,t.next=24;break;case 13:if(null===i||void 0===i||!i.propositionApproved){t.next=20;break}return J(1),t.next=17,Object(w.d)(null===i||void 0===i?void 0:i.propositionApproved,null!==e&&void 0!==e&&e.token?e.token:null);case 17:a=t.sent,t.next=24;break;case 20:return J(0),t.next=23,Object(w.d)(null===i||void 0===i?void 0:i.propositionAwaiting,null!==e&&void 0!==e&&e.token?e.token:null);case 23:a=t.sent;case 24:Z(i),oe((null===(o=a)||void 0===o?void 0:o.data)||null),t.next=31;break;case 28:t.prev=28,t.t0=t.catch(0),console.error("Error fetching propositions:",t.t0);case 31:case"end":return t.stop()}}),t,null,[[0,28]])})));return function(){return t.apply(this,arguments)}}(),me=function(){return Object(n.jsx)(n.Fragment,{children:le&&Object(n.jsxs)(n.Fragment,{children:[Object(n.jsx)(d.c,{title:(null===G||void 0===G?void 0:G.t
1itle)||"Convidar inquilino",onClick:function(){return ie.push((null===G||void 0===G?void 0:G.link)||"#")},colorButton:"primary",style:{width:"100%"},styleContainer:{width:re?"130%":"100%"}}),null!==e&&void 0!==e&&e.intern?Object(n.jsx)(d.c,{title:"Editar",colorButton:"secundary",onClick:function(){return ie.push("/imovel/anunciar?editId=".concat(null===ae||void 0===ae?void 0:ae.id))},style:{width:"100%"},styleContainer:{width:"100%"}}):Object(n.jsx)(d.c,{title:"Detalhes",colorButton:"secundary",onClick:function(){return ie.push("/area/responsavel/imovel/".concat(null===ae||void 0===ae?void 0:ae.id))},style:{width:"100%"},styleContainer:{width:"100%"}}),!re&&Object(n.jsx)(u.default,{checked:B,meusImoveis:!0,onChange:function(){return de()},text:B?"Publicado":"Despublicado"})]})})},be=function(){var e=[];return 2==H?e.push({title:"Assinar contrato",onClick:function(){return ie.push("/contratos/contrato-previa?id=".concat(null===Y||void 0===Y?void 0:Y.contractToSigned))},colorButton:"primary",style:{width:"100%"},styleContainer:{width:re?"130%":"100%"}},{title:"Conversar",onClick:function(){return ie.push("/negociacoes?roomId=".concat(null===te||void 0===te?void 0:te.id))},colorButton:"secundary",style:{width:"100%"},styleContainer:{width:"100%"}}):1==H?e.push({title:"Conversar",onClick:function(){return ie.push("/negociacoes?roomId=".concat(null===te||void 0===te?void 0:te.id))},colorButton:"primary",style:{width:"100%"},styleContainer:{width:re?"130%":"100%"}}):0==H&&e.push({title:"Quero alugar",onClick:function(){return ie.push("/queroalugar/".concat(null===ae||void 0===ae?void 0:ae.id))},colorButton:"primary",style:{width:"100%"},styleContainer:{width:re?"130%":"100%"}},{title:"Conversar",onClick:function(){return ie.push("/negociacoes?roomId=".concat(null===te||void 0===te?void 0:te.id))},colorButton:"secundary",style:{width:"100%"},styleContainer:{width:"100%"}}),Object(n.jsx)(n.Fragment,{children:e.map((function(e,t){return Object(n.jsx)(d.c,{title:e.title,onClick:e.onClick,colorButton:e.colorButton,style:e.style,styleContainer:e.styleContainer},t)}))})};return Object(p.useEffect)((function(){var t=function(){var t=Object(a.a)(r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("inquilino"!==(null===e||void 0===e?void 0:e.context)){t.next=5;break}return t.next=3,ve();case 3:t.next=7;break;case 5:return t.next=7,pe();case 7:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();null!==ae&&void 0!==ae&&ae.id&&t()}),[ae]),Object(n.jsxs)(n.Fragment,{children:[Object(n.jsxs)("div",{className:"".concat(m.a.propertyRow," ").concat(null!==e&&void 0!==e&&e.withoutActions||null!==e&&void 0!==e&&e.intern?m.a.propertyRowNoHover:""),children:[re&&se&&Object(n.jsxs)("div",{className:m.a.propertyRowHeaderMobile,children:[Object(n.jsxs)("p",{className:m.a.propertyCopyLink,onClick:ce,children:["Copiar link",Object(n.jsx)(s.a,{icon:l.Kb})]}),!(null!==e&&void 0!==e&&e.hideSwitchPublish)&&Object(n.jsx)(u.default,{checked:B,onChange:function(){return de()},text:B?"Publicado":"Despublicado"})]}),Object(n.jsxs)("div",{className:m.a.propertyDetailsContainer,style:{width:null!==e&&void 0!==e&&e.withoutActions?"auto":""},children:[Object(n.jsx)(C.g,{type:S.b.imovel,size:S.a.mega,photos:[{src:(null===ae||void 0===ae||null===(o=ae.images)||void 0===o||null===(i=o[0])||void 0===i?void 0:i.secure_url)||null}]}),Object(n.jsxs)("div",{className:m.a.propertyInfo,children:[Object(n.jsxs)("p",{className:m.a.propertyCode,children:["C\xf3digo im\xf3vel ",null===ae||void 0===ae?void 0:ae.friendly_code]}),Object(n.jsx)("p",{className:m.a.propertyAddress,style:{width:null!==e&&void 0!==e&&e.withoutActions&&!re?"80%":"100%"},children:"inquilino"===(null===e||void 0===e?void 0:e.context)?"".concat(null===ae||void 0===ae||null===(v=ae.address)||void 0===v?void 0:v.street,", ").concat(null===ae||void 0===ae||null===(q=ae.address)||void 0===q?void 0:q.neighbourhood,", ").concat(null===ae||void 0===ae||null===(I=ae.address)||void 0===I?void 0:I.city," - ").concat(null===ae||void 0===ae||null===(A=ae.address)||void 0===A?void 0:A.state):function(){var e,t,o,n,i,r;return[null===ae||void 0===ae||null===(e=ae.address)||void 0===e?void 0:e.street,null===ae||void 0===ae||null===(t=ae.address)||void 0===t?void 0:t.number,null!==ae&&void 0!==ae&&null!==(o=ae.address)&&void 0!==o&&o.complement&&"undefined"!==ae.address.complement?ae.address.complement:null,null===ae||void 0===ae||null===(n=ae.address)||void 0===n?void 0:n.neighbourhood,null===ae||void 0===ae||null===(i=ae.address)||void 0===i?void 0:i.city].filter((function(e){return e})).join(", ")+" - ".concat(null===ae||void 0===ae||null===(r=ae.address)||void 0===r?void 0:r.state)}()}),Object(n.jsxs)("div",{className:m.a.propertyDetails,style:{gap:null!==e&&void 0!==e&&e.intern?30:50},children:[Object(n.jsxs)("p",{className:m.a.propertyPrice,children:[Object(n.jsx)("span",{children:"R$"}
1)," ","inquilino"===(null===e||void 0===e?void 0:e.context)?(N=null===ae||void 0===ae||null===(E=ae.values)||void 0===E?void 0:E.base_rent,N||0===N?Math.floor(Number(N)).toLocaleString("pt-BR",{minimumFractionDigits:0,maximumFractionDigits:0}):"0"):Object(j.D)(null===ae||void 0===ae||null===(M=ae.values)||void 0===M?void 0:M.base_rent).replace("R$","")]}),!re&&se&&Object(n.jsxs)("p",{className:m.a.propertyCopyLink,onClick:ce,children:["Copiar link",Object(n.jsx)(s.a,{icon:l.Kb})]})]})]})]}),!(null!==e&&void 0!==e&&e.hideProgressBar)&&Object(n.jsx)(h,{steps:"inquilino"===(null===e||void 0===e?void 0:e.context)?["Mostrar interesse","Definir entrada","Assinar contrato"]:["Indicar Inquilino","Gerar Contrato","Assinar contrato"],stepsCompleted:H,context:(null===e||void 0===e?void 0:e.context)||"corretor"}),null!==e&&void 0!==e&&e.withoutActions?null:Object(n.jsx)("div",{className:m.a.propertyActions,children:se?Object(n.jsx)(me,{}):Object(n.jsx)(be,{})})]}),Object(n.jsx)(b.a,{showModal:T,setShowModal:R,modalContent:F,withFooter:!0,buttonTitle:B?"Despublicar":"Publicar",onClickButton:function(){return ue()},isSubmiting:_,isMobile:re,tags:["Mell.ro","OLX","ZAP Im\xf3veis","Viva Real","Chaves na m\xe3o","Im\xf3vel web"]})]})}},BveK:function(e,t,o){"use strict";o.r(t);var n=o("nKUr"),i=o("cpVT"),r=o("wx14"),a=o("Ff2n"),s=o("q1tI"),l=o("iuhU"),c=o("H2TA"),d=o("ye/S"),u=o("NqtD"),p=o("4ppn"),v=s.forwardRef((function(e,t){var o=e.classes,n=e.className,i=e.color,c=void 0===i?"secondary":i,d=e.edge,v=void 0!==d&&d,m=e.size,b=void 0===m?"medium":m,h=Object(a.a)(e,["classes","className","color","edge","size"]),g=s.createElement("span",{className:o.thumb});return s.createElement("span",{className:Object(l.a)(o.root,n,{start:o.edgeStart,end:o.edgeEnd}[v],"small"===b&&o["size".concat(Object(u.a)(b))])},s.createElement(p.a,Object(r.a)({type:"checkbox",icon:g,checkedIcon:g,classes:{root:Object(l.a)(o.switchBase,o["color".concat(Object(u.a)(c))]),input:o.input,checked:o.checked,disabled:o.disabled},ref:t},h)),s.createElement("span",{className:o.track}))})),m=Object(c.a)((function(e){return{root:{display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"}},edgeStart:{marginLeft:-8},edgeEnd:{marginRight:-8},switchBase:{position:"absolute",top:0,left:0,zIndex:1,color:"light"===e.palette.type?e.palette.grey[50]:e.palette.grey[400],transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),"&$checked":{transform:"translateX(20px)"},"&$disabled":{color:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[800]},"&$checked + $track":{opacity:.5},"&$disabled + $track":{opacity:"light"===e.palette.type?.12:.1}},colorPrimary:{"&$checked":{color:e.palette.primary.main,"&:hover":{backgroundColor:Object(d.a)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[800]},"&$checked + $track":{backgroundColor:e.palette.primary.main},"&$disabled + $track":{backgroundColor:"light"===e.palette.type?e.palette.common.black:e.palette.common.white}},colorSecondary:{"&$checked":{color:e.palette.secondary.main,"&:hover":{backgroundColor:Object(d.a)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[800]},"&$checked + $track":{backgroundColor:e.palette.secondary.main},"&$disabled + $track":{backgroundColor:"light"===e.palette.type?e.palette.common.black:e.palette.common.white}},sizeSmall:{width:40,height:24,padding:7,"& $thumb":{width:16,height:16},"& $switchBase":{padding:4,"&$checked":{transform:"translateX(16px)"}}},checked:{},disabled:{},input:{left:"-100%",width:"300%"},thumb:{boxShadow:e.shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"},track:{height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:"light"===e.palette.type?e.palette.common.black:e.palette.common.white,opacity:"light"===e.palette.type?.38:.3}}}),{name:"MuiSwitch"})(v),b=o("R/WZ");function h(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function g(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};
1t%2?h(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):h(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var f=Object(b.a)((function(e){return{root:{margin:0,width:40,height:24,padding:0},switchBase:{padding:0,margin:0,color:function(e){return e.meusImoveis?"#BED0E0":void 0},"&$checked":{transform:"translateX(16px)",color:e.palette.common.white,"& + $track":{backgroundColor:"#3F6281",opacity:1,border:"none"}},"&$focusVisible $thumb":{color:"#3F6281",border:"6px solid #fff",boxShadow:"none"}},thumb:{marginLeft:"4px",marginTop:"4px",width:"16px",height:"16px",boxShadow:"none"},track:{borderRadius:13,border:"1px solid #BED0E0",backgroundColor:function(t){return t.meusImoveis?e.palette.common.white:"#BED0E0"},opacity:1,transition:e.transitions.create(["background-color","border"])},checked:{},focusVisible:{},text:{fontFamily:"Lato",color:"#6F8EAA",fontSize:"16px",fontWeight:400,lineHeight:"22px",letterSpacing:"0.3px"}}}));t.default=function(e){var t=f(e);return Object(n.jsxs)("div",{style:g({display:"flex",alignItems:"center",gap:8},e.style),children:[Object(n.jsx)("p",{className:t.text,children:null===e||void 0===e?void 0:e.text}),Object(n.jsx)(m,g({focusVisibleClassName:t.focusVisible,disableRipple:!0,classes:{root:t.root,switchBase:t.switchBase,thumb:t.thumb,track:t.track,checked:t.checked}},e))]})}},lopY:function(e,t,o){"use strict";o.d(t,"a",(function(){return s}));var n=o("wx14"),i=o("q1tI"),r=o("aXM8"),a=o("A+CX");function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=Object(r.a)(),s=Object(a.a)({theme:o,name:"MuiUseMediaQuery",props:{}});var l="function"===typeof e?e(o):e;l=l.replace(/^@media( ?)/m,"");var c="undefined"!==typeof window&&"undefined"!==typeof window.matchMedia,d=Object(n.a)({},s,t),u=d.defaultMatches,p=void 0!==u&&u,v=d.matchMedia,m=void 0===v?c?window.matchMedia:null:v,b=d.noSsr,h=void 0!==b&&b,g=d.ssrMatchMedia,f=void 0===g?null:g,j=i.useState((function(){return h&&c?m(l).matches:f?f(l).matches:p})),y=j[0],x=j[1];return i.useEffect((function(){var e=!0;if(c){var t=m(l),o=function(){e&&x(t.matches)};return o(),t.addListener(o),function(){e=!1,t.removeListener(o)}}}),[l,m,c]),y}}}]);

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.