PageSourceSearch

https://gethome.pl/static-gh/599.0d18f80414ea1cb67385.js

js gethome.pl collected 2026-10-02 11:53:39 UTC 11,498 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkgh=self.webpackChunkgh||[]).push([[599],{8900:(e,a,o)=>{o.d(a,{O:()=>t});var r=o(17399),i=o(12121);const t=(0,r.A)("div",{target:"e90i30e0"})("max-height:0;transition:max-height 300ms ",i.el,";overflow:hidden;&.expanded{max-height:1500px;}")},28362:(e,a,o)=>{o.d(a,{jB:()=>d});var r=o(17399),i=(o(53241),o(62841)),t=o.n(i),n=o(16983),l=o(25128),s=o(28781);const d=({title:e,toggler:a,onClick:o,panelOpened:r})=>{const i=t()({toggled:r});return(0,s.FD)(c,{className:i,onClick:()=>o&&o(),children:[(0,s.Y)(h,{"data-testid":n.V.OFFER_HEADER,children:e}),(0,s.Y)(p,{}),a&&(0,s.Y)(l.BU,{orientation:"up",fill:"#b1b7bd",height:11,width:18})]})},c=(0,r.A)("header",{target:"eh02aoe2"})({name:"5qxc5n",styles:"display:flex;flex-wrap:nowrap;align-items:center;margin:0;cursor:pointer;max-width:100%;.svg-icon{display:block;margin-left:1rem;transition:transform 200ms ease;pointer-events:none;min-width:1.5rem;}&.toggled{.svg-icon{transform:rotate(180deg) scaleY(-1);}}"}),h=(0,r.A)("h2",{target:"eh02aoe1"})("display:inline-flex;flex-shrink:0;flex-grow:1;margin-right:2.5rem;color:",(e=>e.theme.colors.brand_primary),";font-size:16px;font-weight:500;line-height:1.6;white-space:normal;pointer-events:none;cursor:pointer;max-width:100%;@media screen and (min-width: 768px){font-size:20px;white-space:nowrap;}"),p=(0,r.A)("hr",{target:"eh02aoe0"})("display:inline-flex;width:100%;height:1px;margin:15px 0;border:0;background-color:",(e=>e.theme.colors.gray_light),";")},48716:(e,a,o)=>{o.d(a,{E:()=>g,u:()=>f});var r=o(53241),i=o(5442),t=o(17948),n=o(57437),l=o(30574),s=o(20333),d=o(25128),c=o(44080),h=o(15166),p=o(74318),m=o(26030),u=o(28781);const g="#oferta-opublikowana",f=e=>{const a=(0,t.zy)(),o=(0,t.W6)(),[n,f]=(0,r.useState)(!1),w=(0,i.d4)((e=>e.isAuthenticated)),_=(0,m.zH)(e.propertyType);return(0,r.useEffect)((()=>{a.hash===g&&f(!0)}),[]),n?(0,u.Y)("div",{css:p.BEf,children:(0,u.FD)("div",{css:b,children:[(0,u.Y)("div",{onClick:()=>{f(!1),o.push(a.pathname+a.search)},children:(0,u.Y)(d.US,{fillColor:"#fff",size:"1.5",css:v})}),(0,u.Y)("h2",{css:y,children:"Twoja oferta została opublikowana"}),w?(0,u.FD)(u.FK,{children:[(0,u.Y)("div",{css:z,children:"Za pomocą konta mieszkaniowego możesz edytować ogłoszenie lub zakończyć jego wyświetlanie."}),(0,u.Y)(l.$,{onClick:()=>{window.location.href=s.G2.offer.edit({propertyType:_,uuid:e.uuid})},variant:"white",children:"Edytuj ofertę"})]}):(0,u.FD)(u.FK,{children:[(0,u.Y)("div",{css:z,children:"Za pomocą konta mieszkaniowego możesz edytować ogłoszenie lub je usunąć. Aby móc korzystać z konta mieszkaniowego ustaw hasło logowania."}),(0,u.Y)(l.$,{onClick:()=>{window.location.href=(0,h.O)(c.K.site.passwordChange.base)},variant:"white",children:"Ustaw hasło do konta"})]})]})}):null},b=e=>(0,n.AH)("position:relative;background-color:",e.colors.green_darker,";padding:2rem;border-radius:0.4rem;color:#fff;box-shadow:0 0.2rem 2rem rgba(0, 0, 0, 0.2);",""),v={name:"1t9dzms",styles:"position:absolute;top:1.5rem;right:1.5rem"},y={name:"1f8odiz",styles:"margin-top:0;font-weight:600;font-size:2.2rem"},z={name:"efsy8v",styles:"margin-bottom:2.5rem;font-size:1.6rem"}},4854:(e,a,o)=>{o.d(a,{K:()=>s});var r=o(17399),i=(o(53241),o(25128)),t=o(44946),n=o(28781);const l=e=>{if(void 0===e.value)return(0,n.Y)("span",{});switch(e.value){case!0:return(0,n.Y)(i.Pz,{mainColor:"#45bc83"});case!1:return(0,n.Y)(i.w0,{mainColor:"#e81d31"});default:return(0,n.Y)("span",{dangerouslySetInnerHTML:{__html:e.value.toString()}})}},s=e=>(0,n.Y)(d,{children:(0,n.FD)(c,{darkLinkColor:e.darkLinkColor,children:[e.label,e.label?": ":null,(0,n.Y)(l,{value:e.value})]})}),d=(0,r.A)(t.so,{target:"e13j76xo2"})({name:"76kn9j",styles:"line-height:1.65"}),c=(0,r.A)("p",{target:"e13j76xo1"})("margin:0;color:",(e=>e.theme.colors.gray_lighter),";font-size:12px;font-weight:500;@media (min-width: ",(e=>e.theme.breakpoints.screen_sm),"){font-size:14px;}&::first-letter{text-transform:uppercase;}span{color:",(e=>e.theme.colors.gray_dark),";}+p{margin-left:2.5rem;}.svg-icon{vertical-align:middle;}a{color:",(e=>e.darkLinkColor?e.theme.colors.text_color:e.theme.colors.blue),";text-decoration:none;&:hover{text-decoration:underline;}}")},77072:(e,a,o)=>{o.d(a,{cg:()=>F,no:()=>T,MX:()=>x,Kb:()=>K});var r=o(17399),i=o(53241),t=o(57437),n=o(62841),l=o.n(n),s=o(64598),d=o(20333),c=o(25128),h=o(8900),p=o(44946),m=o(84147),u=o(16217),g=o(85699),f=o(26030),b=o(85
1511),v=o(28362),y=o(47151),z=o(4854),w=o(27117),_=o(75480),k=o(28781);const Y=e=>{var a,o;const[r,i,t]=(null!==(a=null===(o=e.property.location)||void 0===o?void 0:o.short_name)&&void 0!==a?a:"").split(","),n=t?(0,w.N)(t):i?(0,w.N)(i):(0,w.N)(r),l="rent"==e.dealType?"do-wynajecia":"na-sprzedaz",s="rent"==e.dealType?(0,f.tv)(e.dealType):"",d=(0,f.zH)(e.property.type,g.p4);return(0,k.Y)(k.FK,{children:e.offerFeatures&&e.offerFeatures.length>0?(0,k.FD)(F,{children:[(0,k.FD)(T,{children:[(0,k.Y)(c.eM,{}),"Podobne ",(0,f.zH)(e.property.type)]}),e.offerFeatures.map((a=>{const o=(0,_._h)(a.feature);var r,i;return a.doc_count>0?(0,k.Y)(z.K,{darkLinkColor:!0,value:`<a href="${(0,y.aH)({tag:null==o?void 0:o.tag,offerType:(0,f.zH)(e.property.type),type:l},null!==(r=null===(i=e.property.location)||void 0===i?void 0:i.slug)&&void 0!==r?r:"")}" >${d} ${null==o?void 0:o.metaText} ${s} ${n}</a>`},a.feature):null}))]}):null})},K=e=>{var a,o,r,t,n;const[w,_]=(0,i.useState)(!0),{property:K,investment:U,offerNumber:A,vendor:O}=e;let L=(0,f.zH)(g.Ut.LOT);K.type!==g.Ut.LOT&&(L=K.type===g.Ut.APARTMENT?(0,f.zH)(g.Ut.APARTMENT):(0,f.zH)(g.Ut.HOUSE));const C=K.type!==g.Ut.LOT?(0,m.C)(K.group_equipment||{}):[],H=K.type!==g.Ut.LOT?(0,m.C)(K.group_safety||{}):[],P=K.type!==g.Ut.LOT?(0,m.C)(K.group_public_transport||{}):[],E=K.type===g.Ut.APARTMENT?`Mieszkanie ${K.room_number&&`${K.room_number} pokojowe`}`:K.type===g.Ut.HOUSE?"Dom i działka":K.type===g.Ut.LOT?"Działka":"Nieruchomość",j=(e,a)=>(0,k.Y)(z.K,{label:e,value:!0},a),N=l()(w&&"expanded"),S=(null==O?void 0:O.slug)&&(0,k.Y)("a",{css:D,href:d.G2.agency.detail({agencySlug:O.slug}),children:O.name}),$=(null==O?void 0:O.slug)&&(0,k.Y)("a",{css:D,href:d.G2.developer.detail.base((0,d.Tu)(O.slug)),children:O.name}),M=(null==O?void 0:O.type)===b.Pe.AGENCY?S:$;return(0,k.FD)(k.FK,{children:[(0,k.Y)(v.jB,{title:E,toggler:!0,onClick:()=>_(!w),panelOpened:w}),(0,k.Y)(h.O,{className:N,children:(0,k.FD)(x,{children:[K.type!==g.Ut.LOT&&(0,k.FD)(F,{children:[(0,k.FD)(T,{children:[(0,k.Y)(c.Oe,{}),"Pomieszczenia"]}),K.type===g.Ut.APARTMENT&&K.type_of_property&&(0,k.Y)(z.K,{label:"Typ mieszkania",value:K.type_of_property}),K.size&&(0,k.Y)(z.K,{label:"Powierzchnia",value:(0,u.az)((0,u.lZ)(K.size))}),K.height_min&&K.height_max&&(0,k.Y)(z.K,{label:"Wysokość pomieszczeń",value:(0,f.$j)(K.height_min,K.height_max)}),K.type==g.Ut.APARTMENT&&(null===(a=K.floor)||void 0===a?void 0:a.toString())&&(0,k.Y)(z.K,{label:"Piętro",value:K.floor}),K.floors&&(0,k.Y)(z.K,{label:"Liczba pięter",value:K.floors}),!!K.room_number&&(0,k.Y)(z.K,{label:"Liczba pokoi",value:K.room_number}),K.bathroom_number&&(0,k.Y)(z.K,{label:"Liczba łazienek",value:K.bathroom_number}),K.bedroom_number&&(0,k.Y)(z.K,{label:"Liczba sypialni",value:K.bedroom_number}),K.kitchen_type&&(0,k.Y)(z.K,{label:"Kuchnia",value:K.kitchen_type}),K.heat&&(0,k.Y)(z.K,{label:"Ogrzewanie",value:K.heat}),K.wardrobe&&(0,k.Y)(z.K,{label:"Garderoba",value:!0})]}),(0,y.yk)(K)&&K.type!==g.Ut.LOT&&(0,k.FD)(F,{children:[(0,k.FD)(T,{children:[(0,k.Y)(c.PK,{}),"Wykończenie"]}),K.finishing_state&&(0,k.Y)(z.K,{label:"Stan wykończenia",value:K.finishing_state}),K.windows&&(0,k.Y)(z.K,{label:"Okna",value:K.windows}),K.windows_direction_readable&&(0,k.Y)(z.K,{label:"Okna względem stron świata",value:K.windows_direction_readable})]}),(0,y.kk)(K)&&K.type!==g.Ut.LOT&&(0,k.FD)(F,{children:[(0,k.FD)(T,{children:[(0,k.Y)(c.K2,{}),"Dodatkowe powierzchnie"]}),K.type===g.Ut.HOUSE&&K.lot_size&&(0,k.Y)(z.K,{label:"Powierzchnia działki",value:`wielkość działki, na której stoi dom, wynosi ${(0,u.az)((0,u.Ky)((0,u.Hg)(K.lot_size)))}`}),K.balconies&&(0,k.Y)(z.K,{label:"Liczba balkonów",value:K.balconies}),K.balconies_size&&(0,k.Y)(z.K,{label:"Powierzchnia balkonów",value:(0,u.az)((0,u.Ky)(K.balconies_size))}),K.terraces&&(0,k.Y)(z.K,{label:"Liczba tarasów",value:K.terraces}),K.type==g.Ut.HOUSE&&K.terraces_size&&(0,k.Y)(z.K,{label:"Powierzchnia tarasów",value:(0,u.az)((0,u.Ky)(K.terraces_size))}),K.garden&&K.garden_size?(0,k.Y)(z.K,{label:"Pow ogródka",value:(0,u.az)((0,u.Ky)(K.garden_size))}):"",K.storage_room_available&&(0,k.Y)(z.K,{label:"Pom. gospodarcze",value:!0})]}),(0,k.Y)(Y,{property:K,dealType:e.dealType,offerFeatures:e.offerFeatures}
1),K.type===g.Ut.LOT&&(0,k.FD)(F,{children:[(0,k.FD)(T,{children:[(0,k.Y)(c.eM,{}),"Działka"]}),(null===(o=K.group_lot_info)||void 0===o?void 0:o.shape)&&(0,k.Y)(z.K,{label:"Kształt",value:K.group_lot_info.shape}),(null===(r=K.group_lot_info)||void 0===r?void 0:r.fence)&&(0,k.Y)(z.K,{label:"Ogrodzenie",value:K.group_lot_info.fence}),(null===(t=K.group_lot_info)||void 0===t?void 0:t.road)&&(0,k.Y)(z.K,{label:"Droga",value:K.group_lot_info.road}),(null===(n=K.group_lot_info)||void 0===n?void 0:n.landform)&&(0,k.Y)(z.K,{label:"Ukształtowanie terenu",value:K.group_lot_info.landform})]}),C.length>0&&(0,k.FD)(F,{children:[(0,k.FD)(T,{children:[(0,k.Y)(c.WZ,{}),"Wyposażenie"]}),(0,s.map)(C,j)]}),H.length>0&&(0,k.FD)(F,{children:[(0,k.FD)(T,{children:[(0,k.Y)(c.ij,{}),"Bezpieczeństwo"]}),(0,s.map)(H,j)]}),P.length>0&&(0,k.FD)(F,{children:[(0,k.FD)(T,{children:[(0,k.Y)(c.Rl,{}),"Komunikacja"]}),(0,s.map)(P,j)]}),U&&U.parking&&U.parking.length>0&&(0,k.FD)(F,{children:[(0,k.FD)(T,{children:[(0,k.Y)(c.ad,{}),"Parking"]}),(0,s.map)(U.parking,((e,a)=>(0,k.Y)(z.K,{label:e.name,value:!e.description||e.description},a)))]}),A&&(0,k.FD)(F,{children:[(0,k.FD)(T,{children:[(0,k.Y)(c.uQ,{}),"Informacje o ofercie"]}),(0,k.Y)(z.K,{label:"Numer oferty",value:A}),e.offerIsActive&&O&&(0,k.FD)(p.so,{alignItems:"baseline",children:[(0,k.Y)(z.K,{label:(0,b.Uf)(O.type)})," ",M]})]})]})})]})},x=(0,r.A)("div",{target:"eizhaae2"})({name:"5kov97",styles:"display:flex;flex-wrap:wrap"}),F=(0,r.A)("section",{target:"eizhaae1"})("flex-basis:100%;margin-bottom:3rem;@media screen and (min-width: ",(e=>e.theme.breakpoints.screen_sm),"){flex-basis:50%;padding-right:1rem;}@media print{flex-basis:50%;}"),D=e=>(0,t.AH)("font-size:1.2rem;color:",e.colors.text_color,";font-weight:500;&:hover,&:focus,&:active{color:",e.colors.text_color,";}@media (min-width: ",e.breakpoints.screen_sm,"){font-size:1.4rem;}",""),T=(0,r.A)("p",{target:"eizhaae0"})("margin-top:0;margin-bottom:1.5rem;color:",(e=>e.theme.colors.gray_dark),";font-size:1.6rem;font-weight:400;line-height:1.625px;display:flex;align-items:center;.svg-icon{margin-right:1rem;height:27px;width:27px;}@media screen and (min-width: ",(e=>e.theme.breakpoints.screen_sm),"){margin-bottom:2.5rem;}>span{margin-right:1.5rem;font-size:2.7rem;vertical-align:text-bottom;}")},47151:(e,a,o)=>{o.d(a,{aH:()=>l,kk:()=>t,yk:()=>n});var r=o(70396);const i=e=>a=>{for(let o=0,r=e.length;o<r;o++)if(a[e[o]])return!0;return!1},t=i(["balconies","balconies_size","terraces","terraces_size","loggies","garden","storage_room_available","cellar"]),n=i(["finishing_state","windows","windows_direction_readable"]),l=(e,a)=>{const[o,i,t]=a.split("/"),n={location:o,subLocation:i,subSubLocation:t,...e};return(0,r.U)(n)}}}]);
2//# sourceMappingURL=599.0d18f80414ea1cb67385.js.map

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.