1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9566],{749:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/languages/[lang]/biases/[uid]",function(){return n(4201)}])},9463:function(e,t,n){"use strict";var i=n(7997),o=n(1720),l=n(4394),a=n(6133),r=n(3048),d=n.n(r);t.Z=function(e){var t,n,r=(0,o.useState)(!0),c=r[0],s=r[1],u=(0,o.useRef)(null),v=(0,o.useState)("none"),f=v[0],m=v[1],p=function(){u.current&&(s(!0),m("none"),setTimeout((function(){var e="".concat(u.current.offsetHeight,"px");m(e)}),0))};return(0,o.useEffect)((function(){return p(),window.addEventListener("resize",p),function(){return window.removeEventListener("resize",p)}}),[]),(0,i.BX)("section",{className:"richtext-grid",children:[(0,i.tZ)("div",{"aria-hidden":"true"}),(0,i.tZ)("div",{className:"container w-full",children:(0,i.tZ)("div",{className:"lg:pl-[4%]",children:(0,i.BX)("section",{className:"mx-auto border-t lg:max-w-10/12 xl:max-w-2/3 article-grid-start:max-w-10/12 c-pt-8 c-mt-8 border-gray-third",children:[(0,i.BX)("div",{className:"flex items-center justify-between ",children:[(0,i.tZ)("h2",{className:"text-2xl font-bold content-section-title header-bg",children:null===e||void 0===e?void 0:e.label}),(0,i.BX)("button",{className:"inline-block text-sm font-bold uppercase tracking-px c-mt-2 text-primary bg-grow-faded-70 text-color-hover-primary-darken",onClick:function(){return s((function(e){return!e}))},children:[c?"Hide":"Show",(0,i.tZ)("i",{className:"fas fa-chevron-up fa-md ml-1.5 transition-transform duration-200 ease-in-out ".concat(c?"rotate-0":"-rotate-180")})]})]}),(0,i.tZ)("div",{ref:u,style:c?{maxHeight:f}:{},className:"references-wrapper ".concat(d().referenceBody," ").concat(c?"":d().closed," c-mt-4"),children:(0,i.tZ)(l.nA,{condition:null===e||void 0===e||null===(t=e.references)||void 0===t||null===(n=t[0])||void 0===n?void 0:n.text,children:function(){return(0,i.tZ)(a.Z,{className:"break-words pl-3 md:pl-2",content:null===e||void 0===e?void 0:e.references})}})})]})})}),(0,i.tZ)("div",{"aria-hidden":"true"})]})}},9032:function(e,t,n){"use strict";var i=n(7997),o=n(1720),l=n(1163),a=n(4394),r=n(6133),d=n(1689);t.Z=function(e){var t=e.data,n=e.customPosition,c=t.content,s=t.form_id,u=(t.default_position,(0,l.useRouter)()),v=u.asPath;return(0,o.useEffect)((function(){var e=document.querySelector(".unlock-form"),t=document.querySelector(".scroll-spy-content-wrapper");if(t){var i=t.querySelectorAll("div[name]"),o=n||Math.floor(i.length/2.5);n&&n>=0?o=n:n&&n<0&&(o=0),i&&e&&i.forEach((function(t,n){n===o&&(e.classList.remove("!hidden"),t.insertAdjacentElement("beforebegin",e)),n>=o&&t.classList.add("blur-sm","select-none","pointer-events-none")})),window.addEventListener("message",(function(e){"hsFormCallback"===e.data.type&&"onFormSubmit"===e.data.eventName&&s&&e.data.id===s&&u.replace(null===v||void 0===v?void 0:v.split("?")[0],void 0,{scroll:!1})}))}}),[]),(0,i.BX)("div",{className:"unlock-form z-10 flex-col lg:grid lg:grid-cols-2 lg:gap-x-5 bg-white p-one-and-half-3 shadow-card !hidden -top-[3.75rem] relative lg:w-[120%] xl:w-[130%] lg:-left-[10%] lg:-left-[15%] after:lef-0 after:right-0 after:h-[400px] after:-top-[300px] after:-z-10 after:bg-gradient-to-t after:from-white after:via-white after:absolute after:w-full",children:[(0,i.tZ)(a.nA,{condition:c,children:function(){return(0,i.tZ)(r.Z,{className:"font-serif-display text-2xl text-gray-sixth",content:c})}}),(0,i.tZ)(a.nA,{condition:s,children:function(){return(0,i.tZ)(d.Z,{formId:s,index:"unlock",className:"relative c-mt-5 lg:mt-0"})}})]})}},6824:function(e,t,n){"use strict";n.d(t,{T:function(){return o}});var i=n(7997),o=function(e,t,n,o,l){var a,r,d,c,s,u="Service"===o?null===e||void 0===e?void 0:e.name_of_service:(null===e||void 0===e?void 0:e.seo_title)||(null===e||void 0===e||null===(a=e.full_name)||void 0===a||null===(r=a[0])||void 0===r?void 0:r.text);return(0,i.BX)(i.HY,{children:[(0,i.tZ)("meta",{className:"swiftype",name:"swiftype-title","data-type":"string",content:u}),"undefined"!==typeof t&&t&&(0,i.tZ)("meta",{className:"swiftype",name:"swiftype-authors","data-type":"string",content:t}),"undefined"!==typeof n&&n&&(0,i.tZ)("meta",{className:"swiftype",name:"swiftype-readTime","data-type":"string",content:n}),"undefined"!==typeof(null===e||void 0===e?void 0:e.published_date)&&(null===e||void 0===e?void 0:e.published_date)&&(0,i.tZ)("meta",{className:"swiftype",name:"swiftype-publishedDate","data-type":"string",content:null===e||void 0===e?void 0:e.published_date}),"undefined"!==typeof(null===e||void 0===e?void 0:e.seo_description)&&(null===e||void 0===e?void 0:e.seo_description)&&(0,i.tZ)("meta",{className:"swiftype",name:"swiftype-seoDescription","data-type":"string",content:null===e||void 0===e?void 0:e.seo_description}),"undefined"!==typeof o&&o&&(0,i.tZ)("meta",{className:"swiftype",name:"swiftype-pageType","data-type":"string",content:o}),"undefined"!==typeof l&&l&&(0,i.tZ)("meta",{className:"swiftype",name:"swiftype-pageCategory","data-type":"string",content:l}),"undefined"!==typeof(null===e||void 0===e||null===(d=e.image)||void 0===d?void 0:d.url)&&(null===e||void 0===e||null===(c=e.image)||void 0===c?void 0:c.url)?(0,i.tZ)("meta",{className:"swiftype",name:"swiftype-image","data-type":"string",content:null===e||void 0===e||null===(s=e.image)||void 0===s?void 0:s.url}):(0,i.tZ)("meta",{className:"swiftype",name:"swiftype-image","data-type":"string",content:"https://images.prismic.io/thedecisionlab/8ae23257-f197-4bf6-8ed8-4264c3b3b447_Reserach_Backgroun
1d.jpeg?auto=compress,format"})]})}},2257:function(e,t,n){"use strict";n.d(t,{B:function(){return i}});var i=function(e){var t,n,i,o,l,a,r,d,c,s,u,v,f,m;if(e){var p=(null===e||void 0===e||null===(t=e.categories)||void 0===t||null===(n=t[0])||void 0===n?void 0:n.category)?null===(i=null===e||void 0===e?void 0:e.categories[0])||void 0===i?void 0:i.category.uid:"",h=(null===e||void 0===e||null===(o=e.categories)||void 0===o||null===(l=o[0])||void 0===l||null===(a=l.category)||void 0===a||null===(r=a.data)||void 0===r||null===(d=r.name)||void 0===d||null===(c=d[0])||void 0===c?void 0:c.text)?null===(s=null===e||void 0===e?void 0:e.categories[0])||void 0===s||null===(u=s.category)||void 0===u||null===(v=u.data)||void 0===v||null===(f=v.name)||void 0===f||null===(m=f[0])||void 0===m?void 0:m.text:"";return p||h?"".concat(h,"&").concat(p):""}}},4201:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return _},default:function(){return w}});var i=n(7997),o=(n(8306),n(4394)),l=n(6133),a=n(1906),r=n(4812),d=n(2962),c=n(9463),s=n(308),u=n(1163),v=n(9008),f=n(4298),m=n(6974),p=n(9032),h=n(6824),g=n(2257),y={"en-ca":{"See all":"See all"},"es-es":{"See all":"Ver todo"},"fr-ca":{"See all":"Voir tout"}},_=!0,w=function(e){var t,n,_,w,b,x,Z,N,B,k,S,A=e.page,P=e.readingTime,X=e.slices,E=e.sideNav,T=e.globalData.unlockForm,H=e.hreflangs,L=(0,u.useRouter)(),R=L.asPath,j=null===(n=null===A||void 0===A||null===(t=A.excerpt)||void 0===t?void 0:t.filter((function(e){return"image"===(null===e||void 0===e?void 0:e.type)})))||void 0===n?void 0:n[0],C=L.query.lang||"en-ca";return(0,i.BX)(i.HY,{children:[(0,i.tZ)(d.PB,{title:(null===A||void 0===A?void 0:A.seo_title)||(null===A||void 0===A||null===(_=A.title)||void 0===_||null===(w=_[0])||void 0===w?void 0:w.text),description:null===A||void 0===A?void 0:A.seo_description,canonical:(null===A||void 0===A?void 0:A.canonical_overwrite)?null===A||void 0===A?void 0:A.canonical_overwrite:"https://thedecisionlab.com".concat(L.asPath),openGraph:{url:(null===A||void 0===A?void 0:A.canonical_overwrite)?null===A||void 0===A?void 0:A.canonical_overwrite:"https://thedecisionlab.com".concat(L.asPath),type:"article",images:(null===j||void 0===j?void 0:j.url)?[{url:null===j||void 0===j?void 0:j.url,width:null===j||void 0===j||null===(b=j.dimensions)||void 0===b?void 0:b.width,height:null===j||void 0===j||null===(x=j.dimensions)||void 0===x?void 0:x.height,alt:null===j||void 0===j?void 0:j.alt}]:[]}}),(0,i.BX)(v.default,{children:[(null===A||void 0===A||null===(Z=A.tags)||void 0===Z?void 0:Z.length)&&(0,i.tZ)("meta",{name:"cluster-tags",content:null===A||void 0===A?void 0:A.tags}),(0,h.T)(A,"",P,"Bias",(0,g.B)(A)),P&&(0,i.BX)(i.HY,{children:[(0,i.tZ)("meta",{name:"twitter:label1",content:"Est. reading time"}),(0,i.tZ)("meta",{name:"twitter:data1",content:"".concat(P," ").concat(P>1?"minutes":"minute")})]}),H.map((function(e){var t=e.rel,n=e.hreflang,o=e.href;return(0,i.tZ)("link",{rel:t,hrefLang:n,href:o},o)}))]}),(0,i.tZ)(f.default,{id:"json-ld",type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"http://schema.org","@type":"WebPage","@id":(null===A||void 0===A?void 0:A.canonical_overwrite)?"".concat(null===A||void 0===A?void 0:A.canonical_overwrite,"/#webpage"):"https://thedecisionlab.com".concat(L.asPath,"/#webpage"),url:(null===A||void 0===A?void 0:A.canonical_overwrite)?null===A||void 0===A?void 0:A.canonical_overwrite:"https://thedecisionlab.com".concat(L.asPath),name:"".concat(null===A||void 0===A?void 0:A.h1," - Biases & Heuristics | The Decision Lab"),datePublished:null===A||void 0===A?void 0:A.first_publication_date,dateModified:null===A||void 0===A?void 0:A.last_publication_date,description:null===A||void 0===A?void 0:A.seo_description,inLanguage:"en-CA",isPartOf:m,potentialAction:{"@type":"ReadAction",target:{"@type":"EntryPoint",urlTemplate:"https://thedecisionlab.com".concat(L.asPath)}}})}}),(0,i.BX)("main",{className:"main-pt",children:[(0,i.BX)("article",{id:"content",children:[(0,i.tZ)("section",{className:"c-pt-7 xl:c-pt-8",children:(0,i.tZ)("div",{className:"container",children:(0,i.BX)("div",{className:"order-last md:order-first",children:[(0,i.tZ)(o.nA,{condition:null===A||void 0===A||null===(N=A.intro_blurb)||void 0===N||null===(B=N[0])||void 0===B?void 0:B.text,children:function(){return(0,i.tZ)(l.Z,{className:"text-center hero-title text-dark-green",content:null===A||void 0===A?void 0:A.intro_blurb})}}),(0,i.BX)("div",{className:"flex justify-center c-mt-6 text-secondary font-size-16-26",children:[(0,i.tZ)(o.nA,{condition:null===A||void 0===A?void 0:A.before_h1,children:function(){return(0,i.BX)("span",{children:[null===A||void 0===A?void 0:A.before_h1,"\xa0"]})}}),(0,i.tZ)(o.nA,{condition:null===A||void 0===A?void 0:A.h1,children:function(){return(0,i.tZ)("h1",{className:"inline font-bold text-primary",style:{lineHeight:"inherit"},children:null===A||void 0===A?void 0:A.h1})}}),(0,i.tZ)(o.nA,{condition:null===A||void 0===A?void 0:A.after_h1,children:function(){return(0,i.tZ)("span",{children:null===A||void 0===A?void 0:A.after_h1})}})]})]})})}),(0,i.tZ)(o.nA,{condition:R.includes("?adw=true"),children:function(){return(0,i.tZ)(p.Z,{data:T,customPosition:null===A||void 0===A?void 0:A.unlock_form_position})}}
1),(0,i.tZ)(s.Z,{type:"Bias",page:A,sideNav:E,slices:X})]}),(0,i.tZ)(o.nA,{condition:null===A||void 0===A||null===(k=A.sources)||void 0===k||null===(S=k[0])||void 0===S?void 0:S.text,children:function(){return(0,i.tZ)(c.Z,{label:"fr-ca"===C?"R\xe9f\xe9rences":"Referencias",references:null===A||void 0===A?void 0:A.sources})}}),Array.isArray(null===A||void 0===A?void 0:A.read_next_posts)&&(null===A||void 0===A?void 0:A.read_next_posts.length)>0?(0,i.tZ)(a.Z,{items:null===A||void 0===A?void 0:A.read_next_posts,children:(0,i.tZ)(r.Z,{label:y[C]["See all"],link:"/biases-index",linkStyles:"flex shadow-primary-button items-center text-xs font-bold text-white uppercase btn-primary-darken tracking-px bg-primary rounded-sm px-3 py-[0.5625rem] xl:py-3 xl:px-4 c-mt-6 mx-auto",icon:"fa fa-long-arrow-right",iconStyles:"fa ml-1.5"})}):null]})]})}},3048:function(e){e.exports={referenceBody:"References_referenceBody__eOOlU",closed:"References_closed__Ma1MW"}}},function(e){e.O(0,[4557,901,9073,1906,308,8306,2888,179],(function(){return t=749,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.