(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5268],{72024:function(e,t,i){"use strict";i.d(t,{u:function(){return m}});var a,r,s=i(53197),n=i(94727),l=i(36672),c=i(84194);(a=r||(r={})).SMALL="small",a.MEDIUM="medium",i(75506);var d=i(56981),o=i.n(d);let m=e=>{let t,{title:i,content:a,cover:d,player:m,size:u=r.MEDIUM}=e;return d&&(t={type:"image",mediaProps:{...d,frameClass:"medium"===u?"C469":"C429",responsiveData:"medium"===u?void 0:[{breakpoint:480,frameClass:"C494"}]}}),m&&(t={type:"video",mediaProps:{data:m}}),(0,s.jsxs)("aside",{className:(0,l.c)("text-block","article-embed-text-block","article-embed-text-block--".concat(u)),children:[!!i&&(0,s.jsx)(c.Dx,{component:"h2",preset:o()["".concat(u,"-title")],dangerouslySetInnerHTML:{__html:i}}),d&&(0,s.jsx)(n.F,{...t}),(0,s.jsx)(c.uT,{preset:o()["".concat(u,"-body")],dangerouslySetInnerHTML:{__html:a}})]})}},5268:function(e,t,i){"use strict";i.r(t),i.d(t,{ArticleEmbed:function(){return eP}});var a,r,s,n,l,c,d=i(53197),o=i(30707),m=i.n(o),u=i(72024),h=i(81984),p=i(36672),x=i(84194);(a=n||(n={})).SURFACE="surface",a.NO_SURFACE="noSurface",(r=l||(l={})).SMALL="small",r.MEDIUM="medium",i(96599);var b=i(60239),g=i.n(b);let v=e=>{let{surface:t=n.NO_SURFACE,size:i=l.MEDIUM,content:a=""}=e,r=t===n.NO_SURFACE?(0,d.jsx)(h.iz,{$accentWidth:"medium",$accentPosition:"center",$variants:"with_accented"}):null;return(0,d.jsxs)("em",{"data-testid":"text-highlights",children:[r,(0,d.jsx)(x.uT,{className:(0,p.c)("text-highlight","article-embed-text-highlights__content","article-embed-text-highlights__content--".concat({surface:"surface",noSurface:"no-surface"}[t])),component:"div",dangerouslySetInnerHTML:{__html:a},preset:g()[i]}),r]})};var j=i(59657),f=i(12085);let w=()=>(0,d.jsx)("svg",{width:"80",height:"60",viewBox:"0 0 80 60",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,d.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M42.8781 1.07277V32.3297C42.8781 32.9216 43.3739 33.4015 43.9856 33.4015H54.2703C55.0589 33.4015 55.5948 34.1765 55.294 34.882L45.2178 58.5205C44.9171 59.226 45.4529 60.001 46.2415 60.001H61.6895C62.0659 60.001 62.4165 59.8159 62.6204 59.5097L79.8235 33.6666C79.9387 33.4935 80 33.292 80 33.0861V1.07277C80 0.480876 79.5042 0.000976562 78.8926 0.000976562H43.9855C43.3738 0.000976562 42.8781 0.480776 42.8781 1.07277ZM0 1.07277V32.3297C0 32.9216 0.495792 33.4015 1.10743 33.4015H11.3887C12.1782 33.4015 12.7141 34.1782 12.4115 34.884L2.3441 58.3673C2.04156 59.0731 2.57745 59.8498 3.36696 59.8498H18.8113C19.1877 59.8498 19.5384 59.6647 19.7422 59.3585L36.9454 33.5154C37.0606 33.3423 37.1219 33.1408 37.1219 32.9349V1.07277C37.1219 0.480876 36.6261 0.000976562 36.0144 0.000976562H1.10743C0.495792 0.000976562 0 0.480776 0 1.07277Z"})});var k=i(72005),y=i.n(k);i(47280);let _=e=>{let{author:t,cite:i,surface:a=!1,children:r,size:s}=e,n=(0,j.useRef)(null),[l,c]=(0,j.useState)(0);return(0,f.G)(()=>{if(n.current){var e,t;c(null!==(t=null===(e=n.current.textContent)||void 0===e?void 0:e.length)&&void 0!==t?t:0)}},[r,n]),(0,d.jsxs)("blockquote",{role:"blockquote",cite:i,className:(0,p.c)("quote","ids-quote","ids-quote--".concat(a?"surface":"nosurface","--").concat(l>=150?"long":"short","--").concat(s)),children:[(0,d.jsx)(w,{}),"string"==typeof r?(0,d.jsx)("span",{ref:n,dangerouslySetInnerHTML:{__html:r},className:"link"}):(0,d.jsx)("span",{ref:n,className:"link",children:r}),(0,d.jsx)(h.iz,{$variants:"only_accented",$thickness:"small"}),t&&(0,d.jsx)(x.xv,{preset:y()[s],component:"footer",className:"ids-quote__footer",children:t})]})};var E=i(33457),z=i(65468),I=i(1753);i(20898);let N=e=>{let{id:t,size:i,params:a}=e,{hideTitle:r,coverLeft:s,coverRight:n,sliderPosition:l}=a,[c,o]=(0,j.useState)(!1),m=(0,j.useRef)(null);return((0,j.useEffect)(()=>{var e,t;let a=window;if(c&&(null===(t=a.Inpl)||void 0===t?void 0:null===(e=t.Magazine)||void 0===e?void 0:e.Comparator)&&m.current&&s&&n){let e=m.current.querySelector(".embed-comparator-container");if(!e){console.error("Comparator container not found");return}let t="small"===i?"C122":"C125";try{new a.Inpl.Magazine.Comparator({element:e,imgLeftPath:"".concat(s.host,"/").concat(s.attachmentId,"-").concat(t,".").concat(s.extension),imgRightPath:"".concat(n.host,"/").concat(n.attachmentId,"-").concat(t,".").concat(n.extension),imgSize:{width:parseInt(n.width),height:parseInt(n.height)},initialPosition:parseInt(l),onHandleDeactivate:function(e){(0,I.dm)({ec0:"Komparator",ec1:"-",ec2:"klik",ec3:"move",ec4:null==e?void 0:e.handlePosition})}})}catch(e){console.error("Failed to initialize the comparator:",e)}}},[c,s,n,l,i]),s&&n)?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(E.w2,{libraryName:"inpl.magazine",resourceName:"inpl.magazine-comparator",isInpl:!0,onLoad:()=>o(!0)}),(0,d.jsx)(h.iz,{$variants:"only_accented",$thickness:"large"}),(0,d.jsxs)("div",{ref:m,id:t,draggable:"false",className:"embed-comparator embed-comparator-wrapper ".concat(i),children:[(0,d.jsx)("div",{className:"embed-comparator-container"}),(0,d.jsx)("div",{className:"embed-work-detail",children:s&&n&&(0,d.jsx)(z.T,{description:s.alt,author:!r&&(s.author||n.author)?[s.author,n.author]:void 0,source:r?void 0:[s.source,n.source],size:i})}),(0,d.jsx)("span",{className:"embed-comparator-square"})]})]}):null};i(44285);let T=e=>{let[t,i]=j.useState(!0);return(0,j.useEffect)(()=>{let t=document.querySelector('script[src="'.concat(e,'"]'));if(t){if("ready"===t.getAttribute("data-status")){i(!1);return}if("loading"===t.getAttribute("data-status")){setTimeout(()=>i(!1),300);return}}if(!t){let t=document.createElement("script");t.setAttribute("src","https://platform.twitter.com/widgets.js"),t.setAttribute("async","true"),t.setAttribute("data-status","loading"),t.onload=()=>{t.setAttribute("data-status","ready"),i(!1),console.info("useScript::onLoad(".concat(e,"): successfully loaded script"))},t.onerror=()=>{t.setAttribute("data-status","error"),console.error("useScript::onError(".concat(e,"): failed to load script"))},document.head.appendChild(t)}},[e]),[t]},S=e=>{let{tweetId:t,username:i,text:a,createdAt:r}=e;return(0,d.jsxs)("blockquote",{"data-lang":"pl",children:[a&&(0,d.jsx)("p",{children:a}),"—"," ",(0,d.jsxs)("a",{href:"https://twitter.com/".concat(i,"/status/").concat(t),children:["@",i," ",r&&(0,p.p6)(r)]})]})},L=e=>{let{tweetId:t,username:i,createdAt:a,text:r,options:s={lang:"pl"},placeholder:n=S,onLoad:l}=e,c=(0,j.useRef)(null),[o]=T("https://platform.twitter.com/widgets.js"),[m,u]=j.useState(!0);return(0,j.useEffect)(()=>{let e=!0;if(!o){if(e&&c.current&&m){var i;if(!(null===(i=window.twttr)||void 0===i?void 0:i.widgets.createTweet))return console.error("TwitterEmbed::createTweet: Aborting render, missing method in twttr.widget api");let e="string"==typeof t?t.split("?")[0]:t;window.twttr.widgets.createTweet(e,c.current,s).then(e=>{u(!1),l&&l(e)})}return()=>{e=!1}}},[t,o]),(0,d.jsxs)(j.Fragment,{children:[m&&("function"==typeof n?n({tweetId:t,username:i,createdAt:a,text:r}):n),(0,d.jsx)("div",{ref:c,className:"ids-twitter-embed"})]},"twitter-embed-container")};var C=i(51010),A=i.n(C);let M=e=>{let{id:t,user:i,showMedia:a}=e;return(0,d.jsx)("div",{className:A().container,children:(0,d.jsx)(L,{tweetId:t,username:i,options:{lang:"pl",cards:a?"show":"hidden"}})})};i(25819);let D=e=>{let{content:t,size:i}=e;return t?(0,d.jsx)("div",{className:"ids-article-embed-html ids-article-embed-html--".concat(i),"data-component":"article-embed-html",children:(0,d.jsx)("div",{dangerouslySetInnerHTML:{__html:t}})}):null};var O=i(57685),R=i.n(O);let P=e=>{let{url:t,width:i,height:a}=e;return t&&i&&a?(0,d.jsx)("div",{className:R().container,children:(0,d.jsx)("iframe",{src:t,width:i,height:a,title:"Artykułowy embed treści z Facebook'a",style:{width:"calc(min(100vw, ".concat(i,"px))")},scrolling:"no",frameBorder:"0",allow:"transparency"})}):(console.error("ArticleEmbedFacebook requires url, width, and height props."),null)};var H=i(10733),U=i.n(H);let B=e=>{let{url:t}=e,i=(0,j.useRef)(null),{pathname:a}=new URL(t);return(0,j.useEffect)(()=>{window.tiktokEmbed&&i.current&&window.tiktokEmbed.lib.render([i.current])},[i]),(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(E.w2,{libraryName:"tiktok"}),(0,d.jsx)("div",{className:U().container,children:(0,d.jsx)("blockquote",{ref:i,className:"tiktok-embed",cite:t,"data-video-id":a.substring(a.lastIndexOf("/")+1),children:(0,d.jsx)("section",{})})})]})};var F=i(56242),V=i.n(F);let q=e=>{let{id:t,showCaption:i}=e,a="https://www.instagram.com/p/".concat(t,"/embed/").concat(i?"captioned/":"");return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(E.w2,{libraryName:"instagram"}),(0,d.jsx)("div",{className:V().container,children:(0,d.jsx)("iframe",{id:t,title:"instagram",src:a,"data-instgrm-payload-id":"instagram-media-payload-0",scrolling:"no"})})]})},G=e=>/^https:\/\/open\.spotify\.com\/embed\/(track|playlist|album|show|episode|artist)\/[^/]+$/.test(e),W=e=>e.includes("track")||e.includes("show")||e.includes("episode")?"150px":e.includes("artist")||e.includes("playlist")||e.includes("album")?"350px":"100%",$=e=>{let{url:t}=e;return G(t)?(0,d.jsx)("div",{"data-component":"article-embed-spotify",children:(0,d.jsx)("iframe",{frameBorder:0,title:t,style:{borderRadius:"0",minHeight:"100%"},src:t,width:"100%",height:W(t),allow:"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture",loading:"lazy"})}):null};i(43304);var X=i(28355);let K={ssr:m()(()=>i.e(5724).then(i.bind(i,35724)),{loadableGenerated:{webpack:()=>[35724]},ssr:!0}),noSsr:m()(()=>i.e(5724).then(i.bind(i,35724)),{loadableGenerated:{webpack:()=>[35724]},ssr:!1})};var Y=e=>{let{ssr:t=!1,...i}=e,a=t?K.ssr:K.noSsr;return(0,d.jsx)(a,{...i})};let Z=e=>{let{url:t,width:i,height:a}=e;return t&&i&&a?(0,d.jsxs)("div",{className:"ids-article-embed-pinterest",children:[(0,d.jsx)(X.r,{className:"ids-article-embed-pinterest--logo-wrapper",href:"https://www.pinterest.com",target:"_blank",rel:"noreferrer",children:(0,d.jsx)(Y,{})}),(0,d.jsx)("iframe",{src:t,width:i,height:isNaN(Number(a))||isNaN(Number(i))?a:Math.ceil(Number(a)*((0,p.DY)(302,Number(i))+.06)),title:"Pinterest embed",scrolling:"no",frameBorder:"0",allow:"transparency"})]}):(console.error("ArticleEmbedPinterest requires url, width, and height props."),null)};var J=i(41371),Q=i(89765);(s=c||(c={})).SMALL="small",s.MEDIUM="medium",i(54133);let ee={tiktok:{origin:"https://www.tiktok.com",getHeight:e=>{if("string"==typeof e)return JSON.parse(e).height}},twitter:{origin:"https://platform.twitter.com",getHeight:e=>{if("object"==typeof e&&null!==e){var t,i;return null===(i=e["twttr.embed"])||void 0===i?void 0:null===(t=i.params[0])||void 0===t?void 0:t.height}}}},et=e=>{let{size:t=c.MEDIUM,children:i,type:a}=e,r="tiktok"===a,s="twitter"===a,n=(0,j.useRef)(null),[l,o]=(0,j.useState)(!1),[m,u]=(0,j.useState)(!0),[h,x]=(0,j.useState)(!0),[b,g]=(0,j.useState)(null),[v,f]=(0,j.useState)(null),w=(0,j.useCallback)(()=>{let e=n.current;if(!e||r||s)return;let t=b||new ResizeObserver(()=>{let t=e.children,i=0;for(let e=0;e400)});b||g(t),t.disconnect(),t.observe(e)},[r,s,b]),k=(0,j.useCallback)(()=>{let e=n.current;if(!e)return;let t=v||new IntersectionObserver(e=>{let[t]=e;t.isIntersecting&&!l&&o(!0)},{rootMargin:"0px 0px 300px"});v||f(t),t.disconnect(),t.observe(e)},[v,l]);return(0,j.useEffect)(()=>{if(!r&&!s)return;let e=ee[r?"tiktok":"twitter"],t=t=>{if(t.origin===e.origin)try{let i=e.getHeight(t.data);void 0!==i&&i>0&&x(i>400)}catch(e){return}};return window.addEventListener("message",t),()=>{window.removeEventListener("message",t)}},[!0,r,s,400]),(0,j.useEffect)(()=>(w(),k(),()=>{null==b||b.disconnect(),null==v||v.disconnect()}),[v,k,b,w]),(0,d.jsxs)("div",{className:(0,p.c)("article-embed-social-media",m&&h&&"article-embed-social-media--rolled"),children:[(0,d.jsx)("div",{ref:n,className:(0,p.c)("article-embed-social-media__iframe-wrapper"),children:l&&i}),(0,d.jsxs)("div",{className:(0,p.c)("article-embed-social-media__actions"),children:[(0,d.jsx)("div",{className:(0,p.c)("article-embed-social-media__divider")}),(0,d.jsx)(J.Button,{variant:"primary",size:t,icon:Q.ArrowFacedDownIcon,iconPosition:"trailing",onClick:()=>{u(!1)},children:"Rozwiń"})]})]})};i(43173);let ei=e=>{let{id:t,height:i,size:a}=e,r=(0,j.useRef)(null),[s,n]=(0,j.useState)(i),[l]=(0,j.useState)(!1),[c,o]=(0,j.useState)(!0);return(0,j.useEffect)(()=>{let e=()=>{var e,t;(null===(t=r.current)||void 0===t?void 0:null===(e=t.contentDocument)||void 0===e?void 0:e.body)&&r.current.contentDocument.body.scrollHeight!==s&&(n(r.current.contentDocument.body.scrollHeight),o(!1))};e(),setTimeout(e,500)},[l,s]),(0,d.jsx)("div",{className:"ids-article-embed-telegram",children:(0,d.jsx)(et,{size:a,children:(0,d.jsx)("iframe",{ref:r,className:"ids-article-embed-telegram-iframe",sandbox:"allow-same-origin allow-scripts allow-popups",id:"telegram-".concat(t),title:"telegram-".concat(t),scrolling:"no",height:s,srcDoc:'')})})})};var ea=i(33371),er=i(23016),es=i(846);i(62341);var en=i(55906),el=i.n(en);let ec=e=>{let{headerTag:t="h2",items:i,listType:a="ordered",size:r="medium",title:s="Spis treści:",variant:n="default",hasLinks:l=!0}=e,c=i.map(e=>({content:l?(0,d.jsx)(X.r,{href:e.url?e.url:"#".concat(e.id),children:e.title}):(0,d.jsx)("p",{children:e.title}),id:e.id}));return(0,d.jsxs)("div",{className:(0,p.c)("contents-list","contents-list--".concat("ordered"===a?"default":n),"contents-list--".concat(r),"unordered"===a&&"contents-list--unordered"),"data-component":"contents-list",children:[!!s&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(h.iz,{$variants:"with_accented",$accentPosition:"start"}),(0,d.jsx)(x.Dx,{component:t,preset:el()[r],className:"contents-list__header",children:s})]}),"ordered"===a?(0,d.jsx)(es.a.Order,{items:c,marker:"decimalLeadingZero",size:"small"===r?"medium":"large"}):(0,d.jsx)(es.a.Unorder,{items:c,marker:"disc",size:"small"===r?"medium":"large"})]})},ed=e=>{let{params:t,size:i}=e,a=t.items[0].children.map(e=>e.children[0]).map(e=>({id:e.id,title:e.params.value}));return(0,d.jsx)(ec,{size:i,items:a,title:t.title,listType:t.listType,hasLinks:!1,variant:t.variant})};var eo=i(19514),em=i(67515),eu=i(23812),eh=i(53615);let ep=()=>{let e=encodeURIComponent("interia.pl"),t="pol-VEU-Volltexte-JavaScript-".concat(e,"-dwde"),i=encodeURIComponent(document.URL),a=encodeURIComponent(document.referrer),r="https://logs1279.xiti.com/hit.xiti?s=531599&s2=".concat("23","&p=").concat(e,"::Volltexte::"),s=encodeURIComponent(document.title),n="&x1=1&x2=".concat("23","&x5=").concat(s,"&x6=1&x7=").concat(i,"&x8=").concat(t,"&x10=").concat(e,"::Volltexte&ref=").concat(a);return"".concat(r).concat(s).concat(n)};i(31371);let ex=e=>"1"===e||!0===e,eb=e=>{let{variant:t,visible:i,lazy:a=!0}=e,[r,s]=(0,j.useState)(!1);if((0,j.useEffect)(()=>{s(!0)},[]),!ex(i)||!r)return null;let n=["ids-embed-pixel","ids-embed-pixel--".concat(t.toLowerCase())];return"DWPIXEL"===t?(0,d.jsx)("div",{className:n.join(" "),children:(0,d.jsx)("img",{src:ep(),className:"ids-embed-pixel__img",width:"1",height:"1",alt:"na",loading:a?"lazy":"eager"})}):null};i(66102);let eg=e=>{let t=Math.floor(e/60);return(t>0?"".concat(t," godz. "):"")+"".concat(e%60," min")},ev={medium:"large",small:"medium"},ej=e=>{let{size:t,items:i}=e;return(0,d.jsxs)("div",{className:"ids-ingredients ids-ingredients-".concat(t),children:[(0,d.jsx)(em.BlockHeader,{className:"ids-ingredients-header",size:t,headerTag:"h3",showDivider:!1,children:"Składniki"}),i.ingredients.map((e,i)=>(0,d.jsxs)("div",{className:"ids-ingredients-group",children:[e.recipeCategory&&(0,d.jsx)(em.BlockSubheader,{className:"ids-ingredients-subheader",size:t,headerLevel:"h4",showDivider:!1,subHeaderText:e.recipeCategory}),(0,d.jsx)(es.a.Unorder,{className:"ids-ingredients-list",items:e.recipeIngredient,size:ev[t],marker:"disc"})]},"group".concat(i))),(i.cookTimeTotal||i.recipeYield)&&(0,d.jsx)(h.iz,{}),(0,d.jsxs)("div",{className:"ids-ingredients-details",children:[i.cookTimeTotal&&(0,d.jsxs)("div",{className:"ids-ingredients-details-element",children:[(0,d.jsx)(Q.DurationTimeIcon,{size:"medium"===t?"large":"medium"}),eg(i.cookTimeTotal)]}),i.recipeYield&&(0,d.jsxs)("div",{className:"ids-ingredients-details-element",children:[(0,d.jsx)(Q.PeopleIcon,{size:"medium"===t?"large":"medium"}),i.recipeYield]})]})]})};i(15127);let ef=e=>{let{label:t="Ocena redakcji",rate:i,maxRate:a=10,size:r="medium"}=e;return(0,d.jsxs)("div",{className:"ids-rating ids-rating--".concat(r),"aria-labelledby":"rating",children:[(0,d.jsx)("span",{className:"ids-rating__label",children:t}),(0,d.jsxs)("span",{className:"ids-rating__rate",children:[(0,d.jsx)(Q.StarIcon,{size:"large"}),i,"/",a]})]})};i(62499);let ew=e=>{let{size:t,label:i="Ocena redakcji",rate:a,maxRate:r}=e;return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(h.iz,{}),(0,d.jsx)(ef,{label:i,size:t,rate:a,maxRate:r})]})},ek={positive:Q.AddIcon,negative:Q.MinusIcon},ey=e=>{let{title:t,list:i,type:a}=e,r=ek[a];return(0,d.jsxs)("div",{className:"ids-review__column",children:[(0,d.jsx)("span",{className:"ids-review__column-title",children:t}),(0,d.jsx)("ul",{className:"ids-review__column-list",children:i.map(e=>(0,d.jsxs)("li",{children:[(0,d.jsx)("span",{className:"ids-review__column-list-bullet ids-review__column-list-bullet--".concat(a),children:(0,d.jsx)(r,{size:"small"})}),e]},e.split(" ").filter(Boolean).slice(0,2).join(" ")))})]})},e_=e=>{let{columns:t}=e;return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(h.iz,{}),(0,d.jsx)("div",{className:"ids-review__columns",children:t.map(e=>(0,j.createElement)(ey,{...e,key:e.title}))})]})},eE=e=>{let{size:t="medium",title:i,attributes:a,columns:r,rating:s}=e;return(0,d.jsxs)("div",{className:"ids-review ids-review--".concat(t),children:[(0,d.jsxs)("div",{className:"ids-review__content",children:[(0,d.jsx)("span",{className:"ids-review__content-title",children:i}),!(0,p.xb)(a)&&(0,d.jsx)("div",{className:"ids-review__content-attributes",children:null==a?void 0:a.join(", ")})]}),!(0,p.xb)(r)&&(0,d.jsx)(e_,{columns:r}),void 0!==s&&!(0,p.xb)(s)&&(0,d.jsx)(ew,{size:t,...s})]})};i(37292);let ez=e=>{let{children:t,...i}=e;return(0,d.jsx)("thead",{...i,children:t})},eI=e=>{let{children:t,...i}=e;return(0,d.jsx)("tbody",{...i,children:t})},eN=e=>{let{accented:t,align:i,children:a,hoverable:r,disabled:s,selected:n,className:l,...c}=e;return(0,d.jsx)("tr",{"data-selected":n||void 0,"data-disabled":s||void 0,"data-hoverable":r||void 0,className:(0,p.c)("ids-table__row",t&&"ids-table__row--accented",i&&"ids-table--".concat(i),l),...c,children:a})},eT=e=>{let{tag:t="td",contentSize:i,height:a,width:r,border:s,align:n,children:l,hoverable:c,disabled:o,selected:m,className:u,...h}=e;return(0,d.jsx)(t,{"data-selected":m||void 0,"data-disabled":o||void 0,"data-hoverable":c||void 0,className:(0,p.c)("ids-table__cell","ids-table__cell--height-".concat(a),"ids-table__cell--".concat(i),s&&"ids-table--border",n&&"ids-table--".concat(n),"string"==typeof r&&"ids-table__cell--width-".concat(r),u),..."number"==typeof r&&{style:{minWidth:r,maxWidth:r}},...h,children:l&&(0,d.jsx)("div",{children:l})})},eS=e=>{let{margin:t,children:i,className:a,...r}=e;return(0,d.jsx)("caption",{className:(0,p.c)("ids-table__caption","ids-table__caption--".concat(t),a),...r,children:i})},eL=e=>{let{margin:t,align:i,border:a,children:r,className:s,...n}=e;return(0,d.jsx)("table",{className:(0,p.c)("ids-table",a&&"ids-table--border",t&&"ids-table--".concat(t),"ids-table--".concat(i),s),...n,children:r})};var eC=i(52312),eA=i.n(eC);let eM=e=>{let{items:t,cols:i,headline:a,cellsHeight:r="medium",cellsContentSize:s="medium",align:n="left"}=e,l=(0,j.useMemo)(()=>i.map((e,t)=>{let{data:a,contentSize:n,height:l,align:c,hidden:o}=e;return o?null:(0,d.jsx)(eN,{align:c,children:Object.keys(i[0].data).map(e=>{let t={tag:"th",width:"fill",height:null!=l?l:r,contentSize:null!=n?n:s,scope:"col",border:!0};if(a[e]){var i,c,o,m;t=Object.assign(t,{width:null!==(o=null===(i=a[e])||void 0===i?void 0:i.width)&&void 0!==o?o:"fill",children:(0,d.jsx)(x.xv,{preset:eA()[t.contentSize],dangerouslySetInnerHTML:{__html:null!==(m=null===(c=a[e])||void 0===c?void 0:c.title)&&void 0!==m?m:(0,p.kC)(e.toString())}})})}return(0,d.jsx)(eT,{...t},e.toString())})},"header-".concat(t))}).filter(Boolean),[i,s,r]),c=(0,j.useMemo)(()=>t.map((e,t)=>{let{data:a,contentSize:n,height:l,align:c}=e;return(0,d.jsx)(eN,{align:c,children:Object.keys(i[0].data).map(e=>{var c;let o=null==a?void 0:a[e];return(0,d.jsx)(eT,{height:null!=l?l:r,contentSize:null!=n?n:s,width:null!==(c=i[0].data[e].width)&&void 0!==c?c:"fill",...i[0].data[e].colsHeader&&{tag:"th",scope:"row"},border:!0,children:(0,d.jsx)(x.xv,{preset:eA()[null!=n?n:s],dangerouslySetInnerHTML:{__html:o}})},"".concat(t,"-").concat(e.toString()))})},t)}),[t,i,s,r]);return(0,d.jsx)("div",{style:{maxWidth:"100%",overflow:"auto"},children:(0,d.jsxs)(eL,{align:n,children:[a&&(0,d.jsx)(eS,{margin:a.size,children:(0,d.jsx)(em.BlockHeader,{headerTag:"h2",size:a.size,showDivider:!1,children:a.title})}),l.length?(0,d.jsx)(ez,{children:l}):null,(0,d.jsx)(eI,{children:c})]})})},eD=m()(()=>Promise.all([i.e(4486),i.e(1901),i.e(3939)]).then(i.bind(i,93939)).then(e=>e.ArticleEmbedQuiz),{loadableGenerated:{webpack:()=>[93939]},ssr:!0}),eO=m()(()=>Promise.all([i.e(4486),i.e(2613),i.e(8073),i.e(7098),i.e(2015),i.e(1312)]).then(i.bind(i,11312)).then(e=>e.Poll),{loadableGenerated:{webpack:()=>[11312]},ssr:!0}),eR=m()(()=>Promise.all([i.e(7413),i.e(7299),i.e(4486),i.e(6441),i.e(151),i.e(7421)]).then(i.bind(i,77421)).then(e=>e.ArticleEmbedPhotoAlbum),{loadableGenerated:{webpack:()=>[77421]},ssr:!0}),eP=e=>{let t,{params:i,type:a,size:r,id:s,socials:n,noEmotions:l,noAdvert:c,articleId:o,isFirstInType:m,preloadPlayer:h}=e;switch(a){case"AD":return(0,d.jsx)(er.Ad,{...i,type:i.type,id:s,size:r});case"PARAGRAPH":t=(0,d.jsx)("div",{"data-component":m?"article-embed-paragraph":void 0,children:(0,d.jsx)(eo.ParagraphWrapper,{content:i.content,variant:i.variant||eo.ParagraphVariantEnum.DEFAULT,size:i.size||r})});break;case"HEADER":t=(0,d.jsx)("div",{"data-component":m?"article-embed-header":void 0,children:(0,d.jsx)(em.ArticleSubheader,{size:r,showDivider:void 0===i.showDivider||i.showDivider,id:s,children:i.content})});break;case"HTML":t=(0,d.jsx)(D,{size:r,content:i.content});break;case"PHOTO":t=(0,d.jsx)("div",{"data-full-width-on-mobile":!0,"data-component":m?"article-embed-photo":void 0,children:(0,d.jsx)(eu.PictureItem,{rel:i.rel,size:r,details:{source:i.sourceSignature,description:i.description,author:i.authorSignature},image:{...i.cover,loading:i.loading,preload:i.preload},href:i.link,imageGroupeIdentifier:i.link?"a-i-img-ad":"a-i-img",fullscreen:!0,hideTitle:i.hideTitle,target:i.target})});break;case"COMPARATOR":t=(0,d.jsx)("div",{"data-full-width-on-mobile":!0,"data-component":m?"article-embed-comparator":void 0,children:(0,d.jsx)(N,{id:s,size:r,params:{attachmentIdLeft:i.attachmentIdLeft,attachmentIdRight:i.attachmentIdRight,hideTitle:i.hideTitle,sliderPosition:i.sliderPosition,serviceId:i.serviceId,articleId:i.articleId,coverLeft:i.coverLeft,coverRight:i.coverRight}})});break;case"PINTEREST":t=(0,d.jsx)("div",{"data-component":m?"article-embed-pinterest":void 0,children:(0,d.jsx)(et,{size:r,children:(0,d.jsx)(Z,{url:i.url,width:i.width,height:i.height})})});break;case"TWITTER":t=(0,d.jsx)("div",{"data-component":m?"article-embed-twitter":void 0,children:(0,d.jsx)(et,{size:r,type:"twitter",children:(0,d.jsx)(M,{user:i.user,id:i.id,showMedia:!0})})});break;case"FACEBOOK_POST":t=(0,d.jsx)("div",{"data-component":m?"article-embed-facebook":void 0,children:(0,d.jsx)(et,{size:r,children:(0,d.jsx)(P,{url:i.url,width:i.width,height:i.height})})});break;case"TIKTOK":t=(0,d.jsx)("div",{"data-component":m?"article-embed-tiktok":void 0,children:(0,d.jsx)(et,{size:r,type:"tiktok",children:(0,d.jsx)(B,{url:i.url})})});break;case"INSTAGRAM":t=(0,d.jsx)("div",{"data-component":m?"article-embed-instagram":void 0,children:(0,d.jsx)(et,{size:r,children:(0,d.jsx)(q,{id:i.id,showCaption:!0})})});break;case"TELEGRAM":t=(0,d.jsx)(ei,{id:i.id,height:i.height,size:r});break;case"CITATION":t=(0,d.jsx)("div",{"data-component":m?"article-embed-quote":void 0,children:(0,d.jsx)(_,{size:r,surface:i.surface,author:i.author,cite:i.url,children:i.content})});break;case"VIDEO":case"VIDEOAUTOEMBED":case"VIDEOEMBED":case"FACEBOOK_VIDEO":case"DWVIDEO":case"LIVESTREAM":i.adsDisabled=c,t=(0,d.jsx)("div",{"data-component":m?"article-embed-player-".concat(a):void 0,"data-full-width-on-mobile":!0,children:(0,d.jsx)(ea.b,{data:{params:i,type:a,id:s},size:r,preloadPlayer:h})});break;case"DWPIXEL":t=(0,d.jsx)("div",{"data-component":m?"article-embed-dwpixel":void 0,children:(0,d.jsx)(eb,{visible:i.src,variant:a})});break;case"TEXTBOX":case"HIGHLIGHT":t=(0,d.jsx)("div",{"data-component":m?"article-embed-textbox":void 0,children:(0,d.jsx)(v,{content:i.content,size:r})});break;case"TEXTBOXPHOTO":t=(0,d.jsx)("div",{"data-component":m?"article-embed-textboxphoto":void 0,children:(0,d.jsx)(u.u,{size:r,title:i.title,content:i.content,cover:i.cover})});break;case"ALBUMPHOTO":t=(0,d.jsx)("div",{"data-full-width-on-mobile":!0,"data-component":m?"article-embed-photo-album":void 0,children:(0,d.jsx)(eR,{size:r,title:i.title,photos:i.items,album:{date:i.publicationDate,authors:i.authors,lead:i.lead,socials:n},noEmotions:l})});break;case"SPOTIFY":t=(0,d.jsx)($,{url:i.url});break;case"TABLECONTENT":t=(0,d.jsx)(ec,{items:i.items,size:i.size||r,title:i.title,listType:i.listType});break;case"ARTICLELIST":t=(0,d.jsx)(eh.ArticleListSectionWrapper,{size:r,children:(0,d.jsx)(eh.ArticleList,{hasDivider:!0,items:i.articles,cardSize:r,cardVariant:"small"===r?"vertical":"horizontal",title:i.title,hasPhoto:i.hasPhoto})});break;case"QUIZLIGHT":case"PSYCHOLIGHT":t=(0,d.jsx)(eD,{size:r,title:i.headline,photo:i.cover,quiz:{id:i.id,token:!1},socials:n});break;case"TABLE":t=(0,d.jsx)(eM,{headline:i.headline,cols:i.cols,items:i.items,align:i.align,cellsContentSize:i.cellsContentSize,cellsHeight:i.cellsHeight});break;case"ARTICLE":t=(0,d.jsx)("div",{"data-component":m?"article-embed-article-list":void 0,children:(0,d.jsx)(eh.ArticleListSectionWrapper,{size:r,children:(0,d.jsx)(eh.ArticleList,{items:[{...i}],cardSize:r,cardVariant:"small"===r?"vertical":"horizontal"})})});break;case"POLL":t=(0,d.jsx)(eO,{size:r,id:i.id,token:!1,articleId:o});break;case"EDITORIAL_REVIEW":t=(0,d.jsx)(eE,{size:r,title:i.title,attributes:i.attributes,columns:i.columns,rating:i.rating});break;case"RECIPE":t=(0,d.jsx)(ej,{size:r,items:i});break;case"BULLET":t=(0,d.jsx)(ed,{size:r,params:i})}return t}},33371:function(e,t,i){"use strict";i.d(t,{b:function(){return u}});var a,r,s=i(53197),n=i(81034),l=i(81984),c=i(65468),d=i(51094),o=i(36672);let m=e=>{let t="",i="",a="";return("VIDEO"===e.type||"VIDEOAUTOEMBED"===e.type)&&(t=e.params.headline,i=(0,o.xb)(e.params.authors)?"":e.params.authors.map(e=>e.name).join(", "),a=e.params.signature),{description:t,author:i,source:a}};(a=r||(r={})).MEDIUM="medium",a.SMALL="small",i(93052);let u=e=>{let{data:t,size:i=r.MEDIUM,noDivider:a=!1,className:u,preloadPlayer:h}=e,p=(0,n.e)("layout").site,{description:x,author:b,source:g}=m(t),v=(x||b||g)&&"video"!==p;return(0,s.jsxs)("div",{className:(0,o.c)("ids-video-player","embed-video",u),children:[!a&&(0,s.jsx)(l.iz,{$variants:"only_accented",$thickness:"large"}),(0,s.jsx)(d.y,{data:t,size:i,preloadPlayer:h}),v&&(0,s.jsx)(c.T,{description:x,author:b,source:g,isSignatureDividerEnabled:!1,size:i})]})}},57685:function(e){e.exports={container:"article-embed-facebook_container__wm5OK"}},56242:function(e){e.exports={container:"article-embed-instagram_container__NQL_t"}},56981:function(e){e.exports={"small-title":"ids-typeset-title--preset-small ids-typeset-title--preset-small-strong","medium-title":"ids-typeset-title--preset-large","small-body":"ids-typeset-body--preset-medium","medium-body":"ids-typeset-body--preset-large"}},60239:function(e){e.exports={small:"ids-typeset-body--preset-medium ids-typeset-body--preset-medium-strong",medium:"ids-typeset-body--preset-xlarge ids-typeset-body--preset-xlarge-strong"}},10733:function(e){e.exports={container:"article-embed-tiktok_container__ElaKO"}},51010:function(e){e.exports={container:"article-embed-twitter_container__JXWFu","twitter-tweet":"article-embed-twitter_twitter-tweet__n2XGS"}},55906:function(e){e.exports={small:"ids-typeset-title--preset-xsmall",medium:"ids-typeset-title--preset-medium"}},72005:function(e){e.exports={small:"ids-typeset-text--preset-small",medium:"ids-typeset-text--preset-small"}},52312:function(e){e.exports={small:"ids-typeset-text--preset-small",medium:"ids-typeset-text--preset-medium",large:"ids-typeset-text--preset-large"}},20898:function(){},25819:function(){},43304:function(){},54133:function(){},43173:function(){},75506:function(){},96599:function(){},62341:function(){},31371:function(){},66102:function(){},47280:function(){},15127:function(){},62499:function(){},37292:function(){},44285:function(){},93052:function(){}}]);