1"use strict";(self.webpackChunkpaul_hastings_client=self.webpackChunkpaul_hastings_client||[]).push([[828],{1187:function(e,t,n){n.r(t),n.d(t,{Head:function(){return R},default:function(){return L}});var a=n(6540),l=n(3450),r=n(2792),i=n(6906),o=n(5167),c=n(302),d=n(882),p=n(1114),s=n(229);const m=(0,d.default)(i.H2).withConfig({displayName:"style__StyledH2",componentId:"sc-11rt6k4-0"})(["font-size:",";line-height:35px;@media (max-width:992px){font-size:",";line-height:30px;}"],(e=>{let{fontSize:t}=e;return t?"40px":"30px"}),(e=>{let{fontSize:t}=e;return t?"30px":"25px"})),g=(0,d.default)(i.fv).withConfig({displayName:"style__StyledCol",componentId:"sc-11rt6k4-1"})(["padding:",";@media (max-width:765px){padding-left:0px;}@media (min-width:765px){padding:",";}@media (min-width:992px){padding:",";}"],(e=>{let{padding:t}=e;return t&&"0 0 50px 0"}),(e=>{let{padding:t}=e;return t&&"0 0 0px 20px"}),(e=>{let{padding:t}=e;return t&&"0 0 45px 0"})),u=d.default.div.withConfig({displayName:"style__StyledBorder",componentId:"sc-11rt6k4-2"})(["@media (min-width:992px){background-color:#b4b8be;height:1px;width:339px;position:absolute;top:452px;z-index:0;}"]),h=(0,d.default)(i.fv).withConfig({displayName:"style__StyledBoxCol",componentId:"sc-11rt6k4-3"})(["@media (min-width:992px){padding-top:10px;border-right:1px solid #b4b8be;}@media (min-width:1200px){width:36.5%;}@media (min-width:1279px){width:29%;}"]),x=(0,d.default)(i.fv).withConfig({displayName:"style__StyledColBorder",componentId:"sc-11rt6k4-4"})(["padding:25px;padding:",";@media (max-width:1199px){padding:",";}@media (max-width:992px){border:0;padding:",";}@media (max-width:767px){padding-bottom:30px;padding-left:0px;}"],(e=>{let{padding:t}=e;return t?"0 30px 0 30px":"0 25px"}),(e=>{let{padding:t}=e;return t?"0 30px":"0 50px 0 25px"}),(e=>{let{padding:t}=e;return t?"0px":"0px 20px 0px 30px"})),y=d.default.div.withConfig({displayName:"style__StyledDiv",componentId:"sc-11rt6k4-5"})(["position:absolute;width:100%;height:60px;z-index:1;background-color:#b4a06e;max-width:300px;padding:12.5px 23px;border-radius:3px;line-height:35px;margin-top:15px;@media (max-width:992px){position:static;z-index:0;margin:15px 0px 30px;max-width:255px;height:55px;line-height:30px;}"]),f=((0,d.default)(i.fI).withConfig({displayName:"style__StyledRow",componentId:"sc-11rt6k4-6"})(["@media (max-width:768px){display:",";flex-direction:column;padding:15px 5px;}"],(e=>{let{none:t}=e;return t?"none":null})),(0,d.default)(i.mc).withConfig({displayName:"style__StyledContentContainer",componentId:"sc-11rt6k4-7"})(["padding:65px 15px 55px;@media (max-width:","){padding-top:30px;}"],p.LR.small.max)),E=(0,d.default)(s.A).withConfig({displayName:"style__StyledA",componentId:"sc-11rt6k4-8"})(["text-align:left;font-size:18px;letter-spacing:0.64px;width:100%;padding:0 0 25px 25px;display:block;&:hover{text-decoration:underline;}"]);var b=n(2068),v=n(263);var w=e=>{let{data:t}=e;const n=t&&t.sort((0,v.sortOrder)("incr","title")),l=t&&Math.ceil(t.length/2),r=n&&n.length>0&&n.slice(0,l),i=n&&n.length>0&&n.slice(l);return a.createElement(f,{className:"qtph-practicearea-byindustry"},a.createElement(o.fI,null,a.createElement(h,{md:12,lg:4.4},a.createElement(y,null,a.createElement(m,{normalCase:!0,color:"white"},"By Industry")),a.createElement(u,null)),a.createElement(x,{xs:9,sm:9,md:6,lg:4,xl:4.5},r&&r.length>0&&r.map((e=>e.practiceGroups?a.createElement(b.A,{iconXl:!0,title:e.title,slug:e.slug,accordionItems:e.practiceGroups,smallerIcon:!0,isList:!0,groupClassName:"qtph-practicearea",iconClassName:"qtph-practicearea-dropdown"}):a.createElement(E,{key:(0,v.generateRandomKey)(),contentType:"ContentfulPracticeArea",to:null==e?void 0:e.slug},""+e.title)))),a.createElement(g,{xs:9,sm:9,md:6,lg:3,xl:4,padding:!0},i&&i.length>0&&i.map((e=>e.practiceGroups?a.createElement(b.A,{iconXl:!0,title:e.title,slug:e.slug,accordionItems:e.practiceGroups,smallerIcon:!0,isList:!0,groupClassName:"qtph-practicearea",iconClassName:"qtph-practicearea-dropdown"}):a.createElement(E,{key:(0,v.generateRandomKey)(),contentType:"ContentfulPracticeArea",to:null==e?void 0:e.slug},""+e.title))))))};var k=e=>{let{data:t}=e;const n=t&&t.filter(((e,n)=>n<Math.floor(t.length/2))),l=t&&t.filter(((e,n)=>n>=Math.floor(t.length/2)));return a.createElement(f,{className:"qtph-practicearea-bysolution"},a.createElement(o.fI,null,a.createElement(o.VP,{className:"md:w-[45.8%] lg:w-1/2 pb-[25px] flex flex-col"},null==n?void 0:n.map(((e,t)=>e.practiceGroups?a.createElement(b.A,{iconXl:!0,key:e.title+"-"+t,title:e.title,slug:e.slug,accordionItems:e.practiceGroups,smallerIcon:!0,isList:!0,groupClassName:"qtph-practicearea",iconClassName:"qtph-practicearea-dropdown"}):a.createElement(E,{key:e.slug+"-"+t,contentType:"ContentfulPracticeArea",to:null==e?void 0:e.slug},""+e.title)))),a.createElement(o.VP,{className:"flex flex-col pb-[50px] pl-0 md:pl-5 lg:pb-[45px] md:w-[45.8%] lg:w-1/2"},null==l?void 0:l.map(((e,t)=>e.practiceGroups?a.createElement(b.A,{iconXl:!0,title:e.title,key:e.title+"-"+t,slug:e.slug,accordionItems:e.practiceGroups,smallerIcon:!0,isList:!0,groupClassName:"qtph-practicearea",iconClassName:"qtph-practicearea-dropdown"}):a.createElement(E,{key:e.slug+"-"+t,contentType:"ContentfulPracticeArea",to:null==e?void 0:e.slug},""+e.title))))))};
1var C=e=>{let{data:t}=e;const n=t&&t.sort((0,v.sortOrder)("incr","title"));return a.createElement(f,{className:"qtph-practicearea-byregion"},a.createElement(o.fI,{className:"flex-col lg:flex-row"},a.createElement(h,{md:4.56,lg:4.36},a.createElement(y,null,a.createElement(m,{color:"white",normalCase:!0},"By Region")),a.createElement(u,null)),a.createElement(x,{xs:9,sm:9,md:6,lg:4,xl:4.5,padding:!0},n&&n.length>0&&n.map((e=>a.createElement(E,{padding:!0,key:(0,v.generateRandomKey)(),contentType:"ContentfulPracticeArea",to:null==e?void 0:e.slug},""+e.title))))))};var I=e=>{let{title:t,tabsLabel:n,tabsArr:l,tabsClassNames:r,bySolutionArr:d,byIndustryArr:p,byRegionArr:s}=e;const{0:m,1:g}=(0,a.useState)(0);return a.createElement(a.Fragment,null,a.createElement("div",{style:{backgroundColor:"white"}},a.createElement(i.mc,{mobilePadding:!0},a.createElement(o.fI,null,a.createElement(o.VP,null,a.createElement(c.tU,{color:"white","aria-label":"Tabbed Content Navigation",background:"white",tab:m,setTab:g},null==n?void 0:n.map(((e,t)=>l[t]&&l[t].length>0&&a.createElement(c.oz,{upperCase:!0,label:n[t],border:"1px solid #5f606254",fontSize:"13px",key:(0,v.generateRandomKey)(),index:t,padding:"11px 14px",tab:m,setTab:g,className:r[t]})))))))),a.createElement(i.mc,{mobilePadding:!0},a.createElement(o.fI,null,a.createElement(o.VP,null,null==n?void 0:n.map(((e,t)=>"By Solution"===e&&(null==d?void 0:d.length)>0?a.createElement(c.Kp,{index:0,key:0,tab:m,setTab:g},a.createElement(k,{data:d})):"By Industry"===e&&(null==p?void 0:p.length)>0?a.createElement(c.Kp,{index:1,key:1,tab:m,setTab:g},a.createElement(w,{data:p})):"By Region"===e&&(null==s?void 0:s.length)>0?a.createElement(c.Kp,{index:2,key:2,tab:m,setTab:g},a.createElement(C,{data:s})):void 0))))))},S=n(4417);var A=e=>{var t;let{modules:n=[],title:l,practiceAreas:i=[],...o}=e;const{locale:c}=(0,S.Ym)(),d=null===(t=(0,v.filterSampleEntries)(i,!0))||void 0===t?void 0:t.map((e=>{if(e.practiceGroups){const t=new Set(null==e?void 0:e.practiceGroups),n=t&&Array.from(t);return{...e,practiceGroups:null==n?void 0:n.sort(((e,t)=>e.title>t.title?1:-1))}}return e})),p=null==d?void 0:d.filter((e=>{let{isOnByPractice:t}=e;return t})),s=null==d?void 0:d.filter((e=>{let{isOnByIndustry:t}=e;return t})),m=null==d?void 0:d.filter((e=>{let{isOnByRegion:t}=e;return t})),g=[p,s,m];return a.createElement(a.Fragment,null,n&&(0,r.A)(n),"en-US"===c&&a.createElement(I,{tabsLabel:["By Solution","By Industry","By Region"],tabsArr:g,tabsClassNames:["qtph-practicearea-bysolution-btn","qtph-practicearea-byindustry-btn","qtph-practicearea-byregion-btn"],bySolutionArr:p,byIndustryArr:s,byRegionArr:m,data:null==i?void 0:i.nodes,title:l,locale:c,modules:n}))},N=A,_=n(2894);var L=e=>{let{data:{practiceAreas:t,page:n},pageContext:r}=e;return a.createElement(l.Ay,Object.assign({},r,{contentType:"page"}),a.createElement(N,Object.assign({practiceAreas:null==t?void 0:t.nodes},n)))};const R=e=>{let{data:{page:t,currentPageWithAllLocales:n},pageContext:{displayLocale:l,parentPages:r,localizedSlug:i}}=e;const{title:o,seo:c}=t,{seoTitle:d,seoDescription:p,seoKeywords:s,seoImage:m}=(0,v.handleSEO)(c,{title:o},l),g=(0,v.getHrefLangUrls)(null==n?void 0:n.nodes,r);return a.createElement(_.A,{hrefLangUrls:g,title:d,description:p,keywords:s,image:m,canonicalSlug:i,usDefault:null==c?void 0:c.enUsCanonicalUrl,noIndex:null==c?void 0:c.noIndex,noArchive:null==c?void 0:c.noArchive})}},2894:function(e,t,n){n.d(t,{A:function(){return i}});var a=n(6540),l=n(263),r=n(5268);var i=e=>{var t,n,i,o,c;let{title:d,description:p,hrefLangUrls:s,image:m,canonicalSlug:g,locale:u,noIndex:h,noArchive:x,usDefault:y}=e;d=d?d+" | Paul Hastings LLP":"Paul Hastings LLP";const f=new URL((0,l.getUrl)()),E=f.origin,b=f.host,v=f.protocol,w=""+E+g,k=null==s?void 0:s.find((e=>"en-US"===e.lang)),C=(0,r.useStaticQuery)("2114004579"),I=null==C||null===(t=C.allContentfulAsset)||void 0===t||null===(n=t.edges[0])||void 0===n||null===(i=n.node)||void 0===i||null===(o=i.file)||void 0===o?void 0:o.url,S=m||I;return a.createElement(a.Fragment,null,a.createElement("title",null,d),a.createElement("meta",{name:"image",content:S}),p&&a.createElement("meta",{name:"description",content:p}),a.createElement("meta",{property:"og:title",content:d}),p&&a.createElement("meta",{property:"og:description",content:p}),a.createElement("meta",{property:"og:image",content:S}),a.createElement("meta",{property:"og:locale",content:u}),a.createElement("meta",{property:"og:type",content:"website"}),a.createElement("meta",{property:"og:logo",content:I}),a.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),a.createElement("meta",{name:"twitter:creator",content:"@paulhastings"}),a.createElement("meta",{name:"twitter:title",content:d}),a.createElement("meta",{name:"twitter:image",content:S}),p&&a.createElement("meta",{name:"twitter:description",content:p}),null==s||null===(c=s.filter((e=>"en-US"!==e.lang&&"en-GB"!==e.lang)))||void 0===c?void 0:c.map((e=>a.createElement(a.Fragment,null,a.createElement("link",{key:(0,l.generateRandomKey)(),rel:"alternate",hrefLang:(0,l.mapHreflangTags)(e.lang),href:(0,l.removeTrailingSlash)(""+(0,l.getUrl)()+e.href)}),a.createElement("link",{key:(0,l.generateRandomKey)(),rel:"alternate",hrefLang:e.lang,href:(0,l.removeTrailingSlash)(""+(0,l.getUrl)()+e.href)})))),null==s?void 0:s.filter((e=>"en-US"===e.lang)).map((e=>a.createElement(a.Fragment,null,a.createElement("link",{key:(0,l.generateRandomKey)(),rel:"alternate",hrefLang:"x-default",href:""+(0,l.getUrl)()+e.href}),a.createElement("link",{key:(0,l.generateRandomKey)(),rel:"alternate",hrefLang:"en",href:""+(0,l.getUrl)()+e.href}),a.createElement("link",{key:(0,l.generateRandomKey)(),rel:"alternate",hrefLang:e.lang,href:""+(0,l.getUrl)()+e.href})))),null==s?void 0:s.filter((e=>"en-GB"===e.lang)).map((e=>a.createElement("link",{key:(0,l.generateRandomKey)(),rel:"alternate",hrefLang:e.lang,href:(0,l.removeTrailingSlash)(""+(0,l.getUrl)()+e.href)}))),y&&null!=k&&k.href?a.createElement("link",{rel:"canonical",href:(0,l.removeTrailingSlash)(""+(0,l.getUrl)()+(null==k?void 0:k.href)),"data-baseprotocol":v,"data-basehost":b}):a.createElement("link",{rel:"canonical",href:(0,l.removeTrailingSlash)(w),"data-baseprotocol":v,"data-basehost":b}),h&&a.createElement("meta",{name:"robots",content:"noindex"}),x&&a.createElement("meta",{name:"robots",content:"noarchive"}))}}}]); 2//# sourceMappingURL=component---src-templates-practice-areas-js-48864313964d62e18eb5.js.map
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.