PageSourceSearch

https://plus.rtl.de/7961-29e3a8debd813d1a.bundle.js

js rtl.de collected 2026-09-24 08:29:48 UTC 16,884 bytes, 2 lines download raw bytes

1"use strict";(globalThis.__LOADABLE_LOADED_CHUNKS__||=[]).push([[7961],{99730(e,o,t){var i=t(93743);t.d(o,["I",0,({position:e,show:o,children:t,defaultPosition:n,animateTop:a})=>{const r=e&&n?e.width/n.width:1,l=((e={enabled:!0,block:"none"})=>{const o=(0,i._)(null);return(0,i.p)(()=>{if(!e.enabled)return;let t=0,i=0,n=!1,a=!1;const r=e=>{1===e.touches.length&&(t=e.touches[0].clientY,i=e.touches[0].clientX,n=!1,a=!1)},l=o=>{if(1!==o.touches.length)return;const r=o.touches[0].clientY,l=o.touches[0].clientX,s=Math.abs(r-t),c=Math.abs(l-i);!n&&(c>5||s>5)&&(n=!0,a=c>s),n?a?("scroll-x"===e.block||"all"===e.block)&&o.preventDefault():("scroll-y"===e.block||"all"===e.block)&&o.preventDefault():o.preventDefault()};return o.current?.addEventListener("touchstart",r,{passive:!0}),o.current?.addEventListener("touchmove",l,{passive:!1}),()=>{o.current?.removeEventListener("touchstart",r),o.current?.removeEventListener("touchmove",l)}},[e.enabled]),o})({enabled:o,block:"scroll-y"});return(0,i.o)(i.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,i.o)("div",{ref:l,className:`interaction-wrapper ${a&&"animation-translate-top"}`,style:{top:e?.top?e?.top/(10*r)+"em":0,left:e?.left?e?.left/(10*r)+"em":0,width:e?.width?e?.width/(10*r)+"em":"100%",height:e?.height?e?.height/(10*r)+"em":"100%",transform:e?.rotation?`rotate(${e.rotation}deg)`:"",display:o?"flex":"none",fontSize:r&&1!==r?`${r}em`:void 0,"--top-interaction-start":e?.top?(e?.top+40)/(10*r)+"em":0,"--top-interaction-end":e?.top?e?.top/(10*r)+"em":0},children:t})})}])},96582(e,o,t){var i=t(93743),n=t(99730),a=t(502);const r=({height:e,width:o,emojiName:t})=>(0,i.o)(i.I,{css:".emoji-poll-wrapper{position:relative;overflow:hidden;display:flex;justify-content:center;align-items:center}.emoji-image{width:100%;height:100%;position:absolute;object-fit:cover;background-color:transparent}",children:(0,i.o)("div",{className:"emoji-poll-wrapper",style:{width:o,height:e},children:(0,i.o)("img",{alt:`Poll emoji - ${t}`,className:"emoji-image",src:`https://images.join-stories.com/cdn-cgi/image/quality=70,dpr=2,format=auto,width=32,fit=cover/emojis/${t}.png`})})}),l=({progress:e,backgroundMode:o})=>(0,i.o)(i.I,{css:".progress-container{width:100%;height:100%;border-radius:8px;overflow:hidden;position:absolute}.progress-bar{height:100%;background-color:#00000026;transition:width .3s ease-in-out}.progress-bar.dark{background-color:#ffffff26}",children:(0,i.o)("div",{className:"progress-container",children:(0,i.o)("div",{className:`progress-bar ${o}`,style:{width:`${e}%`}})})}),s=({emoji:e,textValue:o,font:t,pollStyle:n,color:s,backgroundColor:c,backgroundMode:m,showPercentageAnswers:h,index:d,chosenIndex:p,progress:f,onChoiceClick:u,isLast:g,animateChoice:b})=>{const w=h?"showPercent":"hidePercent",y=p===d,x=void 0!==p,{containerClasses:v,percentWrapperClasses:k,textClasses:$,textWrapperClasses:C}=((e,o)=>({containerClasses:"showPercent"===e?"show-percent":o?"chosen-hide-percent":"not-chosen-hide-percent",textWrapperClasses:"showPercent"===e?"clicked":"",textClasses:"showPercent"===e?"":o?"chosen-hide-percent":"",percentWrapperClasses:"showPercent"===e?"result":""}))(w,y);return(0,i.o)(i.I,{css:".choice-container-binary-poll{display:flex;justify-content:center;align-items:center;border-radius:10em;backdrop-filter:blur(8.5px);-webkit-backdrop-filter:blur(8.5px);box-shadow:0 4em 4em #00000040;flex-grow:1;overflow:hidden;cursor:pointer;position:relative;margin:0 auto;width:calc(100% - 1em);height:4.4em;min-height:4.4em;transition:opacity .3s ease-in-out;box-sizing:border-box;pointer-events:all}@keyframes width-grow{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}.choice-container-binary-poll.margin-bottom{margin-bottom:.6em}.choice-container-binary-poll.chosen-hide-percent{animation-name:width-grow;animation-duration:.6s}.choice-container-binary-poll.not-chosen-hide-percent{opacity:.5}@keyframes animate-opacity-binary{0%{opacity:0}
1to{opacity:.5}}@keyframes animate-choice-showcase{0%,to{opacity:.5}50%{opacity:1;transform:scale(1.05)}}@keyframes binary-choice-initial-state{0%{opacity:.5}to{opacity:1}}.choice-container-binary-poll.animate-choice-showcase{animation-name:animate-opacity-binary,animate-choice-showcase,binary-choice-initial-state;animation-duration:.5s,.7s,.7s;animation-fill-mode:forwards}.choice-wrapper-move{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:left .3s ease-in-out;overflow:hidden;max-width:calc(100% - 3.2em)}.choice-wrapper-move.clicked{top:50%;left:calc(0% + 1.2em);text-align:start;transform:translateY(-50%);max-width:calc(100% - 6.8em)}.choice-percent-binary{position:absolute;top:100%;right:1.2em;transform:translateY(-20%);opacity:0;transition:top .3s ease-in-out,opacity .3s ease-in-out}.choice-percent-binary.result{top:50%;right:1.2em;transform:translateY(-50%);opacity:1}.percent-response-binary{text-align:center;font-style:normal;line-height:normal;margin:0}.choice-p{color:#0f0f0f;text-align:center;text-overflow:ellipsis;font-family:Montserrat;font-size:1.4em;font-style:normal;font-weight:500;letter-spacing:0;line-height:normal;margin:0;white-space:nowrap;overflow:hidden;width:100%}@keyframes font-size-grow{0%,to{font-size:1.4em}50%{font-size:1.5em}}.choice-p.chosen-hide-percent{font-weight:700;animation-name:font-size-grow;animation-duration:.6s}.choice-p.italic{font-style:italic}.choice-p.underline{text-decoration:underline}",children:(0,i.o)("div",{className:`choice-container-binary-poll ${x?v:""} ${!g&&"margin-bottom"} ${b&&"animate-choice-showcase"}`,style:{backgroundColor:(0,a.c)("0.7",c),...b?{animationDelay:`0s, ${.4+.45*d}s, 1.25s`}:{}},onClick:()=>{u(d)},children:[(0,i.o)("div",{className:`choice-wrapper-move ${x?C:""}`,style:{},children:"emoji"===n?(0,i.o)(r,{height:"2.4em",width:"2.4em",emojiName:e?.emojiName}):(0,i.o)("p",{className:`choice-p ${t?.emphasis?.italic?"italic":""} ${t?.emphasis?.underline?"underline":""} ${y?$:""} `,style:{color:s,fontSize:(t?.fontSize??0)/10+"em",fontFamily:t?.fontFamily},children:(0,i.w)(o)})}),h&&(0,i.o)("div",{className:`choice-percent-binary ${x?k:""}`,children:(0,i.o)("p",{className:"percent-response-binary",style:{color:s,fontSize:(t?.fontSize??0)/10+"em",fontFamily:t?.fontFamily},children:[f,"%"]})}),h?(0,i.o)(l,{progress:x?f:0,backgroundMode:m}):null]})})},c=({position:e,defaultPosition:o,show:t,data:a,widget:r,animate:l})=>{const c=(0,i._)(null),{title:m,choices:h,backgroundMode:d,color:p,showPercentageAnswers:f}=a??{},u=h?.textValues.value1.text||"Choice 1",g=h?.textValues.value2.text||"Choice 2",b=[{emoji:h?.emojiValues.emoji1,textValue:u},{emoji:h?.emojiValues.emoji2,textValue:g}],{chosenIndex:w}=r,y="number"!=typeof w&&l;return(0,i.y)(c,3,".title-binary-poll-overflow",[c,m?.font,m?.value,t]),(0,i.o)(i.I,{css:".container-binary-poll{display:flex;flex-direction:column;height:100%;width:100%}.title-binary-poll{color:#fff;text-align:center;text-shadow:0 1px 1px rgba(0,0,0,.32);font-style:normal;font-weight:600;letter-spacing:0;line-height:normal;margin:0}.title-binary-poll.animation-opacity{animation-name:animation-title;animation-duration:.6s;animation-fill-mode:backwards}@keyframes animation-title{0%{opacity:0}to{opacity:1}}.choices-wrapper-binary-poll{display:flex;flex-direction:column;min-height:0}.title-binary-poll.italic{font-style:italic}.title-binary-poll.underline{text-decoration:underline}",children:(0,i.o)(n.I,{show:t,position:e,defaultPosition:o,animateTop:y,children:(0,i.o)("div",{ref:c,className:"container-binary-poll",children:[(0,i.o)("div",{style:{marginBottom:"1.2em"},children:(0,i.o)("div",{className:`title-binary-poll ${m?.font.emphasis?.italic?"italic":""} ${m?.font.emphasis?.underline?"underline":""} ${y&&"animation-opacity"}`,style:{fontFamily:m?.font.fontFamily,fontSize:(m?.font.fontSize??0)/10+"em",color:m?.color},children:(0,i.o)("span",{className:"title-binary-poll-overflow","data-original-text":(0,i.w)(m?.value),children:(0,i.w)(m?.value)})})}),(0,i.o)("div",{className:"choices-wrapper-binary-poll",children:b.map((e,o)=>(0,i.o)(s,{emoji:e.emoji,textValue:e.textValue,index:o,font:h?.textValues.font,color:h?.textValues.color,pollStyle:h?.pollStyle,backgroundColor:p,backgroundMode:d,showPercentageAnswers:f,chosenIndex:r.chosenIndex,onChoiceClick:r.onInteractionClick,progress:r.progress?.[o],isLast:1===o,animateChoice:y},o))})]})})})},m=({showPercentageAnswers:e,index:o,chosenIndex:t,backgroundMode:n,choices:a,choice:r,handleClickProgress:s,choicesProgress:c,isLast:m,show:h,animateChoices:d})=>{const p=(0,i._)(null),{choiceContainerClasses:f}=((e,o)=>({choiceContainerClasses:e?"":o?"chosen-multiple-hide-percent":"not-chosen-multiple-hide-percent",textClasses:""}))(e,o===t),u=r.value?r.value:`Choice ${o+1}
1`,g=a?.font,b=(a?.font.fontSize??0)/10+"em",w=a?.values.length??1,y="number"==typeof t,x=`${Math.round(c[o]??0)}%`,v=`${(0,i.w)(u)}${e&&y?` ${x}`:""}`;return(0,i.y)(p,2,".choice-span",[g,u,h]),(0,i.o)("div",{ref:p,className:`choice-global-wrapper ${n} ${"number"==typeof t&&f} ${!m&&"margin-bottom"} ${d&&"chosen-mutliple-begin"}`,style:d?{animationDelay:`${.4+.5*o}s, ${.4+.5*w}s`}:{},onClick:()=>{s(o)},children:[e&&(0,i.o)(l,{progress:y?c[o]:0,backgroundMode:n}),(0,i.o)("button",{className:`choice-wrapper ${n}`,"aria-label":v,children:[(0,i.o)("div",{className:`choice ${e?"show-percentage":""} ${a?.font.emphasis?.italic?"italic":""} ${a?.font.emphasis?.underline?"underline":""} `,style:{fontFamily:a?.font.fontFamily,fontSize:b,color:a?.color,flexGrow:1,minWidth:0},children:(0,i.o)("span",{className:"choice-span","data-original-text":(0,i.w)(u),children:(0,i.w)(u)})}),(0,i.o)("p",{className:"choice-percent "+(e&&y?"show-result":""),style:{fontFamily:a?.font.fontFamily,fontSize:b,color:a?.color},children:x})]})]})},h=({position:e,defaultPosition:o,show:t,data:r,widget:l,animate:s})=>{const{backgroundMode:c,title:h,choices:d,color:p,showTotalVotes:f,showPercentageAnswers:u}=r??{},g=(0,i._)(null),{progress:b,onInteractionClick:w,totalVotes:y,chosenIndex:x}=l,v=(h?.font.fontSize??1)/10,k=s&&"number"!=typeof x;return(0,i.y)(g,3,".title-multiple-polls-span",[g,h?.font,h?.value,t]),(0,i.o)(i.I,{css:".container-polls{display:flex;flex-direction:column;padding:2.2em 0 1.2em;border-radius:1.6em;border:1px solid rgba(255,255,255,.15);backdrop-filter:blur(50px);-webkit-backdrop-filter:blur(50px);width:100%;height:100%;position:relative;align-items:center;box-sizing:border-box}.container-polls.animate-fade-in{animation-name:animation-fade-in-multiple-poll;animation-duration:.6s;animation-fill-mode:backwards;animation-delay:.2s}@keyframes animation-fade-in-multiple-poll{0%{opacity:0}to{opacity:1}}.container-polls.big-padding-bottom{padding-bottom:2.4em}.container-polls.small-padding-bottom{padding-bottom:1.2em}.container-polls.dark{background:#14141466}.container-choices{display:flex;flex-direction:column;width:100%;align-items:center;margin-top:2.2em}.container-choices.margin-bottom{margin-bottom:2.2em}.choice-wrapper{text-align:initial;background-color:transparent;border-radius:.8em;width:100%;height:100%;padding:0 .8em 0 1.2em;cursor:pointer;display:flex;flex-grow:1;min-height:0;align-items:center;box-sizing:border-box;position:relative}.choice-global-wrapper{background-color:#0003;border-radius:.8em;width:calc(100% - 3.2em);height:4em;min-height:4em;max-height:4em;cursor:pointer;display:flex;flex:0;overflow:hidden;align-items:center;position:relative;-webkit-user-select:none;user-select:none;transition:box-shadow .6s ease-in-out,background-color .6s ease-in-out,opacity .6s ease-in-out;pointer-events:all}@keyframes choice-grow{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}.choice-global-wrapper.chosen-multiple-hide-percent{animation-name:choice-grow;animation-duration:.6s;box-shadow:0 .1em .4em #00000040;background-color:#0000004d}.choice-global-wrapper.dark{background-color:#fff3}.choice-global-wrapper.dark.chosen-multiple-hide-percent{background-color:#ffffff4d}.choice-global-wrapper.not-chosen-multiple-hide-percent{opacity:.5}@keyframes choice-showcase-correct{0%,to{opacity:.5;transform:scale(1)}50%{opacity:1;transform:scale(1.05)}}@keyframes choice-initial-state{0%{opacity:.5}to{opacity:1;background-color:#0003}}@keyframes choice-dark-initial-state{0%{opacity:.5}to{opacity:1;background-color:#fff3}}.choice-global-wrapper.chosen-mutliple-begin{animation-name:choice-showcase-correct,choice-initial-state;animation-duration:.7s,.6s;animation-fill-mode:forwards;box-shadow:0 .1em .4em #00000040;background-color:#0000004d;opacity:.5}.choice-global-wrapper.dark.chosen-mutliple-begin{background-color:#ffffff4d;animation-name:choice-showcase-correct,choice-dark-initial-state}.choice-global-wrapper.margin-bottom{margin-bottom:1.2em}.choice-percent{position:absolute;top:100%;right:.8em;transform:translateY(-20%);opacity:0;transition:top .2s ease-in-out,opacity .3s ease-in-out;margin:0}.choice-percent.show-result{top:50%;right:.8em;transform:translateY(-50%);opacity:1}.choice-wrapper.dark{background:#fff3}.title-multiple-polls{color:#000;text-align:center;font-family:Montserrat_600;font-size:1.6em;font-style:normal;font-weight:600;letter-spacing:0;line-height:normal;margin:0 0 -2px;width:calc(100% - 2em);padding-bottom:2px}.title-multiple-polls.italic,.choice.italic{font-style:italic}.title-multiple-polls.underline,.choice.underline{text-decoration:underline}.choice{color:#000;font-family:Montserrat;font-size:1.4em;font-style:normal;font-weight:500;letter-spacing:0;line-height:1;margin:0;width:100%;max-width:100%;transition:max-width .2s ease-in-out}.choice.show-percentage{max-width:calc(100% - 2.8em)}.votes{color:#000c;font-family:Montserrat;font-size:1.2em;font-style:normal;font-weight:400;letter-spacing:0;line-height:normal;margin:0}.votes.dark{color:#fffc}.votes-wrapper{display:flex;justify-content:flex-end;align-items:flex-start;align-self:stretch;width:calc(100% - 3.2em);margin:0 auto}",children:(0,i.o)(n.I,{show:t,position:e,defaultPosition:o,animateTop:k,children:(0,i.o)("div",{ref:g,className:`container-polls ${f?"small-padding-bottom":"big-padding-bottom"} ${k&&"animate-fade-in"}`,style:{backgroundColor:(0,a.c)("0.4",p)},children:[(0,i.o)("div",{id:"title-multiple-polls",className:`title-multiple-polls ${h?.font.emphasis?.italic?"italic":""} ${h?.font.emphasis?.underline?"underline":""}`,style:{fontFamily:h?.font.fontFamily,fontSize:`${v}em`,width:`calc(100% - ${3.2/v}em)`,color:h?.color},children:(0,i.o)("span",{className:"title-multiple-polls-span","data-original-text":(0,i.w)(h?.value),children:(0,i.w)(h?.value)})}),(0,i.o)("div",{className:`container-choices ${f&&"margin-bottom"}`,children:d?.values.map((e,o)=>(0,i.o)(m,{backgroundMode:c,choice:e,choices:d,choicesProgress:b,handleClickProgress:w,index:o,chosenIndex:x,showPercentageAnswers:u,isLast:o===d.values.length-1,show:t,animateChoices:k},e.id))}),f&&(0,i.o)("div",{className:"votes-wrapper",children:(0,i.o)("p",{className:`votes ${c}`,style:{fontFamily:d?.font.fontFamily},children:[y," ",y>1?"votes":"vote"]})})]})})})};t.d(o,["P",0,({type:e,data:o,show:t,position:n,defaultPosition:a,widget:r,animate:l})=>{switch(e){case"multiplePoll":return(0,i.o)(h,{data:o,show:t,widget:r,position:n,defaultPosition:a,animate:l});case"binaryPoll":return(0,i.o)(c,{data:o,show:t,widget:r,position:n,defaultPosition:a,animate:l});default:return null}}])},97961(e,o,t){t.r(o);var i=t(93743),n=t(96582);const a=({setInteractionBlockingState:e,data:o,type:t,show:a,position:r,defaultPosition:l,animate:s})=>{const c="multiplePoll"===t?o.choices.values.length:2,{progress:m,onInteractionClick:h,totalVotes:d,chosenIndex:p}=(({show:e,numberChoices:o,setInteractionBlockingState:t})=>{const[n,a]=(0,i.h)(()=>Array(o).fill(0)),[r,l]=(0,i.h)(843),[s,c]=(0,i.h)();return(0,i.p)(()=>{t?.(e&&void 0===s)},[e]),{progress:n,onInteractionClick:e=>{void 0===s&&(l(e=>e+1),a((({lengthOptions:e})=>Array(e).fill(0).reduce((o,t,n)=>{if(n===e-1)return{total:100,values:[...o.values,100-o.total]};const a=Math.max(0,100-o.total),r=(0,i.z)(a);return{total:o.total+r,values:[...o.values,r]}},{total:0,values:[]}).values)({lengthOptions:n.length})),c(e),t&&setTimeout(()=>{t(!1)},1e3))},totalVotes:r,chosenIndex:s}})({show:a,numberChoices:c,setInteractionBlockingState:e});return(0,i.o)(n.P,{type:t,data:o,show:a,widget:{progress:m,onInteractionClick:h,totalVotes:d,chosenIndex:p},position:r,defaultPosition:l,animate:s})};t.d(o,["PollPreviewController",0,a,"default",0,a])},502(e,o,t){t.d(o,["c",0,(e,o)=>void 0===o?o:o.replace(/[^,]+(?=\))/,e)])}}]);
2//# sourceMappingURL=sourcemaps/7961-29e3a8debd813d1a.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.