1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a11044-2e86-72b2-b36a-3658ff274dde")}catch(e){}}();(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8698],{4068:(e,a,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/property-developers/in/[...segments]",function(){return t(26950)}])},19607:(e,a,t)=>{"use strict";t.d(a,{A:()=>n});var l=t(37876);t(14232);var s=t(48230),r=t.n(s),i=t(89099);let n=({currentPage:e,totalPages:a,basePath:t,locale:s,className:n=""})=>{let o=(0,i.useRouter)();if(a<=1)return null;let c=(()=>{let t=[];if(a<=5)for(let e=1;e<=a;e++)t.push(e);else if(e<=3){for(let e=1;e<=4;e++)t.push(e);a>5&&t.push("ellipsis"),t.push(a)}else if(e>=a-2){t.push(1),a>5&&t.push("ellipsis");for(let e=a-3;e<=a;e++)t.push(e)}else{t.push(1),t.push("ellipsis");for(let a=e-1;a<=e+1;a++)t.push(a);t.push("ellipsis"),t.push(a)}return t})(),d=e=>{let{page:a,segments:l,...s}=o.query,r=new URLSearchParams(s).toString(),i=1===e?`/${t}`:`/${t}/page/${e}`;return r?`${i}?${r}`:i};return(0,l.jsxs)("nav",{className:`pagination ${n}`,"aria-label":"Pagination",children:[(0,l.jsxs)("ul",{className:"pagination__list",children:[(0,l.jsx)("li",{className:"pagination__item pagination__item--prev",children:e>1?(0,l.jsxs)(r(),{href:d(e-1),locale:s,className:"pagination__link pagination__link--prev","aria-label":"Previous page",children:[(0,l.jsx)("i",{className:"fas fa-chevron-left"}),(0,l.jsx)("span",{className:"pagination__text",children:"Previous"})]}):(0,l.jsxs)("span",{className:"pagination__link pagination__link--disabled","aria-disabled":"true",children:[(0,l.jsx)("i",{className:"fas fa-chevron-left"}),(0,l.jsx)("span",{className:"pagination__text",children:"Previous"})]})}),c.map((a,t)=>(0,l.jsx)("li",{className:"pagination__item",children:"ellipsis"===a?(0,l.jsx)("span",{className:"pagination__ellipsis","aria-hidden":"true",children:"..."}):(0,l.jsx)(r(),{href:d(a),locale:s,className:`pagination__link ${a===e?"pagination__link--active":""}`,"aria-label":`Page ${a}`,"aria-current":a===e?"page":void 0,children:a})},t)),(0,l.jsx)("li",{className:"pagination__item pagination__item--next",children:e<a?(0,l.jsxs)(r(),{href:d(e+1),locale:s,className:"pagination__link pagination__link--next","aria-label":"Next page",children:[(0,l.jsx)("span",{className:"pagination__text",children:"Next"}),(0,l.jsx)("i",{className:"fas fa-chevron-right"})]}):(0,l.jsxs)("span",{className:"pagination__link pagination__link--disabled","aria-disabled":"true",children:[(0,l.jsx)("span",{className:"pagination__text",children:"Next"}),(0,l.jsx)("i",{className:"fas fa-chevron-right"})]})})]}),(0,l.jsxs)("div",{className:"pagination__info",children:["Page ",e," of ",a]})]})}},26950:(e,a,t)=>{"use strict";t.r(a),t.d(a,{__N_SSG:()=>N,config:()=>y,default:()=>k});
1var l=t(37876),s=t(14232),r=t(77328),i=t.n(r),n=t(48230),o=t.n(n),c=t(89099),d=t(99741),p=t(31685),h=t(63943),m=t(62179),u=t(19607),g=t(50666),x=t(89054),f=t(3185),j=t(42626),b=t(69950),_=t(50790),v=t(99742),N=!0;let y={maxDuration:30};function w(e){return(0,j.xT)(e)}let k=({locationEntry:e,developers:a,projects:t,total:r,pagination:n,locale:N})=>{var y;let k,S,$,P=(0,c.useRouter)(),{t:C}=(0,d.Bd)("common"),L="string"==typeof P.query.search?P.query.search:"",F=(y=P.query,S=(k=Array.isArray(y?.segments)?y.segments:[]).lastIndexOf("page"),$=Number(k[S+1]),S>=0&&Number.isInteger($)&&$>0?$:1),[A,E]=(0,s.useState)(L),[T,I]=(0,s.useState)(!!L),[D,z]=(0,s.useState)(a),[R,O]=(0,s.useState)(t),[q,B]=(0,s.useState)(n),[M,U]=(0,s.useState)(!1),H=v.env.NEXT_PUBLIC_SITE_URL||"https://www.lankea.com",J=w(e),V=e?.name||"this location",X=(0,b.q)(e,V),G="hr"===N,Y=G?`Investitori novogradnje u ${V}`:`Property developers in ${V}`,K=G?`Istražite ${r||a.length} investitora novogradnje u lokaciji ${V} i njihove aktualne projekte.`:`Explore ${r||a.length} property developers in ${V} and their current off-plan projects.`,Q=(0,_.getCanonicalUrl)({siteUrl:H,locale:N,pageType:"developers",locationPath:J,page:n.page}),W=e?.is_indexable===!1,Z=(e?.breadcrumbs?.length?e.breadcrumbs:[e]).filter(j.Yf),ee=Z.filter(e=>!0===e.is_indexable).map((e,a)=>({"@type":"ListItem",position:a+1,name:e.name||e.slug,item:`${H}${(0,_.getListingPath)({locale:N,pageType:"developers",locationPath:w(e),includeLocale:!0})}`})),ea=(0,_.getListingPath)({locale:N,pageType:"developers",locationPath:J}).replace(/^\//,"");(0,s.useEffect)(()=>{if(!P.isReady)return;let e=L.trim();if(!e){z(a),O(t),B(n);return}E(e),I(!0);let l=!1;return U(!0),(0,f.R2)("hr"===N?"hr-HR":N,J,{page:F,pageSize:n.pageSize,search:e}).then(e=>{l||(z(e.developers||[]),O(e.projects||[]),B(e.pagination||n))}).finally(()=>{l||U(!1)}),()=>{l=!0}},[J,a,N,n,t,L,F,P.isReady]);let et=async e=>{let a=e.trim(),t=`/${ea}`;await P.push(a?`${t}?search=${encodeURIComponent(a)}`:t,void 0,{shallow:!0})},el=async()=>{T?await et(A):I(!0)};return(0,l.jsxs)(p.A,{children:[(0,l.jsxs)(i(),{children:[(0,l.jsx)("title",{children:`${Y}${n.page>1?` - Page ${n.page}`:""} | Lankea`}),(0,l.jsx)("meta",{name:"description",content:K}),(W||P.query.search)&&(0,l.jsx)("meta",{name:"robots",content:"noindex,follow"}),(0,l.jsx)("link",{rel:"canonical",href:Q}),!!ee.length&&(0,l.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:ee}).replace(/</g,"\\u003c")}})]}),(0,l.jsx)("div",{className:"bg-default-1 pt-26 pb-20",children:(0,l.jsxs)("div",{className:"container",children:[!!Z.length&&(0,l.jsx)("nav",{className:"projectsListPage__breadcrumbs mb-4","aria-label":"Breadcrumb",children:Z.map((e,a)=>(0,l.jsxs)(s.Fragment,{children:[!0===e.is_indexable&&a<Z.length-1?(0,l.jsx)(o(),{href:(0,_.getListingPath)({locale:N,pageType:"developers",locationPath:w(e)}),children:e.name||e.slug}):(0,l.jsx)("span",{"aria-current":a===Z.length-1?"page":void 0,children:e.name||e.slug}),a<Z.length-1&&(0,l.jsx)("span",{"aria-hidden":"true",children:"/"})]},e.documentId||e.id||w(e)))}),(0,l.jsx)("h1",{className:"font-size-8 mb-5",children:Y}),(0,l.jsxs)("p",{className:`font-size-4 text-gray ${X.length?"mb-2":"mb-8"}`,children:[K," ",(0,l.jsx)(o(),{className:"text-green font-weight-bold",href:(0,_.getListingPath)({locale:N,pageType:"projects",locationPath:J}),children:G?`Projekti u lokaciji ${V}`:`Projects in ${V}`})]}),X.length>0&&(0,l.jsxs)("p",{className:"font-size-3 text-gray mb-8",children:[(0,l.jsx)("strong",{children:G?"Poznato i kao:":"Also known as:"})," ",X.join(", ")]}),T&&(0,l.jsx)("div",{className:"mb-6",children:(0,l.jsx)(x.A,{value:A,onChange:E,onSubmit:et,onClear:()=>et(""),placeholder:C("listSearch.developersPlaceholder"),label:C("listSearch.developersLabel"),clearLabel:C("listSearch.clear"),autoFocus:!0})}),(0,l.jsxs)("div",{className:"d-flex align-items-center justify-content-between mb-6",children:[(0,l.jsxs)("p",{className:"text-gray mb-0",children:[C("general.showing")," ",D.length," ",C("general.outOf")," ",q.total]}),(0,l.jsxs)("button",{type:"button",className:"projectsListPage__filterButton btn btn-outline-dark btn-sm",onClick:el,"aria-expanded":T,children:[(0,l.jsx)("i",{className:"fas fa-search mr-2","aria-hidden":"true"}),(0,l.jsx)("span",{children:C("search.button")})]})]}),(0,l.jsx)("div",{className:"mb-10",children:(0,l.jsx)(g.se,{geometry:null,projects:R,title:`${V} developer projects map`,locationPath:J,locale:N,bounds:e?.bbox||null,locationChildren:e?.children||[]})}),(0,l.jsxs)("div",{className:"row mb-10",children:[M&&(0,l.jsx)("div",{className:"col-12 py-6 text-center",children:(0,l.jsx)("div",{className:"spinner-border text-primary",role:"status"})}),!M&&D.map(a=>(0,l.jsx)("div",{className:"col-12 col-md-6 mb-6",children:(0,l.jsx)(h.A,{reDeveloper:a,location:e})},a.id)),!M&&!D.length&&(0,l.jsx)("p",{className:"text-gray",children:A?G?"Nema investitora koji odgovaraju pretraživanju.":"No developers match your search.":G?"Još nema investitora na ovoj lokaciji.":"No developers in this location yet."})]}),!M&&q.pageCount>1&&(0,l.jsx)(u.A,{currentPage:q.page,totalPages:q.pageCount,basePath:ea,locale:N})]})}),(0,l.jsx)(m.A,{})]})}},31685:(e,a,t)=>{"use strict";t.d(a,{A:()=>o});
1var l=t(37876),s=t(14232),r=t(94045);let i={theme:"light",bgClass:"dynamic-sticky-bg",variant:"primary",align:"right",isFluid:!1,button:"account",buttonText:"Get started free",reveal:!0},n={theme:"dark",style:"style1"},o=({children:e,headerConfig:a=null,footerConfig:t=null})=>{let o=(0,s.useContext)(r.A);return(0,s.useEffect)(()=>{o.themeDark?(o.setHeader({...i,...a,theme:"dark"}),o.setFooter({...n,...t,theme:"dark"})):(o.setHeader({...i,...a}),o.setFooter({...n,...t}))},[o.themeDark]),(0,l.jsx)(l.Fragment,{children:e})}},42626:(e,a,t)=>{"use strict";t.d(a,{K9:()=>n,Yf:()=>i,xT:()=>r});var l=t(50790);function s(e=""){return String(e).replace(/^\/+|\/+$/g,"")}function r(e){if(!e)return"";let a=s(e.canonical_path);if(a)return a;let t=s(e.slug),l=r(e.canonical_parent);return l&&t?`${l}/${t}`:t}function i(e){let a=r(e);return!!a&&(!!a.includes("/")||["country","market"].includes(e?.place_type))}function n(e,a="en"){let t=r(e);return t&&i(e)?(0,l.getListingPath)({locale:a,pageType:"projects",locationPath:t}):""}},44844:(e,a,t)=>{"use strict";t.d(a,{g:()=>s,s:()=>r});let l="lankea_user_data",s=()=>{try{let e=localStorage.getItem(l);return e?JSON.parse(e):null}catch(e){return console.error("Error getting user data from local storage:",e),null}},r=e=>{try{let a={...s()||{},...e};localStorage.setItem(l,JSON.stringify(a))}catch(e){console.error("Error setting user data in local storage:",e)}}},62179:(e,a,t)=>{"use strict";t.d(a,{A:()=>f});var l=t(37876),s=t(14232),r=t(48230),i=t.n(r),n=t(5646),o=t(91123),c=t(99741),d=t(89099),p=t(94045),h=t(71462),m=t(74757),u=t(44844),g=t(50790);let x=(0,n.Ay)(o.A).withConfig({componentId:"sc-c36ec0c3-0"})([""]),f=e=>{let a=(0,s.useContext)(p.A),{t}=(0,c.Bd)("common"),r=(0,d.useRouter)(),n=(0,g.getDefaultListingPath)(r.locale),f=(0,g.getDefaultListingPath)(r.locale,"developers"),j=a.selectedEntity,b=a.followEntityType,_=()=>{a.toggleFollowModal()},[v,N]=(0,s.useState)(!1),[y,w]=(0,s.useState)(""),[k,S]=(0,s.useState)(!0);async function $(e){if(e.preventDefault(),!j)return void console.error("No entity data available for follow action");try{let e=j.documentId,a=j.locale,t={data:{followerEmail:y,language:r.locale}};if("project"===b)t.data.project={connect:[{documentId:e,locale:a}]};else{if("developer"!==b)return void console.error("Unknown entity type for follow action");t.data.real_estate_developer={connect:[{documentId:e,locale:a}]}}console.log("Sending follow request:",t);let l=await fetch(`${h.pc}/follows`,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(t)}),s=await l.json();console.log("Follow response:",s),l.ok?((0,m.gm)(y,{email:y,$name:y,source:`${b}_follow`,locale:r.locale,[`${b}_id`]:e,[`${b}_slug`]:j.slug,[`${b}_name`]:j.name||j.title}),(0,m.sx)(`${b}_followed`,{[`${b}_id`]:e,[`${b}_slug`]:j.slug,[`${b}_name`]:j.name||j.title,email:y}),(0,u.s)({email:y}),N(!0),setTimeout(()=>{_()},2e3)):console.error("Error following entity:",s)}catch(e){console.error("Exception when following entity:",e)}}if((0,s.useEffect)(()=>{if(a.followModalVisible){let e=(0,u.g)();e?.email&&w(e.email)}},[a.followModalVisible]),!j)return null;let P=t("developer"===b?"modalFollow.emailCheckboxDeveloper":"modalFollow.emailCheckbox"),C=t("developer"===b?"modalFollow.emailCheckbox2Developer":"modalFollow.emailCheckbox2");return(0,l.jsx)(x,{...e,size:"md",centered:!0,show:a.followModalVisible,onHide:a.toggleFollowModal,children:(0,l.jsxs)(o.A.Body,{className:"p-0",children:[(0,l.jsx)("button",{type:"button",className:"lkModal__close-btn circle-32 btn-reset bg-white pos-abs-tr mt-n6 mr-lg-n6 focus-reset shadow-10",onClick:_,children:(0,l.jsx)("i",{className:"fas fa-times"})}),(0,l.jsx)("div",{className:"g-white rounded-8 overflow-hidden",children:(0,l.jsxs)("div",{className:"row no-gutters",children:[(0,l.jsx)("div",{className:"col-lg-12 col-md-12",children:(0,l.jsx)("div",{className:"pt-10 pb-6 pl-11 pr-12 bg-black-2 h-100 d-flex flex-column dark-mode-texts",children:(0,l.jsxs)("div",{className:"pb-9",children:[(0,l.jsx)("h3",{className:"font-size-8 text-white line-height-reset pb-4 line-height-1p4",children:t("modalFollow.title",{name:j?.name||""})}),(0,l.jsx)("p",{className:"mb-0 font-size-4 text-white",children:t("developer"===b?"modalFollow.descriptionDeveloper":"modalFollow.descriptionProject")})]})})}),(0,l.jsx)("div",{className:"col-lg-12 col-md-12",children:(0,l.jsx)("div",{className:"bg-white-2 h-100 px-11 pt-11 pb-7",children:(0,l.jsxs)("form",{children:[(0,l.jsxs)("div",{className:"form-group",children:[(0,l.jsx)("label",{htmlFor:"email",className:"font-size-4 text-black-2 font-weight-semibold line-height-reset",children:t("modalFollow.email")}),(0,l.jsx)("input",{type:"email",className:"form-control",placeholder:"",id:"email",value:y,onChange:e=>w(e.target.value)})]}),(0,l.jsx)("div",{className:"form-group d-flex flex-wrap justify-content-between mb-1",children:(0,l.jsxs)("label",{className:`lankea-checkbox lankea-checkbox--small ${k?"active":""} gr-check-input d-flex mr-3`,children:[(0,l.jsx)("input",{type:"checkbox",checked:k,onChange:()=>S(!k)}),(0,l.jsxs)("span",{children:[P," "," ",(0,l.jsx)(i(),{legacyBehavior:!0,href:"developer"===b?f:n,children:(0,l.jsx)("a",{className:"text-primary d-inline",children:C})})]})]})}),(0,l.jsx)("div",{className:"form-group mb-8",children:(0,l.jsxs)("button",{className:"btn btn-primary btn-medium w-100 rounded-5 text-uppercase",disabled:!y,onClick:$,children:[t("modalFollow.CTA")," "," "]})}),v&&(0,l.jsx)("div",{className:"alert alert-success",role:"alert",children:t("developer"===b?"modalFollow.successDeveloper":"modalFollow.successProject")})]})})})]})})]})})}},69950:(e,a,t)=>{"use strict";function l(e,a){let t=String(a||"").trim().toLocaleLowerCase(),l=new Set;return(e?.aliases||[]).map(e=>String(e||"").trim()).filter(e=>{let a=e.toLocaleLowerCase();return!(!a||a===t||l.has(a))&&(l.add(a),!0)})}t.d(a,{q:()=>l})},89054:(e,a,t)=>{"use strict";t.d(a,{A:()=>n});
1var l=t(37876),s=t(94208),r=t.n(s),i=t(14232);let n=({value:e,onChange:a,onSubmit:t,onClear:s,placeholder:n,label:o,clearLabel:c,autoFocus:d=!1})=>{let p=(0,i.useId)();return(0,l.jsxs)("form",{role:"search",onSubmit:a=>{a.preventDefault(),t?.(e.trim())},className:"jsx-28a5201e767a6b03 listSearch",children:[(0,l.jsx)("label",{htmlFor:p,className:"jsx-28a5201e767a6b03 sr-only",children:o}),(0,l.jsx)("i",{"aria-hidden":"true",className:"jsx-28a5201e767a6b03 fas fa-search listSearch__icon"}),(0,l.jsx)("input",{id:p,type:"search",value:e,onChange:e=>a(e.target.value),placeholder:n,autoFocus:d,className:"jsx-28a5201e767a6b03 form-control listSearch__input"}),e&&(0,l.jsx)("button",{type:"button",onClick:()=>{a(""),s?.()},"aria-label":c,className:"jsx-28a5201e767a6b03 listSearch__clear",children:(0,l.jsx)("i",{"aria-hidden":"true",className:"jsx-28a5201e767a6b03 fas fa-times"})}),(0,l.jsx)(r(),{id:"28a5201e767a6b03",children:".listSearch.jsx-28a5201e767a6b03{max-width:520px;position:relative;width:100%}.listSearch__icon.jsx-28a5201e767a6b03{color:#7e8989;left:1rem;pointer-events:none;position:absolute;top:50%;transform:translatey(-50%)}.listSearch__input.jsx-28a5201e767a6b03{background:#fff;border-color:#dbe3ea;border-radius:8px;height:48px;padding-left:2.75rem;padding-right:2.75rem}.listSearch__input.jsx-28a5201e767a6b03:focus{border-color:#00b074;box-shadow:0 0 0 3px rgba(0,176,116,.12)}.listSearch__clear.jsx-28a5201e767a6b03{align-items:center;background:transparent;border:0;color:#7e8989;cursor:pointer;display:flex;height:40px;justify-content:center;padding:0;position:absolute;right:.3rem;top:4px;width:40px}.listSearch__clear.jsx-28a5201e767a6b03:hover{color:#2b3940}"})]})}}},e=>{e.O(0,[915,5988,666,5214,636,6593,8792],()=>e(e.s=4068)),_N_E=e.O()}]); 2//# sourceMappingURL=[...segments]-c5e09d6061f8cfb8.js.map 3//# chunkId=01a11044-2e86-72b2-b36a-3658ff274dde
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.