PageSourceSearch

https://www.toolheadsconstruction.com/_next/static/chunks/eclectic-grid-gallery-pop-up.d0814f6b14c1a513.js

js toolheadsconstruction.com collected 2026-09-30 16:48:04 UTC 11,674 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[12159,20964,68109],{6681:(t,e,r)=>{"use strict";r.d(e,{y:()=>n});let n=t=>"number"==typeof t?{xs:t,sm:t,md:t,lg:t,xl:t}:t},7333:(t,e,r)=>{"use strict";function n(t){return!!t&&!t.hidden&&("phone"===t.type||"sms"===t.type||"leave_review"===t.type||"live_chat"===t.type?!!t.text:"social"===t.type?!!("sync"in t||t.link):!!(t.text||t.icon))}r.d(e,{A:()=>n})},20964:(t,e,r)=>{"use strict";r.d(e,{U:()=>n});let n=(t,e)=>{let r=e||void 0;return t&&"string"!=typeof t?void 0===t.autoplay?r:t.autoplay:r}},24858:(t,e,r)=>{"use strict";r.d(e,{A:()=>p});var n=r(55729),i=r(21425),s=r(77079),a=r(35993),o=r(29927),l=r(13558),c=r(62173),u=r(72686),f=r(51600),d=r(76351);function p(t){let e=(0,f.S)(),{isPreview:r,config:p}=(0,n.useContext)(i.Q),I=(0,n.useContext)(a.p),{editorActive:h,editorActiveRoute:_,setEditorActiveRoute:A}=(0,n.useContext)(s.n),{openPanel:m}=(0,u.m)(),N=(0,o.A)();if(!t||0===Object.keys(t).length)return{};if("live_chat"===t.type)return{onClick:t=>{t.preventDefault(),m()}};let E=e(t);if(!E)return{};switch((0,c.f_)({link:E,configPages:p.pages,editorActive:h,editorActiveRoute:_,isPreview:r})){case c.J.INVALID_LINK:return{};case c.J.EXTERNAL_LINK:return{target:"_blank",rel:"noopener noreferrer",href:(0,d.A)(E)};case c.J.EDITOR_ACTIVE_SAME_PAGE:return{onClick:()=>(0,c.C$)(E.split("#")[1])};case c.J.EDITOR_ACTIVE_DIFFERENT_PAGE:return{onClick:()=>{A({route:E.split("#")[0],sectionId:E.split("#")[1]}),r&&N?(0,c.C$)("app",{behavior:"auto"}):(0,l.A)(E,I)}};case c.J.TEL_MAIL_LINK:return{href:E,target:"self"};case c.J.INTERNAL_LINK_WITH_SECTION:case c.J.INTERNAL_LINK:return{href:E,isInternal:!0};case c.J.INTERNAL_LINK_SECTION_ONLY:return{href:E,onClick:t=>{t.preventDefault(),(0,c.C$)(E.split("#")[1])}};default:return{href:E}}}},28442:(t,e,r)=>{"use strict";r.d(e,{A:()=>l});var n=r(6029),i=r(55729),s=r(7703),a=r(40073);let o=(0,s.n9)()((t,e)=>{let{iconColor:r,iconHoverColor:n,size:i,compensateMargin:s,padding:a}=e;return{svgContainer:{width:2*i,height:2*i,margin:s?-Math.floor(i/2):void 0,display:"flex",position:"relative","& > svg":{width:"100%",height:"100%",position:"absolute",padding:a,"&:hover":{"& > path":{fill:`${n} !important`}},"& > path, & > g":{fill:`${r} !important`}}}}}),l=function(t){let{iconSrc:e,iconColor:r,iconHoverColor:s,size:l=40,compensateMargin:c,padding:u}=t,[f,d]=(0,i.useState)(""),{classes:p}=o({iconColor:r,size:l,compensateMargin:c,iconHoverColor:s,padding:u});return(0,i.useEffect)(()=>{(async()=>{let t=await fetch((0,a.Ay)(`CustomerUISvgs/${e}`),{mode:"cors",method:"GET"});d(await t.text())})()},[e]),(0,n.jsx)("div",{className:p.svgContainer,dangerouslySetInnerHTML:{__html:f}})}},32988:(t,e)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var t="",e=0;e<arguments.length;e++){var r=arguments[e];r&&(t=s(t,function(t){if("string"==typeof t||"number"==typeof t)return t;if("object"!=typeof t)return"";if(Array.isArray(t))return i.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]"))return t.toString();var e="";for(var r in t)n.call(t,r)&&t[r]&&(e=s(e,r));return e}(r)))}return t}function s(t,e){return e?t?t+" "+e:t+e:t}t.exports?(i.default=i,t.exports=i):void 0===(r=(function(){return i}).apply(e,[]))||(t.exports=r)}()},36900:(t,e,r)=>{"use strict";r.r(e),r.d(e,{PopUp:()=>o,default:()=>l});var n=r(6029),i=r(67200),s=r(97018),a=r(19625);let o=t=>{let{onClose:e,expandedItem:r,sectionId:o}=t,l=r?.asset?"left":"center";return(0,n.jsx)(a.A,{open:!!r,variant:"site",mediaProps:{controls:!0,customPlayButton:!0,muted:!1},onClose:e,asset:r?.asset,widthSx:r?.asset?void 0:"auto",id:r?.id,sectionId:o,itemId:r?.id,mediaAttributeName:"asset",children:(r?.title||r?.caption)&&(0,n.jsxs)(i.A,{fullWidth:!0,alignItems:l,justifySelf:l,spacing:{xs:1.5,sm:2},px:"left"===l?{xs:4.5,sm:5,md:6,lg:8.25}:{xs:4.5,sm:15,md:21,lg:22},py:{xs:5},sx:{maxWidth:"center"===l?{sm:720,md:824,lg:848}:"100%"},children:[(0,n.jsx)(s.default,{variant:"h6",fontSize:{xs:18,sm:24},fontWeight:"bold",children:r?.title}),(0,n.jsx)(s.default,{children:r?.caption})]})})},l=o},40073:(t,e,r)=>{"use strict";function n(t){return`https://7si3kcd8.b-cdn.net/${t}`}function i(t){return`https://j49fo3n.b-cdn.net/${t}`}r.d(e,{Ay:()=>s,Cr:()=>i,dx:()=>n});let s=n},45070:(t,e,r)=>{"use strict";r.d(e,{A:()=>u});var n=r(6029);r(55729);var i=r(90931),s=r(32988),a=r.n(s),o=r(81553),l=r(28442),c=r(92268);let u=function(t){let{icon:e,iconClass:r,size:s=20,disableHover:u,...f}=t,d=(0,i.A)(),p=f.iconColor||d.palette.text.primary,I=f.iconHoverColor||d.palette.secondary.main;return(0,c.NU)(e)?(0,n.jsx)(l.A,{iconSrc:e,iconColor:p,iconHoverColor:u?null:
1I,size:s,compensateMargin:!0,...f}):(0,n.jsx)(o.A,{className:a()(e,r),style:{fontSize:s},sx:{color:p,"&:hover":{color:u?p:I}}})}},51600:(t,e,r)=>{"use strict";r.d(e,{S:()=>l});var n=r(55729),i=r(80486),s=r(25425),a=r(12209),o=r(57710);let l=()=>{let{socialMediaInfo:t}=(0,n.useContext)(o.uV),{getUrl:e}=(0,i.Dn)(),{getDefaultPublicReviewUrl:r}=(0,s.v1)();return n=>((t,e,r,n)=>{if("type"in t&&"leave_review"===t.type){let e=n?.();if(e)return e;let r="link"in t?t.link:void 0;return"string"==typeof r?r:""}if("type"in t&&"live_chat"===t.type)return"";if("type"in t&&"calendar"===t.type&&"calendarUserId"in t){let e="number"==typeof t.durationMinutes?t.durationMinutes:30,n=r?.(t.calendarUserId,e);if(n)return n;let i="link"in t?t.link:void 0;return"string"==typeof i?i:""}if("sync"in t)switch(t.sync?.key){case a.F.FACEBOOK:{if(!e?.facebook)return"";let{pageId:t,facebookLink:r}=e.facebook;return r||`https://facebook.com/${t}`}case a.F.INSTAGRAM:{let t=e?.instagram?.username;return t?`https://www.instagram.com/${t}`:""}default:return""}return t.link})(n,t,e,r)}},53643:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let n={lt:"<",gt:">",quot:'"',apos:"'",nbsp:"\xa0",rsquo:"’",mdash:"—",ndash:"–",ldquo:"“",rdquo:"”",lsquo:"‘",bull:"•",middot:"\xb7",hellip:"…",prime:"′",thinsp:" ",times:"\xd7",aacute:"\xe1",eacute:"\xe9",iacute:"\xed",ntilde:"\xf1",iexcl:"\xa1",sect:"\xa7",alpha:"α"};function i(t){if("string"!=typeof t)return"";let e=t.replace(/<[^>]*>/g,"");return(e=(e=e.replace(/&#(?:x([0-9a-fA-F]+)|(\d+));/g,(t,e,r)=>String.fromCodePoint(e?parseInt(e,16):Number(r)))).replace(/&([a-zA-Z][a-zA-Z0-9]*);/g,(t,e)=>n[e]??t)).replace(/&amp;/g,"&")}},62173:(t,e,r)=>{"use strict";r.d(e,{J:()=>l,f_:()=>c,C$:()=>o});var n=r(7659),i=r(69937),s=r(77134),a=r(67110);let o=(t,e)=>{if("undefined"==typeof document)return;let r=document.getElementById(t);r?.scrollIntoView({behavior:"smooth",block:"start",...e})};var l=function(t){return t.TEL_MAIL_LINK="TEL_MAIL_LINK",t.EXTERNAL_LINK="EXTERNAL_LINK",t.INTERNAL_LINK="INTERNAL_LINK",t.INTERNAL_LINK_WITH_SECTION="INTERNAL_LINK_WITH_SECTION",t.INTERNAL_LINK_SECTION_ONLY="INTERNAL_LINK_SECTION_ONLY",t.EDITOR_ACTIVE_SAME_PAGE="EDITOR_ACTIVE_SAME_PAGE",t.EDITOR_ACTIVE_DIFFERENT_PAGE="EDITOR_ACTIVE_DIFFERENT_PAGE",t.INVALID_LINK="INVALID_LINK",t}(l||{});let c=t=>{let{link:e,configPages:r,editorActive:o,editorActiveRoute:l,isPreview:c}=t,u=(0,s.b)(e);if("phone"===u||"sms"===u||"email"===u)return"TEL_MAIL_LINK";if(e.match(i.rx))return"EXTERNAL_LINK";let f=!o&&!c;if(f&&e.includes("#"))return e.startsWith("/")?"INTERNAL_LINK_WITH_SECTION":"INTERNAL_LINK_SECTION_ONLY";if(!f){if(e.startsWith("/team_member_"))return"EDITOR_ACTIVE_DIFFERENT_PAGE";let t=new Set((0,n.A)(r).map(t=>"urlPath"in t?t.urlPath:"").filter(Boolean)),[i,s]=e.split("#");return!i||t.has(i)||(0,a.fQ)(i)?s&&(!i||l?.route===i)?"EDITOR_ACTIVE_SAME_PAGE":"EDITOR_ACTIVE_DIFFERENT_PAGE":"INVALID_LINK"}return"INTERNAL_LINK"}},67200:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(6029),i=r(17745);r(55729);var s=r(6681);let a=t=>{let{children:e,spacing:r=1,alignItems:a="flex-start",justifyContent:o="flex-start",centered:l=!1,justified:c=!1,style:u,fullWidth:f,...d}=t,p={alignItems:l?"center":a,justifyContent:c?"space-between":o,gap:(0,s.y)(r),width:f?"100%":"auto",...u};return(0,n.jsx)(i.A,{direction:"column",...d,sx:{...p,...d.sx},children:e})}},68109:(t,e,r)=>{"use strict";r.d(e,{Me:()=>s,jO:()=>a});var n=r(36400);let i=["xs","sm","md","lg","xl"];function s(t,e){return i.reduce((r,n)=>{let[i,s,a]=r;if(void 0===t[n]&&void 0===e[n])return[i,s,a];let o=t[n]??s,l=e[n]??a;return[{...i,[n]:o+l},o,l]},[{},0,0])[0]}function a(t,e){return s(t,(0,n.jQ)(e,-1))}},69718:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(55729),i=r(21425);function s(){let{config:t}=(0,n.useContext)(i.Q);return t?.disableAnimations??!1}},76351:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=t=>t.startsWith("http")?t:`https://${t}`},77134:(t,e,r)=>{"use strict";r.d(e,{Q:()=>l,b:()=>o});let n=/^tel:/i,i=/^sms:/i,s=/^mailto:.*@.*/i,a=/^https?:\/\/(?:wa\.me|api\.whatsapp\.com)(?:\/|$)/i,o=t=>n.test(t)?"phone":i.test(t)?"sms":s.test(t)?"email":a.test(t)?"whatsapp":void 0,l={phone:"phone_click",
1sms:"sms_click",email:"email_click",whatsapp:"whatsapp_click"}},77931:(t,e,r)=>{"use strict";r.d(e,{A:()=>u,d:()=>c});var n=r(6029),i=r(90798),s=r(55729),a=r(43072),o=r(69718);let l=new Set(["up","down","rotate-horizontal","none"]),c=(t,e)=>!!(t&&globalThis[`${t}-skip-animation`])||e;function u(t){let{children:e,direction:r="up",duration:u,delay:f=0,boxProps:d={},options:p={},containerBoxProps:I={},sectionId:h}=t,[_,A]=(0,a.Wx)({rootMargin:"-100px",triggerOnce:!0,...p}),m=u||("rotate-horizontal"===r||"none"===r?.75:.5),N=(0,o.A)(),E=N||c(h,A),[v,g]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{if(!E)return void g(!1);let t=setTimeout(()=>g(!0),N||c(h,!1)?0:(m+f)*1e3+100);return()=>clearTimeout(t)},[E,m,f,N,h]),(0,n.jsx)(i.A,{overflow:l.has(r)?"initial":"hidden",...I,children:(0,n.jsx)(i.A,{...d,ref:_,sx:{willChange:v?"auto":"opacity, transform",transition:`opacity ${m}s ease-out, transform ${m}s ease-out`,transitionDelay:`${f}s`,...d.sx},style:{"--translation-offset":"min(90%, 100px)",opacity:+!!E,transform:E?"translate(0, 0)":(t=>{switch(t){case"up":return"translateY(var(--translation-offset))";case"down":return"translateY(calc(var(--translation-offset) * -1))";case"left":return"translateX(calc(var(--translation-offset) * -1))";case"right":return"translateX(var(--translation-offset))";case"rotate-horizontal":return"rotateY(-90deg)";default:return"translateY(0)"}})(r),...d.style},children:e})})}},91874:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>f});var n=r(6029),i=r(90923),s=r(7703);r(55729);var a=r(53643),o=r(57654),l=r(45070),c=r(24858);let u=(0,s.n9)()(t=>({socialIcon:{minWidth:0,padding:0,width:48,height:48,[t.breakpoints.up("lg")]:{width:56,height:56},[t.breakpoints.up("xl")]:{width:64,height:64}},onlyStartIcon:{"& .MuiButton-startIcon":{marginRight:0}}}));function f(t){let{text:e,icon:r,type:s,color:f,variant:d,id:p,appearance:I,...h}=t,_=I??d,A=(0,c.A)(t),{classes:m,cx:N}=u(),E=N("social"===s&&m.socialIcon,r&&!e&&m.onlyStartIcon,h.className,"eclectic-button");return A.isInternal?(0,n.jsx)(o.A,{href:A.href,children:(0,n.jsx)(i.A,{variant:_,color:f,startIcon:r&&(0,n.jsx)(l.A,{iconColor:"inherit",icon:r}),...h,className:E,children:(0,a.A)(e||"")})}):(0,n.jsx)(i.A,{variant:_,color:f,startIcon:r&&(0,n.jsx)(l.A,{iconColor:"inherit",icon:r}),...A,...h,className:E,children:(0,a.A)(e||"")})}},95038:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(6029),i=r(17745);r(55729);var s=r(6681);let a=t=>{let{children:e,spacing:r=1,alignItems:a="flex-start",justifyContent:o="flex-start",centered:l=!1,justified:c=!1,style:u,fullWidth:f,...d}=t,p={alignItems:l?"center":a,justifyContent:c?"space-between":o,gap:(0,s.y)(r),width:f?"100%":"auto",...u};return(0,n.jsx)(i.A,{direction:"row",...d,sx:{...p,...d.sx},children:e})}}}]);

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.