PageSourceSearch

https://kundenbereich.check24.de/kb/KB20260929-1/build/desktop/DC-ica12.js

js check24.de collected 2026-10-01 08:49:43 UTC 3,808 bytes, 1 lines download raw bytes

1import{a9 as I,a8 as k,R as C,u as y,j as a,e as m,L as j,F as g,am as M,r as _,g as T,a as U,ag as $,C as D,an as O,aa as P,K as F,aj as B,U as G,ab as w,J as K,q as Y,ao as W}from"./bundle_desktop-CixBj-VN.js";try{let e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a780892d-881a-4b87-972c-3fb20aa52b3c",e._sentryDebugIdIdentifier="sentry-dbid-a780892d-881a-4b87-972c-3fb20aa52b3c")}catch{}var c=(e=>(e.FOREIGN_ID="foreign_id",e.SEARCH_PARAMETER_NAME="search_parameter_name",e.SEARCH_PARAMETER_VALUE="search_parameter_value",e.SEARCH_PARAMETER_HASH="search_parameter_hash",e.HASH="hash",e.DETAILREF="detailref",e.SHOW_CHAT="showchat",e.CHATTY_HOLDING_SESSION_ID="chatty_holding_session_id",e))(c||{}),E=(e=>(e.URL="url",e.FOREIGN_ID="foreign_id",e.ID="id",e))(E||{});const q="productgroup",Q="product",J="breadcrumb",X=()=>{const[e]=I();let{productGroup:t,product:n,foreignId:s}=k();t=e.get(q)||t,n=e.get(Q)||n;let r=e.get(c.SEARCH_PARAMETER_NAME)||void 0;Object.values(E).includes(r)||(r=void 0);let i=e.get(c.SEARCH_PARAMETER_VALUE)||void 0;s=e.get(c.FOREIGN_ID)||s,s&&(r=E.FOREIGN_ID,i=s);const o=e.get(c.DETAILREF)||void 0;o&&(r=E.URL,i=o);const l=e.get(c.SEARCH_PARAMETER_HASH)||e.get(c.HASH)||void 0,A=e.get(J)||void 0;return{product:n,productGroup:t,dataKey:r,dataValue:i,hash:l,breadcrumb:A}},b="c24-kb-breadcrumb",z=({items:e=[]})=>{const t=y();return e=[{label:t("MY_ACCOUNT.BREADCRUMB"),url:g.landingPage}].concat(e),a.jsxs("div",{className:`${b}__wrapper`,children:[a.jsx("span",{children:t("BREADCRUMB.PREFIX")}),e.map((s,r)=>a.jsxs(C.Fragment,{children:[a.jsx(m,{isVisible:r!==0,children:a.jsx("span",{className:`${b}__separator`,children:"»"})}),a.jsx(m,{isVisible:!!s?.url,fallback:a.jsx("span",{className:`${b}__text`,children:s.label}),children:a.jsx(j,{className:`${b}__link`,internal:!0,link:s?.url,children:s.label})})]},`${s.url}_${s.label}`))]})},Z=C.memo(z),V=(e=void 0,t)=>{const[n]=I(),s=`${g.activityPath(t)}${e?.id?`#${M}${e.id}`:""}`,r=_.useMemo(()=>e?[{label:e.parentPageName,url:s},{label:e.breadcrumb}]:[],[e,s]);return{backUrl:s,breadcrumbItems:r,iframeUrl:(()=>{if(!e?.url)return;const o=new URL(e.url.url),l=n.get(c.CHATTY_HOLDING_SESSION_ID);return l&&o.searchParams.set(c.CHATTY_HOLDING_SESSION_ID,l),o.toString()})(),isClickout:e?.url?.isClickout??!1}},d="c24-kb-activity-third-view-page",se=()=>{const e=y(),t=T(),n=_.useRef(void 0),{product:s,productGroup:r,dataKey:i,dataValue:o,hash:l,breadcrumb:A}=X(),u=U($.getThirdViewData);_.useEffect(()=>{const L=u.request({product:s,productGroup:r,dataKey:i,dataValue:o,hash:l,breadcrumb:A});return()=>L.cancel(D)},[s,r,i,o,l]);const{breadcrumbItems:v,iframeUrl:f,isClickout:p,backUrl:h}=V(u?.data,r),{onMessage:R,showModalMask:S,isFullscreen:N}=O(n.current);if(_.useEffect(()=>{window.onmessage=R.bind(void 0)},[R]),_.useEffect(()=>{if(f){if(p){window.location.replace(f);return}n.current&&n.current.contentWindow.location.replace(f)}
1},[p,f]),P({spinnerActive:!u.isSuccessful,fixPosition:F()}),!r||!i||!o||u.error)return a.jsx(B,{to:g.activityPath(),replace:!0});const H=()=>{n?.current?.contentWindow?.postMessage(window.location.protocol+"//"+window.location.hostname,"*")},x=()=>{t(W?h:-1)};return a.jsxs(G,{children:[a.jsx(Z,{items:v}),a.jsx(w,{link:null,className:`${d}__back-button`,label:e("BREADCRUMB.BACK"),onClick:x.bind(void 0),pageLabel:e("ACTIVITY.DEFAULT.HEADLINE",{activityCategory:K.ALL})}),a.jsx(m,{isVisible:S,children:a.jsx("div",{className:`${d}__modal-mask`})}),a.jsx("iframe",{ref:n,className:Y(`${d}__iframe`,{[`${d}__iframe--fullscreen`]:N,[`${d}__iframe--hidden`]:!u.isSuccessful}),onLoad:H.bind(void 0),scrolling:"no"})]})};export{se as default};

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.