1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4137],{5376:function(e,s,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/obuci-custom",function(){return r(1556)}])},1556:function(e,s,r){"use strict";r.r(s),r.d(s,{default:function(){return N}});var t=r(5893),i=r(9008),n=r.n(i),a=r(5675),l=r.n(a),o=r(7294),c=function(){return(0,t.jsxs)("div",{className:"relative isolate overflow-hidden bg-gray-900 py-24 sm:pt-48",children:[(0,t.jsx)("div",{className:"relative h-full w-full",children:(0,t.jsx)(l(),{src:"https://images.unsplash.com/photo-1521737604893-d14cc237f11d?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&crop=focalpoint&fp-y=.8&w=2830&h=1500&q=80&blend=111827&sat=-100&exp=15&blend-mode=multiply",alt:"",layout:"fill",objectFit:"cover",objectPosition:"right",className:"absolute inset-0 -z-10 object-cover md:object-center"})}),(0,t.jsx)("div",{className:"hidden sm:absolute sm:-top-10 sm:right-1/2 sm:-z-10 sm:mr-10 sm:block sm:transform-gpu sm:blur-3xl",children:(0,t.jsx)("div",{className:"aspect-[1097/845] w-[68.5625rem] bg-gradient-to-tr from-[#ff4694] to-[#776fff] opacity-20",style:{clipPath:"polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)"}})}),(0,t.jsx)("div",{className:"absolute -top-52 left-1/2 -z-10 -translate-x-1/2 transform-gpu blur-3xl sm:top-[-28rem] sm:ml-16 sm:translate-x-0 sm:transform-gpu",children:(0,t.jsx)("div",{className:"aspect-[1097/845] w-[68.5625rem] bg-gradient-to-tr from-[#ff4694] to-[#776fff] opacity-20",style:{clipPath:"polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)"}})}),(0,t.jsxs)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:[(0,t.jsxs)("div",{className:"mx-auto max-w-2xl lg:mx-0",children:[(0,t.jsxs)("h2",{className:"text-4xl font-bold tracking-tight flex items-center text-white sm:text-6xl",children:[(0,t.jsx)("div",{className:"h-40 w-40 relative mr-4",children:(0,t.jsx)(l(),{alt:"logo",src:"/obuci_text.svg",layout:"fill",objectFit:"contain"})})," ","Custom"]}),(0,t.jsx)("p",{className:"mt-6 text-lg leading-8 text-gray-300",children:"Anim aute id magna aliqua ad ad non deserunt sunt. Qui irure qui lorem cupidatat commodo. Elit sunt amet fugiat veniam occaecat fugiat aliqua."})]}),(0,t.jsxs)("div",{className:"mx-auto mt-16 grid max-w-2xl grid-cols-1 gap-6 sm:mt-20 lg:mx-0 lg:max-w-none lg:grid-cols-3 lg:gap-8",children:[(0,t.jsxs)("div",{className:"flex gap-x-4 rounded-xl bg-white/5 p-6 ring-1 ring-inset ring-white/10",children:[(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"h-7 w-5 flex-none text-indigo-400",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.982 18.725A7.488 7.488 0 0012 15.75a7.488 7.488 0 00-5.982 2.975m11.963 0a9 9 0 10-11.963 0m11.963 0A8.966 8.966 0 0112 21a8.966 8.966 0 01-5.982-2.275M15 9.75a3 3 0 11-6 0 3 3 0 016 0z"})}),(0,t.jsxs)("div",{className:"text-base leading-7",children:[(0,t.jsx)("h3",{className:"font-semibold text-white",children:"Poruci"}),(0,t.jsx)("p",{className:"mt-2 text-gray-300",children:"Ratione et porro eligendi est sed ratione rerum itaque. Placeat accusantium impedit eum odit."})]})]}),(0,t.jsxs)("div",{className:"flex gap-x-4 rounded-xl bg-white/5 p-6 ring-1 ring-inset ring-white/10",children:[(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"h-7 w-5 flex-none text-indigo-400",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7.848 8.25l1.536.887M7.848 8.25a3 3 0 11-5.196-3 3 3 0 015.196 3zm1.536.887a2.165 2.165 0 011.083 1.839c.005.351.054.695.14 1.024M9.384 9.137l2.077 1.199M7.848 15.75l1.536-.887m-1.536.887a3 3 0 11-5.196 3 3 3 0 015.196-3zm1.536-.887a2.165 2.165 0 001.083-1.838c.005-.352.054-.695.14-1.025m-1.223 2.863l2.077-1.199m0-3.328a4.323 4.323 0 012.068-1.379l5.325-1.628a4.5 4.5 0 012.48-.044l.803.215-7.794 4.5m-2.882-1.664A4.331 4.331 0 0010.607 12m3.736 0l7.794 4.5-.802.215a4.5 4.5 0 01-2.48-.043l-5.326-1.629a4.324 4.324 0 01-2.068-1.379M14.343 12l-2.882 1.664"})}),(0,t.jsxs)("div",{className:"text-base leading-7",children:[(0,t.jsx)("h3",{className:"font-semibold text-white",children:"Poruci"}),(0,t.jsx)("p",{className:"mt-2 text-gray-300",children:"Ratione et porro eligendi est sed ratione rerum itaque. Placeat accusantium impedit eum odit."})]})]}
1),(0,t.jsxs)("div",{className:"flex gap-x-4 rounded-xl bg-white/5 p-6 ring-1 ring-inset ring-white/10",children:[(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"h-7 w-5 flex-none text-indigo-400",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.982 18.725A7.488 7.488 0 0012 15.75a7.488 7.488 0 00-5.982 2.975m11.963 0a9 9 0 10-11.963 0m11.963 0A8.966 8.966 0 0112 21a8.966 8.966 0 01-5.982-2.275M15 9.75a3 3 0 11-6 0 3 3 0 016 0z"})}),(0,t.jsxs)("div",{className:"text-base leading-7",children:[(0,t.jsx)("h3",{className:"font-semibold text-white",children:"Poruci"}),(0,t.jsx)("p",{className:"mt-2 text-gray-300",children:"Ratione et porro eligendi est sed ratione rerum itaque. Placeat accusantium impedit eum odit."})]})]})]})]})]})},d=function(){return(0,t.jsx)("div",{className:"absolute left-18 z-50 mt-2 w-40 origin-top-right rounded-md bg-white shadow-2xl ring-1 ring-black ring-opacity-5 focus:outline-none",children:(0,t.jsx)("div",{className:"py-1",children:[{name:"Najpopularniji",href:"#",current:!0},{name:"Najpra\u0107eniji",href:"#",current:!1},{name:"Najnoviji",href:"#",current:!1},{name:"Cena: Rastu\u0107a",href:"#",current:!1},{name:"Cena: Opadaju\u0107a",href:"#",current:!1}].map((function(e){return(0,t.jsx)("div",{children:(0,t.jsx)("a",{href:e.href,className:" hover:bg-gray-200 block px-4 py-2 text-md ".concat(e.current?"font-medium text-gray-900":"text-gray-500"),children:e.name})},e.name)}))})})},m=r(5017),x=r(4051),u=r.n(x),h=r(5321),g=r(29),f=r(2345),p=r(1264);function j(e,s,r,t,i,n,a){try{var l=e[n](a),o=l.value}catch(c){return void r(c)}l.done?s(o):Promise.resolve(o).then(t,i)}function v(e){return function(){var s=this,r=arguments;return new Promise((function(t,i){var n=e.apply(s,r);function a(e){j(n,t,i,a,l,"next",e)}function l(e){j(n,t,i,a,l,"throw",e)}a(void 0)}))}}var w=r(1664),y=r.n(w),b=function(){var e=(0,o.useRef)(null),s=(0,o.useState)(!1),r=s[0],i=s[1];(0,m.Z)(e,(function(){i(!1)}));var n=function(){var e=(0,o.useState)(!0),s=e[0],r=e[1],t=(0,o.useState)(null),i=t[0],n=t[1],a=(0,o.useState)([]),l=a[0],c=a[1];return(0,p.a)().currentUser,(0,o.useEffect)((function(){function e(){return(e=v(u().mark((function e(){var s,t,i,a;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,s=(0,h.hJ)(g.db,"User").withConverter(f.x),t=(0,h.IO)(s,(0,h.ar)("isTailor","==",!0),(0,h.b9)(10)),e.next=5,(0,h.PL)(t);case 5:i=e.sent,a=[],i.forEach((function(e){a.push(e.data())})),c(a),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(0),n("Doslo je do greske. Pokusajte opet");case 14:return e.prev=14,r(!1),e.finish(14);case 17:case"end":return e.stop()}}),e,null,[[0,11,14,17]])})))).apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[]),{loading:s,error:i,tailors:l}}(),a=n.tailors;n.loading,n.error;return(0,t.jsxs)("div",{className:"max-w-[110rem] mx-auto px-8 pb-12",children:[(0,t.jsxs)("div",{className:"border-b mt-6 sm:mt-12 border-gray-200 pb-5 sm:flex sm:items-center sm:justify-between",children:[(0,t.jsx)("h3",{className:"text-2xl font-bold tracking-tight text-gray-900 sm:text-4xl",children:"Kroja\u010di"}),(0,t.jsxs)("div",{className:"mt-3 sm:ml-4 sm:mt-0",children:[(0,t.jsx)("label",{htmlFor:"mobile-search-candidate",className:"sr-only",children:"Pretra\u017ei kroja\u010de"}),(0,t.jsx)("label",{htmlFor:"desktop-search-candidate",className:"sr-only",children:"Pretra\u017ei kroja\u010de"}),(0,t.jsxs)("div",{className:"flex rounded-md shadow-sm",children:[(0,t.jsxs)("div",{className:"relative flex-grow focus-within:z-10",children:[(0,t.jsx)("div",{className:"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3",children:(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-5 h-5 stroke-gray-400",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z"})})}),(0,t.jsx)("input",{type:"text",name:"mobile-search-candidate",id:"mobile-search-candidate",className:"block w-full rounded-none rounded-l-md border-0 py-1.5 pl-10 text-gray-900 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:hidden",placeholder:"Pretra\u017ei kroja\u010de"}),(0,t.jsx)("input",{type:"text",name:"desktop-search-candidate",id:"desktop-search-candidate",className:"hidden w-full rounded-none rounded-l-md border-0 py-1.5 pl-10 text-sm leading-6 text-gray-900 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:block",placeholder:"Pretra\u017ei kroja\u010de"})]}),(0,t.jsxs)("div",{ref:e,children:[(0,t.jsxs)("button",{type:"button",onClick:function(){i(!r)},className:"relative -ml-px inline-flex items-center gap-x-1.5 rounded-r-md px-3 py-2 text-sm font-semibold text-gray-900 ring-1 ring-inset ring-gray-300 hover:bg-gray-50",children:[(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"-ml-0.5 h-5 w-5 stroke-gray-400",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 4.5h14.25M3 9h9.75M3 13.5h5.25m5.25-.75L17.25 9m0 0L21 12.75M17.25 9v12"})}),"Sortiraj",(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"-mr-1 h-5 w-5 stroke-gray-400",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 8.25l-7.5 7.5-7.5-7.5"})})]}),r&&(0,t.jsx)(d,{})]})]})]})]}),(0,t.jsx)("div",{className:"overflow-hidden bg-white shadow sm:rounded-md",children:(0,t.jsx)("ul",{role:"list",className:"divide-y divide-gray-200",children:a.map((function(e){return(0,t.jsx)("li",{children:(0,t.jsx)(y(),{href:"/korisnik/".concat(e.id),className:"block hover:bg-gray-50",children:(0,t.jsxs)("div",{className:"flex items-center px-4 py-4 sm:px-6 hover:bg-gray-50 cursor-pointer",children:[(0,t.jsxs)("div",{className:"flex min-w-0 flex-1 items-center",children:[(0,t.jsx)("div",{className:"flex-shrink-0",children:(0,t.jsx)("div",{className:"relative h-24 w-24",children:(0,t.jsx)(l(),{src:e.profilePictureUrl,alt:"",layout:"fill",objectFit:"cover",className:"rounded-full"})})}),(0,t.jsxs)("div",{className:"min-w-0 flex-1 px-4 md:grid md:grid-cols-2 md:gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"truncate text-sm font-medium text-primary",children:e.username}),(0,t.jsx)("p",{className:"mt-2 flex items-center text-sm text-gray-500",children:(0,t.jsx)("span",{className:"truncate",children:e.specializations})}),(0,t.jsx)("p",{className:"mt-2 flex items-center text-sm text-gray-500",children:(0,t.jsxs)("span",{className:"truncate",children:[e.city,", ",e.country]})}),(0,t.jsx)("p",{className:"mt-2 flex items-center text-sm text-gray-500",children:(0,t.jsx)("span",{className:"truncate",children:e.bio})})]}),(0,t.jsxs)("div",{className:"hidden md:flex space-x-4",children:[e.workImages.slice(0,5).map((function(e){return(0,t.jsx)("div",{children:(0,t.jsx)("div",{className:"flex-shrink-0",children:(0,t.jsx)("div",{className:"relative h-24 w-24",children:(0,t.jsx)(l(),{className:"h-24 w-24 rounded-md",src:e,layout:"fill",objectFit:"cover",alt:""})})},e)})})),e.workImages.length>5&&(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-10 h-10 stroke-gray-400 my-auto",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 12a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM12.75 12a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM18.75 12a.75.75 0 11-1.5 0 .75.75 0 011.5 0z"})})]})]})]}),(0,t.jsx)("div",{children:(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-5 h-5 stroke-gray-400",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 4.5l7.5 7.5-7.5 7.5"})})})]})})},e.id)}))})}),(0,t.jsxs)("div",{className:"flex items-center justify-between border-t border-gray-200 bg-white px-4 py-3 sm:px-6",children:[(0,t.jsxs)("div",{className:"flex flex-1 justify-between sm:hidden",children:[(0,t.jsx)("a",{href:"#",className:"relative inline-flex items-center rounded-md border border-gray-300 bg-white px-4 py-2 text-sm font-medium text-gray-700 hover:bg-gray-50",children:"Previous"}),(0,t.jsx)("a",{href:"#",className:"relative ml-3 inline-flex items-center rounded-md border border-gray-300 bg-white px-4 py-2 text-sm font-medium text-gray-700 hover:bg-gray-50",children:"Next"})]}),(0,t.jsxs)("div",{className:"hidden sm:flex sm:flex-1 sm:items-center sm:justify-between",children:[(0,t.jsx)("div",{children:(0,t.jsxs)("p",{className:"text-sm text-gray-700",children:["Prikazano ",(0,t.jsx)("span",{className:"font-medium",children:"1"})," do"," ",(0,t.jsx)("span",{className:"font-medium",children:"10"})," od"," ",(0,t.jsx)("span",{className:"font-medium",children:a.length})," rezultata"]})}),(0,t.jsx)("div",{children:(0,t.jsxs)("nav",{className:"isolate inline-flex -space-x-px rounded-md shadow-sm","aria-label":"Pagination",children:[(0,t.jsxs)("a",{href:"#",className:"relative inline-flex items-center rounded-l-md px-2 py-2 text-gray-400 ring-1 ring-inset ring-gray-300 hover:bg-gray-50 focus:z-20 focus:outline-offset-0",children:[(0,t.jsx)("span",{className:"sr-only",children:"Previous"}),(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-5 h-5",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 19.5L8.25 12l7.5-7.5"})})]}),(0,t.jsx)("a",{href:"#","aria-current":"page",className:"relative z-10 inline-flex items-center bg-primary px-4 py-2 text-sm font-semibold text-white focus:z-20 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary",children:"1"}),(0,t.jsx)("a",{href:"#",className:"relative inline-flex items-center px-4 py-2 text-sm font-semibold text-gray-900 ring-1 ring-inset ring-gray-300 hover:bg-gray-50 focus:z-20 focus:outline-offset-0",children:"2"}),(0,t.jsx)("a",{href:"#",className:"relative hidden items-center px-4 py-2 text-sm font-semibold text-gray-900 ring-1 ring-inset ring-gray-300 hover:bg-gray-50 focus:z-20 focus:outline-offset-0 md:inline-flex",children:"3"}),(0,t.jsx)("span",{className:"relative inline-flex items-center px-4 py-2 text-sm font-semibold text-gray-700 ring-1 ring-inset ring-gray-300 focus:outline-offset-0",children:"..."}),(0,t.jsx)("a",{href:"#",className:"relative hidden items-center px-4 py-2 text-sm font-semibold text-gray-900 ring-1 ring-inset ring-gray-300 hover:bg-gray-50 focus:z-20 focus:outline-offset-0 md:inline-flex",children:"8"}),(0,t.jsx)("a",{href:"#",className:"relative inline-flex items-center px-4 py-2 text-sm font-semibold text-gray-900 ring-1 ring-inset ring-gray-300 hover:bg-gray-50 focus:z-20 focus:outline-offset-0",children:"9"}),(0,t.jsx)("a",{href:"#",className:"relative inline-flex items-center px-4 py-2 text-sm font-semibold text-gray-900 ring-1 ring-inset ring-gray-300 hover:bg-gray-50 focus:z-20 focus:outline-offset-0",children:"10"}),(0,t.jsxs)("a",{href:"#",className:"relative inline-flex items-center rounded-r-md px-2 py-2 text-gray-400 ring-1 ring-inset ring-gray-300 hover:bg-gray-50 focus:z-20 focus:outline-offset-0",children:[(0,t.jsx)("span",{className:"sr-only",children:"Next"}),(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-5 h-5",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 4.5l7.5 7.5-7.5 7.5"})})]})]})})]})]})]})},N=function(){return(0,t.jsxs)("div",{children:[(0,t.jsxs)(n(),{children:[(0,t.jsx)("title",{children:"Obuci.rs | Custom"}),(0,t.jsx)("meta",{name:"description",content:"Obuci.rs je jedinstveno online tr\u017ei\u0161te za ode\u0107u u Srbiji."}),(0,t.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,t.jsx)(c,{}),(0,t.jsx)(b,{})]})}},9008:function(e,s,r){e.exports=r(3121)}},function(e){e.O(0,[9774,2888,179],(function(){return s=5376,e(e.s=s);var s}));var s=e.O();_N_E=s}]);
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.