1 line
No EOL
7.8 KiB
JavaScript
1 line
No EOL
7.8 KiB
JavaScript
(()=>{var e={};e.id=1416,e.ids=[1416],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},8579:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>s});let s=(0,t(12907).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/app/app/materials-coatings/page.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/app/app/materials-coatings/page.tsx","default")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:e=>{"use strict";e.exports=require("next/dist/server/app-render/action-async-storage.external.js")},28505:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>l});var s=t(60687),a=t(85814),n=t.n(a),i=t(43210);function o(e,r){return r?e.split(RegExp(`(${r})`,"gi")).map((e,t)=>e.toLowerCase()===r.toLowerCase()?(0,s.jsx)("mark",{children:e},t):e):e}function l(){let[e,r]=(0,i.useState)([]),[t,a]=(0,i.useState)(""),[l,d]=(0,i.useState)(""),c=(0,i.useMemo)(()=>{let r=l.toLowerCase();return e.filter(e=>[e.name,e.technical_name,e.abbreviation,e.composition,e.coating_status?.name].filter(Boolean).some(e=>e.toLowerCase().includes(r)))},[e,l]);return(0,s.jsxs)("div",{className:"p-6 max-w-7xl mx-auto",children:[(0,s.jsxs)("div",{className:"mb-6 flex flex-col lg:flex-row gap-4",children:[(0,s.jsxs)("div",{className:"flex-1 card bg-card text-card-foreground relative pb-16",children:[(0,s.jsx)("h1",{className:"text-3xl font-bold mb-2",children:"Laser Material Coatings"}),(0,s.jsx)("input",{type:"search",value:t,onChange:e=>a(e.target.value),placeholder:"Search coatings...",className:"w-full max-w-md mb-4 dark:bg-background border border-border rounded-md p-2"}),(0,s.jsx)("h2",{className:"font-semibold mb-1",children:"\uD83D\uDCCC Disclaimer"}),(0,s.jsx)("p",{className:"mb-6",children:"The following coatings are provided for educational purposes only and are not intended to be used as your sole or primary source of information when assessing the safety of any particular coating. It is your responsibility alone to ensure your safety when operating your equipment. This resource is provided as-is, free of charge under the assumption you are exercising all other relevant safety precautions."}),(0,s.jsx)("div",{className:"absolute bottom-4 left-4",children:(0,s.jsx)(n(),{href:"/",className:"btn-primary",children:"← Back to Main Menu"})})]}),(0,s.jsxs)("div",{className:"flex-1 card bg-[#422c17] text-white",children:[(0,s.jsx)("h2",{className:"font-bold text-base mb-2",children:"⚠ Safety Level Definitions"}),(0,s.jsxs)("ul",{className:"space-y-2",children:[(0,s.jsxs)("li",{children:[(0,s.jsx)("strong",{children:"Safe"})," – Materials marked as safe are widely considered to be generally safe by the laser community at large. This does not mean normal safety protocols should not be observed."]}),(0,s.jsxs)("li",{children:[(0,s.jsx)("strong",{children:"Level I – Caution"})," | These materials are typically safe when normal safety protocol observed. This includes skin, eye and respiratory protection, regulated marking parameters, and proper exhaust and filtration."]}),(0,s.jsxs)("li",{children:[(0,s.jsx)("strong",{children:"Level II – Dangerous"})," | These materials can be harmful even if normal safety protocol observed. Strict adherence to safety protocols required at all times. Exercise extreme caution and mindfulness."]}),(0,s.jsxs)("li",{children:[(0,s.jsx)("strong",{children:"Level III – Critical Hazard"})," | These materials pose an imminent threat of bodily harm or death. Materials marked Critical Hazard should not be processed by lasers in any environment for any reason."]})]})]})]}),0===c.length?(0,s.jsx)("p",{className:"text-muted",children:"No coatings found."}):(0,s.jsx)("div",{className:"overflow-x-auto",children:(0,s.jsxs)("table",{className:"table-fixed min-w-full border border-border text-sm",children:[(0,s.jsx)("thead",{children:(0,s.jsxs)("tr",{children:[(0,s.jsx)("th",{className:"px-4 py-2 text-left w-48",children:"Name"}),(0,s.jsx)("th",{className:"px-4 py-2 text-left w-32 whitespace-nowrap",children:"Status"}),(0,s.jsx)("th",{className:"px-4 py-2 text-left w-32",children:"Abbreviation"}),(0,s.jsx)("th",{className:"px-4 py-2 text-left w-64",children:"Technical Name"}),(0,s.jsx)("th",{className:"px-4 py-2 text-left w-64",children:"Composition"})]})}),(0,s.jsx)("tbody",{children:c.map(e=>(0,s.jsxs)("tr",{className:"border-t border-border align-top",children:[(0,s.jsx)("td",{className:"px-4 py-2 truncate max-w-[12rem]",children:(0,s.jsx)(n(),{href:`/materials-coatings/${e.id}`,className:"text-accent underline",children:o(e.name,l)})}),(0,s.jsx)("td",{className:"px-4 py-2 whitespace-nowrap",children:o(e.coating_status?.name||"—",l)}),(0,s.jsx)("td",{className:"px-4 py-2 truncate max-w-[8rem]",children:o(e.abbreviation||"—",l)}),(0,s.jsx)("td",{className:"px-4 py-2 truncate max-w-[16rem]",children:o(e.technical_name||"—",l)}),(0,s.jsx)("td",{className:"px-4 py-2 truncate max-w-[16rem]",children:o(e.composition||"—",l)})]},e.id))})]})})]})}},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{"use strict";e.exports=require("path")},36319:()=>{},56444:(e,r,t)=>{Promise.resolve().then(t.t.bind(t,16444,23)),Promise.resolve().then(t.t.bind(t,16042,23)),Promise.resolve().then(t.t.bind(t,88170,23)),Promise.resolve().then(t.t.bind(t,49477,23)),Promise.resolve().then(t.t.bind(t,29345,23)),Promise.resolve().then(t.t.bind(t,12089,23)),Promise.resolve().then(t.t.bind(t,46577,23)),Promise.resolve().then(t.t.bind(t,31307,23))},58014:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>n,metadata:()=>a});var s=t(37413);t(90061);let a={title:"LE-DB",description:"Laser Everything Community Database"};function n({children:e}){return(0,s.jsx)("html",{lang:"en",className:"dark",children:(0,s.jsx)("body",{children:e})})}},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},66172:(e,r,t)=>{Promise.resolve().then(t.t.bind(t,86346,23)),Promise.resolve().then(t.t.bind(t,27924,23)),Promise.resolve().then(t.t.bind(t,35656,23)),Promise.resolve().then(t.t.bind(t,40099,23)),Promise.resolve().then(t.t.bind(t,38243,23)),Promise.resolve().then(t.t.bind(t,28827,23)),Promise.resolve().then(t.t.bind(t,62763,23)),Promise.resolve().then(t.t.bind(t,97173,23))},76556:(e,r,t)=>{"use strict";t.r(r),t.d(r,{GlobalError:()=>i.a,__next_app__:()=>m,pages:()=>c,routeModule:()=>p,tree:()=>d});var s=t(65239),a=t(48088),n=t(88170),i=t.n(n),o=t(30893),l={};for(let e in o)0>["default","tree","pages","GlobalError","__next_app__","routeModule"].indexOf(e)&&(l[e]=()=>o[e]);t.d(r,l);let d={children:["",{children:["materials-coatings",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(t.bind(t,8579)),"/app/app/materials-coatings/page.tsx"]}]},{}]},{layout:[()=>Promise.resolve().then(t.bind(t,58014)),"/app/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(t.t.bind(t,57398,23)),"next/dist/client/components/not-found-error"],forbidden:[()=>Promise.resolve().then(t.t.bind(t,89999,23)),"next/dist/client/components/forbidden-error"],unauthorized:[()=>Promise.resolve().then(t.t.bind(t,65284,23)),"next/dist/client/components/unauthorized-error"]}]}.children,c=["/app/app/materials-coatings/page.tsx"],m={require:t,loadChunk:()=>Promise.resolve()},p=new s.AppPageRouteModule({definition:{kind:a.RouteKind.APP_PAGE,page:"/materials-coatings/page",pathname:"/materials-coatings",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:d}})},79825:(e,r,t)=>{Promise.resolve().then(t.bind(t,28505))},80497:(e,r,t)=>{Promise.resolve().then(t.bind(t,8579))},90061:()=>{},96999:()=>{}};var r=require("../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),s=r.X(0,[7719,4825,5814],()=>t(76556));module.exports=s})(); |