1import{a as A}from"./chunk-RXRQPPWA.js";import{a as f}from"./chunk-QHZ2UFTQ.js";import"./chunk-5NLF37MD.js";import"./chunk-VRKJBTE4.js";import"./chunk-ZT7BF6R4.js";import"./chunk-GNOMKHH2.js";import"./chunk-MIYW5325.js";import"./chunk-FJFH4XCE.js";import"./chunk-T52FVTMS.js";import"./chunk-4I6Y24VE.js";import"./chunk-VHBEXHUY.js";import"./chunk-IXNXTOPZ.js";import"./chunk-GGY6QDTV.js";import"./chunk-3WQEZLC2.js";import"./chunk-DB7AUQFG.js";import"./chunk-GLFTJW2T.js";import"./chunk-BHLMCFFK.js";import"./chunk-NP4PC25X.js";import"./chunk-D6IOGJMO.js";import"./chunk-MKJMCBBH.js";import"./chunk-KKDZHWJ2.js";import"./chunk-RS4X3CMD.js";import"./chunk-7DHSGR33.js";import{i as T}from"./chunk-4KDBBJRG.js";import"./chunk-3SEIXLDK.js";import{c as V,d as D}from"./chunk-UIEAU6S2.js";import{x as I}from"./chunk-H3Y6JSWE.js";import{Hb as u,Pb as C,Qb as M,Sb as e,Tb as t,Ub as n,Uc as m,Vc as p,bc as E,db as o,gc as g,ic as S,mb as k,mc as O,nc as P,oa as y,oc as B,pa as b,qa as d,ra as h,sb as v,wc as i,xc as c,yc as w}from"./chunk-AHLRJ2EW.js";import"./chunk-AMJ4GB2S.js";import"./chunk-OXDKANHF.js";import"./chunk-WGJEEJGF.js";import"./chunk-6ACFICIG.js";import"./chunk-K7BHMZHH.js";import"./chunk-FE7444LI.js";import"./chunk-XUHYVR5R.js";var q=(l,x)=>x.question;function L(l,x){if(l&1){let r=E();e(0,"button",45),g("click",function(){y(r);let a=S();return b(a.onLockedTap())}),e(1,"span",46)(2,"span",47),i(3),t(),e(4,"span",48),i(5),t()(),d(),e(6,"svg",49),n(7,"path",50),t()()}if(l&2){let r=x.$implicit;o(3),c(r.question),o(2),c(r.system)}}var H=(()=>{class l{constructor(r){this.router=r,this.openQuestion={question:"Where does each wire on the 7-pin trailer connector go?",system:"Towing / Lighting"},this.lockedQuestions=[{question:"Trace the fuel pump power feed from the relay",system:"Fuel"},{question:"Which wire is the upstream O2 sensor signal?",system:"Engine Management"},{question:"Show the headlight switch to BCM circuit",system:"Body"},{question:"Brake light circuit \u2014 switch to bulbs",system:"Brakes"},{question:"Radio harness pinout for an aftermarket head unit",system:"Audio"}]}onLockedTap(){this.upsellBar?.pulse()}goBack(){this.router.navigate(["/v2/diagrams"])}static{this.\u0275fac=function(s){return new(s||l)(k(T))}}static{this.\u0275cmp=v({type:l,selectors:[["app-v2-ai-wiring-demo"]],viewQuery:function(s,a){if(s&1&&O(f,5),s&2){let _;P(_=B())&&(a.upsellBar=_.first)}},decls:69,vars:18,consts:[[1,"demo-page","demo-has-upsell"],[1,"tw-flex","tw-items-center","tw-gap-3","tw-mb-4","tw-px-1"],["type","button",1,"tw-w-9","tw-h-9","tw-rounded-xl","tw-bg-mech-surface-2","tw-flex","tw-items-center","tw-justify-center","tw-border-none","tw-cursor-pointer","hover:tw-bg-mech-surface","tw-transition-colors",3,"click"],["fill","none","stroke","currentColor","viewBox","0 0 24 24","stroke-width","2",1,"tw-w-4","tw-h-4","tw-text-mech-text-secondary"],["stroke-linecap","round","stroke-linejoin","round","d","M15.75 19.5L8.25 12l7.5-7.5"],[1,"tw-flex-1","tw-min-w-0"],[1,"tw-text-xl","md:tw-text-2xl","tw-font-[800]","tw-text-mech-text","tw-tracking-tight","tw-truncate"],[1,"tw-text-xs","tw-text-mech-text-muted","tw-mt-0.5","tw-block"],[1,"tw-flex","tw-justify-center","tw-mb-5"],[1,"aiw-card","tw-bg-mech-surface","tw-border-2","tw-border-mech-border","tw-rounded-[20px]","tw-overflow-hidden","tw-mb-5"],[1,"aiw-card__head"],[1,"tw-min-w-0"],[1,"aiw-card__title"],[1,"aiw-card__system"],[1,"aiw-card__open"],[1,"aiw-sheet"],["viewBox","0 0 440 300","role","img","preserveAspectRatio","xMidYMid meet"],["x","30","y","60","width","90","height","190","rx","8",1,"aiw-sheet__component"],["x","75","y","42",1,"aiw-sheet__comp-lbl"],["x","75","y","56",1,"aiw-sheet__comp-sub"],["x","330","y","60","width","80","height","190","rx","8",1,"aiw-sheet__component"],["x","370","y","42",1,"aiw-sheet__comp-lbl"],["x","370","y","56",1,"aiw-sheet__comp-sub"],["x1","120","y1","80","x2","330","y2","80",1,"w-ground"],["x","225","y","74",1,"aiw-sheet__wire-lbl"],["x1","120","y1","106","x2","330","y2","106",1,"w-brakes"],["x","225","y","100",1,"aiw-sheet__wire-lbl"],["x1","120","y1","132","x2","330","y2","132",1,"w-tail"],["x","225","y","126",1,"aiw-sheet__wire-lbl"],["x1","120","y1","158","x2","330","y2","158",1,"w-battery"],["x","225","y","152",1,"aiw-sheet__wire-lbl"],["x1","120","y1","184","x2","330","y2","184",1,"w-left"],["x","225","y","178",1,"aiw-sheet__wire-lbl"],["x1","120","y1","210","x2","330","y2","210",1,"w-right"],["x","225","y","204",1,"aiw-sheet__wire-lbl"],["x1","120","y1","236","x2","330","y2","236",1,"w-reverse"],["x","225","y","230",1,"aiw-sheet__wire-lbl"],["x1","75","y1","250","x2","75","y2","270",1,"aiw-sheet__line"],["x1","61","y1","270","x2","89","y2","270",1,"aiw-sheet__line"],["x1","66","y1","276","x2","84","y2","276",1,"aiw-sheet__line"],["x1","71","y1","282","x2","79","y2","282",1,"aiw-sheet__line"],[1,"tw-space-y-2.5"],["type","button",1,"aiw-lock-row"],[1,"tw-text-[10px]","tw-text-mech-text-faint","tw-text-center","tw-mt-6","tw-px-4","tw-leading-relaxed"],["feature","ai-wiring-diagrams","requiredTier","MECHANIC"],["type","button",1,"aiw-lock-row",3,"click"],[1,"tw-min-w-0","tw-text-left"],[1,"aiw-lock-row__title"],[1,"aiw-lock-row__system"],["aria-hidden","true","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","1.5",1,"aiw-lock-row__lock"],["stroke-linecap","round","stroke-linejoin","round","d","M16.5 10.5V6.75a4.5 4.5 0 10-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 002.25-2.25v-6.75a2.25 2.25 0 00-2.25-2.25H6.75a2.25 2.25 0 00-2.25 2.25v6.75a2.25 2.25 0 002.25 2.25z"]],template:function(s,a){s&1&&(e(0,"div",0)(1,"div",1)(2,"button",2),m(3,"translate"),g("click",function(){return a.goBack()}),d(),e(4,"svg",3),n(5,"path",4),t()(),h(),e(6,"div",5)(7,"h1",6),i(8),m(9,"translate"),t(),e(10,"span",7),i(11),m(12,"translate"),t()()(),e(13,"div",8),n(14,"app-demo-sample-badge"),t(),e(15,"div",9)(16,"div",10)(17,"div",11)(18,"h3",12),i(19),t(),e(20,"span",13),i(21),t()(),e(22,"span",14),i(23),m(24,"translate"),t()(),e(25,"div",15),d(),e(26,"svg",16),n(27,"rect",17),e(28,"text",18),i(29," 7-Pin "),t(),e(30,"text",19),i(31," Trailer Connector "),t(),n(32,"rect",20),e(33,"text",21),i(34," Vehicle "),t(),e(35,"text",22),i(36," Harness "),t(),n(37,"line",23),e(38,"text",24),i(39," WH \xB7 Ground "),t(),n(40,"line",25),e(41,"text",26),i(42," BL \xB7 Electric Brakes "),t(),n(43,"line",27),e(44,"text",28),i(45," BN \xB7 Tail / Running Lamps "),t(),n(46,"line",29),e(47,"text",30),i(48," BK \xB7 12V Battery / Aux "),t(),n(49,"line",31),e(50,"text",32),i(51," YE \xB7 Left Stop / Turn "),t(),n(52,"line",33),e(53,"text",34),i(54," GN \xB7 Right Stop / Turn "),t(),n(55,"line",35),e(56,"text",36),i(57," PU \xB7 Reverse Lamps "),t(),n(58,"line",37)(59,"line",38)(60,"line",39)(61,"line",40),t()()(),h(),e(62,"div",41),C(63,L,8,2,"button",42,q),t(),e(65,"p",43),i(66),m(67,"translate"),t(),n(68,"app-demo-upsell-bar",44),t()),s&2&&(o(2),u("aria-label",p(3,8,"V2.COMMON.BACK")),o(6),w(" ",p(9,10,"V2.DEMO.AI_WIRING.TITLE")," "),o(3),w(" ",p(12,12,"V2.DEMO.AI_WIRING.SUBTITLE")," "),o(8),c(a.openQuestion.question),o(2),c(a.openQuestion.system),o(2),c(p(24,14,"V2.DEMO.AI_WIRING.PREVIEW")),o(3),u("aria-label",a.openQuestion.question),o(37),M(a.lockedQuestions),o(3),w(" ",p(67,16,"V2.DEMO.DISCLAIMER")," "))},dependencies:[I,D,A,f,V],styles:['@charset "UTF-8";[_nghost-%COMP%]{display:block;font-family:Inter,ui-sans-serif,system-ui,sans-serif}.demo-page.demo-has-upsell[_ngcontent-%COMP%]{padding-bottom:72px}.aiw-card__head[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px}.aiw-card__title[_ngcontent-%COMP%]{font-size:14px;font-weight:700;line-height:1.3;color:var(--color-text)}.aiw-card__system[_ngcontent-%COMP%]{font-size:11px;color:var(--color-text-secondary)}.aiw-card__open[_ngcontent-%COMP%]{display:inline-flex;align-items:center;padding:2px 10px;border-radius:999px;background:color-mix(in srgb,var(--color-success) 14%,transparent);color:var(--color-success-text);font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap;flex-shrink:0}.aiw-sheet[_ngcontent-%COMP%]{background:#fff;border-top:1px solid var(--color-border);padding:14px 12px}.aiw-sheet[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{display:block;width:100%;height:auto;max-width:440px;margin:0 auto}.aiw-sheet__line[_ngcontent-%COMP%]{stroke:#334155;stroke-width:1.5}
1.aiw-sheet__component[_ngcontent-%COMP%]{fill:#f1f5f9;stroke:#334155;stroke-width:1.5}.aiw-sheet__comp-lbl[_ngcontent-%COMP%], .aiw-sheet__comp-sub[_ngcontent-%COMP%], .aiw-sheet__wire-lbl[_ngcontent-%COMP%]{fill:#1e293b;text-anchor:middle;font-family:Inter,ui-sans-serif,system-ui,sans-serif}.aiw-sheet__comp-lbl[_ngcontent-%COMP%]{font-size:14px;font-weight:800}.aiw-sheet__comp-sub[_ngcontent-%COMP%]{font-size:10px;fill:#64748b}.aiw-sheet__wire-lbl[_ngcontent-%COMP%]{font-size:9px;font-weight:600;fill:#475569}.w-ground[_ngcontent-%COMP%]{stroke:#d1d5db;stroke-width:2.5}.w-brakes[_ngcontent-%COMP%]{stroke:#2563eb;stroke-width:2.5}.w-tail[_ngcontent-%COMP%]{stroke:#92400e;stroke-width:2.5}.w-battery[_ngcontent-%COMP%]{stroke:#111827;stroke-width:2.5}.w-left[_ngcontent-%COMP%]{stroke:#eab308;stroke-width:2.5}.w-right[_ngcontent-%COMP%]{stroke:#16a34a;stroke-width:2.5}.w-reverse[_ngcontent-%COMP%]{stroke:#9333ea;stroke-width:2.5}.aiw-lock-row[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:13px 16px;border-radius:16px;background:var(--color-surface);border:1px solid var(--color-border);cursor:pointer;opacity:.92;transition:border-color .15s ease}.aiw-lock-row[_ngcontent-%COMP%]:hover{border-color:color-mix(in srgb,var(--color-primary) 45%,transparent)}.aiw-lock-row__title[_ngcontent-%COMP%]{display:block;font-size:13px;font-weight:600;color:var(--color-text)}.aiw-lock-row__system[_ngcontent-%COMP%]{display:block;font-size:11px;color:var(--color-text-muted)}.aiw-lock-row__lock[_ngcontent-%COMP%]{width:18px;height:18px;flex-shrink:0;color:var(--color-primary)}'],changeDetection:0})}}return l})();export{H as V2AiWiringDemoComponent};
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.