PageSourceSearch

https://mcheizung.de/_next/static/chunks/8200.63a4bd1ca8d764e5.js

js mcheizung.de collected 2026-10-07 07:47:48 UTC 18,001 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8200],{18200:function(o,e,t){t.r(e),t.d(e,{default:function(){return u},generateHtmlFromStyles:function(){return C},generateStylesFromAttributes:function(){return b},getDisplayClasses:function(){return k},orderedBreakpoints:function(){return x},truncateContent:function(){return f}});var r=t(59499);t(67294);var n=t(15590),i=t(9008),a=t.n(i),l=t(85893);function s(o,e){var t=Object.keys(o);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(o);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(o,e).enumerable})),t.push.apply(t,r)}return t}function c(o){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?s(Object(t),!0).forEach(function(e){(0,r.Z)(o,e,t[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(t)):s(Object(t)).forEach(function(e){Object.defineProperty(o,e,Object.getOwnPropertyDescriptor(t,e))})}return o}var d=t(72564);class u extends n.Po{constructor(o){super(o),this.state=c(c({},this.state),{},{htmlStyles:null})}generateStylesFromAttributes(){return b(this.props.attributes?this.props.attributes:{},this)}generateHtmlFromStyles(){return C(this.generateStylesFromAttributes(),this)}hasFonts(){var o=this.installedFonts.map(o=>o.css).join("\r\n");return!!o&&!!(o.length>0)}doNotRender(o){return(null==o?void 0:o.hideOnLargeDevices)&&(null==o?void 0:o.hideFromNavigationBreakpointDownwards)&&(null==o?void 0:o.hideOnMediumDevices)&&(null==o?void 0:o.hideOnSmallDevices)}shouldNotLoadLazily(o){var e;return null!==(e=null==o?void 0:o.disableLazyLoading)&&void 0!==e&&e}render(){var o,e,t,r,n,i,s,u,p,g,b,h,v,m,y,S=!!this.props.nowrapper&&this.props.nowrapper,k=this.props.tag?this.props.tag:"div",f=this.props.customKey?this.props.customKey:this.props.id,x=this.props.customStyles?this.props.customStyles:{},C=this.props.customRef,_=null!==(o=null===(e=this.props)||void 0===e?void 0:null===(t=e.attributes)||void 0===t?void 0:t.customClass)&&void 0!==o?o:null,O="";null!==(r=this.props)&&void 0!==r&&r.className&&(O+=" ".concat(this.props.className)),_&&(O+=" ".concat(_)),O=""!==O?this.removeSpaces(O):null;var w=0===Object.keys(c({},this.generateStylesFromAttributes())).length&&Object.getPrototypeOf(c({},this.generateStylesFromAttributes()))===Object.prototype,F=this.generateHtmlFromStyles();if(this.doNotRender(this.props.attributes))return null;var j=null!==(n=null===(i=this.props)||void 0===i?void 0:null===(s=i.attributes)||void 0===s?void 0:null===(u=s.css_fontFamily)||void 0===u?void 0:null===(p=u.name)||void 0===p?void 0:null===(g=p.toLowerCase())||void 0===g?void 0:g.replace(/\s/g,"_"))&&void 0!==n?n:"no_font";return(0,l.jsxs)(l.Fragment,{children:[(null===(b=this.props.attributes)||void 0===b?void 0:b.foregroundOverlay)&&(0,l.jsx)(a(),{children:(0,l.jsx)("style",{"data-style-id":this.props.id,dangerouslySetInnerHTML:{__html:"\n              #".concat(this.props.id," {\n                    position: relative;\n                  }\n                  #").concat(this.props.id,"::after {\n                    content: '';\n                    display: block;\n                    position: absolute;\n                    top: 0;\n                    right: 0;\n                    bottom: 0;\n                    left: 0;\n                    z-index: 2;\n                    width: 100%;\n                    height: 100%;\n                    background-image: ").concat(this.prepareCSSVariable(this.props.attributes.foregroundOverlay),";\n                  }")}})}),!S&&!w&&(0,l.jsxs)(l.Fragment,{children:[this.hasFonts()&&(0,l.jsx)(a(),{children:(0,l.jsx)("style",{id:this.props.id+"_styles","data-style-id":this.props.id,dangerouslySetInnerHTML:{__html:this.installedFonts.map(o=>o.css).join("\r\n")}},j)}),this.props.forceChildStyle&&""!==F&&(0,l.jsx)(a(),{children:(0,l.jsx)("style",{"data-style-id":this.props.id,dangerouslySetInnerHTML:{__html:F}})}),(0,l.jsx)(k,c(c({className:O,id:this.props.id,ref:C,style:c({},x)},this.props.customProps),{},{onFocus:null!==(h=this.props)&&void 0!==h&&h.onFocus?this.props.onFocus:null,onBlur:null!==(v=this.props)&&void 0!==v&&v.onBlur?this.props.onBlur:null,children:this.props.children}),f)]}),!S&&w&&(0,l.jsx)(k,c(c({className:O,id:this.props.id,ref:C},this.props.customProps),{},{style:c({},x),onFocus:null!==(m=this.props)&&void 0!==m&&m.onFocus?this.props.onFocus:null,onBlur:null!==(y=this.props)&&void 0!==y&&y.onBlur?this.props.onBlur:null,children:this.props.children}),f),S&&w&&(0,l.jsx)(l.Fragment,{children:this.props.children}),S&&!w&&(0,l.jsxs)(l.Fragment,{children:[this.hasFonts()&&(0,l.jsx)(a(),{children:(0,l.jsx)("style",{"data-style-id":this.props.id,id:this.props.id+"_styles",dangerouslySetInnerHTML:{__html:this.installedFonts.map(o=>o.css).join("\r\n")}},j)}),""!==F&&(0,l.jsx)(a(),{children:(0,l.jsx)("style",{"data-style-id":this.props.id,dangerouslySetInnerHTML:{__html:F}},f+"_2")}),x&&0===Object.keys(x).length&&Object.getPrototypeOf(x)===Object.prototype&&(0,l.jsx)(a(),{children:(0,l.jsx)("style",{"data-style-id":this.props.id+"_customStyles",dangerouslySetInnerHTML:{__html:"#".concat(this.props.id," {").concat(d(x),"}")}},f+"_3")}),this.props.children]})]})}}var p=(o,e)=>{var t;return null!==(t=o)&&void 0!==t&&t.startsWith("--")?"var(".concat(o,")"):(o&&"string"==typeof o&&o.startsWith("{{")&&(o=e.getProp(o.slice(2,-2),o)),o)},g=function(o){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return o&&o.startsWith("var")&&!o.includes("gradient")&&!o.includes("-bg-")&&!o.includes("-overlay-")?o.includes("rgb")?"rgba(".concat(o,", ").concat(e,")"):"rgba(".concat(o.replace(")","-rgb)"),", ").concat(e,")"):o},b=function(o){var e,t,r,n,i,a,l,s,d,u,b,k,f,x=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,C=c({},o),_={},O=!1,w=!1,F=!1;if(!x)return console.log("No this defined in generateStylesFromAttributes");o&&"dynamicDataMapping"in o&&o.dynamicDataMapping.forEach(o=>{""!==o.query.text&&(C[o.field]=p(o.query.text,x))}),"overlay"in C&&""!==C.overlay&&(O=!0),"backgroundSize"in C&&""!==C.backgroundSize&&"css_backgroundSize"in C&&(C.css_backgroundSize=C.backgroundSize),"excludeHeadings"in C&&!1!==C.excludeHeadings&&(w=!0),"useOriginalImage"in C&&!1!==C.useOriginalImage&&(F=!0);var j="backgroundOpacity"in C&&""!==C.backgroundOpacity?C.backgroundOpacity:1;if(null!=o){var P=function(o){var e=C[o],t={},r=null;"string"==typeof e&&e.length>0&&e.includes("noValue")&&(e=e.replace("noValue",""));try{if((o.endsWith("navigationBreakpoint")||o.endsWith("medium")||o.endsWith("small")||o.endsWith("hover")||o.endsWith("active"))&&(r=o.split("_").slice(-1)[0],o=o.split("_").slice(0,-1).join("_")),"overlay"===o&&""!==e&&(t[o]=x.prepareCSSVariable(e),t.background=x.prepareCSSVariable(e),"css_backgroundImage"in C&&("small"===r||"medium"===r?t.background+=', url
1("'.concat(x.getImage(c(c({},C.css_backgroundImage),{},{useOriginal:!0})),'/webp_medium")'):t.background+=', url("'.concat(x.getImage(c(c({},C.css_backgroundImage),{},{useOriginal:!0}))).concat(F?"":"/webp_large",'")'))),null!==(a=o)&&void 0!==a&&a.startsWith("gradient")||null!==(l=o)&&void 0!==l&&l.startsWith("backgroundPosition")||null!==(s=o)&&void 0!==s&&s.startsWith("backgroundSize")||null!==(d=o)&&void 0!==d&&d.startsWith("boxShadow"))t[o]=x.prepareCSSVariable(e);else if(null!==(u=o)&&void 0!==u&&u.toLowerCase().startsWith("css_")&&e&&""!==e){if("css_fontFamily"===o&&e&&e.name)x&&x.installFont&&x.installFont(e),t.fontFamily="'".concat(e.name,"' !important");else if("css_backgroundImage"===o)t[o]=x.prepareCSSVariable(e),"string"!=typeof e||O?e&&!O&&("small"===r||"medium"===r?t.background='url("'.concat(x.getImage(c(c({},e),{},{useOriginal:!0})),'/webp_medium")'):t.background='url("'.concat(x.getImage(c(c({},e),{},{useOriginal:!0}))).concat(F?"":"/webp_large",'")')):t.background=x.prepareCSSVariable(e);else if("css_backgroundColor"===o)O||("css_backgroundImage"in C?"small"===r||"medium"===r?t.background='url("'.concat(x.getImage(c(c({},C.css_backgroundImage),{},{useOriginal:!0})),'/webp_medium"), ').concat(g(x.prepareCSSVariable(e),j)):t.background='url("'.concat(x.getImage(c(c({},C.css_backgroundImage),{},{useOriginal:!0}))).concat(F?"":"/webp_large",'"), ').concat(g(x.prepareCSSVariable(e),j)):t.background=g(x.prepareCSSVariable(e),j));else if(e&&"string"==typeof e)try{t[null===(p=o)||void 0===p?void 0:p.split(RegExp("css_","i"))[1]]=x.prepareCSSVariable(x.camelToKebab(e))}catch(n){console.error("'typeof v === 'string':",n)}else if(e&&Array.isArray(e)&&e.length>0){if(e[0].startsWith("x_"))t[null===(b=o)||void 0===b?void 0:b.split(RegExp("css_","i"))[1]]=x.prepareCSSVariable(e[0].split("x_")[1]);else try{t[null===(h=o)||void 0===h?void 0:h.split(RegExp("css_","i"))[1]]=x.prepareCSSVariable(x.camelToKebab(e))}catch(i){console.error("Array.isArray(v):",i)}}}else if("customCSS"===o){var a,l,s,d,u,p,b,h,v=e;v.startsWith(".")||v.startsWith("#")||v.startsWith("@")||v.startsWith("selector")?t.withSelector=v:v.split("\n").forEach(o=>{if(""!==o)try{var e=o.split(":")[0],r=o.split(":")[1].replace(";","");t[e.replace(/-([a-z])/g,o=>o[1].toUpperCase())]=r}catch(n){}})}else"noBoxShadow"===o?t.boxShadow="none":"disableColumnResizing"===o&&(t.flex="0 0 auto");r?(_.breakpoints||(_.breakpoints={}),_.breakpoints[r]=c(c({},_.breakpoints[r]),t)):_=c(c({},_),t)}catch(m){console.log("Error in generateStylesFromAttributes:",m)}I=o};for(var I of Object.keys(C))P(I)}if(S(_)&&(_.boxShadow=S(_)),y(_)&&(_.backgroundPosition=y(_)),null!==(e=_)&&void 0!==e&&e.gradientFirstColor&&(_.background=m(_,x),null!==(i=_)&&void 0!==i&&i.css_backgroundImage&&(_.background+=", url(".concat(x.getImage(_.css_backgroundImage),")"))),(null!==(t=_)&&void 0!==t&&t.gradientFirstColor||null!==(r=_)&&void 0!==r&&r.overlay)&&(null!==(a=_)&&void 0!==a&&a.backgroundPosition&&(_.backgroundPosition="center, ".concat(_.backgroundPosition)),null!==(l=_)&&void 0!==l&&l.backgroundSize&&(_.backgroundSize="cover, ".concat(_.backgroundSize))),null!==(n=_)&&void 0!==n&&n.breakpoints)for(var W in _.breakpoints)S(_.breakpoints[W])&&(_.breakpoints[W].boxShadow=S(_.breakpoints[W])),y(_.breakpoints[W])&&(_.breakpoints[W].backgroundPosition=y(_.breakpoints[W])),null!==(s=_.breakpoints[W])&&void 0!==s&&s.gradientFirstColor&&(_.breakpoints[W].background=m(_.breakpoints[W],x),null!==(d=_.breakpoints[W])&&void 0!==d&&d.css_backgroundImage?_.breakpoints[W].background+=", url(".concat(x.getImage(_.breakpoints[W].css_backgroundImage),")"):null!==(u=_)&&void 0!==u&&u.css_backgroundImage&&(_.background+=", url(".concat(x.getImage(_.css_backgroundImage),")")),(null!==(b=_.breakpoints[W])&&void 0!==b&&b.gradientFirstColor||null!==(k=_.breakpoints[W])&&void 0!==k&&k.overlay)&&(_.breakpoints[W].backgroundPosition&&(_.breakpoints[W].backgroundPosition="center, ".concat(_.breakpoints[W].backgroundPosition)),null!==(f=_.breakpoints[W])&&void 0!==f&&f.backgroundSize&&(_.breakpoints[W].backgroundSize="cover, ".concat(_.breakpoints[W].backgroundSize))));var B=h(_);return B=v(B),w&&(B=c(c({},B),{},{excludeHeadings:!0})),B},h=o=>{var e,t,r,n=c({},o),i=["gradientFirstColor","gradientSecondColor","gradientOpacityFirstColor","gradientOpacitySecondColor","gradientPositionFirstColor","gradientPositionSecondColor","gradientAngle","gradientType","boxShadowX","boxShadowY","boxShadowBlur","boxShadowSpread","boxShadowColor","boxShadowPosition","backgroundPositionX","backgroundPositionY","gradientRadialPosition","css_backgroundImage","overlay","-U20GradientGray"];for(var a of i)null==n||delete n[a];if(null!=n&&n.breakpoints)for(var l in n.breakpoints)for(var s of i)null===(e=n.breakpoints[l])||void 0===e||delete e[s];var d=Object.keys(n).sort().reduce((o,e)=>(o[e]=n[e],o),{});if(null!=d&&d.borderColor){var u=d.borderColor;delete d.borderColor,d.borderColor=u}if(null!=d&&d.borderStyle){var p=d.borderStyle;delete d.borderStyle,d.borderStyle=p}if(null!=d&&d.breakpoints)for(var g in d.breakpoints){if(null!==(t=d.breakpoints[g])&&void 0!==t&&t.borderColor){var b=d.breakpoints[g].borderColor;delete d.breakpoints[g].borderColor,d.breakpoints[g].borderColor=b}if(null!==(r=d.breakpoints[g])&&void 0!==r&&r.borderStyle){var h=d.breakpoints[g].borderStyle;delete d.breakpoints[g].borderStyle,d.breakpoints[g].borderStyle=h}}return d},v=o=>{var e=c({},o);for(var t in e)("vw"===e[t]||"vh"===e[t]||"px"===e[t]||"%"===e[t]||"em"===e[t]||"pt"===e[t]||null===e[t])&&delete e[t];return e},m=(o,e)=>{if(null!=o&&o.gradientFirstColor){var t,r,n,i,a,l,s,c="",d=null!==(t=null==o?void 0:o.gradientOpacityFirstColor)&&void 0!==t?t:1,u=null!==(r=null==o?void 0:o.gradientOpacitySecondColor)&&void 0!==r?r:1,p=null!=o&&o.gradientPositionFirstColor&&(null==o?void 0:o.gradientPositionFirstColor)!==""?null==o?void 0:o.gradientPositionFirstColor:0,b=null!=o&&o.gradientPositionSecondColor&&(null==o?void 0:o.gradientPositionSecondColor)!==""?null==o?void 0:o.gradientPositionSecondColor:100,h=null!==(n=null==o?void 0:o.gradientAngle)&&void 0!==n?n:180,v=null!==(i=null==o?void 0:null===(a=o.gradientType)||void 0===a?void 0:a[0])&&void 0!==i?i:"linear",m=null!==(l=null==o?void 0:o.gradientRadialPosition)&&void 0!==l?l:["center"],y=g(e.prepareCSSVariable(o.gradientFirstColor),d),S=o.gradientSecondColor?g(e.prepareCSSVariable(o.gradientSecondColor),u):y;return"linear"===v?c="linear-gradient(".concat(h,"deg, ").concat(y," ").concat(p,"%, ").concat(S," ").concat(b,"%)"):"radial"===v&&(c="radial-gradient(ellipse at ".concat(null==m?void 0:null===(s=m[0])||void 0===s?void 0:s.replace("_"," "),", ").concat(y," ").concat(p,"%, ").concat(S," ").concat(b,"%)")),c}},y=o=>
1{if(null!=o&&o.backgroundPositionX||null!=o&&o.backgroundPositionY){var e,t,r=null!==(e=null==o?void 0:o.backgroundPositionX)&&void 0!==e?e:"0",n=null!==(t=null==o?void 0:o.backgroundPositionY)&&void 0!==t?t:"0";return"".concat(r," ").concat(n)}return null},S=o=>{if(null!=o&&o.boxShadowX||null!=o&&o.boxShadowY||null!=o&&o.boxShadowBlur||null!=o&&o.boxShadowSpread){var e,t,r,n,i,a,l=null!==(e=null==o?void 0:o.boxShadowX)&&void 0!==e?e:"0",s=null!==(t=null==o?void 0:o.boxShadowY)&&void 0!==t?t:"0",c=null!==(r=null==o?void 0:o.boxShadowBlur)&&void 0!==r?r:"0",d=null!==(n=null==o?void 0:o.boxShadowSpread)&&void 0!==n?n:"0",u=null!==(i=null==o?void 0:o.boxShadowColor)&&void 0!==i?i:"0",p=(null==o?void 0:null===(a=o.boxShadowPosition)||void 0===a?void 0:a[0])==="inset"?"inset":"";return"".concat(l," ").concat(s," ").concat(c," ").concat(d," ").concat(u," ").concat(p)}return null},k=o=>{var e="";return o&&(o.hideOnSmallDevices&&(e+="u20-d-sm-none "),o.hideOnMediumDevices&&(e+="u20-d-md-none "),o.hideFromNavigationBreakpointDownwards&&(e+="u20-d-nb-none "),o.hideOnLargeDevices&&(e+="u20-d-lg-none ")),e},f=o=>{var e=o.substring(0,100);return"</p>"!==e.substring(e.length-4)?e+" ...</p>":e.slice(0,-4)+" ...</p>"},x=o=>{try{var e,t=parseInt(null==o?void 0:null===(e=o.getProp("activeDesign.navigationBreakpoint","1350"))||void 0===e?void 0:e.replace(/\D/g,"")),r={navigationBreakpoint:t,medium:991,small:767},n=[t,991,767].sort((o,e)=>e-o);return[...null==n?void 0:n.map(o=>{for(var e in r)if(r[e]===o)return e}),"hover","active"]}catch(i){return console.error("orderedBreakpoints",i),["navigationBreakpoint","medium","small","hover","active"]}},C=function(o,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=null!==(c=null==e?void 0:e.getProp("activeDesign.navigationBreakpoint"))&&void 0!==c?c:"1350px";try{var n="",i=[{breakpointSelector:null,styles:o}],a={navigationBreakpoint:{root:!0,selector:"@media (max-width: ".concat(r,")")},medium:{root:!0,selector:" @media (max-width: 991px) "},small:{root:!0,selector:" @media (max-width: 767px) "},hover:{root:!1,selector:":hover "},active:{root:!1,selector:".active "}},l=x(e);if(o.breakpoints)for(var s of l){var c,u,p=null==o?void 0:null===(u=o.breakpoints)||void 0===u?void 0:u[s];p&&i.push({breakpointSelector:null==a?void 0:a[s],childStyle:null,styles:p})}for(var g of i)!function(o){var r="",i=o.styles,a=o.breakpointSelector?o.breakpointSelector.selector:null,l=o.breakpointSelector?o.breakpointSelector.root:null,s=!1==l?a:"",c={},u={},p={},g="";for(var b of Object.keys(i)){var h=i[b];b.includes("breakpoints")||("fontFamily"===b||"fontWeight"===b?p[b]=h:b.includes("font")&&"fontFamily"!==b&&"fontWeight"!==b||b.includes("text")||"color"===b||"letterSpacing"===b||"lineHeight"===b||"hyphens"===b?u[b]=h:"withSelector"===b?g=h:c[b]=h)}var v=[{styles:c,childSelector:""},{styles:g,content:"withSelector"},{styles:u,childSelector:null!=i&&i.excludeHeadings?":where(".concat(e.props.forceChildStyle,":not(h1, h2, h3, h4, h5, h6))"):e.props.forceChildStyle},{content:"fontFamily",styles:p,childSelector:null!=i&&i.excludeHeadings?":where(:not(.u20-fa, h1, h2, h3, h4, h5, h6))":":not(.u20-fa)"}];for(var m of v){var y=m.styles;if(null!=y&&y.excludeHeadings&&delete y.excludeHeadings,!(y&&0===Object.keys(y).length&&Object.getPrototypeOf(y)===Object.prototype)){if(t){if("fontFamily"===m.content){var S=t.split(",").join("".concat(m.childSelector,","));r=" ".concat(S).concat(m.childSelector).concat(s," { ").concat(d(y)," } \r\n ")}else{var k=t.endsWith("*"),f=t;if(k&&(f=t.substring(0,t.length-2)),f.includes(",")){var x=f.split(","),C="";x.forEach(o=>{C+="".concat(o).concat(s,",")}),C=C.substring(0,C.length-1),r=" ".concat(C).concat(k?" * ":" ","{ ").concat(d(y)," } \r\n ")}else r=" ".concat(t).concat(s," { ").concat(d(y)," } \r\n ")}}else if("withSelector"===m.content){var _="#".concat(e.props.id);r=m.styles.split("selector").join(_)}else r="fontFamily"===m.content?" #".concat(e.props.id).concat(s).concat(m.childSelector,", #").concat(e.props.id).concat(s," *").concat(m.childSelector," { ").concat(d(y)," }"):" #".concat(e.props.id).concat(s," ").concat(m.childSelector,", #").concat(e.props.id).concat(s," { ").concat(d(y)," }");n=!0==l&&a?n+a+"{ ".concat(r," } \r\n  "):n+r+" \r\n  "}}}(g);return n}catch(b){return console.error("generateHtmlFromStyles",b),""}}}}]);

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.