PageSourceSearch

https://www.theresourcekey.com/_next/static/chunks/pages/blog-208dcfde4686bd01.js

js theresourcekey.com collected 2026-10-06 07:32:27 UTC 26,940 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[195],{7801:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog",function(){return n(5835)}])},5305:function(e,t,n){"use strict";var o=n(5893),r=n(9008),a=n.n(r),i=n(1163),l=n(7597),s={titleEnding:"| ".concat(l.company.name),company:"".concat(l.company.name),author:"".concat(l.company.name),language:"en",themeColor:"#FFDF64",facebookAppId:"",googleSiteVerification:"",baseUrl:"https://theresourcekey.com"},c={title:"The Resource Key partners with Brands to Build Inclusive Impact Solutions",description:"Reimagining innovation and impact, empowering inclusion and accessibility in marketing strategies to move brands forward.",image:"".concat("https://theresourcekey.com","/og-image.png")},u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return n?"".concat(s.baseUrl).concat(e):"".concat(s.baseUrl,"/").concat(t).concat(e)};t.Z=function(e){var t=e.title,n=e.description,r=e.socialTitle,l=e.socialDescription,d=e.socialImage,p=e.alternateLang,m=void 0===p?[]:p,x=e.noindex,f=void 0!==x&&x,b=(0,i.useRouter)(),v=b.locales,g=void 0===v?[]:v,h=b.locale,R=b.asPath,y=u(R,h,h===g[0]),w="".concat(t||c.title," ").concat(s.titleEnding),j=r?"".concat(r," ").concat(s.titleEnding):w;return(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)(a(),{children:[(0,o.jsx)("title",{children:w}),(0,o.jsx)("meta",{name:"title",content:w}),(0,o.jsx)("meta",{name:"description",content:n||c.description}),(0,o.jsx)("meta",{property:"og:url",content:y}),(0,o.jsx)("meta",{property:"og:type",content:"website"}),(0,o.jsx)("meta",{property:"og:title",content:j}),(0,o.jsx)("meta",{property:"og:description",content:l||n||c.description}),(0,o.jsx)("meta",{property:"og:image",content:d||c.image}),(0,o.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,o.jsx)("meta",{name:"twitter:title",content:j}),(0,o.jsx)("meta",{name:"twitter:description",content:l||n||c.description}),(0,o.jsx)("meta",{name:"twitter:image",content:d||c.image}),(0,o.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),(0,o.jsx)("link",{rel:"canonical",href:y}),m&&m.length?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("link",{rel:"alternate",href:u(R,"",!0),hrefLang:"x-default"}),m.map((function(e){return(0,o.jsx)("link",{rel:"alternate",href:u(R,e.lang,e.lang===g[0]),hrefLang:e.lang},e.lang)}))]}):null,(0,o.jsx)("meta",{name:"theme-color",content:s.themeColor}),(0,o.jsx)("meta",{name:"publisher",content:s.company}),(0,o.jsx)("meta",{name:"copyright",content:s.company}),(0,o.jsx)("meta",{name:"author",content:s.author||s.company}),s.facebookAppId?(0,o.jsx)("meta",{property:"fb:app_id",content:s.facebookAppId}):null,s.googleSiteVerification?(0,o.jsx)("meta",{name:"google-site-verification",content:s.googleSiteVerification}):null,f?(0,o.jsx)("meta",{name:"robots",content:"noindex, nofollow"}):null]})})}},345:function(e,t,n){"use strict";var o=n(5893),r=n(4184),a=n.n(r),i=function(e){var t=e.children;return(0,o.jsx)(o.Fragment,{children:t})};i.Eyebrow=function(e){var t=e.children;return t?(0,o.jsx)("p",{className:"mb-1.5 block text-sm font-bold uppercase tracking-wide text-black dark:text-primary-300",children:t}):null},i.SectionHeading=function(e){var t=e.children,n=e.className,r=void 0===n?"":n;return(0,o.jsx)("div",{className:a()("text-4xl font-bold tracking-tight sm:text-5xl",r),children:t})},i.PageHeading=function(e){var t=e.children,n=e.className,r=void 0===n?"":n;return(0,o.jsx)("div",{className:a()("text-5xl font-bold tracking-tight sm:text-6xl md:text-7xl",r),children:t})},t.Z=i},1729:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var o=n(5893),r=n(7294),a=n(797),i=n(1013),l=n(5675),s=n.n(l),c=function(e){var t=e.doc;return(0,o.jsxs)("li",{className:"article-card-wrapper rounded-box group relative mx-auto flex w-full max-w-lg flex-col overflow-hidden shadow-lg duration-150 hover:-translate-y-1 hover:shadow-xl dark:bg-primary-800 hover:dark:bg-primary-700",children:[(0,o.jsx)("div",{className:"aspect-h-9 relative aspect-2 w-full overflow-hidden",children:(0,o.jsx)(s(),{sizes:"(min-width: 767px) 350px, (min-width: 1023px) 400px, 100vw",layout:"fill",objectFit:"cover",src:t.data.image.url,alt:t.data.image.alt||"Main image for ".concat((0,i.Sz)(t.data.title))})}),(0,o.jsxs)("div",{className:"flex flex-col gap-2 p-8",children:[(0,o.jsx)("h3",{className:"flex items-center gap-2 text-xl font-semibold",children:(0,o.jsx)(a.wK,{className:"main-link",document:t,children:(0,i.Sz)(t.data.title)})}),(0,o.jsx)("p",{className:"flex flex-col gap-2",children:t.data.subtitle}),(0,o.jsx)("span",{className:"mt-2 text-sm font-bold text-blue-600 duration-300 group-hover:text-blue-500 group-hover:underline dark:text-blue-200 dark:group-hover:text-blue-300","aria-hidden":"true",children:"Read more \u203a"})]})]})},u=n(7272),d=function(e){var t=e.posts,n=(0,r.useState)(9),a=n[0],i=n[1];return t.length>0?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("ul",{className:"mx-auto mt-8 grid gap-5 md:grid-cols-2 lg:mt-12 lg:max-w-none lg:grid-cols-3",children:t.slice(0,a>t.length?t.length:a).map((function(e){return(0,o.jsx)(c,{doc:e},e.id)}))}),a<t.length&&(0,o.jsx)("div",{className:"mt-8 text-center md:mt-10 lg:mt-16",children:(0,o.jsx)(u.Z,{size:"xl",onClick:function(){return i(a+9)},children:"Load more"})})]}):null}},5835:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return ue},default:function(){return de}});var o=n(5893),r=n(7294),a=n(9657),i=n(4133),l=n(1729),s=n(5305),c=n(1013),u=n(345),d=n(797),p=n(1355),m=n(3325),x=n(1646),f=n(4192),b=n(3781),v=n(9946),g=n(6723),h=n(3855),R=n(292),y=n(4157),w=n(3784),j=n(5466);var O,C,S=n(1497),N=n(9362),T=n(2351),I=n(4103),k=n(2984),P=n(5985),E=n(4575),F=n(6045),z=n(6567),_=n(1363),M=((C=M||{})[C.Open=0]="Open",C[C.Closed=1]="Closed",C),D=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(D||{}),L=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(L||{}),A=((O=A||{})[O.OpenCombobox=0]="OpenCombobox",O[O.CloseCombobox=1]="CloseCombobox",O[O.GoToOption=2]="GoToOption",O[O.RegisterOption=3]="RegisterOption",O[O.UnregisterOption=4]="UnregisterOption",O);function V(e,t=(e=>e)){let n=null!==e.activeOptionIndex?e.options[e.activeOptionIndex]:null,o=(0,E.z2)(t(e.options.slice()),(e=>e.dataRef.current.domRef.current)),r=n?o.indexOf(n):null;return-1===r&&(r=null),{options:o,activeOptionIndex:r}}let Z={1:e=>e.dataRef.current.disabled||1===e.comboboxState?e:{...e,activeOptionIndex:null,comboboxState:1},0(e){if(e.dataRef.current.disabled||0===e.comboboxState)return e;let t=e.activeOptionIndex,{isSelected:n}=e.dataRef.current,o=e.options.findIndex((e=>n(e.dataRef.current.value)));return-1!==o&&(t=o),{...e,comboboxState:0,activeOptionIndex:t}},2(e,t){var n;if(e.dataRef.current.disabled||e.dataRef.current.optionsRef.current&&!e.dataRef.current.optionsPropsRef.current.static&&1===e.comboboxState)return e;let o=V(e);if(null===o.activeOptionIndex){let e=o.options.findIndex((e=>!e.dataRef.current.disabled));-1!==e&&(o.activeOptionIndex=e)}let r=(0,S.d)(t,{resolveItems:()=>o.options,resolveActiveIndex:()=>o.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...e,...o,activeOptionIndex:r,activationTrigger:null!=(n=t.trigger)?n:1}},3:(e,t)=>
1{let n={id:t.id,dataRef:t.dataRef},o=V(e,(e=>[...e,n]));null===e.activeOptionIndex&&e.dataRef.current.isSelected(t.dataRef.current.value)&&(o.activeOptionIndex=o.options.indexOf(n));let r={...e,...o,activationTrigger:1};return e.dataRef.current.__demoMode&&void 0===e.dataRef.current.value&&(r.activeOptionIndex=0),r},4:(e,t)=>{let n=V(e,(e=>{let n=e.findIndex((e=>e.id===t.id));return-1!==n&&e.splice(n,1),e}));return{...e,...n,activationTrigger:1}}},B=(0,r.createContext)(null);function U(e){let t=(0,r.useContext)(B);if(null===t){let t=new Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,U),t}return t}B.displayName="ComboboxActionsContext";let K=(0,r.createContext)(null);function H(e){let t=(0,r.useContext)(K);if(null===t){let t=new Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,H),t}return t}function $(e,t){return(0,k.E)(t.type,Z,e,t)}K.displayName="ComboboxDataContext";let G=r.Fragment,Y=(0,T.yV)((function(e,t){let{name:n,value:o,onChange:a,disabled:i=!1,__demoMode:l=!1,nullable:s=!1,multiple:c=!1,...u}=e,[d,p]=(0,r.useReducer)($,{dataRef:(0,r.createRef)(),comboboxState:l?0:1,options:[],activeOptionIndex:null,activationTrigger:1}),m=(0,r.useRef)(!1),x=(0,r.useRef)({static:!1,hold:!1}),f=(0,r.useRef)({displayValue:void 0}),v=(0,r.useRef)(null),h=(0,r.useRef)(null),y=(0,r.useRef)(null),w=(0,r.useRef)(null),j=(0,b.z)(((e,t)=>e===t)),O=(0,r.useCallback)((e=>(0,k.E)(C.mode,{1:()=>o.some((t=>j(t,e))),0:()=>j(o,e)})),[o]),C=(0,r.useMemo)((()=>({...d,optionsPropsRef:x,inputPropsRef:f,labelRef:v,inputRef:h,buttonRef:y,optionsRef:w,value:o,disabled:i,mode:c?1:0,get activeOptionIndex(){if(m.current&&null===d.activeOptionIndex&&d.options.length>0){let e=d.options.findIndex((e=>!e.dataRef.current.disabled));if(-1!==e)return e}return d.activeOptionIndex},compare:j,isSelected:O,nullable:s,__demoMode:l})),[o,i,c,s,l,d]);(0,g.e)((()=>{d.dataRef.current=C}),[C]),(0,R.O)([C.buttonRef,C.inputRef,C.optionsRef],(()=>p({type:1})),0===C.comboboxState);let N=(0,r.useMemo)((()=>({open:0===C.comboboxState,disabled:i,activeIndex:C.activeOptionIndex,activeOption:null===C.activeOptionIndex?null:C.options[C.activeOptionIndex].dataRef.current.value})),[C,i]),I=(0,r.useCallback)((()=>{var e;if(!C.inputRef.current)return;let t=f.current.displayValue;C.inputRef.current.value="function"==typeof t?null!=(e=t(o))?e:"":"string"==typeof o?o:""}),[o,C.inputRef,f]),E=(0,b.z)((e=>{let t=C.options.find((t=>t.id===e));!t||(V(t.dataRef.current.value),I())})),_=(0,b.z)((()=>{if(null!==C.activeOptionIndex){let{dataRef:e,id:t}=C.options[C.activeOptionIndex];V(e.current.value),I(),p({type:2,focus:S.T.Specific,id:t})}})),M=(0,b.z)((()=>{p({type:0}),m.current=!0})),D=(0,b.z)((()=>{p({type:1}),m.current=!1})),L=(0,b.z)(((e,t,n)=>(m.current=!1,e===S.T.Specific?p({type:2,focus:S.T.Specific,id:t,trigger:n}):p({type:2,focus:e,trigger:n})))),A=(0,b.z)(((e,t)=>(p({type:3,id:e,dataRef:t}),()=>p({type:4,id:e})))),V=(0,b.z)((e=>(0,k.E)(C.mode,{0:()=>a(e),1(){let t=C.value.slice(),n=t.indexOf(e);return-1===n?t.push(e):t.splice(n,1),a(t)}}))),Z=(0,r.useMemo)((()=>({onChange:V,registerOption:A,goToOption:L,closeCombobox:D,openCombobox:M,selectActiveOption:_,selectOption:E})),[]);(0,g.e)((()=>{1===C.comboboxState&&I()}),[I,C.comboboxState]),(0,g.e)(I,[I]);let U=null===t?{}:{ref:t};return r.createElement(B.Provider,{value:Z},r.createElement(K.Provider,{value:C},r.createElement(z.up,{value:(0,k.E)(C.comboboxState,{0:z.ZM.Open,1:z.ZM.Closed})},null!=n&&null!=o&&(0,P.t)({[n]:o}).map((([e,t])=>r.createElement(F._,{features:F.A.Hidden,...(0,T.oA)({key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,name:e,value:t})}))),(0,T.sY)({ourProps:U,theirProps:u,slot:N,defaultTag:G,name:"Combobox"}))))})),W=(0,T.yV)((function(e,t){var n,o;let{value:a,onChange:i,displayValue:l,type:s="text",...c}=e,u=H("Combobox.Input"),d=U("Combobox.Input"),p=(0,w.T)(u.inputRef,t),m=u.inputPropsRef,h=`headlessui-combobox-input-${(0,v.M)()}`,R=(0,f.G)();(0,g.e)((()=>{m.current.displayValue=l}),[l,m]);let y=(0,b.z)((e=>{switch(e.key){case _.R.Backspace:case _.R.Delete:if(0!==u.mode||!u.nullable)return;let t=e.currentTarget;R.requestAnimationFrame((()=>
1{""===t.value&&(d.onChange(null),u.optionsRef.current&&(u.optionsRef.current.scrollTop=0),d.goToOption(S.T.Nothing))}));break;case _.R.Enter:if(0!==u.comboboxState)return;if(e.preventDefault(),e.stopPropagation(),null===u.activeOptionIndex)return void d.closeCombobox();d.selectActiveOption(),0===u.mode&&d.closeCombobox();break;case _.R.ArrowDown:return e.preventDefault(),e.stopPropagation(),(0,k.E)(u.comboboxState,{0:()=>{d.goToOption(S.T.Next)},1:()=>{d.openCombobox()}});case _.R.ArrowUp:return e.preventDefault(),e.stopPropagation(),(0,k.E)(u.comboboxState,{0:()=>{d.goToOption(S.T.Previous)},1:()=>{d.openCombobox(),R.nextFrame((()=>{u.value||d.goToOption(S.T.Last)}))}});case _.R.Home:case _.R.PageUp:return e.preventDefault(),e.stopPropagation(),d.goToOption(S.T.First);case _.R.End:case _.R.PageDown:return e.preventDefault(),e.stopPropagation(),d.goToOption(S.T.Last);case _.R.Escape:return 0!==u.comboboxState?void 0:(e.preventDefault(),u.optionsRef.current&&!u.optionsPropsRef.current.static&&e.stopPropagation(),d.closeCombobox());case _.R.Tab:if(0!==u.comboboxState)return;d.selectActiveOption(),d.closeCombobox()}})),j=(0,b.z)((e=>{d.openCombobox(),null==i||i(e)})),O=(0,x.v)((()=>{if(u.labelRef.current)return[u.labelRef.current.id].join(" ")}),[u.labelRef.current]),C=(0,r.useMemo)((()=>({open:0===u.comboboxState,disabled:u.disabled})),[u]),N={ref:p,id:h,role:"combobox",type:s,"aria-controls":null==(n=u.optionsRef.current)?void 0:n.id,"aria-expanded":u.disabled?void 0:0===u.comboboxState,"aria-activedescendant":null===u.activeOptionIndex||null==(o=u.options[u.activeOptionIndex])?void 0:o.id,"aria-multiselectable":1===u.mode||void 0,"aria-labelledby":O,disabled:u.disabled,onKeyDown:y,onChange:j};return(0,T.sY)({ourProps:N,theirProps:c,slot:C,defaultTag:"input",name:"Combobox.Input"})})),q=(0,T.yV)((function(e,t){var n;let o=H("Combobox.Button"),a=U("Combobox.Button"),i=(0,w.T)(o.buttonRef,t),l=`headlessui-combobox-button-${(0,v.M)()}`,s=(0,f.G)(),c=(0,b.z)((e=>{switch(e.key){case _.R.ArrowDown:return e.preventDefault(),e.stopPropagation(),1===o.comboboxState&&a.openCombobox(),s.nextFrame((()=>{var e;return null==(e=o.inputRef.current)?void 0:e.focus({preventScroll:!0})}
1));case _.R.ArrowUp:return e.preventDefault(),e.stopPropagation(),1===o.comboboxState&&(a.openCombobox(),s.nextFrame((()=>{o.value||a.goToOption(S.T.Last)}))),s.nextFrame((()=>{var e;return null==(e=o.inputRef.current)?void 0:e.focus({preventScroll:!0})}));case _.R.Escape:return 0!==o.comboboxState?void 0:(e.preventDefault(),o.optionsRef.current&&!o.optionsPropsRef.current.static&&e.stopPropagation(),a.closeCombobox(),s.nextFrame((()=>{var e;return null==(e=o.inputRef.current)?void 0:e.focus({preventScroll:!0})})));default:return}})),u=(0,b.z)((e=>{if((0,I.P)(e.currentTarget))return e.preventDefault();0===o.comboboxState?a.closeCombobox():(e.preventDefault(),a.openCombobox()),s.nextFrame((()=>{var e;return null==(e=o.inputRef.current)?void 0:e.focus({preventScroll:!0})}))})),d=(0,x.v)((()=>{if(o.labelRef.current)return[o.labelRef.current.id,l].join(" ")}),[o.labelRef.current,l]),p=(0,r.useMemo)((()=>({open:0===o.comboboxState,disabled:o.disabled})),[o]),m=e,g={ref:i,id:l,type:(0,y.f)(e,o.buttonRef),tabIndex:-1,"aria-haspopup":!0,"aria-controls":null==(n=o.optionsRef.current)?void 0:n.id,"aria-expanded":o.disabled?void 0:0===o.comboboxState,"aria-labelledby":d,disabled:o.disabled,onClick:u,onKeyDown:c};return(0,T.sY)({ourProps:g,theirProps:m,slot:p,defaultTag:"button",name:"Combobox.Button"})})),J=(0,T.yV)((function(e,t){let n=H("Combobox.Label"),o=`headlessui-combobox-label-${(0,v.M)()}`,a=(0,w.T)(n.labelRef,t),i=(0,b.z)((()=>{var e;return null==(e=n.inputRef.current)?void 0:e.focus({preventScroll:!0})}
1)),l=(0,r.useMemo)((()=>({open:0===n.comboboxState,disabled:n.disabled})),[n]);return(0,T.sY)({ourProps:{ref:a,id:o,onClick:i},theirProps:e,slot:l,defaultTag:"label",name:"Combobox.Label"})})),X=T.AN.RenderStrategy|T.AN.Static,Q=(0,T.yV)((function(e,t){var n;let{hold:o=!1,...a}=e,i=H("Combobox.Options"),l=(0,w.T)(i.optionsRef,t),s=`headlessui-combobox-options-${(0,v.M)()}`,c=(0,z.oJ)(),u=null!==c?c===z.ZM.Open:0===i.comboboxState;(0,g.e)((()=>{var t;i.optionsPropsRef.current.static=null!=(t=e.static)&&t}),[i.optionsPropsRef,e.static]),(0,g.e)((()=>{i.optionsPropsRef.current.hold=o}),[i.optionsPropsRef,o]),function({container:e,accept:t,walk:n,enabled:o=!0}){let a=(0,r.useRef)(t),i=(0,r.useRef)(n);(0,r.useEffect)((()=>{a.current=t,i.current=n}),[t,n]),(0,g.e)((()=>{if(!e||!o)return;let t=(0,j.r)(e);if(!t)return;let n=a.current,r=i.current,l=Object.assign((e=>n(e)),{acceptNode:n}),s=t.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,l,!1);for(;s.nextNode();)r(s.currentNode)}),[e,o,a,i])}({container:i.optionsRef.current,enabled:0===i.comboboxState,accept:e=>"option"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let d=(0,x.v)((()=>{var e,t,n;return null!=(n=null==(e=i.labelRef.current)?void 0:e.id)?n:null==(t=i.buttonRef.current)?void 0:t.id}),[i.labelRef.current,i.buttonRef.current]),p=(0,r.useMemo)((()=>({open:0===i.comboboxState})),[i]),m={"aria-activedescendant":null===i.activeOptionIndex||null==(n=i.options[i.activeOptionIndex])?void 0:n.id,"aria-labelledby":d,role:"listbox",id:s,ref:l};return(0,T.sY)({ourProps:m,theirProps:a,slot:p,defaultTag:"ul",features:X,visible:u,name:"Combobox.Options"})})),ee=(0,T.yV)((function(e,t){var n,o;let{disabled:a=!1,value:i,...l}=e,s=H("Combobox.Option"),c=U("Combobox.Option"),u=`headlessui-combobox-option-${(0,v.M)()}`,d=null!==s.activeOptionIndex&&s.options[s.activeOptionIndex].id===u,p=s.isSelected(i),m=(0,r.useRef)(null),x=(0,h.E)({disabled:a,value:i,domRef:m,textValue:null==(o=null==(n=m.current)?void 0:n.textContent)?void 0:o.toLowerCase()}),f=(0,w.T)(t,m),R=(0,b.z)((()=>c.selectOption(u)));(0,g.e)((()=>c.registerOption(u,x)),[x,u]);let y=(0,r.useRef)(!s.__demoMode);(0,g.e)((()=>{if(!s.__demoMode)return;let e=(0,N.k)();return e.requestAnimationFrame((()=>{y.current=!0})),e.dispose}),[]),(0,g.e)((()=>{if(0!==s.comboboxState||!d||!y.current||0===s.activationTrigger)return;let e=(0,N.k)();return e.requestAnimationFrame((()=>{var e,t;null==(t=null==(e=m.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})})),e.dispose}),[m,d,s.comboboxState,s.activationTrigger,s.activeOptionIndex]);let j=(0,b.z)((e=>{var t;if(a)return e.preventDefault();R(),0===s.mode&&(c.closeCombobox(),null==(t=s.inputRef.current)||t.focus({preventScroll:!0}))})),O=(0,b.z)((()=>{if(a)return c.goToOption(S.T.Nothing);c.goToOption(S.T.Specific,u)})),C=(0,b.z)((()=>{a||d||c.goToOption(S.T.Specific,u,0)})),I=(0,b.z)((()=>{a||!d||s.optionsPropsRef.current.hold||c.goToOption(S.T.Nothing)})),k=(0,r.useMemo)((()=>({active:d,selected:p,disabled:a})),[d,p,a]);return(0,T.sY)({ourProps:{id:u,ref:f,role:"option",tabIndex:!0===a?void 0:-1,"aria-disabled":!0===a||void 0,"aria-selected":!0===p||void 0,disabled:void 0,onClick:j,onFocus:O,onPointerMove:C,onMouseMove:C,onPointerLeave:I,onMouseLeave:I},theirProps:l,slot:k,defaultTag:"li",name:"Combobox.Option"})})),te=Object.assign(Y,{Input:W,Button:q,Label:J,Options:Q,Option:ee});var ne=r.forwardRef((function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{fillRule:"evenodd",d:"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z",clipRule:"evenodd"}))}));var oe=r.forwardRef((function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 21h7a2 2 0 002-2V9.414a1 1 0 00-.293-.707l-5.414-5.414A1 1 0 0012.586 3H7a2 2 0 00-2 2v11m0 5l4.879-4.879m0 0a3 3 0 104.243-4.242 3 3 0 00-4.243 4.242z"}))}));var re=r.forwardRef((function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{fillRule:"evenodd",d:"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z",clipRule:"evenodd"}))})),ae=n(7272),ie=n(1322),le=n(1163);function se(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(Boolean).join(" ")}var ce=function(e){var t=e.posts,n=(0,r.useState)(""),a=n[0],i=n[1],l=(0,r.useState)(t[0]),s=l[0],u=(l[1],(0,le.useRouter)()),x=(0,r.useState)(!1),f=x[0],b=x[1],v=[t[0],t[1]];(0,r.useEffect)((function(){var e=function(e){"k"===e.key&&(e.metaKey||e.ctrlKey)&&b(!f)};return window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}}),[f]);var g=""===a?[]:t.filter((function(e){return(0,c.Sz)(e.data.title).toLowerCase().includes(a.toLowerCase())}));return(0,o.jsxs)("div",{children:[(0,o.jsx)(ae.Z,{icon:ne,onClick:function(){return b(!0)},children:"Search articles..."}),(0,o.jsx)(p.u.Root,{show:f,as:r.Fragment,afterLeave:function(){return i("")},appear:!0,children:(0,o.jsxs)(m.V,{as:"div",className:"relative z-[100]",onClose:b,children:[(0,o.jsx)(p.u.Child,{as:r.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,o.jsx)("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-25 transition-opacity"})}),(0,o.jsx)("div",{className:"fixed inset-0 z-10 overflow-y-auto p-4 sm:p-6 md:p-20",children:(0,o.jsx)(p.u.Child,{as:r.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95",children:(0,o.jsx)(m.V.Panel,{className:"mx-auto max-w-3xl transform divide-y divide-gray-100 overflow-hidden rounded-xl bg-white shadow-2xl ring-1 ring-black ring-opacity-5 transition-all",children:(0,o.jsx)(te,{value:s,onChange:function(e){return u.push((0,ie.kG)(e))},children:function(e){var t=e.activeOption;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("div",{className:"relative",children:[(0,o.jsx)(ne,{className:"pointer-events-none absolute top-3.5 left-4 h-5 w-5 text-gray-400","aria-hidden":"true"}),(0,o.jsx)(te.Input,{className:"h-12 w-full border-0 bg-transparent pl-11 pr-4 text-gray-800 placeholder-gray-400 focus:ring-0 sm:text-sm",placeholder:"Search...",onChange:function(e){return i(e.target.value)}})]}),(""===a||g.length>0)&&(0,o.jsxs)(te.Options,{as:"div",static:!0,hold:!0,className:"flex divide-x divide-gray-100",children:[(0,o.jsxs)("div",{className:se("max-h-96 min-w-0 flex-auto 
1scroll-py-4 overflow-y-auto px-6 py-4",t&&"sm:h-96"),children:[""===a&&(0,o.jsx)("h2",{className:"mt-2 mb-4 text-xs font-semibold text-gray-500",children:"Latest articles"}),(0,o.jsx)("div",{className:"-mx-2 text-sm text-gray-700",children:(""===a?v:g).map((function(e){return(0,o.jsx)(te.Option,{as:"div",value:e,className:function(e){return se("flex cursor-default select-none items-center rounded-md p-2",e.active&&"bg-gray-100 text-gray-900")},children:function(t){var n,r=t.active;return(0,o.jsxs)(o.Fragment,{children:[(null===e||void 0===e||null===(n=e.data)||void 0===n?void 0:n.image)?(0,o.jsx)("img",{src:e.data.image.url,alt:"",className:"h-6 w-6 flex-none rounded-full"}):null,(0,o.jsx)("span",{className:"ml-3 flex-auto truncate",children:(0,c.Sz)(e.data.title)}),r&&(0,o.jsx)(re,{className:"ml-3 h-5 w-5 flex-none text-gray-400","aria-hidden":"true"})]})}},e.id)}))})]}),t&&(0,o.jsxs)("div",{className:"hidden h-96 w-1/2 flex-none flex-col divide-y divide-gray-100 overflow-y-auto sm:flex",children:[(0,o.jsxs)("div",{className:"flex-1 p-6 text-center",children:[(0,o.jsx)("img",{src:t.data.image.url,alt:t.data.image.alt||"",className:"mx-auto h-32 w-full rounded-lg object-cover"}),(0,o.jsx)("h2",{className:"mt-5 font-semibold text-gray-900",children:(0,c.Sz)(t.data.title)}),(0,o.jsx)("p",{className:"text-sm leading-6 text-gray-500",children:t.data.subtitle})]}),(0,o.jsx)("div",{className:"flex flex-col justify-between p-6",children:(0,o.jsx)(d.wK,{document:t,className:"w-full rounded-md border border-transparent bg-primary-900 py-2 px-4 text-center text-sm font-medium text-white shadow-sm hover:bg-primary-700 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2",children:"Read article"})})]})]}),""!==a&&0===g.length&&(0,o.jsxs)("div",{className:"py-14 px-6 text-center text-sm sm:px-14",children:[(0,o.jsx)(oe,{className:"mx-auto h-6 w-6 text-gray-400","aria-hidden":"true"}),(0,o.jsx)("p",{className:"mt-4 font-semibold text-gray-900",children:"No articles found"}),(0,o.jsx)("p",{className:"mt-2 text-gray-500",children:"We couldn\u2019t find anything with that term. Please try again."})]}),!1]})}})})})})]})})]})},ue=!0,de=function(e){var t=e.doc,n=e.posts,r=(e.categories,e.globalDocs);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.Z,{title:t.data.seoTitle||(0,c.Sz)(t.data.title),description:t.data.seoDescription||(0,c.Sz)(t.data.subtitle),socialTitle:t.data.seoOgTitle,socialDescription:t.data.seoOgDescription,socialImage:t.data.seoOgImage.url,alternateLang:t.alternate_languages}),(0,o.jsx)(a.Z,{globalDocs:r,children:(0,o.jsx)(i.Z,{children:(0,o.jsxs)("div",{className:"relative px-4 pb-20 sm:px-6 lg:px-8 lg:pb-28",children:[(0,o.jsxs)("div",{className:"flex flex-col justify-between gap-6 lg:flex-row",children:[(0,o.jsxs)("div",{className:"lg:w-7/12",children:[(0,o.jsx)(u.Z.PageHeading,{children:(0,o.jsx)("h1",{children:(0,c.Sz)(t.data.title)})}),(0,o.jsx)("div",{className:"prose mt-4 dark:prose-invert lg:prose-xl",children:(0,o.jsx)(d.v,{field:t.data.subtitle})})]}),(0,o.jsx)("div",{className:"text-right lg:w-5/12",children:(0,o.jsx)(ce,{posts:n})})]}),(0,o.jsx)("h2",{className:"mt-10 text-3xl font-bold",children:"Our latest articles"}),(0,o.jsx)(l.Z,{posts:n})]})})})]})}},1646:function(e,t,n){"use strict";n.d(t,{v:function(){return i}});var o=n(7294),r=n(6723),a=n(3855);function i(e,t){let[n,i]=(0,o.useState)(e),l=(0,a.E)(e);return(0,r.e)((()=>i(l.current)),[l,i,...t]),n}},1497:function(e,t,n){"use strict";n.d(t,{T:function(){return r},d:function(){return a}});var o,r=((o=r||{})[o.First=0]="First",o[o.Previous=1]="Previous",o[o.Next=2]="Next",o[o.Last=3]="Last",o[o.Specific=4]="Specific",o[o.Nothing=5]="Nothing",o);function a(e,t){let n=t.resolveItems();if(n.length<=0)return null;let o=t.resolveActiveIndex(),r=null!=o?o:-1,a=(()=>{switch(e.focus){case 0:return n.findIndex((e=>!t.resolveDisabled(e)));case 1:{let e=n.slice().reverse().findIndex(((e,n,o)=>!(-1!==r&&o.length-n-1>=r)&&!t.resolveDisabled(e)));return-1===e?e:n.length-1-e}case 2:return n.findIndex(((e,n)=>!(n<=r)&&!t.resolveDisabled(e)));case 3:{let e=n.slice().reverse().findIndex((e=>!t.resolveDisabled(e)));return-1===e?e:n.length-1-e}case 4:return n.findIndex((n=>t.resolveId(n)===e.id));case 5:return null;default:!function(e){throw new Error("Unexpected object: "+e)}(e)}})();return-1===a?o:a}}},function(e){e.O(0,[937,168,561,657,774,888,179],(function(){return t=7801,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.