1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="64bf8b26-4d47-4c3c-a9e6-7bfdd162cc10",e._sentryDebugIdIdentifier="sentry-dbid-64bf8b26-4d47-4c3c-a9e6-7bfdd162cc10")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4790],{83199:function(e){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GET_COMMUNITY_POSTS"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"searchTerm"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"userId"}},type:{kind:"NamedType",name:{kind:"Name",value:"ID"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"brandId"}},type:{kind:"NamedType",name:{kind:"Name",value:"ID"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"pagination"}},type:{kind:"NamedType",name:{kind:"Name",value:"Options"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"commentCount"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"categories"}},type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"categorySlug"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"order"}},type:{kind:"NamedType",name:{kind:"Name",value:"Order"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"editorsChoice"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"mediaType"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"isQuestion"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"posts"},arguments:[{kind:"Argument",name:{kind:"Name",value:"searchTerm"},value:{kind:"Variable",name:{kind:"Name",value:"searchTerm"}}},{kind:"Argument",name:{kind:"Name",value:"userId"},value:{kind:"Variable",name:{kind:"Name",value:"userId"}}},{kind:"Argument",name:{kind:"Name",value:"brandId"},value:{kind:"Variable",name:{kind:"Name",value:"brandId"}}},{kind:"Argument",name:{kind:"Name",value:"pagination"},value:{kind:"Variable",name:{kind:"Name",value:"pagination"}}},{kind:"Argument",name:{kind:"Name",value:"commentCount"},value:{kind:"Variable",name:{kind:"Name",value:"commentCount"}}},{kind:"Argument",name:{kind:"Name",value:"categories"},value:{kind:"Variable",name:{kind:"Name",value:"categories"}}},{kind:"Argument",name:{kind:"Name",value:"categorySlug"},value:{kind:"Variable",name:{kind:"Name",value:"categorySlug"}}},{kind:"Argument",name:{kind:"Name",value:"order"},value:{kind:"Variable",name:{kind:"Name",value:"order"}}},{kind:"Argument",name:{kind:"Name",value:"editorsChoice"},value:{kind:"Variable",name:{kind:"Name",value:"editorsChoice"}}},{kind:"Argument",name:{kind:"Name",value:"mediaType"},value:{kind:"Variable",name:{kind:"Name",value:"mediaType"}}},{kind:"Argument",name:{kind:"Name",value:"isQuestion"},value:{kind:"Variable",name:{kind:"Name",value:"isQuestion"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"edges"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"node"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"slug"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"closed"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"moderationStatus"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isQuestion"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasMarkedAsBestComment"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isEditorsChoice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"image"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"createdAt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"uploadPath"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"publicUri"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"fileSize"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"optimized"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"publicUri"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"media"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"createdAt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"uploadPath"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"fileSize"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"publicUri"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"commentCount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"brand"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"slug"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"user"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"username"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"avatar"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"category"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"slug"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"createdAt"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"endCursor"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasNextPage"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"totalCount"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:1418}};n.loc.source={body:"query GET_COMMUNITY_POSTS(\n $searchTerm: String\n $userId: ID\n $brandId: ID\n $pagination: Options\n $commentCount: Int\n $categories: [ID]\n $categorySlug: String\n $order: Order\n $editorsChoice: Boolean\n $mediaType: String\n $isQuestion: Boolean\n) {\n posts(\n searchTerm: $searchTerm\n userId: $userId\n brandId: $brandId\n pagination: $pagination\n commentCount: $commentCount\n categories: $categories\n categorySlug: $categorySlug\n order: $order\n editorsChoice: $editorsChoice\n mediaType: $mediaType\n isQuestion: $isQuestion\n ) {\n edges {\n node {\n id\n title\n slug\n description\n closed\n moderationStatus\n isQuestion\n hasMarkedAsBestComment\n isEditorsChoice\n image {\n id\n createdAt\n uploadPath\n publicUri\n fileSize\n optimized {\n publicUri\n }\n }\n media {\n id\n createdAt\n uploadPath\n fileSize\n type\n publicUri\n }\n commentCount\n brand {\n id\n name\n slug\n }\n user {\n id\n username\n avatar\n }\n category {\n id\n title\n slug\n }\n createdAt\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n totalCount\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var i={};function t(e,n){for(var i=0;i<e.definitions.length;i++){var t=e.definitions[i];if(t.name&&t.name.value==n)return t}}n.definitions.forEach(function(e){if(e.name){var n=new Set;(function e(n,i){if("FragmentSpread"===n.kind)i.add(n.name.value);
1else if("VariableDefinition"===n.kind){var t=n.type;"NamedType"===t.kind&&i.add(t.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(n){e(n,i)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(n){e(n,i)}),n.definitions&&n.definitions.forEach(function(n){e(n,i)})})(e,n),i[e.name.value]=n}}),e.exports=n,e.exports.GET_COMMUNITY_POSTS=function(e,n){var a={kind:e.kind,definitions:[t(e,n)]};e.hasOwnProperty("loc")&&(a.loc=e.loc);var d=i[n]||new Set,r=new Set,o=new Set;for(d.forEach(function(e){o.add(e)});o.size>0;){var l=o;o=new Set,l.forEach(function(e){r.has(e)||(r.add(e),(i[e]||new Set).forEach(function(e){o.add(e)}))})}return r.forEach(function(n){var i=t(e,n);i&&a.definitions.push(i)}),a}(n,"GET_COMMUNITY_POSTS")},4069:function(e){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GET_USER_FOLLOWED_CONTENT_BY_CONTENT_ID"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"userId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"contentId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"contentType"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"me"},arguments:[{kind:"Argument",name:{kind:"Name",value:"userId"},value:{kind:"Variable",name:{kind:"Name",value:"userId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isContentFollowed"},arguments:[{kind:"Argument",name:{kind:"Name",value:"userId"},value:{kind:"Variable",name:{kind:"Name",value:"userId"}}},{kind:"Argument",name:{kind:"Name",value:"contentId"},value:{kind:"Variable",name:{kind:"Name",value:"contentId"}}},{kind:"Argument",name:{kind:"Name",value:"contentType"},value:{kind:"Variable",name:{kind:"Name",value:"contentType"}}}],directives:[]}]}}]}}],loc:{start:0,end:256}};n.loc.source={body:"query GET_USER_FOLLOWED_CONTENT_BY_CONTENT_ID(\n $userId: ID!\n $contentId: ID!\n $contentType: String!\n) {\n me(userId: $userId) {\n id\n isContentFollowed(\n userId: $userId\n contentId: $contentId\n contentType: $contentType\n )\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var i={};function t(e,n){for(var i=0;i<e.definitions.length;i++){var t=e.definitions[i];if(t.name&&t.name.value==n)return t}}n.definitions.forEach(function(e){if(e.name){var n=new Set;(function e(n,i){if("FragmentSpread"===n.kind)i.add(n.name.value);else if("VariableDefinition"===n.kind){var t=n.type;"NamedType"===t.kind&&i.add(t.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(n){e(n,i)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(n){e(n,i)}),n.definitions&&n.definitions.forEach(function(n){e(n,i)})})(e,n),i[e.name.value]=n}}),e.exports=n,e.exports.GET_USER_FOLLOWED_CONTENT_BY_CONTENT_ID=function(e,n){var a={kind:e.kind,definitions:[t(e,n)]};e.hasOwnProperty("loc")&&(a.loc=e.loc);var d=i[n]||new Set,r=new Set,o=new Set;for(d.forEach(function(e){o.add(e)});o.size>0;){var l=o;o=new Set,l.forEach(function(e){r.has(e)||(r.add(e),(i[e]||new Set).forEach(function(e){o.add(e)}))})}return r.forEach(function(n){var i=t(e,n);i&&a.definitions.push(i)}),a}(n,"GET_USER_FOLLOWED_CONTENT_BY_CONTENT_ID")},8589:function(e,n,i){var t=i(20256)("length");e.exports=t},24333:function(e,n,i){var t=i(53366),a=i(15125);e.exports=function(e){return a(e)&&"[object RegExp]"==t(e)}},82302:function(e,n,i){var t=i(8589),a=i(33880),d=i(35555);e.exports=function(e){return a(e)?d(e):t(e)}},35555:function(e){var n="\ud800-\udfff",i="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",t="\ud83c[\udffb-\udfff]",a="[^"+n+"]",d="(?:\ud83c[\udde6-\uddff]){2}",r="[\ud800-\udbff][\udc00-\udfff]",o="(?:"+i+"|"+t+")?",l="[\\ufe0e\\ufe0f]?",s="(?:\\u200d(?:"+[a,d,r].join("|")+")"+l+o+")*",u=RegExp(t+"(?="+t+")|(?:"+[a+i+"?",i,d,r,"["+n+"]"].join("|")+")"+(l+o+s),"g");e.exports=function(e){for(var n=u.lastIndex=0;u.test(e);)++n;return n}},40859:function(e,n,i){var t=i(24333),a=i(47826),d=i(4146),r=d&&d.isRegExp,o=r?a(r):t;e.exports=o},5707:function(e,n,i){var t=i(7642),a=1/0;e.exports=function(e){return e?(e=t(e))===a||e===-a?(e<0?-1:1)*17976931348623157e292:e==e?e:0:0===e?e:0}},38101:function(e,n,i){var t=i(5707);e.exports=function(e){var n=t(e),i=n%1;return n==n?i?n-i:n:0}},36585:function(e,n,i){var t=i(1054),a=i(23895),d=i(33880),r=i(29259),o=i(40859),l=i(82302),s=i(8435),u=i(38101),c=i(66188),m=/\w*$/;e.exports=function(e,n){var i=30,v="...";if(r(n)){var g="separator"in n?n.separator:g;i="length"in n?u(n.length):i,v="omission"in n?t(n.omission):v}var p=(e=c(e)).length;if(d(e)){var f=s(e);p=f.length}if(i>=p)return e;var k=i-l(v);if(k<1)return v;var b=f?a(f,0,k).join(""):e.slice(0,k);if(void 0===g)return b+v;if(f&&(k+=b.length-k),o(g)){if(e.slice(k).search(g)){var h,N=b;for(g.global||(g=RegExp(g.source,c(m.exec(g))+"g")),g.lastIndex=0;h=g.exec(N);)var x=h.index;b=b.slice(0,void 0===x?k:x)}}else if(e.indexOf(t(g),k)!=k){var y=b.lastIndexOf(g);y>-1&&(b=b.slice(0,y))}return b+v}},58931:function(e,n,i){"use strict";i.d(n,{P:function(){return d}});var t=i(52322);i(2784);var a=i(49061);let d=e=>{let{width:n="29px",height:i="45px",color:d="#fff",title:r="Microphone-icon"}=e;return(0,t.jsxs)(a.JO,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 29 45","data-testid":"microphone-icon",width:n,height:i,fill:"none",children:[(0,t.jsx)("title",{children:r}),(0,t.jsx)("path",{d:"M28.05 24.2249H25.5C25.5 30.5489 20.349 35.6999 14.025 35.6999C7.701 35.6999 2.55 30.5489 2.55 24.2249H0C0 31.5306 5.61 37.5359 12.75 38.1861V42.0749H6.375V44.6249H21.675V42.0749H15.3V38.1861C22.44 37.5359 28.05 31.5306 28.05 24.2249Z",fill:d}),(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.0246 0C9.10311 0 5.09961 3.978 5.09961 8.874V24.276C5.09961 29.172 9.10311 33.15 14.0246 33.15C18.9461 33.15 22.9496 29.172 22.9496 24.276V8.874C22.9496 3.978 18.9461 0 14.0246 0ZM2
10.3996 24.276C20.3996 27.7568 17.5436 30.6 14.0246 30.6C10.5056 30.6 7.64961 27.7695 7.64961 24.276V24.225V21.675V17.85V15.3V11.475H14.0246V8.925H7.64961V8.874C7.64961 5.39325 10.5056 2.55 14.0246 2.55C17.5436 2.55 20.3996 5.3805 20.3996 8.874V24.276Z",fill:d}),(0,t.jsx)("path",{d:"M7.64961 24.225V21.675H14.0246V24.225H7.64961Z",fill:d}),(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.64961 15.3H14.0246V17.85H10.8371H7.64961V15.3Z",fill:d}),(0,t.jsx)("path",{d:"M7.64961 17.85V15.3H14.0246V17.85H10.8371H7.64961Z",fill:d}),(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.64961 8.925H14.0246V11.475H7.64961V8.925Z",fill:d}),(0,t.jsx)("path",{d:"M7.64961 11.475V8.925H14.0246V11.475H7.64961Z",fill:d})]})}},76336:function(e,n,i){"use strict";i.d(n,{V:function(){return d}});var t=i(52322),a=i(13980);i(2784);let d=e=>{let{state:n="normal",variant:i}=e,a="#000000";"active"===n&&(a="#E60000"),"disabled"===n&&(a="#CCCCCC");let d=(0,t.jsx)("path",{d:"M52.46,23.68 L42.85,23.68 L42.85,8.28 C42.85,7.44 42.46,7 41.63,7 L35,7 C34,10 32.29,14.85 30.81,16.32 L29.42,17.71 C25.6,21.53 21.86,23.71 18.42,23.71 L6.28,23.71 C5.45,23.71 5,24.09 5,24.92 L5,56.63 C5,57.46 5.45,57.84 6.28,57.84 L40,57.84 C54,57.61 59,53.73 59,37.84 L59,32.92 C59,26.04 57.31,23.68 52.46,23.68 Z M13,53.84 L9,53.84 L9,27.69 L13,27.69","data-name":"Laag 1",fill:a}),r=(0,t.jsx)("path",{d:"M52.46,23.68 L42.85,23.68 L42.85,8.28 C42.85,7.44 42.46,7 41.63,7 L35,7 C34,10 32.29,14.85 30.81,16.32 L29.42,17.71 C25.6,21.53 21.86,23.71 18.42,23.71 L6.28,23.71 C5.45,23.71 5,24.09 5,24.92 L5,56.63 C5,57.46 5.45,57.84 6.28,57.84 L40,57.84 C54,57.61 59,53.73 59,37.84 L59,32.92 C59,26.04 57.31,23.68 52.46,23.68 Z M13,53.84 L9,53.84 L9,27.69 L13,27.69 L13,53.84 Z M55,37.84 C55,50.54 51,53.65 39.82,53.84 L17,53.84 L17,27.69 L18.42,27.69 C22.58,27.76 26.8,25.94 30.72,22.08 L30.72,22.08 L32.38,20.42 L32.38,20.42 C34.0436366,18.7772154 35.4254498,16.8717321 36.47,14.78 L36.56,14.59 L37.83,11.01 L38.83,11.01 L38.83,27.69 L51.29,27.69 C54,27.68 55,29.02 55,32.92 L55,37.84 Z","data-name":"Laag 1",fill:a});return(0,t.jsx)("svg",{height:"25px",width:"25px",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64","aria-label":"Like",children:"solid"===i?d:r})};d.propTypes={state:a.PropTypes.oneOf(["normal","active","disabled"]),variant:a.PropTypes.oneOf(["outline","solid"])}},2931:function(e,n,i){"use strict";i.d(n,{n:function(){return o}});var t=i(52322);i(2784);var a=i(13980),d=i.n(a),r=i(65216);let o=e=>{let{title:n,onClick:i}=e;return(0,t.jsx)(r.Yd,{variant:"underline","data-testid":"loadMoreButton",onClick:i,children:n})};o.propTypes={title:d().string.isRequired,onClick:d().func}},44790:function(e,n,i){"use strict";i.d(n,{v:function(){return eg}});var t=i(52322),a=i(2784),d=i(13980),r=i.n(d),o=i(28049),l=i(35563),s=i(17873),u=i(61271),c=i(62229),m=i(63252),v=i(38944),g=i(43854),p=i(33310),f=i(17685),k=i(39097),b=i.n(k),h=i(56107),N=i(76336),x=i(36585),y=i.n(x),C=i(58931),S=i(54247),I=i(95097),T=i(9671);(0,I.ZP)(g.X6).withConfig({componentId:"sc-5f4eb20b-0"})(["font-weight:900;margin-bottom:8px;"]);let j=I.ZP.div.withConfig({componentId:"sc-5f4eb20b-1"})(["display:flex;flex-direction:column;padding:16px;margin:32px 0 16px 0;border-radius:4px 16px 16px 16px;background-color:",";p{min-height:1rem;}&:first-child{margin-top:0;}"],e=>{let{theme:n}=e;return n.base.white}),w=(0,I.ZP)(g.xv).withConfig({componentId:"sc-5f4eb20b-2"})(["display:flex;flex-wrap:wrap;padding:0 0 8px 0;"]),V=I.ZP.div.withConfig({componentId:"sc-5f4eb20b-3"})(["margin:0 8px;&:before{content:'â¢';}"]),F=I.ZP.div.withConfig({componentId:"sc-5f4eb20b-4"})(["font-size:12px;line-height:16px;color:",";","{font-size:14px;line-height:18px;}","{font-size:16px;line-height:20px;}"],e=>{let{theme:n}=e;return n.secondary.gray},T.A.md,T.A.lg),E=I.ZP.span.withConfig({componentId:"sc-5f4eb20b-5"})(["margin-left:auto;"]),L=I.ZP.span.withConfig({componentId:"sc-5f4eb20b-6"})(["color:",";margin-left:auto;"],e=>{let{theme:n}=e;return n.base.red}),D=(0,I.ZP)(g.xv).withConfig({componentId:"sc-5f4eb20b-7"})(["padding:16px 0 0 0;"]),_=I.ZP.div.withConfig({componentId:"sc-5f4eb20b-8"})(["display:flex;flex-direction:column;align-items:flex-start;"]),A=I.ZP.img.withConfig({componentId:"sc-5f4eb20b-9"})(["max-width:250px;height:auto;"]),O=(0,I.ZP)(b()).withConfig({componentId:"sc-5f4eb20b-10"})(["position:relative;display:inline-block;margin-top:16px;text-decoration:none;"]),M=I.ZP.div.withConfig({componentId:"sc-5f4eb20b-11"})(["position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1;display:flex;align-items:center;justify-content:center;pointer-events:none;height:42px;width:42px;border-radius:20px;svg{width:20px;height:20px;}background-color:",";"],e=>{let{theme:n}=e;return n.base.red}),P=I.ZP.div.withConfig({componentId:"sc-5f4eb20b-12"})(["display:flex;align-items:center;margin-top:16px;"]),R=I.ZP.span.withConfig({componentId:"sc-5f4eb20b-13"})(["color:",";font-size:12px;line-height:18px;margin-left:4px;","{font-size:16px;line-height:28px;margin-left:8px;}"],e=>{let{theme:n}=e;return n.base.black},T.A.md),G={rejected:0,pending:1,removed:3},$=e=>{var n;let{title:i,body:a,brand:d,slug:r,status:o,createdAt:l,score:s,imgSrc:u,media:c}=e,m=(0,h.p6)(new Date(l),"dd MMM yyyy - HH:mm").replace(".",""),v=a&&y()(a,{length:500,omission:"..."});return(0,t.jsxs)(j,{"data-testid":"content-item-profile",children:[(0,t.jsxs)(w,{children:[d&&(0,t.jsx)(b(),{href:"/".concat(null==d?void 0:d.slug),title:"Ga naar ".concat(d.name),children:d.name}),d&&i&&(0,t.jsx)(V,{}),r?(0,t.jsx)(b(),{href:r,title:"Ga naar ".concat(i),children:i}):(0,t.jsx)("span",{children:i}),(o===G.rejected||o===G.removed)&&(0,t.jsx)(L,{children:"AFGEKEURD"}),o===G.pending&&(0,t.jsx)(E,{children:"TER BEOORDELING"})]}),(0,t.jsx)(F,{children:m}),(0,t.jsxs)(_,{children:[u&&(0,t.jsxs)(O,{href:r,title:"Ga naar ".concat(i),children:[(0,t.jsx)(A,{src:(null===(n=u.optimized)||void 0===n?void 0:n.publicUri)||u.publicUri,alt:"Afbeelding bij ".concat(i)}),(null==c?void 0:c.type)==="video"&&(0,t.jsx)(M,{children:(0,t.jsx)(S.s,{color:"#fff",filled:!0})})]}),(null==c?void 0:c.type)==="audio"&&(0,t.jsx)(O,{href:r,title:"Ga naar ".concat(i),children:(0,t.jsx)(C.P,{color:"#000",width:"80px",height:"80px"})}),(0,t.jsx)(D,{dangerouslySetInnerHTML:{__html:v}})]}),s>=0&&(0,t.jsxs)(P,{children:[(0,t.jsx)(N.V,{variant:"outline"}),(0,t.jsx)(R,{children:s})]})]})};
1$.propTypes={brand:r().shape({name:r().string.isRequired,slug:r().string.isRequired}),body:r().string,createdAt:r().string,slug:r().string,status:r().number,title:r().string.isRequired,score:r().number,imgSrc:r().shape({publicUri:r().string,optimized:r().shape({publicUri:r().string})})};var Z=i(89082);let B=I.ZP.div.withConfig({componentId:"sc-178f984-0"})(["margin-bottom:20px;"]),H=e=>{let{title:n,items:i,subjectName:a,renderItem:d,LoadMoreButton:r,loading:o}=e,{edges:l=[]}=i||{},s=l.map(e=>d(e.node)),u=s.length>0?s:(0,t.jsx)("p",{children:a});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(m.GridItem,{columnStartSm:"1",columnEndSm:"13",children:(0,t.jsx)(g.X6,{element:"h2",variant:"brandHome",children:n})}),(0,t.jsxs)(m.GridItem,{columnStartSm:"1",columnEndSm:"13",children:[(0,t.jsx)(B,{children:o?(0,t.jsxs)(t.Fragment,{children:[s,(0,t.jsx)("br",{}),(0,t.jsx)(Z.g,{})]}):u}),r]})]})};H.propTypes={title:r().string.isRequired,subjectName:r().string.isRequired,renderItem:r().func.isRequired,loading:r().bool,items:r().shape({totalCount:r().number,edges:r().arrayOf(r().shape({node:r().shape({id:r().string,body:r().string,createdAt:r().string,publication:r().shape({id:r().string,title:r().string,content:r().string})})}))}),LoadMoreButton:r().node};var U=i(2931),q=i(35952);let z=e=>{var n,i,t,a,d,r,o,l,s;let{item:u,brand:c}=e;if(!c||!u)return null;let m="portal"===c.slug?"":"/".concat(null==c?void 0:c.slug),{publication:v,contentType:g}=u;if("post"!==g)return"article"===g?"".concat(m,"/artikelen/").concat(null==v?void 0:v.slug):"".concat(m,"/media/").concat(null==v?void 0:v.id);if(null===(i=u.publication)||void 0===i?void 0:null===(n=i.category)||void 0===n?void 0:n.slug){let e=null===(l=u.publication)||void 0===l?void 0:null===(o=l.category)||void 0===o?void 0:o.slug;return"".concat(m,"/community/").concat(e,"/").concat(null===(s=u.publication)||void 0===s?void 0:s.slug)}if(!(null===(t=u.publication)||void 0===t?void 0:t.category))return null;let p=(0,q.Q)(null===(d=u.publication)||void 0===d?void 0:null===(a=d.category)||void 0===a?void 0:a.title).replaceAll("&","").replaceAll(/-+/g,"-");return"".concat(m,"/community/").concat(p,"/").concat(null===(r=u.publication)||void 0===r?void 0:r.slug)};var Q=i(69899);let Y=e=>{let{item:n}=e;if(n){var i,a;let e=(null===(i=n.publication)||void 0===i?void 0:i.brand)||(0,Q.Y)(n.brandId),d=z({item:n,brand:e}),r=null===(a=n.publication)||void 0===a?void 0:a.title;return(0,t.jsx)($,{title:r,body:n.body,brand:e,slug:d,status:n.status,createdAt:n.createdAt,score:n.opinionPositiveCount},n.id)}return null},W=e=>{var n;let{items:i,title:a,loading:d,loadMore:r}=e;return(0,t.jsx)(H,{title:"".concat(a," (").concat(i.totalCount,")"),subjectName:"Nog geen gegeven antwoorden",items:i,renderItem:e=>(0,t.jsx)(Y,{item:e}),loading:d,LoadMoreButton:(null==i?void 0:null===(n=i.edges)||void 0===n?void 0:n.length)<(null==i?void 0:i.totalCount)&&(0,t.jsx)(U.n,{title:"Toon meer ".concat(a.toLowerCase()),onClick:r})})};W.propTypes={items:r().shape({totalCount:r().number,edges:r().arrayOf(r().shape({node:r().shape({id:r().string,description:r().string,createdAt:r().string,brand:r().shape({name:r().string,slug:r().string}),category:r().shape({title:r().string}),moderationStatus:r().number})}))}),title:r().string,loading:r().bool,loadMore:r().func},Y.propTypes={item:r().shape({id:r().string,contentId:r().string,body:r().string,status:r().number,createdAt:r().string,contentType:r().string,brandId:r().string,opinionPositiveCount:r().number,publication:r().shape({title:r().string,slug:r().string,brand:r().shape({slug:r().string})})}),client:r().shape({readFragment:r().func})};var X=i(2756),J=i(83199);let K=(e,n)=>({...e.posts,edges:[...n?n.edges:[],...e.posts.edges]});var ee=i(3829);let en=e=>{var n;let{title:i,userId:d}=e,{loading:r,posts:o,loadMore:l}=function(e){let[n,i]=(0,a.useState)({data:null,limit:10,offset:null}),{loading:t,error:d,data:r}=(0,X.a)(J.GET_COMMUNITY_POSTS,{variables:{userId:e,pagination:{first:n.limit,after:n.offset}},skip:!e}),o=!t&&(null==r?void 0:r.posts)?K(r,n.data):n.data;
1return{loading:t,error:d,posts:o,loadMore:()=>{!t&&r&&i({data:K(r,n.data),limit:n.limit,offset:r.posts.pageInfo.endCursor})}}}(d),s=(null==o?void 0:o.totalCount)?"(".concat(null==o?void 0:o.totalCount,")"):"";return(0,t.jsx)(H,{title:"".concat(i," ").concat(s),subjectName:"Nog geen vragen gesteld",items:o,loading:r,LoadMoreButton:(null==o?void 0:null===(n=o.pageInfo)||void 0===n?void 0:n.hasNextPage)&&(0,t.jsx)(U.n,{title:"Toon meer ".concat(i.toLowerCase()),onClick:l}),renderItem:e=>(0,t.jsx)($,{title:e.title,body:e.description,brand:e.brand,slug:(0,ee.GC)(e.brand.slug,e.category.slug,e.slug),status:e.moderationStatus,createdAt:e.createdAt,imgSrc:e.image,media:e.media},e.id)})};en.propTypes={title:r().string.isRequired,userId:r().string};var ei=i(33379),et=i(65216),ea=i(80960),ed=i(54827),er=i(77976),eo=i(27553),el=i(14500),es=i(4069),eu=i(6461);let ec=I.ZP.div.withConfig({componentId:"sc-2596cd7c-0"})(["margin:0 16px;"]),em=e=>{var n,i;let{follower:a,contributor:d,isLoggedIn:r,login:o}=e,{addNotification:l}=(0,ea.zn)(),s=(0,ed.i)(),{data:u}=(0,X.a)(es.GET_USER_FOLLOWED_CONTENT_BY_CONTENT_ID,{variables:{userId:null==a?void 0:a.id,contentId:null==d?void 0:d.id,contentType:"user"},skip:null===a}),c=null==u?void 0:null===(n=u.me)||void 0===n?void 0:n.isContentFollowed,[m]=(0,ei.D)(el.ToggleUserFollow),v=(0,eo.p)(null==a?void 0:a.id),g=()=>{var e;if(!r){o();return}c||v(),m({variables:{userId:null==a?void 0:a.id,contentId:null==d?void 0:d.id,isFollowing:!(null==u?void 0:null===(e=u.me)||void 0===e?void 0:e.isContentFollowed),utm:(0,eu.yB)(),fingerprint:s,slug:d.slug,pagination:{first:1}}}),c||l((0,er.s)({hasSubscriptions:!0,slug:"profiel/".concat(d.username),brandName:"".concat(d.username),type:"priority"}))};return(0,t.jsx)(ec,{children:(0,t.jsx)(et.eg,{onClick:()=>g(),isFollowedByUser:null==u?void 0:null===(i=u.me)||void 0===i?void 0:i.isContentFollowed,followText:"Volgen",unfollowText:"Volgend"})})};em.propTypes={follower:r().shape({id:r().string.isRequired,username:r().string.isRequired}),contributor:r().shape({id:r().string.isRequired,username:r().string.isRequired,slug:r().string.isRequired}).isRequired,isLoggedIn:r().bool.isRequired,login:r().func.isRequired};let ev=e=>{if(!e)return{commentsObject:{totalCount:0,edges:[]}};let{comments:n,totalCount:i}=e;return{totalCount:i,edges:n.map(e=>({node:e}))}},eg=e=>{let{username:n}=e,{profile:i}=(0,p.mA)(),{isLoggedIn:d,login:r}=(0,p.f0)(),k=(0,f.f)(n),{loading:b,data:h,loadMore:N}=(0,u.G)(n,"answers"),{loading:x,data:y,loadMore:C}=(0,u.G)(n,"reactions"),{loading:S,data:I,loadMore:T}=(0,u.G)(n,"comments"),j=(0,a.useMemo)(()=>{if(!y)return{totalCount:0,edges:[]};let{paginatedComments:e}=y;return ev(e)},[y]),w=(0,a.useMemo)(()=>{if(!h)return{totalCount:0,edges:[]};let{paginatedComments:e}=h;return ev(e)},[h]),V=(0,a.useMemo)(()=>{if(!I)return{totalCount:0,edges:[]};let{paginatedComments:e}=I;return ev(e)},[I]);if(!n)return null;let F=(null==i?void 0:i.username)===n?null==i?void 0:i.profilePicture:null==I?void 0:I.avatarUrl,E=n?"".concat(n,"'s Comments - BNNVARA"):"Publiek Profiel - BNNVARA",L="Bekijk hier het profiel van ".concat(n),D={page:{__typename:"Profile",name:n,slug:"profiel/".concat(n),logoUrl:F,description:(0,t.jsx)(c.i,{loading:S&&!I,profile:I,userStats:k})}};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.V,{title:E,description:L,type:"static page",image:F}),(0,t.jsx)(l.default,{}),(0,t.jsx)(o.default,{headerData:D,children:n!==i.username&&I&&(0,t.jsx)(v.Z,{children:(0,t.jsx)(em,{follower:i,contributor:I,isLoggedIn:d,login:r})})}),(0,t.jsxs)(m.Grid,{gridGapSm:"24px",gridGapMd:"24px",gridGapLg:"24px",children:[(0,t.jsx)(m.GridItem,{columnStartSm:"1",columnEndSm:"13",children:(0,t.jsx)(g.X6,{element:"h1",variant:"brandHome",children:"Bijdragen op BNNVARA"})}),(0,t.jsx)(en,{title:"Geplaatste posts",userId:null==I?void 0:I.id}),(0,t.jsx)(W,{title:"Gegeven antwoord(en)/reactie(s)",items:w,loading:b,loadMore:N}),(0,t.jsx)(W,{title:"Reacties op antwoorden/reacties",items:j,loading:x,loadMore:C}),(0,t.jsxs)(m.GridItem,{columnStartSm:"1",columnEndSm:"13",children:[(0,t.jsx)(g.X6,{element:"h2",variant:"brandHome",children:"Alle reacties op BNNVARA"}),(0,t.jsx)("br",{}),(0,t.jsx)("p",{children:"Hier zie je alle reacties die zijn gegeven door deze gebruiker op heel BNNVARA.nl"})]}),(0,t.jsx)(W,{title:"Reacties",items:V,loading:S,loadMore:T}),(0,t.jsx)(m.GridSpacer,{heightSm:"0px",heightMd:"16px",heightLg:"16px"})]})]})};
1eg.propTypes={username:r().string}},49842:function(e,n,i){"use strict";function t(e){let n="/".concat(e.replace(/\s/g,"").toLowerCase());return"portal"===e?"":e.includes("Floortje")||e.includes("floortje")?"/floortje":n}i.d(n,{E:function(){return t}})},3829:function(e,n,i){"use strict";i.d(n,{$Q:function(){return l},GC:function(){return u},IX:function(){return s},YZ:function(){return c},fB:function(){return o}});var t=i(49842);let a={forum:"community",newPost:"nieuwe-post",editorsChoice:"editorsChoice"},d={kassa:{...a,forum:"vraag-beantwoord",newPost:"nieuwe-vraag",editorsChoice:"geselecteerd-door-de-redactie"},vroegevogels:{...a,editorsChoice:"mooiste"}},r=e=>{var n;return null!==(n=d[e])&&void 0!==n?n:a},o=e=>{let{forum:n}=r(e);return"".concat((0,t.E)(e),"/").concat(n)},l=e=>{let{forum:n,newPost:i}=r(e);return"".concat((0,t.E)(e),"/").concat(n,"/").concat(i)},s=(e,n)=>"".concat(o(e),"/").concat(n),u=(e,n,i)=>"".concat(o(e),"/").concat(n,"/").concat(i),c=e=>{let{editorsChoice:n}=r(e);return"".concat(o(e),"/").concat(n)}},35952:function(e,n,i){"use strict";i.d(n,{Q:function(){return t}});let t=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{encoded:!1};if(!e||"string"!=typeof e)return"";let i=e.replace(/\s/g,"-").toLowerCase();for(;"-"===i.charAt(i.length-1);)i=i.slice(0,-1);return n.encoded?encodeURIComponent(i):i}}}]);
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.