1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5330,4852,3739,7506,7946],{74852:function(e,n,t){t.r(n);var i=t(26042),r=t(69396),a=t(99534),o=t(85893),l=t(67294),u=t(5152),s=t.n(u),d=t(53933),c=t(90233),v=t(68527),f=t(15193),p=s()((function(){return Promise.resolve().then(t.bind(t,85741))}),{loadableGenerated:{webpack:function(){return[85741]}}}),h=function(e){return(null===e||void 0===e?void 0:e.name)||""};n.default=function(e){var n=e.items,t=void 0===n?[]:n,u=e.children,s=e.onAdd,m=e.onRemove,g=e.selectedItems,x=e.preventMultiselect,Z=void 0!==x&&x,b=e.onBlur,j=e.onGoTo,y=e.onChange,C=e.initialItems,w=e.listVariant,I=void 0===w?"searchResults":w,k=(0,a.Z)(e,["items","children","onAdd","onRemove","selectedItems","preventMultiselect","onBlur","onGoTo","onChange","initialItems","listVariant"]),G=(0,l.useState)(""),P=G[0],T=G[1],z=C||(null===P||void 0===P?void 0:P.length)>1?function(e,n){return(0,c.Lu)(e,n,{keys:["name","tags","office"],threshold:c.Lu.rankings.WORD_STARTS_WITH})}(g?null===t||void 0===t?void 0:t.filter((function(e){return!g.map(h).includes(h(e))})):t,P):[],R=(0,d.Kb)({inputValue:P,items:z,onStateChange:function(e){var n=e.inputValue,t=e.type,i=e.selectedItem,r=n||"";switch(t){case d.Kb.stateChangeTypes.InputChange:T(r),y&&y(r);break;case d.Kb.stateChangeTypes.InputKeyDownEnter:case d.Kb.stateChangeTypes.ItemClick:case d.Kb.stateChangeTypes.InputBlur:t===d.Kb.stateChangeTypes.InputBlur&&b&&b(),i&&s?(T(""),y&&y(r),Z&&m&&(null===g||void 0===g?void 0:g.length)&&m(g[0]),s(i,g||[]),D(null)):(null===i||void 0===i?void 0:i.href)&&t===d.Kb.stateChangeTypes.InputKeyDownEnter&&j&&j(i.href)}},itemToString:h}),S=R.isOpen,_=R.openMenu,K=R.getMenuProps,L=R.getInputProps,A=R.getComboboxProps,W=R.highlightedIndex,B=R.getItemProps,D=R.selectItem,E=R.getLabelProps;return(0,o.jsxs)(v.xu,(0,r.Z)((0,i.Z)({pos:"relative"},k),{children:[u({getInputProps:L,getOuterProps:function(){return A()},selectedItems:g||[],openMenu:_,isSearching:!!P,getLabelProps:E}),(0,o.jsx)(v.aV,(0,r.Z)((0,i.Z)({borderRadius:"md",pos:"absolute",left:"0",right:"0",mt:"2",bg:"backgroundColor",color:"primaryColor",variant:I,zIndex:"25",maxHeight:"40vh",overflowY:"auto",overflowX:"hidden","aria-live":"polite"},K()),{children:S&&(null===z||void 0===z?void 0:z.map((function(e,n,t){var l=e.id,u=e.href,s=e.target,d=e.node,c=e.name,h=B({index:n,item:{name:c,id:l}}),m=h.onClick,g=(0,a.Z)(h,["onClick"]);return(0,o.jsx)(v.HC,(0,r.Z)((0,i.Z)({borderTopRadius:n?"":"md",borderBottomRadius:t.length-1===n?"md":"",bg:W===n?"gray2":"transparent",onClick:m},g),{children:u?(0,o.jsx)(p,(0,r.Z)((0,i.Z)({href:u},s?{target:s}:null),{onClick:m,children:c})):(0,o.jsx)(f.zx,{variant:"transparent",type:"button",maxWidth:"none",width:"100%",onClick:m,children:d?d(P):c})}),"".concat(l,"-").concat(c))})))}))]}))}},34780:function(e,n,t){t.r(n);var i=t(85893),r=t(68527),a=t(18074),o=t(16147),l=t(17946);n.default=(0,a.h)((function(e){var n=e.benefits,t=e.isLoading;return(0,i.jsxs)(r.xu,{children:[(0,i.jsx)(r.kC,{mb:[8,10,14],justifyContent:"space-between",alignItems:"center",flexWrap:"wrap",gridGap:"4",sx:{"> *":{width:"auto"}},children:(0,i.jsx)(o.Z,{isLoading:t})}),(0,i.jsx)(l.default,{benefits:n})]})}),{param:"sites",dataKey:"benefits"})},17946:function(e,n,t){t.r(n);var i=t(85893),r=t(68527),a=t(77421),o=t(37506);n.default=function(e){var n=e.benefits,t=(0,a.$G)();return(0,i.jsxs)(r.rj,{templateColumns:["1fr","repeat(auto-fit, minmax(250px, 1fr))","repeat(auto-fit, minmax(325px, 1fr))"],gap:"10",mb:"10",as:r.aV,children:[n.map((function(e){var n=e.id,t=e.lead,a=e.image,l=e.site,u=e.title;return(0,i.jsx)(o.default,{as:r.HC,heading:{style:"h4",importance:"h3",title:u},wysiwyg:t,image:a,site:l},"".concat(n||u,"-").concat(l))})),(null===n||void 0===n?void 0:n.length)?null:(0,i.jsx)(r.xv,{children:t("no_benefits")})]})}},83739:function(e,n,t){t.r(n);var i=t(26042),r=t(69396),a=t(99534),o=t(85893),l=t(5152),u=t.n(l),s=t(68527),d=t(15193),c=u()((function(){return t.e(3254).then(t.bind(t,83254))}),{loadableGenerated:{webpack:function(){return[83254]}}}),v=u()((function(){return Promise.all([t.e(3871),t.e(4158)]).then(t.bind(t,72059))}),{loadableGenerated:{webpack:function(){return[72059]}}});n.default=function(e){var n=e.buttons,t=e.size,l=e.inverted,u=(0,a.Z)(e,["buttons","size","inverted"]),f=l?"outlineWhite":"outlineGreen";return(0,o.jsx)(s.xu,(0,r.Z)((0,i.Z)({display:"flex",gridGap:3,flexWrap:"wrap"},u),{children:null===n||void 0===n?void 0:n.filter((function(e){var n;return!!e&&!!((null===e||void 0===e?void 0:e.children)||(null===e||void 0===e?void 0:e.title)||(null===(n=e.link)||void 0===n?void 0:n.title))})).map((function(e,n){var l,u=e.variant,s=(0,a.Z)(e,["variant"]);if(null===(l=s.link)||void 0===l?void 0:l.url){var p=s.link,h=(0,a.Z)(s,["link"]);return(0,o.jsx)(c,(0,i.Z)({link:p,variant:u||(n?f:"solidGreen"),size:t},h),"".concat((null===s||void 0===s?void 0:s.id)||p.url||s.children||(null===p||void 0===p?void 0:p.title),"-").concat(n))}return"form"in s&&"string"!==typeof s.form?(0,o.jsx)(v,(0,r.Z)((0,i.Z)({variant:u||(n?f:"solidGreen"),size:t,"data-test-id":"form-modal-button-".concat(n+1)},s),{children:s.children||s.title}),"".concat((null===s||void 0===s?void 0:s.id)||s.children,"-").concat(n)):(0,o.jsx)(d.zx,(0,r.Z)((0,i.Z)({variant:u||(n?f:"solidGreen"),size:t},s),{children:s.children||s.title}),"".concat((null===s||void 0===s?void 0:s.id)||s.children,"-").concat(n))}))}))}},16147:function(e,n,t){var i=t(26042),r=t(69396),a=t(99534),o=t(29815),l=t(85893),u=t(68527),s=t(4612),d=t(15193),c=t(11163),v=t(61320),f=t(77421),p=t(74852),h=t(47685),m=t(2695),g=function(e,n,t,i){var r=n.value,a=function(e,n){return null===n||void 0===n?void 0:n.filter((function(n){return e.find((function(e){return(e.path.replace(/\//g,"")||"main")===n}))}))}(t,(0,m.j4)(e));return(a.find((function(e){return e===r}))?a.filter((function(e){return e!==r})):(0,o.Z)(a).concat([r])).filter((function(e){return e!==i})).join(",")},x=function(e){var n=e.path,t=e.blog_id,i=e.blogname,r=e.tags;return{value:n.replace(/\//g,"")||"main",id:t,name:i,tags:r,node:function(){return(0,l.jsx)(u.xv,{as:"span",py:"2",px:"1",children:i})}}},Z=function(e){return null===e||void 0===e?void 0:e.map(x)};n.Z=function(e){var n=e.isLoading,t=e.justifyContent,x=e.size,b=void 0===x?"normal":x,j=(0,a.Z)(e,["isLoading","justifyContent","size"]),y=(0,f.z_)(),C=y.sites,w=y.subsite,I=(0,c.useRouter)(),k=I.query.sites,G=void 0===k?[]:k,P=I.push,T=I.asPath,z=(0,f.$G)(),R=Z(function(e,n,t){return t?function(e,n){return null===e||void 0===e?void 0:e.filter((function(e){var t=e.path;return n.includes(t.replace(/\//g,"")||"main")}))}(t,(0,o.Z)(n?[n,"main"]:[]).concat((0,o.Z)((0,m.j4)(e)))):[]}(G,w,C)).sort((function(e){return e.value===(w||"main")?-1:0})),S=function(e){P({pathname:T.split("?")[0],query:e?{sites:e}:{}},void 0,{shallow:!0})},_=function(e){var n=g(G,e,C,w);S(n)};return(0,l.jsxs)(u.xu,(0,r.Z)((0,i.Z)({},j),{justifyContent:t,children:[(0,l.jsx)(p.default,{items:Z(C),selectedItems:R,onAdd:function(e){
1S(g(G,e,C,w))},onRemove:_,children:function(e){var t=e.getInputProps,a=e.getOuterProps;return(0,l.jsxs)(s.BZ,(0,r.Z)((0,i.Z)({},a()),{flexWrap:"wrap",size:b,children:[(0,l.jsx)(s.Z8,{pointerEvents:"none",color:"highlightColor",children:(0,l.jsx)(v.t,{size:"18"})}),(0,l.jsx)(s.II,(0,i.Z)({variant:"search",pr:"8",pl:"10"},t({id:"sites-search",placeholder:z("search_association_placeholder")}))),n?(0,l.jsx)(s.xH,{children:(0,l.jsx)(d.zx,{as:"span",variant:"transparent",isLoading:!0})}):null]}))}}),(0,l.jsx)(u.kC,{flexWrap:"wrap",pt:"2",justifyContent:t,gridColumnGap:"3",gridRowGap:"2",children:R.map((function(e,n){return!n&&w||w&&"main"===e.value?null:(0,l.jsxs)(d.zx,{variant:"tag",onClick:function(){_(e)},children:[e.name,(0,l.jsx)(h.Tw,{size:"3"})]},"selected-item-".concat(n))}))})]}))}},37506:function(e,n,t){t.r(n);var i=t(26042),r=t(69396),a=t(99534),o=t(85893),l=t(5152),u=t.n(l),s=t(46052),d=t(68527),c=t(83739),v=t(5028),f=t(57753),p=t(10834),h=u()((function(){return t.e(4616).then(t.bind(t,54616))}),{loadableGenerated:{webpack:function(){return[54616]}}});n.default=function(e){var n=e.variant,t=e.date,l=e.text,u=e.wysiwyg,m=e.heading,g=m.title,x=m.importance,Z=m.style,b=e.buttons,j=e.icon,y=e.image,C=e.textStyle,w=e.site,I=e.children,k=void 0===I?null:I,G=e.invertedColors,P=e.alignItems,T=void 0===P?"flex-start":P,z=e.gridRowGap,R=void 0===z?5:z,S=e.innerProps,_=void 0===S?null:S,K=e.author,L=(0,a.Z)(e,["variant","date","text","wysiwyg","heading","buttons","icon","image","textStyle","site","children","invertedColors","alignItems","gridRowGap","innerProps","author"]),A=(0,s.mq)("Teaser",{variant:n});return(0,o.jsxs)(d.xu,(0,r.Z)((0,i.Z)({__css:A},L),{children:[j&&(0,o.jsx)(f.default,{src:j,alt:g,width:"88",height:"88",role:"presentation",containerProps:{width:["70px",null,"88px"],height:["70px",null,"88px"],m:"0 auto"}}),(null===y||void 0===y?void 0:y.src)&&(0,o.jsx)(f.default,{width:"640px",height:"432px",src:y.src,alt:(null===y||void 0===y?void 0:y.alt)||g}),(0,o.jsxs)(d.rj,(0,r.Z)((0,i.Z)({alignItems:T,gridRowGap:R,gridTemplateColumns:"100%",py:3},_),{children:[g&&(0,o.jsx)(p.default,{mt:0,as:x,variant:Z,children:g}),(t||w||K)&&(0,o.jsx)(h,{date:t,site:w,author:K,mt:-2}),l&&(0,o.jsx)(d.xv,{textStyle:C||"sm",noOfLines:4,maxWidth:"65ch",children:l}),u&&(0,o.jsx)(v.default,{html:u}),b&&(0,o.jsx)(c.default,{buttons:b,inverted:G}),k]}))]}))}},18074:function(e,n,t){t.d(n,{h:function(){return p}});var i=t(14924),r=t(26042),a=t(69396),o=t(99534),l=t(29815),u=t(87146),s=t(85893),d=t(11163),c=t(58124),v=t(77421),f=function(e,n,t){return(0,i.Z)({},e,(0,r.Z)({},t,n||{}))},p=function(e,n){var t=n.param,p=void 0===t?"sites":t,h=n.dataKey,m=n.incrementData,g=void 0===m||m,x=n.dataResolver,Z=void 0===x?f:x;return function(n){var t,f=n[h],m=n.incrementData,x=(0,o.Z)(n,[h,"incrementData"].map(u.Z)),b="boolean"===typeof m?m:g,j=(0,v.eo)(!1),y=(0,d.useRouter)().query[p],C=(null===y||void 0===y?void 0:y.length)&&function(e,n){return e.split(",").filter((function(e){return e!==n})).join(",")}(Array.isArray(y)?y.join(","):y,j),w=(0,c.HU)(C?"/entities/".concat(String(h),"?sites=").concat(C):null).data;if(!w||"undefined"!==typeof(null===w||void 0===w?void 0:w.error))return(0,s.jsx)(e,(0,a.Z)((0,r.Z)({},x),(t={},(0,i.Z)(t,h,f),(0,i.Z)(t,"isLoading",C&&!w),(0,i.Z)(t,"error",null===w||void 0===w?void 0:w.error),t)));if("object"===typeof f&&f&&b){var I=Array.isArray(f)&&Array.isArray(w)?(0,i.Z)({},h,(0,l.Z)(f).concat((0,l.Z)(w||[]))):Z(h,w,f);return"jobs"===h?(0,s.jsx)(e,(0,a.Z)((0,r.Z)({},x),(0,i.Z)({},h,w))):(0,s.jsx)(e,(0,r.Z)({},x,I))}return(0,s.jsx)(e,(0,a.Z)((0,r.Z)({},x),(0,i.Z)({},h,w)))}}},87146:function(e,n,t){t.d(n,{Z:function(){return r}});var i=t(82222);function r(e){var n=function(e,n){if("object"!==(0,i.Z)(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,n||"default");if("object"!==(0,i.Z)(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"===(0,i.Z)(n)?n:String(n)}}}]);
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.