1"use strict";(globalThis.webpackChunk_telia_company_tv_web_logged_in=globalThis.webpackChunk_telia_company_tv_web_logged_in||[]).push([[749],{"./src/cdp/components/Cdp/components/CdpSiblingInfo/index.ts"(e,t,r){r.d(t,{K:()=>v});var o=r("./src/cdp/Context/CdpFilterContext.tsx"),n=r("./src/cdp/utils/prefetchCdp.ts"),a=r("./src/core/analytics/tracker.ts"),s=r("./src/page/utils/getLinkUrlWithTrackingParams.ts");var i=r("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),d=r("./src/shared/components/custom/MetadataRowItems/index.ts"),l=r("./src/shared/components/ui/ProviderCard/ProviderCard.styles.ts"),c=r("../../../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 p=({heading:e,iconSrc:t,metadataRow:r,...o})=>{const n=(0,i.useId)(),a=(e=>{const t=[];return e?.length?(e?.length&&e.forEach(e=>{"MetadataItemString"===e.__typename&&t.push(e.a11y.label),"MetadataItemIcon"===e.__typename&&t.push(e.a11y.label),"MetadataTextBadge"===e.__typename&&t.push(e.a11y.label),"MetadataBadgeIMDB"===e.__typename&&t.push(e.a11y.label)}),t.join(", ")):""})(r||[]);return(0,c.FD)(l.ah,{...o,"aria-describedby":n,"aria-label":e,children:[(0,c.Y)("span",{hidden:!0,id:n,children:a}),(0,c.FD)(l.xv,{"aria-hidden":"true",children:[t?(0,c.Y)(l.Qm,{children:(0,c.Y)(l.Xq,{alt:"",src:t})}):null,(0,c.FD)(l.Ay,{children:[e?(0,c.Y)(l.h9,{children:e}):null,r?(0,c.Y)(l.QW,{children:(0,c.Y)(d.y,{items:r})}):null]})]})]})};var m=r("./src/shared/utils/breakpoints/constants.ts"),u=r("./src/shared/utils/image/getImageProxyUrl.ts"),h=r("../../../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"),g=r("./src/shared/components/custom/ActionOnHover/ActionOnHover.tsx"),b=r("./src/shared/components/ui/Swimlane/index.ts"),x=r("./src/shared/utils/breakpoints/mq.ts"),_=r("../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]_f734d82c55a697af95f95e7d1443e8d9/node_modules/@telia-company/tv.one-design-system-web/lib/index.js");const y=(0,h.A)(b.L,{target:"e15pyz061"})("margin-top:24px;margin-bottom:32px;",x.mq.M` 2 margin-bottom: 48px; 3 `,";"),f=(0,h.A)(g.A,{target:"e15pyz060"})("display:flex;box-sizing:border-box;height:100%;border-radius:8px;background-color:",_.ue.color.button.secondaryDefault,";width:100%;transition:background-color 0.25s;&:hover{background-color:",_.ue.color.remote.focusSoft,";}"),k={LinkEpisode:"Episode",LinkMovie:"Movie",LinkSeries:"Series",LinkSportEvent:"SportEvent"},v=({data:e,overlayColor:t})=>{const{filter:r}=(0,o.G)();if(!e)return null;const i=e.heading,d=e.description,l=e.items,h=l.length>1?1.25:1,g=window.location.pathname;return(0,c.Y)(y,{description:d||"",itemsPerBreakpoint:{[m.f.M]:2,[m.f.S]:h},overlayColor:t,shouldSaveScrollPosition:void 0,title:i||"",children:l.map(e=>{const t=(0,s.t)(e.link.link3);return(0,c.Y)(f,{onComplete:async()=>{var t;if((t=e.link.link3.__typename)&&t in k)return await(0,n.v)({filterInput:r,id:e.link.link3.to,type:k[e.link.link3.__typename]})},children:(0,c.Y)(p,{heading:e.heading,href:t,iconSrc:e.icon?.source?(0,u.x)({height:NaN,uri:e.icon?.source,width:40}):void 0,metadataRow:e.metadataRow,onClick:()=>a.F.trackAssetAction({action_type:"nav_sibling_info",content_id:e.link.link3.to,content_type:"LinkSeries"===e.link.link3.__typename?"series":"media"})})},t)})},g||"")}},"./src/cdp/components/CdpUpcomingEpisode/index.ts"(e,t,r){r.d(t,{Z:()=>b});var o=r("../../../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"),n=r("./src/shared/components/custom/Image/Image.tsx"),a=r("./src/shared/constants/imageSizes.ts"),s=r("./src/shared/utils/breakpoints/mq.ts"),i=r("../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]_f734d82c55a697af95f95e7d1443e8d9/node_modules/@telia-company/tv.one-design-system-web/lib/index.js"),d=r("../../../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 l=(0,o.A)("div",{target:"e1m30dsq6"})("pointer-events:none;display:flex;background-color:",i.ue.color.background.surfaceDark,";border-radius:4px;padding:8px;margin:0px 8px;",s.mq.M` 4 padding: 16px; 5 margin: 0px 24px; 6 `,";"),c=(0,o.A)("h2",{target:"e1m30dsq5"})(i.ue.typography.contentTitleSmall," color:",i.ue.color.text.primary,";text-transform:none;margin:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;",s.mq.S` 7 margin-bottom: 4px; 8 `,";"),p=(0,o.A)("p",{target:"e1m30dsq4"})(i.ue.typography.contentDataSmall," color:",i.ue.color.text.primary,";text-transform:none;margin:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;"),m=(0,o.A)("div",{target:"e1m30dsq3"})("position:relative;flex:0 0 142px;margin-right:16px;border-radius:",i.ue.radius.poster,";overflow:hidden;",s.mq.S` 9 flex: 0 0 219px; 10 margin-right: 24px; 11 `," ",s.mq.M` 12 flex: 0 0 308px; 13 `," &:after{content:'';display:block;padding-bottom:56.25%;}"),u=(0,o.A)(n._,{target:"e1m30dsq2"})({name:"1b4920d",styles:"position:absolute;top:0;left:0;width:100%;height:100%"}),h=(0,o.A)("div",{target:"e1m30dsq1"})("position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.6);",i.ue.typography.textPrimary," color:",i.ue.color.text.primary,";display:flex;align-items:center;justify-content:center;text-align:center;"),g=(0,o.A)("div",{target:"e1m30dsq0"})({name:"49e6uk",styles:"align-self:center;white-space:nowrap;overflow:hidden"}),b=({className:e,upcomingEpisode:t})=>{if(!t)return null;const[r,o]=a.o.portrait;return(0,d.FD)(l,{className:e,children:[(0,d.FD)(m,{"aria-hidden":!0,
13children:[(0,d.Y)(u,{alt:t.header.topic,height:o,uri:t.images.backdrop16x9?.source,width:r}),(0,d.Y)(h,{children:t.availability.from?.text})]}),(0,d.FD)(g,{children:[(0,d.Y)(c,{children:t.header.topic}),(0,d.Y)(p,{children:t.header.title})]})]})}},"./src/cdp/views/CdpEpisodeView/components/CdpSeasonList/index.ts"(e,t,r){r.d(t,{j:()=>ne});var o=r("../../../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"),n=r("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/core/networkStatus.js"),a=r("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/react/hooks/useQuery.js"),s=r("./src/cdp/Context/CdpFilterContext.tsx"),i=r("./src/codegen/graphql.ts"),d=r("./src/page/components/Panels/index.tsx"),l=r("./src/shared/components/custom/FetchMoreAnchor/index.ts"),c=r("./src/shared/utils/breakpoints/mq.ts"),p=r("../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]_f734d82c55a697af95f95e7d1443e8d9/node_modules/@telia-company/tv.one-design-system-web/lib/index.js"),m=r("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),u=r("../../../node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected][email protected][email protected]/node_modules/react-i18next/dist/es/index.js"),h=r("./src/shared/components/custom/NoDataPlaceholder/NoDataPlaceholder.tsx"),g=r("../../../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 b=(0,o.A)(h.t,{target:"eo52o0s1"})("border-top:1px solid ",p.ue.color.border.separatorWeak,";max-width:unset;padding-top:64px;"),x=(0,o.A)("ul",{target:"eo52o0s0"})("padding:0 16px;margin:0;margin-top:64px;",c.mq.S` 14 padding: 0 40px; 15 `," ",c.mq.M` 16 padding: 0 80px; 17 `,";"),_=({onClickRetry:e,title:t})=>(0,g.Y)(x,{children:(0,g.Y)(b,{onClickRetry:e,title:t})});var y=r("./src/core/analytics/tracker.ts"),f=r("./src/shared/utils/platform/isMobileType.ts"),k=r("../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]__@types+reac_d66b8d795916a75694bf81aedd9e0f55/node_modules/@radix-ui/react-popover/dist/index.mjs"),v=r("../../../node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/react-router/dist/development/chunk-62JRHF6Z.mjs"),w=r("./src/shared/components/ui/Switch/index.ts"),S=r("./src/shared/constants/zindex.ts");const A=(0,o.A)(k.l9,{target:"eq1s6w89"})("display:flex;background-color:transparent;border:none;color:",p.ue.color.text.primary,";align-items:center;justify-content:center;padding:4px 16px;border-radius:4px;height:40px;margin-top:24px;align-self:flex-end;cursor:pointer;",c.mq.M` 18 margin-left: auto; 19 margin-top: 0; 20 `," &[data-state='open']{background-color:",p.ue.color.button.secondaryPressed,";}&:hover{background-color:",p.ue.color.button.ghostHover,";}"),C=(0,o.A)(k.UC,{target:"eq1s6w88"})("width:100%;height:100%;z-index:",S.M.MODAL,";border-radius:4px;box-shadow:0 2px 40px ",p.ue.color.background.overlay60,";",c.mq.M` 21 min-width: 360px; 22 `,";"),Y=(0,o.A)("div",{target:"eq1s6w87"})("height:100%;width:100%;border-radius:4px;box-sizing:border-box;padding:16px;background-color:",p.ue.color.button.secondaryDefault,";"),I=(0,o.A)("span",{target:"eq1s6w86"})(p.ue.typography.textSecondaryEmphasis," margin-left:8px;"),D=(0,o.A)("h2",{target:"eq1s6w85"})(p.ue.typography.headingTertiary,";"),q=(0,o.A)("p",{target:"eq1s6w84"})(p.ue.typography.textSecondary,";"),j=(0,o.A)("div",{target:"eq1s6w83"})({name:"s8wds7",styles:"display:flex;flex-direction:column;width:100%;margin-top:24px"}),E=(0,o.A)("div",{target:"eq1s6w82"})({name:"oturer",styles:"display:flex;justify-content:space-between;align-items:center;margin-left:8px;&:not(:last-child){margin-bottom:8px;}"}),L=(0,o.A)("label",{target:"eq1s6w81"})(p.ue.typography.navigationText,";"),N=(0,o.A)(w.d,{target:"eq1s6w80"})({name:"1u8skbo",styles:"margin:4px 0"}),F=({backgroundColor:e,container:t,filters:r})=>{const o=r?.filterOptions,{id:n}=(0,v.g)(),{t:a}=(0,u.Bd)(),{setFilter:i}=(0,s.G)();if(!o||!r)return null;const d=o&&o.map(e=>({key:e.key,selected:e.selected}));return(0,g.FD)(k.bL,{children:[(0,g.FD)(A,{children:[(0,g.Y)(p.PA,{fontSize:24,name:"Filter"}),(0,g.Y)(I,{children:a("GLOBAL__FILTER_EPISODES_BUTTON")})]}),(0,g.Y)(k.ZL,{container:t||document.body,children:(0,g.Y)(C,{align:(0,f.H)()?"start":"end",sideOffset:16,style:{backgroundColor:e},children:(0,g.FD)(Y,{children:[(0,g.Y)(D,{children:r.header}),(0,g.Y)(q,{children:r.description}),(0,g.Y)(j,{children:o.map(e=>(0,g.FD)(E,{children:[(0,g.Y)(L,{htmlFor:e.key,children:e.title}),(0,g.Y)(N,{id:e.key,onValueChange:t=>{const r=d.map(r=>r.key===e.key?(y.F.trackFilterClick({content_id:n,content_type:"series",filter_name:e.key,selected:t}),{...r,selected:t}):r);i(r)},value:e.selected})]},e.key))})]})})})]})};var M=r("../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]__@types+_a60f0863db1a1dc758a00971b14dc42a/node_modules/@radix-ui/react-scroll-area/dist/index.mjs"),P=r("../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]__@types+react@_c50f0c0243c085226dd2db3fe4767e30/node_modules/@radix-ui/react-select/dist/index.mjs");const O=(0,o.A)("div",{target:"e1tlhsru12"})("margin:0px 16px 16px;",c.mq.M` 23 display: inline-flex; 24 justify-content: space-between; 25 margin: 0px 40px 24px; 26 `,";"),T=(0,o.A)("div",{target:"e1tlhsru11"})({name:"ej65ac",styles:"display:flex;align-self:center;flex-direction:column"}),z=(0,o.A)(M.LM,{target:"e1tlhsru10"})({name:"96rz0x",styles:"width:var(--radix-select-trigger-width);max-height:var(--radix-select-content-available-height)"}),B=(0,o.A)(M.zi,{target:"e1tlhsru9"})("background-color:",p.ue.color.button.ghostHover,";border-radius:3px;width:3px;"),R=(0,o.A)(M.bL,{target:"e1tlhsru8"})("width:var(--radix-select-trigger-width);
26background-color:",p.ue.color.button.secondaryDefault,";[data-state='visible']~",z,"{width:calc(var(--radix-select-trigger-width) - 12px);}"),H=(0,o.A)(M.Ze,{target:"e1tlhsru7"})({name:"aamkgj",styles:"background-color:transparent;width:4px;padding:8px;box-sizing:unset;user-select:none;touch-action:none"}),$=(0,o.A)(P.l9,{target:"e1tlhsru6"})("display:flex;align-items:center;width:100%;background-color:",p.ue.color.button.secondaryDefault,";border-radius:8px;border:none;padding:8px 12px;color:",p.ue.color.text.primary,";text-align:left;",p.ue.typography.textSecondary," margin-right:auto;margin-top:16px;",c.mq.M` 27 width: 308px; 28 `,";"),U=(0,o.A)(P.UC,{target:"e1tlhsru5"})("position:relative;overflow:hidden;border-radius:4px;z-index:",S.M.MODAL,";width:var(--radix-select-trigger-width);max-height:var(--radix-select-content-available-height);box-shadow:0 2px 40px ",p.ue.color.background.overlay60,";"),W=(0,o.A)(P.LM,{target:"e1tlhsru4"})({name:"b204cf",styles:"max-height:var(--radix-select-content-available-height)"}),Z=(0,o.A)(P.q7,{target:"e1tlhsru3"})("position:relative;display:flex;",p.ue.typography.navigationText," padding:12px 16px;border-radius:4px;cursor:pointer;margin:8px;&:hover{background-color:",p.ue.color.button.ghostHover,";}"),G=(0,o.A)(P.In,{target:"e1tlhsru2"})({name:"1d7d2m0",styles:"display:flex;margin-left:auto"}),Q=(0,o.A)("span",{target:"e1tlhsru1"})(p.ue.typography.textSecondaryEmphasis,";"),V=(0,o.A)("div",{target:"e1tlhsru0"})({name:"157xhr7",styles:"width:16px;height:16px"}),K=({activeSeasonId:e,backgroundColor:t,container:r,onSelectSeasonNumber:o,seasonLinksItems:n})=>{const{t:a}=(0,u.Bd)(),s=n?.find(t=>t.panelId===e),i=(0,m.useId)(),d=(0,m.useId)();return s?(0,g.FD)(P.bL,{defaultValue:e||void 0,onValueChange:o,children:[(0,g.FD)($,{"aria-label":a("SEASONS"),children:[(0,g.Y)(P.WT,{children:(0,g.Y)(Q,{children:s?.seasonNumber.readable})}),(0,g.Y)(G,{children:(0,g.Y)(p.PA,{fontSize:24,name:"ChevronDown"})})]}),(0,g.Y)(P.ZL,{container:r,children:(0,g.Y)(U,{position:"popper",sideOffset:16,style:{backgroundColor:t},children:(0,g.FD)(R,{type:"auto",children:[(0,g.Y)(H,{orientation:"vertical",children:(0,g.Y)(B,{})}),(0,g.Y)(W,{asChild:!0,children:(0,g.Y)(z,{children:n?.map(({numberOfEpisodes:t,panelId:r,seasonNumber:o})=>(0,g.FD)(Z,{"aria-labelledby":`${i}-${r} ${d}-${r}`,style:{backgroundColor:e===r?p.ue.color.button.secondaryDefault:void 0,display:"flex",justifyContent:"space-between"},value:r,children:[(0,g.Y)(P.p4,{"aria-hidden":!0,id:`${i}-${r}`,children:o?.readable}),(0,g.Y)(P.p4,{"aria-hidden":!0,id:`${d}-${r}`,children:t?.readable}),e===r?(0,g.Y)(p.PA,{"aria-hidden":!0,fontSize:16,name:"Check"}):(0,g.Y)(V,{})]},r))})})]})})})]}):null},X=(0,o.A)("h2",{target:"e16vcf4r0"})("margin:0;",p.ue.typography.headingTertiary,";"),J=({activeSeasonId:e,backgroundColor:t,filters:r,onSelectSeasonNumber:o,seasonLinksItems:n})=>{const{t:a}=(0,u.Bd)(),s=(0,m.useRef)(null),i=Boolean(1===n?.length),d=Boolean(n&&n?.length>1),l=r?.filterOptions;return(0,g.FD)(O,{ref:s,children:[(0,g.FD)(T,{children:[i&&(0,g.Y)(X,{children:0!==n?.[0].seasonNumber.number?n?.[0].seasonNumber.readable:a("EPISODES")}),(d||!i&&l)&&(0,g.Y)(X,{children:a("CDP_HEADLINE_SEASONS_AND_EPISODES")}),d&&(0,g.Y)(K,{activeSeasonId:e,backgroundColor:t,container:s.current||document.body,onSelectSeasonNumber:o,seasonLinksItems:n})]}),(0,g.Y)(F,{backgroundColor:t,container:s.current,filters:r})]})};const ee=(0,o.A)("div",{target:"eav82sr3"})({name:"1fttcpj",styles:"display:flex;flex-direction:column"}),te=(0,o.A)(d.Q,{target:"eav82sr2"})(">*{margin-top:0px;",c.mq.M` 29 margin-top: 0px; 30 `,";}"),re=(0,o.A)("p",{target:"eav82sr1"})("margin:0;margin-left:16px;",c.mq.M` 31 margin-left: 40px; 32 `,";"),oe=(0,o.A)("div",{target:"eav82sr0"})("height:",({height:e})=>e?`${e}px`:"auto",";"),ne=({backgroundColor:e=p.ue.color.background.primary,className:t,data:r})=>{const{t:o}=(0,u.Bd)(),[d,c]=(0,m.useState)(),h=(0,m.useRef)(null),{filter:b}=(0,s.G)(),x="series"in r&&r.series&&"seasonLinks"in r.series&&r.series.seasonLinks?.items||null,y=x?.find(e=>e.seasonNumber?.number===("seasonNumber"in r&&r?.seasonNumber?.number||"series"in r&&r?.series&&"suggestedEpisode"in r.series&&r.series.suggestedEpisode?.seasonNumber.number)),f=r.series?.seasonLinks.filters.filterOptions?.map(e=>({key:e.key,selected:e.selected})),[k,v]=(0,m.useState)(y),{data:w,error:S,fetchMore:A,loading:C,networkStatus:Y,refetch:I}=(0,a.I)(i.uCw,{fetchPolicy:"network-only",notifyOnNetworkStatusChange:!0,skip:!k?.panelId,variables:{filterInput:b,id:k?.panelId||""}}),D=n.p.fetchMore===Y,q=w?.panelX,j=q&&"posters"in q&&q?.posters,E=j&&j?.items||null,L=j&&j?.collectionPageInfo,N=r.series?.seasonLinks.items,F=r.series?.seasonLinks.filters,M=!C&&!E?.length&&!x?.length,P=Boolean(!E?.length&&f),[O,T]=(0,m.useState)(!1);(0,m.useEffect)(()=>{w&&O&&T(!1)},[w,O]),(0,m.useEffect)(()=>{!M&&N?.length||v(null)},[M,N?.length]),(0,m.useEffect)(()=>{C||c(void 0)},[C]),(0,m.useEffect)(()=>{const e=x?.find(({panelId:e})=>e===k?.panelId);if((!k?.panelId||!e)&&x){const e=(({currentSeason:e,seasonList:t})=>{const r=t.find(t=>t.seasonNumber.number===e);if(r)return r;const o=t.filter(t=>t.seasonNumber.number<e).sort((e,t)=>
32e.seasonNumber.number-t.seasonNumber.number),n=o[Math.max(o.length-1,0)];if(n)return n;return t.filter(t=>t.seasonNumber.number>e).sort((e,t)=>e.seasonNumber.number-t.seasonNumber.number)[0]||t[0]})({currentSeason:r&&"seasonNumber"in r&&r?.seasonNumber?.number||0,seasonList:x});v(e||null)}},[k,r,x]);const z=(0,m.useCallback)(()=>{A&&j&&!O&&A({variables:{panelContentOffset:E?.length}}).catch(()=>{T(!0)})},[A,O,E?.length,j]),B=(0,m.useCallback)(()=>{I&&I()},[I]);return S&&Y===n.p.error?(0,g.Y)(_,{onClickRetry:B,title:o("FAILED_TO_LOAD_EPISODES")}):(0,g.FD)(ee,{className:t,children:[(0,g.Y)(J,{activeSeasonId:k?.panelId,backgroundColor:e,filters:F,onSelectSeasonNumber:e=>{c(h.current?.offsetHeight),v(x?.find(t=>t.panelId===e))},seasonLinksItems:N}),P&&(0,g.Y)(re,{children:o("CDP_EPISODE_LIST_FILTERED_OUT_ALL_EPISODES")}),(0,g.Y)(oe,{height:d,ref:h,children:q&&(0,g.FD)(g.FK,{children:[(0,g.Y)(te,{data:[q],skipTracking:!1}),(0,g.Y)(l.P,{hasNextPage:Boolean(L&&L?.nextItems),loading:C||D||O,onFetchMore:z,threshold:"30%"})]})})]})}},"./src/shared/components/custom/FetchMoreAnchor/index.ts"(e,t,r){r.d(t,{P:()=>s});var o=r("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),n=r("../../../node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/react-intersection-observer/dist/index.mjs"),a=r("../../../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 s=({containerRef:e,hasNextPage:t,loading:r,loadingComponent:s,onFetchMore:i,threshold:d="0%"})=>{const[l,c]=(0,n.Wx)({root:e?.current,rootMargin:d});return(0,o.useEffect)(()=>{c&&t&&!r&&i()},[t,c,r,i]),t?r?s||null:(0,a.Y)("div",{"data-testid":"fetch-more-anchor",ref:l}):null}}}]);
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.