PageSourceSearch

https://stcable.tv/_next/static/chunks/fd46e5335775318c.js

js stcable.tv collected 2026-10-02 15:29:48 UTC 46,404 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,41766,e=>{"use strict";var t,a=e.i(71645);function l(){return(l=Object.assign.bind()).apply(null,arguments)}e.s(["default",0,function(e){return a.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:25,height:24,fill:"currentColor","aria-hidden":"true"},e),t||(t=a.createElement("path",{fillRule:"evenodd",d:"M12.5 2.75c-.658 0-1.305.212-2.92.764l-.572.196c-1.513.518-2.616.896-3.39 1.21q-.446.173-.864.404a2 2 0 0 0-.208.139.4.4 0 0 0-.055.05.4.4 0 0 0-.032.074q-.03.082-.063.248a7 7 0 0 0-.1.958c-.046.841-.046 2.015-.046 3.624v1.574c0 5.176 3.87 7.723 6.449 8.849.371.162.586.254.825.315.228.059.506.095.976.095s.748-.036.976-.095c.24-.06.454-.153.825-.315 2.58-1.126 6.449-3.674 6.449-8.849v-1.574c0-1.609 0-2.783-.046-3.624a7 7 0 0 0-.1-.958 2 2 0 0 0-.063-.248.4.4 0 0 0-.032-.074.4.4 0 0 0-.055-.05 2 2 0 0 0-.208-.14 7 7 0 0 0-.864-.402c-.774-.315-1.877-.693-3.39-1.21l-.573-.197c-1.614-.552-2.261-.764-2.919-.764m-3.277-.699c1.444-.494 2.34-.801 3.277-.801s1.833.307 3.277.801l.128.044.599.205c1.481.507 2.625.899 3.443 1.231.412.167.767.33 1.052.495.275.16.55.359.737.626.185.263.281.587.341.9.063.324.1.713.125 1.16.048.886.048 2.102.048 3.678v1.601c0 6.101-4.608 9.026-7.348 10.224l-.027.011c-.34.149-.66.288-1.027.382-.387.1-.799.142-1.348.142-.55 0-.96-.042-1.348-.142-.367-.094-.687-.233-1.027-.382l-.027-.011C7.358 21.017 2.75 18.092 2.75 11.99v-1.6c0-1.576 0-2.792.048-3.679.025-.446.062-.835.125-1.16.06-.312.156-.636.34-.9.188-.266.463-.465.738-.625.285-.165.64-.328 1.052-.495.818-.332 1.962-.724 3.443-1.23l.599-.206z",clipRule:"evenodd"})))}])},26815,e=>{"use strict";var t,a=e.i(71645);function l(){return(l=Object.assign.bind()).apply(null,arguments)}e.s(["default",0,function(e){return a.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-hidden":"true"},e),t||(t=a.createElement("path",{fill:"#F8F8F8",fillRule:"evenodd",d:"M11.512 8.43a.75.75 0 0 1 .976 0l7 6a.751.751 0 0 1-.976 1.14L12 9.987l-6.512 5.581a.75.75 0 1 1-.976-1.138z",clipRule:"evenodd"})))}])},33963,e=>{"use strict";let t={cable:{contactPath:"/cable/contact",returnPath:"/cable",thankYouPath:"/uspesna-prijava-cable"},mobile:{contactPath:"/mobile/contact",returnPath:"/mobile",thankYouPath:"/uspesna-prijava-mobile"},mixlanding:{contactPath:"/mixlanding/contact",returnPath:"/mixlanding",thankYouPath:"/uspesna-prijava-mixlanding"},uskrs:{contactPath:"/uskrs/contact",returnPath:"/uskrs",thankYouPath:"/uspesna-prijava-uskrs"},"back-to-school-landing":{contactPath:"/back-to-school-landing/contact",returnPath:"/back-to-school-landing",thankYouPath:"/uspesna-prijava-back-to-school"},tplink:{contactPath:"/tplink/contact",returnPath:"/tplink",thankYouPath:"/uspesna-prijava-tplink"}},a={"blackfriday.expired":"cable",cable:"cable",family:"cable",familysu:"cable",mobile:"mobile",mundijal:"cable",sttvlanding:"cable",tplink:"tplink",uskrs:"uskrs",valentine:"cable",mixpaketi:"mixlanding",mixcsomagok:"mixlanding","povratak-u-skolu":"back-to-school-landing","vissza-az-iskolaba":"back-to-school-landing"};function l(e){return e.split("/").filter(Boolean)[1]??""}function r(e,t){return`/${e}${t}`}function s(e){return a[l(e)]??"cable"}function i(e,a){let l=t[e];return{flow:e,contactPath:r(a,l.contactPath),returnPath:r(a,l.returnPath),thankYouPath:r(a,l.thankYouPath)}}function n(e,a){let l=s(e),i=t[l];return{flow:l,contactPath:r(a,i.contactPath),returnPath:r(a,i.returnPath),thankYouPath:r(a,i.thankYouPath)}}let o={"uspesna-prijava-alarm":"/alarm","uspesna-prijava-cable":"/cable","uspesna-prijava-cable-transfer":"/cable/transfer","uspesna-prijava-hosting":"/hosting","uspesna-prijava-mixlanding":"/mixlanding","uspesna-prijava-mobile":"/mobile","uspesna-prijava-shop":"/shop","uspesna-prijava-uskrs":"/uskrs","uspesna-prijava-back-to-school":"/back-to-school-landing","uspesna-prijava-tplink":"/tplink"};function c(e,t){return r(t,o[l(e)]??"")}e.s(["getPackageLeadFlowRoutes",()=>n,"getPackageLeadFlowRoutesBySlug",()=>i,"getThankYouReturnPath",()=>c,"resolvePackageLeadFlow",()=>s])},9797,e=>{"use strict";var t=e.i(31171);e.s(["ChevronDownIcon",()=>t.default])},33950,e=>{"use strict";var t=e.i(43476),a=e.i(75157),l=e.i(9797),r=e.i(71645);e.i(85269);var s=e.i(22831);function i({id:e,item:a,title:i="FAQ.title",supportsInterpolateSize:n,dark:o,heading:c="h3"}){let{t:d}=(0,s.useTranslation)(),u=(0,r.useRef)(null),[h,m]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{!n&&h&&document.documentElement.style.setProperty("--accordion-content-height",`${u.current?.clientHeight}px`)},[h]),(0,t.jsxs)("div",{className:`flex flex-col gap-1 rounded-2xl p-6 ${o?"bg-st-base-900 text-st-base-white":"bg-st-base-50"}`,children:[a.cat&&(0,t.jsx)("span",{className:"st-body text-st-base-500",children:a.cat}),(0,t.jsxs)("details",{...!n?{onToggle:e=>m(e.currentTarget.open)}:{},name:d(i),className:"group",children:[(0,t.jsxs)("summary",{id:e,className:"st-body-bold flex flex-1 items-start justify-between gap-4 py-0 text-left select-none disabled:pointer-events-none disabled:opacity-50",children:[(0,t.jsx)(c,{className:"st-p-bold",dangerouslySetInnerHTML:{__html:a.q}}),(0,t.jsx)(l.ChevronDownIcon,{className:"lucide lucide-chevron-down text-base-black pointer-events-none size-6 h-6 w-6 shrink-0 duration-200 group-open:rotate-180"})]}),(0,t.jsx)("div",{ref:u,"aria-labelledby":e,className:`${o?"text-st-base-white":"text-st-base-black"} st-p pt-1`,children:"string"==typeof a.a?(0,t.jsx)("div",{className:"rich-content [&>p]:my-0!",dangerouslySetInnerHTML:{__html:a.a}}):a.a})]})]})}function n({items:e,title:l,className:n,dark:o,heading:c}){let{t:d}=(0,s.useTranslation)(),[u,h]=(0,r.useState)(!0);return(0,r.useEffect)(()=>{h(CSS.supports("interpolate-size","allow-keywords"))},[]),(0,t.jsxs)("div",{className:(0,a.cn)("mx-auto flex w-full max-w-[650px] flex-col gap-6",n),children:[l&&(0,t.jsx)("h2",{className:`text-st-h6 md:text-st-h5 text-center ${o?"text-st-base-white":""} `,children:d(l)}),(0,t.jsx)("div",{className:"w-full space-y-4",children:e.map((e,a)=>{let r=`faq-${a}`;return(0,t.jsx)(i,{heading:c,dark:o,supportsInterpolateSize:u,title:l,id:r,item:e},r)})})]})}e.s(["FaqComponent",()=>n])},20536,e=>{"use strict";var t,a=e.i(71645);function l(){return(l=Object.assign.bind()).apply(null,arguments)}e.s(["default",0,function(e){return a.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"
1currentColor","aria-hidden":"true"},e),t||(t=a.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M4 12h16m0 0-6-6m6 6-6 6"})))}])},95187,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var l={callServer:function(){return s.callServer},createServerReference:function(){return n.createServerReference},findSourceMapURL:function(){return i.findSourceMapURL}};for(var r in l)Object.defineProperty(a,r,{enumerable:!0,get:l[r]});let s=e.r(32120),i=e.r(92245),n=e.r(35326)},99682,e=>{"use strict";var t=e.i(71645);function a(e){let a=t.useRef({value:e,previous:e});return t.useMemo(()=>(a.current.value!==e&&(a.current.previous=a.current.value,a.current.value=e),a.current.previous),[e])}e.s(["usePrevious",()=>a])},66816,e=>{"use strict";function t(e){return e.includes("mundijal")?["tv","net","tel","stMobile","roamingZapadniBalkan","roaming"]:["stMobile","tel","tv","net","roamingZapadniBalkan","roaming"]}function a(e){if(!e?.startsWith("border-st-"))return;let t=e.replace(/^border-/,"");return{borderColor:`var(--color-${t})`}}e.s(["getTokenBorderColorStyle",()=>a,"resolveFeatureOrder",()=>t])},6031,e=>{"use strict";var t=e.i(43476),a=e.i(71645);function l(e){return e.includes("<strong>")||e.includes("<u>")?e.split(/(<strong>.*?<\/strong>|<u>.*?<\/u>)/).map((e,a)=>{let l=e.match(/^<strong>(.*?)<\/strong>$/);if(l)return(0,t.jsx)("strong",{children:l[1]},a);let r=e.match(/^<u>(.*?)<\/u>$/);return r?(0,t.jsx)("u",{children:r[1]},a):e}):e}function r(e){return e?e.split(/\n|<br\s*\/?>|<\/br>/).map((e,l,r)=>(0,t.jsxs)(a.Fragment,{children:[e.includes("<strong>")?e.split(/(<strong>.*?<\/strong>)/).map((e,a)=>{let l=e.match(/^<strong>(.*?)<\/strong>$/);return l?(0,t.jsx)("strong",{children:l[1]},a):e}):e,l<r.length-1&&(0,t.jsx)("br",{})]},l)):""}function s({variant:e,heading:l="h1",headingText:r,subHeadingText:s="",className:i="",mobileVariant:n="h5",mobileHeadingText:o,mobileSubHeadingText:c=s}){return(0,t.jsxs)("div",{className:`flex flex-col items-center justify-center gap-6 text-center ${i}`,children:[o?(0,t.jsxs)(a.Fragment,{children:[(0,t.jsx)(l,{className:`text-st-${e} hidden leading-[1.2] lg:block`,dangerouslySetInnerHTML:{__html:r}}),(0,t.jsx)(l,{className:`text-st-${n} leading-[1.2] lg:hidden`,dangerouslySetInnerHTML:{__html:o}})]}):(0,t.jsx)(l,{className:`text-st-${n} lg:text-st-${e} leading-[1.2]`,dangerouslySetInnerHTML:{__html:r}}),c?(0,t.jsxs)(a.Fragment,{children:[(0,t.jsx)("div",{className:"hidden leading-[1.3] lg:block",dangerouslySetInnerHTML:{__html:s}}),(0,t.jsx)("div",{className:"leading-[1.3] lg:hidden",dangerouslySetInnerHTML:{__html:c}})]}):(0,t.jsx)("div",{className:"leading-[1.3]",dangerouslySetInnerHTML:{__html:s}})]})}e.s(["default",()=>s,"parse",()=>l,"safeAddNewLine",()=>r])},3798,e=>{"use strict";var t,a=e.i(71645);function l(){return(l=Object.assign.bind()).apply(null,arguments)}e.s(["default",0,function(e){return a.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"currentColor","aria-hidden":"true"},e),t||(t=a.createElement("path",{stroke:"currentColor",d:"M16.839 1.928a3.45 3.45 0 0 1 1.892.168l.003.002.08.03c.506.194 1.06.23 1.584.103h.001a.69.69 0 0 1 .851.67v2.22c0 .31-.186.583-.46.701l-.124.041-.066.016h-.001a3.45 3.45 0 0 1-1.8-.05l-.247-.084a2.95 2.95 0 0 0-1.62-.145l-.278.054-.404.08V6.75h1.25a4.75 4.75 0 0 1 4.75 4.75v5.293a2.46 2.46 0 0 1-2.457 2.457H14.75V22a.25.25 0 0 1-.427.177.25.25 0 0 1-.073-.177v-2.75h-3.5V22a.25.25 0 0 1-.427.177.25.25 0 0 1-.073-.177v-2.75H4.233a2.49 2.49 0 0 1-1.755-.727 2.48 2.48 0 0 1-.728-1.756V11.5a4.75 4.75 0 0 1 5.08-4.74l.056.004.055-.008a1 1 0 0 1 .069-.006h8.74v-4l.01-.128a.74.74 0 0 1 .469-.566l.123-.035.486-.093ZM6.5 7.25a4.25 4.25 0 0 0-4.25 4.25v5.267c0 1.095.888 1.983 1.983 1.983l6.017-.001h.5v-7.25A4.25 4.25 0 0 0 6.5 7.25Zm8.75-.001h-5.076l-1.226.002.876.856A4.73 4.73 0 0 1 11.25 11.5v7.25h8.543a1.957 1.957 0 0 0 1.957-1.957V11.5a4.25 4.25 0 0 0-4.25-4.25h-1.25V11a.25.25 0 0 1-.5 0V7.249zM5 15.749h3a.25.25 0 0 1 0 .5H5a.25.25 0 0 1 0-.5ZM18.552 2.563a2.95 2.95 0 0 0-1.415-.176l-.204.032-.277.053-.406.078v2.672l.594-.113a3.45 3.45 0 0 1 1.886.17 2.95 2.95 0 0 0 1.615.144l.405-.078v-2.64l-.564.074a3.2 3.2 0 0 1-1.55-.183l-.08-.03z"})))}])},42260,e=>{"use strict";var t,a=e.i(71645);function l(){return(l=Object.assign.bind()).apply(null,arguments)}e.s(["default",0,function(e){return a.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"
1currentColor"},e),t||(t=a.createElement("path",{fillRule:"evenodd",d:"M12 4.75a7.25 7.25 0 0 0-5.314 12.182c1.942-.448 4.336-1.359 6.792-2.667 2.294-1.223 4.23-2.572 5.605-3.822A7.25 7.25 0 0 0 12 4.75m7.245 7.531c-1.382 1.126-3.112 2.269-5.062 3.307-2.12 1.13-4.224 1.99-6.083 2.525a7.25 7.25 0 0 0 11.144-5.832M6.21 18.561a8.75 8.75 0 0 0 14.481-7.58l.09-.09c.754-.77 1.342-1.54 1.672-2.268.324-.716.458-1.544.012-2.258-.42-.67-1.185-.96-1.956-1.064s-1.702-.044-2.72.138a8.75 8.75 0 0 0-14.481 7.58c-.758.761-1.354 1.52-1.703 2.236-.366.75-.54 1.627-.07 2.38.433.691 1.232.979 2.032 1.074.754.09 1.657.029 2.643-.148m-1.235-1.343A8.7 8.7 0 0 1 3.708 14.8c-.344.41-.595.785-.756 1.114-.277.567-.208.825-.145.925.072.116.305.305.937.38q.516.063 1.231-.001m14.05-10.436a6 6 0 0 1 1.285.005c.594.08.813.262.883.374.06.095.126.33-.107.844-.156.344-.42.748-.794 1.195a8.7 8.7 0 0 0-1.267-2.418",clipRule:"evenodd"})))}])},92428,e=>{"use strict";let t=/<[^>]*>/g,a=/<\/?br\s*\/?>/gi,l=/[^\S\r\n]+/g,r=/[^\S\r\n]*\r?\n[^\S\r\n]*/g;function s(e){return e?e.replace(a,"\n").replace(t," ").replace(/&(?:amp;)?nbsp;|&#160;|\u00a0/gi," ").replace(l," ").replace(r,"\n").trim():""}e.s(["htmlToTextWithLineBreaks",()=>s])},32170,e=>{"use strict";var t,a=e.i(71645);function l(){return(l=Object.assign.bind()).apply(null,arguments)}e.s(["default",0,function(e){return a.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"currentColor","aria-hidden":"true"},e),t||(t=a.createElement("path",{fillRule:"evenodd",d:"M11.944 1.25h.112c1.838 0 3.294 0 4.433.153 1.172.158 2.121.49 2.87 1.238.748.749 1.08 1.698 1.238 2.87.153 1.14.153 2.595.153 4.433v4.112c0 1.838 0 3.294-.153 4.433-.158 1.172-.49 2.121-1.238 2.87-.749.748-1.698 1.08-2.87 1.238-1.14.153-2.595.153-4.433.153h-.112c-1.838 0-3.294 0-4.433-.153-1.172-.158-2.121-.49-2.87-1.238-.748-.749-1.08-1.698-1.238-2.87-.153-1.14-.153-2.595-.153-4.433V9.944c0-1.838 0-3.294.153-4.433.158-1.172.49-2.121 1.238-2.87.749-.748 1.698-1.08 2.87-1.238 1.14-.153 2.595-.153 4.433-.153m-5.13 1.823c-.489.146-.834.351-1.112.629-.423.423-.677 1.003-.812 2.009-.138 1.028-.14 2.382-.14 4.289v4c0 1.907.002 3.262.14 4.29.135 1.005.389 1.585.812 2.008s1.003.677 2.009.812c1.028.138 2.382.14 4.289.14s3.262-.002 4.29-.14c1.005-.135 1.585-.389 2.008-.812s.677-1.003.812-2.009c.138-1.027.14-2.382.14-4.289v-4c0-1.907-.002-3.261-.14-4.29-.135-1.005-.389-1.585-.812-2.008-.278-.278-.623-.483-1.112-.629-.662.994-1.124 1.685-1.812 2.112q-.207.128-.427.229c-.742.337-1.58.337-2.787.336h-.32c-1.207 0-2.045.001-2.787-.336a4 4 0 0 1-.427-.229c-.688-.427-1.15-1.118-1.812-2.112m1.637-.257c.444.644.677.915.967 1.095q.123.077.256.137c.41.186.894.202 2.326.202s1.917-.016 2.326-.202q.132-.06.256-.137c.29-.18.523-.451.967-1.095-.92-.065-2.068-.066-3.549-.066s-2.628.001-3.549.066M8.25 19a.75.75 0 0 1 .75-.75h6a.75.75 0 1 1 0 1.5H9a.75.75 0 0 1-.75-.75",clipRule:"evenodd"})))}])},68682,e=>{"use strict";var t=e.i(43476),a=e.i(30967),l=e.i(32170),r=e.i(19455),s=e.i(57688),i=e.i(22016),n=e.i(18566);let o={sr:"Korisnik koristi ST Mobile na telefonu",hu:"Felhasználó ST Mobile-t használ telefonon"};function c({title:e,description:c,button:d,imagePosition:u="right",imageSrc:h="/assets/promo/stmobile-1.webp",imageAlt:m,locale:p,buttonVariant:g="primary",preloadImage:f}){let x="left"===u,v=(0,n.useParams)(),b=p||v.locale||"sr",j=m||o["hu"===b?"hu":"sr"];return(0,t.jsxs)("div",{className:"grid w-full gap-[10px] max-lg:px-6 lg:grid-cols-2",children:[(0,t.jsx)("div",{className:`relative w-full aspect-[347/200] lg:aspect-[537/375] ${x?"lg:order-1":"lg:order-2"}`,children:(0,t.jsx)(s.default,{sizes:"(min-width: 1024px) 825px, 100vw",fill:!0,src:h,alt:j,className:"h-full w-full rounded-3xl object-cover",preload:f})}),(0,t.jsx)("div",{className:`flex flex-col justify-center gap-8 pt-[14px] lg:p-6 ${x?"lg:order-2":"lg:order-1"}`,children:(0,t.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,t.jsx)("h3",{className:"text-st-h6 lg:text-st-h5 leading-tight font-bold",children:e.replace(/<[^>]*>/g," ").replace(/\s+/g," ").trim()}),(0,t.jsx)("p",{className:"st-p",children:c}),d?(0,t.jsx)("div",{className:"w-full lg:w-auto",children:(0,t.jsx)(r.Button,{asChild:!0,variant:g,className:"w-full lg:w-auto",children:(0,t.jsxs)(i.default,{href:`/${b}/cable/transfer`,children:[d,(0,t.jsx)("span",{className:"lg:hidden",children:(0,t.jsx)(l.default,{"aria-hidden":"true"})}),(0,t.jsx)("span",{className:"hidden lg:inline-flex",children:(0,t.jsx)(a.default,{"aria-hidden":"true"})})]})})}):null]})})]})}e.s(["default",()=>c])},19705,e=>{"use strict";var t,a,l=e.i(43476),r=e.i(71645);function s(){return(s=Object.assign.bind()).apply(null,arguments)}let i=function(e){return r.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",width:32,height:32,fill:"none"},e),t||(t=r.createElement("path",{fill:"#0A0A0A",d:"M13.373 11.96a1 1 0 0 0-1.413 1.413L14.586 16l-2.626 2.627a.997.997 0 0 0-.026 1.438 1 1 0 0 0 1.44-.025L16 17.413l2.627 2.627a1 1 0 0 0 1.413-1.413L17.413 16l2.627-2.627a1 1 0 1 0-1.413-1.413L16 14.587z"})),a||(a=r.createElement("path",{fill:"#0A0A0A",fillRule:"evenodd",d:"M16 1.667C8.084 1.667 1.667 8.084 1.667 16S8.083 30.333 16 30.333 30.333 23.916 30.333 16 23.916 1.667 16 1.667M3.667 16a12.333 12.333 0 1 1 24.666 0 12.333 12.333 0 0 1-24.666 0",clipRule:"evenodd"})))};var n=e.i(75157),o=e.i(19455);function c(e){let t=(0,r.useContext)(d);if(!t)throw Error(`${e} must be used within a DialogProvider`);return t}let d=(0,r.createContext)(null);function u({children:e,heading:t="h4"}){let{id:a,closeModal:r}=c("DialogTitle");return(0,l.jsxs)("header",{className:"flex w-full items-center",children:[(0,l.jsx)(t,{id:a,className:"st-h6 flex items-center gap-2",children:e}),(0,l.jsx)("button",{onClick:()=>
1r(),className:"ml-auto cursor-pointer","aria-label":"Close Modal Button",children:(0,l.jsx)(i,{"aria-hidden":"true"})})]})}function h({children:e,variant:t="link",size:a,className:r}){let{ref:s}=c("DialogTrigger");return(0,l.jsx)(o.Button,{variant:t,onClick:()=>void(s.current?.showModal(),window.dispatchEvent(new CustomEvent("app:modal:open"))),className:r??"text-st-p justify-start p-0 leading-[inherit] underline",size:a,children:e})}function m({children:e,className:t}){let{id:a,closeModal:s,ref:i}=c("DialogContainer"),o=(0,r.useRef)(null);return(0,l.jsx)("dialog",{"aria-labelledby":a,onClose:()=>window.dispatchEvent(new CustomEvent("app:modal:close")),onMouseDown:e=>{o.current=e.target},onClick:e=>{e.currentTarget===i.current&&o.current===i.current&&s()},className:(0,n.cn)("m-auto w-[calc(100%-2rem)] max-w-2xl rounded-3xl outline-none backdrop:bg-black/50 backdrop:backdrop-blur-sm sm:max-h-[calc(100dvh-3rem)]",t),ref:i,children:(0,l.jsx)("div",{onClick:e=>e.stopPropagation(),className:"border-border bg-st-base-white flex w-full flex-col gap-4 border p-6 !pr-4 md:p-8",children:e})})}function p({children:e}){return c("DialogContent"),(0,l.jsx)("div",{className:"st-nice-scrollbar w-[calc(100%-8px)] flex-1 overflow-hidden overscroll-contain max-2xl:pr-1.5",children:e})}function g({children:e}){let t=(0,r.useId)(),a=(0,r.useRef)(null);return(0,r.useEffect)(()=>()=>{window.dispatchEvent(new CustomEvent("app:modal:close"))},[]),(0,l.jsx)(d.Provider,{value:{ref:a,id:t,closeModal:()=>{a.current?.close()}},children:e})}e.s(["DialogContainer",()=>m,"DialogContent",()=>p,"DialogProvider",()=>g,"DialogTitle",()=>u,"DialogTrigger",()=>h],19705)},46213,e=>{"use strict";var t=e.i(43476),a=e.i(75157);function l({className:e,...l}){return(0,t.jsx)("div",{className:(0,a.cn)("relative w-full",e),...l})}e.s(["AspectRatio",()=>l])},72520,e=>{"use strict";let t=(0,e.i(75254).default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);e.s(["ArrowRight",()=>t],72520)},87294,e=>{"use strict";var t=e.i(43476),a=e.i(46213),l=e.i(19455),r=e.i(72520),s=e.i(57688),i=e.i(22016);function n({title:e,description:n,buttonLabel:o,href:c="#",imageSrc:d="/assets/promo/ROAMING.webp",imageAlt:u="Roaming promo"}){return(0,t.jsx)("div",{className:"relative overflow-hidden rounded-3xl",children:(0,t.jsxs)(a.AspectRatio,{className:"aspect-[1090/504] min-h-[460px] w-full lg:aspect-auto lg:h-[504px] lg:min-h-[504px]",children:[(0,t.jsx)(s.default,{src:d,alt:u,fill:!0,sizes:"100vw",className:"object-cover",priority:!1}),(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0 bg-[linear-gradient(136.33deg,#B10303_65.72%,#FF2323_98.1%)] opacity-80 bg-blend-overlay","aria-hidden":"true"}),(0,t.jsx)("div",{className:"relative z-10 flex h-full w-full flex-col gap-4 p-6 text-white",children:(0,t.jsxs)("div",{className:"mt-auto flex flex-col gap-4",children:[(0,t.jsx)("h2",{className:"text-st-h6 lg:text-st-h5 leading-tight",children:e}),(0,t.jsx)("p",{className:"text-st-p",children:n}),o?(0,t.jsx)("div",{className:"w-full sm:w-auto",children:(0,t.jsx)(l.Button,{asChild:!0,variant:"primarywhite",className:"w-full sm:w-auto",children:(0,t.jsxs)(i.default,{href:c,children:[o,(0,t.jsx)(r.ArrowRight,{className:"h-6 w-6"})]})})}):null]})})]})})}e.s(["MobileRoamingPromoCard",()=>n])},64992,e=>{"use strict";var t,a,l,r=e.i(71645);function s(){return(s=Object.assign.bind()).apply(null,arguments)}e.s(["default",0,function(e){return r.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",id:"aginet_logo_svg__Layer_2","data-name":"Layer 2",viewBox:"0 0 51.49 51.49"},e),t||(t=r.createElement("defs",null,r.createElement("style",null,".aginet_logo_svg__cls-1{fill:#fff}"))),r.createElement("g",{id:"aginet_logo_svg__Layer_1-2","data-name":"Layer 1"},r.createElement("rect",{width:51.49,height:51.49,rx:9.99,ry:9.99,style:{fill:"#0adff1"}}),a||(a=r.createElement("path",{d:"M7.9 37.06 18.47 15.3h8.16l2.05 9.64H21.9l-5.91 12.12z",className:"aginet_logo_svg__cls-1"})),l||(l=r.createElement("path",{d:"M43.59 15.3 33.02 37.06h-8.16l-2.05-9.64h6.78l5.92-12.12z",className:"aginet_logo_svg__cls-1"}))))}])},57127,72297,e=>{"use strict";var t,a,l=e.i(71645);function r(){return(r=Object.assign.bind()).apply(null,arguments)}function s(){return(s=Object.assign.bind()).apply(null,arguments)}e.s(["default",0,function(e){return l.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"
1currentColor","aria-hidden":"true"},e),t||(t=l.createElement("path",{d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2m0 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16m.5 9a1 1 0 0 1 .117 1.993L12.5 15H9.106l-.833 1.489a1 1 0 0 1-1.797-.872l.052-.106.286-.51H6.3a1 1 0 0 1-.117-1.994L6.3 13zm1.893-2.988L16.066 13H17.7a1 1 0 0 1 0 2h-.514l.287.512a1 1 0 0 1-1.745.977l-3.08-5.5a1 1 0 0 1 1.745-.977m-2.52-4.5.127.227.127-.227a1 1 0 0 1 1.746.977l-3.08 5.5a1 1 0 0 1-1.745-.977l1.806-3.226-.726-1.297a1 1 0 1 1 1.745-.977"})))}],57127),e.s(["default",0,function(e){return l.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"currentColor","aria-hidden":"true"},e),a||(a=l.createElement("path",{d:"M2.25 2.789V21.21a.203.203 0 0 0 .345.143L12.188 12 2.595 2.645a.203.203 0 0 0-.345.144m13.96 5.367L4.181 1.53l-.007-.004c-.208-.113-.404.168-.235.33l9.428 9.016zM3.94 22.143c-.17.163.026.444.235.331l.007-.004 12.026-6.626-2.84-2.717zm17.124-11.315-3.359-1.85L14.548 12l3.158 3.02 3.359-1.848c.913-.505.913-1.839 0-2.344"})))}],72297)},22136,98429,e=>{"use strict";var t,a,l=e.i(43476),r=e.i(64992);e.i(41766);var s=e.i(57127),i=e.i(30967),n=e.i(72297);e.i(3798);var o=e.i(71645);function c(){return(c=Object.assign.bind()).apply(null,arguments)}e.s(["default",0,function(e){return o.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",width:68,height:48,fill:"none","aria-hidden":"true"},e),t||(t=o.createElement("g",{fill:"#F8F8F8",clipPath:"url(#max-2_svg__a)"},o.createElement("path",{d:"M53.757.005A13.75 13.75 0 0 0 41.4 7.712l-.019-.182c-.363-3.157-2.97-7.08-7.59-7.08h-12.14v26.858h11.874c4.287 0 7.605-3.774 7.847-7.003q.023-.296.024-.575a13.75 13.75 0 0 0 12.36 7.715c7.59 0 13.743-6.143 13.743-13.72S61.347.005 53.757.005m-21.71 21.122h-3.462V16.52h3.462c1.576 0 2.261 1.293 2.261 2.304 0 1.214-.91 2.303-2.26 2.303m0-10.118h-3.462V6.402h3.462c1.352 0 2.261 1.09 2.261 2.304 0 1.01-.685 2.303-2.26 2.303m5.34 2.698c.67-.206 1.832-.723 2.74-1.745a13.9 13.9 0 0 0 .042 3.835c-.9-1.214-2.084-1.87-2.782-2.09m16.384 6.814c-1.36 0-2.69-.4-3.82-1.151a6.84 6.84 0 0 1-2.532-3.065 6.8 6.8 0 0 1-.392-3.945 6.8 6.8 0 0 1 1.882-3.496 6.9 6.9 0 0 1 3.52-1.87 6.9 6.9 0 0 1 3.973.39 6.87 6.87 0 0 1 3.086 2.514 6.796 6.796 0 0 1-.855 8.623 6.9 6.9 0 0 1-4.862 2"}),o.createElement("path",{d:"M57.595 17.49a5.345 5.345 0 0 0 0-7.596 5.435 5.435 0 0 0-7.648 0 5.345 5.345 0 0 0 0 7.596 5.435 5.435 0 0 0 7.648 0M12.688.45v10.04H8.016V.45H.5v26.858h7.516v-10.39h4.672v10.39h7.516V.449zM46.074 30.963s2.65 4.17 6.907 8.173c-1.39 1.317-4.606 4.55-7.286 8.612h4.892c1.94-3.01 3.807-4.998 4.875-6.02 1.067 1.022 2.934 3.01 4.875 6.02h4.891c-2.68-4.063-5.896-7.295-7.285-8.612 4.256-4.002 6.907-8.174 6.907-8.174h-4.891s-1.171 2.142-4.497 5.7c-3.326-3.558-4.497-5.7-4.497-5.7zM14.915 47.748V36.52c6.622-5.706 6.404.245 6.404.245v10.984h3.919V36.054s0-5.519-4.542-5.519c-1.542 0-2.454.348-3.628.978 0 0-1.317.704-2.703 2.038-.254-1.082-1.171-3.016-4.49-3.016-2.152 0-4.273 1.603-5.364 2.578v-2.15H.59v16.785h3.92V36.59c6.705-5.826 6.485.174 6.485.174v10.984zM40.664 30.963v2.032c-1.267-1.553-3.147-2.514-5.648-2.514-4.618 0-8.362 3.92-8.362 8.757s3.744 8.757 8.362 8.757c2.5 0 4.381-.987 5.648-2.54v2.293h3.922V30.963zM35.54 44.255a5.15 5.15 0 0 1-2.845-.857 5.1 5.1 0 0 1-1.887-2.283 5.05 5.05 0 0 1-.291-2.938 5.08 5.08 0 0 1 1.401-2.604 5.153 5.153 0 0 1 5.58-1.102 5.1 5.1 0 0 1 2.3 1.873 5.06 5.06 0 0 1-.637 6.422 5.14 5.14 0 0 1-3.621 1.49"}))),a||(a=o.createElement("defs",null,o.createElement("clipPath",{id:"max-2_svg__a"},o.createElement("path",{fill:"#fff",d:"M.5 0h67v48H.5z"})))))}],98429);var d=e.i(32170),u=e.i(31512),h=e.i(85149),m=e.i(47167);e.i(45141);let p=new Set(["sr","hu"]),g=[0,200,600],f=new Map;class x extends Error{}async function v(e,t){let a;for(let[s,i]of g.entries()){i&&await function(e){return new Promise(t=>setTimeout(t,e))}(i);try{var l,r;let i=await fetch(e,{cache:"force-cache",next:{revalidate:300,tags:[`i18n:${t}`]},signal:function(){if("undefined"!=typeof AbortSignal&&"timeout"in AbortSignal)return AbortSignal.timeout(4e3)}()});if(!i.ok){let e=(l=i.status,408===l||429===l||l>=500)?Error(`Translation API returned ${i.status}`):new x(`Translation API returned ${i.status}`);if(e instanceof x||s===g.length-1)throw e;a=e;continue}let n=await i.json();if(!((r=n?.data)&&"object"==typeof r&&!Array.isArray(r)))throw Error("Translation API returned an invali
1d response shape");return n.data}catch(e){if(e instanceof x)throw e;if(a=e,s===g.length-1)break}}throw a instanceof Error?a:Error("Translation API request failed")}async function b(e){let t=f.get(e);return t||("sr"!==e?j("sr"):{})}let j=(0,o.cache)(async e=>{let t,a=(t=e.split("-")[0]?.toLowerCase()||"sr",p.has(t)?t:"sr"),l=m.default.env.CMS_PUBLIC_API_URL;if(!l)return console.error("i18n fetch failed: CMS_PUBLIC_API_URL is not defined"),b(a);try{let e=new URL("translations",l.endsWith("/")?l:`${l}/`);e.searchParams.set("locale",a);let t=await v(e,a);return f.set(a,t),t}catch(e){return console.error("i18n fetch failed:",e),b(a)}});var w=e.i(75157),N=e.i(72520),y=e.i(57688),k=e.i(22016),M=e.i(68682),P=e.i(19455);function C({title:e,description:t,orientation:a,buttonGrid:i,playstoreText:o="Download from Playstore",appstoreText:c="Download from Appstore",iconFirst:d,buttonVariant:u="secondary",heading:h="h3"}){return(0,l.jsxs)("div",{className:"grid w-full flex-col gap-6 px-6 lg:grid-cols-2 lg:gap-4 lg:px-0",children:[(0,l.jsx)("div",{className:`relative aspect-[295/200] w-full lg:aspect-[537/406] ${"right"===a?"lg:order-2":"lg:order-1"}`,children:(0,l.jsx)(y.default,{src:"/assets/promo/aginet-app.webp",alt:"Aginet aplikacija za korisnike",fill:!0,sizes:"(min-width: 1024px) 50vw, 100vw",className:"object-cover"})}),(0,l.jsxs)("div",{className:`flex flex-col justify-center gap-8 p-0 lg:p-6 ${"right"===a?"lg:order-1":"lg:order-2"}`,children:[(0,l.jsxs)("div",{className:"flex flex-col gap-4 md:gap-6",children:[(0,l.jsx)(r.default,{width:32,height:32,"aria-hidden":"true"}),(0,l.jsx)(h,{className:"text-st-h6 lg:text-st-h5",children:e}),(0,l.jsx)("p",{className:"st-p",children:t})]}),(0,l.jsxs)("div",{className:`flex flex-col gap-4 ${"row"===i?"lg:flex-row":"lg:flex-col"} lg:gap-6`,children:[(0,l.jsx)(k.default,{href:"https://apps.apple.com/us/app/tp-link-aginet/id1601562987",target:"_blank",rel:"noopener noreferrer",className:"w-full lg:w-fit",children:(0,l.jsx)(P.Button,{variant:u,className:`text-st-p ${"secondary"===u?"text-st-base-900":"text-st-base-white"} w-full lg:w-fit`,children:d?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(s.default,{"aria-hidden":"true"}),(0,l.jsx)("span",{children:c})]}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{children:c}),(0,l.jsx)(s.default,{"aria-hidden":"true"})]})})}),(0,l.jsx)(k.default,{href:"https://play.google.com/store/apps/details?id=com.tplink.aginet",target:"_blank",rel:"noopener noreferrer",className:"w-full lg:w-fit",children:(0,l.jsx)(P.Button,{variant:u,className:`text-st-p ${"secondary"===u?"text-st-base-900":"text-st-base-white"} w-full lg:w-fit`,children:d?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(n.default,{"aria-hidden":"true"}),(0,l.jsx)("span",{children:o})]}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{children:o}),(0,l.jsx)(n.default,{"aria-hidden":"true"})]})})})]})]})]})}function T({title:e,description:t}){return(0,l.jsxs)("div",{className:"grid w-full gap-6 rounded-3xl bg-transparent max-lg:px-6 lg:min-h-[375px] lg:grid-cols-2 lg:gap-4",children:[(0,l.jsx)("div",{className:"relative aspect-[4/3] h-[200px] w-full lg:hidden",children:(0,l.jsx)(y.default,{src:"/assets/promo/television.webp",alt:"ST Cable digitalna televizija",fill:!0,sizes:"100vw",className:"rounded-3xl object-cover"})}),(0,l.jsx)("div",{className:"flex flex-col justify-center gap-8 p-0 lg:p-6",children:(0,l.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,l.jsx)("h3",{className:"st-h5 !text-[21.33px] leading-tight font-bold md:!text-[28.43px]",children:e}),(0,l.jsx)("p",{className:"st-p",children:t})]})}),(0,l.jsx)("div",{className:"relative min-h-[200px] max-lg:hidden",children:(0,l.jsx)(y.default,{src:"/assets/promo/television.webp",alt:"ST Cable digitalna televizija",fill:!0,sizes:"(min-width: 768px) 50vw, 0px",className:"rounded-3xl object-cover"})})]})}function S({title:e,description:t,footerText:a,orientation:r,buttonGrid:s,badgeText:n,playstoreText:o,appstoreText:c,buttonText:m,landing:p=!1,landingButtonVariant:g="primary",locale:f,iconFirst:x,buttonVariant:v="primary",modals:b,modalId:j,className:M,imageClassName:C,mobileImageClassName:T,heading:S="h3",preloadImage:z}){return(0,l.jsxs)("div",{className:(0,w.cn)("grid w-full gap-6 rounded-3xl bg-transparent px-6 lg:grid-cols-2 lg:gap-4 lg:px-0",M),children:[(0,l.jsx)("div",{className:(0,w.cn)(`relative aspect-[347/200] lg:aspect-[537/375] ${"right"===r?"lg:order-2":"lg:order-1"}`,T,C),children:(0,l.jsx)(y.default,{src:"/assets/sttv/akcija.webp",alt:"ST TV aplikacija i uređaji",fill:!0,sizes:"(min-width: 1024px) 50vw, 100vw",className:"object-contain",priority:z})}),(0,l.jsxs)("div",{className:`flex w-full flex-col items-center justify-center gap-4 p-0 md:items-start md:gap-8 lg:p-6 ${"right"===r?"lg:order-1":"lg:order-2"}`,children:[n&&(0,l.jsxs)("span",{className:"bg-st-secondary-yellow-500 flex w-fit items-center justify-center gap-2 rounded-full p-2",children:[(0,l.jsx)(u.default,{width:16,height:16}),(0,l.jsx)("span",{className:"text-st-body text-st-indicator-warning-950 mt-0.5 leading-tight",children:n})]}),(0,l.jsxs)("div",{className:"flex flex-col gap-4 md:gap-6",children:[(0,l.jsx)(S,{className:"st-h5 !text-[21.33px] leading-[1.3] font-bold md:!text-[28.43px]",children:e}),(0,l.jsx)("p",{className:"text-st-p leading-[1.3]",children:t})]}),(0,l.jsx)("div",{className:`flex w-full flex-col gap-4 lg:w-fit ${"row"===s?"lg:flex-row lg:gap-6":"lg:flex-col lg:gap-4"}`,children:p?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(P.Button,{asChild:!0,variant:g,className:"w-full border-0 lg:hidden",children:(0,l.jsxs)(k.default,{href:"tel:0244155155","aria-label":"Pozovite Sat-Trakt na broj 024 415 5155",children:[(0,l.jsx)("span",{children:m}),(0,l.jsx)(d.default,{"aria-hidden":"true"})]})}),(0,l.jsx)(P.Button,{asChild:!0,variant:g,className:"w-full border-0 max-lg:hidden lg:w-fit",children:(0,l.jsxs)(k.default,{href:`/${f}/${h.localizedRoutes.contact[f]}`,children:[(0,l.jsx)("span",{children:m}),(0,l.jsx)(i.default,{"aria-hidden":"true"})]})})]}):(0,l.jsx)(P.Button,{asChild:!0,variant:v,className:`text-st-p ${"secondary"===v?"text-st-base-900":"text-st-base-white"} w-full lg:w-fit`,children:(0,l.jsxs)(k.default,{href:`/${f}/sttv`,target:"_blank",rel:"noopener noreferrer",children:[m,(0,l.jsx)(N.ArrowRight,{})]})})})]})]})}function z({title:e,description:t}){return(0,l.jsxs)("div",{className:"flex min-h-[375px] w-full flex-col gap-6 rounded-3xl bg-transparent px-6 lg:flex-row lg:gap-4 lg:p-0",children:[(0,l.jsx)("div",{className:"relative aspect-[4/3] h-[200px] w-full lg:hidden",children:(0,l.jsx)(y.default,{src:"/assets/promo/internet.webp",alt:"ST Cable optički internet u domu",fill:!0,sizes:"100vw",className:"rounded-3xl object-cover"})}),(0,l.jsx)("div",{className:"flex flex-col justify-center gap-8 p-0 lg:w-1/2 lg:p-6",children:(0,l.jsxs)("div",{className:"flex flex-col gap-4 md:gap-6",children:[(0,l.jsx)("h3",{className:"st-h5 !text-[21.33px] leading-tight font-bold md:!text-[28.43px]",children:e}),(0,l.jsx)("p",{className:"st-p",children:t})]})}),(0,l.jsx)("div",{className:"relative hidden min-h-[200px] lg:flex lg:w-1/2",children:(0,l.jsx)(y.default,{src:"/assets/promo/internet.webp",alt:"ST Cable optički internet u domu",fill:!0,sizes:"(min-width: 768px) 50vw, 0px",className:"rounded-3xl object-cover"})})]})}function _({title:e,description:t}){return(0,l.jsxs)("div",{className:"flex min-h-[375px] w-full flex-col gap-6 rounded-3xl bg-transparent px-6 lg:flex-row lg:gap-4 lg:p-0",children:[(0,l.jsx)("div",{className:"relative aspect-[4/3] h-[200px] w-full lg:hidden",children:(0,l.jsx)(y.default,{src:"/assets/promo/landline.webp",alt:"ST Cable fiksna telefonija",fill:!0,sizes:"100vw",className:"rounded-3xl object-cover"})}),(0,l.jsx)("div",{className:"flex flex-col justify-center gap-8 p-0 lg:w-1/2 lg:p-6",children:(0,l.jsxs)("div",{className:"flex flex-col gap-4 lg:gap-6",children:[(0,l.jsx)("h3",{className:"text-st-h6 lg:text-st-h5 leading-tight font-bold",children:e}),(0,l.jsx)("p",{className:"text-st-p",children:t})]})}),(0,l.jsx)("div",{className:"relative hidden min-h-[200px] md:flex lg:w-1/2",children:(0,l.jsx)(y.default,{src:"/assets/promo/landline.webp",alt:"ST Cable fiksna telefonija",fill:!0,sizes:"(min-width: 768px) 50vw, 0px",className:"rounded-3xl object-cover"})})]})}function A({title:e,description:t,button:a,imageSrc:r,imageAlt:s,locale:i,buttonVariant:n,preloadImage:o}){return(0,l.jsx)(M.default,{title:e,description:t,button:a,imageSrc:r,imageAlt:s,locale:i,buttonVariant:n,preloadImage:o})}function E({title:e,description:t,button:a,imageSrc:r,imageAlt:s,locale:i,preloadImage:n}){return(0,l.jsx)(M.default,{title:e,description:t,button:a,imagePosition:"left",imageSrc:r,imageAlt:s,locale:i,preloadImage:n})}function L({title:e,description:t}){return(0,l.jsxs)("div",{className:"grid md:grid-cols-2 min-h-[375px] w-full gap-6 rounded-3xl bg-transparent px-6 md:gap-4 md:p-0 md:items-center",children:[(0,l.jsx)("div",{className:"relative aspect-[615/375] md:order-2",children:(0,l.jsx)(y.default,{src:"/assets/promo/alarmtab.webp",alt:"ST Alarm sistem za zaštitu doma",fill:!0,sizes:"(min-width: 768px) 615px, 100vw",className:"rounded-3xl object-cover"})}),(0,l.jsx)("div",{className:"flex flex-col justify-center gap-8 p-0 md:p-6 md:order-1",children:(0,l.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,l.jsx)("h3",{className:"text-st-h6 md:text-st-h5 leading-tight font-bold",children:e}),(0,l.jsx)("p",{className:"st-p",children:t})]})})]})}e.s(["AginetCard",()=>C,"AlarmTabPromoCard",()=>L,"InternetPromoCard",()=>z,"LandlinePromoCard",()=>_,"STTVPromoCard",()=>S,"StMobilePromoCard",()=>A,"StMobilePromoCardLeftImage",()=>E,"TelevisionPromoCard",()=>T],22136)},20045,e=>{"use strict";var t=e.i(43476),a=e.i(87294),l=e.i(85149),r=e.i(57688),s=e.i(71645);e.i(85269);var i=e.i(22831),n=e.i(19705),o=e.i(22136);let c=e=>e?.split("-")[0]==="hu"?"hu":"sr",d={sr:"Tarifni i roming dodaci ST Cable",hu:"ST Cable tarifa- és roaming kiegészítők"},u=[{image:"/assets/promo/stmobile-2.webp",title:"Mobile.cards.roaming.title",description:"Mobile.cards.roaming.description",footerText:"",modal:!1,alt:"Mobile.cards.roaming.alt",defaultAlt:{sr:"Muškarac sa pasošem koristi ST Mobile roming",hu:"Férfi útlevéllel ST Mobile roamingot használ"}},{image:"/assets/promo/stmobile-3-cropped.webp",mobileImage:"/assets/promo/stmobile-3.webp",title:"Mobile.cards.calls.title",description:"Mobile.cards.calls.description",footerText:"",modal:!1,alt:"Mobile.cards.calls.alt",defaultAlt:{sr:"Žena koristi neograničene pozive u ST Mobile mreži",hu:"Nő korlátlan hívásokat használ az ST Mobile hálózatban"}},{image:"/assets/promo/stmobile-4-cropped.webp",mobileImage:"/assets/promo/stmobile-4.webp",title:"Mobile.cards.messages.title",description:"Mobile.cards.messages.description",footerText:"",modal:!1,alt:"Mobile.cards.messages.alt",defaultAlt:{sr:"Devojka kuca poruku uz ST Mobile paket",hu:"Lány üzenetet ír ST Mobile csomaggal"}}];function h(e){let{image:a,bgColor:l,title:s,description:n,mobileImage:o,alt:d,defaultAlt:u}=e,{t:h,i18n:m}=(0,i.useTranslation)(),p=c(m?.language),g=h(d,{defaultValue:u?.[p]||u?.sr||""});return(0,t.jsxs)("div",{className:`text-st-base-white relative z-10 row-span-3 grid min-h-[550px] overflow-hidden rounded-3xl max-lg:content-end lg:grid-rows-subgrid ${l||""}`,children:[(0,t.jsx)(r.default,{fill:!0,sizes:"405px",quality:100,src:a,alt:g,className:"object-cover max-lg:hidden"}),(0,t.jsx)(r.default,{fill:!0,sizes:"100vw",quality:100,src:o??a,alt:g,className:"object-cover lg:hidden"}),(0,t.jsxs)("div",{className:"z-10 grid gap-4 p-6 lg:row-span-3 lg:grid-rows-subgrid",style:{background:l?void 0:"linear-gradient(180deg, rgba(0, 0, 0, 0) 48.08%, rgba(0, 0, 0, 0.8) 65.87%)"},children:[(0,t.jsx)("h3",{className:"text-st-h6 lg:row-start-2",children:h(s)}),(0,t.jsx)("p",{className:"text-st-p lg:row-start-3",children:h(n)})]})]})}function m(){return(0,t.jsx)("div",{className:"grid gap-4 lg:min-h-[550px] lg:grid-cols-3 lg:grid-rows-[1fr_auto_auto]",children:u.map((e,a)=>(0,t.jsx)(h,{...e,index:a},e.title))})}let p=[{image:"/assets/promo/ROAMING.png",bgColor:"text-st-base-white",title:"Mobile.cards.roamingAddon.title",description:"Mobile.cards.roamingAddon.description",footerText:"Mobile.cards.roamingAddon.footerText",modal:!0,modalId:5},{image:"/assets/promo/internet-addons.png",bgColor:"text-st-base-white",title:"Mobile.cards.internetAddon.title",description:"Mobile.cards.internetAddon.description",footerText:"Mobile.cards.internetAddon.footerText",modal:!0,modalId:6}];function g(e){let a,l,s,o,c,{image:d,productImage:u,bgColor:h,title:m,description:p,footerText:g,modal:f,descriptionRef:x,minDescriptionHeight:v,modals:b,modalId:j}=e,{t:w,i18n:N}=(0,i.useTranslation)();return(0,t.jsx)("div",{className:`relative flex flex-1 flex-col justify-end overflow-hidden rounded-3xl ${h}`,style:{backgroundImage:`url(${d})`,backgroundSize:"cover",backgroundPosition:"center"},children:(0,t.jsxs)("div",{className:"flex h-full flex-col gap-4 roun
1ded-3xl p-6",style:{background:d||""!==d?"linear-gradient(180deg, rgba(0, 0, 0, 0) 48.08%, rgba(0, 0, 0, 0.8) 65.87%)":void 0},children:[(0,t.jsx)("div",{className:"relative flex h-full max-h-[300px] min-h-[300px] w-full flex-1",children:u?(0,t.jsx)(r.default,{src:u,alt:w(m),className:"object-contain",fill:!0}):null}),(0,t.jsxs)("div",{className:"flex flex-1 flex-col gap-4",children:[(0,t.jsx)("h6",{className:"text-st-h6",children:w(m)}),(0,t.jsx)("p",{className:"text-st-p",ref:x,style:{minHeight:v?`${v}px`:void 0},children:w(p)}),g&&f?(0,t.jsxs)(n.DialogProvider,{children:[(0,t.jsx)(n.DialogTrigger,{children:w(g)}),(0,t.jsxs)(n.DialogContainer,{children:[(0,t.jsx)(n.DialogTitle,{children:(a=b?.find(e=>e.id===j),l=(N?.language||"sr").split("-")[0],a?.title?.[l]||a?.title?.sr||w(m))}),(0,t.jsx)(n.DialogContent,{children:(0,t.jsx)("div",{className:"text-st-p mt-4","data-lenis-prevent":!0,children:(0,t.jsx)("div",{className:"rich-content h-[50vh] overflow-y-auto pr-4",style:{overscrollBehavior:"contain"},children:(s=b?.find(e=>e.id===j),o=(N?.language||"sr").split("-")[0],(c=s?.content?.[o]||s?.content?.sr)?(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:c}}):null)})})})]})]}):g?(0,t.jsx)("p",{className:"text-st-p min-h-6",children:w(g)}):null]})]})})}function f({modals:e}){let a=(0,s.useRef)([]),[l,r]=(0,s.useState)(null);return(0,s.useLayoutEffect)(()=>{let e=()=>{let e=a.current.filter(Boolean);e.length&&(e.forEach(e=>{e&&(e.style.minHeight="auto")}),r(Math.ceil(Math.max(...e.map(e=>e.getBoundingClientRect().height)))))};e();let t=()=>e();return window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)},[]),(0,t.jsx)("div",{className:"flex flex-col gap-4 lg:flex-row",children:p.map((r,s)=>(0,t.jsx)("div",{className:"flex flex-1",children:(0,t.jsx)(g,{...r,descriptionRef:e=>a.current[s]=e,minDescriptionHeight:l,modals:e,modalId:r.modalId})},r.title))})}function x({modals:e=[]}){let{t:r,i18n:s}=(0,i.useTranslation)(),n=(s?.language||"sr").split("-")[0],u=c(n);return(0,t.jsxs)("div",{className:"flex flex-col gap-16 md:mt-0",children:[(0,t.jsx)(o.StMobilePromoCard,{title:r("Mobile.services.stmobile.title"),description:r("Mobile.services.stmobile.description"),button:r("Mobile.services.stmobile.button")}),(0,t.jsx)("section",{className:"flex flex-col",children:(0,t.jsx)(o.StMobilePromoCardLeftImage,{imageSrc:"/assets/mobile/phonenumber.png",title:r("Mobile.services.stnumber.title"),description:r("Mobile.services.stnumber.description")})}),(0,t.jsx)("section",{className:"flex flex-col",children:(0,t.jsx)(a.MobileRoamingPromoCard,{title:r("Mobile.roamingPromo.title","Tarifni i Roming dodaci"),description:r("Mobile.roamingPromo.description","Prilagodite svoj ST Mobile paket svojim potrebama: dodajte više minuta, SMS-ova ili interneta kada vam zatreba, i ostanite povezani dok putujete. Aktivirajte roming dodatke i koristite mobilne usluge u inostranstvu po povoljnim cenama, sa jasnim tarifama i bez neprijatnih iznenađenja. Fleksibilno, jednostavno i uvek pod vašom kontrolom."),buttonLabel:r("Mobile.roamingPromo.button","Tarifni i Roming dodaci"),href:`/${n}/${l.localizedRoutes.roaming[n]}`,imageSrc:"/assets/mobile/roamingoverlay.png",imageAlt:r(`Mobile.roamingPromo.imageAlt.${n}`,{defaultValue:d[u]})})}),(0,t.jsx)(m,{})]})}e.s(["MobileRoamingCard",()=>g,"MobileRoamingCards",()=>f,"MobileServiceCard",()=>h,"MobileServiceCards",()=>m,"MobileTab",0,x,"MobileTabContent",()=>x])},64668,e=>{"use strict";var t=e.i(17521);e.s(["LoaderCircle",()=>t.default])},50327,e=>{"use strict";function t(e,r,i=[]){let n=a(e,i);return r(n)?n:Object.entries(e).sort(([e],[t])=>l(e,i)-l(t,i)).map(([,e])=>s(e)).filter(Boolean).find(r)??""}function a(e,t){if(0===t.length)return"";let a=Object.entries(e);for(let e of t){let t=a.find(([t])=>r(t)===e);if(!t)continue;let l=s(t[1]);if(l)return l}return""}function l(e,t){let a=r(e),l=t.indexOf(a);return -1===l?Number.MAX_SAFE_INTEGER:l}function r(e){return e.toLocaleLowerCase("sr").replace(/[^a-z0-9]/g,"")}function s(e){return"number"==typeof e?String(e).trim():"string"!=typeof e?"":e.replace(/\s+/g," ").trim()}function i(e){return!(!e||c(e)||o(e)||/\d/.test(e))&&/[^\d\s./-]/u.test(e)}function n(e){return!(!e||c(e)||o(e))&&/[^\d\s./-]/u.test(e)}function o(e){return!!e&&/^\d+[a-z]?$/iu.test(e)}function c(e){return!!e&&e.replace(/\D/g,"").length>=6}async function d({revalidate:e,endpoint:t="/api/phonebook/cities"}={}){try{let a,l=await fetch(t,{next:"number"==typeof e?{revalidate:e}:void 0,headers:{Accept:"application/json"}});if(!l.ok)return console.error("Failed to fetch phonebook cities:",l.status,l.statusText),[];try{a=await l.json()}catch(e){return console.error("Failed to parse phonebook cities JSON",e),[]}return m(a)}catch(e){return console.error("Error fetching phonebook cities:",e),[]}}async function u({cityId:e,revalidate:t,endpointBase:a="/api/phonebook/streets"}){if(!e)return[];let l=a.endsWith("/")?`${a}${e}`:`${a}/${e}`;try{let e,a=await fetch(l,{next:"number"==typeof t?{revalidate:t}:void 0,headers:{Accept:"application/json"}});if(!a.ok)return console.error("Failed to fetch phonebook streets:",a.status,a.statusText),[];try{e=await a.json()}catch(e){return console.error("Failed to parse phonebook streets JSON",e),[]}return m(e)}catch(e){return console.error("Error fetching phonebook streets:",e),[]}}async function h(e){var l,r;let d,{revalidate:u,endpoint:h="/api/phonebook/clients"}=e;if(void 0!==e.zone&&void 0!==e.phone){let t;d={phoneNumber:(r=e.zone,(t=e.phone.replace(/\D/g,"")).startsWith("381")?t:t.startsWith("0")?t.replace(/^0/,"381"):`${r}${t}`.replace(/\D/g,"").replace(/^0/,"381"))}}else d={cityId:e.filters?.cityId,streetId:e.filters?.streetId,streetNumber:e.streetNumber?.trim(),firstName:e.filters?.firstName?.trim(),lastName:e.filters?.lastName?.trim()};try{let e,r=await fetch(h,{method:"POST",next:"number"==typeof u?{revalidate:u}:void 0,headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(d)});try{e=await r.json()}catch(e){return console.error("Failed to parse phonebook clients JSON",e),[]}if(!r.ok){if(404===r.status)return[];let t=e;return console.error("Failed to fetch phonebook clients:",r.status,t?.message??r.statusText),[]}return l=e,Array.isArray(l)?l.map(e=>(function(e){var l;if(!e||"object"!=typeof e)return null;
1let r=a(e,["name","ime_prezime","imePrezime"])||(l=e,[a(l,["firstname","first_name","ime"]),a(l,["lastname","last_name","prezime"])].filter(Boolean).join(" ").trim()),d=function(e){if("string"==typeof e){let t=s(e);return i(t)?t:""}if(!e||"object"!=typeof e)return"";let t=a(e,["city","mesto","place","town","naselje"]);return i(t)?t:""}(e),u=function(e){if("string"==typeof e){let t=s(e);return n(t)?t:""}if(!e||"object"!=typeof e)return"";let l=a(e,["street","ulica","address","street_name"]);return n(l)?l:t(e,n)}(e),h=t(e,e=>o(e),["housenumber","streetnumber","broj","number","adresabroj"]),m=t(e,e=>c(e),["number","phonenumber","telefon","tel","brojtelefona"]),p={...e,name:r||void 0,city:d||void 0,street:u||void 0,streetNumber:h||void 0,phoneNumber:m||void 0};return p.name||p.city||p.street||p.streetNumber||p.phoneNumber?p:null})(e)).filter(e=>null!==e):[]}catch(e){return console.error("Error fetching phonebook clients:",e),[]}}function m(e){return Array.isArray(e)?e.flatMap(e=>{if(!e||"object"!=typeof e)return[];let{id:t,name:a}=e;return"number"!=typeof t||"string"!=typeof a||""===a.trim()?[]:[{id:t,name:a.trim()}]}).sort((e,t)=>e.name.localeCompare(t.name,"sr",{sensitivity:"base"})):[]}e.s(["getPhonebookCities",()=>d,"getPhonebookClients",()=>h,"getPhonebookStreets",()=>u],50327)}]);

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.