PageSourceSearch

https://www.7hauben.com/_next/static/chunks/9514-812a92de368c352d.js

js 7hauben.com collected 2026-10-06 00:31:07 UTC 236,751 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9514],{58439:function(e,l,t){"use strict";var r,a=t(80665);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var l=1;l<arguments.length;l++){var t=arguments[l];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(null,arguments)}l.Z=function(e){return a.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e),r||(r=a.createElement("path",{fill:"currentColor",d:"M12 20.99c-.29 0-.56-.11-.77-.32l-7.99-8c-.05-.07-.07-.09-.09-.12-.04-.06-.05-.09-.06-.11l-.08-.24c0-.05-.01-.09-.02-.13v-.09l.04-.29.04-.12c.03-.07.04-.1.06-.12.04-.07.06-.09.08-.12 0 0 .01-.02.02-.03s.03-.03.04-.05l.04-.04 7.92-7.92c.41-.41 1.12-.41 1.53 0 .2.2.32.48.32.77s-.11.56-.32.77L6.69 10.9h13.33a1.082 1.082 0 0 1-.11 2.16H6.7l6.15 6.16c.34.44.31 1.06-.08 1.44-.2.2-.48.32-.77.32Z"})))}},55513:function(e,l,t){"use strict";var r,a=t(80665);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var l=1;l<arguments.length;l++){var t=arguments[l];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(null,arguments)}l.Z=function(e){return a.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e),r||(r=a.createElement("path",{fill:"currentColor",d:"M12 20.99c-.29 0-.56-.11-.77-.32s-.32-.48-.32-.77.11-.56.32-.77l6.07-6.07H3.97a1.082 1.082 0 0 1 .11-2.16H17.3l-6.15-6.16c-.34-.44-.31-1.06.08-1.44.41-.41 1.12-.41 1.53 0l7.99 8c.05.07.07.09.09.12.04.06.05.09.06.11l.08.24c0 .05.01.09.02.13v.09l-.04.29-.04.12c-.03.07-.04.1-.06.12-.04.07-.06.09-.08.12 0 0-.01.02-.02.03s-.03.03-.04.05l-.04.04-7.92 7.92c-.2.2-.48.32-.77.32Z"})))}},95719:function(e,l,t){"use strict";var r,a=t(80665);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var l=1;l<arguments.length;l++){var t=arguments[l];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(null,arguments)}l.Z=function(e){return a.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e),r||(r=a.createElement("path",{fill:"currentColor",d:"M18.56 16c-.23 0-.45-.06-.65-.2l-.11-.08-5.8-4.97-5.79 4.96c-.5.43-1.25.37-1.67-.13-.39-.45-.38-1.13.02-1.57l.09-.09 6.57-5.64c.4-.34.99-.38 1.43-.09l.1.08 6.57 5.63a1.187 1.187 0 0 1-.77 2.09Z"})))}},39709:function(e,l,t){"use strict";var r,a=t(80665);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var l=1;l<arguments.length;l++){var t=arguments[l];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(null,arguments)}l.Z=function(e){return a.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e),r||(r=a.createElement("g",{fill:"currentColor"},a.createElement("path",{d:"M16.16 21.97H7.78c-.25 0-.48-.1-.66-.27a.96.96 0 0 1-.27-.66v-7.97c0-.51.43-.93.94-.93.52 0 .94.42.94.94v7.03h6.5l-.03-7.03c0-.52.42-.94.93-.94.52 0 .94.42.94.93l.04 7.97a.94.94 0 0 1-.93.94Z"}),a.createElement("path",{d:"M16.3 13.78a.939.939 0 1 1 0-1.88c1.58 0 2.87-1.29 2.87-2.87 0-.87-.39-1.68-1.08-2.23-.68-.55-1.56-.75-2.41-.57-.45.09-.89-.13-1.06-.55-.45-1.08-1.49-1.78-2.65-1.78s-2.2.69-2.65 1.77c-.17.41-.6.64-1.04.56a2.876 2.876 0 0 0-3.45 2.81c0 1.58 1.29 2.87 2.87 2.87a.939.939 0 1 1 0 1.88c-2.62 0-4.74-2.13-4.74-4.74 0-1.32.56-2.58 1.53-3.48.93-.86 2.18-1.31 3.44-1.25.86-1.4 2.39-2.27 4.05-2.27s3.19.87 4.05 2.27c1.26-.08 2.51.35 3.45 1.21a4.744 4.744 0 0 1-3.17 8.27Z"}),a.createElement("path",{d:"M14.19 21.2H9.75c-1.17 0-2.11-.85-2.11-1.89s.94-1.89 2.11-1.89h4.44c1.17 0 2.11.85 2.11 1.89s-.94 1.89-2.11 1.89",opacity:.3}),a.createElement("path",{d:"M10.77 14.08c-.31 0-.59-.21-.66-.52l-.89-3.67a.69.69 0 0 1 .5-.83c.37-.09.74.14.83.5l.89 3.67a.69.69 0 0 1-.66.85Zm2.49 0c-.05 0-.11 0-.16-.02a.68.68 0 0 1-.5-.83l.89-3.67c.09-.37.46-.59.83-.5s.59.46.5.83l-.89 3.67a.69.69 0 0 1-.66.52Zm2.01 4.63H8.1a.939.939 0 1 1 0-1.88h7.17a.939.939 0 1 1 0 1.88"}))))}},79615:function(e,l,t){"use strict";var r,a=t(80665);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var l=1;l<arguments.length;l++){var t=arguments[l];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(null,arguments)}l.Z=function(e){return a.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e),r||(r=a.createElement("g",{fill:"currentColor"},a.createElement("path",{d:"m3.62 6.3.57 2.48 16.67-3.64-.62-2.67zm1.14 2.85h17.06v2.74H4.76z",opacity:.3}),a.createElement("path",{d:"m5.58 6.03 12.26-2.38 2.26 1.56L7.84 7.59zM21.23 2.1 3.28 5.58l.67 3.34 17.98-3.49-.7-3.34Zm-5.86 14.1-5-2.5v5zm-5.924-4.675 2.715-2.924.982.912-2.715 2.924zm4.769-.059 2.652-2.86.983.912-2.653 2.86z"}),a.createElement("path",{d:"M11.57 7.3 8.89 5.28l1.45-.58 3.08 2.32zm4.36-1.08-2.39-1.83 1-.92 3.54 2.69zM19 21.9H5.01c-1.65 0-3-1.35-3-3V9.51c0-.55.45-1 1-1s1 .45 1 1v9.39c0 .55.45 1 1 1H19c.55 0 1-.45 1-1v-7.31c0-.55.45-1 1-1s1 .45 1 1v7.31c0 1.65-1.35 3-3 3"}),a.createElement("path",{d:"M4 9.52V7.47l1.57-.26-.33-1.98-1.91.32C2.57 5.68 2 6.35 2 7.12v2.39h2Z"}),a.createElement("path",{d:"m6.51 11.42 1.84-1.88h12.5l-.03.02h.05l-1.8 1.86H22v-2.8H9.24L3.12 8.6v2.82zm15.08 3.11.41.31v-.31z"}),a.createElement("path",{d:"M20.86 12.39H3.01c-.28 0-.5-.22-.5-.5s.22-.5.5-.5h17.85c.28 0 .5.22.5.5s-.22.5-.5.5M7.44 8.23a.51.51 0 0 1-.49-.41c-.05-.27.12-.53.4-.59l13.42-2.59c.27-.05.53.12.59.4.05.27-.12.53-.4.59L7.54 8.22h-.1Z"}))))}},67244:function(e,l,t){"use strict";var r,a=t(80665);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var l=1;l<arguments.length;l++){var t=arguments[l];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(null,arguments)}l.Z=function(e){return a.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e),r||(r=a.createElement("g",{fill:"currentColor"},a.createElement("path",{fillRule:"evenodd",d:"m5.75 11.95 10.27 8.58H5.75z",opacity:.3}),a.createElement("path",{d:"M19.25 22.65H4.75c-.61 0-1.1-.49-1.1-1.1V9.09c0-.61.49-1.1 1.1-1.1h14.5c.61 0 1.1.49 1.1 1.1v12.46c0 .61-.49 1.1-1.1 1.1m-13.4-2.2h12.3V10.19H5.85z"}),a.createElement("path",{d:"M16.97 9.08h-2V5.79c-.28-1.71-1.16-2.44-2.93-2.44s-2.65.73-2.93 2.44v3.29h-2V5.57c.42-2.72 2.16-4.22 4.93-4.22s4.51 1.5 4.92 4.22v.15z"}))))}},88817:function(e,l,t){"use strict";var r,a=t(80665);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var l=1;l<arguments.length;l++){var t=arguments[l];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(null,arguments)}l.Z=function(e){return a.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 18"},e),r||(r=a.createElement("path",{fill:"currentColor",d:"M4.31 12.57c0 2.37.97 3.3 3.44 3.3 2.87 0 3.44-1.26 3.44-3.3h1.37c0 3.14-1.57 4.67-4.81 4.67s-4.81-1.52-4.81-4.67zM7.88 0c1.58 0 2.97.83 3.67 2.15 2.2.13 3.95 1.84 3.95 3.91 0 1.71-1.21 3.2-2.94 3.72v1.74H2.94V9.78C1.2 9.26 0 7.77 0 6.06c0-2.07 1.76-3.78 3.96-3.91C4.72.81 6.13 0 7.75 0zm-.14 1.38c-1.21 0-2.25.
166-2.7 1.72l-.18.43h-.64C2.67 3.54 1.4 4.67 1.4 6.05c0 1.21.99 2.25 2.35 2.47l.59.1v1.49h6.82V8.62l.59-.1-.02-.02c1.36-.22 2.35-1.26 2.35-2.47 0-1.38-1.26-2.51-2.82-2.51h-.36c-.08.01-1.19.16-1.87 1.59l-.3.63-1.27-.6.3-.63c.63-1.33 1.57-1.92 2.23-2.18-.5-.6-1.26-.95-2.12-.95z"})))}},25506:function(e,l,t){"use strict";var r,a=t(80665);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var l=1;l<arguments.length;l++){var t=arguments[l];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(null,arguments)}l.Z=function(e){return a.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 18"},e),r||(r=a.createElement("path",{fill:"currentColor",d:"M10.71 0c1.21 0 2.4.25 3.52.74 2.14.94 3.78 2.66 4.63 4.84v.01c.84 2.18.79 4.56-.15 6.7a8.7 8.7 0 0 1-4.84 4.63 8.668 8.668 0 0 1-6.69-.15A8.78 8.78 0 0 1 2.25 11l-1.07 1.82-1.18-.7 2.3-3.9 3.96 2.19-.67 1.2-2.06-1.14a7.42 7.42 0 0 0 4.21 5.05c1.81.79 3.81.83 5.65.12 1.84-.72 3.29-2.1 4.08-3.91s.83-3.81.12-5.65A7.35 7.35 0 0 0 13.68 2c-.95-.42-1.95-.63-2.97-.63h-.01V0zm.78 8.36 2.94 2.3-.85 1.08-3.2-2.51.01.01a.68.68 0 0 1-.26-.53l-.07-5.17 1.37-.02zM4.64 4.5c-.42.64-.75 1.36-.96 2.15l-1.33-.36c.25-.93.63-1.79 1.14-2.55zm3.67-2.77h.01c-.02.013-.996.275-2.06 1.07l-.83-1.1C6.73.72 7.97.4 7.97.4z"})))}},92301:function(e,l,t){"use strict";var r,a=t(80665);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var l=1;l<arguments.length;l++){var t=arguments[l];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(null,arguments)}l.Z=function(e){return a.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e),r||(r=a.createElement("g",{fill:"#2a3349"},a.createElement("path",{d:"M22.11 9.48a.69.69 0 0 0-.55-.46l-6.21-.95-2.73-5.79c-.11-.24-.36-.39-.62-.39s-.51.15-.62.39L8.65 8.07l-6.21.95a.7.7 0 0 0-.55.46c-.08.24-.02.51.16.69l4.51 4.6-1.23 6.53c-.05.26.06.52.27.68.21.15.5.17.73.05l5.66-3.11 5.47 2.86c.23.12.51.1.72-.05a.67.67 0 0 0 .27-.67l-1.03-6.27 4.52-4.6a.69.69 0 0 0 .16-.7Zm-6.41 4.35a.62.62 0 0 0-.16.52l.76 4.62-4.02-2.1a.64.64 0 0 0-.57 0l-4.13 2.28.9-4.79a.58.58 0 0 0-.16-.53l-3.36-3.42 4.61-.71c.2-.03.37-.16.45-.34l1.99-4.22L14 9.36c.09.18.25.31.45.34l4.61.71z"}),a.createElement("path",{d:"m18.46 21.05-1.03-6.27 4.52-4.6a.69.69 0 0 0-.39-1.16l-6.21-.95-2.73-5.79c-.11-.24-.36-.39-.62-.39s-.51.15-.62.39L8.65 8.07l-6.21.95a.7.7 0 0 0-.55.46c-.08.24-.02.51.16.69l4.51 4.6-1.23 6.53c-.05.26.06.52.27.68.21.15.5.17.73.05l5.66-3.11 5.47 2.86c.23.12.51.1.72-.05a.67.67 0 0 0 .27-.67Z",opacity:.3}))))}},50365:function(e,l,t){"use strict";var r,a,s=t(80665);function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var l=1;l<arguments.length;l++){var t=arguments[l];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(null,arguments)}l.Z=function(e){return s.createElement("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e),r||(r=s.createElement("g",{fill:"#2a3349"},s.createElement("path",{d:"M11.91 2.49c0 5.19 0 10.38-.01 15.57l-5.98 3.29 1.29-6.88-4.76-4.85 6.57-1.01z"}),s.createElement("path",{d:"m18.38 21.05-1.03-6.27 4.52-4.6a.69.69 0 0 0-.39-1.16l-6.21-.95-2.73-5.79c-.11-.24-.36-.39-.62-.39s-.51.15-.62.39L8.57 8.07l-6.21.95a.7.7 0 0 0-.55.46c-.08.24-.02.51.16.69l4.51 4.6-1.23 6.53c-.05.26.06.52.27.68.21.15.5.17.73.05l5.66-3.11 5.47 2.86c.23.12.51.1.72-.05a.67.67 0 0 0 .27-.67Z",opacity:.3}))),a||(a=s.createElement("g",{fill:"#2a3349","data-name":"star0"},s.createElement("path",{d:"M22.19 9.48a.69.69 0 0 0-.55-.46l-6.21-.95-2.73-5.79c-.11-.24-.36-.39-.62-.39s-.51.15-.62.39L8.73 8.07l-6.21.95a.7.7 0 0 0-.55.46c-.08.24-.02.51.16.69l4.51 4.6-1.23 6.53c-.05.26.06.52.27.68.21.15.5.17.73.05l5.66-3.11 5.47 2.86c.23.12.51.1.72-.05a.67.67 0 0 0 .27-.67l-1.03-6.27 4.52-4.6a.69.69 0 0 0 .16-.7Zm-6.41 4.35a.62.62 0 0 0-.16.52l.76 4.62-4.02-2.1a.64.64 0 0 0-.57 0l-4.13 2.28.9-4.79a.58.58 0 0 0-.16-.53l-3.36-3.42 4.61-.71c.2-.03.37-.16.45-.34l1.99-4.22 1.99 4.22c.09.18.25.31.45.34l4.61.71z"}),s.createElement("path",{d:"m18.54 21.05-1.03-6.27 4.52-4.6a.69.69 0 0 0-.39-1.16l-6.21-.95-2.73-5.79c-.11-.24-.36-.39-.62-.39s-.51.15-.62.39L8.73 8.07l-6.21.95a.7.7 0 0 0-.55.46c-.08.24-.02.51.16.69l4.51 4.6-1.23 6.53c-.05.26.06.52.27.68.21.15.5.17.73.05l5.66-3.11 5.47 2.8
16c.23.12.51.1.72-.05a.67.67 0 0 0 .27-.67Z",opacity:.3}))))}},25438:function(e,l,t){"use strict";var r,a=t(80665);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var l=1;l<arguments.length;l++){var t=arguments[l];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(null,arguments)}l.Z=function(e){return a.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 265 55"},e),r||(r=a.createElement("path",{fill:"currentColor",d:"m28 39.654 12.167-3.025L45.25 52zm28-19.868H34.583L28 0l-6.583 19.786H0L17.333 32.05 10.75 51.837l17.333-12.265L38.75 32.05zM260.046 17.045v5.723h3.981v4.562h-3.981v11.619q0 1.29.495 1.85t1.894.56q1.032 0 1.829-.151v4.712a12.8 12.8 0 0 1-3.766.56q-6.54 0-6.67-6.606V27.33h-3.399v-4.561h3.399v-5.724zm-33.328 17.149q0-3.465 1.334-6.176t3.83-4.195q2.517-1.485 5.831-1.485 4.711 0 7.681 2.883 2.99 2.883 3.335 7.832l.043 1.593q0 5.357-2.991 8.606-2.991 3.227-8.025 3.227t-8.048-3.227q-2.99-3.228-2.99-8.779zm6.218.451q0 3.314 1.248 5.078 1.248 1.743 3.572 1.743 2.259 0 3.528-1.721 1.27-1.743 1.27-5.551 0-3.25-1.27-5.035t-3.571-1.786q-2.281 0-3.529 1.786-1.248 1.764-1.248 5.486M222.543 46.05h-6.239V13h6.239zm-11.704 0h-6.24V22.767h6.24zm-6.606-29.306q0-1.399.925-2.302.947-.904 2.561-.904 1.591 0 2.539.904.946.903.946 2.302 0 1.42-.968 2.324-.947.903-2.517.903-1.571 0-2.539-.903-.947-.904-.947-2.324m-3.83 17.88q0 5.379-2.453 8.628-2.431 3.227-6.584 3.227-3.528 0-5.702-2.452V55h-6.218V22.769h5.767l.215 2.28q2.259-2.71 5.895-2.71 4.304-.001 6.692 3.184t2.388 8.778zm-6.218-.452q0-3.249-1.162-5.013-1.14-1.764-3.335-1.764-2.926 0-4.024 2.237v9.532q1.141 2.302 4.067 2.302 4.454 0 4.454-7.294m-22.183-17.127v5.723h3.98v4.562h-3.98v11.619q0 1.29.494 1.85.495.56 1.894.56 1.032 0 1.829-.151v4.712a12.8 12.8 0 0 1-3.766.56q-6.54 0-6.67-6.606V27.33h-3.399v-4.561h3.399v-5.724zm-17.515 22.571q0-1.14-1.14-1.786-1.119-.668-3.615-1.183-8.305-1.743-8.305-7.058 0-3.098 2.56-5.164 2.582-2.087 6.735-2.087 4.432 0 7.079 2.087 2.668 2.088 2.668 5.422h-6.218q0-1.333-.861-2.194-.86-.883-2.69-.883-1.57 0-2.431.71t-.861 1.808q0 1.032.969 1.678.989.624 3.313 1.097 2.324.453 3.916 1.033 4.927 1.807 4.927 6.262 0 3.184-2.732 5.164-2.733 1.958-7.058 1.958-2.925 0-5.207-1.033-2.259-1.054-3.55-2.862-1.29-1.83-1.291-3.937h5.896q.086 1.656 1.226 2.538 1.14.883 3.055.883 1.787 0 2.69-.667.925-.69.925-1.786m-23.324 4.066q-2.301 2.797-6.368 2.797-3.744 0-5.724-2.151-1.957-2.151-2.001-6.304V22.768h6.218v15.04q0 3.637 3.314 3.637 3.163 0 4.346-2.195V22.769h6.24v23.28h-5.852zM114.209 28.6a17 17 0 0 0-2.238-.173q-3.53 0-4.626 2.389v15.233h-6.218V22.77h5.874l.172 2.775q1.872-3.206 5.185-3.206 1.033 0 1.937.28zm-14.954-8.65h-9.597v26.1h-6.454v-26.1h-9.468v-5.23h25.519z"})))}},11438:function(e,l,t){"use strict";var r,a=t(80665);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var l=1;l<arguments.length;l++){var t=arguments[l];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(null,arguments)}l.Z=function(e){return a.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 40 40"},e),r||(r=a.createElement("path",{fill:"currentColor",d:"M40 0v40H0V0zM19.999 26.958l8.625 6.292-2.541-7.834zm-3.291-10.125H5.999l8.667 6.25-3.292 10.083 8.667-6.25 5.333-3.833 8.625-6.25H23.291L19.999 6.75z"})))}},60791:function(e,l,t){"use strict";var r=t(97758),a=t(80665),s=t(65476),n=t(59538),i=t.n(n),o=t(55513),c=t(58439);l.Z=a.memo(function(e){let{slides:l,renderSlide:t,className:n,navTheme:d="dark",initialIndex:u}=e,[m,x]=(0,a.useState)(),h=l.length>=7?l:[...l,...l,...l].slice(0,Math.max(7,2*l.length)),p=void 0!==u?h.findIndex((e,t)=>t%l.length===u):Math.floor(h.length/2),[v,g]=(0,a.useState)(p);if((0,a.useEffect)(()=>{m&&(g(m.selectedScrollSnap()),m.on("select",()=>{g(m.selectedScrollSnap())}))},[m]),!l.length)return null;let f="dark"===d?"text-[#f5f0e8] hover:text-lobster":"text-[#2a3349] hover:text-lobster",b="dark"===d?"bg-[#f5f0e8]/50":"bg-[#2a3349]/50";return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.lr,{setApi:x,opts:{slidesToScroll:1,loop:!0,align:"center",containScroll:!1,startIndex:p},className:i()("max-md:mx-[calc(50%-50vw)]",n),children:(0,r.jsx)(s.KI,{className:"pb-16",children:h.map((e,a)=>{let n=v===a,o=(a+1)%h.length===v,c=(a-1+h.length)%h.length===v,d=a%l.length;return(0,r.jsx)(s.d$,{"data-active":n,className:i()("!basis-1/2 md:!basis-1/3 lg:!basis-1/5","relative [&>*]:transition-[translate,opacity,scale] [&>*]:duration-300 [&>*]:ease-in-out",n&&"z-[2]",o&&"[&>*]:[translate:-10%_0]",c&&"[&>*]:[translate:10%_0]"),children:t(e,n,d)},a)})})}),(0,r.jsxs)("div",{className:"flex justify-center items-center px-4 mt-4 gap-4",children:[(0,r.jsx)("button",{onClick:()=>{null==m||m.scrollPrev()},className:i()("hidden md:block cursor-pointer transition-colors duration-200 bg-transparent border-0 p-2",f),"aria-label":"Previous slide",children:(0,r.jsx)(c.Z,{className:"w-5 h-5"})}),(0,r.jsx)("div",{className:"flex flex-wrap justify-center gap-2 items-center",children:l.map((e,t)=>{let a=v%l.length===t,s=h.findIndex((e,r)=>r%l.length===t);return(0,r.jsx)("button",{className:i()("w-2 h-2 rounded-full transition-all duration-300 border-0 cursor-pointer p-0",a?"".concat("bg-lobster"," scale-150"):b),onClick:()=>null==m?void 0:m.scrollTo(s),"aria-label":"Go to slide ".concat(t+1)},t)})}),(0,r.jsx)("button",{onClick:()=>{null==m||m.scrollNext()},className:i()("hidden md:block cursor-pointer transition-colors duration-200 bg-transparent border-0 p-2",f),"aria-label":"Next slide",children:(0,r.jsx)(o.Z,{className:"w-5 h-5"})})]})]})})},21592:function(e,l,t){"use strict";var r=t(97758);t(80665);var a=t(29123);l.Z=e=>{let{markdown:l,breaks:t=!1,className:s="",staticContent:n=!1,additionalRenderOption:i={}}=e;return l?(0,r.jsx)("div",{className:"[&_p]:[font-size:inherit] [&_p]:mb-4 [&_strong]:[font-size:inherit] [&_strong]:[font-family:DMSans,sans-serif] [&_h1]:mb-2 [&_h2]:mb-2 [&_h3]:mb-2 [&_h4]:mb-2 [&_h4]:mt-8 "+(n?"[&_p]:my-6 [&_h1]:text-[length:var(--font-size-h4)] [&_h2]:text-[length:var(--font-size-h4)] [&_h3]:text-[length:var(--font-size-h4)] [&_h4]:text-[length:var(--font-size-h4)] [&_h1]:mb-2 [&_h2]:mb-2 [&_h3]:mb-2 [&_h4]:mb-2":"")+" "+s,dangerouslySetInnerHTML:{__html:(0,a.Z)(l,i,t)}}):null}},25017:function(e,l,t){"use strict";t.d(l,{G:function(){return i}});var r=t(97758);t(80665);var a=t(67210),s=t(19517),n=t(21592);let i="[&_p]:my-6 [&_h1]:text-[length:var(--font-size-h4)] [&_h2]:text-[length:var(--font-size-h4)] [&_h3]:text-[length:var(--font-size-h4)] [&_h4]:text-[length:var(--font-size-h4)] [&_h1]:mb-2 [&_h2]:mb-2 [&_h3]:mb-2 [&_h4]:mb-2 [&_ul]:ml-[1.2rem] [&_ul]:list-disc [&_ol]:ml-[1.2rem] [&_ol]:list-decimal [&_a]:underline";l.Z=e=>{let{value:l,className:t=""}=e;return(0,a.a3)(l)?(0,r.jsx)(s.Z,{data:l,className:"[&_p]:[font-size:inherit] [&_p]:mb-4 [&_strong]:[font-size:inherit] [&_strong]:[font-family:DMSans,sans-serif] [&_h1]:mb-2 [&_h2]:mb-2 [&_h3]:mb-2 [&_h4]:mb-2 [&_h4]:mt-8 "+t}):"string"==typeof l&&""!==l.trim()?(0,r.jsx)(n.Z,{markdown:l,className:t}):null}},78595:function(e,l,t){"use strict";let r=(0,t(66741).ZP)(()=>Promise.all([t.e(5079),t.e(7741)]).then(t.bind(t,67741)));l.Z=r},12630:function(e,l,t){"use strict";t.d(l,{Z:function(){return u}});var r,a,s=t(97758),n=t(80665);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var l=1;l<arguments.length;l++){var t=arguments[l];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(null,arguments)}var o=function(e){return n.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e),r||(r=n.createElement("circle",{cx:12,cy:12,r:12,fill:"#2a3349"})),n.createElement("circle",{cx:12,cy:12,r:4,style:{fill:"#fff"}}))};function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var l=1;l<arguments.length;l++){var t=arguments[l];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(null,arguments)}var d=function(e){return n.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e),a||(a=n.createElement("path",{fill:"#2a3349",d:"M12 24C5.38 24 0 18.62 0 12S5.38 0 12 0s12 5.38 12 12-5.38 12-12 12m0-22.13C6.42 1.87 1.87 6.42 1.87 12S6.41 22.13 12 22.13 22.13 17.59 22.13 12 17.58 1.87 12 1.87"})))},u=e=>{let{style:l,label:t,selected:r=!1,alignCenter:a,onClick:n=()=>{},className:i="",biggerText:c=!1}=e;return a?(0,s.jsxs)("div",{className:"flex items-center cursor-pointer "+i,onClick:()=>n(),children:[r&&(0,s.jsx)(o,{className:"w-4 h-4 svg-green"}),!r&&"light"===l&&(0,s.jsx)(d,{className:"w-4 h-4 svg-light opacity-50"}),!r&&"light"!==l&&(0,s.jsx)(d,{className:"w-4 h-4 opacity-50"}),(0,s.jsx)("span",{className:c?"flex items-center ml-1":"small-text flex items-center ml-1",children:t})]}):(0,s.jsxs)("div",{className:"flex items-start cursor-pointer "+i,onClick:()=>n(),children:[(0,s.jsxs)("div",{className:"mt-1 mr-2",children:[r&&(0,s.jsx)(o,{className:"w-4 h-4 svg-green"}),!r&&"light"===l&&(0,s.jsx)(d,{className:"w-4 h-4 svg-light opacity-50"}),!r&&"light"!==l&&(0,s.jsx)(d,{className:"w-4 h-4 opacity-50"})]}),(0,s.jsx)("span",{className:c?"small-text ml-1":"ml-1",children:t})]})}},73997:function(e,l,t){"use strict";t.d(l,{Z:function(){return f}});var r,a,s=t(97758),n=t(80665),i=t(62315),o=t.n(i);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var l=1;l<arguments.length;l++){var t=arguments[l];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(null,arguments)}var d=function(e){return n.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e),r||(r=n.createElement("path",{fill:"#2a3349",d:"M12 20.99c-.29 0-.56-.11-.77-.32l-7.99-8c-.05-.07-.07-.09-.09-.12-.04-.06-.05-.09-.06-.11l-.08-.24c0-.05-.01-.09-.02-.13v-.09l.04-.29.04-.12c.03-.07.04-.1.06-.12.04-.07.06-.09.08-.12 0 0 .01-.02.02-.03s.03-.03.04-.05l.04-.04 7.92-7.92c.41-.41 1.12-.41 1.53 0 .2.2.32.48.32.77s-.11.56-.32.77L6.69 10.9h13.33a1.082 1.082 0 0 1-.11 2.16
1H6.7l6.15 6.16c.34.44.31 1.06-.08 1.44-.2.2-.48.32-.77.32Z"})))};function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var l=1;l<arguments.length;l++){var t=arguments[l];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(null,arguments)}var m=function(e){return n.createElement("svg",u({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e),a||(a=n.createElement("path",{fill:"#2a3349",d:"M12 20.99c-.29 0-.56-.11-.77-.32s-.32-.48-.32-.77.11-.56.32-.77l6.07-6.07H3.97a1.082 1.082 0 0 1 .11-2.16H17.3l-6.15-6.16c-.34-.44-.31-1.06.08-1.44.41-.41 1.12-.41 1.53 0l7.99 8c.05.07.07.09.09.12.04.06.05.09.06.11l.08.24c0 .05.01.09.02.13v.09l-.04.29-.04.12c-.03.07-.04.1-.06.12-.04.07-.06.09-.08.12 0 0-.01.02-.02.03s-.03.03-.04.05l-.04.04-7.92 7.92c-.2.2-.48.32-.77.32Z"})))},x=t(11548),h=t(95745),p=t(59538),v=t.n(p);let g={768:{slidesPerView:2},1024:{slidesPerView:3},1280:{slidesPerView:4}};var f=e=>{let{children:l,className:t="",caption:r="",loop:a=!1,captionOneLine:i=!1,fullScreen:c=!1,showArrows:u=!1,specialButtonMove:p=!1,isLight:f=!1,overflow:b=!1,bleed:j=!1,slidesPerView:w=1.2,breakpoints:k=g,spaceBetween:y=20}=e,[N,Z]=(0,n.useState)(!1),[P,C]=(0,n.useState)(!0),[B,S]=(0,n.useState)(null),[_,T,M]=(0,h.Z)(),z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;B&&(1===e?B.slideNext():B.slidePrev())},E=()=>{z(1)},I=()=>{z(-1)},L=f?" svg-light ":" svg-lobster ",A=v()({[o().swiper]:!0,[o().overflow]:!!b,[o().bleed]:!!j});return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:t+" "+o().shSlider+" ",children:[i?(0,s.jsxs)("div",{className:c?o().shSliderHeader+" px-4 flex items-center mb-6":o().shSliderHeader+" flex items-center mb-6",children:[(0,s.jsx)("div",{className:"w-full mr-6",children:(0,s.jsx)("h6",{children:r})}),!p&&(0,s.jsxs)("div",{className:P||N||u?""===r?" flex justify-center justify-items-center":" flex justify-end justify-items-end mb-1":" hidden ",children:[(0,s.jsx)(d,{className:"cursor-pointer ".concat(L," mr-6 w-6 h-6 ")+(N?"":o().arrowDisabled),onClick:()=>I()}),(0,s.jsx)(m,{className:"cursor-pointer ".concat(L," w-6 h-6 ")+(P?"":o().arrowDisabled),onClick:()=>E()})]})]}):(0,s.jsxs)("div",{className:c?o().shSliderHeader+" flex flex-col sm:flex-row mb-6 px-4 justify-between":o().shSliderHeader+" flex flex-col sm:flex-row mb-6",children:[(0,s.jsx)("div",{className:"mb-2 sm:mb-0 h6",children:r}),!p&&(0,s.jsxs)("div",{className:P||N||u?""===r?" flex flex-row self-center mt-4 sm:mt-0":" flex flex-row self-end mt-4 sm:mt-0 mb-1":" hidden ",children:[(0,s.jsx)(d,{className:"cursor-pointer ".concat(L," mr-4 w-6 h-6 ")+(N?"":o().arrowDisabled),onClick:()=>I()}),(0,s.jsx)(m,{className:"cursor-pointer ".concat(L," w-6 h-6 ")+(P?"":o().arrowDisabled),onClick:()=>E()})]})]}),p&&(0,s.jsxs)("div",{className:"w-full !h-[40px] absolute top-1/2 flex flex-row justify-between items-center px-6 -translate-y-1/2 z-10",children:[(0,s.jsx)("button",{onClick:()=>I(),className:"bg-white/95 grid place-content-center !h-[40px] !w-[40px] rounded-full m-0 z-10",children:(0,s.jsx)(d,{className:"svg-lobster !h-6 !w-6"+(N?"":" ".concat(o().arrowDisabled))})}),(0,s.jsx)("button",{onClick:()=>E(),className:"bg-white/95 grid place-content-center !h-[40px] !w-[40px] rounded-full m-0 z-10",children:(0,s.jsx)(m,{className:"svg-lobster !h-6 !w-6"+(P?"":" ".concat(o().arrowDisabled))})})]}),(0,s.jsx)(x.tq,{className:A,loop:a,spaceBetween:y,slidesPerView:w,pagination:{clickable:!0},scrollbar:{draggable:!0},onReachEnd:e=>{C(!1)},onSlideChange:e=>{Z(!e.isBeginning),C(!e.isEnd)},onSwiper:S,breakpoints:k,children:l})]})})}},65476:function(e,l,t){"use strict";t.d(l,{KI:function(){return c},Pz:function(){return m},am:function(){return u},d$:function(){return d},lr:function(){return o}});var r=t(97758),a=t(80665),s=t(92935);let n=a.createContext(null);function i(){let e=a.useContext(n);if(!e)throw Error("useCarousel must be used within a <Carousel />");return e}let o=a.forwardRef((e,l)=>{let{orientation:t="horizontal",opts:i,setApi:o,plugins:c,className:d,children:u,...m}=e,[x,h]=(0,s.Z)({...i,axis:"horizontal"===t?"x":"y"},c),[p,v]=a.useState(!1),[g,f]=a.useState(!1),b=a.useCallback(e=>{e&&(v(e.canScrollPrev()),f(e.canScrollNext()))},[]),j=a.useCallback(()=>{null==h||h.scrollPrev()},[h]),w=a.useCallback(()=>{null==h||h.scrollNext()},[h]),k=a.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),j()):"ArrowRight"===e.key&&(e.preventDefault(),w())},[j,w]);return a.useEffect(()=>{h&&o&&o(h)},[h,o]),a.useEffect(()=>{if(h)return b(h),h.on("reInit",b),h.on("select",b),()=>{null==h||h.off("select",b)}},[h,b]),(0,r.jsx)(n.Provider,{value:{carouselRef:x,api:h,opts:i,orientation:t||((null==i?void 0:i.axis)==="y"?"vertical":"horizontal"),scrollPrev:j,scrollNext:w,canScrollPrev:p,canScrollNext:g},children:(0,r.jsx)("div",{ref:l,onKeyDownCapture:k,className:"relative ".concat(d||""),role:"region","aria-roledescription":"carousel",...m,children:u})})});
1o.displayName="Carousel";let c=a.forwardRef((e,l)=>{let{className:t,...a}=e,{carouselRef:s,orientation:n}=i();return(0,r.jsx)("div",{ref:s,className:"overflow-hidden",children:(0,r.jsx)("div",{ref:l,className:"flex ".concat("horizontal"===n?"-ml-4":"-mt-4 flex-col"," ").concat(t||""),...a})})});c.displayName="CarouselContent";let d=a.forwardRef((e,l)=>{let{className:t,...a}=e,{orientation:s}=i();return(0,r.jsx)("div",{ref:l,role:"group","aria-roledescription":"slide",className:"min-w-0 shrink-0 grow-0 basis-full ".concat("horizontal"===s?"pl-4":"pt-4"," ").concat(t||""),...a})});d.displayName="CarouselItem";let u=a.forwardRef((e,l)=>{let{className:t,...a}=e,{scrollPrev:s,canScrollPrev:n}=i();return(0,r.jsxs)("button",{ref:l,className:"absolute left-0 top-1/2 -translate-y-1/2 h-8 w-8 m-0 p-0 rounded-full bg-white text-dark-01-main shadow flex items-center justify-center border-0 cursor-pointer disabled:opacity-50 ".concat(t||""),disabled:!n,onClick:s,...a,children:[(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,r.jsx)("path",{d:"m15 18-6-6 6-6"})}),(0,r.jsx)("span",{className:"sr-only",children:"Previous slide"})]})});u.displayName="CarouselPrevious";let m=a.forwardRef((e,l)=>{let{className:t,...a}=e,{scrollNext:s,canScrollNext:n}=i();return(0,r.jsxs)("button",{ref:l,className:"absolute right-0 top-1/2 -translate-y-1/2 h-8 w-8 m-0 p-0 rounded-full bg-white text-dark-01-main shadow flex items-center justify-center border-0 cursor-pointer disabled:opacity-50 ".concat(t||""),disabled:!n,onClick:s,...a,children:[(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,r.jsx)("path",{d:"m9 18 6-6-6-6"})}),(0,r.jsx)("span",{className:"sr-only",children:"Next slide"})]})});m.displayName="CarouselNext"},11224:function(e,l,t){"use strict";t.d(l,{SP:function(){return c},dr:function(){return o},mQ:function(){return i},nU:function(){return d}});var r=t(97758),a=t(80665),s=t(95282),n=t(89750);let i=s.fC,o=a.forwardRef((e,l)=>{let{className:t,...a}=e;return(0,r.jsx)(s.aV,{ref:l,className:(0,n.cn)("inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",t),...a})});o.displayName=s.aV.displayName;let c=a.forwardRef((e,l)=>{let{className:t,...a}=e;return(0,r.jsx)(s.xz,{ref:l,className:(0,n.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",t),...a})});c.displayName=s.xz.displayName;let d=a.forwardRef((e,l)=>{let{className:t,...a}=e;return(0,r.jsx)(s.VY,{ref:l,className:(0,n.cn)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",t),...a})});d.displayName=s.VY.displayName},89073:function(e,l,t){"use strict";t.d(l,{XI:function(){return s},ac:function(){return a},c3:function(){return n}});var r=t(80665);function a(e){let l=arguments.length>1&&void 0!==arguments[1]&&arguments[1],[t,a]=(0,r.useState)(l);return(0,r.useEffect)(()=>{if(!window.matchMedia)return;let l=window.matchMedia(e),t=()=>a(l.matches);return t(),l.addEventListener("change",t),()=>l.removeEventListener("change",t)},[e]),t}function s(){let[e,l]=(0,r.useState)(!1),t=(0,r.useRef)(null),a=(0,r.useCallback)(()=>l(!0),[]),s=(0,r.useCallback)(()=>l(!1),[]);return(0,r.useEffect)(()=>{let e=t.current;if(e)return e.addEventListener("mouseenter",a),e.addEventListener("mouseleave",s),()=>{e.removeEventListener("mouseenter",a),e.removeEventListener("mouseleave",s)}},[a,s]),{hovered:e,ref:t}}function n(e){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["mousemove","mousedown","keypress","touchmove","scroll","wheel"],[t,a]=(0,r.useState)(!1),s=(0,r.useRef)();return(0,r.useEffect)(()=>{let t=()=>{a(!1),clearTimeout(s.current),s.current=setTimeout(()=>a(!0),e)};
1return t(),l.forEach(e=>window.addEventListener(e,t,{passive:!0})),()=>{clearTimeout(s.current),l.forEach(e=>window.removeEventListener(e,t))}},[e]),t}},19347:function(e,l,t){"use strict";t.d(l,{t:function(){return i}});var r=t(80665),a=t(21487);let s={status:"idle"},n={status:"loading"};function i(e,l){let t=!(arguments.length>2)||void 0===arguments[2]||arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=t&&e&&l?JSON.stringify([e,l,i]):null,[c,d]=(0,r.useState)(null);return((0,r.useEffect)(()=>{if(!o||!e||!l){d(e=>null===e?e:null);return}let t=!1;return(0,a.w)(e,l).then(e=>{t||d({requestId:o,result:e})}),()=>{t=!0}},[o,e,l]),o)?c&&c.requestId===o?c.result:n:s}},20411:function(e,l,t){"use strict";t.d(l,{Nz:function(){return n},aB:function(){return r},hA:function(){return s},mu:function(){return a}});let r=575,a=767,s=991,n=1199},95745:function(e,l,t){"use strict";var r=t(90094),a=t(20411);l.Z=()=>{let e=(0,r.Lm)();return[e>0&&e<=a.aB,e>a.aB&&e<=a.mu,e>a.mu&&e<=a.hA,e>a.hA&&e<=a.Nz,e>a.Nz]}},14965:function(e,l,t){"use strict";t.d(l,{k:function(){return r}});let r=e=>{if(!e)return e;let l=e.indexOf("T");-1!==l&&(e=e.substr(0,l));let t=e.split("-");return t[2]+"."+t[1]+"."+t[0]}},29123:function(e,l,t){"use strict";var r=t(62921);l.Z=function(e){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a={link:(e,l,t)=>t?'<a href="'.concat(e,'" target="_blank">').concat(t,"</a>"):l?'<a href="'.concat(e,'" target="_blank">').concat(l,"</a>"):'<a href="'.concat(e,'" target="_blank">').concat(e,"</a>"),...l};return r.TU.use({renderer:a,breaks:t}),(0,r.TU)(e)}},58427:function(e,l,t){"use strict";let r;var a=t(55738);class s{log(e,l){}startSession(e){this.flush(),this.state={sessionId:"undefined"!=typeof crypto&&crypto.randomUUID?crypto.randomUUID():"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{let l=16*Math.random()|0;return("x"===e?l:3&l|8).toString(16)}),videoId:e.videoId,videoTitle:e.videoTitle||"",courseId:e.courseId||"",courseTitle:e.courseTitle||"",isPreview:e.isPreview||!1,pageType:e.pageType||"enrolled",lastHeartbeatTime:Date.now(),lastPosition:0,isPlaying:!1,playbackRate:1,isFullscreen:!1},this.log("Session started",{sessionId:this.state.sessionId,videoId:this.state.videoId,videoTitle:this.state.videoTitle,courseId:this.state.courseId,courseTitle:this.state.courseTitle,isPreview:this.state.isPreview,pageType:this.state.pageType})}handlePlay(){this.state&&(this.state.isPlaying=!0,this.state.lastHeartbeatTime=Date.now(),this.sendEvent("play",0))}handlePause(){if(!this.state)return;this.state.isPlaying=!1;let e=this.calcWatchSeconds();e>0&&this.sendEvent("pause",e),this.state.lastHeartbeatTime=Date.now()}handleEnded(){if(!this.state)return;this.state.isPlaying=!1;let e=this.calcWatchSeconds();this.sendEvent("end",e,!0),this.state.lastHeartbeatTime=Date.now()}setPlaybackRate(e){this.state&&"number"==typeof e&&e>0&&(this.state.playbackRate=e)}setFullscreen(e){this.state&&(this.state.isFullscreen=!!e)}handleTimeUpdate(e,l,t,r){if(this.state&&("number"==typeof t&&t>0&&(this.state.playbackRate=t),"boolean"==typeof r&&(this.state.isFullscreen=r),this.state.lastPosition=e,Date.now()-this.state.lastHeartbeatTime>=15e3)){let t=this.calcWatchSeconds();this.sendEvent("heartbeat",t,!1,e,l),this.state.lastHeartbeatTime=Date.now()}}destroy(){this.log("Destroying tracker"),this.flush(),this.state=null}flush(){if(!this.state||!this.state.isPlaying)return;let e=this.calcWatchSeconds();e>.5&&this.sendEvent("pause",e)}calcWatchSeconds(){return this.state?Math.min((Date.now()-this.state.lastHeartbeatTime)/1e3*(this.state.playbackRate||1),30):0}sendEvent(e,l){var t;let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=arguments.length>3?arguments[3]:void 0,n=arguments.length>4?arguments[4]:void 0;if(!this.state)return;let i=null!=s?s:this.state.lastPosition,o=a.Z.getState().currentUserOverview,c=this.state.courseTitle&&this.state.videoTitle?"".concat(this.state.courseTitle," - ").concat(this.state.videoTitle):this.state.videoTitle||"",d={sessionId:this.state.sessionId,platform:"7hauben_web",videoId:String(this.state.videoId),videoIdSource:"strapi",currentPosition:i,videoDuration:null!=n?n:0,watchSeconds:Math.round(100*l)/100,clientTimestamp:new Date().toISOString(),videoTitle:this.state.videoTitle,courseId:this.state.courseId?String(this.state.courseId):void 0,courseTitle:this.state.courseTitle,courseWithVideoTitle:c,eventType:e,playbackRate:this.state.playbackRate,isFullscreen:this.state.isFullscreen,isPreview:this.state.isPreview,hasSubscription:!!(null==o?void 0:o.abo),hasBoughtCourse:!!(null==o?void 0:null===(t=o.realBoughtCoursesId)||void 0===t?void 0:t.includes(Number(this.state.courseId))),ended:r,pageType:this.state.pageType,pageUrl:window.location.href},u=a.Z.getState().idToken,m={"Content-Type":"application/json"};u&&(m.CustomAuth=u),this.log('Sending "'.concat(e,'"'),{videoId:d.videoId,position:d.currentPosition,duration:d.videoDuration,watchSeconds:d.watchSeconds,playbackRate:d.playbackRate,isFullscreen:d.isFullscreen,hasAuth:!!u,ended:d.ended}),fetch("".concat("https://api.7hauben.com","/video-analytics/7hauben/events"),{method:"POST",headers:m,body:JSON.stringify(d),keepalive:!0}).then(e=>{}).catch(e=>{})}constructor(){this.state=null}}window.__videoAnalyticsTracker?r=window.__videoAnalyticsTracker:(r=new s,window.__videoAnalyticsTracker=r),l.Z=r},37484:function(e,l,t){"use strict";t.d(l,{i:function(){return s}});var r=t(65807);let a=["rating-teaser","conversion","pricingCard","pricingSelection","iconsBlock","socialProofs","faqs","newsletter-subscribe","pricingHero","offerCard"];function s(e,l,t){var s;return!!e&&"object"==typeof e&&!(e.hidden||!(0,r.C)(e.visibility,l)||t.subscriberFallback&&(null==l?void 0:l.abo)&&a.includes(null!==(s=e.blockType)&&void 0!==s?s:""))}},30170:function(e,l,t){"use strict";function r(e){var l;let t=null!==(l=e.courseTitle)&&void 0!==l?l:"",r={};return e.userId&&(r.gm_user_id=e.userId),r.gm_custom_video_series=t,r.gm_custom_video_variant=e.pageType,r.gm_custom_video_variant_name=e.playerVariant,r.gm_custom_data_1=e.hasSubscription?"true":"false",r.gm_custom_data_2=e.hasBoughtCourse?"true":"false",r.gm_custom_data_3=e.pageType,r.gm_custom_data_4=t,r.gm_custom_data_5=t?"".concat(t," - ").concat(e.videoTitle):e.videoTitle,r}t.d(l,{R:function(){return r}})},21487:function(e,l,t){"use strict";t.d(l,{J:function(){return n},w:function(){return s}});var r=t(26035);let a=(e,l)=>r.kI.getPlaybackV2(e,l);async function s(e,l){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a;try{let r=await t(e,l);return{status:"ok",playback:r}}catch(t){let e=function(e){if(e instanceof r.MS)return e.status;let l=null==e?void 0:e.status;return"number"==typeof l?l:null}(t);if(403===e)return{status:"forbidden"};if(404===e)return{status:"unavailable"};let l=null==t?void 0:t.message;return{status:"error",message:"string"==typeof l&&l?l:"unknown"}}}function n(e){return e.signed?{signed_token:e.signed.token,signed_expires:String(e.signed.expires)}:{}}},25774:function(e,l,t){"use strict";var r=t(97758),a=t(80665),s=t(11548),n=t(44358),i=t(58439),o=t(55513);l.Z=e=>{let{children:l,bleed:t=!1}=e,[c,d]=(0,a.useState)(null),[u,m]=(0,a.useState)(!1),[x,h]=(0,a.useState)(!0);return l?(0,r.jsxs)("div",{className:"overflow-visible relative",children:[(0,r.jsx)(s.tq,{slidesPerView:1.2,spaceBetween:30,watchSlidesProgress:!0,breakpoints:{768:{slidesPerView:2},1024:{slidesPerView:3}},className:t?n.uk:"".concat(n.uk," ").concat(n.rF),onSwiper:d,onSlideChange:e=>{m(!e.isBeginning),h(!e.isEnd)},onReachEnd:()=>h(!1),children:l}),(0,r.jsxs)("div",{className:n.Zq,children:[(0,r.jsx)("button",{onClick:()=>null==c?void 0:c.slidePrev(),disabled:!u,"aria-label":"zur\xfcck",children:(0,r.jsx)(i.Z,{})}),(0,r.jsx)("button",{onClick:()=>null==c?void 0:c.slideNext(),disabled:!x,"aria-label":"weiter",children:(0,r.jsx)(o.Z,{})})]})]}):null}},44358:function(e,l,t){"use strict";t.d(l,{U8:function(){return s},Zq:function(){return n},rF:function(){return a},uk:function(){return r}});let r="md:max-w-[100vw] !overflow-visible md:w-full",a="[&_.swiper-slide]:transition-opacity [&_.swiper-slide]:duration-300 [&_.swiper-slide:not(.swiper-slide-visible)]:opacity-0",s="items-stretch !flex !h-auto",n="hidden py-3 px-5 lg:flex lg:bottom-[calc(100%+24px)] lg:gap-[10px] lg:absolute lg:right-0 [&_svg]:aspect-square [&_svg]:text-[color:var(--color-foreground)] [&_svg]:block [&_svg]:w-6 [&_button]:transition-all [&_button]:duration-300 [&_button]:m-0 [&_button]:p-0 [&_button:disabled]:opacity-30"},60713:function(e,l,t){"use strict";t.d(l,{Z:function(){return v}});var r,a,s=t(97758),n=t(80665),i=t(30507),o=t(2154),c=t.n(o),d=t(13462);function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var l=1;l<arguments.length;l++){var t=arguments[l];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(null,arguments)}var m=function(e){return n.createElement("svg",u({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 153.518 322.524"},e),r||(r=n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M140.684 294.16c5.545.717 9.891 2.188 11.9 2.998-1.593 4.83-3.96 9.203-7.244 12.953-6.94 7.99-17.044 11.564-26.622 12.24-9.612.81-18.404-1.411-23.123-2.89.334-1.117 1-2.849 2.091-4.923 1.607-3.072 4.202-6.817 7.992-10.21 3.787-3.403 8.713-6.394 14.982-8.442 3.815-1.149 7.48-1.898 10.8-2.037 3.36-.257 6.447-.058 9.224.31Zm-44.441-18.747c1.6.315 3.1.727 4.508 1.2 1.442.42 2.79.909 4.041 1.439 2.475 1.1 4.674 2.192 6.427 3.25 1.742 1.078 3.086 2.038 3.943 2.635-2.722 4.102-6.082 7.643-10.073 10.262-8.52 5.663-18.882 6.472-28.02 4.694-9.127-1.76-16.91-5.905-20.92-8.551.608-.936 1.654-2.384 3.16-4.013 4.547-5.022 13.537-11.233 26.29-11.703 3.947-.23 7.406.207 10.644.787m37.171-35.5c5.482 2.894 9.723 7.077 13.08 12.507 3.33 5.387 5.762 12.102 6.675 19.852.616 5.215.453 10.897-.79 16.82-2.798-.527-7.808-1.99-12.573-5.772-4.79-3.652-9.194-9.78-10.538-18.332-1.47-9.842 1.491-18.85 4.146-25.075m-22.048-15.301c4.412 4.167 7.36 9.148 9.073 15.144.87 2.966 1.385 6.225 1.615 9.586a52 52 0 0 1-.545 10.739c-.805 5.069-2.452 10.327-5.174 15.519a35.5 35.5 0 0 1-4.755-3.008c-1.776-1.483-3.748-3.317-5.483-5.686-3.432-4.78-6.084-11.467-5.038-19.921 1.147-9.58 6.248-17.272 10.307-22.373M58.927 246.99c7.433 1.498 12.919 4.68 17.181 7.822 2.083 1.612 3.823 3.23 5.257 4.614 1.412 1.402 2.414 2.672 3.068 3.466-3.561 3.208-7.51 5.615-11.941 7.138a33 33 0 0 1-7.11 1.567c-2.3
164.233-4.702.176-7.039-.07-4.716-.452-9.123-1.945-13.241-3.791a57.8 57.8 0 0 1-10.651-6.583c-2.917-2.362-5.348-4.578-6.904-6.292a29 29 0 0 1 3.899-3.027c5.459-3.652 15.415-7.415 27.481-4.844m36.754-40.441c3.233 5.072 4.933 10.502 5.213 16.56a35 35 0 0 1-.098 4.664 38 38 0 0 1-.584 4.786 50 50 0 0 1-3.007 10 50.1 50.1 0 0 1-8.498 13.386 35 35 0 0 1-3.772-3.974 32.5 32.5 0 0 1-3.842-6.626c-2.096-5.32-3.044-12.216-.143-19.963 3.182-8.74 9.781-14.934 14.731-18.833m-55.844 7.244c3.296 1.578 6.01 3.442 8.406 5.368a34 34 0 0 1 3.175 3.004 34 34 0 0 1 2.695 2.994 35 35 0 0 1 2.11 2.94 36 36 0 0 1 1.728 2.648 34 34 0 0 1 2.039 4.024c-4.098 2.11-8.395 3.43-12.898 3.77a31.2 31.2 0 0 1-13.62-1.932c-4.293-1.528-8.112-3.92-11.491-6.62-3.424-2.676-6.132-5.79-8.482-8.61a76 76 0 0 1-5.021-7.515c1.908-1.06 6.192-2.99 11.794-3.586 5.653-.64 12.37.112 19.565 3.515m44.084-30.34c1.815 5.545 2.11 11.114.923 16.91a33 33 0 0 1-1.21 4.382c-.485 1.46-1.027 2.909-1.71 4.376-1.353 2.928-3.155 5.884-5.279 8.67-2.939 3.8-6.68 7.366-11.269 10.422-.723-1.115-1.7-2.674-2.553-4.677-.79-2.035-1.584-4.441-1.957-7.174-.675-5.498.126-12.207 4.69-18.772 5.098-7.425 12.775-11.656 18.365-14.137M15.99 169.846c4.406 1.169 8.882 3.406 13.443 7.1 2.707 2.26 4.815 4.652 6.595 7.028a34.5 34.5 0 0 1 2.259 3.57 33 33 0 0 1 1.804 3.449 60 60 0 0 1 2.261 6.156c.526 1.795.79 3.298.956 4.272-4.362 1.005-8.689 1.184-12.987.46a30.3 30.3 0 0 1-12.293-5.074c-3.653-2.463-6.672-5.61-9.189-8.941-2.576-3.32-4.37-6.867-5.905-10.061A72 72 0 0 1 0 169.592c.999-.277 2.57-.6 4.533-.775 3.067-.28 7.106-.153 11.456 1.029Zm62.396-10.138c.51 5.698-.614 11.074-3.019 16.263-1.297 2.608-2.81 5.13-4.786 7.578-2.01 2.458-4.263 4.782-6.96 6.924-3.634 2.879-7.997 5.376-12.996 7.179a33 33 0 0 1-1.287-4.993c-.347-2.072-.399-4.55-.17-7.19a27 27 0 0 1 2.414-8.348c1.476-2.852 3.408-5.652 6.312-8.223 6.551-5.833 14.578-8.086 20.492-9.19M13.865 127.2c4.922 1.968 10.16 5.538 14.508 11.502 4.017 5.499 5.763 10.972 6.639 15.679.769 4.693.74 8.628.52 10.573-4.282-.143-8.413-1.016-12.246-2.746-8.25-3.647-13.63-10.777-16.775-18.185-1.556-3.691-2.51-7.424-3.147-10.756a71 71 0 0 1-.853-8.364c2.11-.008 6.49.316 11.354 2.297m64.668 7.8c-.79 5.552-3.13 10.422-6.563 14.79-3.523 4.337-8.36 8.186-14.387 10.962-4.106 1.872-8.746 3.198-13.863 3.696-.221-2.485-.29-6.923 1.506-11.782.87-2.422 2.31-4.931 4.18-7.282a27.5 27.5 0 0 1 7.785-6.303c7.516-4.01 15.502-4.361 21.342-4.081m5.974-24.286c-1.988 5.092-5.34 9.181-9.564 12.544-4.308 3.31-9.75 5.835-16.045 7.06a42.4 42.4 0 0 1-13.828.237 31 31 0 0 1 1.142-4.706c.62-1.866 1.662-3.933 3.004-6.012 1.38-2.07 3.304-4.092 5.6-5.872 2.402-1.747 5.31-3.212 8.725-4.156 7.996-2.069 15.53-.658 20.966.905m-68.81-28.216c.934.228 2.327.653 3.958 1.341 5.328 2.188 13.051 7.555 17.02 17.607 2.483 6.074 2.85 11.6 2.511 16.201-.13 2.306-.53 4.351-.929 6.064a31 31 0 0 1-1.088 3.991c-3.969-1.185-7.625-2.988-10.819-5.512-6.772-5.38-10.153-13.293-11.378-20.934-1.152-7.606-.16-14.79.724-18.758Zm79.328 7.191c-3.102 4.331-6.88 7.664-11.758 9.848-2.346 1.137-4.945 1.993-7.778 2.528-2.74.578-5.708.838-8.827.72-4.2-.172-8.581-1.018-13.02-2.722.387-1.119 1.134-2.557 2.119-4.18.967-1.634 2.336-3.378 4.119-5.01 1.717-1.665 3.912-3.179 6.53-4.322 2.554-1.179 5.638-1.919 9.095-2.063 7.822-.358 14.826 2.67 19.52 5.201M36.847 47.155c1.777.9 5.269 3.053 8.454 6.755 3.239 3.72 5.994 8.834 7.093 15.603.962 6.216.103 11.5-1.22 15.752-1.362 4.218-3.145 7.435-4.14 8.992-3.463-1.972-6.47-4.491-8.87-7.57-5.168-6.543-6.608-14.694-6.067-22.1.25-3.703 1.077-7.145 1.917-10.18a62 62 0 0 1 2.833-7.252M91.303 63.79c7.493 1.242 13.45 5.379 17.393 8.7-3.722 3.604-8.126 5.879-13.078 7.075-4.942 1.17-10.58 1.159-16.36-.271-3.876-.983-7.846-2.663-11.68-5.189.642-.951 1.577-2.2 2.825-3.537 1.283-1.31 2.954-2.652 4.905-3.872 3.979-2.375 9.418-3.989 15.995-2.906M63.065 19.66c1.524 1.235 4.373 3.988 6.587 8.095a29.33 29.33 0 0 1 3.464 16.104c-.143 3.06-.705 5.765-1.525 8.148-.775 2.422-1.746 4.582-2.846 6.407-2.083 3.732-4.528 6.319-5.779 7.617-2.848-2.605-5.159-5.604-6.737-8.956-3.47-7.226-3.172-15.192-1.134-22.007 1.996-6.839 5.676-12.401 7.97-15.408m39.516 25.407c2.662.033 5.536.52 8.506 1.63 6.82 2.653 11.646 7.615 14.751 11.525-2.107 1.416-4.424 2.298-6.687 3.061a22 22 0 0 1-3.557.77c-1.188.2-2.387.333-3.626.362a27 27 0 0 1-3.788-.172 29 29 0 0 1-3.813-.584c-2.57-.56-5.235-1.516-
17.812-2.783-3.439-1.675-6.8-4.052-9.909-7.187 1.53-1.609 4.6-3.924 8.775-5.43a25 25 0 0 1 7.16-1.192M91.663 0c.561.649 1.311 1.68 2.102 3.009 2.681 4.429 5.44 12.407 2.913 21.658-.709 2.849-1.747 5.287-2.97 7.374-1.184 2.139-2.509 3.986-3.89 5.498-2.708 3.078-5.443 5.126-6.943 6.056-2.175-3.001-3.729-6.217-4.579-9.712-1.878-7.479-.074-14.871 3.084-20.893C84.515 6.943 88.976 2.444 91.663 0"})))};function x(){return(x=Object.assign?Object.assign.bind():function(e){for(var l=1;l<arguments.length;l++){var t=arguments[l];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(null,arguments)}var h=function(e){return n.createElement("svg",x({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 153.518 322.524"},e),a||(a=n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M22.059 293.85c3.32.138 6.983.887 10.799 2.035 6.269 2.048 11.195 5.04 14.982 8.442 3.79 3.394 6.385 7.139 7.992 10.21 1.092 2.076 1.756 3.808 2.09 4.925-4.717 1.478-13.51 3.699-23.122 2.89-9.578-.677-19.681-4.251-26.622-12.24-3.283-3.75-5.651-8.125-7.243-12.954 2.008-.81 6.354-2.28 11.899-2.999 2.777-.368 5.864-.567 9.225-.31Zm45.86-19.224c12.754.47 21.743 6.68 26.289 11.703 1.508 1.629 2.554 3.077 3.16 4.013-4.008 2.646-11.791 6.792-20.918 8.55-9.14 1.779-19.501.97-28.021-4.693-3.992-2.62-7.351-6.16-10.072-10.262.857-.597 2.2-1.557 3.942-2.634 1.754-1.06 3.952-2.151 6.427-3.251a37 37 0 0 1 4.04-1.44 36 36 0 0 1 4.51-1.2c3.237-.58 6.696-1.015 10.643-.786m-47.816-34.713c2.655 6.225 5.618 15.233 4.147 25.075-1.344 8.551-5.747 14.68-10.538 18.332-4.766 3.781-9.775 5.245-12.573 5.771-1.243-5.922-1.406-11.604-.791-16.819.913-7.75 3.346-14.465 6.677-19.852 3.356-5.43 7.597-9.613 13.078-12.507m22.05-15.301c4.058 5.1 9.158 12.794 10.306 22.373 1.046 8.454-1.606 15.142-5.039 19.92-1.734 2.37-3.706 4.204-5.483 5.687a35.5 35.5 0 0 1-4.754 3.008c-2.722-5.192-4.369-10.45-5.174-15.52a52 52 0 0 1-.546-10.738c.231-3.361.746-6.62 1.615-9.586 1.714-5.996 4.662-10.977 9.074-15.144Zm79.92 27.222a29 29 0 0 1 3.898 3.027c-1.557 1.714-3.987 3.93-6.904 6.292a57.8 57.8 0 0 1-10.65 6.583c-4.119 1.846-8.526 3.339-13.242 3.792-2.337.245-4.675.302-7.039.069a33 33 0 0 1-7.11-1.567c-4.43-1.523-8.38-3.93-11.94-7.138.653-.794 1.655-2.064 3.066-3.466 1.435-1.383 3.175-3.002 5.257-4.614 4.263-3.142 9.75-6.324 17.181-7.822 12.067-2.571 22.023 1.192 27.482 4.844Zm-64.236-45.285c4.95 3.899 11.548 10.094 14.732 18.833 2.9 7.747 1.952 14.644-.144 19.963a32.5 32.5 0 0 1-3.843 6.626 35 35 0 0 1-3.771 3.974 50.2 50.2 0 0 1-8.499-13.385 50 50 0 0 1-3.006-10.001 38 38 0 0 1-.584-4.786 35 35 0 0 1-.098-4.664c.279-6.058 1.979-11.488 5.213-16.56m75.41 3.73c5.601.595 9.885 2.524 11.793 3.585a76 76 0 0 1-5.02 7.515c-2.35 2.82-5.06 5.934-8.483 8.61-3.379 2.7-7.199 5.092-11.492 6.62a31.2 31.2 0 0 1-13.618 1.931c-4.504-.34-8.8-1.659-12.9-3.769a34 34 0 0 1 2.04-4.024 36 36 0 0 1 1.727-2.649 35 35 0 0 1 2.111-2.939 34 34 0 0 1 2.694-2.994c.953-1.019 2-2.03 3.176-3.004 2.395-1.926 5.11-3.79 8.405-5.368 7.195-3.403 13.913-4.155 19.566-3.515Zm-63.65-26.826c5.59 2.48 13.267 6.712 18.365 14.137 4.564 6.565 5.365 13.274 4.69 18.772-.373 2.733-1.166 5.139-1.957 7.174-.852 2.003-1.83 3.562-2.553 4.677-4.59-3.056-8.33-6.622-11.27-10.422-2.123-2.786-3.925-5.742-5.278-8.67-.683-1.467-1.225-2.915-1.71-4.376a33 33 0 0 1-1.21-4.381c-1.186-5.797-.893-11.366.923-16.911m79.388-14.636c1.963.175 3.534.498 4.533.775a72 72 0 0 1-2.933 8.213c-1.535 3.194-3.329 6.742-5.905 10.06-2.517 3.333-5.536 6.479-9.19 8.942a30.3 30.3 0 0 1-12.293 5.074c-4.297.724-8.624.545-12.987-.46.167-.974.431-2.477.957-4.272a60 60 0 0 1 2.26-6.156 33 33 0 0 1 1.805-3.45 34 34 0 0 1 2.26-3.57c1.78-2.375 3.887-4.766 6.594-7.026 4.561-3.695 9.037-5.932 13.443-7.101 4.35-1.182 8.39-1.308 11.456-1.03Zm-73.852-9.11c5.914 1.105 13.94 3.358 20.492 9.19 2.904 2.572 4.836 5.372 6.312 8.224a27.1 27.1 0 0 1 2.415 8.349c.228 2.639.176 5.117-.171 7.189a33 33 0 0 1-1.287 4.993c-5-1.803-9.362-4.3-12.997-7.18-2.696-2.141-4.948-4.465-6.96-6.923-1.974-2.448-3.488-4.97-4.785-7.578-2.405-5.19-3.53-10.565-3.02-16.263Zm75.874-34.803a71 71 0 0 1-.853 8.364c-.638 3.332-1.592 7.065-3.146 10.756-3.147 7.408-8.526 14.538-16.776 18.185-3.833 1.73-7.964 2.603-12.246 2.746-.22-1.945-.25-5.88.52-10.573.876-4.707 2.622-10.18 6.638-15.68 4.348-5.963 9.587-9.533 14.51-11.501 4.863-1.981 9.242-2.305 11.353-2.297m-54.68 14.177a27.5 27.5 0 0 1 7.786 6.303c1.869 2.35 3.308 4.86 4.18 7.282 1.795 4.859 1.727 9.297 1.504 11.782-5.115-.498-9.7
155-1.824-13.861-3.696-6.028-2.776-10.864-6.625-14.387-10.961-3.434-4.37-5.774-9.24-6.564-14.791 5.84-.28 13.827.072 21.342 4.08ZM69.01 110.714c5.437-1.563 12.97-2.974 20.966-.905 3.416.944 6.322 2.41 8.725 4.156 2.296 1.78 4.22 3.802 5.6 5.872 1.342 2.08 2.385 4.146 3.004 6.012a31 31 0 0 1 1.142 4.706 42.4 42.4 0 0 1-13.828-.237c-6.294-1.225-11.737-3.75-16.045-7.06-4.225-3.363-7.576-7.452-9.564-12.544m68.81-28.216c.886 3.967 1.877 11.152.724 18.758-1.224 7.641-4.605 15.554-11.378 20.934-3.193 2.524-6.85 4.327-10.82 5.512a31.5 31.5 0 0 1-1.086-3.99c-.4-1.714-.8-3.759-.93-6.065-.338-4.6.029-10.127 2.513-16.2 3.967-10.053 11.69-15.42 17.018-17.608 1.63-.688 3.025-1.113 3.96-1.34ZM58.494 89.69c4.694-2.53 11.698-5.559 19.521-5.2 3.456.143 6.541.883 9.094 2.062 2.618 1.143 4.812 2.657 6.531 4.321 1.781 1.633 3.151 3.377 4.118 5.01.985 1.624 1.732 3.062 2.118 4.181-4.438 1.704-8.819 2.55-13.019 2.722-3.119.118-6.088-.142-8.828-.72-2.832-.535-5.43-1.39-7.777-2.528-4.879-2.184-8.656-5.517-11.758-9.848m58.179-42.534a62 62 0 0 1 2.833 7.253c.84 3.034 1.666 6.476 1.917 10.179.54 7.406-.9 15.557-6.067 22.1-2.4 3.079-5.407 5.598-8.871 7.57-.994-1.557-2.777-4.774-4.14-8.992-1.322-4.251-2.181-9.536-1.22-15.752 1.099-6.77 3.855-11.883 7.094-15.603 3.183-3.702 6.677-5.855 8.454-6.755M78.21 66.697c1.951 1.22 3.621 2.562 4.905 3.872a29 29 0 0 1 2.824 3.537c-3.834 2.526-7.803 4.206-11.679 5.189-5.78 1.43-11.417 1.441-16.36.271-4.952-1.196-9.356-3.471-13.078-7.075 3.941-3.321 9.9-7.458 17.393-8.7 6.577-1.083 12.016.531 15.995 2.906M90.453 19.66c2.294 3.007 5.973 8.569 7.97 15.408 2.038 6.815 2.336 14.781-1.135 22.007-1.577 3.352-3.888 6.351-6.736 8.956-1.251-1.298-3.696-3.885-5.78-7.617-1.1-1.825-2.07-3.985-2.845-6.407-.82-2.383-1.382-5.088-1.525-8.148a29.34 29.34 0 0 1 3.463-16.104c2.214-4.107 5.064-6.86 6.588-8.095M50.936 45.067c2.605.043 5.017.513 7.16 1.192 4.176 1.506 7.247 3.821 8.776 5.43-3.11 3.135-6.47 5.512-9.91 7.187-2.576 1.267-5.242 2.222-7.811 2.783a29 29 0 0 1-3.813.584 27 27 0 0 1-3.788.172 25 25 0 0 1-3.626-.363 22 22 0 0 1-3.557-.769c-2.263-.763-4.581-1.645-6.687-3.06 3.105-3.91 7.93-8.873 14.75-11.526 2.97-1.11 5.844-1.597 8.506-1.63M61.854 0c2.688 2.444 7.149 6.943 10.284 12.99 3.158 6.022 4.962 13.414 3.084 20.893-.851 3.495-2.404 6.711-4.58 9.712-1.5-.93-4.234-2.978-6.942-6.056-1.381-1.512-2.706-3.359-3.891-5.498-1.222-2.087-2.26-4.525-2.97-7.374-2.525-9.251.232-17.229 2.914-21.658.79-1.329 1.54-2.36 2.1-3.009Z"})))},p=t(77772),v=e=>{var l,t,r;let{cook:a,active:n=!0}=e;if(!a)return null;let o=Array.isArray(a.courses)?null===(l=a.courses[0])||void 0===l?void 0:l.slug:void 0,u=(null==a?void 0:a.slug)?"/experten/".concat(a.slug):o?"/kochkurse/".concat(o):null,x=null!==(r=(0,p.s)(a.avatar))&&void 0!==r?r:null===(t=a.defaultAvatar)||void 0===t?void 0:t.url;return(0,s.jsxs)("div",{className:"relative shadow-2xl rounded-2xl justify-self-center w-full opacity-50 transition-[opacity,scale] duration-300 ease-in-out scale-[0.8] data-[active=true]:opacity-100 data-[active=true]:scale-100 min-[575px]:w-[min(270px,100%)]","data-active":n,children:[(0,s.jsx)("div",{className:"rounded-2xl overflow-hidden bg-dark relative after:bg-[linear-gradient(transparent,rgba(0,0,0,0.6)_80%)] after:content-[''] after:inset-[-1px] after:absolute after:z-[1]",children:(0,s.jsx)(i.Z,{url:x,className:"aspect-[2/3] object-cover object-center w-full",width:275,height:420,lazyloading:!1})}),(0,s.jsxs)("div",{className:"px-5 text-cream bottom-0 left-0 absolute right-0 z-[2]",children:[(0,s.jsx)("div",{className:"text-2xl mb-3 text-center text-cream font-bold",children:a.name}),!!(null==a?void 0:a.awardTitle)&&(0,s.jsxs)("div",{className:"flex gap-[5px] items-center justify-center text-center [&_svg]:h-10 [&_svg]:shrink-0",children:[(0,s.jsx)(m,{}),(0,s.jsx)("span",{className:"leading-5 text-sm text-cream hyphens-auto text-balance",children:a.awardTitle}),(0,s.jsx)(h,{})]}),u&&(0,s.jsx)(c(),{href:u,className:"".concat("flex justify-center transition-[opacity,transform] duration-300 ease-in-out"," ").concat(n?"opacity-100 pointer-events-auto":"opacity-0 pointer-events-none"),children:(0,s.jsxs)(d.Z,{variant:"empty",className:"text-xs mb-0 text-balance text-center whitespace-normal leading-[1.25] bg-[
1color:var(--highlight-color,var(--color-button))] text-cream translate-y-1/2 hover:bg-[color-mix(in_srgb,var(--highlight-color,var(--color-button)),black_20%)]",children:["Kurse von ",a.name]})})]})]})}},40970:function(e,l,t){"use strict";var r=t(97758),a=t(80665),s=t(95719),n=t(62897);let i=(0,a.forwardRef)((e,l)=>{let{caption:t="",children:i,initialCollapsed:o=!1,style:c="light"}=e,[d,u]=(0,a.useState)(o);return(0,a.useImperativeHandle)(l,()=>({open:()=>u(!0),close:()=>u(!1)})),"string"==typeof i&&(i=(0,r.jsx)("p",{children:i})),(0,r.jsxs)("div",{className:"flex flex-col py-4 pr-6 "+("dark"===c?"border-b border-[rgba(255,253,248,0.1)]":"border-b border-[rgba(42,51,73,0.05)]"),children:[(0,r.jsxs)("div",{onClick:()=>u(!d),className:"cursor-pointer flex",children:[(0,r.jsx)("strong",{className:"text-lobster-01-main",children:t}),(0,r.jsx)("div",{className:"ml-auto",children:d?(0,r.jsx)(s.Z,{className:"light"===c?"w-6 h-6":"svg-light w-6 h-6"}):(0,r.jsx)(n.Z,{className:"light"===c?"w-6 h-6":"svg-light w-6 h-6"})})]}),d&&(0,r.jsx)("div",{className:"mt-4",children:i})]})});l.Z=i},62529:function(e,l,t){"use strict";t.d(l,{Z:function(){return p}});var r=t(97758),a=t(80665),s=t(30507),n=t(52372),i=t(90094),o=t(20411);let c=e=>(null==e?void 0:e.trim())||null;var d=t(48831),u=t.n(d),m=t(65677);let x=u()(()=>t.e(5839).then(t.bind(t,95839)).then(e=>e.GumletPlayer),{loadableGenerated:{webpack:()=>[null]},ssr:!1});var h=e=>{let{videoID:l,className:t}=e;return(0,r.jsx)("div",{className:(0,m.Z)("overflow-hidden pointer-events-none",t),"aria-hidden":"true",children:(0,r.jsx)("div",{className:(0,m.Z)("absolute left-1/2 top-1/2 aspect-video min-h-full min-w-full -translate-x-1/2 -translate-y-1/2","[&_iframe]:!absolute [&_iframe]:!inset-0 [&_iframe]:!h-full [&_iframe]:!w-full [&_iframe]:!max-w-none [&_iframe]:!scale-[1.01]"),children:(0,r.jsx)(x,{videoID:l,background:!0,autoplay:!0,muted:!0,loop:!0,disable_player_controls:!0,preload:!0,style:{width:"100%",height:"100%"}})})})},p=e=>{var l;let{backgroundUrl:t,backgroundMobileUrl:d,teaserMp4:u=null,teaserWebm:m=null,teaserMobileMp4:x=null,teaserMobileWebm:p=null,gumletId:v=null,gumletIdMobile:g=null,children:f=null,className:b="",showShadow:j=!0,menuStyle:w="light",height:k="normal"}=e,y=(0,a.useRef)(null),N=(0,i.Lm)(),[Z,P]=(0,a.useState)(!1),[C,B]=(0,a.useState)(!1);(0,a.useEffect)(()=>{P(N<=o.aB),B(!0)},[N]);let S=function(e){var l;let t=(e.isPhone?e.backgroundMobileUrl:null)||e.backgroundUrl||null,r=e.isPhone&&null!==(l=c(e.gumletIdMobile))&&void 0!==l?l:c(e.gumletId);if(r)return{kind:"gumlet",gumletId:r,poster:t};let a=e.isPhone?e.teaserMobileMp4:e.teaserMp4;return a?{kind:"video",mp4:a,webm:(e.isPhone?e.teaserMobileWebm:e.teaserWebm)||null,poster:t,id:e.isPhone?"teaserMobile":"teaserDesktop"}:t?{kind:"image",url:t}:{kind:"none"}}({isPhone:Z,gumletId:v,gumletIdMobile:g,teaserMp4:u,teaserWebm:m,teaserMobileMp4:x,teaserMobileWebm:p,backgroundUrl:t,backgroundMobileUrl:d}),_="video"===S.kind?S.mp4:null;return(0,a.useEffect)(()=>{var e;null===(e=y.current)||void 0===e||e.load()},[_]),(0,r.jsxs)("div",{className:("normal"===k?"h-[90dvh] min-h-[750px] max-[575px]:min-h-[50dvh]":"video"===k?"w-full h-[70dvh] lg:h-[56.25vw] max-h-[1000px]":"h-[75dvh] max-h-[800px]")+" bg-dark overflow-hidden text-white grid grid-rows-[auto_1fr] [&_a]:text-white select-none relative "+b,children:[(0,r.jsxs)("div",{className:"col-start-1 row-[1/span_2] z-0 relative [&_img]:h-full [&_img]:w-full [&_img]:object-cover [&_img]:object-[50%_50%] [&_video]:h-full [&_video]:w-full [&_video]:object-cover [&_video]:object-[50%_50%]",style:"gumlet"===S.kind&&S.poster?{backgroundImage:"url(".concat(S.poster,")"),backgroundSize:"cover",backgroundPosition:"50% 50%"}:void 0,children:["image"===S.kind&&(0,r.jsx)(s.Z,{width:1900,url:S.url,fluid:!1,viewportWidth:!0}),"video"===S.kind&&(0,r.jsxs)("video",{id:S.id,preload:"metadata",ref:y,loop:!0,muted:!0,autoPlay:!0,playsInline:!0,poster:null!==(l=S.poster)&&void 0!==l?l:void 0,children:[S.webm&&(0,r.jsx)("source",{src:S.webm,type:"video/webm; codecs=vp9,vorbis"}),(0,r.jsx)("source",{src:S.mp4,type:"video/mp4"})]},S.id),"gumlet"===S.kind&&C&&(0,r.jsx)(h,{videoID:S.gumletId,className:"absolute inset-0"},S.gumletId)]}),j&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"col-start-1 row-[1/span_2] z-[10] bg-[linear-gradient(to_top,rgba(0,0,0,0.65),rgba(0,0,0,0)_100%)] h-[150px] self-end"}),(0,r.jsx)("div",{className:"col-start-1 row-[1/span_2] z-[10] bg-[linear-gradient(113deg,rgba(0,0,0,0.6),rgba(0,0,0,0)_65%)] h-full"})]}),(0,r.jsx)("div",{className:"col-start-1 row-start-1 z-[1000]",children:(0,r.jsx)(n.Z,{style:w})}),(0,r.jsx)("div",{className:"self-end text-white col-start-1 row-start-2 pb-[60px] z-[200] md:self-center md:pb-0",children:(0,r.jsx)("div",{className:"container",children:f})})]})}},72566:function(e,l,t){"use strict";t.d(l,{H:function(){return d}});var r=t(97758),a=t(80665),s=t(55738),n=t(65807),i=t(39514);let o=e=>e,c=["rating-teaser","conversion","pricingCard","iconsBlock","socialProofs","logoBarBlock","faqs","newsletter-subscribe"],d=e=>{var l;let{blocks:t,registeredUsersOnly:d,playlistSections:u,cashcowCourseIds:m}=e,x=(0,s.Z)(e=>e.currentUserOverview),h=null!==(l=null==x?void 0:x.abo)&&void 0!==l&&l,p="loggedin"===(0,s.Z)(e=>e.loggedInState),v=h||!0===d&&p,g=(0,a.useMemo)(()=>Object.values(null!=u?u:{}).flat(),[u]);return t&&0!==t.length?(0,r.jsx)(r.Fragment,{children:t.map((e,l)=>{if("hidden"in e&&e.hidden||!(0,n.C)(e.visibility,x)||v&&c.includes(e.blockType))return null;let t=e.id||"block-".concat(l);return(0,r.jsx)("div",{id:e.id?"block-".concat(e.id):void 0,"data-block-type":e.blockType,children:(()=>{switch(e.blockType){case"simpleTextBlock":return(0,r.jsx)(i.fy,{block:e});case"content":return(0,r.jsx)(i.T$,{block:o(e)});case"cta":return(0,r.jsx)(i.LN,{block:o(e)});case"faqs":return(0,r.jsx)(i.pw,{block:e});case"gumletPlaylist":return(0,r.jsx)(i.Nc,{sections:e.id&&(null==u?void 0:u[e.id])||[],headline:e.headline,blockBackgroun
1d:e.blockBackground,blockPadding:e.blockPadding,registeredUsersOnly:d});case"playlistCookSliderBlock":return(0,r.jsx)(i.lB,{block:e,sections:g,cashcowCourseIds:m});case"mediaBlock":return(0,r.jsx)(i.nx,{block:e});case"rating-teaser":return(0,r.jsx)(i.YD,{block:e});case"recipePdfBlock":return(0,r.jsx)(i.j4,{block:e});case"iconsBlock":return(0,r.jsx)(i.Gj,{block:e});case"socialProofs":return(0,r.jsx)(i.Bq,{block:e});case"pricingCard":return(0,r.jsx)(i.mJ,{block:e});case"conversion":return(0,r.jsx)(i.u5,{block:o(e)});case"logoBarBlock":return(0,r.jsx)(i.tZ,{block:e});case"newsletter-subscribe":return(0,r.jsx)(i.zX,{block:e});default:return(0,r.jsx)(i.oP,{blockType:e.blockType})}})()},t)})}):null};l.Z=d},41948:function(e,l,t){"use strict";var r=t(97758);t(80665);var a=t(89750),s=t(70340),n=t(79186);l.Z=e=>{let{headline:l,headlineIcon:t,children:i,blockPadding:o="default",blockBackground:c="light",overflow:d="hidden",fullWidth:u=!1,buttonMargins:m="reset",className:x,id:h}=e,p=(0,a.cn)(n.Lr,"reset"===m?n.np:"",(0,s.fC)(o),"hidden"===d?"overflow-hidden":"overflow-visible"),v=(0,a.cn)(u?"w-full px-4 md:px-6 lg:px-8":"container",x);return(0,r.jsx)("section",{id:h,className:p,style:n.aR[c],"data-block-background":c,children:(0,r.jsx)("div",{className:v,children:(0,r.jsxs)("div",{className:"bs-row mx-auto",children:[(l||t)&&(0,r.jsxs)("div",{className:"col-span-12",children:[t,l&&(0,r.jsx)(s.TW,{headline:l})]}),i]})})})}},39762:function(e,l,t){"use strict";t.d(l,{B:function(){return s}});var r=t(97758),a=t(80665);let s=(0,a.forwardRef)((e,l)=>{let{url:s,autoPlay:n=!0,muted:i=!0,loop:o=!0,playsInline:c=!0,controls:d=!1,...u}=e,m=(0,a.useRef)(null);return(0,a.useImperativeHandle)(l,()=>m.current),(0,a.useEffect)(()=>{let e=m.current;if(!e||!s)return;let l=null,r=!1,a=n&&i;return function(e){for(let l=0;l<e.textTracks.length;l++)e.textTracks[l].mode="disabled";e.textTracks.addEventListener("addtrack",e=>{let l=e.track;l&&(l.mode="disabled")})}(e),(async()=>{let{default:n}=await t.e(8728).then(t.bind(t,4866));!r&&(n.isSupported()?((l=new n({enableWebVTT:!1,enableCEA708Captions:!1})).subtitleTrack=-1,l.loadSource(s),l.attachMedia(e),a&&l.on(n.Events.MANIFEST_PARSED,()=>{r||e.play().catch(()=>{})})):e.canPlayType("application/vnd.apple.mpegurl")&&(e.src=s,a&&e.play().catch(()=>{})))})(),()=>{r=!0,l&&(l.destroy(),l=null)}},[s]),(0,r.jsx)("video",{ref:m,muted:i,loop:o,playsInline:c,controls:d,...u})});s.displayName="HlsVideo"},31753:function(e,l,t){"use strict";t.d(l,{s:function(){return eJ},Z:function(){return eQ}});var r=t(97758),a=t(80665),s=t(55738),n=t(37484),i=t(39514),o=t(30507),c=t(13462),d=t(77772),u=t(87711),m=t(41948);let x="shadow-[0_8px_16px_-8px_rgba(28,17,13,0.15),0_-2px_8px_-4px_rgba(0,0,0,0.05)]",h="grid grid-cols-1 grid-rows-[200px_auto] "+x+" bg-white text-dark-01-main max-w-[300px]",p=x+" bg-lobster-01-main max-w-[300px] py-[1.6rem] px-[1.3rem]",v="col-span-12 sm:col-span-6 lg:col-span-4 xl:col-span-3 p-6",g=e=>"string"==typeof e&&""!==e.trim()?e:null;var f=e=>{var l,t;let{block:a}=e,s=null!==(l=a.members)&&void 0!==l?l:[],n=a.searchFor;return(0,r.jsxs)(m.Z,{headline:a.headline,blockBackground:a.blockBackground,blockPadding:a.blockPadding,buttonMargins:"keep",children:[s.map((e,l)=>{var t,a;let s=(0,d.s)(e.image),n=g(e.mail),i=g(e.position),c=null!==(t=g(e.mailOverwriteDisplay))&&void 0!==t?t:n;return(0,r.jsx)("div",{className:v,children:(0,r.jsxs)("div",{className:h+" mx-auto rounded overflow-hidden h-full",children:[s&&(0,r.jsx)(o.Z,{className:"row-start-1 col-start-1",fullHeight:!0,coverFit:!0,url:s}),(0,r.jsxs)("div",{className:"row-start-2 col-start-1 p-[1.3rem] flex flex-col",children:[(0,r.jsx)("strong",{children:e.name}),(0,r.jsx)("p",{className:"opacity-50 mt-1",children:i}),n&&(0,r.jsx)("a",{href:"mailto:"+n,className:"text-dark-01-main mt-2",children:c})]})]})},null!==(a=e.id)&&void 0!==a?a:String(l))}),(null==n?void 0:n.title)&&(0,r.jsx)("div",{className:v,children:(0,r.jsx)("div",{className:p+" mx-auto rounded overflow-hidden h-full",children:(0,r.jsxs)("div",{className:"flex flex-col text-center my-auto",children:[(0,r.jsx)("h3",{children:n.title}),(0,r.jsx)("p",{className:"text-white mt-2",children:n.description}),(0,r.jsx)(c.Z,{variant:"dark",className:"mt-6 mb-0 mx-auto",children:(0,r.jsx)("a",{href:"/jobs",target:"_blank",className:"text-white",children:(0,u.d)(null!==(t=n.button)&&void 0!==t?t:"")})})]})})})]})},b=t(44808),j=e=>{var l;let{block:t}=e,a=null!==(l=t.links)&&void 0!==l?l:[];return 0===a.length?null:(0,r.jsx)(m.Z,{headline:t.headline,blockBackgroun
1d:t.blockBackground,blockPadding:t.blockPadding,children:a.map((e,l)=>{var t,a;let s=(0,d.s)(e.image);return(0,r.jsx)("div",{className:"col-span-12 md:col-span-4 lg:col-span-3 mb-6",children:(0,r.jsxs)("div",{className:"bg-white h-full shadow mx-auto rounded overflow-hidden",children:[s&&(0,r.jsx)(o.Z,{url:s}),(0,r.jsxs)("div",{className:"p-6 text-center text-dark-01-main",children:[(0,r.jsx)("p",{className:"title",children:e.title}),(0,r.jsxs)("a",{href:null!==(t=e.link)&&void 0!==t?t:void 0,target:"blank",className:"flex items-center justify-end mt-6",children:[e.linkText,(0,r.jsx)(b.Z,{className:"svg-lobster w-6 h-6 h-[1.4rem] ml-[0.4rem] leading-[1.4rem]"})]})]})]})},null!==(a=e.id)&&void 0!==a?a:String(l))})})},w=t(87548),k=t(83882),y=t(25960),N=t(26035),Z=e=>{var l;let{block:t}=e,[s,n]=(0,a.useState)(!1),[i,o]=(0,a.useState)(!1),[d,u]=(0,a.useState)(null);return(0,r.jsx)(m.Z,{blockBackground:t.blockBackground,blockPadding:t.blockPadding,id:null!==(l=t.anchorId)&&void 0!==l?l:void 0,buttonMargins:"keep",children:(0,r.jsxs)("div",{className:"col-span-12 lg:col-span-8 lg:col-start-3 mx-auto",children:[(0,r.jsx)(k.Z,{isOpen:s}),(0,r.jsx)("div",{className:"mb-12",children:(0,r.jsx)("h3",{children:i?t.successHeadline:t.headline})}),!i&&(0,r.jsx)(w.J9,{onSubmit:async e=>{try{n(!0),N.yq.contact({...e,subject:t.subject}),o(!0)}catch(e){u("Es ist ein unerwarteter Fehler aufgetreten.")}finally{n(!1)}},initialValues:{firstname:"",lastname:"",mail:"",message:""},children:(0,r.jsx)(w.l0,{children:(0,r.jsxs)("div",{className:"bs-row",children:[(0,r.jsxs)("div",{className:"col-span-12 xl:col-span-5",children:[(0,r.jsx)(w.gN,{type:"text",name:"firstname",placeholder:"Vorname"}),(0,r.jsx)(w.gN,{type:"text",name:"lastname",placeholder:"Nachname"}),(0,r.jsx)(w.gN,{type:"email",name:"mail",placeholder:"E-Mail",required:!0})]}),(0,r.jsx)("div",{className:"col-span-12 xl:col-span-7",children:(0,r.jsx)(w.gN,{required:!0,className:"bg-white border border-[rgba(42,51,73,0.15)] mb-5",rows:9,type:"text",name:"message",as:"textarea",placeholder:"Deine Nachricht..."})}),(0,r.jsxs)("div",{className:"col-span-12",children:[(0,r.jsxs)("p",{className:"small-text opacity-50",children:["Mit dem Senden des Formulars stimmst du der"," ",(0,r.jsx)("a",{href:"/datenschutz/",target:"_blank",className:"cursor-pointer underline",children:"Datenschutzerkl\xe4rung"})," ","und der Speicherung deiner Daten zu."]}),d&&(0,r.jsx)(y.v,{error:!0,message:d}),(0,r.jsx)(c.Z,{variant:"primary",children:"Anfrage senden"})]})]})})}),i&&(0,r.jsx)("div",{className:"col-span-12 mt-4",children:(0,r.jsx)("p",{className:"opacity-75 mt-4",children:t.successText})})]})})},P=t(2154),C=t.n(P),B=t(62529),S=t(14303),_=t(25017),T=t(58917),M=t(97834),z=t(20986),E=t(13105),I=()=>(0,r.jsxs)("p",{className:"mt-4",children:["Zugang zu allen Kursen nur ",(0,r.jsx)(z.Z,{})," ",(0,r.jsx)(E.Z,{})," ",(0,r.jsx)("br",{className:"hidden sm:block"}),"(j\xe4hrlich abgerechnet)"]}),L=t(46371);let A=e=>{let{text:l,trackingSection:t}=e,s=(0,a.useContext)(M.V);return(0,r.jsx)(c.Z,{className:"mt-4 md:mt-12 3 mb-2",variant:"primary",onClick:()=>{var e;null==s||null===(e=s.handlePassBuy)||void 0===e||e.call(s),(0,L.L9)("startNowAction",{section:t||"page_hero"})},children:l})};var V=e=>{var l,t,a,s,n,i,o,m,x,h;let{block:p}=e,v=null!==(l=(0,d.s)(p.backgroundImage))&&void 0!==l?l:void 0,g=null!==(a=null!==(t=(0,d.s)(p.backgroundImageMobile))&&void 0!==t?t:(0,d.s)(p.backgroundImage))&&void 0!==a?a:void 0,f=null!==(s=p.buttonAction)&&void 0!==s?s:"link";return(0,r.jsx)(B.Z,{gumletId:null!==(n=p.heroBackgroundGumletId)&&void 0!==n?n:null,gumletIdMobile:null!==(i=p.heroBackgroundGumletIdMobile)&&void 0!==i?i:null,teaserMp4:null!==(o=(0,d.s)(p.teaserMp4))&&void 0!==o?o:void 0,teaserWebm:null!==(m=(0,d.s)(p.teaserWebm))&&void 0!==m?m:void 0,teaserMobileMp4:null!==(x=(0,d.s)(p.teaserMobileMp4))&&void 0!==x?x:void 0,teaserMobileWebm:null!==(h=(0,d.s)(p.teaserMobileWebm))&&void 0!==h?h:void 0,backgroundUrl:v,backgroundMobileUrl:g,className:"[&_img]:brightness-[0.7]",children:(0,r.jsxs)("div",{className:"max-w-section",children:[(0,r.jsx)("h1",{children:p.title}),(0,r.jsx)(_.Z,{value:p.description,className:"mt-1 block title [&_p]:mb-0"}),p.bodyText&&(0,r.jsx)(_.Z,{value:p.bodyText,className:"mt-6 block"}),p.buttonText&&"affiliate"===f&&(0,r.jsx)(T.Z,{defaultLabel:(0,u.d)(p.buttonText),className:(0,S.L)({variant:"primary",class:"mt-4 md:mt-12 mb-2"})}),p.buttonText&&"passBuy"===f&&(0,r.jsx)(A,{text:(0,u.d)(p.buttonText),trackingSection:p.buttonTrackingSection}),p.buttonText&&"link"===f&&(0,r.jsx)(C(),{href:p.buttonAnchor||"#",children:(0,r.jsx)(c.Z,{className:"mt-4 md:mt-12 3 mb-2",variant:"primary",children:(0,u.d)(p.buttonText)})}),p.showPricingSubtext&&(0,r.jsx)(I,{}),p.buttonNote&&(0,r.jsx)("p",{className:"mt-2",children:p.buttonNote})]})})},O=t(11548),R=t(73997),D=e=>{var l,t,s,n,i;let{block:x}=e,h=(null!==(s=x.images)&&void 0!==s?s:[]).map(e=>(0,d.s)(e)).filter(e=>!!e),[p,v]=(0,a.useState)(null!==(n=h[0])&&void 0!==n?n:null);return(null===(l=x.headline)||void 0===l?void 0:l.title)||(null===(t=x.headline)||void 0===t?void 0:t.subtitle)||x.description||0!==h.length?(0,r.jsxs)(m.Z,{blockBackgroun
1d:x.blockBackground,blockPadding:x.blockPadding,headline:x.headline,buttonMargins:"keep",children:[(0,r.jsxs)("div",{className:"col-span-12 lg:col-span-5",children:[(0,r.jsx)(_.Z,{value:x.description,className:_.G}),(0,r.jsx)(C(),{href:null!==(i=x.buttonAnchor)&&void 0!==i?i:"#kontakt",children:(0,r.jsx)(c.Z,{className:"mt-4 md:mt-12 mb-2",variant:"primary",children:x.buttonText?(0,u.d)(x.buttonText):x.buttonText})})]}),(0,r.jsxs)("div",{className:"col-span-12 lg:col-span-7 lg:pl-20 mt-6 lg:mt-0",children:[p&&(0,r.jsx)(o.Z,{url:p,className:"rounded overflow-hidden"}),(0,r.jsx)("div",{className:"flex mt-6",children:(0,r.jsx)(R.Z,{loop:!0,slidesPerView:1.2,breakpoints:{640:{slidesPerView:2.5}},children:h.map((e,l)=>{if(l>0)return(0,r.jsx)(O.o5,{className:"mx-0",onClick:()=>v(e),children:(0,r.jsx)(o.Z,{url:e,className:"rounded overflow-hidden"})},e)})})})]})]}):null},q=t(19517),F=t(78595);let U={1:"col-span-12",2:"col-span-6",3:"col-span-4",4:"col-span-3",6:"col-span-2"};var H=e=>{var l,t;let{block:a}=e,s=null!==(l=a.videos)&&void 0!==l?l:[];if(0===s.length)return null;let n=!!a.content,i=null!==(t=U[s.length])&&void 0!==t?t:U[3];return(0,r.jsxs)(m.Z,{headline:a.headline,blockBackground:a.blockBackground,blockPadding:a.blockPadding,children:[n&&(0,r.jsx)("div",{className:"col-span-12 lg:col-span-6 pr-0 lg:pr-28",children:(0,r.jsx)(q.Z,{data:a.content,className:"[&_h6]:mt-6"})}),n?(0,r.jsx)("div",{className:"col-span-12 lg:col-span-6 flex items-center",children:(0,r.jsx)("div",{className:"w-full",children:s.map((e,l)=>{var t;return(0,r.jsx)(F.Z,{youtubeVideoID:e.youtubeId,className:"w-full"},null!==(t=e.id)&&void 0!==t?t:String(l))})})}):s.map((e,l)=>{var t;return(0,r.jsx)("div",{className:i,children:(0,r.jsx)(F.Z,{youtubeVideoID:e.youtubeId})},null!==(t=e.id)&&void 0!==t?t:String(l))})]})},W=t(96673),G=e=>{let{block:l}=e,t=(0,a.useContext)(M.V),[s,n]=(0,a.useState)(!1),[i,o]=(0,a.useState)(!1),d=!!(null==t?void 0:t.currentUserMail);return(0,r.jsx)(m.Z,{blockBackground:l.blockBackground,blockPadding:l.blockPadding,buttonMargins:"keep",children:(0,r.jsxs)("div",{className:"col-span-12 lg:col-span-8 lg:col-start-3",children:[(0,r.jsx)(k.Z,{isOpen:s}),d&&(0,r.jsx)("div",{className:"text-center",children:(0,r.jsx)("strong",{children:l.alreadySubscribedText})}),!d&&!i&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"mt-2 mb-6 text-center",children:(0,r.jsx)("h3",{children:l.headline})}),(0,r.jsx)(w.J9,{initialValues:{firstname:"",mail:""},onSubmit:async e=>{try{n(!0),await (0,W.getAPIAxios)().post("/public/newsletter-list/".concat(l.brevoListId||"3"),{...e,doi:!0}),o(!0)}catch(e){}finally{n(!1)}},children:(0,r.jsxs)(w.l0,{className:"bs-row",children:[(0,r.jsx)("div",{className:"col-span-12 md:col-span-6",children:(0,r.jsx)(w.gN,{required:!0,type:"text",name:"firstname",placeholder:"Vorname",className:"mb-4"})}),(0,r.jsx)("div",{className:"col-span-12 md:col-span-6",children:(0,r.jsx)(w.gN,{required:!0,type:"email",name:"mail",placeholder:"E-Mail",className:"mb-4"})}),(0,r.jsxs)("div",{className:"col-span-12",children:[(0,r.jsxs)("p",{className:"small-text opacity-50 text-center",children:["Mit der Newsletter-Anmeldung stimmst du der"," ",(0,r.jsx)("a",{href:"/datenschutz/",target:"_blank",className:"cursor-pointer underline",children:"Datenschutzerkl\xe4rung"})," ","und der Speicherung deiner Daten zu."]}),(0,r.jsx)(c.Z,{variant:"primary",className:"mx-auto mb-0",children:l.buttonText?(0,u.d)(l.buttonText):l.buttonText})]})]})})]}),!d&&i&&(0,r.jsxs)("div",{className:"text-center mt-2 mb-6",children:[(0,r.jsx)("strong",{children:l.successHeadline}),(0,r.jsx)("p",{className:"mt-2",children:l.successText})]})]})})},K=t(40970),J=t(21592);let Q=(e,l)=>e.id===l||null!==e.legacyId&&String(e.legacyId)===l,Y="[&_ul]:ml-[1.2rem] [&_ul]:list-disc [&_ul_li]:mb-2 [&_ul]:mt-2 [&_ul]:mb-2";var $=e=>{var l,t,s;let{block:n}=e,i=null!==(l=n.jobs)&&void 0!==l?l:[],o=(0,a.useRef)([]);return(0,a.useEffect)(()=>{let e=new URLSearchParams(window.location.search);if(!e.has("id"))return;let l=e.get("id"),t=i.findIndex(e=>Q(e,l));-1!==t&&o.current[t]&&o.current[t].open()}
1,[i]),(0,r.jsx)(m.Z,{blockBackground:n.blockBackground,blockPadding:n.blockPadding,children:(0,r.jsxs)("div",{className:"col-span-12 lg:col-span-8 lg:col-start-3 text-left",id:null!==(t=n.anchorId)&&void 0!==t?t:void 0,children:[i.map((e,l)=>{var t;return(0,r.jsx)(K.Z,{ref:e=>o.current[l]=e,caption:e.title,children:(0,r.jsxs)("div",{className:"mb-6",id:"job-"+(null!==(t=e.legacyId)&&void 0!==t?t:e.id),children:[(0,r.jsx)(_.Z,{className:Y,value:e.description}),(0,r.jsx)(_.Z,{className:Y,value:e.additionalInfos})]})},e.id)}),n.openApplicationCaption&&(0,r.jsx)(K.Z,{caption:n.openApplicationCaption,children:(0,r.jsx)("div",{className:"mb-6",children:(0,r.jsx)(J.Z,{className:"[&_ul]:ml-[1.2rem] [&_ul]:list-disc [&_ul_li]:mb-2",markdown:null!==(s=n.openApplicationText)&&void 0!==s?s:""})})}),n.footerNote&&(0,r.jsx)("div",{className:"mt-6 opacity-50",children:(0,r.jsx)(q.Z,{data:n.footerNote})})]})})},X=t(25774),ee=t(44358),el=t(72637),et=t(23494),er=t(75461);let ea=e=>!!(null==e?void 0:e.state)&&(0,er.aQ)(e);var es=e=>{var l,t,s;let{block:n}=e,i=function(e,l){let t=e.onlyPublic?l.filter(er.nF):!1===e.hideComingSoon?l:l.filter(e=>!ea(e));return"number"==typeof e.limit&&e.limit>0?t.slice(0,e.limit):t}(n,null!==(s=n.courses)&&void 0!==s?s:[]),o=n.trackingListId,d=n.trackingListName;return((0,a.useEffect)(()=>{o&&0!==i.length&&(0,L.L9)("view_item_list",{item_list_id:o,item_list_name:null!=d?d:void 0,items:i.map(e=>(0,L.GA)(e,void 0,o,null!=d?d:void 0))})},[o,d,i.length]),0===i.length)?null:(0,r.jsxs)(m.Z,{headline:n.headline,blockBackground:n.blockBackground,blockPadding:n.blockPadding,className:"overflow-x-clip",children:["grid"===n.layout?(0,r.jsx)("div",{className:"col-span-12",children:(0,r.jsx)(el.Z,{courses:i,fullWidth:!0,showPrice:!1,linkCategories:!0})}):(0,r.jsx)("div",{className:"col-span-12 text-dark-01-main",children:(0,r.jsx)(X.Z,{bleed:!!n.bleed,children:i.map(e=>(0,r.jsx)(O.o5,{className:ee.U8,children:(0,r.jsx)(et.Z,{course:e,linkCategories:!0})},e.id))})}),(null===(l=n.button)||void 0===l?void 0:l.label)&&(null===(t=n.button)||void 0===t?void 0:t.url)&&(0,r.jsx)("div",{className:"col-span-12 flex justify-center mt-14",children:(0,r.jsx)(C(),{href:n.button.url,children:(0,r.jsx)(c.Z,{variant:"primary",children:n.button.label})})})]})},en=t(79615),ei=t(39709),eo=t(71241),ec=e=>{let{block:l}=e,t=l.stats;if(!t)return null;let a="".concat("primary"===l.blockBackground?"text-cream":"text-lobster-01-main"," h-10 w-10 min-[600px]:h-12 min-[600px]:w-12"),s=[{key:"courses",Icon:en.Z,value:t.courses,label:"Kurse"},{key:"cooks",Icon:ei.Z,value:t.cooks,label:"Kochprofis"},{key:"hours",Icon:eo.Z,value:t.hours,label:"Stunden"}];return(0,r.jsx)(m.Z,{blockBackground:l.blockBackground,blockPadding:l.blockPadding,children:(0,r.jsx)("div",{className:"col-span-12 py-10 md:py-12 items-center grid grid-cols-3 gap-4 w-full",children:s.map(e=>{let{key:l,Icon:t,value:s,label:n}=e;return(0,r.jsxs)("div",{className:"flex flex-col items-center gap-4 lg:flex-row lg:justify-center",children:[(0,r.jsx)(t,{className:a}),(0,r.jsxs)("span",{className:"font-reco md:text-xl",style:{color:"var(--color-foreground)"},children:[(0,r.jsx)("strong",{children:s})," ".concat(n)]})]},l)})})})},ed=t(59663),eu=t(62049),em=t(69622),ex=t(46619),eh=t(17179),ep=t(79186);let ev="h-[30px] w-auto min-[575px]:h-[40px]";var eg=e=>{let{block:l}=e;return(0,r.jsx)(m.Z,{blockBackground:l.blockBackground,blockPadding:l.blockPadding,headline:l.headline,children:(0,r.jsxs)("div",{className:"col-span-12 lg:col-span-8 lg:col-start-3 text-center",children:[(0,r.jsxs)("div",{className:"flex flex-wrap justify-center mx-auto mt-4 mb-2 xl:px-20 items-center"+((0,ep.Z5)(l.blockBackground)?" w-fit rounded-2xl bg-white px-6 py-2 xl:px-8":""),children:[(0,r.jsx)("div",{className:"col-span-6 sm:col-span-3 order-1 justify-end flex",children:(0,r.jsx)(ed.Z,{className:ev})}),(0,r.jsxs)("div",{className:"col-span-12 sm:col-span-6 order-3 sm:order-2 flex items-center justify-center mt-2 sm:mt-0",children:[(0,r.jsx)(eu.Z,{className:ev}),(0,r.jsx)(ex.Z,{className:"w-12 h-12 ml-2 mr-1"}),(0,r.jsx)(eh.Z,{className:"w-12 h-12 "})]}),(0,r.jsx)("div",{className:"col-span-6 sm:col-span-3 order-2 sm:order-3 flex pl-12 sm:pl-4",children:(0,r.jsx)(em.Z,{className:ev})})]}),l.note&&(0,r.jsx)("p",{className:"opacity-75 small-text",children:l.note})]})})},ef=t(27681),eb=t(14154),ej=t(92052),ew=t(84451),ek=t(80085),ey=t(43030);let eN={check:ef.Z,play:eb.Z,bookmark:ej.Z,bell:ew.Z},eZ={badge:"Zum Reinschnuppern",priceCaption:"Dein Preis",priceNote:"kein Abo, keine Laufzeit",ctaNote:"Upgrade auf den Pass jederzeit m\xf6glich"};function eP(e,l){return null==e?l:e.trim()}let eC="text-[color:var(--color-dark-500)]",eB="text-[color:var(--color-dark-400)]";var eS=e=>{var l,t,n,i,o;let{block:c}=e,d=(0,a.useContext)(M.V);if((0,s.Z)(e=>e.currentUserOverview))return null;let x=(null!==(i=c.bullets)&&void 0!==i?i:[]).filter(e=>e.text),h=null===(l=c.headline)||void 0===l?void 0:l.title,p=null===(t=c.headline)||void 0===t?void 0:t.subtitle,v=(null===(n=c.headline)||void 0===n?void 0:n.type)||"h2",g=eP(c.badge,eZ.badge),f=eP(c.priceCaption,eZ.priceCaption),b=eP(c.priceN
1ote,eZ.priceNote),j=eP(c.ctaNote,eZ.ctaNote);return(0,r.jsx)(m.Z,{blockBackground:c.blockBackground,blockPadding:c.blockPadding,buttonMargins:"keep",children:(0,r.jsx)("div",{className:"col-span-12 xl:col-span-10 xl:col-start-2",children:(0,r.jsxs)("div",{className:"flex flex-col overflow-hidden rounded-[20px] border-2 border-[var(--color-dark-100)] bg-white shadow-lg lg:flex-row",children:[(0,r.jsxs)("div",{className:"flex flex-grow flex-col gap-6 p-6 md:p-10 lg:px-12 lg:py-11",children:[g&&(0,r.jsxs)("span",{className:"inline-flex items-center gap-2 self-start rounded-full bg-[var(--color-dark-100)] py-1.5 pl-3 pr-3.5 text-[13px] font-semibold text-[color:var(--color-dark-700)]",children:[(0,r.jsx)(ek.Z,{className:"h-3.5 w-3.5","aria-hidden":!0}),g]}),(h||p)&&(0,r.jsxs)("div",{className:"flex flex-col gap-2.5",children:[h&&(0,r.jsx)(v,{className:"m-0 font-reco text-3xl leading-tight md:text-[38px] ".concat(eC),children:h}),p&&(0,r.jsx)("p",{className:"m-0 max-w-[520px] text-[17px] leading-relaxed ".concat(eB),children:p})]}),x.length>0&&(0,r.jsx)("ul",{className:"m-0 grid list-none grid-cols-1 gap-4 border-t border-[var(--color-dark-100)] p-0 pt-6 sm:grid-cols-3 sm:gap-5",children:x.map((e,l)=>{var t,a,s;let n=null!==(a=eN[null!==(t=e.icon)&&void 0!==t?t:"check"])&&void 0!==a?a:ef.Z;return(0,r.jsxs)("li",{className:"flex items-center gap-3 sm:flex-col sm:items-start sm:gap-2.5",children:[(0,r.jsx)("span",{className:"flex h-9 w-9 flex-shrink-0 items-center justify-center rounded-[10px] bg-[var(--color-lobster-50)] text-[color:var(--color-lobster-500)]",children:(0,r.jsx)(n,{className:"h-[18px] w-[18px]","aria-hidden":!0})}),(0,r.jsx)("span",{className:"text-[15px] leading-snug ".concat(eB),children:e.text})]},null!==(s=e.id)&&void 0!==s?s:l)})})]}),(0,r.jsxs)("div",{className:"flex flex-shrink-0 flex-col items-center justify-center gap-1.5 text-center border-t-2 border-dashed border-[#e7e0d4] bg-cream-01 p-6 md:px-9 md:py-11 lg:w-[340px] lg:px-7 lg:border-l-2 lg:border-t-0",children:[f&&(0,r.jsx)("span",{className:"text-[13px] font-semibold ".concat(eB),children:f}),c.priceLabel&&(0,r.jsx)("span",{className:"whitespace-nowrap text-5xl font-bold leading-none tracking-tight md:text-[56px] ".concat(eC),children:c.priceLabel}),b&&(0,r.jsx)("span",{className:"mt-1.5 text-[13px] ".concat(eB),children:b}),(0,r.jsxs)("button",{type:"button",onClick:()=>null==d?void 0:d.setCurrentModal("register"),className:"m-0 mt-6 flex h-14 w-full cursor-pointer items-center justify-center gap-2.5 whitespace-nowrap rounded-xl bg-[var(--color-dark-500)] px-4 text-base font-semibold text-white transition-colors hover:bg-[var(--color-dark-700)]",children:[(0,u.d)(null!==(o=c.ctaText)&&void 0!==o?o:""),(0,r.jsx)(ey.Z,{className:"h-[18px] w-[18px]","aria-hidden":!0})]}),j&&(0,r.jsx)("p",{className:"m-0 mt-2.5 text-center text-[13px] font-semibold ".concat(eB),children:j})]})]})})})},e_=t(92301),eT=t(50365),eM=t(93343);let ez="svg-yellow w-8 h-8";var eE=e=>{var l;let{block:t}=e,a=null!==(l=t.rating)&&void 0!==l?l:0,s=(function(e){let l=Math.round(2*e)/2;return Array.from({length:5},(e,t)=>l>=t+1?"full":l>=t+.5?"half":"empty")})(a).map((e,l)=>"full"===e?(0,r.jsx)(eM.Z,{className:ez},l):"half"===e?(0,r.jsx)(eT.Z,{className:ez},l):(0,r.jsx)(e_.Z,{className:ez},l));return(0,r.jsx)(m.Z,{blockBackground:t.blockBackground,blockPadding:t.blockPadding,headline:t.headline,children:(0,r.jsxs)("div",{className:"col-span-12 max-w-section mx-auto",children:[(0,r.jsx)("div",{className:"flex justify-center mt-4 mb-6",children:s}),(0,r.jsxs)("div",{className:"text-center text-2xl font-reco m-0",children:[a.toLocaleString("de-DE"),"/5 Sterne"]}),"number"==typeof t.reviewCount&&(0,r.jsxs)("p",{className:"text-center",children:["bei ",(0,r.jsx)("b",{className:" bold",children:t.reviewCount})," Bewertungen"]})]})})},eI=t(62446),eL=t(12630),eA=t(38022),eV=t(14965),eO=e=>{var l,t,s;let{block:n}=e,i=(0,a.useContext)(M.V),[o,d]=(0,a.useState)(!1),[u,x]=(0,a.useState)(!1),[h,p]=(0,a.useState)(null),[v,g]=(0,a.useState)(""),[f,b]=(0,a.useState)(null),[j,N]=(0,a.useState)(!1),[Z,P]=(0,a.useState)(!1);
1return(0,r.jsxs)(m.Z,{blockBackground:n.blockBackground,blockPadding:n.blockPadding,id:null!==(s=n.anchorId)&&void 0!==s?s:void 0,buttonMargins:"keep",children:[(0,r.jsx)(k.Z,{isOpen:o}),(0,r.jsxs)("div",{className:"col-span-12 lg:col-span-8 lg:col-start-3 mx-auto",children:[(0,r.jsx)("h3",{children:u?n.successHeadline:n.headline}),!u&&(0,r.jsx)(w.J9,{onSubmit:async(e,l)=>{var t,r,a,s,n;let o,c;if(Z){p(""),l.setSubmitting(!1),l.resetForm({values:{firstname:null===(t=i.currentUserOverview.current)||void 0===t?void 0:t.firstname,lastname:null===(r=i.currentUserOverview.current)||void 0===r?void 0:r.lastname,mail:"",message:"",subject:"selectionOption",appInfo:"",buyDate:"",furtherMails:"",paymentMethode:"",receipt:"",voucherCode:"",course:"",reason:""}}),b(""),N(!1),P(!1);return}if(!f||"selectionOption"===f){p("Bitte w\xe4hle einen Betreff aus.");return}if("app"===f&&!e.appInfo){p("Bitte gib Informationen zu deinem Ger\xe4t an (Marke, Modell, Betriebssystem-Version …).");return}if("checkout"===f&&(!e.paymentMethode||"selectionOption"===e.paymentMethode)){p("Bitte gib die verwendete oder gew\xfcnschte Zahlungsmethode an.");return}if("cancel"===f&&(!e.reason||"selectionOption"===e.reason)){p("Bitte gib einen K\xfcndigungsgrund an.");return}if("cancel"===f&&!j){p(""),N(!0);return}if(("feedback"===f||"login"===f||"technical"===f||"noCourses"===f||"other"===f)&&!v){p("Bitte gib an, ob du die 7hauben Website oder die App nutzt.");return}if(o=e.furtherMails?"<b>weitere E-Mail-Adressen:</b> "+e.furtherMails:e.paymentMethode?"<b>Zahlungsmethode:</b> "+e.paymentMethode:e.receipt?"<b>Rechnungsnummer:</b> "+e.receipt:e.voucherCode?"<b>Gutscheincode:</b> "+e.voucherCode:e.course?"<b>Kurs oder Rezept:</b> "+e.course:e.reason?"<b>K\xfcndigungsgrund:</b> "+e.reason:v?"<b>Variante:</b> "+("app"===v?"App":"Website"):null,c="feedback"===f?"Feedback":"login"===f?"Probleme beim Anmelden":"checkout"===f?"Probleme beim Bezahlen":"moneyBack"===f?"14 Tage Geld-zur\xfcck-Garantie":"technical"===f?"Technisches Problem":"cancel"===f?"K\xfcndigung des 7hauben Passes":"redeem"===f?"Gutschein einl\xf6sen":"noCourses"===f?"Ich sehe meine Kurse nicht":"noVouchers"===f?"Ich sehe meinen Gutschein nicht":"content"===f?"Inhaltliche Frage":"app"===f?"App":"Sonstiges","cancel"===f&&i.currentUserOverview.current){if((null===(a=i.currentUserOverview.current)||void 0===a?void 0:a.aboState)==="cancel"){p("Dein 7hauben Pass wurde bereits gek\xfcndigt.");return}if((null===(s=i.currentUserOverview.current)||void 0===s?void 0:s.aboState)==="byVoucher"){p("Dein 7hauben Pass wurde als Gutscheine erworben und gilt nur ein Jahr. Er kann deshalb nicht gek\xfcndigt werden.");return}}try{d(!0);let l=(0,W.getAPIAxios)();await l.post("/contact",{...e,subject:c,message:"<b>User-ID:</b> "+(null===(n=i.currentUserOverview.current)||void 0===n?void 0:n.id)+"<br /><br /><b>Betreff:</b> "+c+(o?"<br /><br />"+o:"")+(e.buyDate?"<br /><br /><b>Kaufdatum:</b> "+(0,eV.k)(e.buyDate):"")+"<br /><br /><b>Nachricht:</b> "+e.message}),x(!0)}catch(e){p("Es ist ein unerwarteter Fehler aufgetreten."),(0,L.ry)("contact-form-error",{error:e})}finally{d(!1)}},initialValues:{firstname:null===(l=i.currentUserOverview.current)||void 0===l?void 0:l.firstname,lastname:null===(t=i.currentUserOverview.current)||void 0===t?void 0:t.lastname,mail:"",message:"",subject:"",appInfo:"",buyDate:"",furtherMails:"",paymentMethode:"",receipt:"",voucherCode:"",course:"",reason:""},children:e=>{var l,t;return(0,r.jsx)(w.l0,{children:(0,r.jsxs)("div",{className:"bs-row",children:[(0,r.jsxs)("div",{className:"col-span-12",children:["login"===f&&(0,r.jsxs)("p",{children:[(0,r.jsx)("a",{href:"/faq/tour",children:"Hier"})," kannst du dir Schritt f\xfcr Schritt anschauen, wie die Anmeldung funktioniert."]}),"checkout"===f&&(0,r.jsx)("p",{children:"Bitte beschreibe m\xf6glichst genau, wo der Fehler liegt und welche Fehlermeldung angezeigt wird."}),"technical"===f&&(0,r.jsx)("p",{children:"Beschreibe bitte m\xf6glichst genau, wo das Problem liegt."}),"cancel"===f&&!j&&(0,r.jsxs)("p",{children:["Wenn m\xf6glich, k\xfcndige den 7hauben Pass bitte bei ",(0,r.jsx)("a",{href:"/profil/mein-account",children:"„Mein Account”"}),". Eingel\xf6ste Gutscheine m\xfcssen nicht gek\xfcndigt werden."]}),"redeem"===f&&(0,r.jsxs)("p",{children:[(0,r.jsx)("a",{href:"/faq/tour?page=redeem",children:"Hier"})," kannst du dir Schritt f\xfcr Schritt anschauen, wie das Einl\xf6sen des Gutscheins funktioniert."]}),"noCourses"===f&&(0,r.jsx)("p",{children:"Beschreibe bitte m\xf6glichst genau, wo das Problem liegt."}),"noVouchers"===f&&(0,r.jsx)("p",{children:"Beschreibe bitte m\xf6glichst genau, wo das Problem liegt."}),"content"===f&&(0,r.jsx)("p",{children:"Bitte gib gegebenenfalls an, auf welchen Kurs und welches Rezept du dich beziehst."}),(0,r.jsxs)(w.gN,{as:"select",name:"subject",className:"mt-6",required:!0,onChange:l=>{b(l.target.value),e.handleChange(l)},children:[(0,r.jsx)("option",{selected:!0,value:"selectionOption",className:"opacity-50",children:"Bitte w\xe4hle einen Betreff ..."}),(0,r.jsx)("option",{value:"feedback",children:"Feedback"}),(0,r.jsx)("option",{value:"login",children:"Probleme beim Anmelden"}),(0,r.jsx)("option",{value:"checkout",children:"Probleme beim Bezahlen"}),(0,r.jsx)("option",{value:"moneyBack",children:"14 Tage Geld-zur\xfcck-Garantie"}),(0,r.jsx)("option",{value:"technical",children:"Technisches Problem"}),(0,r.jsx)("option",{value:"cancel",children:"K\xfcndigung des 7hauben Passes"}),(0,r.jsx)("option",{value:"redeem",children:"Gutschein einl\xf6sen"}),(0,r.jsx)("option",{value:"noCourses",children:"Ich sehe meine Kurse nicht"}),(0,r.jsx)("option",{value:"noVouchers",children:"Ich sehe meinen Gutschein nicht"}),(0,r.jsx)("option",{value:"content",children:"Inhaltliche Frage"}),(0,r.jsx)("option",{value:"app",children:"App"}),(0,r.jsx)("option",{value:"other",children:"Sonstiges"})]})]}),(0,r.jsxs)("div",{className:"col-span-12 xl:col-span-5",children:[(0,r.jsx)(w.gN,{type:"text",name:"firstname",className:"mb-4",placeholder:"Vorname"}),(0,r.jsx)(w.gN,{type:"text",name:"lastname",className:"mb-4",placeholder:"Nachname"}),(0,r.jsx)(w.gN,{type:"email",name:"mail",className:"mb-4",placeholder:"E-Mail",required:!0}),"login"===f&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)(w.gN,{type:"text",name:"furtherMails",className:"mb-4",placeholder:"weitere m\xf6gliche E-Mail-Adressen"}),(0,r.jsx)(eA.i,{multiline:!0,className:"max-w-card",label:"Wom\xf6glich wurde das Konto mit einer anderen E-Mail-Adresse angelegt. Gib hier deshalb bitte deine anderen E-Mail-Adressen an.",children:(0,r.jsx)("span",{className:"absolute top-[12.5px] right-3 cursor-pointer opacity-50",children:(0,r.jsx)(eI.Z,{className:"w-4 h-4"})})})]}),(0,r.jsxs)(w.gN,{as:"select",name:"loginMethode",className:"mb-4",required:!0,children:[(0,r.jsx)("option",{selected:!0,value:"selectionOption",className:"opacity-50",children:"verwendete Anmeldemethode ..."}),(0,r.jsx)("option",{value:"mail",children:"E-Mail & Passwort"}),(0,r.jsx)("option",{value:"google",children:"Google"}),(0,r.jsx)("option",{value:"facebook",children:"Facebook"}),(0,r.jsx)("option",{value:"apple",children:"Apple-ID"})]})]}),"checkout"===f&&(0,r.jsxs)(w.gN,{as:"select",name:"paymentMethode",className:"mb-4",required:!0,children:[(0,r.jsx)("option",{selected:!0,value:"selectionOption",className:"opacity-50",children:"verwendete Zahlungsmethode ..."}),(0,r.jsx)("option",{value:"Paypal",children:"PayPal"}),(0,r.jsx)("option",{value:"Kreditkarte",children:"Kreditkarte"}),(0,r.jsx)("option",{value:"SEPA",children:"SEPA"}),(0,r.jsx)("option",{value:"Sonstiges",children:"Sonstiges"})]}),"moneyBack"===f&&(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)(w.gN,{type:"text",name:"receipt",className:"mb-4",placeholder:"Rechnungsnummer"}),(0,r.jsx)("a",{href:"/profil/mein-account",children:(0,r.jsx)(eA.i,{multiline:!0,className:"max-w-card",label:"Die Rechnungsnummer findest du auf der Rechnung in deinem Profil unter 'Mein Account'. Sie besteht aus 3-6 Ziffern.",children:(0,r.jsx)("span",{className:"absolute top-[12.5px] right-3 cursor-pointer opacity-50",children:(0,r.jsx)(eI.Z,{className:"w-4 h-4"})})})})]}),"redeem"===f&&(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)(w.gN,{type:"text",name:"voucherCode",className:"mb-4",placeholder:"Dein Gutscheincode"}),(0,r.jsx)(eA.i,{multiline:!0,className:"max-w-card",label:"Durch \xdcbermittlung deines Gutscheincodes k\xf6nnen wir direkt mit der Fehlersuche beginnen.",children:(0,r.jsx)("span",{className:"absolute top-[12.5px] right-3 cursor-pointer opacity-50",children:(0,r.jsx)(eI.Z,{className:"w-4 h-4"})})})]}),("noCourses"===f||"noVouchers"===f)&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"flex items-end",children:[(0,r.jsx)("label",{className:"mt-0",children:"Kaufdatum"}),(0,r.jsx)(eA.i,{multiline:!0,className:"max-w-card",label:"Es kann passieren, dass der Kauf mit einem anderen Konto abgeschlossen wurde. Das Kaufdatum hilft uns, dieses Konto und"+("noCourses"===f?" dein Kurs zu finden.":" dein Gutschein zu finden."),children:(0,r.jsx)("span",{className:"ml-2 mb-2 inline-flex cursor-pointer opacity-50",children:(0,r.jsx)(eI.Z,{className:"w-4 h-4"})})})]}),(0,r.jsx)(w.gN,{type:"date",name:"buyDate",className:"mb-4"})]}),"content"===f&&(0,r.jsx)(w.gN,{type:"text",name:"course",className:"mb-4",placeholder:"Kurs- oder Rezepttitle"}),"cancel"===f&&(0,r.jsxs)(w.gN,{as:"select",name:"reason",className:" mb-4",children:[(0,r.jsx)("option",{selected:!0,value:"selectionOption",children:"Bitte w\xe4hle einen Grund..."}),(0,r.jsx)("option",{value:"noTime",children:"zu wenig Zeit f\xfcr die Kurse"}),(0,r.jsx)("option",{value:"priceValue",children:"Preis-Leistungs-Verh\xe4ltnis passt nicht"}),(0,r.jsx)("option",{value:"courseSelection",children:"mit der Kursauswahl nicht zufrieden"}),(0,r.jsx)("option",{value:"littleNew",children:"zu wenige neue Kurse"}),(0,r.jsx)("option",{value:"problemsViewing",children:"Probleme beim Ansehen der Kurse"}),(0,r.jsx)("option",{value:"other",children:"Sonstiges"})]}),"app"===f&&(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)(w.gN,{type:"text",name:"appInfo",className:"mb-4",placeholder:"Ger\xe4teinformationen"}),(0,r.jsx)(eA.i,{multiline:!0,className:"max-w-card",label:"Gib bitte m\xf6glichst genau an, welches Ger\xe4t du verwendest (Marke, Modell, Betriebssystem-Version …)",children:(0,r.jsx)("span",{className:"absolute top-[12.5px] right-3 opacity-50",children:(0,r.jsx)(eI.Z,{className:"w-4 h-4"})})})]}),("feedback"===f||"login"===f||"technical"===f||"noCourses"===f||"other"===f)&&(0,r.jsxs)("div",{className:"my-6",children:[(0,r.jsx)("p",{children:"Wie nutzt du 7hauben?"}),(0,r.jsxs)("div",{className:"flex items-center mt-2",children:[(0,r.jsx)(eL.Z,{onClick:()=>g("web"),label:"Website",selected:"web"===v,alignCenter:!0,biggerText:!0,className:"mr-6"}),(0,r.jsx)(eL.Z,{onClick:()=>g("app"),label:"App",selected:"app"===v,alignCenter:!0,biggerText:!0})]})]})]}),(0,r.jsx)("div",{className:"col-span-12 xl:col-span-7",children:(0,r.jsx)(w.gN,{required:!0,className:"bg-white text-dark-01-main [font-family:DMSans,sans-serif] border border-[#ccc] rounded-[4px] p-4",rows:9,type:"text",name:"message",as:"textarea",placeholder:"Deine Nachricht..."})}),(0,r.jsxs)("div",{className:"col-span-12 xl:col-span-5",children:[(0,r.jsxs)("p",{className:"small-text mt-2 opacity-50",children:["Mit dem Senden stimmst du der ",(0,r.jsx)("a",{href:"/datenschutz/",target:"_blank",className:"cursor-pointer underline",children:"Datenschutz\xaderkl\xe4rung"})," und der Speicherung deiner Daten zu."]}),h&&(0,r.jsx)(y.v,{error:!0,message:h,className:"mt-4"}),j?(0,r.jsx)(r.Fragment,{children:(null===(l=i.currentUserOverview.current)||void 0===l?void 0:l.aboState)==="byVoucher"?(0,r.jsxs)("div",{className:"mt-6",children:[(0,r.jsx)("p",{children:"Dein 7hauben Pass gilt nur f\xfcr ein Jahr. Es ist keine K\xfcndigung notwendig."}),(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(c.Z,{variant:"solid-dark-outline",className:"mr-4",size:"small",children:"Anfrage trotzdem senden"}),(0,r.jsx)("div",{onClick:()=>P(!0),children:(0,r.jsx)(c.Z,{variant:"primary",size:"small",children:"Abbrechen"})})]})]}):(null===(t=i.currentUserOverview.current)||void 0===t?void 0:t.aboState)==="c
1ancel"?(0,r.jsxs)("div",{className:"mt-6",children:[(0,r.jsx)("p",{children:"Du hast deinen 7hauben Pass bereits gek\xfcndigt."}),(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(c.Z,{variant:"solid-dark-outline",className:"mr-4",size:"small",children:"Anfrage trotzdem senden"}),(0,r.jsx)("div",{onClick:()=>P(!0),children:(0,r.jsx)(c.Z,{variant:"primary",size:"small",children:"Abbrechen"})})]})]}):(0,r.jsxs)("div",{className:"mt-6",children:[(0,r.jsxs)("p",{children:["Du kannst deinen 7hauben Pass ganz einfach in deinem Account ",(0,r.jsx)("a",{href:"/profil/mein-account",children:"deinem Account"})," k\xfcndigen."]}),(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(c.Z,{variant:"solid-dark-outline",className:"mr-4",size:"small",children:"Anfrage trotzdem senden"}),(0,r.jsx)(C(),{href:"/profil/mein-account",legacyBehavior:!0,children:(0,r.jsx)(c.Z,{variant:"primary",size:"small",children:"zum Account"})})]})]})}):(0,r.jsx)(c.Z,{variant:"primary",children:"Anfrage senden"})]})]})})}}),u&&(0,r.jsx)("p",{className:"opacity-75 mt-4",children:n.successText})]})]})},eR=t(52728);let eD={six:{cell:"col-span-12 sm:col-span-6 md:col-span-4 lg:col-span-2 text-center",icon:"w-9 h-9 bg-lobster-01-main",iconWrapper:"mb-2",label:"h6",staggered:!0,inline:!1},four:{cell:"col-span-6 lg:col-span-3 mx-auto my-6 max-w-[280px] text-center",icon:"w-12 h-12 bg-lobster-01-main",iconWrapper:"flex justify-center mb-2",label:"title my-[0.7rem]",staggered:!1,inline:!1},rows:{cell:"col-span-12 md:col-span-6 flex items-center mb-12",icon:"w-12 h-12 bg-lobster-01-main shrink-0",iconWrapper:"mr-6 shrink-0",label:"h6",staggered:!1,inline:!0}},eq=[{prefix:"sm",columns:2},{prefix:"md",columns:3},{prefix:"lg",columns:6}];var eF=e=>{var l;let{block:t}=e,a=null!==(l=t.facts)&&void 0!==l?l:[];if(0===a.length)return null;let s=eD[t.layout&&t.layout in eD?t.layout:"six"];return(0,r.jsx)(m.Z,{headline:t.headline,blockBackground:t.blockBackground,blockPadding:t.blockPadding,children:a.map((e,l)=>{var t,a;let n=(0,d.s)(e.icon),i="object"==typeof e.icon&&e.icon&&null!==(t=e.icon.maskDataUrl)&&void 0!==t?t:null,o=s.staggered?function(e){if(0===e)return"";for(let{prefix:l,columns:t}of eq)if(0===Math.floor(e/t))return"mt-12 ".concat(l,":mt-0");return"mt-12"}(l):"";return(0,r.jsxs)("div",{className:"".concat(s.cell).concat(o?" ".concat(o):""),children:[(i||n)&&(0,r.jsx)("div",{className:s.iconWrapper,children:(0,r.jsx)(eR.Z,{url:i,fallbackUrl:n,className:s.icon})}),s.inline?(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:s.label,children:e.label}),e.value&&(0,r.jsx)("p",{children:e.value})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{className:s.label,children:e.label}),(0,r.jsx)("p",{children:e.value})]})]},null!==(a=e.id)&&void 0!==a?a:String(l))})})},eU=e=>{var l,t;let{block:a}=e,s=null!==(l=a.packages)&&void 0!==l?l:[];if(0===s.length)return null;let[n,...i]=s;return(0,r.jsxs)(m.Z,{blockBackground:a.blockBackground,blockPadding:a.blockPadding,buttonMargins:"keep",children:[(0,r.jsxs)("div",{className:"col-span-12 text-center",children:[(0,r.jsx)("h3",{children:a.title}),(0,r.jsx)("div",{className:"max-w-section mx-auto",children:(0,r.jsx)(_.Z,{value:a.subtitle,className:"[&_a]:underline [&_a]:text-[inherit]"})})]}),n&&(0,r.jsx)("div",{className:"col-span-12 lg:col-span-8 lg:col-start-3 mt-6",children:(0,r.jsxs)("div",{className:"block-keep-accent bg-dark-01-main text-white rounded overflow-hidden shadow py-12 px-6 lg:px-12 flex items-end justify-between",children:[(0,r.jsxs)("div",{className:"max-w-card pr-6",children:[(0,r.jsx)("p",{className:"h4 text-lobster-01-main",children:n.title}),(0,r.jsx)(_.Z,{value:n.description})]}),(0,r.jsxs)("div",{className:"text-right",children:[(0,r.jsx)("p",{className:"h6",children:n.priceInfo}),(0,r.jsx)("p",{className:"small-text",children:n.priceDetails})]})]})}),i.length>0&&(0,r.jsx)("div",{className:"col-span-12",children:(0,r.jsx)("p",{className:"opacity-50 mt-12 underline",children:"Zusatzpakete"})}),i.map(e=>(0,r.jsx)("div",{className:"col-span-12 lg:col-span-6 mt-6",children:(0,r.jsx)("div",{className:"bg-white text-dark-01-main rounded overflow-hidden p-6 flex h-full items-center",children:(0,r.jsxs)("div",{className:"block sm:flex justify-between w-full",children:[(0,r.jsxs)("div",{className:"max-w-card pr-6",children:[(0,r.jsx)("p",{className:"h5",children:e.title}),(0,r.jsx)(_.Z,{value:e.description})]}),(0,r.jsxs)("div",{className:"mt-4 sm:mt-0 sm:hidden",children:[(0,r.jsx)("p",{className:"strong whitespace-nowrap",children:e.priceInfo}),(0,r.jsx)("p",{className:"small-text",children:e.priceDetails})]}),(0,r.jsxs)("div",{className:"mt-4 sm:mt-0 hidden sm:flex flex-col justify-end text-right",children:[(0,r.jsx)("p",{className:"strong whitespace-nowrap",children:e.priceInfo}),(0,r.jsx)("p",{className:"small-text",children:e.priceDetails})]})]})})},e.id)),(0,r.jsx)("div",{className:"col-span-12",children:(0,r.jsx)(C(),{href:null!==(t=a.buttonAnchor)&&void 0!==t?t:"#kontakt",children:(0,r.jsx)(c.Z,{className:"w-full max-w-card mx-auto my-12",variant:"primary",children:a.buttonText?(0,u.d)(a.buttonText):a.buttonText})})}),(0,r.jsx)("div",{className:"col-span-12",children:(0,r.jsx)(_.Z,{value:a.furtherInfos,className:"small-text opacity-50"})})]})},eH=t(58527),eW=e=>{var l;let{block:t}=e,a=(null!==(l=t.recipes)&&void 0!==l?l:[]).filter(e=>"object"==typeof e&&null!==e);
1return 0===a.length?null:(0,r.jsx)(m.Z,{blockBackground:t.blockBackground,blockPadding:t.blockPadding,headline:t.headline,children:(0,r.jsx)("div",{className:"col-span-12",children:(0,r.jsx)(R.Z,{caption:null,children:a.map(e=>(0,r.jsx)(O.o5,{className:"max-w-card",children:(0,r.jsx)(eH.Z,{recipe:e,allowClick:!1})},e.id))})})})},eG=t(97248),eK=e=>{var l,t,a;let{block:s}=e,n=null===(l=s.gumletAssetId)||void 0===l?void 0:l.trim();return(0,r.jsx)(m.Z,{blockBackground:s.blockBackground,blockPadding:s.blockPadding,headline:s.headline,children:(0,r.jsx)("div",{className:"col-span-12 lg:col-span-10 lg:col-start-2",children:(0,r.jsx)("div",{className:"relative w-full overflow-hidden rounded-2xl",style:{aspectRatio:"16 / 9"},children:n?(0,r.jsx)(eG.Z,{playback:{provider:N.s.provider.GUMLET,gumletId:n,legacyCourseId:0,legacyVideoId:0,publicPreview:!0,signed:null},videoKey:"teaser-".concat(n),title:null!==(a=null===(t=s.headline)||void 0===t?void 0:t.title)&&void 0!==a?a:"Video"}):(0,r.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-dark-04 text-dark-02 font-semibold",children:"Video folgt"})})})})};let eJ=e=>{let{blocks:l,subscriberFallback:t=!0}=e,a=(0,s.Z)(e=>e.currentUserOverview);return l&&0!==l.length?(0,r.jsx)(r.Fragment,{children:l.map((e,l)=>{if(!(0,n.i)(e,a,{subscriberFallback:t}))return null;let s=e.id||"block-".concat(l);return(0,r.jsx)("div",{id:e.id?"block-".concat(e.id):void 0,"data-block-type":e.blockType,children:(()=>{switch(e.blockType){case"simpleTextBlock":return(0,r.jsx)(i.fy,{block:e});case"teamBlock":return(0,r.jsx)(f,{block:e});case"pressLinksBlock":return(0,r.jsx)(j,{block:e});case"content":return(0,r.jsx)(i.T$,{block:e});case"cta":return(0,r.jsx)(i.LN,{block:e});case"faqs":return(0,r.jsx)(i.pw,{block:e});case"mediaBlock":return(0,r.jsx)(i.nx,{block:e});case"rating-teaser":return(0,r.jsx)(i.YD,{block:e});case"socialProofs":return(0,r.jsx)(i.Bq,{block:e});case"iconsBlock":return(0,r.jsx)(i.Gj,{block:e});case"conversion":return(0,r.jsx)(i.u5,{block:e});case"contactFormBlock":return(0,r.jsx)(Z,{block:e});case"pageHeroBlock":return(0,r.jsx)(V,{block:e});case"studioGalleryBlock":return(0,r.jsx)(D,{block:e});case"factsGridBlock":return(0,r.jsx)(eF,{block:e});case"pricePackagesBlock":return(0,r.jsx)(eU,{block:e});case"videoGridBlock":return(0,r.jsx)(H,{block:e});case"newsletterFormBlock":return(0,r.jsx)(G,{block:e});case"jobsBlock":return(0,r.jsx)($,{block:e});case"courseListBlock":return(0,r.jsx)(es,{block:e});case"courseStatsBlock":return(0,r.jsx)(ec,{block:e});case"paymentInfoBlock":return(0,r.jsx)(eg,{block:e});case"recipeSliderBlock":return(0,r.jsx)(eW,{block:e});case"videoTeaserBlock":return(0,r.jsx)(eK,{block:e});case"freeAccountBlock":return(0,r.jsx)(eS,{block:e});case"starRatingBlock":return(0,r.jsx)(eE,{block:e});case"supportFormBlock":return(0,r.jsx)(eO,{block:e});case"pricingCard":return(0,r.jsx)(i.mJ,{block:e});case"cookSliderBlock":return(0,r.jsx)(i.B1,{block:e});case"textMediaBlock":return(0,r.jsx)(i.nY,{block:e});case"courseTeaserBlock":return(0,r.jsx)(i.YW,{block:e});case"masonryGalleryBlock":return(0,r.jsx)(i.cq,{block:e});case"tabSliderBlock":return(0,r.jsx)(i.L9,{block:e});case"abTest":return(0,r.jsx)(i.ud,{block:e,subscriberFallback:t});case"fullscreenHeroBlock":return(0,r.jsx)(i.On,{block:e});case"showcase-slider":return(0,r.jsx)(i.DQ,{block:e});case"testimonial-showcase":return(0,r.jsx)(i.MQ,{block:e});case"newsletter-subscribe":return(0,r.jsx)(i.zX,{block:e});case"pricingSelection":return(0,r.jsx)(i.r7,{block:e});case"feature-comparison":return(0,r.jsx)(i.s1,{block:e});case"archive":return(0,r.jsx)(i.$u,{block:e});case"insight-faq":return(0,r.jsx)(i.u9,{block:e});case"catalogMarquee":return(0,r.jsx)(i.op,{block:e});case"pricingHero":return(0,r.jsx)(i.VK,{block:e});case"transformation":return(0,r.jsx)(i.PH,{block:e});case"offerCard":return(0,r.jsx)(i.mT,{block:e});case"logoBarBlock":return(0,r.jsx)(i.tZ,{block:e});case"saleHero":return(0,r.jsx)(i.Ps,{block:e});case"statements":return(0,r.jsx)(i.Yg,{block:e});case"priceLadder":return(0,r.jsx)(i.xb,{block:e});case"bonusCard":return(0,r.jsx)(i.D8,{block:e});case"prizeGrid":return(0,r.jsx)(i.nv,{block:e});case"saleFaq":return(0,r.jsx)(i.Tm,{block:e});default:return(0,r.jsx)(i.oP,{blockType:e.blockType})}})()},s)})}):null};var eQ=eJ},16087:function(e,l,t){"use strict";t.d(l,{Z:function(){return N}});var r,a=t(97758),s=t(80665),n=t(19517),i=t(60758),o=t(55738),c=t(46371),d=t(13462),u=t(52372);function m(){return(m=Object.assign?Object.assign.bind():function(e){for(var l=1;l<arguments.length;l++){var t=arguments[l];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(null,arguments)}var x=function(e){return s.createElement("svg",m({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 19 16"},e),r||(r=s.createElement("path",{fill:"currentColor",d:"M11.5 4.56a2.39 2.39 0 0 1 2.39 2.39v6.5a2.39 2.39 0 0 1-2.39 2.39H2.39A2.39 2.39 0 0 1 0 13.45v-6.5a2.39 2.39 0 0 1 2.39-2.39zM2.39 5.93c-.56 0-1.02.46-1.02 1.02v6.5c0 .56.46 1.02 1.02 1.02h9.11c.56 0 1.02-.46 1.02-1.02v-6.5c0-.56-.46-1.02-1.02-1.02zM13.8 2.32a2.39 2.39 0 0 1 2.39 2.39v8c0 .38-.31.69-.69.69s-.69-.31-.69-.69v-8c0-.56-.46-1.02-1.02-1.02H3.56c-.38 0-.69-.31-.69-.69s.31-.69.69-.69h10.23zM5.28 7.27c.48-.26 1.09-.2 1.66.17l2.07 1.33c.56.36.88.89.88 1.45s-.32 1.09-.88 1.45l-1.99 1.28c-.36.22-.72.34-1.06.34-.24 0-.46-.05-.66-.16-.5-.27-.78-.83-.78-1.54V8.76c0-.69.28-1.23.76-1.49m.66 1.21c-.01.04-.04.12-.04.27v2.83c0 .22.05.32.07.34.011 0 .13-.01.31-.13l1.99-1.28-.01-.01c.19-.11.25-.23.25-.29s-.07-.17-.25-.29L6.19 8.59c-.12-.08-.21-.11-.25-.11M16.16.01c1.32 0 2.39 1.07 2.39 2.39v8a.691.691 0 0 1-1.38 0v-8c0-.56-.46-1.02-1.02-1.02h-10a.691.691 0 0 1 0-1.38h10z"})))},h=t(99095),p=t(41107),v=t(11438),g=t(25438),f=t(25506),b=t(17067),j=t(88817);let w=e=>{let l=Math.floor(e/3600),t=Math.floor(e%3600/60);return l>0?"".concat(l,"h ").concat(t,"min"):"".concat(t," min")},k=e=>{let{icon:l,value:t,label:r}=e;return(0,a.jsxs)("div",{className:"flex items-center gap-2 text-white",children:[l,(0,a.jsxs)("div",{className:"flex items-baseline leading-tight gap-1.5",children:[(0,a.jsx)("span",{className:"text-sm font-semibold",children:t}),(0,a.jsx)("span",{className:"text-xs text-white/70",children:r})]})]})};var y=e=>{let{stats:l,hasAbo:t=!1}=e;return(0,a.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-4 sm:gap-6",children:[l&&l.videoCount>0&&(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-3 sm:gap-4 md:gap-6 w-full justify-center [@media(min-width:400px)]:justify-between md:w-auto md:justify-start",children:[(0,a.jsx)(k,{icon:(0,a.jsx)(h.Z,{className:"w-5 h-5"}),value:l.videoCount,label:"Videos"}),(0,a.jsx)(k,{icon:(0,a.jsx)(f.Z,{className:"w-5 h-5"}),value:w(l.totalDuration),label:"Laufzeit"}),l.uniqueCourseCount>0&&(0,a.jsx)(k,{icon:(0,a.jsx)(b.Z,{className:"w-5 h-5"}),value:l.uniqueCourseCount,label:"Kurse"}),l.uniqueCookCount>0&&(0,a.jsx)(k,{icon:(0,a.jsx)(j.Z,{className:"w-5 h-5"}),value:l.uniqueCookCount,label:"K\xf6che"})]}),!t&&(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-3 sm:gap-4 md:gap-6 mt-1 sm:mt-0 w-full md:w-auto justify-center min-[375px]:justify-between md:justify-start",children:[(0,a.jsx)(k,{icon:(0,a.jsx)(p.Z,{className:"w-5 h-5"}),value:"100.000+",label:"Hobbyk\xf6che"}),(0,a.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,a.jsx)("div",{className:"flex gap-0.5",children:[1,2,3,4,5].map(e=>(0,a.jsx)(v.Z,{className:"w-5 h-5 text-white"},e))}),(0,a.jsx)("span",{className:"text-white text-sm",children:"4.9 auf"})]}),(0,a.jsx)(g.Z,{className:"h-4 w-auto text-white"})]})]})]})},N=e=>{var l,t,r;let{hero:s,stats:m,slug:h,registeredUsersOnly:p}=e,v=(0,o.Z)(e=>e.currentUserOverview),g=null!==(r=null==v?void 0:v.abo)&&void 0!==r&&r;(0,o.Z)(e=>e.loggedInState);let f=()=>{let e=document.querySelector('[data-block-type="gumletPlaylist"]');e&&window.scrollTo({top:e.getBoundingClientRect().top+window.scrollY-100,behavior:"smooth"})};return s?(0,a.jsxs)("section",{className:"relative min-h-[450px] h-[80dvh] max-h-[700px] bg-dark text-white grid grid-rows-[auto_1fr] overflow-hidden",children:[s.headerMedia&&(0,a.jsx)("div",{className:"absolute inset-0 z-0 overflow-hidden",children:(0,a.jsx)(i.Z,{media:s.headerMedia,alt:s.headline||"",fill:!0,fit:"cover",quality:85,priority:!0})}),(0,a.jsx)("div",{className:"absolute inset-0 z-[1]",style:{background:"linear-gradient(to bottom, rgba(6,8,12,0.1) 40%, rgba(6,8,12,1) 100%)"}}),(0,a.jsx)("div",{className:"relative z-20 row-start-1 col-start-1",children:(0,a.jsx)(u.Z,{style:"light"})}),(0,a.jsx)("div",{className:"container relative z-10 row-start-2 col-start-1 self-end pb-10 lg:pb-16",children:(0,a.jsxs)("div",{className:"lg:max-w-[100%]",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3 pb-6 sm:pb-10",children:[(0,a.jsx)(x,{className:"w-8 h-8 text-white"}),(0,a.jsx)("span",{className:"text-base text-white font-medium",children:"Playlist"})]}),s.headline&&(0,a.jsx)("h1",{className:"text-3xl sm:text-4xl md:text-5xl font-reco text-white mb-2 leading-tight",children:s.headline}),s.subHeadline&&(0,a.jsx)("p",{className:"text-lg md:text-xl text-white opacity-90 leading-relaxed",children:s.subHeadline}),s.description&&(0,a.jsx)("div",{className:"text-base opacity-90 mt-4",children:(0,a.jsx)(n.Z,{data:s.description})}),(0,a.jsxs)("div",{className:"flex flex-wrap gap-3 mt-4 sm:mt-6",children:[(0,a.jsx)(d.Z,{variant:"primary",onClick:()=>{(0,c.ry)("playlist-hero-start-click",{playlistTitle:s.headline,playlistSlug:h}),window.location.hash="play",f()},children:(null===(l=s.heroButtons)||void 0===l?void 0:l.buyButtonText)||"Playlist starten"}),!g&&!p&&(0,a.jsx)(d.Z,{variant:"solid-dark",onClick:()=>{window.location.hash="freeFirst",f()},children:(null===(t=s.heroButtons)||void 0===t?void 0:t.freeVideosButtonText)||"Gratis Videos ansehen"})]}),s.showTrustpilot&&(0,a.jsx)("div",{className:"mt-5 sm:mt-8",children:(0,a.jsx)(y,{stats:m,hasAbo:g})})]})})]}):null}},79186:function(e,l,t){"use strict";t.d(l,{Lr:function(){return c},O8:function(){return d},Z5:function(){return n},aR:function(){return i},np:function(){return o}}),t(80665);let r={"--color-foreground":"var(--color-dark-500)","--color-highlight":"var(--color-dark-500)","--color-button":"var(--color-lobster-500)","--color-button-text":"var(--color-white)","--color-border":"rgba(0, 0, 0, 0.1)","--card-bg":"var(--color-white)","--card-border":"transparent","--card-text":"var(--color-dark-500)","--card-text-secondary":"var(--color-dark-400)"},a={"--color-foreground":"var(--color-white)","--color-highlight":"var(--color-white)","--color-button":"var(--color-lobster-500)","--color-button-text":"var(--color-white)","--color-border":"rgba(255, 255, 255, 0.2)","--card-bg":"var(--color-white)","--card-border":"transparent","--card-text":"var(--color-dark-500)","--card-text-secondary":"var(--color-dark-400)"},s=new Set(["primary","accent","dark"]),n=e=>s.has(null!=e?e:"light"),i={transparent:{...r,"--color-bg":"transparent",backgroundColor:"transparent"},primary:{...a,"--color-button":"var(--color-dark-500)","--color-bg":"var(--color-lobster-500)",backgroundColor:"var(--color-lobster-500)"},accent:{...a,"--color-bg":"var(--color-dark-600)",backgroundColor:"var(--color-dark-600)"},light:{...r,"--card-bg":"var(--color-cream-light)","--color-bg":"var(--color-white)",backgroundColor:"var(--color-white)"},medium:{...r,"--color-bg":"var(--color-grey)",backgroundColor:"var(--color-grey)"},dark:{...a,"--color-bg":"var(--color-dark-700)",backgroundColor:"var(--color-dark-700)"},cream:{...r,"--color-bg":"var(--color-cream-light)",backgroundColor:"var(--color-cream-light)"}},o="[&_button]:m-0",c="w-full relative text-[color:var(--color-foreground)]",d="".concat(c," ").concat(o)},52728:function(e,l,t){"use strict";var r=t(97758);t(80665),l.Z=e=>{let{url:l,fallbackUrl:t,className:a="w-9 h-9 bg-lobster-01-main",color:s,label:n}=e;if(!l)return t?(0,r.jsx)("img",{src:t,alt:null!=n?n:"","aria-hidden":!n||void 0,className:a.replace(/\bbg-\S+/g,"")}):null;let i=l.replace(/["\\]/g,encodeURIComponent),o='url("'.concat(i,'")');return(0,r.jsx)("span",{"aria-hidden":!n||void 0,role:n?"img":void 0,"aria-label":null!=n?n:void 0,className:"inline-block ".concat(a),style:{...s?{backgroundColor:s}:null,WebkitMaskImage:o,maskImage:o,WebkitMaskRepeat:"no-repeat",maskRepeat:"no-repeat",WebkitMaskPosition:"center",maskPosition:"center",WebkitMaskSize:"contain",maskSize:"contain"}})}},39514:function(e,l,t){"use strict";t.d(l,{ud:function(){return lk},$u:function(){return lY},D8:function(){return tM},LN:function(){return g},op:function(){return tt},T$:function(){return d},u5:function(){return e6},B1:function(){return le},YW:function(){return lc},pw:function(){return N},oP:function(){return eg},s1:function(){return lK},On:function(){return lB},Nc:function(){return eo},Gj:function(){return e_},u9:function(){return l0},tZ:function(){return e9},cq:function(){return lx},nx:function(){return ep},zX:function(){return lR},mT:function(){return tp}
1,lB:function(){return eu},xb:function(){return tT},mJ:function(){return e0},VK:function(){return ts},r7:function(){return lU},nv:function(){return tI},YD:function(){return ew},j4:function(){return ey},Tm:function(){return tA},Ps:function(){return tS},DQ:function(){return lM},fy:function(){return o},Bq:function(){return eZ},Yg:function(){return t_},L9:function(){return lg},MQ:function(){return lV},nY:function(){return lr},PH:function(){return th}});var r=t(70340),a=t(97758),s=t(80665),n=t(41948),i=t(19517);let o=e=>{let{block:l}=e,t="narrow"===l.contentWidth?"col-span-12 lg:col-start-3 lg:col-span-8":"col-span-12",r="center"===l.textAlign?"text-center":"";return(0,a.jsx)(n.Z,{blockBackground:l.blockBackground,blockPadding:l.blockPadding,headline:l.headline,children:(0,a.jsx)("div",{className:"".concat(t," ").concat(r),children:(0,a.jsx)(i.Z,{data:l.richText,className:"[&>p:not(:last-child)]:mb-4 [&>ul]:mb-4 [&>ol]:mb-4 [&>h2]:mt-8 [&>h3]:mt-6 [&>h4]:mt-6 [&>h2]:mb-3 [&>h3]:mb-3 [&>h4]:mb-2 [&>*:first-child]:mt-0"})})})},c={oneThird:"md:col-span-4",half:"md:col-span-6",twoThirds:"md:col-span-8",full:"col-span-12"},d=e=>{var l;let{block:t}=e;return(0,a.jsx)(n.Z,{blockBackground:t.blockBackground,blockPadding:t.blockPadding,headline:t.headline,children:(0,a.jsx)("div",{className:"col-span-12",children:(0,a.jsx)("div",{className:"bs-row",children:null===(l=t.columns)||void 0===l?void 0:l.map((e,l)=>(0,a.jsx)("div",{className:c[e.size||"full"]||"col-span-12",children:(0,a.jsx)(i.Z,{data:e.richText})},l))})})})};var u=t(54161),m=t(52728),x=t(77772);let h="[&>p:not(:last-child)]:mb-4 [&>h2]:mb-4 [&>h3]:mb-4 [&>h4]:mb-4 [&>h5]:mb-4 [&>h6]:mb-4",p=e=>"primary"===e?"var(--color-dark-500)":"var(--color-lobster-500)",v=e=>"center"===e?"justify-center":"right"===e?"justify-end":"justify-start",g=e=>{var l,t;let{block:r}=e,s="above"===r.linkPosition,o="left"===r.linkAlignment?"justify-start":"right"===r.linkAlignment?"justify-end":"justify-center",c="paragraph"===r.linkSpacing,d=r.textAlignment,g=r.icon,f=g&&"object"==typeof g?(0,a.jsx)("div",{className:"flex ".concat(v(null===(l=r.headline)||void 0===l?void 0:l.textAlignment)," mb-4"),children:(0,a.jsx)(m.Z,{url:null!==(t=g.maskDataUrl)&&void 0!==t?t:null,fallbackUrl:(0,x.s)(g),className:"w-12 h-12",color:p(r.blockBackground)})}):null;return(0,a.jsx)(n.Z,{blockBackground:r.blockBackground,blockPadding:r.blockPadding,headline:r.headline,headlineIcon:f,buttonMargins:"keep",children:(0,a.jsxs)("div",{className:"col-span-12 lg:col-start-3 lg:col-span-8 ".concat("left"===d?"text-left":"right"===d?"text-right":"text-center"),children:[!s&&(0,a.jsx)(i.Z,{data:r.richText,className:"".concat(h).concat(c?"":" mb-6")}),r.links&&r.links.length>0&&(0,a.jsx)("div",{className:"flex gap-4 ".concat(o," flex-wrap").concat(s?" mb-2":"").concat(c?" mb-12":""),children:r.links.map((e,l)=>(0,a.jsx)(u.F4,{...e.link,trackingContext:"cta"},e.id||l))}),s&&(0,a.jsx)(i.Z,{data:r.richText,className:h})]})})};var f=t(82081),b=t(95719),j=t(62897),w=t(79186);let k=e=>{let{faq:l,onDark:t}=e,[r,n]=(0,s.useState)(!1);return(0,a.jsxs)("div",{className:"flex flex-col py-4 pr-6",style:{borderBottom:"1px solid var(--color-border, rgba(0,0,0,0.1))"},children:[(0,a.jsxs)("div",{onClick:()=>n(!r),className:"cursor-pointer flex items-center",children:[(0,a.jsx)("strong",{className:"text-lobster-01-main",style:t?{color:"var(--color-highlight)"}:void 0,children:l.title}),(0,a.jsx)("div",{className:"ml-auto",style:{color:"var(--color-foreground)"},children:r?(0,a.jsx)(b.Z,{className:"w-6 h-6"}):(0,a.jsx)(j.Z,{className:"w-6 h-6"})})]}),r&&(0,a.jsx)("div",{className:"mt-4",style:{color:"var(--color-foreground)"},children:(0,a.jsx)(i.Z,{data:l.answer})})]})};function y(e){var l;let t=[],r=[];return null===(l=e.categories)||void 0===l||l.forEach(e=>{var l;"string"!=typeof e&&(null===(l=e.faqs)||void 0===l?void 0:l.docs)&&e.faqs.docs.forEach(e=>{"string"==typeof e?r.push(e):t.push(e)})}),{populatedFaqs:t,unpopulatedIds:r}}let N=e=>{let{block:l}=e,t=y(l),[o,c]=(0,s.useState)(t.populatedFaqs),[d,u]=(0,s.useState)(0===t.populatedFaqs.length&&t.unpopulatedIds.length>0);return((0,s.useEffect)(()=>{(async()=>{let{populatedFaqs:e,unpopulatedIds:t}=y(l);if(0===t.length){c(e),u(!1);return}try{let l=(0,f.AA)(),r=await fetch("".concat(l,"/api/faqs?where[id][in]=").concat(t.join(","),"&limit=100&locale=de"));if(r.ok){let l=(await r.json()).docs||[];c([...e,...l])}else c(e)}catch(l){console.error("Failed to fetch FAQs:",l),c(e)}u(!1)})()}
1,[l]),d||0===o.length)?null:(0,a.jsx)(n.Z,{blockBackground:l.blockBackground,blockPadding:l.blockPadding,children:(0,a.jsxs)("div",{className:"col-span-12 lg:col-start-3 lg:col-span-8",children:[(0,a.jsx)(r.TW,{headline:l.headline}),o.map(e=>(0,a.jsx)(k,{faq:e,onDark:(0,w.Z5)(l.blockBackground)},e.id)),l.footerText&&(0,a.jsx)("div",{style:{color:"var(--color-foreground)"},children:(0,a.jsx)(i.Z,{data:l.footerText,className:"mt-8 text-left"})})]})})};var Z=t(2154),P=t.n(Z),C=t(89073),B=t(13462),S=t(55738),_=t(8217);function T(e,l){return l?[...e].sort((e,l)=>e.publicPreview&&!l.publicPreview?-1:!e.publicPreview&&l.publicPreview?1:0):e}let M=e=>e.filter(e=>e.publicPreview).length,z=(e,l)=>"".concat(e.courseId,":").concat(e.key,"#").concat(l),E=e=>{let{checked:l,onChange:t,label:r}=e;return(0,a.jsxs)("label",{role:"switch","aria-checked":l,"aria-label":r,tabIndex:0,className:"flex items-center gap-1.5 cursor-pointer select-none focus:outline-2 focus:outline-offset-2 focus:outline-lobster rounded",onClick:()=>t(!l),onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),t(!l))},children:[(0,a.jsx)("div",{className:"relative w-[33px] h-[19px] rounded-full border border-[#2a3349] transition-colors ".concat(l?"bg-[#2a3349]":"bg-transparent"),children:(0,a.jsx)("div",{className:"absolute top-[2px] w-[13px] h-[13px] rounded-full transition-transform ".concat(l?"translate-x-[16px] bg-white":"translate-x-[2px] bg-[#2a3349]")})}),(0,a.jsx)("span",{className:"text-sm text-[#2a3349] leading-5",children:r})]})};var I=t(18035),L=t(97248),A=t(9006),V=t(19347),O=t(30170),R=t(58427);let D=null,q=(0,s.forwardRef)(function(e,l){var t,r;let{video:n,autoplay:i=!1,className:o,onPlay:c,onPause:d,onEnded:u}=e,m=(0,S.Z)(e=>
1e.currentUserOverview),[x,h]=(0,s.useState)(0),p=(0,s.useRef)(null),v=(0,s.useRef)(Symbol("playlist-player")),g=(0,s.useRef)(null),f=(0,V.t)(n.courseId,n.key,!0,x),b="ok"===f.status?f.playback:null,j=null!==(r=null==b?void 0:b.legacyCourseId)&&void 0!==r?r:null,w=()=>D===v.current,k=()=>{if(!b)return;let e="".concat(n.courseId,":").concat(n.key);w()&&g.current===e||(R.Z.startSession({videoId:String(b.legacyVideoId),videoTitle:n.title,courseId:null!==j?String(j):void 0,courseTitle:n.courseTitle,pageType:"playlist"}),D=v.current,g.current=e)};(0,s.useEffect)(()=>()=>{D===v.current&&(R.Z.destroy(),D=null)},[]),(0,s.useImperativeHandle)(l,()=>({play:()=>{var e;return null===(e=p.current)||void 0===e?void 0:e.play()},pause:()=>{var e;return null===(e=p.current)||void 0===e?void 0:e.pause()}}),[]);let y=n.thumbnailUrl;return"idle"===f.status||"loading"===f.status?(0,a.jsx)(A.Z,{kind:"loading",className:o,posterUrl:y}):"forbidden"===f.status?(0,a.jsx)(A.Z,{kind:"forbidden",className:o,posterUrl:y}):"unavailable"===f.status?(0,a.jsx)(A.Z,{kind:"unavailable",className:o,posterUrl:y}):"error"!==f.status&&b?(0,a.jsx)(L.Z,{ref:p,playback:b,videoKey:n.key,title:n.title,autoplay:i,className:o,tracking:(0,O.R)({userId:(null==m?void 0:m.id)?String(m.id):null,videoKey:n.key,videoTitle:n.title,courseTitle:n.courseTitle,hasSubscription:!!(null==m?void 0:m.abo),hasBoughtCourse:null!==j&&!!(null==m?void 0:null===(t=m.realBoughtCoursesId)||void 0===t?void 0:t.includes(j)),pageType:"playlist",playerVariant:"playlist-player"}),onPlay:()=>{k(),R.Z.handlePlay(),null==c||c()},onPause:()=>{w()&&R.Z.handlePause(),null==d||d()},onEnded:()=>{w()&&R.Z.handleEnded(),null==u||u()},onTimeUpdate:e=>{let{seconds:l,duration:t}=e;w()&&R.Z.handleTimeUpdate(l,t)},onFullScreenChange:e=>{w()&&R.Z.setFullscreen(e)},onPlaybackRateChange:e=>{w()&&R.Z.setPlaybackRate(e)}},"".concat(n.courseId,":").concat(n.key,":").concat(x)):(0,a.jsx)(A.Z,{kind:"error",className:o,posterUrl:y,onPrimary:()=>h(e=>e+1)})});var F=t(46371);function U(e){return"".concat(Math.floor(e/60).toString().padStart(2,"0"),":").concat(Math.floor(e%60).toString().padStart(2,"0"))}let H=()=>(0,a.jsxs)("span",{className:"relative flex h-3 w-3 flex-shrink-0","aria-label":"Wird abgespielt",children:[(0,a.jsx)("span",{className:"motion-safe:animate-ping motion-reduce:animate-none absolute inline-flex h-full w-full rounded-full bg-lobster opacity-75"}),(0,a.jsx)("span",{className:"relative inline-flex rounded-full h-3 w-3 bg-lobster"})]}),W=e=>{let{registeredUsersOnly:l}=e;return(0,a.jsxs)("div",{className:"absolute inset-0 bg-[rgba(42,51,73,0.85)] flex items-center justify-between px-4 opacity-0 group-hover:opacity-100 transition-opacity duration-200 z-40 pointer-events-none",children:[(0,a.jsx)("span",{className:"text-white text-sm md:text-base",children:l?"Gratis registrieren und ansehen":"Mit dem 7hauben Pass ansehen"}),(0,a.jsx)("span",{className:"bg-lobster text-white text-sm md:text-base font-medium px-5 py-2 rounded-full shadow-lg flex-shrink-0",children:l?"Registrieren":"Jetzt loslegen"})]})};var G=t(30507);let K=e=>{let{className:l}=e;return(0,a.jsx)("svg",{className:l,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M8 5.14v14l11-7-11-7z"})})},J=e=>{let{className:l}=e;return(0,a.jsx)("svg",{className:l,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M6 19h4V5H6v14zm8-14v14h4V5h-4z"})})};var Q=t(67244);let Y=e=>{let{thumbnailUrl:l,title:t,isPublic:r,isPlaying:s,fullWidth:n}=e;return(0,a.jsxs)("div",{className:"relative ".concat(n?"w-full rounded-xl":"w-[10.5rem] rounded-lg"," overflow-hidden flex-shrink-0 bg-gray-200"),style:{aspectRatio:"3/2"},children:[!l&&(0,a.jsx)("div",{className:"absolute inset-0 bg-gradient-to-r from-gray-200 via-gray-100 to-gray-200 animate-pulse"}),l&&(0,a.jsx)(G.Z,{url:l,width:n?800:336,height:n?534:224,coverFit:!0,alt:t,lazyloading:!0}),r&&!s&&(0,a.jsx)("div",{className:"absolute inset-0 bg-black/0 group-hover:bg-black/40 transition-all duration-200 flex items-center justify-center",children:(0,a.jsx)("div",{className:"opacity-0 group-hover:opacity-100 transition-opacity duration-200",children:(0,a.jsx)(K,{className:"w-5 h-5 text-white"})})}),r&&s&&(0,a.jsx)("div",{className:"absolute inset-0 bg-black/40 flex items-center justify-center",children:(0,a.jsx)(J,{className:"w-5 h-5 text-white"})}),!r&&(0,a.jsx)("div",{className:"absolute inset-0 bg-[rgba(42,51,73,0.5)] flex items-center justify-center",children:(0,a.jsx)(Q.Z,{className:"w-5 h-5 text-white"})})]})};var $=e=>{var l,t;let{video:r,index:n,isExpanded:i,isPlaying:o,playlistTitle:c,registeredUsersOnly:d,onClick:u,onVideoEnded:m,onPlayingChange:x}=e,h=(0,s.useRef)(null),p=(0,I.Z)(e=>e.setShowCheckoutDialog),v=(0,S.Z)(e=>e.currentUserOverview),g=null!==(l=null==v?void 0:v.abo)&&void 0!==l&&l,f="loggedin"===(0,S.Z)(e=>e.loggedInState),b=d?f:r.publicPreview||g,j=r.title,w=null!==(t=r.duration)&&void 0!==t?t:0,k=r.cookName||"",y=r.courseTitle||"",N=r.courseSlug||"",Z=r.recipeSlug||null,C=r.thumbnailUrl,B=i||o,_=e=>{if(e.stopPropagation(),(0,F.ry)("playlist-item-click",{videoTitle:j,courseName:y||void 0,cookName:k||void 0}),b){if(i){var l,t;o?null===(l=h.current)||void 0===l||l.pause():(null===(t=h.current)||void 0===t||t.play(),(0,F.ry)("playlist-video-start",{videoId:r.key,videoTitle:j,courseName:y||void 0,cookName:k||void 0}))}else(0,F.ry)("playlist-video-start",{videoId:r.key,videoTitle:j,courseName:y||void 0,cookName:k||void 0}),u()}else d?((0,F.ry)("playlist-registered-only-click",{videoTitle:j,courseName:y||void 0,playlistTitle:c||void 0}
1),S.Z.getState().showRegister()):((0,F.ry)("playlist-locked-video-click",{videoTitle:j,courseName:y||void 0,playlistTitle:c||void 0}),p(!0))},T=b?"cursor-pointer md:hover:bg-lobster/[0.08] transition-colors duration-200":"cursor-pointer",M="".concat(j,", ").concat(U(w)).concat(b?"":", gesperrt");return(0,a.jsxs)("div",{role:"button",tabIndex:0,"aria-expanded":i,"aria-label":M,className:"group relative flex flex-col ".concat(B?"bg-lobster/[0.08]":n%2==0?"bg-white":"bg-[#f1efeb]"," ").concat(T," border-b border-[#e5e4df] last:border-b-0 focus:outline-2 focus:outline-offset-2 focus:outline-lobster"),style:{touchAction:"manipulation"},onClick:_,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),_(e))},children:[!i&&(0,a.jsxs)("div",{className:"md:hidden flex items-stretch gap-3 p-3",children:[(0,a.jsx)("div",{className:"w-1/3 flex-shrink-0",children:(0,a.jsx)(Y,{thumbnailUrl:C,title:j,isPublic:b,isPlaying:o,fullWidth:!0})}),(0,a.jsxs)("div",{className:"flex-1 flex flex-col min-w-0 pt-1",children:[(0,a.jsx)("h4",{className:"font-medium text-base text-dark-01-main font-sans min-w-0 mb-2",children:(0,a.jsx)("span",{className:"line-clamp-2",children:j})}),r.noteOverride&&(0,a.jsx)("p",{className:"m-0 mb-2 text-sm text-dark-01-main/60 line-clamp-2",children:r.noteOverride}),(0,a.jsxs)("div",{className:"mt-auto flex flex-col",children:[k&&(0,a.jsx)("span",{className:"text-sm text-dark-01-main/50 truncate leading-3",children:k}),(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[y&&(0,a.jsx)("span",{className:"text-sm text-dark-01-main/50 truncate leading-3",children:y}),(0,a.jsx)("span",{className:"text-sm text-dark-01-main/60 flex-shrink-0 ml-2",children:U(w)})]})]})]})]}),i&&b&&(0,a.jsxs)("div",{className:"p-3 md:px-4 md:pb-3 md:pt-0 md:order-2 flex flex-col gap-3",onClick:e=>e.stopPropagation(),children:[(0,a.jsx)("div",{className:"rounded-xl md:rounded-2xl overflow-hidden",children:(0,a.jsx)(q,{ref:h,video:r,autoplay:!0,onEnded:m,onPlay:()=>null==x?void 0:x(!0),onPause:()=>null==x?void 0:x(!1)})}),(0,a.jsxs)("div",{className:"md:hidden pl-1",children:[(0,a.jsxs)("div",{className:"flex items-start justify-between gap-2 mb-2",children:[(0,a.jsx)("h4",{className:"font-medium text-base text-dark-01-main font-sans min-w-0 mb-1",children:(0,a.jsx)("span",{children:j})}),(0,a.jsx)("button",{type:"button","aria-label":"Video schlie\xdfen",className:"m-0 p-0 w-6 h-6 flex items-center justify-center rounded-full flex-shrink-0 bg-transparent hover:bg-dark-01-main/10 transition-colors border-0",onClick:e=>{e.stopPropagation(),u()},children:(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M6 18L18 6M6 6L18 18",stroke:"#1a1a1a",strokeOpacity:"0.6",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),r.noteOverride&&(0,a.jsx)("p",{className:"m-0 mb-2 text-sm text-dark-01-main/60",children:r.noteOverride}),(0,a.jsxs)("div",{className:"flex flex-col",children:[k&&(0,a.jsx)("span",{className:"text-sm text-dark-01-main/50 truncate leading-3",children:k}),(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[y&&(0,a.jsx)("span",{className:"text-sm text-dark-01-main/50 truncate leading-3",children:y}),(0,a.jsx)("span",{className:"text-sm text-dark-01-main/60 flex-shrink-0 ml-2",children:U(w)})]})]})]}),g&&(N||Z)&&(0,a.jsxs)("div",{className:"flex gap-3 md:hidden",children:[N&&(0,a.jsx)(P(),{href:"/kochkurse/".concat(N),className:"flex-1 py-2.5 px-4 text-sm font-medium text-center text-white bg-lobster rounded-xl no-underline hover:bg-lobster/90 transition-colors",onClick:e=>e.stopPropagation(),children:"zum Kurs"}),Z&&(0,a.jsx)(P(),{href:"/rezept/".concat(Z),className:"flex-1 py-2.5 px-4 text-sm font-medium text-center text-white bg-dark-01-main rounded-xl no-underline hover:bg-dark-01-main/90 transition-colors",onClick:e=>e.stopPropagation(),children:"zum Rezept"})]})]}),(0,a.jsxs)("div",{className:"hidden md:flex md:order-1 items-center gap-4 px-4 py-4",children:[(0,a.jsx)("span",{className:"w-8 text-sm text-dark-01-main/60 flex-shrink-0 flex items-center justify-center",children:o?(0,a.jsx)(H,{}):n+1}),(0,a.jsx)(Y,{thumbnailUrl:C,title:j,isPublic:b,isPlaying:o}),(0,a.jsxs)("div",{className:"flex-1 min-w-0 gap-2",children:[(0,a.jsx)("h4",{className:"font-medium text-base text-dark-01-main font-sans flex items-center gap-2 min-w-0",children:(0,a.jsx)("span",{className:"line-clamp-1",children:j})}),r.noteOverride&&(0,a.jsx)("p",{className:"m-0 mt-1 text-sm text-dark-01-main/60 line-clamp-1",children:r.noteOverride}),k&&(0,a.jsx)("div",{className:"flex items-center gap-1.5 mt-1.5",children:(0,a.jsx)("span",{className:"text-sm text-dark-01-main/60 truncate",children:k})})]}),(0,a.jsxs)("div",{className:"hidden lg:flex lg:flex-col gap-0.5 w-48 flex-shrink-0",children:[y&&N&&b&&(0,a.jsx)(P(),{href:"/kochkurse/".concat(N),className:"inline-block text-sm text-dark-01-main/60 truncate max-w-full no-underline hover:underline hover:decoration-lobster transition-all",onClick:e=>e.stopPropagation(),children:y}),y&&(!N||!b)&&(0,a.jsx)("span",{className:"text-sm text-dark-01-main/60 truncate block",children:y}),g&&Z&&(0,a.jsx)(P(),{href:"/rezept/".concat(Z),className:"inline-block text-xs text-dark-01-main/60 no-underline hover:underline hover:decoration-lobster transition-all",onClick:e=>e.stopPropagation(),children:"zum Rezept →"})]}),(0,a.jsx)("span",{className:"w-12 text-sm text-dark-01-main/60 text-right flex-shrink-0",children:U(w)}),i&&(0,a.jsx)("button",{type:"button","aria-label":"Video schlie\xdfen",className:"m-0 p-0 w-8 h-8 flex items-center justify-center rounded-full flex-shrink-0 bg-transparent hover:bg-dark-01-main/10 transition-colors border-0",onClick:e=>{e.stopPropagation(),u()},children:(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M6 18L18 6M6 6L18 18",stroke:"#1a1a1a",strokeOpacity:"0.6",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),!b&&(0,a.jsx)(W,{registeredUsersOnly:d})]})};let X=e=>{let{videos:l,startIndex:t,expandedVideoId:r,playingVideoId:s,playlistTitle:n,registeredUsersOnly:i,onVideoClick:o,onVideoEnded:c,onPlayingChange:d}=e;return(0,a.jsx)(a.Fragment,{children:l.map((e,l)=>{let u=e.uid;return(0,a.jsx)($,{video:e,index:t+l,isExpanded:r===u,isPlaying:s===u,playlistTitle:n,registeredUsersOnly:i,onClick:()=>o(u),onVideoEnded:()=>c(u),onPlayingChange:e=>d(u,e)},u)})})},ee=e=>{let{title:l,videoCount:t,freeVideoCount:r=0,hasAbo:s=!1}=e;return(0,a.jsxs)("div",{className:"flex flex-col md:flex-row md:items-center gap-1 md:gap-3 text-left",children:[(0,a.jsx)("span",{className:"font-reco text-xl md:text-2xl text-[#2a3349]",children:l}),(0,a.jsxs)("span",{className:"text-sm font-normal text-[#2a3349]/60",children:[t," ",1===t?"Video":"Videos",!s&&r>0&&" \xb7 ".concat(r," gratis")]})]})},el=e=>{let{segments:l,activeSegmentId:t,onSegmentClick:r,hasAbo:s}=e;return(0,a.jsx)("nav",{className:"flex flex-col gap-1 p-3 bg-white h-full","aria-label":"Playlist Segmente",children:l.map(e=>{let l=M(e.videos),n=t===e.id;return(0,a.jsxs)("button",{type:"button",onClick:()=>r(e.id),"aria-label":"Segment: ".concat(e.title),"aria-current":n?"true":void 0,className:"m-0 text-left px-4 py-3 rounded-xl transition-all active:scale-[0.98] ".concat(n?"bg-[#2a3349] text-white":"bg-transparent text-[#2a3349] hover:bg-[#2a3349]/10"),
1children:[(0,a.jsx)("div",{className:"font-reco text-sm xl:text-lg",children:e.title}),(0,a.jsxs)("div",{className:"text-xs ".concat(n?"text-white/60":"text-[#2a3349]/60"),children:[e.videos.length," ",1===e.videos.length?"Video":"Videos",!s&&l>0&&" \xb7 ".concat(l," gratis")]})]},e.id)})})};var et=t(99095),er=t(25506),ea=t(17067),es=t(88817);let en=e=>{let l=Math.floor(e/3600),t=Math.floor(e%3600/60);return l>0?"".concat(l,"h ").concat(t,"min"):"".concat(t," min")},ei=()=>(0,a.jsx)("p",{className:"text-center py-8",style:{color:"var(--color-foreground)"},children:"Keine Videos in dieser Playlist"}),eo=e=>{var l,t,r;let{sections:i,headline:o,blockBackground:c,blockPadding:d,registeredUsersOnly:u}=e,m=(0,S.Z)(e=>e.currentUserOverview),x=null!==(t=null==m?void 0:m.abo)&&void 0!==t&&t,h="loggedin"===(0,S.Z)(e=>e.loggedInState),p=(0,s.useRef)({}),[v,g]=(0,s.useState)(!1),[f,b]=(0,s.useState)(null),[j,w]=(0,s.useState)(null),[k,y]=(0,s.useState)(""),N=(0,C.ac)("(min-width: 1024px)"),Z=(0,s.useMemo)(()=>{let e=0;return i.map(l=>({...l,videos:l.videos.map(l=>({...l,uid:z(l,e++)}))}))},[i]),I=null!==(r=null==o?void 0:o.title)&&void 0!==r?r:void 0,L=(null===(l=Z[0])||void 0===l?void 0:l.id)||"";s.useEffect(()=>{Z.length>0&&!k&&y(Z[0].id)},[Z,k]),s.useEffect(()=>{w(null),b(null)},[k]);let A=(0,s.useMemo)(()=>Z.find(e=>e.id===k)||Z[0],[Z,k]),V=(0,s.useMemo)(()=>{let e=[];for(let l of Z)e.push(...T(l.videos,v));return e},[Z,v]),O=(0,s.useMemo)(()=>(function(e){let l=e.flatMap(e=>e.videos),t=new Map,r=new Set,a=0,s=0;for(let e of l){var n,i;e.publicPreview&&a++,s+=null!==(n=e.duration)&&void 0!==n?n:0,e.courseId&&r.add(e.courseId),e.cookName&&!t.has(e.cookName)&&t.set(e.cookName,{name:e.cookName,slug:null!==(i=e.cookSlug)&&void 0!==i?i:"",avatar:e.cookAvatar})}let o=[...t.values()];return{videoCount:l.length,freeVideoCount:a,uniqueCookCount:o.length,uniqueCourseCount:r.size,cooks:o,totalDuration:s}})(Z),[Z]),R=(0,s.useCallback)(()=>{if(0===V.length)return;let e=window.location.hash.slice(1);if(e){if(("freeFirst"===e||"play"===e)&&g(!0),"play"===e){let e=V.find(e=>e.publicPreview);e&&b(e.uid)}window.history.replaceState(null,"",window.location.pathname+window.location.search)}},[V]);(0,s.useEffect)(()=>{R();let e=()=>R();return window.addEventListener("hashchange",e),()=>window.removeEventListener("hashchange",e)},[R]);let D=(0,s.useCallback)(e=>{b(l=>l===e?(w(null),null):e)},[]),q=(0,s.useCallback)(()=>{null!==f&&(b(null),w(null))},[f]),F=(0,s.useCallback)((e,l)=>{w(l?e:null)},[]),U=e=>{w(null);let l=V.findIndex(l=>l.uid===e);l>=0&&l<V.length-1&&b(V[l+1].uid)};return(0,a.jsx)(n.Z,{blockBackground:c,blockPadding:d,headline:o,children:(0,a.jsxs)("div",{className:"col-span-12",children:[(0,a.jsxs)("div",{className:"flex flex-wrap items-center justify-center md:justify-between gap-3 mb-3 px-3 md:px-4",children:[(0,a.jsxs)("div",{className:"flex flex-wrap items-center justify-center md:justify-start gap-2 sm:gap-3 md:gap-4",children:[(0,a.jsxs)("span",{className:"flex items-center gap-1.5 text-xs sm:text-sm text-dark-01-main/70",children:[(0,a.jsx)(et.Z,{className:"w-3.5 h-3.5 sm:w-4 sm:h-4 opacity-70"}),O.videoCount," Videos"]}),(0,a.jsxs)("span",{className:"flex items-center gap-1.5 text-xs sm:text-sm text-dark-01-main/70",children:[(0,a.jsx)(er.Z,{className:"w-3.5 h-3.5 sm:w-4 sm:h-4 opacity-70"}),en(O.totalDuration)]}),(0,a.jsxs)("span",{className:"flex items-center gap-1.5 text-xs sm:text-sm text-dark-01-main/70",children:[(0,a.jsx)(ea.Z,{className:"w-3.5 h-3.5 sm:w-4 sm:h-4 opacity-70"}),O.uniqueCourseCount," ",1===O.uniqueCourseCount?"Kurs":"Kurse"]}),(0,a.jsxs)("span",{className:"flex items-center gap-1.5 text-xs sm:text-sm text-dark-01-main/70",children:[(0,a.jsx)(es.Z,{className:"w-3.5 h-3.5 sm:w-4 sm:h-4 opacity-70"}),O.uniqueCookCount," ",1===O.uniqueCookCount?"Koch":"K\xf6che"]})]}),!u&&!x&&O.freeVideoCount>0&&(0,a.jsx)(E,{checked:v,onChange:g,label:"Gratis Videos zuerst"})]}),(0,a.jsxs)("div",{className:"border-2 border-[#e5e4df] rounded-3xl overflow-hidden",onClick:q,children:[1===Z.length&&(0,a.jsx)(X,{videos:T(Z[0].videos,v),startIndex:0,expandedVideoId:f,playingVideoId:j,playlistTitle:I,registeredUsersOnly:u,onVideoClick:D,onVideoEnded:U,onPlayingChange:F}),Z.length>1&&(0,a.jsxs)(a.Fragment,{children:[!N&&(0,a.jsx)("div",{className:"lg:hidden",children:(0,a.jsx)(_.UQ,{type:"single",collapsible:!0,defaultValue:L,
1className:"w-full",onValueChange:e=>{e&&p.current[e]&&setTimeout(()=>{var l;null===(l=p.current[e])||void 0===l||l.scrollIntoView({behavior:"smooth",block:"start"})},350)},children:Z.map(e=>(0,a.jsxs)(_.Qd,{value:e.id,ref:l=>{p.current[e.id]=l},className:"border-b border-[#e5e4df] last:border-b-0 scroll-mt-24",children:[(0,a.jsx)(_.o4,{className:"px-5 py-5 hover:no-underline hover:bg-lobster/[0.05]",children:(0,a.jsx)(ee,{title:e.title,videoCount:e.videos.length,freeVideoCount:u?0:M(e.videos),hasAbo:x||!0===u&&h})}),(0,a.jsx)(_.vF,{className:"!pb-0",children:(0,a.jsx)(X,{videos:T(e.videos,v),startIndex:0,expandedVideoId:f,playingVideoId:j,playlistTitle:I,registeredUsersOnly:u,onVideoClick:D,onVideoEnded:U,onPlayingChange:F})})]},e.id))},L)}),N&&(0,a.jsxs)("div",{className:"flex",children:[(0,a.jsx)("div",{className:"flex-shrink-0 xl:min-w-[250px] border-r border-[#e5e4df]",children:(0,a.jsx)(el,{segments:Z,activeSegmentId:k,onSegmentClick:y,hasAbo:x||!0===u&&h})}),(0,a.jsx)("div",{className:"flex-1",children:A&&(0,a.jsx)(X,{videos:T(A.videos,v),startIndex:0,expandedVideoId:f,playingVideoId:j,playlistTitle:I,registeredUsersOnly:u,onVideoClick:D,onVideoEnded:U,onPlayingChange:F})})]})]}),0===Z.length&&(0,a.jsx)(ei,{})]}),(0,a.jsx)("div",{className:"flex justify-center pt-6",children:(0,a.jsx)(P(),{href:"/playlists",children:(0,a.jsx)(B.Z,{variant:"outline",children:"Zur\xfcck zur \xdcbersicht"})})})]})})};var ec=t(60791),ed=t(60713);let eu=e=>{let{block:l,sections:t,cashcowCourseIds:r}=e,i=(0,s.useMemo)(()=>{let e=new Set(null!=r?r:[]),l=new Map;for(let r of t)for(let t of r.videos){if(!t.cookName)continue;let r=t.cookSlug||t.cookName,a=e.has(t.courseId),s=l.get(r);s?a&&(s.isCashcow=!0):l.set(r,{id:r,name:t.cookName,slug:t.cookSlug||"",awardTitle:t.cookAwardTitle||"",defaultAvatar:t.cookAvatar?{url:t.cookAvatar}:null,courses:t.courseSlug?[{slug:t.courseSlug}]:[],isCashcow:a})}return Array.from(l.values()).sort((e,l)=>e.isCashcow&&!l.isCashcow?-1:!e.isCashcow&&l.isCashcow?1:0)},[t,r]);if(0===i.length)return null;let o=(0,w.Z5)(l.blockBackground)?"dark":"light";return(0,a.jsx)(n.Z,{blockBackground:l.blockBackground,blockPadding:l.blockPadding,headline:l.headline,children:(0,a.jsx)("div",{className:"col-span-12",children:(0,a.jsx)(ec.Z,{slides:i,navTheme:o,initialIndex:0,renderSlide:(e,l)=>(0,a.jsx)(ed.Z,{cook:e,active:l})})})})};var em=t(60758),ex=t(39762);let eh=e=>{let{onClick:l}=e;return(0,a.jsx)("button",{onClick:l,className:"absolute inset-0 flex items-center justify-center bg-black/30 border-none cursor-pointer transition-opacity hover:opacity-80","aria-label":"Video abspielen",children:(0,a.jsx)("div",{className:"w-16 h-16 rounded-full bg-white/90 flex items-center justify-center shadow-lg",children:(0,a.jsx)("svg",{width:"24",height:"28",viewBox:"0 0 24 28",fill:"none",children:(0,a.jsx)("path",{d:"M22 14L2 26V2L22 14Z",fill:"#333"})})})})},ep=e=>{let{block:l}=e,t=(0,s.useRef)(null),[r,i]=(0,s.useState)(!1),[o,c]=(0,s.useState)(!0),d="video"===l.mediaType&&!!l.videoUrl,u=async()=>{if(t.current){c(!1),t.current.currentTime=0;try{await t.current.play()}catch(e){c(!0);return}i(!0)}};return(0,a.jsx)(n.Z,{blockBackground:l.blockBackground,blockPadding:l.blockPadding,headline:l.headline,children:(0,a.jsx)("div",{className:"col-span-12",children:(0,a.jsx)("div",{className:"rounded-lg overflow-hidden flex items-center justify-center max-w-3xl mx-auto",children:d?(0,a.jsxs)("div",{className:"relative",style:{height:"60vh"},children:[(0,a.jsx)(ex.B,{ref:t,url:l.videoUrl,className:"h-full w-full object-contain",muted:o,controls:!0,loop:!r,onEnded:()=>i(!1)}),!r&&(0,a.jsx)(eh,{onClick:u})]}):l.media&&"object"==typeof l.media?(0,a.jsx)(em.Z,{media:l.media,quality:85,className:"max-w-full h-auto max-h-[90dvh]"}):null})})})};var ev=t(22138);let eg=e=>{let{blockType:l}=e;return(0,a.jsx)(ev.Z,{variant:"transparent",ypadding:"both-small",children:(0,a.jsx)("div",{className:"col-span-12",children:(0,a.jsx)("div",{className:"p-4 bg-yellow-50 border border-yellow-200 rounded-lg",children:(0,a.jsxs)("p",{className:"text-yellow-800 text-sm",children:["Block type ",(0,a.jsx)("code",{className:"bg-yellow-100 px-1 rounded",children:l})," not yet implemented"]})})})})};var ef=t(65476);let eb=e=>{let{rating:l,size:t="md"}=e,r="sm"===t?16:20;return(0,a.jsx)("div",{className:"flex gap-0.5",children:[1,2,3,4,5].map(e=>(0,a.jsx)("svg",{width:r,height:r,viewBox:"0 0 24 24",fill:e<=l?"#e6c585":"#d1d5db",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M12 2L15.09 8.26L22 9.27L17 14.14L18.18 21.02L12 17.77L5.82 21.02L7 14.14L2 9.27L8.91 8.26L12 2Z"})},e))})},ej=e=>{let{proof:l,showAvatar:t}=e,r=t&&l.avatar&&"object"==typeof l.avatar;return(0,a.jsxs)("div",{className:"bg-white rounded-2xl shadow-sm p-6 flex flex-col items-center text-center",children:[r&&(0,a.jsx)("div",{className:"relative w-16 h-16 rounded-full overflow-hidden shrink-0 mb-3 ",children:(0,a.jsx)(em.N,{media:l.avatar,fill:!0,fit:"cover",sizes:"64px"})}),(0,a.jsx)(eb,{rating:l.rating}),(0,a.jsxs)("p",{className:"italic text-sm text-dark-01-main mt-4 mb-0 leading-relaxed",children:["“",l.comment,"” — ",(0,a.jsx)("span",{className:"not-italic",children:l.author})]})]})},ew=e=>{var l;let{block:t}
1=e,[r,i]=(0,s.useState)();(0,s.useEffect)(()=>{if(!r||window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let e=window.matchMedia("(max-width: 767.98px)"),l=null,t=!1,a=()=>{l&&(clearInterval(l),l=null)},s=()=>{l||t||!e.matches||(l=setInterval(()=>r.scrollNext(),2e3))},n=()=>{t=!0,a()},i=()=>{e.matches?s():a()};return r.on("pointerDown",n),e.addEventListener("change",i),s(),()=>{a(),r.off("pointerDown",n),e.removeEventListener("change",i)}},[r]);let o=null!==(l=t.manualSocialProofs)&&void 0!==l?l:[];return 0!==o.length||t.averageRating?(0,a.jsx)(n.Z,{blockBackground:t.blockBackground,blockPadding:t.blockPadding,headline:t.headline,children:(0,a.jsxs)("div",{className:"col-span-12",children:[t.averageRating&&(0,a.jsxs)("div",{className:"flex flex-wrap items-center justify-center gap-3 text-base".concat(o.length>0?" mb-10":""),style:{color:"var(--color-foreground)"},children:[(0,a.jsx)("span",{className:"font-semibold",children:"Exzellent"}),(0,a.jsx)(eb,{rating:5,size:"sm"}),t.averageRating&&(0,a.jsx)("span",{className:"font-semibold",children:t.averageRating.toLocaleString("de-DE")}),t.reviewCount&&(0,a.jsxs)("span",{style:{opacity:.8},children:["bei ",(0,a.jsx)("span",{className:"font-semibold",children:t.reviewCount.toLocaleString("de-DE")})," Bewertungen"]})]}),o.length>0&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"hidden md:grid grid-cols-3 gap-4",children:o.map(e=>{var l;return(0,a.jsx)(ej,{proof:e,showAvatar:null!==(l=t.showAvatars)&&void 0!==l&&l},e.id||e.author)})}),(0,a.jsx)("div",{className:"md:hidden",children:(0,a.jsx)(ef.lr,{setApi:i,opts:{align:"start",loop:!0},children:(0,a.jsx)(ef.KI,{className:"-ml-4",children:o.map(e=>(0,a.jsx)(ef.d$,{className:"pl-4",children:(0,a.jsx)(ej,{proof:e})},e.id||e.author))})})})]})]})}):null};var ek=t(87711);let ey=e=>{var l,t,s;let{block:i}=e,o=(0,S.Z)(e=>e.currentUserOverview),c=null!==(s=null==o?void 0:o.abo)&&void 0!==s&&s,d="string"==typeof i.pdf?i.pdf:(null===(l=i.pdf)||void 0===l?void 0:l.url)||null,u=i.previewPdf?"string"==typeof i.previewPdf?i.previewPdf:(null===(t=i.previewPdf)||void 0===t?void 0:t.url)||null:null;if(!c&&!u)return null;let m=i.buttonText?(0,ek.d)(i.buttonText):"PDF herunterladen";return(0,a.jsx)(n.Z,{blockBackground:i.blockBackground,blockPadding:i.blockPadding,children:(0,a.jsx)("div",{className:"col-span-12",children:(0,a.jsxs)("div",{className:"flex flex-col md:flex-row items-center gap-6 md:gap-12",children:[(0,a.jsx)("div",{className:"shrink-0 w-[75vw] md:w-[350px]",children:(0,a.jsx)(em.N,{media:i.thumbnail,quality:85,className:"w-full h-auto"})}),(0,a.jsxs)("div",{className:"flex flex-col items-center md:items-start text-center md:text-left",children:[(0,a.jsx)(r.TW,{headline:i.headline}),i.description&&(0,a.jsx)("p",{className:"text-base m-0 mb-6 tracking-[0.2px]",style:{color:"var(--color-foreground)"},children:i.description}),(0,a.jsx)("a",{href:(c?d:u||d)||"#",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-3 px-4 py-2 rounded-[28px] no-underline text-base hover:opacity-90 transition-opacity",style:{backgroundColor:"var(--color-button)",color:"var(--color-button-text)"},children:m})]})]})})})};var eN=t(43442);let eZ=e=>{let{block:l}=e,t="light"===l.blockBackground?"grey":"white",r=!0===l.showCourse&&Array.isArray(l.courses),s=l.pageCourse,i="number"==typeof l.limit&&l.limit>0?l.limit:12;return(0,a.jsx)(n.Z,{blockBackground:l.blockBackground,blockPadding:l.blockPadding,headline:l.headline,children:(0,a.jsx)("div",{className:"col-span-12",children:s?(0,a.jsx)(eN.h,{cardVariant:t,courseId:s.legacyId,limit:i,courses:r?l.courses:void 0,prependCourse:r}):r?(0,a.jsx)(eN.h,{cardVariant:t,courses:l.courses,prependCourse:!0}):(0,a.jsx)(eN.h,{cardVariant:t})})})},eP=e=>RegExp("\\p{L}","u").test(e)?"text-xl md:text-2xl":"text-2xl md:text-4xl",eC=e=>{var l;return e&&"object"==typeof e&&null!==(l=e.maskDataUrl)&&void 0!==l?l:null},eB=e=>{var l;return!!e&&("string"==typeof e?e.toLowerCase().endsWith(".svg"):(null===(l=e.url)||void 0===l?void 0:l.toLowerCase().endsWith(".svg"))||"image/svg+xml"===e.mimeType)},eS=e=>{if(!e)return null;let l="string"==typeof e?e:e.url;if(!l)return null;if(l.startsWith("http://")||l.startsWith("https://"))return l;let t=(0,f.AA)();return"".concat(t).concat(l.startsWith("/")?"":"/").concat(l)},e_=e=>{var l;let{block:t}=e;if(!(null===(l=t.icons)||void 0===l?void 0:l.length))return null;let r=t.icons.slice(0,4),s=r.length;
1return(0,a.jsx)(n.Z,{blockBackground:t.blockBackground,blockPadding:t.blockPadding,headline:t.headline,children:(0,a.jsx)("div",{className:"col-span-12",children:(0,a.jsx)("div",{className:"".concat(1===s?"grid grid-cols-1 max-w-[200px] mx-auto":2===s?"grid grid-cols-2 max-w-[500px] mx-auto":3===s?"grid grid-cols-3 max-w-[750px] mx-auto":"grid grid-cols-2 lg:grid-cols-4"," gap-6 md:gap-3 items-start"),children:r.map(e=>(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center",children:[e.icon&&(0,a.jsx)("div",{className:"mb-2 md:mb-6",children:eB(e.icon)?(0,a.jsx)(m.Z,{url:eC(e.icon),fallbackUrl:eS(e.icon),className:"w-12 h-12",color:"var(--color-foreground)"}):(0,a.jsx)(em.Z,{media:e.icon,width:48,height:48,fit:"contain",className:"w-12 h-12",style:{objectFit:"contain"}})}),e.title&&(0,a.jsx)("h3",{className:"".concat(eP(e.title)," font-bold text-center"),style:{color:"var(--color-foreground)"},children:e.title}),e.description&&(0,a.jsx)("div",{className:"mt-2 text-sm md:text-base text-center",style:{color:"var(--color-foreground)"},children:(0,a.jsx)(i.Z,{data:e.description})})]},e.id))})})})};var eT=t(95723),eM=t(97834),ez=t(37365),eE=t(48809),eI=t(19011),eL=t(91175),eA=t(95739),eV=t(21485),eO=t(26914),eR=t(27681),eD=t(92714);let eq={default:{card:"bg-white border-[var(--color-dark-100)] shadow-lg",badge:"bg-[var(--color-dark-100)] text-[color:var(--color-dark-700)]",savings:"bg-[var(--color-lobster-50)] text-[color:var(--color-lobster-700)]",check:"text-[color:var(--color-lobster-500)]"},highlight:{card:"bg-[var(--color-lobster-50)] border-[var(--color-lobster-500)] shadow-xl",badge:"bg-[var(--color-lobster-500)] text-white",savings:"bg-white text-[color:var(--color-lobster-700)]",check:"text-[color:var(--color-lobster-500)]"}},eF={emerald:"bg-[#3EB362] text-white",blue:"bg-blue-500 text-white",purple:"bg-purple-500 text-white"},eU="text-[color:var(--color-dark-500)]",eH="text-[color:var(--color-dark-400)]",eW="border-t border-[var(--color-dark-100)]";var eG=e=>{var l;let{name:t,tagline:r,description:s,totalUsers:n,features:i,featuresTitle:o,badge:c,badgeColor:d,showIcon:u,tone:m="default",onDarkBackground:x=!1,display:h,savings:p,ctaText:v,note:g,onBuy:f,gridClassName:b=""}=e,j=eq[m],w=x&&"highlight"===m?"".concat(eq.default.card," !border-[var(--color-lobster-500)] shadow-xl ring-4 ring-[var(--color-lobster-400)]/30"):j.card,k=d&&eF[d]||j.badge,y=null!=n?n:1,N=y>1?eA.Z:eV.Z;return(0,a.jsxs)("div",{className:"relative flex flex-col rounded-2xl border-2 p-8 pt-10 ".concat(b," ").concat(w),children:[c&&(0,a.jsxs)("div",{className:"absolute -top-4 left-1/2 -translate-x-1/2 ".concat(k," flex items-center gap-2 whitespace-nowrap rounded-full px-6 py-2 text-sm font-semibold"),children:[u&&(0,a.jsx)(eO.Z,{className:"h-4 w-4"}),c]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"m-0 font-reco text-2xl font-bold leading-tight md:text-3xl ".concat(eU),children:t}),r&&(0,a.jsx)("p",{className:"m-0 mt-1 font-semibold ".concat(eH),children:r}),(0,a.jsxs)("p",{className:"m-0 mt-2 flex items-center gap-2 text-sm ".concat(eH),children:[(0,a.jsx)(N,{className:"h-4 w-4","aria-hidden":!0}),y," Nutzer"]})]}),(0,a.jsx)("div",{className:s?"pt-4":"",children:s&&(0,a.jsx)("p",{className:"m-0 ".concat(eH),children:s})}),(0,a.jsxs)("div",{className:"mt-6 flex flex-wrap items-baseline gap-x-2 gap-y-1 pt-6 ".concat(eW),children:[(0,a.jsx)("span",{className:"whitespace-nowrap text-5xl font-bold tracking-tight ".concat(eU),children:null!==(l=null==h?void 0:h.mainPrice)&&void 0!==l?l:"—"}),(null==h?void 0:h.perMonth)&&(0,a.jsx)("span",{className:"text-lg font-semibold ".concat(eH),children:"/ Monat"}),h&&h.billingLines.length>0&&(0,a.jsx)("span",{className:"w-full text-[13px] leading-snug ".concat(eU),children:h.billingLines.map(e=>(0,a.jsx)("span",{className:"block",children:e},e))})]}),(0,a.jsx)("div",{className:"pt-3",children:p&&(0,a.jsx)("span",{className:"inline-block rounded-full px-3 py-1 text-sm font-semibold ".concat(j.savings),children:p})}),(0,a.jsx)("div",{className:"pt-6",children:f&&(0,a.jsx)("button",{type:"button",onClick:f,className:"m-0 flex h-14 w-full cursor-pointer items-center justify-center rounded-xl bg-[var(--color-lobster-500)] px-6 text-lg font-semibold text-white shadow-md transition-colors hover:bg-[var(--color-lobster-600)]",children:v?(0,ek.d)(v):"Jetzt loslegen"})}),(0,a.jsx)("div",{className:g?"pt-2":"",children:g&&(0,a.jsx)("p",{className:"m-0 text-center text-[13px] font-semibold ".concat(eH),children:g})}),(0,a.jsx)("div",{className:i.length?"mt-6 pt-6 ".concat(eW):"",children:i.length>0&&(0,a.jsxs)(a.Fragment,{children:[o&&(0,a.jsx)("h4",{className:"m-0 mb-4 text-base font-semibold ".concat(eU),children:o}),(0,a.jsx)("ul",{className:"m-0 list-none space-y-3 p-0",children:i.map((e,l)=>{let t=!1!==e.available;return(0,a.jsxs)("li",{className:"flex items-start gap-3 ".concat(t?"":"opacity-50"),children:[t?(0,a.jsx)(eR.Z,{className:"mt-0.5 h-5 w-5 flex-shrink-0 ".concat(j.check),"aria-hidden":!0}):(0,a.jsx)(eD.Z,{className:"mt-0.5 h-5 w-5 flex-shrink-0 ".concat(eH),"aria-label":"nicht enthalten"}),(0,a.jsx)("span",{className:eH,children:e.text})]},l)})})]})})]})};let eK=e=>(function(e,l){var t,r;if(null==e||!Number.isFinite(e))return"—";return t=e,r=0,new Intl.NumberFormat("de-DE",{style:"currency",currency:"EUR"}).format(t/100)})(Math.round(100*e)),eJ=e=>"monthly"===e||"gift"===e,eQ=(e,l)=>{var t,r,a,s,n,i,o,c;
1switch(e){case"annual":return null!==(r=null!==(t=null==l?void 0:l.aboBasic)&&void 0!==t?t:null==l?void 0:l.abo)&&void 0!==r?r:null;case"monthly":return null!==(a=null==l?void 0:l.aboBasicMonthly)&&void 0!==a?a:null;case"gift":return null!==(n=null!==(s=null==l?void 0:l.aboBasic)&&void 0!==s?s:null==l?void 0:l.abo)&&void 0!==n?n:null;case"duo":return null!==(i=null==l?void 0:l.aboDuo)&&void 0!==i?i:null;case"schedule":return null!==(c=null!==(o=null==l?void 0:l.aboBasic)&&void 0!==o?o:null==l?void 0:l.abo)&&void 0!==c?c:null;default:return null}},eY=(e,l,t)=>{var r;if(!e)return null;let a=eL.Z.calculatePriceForProduct(e,0,"gift"===l||t),s=null!==(r=null==a?void 0:a.totalPrice)&&void 0!==r?r:e.price,n=e.price;return{price:s,priceBefore:n>s?n:null}},e$=e=>{switch(e){case"annual":case"gift":case"schedule":default:return"basic";case"monthly":return"basic-monthly";case"duo":return"duo"}},eX=e=>1===e?{grid:"max-w-lg",card:""}:2===e?{grid:"lg:grid-cols-2 lg:grid-rows-[repeat(7,auto)] lg:gap-y-0 max-w-5xl",card:"lg:row-span-7 lg:grid lg:grid-rows-subgrid"}:3===e?{grid:"lg:grid-cols-3 lg:grid-rows-[repeat(7,auto)] lg:gap-y-0 max-w-7xl",card:"lg:row-span-7 lg:grid lg:grid-rows-subgrid"}:{grid:"lg:grid-cols-2 xl:grid-cols-4 xl:grid-rows-[repeat(7,auto)] xl:gap-y-0 max-w-7xl",card:"xl:row-span-7 xl:grid xl:grid-rows-subgrid"},e0=e=>{var l,t;let{block:r}=e,i=(0,s.useContext)(eM.V),o=(0,ez.rH)(),c=(0,eT.useRouter)(),d=(0,eE.Z)(e=>e.stripeLink),u=(0,eE.Z)(e=>e.offerMode),m=(0,eE.Z)(e=>e.overrideProduct),x=(0,eI.Z)(),h=(0,I.Z)(e=>e.setCurrentProduct),p=(0,I.Z)(e=>e.setStep),v=null!==(t=null==i?void 0:null===(l=i.isGiftcard)||void 0===l?void 0:l.current)&&void 0!==t&&t,g=(r.cards||[]).filter(e=>"course"!==e.productType),f=eX(g.length),b=(0,w.Z5)(r.blockBackground),j=(e,l)=>{if("gift"===e){c.push("/gutscheine");return}if("duo"===e&&"duo"===m&&d){x(d,"duo");return}if("schedule"===e&&"schedule"===u&&d){x(d,"basic");return}if(!i)return;let t=e$(e);i.handlePassBuy(null,t),l&&h(l),p("register")};return(0,a.jsx)(n.Z,{blockBackground:r.blockBackground,blockPadding:r.blockPadding,headline:r.headline,children:(0,a.jsx)("div",{className:"col-span-12",children:(0,a.jsx)("div",{className:"mx-auto mt-10 grid gap-x-8 gap-y-12 ".concat(f.grid),children:g.map((e,l)=>{var t,r,s,n,i,c,d;let u=e.productType,m=eQ(u,o),x=eY(m,u,v),h=(c=null!==(r=null==x?void 0:x.price)&&void 0!==r?r:null,d=null!==(s=null==x?void 0:x.priceBefore)&&void 0!==s?s:null,null===c?null:"monthly"===u?{mainPrice:eK(c),perMonth:!0,billingLines:["monatlich abgerechnet"],defaultNote:"jederzeit k\xfcndbar"}:"gift"===u?{mainPrice:eK(c),perMonth:!1,billingLines:["einmalig",...d?["statt ".concat(eK(d))]:[]],defaultNote:null}:{mainPrice:eK(Number((c/12).toFixed(2))),perMonth:!0,billingLines:d?["".concat(eK(c)," im 1. Jahr, danach ").concat(eK(d)),"j\xe4hrlich abgerechnet"]:["".concat(eK(c)," j\xe4hrlich abgerechnet")],defaultNote:null});return(0,a.jsx)(eG,{gridClassName:f.card,name:e.name,tagline:e.tagline,description:e.description,totalUsers:e.totalUsers,features:(null!==(n=e.features)&&void 0!==n?n:[]).map(e=>({text:e.text,available:e.available})),featuresTitle:e.featuresTitle,badge:e.badge,badgeColor:e.badgeColor,showIcon:e.showIcon,tone:e.isPrimary?"highlight":"default",onDarkBackground:b,display:h,savings:function(e,l,t,r){if(!r||eJ(e)||!l||!t)return null;let a=12*t;if(a<=l)return null;let s=Math.floor((a-l)/a*100);return s>0?"".concat(s," % g\xfcnstiger als der Monatspass"):null}(u,null!==(i=null==x?void 0:x.price)&&void 0!==i?i:null,null==o?void 0:null===(t=o.aboBasicMonthly)||void 0===t?void 0:t.price,e.showSavings),ctaText:e.ctaText,note:e.note||(null==h?void 0:h.defaultNote),onBuy:()=>j(u,m)},e.id||l)})})})})};var e1=t(41578);let e2="text-[color:var(--color-foreground)]",e3="text-[color:var(--color-highlight)]",e5=(e,l)=>{switch(e){case"annual":case"gift":case"schedule":return null==l?void 0:l.aboBasic;case"monthly":return null==l?void 0:l.aboBasicMonthly;case"duo":var t;return null!==(t=null==l?void 0:l.aboDuo)&&void 0!==t?t:null;default:return null}},e4=(e,l)=>{var t;if(!e)return null;let r=eL.Z.calculatePriceForProduct(e,0,l);return{price:null!==(t=null==r?void 0:r.totalPrice)&&void 0!==t?t:e.price,priceBefore:e.price}},e6=e=>{var l,t;let{block:r}=e,i=(0,s.useContext)(eM.V),o=(0,ez.rH)(),c=null!==(t=null==i?void 0:null===(l=i.isGiftcard)||void 0===l?void 0:l.current)&&void 0!==t&&t,d=e4(r.productType&&"none"!==r.productType?e5(r.productType,o):null,c),m=(null==d?void 0:d.priceBefore)&&d.priceBefore>d.price;
1return(0,a.jsx)(n.Z,{blockBackground:r.blockBackground,blockPadding:r.blockPadding,headline:r.headline,children:(0,a.jsx)("div",{className:"col-span-12",children:(0,a.jsxs)("div",{className:"max-w-2xl mx-auto text-center",children:[d&&(0,a.jsxs)("div",{className:"mb-4",children:[r.pricingPrefix&&(0,a.jsx)("p",{className:"".concat(e2," text-base mb-1 opacity-70"),children:r.pricingPrefix}),m&&(0,a.jsx)("p",{className:"".concat(e2," text-xl line-through opacity-40 mb-1"),children:(0,e1.Q)(d.priceBefore)}),(0,a.jsxs)("div",{className:"flex items-baseline justify-center gap-1",children:[(0,a.jsx)("span",{className:"".concat(e3," text-5xl md:text-6xl font-bold"),children:(0,e1.Q)(d.price)}),"monthly"===r.productType&&(0,a.jsx)("span",{className:"".concat(e2," text-lg opacity-60"),children:"/Monat"})]})]}),r.description&&(0,a.jsx)("p",{className:"".concat(e2," text-base mb-4 opacity-80"),children:r.description}),r.links&&r.links.length>0&&(0,a.jsx)("div",{className:"flex flex-wrap justify-center gap-4 my-8",children:r.links.map((e,l)=>(0,a.jsx)(u.F4,{...e.link,trackingContext:"conversion"},e.id||l))}),r.textBelowButtons&&(0,a.jsx)("p",{className:"".concat(e2," text-sm opacity-60 mb-6"),children:r.textBelowButtons}),r.trustIndicators&&r.trustIndicators.length>0&&(0,a.jsx)("div",{className:"flex flex-wrap justify-center gap-x-8 gap-y-3",children:r.trustIndicators.map((e,l)=>(0,a.jsxs)("div",{className:"".concat(e2," flex items-center gap-2 text-sm"),children:[(0,a.jsx)(eR.Z,{className:"".concat(e3," w-4 h-4 flex-shrink-0")}),(0,a.jsx)("span",{children:e.text})]},e.id||l))})]})})})},e7=["https://7h-strapi.s3.eu-central-1.amazonaws.com/bild_1be23f8ae9.png","https://7h-strapi.s3.eu-central-1.amazonaws.com/orf_40d5347045.png","https://7h-strapi.s3.eu-central-1.amazonaws.com/rtl_183af6d3d3.png","https://7h-strapi.s3.eu-central-1.amazonaws.com/ard_0d4b54081a.png","https://7h-strapi.s3.eu-central-1.amazonaws.com/prosieben_25fa539c7e.png","https://7h-strapi.s3.eu-central-1.amazonaws.com/kronenzeitung_d0abf73083.png","https://7h-strapi.s3.eu-central-1.amazonaws.com/zdf_e83ea17eda.png","https://7h-strapi.s3.eu-central-1.amazonaws.com/falstaff_5d09fcbc20.png","https://7h-strapi.s3.eu-central-1.amazonaws.com/frankfurter_allgemeine_4e5ec5b51e.png","https://7h-strapi.s3.eu-central-1.amazonaws.com/derstandard_a2111ff271.png"],e8="opacity-50 hover:opacity-100 grayscale hover:grayscale-0 transition-all duration-200",e9=e=>{let{block:l}=e,t="1"===l.rows,r=l.logos&&l.logos.length>0,s="grid"===l.layout,i=l.caption;return(0,a.jsx)(n.Z,{blockBackground:l.blockBackground,blockPadding:l.blockPadding,headline:l.headline,children:s?(0,a.jsx)("div",{className:"col-span-12",children:(0,a.jsxs)("div",{className:"my-20 bs-row",children:[(r?l.logos:[]).map(e=>(0,a.jsx)("div",{className:"col-span-6 md:col-span-3 flex items-center px-12 sm:px-12 lg:px-12 xl:px-20 my-4 sm:my-6 md:my-4",children:(0,a.jsx)(em.N,{media:e.logo,alt:e.alt||void 0,fit:"contain"})},e.id)),i&&(0,a.jsx)("p",{className:"text-center w-full",children:i})]})}):(0,a.jsx)("div",{className:"col-span-12",children:(0,a.jsx)("div",{className:"flex justify-center items-center gap-x-6 gap-y-4 md:gap-x-10 md:gap-y-6 lg:gap-x-14 lg:gap-y-8 flex-wrap ".concat(t?"lg:flex-nowrap":""),children:r?l.logos.map(e=>{let l=(0,a.jsx)(em.N,{media:e.logo,alt:e.alt||void 0,width:80,fit:"contain",className:"w-[50px] lg:w-[60px] xl:w-[80px] h-auto min-w-0"});return(0,a.jsx)("div",{className:e8,children:e.link?(0,a.jsx)("a",{href:e.link,target:"_blank",rel:"noopener noreferrer",children:l}):l},e.id)}):e7.map(e=>(0,a.jsx)("div",{className:e8,children:(0,a.jsx)(G.Z,{url:e,className:"w-[50px] lg:w-[60px] xl:w-[80px] h-auto min-w-0"})},e))})})})},le=e=>{let{block:l}=e,{cooks:t}=l;if(!t||0===t.length)return null;let r=(0,w.Z5)(l.blockBackground)?"dark":"light";return(0,a.jsx)(n.Z,{blockBackground:l.blockBackground,blockPadding:l.blockPadding,headline:l.headline,children:(0,a.jsx)("div",{className:"col-span-12",children:(0,a.jsx)(ec.Z,{slides:t,navTheme:r,initialIndex:0,renderSlide:(e,l)=>(0,a.jsx)(ed.Z,{cook:e,active:l})})})})},ll={half:"lg:col-span-6",third:"lg:col-span-4","two-thirds":"lg:col-span-8"},lt={half:"lg:col-span-6",third:"lg:col-span-8","two-thirds":"lg:col-span-4"},lr=e=>{let{block:l}=e,t=ll[l.mediaSize]||"lg:col-span-6",r=lt[l.mediaSize]||"lg:col-span-6",s="left"===l.mediaAlignment;
1return(0,a.jsx)(n.Z,{blockBackground:l.blockBackground,blockPadding:l.blockPadding,children:(0,a.jsx)("div",{className:"col-span-12",children:(0,a.jsxs)("div",{className:"bs-row items-center",children:[(0,a.jsx)("div",{className:"col-span-12 ".concat(t," ").concat(s?"lg:order-1":"lg:order-2"," mb-6 lg:mb-0"),children:(0,a.jsx)(em.N,{media:l.media,fit:"cover",quality:80,className:"w-full h-auto rounded-lg"})}),(0,a.jsxs)("div",{className:"col-span-12 ".concat(r," ").concat(s?"lg:order-2":"lg:order-1"),style:{color:"var(--color-foreground)"},children:[(0,a.jsx)(i.Z,{data:l.content,className:"[&>p:not(:last-child)]:mb-4"}),l.links&&l.links.length>0&&(0,a.jsx)("div",{className:"flex gap-4 flex-wrap mt-6",children:l.links.map((e,l)=>(0,a.jsx)(u.F4,{...e.link,trackingContext:"text-media"},e.id||l))})]})]})})})};var la=t(23494),ls=t(30756),ln=t(50846),li=t(63784),lo=t(46435);let lc=e=>{var l,t;let{block:r}=e,i=(0,S.Z)(e=>e.currentUserOverview),o=null!==(t=null==i?void 0:i.abo)&&void 0!==t&&t,c=(null===(l=r.courses)||void 0===l?void 0:l.filter(Boolean))||[],d=!o&&(0,li.ZB)(r),[u,m]=(0,s.useState)(9),x=c.slice(0,u),h=u<c.length,p=(0,lo.n)()||!!r.showCoursePrice;return(0,a.jsx)(lo.w,{enabled:p,children:(0,a.jsx)(n.Z,{blockBackground:r.blockBackground,blockPadding:r.blockPadding,headline:r.headline,children:(0,a.jsxs)("div",{className:"w-full grid gap-8 md:grid-cols-2 lg:grid-cols-3",children:[x.map((e,l)=>{var t;return(0,a.jsx)(la.Z,{course:e,showPrice:p&&!o,linkCategories:null!==(t=r.showCategories)&&void 0!==t&&t,buy:p},e.id||l)}),d&&(0,a.jsx)("div",{className:"col-start-1 row-start-3 md:col-span-2 md:row-start-2 h-full [&>*]:h-full [&>*>div]:h-full",children:(0,a.jsx)(ls.Z,{title:r.aboBoxTitle,description:r.aboBoxDescription,customImage:r.aboBoxImage?(0,a.jsx)(ln.NC,{media:r.aboBoxImage,fit:"contain"}):void 0,aboBoxLink:r.aboBoxLink,footnote:r.aboBoxFootnote,textBelowButton:r.aboBoxTextBelowButton})}),h&&(0,a.jsx)("div",{className:"md:col-span-2 lg:col-span-3 flex justify-center mt-4",children:(0,a.jsx)(B.Z,{variant:"primary",onClick:()=>m(e=>e+9),children:"Mehr laden"})})]})})})},ld={2:"columns-1 md:columns-2",3:"columns-1 md:columns-2 lg:columns-3",4:"columns-2 lg:columns-4"},lu={small:"gap-2",default:"gap-4",large:"gap-6"},lm={small:"mb-2",default:"mb-4",large:"mb-6"},lx=e=>{let{block:l}=e,t=ld[l.columns||"3"]||ld["3"],r=lu[l.gap||"default"]||lu.default,s=lm[l.gap||"default"]||lm.default,i=(l.images||[]).filter(e=>"string"!=typeof e);return 0===i.length?null:(0,a.jsx)(n.Z,{headline:l.headline,blockBackground:l.blockBackground,blockPadding:l.blockPadding,children:(0,a.jsx)("div",{className:"col-span-12",children:(0,a.jsx)("div",{className:"".concat(t," ").concat(r),children:i.map(e=>(0,a.jsx)("div",{className:"break-inside-avoid ".concat(s),children:(0,a.jsx)(em.N,{media:e,fit:"cover",quality:80,className:"w-full h-auto rounded-lg"})},e.id))})})})};var lh=t(81590),lp=t(11548),lv=t(44358);let lg=e=>{let{block:l}=e,t=l.tabs.filter(e=>e.courses&&e.courses.length>0).map(e=>({title:e.title,items:e.courses.map((e,l)=>(0,a.jsx)(lp.o5,{className:lv.U8,children:(0,a.jsx)(la.Z,{course:e,showPrice:!1,linkCategories:!0})},e.id||l))}));return 0===t.length?null:(0,a.jsx)(n.Z,{blockBackground:l.blockBackground,blockPadding:l.blockPadding,headline:l.headline,children:(0,a.jsx)("div",{className:"col-span-12",children:(0,a.jsx)(lh.Z,{tabs:t,bleed:!1!==l.bleed})})})};var lf=t(34738),lb=t(31753),lj=t(56799);function lw(e){if(null==e)return"a";if("boolean"==typeof e)return e?"b":"a";let l=String(e).toLowerCase();return"test"===l||"b"===l||"treatment"===l?"b":"a"}let lk=e=>{let{block:l,subscriberFallback:t=!0}=e,[r,i]=(0,s.useState)(null),o=(0,s.useRef)(!1),c=(0,s.useRef)(!1),{experimentKey:d,experimentName:u,forceVariant:m,variantA:x,variantB:h}=l;if((0,s.useEffect)(()=>{var e,l;if("true"===lj.env.NEXT_PUBLIC_AB_TEST_DEBUG&&m&&"none"!==m){i(m);return}let t=!1,r=null===(e=lf.ZP.getFeatureFlag)||void 0===e?void 0:e.call(lf.ZP,d);if(void 0!==r){c.current=!0,t||i(lw(r));return}let a=setTimeout(()=>{t||i("a")},2e3);return null===(l=lf.ZP.onFeatureFlags)||void 0===l||l.call(lf.ZP,()=>{var e;if(t)return;clearTimeout(a);let l=null===(e=lf.ZP.getFeatureFlag)||void 0===e?void 0:e.call(lf.ZP,d);c.current=void 0!==l,i(lw(l))}),()=>{t=!0,clearTimeout(a)}},[d,m]),(0,s.useEffect)(()=>{r&&!o.current&&c.current&&(o.current=!0,(0,F.ry)("$experiment_exposure",{$feature_flag:d,$feature_flag_response:"b"===r?"test":"control",experiment_name:u||d,variant:r}))}
1,[r,d,u]),null===r)return(0,a.jsx)(n.Z,{blockBackground:l.blockBackground,blockPadding:l.blockPadding,children:(0,a.jsx)("div",{className:"col-span-12",children:(0,a.jsxs)("div",{className:"animate-pulse space-y-4",children:[(0,a.jsx)("div",{className:"h-8 bg-current opacity-[0.08] rounded w-2/3"}),(0,a.jsx)("div",{className:"h-4 bg-current opacity-[0.08] rounded w-full"}),(0,a.jsx)("div",{className:"h-4 bg-current opacity-[0.08] rounded w-5/6"})]})})});let p="b"===r?null==h?void 0:h.blocks:null==x?void 0:x.blocks;return p&&0!==p.length?(0,a.jsx)(lb.Z,{blocks:p,subscriberFallback:t}):null};var ly=t(89750),lN=t(11438),lZ=t(25438);let lP=e=>{let{url:l}=e,t=(0,s.useRef)(null),[r,n]=(0,s.useState)(!1),i=async()=>{if(t.current)try{await t.current.play(),n(!0)}catch(e){}};return(0,a.jsxs)("div",{className:"relative overflow-hidden rounded-2xl self-end aspect-video",children:[(0,a.jsx)(ex.B,{ref:t,url:l,className:"w-full h-full object-cover",controls:r,autoPlay:!1,muted:!1,loop:!1}),!r&&(0,a.jsx)("button",{onClick:i,className:"absolute inset-0 flex items-center justify-center bg-black/20 transition-colors hover:bg-black/30","aria-label":"Video abspielen",children:(0,a.jsx)("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-white/90 shadow-lg",children:(0,a.jsx)("svg",{className:"h-6 w-6 ml-1",fill:"currentColor",viewBox:"0 0 24 24",style:{color:"var(--color-dark-500, #333)"},children:(0,a.jsx)("path",{d:"M8 5v14l11-7z"})})})})]})},lC=e=>{let l="inline-block px-6 py-3 rounded-xl font-semibold text-base transition-all duration-200 hover:scale-[1.02] active:scale-[0.98] cursor-pointer";switch(e){case"dark":return"".concat(l," bg-[var(--color-dark-500,#333)] text-white shadow-lg hover:shadow-xl");case"outline-solid":return"".concat(l," border-2 border-current bg-transparent");case"outline-light":return"".concat(l," border-2 border-white/40 bg-transparent text-white");default:return"".concat(l," bg-[var(--color-lobster-500,#c0392b)] text-white shadow-lg hover:shadow-xl")}},lB=e=>{let{block:l}=e,{layout:t,headline:s,description:o,links:c,backgroundType:d,backgroundImage:m,videoUrl:x,showSocialProof:h,blockPadding:p,blockBackground:v}=l,g="video"===d&&!!x||!!m&&"object"==typeof m,f=()=>Array.isArray(c)&&0!==c.length?(0,a.jsx)("div",{className:"flex flex-wrap gap-4 mt-6",children:c.map((e,l)=>{let{link:t,id:r}=e;return(0,a.jsx)(u.F4,{...t,trackingContext:"fullscreen-hero",className:lC(t.appearance)},r||l)})}):null,b=()=>h?(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-3 mt-6",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,a.jsx)("div",{className:"flex gap-0.5",children:[1,2,3,4,5].map(e=>(0,a.jsx)(lN.Z,{className:"w-5 h-5"},e))}),(0,a.jsx)("span",{className:"text-sm opacity-80",children:"4.9 auf"})]}),(0,a.jsx)(lZ.Z,{className:"h-4 w-auto"}),(0,a.jsx)("span",{className:"opacity-60",children:"|"}),(0,a.jsx)("span",{className:"text-sm opacity-80",children:"100.000+ Mitglieder"})]}):null;if("split"===t){let e="video"===d&&!!x,l=!e&&m&&"object"==typeof m?m:null;return(0,a.jsx)(n.Z,{blockBackground:v,blockPadding:p,children:(0,a.jsx)("div",{className:"col-span-12",children:(0,a.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8 lg:gap-12 pt-20 md:pt-24",children:[(0,a.jsxs)("div",{className:"flex flex-col justify-center",children:[(0,a.jsx)(r.TW,{headline:s}),o&&(0,a.jsx)("div",{className:"max-w-xl",children:(0,a.jsx)(i.A,{data:o})}),f(),b()]}),e?(0,a.jsx)(lP,{url:x}):(0,a.jsx)("div",{className:"overflow-hidden rounded-2xl self-end",children:l&&(0,a.jsx)(em.N,{media:l,fit:"contain",priority:!0,sizes:"(max-width: 1024px) 100vw, 50vw",className:"w-full h-auto"})})]})})})}return(0,a.jsxs)("div",{className:(0,ly.cn)(w.O8,"relative flex items-end select-none",g?"text-white":""),style:{...w.aR[v],minHeight:"45vh",paddingTop:"80px"},"data-block-background":v,children:["video"===d&&x?(0,a.jsx)("div",{className:"absolute inset-0 z-0",children:(0,a.jsx)(ex.B,{url:x,className:"w-full h-full object-cover"})}):m&&"object"==typeof m?(0,a.jsx)("div",{className:"absolute inset-0 z-0",children:(0,a.jsx)(em.N,{media:m,fill:!0,fit:"cover",priority:!0,sizes:"100vw"})}):null,g&&(0,a.jsx)("div",{className:"absolute inset-0 z-[1] bg-gradient-to-b from-black/10 via-black/35 to-black/80"}),(0,a.jsxs)("div",{className:"container mb-8 md:mb-16 z-10 relative",style:g?{color:"white","--color-highlight":"white","--color-foreground":"white"}:void 0,children:[(0,a.jsx)(r.TW,{headline:s}),o&&(0,a.jsx)("div",{className:"max-w-3xl",children:(0,a.jsx)(i.A,{data:o})}),f(),b()]})]})};var lS=t(92935);let l_={landscape:"flex-[0_0_80%] md:flex-[0_0_calc(50%-0.5rem)] lg:flex-[0_0_calc(33.333%-0.67rem)]",portrait:"flex-[0_0_60%] md:flex-[0_0_calc(33.333%-0.67rem)] lg:flex-[0_0_calc(25%-0.75rem)]"};var lT=e=>{let{items:l,loop:t,showNumbers:r,imageFormat:n}=e,[i,o]=(0,lS.Z)({loop:t,slidesToScroll:1,align:"start"}
1),[c,d]=(0,s.useState)(!1),m=(0,s.useCallback)(()=>null==o?void 0:o.scrollPrev(),[o]),x=(0,s.useCallback)(()=>null==o?void 0:o.scrollNext(),[o]);return((0,s.useEffect)(()=>{if(!o)return;let e=()=>d(o.canScrollNext()||o.canScrollPrev());return e(),o.on("init",e),o.on("resize",e),()=>{o.off("init",e),o.off("resize",e)}},[o]),l&&0!==l.length)?(0,a.jsxs)("div",{className:"relative",children:[c&&(0,a.jsxs)("div",{className:"flex gap-1 items-center justify-end mb-4",style:{color:"var(--color-highlight)"},children:[(0,a.jsx)("button",{className:"cursor-pointer p-2 transition-opacity hover:opacity-70 bg-transparent border-0 text-[inherit]",onClick:m,"aria-label":"Zur\xfcck",children:(0,a.jsx)("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",strokeWidth:2.5,viewBox:"0 0 24 24",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 19l-7-7 7-7"})})}),(0,a.jsx)("button",{className:"cursor-pointer p-2 transition-opacity hover:opacity-70 bg-transparent border-0 text-[inherit]",onClick:x,"aria-label":"Weiter",children:(0,a.jsx)("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",strokeWidth:2.5,viewBox:"0 0 24 24",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 5l7 7-7 7"})})})]}),(0,a.jsx)("div",{className:"overflow-visible",ref:i,children:(0,a.jsx)("div",{className:"flex gap-4 pb-4",children:l.map((e,l)=>{var t;return(0,a.jsx)("div",{className:"".concat(l_[n]," min-w-0"),children:(0,a.jsxs)("div",{className:"flex flex-col rounded-xl overflow-hidden shadow-sm hover:shadow-lg transition-shadow duration-300 h-full",style:{backgroundColor:"var(--card-bg)",border:"1px solid var(--card-border, transparent)"},children:["portrait"===n?(0,a.jsx)(em.N,{media:e.image,width:640,fit:"contain",className:"block w-full h-auto",sizes:"(max-width: 768px) 60vw, (max-width: 1024px) 33vw, 25vw"}):(0,a.jsx)("div",{className:"relative w-full aspect-[4/3] overflow-hidden",children:(0,a.jsx)(em.N,{media:e.image,fill:!0,fit:"cover",sizes:"(max-width: 768px) 80vw, (max-width: 1024px) 50vw, 33vw"})}),(0,a.jsxs)("div",{className:"p-4 md:p-6 flex flex-col flex-grow",style:{color:"var(--card-text)"},children:[r&&(0,a.jsx)("span",{className:"text-sm font-bold mb-1",style:{color:"var(--color-button)"},children:String(l+1).padStart(2,"0")}),(0,a.jsx)("h3",{className:"text-xl font-bold",children:e.title}),e.subtitle&&(0,a.jsx)("p",{className:"text-sm mt-1",style:{color:"var(--card-text-secondary)"}
1,children:e.subtitle}),e.description&&(0,a.jsx)("p",{className:"text-sm mt-2 line-clamp-3",style:{color:"var(--card-text-secondary)"},children:e.description}),(null===(t=e.link)||void 0===t?void 0:t.label)&&(0,a.jsx)("div",{className:"mt-auto pt-4",children:(0,a.jsx)(u.F4,{...e.link,trackingContext:"showcase-slider",className:"text-sm font-medium hover:underline",style:{color:"var(--color-button)"}})})]})]})},e.id||l)})})})]}):null};let lM=e=>{let{block:l}=e,{headline:t,items:r,loop:s,showNumbers:i,imageFormat:o,blockPadding:c,blockBackground:d}=l;return(0,a.jsx)(n.Z,{blockBackground:d,blockPadding:c,headline:t,overflow:"hidden",children:(0,a.jsx)("div",{className:"col-span-12",children:(0,a.jsx)(lT,{items:r,loop:null!=s&&s,showNumbers:null!=i&&i,imageFormat:"portrait"===o?"portrait":"landscape"})})})},lz=["-rotate-2","rotate-2","rotate-3"],lE=["rotate-1","-rotate-1","-rotate-2"],lI=[{direction:"flex-col",imageWrapper:"w-[80%] self-start lg:-ml-4",imageRotation:"-rotate-3",cardRotation:"rotate-1",cardOffset:"-mt-10 self-start ml-2 mr-2 lg:ml-6 lg:mr-0"},{direction:"flex-col-reverse",imageWrapper:"w-[80%] self-center",imageRotation:"rotate-2",cardRotation:"-rotate-[4deg]",cardOffset:"-mb-10 self-end mr-2 ml-2 lg:mr-0 lg:ml-8"},{direction:"flex-col",imageWrapper:"w-[80%] self-end lg:-mr-4",imageRotation:"rotate-3",cardRotation:"-rotate-1",cardOffset:"-mt-10 self-end mr-2 ml-2 lg:mr-6 lg:ml-0"}];function lL(e){let{testimonial:l,index:t,useVariants:r=!0}=e,s="object"==typeof l.avatar?l.avatar:null,n=l.author||"",o=r?lI[t%lI.length]:{direction:"flex-col",imageWrapper:"w-[70%] self-center",imageRotation:lz[t%lz.length],cardRotation:lE[t%lE.length],cardOffset:"-mt-10 self-center mx-2"};return(0,a.jsxs)("div",{className:(0,ly.cn)("flex",o.direction),children:[(0,a.jsx)("div",{className:(0,ly.cn)("relative z-0",o.imageWrapper),children:s?(0,a.jsx)("div",{className:(0,ly.cn)("w-full aspect-[3/4] rounded-2xl overflow-hidden shadow-md",o.imageRotation),children:(0,a.jsx)(em.N,{media:s,fill:!0,fit:"cover",sizes:"(max-width: 1024px) 60vw, 25vw"})}):(0,a.jsx)("div",{className:(0,ly.cn)("w-full aspect-[3/4] rounded-2xl flex items-center justify-center shadow-md",o.imageRotation),style:{backgroundColor:"var(--card-bg, #f5f0eb)"},children:(0,a.jsx)("span",{className:"text-6xl font-semibold opacity-30",children:n.charAt(0).toUpperCase()})})}),(0,a.jsxs)("div",{className:(0,ly.cn)("relative z-10 rounded-xl bg-white shadow-lg p-5 lg:p-6 max-w-[95%] lg:max-w-[88%]",o.cardOffset,o.cardRotation),children:[l.comment&&(0,a.jsx)("div",{className:"text-sm leading-relaxed text-[var(--color-dark-600,#555)] mb-3 text-center lg:text-left [&_p]:mb-0",children:(0,a.jsx)(i.A,{data:l.comment})}),(0,a.jsxs)("div",{className:"flex items-center gap-3 justify-center lg:justify-start",children:[s?(0,a.jsx)("div",{className:"w-10 h-10 rounded-full overflow-hidden shrink-0",children:(0,a.jsx)(em.N,{media:s,width:40,height:40,fit:"cover",className:"w-10 h-10 rounded-full object-cover"})}):(0,a.jsx)("div",{className:"w-10 h-10 rounded-full flex items-center justify-center shrink-0",style:{backgroundColor:"var(--card-bg, #f5f0eb)"},children:(0,a.jsx)("span",{className:"text-sm font-semibold opacity-50",children:n.charAt(0).toUpperCase()})}),(0,a.jsx)("p",{className:"font-semibold text-sm",style:{color:"var(--color-dark-800, #222)"},children:n})]})]})]})}function lA(e){let{testimonials:l}=e,[t,r]=(0,s.useState)(!1),[n]=(0,lS.Z)({loop:!0,align:"center"});return((0,s.useEffect)(()=>{let e=()=>r(window.innerWidth<1024);return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),t)?(0,a.jsx)("div",{className:"overflow-hidden",ref:n,children:(0,a.jsx)("div",{className:"flex",style:{marginLeft:"-0.75rem"},children:l.map((e,l)=>(0,a.jsx)("div",{className:"flex-[0_0_85%] min-w-0",style:{paddingLeft:"0.75rem"},children:(0,a.jsx)("div",{className:"py-3 px-1",children:(0,a.jsx)(lL,{testimonial:e,index:l,useVariants:!1})})},e.id||l))})}):(0,a.jsx)("div",{className:"grid grid-cols-3 items-center gap-8",children:l.map((e,l)=>(0,a.jsx)(lL,{testimonial:e,index:l},e.id||l))})}let lV=e=>{let{block:l}
1=e,{headline:t,testimonials:s,blockBackground:i,blockPadding:o}=l;return s&&0!==s.length?(0,a.jsxs)(n.Z,{blockPadding:o,blockBackground:i,overflow:"visible",fullWidth:!0,children:[((null==t?void 0:t.title)||(null==t?void 0:t.subtitle))&&(0,a.jsx)("div",{className:"container mb-6",children:(0,a.jsx)(r.TW,{headline:t})}),(0,a.jsx)("div",{className:"w-full lg:max-w-[1200px] lg:mx-auto lg:px-4",children:(0,a.jsx)(lA,{testimonials:s})})]}):null};var lO=t(96673);let lR=e=>{let{block:l}=e,{heading:t,subtitle:r,text:o,newsletterID:c,doubleOptIn:d,blockPadding:u,blockBackground:m}=l,[x,h]=(0,s.useState)(""),[p,v]=(0,s.useState)(""),[g,f]=(0,s.useState)(!1),[b,j]=(0,s.useState)("idle"),[w,k]=(0,s.useState)(""),y=async e=>{if(e.preventDefault(),!p){j("error"),k("Bitte gib deine E-Mail-Adresse ein.");return}f(!0),j("idle"),k("");try{let e=String(c||"3");await (0,lO.getAPIAxios)().post("/public/newsletter-list/".concat(e),{firstname:x,mail:p,doi:null==d||d}),j("success"),h(""),v("")}catch(e){j("error"),k("Anmeldung fehlgeschlagen. Bitte versuche es erneut.")}finally{f(!1)}},N="primary"===m,Z="w-full px-4 py-3 rounded-xl border text-base outline-none transition-colors ".concat(N?"bg-white/10 border-white/20 text-white placeholder:text-white/60 focus:border-white/40":"bg-white border-black/10 text-[var(--color-dark-500)] focus:border-[var(--color-lobster-500)]");return(0,a.jsx)(n.Z,{blockBackground:m,blockPadding:u,headline:{title:t,subtitle:r,textAlignment:"center",type:"h2"},children:(0,a.jsx)("div",{className:"col-span-12",children:(0,a.jsx)("div",{className:"max-w-xl mx-auto",children:"success"===b?(0,a.jsxs)("div",{className:"p-4 rounded-xl mb-4 text-center",style:{backgroundColor:N?"rgba(255,255,255,0.15)":"var(--color-cream-light, #faf5f0)",color:"var(--color-foreground)"},children:[(0,a.jsx)("p",{className:"font-medium",children:"Vielen Dank f\xfcr deine Anmeldung!"}),(0,a.jsx)("p",{className:"text-sm mt-1 opacity-80",children:"Bitte \xfcberpr\xfcfe dein Postfach, um die Anmeldung zu best\xe4tigen."})]}):(0,a.jsxs)("form",{onSubmit:y,className:"flex flex-col gap-4 items-center",children:[(0,a.jsxs)("div",{className:"flex flex-col md:flex-row items-center gap-4 w-full",children:[(0,a.jsx)("input",{type:"text",value:x,onChange:e=>h(e.target.value),placeholder:"Name",className:Z}),(0,a.jsx)("input",{type:"email",value:p,onChange:e=>v(e.target.value),required:!0,placeholder:"E-Mail",className:Z})]}),"error"===b&&(0,a.jsx)("div",{className:"p-3 bg-red-50 border border-red-200 rounded-lg w-full",children:(0,a.jsx)("p",{className:"text-red-700 text-sm",children:w})}),o&&(0,a.jsx)("div",{className:"text-sm my-2 max-w-md mx-auto text-center opacity-80",style:{color:"var(--color-foreground)"},children:(0,a.jsx)(i.A,{data:o})}),(0,a.jsx)("button",{type:"submit",disabled:g,className:"px-8 py-3 rounded-xl font-semibold text-base transition-all duration-200 hover:scale-[1.02] active:scale-[0.98] cursor-pointer disabled:opacity-60 disabled:cursor-not-allowed ".concat(N?"bg-white text-[var(--color-dark-500)] shadow-lg hover:shadow-xl":"bg-[var(--color-lobster-500,#c0392b)] text-white shadow-lg hover:shadow-xl"),children:g?"Wird gesendet...":"Anmelden"})]})})})})},lD=(e,l)=>{var t,r,a,s,n,i,o;switch(e){case"annual":case"lifetime":case"gift":case"schedule":return null!==(r=null!==(t=null==l?void 0:l.aboBasic)&&void 0!==t?t:null==l?void 0:l.abo)&&void 0!==r?r:null;case"monthly":return null!==(a=null==l?void 0:l.aboBasicMonthly)&&void 0!==a?a:null;case"duo":return null!==(n=null!==(s=null==l?void 0:l.aboDuo)&&void 0!==s?s:null==l?void 0:l.aboBasic)&&void 0!==n?n:null;case"family":return null!==(o=null!==(i=null==l?void 0:l.aboFamily)&&void 0!==i?i:null==l?void 0:l.aboBasic)&&void 0!==o?o:null;default:return null}},lq=e=>"monthly"===e?"Monat":"Jahr";function lF(e){let{options:l,ctaText:t,ctaVariant:r,checkItems:n,footnote:o,blockBackground:c}=e,d=(0,s.useContext)(eM.V),u=(0,eT.useRouter)(),m=(0,ez.rH)(),x=(0,eE.Z)(e=>e.offerMode),h=(0,eE.Z)(e=>e.overrideProduct),p=(0,eE.Z)(e=>e.stripeLink),v=(0,eE.Z)(e=>e.firstYearPrice),g=(0,eI.Z)(),f=(0,s.useMemo)(()=>{let e=l.findIndex(e=>e.isDefault);return e>=0?e:0}
1,[l]),[b,j]=(0,s.useState)(f),k=((0,w.Z5)(c),e=>{var l;let t=lD(e,m);if(!t)return null;if("duo"===e&&"duo"===x&&"duo"===h&&v>0)return{price:v,originalPrice:t.price,interval:lq(e)};let r=eL.Z.calculatePriceForProduct(t,0,"gift"===e);return{price:null!==(l=null==r?void 0:r.totalPrice)&&void 0!==l?l:t.price,originalPrice:t.price,interval:lq(e)}}),y="var(--card-text, var(--color-dark-500, #333))",N="var(--card-text-secondary, var(--color-dark-400, #666))";return(0,a.jsxs)("div",{className:"max-w-xl mx-auto",children:[(0,a.jsx)("div",{className:"flex flex-col gap-3 mb-6",children:l.map((e,l)=>{let t=e.id||"option-".concat(l),r=b===l,s=k(e.productType),n=s&&s.originalPrice>s.price;return(0,a.jsxs)("div",{role:"button",tabIndex:0,onClick:()=>j(l),onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&j(l)},className:"relative rounded-xl border-2 text-left transition-all cursor-pointer ".concat(r?"border-[var(--color-dark-200,#ccc)] bg-[var(--color-cream-light,#faf5f0)] shadow-sm":"border-[var(--color-dark-100,#e5e5e5)] bg-white hover:border-[var(--color-dark-200,#ccc)]"),children:[(0,a.jsxs)("div",{className:"flex items-center gap-4 p-4",children:[(0,a.jsx)("div",{className:"flex-shrink-0 w-5 h-5 rounded-full border-2 flex items-center justify-center ".concat(r?"border-[var(--color-lobster-500,#c0392b)]":"border-[var(--color-dark-200,#ccc)]"),children:r&&(0,a.jsx)("div",{className:"w-2.5 h-2.5 rounded-full bg-[var(--color-lobster-500,#c0392b)]"})}),(0,a.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("span",{className:"text-lg font-bold",style:{color:y},children:e.title}),e.badge&&(0,a.jsx)("span",{className:"inline-flex items-center px-2 py-0.5 rounded-full text-xs font-medium bg-[var(--color-lobster-500,#c0392b)]/10 text-[var(--color-lobster-500,#c0392b)]",children:e.badge})]}),e.subtitle&&(0,a.jsx)("span",{className:"text-sm opacity-70",style:{color:N}
1,children:e.subtitle})]}),s&&(0,a.jsxs)("div",{className:"flex-shrink-0 text-right",children:[n&&(0,a.jsx)("div",{className:"text-sm line-through opacity-40",style:{color:N},children:(0,e1.Q)(s.originalPrice)}),(0,a.jsx)("div",{className:"font-bold",style:{color:y},children:(0,e1.Q)(s.price)}),(0,a.jsxs)("div",{className:"text-xs opacity-60",style:{color:N},children:["/ ",s.interval]})]})]}),r&&e.revealContent&&(0,a.jsx)("div",{className:"px-4 pb-4 text-sm border-t border-[var(--color-dark-100,#e5e5e5)] mx-4 pt-3",style:{color:N},children:(0,a.jsx)(i.A,{data:e.revealContent})})]},t)})}),(0,a.jsx)("button",{onClick:()=>{if(!d)return;let e=l[b];if(!e)return;let t=e.productType;if("gift"===t){u.push("/gutscheine");return}if("duo"===t&&"duo"===h&&"duo"===x&&p){g(p,"duo");return}if("schedule"===t&&"schedule"===x&&p){g(p,"basic");return}switch(t){case"monthly":d.handlePassBuy(null,"basic-monthly");return;case"duo":d.handlePassBuy(null,"duo");return;case"family":d.handlePassBuy(null,"family");return;default:d.handlePassBuy(null,"basic")}},className:"w-full py-4 rounded-xl font-semibold text-lg transition-all duration-200 hover:scale-[1.02] active:scale-[0.98] cursor-pointer border-0 shadow-lg hover:shadow-xl ".concat("dark"===r?"bg-[var(--color-dark-500,#333)] text-white":"bg-[var(--color-lobster-500,#c0392b)] text-white"),children:t}),n&&n.length>0&&(0,a.jsx)("div",{className:"flex flex-wrap justify-center gap-x-6 gap-y-2 mt-4",children:n.map((e,l)=>(0,a.jsxs)("div",{className:"flex items-center gap-1.5 text-sm opacity-70",children:[(0,a.jsx)("svg",{className:"w-4 h-4 flex-shrink-0",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:3,strokeLinecap:"round",strokeLinejoin:"round",children:(0,a.jsx)("polyline",{points:"20 6 9 17 4 12"})}),(0,a.jsx)("span",{children:e.text})]},e.id||l))}),o&&(0,a.jsx)("p",{className:"mt-6 text-xs text-center opacity-50",children:o})]})}let lU=e=>{let{block:l}=e,{headline:t,options:r,ctaText:s,ctaVariant:i,checkItems:o,footnote:c,blockPadding:d,blockBackground:u}=l;return r&&0!==r.length?(0,a.jsx)(n.Z,{blockBackground:u,blockPadding:d,headline:t?{...t,textAlignment:"center"}:void 0,children:(0,a.jsx)("div",{className:"col-span-12",children:(0,a.jsx)(lF,{options:r,ctaText:s?(0,ek.d)(s):s,ctaVariant:null!=i?i:"default",checkItems:o,footnote:c,blockBackground:u})})}):null},lH=e=>{let{className:l}=e;return(0,a.jsx)("svg",{className:l,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:3,strokeLinecap:"round",strokeLinejoin:"round",children:(0,a.jsx)("polyline",{points:"20 6 9 17 4 12"})})},lW=e=>{let{className:l}=e;return(0,a.jsxs)("svg",{className:l,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2.5,strokeLinecap:"round",strokeLinejoin:"round",children:[(0,a.jsx)("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),(0,a.jsx)("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})},lG=e=>{let{value:l,customText:t,highlighted:r,onPrimary:s}=e;return"yes"===l?(0,a.jsx)("div",{className:"flex items-center justify-center",children:(0,a.jsx)(lH,{className:(0,ly.cn)("h-5 w-5",r||s?"text-white":"text-emerald-500")})}):"custom"===l&&t?(0,a.jsx)("div",{className:(0,ly.cn)("text-center text-sm font-medium break-words",(r||s)&&"text-white"),children:t}):(0,a.jsx)("div",{className:"flex items-center justify-center",children:(0,a.jsx)(lW,{className:(0,ly.cn)("h-5 w-5",r||s?"text-white/40":"opacity-30")})})},lK=e=>{let{block:l}=e,{headline:t,columns:r,features:s,blockPadding:i,blockBackground:o}=l;if(!r||r.length<2||!s||0===s.length)return null;let c=r.length,d="primary"===o,u=d?"bg-white/20":"bg-[var(--color-lobster-500,#c0392b)]",m="font-bold text-white",x=d?"font-medium text-white/70":"font-medium opacity-60",h=d?"text-white/90":"",p=d?"border-b border-white/15":"border-b border-black/10",v=e=>{let l=[{value:e.col1,text:e.col1Text},{value:e.col2,text:e.col2Text}];return c>=3&&l.push({value:e.col3,text:e.col3Text}),c>=4&&l.push({value:e.col4,text:e.col4Text}),c>=5&&l.push({value:e.col5,text:e.col5Text}),l},g=c>=5?110:140,f=c>=5?44:56,b="1fr repeat(".concat(c,", ").concat(f,"px)"),j=c-1;
1return(0,a.jsx)(n.Z,{blockBackground:o,blockPadding:i,headline:t,children:(0,a.jsx)("div",{className:"col-span-12",children:(0,a.jsxs)("div",{className:(0,ly.cn)("lg:mx-auto",c>=5?"lg:max-w-5xl":c>=4?"lg:max-w-4xl":"lg:max-w-3xl"),children:[(0,a.jsx)("div",{className:"block lg:hidden",children:(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("div",{className:(0,ly.cn)("absolute top-0 bottom-0 rounded-2xl",u),style:{width:f,right:j*f}}),(0,a.jsxs)("div",{className:"relative grid",style:{gridTemplateColumns:b},children:[(0,a.jsx)("div",{}),r.map((e,l)=>(0,a.jsxs)("div",{className:"flex flex-col items-center justify-end gap-1 pb-2",style:{height:100},children:[e.logo&&"object"==typeof e.logo&&(0,a.jsx)(em.N,{media:e.logo,className:"h-6 w-auto object-contain",width:48}),(0,a.jsx)("span",{className:(0,ly.cn)("whitespace-nowrap text-[10px] font-medium leading-tight",0===l?m:x),style:{writingMode:"vertical-rl",transform:"rotate(180deg)"},children:e.label})]},e.id||l))]}),s.map((e,l)=>{let t=l===s.length-1,r=v(e);return(0,a.jsxs)("div",{className:"relative grid items-center",style:{gridTemplateColumns:b},children:[(0,a.jsx)("div",{className:(0,ly.cn)("py-2 pr-2 text-xs font-medium",h,!t&&p),style:{color:"var(--color-foreground)"},children:e.label}),r.map((e,l)=>(0,a.jsx)("div",{className:(0,ly.cn)("flex items-center justify-center py-2",0!==l&&!t&&p),children:(0,a.jsx)(lG,{value:e.value,customText:e.text,highlighted:0===l,onPrimary:d})},l))]},e.id||l)})]})}),(0,a.jsx)("div",{className:"hidden lg:block",children:(0,a.jsxs)("div",{className:"relative",style:{minWidth:480},children:[(0,a.jsx)("div",{className:(0,ly.cn)("absolute top-0 bottom-0 rounded-2xl",u),style:{width:g,right:j*g}}),(0,a.jsxs)("div",{className:"relative flex items-end",children:[(0,a.jsx)("div",{className:"flex-1"}),r.map((e,l)=>(0,a.jsxs)("div",{className:"flex shrink-0 flex-col items-center gap-2 px-3 pb-5 pt-5",style:{width:g},children:[e.logo&&"object"==typeof e.logo&&(0,a.jsx)(em.N,{media:e.logo,className:"h-10 w-auto object-contain",width:80}),(0,a.jsx)("span",{className:(0,ly.cn)("text-center text-sm",0===l?m:x),children:e.label})]},e.id||l))]}),s.map((e,l)=>{let t=l===s.length-1,r=v(e);return(0,a.jsxs)("div",{className:"relative flex items-center",children:[(0,a.jsx)("div",{className:(0,ly.cn)("flex-1 py-4 pr-6 text-sm font-medium",h,!t&&p),style:{color:"var(--color-foreground)"},children:e.label}),r.map((e,l)=>(0,a.jsx)("div",{className:(0,ly.cn)("flex shrink-0 items-center justify-center py-4",0!==l&&!t&&p),style:{width:g},children:(0,a.jsx)(lG,{value:e.value,customText:e.text,highlighted:0===l,onPrimary:d})},l))]},e.id||l)})]})})]})})})},lJ=e=>{if(!e||0===e.length)return null;let l=e[0];return"string"==typeof l?null:l.title||null},lQ=e=>{var l;let{post:t}=e,r=lJ(t.categories),s=t.publishedAt?new Date(t.publishedAt).toLocaleDateString("de-DE",{day:"2-digit",month:"long",year:"numeric"}):null;return(0,a.jsxs)("a",{href:"/blog/".concat(t.id),className:"group flex flex-col rounded-xl overflow-hidden shadow-sm hover:shadow-lg transition-shadow duration-300 h-full no-underline",style:{backgroundColor:"var(--card-bg)",border:"1px solid var(--card-border, transparent)"},children:[t.heroImage&&(0,a.jsx)("div",{className:"relative w-full aspect-[16/9] overflow-hidden",children:(0,a.jsx)(em.N,{media:t.heroImage,fill:!0,fit:"cover",sizes:"(max-width: 768px) 100vw, (max-width: 1024px) 50vw, 33vw"})}),(0,a.jsxs)("div",{className:"p-4 md:p-5 flex flex-col flex-grow",style:{color:"var(--card-text)"},children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[r&&(0,a.jsx)("span",{className:"text-xs font-medium px-2 py-0.5 rounded-full",style:{backgroundColor:"var(--color-lobster-500, #c0392b)",color:"white"},children:r}),s&&(0,a.jsx)("span",{className:"text-xs opacity-60",style:{color:"var(--card-text-secondary)"},children:s})]}),(0,a.jsx)("h3",{className:"text-lg font-bold mb-1 group-hover:underline",children:t.title}),(null===(l=t.meta)||void 0===l?void 0:l.description)&&(0,a.jsx)("p",{className:"text-sm line-clamp-2 mt-1",style:{color:"var(--card-text-secondary)"},children:t.meta.description})]})]})},lY=e=>{let{block:l}
1=e,{introContent:t,blockPadding:r,blockBackground:s}=l,o=l.enrichedPosts||[];return 0===o.length?null:(0,a.jsxs)(n.Z,{blockBackground:s,blockPadding:r,children:[t&&(0,a.jsx)("div",{className:"col-span-12 mb-8",children:(0,a.jsx)("div",{className:"max-w-3xl",children:(0,a.jsx)(i.A,{data:t})})}),(0,a.jsx)("div",{className:"col-span-12",children:(0,a.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:o.map(e=>(0,a.jsx)(lQ,{post:e},e.id))})})]})},l$=e=>{let{faq:l}=e,[t,r]=(0,s.useState)(!1);return(0,a.jsxs)("div",{className:"flex flex-col py-4 pr-6",style:{borderBottom:"1px solid var(--color-border, rgba(0,0,0,0.1))"},children:[(0,a.jsxs)("div",{onClick:()=>r(!t),className:"cursor-pointer flex items-center",children:[(0,a.jsx)("strong",{className:"text-lobster-01-main",style:{color:"var(--color-highlight)"},children:l.title}),(0,a.jsx)("div",{className:"ml-auto",style:{color:"var(--color-foreground)"},children:t?(0,a.jsx)(b.Z,{className:"w-6 h-6"}):(0,a.jsx)(j.Z,{className:"w-6 h-6"})})]}),t&&(0,a.jsx)("div",{className:"mt-4",style:{color:"var(--color-foreground)"},children:(0,a.jsx)(i.A,{data:l.answer})})]})},lX=e=>{let{faqs:l}=e;return(0,a.jsx)("div",{children:l.map(e=>(0,a.jsx)(l$,{faq:e},e.id))})},l0=e=>{let{block:l}=e,{headline:t,introText:s,footerText:n,image:o,blockBackground:c}=l,d=l.enrichedFaqs||[];return 0===d.length?null:(0,a.jsx)("section",{className:(0,ly.cn)(w.O8,"overflow-hidden relative"),style:w.aR[c||"light"],"data-block-background":c||"light",children:(0,a.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2",children:[(0,a.jsxs)("div",{className:"py-12 lg:py-16 pr-4 md:pr-8 lg:pr-12",style:{color:"var(--color-foreground)",paddingLeft:"max(1rem, calc((100vw - 1408px) / 2 + 16px))"},children:[(0,a.jsx)(r.TW,{headline:t}),s&&(0,a.jsx)(i.A,{data:s,className:"mb-8"}),(0,a.jsx)(lX,{faqs:d}),n&&(0,a.jsx)("div",{className:"mt-6",children:(0,a.jsx)(i.A,{data:n})})]}),(0,a.jsx)("div",{className:"relative",style:{minHeight:400},children:(0,a.jsx)(em.N,{media:o,fill:!0,fit:"cover",sizes:"(max-width: 1024px) 100vw, 50vw"})})]})})};var l1=t(27388),l2=t.n(l1);function l3(e,l){if(0===e.length)return[];if(e.length>=l)return e;let t=[],r=0;for(;t.length<l;){let l=e[r%e.length];if(t.length>0&&t[t.length-1].href===l.href&&e.length>1){r++;continue}t.push(l),r++}if(t.length>1&&t[t.length-1].href===t[0].href&&e.length>1){let l=e.find(e=>e.href!==t[t.length-1].href);l&&(t[t.length-1]=l)}return t}let l5=e=>{let{card:l}=e;return l.image?(0,a.jsx)(em.N,{media:l.image,fill:!0,fit:"cover",quality:75,sizes:"(max-width: 640px) 260px, (max-width: 768px) 300px, (max-width: 1024px) 340px, 380px",className:"object-cover transition-transform duration-500 group-hover:scale-105"}):l.imageUrl?(0,a.jsx)("img",{src:l.imageUrl,alt:l.title,className:"absolute inset-0 w-full h-full object-cover transition-transform duration-500 group-hover:scale-105"}):null},l4=e=>{let{cards:l,direction:t,duration:r}=e,s=[...l,...l];return(0,a.jsx)("div",{className:(0,ly.cn)(l2().marqueeRow,"left"===t?l2().marqueeLeft:l2().marqueeRight),style:{"--marquee-duration":r},children:s.map((e,l)=>(0,a.jsx)(P(),{href:e.href,className:(0,ly.cn)("group relative flex-shrink-0","w-[320px] sm:w-[380px] md:w-[440px] lg:w-[500px]"),children:(0,a.jsxs)("div",{className:"relative aspect-[16/10] overflow-hidden rounded-lg",children:[(0,a.jsx)(l5,{card:e}),(0,a.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/60 to-transparent"}),(0,a.jsxs)("div",{className:"absolute bottom-0 left-0 right-0 p-5",children:[(0,a.jsx)("h3",{className:"text-lg md:text-xl font-semibold text-white leading-tight line-clamp-2",children:e.title}),e.subtitle&&(0,a.jsx)("p",{className:"mt-1 text-sm md:text-base text-white/80 line-clamp-1",children:e.subt
1itle})]})]})},"".concat(e.href,"-").concat(l)))})},l6=e=>{let l,t,{cards:r,duration:s}=e;if(r.length<4)l=l3(r,6),t=l3([...r].reverse(),6);else{let e=Math.ceil(r.length/2);l=l3(r.slice(0,e),6),t=l3(r.slice(e),6)}return(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)(l4,{cards:l,direction:"left",duration:s}),(0,a.jsx)(l4,{cards:t,direction:"right",duration:s})]})},l7={slow:"120s",normal:"80s",fast:"50s"};function l8(e){return"string"!=typeof e&&"name"in e}function l9(e){return"string"!=typeof e&&"title"in e}function te(e){return e&&"string"!=typeof e?e:null}function tl(e){let l=new Set;return e.filter(e=>!l.has(e.href)&&(l.add(e.href),!0))}let tt=e=>{let{block:l}=e,t=function(e){let{collectionType:l}=e;return"courses"===l&&e.courses?tl(e.courses.filter(Boolean).map(e=>{var l,t,r;return{title:e.title,subtitle:(null===(l=e.cook)||void 0===l?void 0:l.name)?"".concat(e.cook.awardTitle?e.cook.awardTitle+" ":"").concat(e.cook.name):void 0,imageUrl:(null===(t=e.cardThumbnailTeaser)||void 0===t?void 0:t.url)||e.teaserImageUrl||(null===(r=e.teaserImage)||void 0===r?void 0:r.url),href:"/kochkurse/".concat(e.slug)}})):"cooks"===l&&e.cooks?tl(e.cooks.filter(l8).map(e=>({title:e.name,subtitle:e.awardTitle||void 0,image:te(e.HeaderImage)||te(e.defaultAvatar),href:"/e/".concat(e.slug)}))):"recipes"===l&&e.recipes?tl(e.recipes.filter(l9).map(e=>({title:e.title,image:te(e.headerImage),href:"/r/".concat(e.slug)}))):[]}(l),r=l7[l.speed||"normal"]||"40s";return t.length<2?null:(0,a.jsx)(n.Z,{blockBackground:l.blockBackground,blockPadding:l.blockPadding,headline:l.headline,fullWidth:!0,overflow:"visible",children:(0,a.jsx)("div",{className:"col-span-12",children:(0,a.jsx)(l6,{cards:t,duration:r})})})},tr=(e,l)=>{var t,r,a,s,n;switch(e){case"annual":return null!==(t=null==l?void 0:l.aboBasic)&&void 0!==t?t:null;case"monthly":return null!==(r=null==l?void 0:l.aboBasicMonthly)&&void 0!==r?r:null;case"gift":return null!==(a=null==l?void 0:l.aboBasic)&&void 0!==a?a:null;case"duo":return null!==(s=null==l?void 0:l.aboDuo)&&void 0!==s?s:null;case"schedule":return null!==(n=null==l?void 0:l.aboBasic)&&void 0!==n?n:null;default:return null}},ta=(e,l,t)=>{var r;if(!e)return null;let a=eL.Z.calculatePriceForProduct(e,0,"gift"===l||t),s=null!==(r=null==a?void 0:a.totalPrice)&&void 0!==r?r:e.price,n=e.price;return{price:s,priceBefore:n>s?n:null,monthlyEquivalent:"annual"===l||"duo"===l||"schedule"===l?s/12:null}},ts=e=>{var l,t;let{block:r}=e,i=(0,s.useContext)(eM.V),o=(0,ez.rH)(),c=(0,eT.useRouter)(),d=(0,eE.Z)(e=>e.stripeLink),u=(0,eE.Z)(e=>e.offerMode),m=(0,eE.Z)(e=>e.overrideProduct),x=(0,eI.Z)(),h=null!==(t=null==i?void 0:null===(l=i.isGiftcard)||void 0===l?void 0:l.current)&&void 0!==t&&t,p=(0,s.useMemo)(()=>{var e;return(null!==(e=r.pricingTabs)&&void 0!==e?e:[]).filter(e=>"lifetime"!==e.productType)},[r.pricingTabs]),[v,g]=(0,s.useState)(()=>{var e;let l=null!==(e=r.defaultTab)&&void 0!==e?e:0;return l<p.length?l:0}),f=p[v],b=null==f?void 0:f.productType,j=(0,s.useMemo)(()=>b?ta(tr(b,o),b,h):null,[b,o,h]),w=(0,s.useMemo)(()=>{var e;let l=tr("monthly",o);if(!l)return null;let t=ta(l,"monthly",h);return null!==(e=null==t?void 0:t.price)&&void 0!==e?e:null},[o,h]),k=(0,s.useMemo)(()=>{if("annual"!==b||!(null==j?void 0:j.monthlyEquivalent)||!w)return null;let e=Math.round((1-j.monthlyEquivalent/w)*100);return e>0?e:null},[b,j,w]),y=(null==f?void 0:f.ctaText)||r.ctaText,N=y?(0,ek.d)(y):y,Z=(null==f?void 0:f.footnote)||r.footnote,P=(0,s.useMemo)(()=>{var e;return(null!==(e=r.mediaItems)&&void 0!==e?e:[]).filter(e=>"image"===e.type&&e.image)},[r.mediaItems]);return 0===p.length?null:(0,a.jsx)(n.Z,{blockBackground:r.blockBackground,blockPadding:r.blockPadding,children:(0,a.jsx)("div",{className:"col-span-12",children:(0,a.jsxs)("div",{className:"flex flex-col lg:flex-row items-center gap-8 lg:gap-16",children:[(0,a.jsxs)("div",{className:"flex-1 w-full lg:w-auto",children:[r.badge&&(0,a.jsx)("span",{className:"inline-block px-3 py-1 rounded-full text-xs font-semibold uppercase tracking-wider bg-lobster-01-main text-white mb-4",children:r.badge}),(0,a.jsx)("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-bold mb-3",style:{color:"var(--color-foreground)"},children:r.title}),r.subtitle&&(0,a.jsx)("p",{className:"text-base md:text-lg mb-6 opacity-80",style:{color:"var(--color-foreground)"},children:r.subtitle}),p.length>1&&(0,a.jsx)("div",{className:"flex gap-1 mb-6 border-b border-current/10",children:p.map((e,l)=>(0,a.jsx)("button",{onClick:()=>g(l),className:"px-4 py-2.5 text-sm font-semibold border-b-2 transition-all duration-200 bg-transparent cursor-pointer ".concat(l===v?"border-lobster-01-main text-lobster-01-main":"border-transparent opacity-60 hover:opacity-80"),style:l!==v?{color:"var(--color-foreground)"}:void 0,children:e.tabLabel?(0,ek.d)(e.tabLabel):e.tabLabel},e.id||l))}),"gift"!==b&&j&&(0,a.jsxs)("div",{className:"mb-6",children:[(0,a.jsxs)("div",{className:"flex items-baseline gap-3",children:[(0,a.jsx)("span",{className:"text-4xl md:text-5xl font-bold",style:{color:"var(--color-foreground)"},children:(0,e1.Q)(j.price)}),"monthly"===b&&(0,a.jsx)("span",{className:"text-base opacity-60",style:{color:"var(--color-foreground)"},children:"/Monat"}),("annual"===b||"duo"===b||"schedule"===b)&&(0,a.jsx)("span",{className:"text-base opacity-60",style:{color:"var(--color-foreground)"},children:"/Jahr"})]}),j.priceBefore&&(0,a.jsx)("span",{className:"text-lg line-through opacity-40",style:{color:"var(--color-foreground)"},children:(0,e1.Q)(j.priceBefore)}),("annual"===b||"duo"===b||"schedule"===b)&&j.monthlyEquivalent&&(0,a.jsxs)("div",{className:"mt-1 text-sm opacity-70",style:{color:"var(--color-foreground)"},children:["nur ",(0,e1.Q)(j.monthlyEquivalent),"/Monat",k&&(0,a.jsxs)("span",{className:"ml-2 inline-block px-2 py-0.5 rounded-full text-xs font-semibold bg-emerald-500/15 text-emerald-600",children:[k,"% sparen"]})]})]}),(0,a.jsx)("button",{onClick:()=>
1{if(!b)return;if("gift"===b){c.push("/gutscheine");return}if("duo"===b&&"duo"===m&&d){x(d,"duo");return}if("schedule"===b&&"schedule"===u&&d){x(d,"basic");return}if(!i)return;let e="duo"===b?"duo":"monthly"===b?"basic-monthly":"basic";i.handlePassBuy(null,e)},className:"w-full sm:w-auto px-8 py-3.5 rounded-lg font-semibold text-base bg-lobster-01-main text-white border-0 cursor-pointer transition-all duration-200 hover:opacity-90 hover:scale-[1.02] active:scale-[0.98]",children:N}),Z&&(0,a.jsx)("p",{className:"text-xs mt-3 opacity-50",style:{color:"var(--color-foreground)"},children:Z})]}),P.length>0&&(0,a.jsxs)("div",{className:"hidden lg:flex flex-1 gap-4 max-w-lg",children:[(0,a.jsx)("div",{className:"flex flex-col gap-4 flex-1",children:P.filter((e,l)=>l%2==0).map((e,l)=>(0,a.jsx)("div",{className:"rounded-xl overflow-hidden",children:(0,a.jsx)(em.N,{media:e.image,fit:"cover",quality:80,className:"w-full h-auto block"})},e.id||l))}),(0,a.jsx)("div",{className:"flex flex-col gap-4 flex-1 pt-8",children:P.filter((e,l)=>l%2==1).map((e,l)=>(0,a.jsx)("div",{className:"rounded-xl overflow-hidden",children:(0,a.jsx)(em.N,{media:e.image,fit:"cover",quality:80,className:"w-full h-auto block"})},e.id||l))})]})]})})})};var tn=t(92188),ti=t(58638),to=t(11452),tc=t(50001),td=t(41107),tu=t(23860),tm=t(67949);let tx={check:eR.Z,star:tn.Z,heart:ti.Z,trophy:to.Z,flame:tc.Z,users:td.Z,trending:tu.Z,target:tm.Z},th=e=>{let{block:l}=e,{headline:t,points:r,footnote:s,blockPadding:o,blockBackground:c}=l,d="primary"===c;return r&&0!==r.length?(0,a.jsx)(n.Z,{blockBackground:c,blockPadding:o,headline:t,children:(0,a.jsxs)("div",{className:"col-span-12",children:[(0,a.jsx)("div",{className:"mx-auto mt-8 flex max-w-2xl flex-col gap-5",children:r.map((e,l)=>{let t=tx[e.icon||"check"]||eR.Z;return(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)("div",{className:(0,ly.cn)("flex h-10 w-10 shrink-0 items-center justify-center rounded-full",d?"bg-white/15":"bg-[var(--color-lobster-50,#fdf2f1)]"),children:(0,a.jsx)(t,{className:(0,ly.cn)("h-5 w-5",d?"text-white/80":"text-[var(--color-lobster-500,#c0392b)]"),strokeWidth:2.5})}),(0,a.jsx)("p",{className:(0,ly.cn)("text-sm font-medium leading-snug",d?"text-white/90":""),children:e.text})]},e.id||l)})}),s&&(0,a.jsx)("div",{className:(0,ly.cn)("mx-auto mt-8 max-w-2xl text-center text-xs",d?"text-white/50":"text-[var(--color-dark-300,#999)]"),children:(0,a.jsx)(i.A,{data:s})})]})}):null},tp=e=>{var l,t,r;let{block:s}=e,o=(0,eE.Z)(e=>e.offerMode),c=(0,eE.Z)(e=>e.overrideProduct),d=(0,eE.Z)(e=>e.firstYearPrice),u=(0,eE.Z)(e=>e.firstDaysPrice),m=(0,eE.Z)(e=>e.firstDaysCount),x=(0,eE.Z)(e=>e.stripeLink),h=(0,ez.rH)(),p=(0,eI.Z)();return o?(0,a.jsx)(n.Z,{blockBackground:s.blockBackground,blockPadding:s.blockPadding,headline:s.headline,children:(0,a.jsx)("div",{className:"col-span-12",children:(0,a.jsx)("div",{className:"max-w-lg mx-auto rounded-2xl overflow-hidden shadow-lg bg-[var(--color-surface,#fff)]",children:(0,a.jsxs)("div",{className:"p-6 lg:p-8",children:[(0,a.jsx)("div",{className:"mb-6",children:"schedule"===o?(0,a.jsx)(tf,{firstDaysPrice:u,firstDaysCount:m,secondYearPrice:null==h?void 0:null===(l=h.aboBasic)||void 0===l?void 0:l.price}):(0,a.jsx)(tg,{firstYearPrice:d,secondYearPrice:"family"===c?null==h?void 0:null===(t=h.aboFamily)||void 0===t?void 0:t.price:null==h?void 0:null===(r=h.aboDuo)||void 0===r?void 0:r.price})}),s.bullets&&s.bullets.length>0&&(0,a.jsx)("ul",{className:"space-y-2.5 mb-6",children:s.bullets.map((e,l)=>(0,a.jsxs)("li",{className:"flex items-start gap-2.5 text-sm text-[var(--color-foreground)]",children:[(0,a.jsx)(eR.Z,{className:"w-4 h-4 flex-shrink-0 mt-0.5 text-[var(--color-highlight)]"}),(0,a.jsx)("span",{children:e.text})]},e.id||l))}),s.description&&(0,a.jsx)("div",{className:"mb-6 text-sm text-[var(--color-foreground)] opacity-80",children:(0,a.jsx)(i.A,{data:s.description})}),(0,a.jsx)("button",{onClick:()=>{if("family"===c){p("","family");return}p(x,c||"basic")},className:" w-full py-3.5 px-6 rounded-lg font-semibold bg-lobster-01-main text-white transition-all duration-200 hover:opacity-90 hover:scale-[1.02] active:scale-[0.98] ",children:s.ctaText?(0,ek.d)(s.ctaText):s.ctaText})]})})})}):null},tv=e=>{if(null==e||""===e)return null;if("number"==typeof e)return(0,e1.Q)(e);let l=Number.parseFloat(e.replace(/[€\s]/g,"").replace(",","."));return!isNaN(l)&&isFinite(l)?(0,e1.Q)(l):e},tg=e=>{let{firstYearPrice:l,secondYearPrice:t}=e,r=tv(l),s=tv(t);return(0,a.jsxs)("div",{children:[r&&(0,a.jsxs)("div",{className:"flex items-baseline gap-2",children:[(0,a.jsx)("span",{className:"text-3xl lg:text-4xl font-bold text-[var(--color-foreground)]",children:r}),(0,a.jsx)("span",{className:"text-sm text-[var(--color-foreground)] opacity-60",children:"/Jahr"})]}),s&&(0,a.jsxs)("p",{className:"text-sm text-[var(--color-foreground)] opacity-50 mt-1",children:["danach ",s," /Jahr"]})]})},tf=e=>{let{firstDaysPrice:l,firstDaysCount:t,secondYearPrice:r}=e,s=tv(l),n=tv(r);return(0,a.jsxs)("div",{children:[s&&(0,a.jsxs)("div",{className:"flex items-baseline gap-2",children:[(0,a.jsx)("span",{className:"text-3xl lg:text-4xl font-bold text-[var(--color-foreground)]",children:s}),t>0&&(0,a.jsxs)("span",{className:"text-sm text-[var(--color-foreground)] opacity-60",children:["f\xfcr die ersten ",t," Tage"]})]}),n&&(0,a.jsxs)("p",{className:"text-sm text-[var(--color-foreground)] opacity-50 mt-1",children:["danach ",n," /Jahr"]})]})};var tb=t(25443),tj=t(27243);let tw=(e,l)=>{if(!e)return null;let t=tb.ou.fromISO(e);
1if(!t.isValid)return null;if(l){let[e,r]=l.split(":").map(Number);return t.set({hour:e||0,minute:r||0,second:0,millisecond:0}).toMillis()}return t.toMillis()},tk=e=>{let{value:l,label:t}=e;return(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center rounded-xl px-3 py-2.5 min-w-[68px] md:min-w-[76px] border",style:{background:"var(--color-dark-500)",borderColor:"var(--color-border)"},children:[(0,a.jsx)("span",{className:"text-2xl md:text-4xl font-bold leading-none text-white",style:{fontVariantNumeric:"tabular-nums"},children:String(l).padStart(2,"0")}),(0,a.jsx)("span",{className:"mt-1.5 text-[0.6rem] uppercase tracking-widest",style:{color:"rgba(255,255,255,0.6)"},children:t})]})},ty=e=>{let{date:l,time:t,showSeconds:r=!0,className:n}=e,[i,o]=(0,s.useState)(!1);(0,s.useEffect)(()=>o(!0),[]);let c=(0,s.useMemo)(()=>tw(l,t),[l,t]);return null!==c&&i?(0,a.jsx)("div",{className:n,children:(0,a.jsx)(tj.ZP,{date:c,renderer:e=>{let{days:l,hours:t,minutes:s,seconds:n,completed:i}=e;return i?null:(0,a.jsxs)("div",{className:"flex items-center justify-center gap-2.5 md:gap-3",children:[l>0&&(0,a.jsx)(tk,{value:l,label:1===l?"Tag":"Tage"}),(0,a.jsx)(tk,{value:t,label:"Std"}),(0,a.jsx)(tk,{value:s,label:"Min"}),r&&(0,a.jsx)(tk,{value:n,label:"Sek"})]})}})}):null},tN=e=>{let{oldPrice:l,newPrice:t,period:r,saveLabel:s,size:n="hero",className:i}=e;return t||l?(0,a.jsxs)("div",{className:i,children:[(0,a.jsxs)("div",{className:"flex flex-wrap items-baseline justify-center gap-x-4 gap-y-1",children:[l&&(0,a.jsx)("span",{className:"text-2xl md:text-3xl font-semibold line-through opacity-70",style:{textDecorationColor:"var(--color-button)"},children:l}),t&&(0,a.jsxs)("span",{className:"".concat("hero"===n?"text-6xl md:text-7xl":"text-5xl md:text-6xl"," font-bold leading-none"),style:{color:"var(--color-highlight)"},children:[t,r&&(0,a.jsx)("span",{className:"text-[0.32em] font-bold opacity-60 ml-1",children:r})]})]}),s&&(0,a.jsx)("div",{className:"mt-2 font-bold text-base md:text-lg",style:{color:"var(--color-button)"},children:s})]}):null},tZ=["#e2604c","#f0b74a","#f1efea","#e9cba7","#9db89a"],tP=(e,l)=>e+Math.random()*(l-e),tC=(e,l,t)=>{let r=tP(6,13);return{x:Math.random()*e,y:t?Math.random()*l:-r-40*Math.random(),w:r,h:r*tP(.5,.8),color:tZ[Math.floor(Math.random()*tZ.length)],vy:tP(25,60),swayAmp:tP(10,40),swayFreq:tP(.4,1.2),swayPhase:Math.random()*Math.PI*2,rot:Math.random()*Math.PI*2,vrot:tP(-1.5,1.5),flipFreq:tP(1,3),flipPhase:Math.random()*Math.PI*2,opacity:tP(.55,.95)}},tB=e=>{let{pieceCount:l=80}=e,t=(0,s.useRef)(null);return(0,s.useEffect)(()=>{let e=t.current;if(!e)return;let r=window.matchMedia("(prefers-reduced-motion: reduce)");if(r.matches)return;let a=e.getContext("2d");if(!a)return;let s=0,n=0,i=[],o=null,c=null,d=!0,u=()=>Math.round(l*(s<768?.5:1)),m=()=>{let l=e.getBoundingClientRect(),t=Math.min(window.devicePixelRatio||1,2);if(s=l.width,n=l.height,e.width=Math.round(s*t),e.height=Math.round(n*t),a.setTransform(t,0,0,t,0,0),0===i.length)i=Array.from({length:u()},()=>tC(s,n,!0));else{let e=u();for(;i.length>e;)i.pop();for(;i.length<e;)i.push(tC(s,n,!0))}},x=e=>{if(o=requestAnimationFrame(x),null===c){c=e;return}let l=Math.min((e-c)/1e3,.05);c=e,a.clearRect(0,0,s,n);let t=e/1e3;for(let e=0;e<i.length;e++){let r=i[e];r.y+=r.vy*l,r.rot+=r.vrot*l,r.y>n+20&&(i[e]=r=tC(s,n,!1));let o=r.x+Math.sin(t*r.swayFreq+r.swayPhase)*r.swayAmp,c=Math.sin(t*r.flipFreq+r.flipPhase);a.save(),a.translate(o,r.y),a.rotate(r.rot),a.globalAlpha=r.opacity,a.fillStyle=r.color,a.fillRect(-r.w/2,-r.h*c/2,r.w,Math.max(Math.abs(r.h*c),1)),a.restore()}},h=()=>{null===o&&(c=null,o=requestAnimationFrame(x))},p=()=>{null!==o&&(cancelAnimationFrame(o),o=null)},v=new IntersectionObserver(e=>{let[l]=e;(d=l.isIntersecting)?h():p()},{rootMargin:"100px"});v.observe(e);let g=()=>{document.hidden?p():d&&h()};document.addEventListener("visibilitychange",g);let f=new ResizeObserver(m);f.observe(e),m(),h();let b=()=>{r.matches?(p(),a.clearRect(0,0,s,n)):d&&h()};return r.addEventListener("change",b),()=>{p(),v.disconnect(),f.disconnect(),document.removeEventListener("visibilitychange",g),r.removeEventListener("change",b)}},[l]),(0,a.jsx)("canvas",{ref:t,"aria-hidden":"true",className:"absolute inset-0 w-full h-full pointer-events-none"})},tS=e=>{var l,t;let{block:r}=e,s="finalCta"===r.variant,i=null===(l=r.headline)||void 0===l?void 0:l.title,o=r.countdown,c=!!((null==o?void 0:o.showCountdown)&&(null==o?void 0:o.countdownDate));
1return(0,a.jsxs)(n.Z,{blockBackground:r.blockBackground,blockPadding:r.blockPadding,children:["confetti"===r.festiveEffect&&(0,a.jsx)(tB,{}),(0,a.jsx)("div",{className:"col-span-12 relative",children:(0,a.jsxs)("div",{className:"max-w-3xl mx-auto text-center",children:[r.badge&&(0,a.jsx)("span",{className:"inline-flex items-center gap-2 mb-5 px-4 py-2 rounded-full text-xs font-extrabold uppercase tracking-widest",style:{backgroundColor:"var(--color-button)",color:"var(--color-button-text)"},children:r.badge}),i&&(0,a.jsx)("h1",{className:"".concat(s?"text-3xl md:text-5xl":"text-4xl md:text-6xl"),style:{color:"var(--color-highlight)"},children:i}),r.subtext&&!s&&(0,a.jsx)("p",{className:"mt-4 mx-auto max-w-xl text-base md:text-lg opacity-90 hyphens-auto text-balance",children:r.subtext}),r.pricePop&&(0,a.jsx)(tN,{oldPrice:r.pricePop.oldPrice,newPrice:r.pricePop.newPrice,period:r.pricePop.period,saveLabel:r.pricePop.saveLabel,size:s?"finalCta":"hero",className:"mt-8"}),c&&(0,a.jsxs)("div",{className:"mt-8",children:[(0,a.jsx)(ty,{date:null==o?void 0:o.countdownDate,time:null==o?void 0:o.countdownTime,showSeconds:null===(t=null==o?void 0:o.showSeconds)||void 0===t||t,className:"flex justify-center"}),(null==o?void 0:o.note)&&(0,a.jsx)("p",{className:"mt-3 text-sm opacity-60",children:o.note})]}),r.subtext&&s&&(0,a.jsx)("p",{className:"mt-6 mx-auto max-w-xl text-base md:text-lg opacity-90",children:r.subtext}),r.links&&r.links.length>0&&(0,a.jsxs)("div",{className:"mt-8 flex flex-col items-center gap-3",children:[(0,a.jsx)("div",{className:"flex flex-wrap justify-center gap-4",children:r.links.map((e,l)=>(0,a.jsx)(u.F4,{...e.link,trackingContext:"saleHero",className:"inline-block px-8 py-4 rounded-xl font-semibold text-base shadow-lg transition-all duration-200 hover:scale-[1.02] hover:shadow-xl active:scale-[0.98] cursor-pointer",style:{background:"var(--color-button)",color:"var(--color-button-text)"}},e.id||l))}),r.ctaSubtext&&(0,a.jsx)("span",{className:"text-sm opacity-60 font-semibold",children:r.ctaSubtext})]}),!s&&r.bonusRows&&r.bonusRows.length>0&&(0,a.jsx)("div",{className:"mt-9 grid gap-4 max-w-2xl mx-auto",children:r.bonusRows.map((e,l)=>(0,a.jsxs)("div",{className:"flex items-start gap-4 text-left rounded-2xl p-5 border",style:{background:"var(--card-bg)",color:"var(--card-text)",borderColor:"var(--color-border)"},children:[e.emoji&&(0,a.jsx)("div",{className:"flex-none w-11 h-11 rounded-xl flex items-center justify-center text-xl",style:{backgroundColor:"var(--color-cream-light)"},children:e.emoji}),(0,a.jsxs)("div",{children:[e.tag&&(0,a.jsx)("span",{className:"block mb-1 text-[0.7rem] font-extrabold uppercase tracking-widest",style:{color:"var(--color-button)"},children:e.tag}),e.title&&(0,a.jsx)("h3",{className:"text-base",style:{color:"var(--card-text)"},children:e.title}),e.text&&(0,a.jsx)("p",{className:"text-sm mt-1",style:{color:"var(--card-text-secondary)"},children:e.text})]})]},e.id||l))})]})})]})},t_=e=>{var l;let{block:t}=e;return(0,a.jsx)(n.Z,{blockBackground:t.blockBackground,blockPadding:t.blockPadding,children:(0,a.jsxs)("div",{className:"col-span-12",children:[(0,a.jsxs)("div",{className:"text-center",children:[t.eyebrow&&(0,a.jsx)("div",{className:"mb-3 text-xs font-extrabold uppercase tracking-widest",style:{color:"var(--color-button)"},children:t.eyebrow}),(null===(l=t.headline)||void 0===l?void 0:l.title)&&(0,a.jsx)("h2",{className:"text-3xl md:text-4xl",style:{color:"var(--color-highlight)"},children:t.headline.title}),t.lead&&(0,a.jsx)("p",{className:"mt-4 mx-auto max-w-2xl opacity-80",children:t.lead})]}),t.statements&&t.statements.length>0&&(0,a.jsx)("div",{className:"mt-10 max-w-2xl mx-auto",children:t.statements.map((e,l)=>(0,a.jsxs)("div",{className:"text-center py-7 ".concat(l<t.statements.length-1?"border-b":""),style:{borderColor:"var(--color-border)"},children:[(0,a.jsx)("h3",{className:"text-xl md:text-2xl",style:{color:"var(--color-highlight)"},children:e.title}),(0,a.jsx)("p",{className:"mt-2 opacity-75",children:e.text})]},e.id||l))})]})})},tT=e=>{var l,t;let{block:r}
1=e,i=(0,s.useRef)(null),[o,c]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{let e=i.current;if(!e)return;let l=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&(c(!0),l.disconnect())})},{threshold:.4});return l.observe(e),()=>l.disconnect()},[]),(0,a.jsx)(n.Z,{blockBackground:r.blockBackground,blockPadding:r.blockPadding,children:(0,a.jsxs)("div",{className:"col-span-12",children:[(0,a.jsxs)("div",{className:"text-center",children:[r.eyebrow&&(0,a.jsx)("div",{className:"mb-3 text-xs font-extrabold uppercase tracking-widest",style:{color:"var(--color-button)"},children:r.eyebrow}),(null===(l=r.headline)||void 0===l?void 0:l.title)&&(0,a.jsx)("h2",{className:"text-3xl md:text-4xl",style:{color:"var(--color-highlight)"},children:r.headline.title}),r.intro&&(0,a.jsx)("p",{className:"mt-4 mx-auto max-w-2xl opacity-80",children:r.intro})]}),(0,a.jsx)("div",{className:"mt-10 max-w-3xl mx-auto grid gap-4",children:null===(t=r.rungs)||void 0===t?void 0:t.map((e,l)=>(0,a.jsxs)("div",{className:"relative grid grid-cols-1 md:grid-cols-[minmax(120px,auto)_1fr_auto] items-center gap-2 md:gap-5 rounded-2xl p-5 md:px-7 border",style:{background:"var(--card-bg)",color:"var(--card-text)",borderColor:e.isHighlight?"var(--color-button)":"var(--color-border)",borderWidth:e.isHighlight?2:1,boxShadow:e.isHighlight?"0 14px 38px rgba(0,0,0,.1)":void 0},children:[e.flagText&&(0,a.jsx)("span",{className:"absolute -top-3 left-6 px-3 py-1 rounded-full text-[0.62rem] font-extrabold uppercase tracking-widest text-white",style:{backgroundColor:"var(--color-button)"},children:e.flagText}),e.whenLabel&&(0,a.jsx)("span",{className:"text-xs font-extrabold uppercase tracking-wider",style:{color:e.isHighlight?"var(--color-button)":"var(--card-text-secondary)"},children:e.whenLabel}),(0,a.jsxs)("span",{className:"font-bold text-base md:text-lg",children:[e.title,e.subtitle&&(0,a.jsx)("small",{className:"block font-medium text-sm mt-1",style:{color:"var(--card-text-secondary)"}
1,children:e.subtitle})]}),(0,a.jsx)("span",{className:"font-bold text-2xl md:text-3xl whitespace-nowrap md:text-right",style:{color:e.isHighlight?"var(--color-button)":"var(--card-text-secondary)"},children:e.amount})]},e.id||l))}),r.showUrgencyBar&&(0,a.jsxs)("div",{className:"mt-8 max-w-3xl mx-auto text-center",children:[(0,a.jsx)("div",{ref:i,className:"relative h-2.5 rounded-full border",style:{background:"var(--card-bg)",borderColor:"var(--color-border)"},children:(0,a.jsx)("div",{className:"relative h-full rounded-full",style:{width:o?"90%":"10%",transition:"width 1.7s cubic-bezier(.2,.7,.2,1)",willChange:"width",background:"linear-gradient(90deg, var(--color-button), var(--color-button))"},children:(0,a.jsxs)("span",{className:"absolute top-1/2 right-0 -translate-y-1/2 translate-x-1/2 flex h-3.5 w-3.5 items-center justify-center",children:[(0,a.jsx)("span",{className:"absolute inline-flex h-full w-full rounded-full animate-ping opacity-75",style:{background:"var(--color-button)"}}),(0,a.jsx)("span",{className:"inline-flex h-2.5 w-2.5 rounded-full",style:{background:"var(--color-button)",boxShadow:"0 0 8px 1px var(--color-button)"}})]})})}),r.urgencyText&&(0,a.jsx)("p",{className:"mt-3 text-sm font-semibold opacity-70",children:r.urgencyText})]})]})})},tM=e=>{var l,t,r;let{block:s}=e,i=(null!==(r=s.theme)&&void 0!==r?r:"dark")==="dark",o=!!s.backgroundImage;return(0,a.jsx)(n.Z,{blockBackground:s.blockBackground,blockPadding:s.blockPadding,children:(0,a.jsxs)("div",{className:"col-span-12",children:[(s.eyebrow||(null===(l=s.headline)||void 0===l?void 0:l.title))&&(0,a.jsxs)("div",{className:"text-center mb-8",children:[s.eyebrow&&(0,a.jsx)("div",{className:"mb-3 text-xs font-extrabold uppercase tracking-widest",style:{color:"var(--color-button)"},children:s.eyebrow}),(null===(t=s.headline)||void 0===t?void 0:t.title)&&(0,a.jsx)("h2",{className:"text-3xl md:text-4xl",style:{color:"var(--color-highlight)"},children:s.headline.title})]}),(0,a.jsxs)("div",{className:"relative overflow-hidden rounded-3xl max-w-4xl mx-auto text-center p-8 md:p-12"+(i&&(0,w.Z5)(s.blockBackground)?" ring-1 ring-white/15":""),style:i?{background:o?"var(--color-dark-700)":"linear-gradient(135deg, var(--color-dark-700), var(--color-dark-500))",color:"#fff"}:{background:"var(--card-bg)",color:"var(--card-text)"},children:[o&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"absolute inset-0 z-0",children:(0,a.jsx)(em.Z,{media:s.backgroundImage,fit:"cover",className:"w-full h-full object-cover",style:{objectFit:"cover",width:"100%",height:"100%"}})}),(0,a.jsx)("div",{className:"absolute inset-0 z-0",style:{background:"rgba(0,0,0,.5)"}})]}),(0,a.jsxs)("div",{className:"relative z-10",children:[s.kicker&&(0,a.jsx)("div",{className:"mb-3 text-xs font-extrabold uppercase tracking-widest",style:{color:"var(--color-lobster-500)"},children:s.kicker}),s.cardTitle&&(0,a.jsx)("h3",{className:"text-2xl md:text-4xl",children:s.cardTitle}),s.cardText&&(0,a.jsx)("p",{className:"mt-4 mx-auto max-w-xl opacity-85",children:s.cardText}),s.links&&s.links.length>0&&(0,a.jsx)("div",{className:"mt-7 flex justify-center",children:s.links.slice(0,1).map((e,l)=>(0,a.jsxs)(u.F4,{...e.link,trackingContext:"bonusCard",className:"inline-flex items-center gap-2 font-extrabold pb-1",style:{borderBottom:"2px solid var(--color-lobster-500)",color:"inherit"},children:[e.link.label,(0,a.jsx)("span",{"aria-hidden":"true",children:"→"})]},e.id||l))})]})]})]})})},tz=e=>{var l,t;return!!(null==e?void 0:null===(t=e.root)||void 0===t?void 0:null===(l=t.children)||void 0===l?void 0:l.some(e=>{var l,t;return(null!==(t=null==e?void 0:null===(l=e.children)||void 0===l?void 0:l.length)&&void 0!==t?t:0)>0}))},tE="[&_ul]:mb-0 [&_ol]:mb-0 [&_li]:mb-1 [&_ul]:pl-4 [&_ol]:pl-4",tI=e=>{var l;let{block:t}
1=e,[r,o]=(0,s.useState)(null);return(0,s.useEffect)(()=>{if(null===r)return;let e=e=>{var l;(null===(l=e.target)||void 0===l?void 0:l.closest("[data-prize-pop]"))||o(null)},l=e=>{"Escape"===e.key&&o(null)};return document.addEventListener("mousedown",e),document.addEventListener("keydown",l),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("keydown",l)}},[r]),(0,a.jsx)(n.Z,{blockBackground:t.blockBackground,blockPadding:t.blockPadding,overflow:"visible",children:(0,a.jsxs)("div",{className:"col-span-12",children:[(0,a.jsxs)("div",{className:"text-center",children:[t.eyebrow&&(0,a.jsx)("div",{className:"mb-3 text-xs font-extrabold uppercase tracking-widest",style:{color:"var(--color-button)"},children:t.eyebrow}),(null===(l=t.headline)||void 0===l?void 0:l.title)&&(0,a.jsx)("h2",{className:"text-3xl md:text-4xl",style:{color:"var(--color-highlight)"},children:t.headline.title}),t.intro&&(0,a.jsx)("p",{className:"mt-4 mx-auto max-w-2xl opacity-80",children:t.intro}),(t.poolLabel||t.poolValue)&&(0,a.jsxs)("div",{className:"inline-flex items-baseline gap-3 mt-6 px-6 py-3 rounded-full",style:{background:"var(--color-dark-500)",color:"#fff"},children:[t.poolLabel&&(0,a.jsx)("span",{className:"text-xs font-bold uppercase tracking-wider opacity-70",children:t.poolLabel}),t.poolValue&&(0,a.jsx)("span",{className:"text-xl font-bold",style:{color:"var(--color-lobster-500)"},children:t.poolValue})]})]}),t.prizes&&t.prizes.length>0&&(0,a.jsx)("div",{className:"mt-10 grid grid-cols-2 lg:grid-cols-4 gap-4 md:gap-5",children:t.prizes.map((e,l)=>{let t=r===l;return(0,a.jsxs)("div",{className:"relative rounded-2xl p-5 pt-6 text-center border",style:{background:"var(--card-bg)",color:"var(--card-text)",borderColor:"var(--color-border)"},children:[e.valueLabel&&(0,a.jsx)("span",{className:"absolute top-3 right-3 z-10 px-3 py-1 rounded-full text-[0.72rem] font-extrabold text-white",style:{backgroundColor:"var(--color-button)"},children:e.valueLabel}),(0,a.jsx)("div",{className:"h-[150px] flex items-center justify-center mb-4",children:e.image?(0,a.jsx)(em.Z,{media:e.image,fit:"contain",className:"max-h-[150px] w-auto object-contain",style:{objectFit:"contain",maxHeight:150}}):(0,a.jsx)("div",{className:"w-full h-full rounded-xl",style:{background:"var(--color-cream-light)"}})}),e.brand&&(0,a.jsx)("div",{className:"text-[0.68rem] font-extrabold uppercase tracking-widest mb-1",style:{color:"var(--color-button)"},children:e.brand}),(0,a.jsx)("h3",{className:"text-base",children:e.title}),e.description&&(0,a.jsx)("p",{className:"text-sm mt-1",style:{color:"var(--card-text-secondary)"},children:e.description}),tz(e.contents)&&(0,a.jsxs)("div",{"data-prize-pop":!0,className:"relative mt-3",children:[(0,a.jsxs)("button",{type:"button",onClick:()=>o(t?null:l),"aria-expanded":t,className:"inline-flex items-center gap-1 cursor-pointer text-[0.7rem] font-extrabold uppercase tracking-wider",style:{color:"var(--color-button)"},children:["Was ist drin?",(0,a.jsx)("svg",{className:"w-3 h-3 transition-transform ".concat(t?"rotate-180":""),viewBox:"0 0 12 12",fill:"none",stroke:"currentColor",strokeWidth:2,children:(0,a.jsx)("path",{d:"M2 4l4 4 4-4",strokeLinecap:"round",strokeLinejoin:"round"})})]}),t&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"lg:hidden mt-2 text-left text-sm ".concat(tE),style:{color:"var(--card-text-secondary)"},children:(0,a.jsx)(i.A,{data:e.contents})}),(0,a.jsxs)("div",{role:"dialog",className:"hidden lg:block absolute bottom-full left-1/2 -translate-x-1/2 mb-3 z-30 w-64 max-w-[82vw] rounded-2xl p-4 pt-9 text-left text-sm shadow-2xl ".concat(tE),style:{background:"var(--card-bg)",color:"var(--card-text-secondary)",border:"1px solid var(--color-border)"},children:[(0,a.jsx)("button",{type:"button",onClick:()=>o(null),"aria-label":"Schlie\xdfen",className:"absolute top-2.5 right-2.5 w-6 h-6 flex items-center justify-center rounded-full text-xl leading-none hover:opacity-60",style:{color:"var(--card-text-secondary)"},children:"\xd7"}),(0,a.jsxs)("div",{className:"mb-2",children:[e.brand&&(0,a.jsx)("div",{className:"text-[0.6rem] font-extrabold uppercase tracking-widest",style:{color:"var(--color-button)"},children:e.brand}),(0,a.jsx)("div",{className:"font-bold",style:{color:"var(--card-text)"},children:e.title})]}),(0,a.jsx)(i.A,{data:e.contents}),(0,a.jsx)("span",{className:"absolute top-full left-1/2 -translate-x-1/2 -mt-[7px] w-3.5 h-3.5 rotate-45",style:{background:"var(--card-bg)",borderRight:"1px solid var(--color-border)",borderBottom:"1px solid var(--color-border)"}}
1)]})]})]})]},e.id||l)})}),t.disclaimer&&(0,a.jsx)("p",{className:"mt-6 text-center text-sm opacity-60",children:t.disclaimer})]})})},tL=e=>{let{item:l}=e,[t,r]=(0,s.useState)(!!l.openByDefault);return(0,a.jsxs)("div",{className:"flex flex-col py-4 pr-6",style:{borderBottom:"1px solid var(--color-border, rgba(0,0,0,0.1))"},children:[(0,a.jsxs)("div",{onClick:()=>r(!t),className:"cursor-pointer flex items-center",children:[(0,a.jsx)("strong",{className:"text-lobster",style:{color:"var(--color-highlight)"},children:l.question}),(0,a.jsx)("div",{className:"ml-auto",style:{color:"var(--color-foreground)"},children:t?(0,a.jsx)(b.Z,{className:"w-6 h-6"}):(0,a.jsx)(j.Z,{className:"w-6 h-6"})})]}),t&&(0,a.jsx)("div",{className:"mt-4",style:{color:"var(--color-foreground)"},children:l.answer})]})},tA=e=>{var l;let{block:t}=e;return(null===(l=t.items)||void 0===l?void 0:l.length)?(0,a.jsx)(n.Z,{blockBackground:t.blockBackground,blockPadding:t.blockPadding,children:(0,a.jsxs)("div",{className:"col-span-12 lg:col-start-3 lg:col-span-8",children:[t.eyebrow&&(0,a.jsx)("div",{className:"mb-3 text-xs font-extrabold uppercase tracking-widest text-center",style:{color:"var(--color-button)"},children:t.eyebrow}),(0,a.jsx)(r.TW,{headline:t.headline}),t.items.map((e,l)=>(0,a.jsx)(tL,{item:e},e.id||l))]})}):null}},50846:function(e,l,t){"use strict";t.d(l,{HO:function(){return i.H},NC:function(){return r.N}}),t(19517);var r=t(60758),a=t(97758),s=t(80665),n=t(82081);(0,s.forwardRef)((e,l)=>{let{media:t,autoPlay:r=!0,muted:s=!0,loop:i=!0,playsInline:o=!0,controls:c=!1,...d}=e;if(!t)return null;let u=function(e){if("string"==typeof e)return e;let l=(0,n.AA)();return e.url?e.url.startsWith("http")?e.url:"".concat(l).concat(e.url):"".concat(l,"/media/").concat(e.filename)}(t);return(0,a.jsx)("video",{ref:l,src:u,autoPlay:r,muted:s,loop:i,playsInline:o,controls:c,...d})}).displayName="PayloadVideo",t(39762),t(54161),t(16087);var i=t(72566);t(41948),t(39514)},97248:function(e,l,t){"use strict";t.d(l,{Z:function(){return m}});var r=t(97758),a=t(80665),s=t(48831),n=t.n(s),i=t(65677),o=t(21487),c=t(9006);let d=n()(()=>t.e(5839).then(t.bind(t,95839)).then(e=>{let l=e.GumletPlayer,t=e=>{let{playerRef:t,...a}=e;return(0,r.jsx)(l,{ref:t,...a})};return t.displayName="GumletEmbedAdapter",t}),{loadableGenerated:{webpack:()=>[null]},ssr:!1,loading:()=>(0,r.jsx)(c.Z,{kind:"loading"})}),u=e=>"number"==typeof e&&Number.isFinite(e)?e:0;var m=(0,a.forwardRef)(function(e,l){let{playback:t,videoKey:s,title:n,autoplay:c=!1,startAtFraction:m=null,tracking:x,className:h}=e,p=(0,a.useRef)(null),v=(0,a.useRef)(!1),g=(0,a.useRef)(!1),f=(0,a.useRef)(null),b=(0,a.useRef)(e);b.current=e,(0,a.useEffect)(()=>(v.current=!1,g.current=!1,()=>{f.current&&clearTimeout(f.current),f.current=null}),[s]);let j=(0,a.useCallback)(async()=>{let e=p.current;if(!e)return;let{startAtFraction:l,startAtSeconds:t,autoplay:r}=b.current;try{if("number"==typeof t&&t>0||"number"==typeof l&&l>0&&l<1){let r=function(e){let{seconds:l=null,fraction:t=null,duration:r}=e;return"number"==typeof l&&Number.isFinite(l)&&l>0?r>0&&l>=r?null:Math.floor(l):"number"==typeof t&&t>0&&t<1&&r>0?Math.floor(r*t):null}({seconds:t,fraction:l,duration:u(await e.getDuration())});null!==r&&e.setCurrentTime(r)}r&&e.play()}catch(e){}},[]),w=(0,a.useCallback)(()=>{var e,l;v.current||(v.current=!0,null===(e=(l=b.current).onReady)||void 0===e||e.call(l),f.current&&clearTimeout(f.current),f.current=setTimeout(()=>{f.current=null,j()},150))},[j]),k=(0,a.useCallback)(()=>{var e,l;g.current=!1,null===(e=(l=b.current).onPlay)||void 0===e||e.call(l)},[]),y=(0,a.useCallback)(()=>{var e,l;return null===(e=(l=b.current).onPause)||void 0===e?void 0:e.call(l)},[]),N=(0,a.useCallback)(()=>{var e,l;g.current||(g.current=!0,null===(e=(l=b.current).onEnded)||void 0===e||e.call(l))},[]),Z=(0,a.useCallback)(e=>{var l,t;null===(l=(t=b.current).onTimeUpdate)||void 0===l||l.call(t,{seconds:u(null==e?void 0:e.seconds),duration:u(null==e?void 0:e.duration)})},[]),P=(0,a.useCallback)(e=>{var l,t;null===(l=(t=b.current).onSeeked)||void 0===l||l.call(t,{seconds:u(null==e?void 0:e.seconds),duration:u(null==e?void 0:e.duration)})},[]),C=(0,a.useCallback)(e=>{var l,t;let r=u(null==e?void 0:e.playbackRate);r>0&&(null===(l=(t=b.current).onPlaybackRateChange)||void 0===l||l.call(t,r))},[]),B=(0,a.useCallback)(e=>{var l,t;null===(l=(t=b.current).onFullScreenChange)||void 0===l||l.call(t,!!(null==e?void 0:e.isFullScreen))},[]),S=(0,a.useCallback)(e=>{var l,t;return null===(l=(t=b.current).onError)||void 0===l?void 0:l.call(t,e)},[]);return(0,a.useImperativeHandle)(l,()=>({play:()=>{var e;v.current&&(null===(e=p.current)||void 0===e||e.play())},pause:()=>{var e;v.current&&(null===(e=p.current)||void 0===e||e.pause())},setCurrentTime:e=>{var l;v.current&&(null===(l=p.current)||void 0===l||l.setCurrentTime(e))},getCurrentTime:()=>v.current&&p.current?p.current.getCurrentTime().then(u):Promise.resolve(0),getDuration:()=>v.current&&p.current?p.current.getDuration().then(u):Promise.resolve(0)}),[]),(0,r.jsx)("div",{className:(0,i.Z)("relative aspect-video w-full bg-dark overflow-hidden",h),"data-vi
1deo-key":s,children:(0,r.jsx)(d,{playerRef:p,videoID:t.gumletId,title:n,style:{position:"relative",width:"100%",height:"100%"},preload:!0,autoplay:!1,...null!=x?x:{},...(0,o.J)(t),onReady:w,onPlay:k,onPause:y,onEnded:N,onTimeUpdate:Z,onSeeked:P,onPlaybackRateChange:C,onFullScreenChange:B,onError:S},s)})})},9006:function(e,l,t){"use strict";t.d(l,{Z:function(){return i}});var r=t(97758);t(80665);var a=t(65677),s=t(13462);let n={loading:{text:"",primary:null},forbidden:{text:"Dieses Video ist Teil des Kurses — jetzt freischalten.",primary:"Kurs ansehen"},unavailable:{text:"Dieses Video wird gerade umgestellt und ist in K\xfcrze wieder verf\xfcgbar.",primary:null},error:{text:"Video konnte nicht geladen werden.",primary:"Erneut versuchen"},login:{text:"Bitte melde dich an, um dieses Video zu sehen.",primary:"Anmelden"}};function i(e){let{kind:l,onPrimary:t,primaryLabel:i,className:o,posterUrl:c}=e,d=n[l],u=null!=i?i:d.primary;return(0,r.jsxs)("div",{className:(0,a.Z)("relative aspect-video w-full bg-dark text-white flex items-center justify-center overflow-hidden",o),role:"loading"===l?"status":void 0,"aria-live":"error"===l?"polite":void 0,"data-player-message":l,children:[c&&(0,r.jsx)("div",{className:"absolute inset-0 bg-cover bg-center opacity-60",style:{backgroundImage:'url("'.concat(c,'")')},"aria-hidden":"true"}),"loading"===l?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"relative block h-10 w-10 rounded-full border-4 border-white/30 border-t-white animate-spin","aria-hidden":"true"}),(0,r.jsx)("span",{className:"sr-only",children:"Video wird geladen …"})]}):(0,r.jsxs)("div",{className:"relative flex flex-col items-center gap-4 px-6 text-center max-w-md",children:[(0,r.jsx)("p",{className:"m-0 text-base md:text-lg",children:d.text}),u&&t&&(0,r.jsx)(s.Z,{variant:"primary",size:"small",onClick:()=>t(),children:u})]})]})}},81590:function(e,l,t){"use strict";var r=t(97758),a=t(80665),s=t(94564),n=t(77451),i=t(11224),o=t(8217),c=t(25774),d=t(77920);l.Z=e=>{let{tabs:l,singleTabTitle:t=!1,bleed:u=!0}=e,{width:m}=(0,s.Z)(),[x,h]=(0,a.useState)(!1);return((0,n.Z)(()=>{h(m<=1024)},200,[m]),0===l.length)?null:(0,r.jsx)("div",{className:d.MC,children:1===l.length?(0,r.jsxs)(r.Fragment,{children:[t&&(0,r.jsx)("h3",{className:"mb-6",children:l[0].title}),(0,r.jsx)(c.Z,{bleed:u,children:l[0].items})]}):x?(0,r.jsx)(o.UQ,{type:"single",collapsible:!0,defaultValue:"1",className:d.sy,children:l.map((e,l)=>(0,r.jsxs)(o.Qd,{value:String(l+1),children:[(0,r.jsx)(o.o4,{className:"text-xl m-0 px-2",children:e.title}),(0,r.jsx)(o.vF,{className:d.dl,children:(0,r.jsx)(c.Z,{bleed:u,children:e.items})})]},l))}):(0,r.jsxs)(i.mQ,{defaultValue:"0",children:[(0,r.jsx)(i.dr,{className:d.MW,children:l.map((e,l)=>(0,r.jsx)(i.SP,{value:String(l),className:d.iG,children:e.title},l))}),l.map((e,l)=>(0,r.jsx)(i.nU,{value:String(l),children:(0,r.jsx)(c.Z,{bleed:u,children:e.items})},l))]})})}},77920:function(e,l,t){"use strict";t.d(l,{MC:function(){return r},MW:function(){return a},dl:function(){return i},iG:function(){return s},sy:function(){return n}});let r="w-full",a="rounded-none border-b w-full justify-start gap-0 h-auto p-0 mb-4 border-[color:var(--color-border)] text-[color:var(--color-foreground)]",s="shadow-none text-xl px-5 py-3 block rounded-none relative m-0 text-[color:var(--color-foreground)] data-[state=active]:shadow-none after:absolute after:bottom-[-2px] after:left-0 after:right-0 after:h-1 after:w-full after:bg-current after:rounded-[50px] after:opacity-0 after:transition-opacity after:duration-300 hover:after:bg-lobster-02-soft hover:after:opacity-100 data-[state=active]:after:opacity-100",n="border-t mt-10 [&_div[data-state]]:!overflow-visible",i="pb-10"},62315:function(e){e.exports={swiper:"shSlider_swiper__Xtgic",shSlider:"shSlider_shSlider__e0_wu",shSliderChildrenWrapper:"shSlider_shSliderChildrenWrapper__lJLEc",shSliderHeader:"shSlider_shSliderHeader__MmGGP",shSliderBottom:"shSlider_shSliderBottom__GR6SO",shSliderMoreWrapper:"shSlider_shSliderMoreWrapper__EWjyx",shSliderMoreLeft:"shSlider_shSliderMoreLeft__9J0SU",shSliderMoreRight:"shSlider_shSliderMoreRight__Kd_h9",arrowDisabled:"shSlider_arrowDisabled__rfCVX",innerSlide:"shSlider_innerSlide__j0iWG",overflow:"shSlider_overflow__AwTQi",bleed:"shSlider_bleed__g15s_"}},27388:function(e){e.exports={marqueeRow:"catalog-marquee_marqueeRow__LLzfH",marqueeLeft:"catalog-marquee_marqueeLeft__GEl9k",scrollLeft:"catalog-marquee_scrollLeft__M1Eix",marqueeRight:"catalog-marquee_marqueeRight__tq7Zy",scrollRight:"catalog-marquee_scrollRight__h3vAt"}}}]);

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.