PageSourceSearch

https://www.butanplin.si/_next/static/chunks/764-db63740f78872077.js?dpl=dpl_ARPpXaFQyKQ1Fe36P1ww9hpWNB5X

js butanplin.si collected 2026-10-05 01:40:04 UTC 5,827 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[764],{27411:(e,t,r)=>{r.d(t,{Gv:()=>u,HA:()=>a,LO:()=>i,Tq:()=>c,WL:()=>n,gw:()=>s});var l=r(99742);let n="_shvenergy_custom_lang",i=180,a=e=>e.toLowerCase(),s=e=>{let[t,r]=e.split("-");return t?r?"".concat(t.toLowerCase(),"-").concat(r.toUpperCase()):t.toLowerCase():e},u=()=>{var e;return(null==(e=l.env.DEFAULT_LANGUAGE)?void 0:e.trim())||(()=>{var e,t;let r=null==(e=l.env.LOCALES)?void 0:e.split(",").map(e=>e.trim()).filter(Boolean);if(null==r?void 0:r.length)return r;let n=null==(t=l.env.DEFAULT_LANGUAGE)?void 0:t.trim();return n?[n]:["en"]})()[0]||"en"},c=(e,t,r)=>{let l=a(t),n=e&&"/"!==e?e:"";return l===a(r)?n||"/":"/".concat(l).concat(n)}},89764:(e,t,r)=>{r.d(t,{A:()=>v});var l=r(37876),n=r(98954),i=r(92380),a=r(14232),s=r(92867);let u=e=>{let{href:t,isExternal:r=!1,location:l}=e,n=(0,s._)(),i=(0,s.K)(),u=n||i;return(0,a.useMemo)(()=>{if(!t||"string"!=typeof t)return"";if(r||t.startsWith("http://")||t.startsWith("https://")||t.startsWith("mailto:")||t.startsWith("tel:")||t.startsWith("javascript:")||t.startsWith("#")||!u)return t;let e=null!=l?l:window.location;try{let r=new URLSearchParams(e.search),l=new URL(t,e.origin);return r.forEach((e,t)=>{t.startsWith("sc_")&&l.searchParams.set(t,e)}),l.pathname+l.search}catch(e){return t}},[t,r,u,l])};var c=r(27411),o=r(48230),f=r.n(o),h=r(89099);let d=a.forwardRef((e,t)=>{let{children:r,scriptHref:n,...i}=e,s=a.useRef(null),u=a.useCallback(e=>{s.current=e,"function"==typeof t?t(e):t&&(t.current=e)},[t]);return a.useEffect(()=>{var e;null==(e=s.current)||e.setAttribute("href",n)},[n]),(0,l.jsx)("a",{ref:u,"data-testid":"link",...i,children:r})});d.displayName="ScriptLink";let p=a.forwardRef((e,t)=>{var r,a,o,p,v,m;let{children:g,field:y,href:j,isExternal:k=!1,...w}=e,L=(0,s._)(),_=(0,h.useRouter)(),x=_.locale?(0,c.HA)(_.locale):void 0,W=u({href:j,isExternal:k}),b=u({href:null==y||null==(r=y.value)?void 0:r.href,isExternal:k});if(y){let e=null!=(p=null==y||null==(a=y.value)?void 0:a.href)?p:"",{cleanHref:r,isSpecialScheme:s,scriptHref:u}=(0,i.me)(e),c=(0,i.fs)(e);if((u||s||c)&&!L){let{rel:e,title:n,...a}=w,s=[(0,i._f)(y.value),e].filter(e=>!!e).flatMap(e=>e.split(" ")),c=s.length?[...new Set(s)].join(" "):void 0,o=null!=n?n:null==(v=y.value)?void 0:v.title,f=null!=g?g:null==(m=y.value)?void 0:m.text;return u?(0,l.jsx)(d,{ref:t,rel:c,scriptHref:u,title:o,...a,children:f}):(0,l.jsx)("a",{ref:t,"data-testid":"link",href:r,rel:c,title:o,...a,children:f})}let f=(0,i.$1)(b||e),h=f&&f!==(null==y||null==(o=y.value)?void 0:o.href)?{...y,value:{...y.value,href:f}}:y,j=(0,i._f)(y.value),{rel:k,..._}=w,W=[j,k].filter(Boolean).join(" ")||void 0;return(0,l.jsx)(n.N,{ref:t,field:h,locale:x,rel:W,..._,children:g})}if(!j)return(0,l.jsx)("span",{...w,children:g});let{cleanHref:A,isSpecialScheme:S,scriptHref:E}=(0,i.me)(W),C=(0,i.fs)(A);return E&&!L?(0,l.jsx)(d,{ref:t,scriptHref:E,...w,children:g}):(S||C)&&!L?(0,l.jsx)("a",{ref:t,"data-testid":"link",href:A,...w,children:g}):(0,l.jsx)(f(),{ref:t,"data-testid":"link",href:W,locale:x,...w,children:g})});p.displayName="Link";let v=p},92380:(e,t,r)=>{function l(e){if(!e||!e.includes("localhost"))return e;let t=null;try{t=new URL(e)}catch(e){t=null}return(null==t?void 0:t.hostname)==="localhost"?"".concat(t.pathname).concat(t.search).concat(t.hash)||"/":e}function n(e){if(null===e||"object"!=typeof e)return null;let t=e;for(let e=0;e<4&&null!==t&&"object"==typeof t;e+=1){let e=t;if(function(e){var t;return!!e.href||!!e.url||"id"in e&&!!(String(null!=(t=e.id)?t:"").trim().length>0)||"string"==typeof e.text&&!!(e.text.trim().length>0)}(e))return e;if("value"in e&&null!==e.value&&"object"==typeof e.value){t=e.value;continue}break}return null}function i(e){if(!(null==e?void 0:e.href)&&!(null==e?void 0:e.url))return"";let t=l(e.href||e.url||"");if(e.querystring&&!t.includes("?")){let r="string"==typeof e.querystring&&e.querystring.startsWith("?")?e.querystring.substring(1):e.querystring;t="".concat(t,"?").concat(r)}if(e.anchor&&!t.includes("#")){let r=e.anchor.startsWith("#")?"":"#";t="".concat(t).concat(r).concat(e.anchor)}return t}function a(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r={};if(!e)return r;if(e.trackingfunction&&(r["data-trackingfunction"]=e.trackingfunction),Object.keys(e).forEach(t=>{t.startsWith("data-")&&e[t]&&"string"==typeof e[t]&&(r[t]=e[t])}),t){let t=i(e);t&&(r["data-href"]=t)}return r}function s(e){if(!e)return;let t=[];return"external"===e.linktype&&("1"===e.relnofollow&&t.push("nofollow"),"1"===e.relme&&t.push("me")),"_blank"===e.target&&t.push("noopener","noreferrer"),t.length?t.join(" "):void 0}function u(e){if(!e)return{href:""};let t={href:i(e)};e.target&&(t.target=e.target),e.title&&(t.title=e.title),e.class&&(t.className=e.class),e.id&&(t.id=e.id);let r=s(e);return r&&(t.rel=r),t}function c(e){if(!e)return!1;let t=e.split(/[?#]/)[0].toLowerCase();return"/sitemap"===t||"/sitemap.xml"===t||/^\/sitemap\/sitemap[^/]+\.xml$/.test(t)}r.d(t,{$1:()=>l,Ab:()=>i,Qz:()=>n,_f:()=>s,fs:()=>c,me:()=>f,ok:()=>a,uv:()=>u});let o=/^(?:https?:|tel:|mailto:|ftp:|\/|#)/i;function f(e){let t=null!=e?e:"";if(/^\s*javascript:/i.test(t)){let e=t.replace(/^\s*javascript:/i,"").replace(/;\s*return\s+false;?\s*$/i,"").trim();return o.test(e)?{cleanHref:e,isSpecialScheme:!0}:{cleanHref:"",isSpecialScheme:!1,scriptHref:"javascript:".concat(e)}}let r=t.replace(/^.*?(tel:|mailto:)/,"$1").replace(/;\s*return\s+false;?\s*$/i,""),l=r.startsWith("tel:")||r.startsWith("mailto:");return{cleanHref:r,isSpecialScheme:l}}},92867:(e,t,r)=>{r.d(t,{K:()=>i,_:()=>n});var l=r(5624);let n=()=>{var e;let{sitecoreContext:t}=(0,l.n)();return null!=(e=null==t?void 0:t.pageEditing)&&e},i=()=>{let{sitecoreContext:e}=(0,l.n)();return(null==e?void 0:e.pageState)==="preview"}}}]);

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.