PageSourceSearch

https://www.wegweiser-prostatakrebs.de/static/index-DWqmUlfB.js

js wegweiser-prostatakrebs.de collected 2026-10-04 01:58:43 UTC 5,006 bytes, 1 lines download raw bytes

1import{t as S,E as c,c1 as C,c2 as k,c3 as g,n as w,c0 as T,C as b,_ as v,p as l,q as h,X as u,ak as y,A as r,l as d,x as _,Q as M,I as m}from"./main-CHUEluNB.js";import{T as F}from"./TNMFilters-Cn641BoT.js";import{B as P}from"./BaseComponent.vue_vue_type_script_lang-CcHpmuwV.js";import{B}from"./BaseContent-SAzCt0Vy.js";import"./BaseComponent.utils-ADJOHzt3.js";var D=Object.getOwnPropertyDescriptor,E=(t,e,s,n)=>{for(var a=n>1?void 0:n?D(e,s):e,i=t.length-1,o;i>=0;i--)(o=t[i])&&(a=o(a)||a);return a};let p=class extends P{constructor(){super(...arguments),this.show_details=!1,this.showMe=!0,this.cancerType="no_selection",this.id=Math.random().toString(36).substring(2,11),this.storageFilters=null,this.cancerTypeMapping={"-":"bk_hub.cancer_types.no_selection",no_selection:"bk_hub.cancer_types.no_selection",tnbc:"bk_hub.cancer_types.tnbc",hrplus:"bk_hub.cancer_types.HR+",her2plus:"bk_hub.cancer_types.her2+",hrplusher2plus:"bk_hub.cancer_types.hr+her2+"}}getComponentName(){return"cancer_stage"}getComponentType(){return"cancer_stages"}created(){super.created(),this.storageFilters=this.$storage.getLocal(F,!1,!1),this.storageFilters&&(this.storageFilters=JSON.parse(this.storageFilters)),c.on(C,this.hideMeBasedOnTNMRules),c.on(k,this.resetMyVisibility),c.on(g,this.showDetail
1sBasedOnEvent)}async mounted(){this.initializeBasedOnStorageFilters()}async contentDidLoad(){super.contentDidLoad(),this.$nextTick(()=>{let e=this.$router.currentRoute.value.hash;`#${this.contentProps.short_name}`===e&&this.toggleDetails()})}get teaserLayout(){let e=this.contentProps.content.filter((s,n)=>n<=2&&!s.settings.class.includes("cs-3d-link")?s:!1);return Array.isArray(e)&&e.length>2?e.splice(0,2):e}get detailLayout(){return this.contentProps.content.filter((e,s)=>s>2&&!e.settings.class.includes("cs-3d-link")?e:!1)}get bookmarker(){return w.createEmpty("bookmarker",{collection_title:"3D Model",collection:{link:"cancer_stages",_id:this.getContentAttribute("_id"),display:this.getContentAttribute("id")}})}getMappedCancerType(){return this.cancerTypeMapping[this.cancerType]}toggleDetails(){this.show_details=!this.show_details,this.show_details&&c.emit(g,this.id)}showDetailsBasedOnEvent(e){this.id!=e&&(this.show_details=!1)}hideMeBasedOnTNMRules(e){let s=!0;Array.isArray(this.contentProps.tnm_categories)&&this.contentProps.tnm_categories.forEach(n=>{n.t===e.t.key&&n.n===e.n.key&&n.m===e.m.key&&(s=!1)}),this.cancerType=e.type.key,this.show(!s),this.$nextTick(()=>
1this.showDetailsIfItsPrimary())}showDetailsIfItsPrimary(){const e=window.document.getElementsByClassName("cancer-stage"),s=Array.from(e).filter(a=>a?.style?.display!=="none").map(a=>a.id);!s.length||!(s[0]===this.contentProps.short_name)||(this.scrollToStage(),!this.show_details&&this.toggleDetails())}scrollToStage(){const e=T();this.$refs.cancerStage&&(this.$refs.cancerStage.style.scrollMarginTop=`${e}px`,this.$refs.cancerStage.scrollIntoView({behavior:"smooth",block:"start"}))}checkStorageFilters(){const e=this.storageFilters;return e.t.key&&e.n.key&&e.m.key}initializeBasedOnStorageFilters(){this.storageFilters&&this.checkStorageFilters()&&this.hideMeBasedOnTNMRules(this.storageFilters)}resetMyVisibility(){this.show(!0)}show(e){this.showMe=e,this.handleCSSForCancerStageParent(e)}handleCSSForCancerStageParent(e){let s=this.$refs.cancerStage;if(s){let n=s.parentNode;n.classList.contains("article-column")&&this.toggleCSSClassForCancerStageParent(e,n)}}toggleCSSClassForCancerStageParent(e,s){e?s.classList.remove("no-children"):s.classList.add("no-children")}};p=E([b({components:{BaseContent:B}})],p);const N=S(p),$={key:0,class:"skeleton__cancer-stage"},I=["id","data-component","data-id"],L={class:"container"},O={class:"cancer-stage-teaser row"},A={class:"cancer-stage-details row"},R={class:"row"},V={class:"col-12 text-end"},z={key:0},H={key:1};function U(t,e,s,n,a,i){const o=m("BaseContent"),f=m("DynamicCancerStageTypeVideoMapper");return t.contentLoaded?u((l(),h("div",{key:1,id:t.contentProps.short_name,ref:"cancerStage",class:_(["cancer-stage full-width",{open:t.show_details}]),"data-component":t.componentType,"data-id":t.internalId},[r("div",L,[r("div",O,[d(o,{parentComponent:t.layoutComponent,layout:t.teaserLayout},null,8,["parentComponent","layout"])]),u(r("div",A,[d(o,{parentComponent:t.layoutComponent,layout:t.detailLayout},null,8,["parentComponent","layout"]),d(f,{cancerStageId:t.contentProps._id,cancerType:t.getMappedCancerType(),shouldUpdate:t.show_details},null,8,["cancerStageId","cancerType","shouldUpdate"]),e[1]||(e[1]=r("div",{class:"col-12 mt-3"},null,-1))],512),[[y,t.show_details]]),r("div",R,[r("div",V,[r("button",{type:"button",class:_(["link btn btn-link",{"btn--arrow-down":!t.show_details,"btn--arrow-up":t.show_details}]),onClick:e[0]||(e[0]=G=>t.toggleDetails())},[t.show_details?(l(),h("span",H,"weniger")):(l(),h("span",z,"mehr")),e[2]||(e[2]=M(" über dieses Stadium ",-1))],2)])])])],10,I)),[[y,t.showMe]]):(l(),h("div",$))}const Y=v(N,[["render",U]]);export{Y 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.