PageSourceSearch

https://www.36doo.hr/_next/static/chunks/4623-25262c818d96d87a.js

js 36doo.hr collected 2026-10-06 06:09:14 UTC 10,562 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4623],{9673:function(e){e.exports={isObject:e=>{var n=typeof e;return null!=e&&("object"==n||"function"==n)}}},2332:function(e,n,t){const{isObject:r}=t(9673),i=!1,a=new RegExp(/(images\b|image\b|logo\b).*(ext\b|path\b|hash\b|mime\b|name\b|size\b|provider\b|id\b)/g),o=new RegExp(/logo\b.*(ext\b|path\b|hash\b|mime\b|name\b|size\b|provider\b|id\b)/g),l=(e,n=[],t=[],i=0,a=[])=>{for(let o in e){const s=a.join(".")+"."+o;if(e.hasOwnProperty(o)){let c=!1;n.includes(o)&&(delete e[o],c=!0),c||t.forEach((n=>{null!==new RegExp(n).exec(s)&&(delete e[o],c=!0)})),!c&&r(e[o])&&(a.push(o),l(e[o],n,t,i+1,a),a.pop())}}return e};e.exports={removeKeys:(e,n=[],t=0,a=[])=>{if(!e)return e;{i;const o=n.filter((e=>!!e)).filter((e=>!r(e)&&-1===e.indexOf("."))),s=n.filter((e=>!!e)).filter((e=>r(e)));return l(e,o,s,t,a)}},KEYS_REGEX_IMAGE_FORMATS:a,KEYS_REGEX_LOGO:o}},1948:function(e,n,t){"use strict";var r=t(5893),i=t(1594),a=t.n(i),o=t(245);n.Z=function(e){var n=e.starting_item,t=void 0===n?null:n,i=e.trailing_item,l=void 0===i?null:i,s=e.data,c=void 0===s?null:s,u=e.path,d=void 0===u?null:u;return(0,r.jsx)("div",{className:a().holder,children:(0,r.jsx)("div",{className:"container",children:(0,r.jsxs)("ul",{children:[t&&(0,r.jsxs)("li",{children:[t.url&&(0,r.jsx)(o.Z,{href:t.url,title:t.name,children:t.name}),null===t.url&&(0,r.jsx)("span",{className:a().text,title:t.name,children:t.name})]}),null!==c&&(0,r.jsx)(r.Fragment,{children:c.map((function(e,n){return(0,r.jsx)("li",{title:e.name,children:(0,r.jsx)(o.Z,{href:"/".concat(d,"/").concat(e.slug),children:e.name})},"breadcrumb-link-"+n)}))}),l&&(0,r.jsxs)("li",{children:[l.url&&(0,r.jsx)(o.Z,{href:l.url,title:l.name,children:l.name}),null===l.url&&(0,r.jsx)("span",{className:a().text,title:l.name,children:l.name})]})]})})})}},2077:function(e,n,t){"use strict";var r=t(5893),i=t(6746),a=t(6605),o=t(944);n.Z=function(e){var n=e.children,t=e.icon,l=void 0===t?null:t,s=e.working,c=void 0!==s&&s,u=e.disabled,d=void 0!==u&&u,m=e.className,_=void 0===m?null:m,h=e.classes,p=void 0===h?[]:h,v=e.onClick,x=void 0===v?null:v,g=e.title,f=void 0===g?null:g,j=e.value,b=void 0===j?null:j,y=e.tooltip,N=void 0===y?null:y,k=e.label,Z=void 0===k?null:k,E=e.type,w=void 0===E?"button":E,B=Array.isArray(p)?p.concat((_||"").split(" ")):(p+_).split(" "),z=B.includes("primary")||B.includes("secondary"),A=function(){return(0,r.jsxs)(r.Fragment,{children:[!c&&l&&(0,r.jsx)(o.Z,{icon:l,className:"before"}),c&&(0,r.jsx)("span",{className:"before",children:(0,r.jsx)(i.Z,{size:16,light:z})}),n||Z]})};return(0,r.jsxs)("button",{className:B.join(" "),onClick:x,disabled:c||d,title:f,"aria-label":Z||f||N,value:b,type:w,children:[!N&&(0,r.jsx)(r.Fragment,{children:A()}),N&&(0,r.jsx)(r.Fragment,{children:function(e){return(0,r.jsx)(a.Z,{content:N,children:e||Z})}(A())})]})}},9583:function(e,n,t){"use strict";var r=t(5893),i=t(3519),a=t.n(i);n.Z=function(e){var n=e.icon,t=e.title,i=e.description,o=e.children;return(0,r.jsxs)("div",{className:a().holder,children:[n,(0,r.jsx)("h1",{children:t}),(0,r.jsxs)("div",{children:[i,o]})]})}},4135:function(e,n,t){"use strict";var r=t(5893),i=(t(7294),t(4572)),a=t.n(i),o=t(944),l=t(245);n.Z=function(e){var n=e.data,t=e.container,i=void 0!==t&&t,s=function(e){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:a().title,children:[(0,r.jsx)(o.Z,{icon:e.icon,size:"2x",className:a().icon}),(0,r.jsx)("span",{children:e.title})]}),(0,r.jsx)("div",{className:a().content,children:(0,r.jsx)("div",{className:a().text,children:e.text})})]})};return(0,r.jsx)(r.Fragment,{children:n.length>0&&(0,r.jsx)("div",{className:a().holder,children:(0,r.jsx)("div",{className:i?"container":"",children:(0,r.jsx)("div",{className:a().items,children:n.map((function(e,n){return e.url?(0,r.jsx)(l.Z,{href:e.url,scroll:!1,className:a().item,children:s(e)},"item-bar-link-"+n):(0,r.jsx)("div",{className:a().item,children:s(e)},"item-bar-item-"+n)}))})})})})}},2306:function(e,n,t){"use strict";var r=t(5893),i=t(6746),a=t(9583);n.Z=function(e){var n=e.isLoading,t=e.loading,o=void 0===t?null:t,l=e.children;return n?o||(0,r.jsx)(a.Z,{children:(0,r.jsx)(i.Z,{size:64})}):(0,r.jsx)(r.Fragment,{children:l})}},6605:function(e,n,t){"use strict";var r=t(6042),i=t(9396),a=t(9534),o=t(828),l=t(5893),s=t(7294),c=t(2650),u=t.
1n(c);n.Z=function(e){var n=e.children,t=e.content,c=(0,a.Z)(e,["children","content"]),d=(0,o.Z)(s.useState(!1),2),m=d[0],_=d[1];return(0,l.jsxs)("div",{className:u().tooltipContainer,children:[t&&(0,l.jsxs)("div",{className:[u().tooltipBox,m?u().visible:null].join(" "),children:[t,(0,l.jsx)("span",{className:u().tooltipArrow})]}),(0,l.jsx)("div",(0,i.Z)((0,r.Z)({className:u().contentBox,onMouseEnter:function(){return _(!0)},onMouseLeave:function(){return _(!1)}},c),{children:n}))]})}},6502:function(e,n,t){"use strict";t.d(n,{M:function(){return m}});var r=t(7568),i=t(655),a=t(129),o=t.n(a),l=t(9209),s=t(6359),c=t(2332),u=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,t=function(e){if(e&&Array.isArray(e)&&e.length>0)return e.slice(0,n)};n&&(Array.isArray(e)?e.forEach((function(e){e.hasOwnProperty("images")&&(e.images=t(e.images))})):e.hasOwnProperty("images")&&(e.images=t(e.images)))},d=t(3454),m=function(){var e=(0,r.Z)((function(){var e,n,t,r,a,m,_,h,p,v,x,g,f,j,b,y,N,k,Z=arguments;return(0,i.__generator)(this,(function(i){switch(i.label){case 0:e=Z.length>0&&void 0!==Z[0]?Z[0]:null,n=Z.length>1&&void 0!==Z[1]?Z[1]:null,t=Z.length>2&&void 0!==Z[2]?Z[2]:null,r=Z.length>3&&void 0!==Z[3]?Z[3]:null,a=Z.length>4&&void 0!==Z[4]&&Z[4],m=Z.length>5&&void 0!==Z[5]?Z[5]:null,_=Z.length>6&&void 0!==Z[6]?Z[6]:null,h=Z.length>7&&void 0!==Z[7]?Z[7]:null,p=Z.length>8&&void 0!==Z[8]?Z[8]:null,v=Z.length>9&&void 0!==Z[9]&&Z[9],i.label=1;case 1:return i.trys.push([1,4,,5]),x=new l.Q("fetchProduct",{slugs:e,ids:n,forceLocal:v},1),g={},e&&(e.length>0?g.slug={$in:e}:g.slug={$null:!0}),n&&(n.length>0?g.id={$in:n}:g.id={$null:!0}),f={fields:t||"*",populate:r||["main_category","main_category.parent","main_category.parent.parent","categories","categories.parent","categories.parent.parent","brand","brand.logo","product_group","images.*","badge_image","main_category.badge_image","categories.badge_image"],filters:g,sort:p,pagination:{start:0,limit:9999}},d.env.PREVIEW_SECRET===h&&(f.publicationState="preview"),j=o().stringify(f,{encodeValuesOnly:!0}),b=(0,s.e)(v),[4,fetch("".concat(b,"/api/products?").concat(j))];case 2:return[4,i.sent().json()];case 3:return y=i.sent(),x.log(),N={},N=a?y&&y.data&&y.data.length>0?y.data:[]:y&&y.data&&y.data.length>0?y.data[0]:{},_&&u(N,_),m&&(0,c.removeKeys)(N,m),[2,N];case 4:return k=i.sent(),console.error(k),[3,5];case 5:return[2]}}
1))}));return function(){return e.apply(this,arguments)}}()},7475:function(e,n,t){"use strict";t.d(n,{t:function(){return o}});var r=t(7568),i=t(655),a=t(6502),o=function(){var e=(0,r.Z)((function(e){return(0,i.__generator)(this,(function(n){switch(n.label){case 0:return[4,(0,a.M)(null,e,["id","slug","name","price","price_alt","discount_percent","stock","availability_per_order","max_order_amount","discount_start_date","discount_end_date","target_price_helper","text_properties"],["main_category","main_category.parent","main_category.parent.parent","categories","categories.parent","categories.parent.parent","images","brand"],!0)];case 1:return[2,n.sent()]}}))}));return function(n){return e.apply(this,arguments)}}()},7907:function(e,n,t){"use strict";t.d(n,{N:function(){return a}});var r=t(5209),i=t.n(r),a=function(e){var n=i().maxOrderAmount,t=null,r=null,a=null;if(e){e.max_order_amount&&(t=e.max_order_amount),e.main_category&&e.main_category.max_order_amount&&(r=e.main_category.max_order_amount),e.categories&&e.categories.forEach((function(e){e.max_order_amount&&e.max_order_amount>a&&(a=e.max_order_amount)}));var o=t||Math.max(n||0,Math.max(r||0,a||0));return 0===o&&(o=null),{source:t?"product":r||a?"category":n?"web":null,max_order_amount:o,__product:t,__main_category:r,__other_categories:a,__web_max:n}}return{max_order_amount:n}}},5722:function(e,n,t){"use strict";t.d(n,{i:function(){return i}});var r=t(5893),i=function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if("denied-stock"!==e)if("denied-max-items"!==e){if(i&&t){var a="add"===e?"Dodano u ko\u0161aricu!":"increase"===e?"Pove\u0107ana koli\u010dina!":"";n((0,r.jsxs)(r.Fragment,{children:[t.name,(0,r.jsx)("br",{}),(0,r.jsx)("br",{}),(0,r.jsx)("b",{children:a}),(0,r.jsx)("br",{}),(0,r.jsx)("br",{}),(0,r.jsx)("div",{className:"controls gapped",children:(0,r.jsx)("a",{className:"button primary",href:"/cart",children:"Otvori ko\u0161aricu"})})]}))}}else n.error("Nije mogu\u0107e dodati u ko\u0161aricu jer imate previ\u0161e artikala u ko\u0161arici");else n.error("Nije mogu\u0107e dodati u ko\u0161aricu zbog ograni\u010dene koli\u010dine!")}},7347:function(e,n,t){"use strict";var r=t(5893),i=(t(7294),t(5209)),a=t.n(i),o=t(4135),l=t(1699);n.Z=function(e){var n=e.classes,t=void 0===n?"mt30":n,i=[a().flags.order.availablePaymentTypes.includes("credit-card")?{title:"Sigurna online kupovina",text:"Potpuno za\u0161ti\u0107eno i sigurno pla\u0107anje",icon:l.faShieldHalved,url:"/terms#sigurnost-placanja"}:null,{title:"Besplatna dostava",text:"Vrijedi za cijelu Hrvatsku za narud\u017ebe malih paketa iznad "+a().delivery.zone1.freeAfter.EUR+a().priceSymbol,icon:l.faTruck,url:"/terms#dostava-i-isporuka"},{title:"Osiguran servis",text:"Kvalitetan i brz servis",icon:l.faToolbox,url:"/service"},{title:"Va\u0161e zadovoljstvo je na prvom mjestu",text:"Mogu\u0107nost povrata u roku od 14 dana",icon:l.faThumbsUp,url:"/terms#povrat-i-reklamacije"}].filter((function(e){return!!e}));return(0,r.jsx)("section",{className:t,children:(0,r.jsx)(o.Z,{data:i,container:!0})})}},1594:function(e){e.exports={holder:"Breadcrumbs_holder___u9IF",text:"Breadcrumbs_text__zOZD5"}},3519:function(e){e.exports={holder:"EmptyState_holder__cd_0u"}},4572:function(e){e.exports={holder:"InfoBar_holder__AvE7V",items:"InfoBar_items__B5xJ9",item:"InfoBar_item__atu6b",icon:"InfoBar_icon__7_8KW",title:"InfoBar_title__mymSm",content:"InfoBar_content__0puW5",text:"InfoBar_text__cesX1"}},2650:function(e){e.exports={tooltipContainer:"Tooltip_tooltipContainer__xYNkJ",tooltipBox:"Tooltip_tooltipBox__DUcV9",visible:"Tooltip_visible__3e1TQ",tooltipArrow:"Tooltip_tooltipArrow__Qt1qZ",contentBox:"Tooltip_contentBox__ek7DR"}},4654:function(){}}]);

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.