(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8804],{58736:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/dei",function(){return r(68436)}])},11941:function(e,t,r){"use strict";r.d(t,{Z:function(){return ThreadPlateSingle}});var l=r(85893),a=r(93967),o=r.n(a),n=r(45697),s=r.n(n),d=r(30587);function ThreadPlateSingle(e){var t=e.className,r=e.contentBlock,a=e.contentAlign,n=e.mediaBlock,s=e.headerBlock,i=e.layout,c="top"===a,h="right"===a,m=(0,d.ZP)("(min-width: 768px)"),u=(0,l.jsxs)("div",{className:o()(t,{top:"grid gap-fluid-sm",right:"grid gap-fluid-sm items-center",left:"grid gap-fluid-sm items-center"}[a]),children:[(0,l.jsxs)("div",{className:{right:n?"grid lg:grid-cols-2 items-center mx-auto gap-fluid-sm":null,left:n?"grid lg:grid-cols-2 items-center mx-auto gap-fluid-sm ":null,top:n?"grid w-full mx-auto gap-fluid-sm":null}[a],children:[(h||c)&&s,n,"left"===a&&!c&&s]}),r]}),p=(0,l.jsxs)("div",{className:o()(t,{right:n?"grid lg:grid-cols-2 items-center justify-stretch gap-fluid-sm":null,left:n?"grid lg:grid-cols-2 items-center justify-stretch gap-fluid-sm":null}[a]),children:[!h&&m&&n,(0,l.jsxs)("div",{className:{right:r?"lg:p-fluid-sm flex flex-col mx-auto lg:mx-0 gap-fixed-lg":null,left:r?"lg:p-fluid-sm flex flex-col mx-auto lg:mx-0 gap-fixed-lg":null}[a],children:[s,r]}),(h||!m)&&n]});return(0,l.jsx)(l.Fragment,{children:"horizontal"===i?u:p})}ThreadPlateSingle.defaultProps={contentAlign:"left",layout:"vertical"},ThreadPlateSingle.propTypes={className:s().string,contentAlign:s().string,contentBlock:s().node,headerBlock:s().node,layout:s().oneOf(["horizontal","vertical"]),mediaBlock:s().node}},68436:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSG:function(){return T},default:function(){return DEIPage}});var l=r(72253),a=r(14932),o=r(24043),n=r(85893),s=r(67294),d=r(91721),i=r(86652),c=r.n(i);function CommitmentList(e){var t=e.themeColor,r=e.list;return(0,n.jsx)(d.Z,{bClassName:c().bodyText,bColor:"text-thd-color-grey-70",bFont:"md",className:"grid md:grid-cols-2 2xl:grid-cols-4 gap-x-fluid-sm gap-y-lg mb-fluid-sm max-w-screen-3xl mx-auto px-fluid-base",hColor:"text-thd-color-grey-80",hLineLength:"2xl",iconBg:"bg-thd-color-grey-80",iconColor:"var(--thd-color-grey-10)",list:r,showIcons:"yes",themeColor:t})}var h=r(93967),m=r.n(h),u=r(91585),p=r(27924),g=r(11941),x=r(92673);function IntroLoom(e){var t=e.standForBlock,r=e.doingBlock,l=e.loom,a=e.themeColor;return(0,n.jsx)("section",{className:"max-w-screen-3xl mx-auto mb-fluid-lg md:px-fluid-base 3xl:p-0",children:(0,n.jsx)("div",{className:m()((0,x.b)(null!=a?a:"violet-light").bg,"py-fluid-md md:p-fluid-md lg:p-fluid-lg md:thd-rounded-ext"),children:(0,n.jsx)(g.Z,{className:"px-fluid-sm md:px-0",contentAlign:"right",headerBlock:(0,n.jsxs)("div",{className:"flex flex-col gap-24 justify-center md:px-fluid-xs xl:px-fluid-sm",children:[(0,n.jsx)(p.Z,{bFont:"sm",gap:"mb-md lg:mb-lg",hAlign:"start",hFont:"sm",hLineLength:"lg",header:t,nested:!0,themeColor:"violet-light",vAlign:"center"}),(0,n.jsx)(p.Z,{bFont:"sm",gap:"mb-md lg:mb-lg",hAlign:"start",hFont:"sm",hLineLength:"lg",header:r,nested:!0,themeColor:"violet-light",vAlign:"center"})]}),layout:"horizontal",mediaBlock:(0,n.jsx)(u.Z,{className:"overflow-hidden thd-rounded-int my-auto",hideElements:!0,loom:l}),themeColor:"violet-light"})})})}function ThreadGraphHeader(e){var t,r,l=e.headCount,a=e.hideReported,o=e.lastReported,s=e.name,d=e.separator,i=e.small,c=e.sourceType,h=void 0===c?"self-reported":c;return a||(o?(r=o,t="thd-body-sm"):"self-reported"===h?(r="Self-reported data from ".concat(l," responses"),t="thd-overline uppercase mt-fixed-sm"):"eeo-reported"!==h||(r="EEO reported data from ".concat(l," responses"),t="thd-overline uppercase mt-fixed-sm")),(0,n.jsx)("div",{className:m()("mb-fluid-xs",d&&"pb-fixed-md border-b border-b-thd-color-grey-30"),children:(0,n.jsx)(p.Z,{bClassName:t,bColor:"text-thd-color-grey-70",bFont:"md",gap:i?"":"mb-fixed-md",hColor:"text-thd-color-grey-80",hFont:i?"xs":"md",hLevel:i?"h4":"h3",header:s,jumpLink:!0,nested:!0,subhead:r})})}var f=r(70131),v=r(47702),b=r(63182),j=r(84224);function ThreadSelect(e){var t=e.children,r=(0,v._)(e,["children"]);return(0,n.jsxs)("div",{className:m()(r.className,"relative text-thd-color-grey-60 focus-within:text-thd-color-violet-70"),children:[(0,n.jsx)("select",(0,a._)((0,l._)({},r),{className:"appearance-none w-full h-64 cursor-pointer rounded-full border border-thd-color-grey-20 px-20 focus:border-thd-color-violet-60 focus:ring-1 focus:ring-thd-color-violet-60 focus:outline-none",children:t})),(0,n.jsx)("span",{className:"pointer-events-none absolute right-20 top-0 h-full flex items-center",children:(0,n.jsx)(j.Z,{color:"inherit",icon:(0,n.jsx)(b.Z,{}),size:2})})]})}var y=r(56649),N=r(28784),_=r.n(N);function ThreadRobustGraph(e){var t=e.dataset,r=e.headCount,l=e.name,a=t.rows.slice(1).reduce(function(e,t){return e[t.cells[0]]||(e[t.cells[0]]=[]),e[t.cells[0]].push({range:t.cells[1],value:t.cells[2]+"%",_key:t._key}),e},{}),d=Object.keys(a),i=(0,o._)((0,s.useState)(d[0]),2),c=i[0],h=i[1];return(0,n.jsxs)("div",{className:"col-span-2",children:[(0,n.jsx)("div",{className:"flex space-between items-start pb-20 mb-24",children:(0,n.jsx)("div",{className:"flex-grow",children:(0,n.jsx)(ThreadGraphHeader,{headCount:r,name:l,small:!0,sourceType:"eeo-reported"})})}),(0,n.jsx)(InvisibleTable,{caption:l,data:a}),(0,n.jsx)("div",{"aria-hidden":"true",className:"flex flex-col",children:(0,n.jsxs)("div",{className:"grid grid-cols-3 mb-20 last:mb-0",children:[(0,n.jsxs)("div",{className:"thd-body-md col-span-3 flex relative items-center justify-items-center lg:hidden mb-32",children:[(0,n.jsx)("label",{className:"thd-body-md mr-16",htmlFor:"team",children:"Team:"}),(0,n.jsx)(ThreadSelect,{className:"flex-grow",name:"team",onChange:function(e){h(e.target.value)},children:d.map(function(e){return(0,n.jsx)("option",{value:e,children:e},e)})})]}),(0,n.jsx)("div",{className:"thd-body-md hidden lg:block",children:(0,n.jsx)("ul",{children:d.map(function(e){return(0,n.jsx)("li",{className:m()("w-[280px] -ml-20"),children:(0,n.jsx)("button",{className:m()("border-2 rounded-sm p-8 w-full text-left text-thd-color-grey-80 thd-focus-thick",c==e?"border-thd-color-grey-80 bg-thd-color-grey-20 transition-all font-bold":"border-transparent"),onClick:function(){h(e)},type:"button",children:e})},e)})})}),(0,n.jsx)("div",{className:"col-span-3 lg:col-span-2",children:Object.entries(a[c]).map(function(e){var t=(0,o._)(e,2),r=t[0],l=t[1];return(0,n.jsx)("div",{className:"thd-body-md grid grid-cols-2 mb-20 last:mb-0",children:(0,n.jsx)("div",{className:m()(_().percentage,"w-full col-span-6 flex flex-row items-center font-bold"),children:(0,n.jsx)(RobustBar,{range:l.range,value:l.value})})},r)})})]})})]},t._key)}function RobustBar(e){var t=e.range,r=e.value,l=(0,f.YD)({threshold:1,triggerOnce:!0}),a=l.inView,o=l.ref,s=r.replace("%","");return(0,n.jsx)("div",{className:"h-80 w-full rounded-[12px] overflow-hidden bg-thd-color-grey-20 relative isolate",ref:o,children:(0,n.jsx)("div",{className:"-z-10 w-full absolute bg-thd-color-grey-80 h-full origin-left motion-safe:transition-transform motion-safe:duration-[1500ms] motion-safe:delay-100 motion-safe:ease-in-out tr",style:{transform:"translateX(".concat(a?s-100:-100,"%)")},children:(0,n.jsx)("div",{className:m()("w-max absolute px-md h-full flex items-center",s<85?"left-100% text-thd-color-grey-80":"right-0 text-white"),children:(0,n.jsxs)("p",{children:[t,": ",r]})})})})}function InvisibleTable(e){var t=e.caption,r=e.data;return(0,n.jsxs)("table",{className:"sr-only table-fixed",children:[(0,n.jsx)("caption",{children:t}),(0,n.jsx)("tbody",{children:Object.entries(r).map(function(e){var t=(0,o._)(e,2),r=t[0],l=t[1],a=(0,y.Z)(r);return(0,n.jsxs)(s.Fragment,{children:[(0,n.jsx)("tr",{children:(0,n.jsx)("th",{colSpan:"2",id:a,scope:"colgroup",children:r})}),l.map(function(e){return(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{headers:a,children:e.range}),(0,n.jsx)("td",{headers:a,children:e.value})]},e._key)})]},a)})})]})}function ThreadBar(e){var t=e.percentage,r=(0,f.YD)({threshold:1,triggerOnce:!0}),l=r.inView,a=r.ref;return(0,n.jsx)("div",{className:"h-16 w-full bg-thd-color-grey-20 relative overflow-hidden rounded-[12px] isolate",ref:a,children:t>0&&(0,n.jsx)("div",{className:m()("-z-10 h-full w-full bg-thd-color-grey-80 absolute left-0 origin-left motion-safe:transition-transform motion-safe:duration-[1500ms] motion-safe:delay-100 motion-safe:ease-in-out",!l&&"motion-safe:-translate-x-full"),style:{width:"".concat(t,"%")}})})}function ThreadSimpleGraph(e){var t=e.lastReported,r=e.name,l=e.data,a=e.headCount,o=e.hideReported,s=e.small,d=e.double,i=l.rows.slice(1).map(function(e){return{range:e.cells[0],percentage:e.cells[1],note:e.cells[2],_key:e._key}});return(0,n.jsxs)("div",{className:d?"col-span-2":"col-span-2 lg:col-span-1",children:[r&&(0,n.jsx)(ThreadGraphHeader,{headCount:a,hideReported:o,lastReported:t,name:r,small:s}),(0,n.jsx)(ThreadSimpleGraph_InvisibleTable,{caption:r,rows:i}),(0,n.jsx)("div",{"aria-hidden":"true",className:"flex flex-col",children:i.map(function(e){return(0,n.jsxs)("div",{className:"grid grid-cols-4 md:grid-cols-6 mb-20 last:mb-0 items-center",children:[(0,n.jsx)("div",{className:"text-thd-color-grey-80 w-full col-span-3 md:col-span-5 lg:col-span-1",children:(0,n.jsxs)("p",{children:[(0,n.jsx)("span",{className:"thd-body-md",children:e.range}),e.note&&(0,n.jsx)("span",{className:"thd-body-sm block text-thd-color-grey-70",children:e.note})]})}),(0,n.jsx)("div",{className:"thd-body-md font-bold text-right md:mr-16 lg:mr-8 xl:mr-32 mb-4",children:e.percentage+"%"}),(0,n.jsx)("div",{className:"h-16 w-full col-span-4 md:col-span-6 lg:col-span-4 relative",children:(0,n.jsx)(ThreadBar,{percentage:e.percentage})},e._key+"thread-simple-graph")]},e._key+"thread")})})]})}function ThreadSimpleGraph_InvisibleTable(e){var t,r=e.caption,l=e.rows;return(0,n.jsxs)("table",{className:"sr-only table-fixed",children:[(0,n.jsx)("caption",{children:r}),(0,n.jsx)("tbody",{children:null==l?void 0:null===(t=l.map)||void 0===t?void 0:t.call(l,function(e){return(0,n.jsxs)("tr",{children:[(0,n.jsxs)("td",{children:[(0,n.jsx)("p",{children:null==e?void 0:e.range}),e.note&&(0,n.jsx)("p",{children:e.note})]}),(0,n.jsxs)("td",{children:[null==e?void 0:e.percentage,"%"]})]},e._key)})})]})}function ThreadStickyNav(e){var t=e.setActiveYear,r=e.yearKeys,l=e.className;return(0,n.jsx)("nav",{className:m()(l,"thd-sticky thd-sticky-bar text-thd-color-violet-10 bg-thd-color-violet-60 thd-focus-thick"),children:(0,n.jsxs)("div",{className:"thd-container-max flex justify-between items-center py-fixed-md",children:[(0,n.jsx)("p",{className:"thd-heading-xs",children:"Diversity, Equity, and Inclusion"}),(0,n.jsxs)("div",{className:"flex flex-row items-center relative",children:[(0,n.jsx)("label",{className:"hidden md:block thd-body-md mr-16",htmlFor:"year",children:"As of:"}),(0,n.jsx)("select",{className:"thd-focus-thick-override appearance-none font-medium rounded-full cursor-pointer h-40 w-40 text-transparent bg-thd-color-violet-10 md:h-auto md:w-auto md:text-thd-color-violet-70 md:py-12 md:pl-24 md:pr-48",name:"year",onChange:function(e){t(e.target.value)},children:null==r?void 0:r.map(function(e){return(0,n.jsx)("option",{className:"text-initial",value:e,children:e},e)})}),(0,n.jsx)("div",{className:"absolute pointer-events-none w-full flex justify-center md:w-auto md:right-24",children:(0,n.jsx)(j.Z,{color:"var(--thd-color-violet-70)",icon:(0,n.jsx)(b.Z,{}),size:2})})]})]})})}var w=r(65970);function WhoWeAre(e){var t=e.dataByYear,r=e.activeYear,l=e.themeColor,a=e.header,o=Object.keys(t[r]);return(0,n.jsx)("section",{className:m()((0,x.b)(null!=l?l:"violet-light").bg,"py-fluid-lg"),children:(0,n.jsxs)("div",{className:"thd-container-max flex flex-col gap-y-xl gap-x-fluid-lg md:flex-row",children:[(0,n.jsx)(p.Z,{bFont:"md",bLineLength:"4xl",gap:"mb-md lg:mb-lg",hAlign:"start",hFont:"lg",hLineLength:"md",header:a,nested:!0,themeColor:l,vAlign:"center"}),(0,n.jsx)("ul",{className:m()("thd-body-lg md:mt-fluid-md",o.length>4&&"md:columns-2",(0,x.b)(null!=l?l:"violet-light").bodyText),children:null==o?void 0:o.map(function(e){var l=t[r][e];return(0,n.jsx)("li",{className:"mt-8 first:mt-0",children:(0,n.jsx)(w.Z,{className:"thd-focus-thin",href:"#".concat((0,y.Z)(e)),children:(0,n.jsx)("span",{className:"underline cursor-pointer",children:l.categoryHeading})})},l._key)})})]})})}var k=r(33523),C=r(2031),T=!0;function DEIPage(e){var t,r=e.accountNavData,d=e.initialData,i=e.navData,c=e.footerNavData,h=d.reportDateAndCounts.reduce(function(e,t){return e[t.reportDate]||(e[t.reportDate]={}),e},{}),m=Object.keys(h),u=(0,o._)((0,s.useState)(m[0]),2),g=u[0],x=u[1],f=d.reportDateAndCounts.reduce(function(e,t){return e[t.reportDate]||(e[t.reportDate]={}),Object.assign(e[t.reportDate],{reportHeadCount:t.reportHeadCount||t}),e},{}),v=d.deiReports.reduce(function(e,t){var r=t.categoryHeading;return t.reports.map(function(o){var n=o.reportHeading,s=!!o.hideReported,d=!!o.reportLayout,i=!!o.double;o.reports.map(function(o){e[o.reportDate][r]||(e[o.reportDate][r]=(0,a._)((0,l._)({},t),{headCount:f[o.reportDate].reportHeadCount,reports:[]})),e[o.reportDate][r].reports.push({headCount:f[o.reportDate].reportHeadCount,reportTitle:n,hideReported:s,graphByTeam:d,displayFullWidth:i,table:o.table})})}),e},h);return(0,n.jsxs)(k.Z,{accountNavData:r,deiNav:!0,footerNavData:c,name:"DEI",navData:i,children:[(0,n.jsx)(C.Z,{data:null==d?void 0:d.meta,url:"https://patgrady.indiedemos.com/dei"}),(null==d?void 0:d.hero)&&(0,n.jsx)(p.Z,{className:"py-fluid-lg mx-fluid-base",hAlign:"center-end",hFont:"lg",hLevel:"h1",hLineLength:"lg",header:d.hero,nested:!0,themeColor:"grey-light",vAlign:"center"}),(0,n.jsx)(IntroLoom,{doingBlock:null==d?void 0:d.doingBlock,loom:null==d?void 0:d.loom,standForBlock:null==d?void 0:d.standForBlock}),(0,n.jsx)(CommitmentList,{list:d.commitmentCards}),(0,n.jsx)(ThreadStickyNav,{activeYear:g,dataset:d.deiReports,setActiveYear:x,yearKeys:m}),(0,n.jsx)(WhoWeAre,{activeYear:g,dataByYear:v,header:null==d?void 0:d.whoWeAreBlock,themeColor:"violet-dark"}),null===(t=Object.keys(v[g]))||void 0===t?void 0:t.map(function(e){var t,r=v[g][e],l=null==r?void 0:null===(t=r.reports)||void 0===t?void 0:t[0];return r?(0,n.jsx)("section",{className:"py-fluid-sm first:pt-fluid-md bg-white odd:bg-thd-color-grey-10 scroll-m-140 md:scroll-m-160",id:"".concat((0,y.Z)(r.categoryHeading)),tabIndex:"-1",children:(0,n.jsxs)("div",{className:"thd-container-max",children:[(0,n.jsx)(ThreadGraphHeader,{headCount:r.headCount,lastReported:r.categorySubhead,name:r.categoryHeading,separator:(null==l?void 0:l.hideReported)||!(null==l?void 0:l.reportTitle)}),(0,n.jsx)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-y-64 gap-x-36",children:r.reports.map(function(e){return e.graphByTeam?(0,n.jsx)(ThreadRobustGraph,{activeYear:g,dataset:e.table,headCount:e.headCount,lastReported:e.reportSubhead,name:e.reportTitle},e._key):(0,n.jsx)(ThreadSimpleGraph,{activeYear:g,data:e.table,double:e.displayFullWidth,headCount:e.headCount,hideReported:e.hideReported,lastReported:e.reportSubhead,name:e.reportTitle,reportCount:e.reportCount,small:!0},e._key+"variant-simple-graph")})})]})},r._key):null}),(0,n.jsx)("div",{className:"h-fluid-lg thd-prefooter",style:{"--footer-bg":"var(--thd-color-violet-10)"}})]})}},86652:function(e){e.exports={bodyText:"CommitmentList_bodyText__8mw2e"}},28784:function(e){e.exports={graphToggle:"RobustGraph_graphToggle__41HU5",select:"RobustGraph_select__MqxuM",arrow:"RobustGraph_arrow__jbnlb",mobileArrow:"RobustGraph_mobileArrow__wU2te",percentage:"RobustGraph_percentage__zpBJe",percentageMulti:"RobustGraph_percentageMulti__wC2LK"}}},function(e){e.O(0,[2786,2673,3358,37,9267,476,5153,5142,900,7702,3523,562,4387,9774,2888,179],function(){return e(e.s=58736)}),_N_E=e.O()}]);