PageSourceSearch

https://www.teliaplay.se/oneweb/checkout-media-subscription-list-view.9cc39b93.js

js teliaplay.se collected 2026-10-01 15:58:05 UTC 5,401 bytes, 3 lines download raw bytes

1"use strict";(globalThis.webpackChunk_telia_company_tv_web_logged_in=globalThis.webpackChunk_telia_company_tv_web_logged_in||[]).push([[751],{"./src/page/views/PageView/components/PagePanels/components/EmptyPageBanner/index.ts"(e,t,s){s.d(t,{h:()=>_});var n=s("./src/page/utils/getLinkUrl.ts"),o=s("./src/shared/components/custom/SmartLink/index.ts"),a=s("./src/shared/components/ui/Button/index.ts"),r=s("../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected][email protected]_support_a0dcb4b0ae680db98626d6fd11a2b9d9/node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.esm.js"),i=s("./src/shared/constants/zindex.ts"),d=s("../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]_f734d82c55a697af95f95e7d1443e8d9/node_modules/@telia-company/tv.one-design-system-web/lib/index.js");const c=(0,r.A)("div",{target:"es3y6bv3"})("display:flex;align-items:flex-start;flex-direction:column;z-index:",i.M.EMPTY_RECORDING_BANNERS,";position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);"),l=(0,r.A)("div",{target:"es3y6bv2"})({name:"1fttcpj",styles:"display:flex;flex-direction:column"}),p=(0,r.A)("h1",{target:"es3y6bv1"})(d.ue.typography.headingSecondary," text-transform:initial;margin:0 0 32px 0;"),m=(0,r.A)("p",{target:"es3y6bv0"})(d.ue.typography.textPrimary," z-index:",i.M.EMPTY_RECORDING_BANNERS,";margin:0 0 32px 0;");var u=s("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js");const _=({description:e,link:t,linkText:s,title:r})=>(0,u.FD)(c,{children:[(0,u.FD)(l,{children:[r&&(0,u.Y)(p,{children:r}),e&&(0,u.Y)(m,{children:e})]}),t&&s&&(0,u.Y)(a.$,{as:o.i,href:(0,n.Q)(t),variant:"primary",children:s})]})},"./src/page/views/PageView/components/PagePanels/utils/isPagePanelsEmpty.ts"(e,t,s){s.d(t,{i:()=>o});const n=e=>!("PosterListPanel"===e.__typename||"ShowcasePanelX"===e.__typename||"SubscriptionPanelXV2"===e.__typename)||(!(!("posters"in e)||!e.posters?.items?.length)||(!(!("showcaseContent"in e)||!e.showcaseContent?.items?.length)||!(!("subscriptionContent"in e)||!e.subscriptionContent?.items?.length))),o=e=>!e?.some(n)},"./src/shared/hooks/useTrackPageViewEvent.ts"(e,t,s){s.d(t,{z:()=>r});var n=s("./src/core/analytics/tracker.ts"),o=s("./src/core/router/hooks/useIsModalRouteOpen/index.ts"),a=s("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js");const r=(e,t)=>{const{isModalRouteOpen:s}=(0,o.u)(),r=(0,a.useRef)("");(0,a.useLayoutEffect)(()=>{const o=e&&r.current===JSON.stringify(e);s||o||t||!e||(n.F.trackPage({page_name:e,page_variant:"page"}),r.current=JSON.stringify(e))},[s,e,t])}},"./src/subscription/views/CheckoutMediaSubscriptionListView.tsx"(e,t,s){s.r(t),s.d(t,{default:()=>w});var n=s("../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected][email protected]_support_a0dcb4b0ae680db98626d6fd11a2b9d9/node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.esm.js"),o=s("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/react/hooks/useQuery.js"),a=s("./src/cdp/utils/getCDPLink.ts"),r=s("./src/codegen/graphql.ts"),i=s("./src/core/router/hooks/useIsModalRouteOpen/index.ts"),d=s("./src/page/components/Panels/index.tsx"),c=s("./src/page/views/PageView/components/PagePanels/components/EmptyPageBanner/index.ts"),l=s("./src/page/views/PageView/components/PagePanels/utils/isPagePanelsEmpty.ts"),p=s("./src/shared/components/custom/Navbar/index.ts"),m=s("./src/shared/errors/InvalidInputError.ts"),u=s("./src/shared/errors/NotFoundError.ts"),_=s("./src/shared/hooks/useTrackPageViewEvent.ts"),g=s("./src/shared/utils/breakpoints/mq.ts"),h=s("./src/shared/utils/isDefined.ts"),y=s("./src/subscription/hooks/useCommitTvPackage.ts"),b=s("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),P=s("../../../node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/react-router/dist/development/chunk-62JRHF6Z.mjs"),x=s("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js");const f=(0,n.A)(d.Q,{target:"e7lc5nh0"})(">*{margin-top:32px;",g.mq.M`
2      margin-top: 40px;
3    `,";}"),k=()=>{(0,_.z)({id:"purchase_choose_package"});const{mediaId:e}=(0,P.g)();
3if((0,p.st)({addOffsetTop:!0,solidBackground:!0}),(0,b.useEffect)(()=>{(0,y.CA)(void 0)},[]),!e)throw new m.o(k.name,"Missing mediaId parameter");const{data:t}=(0,o.I)(r.ugF,{variables:{id:e}}),{isModalRouteOpen:s}=(0,i.u)(),n=t?.media&&(0,a.w)(t?.media),{data:d,loading:g}=(0,o.I)(r._YK,{variables:{id:e,upsellPageInputIdType:r.ATB.Media}}),w=d?.upsellPage2?.pagePanels?.panels?.filter(h.O),v=d?.upsellPage2?.empty;if(!g&&!(0,h.O)(w)&&!(0,h.O)(v))throw new u.m(`No subscription package found for media id ${e}.`);return!g&&(0,l.i)(w)?(0,x.Y)(c.h,{description:v?.text,link:v?.cta?.link?.link3,linkText:v?.cta?.text,title:v?.heading}):w?(0,x.Y)(f,{context:{SubscriptionPanelX:{returnUrl:n},SubscriptionPanelXV2:{returnUrl:n}},data:w,skipTracking:s}):null},w=k}}]);

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.