PageSourceSearch

https://www.rabensjogren.se/static/js/AuthorPage.6dbfc0da.chunk.js

js rabensjogren.se collected 2026-09-24 09:37:30 UTC 23,148 bytes, 2 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[9479],{7353:function(n,t,e){e.d(t,{AM:function(){return i},T$:function(){return o}});var i=/<(?!br\s*\/?)[^>]+>/g,o=/\\"/g},86604:function(n,t){var e=!1;try{var i=Object.defineProperty({},"passive",{get:function(){return e=!0,!0}});window.addEventListener("test",null,i),window.removeEventListener("test",null,i)}catch(o){}t.Z=e},36579:function(n,t,e){var i=e(95764),o=e(31619);t.Z=function(n){var t,e=n||{},r=e.background_position,l=e.background_size,a=e.credit,d=e.image,s=e.background_color,c=(null===d||void 0===d?void 0:d.title)||"",u=(null===d||void 0===d?void 0:d.url)||"",p=d?(0,i.Z)({mimeType:null===d||void 0===d||null===(t=d.meta)||void 0===t?void 0:t.mime_type},d.meta):{};return d&&delete p.mime_type,{backgroundColor:o.Z[s]||s||void 0,backgroundPosition:r,backgroundSize:l,credit:a,title:c,url:u,meta:p}}},69831:function(n,t,e){var i,o,r,l=e(95764),a=e(89810),d=e(81034),s=e(99500),c=(e(30969),e(85255)),u=e(22626),p=e(90576),v=e(33747),x=e(16809),h=e(52555),m=e(10604),f=e(37574),g=["breadcrumbs"],b=(0,c.Z)("ul")(i||(i=(0,s.Z)(["\n    display: flex;\n    flex-wrap: wrap;\n"]))),Z=(0,c.Z)("li")(o||(o=(0,s.Z)(["\n    display: block;\n    margin: 0;\n    span {\n        opacity: 0.5;\n    }\n\n    &:last-of-type {\n        span.title {\n            opacity: 1;\n        }\n    }\n"]))),w=(0,c.Z)(v.Z)(r||(r=(0,s.Z)(["\n    color: inherit;\n    a {\n        color: inherit;\n    }\n"])));w.defaultProps={textStyles:"Stabil Grotesk/14-140"};var y=function(n){var t=n.breadcrumbs,e=(0,d.Z)(n,g),i=(0,h.$)().t,o=(0,x.v9)((function(n){return n.page})),r=(0,x.v9)((function(n){return n.application.config.options.paths})),s=t||function(){var n,t,e=[{title:i("breadcrumbs.start"),permalink:"/"}],l=(null===o||void 0===o||null===(n=o.data)||void 0===n?void 0:n.title)||"",d=(null===o||void 0===o||null===(t=o.data)||void 0===t?void 0:t.ancestors)||[];if("author"===o.type)e.push({title:"F\xf6rfattare & illustrat\xf6rer",permalink:null===r||void 0===r?void 0:r.authors});else if("post"===o.type)e.push({title:"Magasin",permalink:null===r||void 0===r?void 0:r.blog});else if("product"===o.type){var s,c,u,p;e=[];var v,x=(0,m.iZ)(null===o||void 0===o||null===(s=o.data)||void 0===s||null===(c=s.product)||void 0===c?void 0:c.categories);if((null===x||void 0===x?void 0:x.length)>0)(v=e).push.apply(v,(0,a.Z)(x));l=(null===o||void 0===o||null===(u=o.data)||void 0===u||null===(p=u.product)||void 0===p?void 0:p.name)||""}else if(d.length>0){var h;(h=e).push.apply(h,(0,a.Z)(d))}return e.push({title:l}),e}();return(0,f.jsx)(b,(0,l.Z)((0,l.Z)({},e),{},{children:s.map((function(n,t){return n.title&&(0,f.jsx)(Z,{children:(0,f.jsxs)(u.Z,{to:n.permalink||n.to||"",children:[t>0&&(0,f.jsx)(w,{children:"/"}),(0,f.jsx)(w,{className:"title",children:(0,p.Z)(n.title)})]})},n.title)}))}))};y.defaultProps={breadcrumbs:void 0},t.Z=y},73012:function(n,t,e){e.d(t,{Z:function(){return y}});var i,o=e(95764),r=e(99710),l=e(81034),a=e(99500),d=e(30969),s=e(85255),c=e(31619),u=e(95870),p=e(86604),v="undefined"===typeof window?d.useEffect:d.useLayoutEffect,x=new Set,h=function(){return x.forEach((function(n){return n()}))},m=e(87366),f=e(39455),g=e(37574),b=["color"],Z=(0,s.Z)("button",{shouldForwardProp:function(n){return-1===["showScrollIndication","color"].indexOf(n)}})(i||(i=(0,a.Z)(["\n    display: none;\n    "," {\n        display: block;\n        position: absolute;\n        bottom: 32px;\n        right: 32px;\n        z-index: 2;\n        height: 40px;\n        width: 63px;\n        transition: opacity 300ms ease-out;\n        cursor: initial;\n        opacity: ",";\n        border: 1px solid ",";\n        border-radius: 16px;\n        background-color: transparent;\n        box-shadow: none;\n        outline: none;\n        &.clickable {\n            cursor: pointer;\n        }\n        svg {\n            position: absolute;\n            top: 50%;\n            left: 50%;\n            transform: translate(-50%, -50%);\n            path {\n                transition: stroke 300ms ease-out;\n            }\n        }\n    }\n"])),f.aE.md,(function(n){return n.showScrollIndication?"1":"0"}),(function(n){return n.color})),w=function(n){var t=n.color,e=(0,l.Z)(n,b),i=(0,d.useState)(!0),a=(0,r.Z)(i,2),s=a[0],c=a[1],f=(0,d.useRef)(null);return(0,d.useEffect)((function(){document.getElementById("pageContent")&&f.current&&f.current.classList.add("clickable")}),[]),function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return!0},e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=(0,d.useRef)(null);i.current||u.N9||(i.current={callback:n,data:{direction:{x:null,y:null},position:{x:0,y:0}},shouldTrigger:t,unsubscribe:function(){}},i.current.unsubscribe=function(n){var t=function(){var t=window.scrollX||window.pageXOffset,e=window.scrollY||window.pageYOffset,i={direction:{x:n.data.position.x>
1t?"LEFT":n.data.position.x<t?"RIGHT":null,y:n.data.position.y<e?"DOWN":n.data.position.y>e?"UP":null},position:{x:t,y:e}};n.shouldTrigger(i,n.data)&&n.callback(i),n.data=i};return x.size||window.addEventListener("scroll",h,!!p.Z&&{passive:!0}),x.add(t),function(){x.delete(t),x.size||window.removeEventListener("scroll",h)}}(i.current));var o=i.current;v((function(){o&&(o.callback=n,o.shouldTrigger=t)}),e),v((function(){return null===o||void 0===o?void 0:o.unsubscribe}),[]),null===o||void 0===o||o.unsubscribe}((function(){c(!s)}),(function(n){var t=n.position,e=null===f||void 0===f?void 0:f.current,i=t.y;if(e){var o=e.getBoundingClientRect().top,r=e.offsetHeight+(o>0?o:0);if(i>r&&!s)return!1;if(i<=r&&s)return!1}return!0}),[s]),(0,g.jsx)(Z,(0,o.Z)((0,o.Z)({ref:f},e),{},{color:t,type:"button",showScrollIndication:s,onClick:function(){var n=document.getElementById("pageContent");n&&n.scrollIntoView({behavior:"smooth"})},children:(0,g.jsx)(m.Z,{color:t,direction:"down"})}))};w.defaultProps={color:c.Z.white,theme:"outlinedWhite"};var y=w},43115:function(n,t,e){var i,o,r=e(99500),l=(e(30969),e(85255)),a=e(22626),d=e(43295),s=e(33747),c=e(95316),u=e(39455),p=e(90576),v=e(44465),x=e(37574),h=(0,l.Z)("div")(i||(i=(0,r.Z)(["\n    position: relative;\n    transition: border-radius ",";\n    overflow: hidden;\n    :hover {\n        border-radius: 48px;\n    }\n    &:after {\n        content: '';\n        display: block;\n        padding-bottom: ","%;\n    }\n\n    .large & {\n        &:after {\n            padding-bottom: 100%;\n        }\n    }\n    & > * {\n        position: absolute;\n        top: 0;\n        bottom: 0;\n    }\n"])),c.Z.primaryFast,(100/(459/614)).toFixed(2)),m=(0,l.Z)(a.Z)(o||(o=(0,r.Z)(["\n    display: flex;\n    flex-direction: column;\n    gap: 12px;\n\n    p {\n        &.text {\n            display: -webkit-box;\n            -webkit-line-clamp: 2;\n            -webkit-box-orient: vertical;\n            overflow: hidden;\n            line-clamp: 2;\n            overflow: hidden;\n\n            "," {\n                padding-top: 4px;\n            }\n        }\n    }\n"])),u.aE.lg),f=function(n){var t=n.children;return(0,x.jsx)(s.Z,{as:"p",className:"text",textStyles:"Stabil Grotesk/14-140",children:t})};f.defaultProps={children:null};var g=function(n){var t=n.title,e=n.url,i=n.image,o=n.text;return(0,x.jsxs)(m,{to:e,children:[(0,x.jsx)(h,{children:(0,x.jsx)(d.Z,{background:i,type:"image"})}),(0,x.jsx)(s.Z,{pt:"4px",textStyles:["Stabil Grotesk/16-140",null,null,"Stabil Grotesk/32-120"],children:(0,p.Z)(t)}),o&&(0,x.jsx)(v.Z,{data:o,textComponent:f})]})};g.defaultProps={image:{},text:"",title:"",url:""},t.Z=g},57334:function(n,t,e){var i,o,r,l=e(99500),a=(e(30969),e(85255)),d=e(31619),s=e(33747),c=e(22626),u=e(39455),p=e(37574),v=(0,a.Z)("div")(i||(i=(0,l.Z)(["\n    display: flex;\n    flex-direction: column;\n    min-height: 100%;\n    width: 100%;\n\n    "," {\n        display: flex;\n        min-height: 100%;\n        width: 100%;\n    }\n"])),u.aE.xl),x=(0,a.Z)("div")(o||(o=(0,l.Z)(["\n    display: flex;\n    flex-direction: column;\n    gap: 8px;\n    margin-bottom: 16px;\n"]))),h=(0,a.Z)(c.Z)(r||(r=(0,l.Z)(["\n    text-decoration: underline;\n    text-underline-position: under;\n"]))),m=function(n){var t=n.metaData,e=n.title;return(0,p.jsx)(v,{children:t.map((function(n,t){var i=n.label,o=n.value,r=n.url;return(0,p.jsxs)(x,{children:[(0,p.jsx)(s.Z,{as:"p",color:d.Z.black50,textStyles:["Stabil Grotesk/14-100 CAPS"],children:i}),"media"===i.toLowerCase()?(0,p.jsx)(h,{to:"https://press.norstedtsforlagsgrupp.se/search/?query=".concat(encodeURIComponent(e),"&tab=images"),children:(0,p.jsx)(s.Z,{className:"artist",textStyles:["Stabil Grotesk/16-100"],children:o})}):(0,p.jsx)(h,{to:r||"",children:(0,p.jsx)(s.Z,{className:"artist",textStyles:["Stabil Grotesk/16-100"],children:o})})]},i+t)}))})};m.defaultProps={metaData:[],title:""},t.Z=m},45679:function(n,t,e){var i,o,r,l=e(99500),a=(e(30969),e(24974)),d=e.n(a),s=e(43295),c=e(85255),u=e(39455),p=e(33747),v=e(433),x=e(31619),h=e(73012),m=e(60703),f=e(39660),g=e(90576),b=e(37574),Z=(0,c.Z)("div")(),w=(0,c.Z)("div")(i||(i=(0,l.Z)(["\n    position: relative;\n    width: 100%;\n\n    &:after {\n        content: '';\n        display: block;\n        padding-bottom: ","%;\n        "," {\n            padding-bottom: ","%;\n        }\n    }\n\n    & > div {\n        position: absolute;\n        top: 0;\n        right: 0;\n        bottom: 0;\n        left: 0;\n    }\n"])),150,u.aE.md,75),y=(0,c.Z)(v.Z)(o||(o=(0,l.Z)(["\n    height: 100%;\n    width: 100%;\n    text-align: center;\n    padding-top: 16px;\n    padding-bottom: 24px;\n\n    "," {\n        padding-top: 40px;\n        padding-bottom: 32px;\n    }\n"])),u.aE.lg),k=(0,c.Z)("div")(r||(r=(0,l.Z)(["\n    grid-column: 1 / span 12;\n"])));d().node;var j=function(n){var t=n.asHero,e=n.background,i=n.backgroundType,o=n.color,r=n.heading,l=n.tag,a=n.contentPosition,d=(0,f.Z)("lg");return(0,b.jsxs)(Z,{as:d?m.Z:w,color:x.Z[o]||o,isHero:t,children:[(0,b.jsx)(h.Z,{color:x.Z[o]}),(0,b.jsx)(s.Z,{background:e,type:i,mediaQuery:[{w:375,h:562.5},{w:768,h:576},{w:1024,h:896},{w:1440,h:943},{w:1920,h:1280}],children:(0,b.jsx)(y,{alignItems:{top:"start",center:"center",bottom:"end"}[a],children:(0,b.jsxs)(k,{children:[r&&(0,b.jsx)("div",{className:"heading",children:(0,b.jsx)(p.Z,{mb:"24px",as:"h1",textStyles:["Stabil Grotesk/40-110","Stabil Grotesk/64-100","Stabil Grotesk/104-100"],children:(0,g.Z)(r)})}),l&&(0,b.jsx)("div",{className:"tag",children:(0,b.jsx)(p.Z,{as:"p",textStyles:["Stabil Grotesk/14-100 CAPS",null,"Stabil Grotesk/16-100 CAPS"],children:l})})]})})})]})};j.defaultProps={asHero:!1,background:{},backgroundType:"image",color:"inherit",contentPosition:"center",heading:"",tag:""},t.Z=j},98287:function(n,t,e){e.d(t,{Z:function(){return K}});var i,o,r,l,a,d=e(99710),s=e(99500),c=e(30969),u=e(85255),p=e(33747),v=e(89810),x=e(52555),h=e(39455),m=e(31619),f=e(86470),g=e(92226),b=e(80722),Z=e(51412),w=e(95316),y=e(51194),k=e(12887),j=e(7353),S=e(154),_=e(45781),P=e(37574),E=(0,u.Z)("div")(i||(i=(0,s.Z)([""]))),C=(0,u.Z)("div")(o||(o=(0,s.Z)(["\n    position: relative;\n    background: ",";\n    transition: border-radius ",";\n    overflow: hidden;\n\n    a {\n        ::before {\n            content: '';\n            position: absolute;\n            top: 0;\n            bottom: 0;\n            left: 0;\n            right: 0;\n            z-index: 0;\n            display: block;\n        }\n    }\n\n    .navigation {\n        position: absolute;\n        width: 100%;\n        bottom: -1px;\n        left: 50%;\n        transform: translate(-50%, 0);\n        z-index: 2;\n        justify-content: center;\n        background-color: ",";\n\n        button {\n            padding: 32px 12px;\n        }\n    }\n\n    "," {\n        .navigation {\n            opacity: 0;\n            pointer-events: none;\n            transition: opacity ",";\n            button {\n                pointer-events: none;\n            }\n        }\n\n        :hover {\n            border-radius: 40px;\n            .navigation {\n                opacity: 1;\n                button {\n                    pointer-events: initial;\n                }\n            }\n        }\n    }\n"])),m.Z.warmGrey,w.Z.primary,m.Z.warmGrey,h.BC.hover,w.Z.primary),G=(0,u.Z)("div")(r||(r=(0,s.Z)(["\n    position: relative;\n\n    &:after {\n        content: '';\n        display: block;\n        ","\n    }\n\n    & > * {\n        position: absolute;\n        top: 0;\n        bottom: 0;\n        width: 100%;\n        display: flex;\n        align-items: center;\n        opacity: 0;\n        transition: opacity ",";\n        &[data-active] {\n            opacity: 1;\n            z-index: 1;\n        }\n    }\n"])),"padding-bottom: ".concat((100/(3/4)).toFixed(2),"%;"),w.Z.primary),L=(0,u.Z)("div")(l||(l=(0,s.Z)(["\n    padding: 0 8px;\n\n    "," {\n        padding: 0 12px;\n    }\n\n    "," {\n        padding: 0 24px;\n    }\n\n    img {\n        object-fit: contain;\n        height: 100%;\n        width: 100%;\n    }\n"])),h.aE.md,h.aE.lg),N=(0,u.Z)("div")(a||(a=(0,s.Z)(["\n    text-align: left;\n    padding: 0 24px;\n    "," {\n        padding: 0 40px;\n    }\n\n    & > div {\n        position: relative;\n        width: 100%;\n        height: 100%;\n\n        &::after {\n            content: '';\n            display: block;\n            padding-bottom: 95%;\n        }\n        &::before {\n            content: '';\n            background: linear-gradient(180deg, transparent, ",");\n            position: absolute;\n            bottom: 0;\n            left: 0;\n            width: 100%;\n            height: 20px;\n        }\n        & > div {\n            position: absolute;\n            top: 0;\n            bottom: 0;\n            padding: 54px 0;\n            height: 100%;\n            width: 100%;\n\n            -ms-overflow-style: none;\n            scrollbar-width: none;\n\n            &::-webkit-scrollbar {\n                display: none;\n            }\n        }\n    }\n"])),h.aE.md,m.Z.warmGrey),A=function(n){var t=n.alt,e=n.image;return(0,P.jsx)(L,{"data-active":!0,children:(0,P.jsx)(y.Z,{ratio:"1",children:e?(0,P.jsx)(b.Z,{alt:t,placeholder:(0,f.$o)(e,{m:"max",w:280,h:280}),src:{url:e,width:[200,300,400,500]},title:t,sizes:["50vw","25vw"]}
1):(0,P.jsx)(k.Z,{margin:"auto 0"})})})};A.defaultProps={alt:"",image:null};var I=function(n){n.alt;var t=n.image;return(0,P.jsx)(Z.Z,{src:(0,f.aT)(t||g.l7,500),query:[{w:375,q:70},{w:768,q:70},{w:1024,q:70},{w:1440,q:70},{w:1920,q:70},{w:2200,q:70}]})},T=function(n){var t=n.text,e=(0,x.$)().t;return(0,P.jsx)(N,{children:(0,P.jsx)(E,{children:(0,P.jsxs)(E,{overflow:"scroll",children:[(0,P.jsx)(p.Z,{as:"p",mb:"16px",textStyles:"Stabil Grotesk/16-100 CAPS",children:e("product.about")}),t&&(0,P.jsx)(p.Z,{as:"div",textStyles:["Tiempos/14-140",null,"Tiempos/16-145"],dangerouslySetInnerHTML:{__html:t.replace("</p><p>","</p><br><p>").replace(j.AM,"")}})]})})})};T.defaultProps={text:""};var z=function(n){var t=n.coverImage,e=n.description,i=n.image,o=n.name,r=(0,c.useRef)(),l=function(n){var t=r.current,e=t.children,i="next"===n.target.dataset.direction?1:-1,o=t.querySelector("[data-active]"),l=(0,v.Z)(e).indexOf(o)+i;l<0&&(l=e.length-1),l>=e.length&&(l=0),e[l].dataset.active=!0,delete o.dataset.active},a=[t&&(0,P.jsx)(I,{image:t.url}),e&&(0,P.jsx)(T,{text:e})].filter((function(n){return n})),d=function(n){n.preventDefault(),n.stopPropagation()};return(0,P.jsxs)(C,{children:[(0,P.jsxs)(G,{className:"slides",ref:r,children:[(0,P.jsx)(A,{alt:o,image:i}),a]}),(0,P.jsx)(S.Z,{breakpoint:"lg",render:function(){return a.length>0&&(0,P.jsxs)("div",{className:"navigation",onClick:d,children:[(0,P.jsx)("button",{type:"button","data-direction":"prev",onClick:l,children:(0,P.jsx)(_.Z,{direction:"left",width:"24px",height:"16px",color:m.Z.black})}),(0,P.jsx)("button",{type:"button","data-direction":"next",onClick:l,children:(0,P.jsx)(_.Z,{direction:"right",width:"24px",height:"16px",color:m.Z.black})})]})}})]})};z.defaultProps={coverImage:"",description:"",image:"",name:""};var D,H,q,O=z,B=e(22626),$=e(74938),F=e(31970),R=(0,u.Z)("div")(D||(D=(0,s.Z)(["\n    text-align: center;\n    border-radius: 0px;\n    cursor: pointer;\n\n    "," {\n        :hover {\n            border-radius: 48px;\n        }\n    }\n\n    transition: border-radius ",";\n"])),h.BC.hover,w.Z.primary),U=(0,u.Z)("div")(H||(H=(0,s.Z)(["\n    display: block;\n"]))),M=(0,u.Z)("div")(q||(q=(0,s.Z)(["\n    text-overflow: ellipsis;\n    overflow: hidden;\n    white-space: nowrap;\n    margin-bottom: 4px;\n\n    @supports (-webkit-line-clamp: 2) {\n        display: -webkit-box;\n        -webkit-line-clamp: 2;\n        -webkit-box-orient: vertical;\n        text-overflow: unset;\n        white-space: unset;\n    }\n"]))),J=function(n){var t=n.product,e=t.description,i=t.name,o=t.files,r=t.image,l=t.url,a=t.parametrics,s=(0,F.Z)(a,"".concat($.d$,".value"),[]),c=(0,F.Z)(a,"".concat($.PN,".value"),[]),u=(o||[]).filter((function(n){return n.code===$.cZ})).slice(1),v=(0,d.Z)(u,1)[0];return(0,P.jsx)(R,{children:(0,P.jsxs)(B.Z,{to:l,children:[(0,P.jsx)(O,{coverImage:v,description:e,image:r,name:i}),(0,P.jsxs)(U,{mt:"16px",px:"16px",children:[(0,P.jsx)(M,{children:(0,P.jsx)(p.Z,{as:"p",textStyles:"Stabil Grotesk/14-140",children:[s,c].filter((function(n){return n})).flat().map((function(n){return null===n||void 0===n?void 0:n.value})).join(", ")})}),(0,P.jsx)(p.Z,{as:"p",textStyles:["Stabil Grotesk/16-140",null,"Stabil Grotesk/20-120"],children:i})]})]})})};J.defaultProps={product:null};var K=J},60703:function(n,t,e){var i,o=e(95764),r=e(81034),l=e(99500),a=(e(30969),e(16809)),d=e(85255),s=e(60397),c=e(37574),u=["isHero"],p=(0,d.Z)("div")(i||(i=(0,l.Z)(["\n    position: relative;\n    width: 100vw;\n"]))),v=function(n){var t=n.isHero,e=(0,r.Z)(n,u),i=(0,a.v9)((function(n){return n.header.isUspActive})),l=t&&i?"calc(100vh - ".concat(s.J.usp,"px)"):"100vh";return(0,c.jsx)(p,(0,o.Z)({height:l},e))};v.defaultProps={isHero:!1},t.Z=v},93854:function(n,t,e){e.r(t),e.d(t,{default:function(){return O}});var i=e(99500),o=e(30969),r=e(52555),l=e(85255),a=e(29222),d=e(39455),s=e(57334),c=e(77137),u=e(51157),p=e(45679),v=e(19880),x=e(69831),h=e(433),m=e(60397),f=e(31619),g=e(39660),b=e(95764),Z=e(16809),w=e(49751),y=e(70167),k=e(36579),j=e(93221),S=e(98287),_=e(43115),P=e(74938),E=e(37574),C=function(n){var t=n.posts,e=n.products,i=(0,r.$)().t,o=["32px","48px","80px"];return(0,E.jsxs)(E.Fragment,{children:[(null===e||void 0===e?void 0:e.length)>
10&&(0,E.jsx)(j.Z,{mb:o,title:i("article.footer.products"),children:e.map((function(n,t){return(0,E.jsx)(S.Z,{product:n},"relatedArticle".concat(n.objectID).concat(t))}))}),(null===t||void 0===t?void 0:t.length)>0&&(0,E.jsx)(j.Z,{mb:o,title:i("article.footer.articles"),children:t.map((function(n,t){var e=n.title,i=n.url,o=n.settings,r=(null===o||void 0===o?void 0:o.background_image)||{};return(0,E.jsx)("div",{children:(0,E.jsx)(_.Z,{image:(0,k.Z)(r),text:null===o||void 0===o?void 0:o.preamble,title:e,url:i})},"relatedArticle".concat(e).concat(t))}))})]})};C.defaultProps={posts:[],products:[]};var G,L,N,A,I=(0,w.Z)(C),T=function(n){var t=n.authorCode,e=(0,Z.v9)((function(n){return n.application.locale})).toLowerCase(),i=[{indexName:"products_".concat(e),params:{facets:[],hitsPerPage:50,distinct:1,filters:[["parametrics.".concat(P.d$,'.value.code:"').concat(t||0,'"'),"parametrics.".concat(P.PN,'.value.code:"').concat(t||0,'"')]]}},{indexName:"posts_".concat(e),query:"",params:{facets:[],hitsPerPage:50,filters:[["post_type:post"],['settings.authors:"'.concat(t,'"')]]}}];return(0,E.jsx)(y.Z,{parameters:i,responseCallback:function(n){var t=(n[1]||{}).hits||[];return{products:(n[0]||{}).hits||[],posts:t}},render:function(n){return(0,E.jsx)(I,(0,b.Z)({},n))}})},z=(0,l.Z)("div")(G||(G=(0,i.Z)([""]))),D=(0,l.Z)(h.Z)(L||(L=(0,i.Z)(["\n    display: block;\n    position: absolute;\n    top: ","px;\n    z-index: 1;\n    color: ",";\n    "," {\n        top: ","px;\n    }\n"])),m.J.mobile,f.Z.white,d.aE.lg,m.J.desktop),H=(0,l.Z)("div")(N||(N=(0,i.Z)(["\n    display: flex;\n    flex: wrap;\n    flex-direction: row;\n    justify-content: space-between;\n    gap: 16px;\n\n    margin-top: 24px;\n    margin-bottom: 32px;\n\n    "," {\n        flex-direction: column-reverse;\n        margin-top: 64px;\n        position: absolute;\n        left: 0;\n    }\n"])),d.aE.xl);H.defaultProps={px:[c.w.mobile.margin,c.w.tablet.margin,c.w.desktop.margin]};var q=(0,l.Z)("div")(A||(A=(0,i.Z)(["\n    margin-top: 24px;\n\n    "," {\n        min-height: 300px;\n        margin-top: 64px;\n    }\n"])),d.aE.xl),O=function(n){var t,e,i,l,d,c,h,m,b,Z,w,y,k,j,S,_,P,C,G,L,N,A=n.data,I=(0,r.$)().t,O=(0,g.Z)("lg"),B=(0,o.useRef)(null),$=A||{},F=$.page_content,R=$.settings,U=$.title,M=null===R||void 0===R?void 0:R.storm_code,J=[{label:I("author.photo_by"),value:(null===R||void 0===R||null===(t=R.meta)||void 0===t?void 0:t.image_author)||"",url:(null===R||void 0===R||null===(e=R.meta)||void 0===e||null===(i=e.image_author)||void 0===i?void 0:i.url)||""},{label:I("author.product"),value:(null===R||void 0===R||null===(l=R.meta)||void 0===l||null===(d=l.product_link)||void 0===d?void 0:d.text)||"",url:(null===R||void 0===R||null===(c=R.meta)||void 0===c||null===(h=c.product_link)||void 0===h?void 0:h.url)||""},{label:I("author.website"),value:(null===R||void 0===R||null===(m=R.meta)||void 0===m||null===(b=m.website_link)||void 0===b?void 0:b.text)||"",url:(null===R||void 0===R||null===(Z=R.meta)||void 0===Z||null===(w=Z.website_link)||void 0===w?void 0:w.url)||""},{label:I("author.media"),value:(null===R||void 0===R||null===(y=R.meta)||void 0===y||null===(k=y.media_link)||void 0===k?void 0:k.text)||I("author.press"),url:(null===R||void 0===R||null===(j=R.meta)||void 0===j||null===(S=j.media_link)||void 0===S?void 0:S.url)||""}].filter((function(n){return n.label&&n.value})),K=null===R||void 0===R||null===(_=R.mobile_background_image)||void 0===_?void 0:_.background_color,V=null===R||void 0===R||null===(P=R.mobile_background_image)||void 0===P||null===(C=P.image)||void 0===C?void 0:C.url,W=null===R||void 0===R||null===(G=R.background_image)||void 0===G?void 0:G.background_color,X=null===R||void 0===R||null===(L=R.background_image)||void 0===L||null===(N=L.image)||void 0===N?void 0:N.url,Y=O?X:V||X,Q=O?W:K||W;return(0,E.jsxs)(v.Z,{children:[(0,E.jsx)(D,{children:(0,E.jsx)(x.Z,{})}),(0,E.jsx)(p.Z,{asHero:!0,background:{backgroundColor:Y&&f.Z[Q]||f.Z.purple,url:Y},backgroundType:"image",color:"white",contentPosition:"bottom",heading:U}),(0,E.jsxs)(H,{children:[!!J.length&&(0,E.jsx)(s.Z,{metaData:J,title:U}),(0,E.jsx)(u.Z,{direction:"down",position:["absolute","relative"],right:["12px","0"],theme:"outlinedBlack",size:"cta",arrowSize:"xsmall",onClick:function(){return null===B||void 0===B?void 0:B.current.scrollIntoView({behavior:"smooth",block:"start"})},children:I("author.view_books")})]}),(0,E.jsx)(q,{children:F&&(0,E.jsx)(a.G,{modules:F})}),M&&(0,E.jsx)(z,{ref:B,children:(0,E.jsx)(T,{authorCode:M})})]})}}}]);
2//# sourceMappingURL=AuthorPage.6dbfc0da.chunk.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.