(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5484,7841,5159,9458,773,6970,8744,9255],{93761:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[userId]/posts",function(){return r(39510)}])},96687:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(50283),l=r(5055),a=r(81806);function i(e,t){(0,a.Z)(2,arguments);var r=(0,n.Z)(t);return(0,l.Z)(e,36e5*r)}},24107:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(33915),l=r(30343),a=r(81806);function i(e){return(0,a.Z)(1,arguments),function(e,t){(0,a.Z)(2,arguments);var r=t-function(e){return(0,a.Z)(1,arguments),(0,l.Z)(e).getDay()}(e);return r<=0&&(r+=7),(0,n.Z)(e,r)}(e,1)}},73381:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(30343),l=r(50283),a=r(81806);function i(e,t){if((0,a.Z)(2,arguments),"object"!=typeof t||null===t)throw RangeError("values parameter must be an object");var r=(0,n.Z)(e);return isNaN(r.getTime())?new Date(NaN):(null!=t.year&&r.setFullYear(t.year),null!=t.month&&(r=function(e,t){(0,a.Z)(2,arguments);var r=(0,n.Z)(e),i=(0,l.Z)(t),o=r.getFullYear(),s=r.getDate(),c=new Date(0);c.setFullYear(o,i,15),c.setHours(0,0,0,0);var u=function(e){(0,a.Z)(1,arguments);var t=(0,n.Z)(e),r=t.getFullYear(),l=t.getMonth(),i=new Date(0);return i.setFullYear(r,l+1,0),i.setHours(0,0,0,0),i.getDate()}(c);return r.setMonth(i,Math.min(s,u)),r}(r,t.month)),null!=t.date&&r.setDate((0,l.Z)(t.date)),null!=t.hours&&r.setHours((0,l.Z)(t.hours)),null!=t.minutes&&r.setMinutes((0,l.Z)(t.minutes)),null!=t.seconds&&r.setSeconds((0,l.Z)(t.seconds)),null!=t.milliseconds&&r.setMilliseconds((0,l.Z)(t.milliseconds)),r)}},8752:(e,t,r)=>{"use strict";r.d(t,{D:()=>o});var n=r(31549),l=r(44194),a=r(83849),i=r.n(a);let o=(0,l.forwardRef)(function(e,t){let{disabled:r,pressed:l,children:a,tag:o="button",defaultTypo:s=!0,textClassName:c,inverseUnderline:u,className:d,...h}=e;return(0,n.jsx)(o,{...h,"aria-pressed":l,ref:t,className:i()("flex cursor-pointer flex-row items-center text-text-tertiary hover:underline focus:underline",u?"underline hover:no-underline focus:no-underline":"hover:underline focus:underline",s&&"typo-callout",l&&"text-text-primary","a"===o&&(c||"!text-text-link"),r&&"pointer-events-none text-text-disabled hover:no-underline",d),children:a})})},98193:(e,t,r)=>{"use strict";r.d(t,{n:()=>h});var n=r(31549),l=r(44194),a=r(83849),i=r.n(a),o=r(91537),s=r(22025),c=r.n(s),u=r(62234),d=r(20861);let h=(0,l.forwardRef)(function(e,t){var r,a;let{className:s={},inputId:h,name:v,label:p,maxLength:f,value:m,saveHintSpace:g=!1,progress:y,hint:b,valid:x,validityChanged:w,valueChanged:j,placeholder:O,style:L,fieldType:k="primary",isLocked:N,readOnly:V=N,leftIcon:z,actionButton:S,disabled:Z,rightIcon:I,required:P,onBlur:M,...C}=e,{validInput:_,focused:E,hasInput:R,focusInput:A,inputRef:H,onFocus:B,onBlur:F,onInput:D,inputLength:T}=(0,d.Z)({value:m,valueChanged:j,valid:x,validityChanged:w}),q="secondary"===k,W=!1===_||P&&0===T,G=R||!!(null==H?void 0:null===(a=H.current)||void 0===a?void 0:null===(r=a.value)||void 0===r?void 0:r.length),Y=(0,l.useId)();return(0,n.jsxs)(u.ZP,{ref:t,inputId:h,invalid:W,focusInput:A,saveHintSpace:g,hint:b,fieldType:k,readOnly:V,isLocked:N,hasInput:R,disabled:Z,focused:E,label:p,className:{...s,container:i()("items-stretch",s.container),baseField:i()("flex-row items-center",c().field,s.baseField,z&&"pl-3",S&&"pr-3",q?"h-9":"h-12")},children:[z&&(0,n.jsx)("span",{className:i()("mr-2",(0,u.rI)({readOnly:V,disabled:Z,hasInput:R,focused:E,isLocked:N,hasActionIcon:!!I})),children:z}),(0,n.jsxs)("div",{className:i()("flex max-w-full flex-1 flex-col items-start",S&&"mr-2"),children:["primary"===k&&(E||G)&&(0,n.jsx)("label",{className:i()("typo-caption1",(0,u.WR)({readOnly:V,isLocked:N,hasInput:G,focused:E,disabled:Z,isPrimaryField:!0})),htmlFor:h.concat(Y),children:p}),(0,n.jsx)(o._,{placeholder:(0,u.w2)({label:p,focused:E,placeholder:O,isTertiaryField:"tertiary"===k,isSecondaryField:q}),name:v,id:h.concat(Y),ref:H,onFocus:B,onBlur:e=>{M&&M(e),F()},maxLength:f,readOnly:V,size:1,className:i()("self-stretch text-ellipsis",null==s?void 0:s.input,(0,u.rI)({readOnly:V,disabled:Z,hasInput:G,focused:E,hasActionIcon:!!I})),disabled:Z,required:P,...C,onInput:e=>{D(e),C.onInput&&C.onInput(e)}}),y&&(0,n.jsx)("div",{className:i()("absolute bottom-0 h-[3px] rounded-10 transition-all",y)})]}),f&&(0,n.jsx)("div",{className:"ml-2 font-bold typo-callout",style:{color:"var(--field-placeholder-color)"},children:f-(T||0)}),I,S]})})},20936:(e,t,r)=>{"use strict";r.d(t,{y:()=>h});var n,l,a=r(31549),i=r(44194),o=r(37213);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}let c=function(e){return i.createElement("svg",s({width:"1em",height:"1em",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"icon"},e),n||(n=i.createElement("path",{d:"M7.833 13a3.167 3.167 0 013.162 2.987l.005.18v1.666a3.167 3.167 0 01-2.987 3.162l-.18.005H6.167a3.167 3.167 0 01-3.162-2.987L3 17.833v-1.666a3.167 3.167 0 012.987-3.162l.18-.005h1.666zm10 0a3.167 3.167 0 013.162 2.987l.005.18v1.666a3.167 3.167 0 01-2.987 3.162l-.18.005h-1.666a3.167 3.167 0 01-3.162-2.987l-.005-.18v-1.666a3.167 3.167 0 012.987-3.162l.18-.005h1.666zm-10 1.5H6.167c-.872 0-1.588.67-1.66 1.523l-.007.144v1.666c0 .872.67 1.588 1.523 1.66l.144.007h1.666l.144-.006a1.667 1.667 0 001.516-1.509l.007-.152v-1.666c0-.872-.67-1.588-1.523-1.66l-.144-.007zm10 0h-1.666c-.872 0-1.588.67-1.66 1.523l-.007.144v1.666c0 .872.67 1.588 1.523 1.66l.144.007h1.666l.144-.006a1.667 1.667 0 001.516-1.509l.007-.152v-1.666c0-.872-.67-1.588-1.523-1.66l-.144-.007zM7.833 3a3.167 3.167 0 013.162 2.987l.005.18v1.666a3.167 3.167 0 01-2.987 3.162l-.18.005H6.167a3.167 3.167 0 01-3.162-2.987L3 7.833V6.167a3.167 3.167 0 012.987-3.162L6.167 3h1.666zm12.528 3.259a.75.75 0 01-.009 1.484l-.102.007h-2.5v2.5a.75.75 0 01-1.491.111l-.009-.11V7.75h-2.5l-.111-.009a.75.75 0 01.009-1.484l.102-.007h2.5v-2.5a.75.75 0 011.491-.111l.009.11V6.25h2.5l.111.009zM7.833 4.5H6.167c-.872 0-1.588.67-1.66 1.523l-.007.144v1.666c0 .872.67 1.588 1.523 1.66l.144.007h1.666l.144-.006a1.667 1.667 0 001.516-1.509l.007-.152V6.167c0-.872-.67-1.588-1.523-1.66L7.833 4.5z",fill:"currentcolor",fillRule:"evenodd"})))};function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}let d=function(e){return i.createElement("svg",u({width:"1em",height:"1em",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"icon"},e),l||(l=i.createElement("path",{d:"M8 14H6a2 2 0 00-1.993 1.827L4 16v2a2 2 0 001.827 1.993L6 20h2l.173-.007a2 2 0 001.819-1.81L10 18v-2a2 2 0 00-1.827-1.993L8 14zm10 0h-2a2 2 0 00-1.993 1.827L14 16v2a2 2 0 001.827 1.993L16 20h2l.173-.007a2 2 0 001.819-1.81L20 18v-2a2 2 0 00-1.827-1.993L18 14zM8 4H6a2 2 0 00-1.993 1.827L4 6v2a2 2 0 001.827 1.993L6 10h2l.173-.007a2 2 0 001.819-1.81L10 8V6a2 2 0 00-1.827-1.993L8 4zm8.883-.993A1 1 0 0016 4v2h-2l-.119.008a1 1 0 00-.029 1.98l.13.01L16 8v2.002l.01.129c.073.505.493.87.99.87l.117-.007A1 1 0 0018 10L17.999 8h2.002l.118-.007a1 1 0 00.029-1.98l-.13-.01L18 6V4l-.008-.13A1.003 1.003 0 0017 3l-.117.007z",fill:"currentcolor",fillRule:"evenodd"})))},h=e=>(0,a.jsx)(o.ZP,{...e,IconPrimary:c,IconSecondary:d})},98969:(e,t,r)=>{"use strict";r.d(t,{_:()=>h});var n,l,a=r(31549),i=r(44194),o=r(37213);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}let c=function(e){return i.createElement("svg",s({width:"1em",height:"1em",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"icon"},e),n||(n=i.createElement("path",{d:"M7.833 13a3.167 3.167 0 013.162 2.987l.005.18v1.666a3.167 3.167 0 01-2.987 3.162l-.18.005H6.167a3.167 3.167 0 01-3.162-2.987L3 17.833v-1.666a3.167 3.167 0 012.987-3.162l.18-.005h1.666zm10 0a3.167 3.167 0 013.162 2.987l.005.18v1.666a3.167 3.167 0 01-2.987 3.162l-.18.005h-1.666a3.167 3.167 0 01-3.162-2.987l-.005-.18v-1.666a3.167 3.167 0 012.987-3.162l.18-.005h1.666zm-10 1.5H6.167c-.872 0-1.588.67-1.66 1.523l-.007.144v1.666c0 .872.67 1.588 1.523 1.66l.144.007h1.666l.144-.006a1.667 1.667 0 001.516-1.509l.007-.152v-1.666c0-.872-.67-1.588-1.523-1.66l-.144-.007zm10 0h-1.666c-.872 0-1.588.67-1.66 1.523l-.007.144v1.666c0 .872.67 1.588 1.523 1.66l.144.007h1.666l.144-.006a1.667 1.667 0 001.516-1.509l.007-.152v-1.666c0-.872-.67-1.588-1.523-1.66l-.144-.007zM7.833 3a3.167 3.167 0 013.162 2.987l.005.18v1.666a3.167 3.167 0 01-2.987 3.162l-.18.005H6.167a3.167 3.167 0 01-3.162-2.987L3 7.833V6.167a3.167 3.167 0 012.987-3.162L6.167 3h1.666zm10 0a3.167 3.167 0 013.162 2.987l.005.18v1.666a3.167 3.167 0 01-2.987 3.162l-.18.005h-1.666a3.167 3.167 0 01-3.162-2.987L13 7.833V6.167a3.167 3.167 0 012.987-3.162l.18-.005h1.666zm-10 1.5H6.167c-.872 0-1.588.67-1.66 1.523l-.007.144v1.666c0 .872.67 1.588 1.523 1.66l.144.007h1.666l.144-.006a1.667 1.667 0 001.516-1.509l.007-.152V6.167c0-.872-.67-1.588-1.523-1.66L7.833 4.5zm10 0h-1.666c-.872 0-1.588.67-1.66 1.523l-.007.144v1.666c0 .872.67 1.588 1.523 1.66l.144.007h1.666l.144-.006a1.667 1.667 0 001.516-1.509l.007-.152V6.167c0-.872-.67-1.588-1.523-1.66l-.144-.007z",fill:"currentcolor",fillRule:"evenodd"})))};function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}let d=function(e){return i.createElement("svg",u({width:"1em",height:"1em",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"icon"},e),l||(l=i.createElement("path",{d:"M8 14H6a2 2 0 00-1.993 1.827L4 16v2a2 2 0 001.827 1.993L6 20h2l.173-.007a2 2 0 001.819-1.81L10 18v-2a2 2 0 00-1.827-1.993L8 14zm10 0h-2a2 2 0 00-1.993 1.827L14 16v2a2 2 0 001.827 1.993L16 20h2l.173-.007a2 2 0 001.819-1.81L20 18v-2a2 2 0 00-1.827-1.993L18 14zM8 4H6a2 2 0 00-1.993 1.827L4 6v2a2 2 0 001.827 1.993L6 10h2l.173-.007a2 2 0 001.819-1.81L10 8V6a2 2 0 00-1.827-1.993L8 4zm10 0h-2a2 2 0 00-1.993 1.827L14 6v2a2 2 0 001.827 1.993L16 10h2l.173-.007a2 2 0 001.819-1.81L20 8V6a2 2 0 00-1.827-1.993L18 4z",fill:"currentcolor",fillRule:"evenodd"})))},h=e=>(0,a.jsx)(o.ZP,{...e,IconPrimary:c,IconSecondary:d})},12658:(e,t,r)=>{"use strict";r.d(t,{i:()=>h});var n,l,a=r(31549),i=r(44194),o=r(37213);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}let c=function(e){return i.createElement("svg",s({width:"1em",height:"1em",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"icon"},e),n||(n=i.createElement("path",{d:"M10.5 3l.212.005A4.5 4.5 0 0115 7.5v.75a.75.75 0 11-1.5 0V7.5l-.005-.176A3 3 0 0010.5 4.5h-3a3 3 0 00-2.995 2.824L4.5 7.5v9a3 3 0 002.824 2.995l.176.005h3l.176-.005A3 3 0 0013.5 16.5v-.75a.75.75 0 111.5 0v.75l-.005.212A4.5 4.5 0 0110.5 21h-3a4.5 4.5 0 01-4.495-4.288L3 16.5v-9a4.5 4.5 0 014.288-4.495L7.5 3h3zm7.198 5.395l.084.072 2.998 3.002c.037.037.07.077.097.12l.05.089.04.104c.022.068.033.142.033.218l-.002.057-.013.091-.008.037-.035.106-.034.069-.055.086a.785.785 0 01-.073.085l-2.998 3.002a.749.749 0 01-1.133-.978l.073-.084 1.718-1.72H9.75a.75.75 0 01-.102-1.495l.102-.006h8.69l-1.718-1.721a.751.751 0 01-.073-.977l.073-.085a.75.75 0 01.976-.072z",fill:"currentcolor",fillRule:"evenodd"})))};function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}let d=function(e){return i.createElement("svg",u({width:"1em",height:"1em",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"icon"},e),l||(l=i.createElement("path",{d:"M10.25 3l.218.005.215.015A4.751 4.751 0 0115 7.75V8a1 1 0 01-2 0v-.25l-.005-.17-.015-.17A2.75 2.75 0 0010.25 5h-2.5a2.75 2.75 0 00-2.73 2.41l-.015.17L5 7.75v8.5a2.75 2.75 0 002.41 2.73l.17.015.17.005h2.5l.17-.005.17-.015A2.75 2.75 0 0013 16.25V16a1 1 0 012 0v.25l-.005.218-.015.215A4.751 4.751 0 0110.25 21h-2.5a4.751 4.751 0 01-4.73-4.317l-.015-.215L3 16.25v-8.5a4.751 4.751 0 014.317-4.73l.215-.015L7.75 3h2.5zm7.364 5.209l.094.083 3 3 .097.112.072.11.053.114.029.082.027.114.012.09.003.117-.015.143-.012.058-.033.109-.033.081-.053.098-.064.092-.04.05-3.043 3.044a1 1 0 01-1.497-1.32l.083-.094 1.293-1.293H9.504a1 1 0 01-.117-1.993l.117-.007h8.081l-1.29-1.293a1 1 0 01-.084-1.32l.083-.094a1 1 0 011.32-.083z",fill:"currentcolor",fillRule:"evenodd"})))},h=e=>(0,a.jsx)(o.ZP,{...e,IconPrimary:c,IconSecondary:d})},59511:(e,t,r)=>{"use strict";r.d(t,{m:()=>h});var n,l,a=r(31549),i=r(44194),o=r(37213);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}let c=function(e){return i.createElement("svg",s({width:"1em",height:"1em",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"icon"},e),n||(n=i.createElement("path",{d:"M12.037 3l.301.013.242.023c2.157.27 3.813 2.077 3.914 4.252l.005.211.001 2.256.313.109c.483.179.835.372 1.186.643.448.346.802.77 1.064 1.289l.106.228.078.197.06.185.062.223c.044.188.075.385.097.62l.015.183.016.34.004.366v1.725l-.006.395-.016.322a5.04 5.04 0 01-.066.548l-.058.278-.075.258-.127.332a3.7 3.7 0 01-.99 1.342l-.198.162-.175.126c-.224.153-.46.28-.755.403l-.233.092-.342.117-.509.15-.546.151c-2.086.576-4.29.612-6.39.108l-.419-.108-.748-.207-.195-.059-.194-.061-.295-.104a4.481 4.481 0 01-.802-.386l-.19-.124-.17-.124a3.72 3.72 0 01-1.063-1.289l-.107-.227-.078-.198-.06-.185-.061-.223a4.492 4.492 0 01-.098-.62l-.015-.183-.016-.373-.003-2.243.005-.21.016-.322a5.04 5.04 0 01.066-.547l.059-.279.074-.257.127-.333a3.715 3.715 0 011.154-1.478 4.276 4.276 0 011.202-.65l.295-.1.002-2.295.01-.284.017-.215c.213-2.057 1.892-3.697 3.995-3.935l.219-.02.187-.007h.108zm-.036 7.482c-1.42 0-2.841.255-4.262.765a2.7 2.7 0 00-.779.418c-.259.2-.463.44-.613.719l-.083.172-.061.154-.027.079-.047.169a3.024 3.024 0 00-.062.386l-.014.157-.014.29-.003.166v2.067l.003.166.014.29c.012.166.029.305.051.426l.025.117.047.17.027.079.061.153c.128.296.31.55.547.767l.15.124.135.1c.13.088.275.168.468.25l.155.061.26.09.15.048.343.099.546.15a11.23 11.23 0 005.574.101l.392-.1.546-.151.42-.123.332-.114c.22-.082.383-.162.522-.247l.101-.065.136-.099c.26-.2.463-.439.613-.719l.083-.172.062-.153.027-.08.046-.169c.027-.112.048-.237.063-.386l.013-.157.014-.29.005-.347v-1.705l-.005-.346-.014-.29a3.782 3.782 0 00-.051-.427l-.025-.117-.046-.17-.027-.078-.062-.154a2.227 2.227 0 00-.696-.891 2.7 2.7 0 00-.778-.418 12.54 12.54 0 00-4.262-.765zm0 2.018a1.5 1.5 0 01.87 2.723l-.119.076v1.451l-.006.087a.75.75 0 01-1.488.015l-.007-.102V15.3a1.5 1.5 0 01.75-2.8zm-.013-8l-.187.007c-1.386.092-2.537 1.128-2.758 2.438l-.023.172-.014.18L9 7.5 9 9.194l.448-.073a17.263 17.263 0 014.596-.068l.509.068.447.074-.001-1.695a3 3 0 00-2.43-2.948l-.175-.027-.192-.018-.214-.007z",fill:"currentcolor",fillRule:"evenodd"})))};function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}let d=function(e){return i.createElement("svg",u({width:"1em",height:"1em",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"icon"},e),l||(l=i.createElement("path",{d:"M12.047 3l.362.015.29.027c2.59.324 4.576 2.493 4.698 5.103l.006.254.004 2.825c.29.125.486.25.679.398.376.288.655.644.84 1.07l.074.184.033.095.056.203c.043.179.073.386.092.652l.017.349.006.415v2l-.006.415-.017.348a4.05 4.05 0 01-.092.652l-.056.204-.033.095-.073.183a2.675 2.675 0 01-.841 1.07l-.164.12c-.196.132-.42.25-.752.374l-.402.136-.507.148-.658.18a13.628 13.628 0 01-7.202 0l-.659-.18-.595-.176-.313-.108a3.403 3.403 0 01-.753-.375l-.163-.118a2.675 2.675 0 01-.84-1.07l-.075-.184-.032-.095-.057-.204a4.049 4.049 0 01-.092-.652l-.016-.348-.005-.199L4.8 14.59c0-.15.002-.289.006-.415l.016-.349c.02-.266.05-.473.092-.652l.057-.203.032-.095.074-.184c.186-.426.465-.782.84-1.07.194-.149.391-.273.682-.399l.004-2.868.01-.34.022-.26c.255-2.468 2.27-4.437 4.795-4.722l.263-.024.224-.009h.13zm-.085 9.602a1.8 1.8 0 00-.9 3.36v1.742a.9.9 0 001.794.105l.006-.105.001-1.742a1.8 1.8 0 00-.9-3.36zm.026-7.803l-.224.01c-1.663.109-3.046 1.353-3.31 2.925l-.028.207-.017.215-.007.244-.001 2.252c1.2-.3 2.4-.45 3.601-.45 1.2 0 2.401.15 3.602.45L15.602 8.4a3.602 3.602 0 00-2.917-3.538l-.209-.033-.231-.021-.257-.009z",fill:"currentcolor",fillRule:"evenodd"})))},h=e=>(0,a.jsx)(o.ZP,{...e,IconPrimary:c,IconSecondary:d})},16037:(e,t,r)=>{"use strict";r.d(t,{f:()=>i});var n=r(31549);r(44194);var l=r(83849),a=r.n(l);function i(e){let{text:t,title:r,className:l,children:i}=e;return(0,n.jsxs)("div",{className:a()("flex flex-col items-center gap-4 px-4 py-6 text-center",l),children:[(0,n.jsx)("h3",{className:"font-bold typo-title3",children:r}),(0,n.jsx)("p",{className:"text-text-tertiary typo-callout",children:t}),i]})}},74687:(e,t,r)=>{"use strict";r.d(t,{R:()=>Y});var n,l,a=r(31549),i=r(44194),o=r(45584),s=r(54843),c=r(57321),u=r(12658),d=r(98969),h=r(59511),v=r(42669),p=r(20936),f=r(36449),m=r(37213);function g(){return(g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}let y=function(e){return i.createElement("svg",g({width:"1em",height:"1em",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"icon"},e),n||(n=i.createElement("path",{d:"M14.47 6.22a.75.75 0 01.976-.073l.084.073 5.254 5.25a.75.75 0 01.073.976l-.073.084-5.254 5.25a.75.75 0 01-1.133-.975l.073-.085L19.193 12 14.47 7.28a.75.75 0 01-.073-.976l.073-.084zM9.534 17.78a.75.75 0 01-.976.073l-.085-.073-5.253-5.25a.75.75 0 01-.073-.976l.073-.084 5.253-5.25a.75.75 0 011.134.975l-.073.085L4.811 12l4.723 4.72a.75.75 0 01.073.976l-.073.084z",fill:"currentcolor",fillRule:"evenodd"})))};function b(){return(b=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}let x=function(e){return i.createElement("svg",b({width:"1em",height:"1em",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"icon"},e),l||(l=i.createElement("path",{d:"M8.545 6.043l-5.254 5.25-.085.098c-.305.41-.267.964.085 1.316l5.254 5.25.097.085c.41.305.965.267 1.317-.085l.085-.097.07-.105a1 1 0 00-.155-1.211L5.412 12 9.96 7.456l.085-.097c.305-.41.267-.965-.085-1.316a1 1 0 00-1.414 0zm5.496 0l-.085.097-.07.106a1 1 0 00.155 1.21L18.586 12l-4.545 4.544-.085.097c-.305.41-.267.965.085 1.316a1 1 0 001.414 0l5.254-5.25.085-.098c.305-.41.267-.964-.085-1.316l-5.254-5.25-.112-.097a1 1 0 00-1.302.097z",fill:"currentcolor",fillRule:"evenodd"})))},w=e=>(0,a.jsx)(m.ZP,{...e,IconPrimary:y,IconSecondary:x});var j=r(49122),O=r(23352),L=r(25435),k=r(9254),N=r(24826),V=r(9808),z=r(13621),S=r(25441);let Z=e=>{let{label:t}=e;return(0,a.jsx)("h3",{className:"my-2 flex h-12 items-center font-bold typo-callout first:mt-0",children:t})};function I(e){let{isHeader:t=!1,href:r,label:n,drawerRef:l,rightEmoji:i,...o}=e;return t?(0,a.jsx)(Z,{label:n}):(0,a.jsx)(S.Z,{condition:!!r,wrapper:e=>(0,a.jsx)(N.Z,{href:r,children:e}),children:(0,a.jsxs)(V.zx,{role:"menuitem",type:"button",href:r,tag:r?"a":"button",variant:z.Wu.Option,...o,children:[n,i&&(0,a.jsx)("span",{className:"ml-auto",children:i})]})})}var P=r(37068),M=r(86684);let C=(0,M.Z)("div","flex items-center gap-3 px-4 border-b border-border-subtlest-tertiary h-12"),_=(0,M.Z)("div","flex flex-col px-4 py-5"),E=(0,M.Z)("h2","typo-body font-bold");function R(e){var t;let{drawerProps:r,header:n,items:l,shouldKeepOpen:o}=e,s=i.useRef(),{position:c,displayCloseButton:u,closeOnOutsideClick:d,...h}=r;return(0,a.jsxs)(k.d,{...h,closeOnOutsideClick:!1,displayCloseButton:u,isFullScreen:!0,position:null!=c?c:k.h.Left,ref:s,role:"menu",className:{drawer:"py-0"},children:[n&&(0,a.jsxs)(C,{children:[(0,a.jsx)(V.zx,{variant:z.Wu.Tertiary,size:z.qE.Small,onClick:o?r.onClose:null===(t=s.current)||void 0===t?void 0:t.onClose,icon:(0,a.jsx)(P.e0,{className:"-rotate-90"})}),(0,a.jsx)(E,{children:n})]}),(0,a.jsx)(_,{children:l.map(e=>(0,a.jsx)(I,{...e,drawerRef:s},e.label))})]})}var A=r(36045),H=r(6167),B=r(20046),F=r(99553),D=r(11645),T=r(23671),q=r(30079),W=r(86919);let G=()=>{let{logout:e}=(0,T.Eu)(),{openModal:t}=(0,H.e)(),{showPrompt:r}=(0,q.G)(),n=(0,i.useCallback)(async()=>{await r({title:"Are you sure?",className:{buttons:"mt-5 flex-col-reverse"},okButton:{title:"Logout",color:W.S.Ketchup}})&&e(D.Pr.ManualLogout)},[e,r]);return(0,i.useMemo)(()=>[{label:"Profile",isHeader:!0},{label:"Edit profile",icon:(0,a.jsx)(o.d,{}),href:"/account/profile"},{label:"Invite friends",icon:(0,a.jsx)(s.e,{}),href:"/account/invite"},{label:"Devcard",icon:(0,a.jsx)(c.Z,{}),href:"/devcard"},{label:"Logout",icon:(0,a.jsx)(u.i,{}),onClick:n},{label:"Manage",isHeader:!0},{label:"Customize",icon:(0,a.jsx)(d._,{}),onClick:()=>t({type:B.nT.UserSettings})},{label:"Security",icon:(0,a.jsx)(h.m,{}),href:"/account/security"},{label:"Notifications",icon:(0,a.jsx)(v.Dk,{}),href:"/account/notifications"},{label:"Integrations",icon:(0,a.jsx)(p.y,{}),href:"/account/integrations"},{label:"Contribute",isHeader:!0},{label:"Community picks",icon:(0,a.jsx)(f.z,{}),onClick:()=>t({type:B.nT.SubmitArticle})},{label:"Suggest new source",icon:(0,a.jsx)(w,{}),onClick:()=>t({type:B.nT.NewSource})},{label:"Support",isHeader:!0},{label:"Docs",icon:(0,a.jsx)(f.z,{}),href:A.rx,target:"_blank",rel:F.yu},{label:"Changelog",icon:(0,a.jsx)(j.F,{}),href:"/sources/daily_updates"},{label:"Feedback",icon:(0,a.jsx)(O.A,{}),href:A.I1,target:"_blank",rel:F.yu},{label:"Privacy policy",icon:(0,a.jsx)(f.z,{}),href:A.MW,target:"_blank",rel:F.yu},{label:"Terms of service",icon:(0,a.jsx)(L.p,{}),href:A.g8,target:"_blank",rel:F.yu}].filter(Boolean),[n,t])};function Y(e){let{isOpen:t,onClose:r,shouldKeepOpen:n}=e;return(0,a.jsx)(R,{header:"Settings",shouldKeepOpen:n,drawerProps:{isOpen:t,onClose:r},items:G()})}},70619:(e,t,r)=>{"use strict";r.d(t,{Z:()=>d});var n=r(31549);r(44194);var l=r(83849),a=r.n(l),i=r(93607),o=r(22080),s=r(39929),c=r(53556);let u={[i.Pt.Moderator]:o.t,[i.Pt.Admin]:s.r},d=e=>{let{role:t,className:r,iconProps:l,removeMargins:i,disableResponsive:o}=e,s=u[t];return s?(0,n.jsx)(c.Z,{className:a()("text-brand-default",r),content:t,Icon:e=>(0,n.jsx)(s,{secondary:!0,...e}),iconProps:l,removeMargins:i,disableResponsive:o}):null}},82318:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a,a:()=>l});var n=r(44194);let l={pageSize:7,adSpot:2,numCards:{cozy:1,eco:1,roomy:1}},a=n.createContext(l)},33380:(e,t,r)=>{"use strict";r.d(t,{k:()=>d});var n=r(44194),l=r(36300),a=r(66496),i=r(36848),o=r(23671),s=r(64460),c=r(43047),u=r(39222);let d=e=>{let{user:t}=(0,o.Eu)(),{feedSettings:r}=(0,l.ZP)(e),{logEvent:d}=(0,i.fv)(),{updateAdvancedSettings:h}=(0,s.Z)(t),{alerts:v,updateAlerts:p}=(0,a.VP)(),f=(0,n.useMemo)(()=>{var e;return(null==r?void 0:null===(e=r.advancedSettings)||void 0===e?void 0:e.reduce((e,t)=>{let r={...e};return r[t.id]=t.enabled,r},{}))||{}},[null==r?void 0:r.advancedSettings]),m=(0,n.useCallback)((e,t)=>(d({event_name:"toggle ".concat(t?"on":"off"),target_type:"advanced setting",target_id:e.toString(),extra:JSON.stringify({origin:"advanced settings filter"})}),h({advancedSettings:[{id:e,enabled:t}]})),[d,h]),g=(0,n.useCallback)((e,r)=>{var n;(null==v?void 0:v.filter)&&t&&p({filter:!1});let l=!(null!==(n=f[e])&&void 0!==n?n:r);return m(e,l)},[null==v?void 0:v.filter,f,m,p,t]),y=(0,n.useCallback)(e=>{var t;return(null!==(t=null==r?void 0:r.excludeSources)&&void 0!==t?t:[]).some(t=>{let{id:r}=t;return r===e.id})},[null==r?void 0:r.excludeSources]),{onUnblockSource:b,onBlockSource:x}=(0,c.Z)({origin:u.aP.SourcePage}),w=(0,n.useCallback)(e=>{y(e)?b({source:e}):x({source:e})},[y,x,b]);return{selectedSettings:f,onToggleSettings:g,onUpdateSettings:m,checkSourceBlocked:y,onToggleSource:w}}},20861:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(44194),l=r(8383),a=r(74721);let i=function(){let{value:e,valid:t,valueChanged:r,validityChanged:i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{inputRef:o,focused:s,hasInput:c,onFocus:u,onBlur:d,onInput:h,focusInput:v,setInput:p}=(0,a.i)(e,r),[f,m]=(0,n.useState)(void 0),[g,y]=(0,n.useState)(void 0),[b,x]=(0,l.Z)(()=>{y(o.current.checkValidity())},1500);return(0,n.useEffect)(()=>{var e;(null===(e=o.current)||void 0===e?void 0:e.value)&&(m(o.current.value.length),o.current.checkValidity()&&y(!0))},[o]),(0,n.useEffect)(()=>{void 0!==g&&(null==i||i(g))},[g]),(0,n.useEffect)(()=>{void 0!==g&&void 0!==t&&y(t)},[t,g]),{inputLength:f,inputRef:o,focused:s,hasInput:c,validInput:g,onFocus:u,onBlur:()=>{x(),d(),o.current&&y(o.current.checkValidity())},onInput:e=>{x(),h(e),r&&r(e.currentTarget.value),m(e.currentTarget.value.length),o.current.checkValidity()?y(!0):b()},focusInput:v,setInput:p}}},48677:(e,t,r)=>{"use strict";r.d(t,{C:()=>h});var n=r(53371),l=r(44194),a=r(28830),i=r(36848),o=r(39222),s=r(38440),c=r(89291),u=r(50926),d=r(34956);let h=e=>{let{squad:t,referralToken:r}=e,h=(0,n.NL)(),{addSquad:v}=(0,s.T)(),{logEvent:p}=(0,i.fv)(),{completeAction:f}=(0,d.o)();return(0,l.useCallback)(async()=>{let e={sourceId:t.id};r&&(e.token=r);let n=await (0,a.Gx)(e);p({event_name:o.gr.CompleteJoiningSquad,extra:JSON.stringify({inviter:n.currentMember.user.id,squad:n.id})}),v(n);let l=(0,c.e0)(c.dt.Squad,n.currentMember.user,n.handle);return h.setQueryData(l,n),h.invalidateQueries({queryKey:["squadMembersInitial",t.handle]}),f(u.Us.JoinSquad),n},[t.id,t.handle,r,p,v,f,h])}},31991:(e,t,r)=>{"use strict";r.d(t,{G:()=>i});var n=r(31549);r(44194);var l=r(77951),a=r(82090);let i=(e,t,r)=>{let i=(0,l.useRouter)();return(0,n.jsx)(a.Z,{...r,activePage:null==i?void 0:i.asPath,children:e})}},49889:(e,t,r)=>{"use strict";r.d(t,{g:()=>n});let n=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"| daily.dev";return"".concat(e," ").concat(t)}},39510:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSG:()=>b,default:()=>x});var n=r(31549),l=r(44194),a=r(79353),i=r(75907),o=r(9886),s=r(89291),c=r(63878),u=r(16037),d=r(23671),h=r(28510),v=r(51865),p=r.n(v),f=r(22803),m=r(48653),g=r(49889);let y=e=>{var t;let{user:r,noindex:v}=e,{user:y}=(0,l.useContext)(d.ZP),{shouldUseListFeedLayout:b}=(0,h.dS)(),x=r&&(null==y?void 0:y.id)===r.id,w=null==r?void 0:r.id,j={feedName:s.a9.Author,feedQueryKey:["author",w],query:i.j0,variables:{userId:w},disableAds:!0,emptyScreen:x?(0,n.jsx)(c.Z,{className:"items-center px-4 py-6 text-center tablet:px-6",text:"Hardest part of being a developer? Where do we start – it’s everything. Go on, share with us your best rant.",cta:"New post",buttonProps:{tag:"a",href:a.p4.post.create}}):(0,n.jsx)(u.f,{title:"".concat(null!==(t=null==r?void 0:r.name)&&void 0!==t?t:"User"," hasn't posted yet"),text:"Once they do, those posts will show up here."})},O={...(0,m.qH)(r,{title:(0,g.g)("Recent posts by ".concat(r.name," (@").concat(r.username,")"))},v)};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(f.PB,{...O}),(0,n.jsx)(o.Z,{...j,className:p()("py-6",!b&&"px-4")})]})};y.getLayout=m.G0;var b=!0;let x=y},22025:e=>{e.exports={field:"TextField_field__LrQ8K"}},26410:(e,t,r)=>{"use strict";r.d(t,{YD:()=>p});var n=r(44194);function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var i=new Map,o=new WeakMap,s=0,c=void 0;function u(e,t,r,n){if(void 0===r&&(r={}),void 0===n&&(n=c),void 0===window.IntersectionObserver&&void 0!==n){var l=e.getBoundingClientRect();return t(n,{isIntersecting:n,target:e,intersectionRatio:"number"==typeof r.threshold?r.threshold:0,time:0,boundingClientRect:l,intersectionRect:l,rootBounds:l}),function(){}}var a=function(e){var t=Object.keys(e).sort().filter(function(t){return void 0!==e[t]}).map(function(t){var r;return t+"_"+("root"===t?(r=e.root)?(o.has(r)||(s+=1,o.set(r,s.toString())),o.get(r)):"0":e[t])}).toString(),r=i.get(t);if(!r){var n,l=new Map,a=new IntersectionObserver(function(t){t.forEach(function(t){var r,a=t.isIntersecting&&n.some(function(e){return t.intersectionRatio>=e});e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=a),null==(r=l.get(t.target))||r.forEach(function(e){e(a,t)})})},e);n=a.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),r={id:t,observer:a,elements:l},i.set(t,r)}return r}(r),u=a.id,d=a.observer,h=a.elements,v=h.get(e)||[];return h.has(e)||h.set(e,v),v.push(t),d.observe(e),function(){v.splice(v.indexOf(t),1),0===v.length&&(h.delete(e),d.unobserve(e)),0===h.size&&(d.disconnect(),i.delete(u))}}var d=["children","as","triggerOnce","threshold","root","rootMargin","onChange","skip","trackVisibility","delay","initialInView","fallbackInView"];function h(e){return"function"!=typeof e.children}var v=function(e){function t(t){var r;return(r=e.call(this,t)||this).node=null,r._unobserveCb=null,r.handleNode=function(e){!r.node||(r.unobserve(),e||r.props.triggerOnce||r.props.skip||r.setState({inView:!!r.props.initialInView,entry:void 0})),r.node=e||null,r.observeNode()},r.handleChange=function(e,t){e&&r.props.triggerOnce&&r.unobserve(),h(r.props)||r.setState({inView:e,entry:t}),r.props.onChange&&r.props.onChange(e,t)},r.state={inView:!!t.initialInView,entry:void 0},r}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,a(t,e);var r=t.prototype;return r.componentDidUpdate=function(e){(e.rootMargin!==this.props.rootMargin||e.root!==this.props.root||e.threshold!==this.props.threshold||e.skip!==this.props.skip||e.trackVisibility!==this.props.trackVisibility||e.delay!==this.props.delay)&&(this.unobserve(),this.observeNode())},r.componentWillUnmount=function(){this.unobserve(),this.node=null},r.observeNode=function(){if(this.node&&!this.props.skip){var e=this.props,t=e.threshold,r=e.root,n=e.rootMargin,l=e.trackVisibility,a=e.delay,i=e.fallbackInView;this._unobserveCb=u(this.node,this.handleChange,{threshold:t,root:r,rootMargin:n,trackVisibility:l,delay:a},i)}},r.unobserve=function(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)},r.render=function(){if(!h(this.props)){var e=this.state,t=e.inView,r=e.entry;return this.props.children({inView:t,entry:r,ref:this.handleNode})}var a=this.props,i=a.children,o=a.as,s=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(l[r]=e[r]);return l}(a,d);return n.createElement(o||"div",l({ref:this.handleNode},s),i)},t}(n.Component);function p(e){var t=void 0===e?{}:e,r=t.threshold,l=t.delay,a=t.trackVisibility,i=t.rootMargin,o=t.root,s=t.triggerOnce,c=t.skip,d=t.initialInView,h=t.fallbackInView,v=n.useRef(),p=n.useState({inView:!!d}),f=p[0],m=p[1],g=n.useCallback(function(e){void 0!==v.current&&(v.current(),v.current=void 0),!c&&e&&(v.current=u(e,function(e,t){m({inView:e,entry:t}),t.isIntersecting&&s&&v.current&&(v.current(),v.current=void 0)},{root:o,rootMargin:i,threshold:r,trackVisibility:a,delay:l},h))},[Array.isArray(r)?r.toString():r,o,i,s,c,a,h,l]);(0,n.useEffect)(function(){v.current||!f.entry||s||c||m({inView:!!d})});var y=[g,f.inView,f.entry];return y.ref=y[0],y.inView=y[1],y.entry=y[2],y}v.displayName="InView",v.defaultProps={threshold:0,triggerOnce:!1,initialInView:!1}},51865:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function l(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=a(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return l.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)n.call(e,r)&&e[r]&&(t=a(t,r));return t}(r)))}return e}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(l.default=l,e.exports=l):void 0!==(r=(function(){return l}).apply(t,[]))&&(e.exports=r)}()}},e=>{var t=t=>e(e.s=t);e.O(0,[2590,5092,2353,9180,4934,8022,5134,1882,4702,8830,1141,5958,158,4356,2012,9683,1918,9467,2090,1402,3047,8622,8791,5153,9886,6537,2888,9774,179],()=>t(93761)),_N_E=e.O()}]);