PageSourceSearch

https://www.motiontech.co.uk/_next/static/chunks/1559.ca88168c40dcb6e1.js

js motiontech.co.uk collected 2026-10-04 17:58:44 UTC 6,273 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1559],{98560:function(l,e,t){t.d(e,{Bc:function(){return r},K8:function(){return a}});var i,a,n=t(85893);t(67294),(i=a||(a={})).H1="h1",i.H2="h2",i.H3="h3",i.H4="h4",i.H5="h5",i.H6="h6";let r=l=>{let{headingChoice:e,children:t,...i}=l;switch(e){case"h1":return(0,n.jsx)("h1",{...i,children:t});case"h2":default:return(0,n.jsx)("h2",{...i,children:t});case"h3":return(0,n.jsx)("h3",{...i,children:t});case"h4":return(0,n.jsx)("h4",{...i,children:t});case"h5":return(0,n.jsx)("h5",{...i,children:t});case"h6":return(0,n.jsx)("h6",{...i,children:t})}};e.ZP=r},11559:function(l,e,t){t.r(e);var i=t(85893),a=t(67294),n=t(84282),r=t(19470),o=t.n(r),d=t(57517),s=t(98808),u=t(51674),c=t(2036),v=t(98560),h=t(33168);let x=function(){for(var l=arguments.length,e=Array(l),t=0;t<l;t++)e[t]=arguments[t];return e.join(" ")};e.default=l=>{var e,t,r,b,f,m,g,w,p,j,T,y,N,k,C,H;let{tabContent:Z=[],headingClass:B,bgColour:E,textColour:_,tabColour:S}=l;if(0===Z.length)return(0,i.jsx)(i.Fragment,{});let[L,M]=(0,a.useState)(Z[0]),[R,$]=(0,a.useState)(void 0),{primaryBrand:A,secondaryBrand:D}=(0,h.YX)();(0,a.useEffect)(()=>{M(Z[0])},[JSON.stringify(Z)]);let{headingClass:F}=null!=B?B:{headingClass:v.K8.H2};return(0,i.jsxs)("div",{className:"flex flex-col transition-all font-body lg:mx-auto mx-8 py-2 lg:w-autojustify-center items-center",style:{background:E},children:[(0,i.jsxs)("div",{className:"flex lg:place-content-around lg:w-[800px]",children:[(0,i.jsxs)("div",{className:"lg:hidden w-full",children:[(0,i.jsx)("label",{htmlFor:"tabs",className:"sr-only",children:"Select a tab"}),(0,i.jsxs)("div",{className:"relative w-full",children:[(0,i.jsx)(n.Z,{color:S||A||"white",className:"w-8 h-8 top-3 left-3 select-none absolute"}),(0,i.jsx)("select",{id:"tabs",name:"tabs",className:"text-center font-body border px-16 py-4 truncate text-sm block w-[330px] md:w-[500px] cursor-pointer",style:{color:S||A||"white",borderColor:S||A||"white",backgroundColor:D||"black",WebkitAppearance:"none"},defaultValue:null==L?void 0:L.tabTitle,onChange:l=>{M(Z.find(e=>e.tabTitle===l.target.value))},children:Z.map(l=>(0,i.jsx)("option",{className:"w-full",value:l.tabTitle,children:l.tabTitle},l.tabTitle))})]})]}),Z.map(l=>(0,i.jsx)("div",{className:"hidden lg:block w-full",children:(0,i.jsx)("nav",{className:"isolate flex font-medium divide-x divide-black rounded-lg shadow","aria-label":"Tabs",children:(0,i.jsx)("button",{onClick:()=>{M(l)},href:l.tabTitle,className:x("group relative min-w-0 flex-1 bg-white border py-4\n                  } truncate w-52 px-4 text-center text-sm font-medium focus:z-10 transition-all"),onMouseEnter:()=>$(l.tabTitle),onMouseLeave:()=>$(void 0),style:l.tabTitle===(null==L?void 0:L.tabTitle)?{background:S||A,color:D,borderColor:S||A}:{background:R===(null==l?void 0:l.tabTitle)?S||A:D,color:R===(null==l?void 0:l.tabTitle)?D:S||A,borderColor:S||A},"aria-current":l.tabTitle===(null==L?void 0:L.tabTitle)?"page":void 0,children:(0,i.jsx)("span",{className:x(l.tabTitle===(null==L?void 0:L.tabTitle)?"":"bg-transparent","inset-x-0 bottom-0 h-0.5"),children:l.tabTitle})},l.tabTitle)})},l.tabTitle))]}),(0,i.jsxs)("div",{className:"flex items-center px-8 lg:px-0 flex-col gap-10 xl:gap-24 xl:flex-row w-full lg:w-5/6 xl:w-2/3 my-16 md:w-[90%]",children:[(0,i.jsxs)("div",{className:"place-content-between font-body",children:[(0,i.jsxs)(o(),{children:[(0,i.jsx)(v.Bc,{headingChoice:F,className:"lg:mr-8 w-full text-3xl sm:text-center pb-5 lg:text-left font-display leading-9",style:{color:A||"white"},children:null==L?void 0:L.tabTitle}),(null==L?void 0:L.tabDescription)&&(0,i.jsx)("div",{className:"flex flex-auto break-words leading-9 flex-wrap",style:{color:_||"white"},dangerouslySetInnerHTML:{__html:null==L?void 0:L.tabDescription}})]},null==L?void 0:L.tabTitle),(null==L?void 0:L.ctaButton)&&((null==L?void 0:null===(e=L.ctaButton)||void 0===e?void 0:e.href)||(null==L?void 0:null===(f=L.ctaButton)||void 0===f?void 0:null===(b=f.cta_button)||void 0===b?void 0:null===(r=b.data)||void 0===r?void 0:null===(t=r.attributes)||void 0===t?void 0:t.href))&&(0,i.jsx)("div",{className:"py-4 w-full flex flex-col items-center lg:items-start",children:(0,i.jsx)(u.ZP,{ctaConfig:null==L?void 0:L.ctaButton})})]}),(0,d.$0)(null==L?void 0:null===(w=L.image)||void 0===w?void 0:null===(g=w.data)||void 0===g?void 0:null===(m=g.attributes)||void 0===m?void 0:m.url)?(0,i.jsx)("div",{className:"flex relative items-center justify-center w-full",children:(0,d.$0)(null==L?void 0:null===(T=L.image)||void 0===T?void 0:null===(j=T.data)||void 0===j?void 0:null===(p=j.attributes)||void 0===p?void 0:p.url)?(0,i.jsx)(o(),{children:(0,i.jsx)(c.Z,{classNames:"mx-auto h-[50vh] w-[75vw] lg:w-[50vw] lg:h-[50vw] xl:w-[30vw] xl:h-[60vh] border-2 transition-all hover:scale-105 hover:shadow-lg",blurDataURL:(0,d.$0)(null==L?void 0:null===(y=L.image)||void 0===y?void 0:y.data.attributes.formats.thumbnail.url),placeholder:"blur",src:(0,d.$0)(null==L?void 0:null===(C=L.image)||void 0===C?void 0:null===(k=C.data)||void 0===k?void 0:null===(N=k.attributes)||void 0===N?void 0:N.url),alt:(0,s.Z)(null==L?void 0:null===(H=L.image)||void 0===H?void 0:H.data,null==L?void 0:L.imgAltText,"Image to accompany ".concat(null==L?void 0:L.tabTitle," "))})},null==L?void 0:L.tabTitle):null}):null]})]})}},98808:function(l,e){e.Z=function(l,e,t){var i;let a=null!==(i=null==l?void 0:l.attributes)&&void 0!==i?i:l;if(a){if(a.alternativeText&&a.alternativeText.trim().length>0)return a.alternativeText;
1if(a.caption&&a.caption.trim().length>0)return a.caption;if(e&&e.trim().length>0)return e;if(t&&t.trim().length>0)return t;else if(a.name&&a.name.trim().length>0)return a.name}return e||t}},84282:function(l,e,t){var i=t(67294);let a=i.forwardRef(function(l,e){let{title:t,titleId:a,...n}=l;return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:e,"aria-labelledby":a},n),t?i.createElement("title",{id:a},t):null,i.createElement("path",{fillRule:"evenodd",d:"M16.28 11.47a.75.75 0 0 1 0 1.06l-7.5 7.5a.75.75 0 0 1-1.06-1.06L14.69 12 7.72 5.03a.75.75 0 0 1 1.06-1.06l7.5 7.5Z",clipRule:"evenodd"}))});e.Z=a}}]);

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.