1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5200],{100:function(e,t,a){Promise.resolve().then(a.t.bind(a,231,23)),Promise.resolve().then(a.bind(a,9692))},8030:function(e,t,a){"use strict";a.d(t,{Z:function(){return s}});var r=a(2265);/** 2 * @license lucide-react v0.427.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */let l=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),i=function(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return t.filter((e,t,a)=>!!e&&a.indexOf(e)===t).join(" ")};/** 7 * @license lucide-react v0.427.0 - ISC 8 * 9 * This source code is licensed under the ISC license. 10 * See the LICENSE file in the root directory of this source tree. 11 */var n={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** 12 * @license lucide-react v0.427.0 - ISC 13 * 14 * This source code is licensed under the ISC license. 15 * See the LICENSE file in the root directory of this source tree. 16 */let c=(0,r.forwardRef)((e,t)=>{let{color:a="currentColor",size:l=24,strokeWidth:c=2,absoluteStrokeWidth:s,className:o="",children:u,iconNode:m,...d}=e;return(0,r.createElement)("svg",{ref:t,...n,width:l,height:l,stroke:a,strokeWidth:s?24*Number(c)/Number(l):c,className:i("lucide",o),...d},[...m.map(e=>{let[t,a]=e;return(0,r.createElement)(t,a)}),...Array.isArray(u)?u:[u]])}),s=(e,t)=>{let a=(0,r.forwardRef)((a,n)=>{let{className:s,...o}=a;return(0,r.createElement)(c,{ref:n,iconNode:t,className:i("lucide-".concat(l(e)),s),...o})});return a.displayName="".concat(e),a}},5268:function(e,t,a){"use strict";a.d(t,{Z:function(){return r}});/** 17 * @license lucide-react v0.427.0 - ISC 18 * 19 * This source code is licensed under the ISC license. 20 * See the LICENSE file in the root directory of this source tree. 21 */let r=(0,a(8030).Z)("Bookmark",[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z",key:"1fy3hk"}]])},4567:function(e,t,a){"use strict";a.d(t,{Z:function(){return r}});/** 22 * @license lucide-react v0.427.0 - ISC 23 * 24 * This source code is licensed under the ISC license. 25 * See the LICENSE file in the root directory of this source tree. 26 */let r=(0,a(8030).Z)("Calculator",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",key:"1nb95v"}],["line",{x1:"8",x2:"16",y1:"6",y2:"6",key:"x4nwl0"}],["line",{x1:"16",x2:"16",y1:"14",y2:"18",key:"wjye3r"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M8 18h.01",key:"lrp35t"}]])},690:function(e,t,a){"use strict";a.d(t,{Z:function(){return r}});/** 27 * @license lucide-react v0.427.0 - ISC 28 * 29 * This source code is licensed under the ISC license. 30 * See the LICENSE file in the root directory of this source tree. 31 */let r=(0,a(8030).Z)("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]])},5430:function(e,t,a){"use strict";a.d(t,{Z:function(){return r}});/** 32 * @license lucide-react v0.427.0 - ISC 33 * 34 * This source code is licensed under the ISC license. 35 * See the LICENSE file in the root directory of this source tree. 36 */let r=(0,a(8030).Z)("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]])},9692:function(e,t,a){"use strict";a.d(t,{default:function(){return x}});var r=a(7437),l=a(2265),i=a(4567),n=a(5430),c=a(5268),s=a(690);/** 37 * @license lucide-react v0.427.0 - ISC 38 * 39 * This source code is licensed under the ISC license. 40 * See the LICENSE file in the root directory of this source tree. 41 */let o=(0,a(8030).Z)("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);var u=a(4481);let m=e=>e<=60?60:e>=90?90:75,d=e=>{var t;let{current:a,voltage:r,distance:l,voltageDropPercent:i,wireMaterial:n,circuitType:c,temperature:s,continuous:o=!1}=e,d=m(s),p=[];p.push(o?"Continuous load: conductor sized at 125% of load (NEC 210.19(A)/215.2).":"Non-continuous load: no 125% factor applied."),p.push("Termination temperature column: ".concat(d," \xb0C; ambient 30 \xb0C assumed (no extra derating).")),"aluminum"===n&&p.push("Aluminum requires CO/ALR-rated terminations and anti-oxidant compound."),"dc"===c&&p.push("DC/PV: confirm the 125% source-circuit rule (NEC 690.8) applies to your load.");let h=(0,u.q9)({amps:a,volts:r,feet:l,material:n,temp:d,phase:c,maxDropPct:i,continuous:o}),x="NEC 2023 Table 310.16 (ampacity) + Chapter 9 (voltage drop)".concat("dc"===c?", Article 690 (PV)":""),g=o?1.25*a:a,v=h?(0,u.xQ)(h.size):void 0,f=v&&null!==(t=(0,u.dA)(v,n,d))&&void 0!==t?t:0;if(!h||f<g)return{recommendedWireSize:"",noSolution:!0,actualVoltageDrop:0,actualVoltageDropPercent:0,recommendedBreakerSize:(0,u.or)(a),ampacity:0,limitingFactor:"none",s
41afetyNotes:[...p,"No single standard conductor meets both the ampacity and voltage-drop limits for these inputs. Increase the allowed voltage drop, shorten the run, split the load across circuits, or use parallel conductor sets (design by a licensed electrician)."],necReference:x};let y=h.vdLimited?"voltage drop":"ampacity";return h.dropPct>.9*i&&p.push("Voltage drop is close to the allowed limit â a larger conductor gives more margin."),{recommendedWireSize:h.size,noSolution:!1,actualVoltageDrop:h.dropVolts,actualVoltageDropPercent:h.dropPct,recommendedBreakerSize:(0,u.or)(a),ampacity:f,limitingFactor:y,safetyNotes:p,necReference:x}},p=[{name:"Residential Outlet Circuit",description:"15A or 20A general purpose outlet circuit",inputs:{current:15,voltage:120,distance:50,voltageDropPercent:3,wireMaterial:"copper",installationType:"conduit",circuitType:"ac-single",temperature:75}},{name:"Electric Vehicle Charging",description:"40A Level 2 EV charger (continuous load)",inputs:{current:40,voltage:240,distance:100,voltageDropPercent:3,wireMaterial:"copper",installationType:"conduit",circuitType:"ac-single",temperature:75,continuous:!0}},{name:"Solar Panel Array",description:"DC solar panel string wiring (125% source rule)",inputs:{current:30,voltage:600,distance:150,voltageDropPercent:2,wireMaterial:"copper",installationType:"conduit",circuitType:"dc",temperature:90,continuous:!0}},{name:"Air Conditioner Circuit",description:"Central air conditioning unit (continuous load)",inputs:{current:50,voltage:240,distance:75,voltageDropPercent:3,wireMaterial:"copper",installationType:"conduit",circuitType:"ac-single",temperature:75,continuous:!0}},{name:"Sub Panel Feeder",description:"100A sub panel feeder circuit",inputs:{current:100,voltage:240,distance:200,voltageDropPercent:3,wireMaterial:"copper",installationType:"conduit",circuitType:"ac-single",temperature:75}}];var h=a(6160),x=()=>{var e;let[t,a]=(0,l.useState)({current:20,voltage:120,distance:50,voltageDropPercent:3,wireMaterial:"copper",installationType:"conduit",circuitType:"ac-single",temperature:75,continuous:!1}),[u,m]=(0,l.useState)(null),x=(0,l.useRef)(!1),[g,v]=(0,l.useState)(0),f=()=>{x.current||(x.current=!0,(0,h.j)("calculator_start")),v(e=>e+1)};(0,l.useEffect)(()=>{let e=new URLSearchParams(window.location.search),t={},r=t=>{let a=e.get(t);return null==a||""===a||isNaN(Number(a))?void 0:Number(a)},l=r("current");void 0!==l&&(t.current=l);let i=r("voltage");void 0!==i&&(t.voltage=i);let n=r("distance");void 0!==n&&(t.distance=n);let c=r("drop");void 0!==c&&(t.voltageDropPercent=c);let s=e.get("material");("copper"===s||"aluminum"===s)&&(t.wireMaterial=s),Object.keys(t).length&&a(e=>({...e,...t}))},[]),(0,l.useEffect)(()=>{m(d(t))},[t]),(0,l.useEffect)(()=>{if(!x.current||0===g||!u)return;let e=setTimeout(()=>{(0,h.j)("calculator_complete",{wire_size:u.noSolution?"none":u.recommendedWireSize,material:t.wireMaterial,circuit_type:t.circuitType,limiting_factor:u.limitingFactor,no_solution:u.noSolution})},800);return()=>clearTimeout(e)},[g,u,t.wireMaterial,t.circuitType]);let y=(e,t)=>{f(),a(a=>({...a,[e]:t}))},j=e=>{f(),a(t=>({...t,...e}))};return(0,r.jsx)("section",{id:"calculator",className:"py-16 bg-gray-50",children:(0,r.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[(0,r.jsxs)("div",{className:"text-center mb-12",children:[(0,r.jsxs)("div",{className:"flex items-center justify-center space-x-3 mb-4",children:[(0,r.jsx)(i.Z,{className:"h-10 w-10 text-primary-600"}),(0,r.jsx)("h2",{className:"text-4xl font-bold text-gray-900",children:"Professional Wire Size Calculator"})]}),(0,r.jsx)("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Calculate proper wire gauge based on NEC standards. Input your electrical parameters to get accurate wire size recommendations for safe installations."})]}),(0,r.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8",children:[(0,r.jsxs)("div",{className:"lg:col-span-2 bg-white rounded-xl shadow-lg p-8",children:[(0,r.jsxs)("h3",{className:"text-2xl font-bold text-gray-900 mb-6 flex items-center space-x-2",children:[(0,r.jsx)(n.Z,{className:"h-6 w-6 text-primary-600"}),(0,r.jsx)("span",{children:"Circuit Parameters"})]}),(0,r.jsxs)("div",{className:"space-y-6",children:[(0,r.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[(0,r.jsxs)("div",{children:[(0,r.jsxs)("label",{className:"calculator-label",children:["Current (Amperes) ",(0,r.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,r.jsx)("input",{type:"number",value:t.current,onChange:e=>y("current",parseFloat(e.target.value)||0),className:"calculator-input",min:"0",step:"0.1",placeholder:"Enter load current"})]}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("label",{className:"calculator-label",children:["Voltage (Volt
41s) ",(0,r.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,r.jsx)("input",{type:"number",value:t.voltage,onChange:e=>y("voltage",parseFloat(e.target.value)||0),className:"calculator-input",min:"0",placeholder:"System voltage"})]})]}),(0,r.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[(0,r.jsxs)("div",{children:[(0,r.jsxs)("label",{className:"calculator-label",children:["One-Way Distance (Feet) ",(0,r.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,r.jsx)("input",{type:"number",value:t.distance,onChange:e=>y("distance",parseFloat(e.target.value)||0),className:"calculator-input",min:"0",step:"0.1",placeholder:"Cable run length"})]}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("label",{className:"calculator-label",children:["Max Voltage Drop (%) ",(0,r.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,r.jsxs)("select",{value:t.voltageDropPercent,onChange:e=>y("voltageDropPercent",parseFloat(e.target.value)),className:"calculator-input",children:[(0,r.jsx)("option",{value:"2",children:"2% (Sensitive Equipment)"}),(0,r.jsx)("option",{value:"3",children:"3% (Standard Branch Circuits)"}),(0,r.jsx)("option",{value:"5",children:"5% (Feeders/Motors)"})]})]})]}),(0,r.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{className:"calculator-label",children:"Wire Material"}),(0,r.jsxs)("select",{value:t.wireMaterial,onChange:e=>y("wireMaterial",e.target.value),className:"calculator-input",children:[(0,r.jsx)("option",{value:"copper",children:"Copper (Recommended)"}),(0,r.jsx)("option",{value:"aluminum",children:"Aluminum"})]})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{className:"calculator-label",children:"Installation Type"}),(0,r.jsxs)("select",{value:t.installationType,onChange:e=>y("installationType",e.target.value),className:"calculator-input",children:[(0,r.jsx)("option",{value:"conduit",children:"In Conduit/Raceway"}),(0,r.jsx)("option",{value:"air",children:"Free Air"}),(0,r.jsx)("option",{value:"buried",children:"Direct Buried"})]})]})]}),(0,r.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{className:"calculator-label",children:"Circuit Type"}),(0,r.jsxs)("select",{value:t.circuitType,onChange:e=>y("circuitType",e.target.value),className:"calculator-input",children:[(0,r.jsx)("option",{value:"ac-single",children:"AC Single Phase"}),(0,r.jsx)("option",{value:"ac-three",children:"AC Three Phase"}),(0,r.jsx)("option",{value:"dc",children:"DC Circuit"})]})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{className:"calculator-label",children:"Termination Temperature (\xb0C)"}),(0,r.jsxs)("select",{value:t.temperature,onChange:e=>y("temperature",parseFloat(e.target.value)),className:"calculator-input",children:[(0,r.jsx)("option",{value:60,children:"60 \xb0C"}),(0,r.jsx)("option",{value:75,children:"75 \xb0C"}),(0,r.jsx)("option",{value:90,children:"90 \xb0C"})]})]})]}),(0,r.jsx)("div",{className:"mt-4",children:(0,r.jsxs)("label",{className:"flex items-center gap-2 text-sm text-gray-700",children:[(0,r.jsx)("input",{type:"checkbox",checked:null!==(e=t.continuous)&&void 0!==e&&e,onChange:e=>y("continuous",e.target.checked)}),"Continuous load (3+ hours) â apply the NEC 125% rule"]})}),(0,r.jsxs)("div",{className:"border-t pt-6",children:[(0,r.jsxs)("h4",{className:"font-semibold text-gray-900 mb-3 flex items-center space-x-2",children:[(0,r.jsx)(c.Z,{className:"h-4 w-4"}),(0,r.jsx)("span",{children:"Quick Presets"})]}),(0,r.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-3",children:p.map(e=>(0,r.jsxs)("button",{onClick:()=>j(e.inputs),className:"text-left p-3 bg-gray-50 rounded-lg hover:bg-primary-50 hover:border-primary-200 border border-gray-200 transition-colors",children:[(0,r.jsx)("div",{className:"font-medium text-sm text-gray-900",children:e.name}),(0,r.jsx)("div",{className:"text-xs text-gray-600 mt-1",children:e.description})]},e.name))})]})]})]}),(0,r.jsxs)("div",{className:"bg-white rounded-xl shadow-lg p-8",children:[(0,r.jsx)("h3",{className:"text-2xl font-bold text-gray-900 mb-6",children:"Calculation Results"}),u&&(0,r.jsxs)("div",{className:"space-y-6",children:[u.noSolution?(0,r.jsxs)("div",{className:"bg-warning-50 border border-warning-200 p-4 rounded-lg",children:[(0,r.jsx)("h4",{className:"font-bold text-warning-900 text-lg mb-2",children:"No standard conductor fits"}),(0,r.jsx)("p",{className:"text-sm text-warning-800 m-0",children:"No conductor (up to 6 parallel set
41s) meets both the ampacity and the voltage-drop limit for these inputs. Increase the allowed voltage drop, shorten the run, or split the load."})]}):(0,r.jsxs)("div",{className:"calculator-result",children:[(0,r.jsx)("h4",{className:"font-bold text-primary-800 text-lg mb-3",children:"Recommended Wire Size"}),(0,r.jsxs)("div",{className:"text-3xl font-bold text-primary-900 mb-2",children:[u.recommendedWireSize," AWG"]}),(0,r.jsxs)("div",{className:"text-sm text-primary-700",children:[t.wireMaterial.charAt(0).toUpperCase()+t.wireMaterial.slice(1)," wire â limited by ",(0,r.jsx)("strong",{children:u.limitingFactor})]})]}),(0,r.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,r.jsxs)("div",{className:"bg-gray-50 p-4 rounded-lg",children:[(0,r.jsx)("div",{className:"text-sm font-semibold text-gray-600",children:"Voltage Drop"}),(0,r.jsxs)("div",{className:"text-lg font-bold text-gray-900",children:[u.actualVoltageDropPercent.toFixed(2),"%"]}),(0,r.jsxs)("div",{className:"text-xs text-gray-500",children:[u.actualVoltageDrop.toFixed(2),"V"]})]}),(0,r.jsxs)("div",{className:"bg-gray-50 p-4 rounded-lg",children:[(0,r.jsx)("div",{className:"text-sm font-semibold text-gray-600",children:"Wire Ampacity"}),(0,r.jsxs)("div",{className:"text-lg font-bold text-gray-900",children:[u.ampacity,"A"]}),(0,r.jsxs)("div",{className:"text-xs text-gray-500",children:["at ",t.temperature," \xb0C column"]})]})]}),(0,r.jsxs)("div",{className:"bg-warning-50 p-4 rounded-lg",children:[(0,r.jsx)("div",{className:"text-sm font-semibold text-warning-800",children:"Recommended Breaker"}),(0,r.jsxs)("div",{className:"text-xl font-bold text-warning-900",children:[u.recommendedBreakerSize,"A"]}),(0,r.jsx)("div",{className:"text-xs text-warning-700",children:"Standard breaker size"})]}),(0,r.jsxs)("div",{className:"text-xs text-gray-600 bg-gray-50 p-3 rounded-lg",children:[(0,r.jsx)(s.Z,{className:"h-4 w-4 inline mr-2"}),u.necReference]}),u.safetyNotes.length>0&&(0,r.jsxs)("div",{className:"safety-warning",children:[(0,r.jsxs)("h4",{className:"font-bold text-danger-800 flex items-center space-x-2 mb-2",children:[(0,r.jsx)(o,{className:"h-5 w-5"}),(0,r.jsx)("span",{children:"Important Safety Notes"})]}),(0,r.jsx)("ul",{className:"space-y-1",children:u.safetyNotes.map((e,t)=>(0,r.jsxs)("li",{className:"text-sm text-danger-700",children:["⢠",e]},t))})]})]})]})]})]})})}},6160:function(e,t,a){"use strict";function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:e,...t})}a.d(t,{j:function(){return r}})},4481:function(e,t,a){"use strict";a.d(t,{CU:function(){return s},KB:function(){return p},T4:function(){return o},Xe:function(){return h},dA:function(){return n},lB:function(){return r},or:function(){return c},q9:function(){return u},xQ:function(){return m}});let r=[{size:"14",cmil:4110,amp:{copper:{60:15,75:20,90:25},aluminum:{60:null,75:null,90:null}},ohmPerKft:{copper:3.07,aluminum:5.06}},{size:"12",cmil:6530,amp:{copper:{60:20,75:25,90:30},aluminum:{60:15,75:20,90:25}},ohmPerKft:{copper:1.93,aluminum:3.18}},{size:"10",cmil:10380,amp:{copper:{60:30,75:35,90:40},aluminum:{60:25,75:30,90:35}},ohmPerKft:{copper:1.21,aluminum:2}},{size:"8",cmil:16510,amp:{copper:{60:40,75:50,90:55},aluminum:{60:35,75:40,90:45}},ohmPerKft:{copper:.764,aluminum:1.26}},{size:"6",cmil:26240,amp:{copper:{60:55,75:65,90:75},aluminum:{60:40,75:50,90:55}},ohmPerKft:{copper:.491,aluminum:.808}},{size:"4",cmil:41740,amp:{copper:{60:70,75:85,90:95},aluminum:{60:55,75:65,90:75}},ohmPerKft:{copper:.308,aluminum:.508}},{size:"3",cmil:52620,amp:{copper:{60:85,75:100,90:110},aluminum:{60:65,75:75,90:85}},ohmPerKft:{copper:.245,aluminum:.403}},{size:"2",cmil:66360,amp:{copper:{60:95,75:115,90:130},aluminum:{60:75,75:90,90:100}},ohmPerKft:{copper:.194,aluminum:.319}},{size:"1",cmil:83690,amp:{copper:{60:110,75:130,90:150},aluminum:{60:85,75:100,90:115}},ohmPerKft:{copper:.154,aluminum:.253}},{size:"1/0",cmil:105600,amp:{copper:{60:125,75:150,90:170},aluminum:{60:100,75:120,90:135}},ohmPerKft:{copper:.122,aluminum:.201}},{size:"2/0",cmil:133100,amp:{copper:{60:145,75:175,90:195},aluminum:{60:115,75:135,90:150}},ohmPerKft:{copper:.0967,aluminum:.159}},{size:"3/0",cmil:167800,amp:{copper:{60:165,75:200,90:225},aluminum:{60:130,75:155,90:175}},ohmPerKft:{copper:.0766,aluminum:.126}},{size:"4/0",cmil:211600,amp:{copper:{60:195,75:230,90:260},aluminum:{60:150,75:180,90:205}},ohmPerKft:{copper:.0608,aluminum:.1}},{size:"250 kcmil",cmil:25e4,amp:{copper:{60:215,75:255,90:290},aluminum:{60:170,75:205,90:230}},ohmPerKft:{copper:.0515,aluminum:.0847}},{size:"300 kcmil",cmil:3e5,amp:{copper:{60:240,75:285,90:320},aluminum:{60:195,75:230,90:260}},ohmPerKft:{copper:.0429,aluminum:.0707}},{size:"350 kcmil",cmil:35e4,amp:{copper:{60:260,75:310,90:350},aluminum:{60:210,75:250,90:280}},ohmPerKft:{copper:.0367,aluminum:.0605}},{size:"400 kcmil",cmil:4e5,amp:{copper:{60:280,75:335,90:380},aluminum:{60:225,75:270,90:305}},ohmPerKft:{copper:.0321,aluminum:.0529}},{size:"500 kcmil",cmil:5e5,amp:{copper:{60:320,75:380,90:430},aluminum:{60:260,75:310,90:350}},ohmPerKft:{copper:.0258,aluminum:.0424}},{size:"600 kcmil",cmil:6e5,amp:{copper:{60:350,75:420,90:475},aluminum:{60:285,75:340,90:385}},ohmPerKft:{copper:.0214,aluminum:.0353}},{size:"700 kcmil",cmil:7e5,amp:{copper:{60:385,75:460,90:520},aluminum:{60:315,75:375,90:425}},ohmPerKft:{copper:.0184,aluminum:.0303}},{size:"750 kcmil",cmil:75e4,amp:{copper:{60:400,75:475,90:535},aluminum:{60:320,75:385,90:435}},ohmPerKft:{copper:.0171,aluminum:.0282}}
41],l={14:{copper:15,aluminum:null},12:{copper:20,aluminum:15},10:{copper:30,aluminum:25}},i=[15,20,25,30,35,40,45,50,60,70,80,90,100,110,125,150,175,200,225,250,300,350,400,450,500,600,700,800,1e3,1200];function n(e,t,a){var r;let i=e.amp[t][a];if(null==i)return null;let n=null===(r=l[e.size])||void 0===r?void 0:r[t];return null!=n?Math.min(i,n):i}function c(e){var t;return null!==(t=i.find(t=>t>=e))&&void 0!==t?t:e}function s(e,t,a){let l=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=l?1.25*e:e;for(let e of r){let r=n(e,t,a);if(null!=r&&r>=i)return{size:e.size,sets:1,ampacity:r,material:t,temp:a,requiredAmps:i}}let c=r.filter(e=>e.cmil>=105600);for(let e=2;e<=6;e++)for(let r of c){let l=r.amp[t][a];if(null!=l&&l*e>=i)return{size:r.size,sets:e,ampacity:l*e,material:t,temp:a,requiredAmps:i}}return null}function o(e,t,a,r,l){return a*e.ohmPerKft[t]*r*("ac-three"===l?Math.sqrt(3):2)/1e3}function u(e){let{amps:t,volts:a,feet:l,material:i,temp:c,phase:s,maxDropPct:u,continuous:m=!1}=e,d=m?1.25*t:t,p=a*u/100,h=r.find(e=>{let t=n(e,i,c);return null!=t&&t>=d}),x=r.find(e=>o(e,i,t,l,s)<=p);if(!h&&!x)return null;let g=x?h?x.cmil>=h.cmil?x:h:x:h,v=o(g,i,t,l,s);return{size:g.size,dropVolts:v,dropPct:v/a*100,ampacityLimited:g===h&&(!x||h.cmil>=x.cmil),vdLimited:!!x&&g===x&&(!h||x.cmil>h.cmil)}}function m(e){return r.find(t=>t.size===e)}let d=[[10,1.29,1.2,1.15],[15,1.22,1.15,1.12],[20,1.15,1.11,1.08],[25,1.08,1.05,1.04],[30,1,1,1],[35,.91,.94,.96],[40,.82,.88,.91],[45,.71,.82,.87],[50,.58,.75,.82],[55,.41,.67,.76],[60,null,.58,.71],[65,null,.47,.65],[70,null,.33,.58],[75,null,null,.5],[80,null,null,.41]];function p(e,t){var a;return(null!==(a=d.find(t=>{let[a]=t;return e<=a}))&&void 0!==a?a:d[d.length-1])[60===t?1:75===t?2:3]}function h(e){return e<=3?1:e<=6?.8:e<=9?.7:e<=20?.5:e<=30?.45:e<=40?.4:.35}}},function(e){e.O(0,[231,2971,7023,1744],function(){return e(e.s=100)}),_N_E=e.O()}]);
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.