PageSourceSearch

https://atlasmagnetics.com/_next/static/chunks/2335-09f2ad95510b9934.js

js atlasmagnetics.com collected 2026-10-08 07:40:35 UTC 9,424 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},l=(new e.Error).stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="178370e1-4de1-4e94-8681-bb0481291c82",e._sentryDebugIdIdentifier="sentry-dbid-178370e1-4de1-4e94-8681-bb0481291c82")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2335],{899:(e,l,t)=>{t.d(l,{J:()=>n});var a=t(88828),s=t(55701),i=t(18583),r=t(12015);let n=e=>{var l;let{tabs:t}=e,[n,d]=(0,i.Z)((null==t||null==(l=t[0])?void 0:l.keyfeature)||"","markdown-tab");if(!t||0===t.length)return null;let o=t.map(e=>{var l;return{key:e.keyfeature||(null==(l=e.id)?void 0:l.toString())||"",label:e.keyfeature||""}}),c=t.reduce((e,l)=>{var t;return e[l.keyfeature||(null==(t=l.id)?void 0:t.toString())||""]=(0,a.jsx)(r.Q,{children:l.body||""}),e},{});return(0,a.jsx)(s.k,{activeTab:n,classNames:{cursor:"bg-[#B45C45] h-[2px] rounded-full",tabList:"overflow-auto text-body1",tabContent:"text-primary-800/50 group-data-[selected=true]:text-primary-800 transition-colors"},tabContent:c,tabs:o,onTabChange:d})}},18583:(e,l,t)=>{t.d(l,{Z:()=>i});var a=t(91635),s=t(81552);let i=function(e){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"tab",t=(0,a.useRouter)(),[i,r]=(0,s.useState)(e);return(0,s.useEffect)(()=>{if(t.isReady){let e=t.query[l];e&&r(e)}},[t.isReady,t.query,l]),[i,e=>{r(e),t.push({pathname:t.pathname,query:{...t.query,[l]:e}},void 0,{shallow:!0})}]}},30314:(e,l,t)=>{t.d(l,{h:()=>a.h});var a=t(81858)},50742:(e,l,t)=>{t.d(l,{z:()=>g,s:()=>b});var a=t(88828),s=t(14085),i=t(53557),r=t(33545),n=t(32421),d=t(12600),o=t(86610),c=t(13193),u=t(4946),x=t(41027),m=t.n(x),h=t(48574),f=t.n(h),v=t(73287),p=t(16206);let b=()=>(0,a.jsxs)(s.Z,{className:"space-y-5 p-4",radius:"lg",children:[(0,a.jsx)(i.m,{className:"rounded-lg",children:(0,a.jsx)("div",{className:"h-40 rounded-lg bg-default-300"})}),(0,a.jsxs)("div",{className:"space-y-3",children:[(0,a.jsx)(i.m,{className:"w-3/5 rounded-lg",children:(0,a.jsx)("div",{className:"h-3 w-3/5 rounded-lg bg-default-200"})}),(0,a.jsx)(i.m,{className:"w-4/5 rounded-lg",children:(0,a.jsx)("div",{className:"h-3 w-4/5 rounded-lg bg-default-200"})}),(0,a.jsx)(i.m,{className:"w-2/5 rounded-lg",children:(0,a.jsx)("div",{className:"h-3 w-2/5 rounded-lg bg-default-300"})})]})]}),g=e=>{let{id:l,className:t,customFooter:i,customMedia:x,description:h,image:b,link:g,date:w,readTime:j,tags:y,title:N,type:k="default",ctaText:I}=e;return(0,a.jsxs)(s.Z,{className:(0,r.cn)("group relative overflow-hidden bg-content1 shadow-small transition-all hover:shadow-medium",t),children:[(0,a.jsx)(f(),{"aria-label":N,className:"absolute inset-0 z-0",href:g}),(0,a.jsxs)(n.U,{className:(0,r.cn)("gap-2 p-0",!b&&!x&&"p-4"),children:[x?(0,a.jsx)("div",{className:"relative aspect-video w-full overflow-hidden bg-content2",children:x}):b&&(0,a.jsx)("div",{className:"relative aspect-video w-full overflow-hidden bg-content2",children:(0,a.jsx)(m(),{fill:!0,alt:N,className:"object-cover transition-transform group-hover:scale-105",sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw",src:b})}),(0,a.jsxs)("div",{className:(0,r.cn)("flex flex-col gap-2",b||x?"p-4":"pt-0"),children:[(0,a.jsxs)("div",{className:"flex items-start justify-between gap-2",children:[(0,a.jsx)("h3",{className:"line-clamp-2 font-semibold text-medium text-default-800",children:N}),"download"===k&&g&&(0,a.jsx)(d.T,{download:!0,isIconOnly:!0,as:"a",href:g,radius:"full",size:"sm",variant:"light",onClick:e=>{var t;e.stopPropagation(),(0,v.sendGAEvent)("event","file_download",{file_name:null!=(t=g.split("/").pop())?t:N,item_id:l,item_name:N})},children:(0,a.jsx)(u.In,{className:"text-default-500",icon:"solar:download-linear",width:20})}),"external"===k&&g&&(0,a.jsx)(d.T,{isIconOnly:!0,as:"a",className:"relative z-10 flex-shrink-0 text-default-500",href:g,radius:"full",rel:"noopener noreferrer",size:"sm",target:"_blank",variant:"light",onClick:e=>e.stopPropagation(),children:(0,a.jsx)(u.In,{icon:"solar:link-circle-linear",width:24})})]}),h&&(0,a.jsx)("p",{className:"line-clamp-2 text-small text-default-600",children:h}),y&&y.length>0&&(0,a.jsx)("div",{className:"mt-1 flex flex-wrap gap-1",children:y.slice(0,3).map((e,l)=>(0,a.jsx)(o.R,{className:"h-5",size:"sm",variant:"flat",children:(0,a.jsx)("span",{className:"text-tiny",children:e})},l))})]})]}),("default"===k||w||j||i)&&(0,a.jsx)(c.Z,{className:"pointer-events-none border-t border-divider px-4 py-3",children:i||(0,a.jsxs)("div",{className:"flex w-full items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex items-center gap-4 text-small text-default-500",children:[w&&(0,a.jsx)("span",{children:w}),j&&(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[(0,a.jsx)(u.In,{icon:"solar:clock-circle-linear",width:16}),(0,a.jsx)("span",{children:j})]})]}),"default"===k&&(0,a.jsx)("div",{className:"flex justify-end",children:(0,a.jsx)(p.z,{className:"pointer-events-auto text-small",endIcon:"solar:arrow-right-linear",href:g,namespace:"common",size:"sm",text:I,textKey:I?void 0:"read_more",variant:"light"})})]})})]})}},55701:(e,l,t)=>{t.d(l,{k:()=>r});var a=t(88828),s=t(24381),i=t(88808);let r=e=>{var l;let{tabs:t,activeTab:r,onTabChange:n,tabContent:d,classNames:o,className:c}=e;return(0,a.jsxs)("div",{className:"w-full ".concat(c||""),children:[(0,a.jsx)(s.r,{"aria-label":"Content tabs",classNames:{base:(null==o?void 0:o.base)||"w-full",cursor:(null==o?void 0:o.cursor)||"bg-[#B45C45] h-[2px] rounded-full",tabList:(null==o?void 0:o.tabList)||"text-body1 border-b border-divider gap-2 w-full overflow-x-auto scrollbar-hide flex flex-row flex-nowrap scroll-smooth",tabContent:(null==o?void 0:o.tabContent)||"text-primary-800/50 group-data-[selected=true]:text-primary-800 transition-colors font-medium whitespace-nowrap",tab:(null==o?void 0:o.tab)||"px-3 h-12"},selectedKey:r,variant:"underlined",onSelectionChange:e=>{n(e)},children:t.map(e=>(0,a.jsx)(i.i,{title:e.label},e.key))}
1),(0,a.jsx)("div",{className:"mt-6",children:null!=(l=d[r])?l:(0,a.jsx)("div",{className:"flex h-full items-center justify-center py-12",children:(0,a.jsx)("p",{className:"text-h3 text-default-400",children:"No content available"})})})]})}},81858:(e,l,t)=>{t.d(l,{h:()=>s});var a=t(88828);let s=e=>{let{text:l,size:t="md",color:s="text-primary-900 dark:text-primary-100",className:i}=e;return(0,a.jsx)("p",{className:"".concat("sm"===t?"text-body-md tracking-widest font-semibold":"lg"===t?"text-h2 md:text-h1 font-semibold":"text-h3 md:text-h2 font-semibold"," ").concat(s," ").concat(null!=i?i:""),children:l})}},90329:(e,l,t)=>{t.d(l,{L:()=>m});var a=t(88828),s=t(81552),i=t(16007),r=t.n(i);t(36816);var n=t(30288),d=t(30314),o=t(16206),c=t(50742),u=t(95311);let x=r()(()=>t.e(7177).then(t.bind(t,97177)),{loadableGenerated:{webpack:()=>[null]},ssr:!1}),m=e=>{let{data:l,layout:t="single",className:i,clickable:r=!1,title:m,showButton:h=!1,buttonHref:f="/"}=e,v=Array.isArray(l)?l:[l],p=(0,s.useMemo)(()=>v.map(e=>({...e,videoId:e.videoId||(e.url?(0,u.A)(e.url):"")})),[v]),b=e=>{r&&window.open("https://www.youtube.com/watch?v=".concat(e),"_blank")};return(0,a.jsxs)("div",{className:(0,n.A)("flex flex-col gap-6",i),children:[m&&(0,a.jsx)(d.h,{className:"mt-6 mb-4",color:"text-primary-800",size:"md",text:m}),(0,a.jsx)("div",{className:(0,n.A)("grid"===t?"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:grid-cols-3":"flex flex-col items-start gap-6"),children:p.map((e,l)=>{var s,i,r;return"grid"===t?(0,a.jsx)(c.z,{className:"w-full",customMedia:(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)(x,{noCookie:!0,id:e.videoId,poster:"hqdefault",title:e.title||""}),e.duration&&(0,a.jsx)("div",{className:"absolute bottom-2 right-2 rounded-md bg-black/70 px-2 py-1 text-xs text-white",children:e.duration})]}),description:e.description,id:null!=(s=e.videoId)?s:String(l),link:"https://www.youtube.com/watch?v=".concat(e.videoId),title:e.title||""},null!=(i=e.videoId)?i:l):(0,a.jsxs)("div",{className:"flex w-full max-w-[480px] flex-col gap-3",children:[(0,a.jsx)("div",{className:(0,n.A)("relative cursor-pointer overflow-hidden rounded-xl bg-white text-left shadow-sm transition hover:shadow-md focus:outline-none focus:ring-2 focus:ring-primary-500","single"===t&&"aspect-video w-full"),role:"button",tabIndex:0,onClick:()=>b(e.videoId),onKeyDown:l=>{("Enter"===l.key||" "===l.key)&&b(e.videoId)},children:(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)(x,{noCookie:!0,id:e.videoId,poster:"hqdefault",title:e.title||""}),e.duration&&(0,a.jsx)("div",{className:"absolute bottom-2 right-2 rounded-md bg-black/70 px-2 py-1 text-xs text-white",children:e.duration})]})}),e.title&&(0,a.jsxs)("div",{className:"flex flex-col gap-1 px-1",children:[(0,a.jsx)("p",{className:"line-clamp-2 text-h3 leading-[140%] text-[#161A23]",children:e.title}),e.description&&(0,a.jsx)("p",{className:"line-clamp-2 text-small text-default-500",children:e.description})]})]},null!=(r=e.videoId)?r:l)})}),h&&(0,a.jsx)("div",{className:"flex justify-end",children:(0,a.jsx)(o.z,{className:"mt-4",href:f,textKey:"see_more"})})]})}},95311:(e,l,t)=>{t.d(l,{A:()=>a});let a=e=>{if(!/[/:?&]/.test(e))return e;let l=e.match(/(?:youtube\.com\/watch\?v=|youtu\.be\/|youtube\.com\/embed\/)([^&\s?]+)/);return(null==l?void 0:l[1])||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.