PageSourceSearch

https://plus.rtl.de/9798-a870bdc4931bf766.bundle.js

js rtl.de collected 2026-09-24 08:30:04 UTC 11,776 bytes, 2 lines download raw bytes

1"use strict";(globalThis.__LOADABLE_LOADED_CHUNKS__||=[]).push([[9798],{43175(e,i,n){var t=n(93743);n.d(i,["B",0,({height:e,width:i,viewBox:n,fill:o,children:r,className:a,unit:c="em"})=>(0,t.o)("svg",{className:a,xmlns:"http://www.w3.org/2000/svg",style:{height:"em"===c?e/10+"em":e,width:"em"===c?i/10+"em":i},viewBox:n,fill:o,children:r})])},99730(e,i,n){var t=n(93743);n.d(i,["I",0,({position:e,show:i,children:n,defaultPosition:o,animateTop:r})=>{const a=e&&o?e.width/o.width:1,c=((e={enabled:!0,block:"none"})=>{const i=(0,t._)(null);return(0,t.p)(()=>{if(!e.enabled)return;let n=0,t=0,o=!1,r=!1;const a=e=>{1===e.touches.length&&(n=e.touches[0].clientY,t=e.touches[0].clientX,o=!1,r=!1)},c=i=>{if(1!==i.touches.length)return;const a=i.touches[0].clientY,c=i.touches[0].clientX,l=Math.abs(a-n),s=Math.abs(c-t);!o&&(s>5||l>5)&&(o=!0,r=s>l),o?r?("scroll-x"===e.block||"all"===e.block)&&i.preventDefault():("scroll-y"===e.block||"all"===e.block)&&i.preventDefault():i.preventDefault()};return i.current?.addEventListener("touchstart",a,{passive:!0}),i.current?.addEventListener("touchmove",c,{passive:!1}),()=>{i.current?.removeEventListener("touchstart",a),i.current?.removeEventListener("touchmove",c)}},[e.enabled]),i})({enabled:i,block:"scroll-y"});return(0,t.o)(t.I,{css:".animation-translate-top{animation-name:translate-top-animation;animation-duration:.6s;animation-fill-mode:backwards;animation-delay:.3s}@keyframes translate-top-animation{0%{top:var(--top-interaction-start)}to{top:var(--top-interaction-end)}}.interaction-wrapper{position:absolute;margin:0;pointer-events:none;box-sizing:border-box}",children:(0,t.o)("div",{ref:c,className:`interaction-wrapper ${r&&"animation-translate-top"}`,style:{top:e?.top?e?.top/(10*a)+"em":0,left:e?.left?e?.left/(10*a)+"em":0,width:e?.width?e?.width/(10*a
1)+"em":"100%",height:e?.height?e?.height/(10*a)+"em":"100%",transform:e?.rotation?`rotate(${e.rotation}deg)`:"",display:i?"flex":"none",fontSize:a&&1!==a?`${a}em`:void 0,"--top-interaction-start":e?.top?(e?.top+40)/(10*a)+"em":0,"--top-interaction-end":e?.top?e?.top/(10*a)+"em":0},children:n})})}])},79798(e,i,n){n.r(i);var t=n(90322),o=n(93743);const r=({interactionId:e,setInteractionBlockingState:i,data:n,show:r,onView:a,onEngage:c,onExit:l,onComplete:s,isContentActive:d,isVertical:u,...h})=>{const{chosenAnswer:m,onQuizClick:g}=(0,t.u)({interactionId:e,show:r,apiUrl:n.apiUrl,isPreview:!1,setInteractionBlockingState:i,onView:a,onEngage:c,onExit:l,onComplete:s,isContentActive:d,answersCount:n.answers.values.length,correctAnswerIndex:n.answers.values.findIndex(e=>e.id===n.idCorrectAnswer),isVertical:u});return(0,o.o)(t.Q,{...h,show:r,data:n,chosenAnswer:m,onQuizClick:g})};n.d(i,["QuizLiveController",0,r,"default",0,r])},502(e,i,n){n.d(i,["c",0,(e,i)=>void 0===i?i:i.replace(/[^,]+(?=\))/,e)])},61903(e,i,n){var t=n(93743),o=n(88207);n.d(i,["u",0,(e,{onView:i,onExit:n,onEngage:r,onComplete:a},c="ignored",{interactionEngageUrl:l,interactionEngageLabel:s}={})=>{const d=(0,t._)(!1),u=(0,t._)(c),h=(0,t._)(0),m=(0,o.a)(),g=e&&m;return(0,t.p)(()=>{g?("cancelled"===u.current?u.current="ignored":"ignored"!==u.current&&(u.current="already-completed"),d.current=!0,i?.({interactionEngageUrl:l,interactionEngageLabel:s,isAlreadyCompleted:"already-completed"===u.current}),h.current=0):d.current&&("engaged"===u.current&&(u.current="cancelled"),d.current=!1,n?.({interactionEngageUrl:l,interactionEngageLabel:s,exitState:u.current}))},[g,l,s]),(0,t.p)(()=>()=>{d.current&&("engaged"===u.current&&(u.current="cancelled"),n?.({interactionEngageUrl:l,interactionEngageLabel:s,exitState:u.current}))},[l,s]),{onEngage:e=>{"ignored"===u.current&&(u.current="engaged"),h.current++;const i=1===h.current;r?.({interactionEngageUrl:l,interactionEngageLabel:s,isFirstEngage:i,isAlreadyCompleted:"already-completed"===u.current,...e})},onComplete:e=>{"engaged"===u.current&&(u.current="completed");const i=h.current<=1;a?.({interactionEngageUrl:l,interactionEngageLabel:s,isFirstEngage:i,isAlreadyCompleted:"already-completed"===u.current,...e})}}}])},90322(e,i,n){var t=n(93743),o=n(99730),r=n(502),a=n(43175),c=n(61903),l=n(74776);const s=({chosenAnswer:e,isIdCorrect:i,index:n})=>void 0===e?"":i?"correct-answer":e===n?"incorrect-answer":"",d=({chosenAnswer:e,index:i})=>void 0===e?"":e===i?"chosen-answer":"not-chosen-answer",u=({height:e,width:i,mainColor:n})=>(0,t.o)(a.B,{width:i,height:e,viewBox:"0 0 20 20",fill:"none",children:(0,t.o)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.11616 9.99999L5.00005 14.1161C4.75597 14.3602 4.75597 14.7559 5.00005 15C5.24413 15.2441 5.63985 15.2441 5.88393 15L10 10.8839L14.1162 15C14.3602 15.2441 14.756 15.2441 15 15C15.2441 14.7559 15.2441 14.3602 15 14.1161L10.8839 9.99999L15 5.88387C15.2441 5.63979 15.2441 5.24406 15 4.99999C14.756 4.75591 14.3602 4.75591 14.1162 4.99999L10 9.1161L5.88393 4.99999C5.63985 4.75591 5.24412 4.75591 5.00005 4.99999C4.75597 5.24406 4.75597 5.63979 5.00005 5.88387L9.11616 9.99999Z",fill:n})}),h=({height:e,width:i,mainColor:n})=>(0,t.o)(a.B,{width:i,height:e,viewBox:"0 0 20 20",fill:"none",children:(0,t.o)("path",{d:"M16.6665 5.83334L8.07275 14.1667L4.1665 10.3788",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),m=["A","B","C","D","E"],g=({answer:e,font:i,color:n,index:o,idCorrectAnswer:a,backgroundMode:c="light",chosenAnswer:l,onQuizClick:g,isLast:p,show:w,animateChoice:f,nbAnswers:v})=>{const b=(0,t._)(null),z=e.value?e.value:`Choice ${o+1}`,y=e.id===a,k=(({chosenAnswer:e,isIdCorrect:i,index:n})=>({container:`${s({chosenAnswer:e,isIdCorrect:i,index:n})} ${d({chosenAnswer:e,isIdCorrect:i,index:n})}`}))({chosenAnswer:l,isIdCorrect:y,index:o}),x=v;return(0,t.y)(b,2,".choice-quiz-value-span",[w,i,z]),(0,t.o)(t.I,{css:".container-choice-quiz{width:calc(100% - 3.2em);height:4em;min-height:4em;max-height:4em;margin:0 auto;display:flex;padding:1.2em 1.4em 1.2em 1.2em;border-radius:4em;background:#14141433;align-items:center;flex:0;cursor:pointer;pointer-events:all}@keyframes quiz-choice-showcase-correct{0%,to{opacity:.5;transform:scale(1)}50%{opacity:1;transform:scale(1.03)}}@keyframes quiz-choice-initial-state{0%{opacity:.5}to{opacity:1;background-color:#14141433}}@keyframes quiz-choice-dark-initial-state{0%{opacity:.5}to{opacity:1;background-color:#0003}}.container-choice-quiz.animation-quiz-begin{animation-name:quiz-choice-showcase-correct,quiz-choice-initial-state;animation-duration:.7s,.6s;animation-fill-mode:forwards;box-shadow:0 .1em .4em #00000040;background-color:#1414144d;opacity:.5}.container-choice-quiz.dark.animation-quiz-begin{background-color:#0000004d;animation-name:quiz-choice-showcase-correct,quiz-choice-dark-initial-state}.container-choice-quiz.correct-answer,.container-choice-quiz.dark.correct-answer{background:#00ad5a}.container-choice-quiz.incorrect-answer,.container-choice-quiz.dark.incorrect-answer{background:#e63b38}.container-choice-quiz.not-chosen-answer{opacity:.5}.container-choice-quiz.margin-bottom{margin-bottom:1.2em}*.chosen-answer{animation-name:choice-grow;animation-duration:.6s}.container-choice-quiz.dark{background:#0003}.letter-index-choice-quiz{font-size:1.6em;font-family:Montserrat_400;margin:0}.choice-quiz-value{line-height:normal;margin:0;font-size:1.6em}.choice-quiz-value.italic{font-style:italic}.choice-quiz-value.underline{text-decoration:underline}.letter-index-wrapper-quiz{display:flex;width:2.6em;height:2.6em;min-width:2.6em;min-height:2.6em;border-radius:3.8em;border:1px solid rgba(0,0,0,.3);justify-content:center;align-items:center;margin-right:1em}.letter-index-wrapper-quiz.dark{border:1px solid rgba(255,255,255,.3)}@keyframes choice-grow{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}",children:(0,t.o)("div",{ref:b,className:`container-choice-quiz ${c}  ${k.container} ${!p&&"margin-bottom"} ${f&&"animation-quiz-begin"}\n                    `,onClick:()=>{g(o)},style:f?{animationDelay:`${.5+.5*o}s, ${.5+.5*x}s`}:{},children:[(0,t.o)("div",{className:`letter-index-wrapper-quiz ${c}`,style:{borderColor:(0,r.c)("0.3",n)}
1,children:void 0===l?(0,t.o)("p",{className:"letter-index-choice-quiz",style:{color:n,fontFamily:i.fontFamily},children:m[o]}):y?(0,t.o)(h,{height:20,width:20,mainColor:"dark"===c?"#fff":"#000"}):(0,t.o)(u,{height:20,width:20,mainColor:"dark"===c?"#fff":"#000"})}),(0,t.o)("div",{className:`choice-quiz-value ${i.emphasis?.italic?"italic":""} ${i.emphasis?.underline?"underline":""}`,style:{fontFamily:i.fontFamily,fontSize:(i.fontSize??0)/10+"em",color:n},children:(0,t.o)("span",{className:"choice-quiz-value-span","data-original-text":(0,t.w)(z),children:(0,t.w)(z)})})]})})};n.d(i,["Q",0,({position:e,defaultPosition:i,show:n,data:a,chosenAnswer:c,onQuizClick:l,animate:s})=>{const d=(0,t._)(null),{backgroundMode:u,color:h,title:m,answers:p,idCorrectAnswer:w}=a??{};(0,t.y)(d,3,".quiz-title-span",[d,m?.font,m?.value,n]);const f="number"!=typeof c&&s;return(0,t.o)(t.I,{css:".container-quiz{display:flex;flex-direction:column;height:100%;width:100%;padding:2.2em 0;backdrop-filter:blur(50px);-webkit-backdrop-filter:blur(50px);border-radius:1.6em;border:1px solid rgba(255,255,255,.15);box-sizing:border-box}.container-quiz.animate-fade-in{animation-name:animation-fade-in-quiz;animation-duration:.6s;animation-fill-mode:backwards;animation-delay:.2s}@keyframes animation-fade-in-quiz{0%{opacity:0}to{opacity:1}}.wrapper-quiz-title{width:100%;padding:0 1.6em;margin-bottom:2.2em}.quiz-title{font-size:1.6em;text-align:center;letter-spacing:0;line-height:normal;margin:-.1em 0;padding:.1em 0}.quiz-title.italic{font-style:italic}.quiz-title.underline{text-decoration:underline}.quiz-choices-wrapper{display:flex;flex-direction:column;width:100%;flex:1}",children:(0,t.o)(o.I,{show:n,position:e,defaultPosition:i,animateTop:f,children:(0,t.o)("div",{ref:d,className:`container-quiz ${f&&"animate-fade-in"}`,style:{background:(0,r.c)("0.4",h)},children:[(0,t.o)("div",{className:"wrapper-quiz-title",children:(0,t.o)("div",{className:`quiz-title ${m?.font.emphasis?.italic?"italic":""} ${m?.font.emphasis?.underline?"underline":""}`,style:{color:m?.color,fontFamily:m?.font.fontFamily,fontSize:(m?.font.fontSize??0)/10+"em"},children:(0,t.o)("span",{className:"quiz-title-span","data-original-text":(0,t.w)(m?.value),children:(0,t.w)(m?.value)})})}),(0,t.o)("div",{className:"quiz-choices-wrapper",children:p?.values.map((e,i)=>(0,t.o)(g,{answer:e,font:p.font,color:p.color,idCorrectAnswer:w,index:i,backgroundMode:u,chosenAnswer:c,onQuizClick:l,isLast:i===p.values.length-1,show:n,animateChoice:f,nbAnswers:p.values.length},e.id))})]})})})},"u",0,({show:e,interactionId:i,apiUrl:n,isPreview:o=!0,setInteractionBlockingState:r,isContentActive:a=!0,answersCount:s,correctAnswerIndex:d,isVertical:u,...h})=>{const[m,g]=(0,l.u)(i),[p,w]=(0,t.h)(()=>m()),{onEngage:f,onComplete:v}=(0,c.u)(e&&a,h,void 0!==p?"already-completed":"ignored");return(0,t.p)(()=>{r?.(!u&&e&&void 0===p)},[e,u]),(0,t.p)(()=>{!e||void 0===p||r&&setTimeout(()=>{r(!1)},1e3)},[e,p]),{onQuizClick:e=>{void 0!==m()||!n||void 0===p&&(f({engageType:"quiz-click",interactionEngageValue1:e.toString(),interactionEngageValue2:s.toString(),isCompletionEngage:!0}),o||fetch(`${n}/trash/not-useful`,{method:"POST",body:JSON.stringify({option_selected:e})}).then(()=>{v({engageType:"quiz-click",interactionEngageValue1:(e===d).toString()}),g(e)}),w(e))},chosenAnswer:p}}])},74776(e,i,n){const t="join-interactions-vote",o=()=>{try{return JSON.parse(localStorage.getItem(t)??"{}")}catch(e){return console.error("Error getting votes",e),{}}};n.d(i,["u",0,e=>[()=>o()[e],i=>{(e=>{try{localStorage.setItem(t,JSON.stringify(e))}catch(e){console.error("Error persisting votes",e)}})({...o(),[e]:i})}]])}}]);
2//# sourceMappingURL=sourcemaps/9798-a870bdc4931bf766.bundle.js.map

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.