astra/am3352-sbc

A 4-layer AM3352 single-board computer with 128‑MiB DDR3, PMIC power regulation, USB‑C 5‑V PD input, dual USB host ports, HDMI output with ESD protection, microSD/UART/JTAG interfaces, addressable RGB indicators, and a PWM-driven buzzer.

Version
0.1.19
License
unset
Stars
0

dist/viewer-part-10.txt

:.23509}],color:"primary",fill:!1,strokeWidth:.012}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.42,anchor:"middle_bottom"},bottom1:{type:"text",text:"{VAL}",x:0,y:-.42,anchor:"middle_top"}},refblocks:{left1:{x:-.3,y:0},right1:{x:.3,y:0}},bounds:{minX:-.3,maxX:.3,minY:-.55,maxY:.55,width:.6,height:1.1,centerX:0,centerY:0},circles:{"viewbox-padding-min":{type:"circle",x:-.3,y:-.55,radius:0,fill:!1,color:"transparent"},"viewbox-padding-max":{type:"circle",x:.3,y:.55,radius:0,fill:!1,color:"transparent"}}},tir=Ln(cIe).rotateRightFacingSymbol("up").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_left",{x:.7,y:.3}).changeTextAnchor("{VAL}","middle_left",{x:-.12,y:-.3}).build(),nir=Ln(cIe).rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),oir=Ln(cIe).rotateRightFacingSymbol("left").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.78}).changeTextAnchor("{VAL}","middle_top",{x:0,y:-.78}).build(),iir=Ln(cIe).rotateRightFacingSymbol("down").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_left",{x:-.12,y:.3}).changeTextAnchor("{VAL}","middle_left",{x:.72,y:-.3}).build(),rir=Ln(aIe).rotateRightFacingSymbol("right").changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").build(),sir={...rir,size:{width:.6,height:.65}},{paths:air,texts:$mr,bounds:lIe,refblocks:zCn,circles:Air}=aIe,cir=Ln({primitives:[...Object.values(air),...Object.values(Air),{type:"text",text:"{REF}",x:.2,y:-.095},{type:"text",text:"{VAL}",x:-.2,y:-.095}],ports:[{...zCn.left1,labels:["1"]},{...zCn.right1,labels:["2"]}],size:{width:lIe.width,height:lIe.height},center:{x:lIe.centerX,y:lIe.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("up").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build(),lir={...cir,size:{width:.9,height:.6}},fK={paths:{path11:{type:"path",points:[{x:-.54,y:.03},{x:-.3,y:.03}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:.03},{x:.54,y:.03}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.29,y:.29},{x:.29,y:-.23}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.37},bottom1:{type:"text",text:"{VAL}",x:-.01,y:-.37}},refblocks:{left1:{x:-.54,y:.03},right1:{x:.54,y:.03}},bounds:{minX:-.57,maxX:.57,minY:-.37,maxY:.37,width:1.14,height:.74,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.04,radius:.29,color:"primary",fill:!1}}},{paths:uir,texts:qmr,bounds:uIe,refblocks:JCn,circles:gir}=fK,dir=Ln({primitives:[...Object.values(uir),...Object.values(gir),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...JCn.left1,labels:["1"]},{...JCn.right1,labels:["2"]}],size:{width:uIe.width,height:uIe.height},center:{x:uIe.centerX,y:uIe.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),hir=Ln(fK).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),{paths:pir,texts:Xmr,bounds:gIe,refblocks:WCn,circles:mir}=fK,_ir=Ln({primitives:[...Object.values(pir),...Object.values(mir),{type:"text",text:"{REF}",x:-0,y:-.2894553499999995},{type:"text",text:"{VAL}",x:0,y:.3894553499999995}],ports:[{...WCn.left1,labels:["1"]},{...WCn.right1,labels:["2"]}],size:{width:gIe.width,height:gIe.height},center:{x:gIe.centerX,y:gIe.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),fir=Ln(fK).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build(),{paths:Iir,texts:Zmr,bounds:dIe,refblocks:jCn,circles:Cir}=fK,yir=Ln({primitives:[...Object.values(Iir),...Object.values(Cir),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...jCn.left1,labels:["1"]},{...jCn.right1,labels:["2"]}],size:{width:dIe.width,height:dIe.height},center:{x:dIe.centerX,y:dIe.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),{paths:xir,texts:e_r,bounds:hIe,refblocks:$Cn,circles:Eir}=fK,Bir=Ln({primitives:[...Object.values(xir),...Object.values(Eir),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...$Cn.left1,labels:["1"]},{...$Cn.right1,labels:["2"]}],size:{width:hIe.width,height:hIe.height},center:{x:hIe.centerX,y:hIe.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),pIe={paths:{path27:{type:"path",points:[{x:.54,y:-.01},{x:.13,y:-.01}],color:"primary",fill:!1},path29:{type:"path",points:[{x:.13,y:.25},{x:.13,y:-.27}],color:"primary",fill:!1},"path29-2":{type:"path",points:[{x:.07,y:.25},{x:.07,y:-.28}],color:"primary",fill:!1},path30:{type:"path",points:[{x:-.14,y:.25},{x:-.14,y:-.27}],color:"primary",fill:!1},"path29-5":{type:"path",points:[{x:-.08,y:.26},{x:-.08,y:-.27}],color:"primary",fill:!1},"path29-2-7":{type:"path",points:[{x:.07,y:.26},{x:-.08,y:.26}],color:"primary",fill:!1},"path29-2-7-6":{type:"path",points:[{x:.07,y:-.28},{x:-.08,y:-.28}],color:"primary",fill:!1},path43:{type:"path",points:[{x:-.21,y:.32},{x:.2,y:.32}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:0,y:.71},{x:0,y:.33},{x:0,y:.32}],color:"primary",fill:!1},"path43-8":{type:"path",points:[{x:-.21,y:.32},{x:-.21,y:.25}],color:"primary",fill:!1},"path43-8-8":{type:"path",points:[{x:.2,y:.32},{x:.2,y:.25}],color:"primary",fill:!1},"path43-9":{type:"path",points:[{x:.19,y:-.35},{x:-.22,y:-.35}],color:"primary",fill:!1},"path44-0-5":{type:"path",points:[{x:-.02,y:-.71},{x:-.02,y:-.36},{x:-.02,y:-.35}],color:"primary",fill:!1},"path43-8-1":{type:"path",points:[{x:.19,y:-.35},{x:.19,y:-.28}],color:"primary",fill:!1},"path43-8-8-9":{type:"path",points:[{x:-.22,y:-.35},{x:-.22,y:-.28}],color:"primary",fill:!1},path28:{type:"path",points:[{x:-.14,y:-.01},{x:-.54,y:-.01}],color:"primary",fill:!1}},texts:{left1:{type:"text",text:"{REF}",x:.53,y:.28},right1:{type:"text",text:"{VAL}",x:.54,y:-.28}},refblocks:{top1:{x:0,y:.71},bottom1:{x:-.02,y:-.71},left1:{x:-.54,y:-.01},right1:{x:.54,y:-.01}},bounds:{minX:-.57,maxX:.57,minY:-.74,maxY:.74,width:1.14,height:1.48,centerX:0,centerY:0},circles:{}},{paths:bir,texts:t_r,bounds:mIe,refblocks:_Ie,circles:Sir}=pIe,Qir=Ln({primitives:[...Object.values(bir),...Object.values(Sir),{type:"text",text:"{REF}",x:-.4,y:.4094554499999995},{type:"text",text:"{VAL}",x:.4,y:.4094553499999995}],ports:[{..._Ie.left1,labels:["1"]},{..._Ie.right1,labels:["3"]},{..._Ie.bottom1,labels:["2"]},{..._Ie.top1,labels:["4"]}],size:{width:mIe.width,height:mIe.height},center:{x:mIe.centerX,y:mIe.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build(),vir=Ln(pIe).labelPort("top1",["2","gnd1"]).labelPort("bottom1",["4","gnd2"]).labelPort("left1",["3"]).labelPort("right1",["1"]).changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build(),wir=Ln(pIe).labelPort("top1",["4","gnd1"]).labelPort("bottom1",["2","gnd2"]).labelPort("left1",["1"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build(),{paths:Pir,texts:n_r,bounds:fIe,refblocks:IIe,circles:Mir}=pIe,Dir=Ln({primitives:[...Object.values(Pir),...Object.values(Mir),{type:"text",text:"{VAL}",x:-.4,y:-.4094554499999995},{type:"text",text:"{REF}",x:.4,y:-.4094553499999995}],ports:[{...IIe.left1,labels:["1"]},{...IIe.right1,labels:["3"]},{...IIe.bottom1,labels:["2"]},{...IIe.top1,labels:["4"]}],size:{width:fIe.width,height:fIe.height},center:{x:fIe.centerX,y:fIe.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build(),CIe={paths:{path27:{type:"path",points:[{x:.55,y:-.01},{x:.13,y:-.01}],color:"primary",fill:!1},path28:{type:"path",points:[{x:-.14,y:-.01},{x:-.55,y:-.01}],color:"primary",fill:!1},path29:{type:"path",points:[{x:.13,y:-.28},{x:.13,y:.25}],color:"primary",fill:!1},"path29-2":{type:"path",points:[{x:.07,y:-.28},{x:.07,y:.25}],color:"primary",fill:!1},path30:{type:"path",points:[{x:-.14,y:-.28},{x:-.14,y:.25}],color:"primary",fill:!1},"path29-5":{type:"path",points:[{x:-.08,y:-.28},{x:-.08,y:.25}],color:"primary",fill:!1},"path29-2-7":{type:"path",points:[{x:.07,y:-.28},{x:-.08,y:-.28}],color:"primary",fill:!1},"path29-2-7-6":{type:"path",points:[{x:.07,y:.26},{x:-.08,y:.26}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{VAL}",x:-.01,y:-.42},bottom1:{type:"text",text:"{REF}",x:0,y:.43}},refblocks:{left1:{x:-.55,y:-.01},right1:{x:.55,y:-.01}},bounds:{minX:-.58,maxX:.58,minY:-.52,maxY:.43,width:1.16,height:1,centerX:0,centerY:-.04},circles:{}},{paths:Nir,texts:o_r,bounds:yIe,refblocks:qCn,circles:Rir}=CIe,Tir=Ln({primitives:[...Object.values(Nir),...Object.values(Rir),{type:"text",text:"{REF}",x:-.3,y:.3094553499999995},{type:"text",text:"{VAL}",x:.3,y:.3094553499999995}],ports:[{...qCn.left1,labels:["1"]},{...qCn.right1,labels:["2"]}],size:{width:yIe.width,height:yIe.height},center:{x:yIe.centerX,y:yIe.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("down").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build(),kir=Ln(CIe).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").build(),Fir=Ln(CIe).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),{paths:Lir,texts:i_r,bounds:xIe,refblocks:XCn,circles:Hir}=CIe,Oir=Ln({primitives:[...Object.values(Lir),...Object.values(Hir),{type:"text",text:"{REF}",x:.3,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.3094553499999995}],ports:[{...XCn.left1,labels:["1"]},{...XCn.right1,labels:["2"]}],size:{width:xIe.width,height:xIe.height},center:{x:xIe.centerX,y:xIe.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("up").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build(),ite=.6,CZe=.3,Gir=[{type:"path",points:[{x:-ite,y:0},{x:-CZe,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:CZe,y:0},{x:ite,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:CZe,color:"primary",fill:!1},{type:"path",points:[{x:-.1,y:0},{x:.15,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:.08}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:-.08}],color:"primary",fill:!1}],Yir=Ln({primitives:[...Gir,{type:"text",text:"{REF}",x:-.2,y:.35},{type:"text",text:"{VAL}",x:.2,y:.35}],ports:[{x:-ite,y:0,labels:["1"]},{x:ite,y:0,labels:["2"]}],center:{x:0,y:0},size:{width:ite*2,height:.9}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),rte=.6,yZe=.3,Uir=[{type:"path",points:[{x:-rte,y:0},{x:-yZe,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:yZe,y:0},{x:rte,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:yZe,color:"primary",fill:!1},{type:"path",points:[{x:-.1,y:0},{x:.15,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:.08}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:-.08}],color:"primary",fill:!1}],Kir=Ln({primitives:[...Uir,{type:"text",text:"{REF}",x:0,y:-.4},{type:"text",text:"{VAL}",x:0,y:.4}],ports:[{x:-rte,y:0,labels:["1"]},{x:rte,y:0,labels:["2"]}],center:{x:0,y:0},size:{width:rte*2,height:.9}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),ste=.6,xZe=.3,Vir=[{type:"path",points:[{x:-ste,y:0},{x:-xZe,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:xZe,y:0},{x:ste,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:xZe,color:"primary",fill:!1},{type:"path",points:[{x:-.1,y:0},{x:.15,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:.08}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:-.08}],color:"primary",fill:!1}],zir=Ln({primitives:[...Vir,{type:"text",text:"{REF}",x:0,y:.4},{type:"text",text:"{VAL}",x:0,y:-.4}],ports:[{x:-ste,y:0,labels:["1"]},{x:ste,y:0,labels:["2"]}],center:{x:0,y:0},size:{width:ste*2,height:.9}}).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),ate=.6,EZe=.3,Jir=[{type:"path",points:[{x:-ate,y:0},{x:-EZe,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:EZe,y:0},{x:ate,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:EZe,color:"primary",fill:!1},{type:"path",points:[{x:-.1,y:0},{x:.15,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:.08}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:-.08}],color:"primary",fill:!1}],Wir=Ln({primitives:[...Jir,{type:"text",text:"{REF}",x:.2,y:-.35},{type:"text",text:"{VAL}",x:-.2,y:-.35}],ports:[{x:-ate,y:0,labels:["1"]},{x:ate,y:0,labels:["2"]}],center:{x:0,y:0},size:{width:ate*2,height:.9}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),IK={paths:{path11:{type:"path",points:[{x:1.99,y:-1.64},{x:2.1,y:-1.64}],color:"primary",fill:!1},"path40-0":{type:"path",points:[{x:2.1,y:-1.48},{x:2.1,y:-1.8}],color:"primary",fill:!1},"path40-0-5":{type:"path",points:[{x:2.22,y:-1.5},{x:2.11,y:-1.58}],color:"primary",fill:!1},"path40-0-5-0":{type:"path",points:[{x:2.23,y:-1.78},{x:2.11,y:-1.7}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:2.23,y:-1.49},{x:2.23,y:-1.14}],color:"primary",fill:!1},"path12-1-5-3":{type:"path",points:[{x:2.23,y:-1.97},{x:2.23,y:-1.79}],color:"primary",fill:!1},"arrow-2":{type:"path",points:[{x:2.17,y:-1.7},{x:2.13,y:-1.76},{x:2.19,y:-1.76},{x:2.17,y:-1.7}],color:"primary",fill:!0},path1:{type:"path",points:[{x:1.6,y:-1.5},{x:1.86,y:-1.5}],color:"primary",fill:!1},path2:{type:"path",points:[{x:1.87,y:-1.34},{x:1.87,y:-1.66}],color:"primary",fill:!1},path3:{type:"path",points:[{x:1.99,y:-1.36},{x:1.87,y:-1.44}],color:"primary",fill:!1},path4:{type:"path",points:[{x:1.99,y:-1.64},{x:1.88,y:-1.56}],color:"primary",fill:!1},"arrow-1":{type:"path",points:[{x:1.94,y:-1.56},{x:1.89,y:-1.62},{x:1.96,y:-1.62},{x:1.94,y:-1.56}],color:"primary",fill:!0},path9:{type:"path",points:[{x:1.99,y:-1.35},{x:2.23,y:-1.36}],color:"primary",fill:!1}},texts:{bottom1:{type:"text",text:"{VAL}",x:1.88,y:-1.94},right1:{type:"text",text:"{REF}",x:1.88,y:-1.14}},refblocks:{right1:{x:2.23,y:-1.97},right2:{x:1.6,y:-1.5},right3:{x:2.23,y:-1.14}},bounds:{minX:1.58,maxX:2.35,minY:-1.98,maxY:-1.12,width:.77,height:.86,centerX:1.96,centerY:-1.55},circles:{"path1-0":{type:"circle",x:2.05,y:-1.54,radius:.3,color:"primary",fill:!1}}},jir=Ln(IK).rotateRightFacingSymbol("down").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_left",{x:.8,y:-.15}).changeTextAnchor("{REF}","middle_left",{x:0,y:.15}).build(),$ir=Ln(IK).rotateRightFacingSymbol("right").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_right").changeTextAnchor("{REF}","middle_right").build(),qir=Ln(IK).rotateRightFacingSymbol("left").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_left",{x:0,y:-.8}).changeTextAnchor("{REF}","middle_left",{x:0,y:.8}).build(),Xir=Ln(IK).rotateRightFacingSymbol("right").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_right").changeTextAnchor("{REF}","middle_right").build(),Zir=Ln(IK).rotateRightFacingSymbol("up").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_left",{x:0,y:-.15}).changeTextAnchor("{REF}","middle_left",{x:.8,y:.15}).build(),err=Ln(IK).rotateRightFacingSymbol("up").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_left",{x:0,y:-.15}).changeTextAnchor("{REF}","middle_left",{x:.8,y:.15}).build(),trr={paths:{path11:{type:"path",points:[{x:-.54,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.54,y:0}],color:"primary",fill:!1}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:0,radius:.29,color:"primary",fill:!1}}},{paths:ZCn,bounds:EIe,refblocks:eyn,circles:nrr}=trr,Ate=Gl({primitives:[ZCn.path11,ZCn.path12,{type:"path",points:[{x:-.12,y:.14},{x:.12,y:.14}],color:"primary",fill:!1},...Object.values(nrr),{type:"text",text:"{REF}",x:0,y:.3594553499999995,anchor:"middle_bottom"},{type:"text",text:"{VAL}",x:0,y:-.35,anchor:"middle_top"},{type:"path",points:[{x:-.095,y:-.16},{x:0,y:.09}],color:"primary",fill:!1},{type:"path",points:[{x:0,y:.09},{x:.095,y:-.16}],color:"primary",fill:!1},{type:"path",points:[{x:-.048,y:-.045},{x:.048,y:-.045}],color:"primary",fill:!1}],ports:[{...eyn.left1,labels:["1"]},{...eyn.right1,labels:["2"]}],size:{width:EIe.width,height:EIe.height},center:{x:EIe.centerX,y:EIe.centerY}}),BZe=structuredClone(Ate);BZe.primitives=BZe.primitives.map(t=>t.type!=="text"?t:t.text==="{REF}"?{...t,x:-.16,y:.3594553499999995,anchor:"middle_bottom"}:t.text==="{VAL}"?{...t,x:.16,y:.35,anchor:"middle_bottom"}:t);var tyn=nte(BZe,{newOrientation:"down"}),orr=pK(Ate),irr=Ate,bZe=structuredClone(Ate);bZe.primitives=bZe.primitives.map(t=>t.type!=="text"?t:t.text==="{REF}"?{...t,x:.16,y:-.3594553499999995,anchor:"middle_top"}:t.text==="{VAL}"?{...t,x:-.16,y:-.35,anchor:"middle_top"}:t);var rrr=nte(bZe,{newOrientation:"up"}),CK={paths:{path11:{type:"path",points:[{x:-.54,y:.03},{x:-.3,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:.04},{x:.54,y:.04}],color:"primary",fill:!1},"path11-5-5":{type:"path",points:[{x:.1,y:.13},{x:0,y:-.06},{x:-.11,y:.13}],color:"primary",fill:!1},path2:{type:"path",points:[{x:-.12,y:-.14},{x:.12,y:-.14}],color:"primary",fill:!1}},refblocks:{left1:{x:-.54,y:.03},right1:{x:.54,y:.04}},bounds:{width:1.14,height:.79,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.04,radius:.29,color:"primary",fill:!1}}},{paths:srr,bounds:BIe,refblocks:nyn,circles:arr}=CK,Arr=Ln({primitives:[...Object.values(srr),...Object.values(arr),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...nyn.left1,labels:["1"]},{...nyn.right1,labels:["2"]}],size:{width:BIe.width,height:BIe.height},center:{x:BIe.centerX,y:BIe.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),{paths:crr,bounds:bIe,refblocks:oyn,circles:lrr}=CK,urr=Ln({primitives:[...Object.values(crr),...Object.values(lrr),{type:"text",text:"{REF}",x:-0,y:.3894553499999995},{type:"text",text:"{VAL}",x:0,y:-.3294553499999995}],ports:[{...oyn.left1,labels:["1"]},{...oyn.right1,labels:["2"]}],size:{width:bIe.width,height:bIe.height},center:{x:bIe.centerX,y:bIe.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),{paths:grr,bounds:SIe,refblocks:iyn,circles:drr}=CK,hrr=Ln({primitives:[...Object.values(grr),...Object.values(drr),{type:"text",text:"{REF}",x:-0,y:-.3294553499999995},{type:"text",text:"{VAL}",x:0,y:.4294553499999995}],ports:[{...iyn.left1,labels:["1"]},{...iyn.right1,labels:["2"]}],size:{width:SIe.width,height:SIe.height},center:{x:SIe.centerX,y:SIe.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),{paths:prr,bounds:QIe,refblocks:ryn,circles:mrr}=CK,_rr=Ln({primitives:[...Object.values(prr),...Object.values(mrr),{type:"text",text:"{REF}",x:-0,y:.3894553499999995},{type:"text",text:"{VAL}",x:0,y:-.3294553499999995}],ports:[{...ryn.left1,labels:["1"]},{...ryn.right1,labels:["2"]}],size:{width:QIe.width,height:QIe.height},center:{x:QIe.centerX,y:QIe.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),{paths:frr,bounds:vIe,refblocks:syn,circles:Irr}=CK,Crr=Ln({primitives:[...Object.values(frr),...Object.values(Irr),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...syn.left1,labels:["1"]},{...syn.right1,labels:["2"]}],size:{width:vIe.width,height:vIe.height},center:{x:vIe.centerX,y:vIe.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),{paths:yrr,bounds:wIe,refblocks:ayn,circles:xrr}=CK,Err=Ln({primitives:[...Object.values(yrr),...Object.values(xrr),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...ayn.left1,labels:["1"]},{...ayn.right1,labels:["2"]}],size:{width:wIe.width,height:wIe.height},center:{x:wIe.centerX,y:wIe.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),yK={paths:{path11:{type:"path",points:[{x:-.54,y:.04},{x:-.11,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.1,y:.04},{x:.54,y:.04}],color:"primary",fill:!1},"path11-0":{type:"path",points:[{x:-.09,y:-.15},{x:-.09,y:.26}],color:"primary",fill:!1},"path11-0-3":{type:"path",points:[{x:.09,y:-.15},{x:.09,y:.26}],color:"primary",fill:!1},"path11-0-9":{type:"path",points:[{x:-.08,y:.06},{x:-.08,y:-.15},{x:.09,y:-.05},{x:-.08,y:.06}],color:"primary",fill:!0},"path11-0-9-0":{type:"path",points:[{x:.08,y:.26},{x:.08,y:.05},{x:-.09,y:.15},{x:.07,y:.26}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.03,y:.42},bottom1:{type:"text",text:"{VAL}",x:-.03,y:-.42}},refblocks:{left1:{x:-.54,y:.04},right1:{x:.54,y:.04}},bounds:{minX:-.57,maxX:.57,minY:-.42,maxY:.42,width:1.14,height:.83,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.05,radius:.29,color:"primary",fill:!1}}},Brr=Ln(yK).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left",{x:-.03,y:.2}).changeTextAnchor("{VAL}","middle_left",{x:.8,y:-.2}).build(),brr=Ln(yK).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.1}).changeTextAnchor("{VAL}","middle_top").build(),Srr=Ln(yK).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.8}).changeTextAnchor("{VAL}","middle_top",{x:0,y:-.9}).build(),Qrr=Ln(yK).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.1}).changeTextAnchor("{VAL}","middle_top").build(),vrr=Ln(yK).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left",{x:.7,y:.2}).changeTextAnchor("{VAL}","middle_left",{x:-.13,y:-.2}).build(),wrr=Ln(yK).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left",{x:.7,y:.2}).changeTextAnchor("{VAL}","middle_left",{x:-.13,y:-.2}).build(),PIe={paths:{triangle:{type:"path",points:[{x:-.06,y:-.09},{x:-.06,y:.09},{x:.06,y:0},{x:-.06,y:-.09}],color:"primary",fill:!1},stem:{type:"path",points:[{x:-.11,y:0},{x:-.06,y:0}],color:"primary",fill:!1}},refblocks:{left1:{x:-.11,y:0}},bounds:{centerX:0,centerY:0}},{paths:Prr,bounds:Ayn,refblocks:Mrr}=PIe,Drr=Ln({primitives:[...Object.values(Prr),{type:"text",text:"{REF}",x:-.13,y:-0}],ports:[{...Mrr.left1,labels:["1"]}],center:{x:Ayn.centerX,y:Ayn.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build(),{paths:Nrr,bounds:cyn,refblocks:Rrr}=PIe,Trr=Ln({primitives:[...Object.values(Nrr),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...Rrr.left1,labels:["1"]}],center:{x:cyn.centerX,y:cyn.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build(),{paths:krr,bounds:lyn,refblocks:Frr}=PIe,Lrr=Ln({primitives:[...Object.values(krr),{type:"text",text:"{REF}",x:-.13,y:-0}],ports:[{...Frr.left1,labels:["1"]}],center:{x:lyn.centerX,y:lyn.centerY}}).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build(),{paths:Hrr,bounds:uyn,refblocks:Orr}=PIe,Grr=Ln({primitives:[...Object.values(Hrr),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...Orr.left1,labels:["1"]}],center:{x:uyn.centerX,y:uyn.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build(),Yrr={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.12,y:-.09}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.12,y:.18},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.12,y:-.09},{x:-.12,y:.18}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.14,y:.18},{x:.14,y:-.09}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.12,y:.04},{x:-.52,y:.04}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.52,y:.04},{x:.15,y:.04}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.27},bottom1:{type:"text",text:"{VAL}",x:0,y:-.27}},refblocks:{left1:{x:-.52,y:.04},right1:{x:.52,y:.04}},bounds:{minX:-.55,maxX:.55,minY:-.27,maxY:.27,width:1.09,height:.55,centerX:0,centerY:0},circles:{}},MIe=Ln(Yrr).labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),Urr=si(MIe,"down"),Krr=si(MIe,"left"),Vrr=si(MIe,"up"),zrr={paths:{path1:{type:"path",points:[{x:-.37,y:.22},{x:-.13,y:.22}],color:"primary",fill:!1},"path-1-2":{type:"path",points:[{x:-.07,y:.22},{x:.11,y:.16}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.1,y:.13},{x:.37,y:.13}],color:"primary",fill:!1},path3:{type:"path",points:[{x:.12,y:.36},{x:.37,y:.36}],color:"primary",fill:!1},path4:{type:"path",points:[{x:-.37,y:-.18},{x:-.13,y:-.18}],color:"primary",fill:!1},"path4-5":{type:"path",points:[{x:-.07,y:-.19},{x:.1,y:-.24}],color:"primary",fill:!1},path5:{type:"path",points:[{x:.1,y:-.27},{x:.37,y:-.27}],color:"primary",fill:!1},path6:{type:"path",points:[{x:.12,y:-.04},{x:.37,y:-.04}],color:"primary",fill:!1},"path1-4-join":{type:"path",points:[{x:0,y:-.2},{x:0,y:.19}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.56},bottom1:{type:"text",text:"{VAL}",x:0,y:-.42}},refblocks:{left1:{x:-.37,y:.22},left2:{x:-.37,y:-.18},right1:{x:.37,y:.36},right2:{x:.37,y:.13},right3:{x:.37,y:-.04},right5:{x:.37,y:-.27}},bounds:{minX:-.4,maxX:.4,minY:-.47,maxY:.56,width:1,height:1.04,centerX:0,centerY:.05},circles:{"circle-2":{type:"circle",x:.08,y:.13,radius:.02,color:"primary",fill:!1},"circle-5":{type:"circle",x:.08,y:-.27,radius:.02,color:"primary",fill:!1},"circle-3":{type:"circle",x:.08,y:.37,radius:.02,color:"primary",fill:!1},"circle-6":{type:"circle",x:.08,y:-.04,radius:.02,color:"primary",fill:!1},"circle-1":{type:"circle",x:-.1,y:.22,radius:.02,color:"primary",fill:!1},"circle-4":{type:"circle",x:-.1,y:-.18,radius:.02,color:"primary",fill:!1}}},DIe=Ln(zrr).labelPort("left1",["1"]).labelPort("right1",["3"]).labelPort("right2",["2"]).labelPort("right3",["6"]).labelPort("left2",["4"]).labelPort("right5",["5"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),SZe=si(DIe,"down"),QZe=SZe.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),vZe=SZe.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");QZe.anchor="middle_bottom",vZe.anchor="middle_top",QZe.x=0,QZe.y+=.537,vZe.y-=.5375,vZe.x=0;var Jrr=SZe,wZe=si(DIe,"left"),PZe=wZe.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),MZe=wZe.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");PZe.anchor="middle_bottom",MZe.anchor="middle_top",PZe.x=0,PZe.y+=1,MZe.y-=1,MZe.x=0;var Wrr=wZe,DZe=si(DIe,"up"),NZe=DZe.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),RZe=DZe.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");NZe.anchor="middle_bottom",RZe.anchor="middle_top",NZe.x=0,NZe.y+=.537,RZe.y-=.5375,RZe.x=0;var jrr=DZe,$rr={paths:{path1:{type:"path",points:[{x:-.37,y:.22},{x:-.13,y:.22}],color:"primary",fill:!1},"path-1-3":{type:"path",points:[{x:-.07,y:.23},{x:.11,y:.33}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.1,y:.13},{x:.37,y:.13}],color:"primary",fill:!1},path3:{type:"path",points:[{x:.12,y:.36},{x:.37,y:.36}],color:"primary",fill:!1},path4:{type:"path",points:[{x:-.37,y:-.18},{x:-.13,y:-.18}],color:"primary",fill:!1},"path4-6":{type:"path",points:[{x:-.07,y:-.18},{x:.11,y:-.07}],color:"primary",fill:!1},path5:{type:"path",points:[{x:.1,y:-.27},{x:.37,y:-.27}],color:"primary",fill:!1},path6:{type:"path",points:[{x:.12,y:-.04},{x:.37,y:-.04}],color:"primary",fill:!1},"path1-4-join":{type:"path",points:[{x:0,y:-.12},{x:0,y:.27}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.61},bottom1:{type:"text",text:"{VAL}",x:0,y:-.52}},refblocks:{left1:{x:-.37,y:.22},left2:{x:-.37,y:-.18},right1:{x:.37,y:.36},right2:{x:.37,y:.13},right3:{x:.37,y:-.04},right5:{x:.37,y:-.27}},bounds:{minX:-.4,maxX:.4,minY:-.47,maxY:.56,width:1,height:1.04,centerX:0,centerY:.05},circles:{"circle-2":{type:"circle",x:.08,y:.13,radius:.02,color:"primary",fill:!1},"circle-5":{type:"circle",x:.08,y:-.27,radius:.02,color:"primary",fill:!1},"circle-3":{type:"circle",x:.08,y:.37,radius:.02,color:"primary",fill:!1},"circle-6":{type:"circle",x:.08,y:-.04,radius:.02,color:"primary",fill:!1},"circle-1":{type:"circle",x:-.1,y:.22,radius:.02,color:"primary",fill:!1},"circle-4":{type:"circle",x:-.1,y:-.18,radius:.02,color:"primary",fill:!1}}},NIe=Ln($rr).labelPort("left1",["1"]).labelPort("right1",["3"]).labelPort("right2",["2"]).labelPort("right3",["6"]).labelPort("left2",["4"]).labelPort("right5",["5"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),TZe=si(NIe,"down"),kZe=TZe.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),FZe=TZe.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");kZe.anchor="middle_bottom",FZe.anchor="middle_top",kZe.x=0,kZe.y+=.565,FZe.y-=.555,FZe.x=0;var qrr=TZe,LZe=si(NIe,"left"),HZe=LZe.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),OZe=LZe.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");HZe.anchor="middle_bottom",OZe.anchor="middle_top",HZe.x=0,HZe.y+=1.09,OZe.y-=1.09,OZe.x=0;var Xrr=LZe,GZe=si(NIe,"up"),YZe=GZe.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),UZe=GZe.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");YZe.anchor="middle_bottom",UZe.anchor="middle_top",YZe.x=0,YZe.y+=.565,UZe.y-=.555,UZe.x=0;var Zrr=GZe,esr={paths:{path11:{type:"path",points:[{x:-.38,y:.06},{x:-.14,y:.06}],color:"primary",fill:!1},"path11-0":{type:"path",points:[{x:-.09,y:.07},{x:.11,y:.11}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.13,y:.06},{x:.38,y:.06}],color:"primary",fill:!1},"path11-5":{type:"path",points:[{x:-.38,y:-.17},{x:-.14,y:-.17}],color:"primary",fill:!1},"path11-0-3":{type:"path",points:[{x:-.09,y:-.17},{x:.11,y:-.12}],color:"primary",fill:!1},"path12-0":{type:"path",points:[{x:.13,y:-.17},{x:.38,y:-.17}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.31},bottom1:{type:"text",text:"{VAL}",x:0,y:-.31}},refblocks:{left1:{x:-.38,y:-.17},left3:{x:-.38,y:.06},right1:{x:.38,y:-.17},right3:{x:.38,y:.06}},bounds:{minX:-.4,maxX:.4,minY:-.4,maxY:.4,width:.81,height:.79,centerX:0,centerY:0},circles:{"circle-4":{type:"circle",x:.1,y:.06,radius:.02,color:"primary",fill:!1},"circle-2":{type:"circle",x:.1,y:-.17,radius:.02,color:"primary",fill:!1},"circle-3":{type:"circle",x:-.11,y:.06,radius:.02,color:"primary",fill:!1},"circle-1":{type:"circle",x:-.11,y:-.17,radius:.02,color:"primary",fill:!1}}},RIe=Ln(esr).labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("right3",["4"]).labelPort("left3",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),KZe=si(RIe,"down"),VZe=KZe.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),zZe=KZe.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");VZe.anchor="middle_bottom",zZe.anchor="middle_top",VZe.x=.4,VZe.y+=.265,zZe.y-=.265,zZe.x=.4;var tsr=KZe,JZe=si(RIe,"left"),WZe=JZe.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),jZe=JZe.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");WZe.anchor="middle_bottom",jZe.anchor="middle_top",WZe.x=0,WZe.y+=.67,jZe.y-=.67,jZe.x=0;var nsr=JZe,$Ze=si(RIe,"up"),qZe=$Ze.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),XZe=$Ze.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");qZe.anchor="middle_bottom",XZe.anchor="middle_top",qZe.x=.46,qZe.y+=.265,XZe.y-=.265,XZe.x=.46;var osr=$Ze,isr={paths:{path11:{type:"path",points:[{x:-.38,y:.06},{x:-.14,y:.06}],color:"primary",fill:!1},"path11-0":{type:"path",points:[{x:-.09,y:.07},{x:.1,y:.2}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.13,y:.06},{x:.38,y:.06}],color:"primary",fill:!1},"path11-5":{type:"path",points:[{x:-.38,y:-.17},{x:-.14,y:-.17}],color:"primary",fill:!1},"path11-0-3":{type:"path",points:[{x:-.09,y:-.16},{x:.1,y:-.03}],color:"primary",fill:!1},"path12-0":{type:"path",points:[{x:.13,y:-.17},{x:.38,y:-.17}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.42},bottom1:{type:"text",text:"{VAL}",x:0,y:-.42}},refblocks:{left1:{x:-.38,y:-.17},left3:{x:-.38,y:.06},right1:{x:.38,y:-.17},right3:{x:.38,y:.06}},bounds:{minX:-.4,maxX:.4,minY:-.4,maxY:.4,width:.81,height:.79,centerX:0,centerY:0},circles:{"circle-4":{type:"circle",x:.1,y:.06,radius:.02,color:"primary",fill:!1},"circle-2":{type:"circle",x:.1,y:-.17,radius:.02,color:"primary",fill:!1},"circle-3":{type:"circle",x:-.11,y:.06,radius:.02,color:"primary",fill:!1},"circle-1":{type:"circle",x:-.11,y:-.17,radius:.02,color:"primary",fill:!1}}},TIe=Ln(isr).labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("right3",["4"]).labelPort("left3",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),ZZe=si(TIe,"down"),eet=ZZe.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),tet=ZZe.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");eet.anchor="middle_bottom",tet.anchor="middle_top",eet.x=.4,eet.y+=.295,tet.y-=.295,tet.x=.42;var rsr=ZZe,net=si(TIe,"left"),oet=net.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),iet=net.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");oet.anchor="middle_bottom",iet.anchor="middle_top",oet.x=0,oet.y+=.795,iet.y-=.795,iet.x=0;var ssr=net,ret=si(TIe,"up"),set=ret.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),aet=ret.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");set.anchor="middle_bottom",aet.anchor="middle_top",set.x=.46,set.y+=.315,aet.y-=.315,aet.x=.46;var asr=ret,gyn={paths:{path5:{type:"path",points:[{x:-.44,y:0},{x:-.16,y:0}],color:"primary",fill:!1},path6:{type:"path",points:[{x:.17,y:0},{x:.44,y:.01}],color:"primary",fill:!1},path9:{type:"path",points:[{x:-.25,y:-.16},{x:.02,y:.3},{x:.25,y:.17},{x:-.02,y:-.29},{x:-.25,y:-.16}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.37},bottom1:{type:"text",text:"{VAL}",x:0,y:-.37}},refblocks:{left1:{x:-.44,y:0},right1:{x:.44,y:.01}},bounds:{minX:-.57,maxX:.57,minY:-.25,maxY:.25,width:1.13,height:.5,centerX:0,centerY:0},circles:{}},{paths:Asr,texts:r_r,bounds:kIe,refblocks:dyn,circles:csr}=gyn,hyn=Ln({primitives:[...Object.values(Asr),...Object.values(csr),{type:"text",text:"{REF}",x:.18,y:-.3204553499999995},{type:"text",text:"{VAL}",x:-.25,y:-.3294553499999995}],ports:[{...dyn.left1,labels:["1"]},{...dyn.right1,labels:["2"]}],size:{width:kIe.width,height:kIe.height},center:{x:kIe.centerX,y:kIe.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),Aet=hK(hyn),cet=Aet.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),uet=Aet.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");cet.anchor="middle_left",uet.anchor="middle_left",cet.y+=.4,cet.x=.32,uet.y-=.45,uet.x=.32;var lsr=Aet,pyn=Ln(gyn).labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),usr=pK(pyn),xK={paths:{path11:{type:"path",points:[{x:-.56,y:.04},{x:-.22,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.14,y:.05},{x:.48,y:.05}],color:"primary",fill:!1},"path12-6":{type:"path",points:[{x:.14,y:-.15},{x:.14,y:.25}],color:"primary",fill:!1},"path11-0-9":{type:"path",points:[{x:-.22,y:.25},{x:-.21,y:-.15},{x:.14,y:.05},{x:-.22,y:.25}],color:"primary",fill:!0}},refblocks:{left1:{x:-.56,y:.04},right1:{x:.48,y:.05}},bounds:{width:1.18,height:.76,centerX:0,centerY:0},circles:{}},{paths:gsr,bounds:FIe,refblocks:myn,circles:dsr}=xK,hsr=Ln({primitives:[...Object.values(gsr),...Object.values(dsr),{type:"text",text:"{REF}",x:-.15,y:.3294553499999995},{type:"text",text:"{VAL}",x:.15,y:.3294553499999995}],ports:[{...myn.left1,labels:["1"]},{...myn.right1,labels:["2"]}],size:{width:FIe.width,height:FIe.height},center:{x:FIe.centerX,y:FIe.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),{paths:psr,bounds:LIe,refblocks:_yn,circles:msr}=xK,_sr=Ln({primitives:[...Object.values(psr),...Object.values(msr),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{..._yn.left1,labels:["1"]},{..._yn.right1,labels:["2"]}],size:{width:LIe.width,height:LIe.height},center:{x:LIe.centerX,y:LIe.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),{paths:fsr,bounds:HIe,refblocks:fyn,circles:Isr}=xK,Csr=Ln({primitives:[...Object.values(fsr),...Object.values(Isr),{type:"text",text:"{REF}",x:-0,y:-.3094553499999995},{type:"text",text:"{VAL}",x:0,y:.4094553499999995}],ports:[{...fyn.left1,labels:["1"]},{...fyn.right1,labels:["2"]}],size:{width:HIe.width,height:HIe.height},center:{x:HIe.centerX,y:HIe.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),{paths:ysr,bounds:OIe,refblocks:Iyn,circles:xsr}=xK,Esr=Ln({primitives:[...Object.values(ysr),...Object.values(xsr),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...Iyn.left1,labels:["1"]},{...Iyn.right1,labels:["2"]}],size:{width:OIe.width,height:OIe.height},center:{x:OIe.centerX,y:OIe.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),{paths:Bsr,bounds:GIe,refblocks:Cyn,circles:bsr}=xK,Ssr=Ln({primitives:[...Object.values(Bsr),...Object.values(bsr),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Cyn.left1,labels:["1"]},{...Cyn.right1,labels:["2"]}],size:{width:GIe.width,height:GIe.height},center:{x:GIe.centerX,y:GIe.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),{paths:Qsr,bounds:YIe,refblocks:yyn,circles:vsr}=xK,wsr=Ln({primitives:[...Object.values(Qsr),...Object.values(vsr),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...yyn.left1,labels:["1"]},{...yyn.right1,labels:["2"]}],size:{width:YIe.width,height:YIe.height},center:{x:YIe.centerX,y:YIe.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),Psr={paths:{path11:{type:"path",points:[{x:-.54,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.54,y:0}],color:"primary",fill:!1}},texts:{left1:{type:"text",text:"Hz",x:0,y:-.04}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}},{paths:Msr,texts:Dsr,bounds:UIe,refblocks:xyn,circles:Nsr}=Psr,get=Gl({primitives:[...Object.values(Msr),...Object.values(Nsr),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...Dsr.left1,x:0,y:.01,anchor:"center",fontSize:.2}],ports:[{...xyn.left1,labels:["1"]},{...xyn.right1,labels:["2"]}],size:{width:UIe.width,height:UIe.height},center:{x:UIe.centerX,y:UIe.centerY}}),{5:Rsr,...Tsr}=get.primitives;function ksr(t){return typeof t=="object"}var Eyn=si({...get,primitives:Object.values(Tsr).filter(ksr)}),Fsr={...Eyn,primitives:[...Eyn.primitives,Rsr]},Lsr={paths:{path10:{type:"path",points:[{x:-.53,y:.04},{x:.53,y:.04}],color:"primary",fill:!1},path14:{type:"path",points:[{x:0,y:.17},{x:.27,y:.17},{x:.27,y:-.1},{x:-.26,y:-.1},{x:-.26,y:.17},{x:0,y:.17}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.24}},refblocks:{left1:{x:-.53,y:.04},right1:{x:.53,y:.04}},bounds:{width:1.13,height:.47,centerX:0,centerY:0}},{paths:Hsr,texts:Osr,bounds:KIe,refblocks:Byn}=Lsr,byn=Gl({primitives:[...Object.values(Hsr),{...Osr.top1,anchor:"middle_bottom"},{type:"text",text:"{VAL}",x:0,y:-.2,anchor:"middle_top"}],ports:[{...Byn.left1,labels:["1"]},{...Byn.right1,labels:["2"]}],size:{width:KIe.width,height:KIe.height},center:{x:KIe.centerX,y:KIe.centerY}}),Gsr=si(byn),EK={paths:{path1:{type:"path",points:[{x:-.29,y:.01},{x:.04,y:0}],color:"primary",fill:!0},path2:{type:"path",points:[{x:.04,y:-.22},{x:.04,y:.22}],color:"primary",fill:!0},path3:{type:"path",points:[{x:.12,y:-.17},{x:.12,y:.17}],color:"primary",fill:!0},path4:{type:"path",points:[{x:.19,y:-.06},{x:.19,y:.06}],color:"primary",fill:!0}},texts:{right1:{type:"text",text:"{REF}",x:.31,y:-.02}},refblocks:{left1:{x:-.29,y:.01}},bounds:{minX:-.31,maxX:.31,minY:-.22,maxY:.22,width:.62,height:.45,centerX:0,centerY:0},circles:{}},Ysr=Ln(EK).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build(),Usr=Ln(EK).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build(),Ksr=Ln(EK).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build(),Vsr=Ln(EK).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build(),zsr=Ln(EK).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build(),Jsr=Ln(EK).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build(),det={paths:{path11:{type:"path",points:[{x:-.52,y:.03},{x:-.18,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.19,y:.04},{x:.52,y:.04}],color:"primary",fill:!1},"path11-0-9":{type:"path",points:[{x:-.31,y:.2},{x:-.31,y:-.11},{x:-.01,y:.04},{x:-.3,y:.2}],color:"primary",fill:!0},"path11-0-9-5":{type:"path",points:[{x:.33,y:.2},{x:.33,y:-.1},{x:.04,y:.04},{x:.33,y:.2}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:.04,y:.32},bottom1:{type:"text",text:"{VAL}",x:.04,y:-.32}},refblocks:{left1:{x:-.52,y:.03},right1:{x:.52,y:.04}},bounds:{minX:-.55,maxX:.55,minY:-.32,maxY:.32,width:1.09,height:.63,centerX:0,centerY:0},circles:{}},{paths:s_r,texts:a_r,bounds:A_r,refblocks:c_r,circles:l_r}=det,Wsr=Ln(det).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),jsr=Ln(det).rotateRightFacingSymbol("down").changeTextAnchor("{VAL}","middle_right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build(),$sr={paths:{path45:{type:"path",points:[{x:.14,y:0},{x:-.13,y:-.14}],color:"primary",fill:!1},"path1-8":{type:"path",points:[{x:.13,y:0},{x:.3,y:0}],color:"primary",fill:!1},path46:{type:"path",points:[{x:-.13,y:.13},{x:.14,y:0}],color:"primary",fill:!1},path47:{type:"path",points:[{x:-.13,y:-.14},{x:-.13,y:.13}],color:"primary",fill:!1},path48:{type:"path",points:[{x:.14,y:.13},{x:.14,y:-.14}],color:"primary",fill:!1},path49:{type:"path",points:[{x:-.13,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path25:{type:"path",points:[{x:.16,y:.29},{x:.25,y:.3},{x:.22,y:.21}],color:"primary",fill:!0},path78:{type:"path",points:[{x:.08,y:.17},{x:.09,y:.17},{x:.21,y:.27},{x:.21,y:.27}],color:"primary",fill:!1},"path25-0":{type:"path",points:[{x:-.02,y:.31},{x:.08,y:.32},{x:.04,y:.23}],color:"primary",fill:!0},"path78-6":{type:"path",points:[{x:-.1,y:.19},{x:-.09,y:.2},{x:.04,y:.29},{x:.04,y:.29}],color:"primary",fill:!1},box:{type:"path",points:[{x:-.3,y:-.4},{x:.3,y:-.4},{x:.3,y:.4},{x:-.3,y:.4},{x:-.3,y:-.4},{x:-.3,y:.4}],color:"primary",fill:!1},"path48-1":{type:"path",points:[{x:-.3,y:.13},{x:-.54,y:.13}],color:"primary",fill:!1},"path48-2":{type:"path",points:[{x:-.3,y:-.13},{x:-.54,y:-.13}],color:"primary",fill:!1},"path48-3":{type:"path",points:[{x:.3,y:-.13},{x:.54,y:-.13}],color:"primary",fill:!1},"path48-4":{type:"path",points:[{x:.3,y:.13},{x:.54,y:.13}],color:"primary",fill:!1}},texts:{bottom1:{type:"text",text:"{VAL}",x:0,y:-.43},right1:{type:"text",text:"{REF}",x:0,y:.43}},refblocks:{left1:{x:-.54,y:.13},left2:{x:-.54,y:-.13},right1:{x:.54,y:-.13},right2:{x:.54,y:.13}},bounds:{minX:-.56,maxX:.56,minY:-.32,maxY:.32,width:1.13,height:.65,centerX:0,centerY:0},circles:{}},VIe=Ln($sr).labelPort("left1",["1","DIN"]).labelPort("left2",["2","POWER"]).labelPort("right1",["3","GND"]).labelPort("right2",["4","DOUT"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),qsr=si(VIe,"down"),Xsr=pK(VIe),het=si(VIe,"up"),pet=het.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),met=het.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");pet.anchor="middle_left",met.anchor="middle_left",pet.y+=.21,pet.x=.44,met.y-=.21,met.x=.44;var Zsr=het,ear={paths:{path11:{type:"path",points:[{x:-.4,y:0},{x:-.01,y:0}],color:"primary",fill:!1},path40:{type:"path",points:[{x:.07,y:.19},{x:.07,y:-.18}],color:"primary",fill:!1},path42:{type:"path",points:[{x:.01,y:-.12},{x:.01,y:.14}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.28,y:-.25},{x:.28,y:-.56}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.28,y:.56},{x:.28,y:.27}],color:"primary",fill:!1},path15:{type:"path",points:[{x:.17,y:-.22},{x:.28,y:-.23},{x:.23,y:-.14}],color:"primary",fill:!0},path17:{type:"path",points:[{x:.08,y:-.09},{x:.23,y:-.2}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.07,y:.11},{x:.28,y:.26}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.36},bottom1:{type:"text",text:"{VAL}",x:.02,y:-.42}},refblocks:{top1:{x:.28,y:.56},bottom1:{x:.28,y:-.56},left1:{x:-.4,y:0}},bounds:{minX:-.43,maxX:.43,minY:-.58,maxY:.58,width:.85,height:1.17,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.14,y:.01,radius:.29,color:"primary",fill:!1}}},Syn=Ln(ear).changeTextAnchor("{VAL}","middle_right").labelPort("left1",["3"]).labelPort("top1",["2"]).labelPort("bottom1",["1"]).changeTextAnchor("{REF}","middle_right").build(),_et=si(Syn),fet=_et.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Qyn=_et.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");fet.anchor="middle_left",Qyn.anchor="middle_right",fet.x=.45,fet.y+=.065,Qyn.y+=.065;var tar=_et,nar={paths:{"path12-1-8-6-9":{type:"path",points:[{x:.02,y:-.02},{x:.02,y:-.1}],color:"primary",fill:!1},"path12-1-5-6":{type:"path",points:[{x:-.47,y:-.19},{x:-.17,y:-.19}],color:"primary",fill:!1},"path12-1-5-6-8":{type:"path",points:[{x:.02,y:.17},{x:.02,y:.11}],color:"primary",fill:!1},"path12-1-8-0":{type:"path",points:[{x:-.15,y:-.03},{x:.2,y:-.19}],color:"primary",fill:!1},"path12-1-0":{type:"path",points:[{x:.2,y:-.19},{x:.47,y:-.19}],color:"primary",fill:!1},"path12-1-8-6-9-4":{type:"path",points:[{x:.02,y:.12},{x:.02,y:.02}],color:"primary",fill:!1},"path12-1-8-6-9-4-3":{type:"path",points:[{x:.08,y:.11},{x:.08,y:.05}],color:"primary",fill:!1},"path12-1-8-6-9-4-3-1":{type:"path",points:[{x:-.04,y:.11},{x:-.04,y:.05}],color:"primary",fill:!1},"path12-1-8-6-9-4-4":{type:"path",points:[{x:.08,y:.11},{x:-.04,y:.11}],color:"primary",fill:!1},"path14-5":{type:"path",points:[{x:-.01,y:.28},{x:.01,y:.25},{x:.04,y:.23},{x:.06,y:.2}],color:"primary",fill:!0},"path14-5-3":{type:"path",points:[{x:-.01,y:.2},{x:.01,y:.23},{x:.04,y:.25},{x:.06,y:.28}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:.01,y:.38},bottom1:{type:"text",text:"{VAL}",x:.06,y:-.38}},refblocks:{left1:{x:-.47,y:-.19},right1:{x:.47,y:-.19}},bounds:{minX:-.5,maxX:.5,minY:-.38,maxY:.38,width:1,height:.76,centerX:0,centerY:0},circles:{path9:{type:"circle",x:.02,y:.24,radius:.06,color:"primary",fill:!1}}},vyn=Ln(nar).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),wyn=si(vyn),Pyn=wyn.primitives.filter(t=>t.type==="text"),Iet=Pyn.find(t=>t.text==="{VAL}");Iet.x=-.35,Iet.y=0,Iet.anchor="middle_right";var Cet=Pyn.find(t=>t.text==="{REF}");Cet.y=0,Cet.x=.35,Cet.anchor="middle_left";var oar=wyn,zIe={paths:{path8698:{type:"path",points:[{x:-.19796749999999919,y:-.023826854587889912},{x:-.2004570399999992,y:-.018993393814014044},{x:-.2029465799999992,y:-.014174384106555204},{x:-.20543611999999922,y:-.009384187436300498},{x:-.20792565999999923,y:-.004636988132081332},{x:-.21041519999999925,y:5329457033053167e-20},{x:-.21290473999999926,y:.004673092344940184},{x:-.21539427999999927,y:.009209271428771242},{x:-.21788381999999928,y:.013649213595881985},{x:-.2203733599999993,y:.01798089395292432},{x:-.2228628999999993,y:.022192955076609913},{x:-.22535243999999932,y:.02627477703600152},{x:-.22784197999999933,y:.030216542867918667},{x:-.23033151999999935,y:.03400929910178016},{x:-.23282105999999936,y:.03764501096072756},{x:-.23531059999999937,y:.04111661189869628},{x:-.23780013999999938,y:.04441804716802203},{x:-.2402896799999994,y:.04754431114897349},{x:-.2427792199999994,y:.05049147821106258},{x:-.24526875999999942,y:.053256726915861724},{x:-.24775829999999943,y:.05583835741211009},{x:-.25024783999999944,y:.05823580191586174},{x:-.25273737999999946,y:.060449628211062575},{x:-.25522691999999947,y:.0624815361489735},{x:-.2577164599999995,y:.06433434716802203},{x:-.2602059999999995,y:.06601198689869628},{x:-.2626955399999995,y:.06751946096072757},{x:-.2651850799999995,y:.06886282410178016},{x:-.26767461999999953,y:.07004914286791866},{x:-.27016415999999954,y:.0710864520360015},{x:-.27265369999999955,y:.07198370507660991},{x:-.27514323999999957,y:.07275071895292433},{x:-.2776327799999996,y:.07339811359588198},{x:-.2801223199999996,y:.07393724642877124},{x:-.2826118599999996,y:.07438014234494018},{x:-.2851013999999996,y:.07473941957033053},{x:-.28759093999999963,y:.07502821186791866},{x:-.29008047999999964,y:.07526008756369952},{x:-.29257001999999965,y:.07544896589344477},{x:-.29505955999999967,y:.07560903118598594},{x:-.2975490999999997,y:.07575464541211008},{x:-.30003863749999965,y:.07560903118598594},{x:-.3025281749999997,y:.07544896589344477},{x:-.30501771249999965,y:.07526008756369951},{x:-.3075072499999996,y:.07502821186791866},{x:-.30999678749999965,y:.07473941957033052},{x:-.3124863249999996,y:.07438014234494018},{x:-.3149758624999996,y:.07393724642877124},{x:-.31746539999999956,y:.07339811359588198},{x:-.3199549374999996,y:.07275071895292431},{x:-.32244447499999956,y:.07198370507660991},{x:-.32493401249999954,y:.0710864520360015},{x:-.32742354999999956,y:.07004914286791866},{x:-.32991308749999954,y:.06886282410178016},{x:-.3324026249999995,y:.06751946096072756},{x:-.33489216249999954,y:.06601198689869628},{x:-.3373816999999995,y:.06433434716802203},{x:-.3398712374999995,y:.06248153614897349},{x:-.3423607749999995,y:.06044962821106258},{x:-.3448503124999994,y:.05823580191586174},{x:-.34733984999999945,y:.05583835741211009},{x:-.3498293874999995,y:.053256726915861724},{x:-.35231892499999945,y:.050491478211062576},{x:-.3548084624999994,y:.0475443111489735},{x:-.3572979999999994,y:.04441804716802203},{x:-.35978753749999937,y:.04111661189869628},{x:-.3622770749999994,y:.03764501096072756},{x:-.36476661249999937,y:.03400929910178016},{x:-.36725614999999934,y:.030216542867918673},{x:-.36974568749999936,y:.02627477703600152},{x:-.37223522499999934,y:.022192955076609917},{x:-.3747247624999993,y:.017980893952924324},{x:-.37721429999999934,y:.013649213595881985},{x:-.3797038374999993,y:.00920927142877125},{x:-.3821933749999993,y:.004673092344940191},{x:-.3846829124999993,y:5329457033053514e-20},{x:-.3871724499999993,y:-.004636988132081328},{x:-.38966198749999925,y:-.009384187436300498},{x:-.3921515249999992,y:-.014174384106555197},{x:-.39464106249999925,y:-.01899339381401404},{x:-.3971305999999992,y:-.023826854587889912}],color:"primary",fill:!1},path8700:{type:"path",points:[{x:.0011955000000007932,y:-.02382615458789039},{x:-.00129403749999919,y:-.01899269131401453},{x:-.0037835749999991734,y:-.014173679106555696},{x:-.006273112499999156,y:-.009383479936300985},{x:-.00876264999999914,y:-.004636278132081827},{x:-.011252187499999122,y:5400707033003174e-20},{x:-.013741724999999105,y:.004673807344939681},{x:-.016231262499999087,y:.009209988928770731},{x:-.018720799999999073,y:.013649933595881476},{x:-.021210337499999055,y:.017981616452923805},{x:-.023699874999999038,y:.022193680076609393},{x:-.026189412499999024,y:.026275504536001},{x:-.028678949999999002,y:.030217272867918137},{x:-.03116848749999899,y:.034010031601779636},{x:-.03365802499999897,y:.03764574596072702},{x:-.03614756249999895,y:.04111734939869574},{x:-.03863709999999894,y:.04441878716802149},{x:-.04112663749999892,y:.04754505364897295},{x:-.043616174999998904,y:.05049222321106203},{x:-.04610571249999888,y:.05325747441586117},{x:-.04859524999999887,y:.055839107412109526},{x:-.051084787499998854,y:.05823655441586117},{x:-.05357432499999884,y:.06045038321106201},{x:-.05606386249999881,y:.06248229364897292},{x:-.0585533999999988,y:.06433510716802145},{x:-.061042937499998784,y:.0660127493986957},{x:-.06353247499999877,y:.06752022596072697},{x:-.06602201249999876,y:.06886359160177957},{x:-.06851154999999873,y:.07004991286791806},{x:-.07100108749999871,y:.07108722453600091},{x:-.0734906249999987,y:.0719844800766093},{x:-.07598016249999869,y:.07275149645292371},{x:-.07846969999999867,y:.07339889359588138},{x:-.08095923749999864,y:.07393802892877062},{x:-.08344877499999863,y:.07438092734493956},{x:-.08593831249999861,y:.07474020707032991},{x:-.0884278499999986,y:.07502900186791804},{x:-.09091738749999859,y:.07526088006369888},{x:-.09340692499999856,y:.07544976089344414},{x:-.09589646249999854,y:.0756098286859853},{x:-.09838599999999853,y:.07575544541210943},{x:-.10087553999999854,y:.0756098286859853},{x:-.10336507999999855,y:.07544976089344414},{x:-.10585461999999857,y:.07526088006369887},{x:-.10834415999999858,y:.07502900186791804},{x:-.11083369999999859,y:.0747402070703299},{x:-.1133232399999986,y:.07438092734493956},{x:-.11581277999999862,y:.07393802892877062},{x:-.11830231999999863,y:.07339889359588138},{x:-.12079185999999864,y:.07275149645292371},{x:-.12328139999999865,y:.0719844800766093},{x:-.12577093999999867,y:.07108722453600091},{x:-.12826047999999868,y:.07004991286791806},{x:-.1307500199999987,y:.06886359160177957},{x:-.1332395599999987,y:.06752022596072697},{x:-.13572909999999871,y:.0660127493986957},{x:-.13821863999999873,y:.06433510716802145},{x:-.14070817999999874,y:.06248229364897291},{x:-.14319771999999875,y:.06045038321106202},{x:-.14568725999999876,y:.05823655441586117},{x:-.14817679999999878,y:.055839107412109526},{x:-.1506663399999988,y:.05325747441586117},{x:-.1531558799999988,y:.05049222321106202},{x:-.1556454199999988,y:.047545053648972956},{x:-.15813495999999883,y:.04441878716802149},{x:-.16062449999999884,y:.04111734939869574},{x:-.16311403999999885,y:.03764574596072702},{x:-.16560357999999886,y:.034010031601779636},{x:-.16809311999999887,y:.03021727286791814},{x:-.1705826599999989,y:.026275504536001},{x:-.1730721999999989,y:.022193680076609396},{x:-.1755617399999989,y:.017981616452923805},{x:-.17805127999999892,y:.013649933595881474},{x:-.18054081999999894,y:.00920998892877074},{x:-.18303035999999895,y:.0046738073449396865},{x:-.18551989999999896,y:5400707033003521e-20},{x:-.18800943999999897,y:-.004636278132081827},{x:-.19049897999999899,y:-.009383479936300985},{x:-.192988519999999,y:-.01417367910655569},{x:-.19547805999999898,y:-.018992691314014522},{x:-.19796759999999902,y:-.02382615458789039}],color:"primary",fill:!1},path8702:{type:"path",points:[{x:.2003586000000006,y:-.02382615458789039},{x:.19786906000000057,y:-.01899269131401453},{x:.19537952000000058,y:-.014173679106555696},{x:.19288998000000057,y:-.009383479936300985},{x:.1904004400000006,y:-.004636278132081827},{x:.18791090000000055,y:5400707033003174e-20},{x:.1854213600000005,y:.004673807344939681},{x:.18293182000000052,y:.009209988928770731},{x:.1804422800000005,y:.013649933595881476},{x:.17795274000000053,y:.017981616452923805},{x:.17546320000000049,y:.022193680076609393},{x:.17297366000000047,y:.026275504536001},{x:.17048412000000046,y:.030217272867918137},{x:.16799458000000045,y:.034010031601779636},{x:.16550504000000044,y:.03764574596072702},{x:.16301550000000042,y:.04111734939869574},{x:.1605259600000004,y:.04441878716802149},{x:.1580364200000004,y:.04754505364897295},{x:.1555468800000004,y:.05049222321106203},{x:.15305734000000037,y:.05325747441586117},{x:.15056780000000036,y:.055839107412109526},{x:.14807826000000035,y:.05823655441586117},{x:.14558872000000034,y:.06045038321106201},{x:.14309918000000033,y:.06248229364897292},{x:.1406096400000003,y:.06433510716802145},{x:.1381201000000003,y:.0660127493986957},{x:.1356305600000003,y:.06752022596072697},{x:.13314102000000028,y:.06886359160177957},{x:.13065148000000026,y:.07004991286791806},{x:.12816194000000025,y:.07108722453600091},{x:.12567240000000024,y:.0719844800766093},{x:.12318286000000023,y:.07275149645292371},{x:.12069332000000021,y:.07339889359588138},{x:.1182037800000002,y:.07393802892877062},{x:.11571424000000019,y:.07438092734493956},{x:.11322470000000018,y:.07474020707032991},{x:.11073516000000017,y:.07502900186791804},{x:.10824562000000015,y:.07526088006369888},{x:.10575608000000014,y:.07544976089344414},{x:.10326654000000013,y:.0756098286859853},{x:.10077700000000012,y:.07575544541210943},{x:.09828746250000013,y:.0756098286859853},{x:.09579792500000014,y:.07544976089344414},{x:.09330838750000017,y:.07526088006369887},{x:.09081885000000019,y:.07502900186791804},{x:.0883293125000002,y:.0747402070703299},{x:.08583977500000022,y:.07438092734493956},{x:.08335023750000023,y:.07393802892877062},{x:.08086070000000026,y:.07339889359588138},{x:.07837116250000027,y:.07275149645292371},{x:.07588162500000029,y:.0719844800766093},{x:.0733920875000003,y:.07108722453600091},{x:.07090255000000031,y:.07004991286791806},{x:.06841301250000034,y:.06886359160177957},{x:.06592347500000036,y:.06752022596072697},{x:.06343393750000037,y:.0660127493986957},{x:.060944400000000384,y:.06433510716802145},{x:.0584548625000004,y:.06248229364897291},{x:.05596532500000043,y:.06045038321106202},{x:.05347578750000044,y:.05823655441586117},{x:.050986250000000455,y:.055839107412109526},{x:.04849671250000047,y:.05325747441586117},{x:.04600717500000048,y:.05049222321106202},{x:.04351763750000051,y:.047545053648972956},{x:.041028100000000525,y:.04441878716802149},{x:.03853856250000054,y:.04111734939869574},{x:.036049025000000554,y:.03764574596072702},{x:.03355948750000057,y:.034010031601779636},{x:.031069950000000596,y:.03021727286791814},{x:.02858041250000061,y:.026275504536001},{x:.026090875000000624,y:.022193680076609396},{x:.023601337500000638,y:.017981616452923805},{x:.021111800000000652,y:.013649933595881474},{x:.01862226250000068,y:.00920998892877074},{x:.016132725000000694,y:.0046738073449396865},{x:.013643187500000709,y:5400707033003521e-20},{x:.011153650000000723,y:-.004636278132081827},{x:.008664112500000737,y:-.009383479936300985},{x:.006174575000000764,y:-.01417367910655569},{x:.0036850375000007786,y:-.018992691314014522},{x:.0011955000000007932,y:-.02382615458789039}],color:"primary",fill:!1},path8704:{type:"path",points:[{x:.3995216000000006,y:-.02382615458789039},{x:.39703206250000056,y:-.01899269131401453},{x:.3945425250000006,y:-.014173679106555696},{x:.3920529875000006,y:-.009383479936300985},{x:.38956345000000064,y:-.004636278132081827},{x:.38707391250000067,y:5400707033003174e-20},{x:.3845843750000007,y:.004673807344939681},{x:.38209483750000073,y:.009209988928770731},{x:.37960530000000076,y:.013649933595881476},{x:.3771157625000008,y:.017981616452923805},{x:.37462622500000076,y:.022193680076609393},{x:.37213668750000073,y:.026275504536001},{x:.36964715000000076,y:.030217272867918137},{x:.3671576125000008,y:.034010031601779636},{x:.3646680750000008,y:.03764574596072702},{x:.36217853750000084,y:.04111734939869574},{x:.3596890000000008,y:.04441878716802149},{x:.3571994625000009,y:.04754505364897295},{x:.35470992500000087,y:.05049222321106203},{x:.35222038750000095,y:.05325747441586117},{x:.3497308500000009,y:.055839107412109526},{x:.3472413125000009,y:.05823655441586117},{x:.344751775000001,y:.06045038321106201},{x:.34226223750000095,y:.06248229364897292},{x:.33977270000000104,y:.06433510716802145},{x:.337283162500001,y:.0660127493986957},{x:.334793625000001,y:.06752022596072697},{x:.33230408750000107,y:.06886359160177957},{x:.3298145500000011,y:.07004991286791806},{x:.32732501250000107,y:.07108722453600091},{x:.3248354750000011,y:.0719844800766093},{x:.3223459375000011,y:.07275149645292371},{x:.3198564000000011,y:.07339889359588138},{x:.3173668625000012,y:.07393802892877062},{x:.31487732500000115,y:.07438092734493956},{x:.3123877875000012,y:.07474020707032991},{x:.3098982500000012,y:.07502900186791804},{x:.30740871250000124,y:.07526088006369888},{x:.30491917500000126,y:.07544976089344414},{x:.30242963750000124,y:.0756098286859853},{x:.29994010000000126,y:.07575544541210943},{x:.29745056000000125,y:.0756098286859853},{x:.29496102000000124,y:.07544976089344414},{x:.2924714800000012,y:.07526088006369887},{x:.2899819400000012,y:.07502900186791804},{x:.2874924000000012,y:.0747402070703299},{x:.2850028600000012,y:.07438092734493956},{x:.2825133200000012,y:.07393802892877062},{x:.28002378000000117,y:.07339889359588138},{x:.27753424000000115,y:.07275149645292371},{x:.27504470000000114,y:.0719844800766093},{x:.27255516000000113,y:.07108722453600091},{x:.2700656200000011,y:.07004991286791806},{x:.2675760800000011,y:.06886359160177957},{x:.2650865400000011,y:.06752022596072697},{x:.2625970000000011,y:.0660127493986957},{x:.26010746000000107,y:.06433510716802145},{x:.25761792000000105,y:.06248229364897291},{x:.25512838000000104,y:.06045038321106202},{x:.25263884000000103,y:.05823655441586117},{x:.250149300000001,y:.055839107412109526},{x:.247659760000001,y:.05325747441586117},{x:.245170220000001,y:.05049222321106202},{x:.24268068000000098,y:.047545053648972956},{x:.24019114000000097,y:.04441878716802149},{x:.23770160000000096,y:.04111734939869574},{x:.23521206000000094,y:.03764574596072702},{x:.23272252000000093,y:.034010031601779636},{x:.23023298000000092,y:.03021727286791814},{x:.2277434400000009,y:.026275504536001},{x:.2252539000000009,y:.022193680076609396},{x:.22276436000000088,y:.017981616452923805},{x:.22027482000000087,y:.013649933595881474},{x:.21778528000000086,y:.00920998892877074},{x:.21529574000000085,y:.0046738073449396865},{x:.21280620000000083,y:5400707033003521e-20},{x:.21031666000000082,y:-.004636278132081827},{x:.2078271200000008,y:-.009383479936300985},{x:.2053375800000008,y:-.01417367910655569},{x:.20284804000000078,y:-.018992691314014522},{x:.20035850000000077,y:-.02382615458789039}],color:"primary",fill:!1},path8706:{type:"path",points:[{x:-.40026109999999937,y:-.022544054587890106},{x:-.5272914999999991,y:-.022544054587890106}],color:"primary",fill:!1},"path8706-5":{type:"path",points:[{x:.5282280000000006,y:-.027111054587890093},{x:.4011975999999997,y:-.027111054587890093}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.0020145999999989783,y:.22997364541210996},bottom1:{type:"text",text:"{VAL}",x:-.002185205294839676,y:-.22997364541210996}},refblocks:{left1:{x:-.5279125,y:-.021272154587890446},right1:{x:.5279125,y:-.026521254587889898}},bounds:{minX:-.556070941,maxX:.556070941,minY:-.22997364541210996,maxY:.22997364541210996,width:1.112141882,height:.4599472908242199,centerX:0,centerY:0},circles:{}},iar=Ln(zIe).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right",{x:-.5,y:0}).changeTextAnchor("{VAL}","middle_left",{x:.5,y:0}).build(),rar=Ln(zIe).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.5}).changeTextAnchor("{VAL}","middle_top",{x:0,y:-.5}).build(),sar=Ln(zIe).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),aar=Ln(zIe).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right").changeTextAnchor("{VAL}","middle_left").build(),Myn={paths:{path11:{type:"path",points:[{x:-.54,y:-.06},{x:-.15,y:-.06}],color:"primary",fill:!1},path40:{type:"path",points:[{x:.13,y:-.05},{x:-.13,y:-.18}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.13,y:.08},{x:.13,y:-.05}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.13,y:-.18},{x:-.13,y:.08}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.13,y:.08},{x:.13,y:-.18}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.14,y:-.05},{x:.54,y:-.06}],color:"primary",fill:!1},"path25-0-9-8":{type:"path",points:[{x:-.03,y:.39},{x:-.05,y:.47},{x:-.08,y:.39}],color:"primary",fill:!0},"path78-6-5-5":{type:"path",points:[{x:-.05,y:.27},{x:-.05,y:.29},{x:-.05,y:.41},{x:-.05,y:.42}],color:"primary",fill:!1},"path25-0-9-8-2":{type:"path",points:[{x:.07,y:.39},{x:.04,y:.47},{x:.02,y:.39}],color:"primary",fill:!0},"path78-6-5-5-7":{type:"path",points:[{x:.04,y:.27},{x:.04,y:.29},{x:.04,y:.41},{x:.04,y:.42}],color:"primary",fill:!1},"path43-1":{type:"path",points:[{x:.03,y:.06},{x:.03,y:-.16}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:.38,y:.38},bottom1:{type:"text",text:"{VAL}",x:.38,y:-.47}},refblocks:{left1:{x:-.54,y:-.06},right1:{x:.54,y:-.06}},bounds:{minX:-.57,maxX:.57,minY:-.47,maxY:.47,width:1.14,height:.93,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:-.05,radius:.29,color:"primary",fill:!1}}};Myn.bounds.width+=.2;var JIe=Ln(Myn).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),yet=si(JIe,"down"),xet=yet.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Eet=yet.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");xet.anchor="middle_left",Eet.anchor="middle_left",xet.y+=.9,xet.x=.3,Eet.y-=.1,Eet.x=.3;var Aar=yet,Bet=si(JIe,"left"),bet=Bet.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Qet=Bet.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");bet.anchor="middle_left",Qet.anchor="middle_left",bet.y+=.71,bet.x=.44,Qet.y-=.71,Qet.x=.44;var car=Bet,vet=si(JIe,"up"),wet=vet.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Pet=vet.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");wet.anchor="middle_left",Pet.anchor="middle_left",wet.y+=.1,wet.x=.3,Pet.y-=.71,Pet.x=.3;var lar=vet,uar={paths:{path45:{type:"path",points:[{x:.14,y:0},{x:-.13,y:-.14}],color:"primary",fill:!1},"path1-8":{type:"path",points:[{x:.13,y:0},{x:.54,y:0}],color:"primary",fill:!1},path46:{type:"path",points:[{x:-.13,y:.13},{x:.14,y:0}],color:"primary",fill:!1},path47:{type:"path",points:[{x:-.13,y:-.14},{x:-.13,y:.13}],color:"primary",fill:!1},path48:{type:"path",points:[{x:.14,y:.13},{x:.14,y:-.14}],color:"primary",fill:!1},path49:{type:"path",points:[{x:-.13,y:0},{x:-.54,y:0}],color:"primary",fill:!1},path25:{type:"path",points:[{x:.16,y:.29},{x:.25,y:.3},{x:.22,y:.21}],color:"primary",fill:!0},path78:{type:"path",points:[{x:.08,y:.17},{x:.09,y:.17},{x:.21,y:.27},{x:.21,y:.27}],color:"primary",fill:!1},"path25-0":{type:"path",points:[{x:-.02,y:.31},{x:.08,y:.32},{x:.04,y:.23}],color:"primary",fill:!0},"path78-6":{type:"path",points:[{x:-.1,y:.19},{x:-.09,y:.2},{x:.04,y:.29},{x:.04,y:.29}],color:"primary",fill:!1}},texts:{bottom1:{type:"text",text:"{VAL}",x:0,y:-.21},right1:{type:"text",text:"{REF}",x:0,y:.41}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{width:1.13,height:.65,centerX:0,centerY:0},circles:{}},{paths:gar,texts:Dyn,bounds:WIe,refblocks:Nyn,circles:dar}=uar,Met=Gl({primitives:[...Object.values(gar),...Object.values(dar),{...Dyn.bottom1,anchor:"middle_top"},{...Dyn.right1,anchor:"middle_bottom"}],ports:[{...Nyn.left1,labels:["1"]},{...Nyn.right1,labels:["2"]}],size:{width:WIe.width,height:WIe.height},center:{x:WIe.centerX,y:WIe.centerY}}),Det=si(Met,"up"),Net=Det.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ret=Det.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Net.anchor="middle_left",Ret.anchor="middle_left",Net.y+=.21,Net.x=.21,Ret.y-=.21,Ret.x=.21;var Ryn=Det,Tet=hK(Ryn),ket=Tet.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Fet=Tet.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ket.anchor="middle_left",Fet.anchor="middle_left",ket.y+=.4,ket.x=.2,Fet.y-=.41,Fet.x=.2;var har=Tet,par=pK(Met),mar={paths:{path11:{type:"path",points:[{x:-.52,y:-.01},{x:-.18,y:-.01}],color:"primary",fill:!1},"path11-2":{type:"path",points:[{x:-.17,y:-.11},{x:-.17,y:.08}],color:"primary",fill:!1},"path11-5":{type:"path",points:[{x:-.17,y:-.12},{x:.16,y:-.12}],color:"primary",fill:!1},"path11-5-5":{type:"path",points:[{x:-.17,y:.08},{x:.16,y:.08}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.17,y:-.01},{x:.52,y:-.01}],color:"primary",fill:!1},"path11-2-1":{type:"path",points:[{x:.16,y:-.12},{x:.16,y:.08}],color:"primary",fill:!1},"path25-0-9":{type:"path",points:[{x:-.4,y:-.21},{x:-.33,y:-.18},{x:-.34,y:-.27}],color:"primary",fill:!0},"path78-6-5":{type:"path",points:[{x:-.45,y:-.34},{x:-.44,y:-.32},{x:-.35,y:-.22},{x:-.35,y:-.22}],color:"primary",fill:!1},"path25-0-9-0":{type:"path",points:[{x:-.3,y:-.34},{x:-.22,y:-.31},{x:-.24,y:-.4}],color:"primary",fill:!0},"path78-6-5-9":{type:"path",points:[{x:-.35,y:-.46},{x:-.34,y:-.45},{x:-.25,y:-.35},{x:-.25,y:-.35}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.17,y:-.41},bottom1:{type:"text",text:"{VAL}",x:-.01,y:.46}},refblocks:{left1:{x:-.52,y:-.01},right1:{x:.52,y:-.01}},bounds:{width:1.1,height:.62,centerX:0,centerY:-.02},circles:{path1:{type:"circle",x:0,y:-.02,radius:.28,color:"primary",fill:!1}}},{paths:_ar,texts:Tyn,bounds:jIe,refblocks:kyn,circles:far}=mar,Fyn=Gl({primitives:[...Object.values(_ar),...Object.values(far),{...Tyn.top1,anchor:"middle_left",x:0},{...Tyn.bottom1,anchor:"middle_left",x:0}],ports:[{...kyn.left1,labels:["1"]},{...kyn.right1,labels:["2"]}],size:{width:jIe.width,height:jIe.height},center:{x:jIe.centerX,y:jIe.centerY}}),Lyn=si(Fyn),Hyn=Lyn.primitives.filter(t=>t.type==="text"),Let=Hyn.find(t=>t.text==="{VAL}");Let.x=-.35,Let.y=0,Let.anchor="middle_right";var Het=Hyn.find(t=>t.text==="{REF}");Het.y=0,Het.x=.35,Het.anchor="middle_left";var Iar=Lyn,Car={paths:{path208:{type:"path",points:[{x:.38,y:.13},{x:.52,y:-.13}],color:"primary",fill:!1},path209:{type:"path",points:[{x:.25,y:-.13},{x:.38,y:.13}],color:"primary",fill:!1},path210:{type:"path",points:[{x:.52,y:-.13},{x:.25,y:-.13}],color:"primary",fill:!1},path211:{type:"path",points:[{x:.25,y:.13},{x:.52,y:.13}],color:"primary",fill:!1},path212:{type:"path",points:[{x:.12,y:-.4},{x:.38,y:-.4}],color:"primary",fill:!1},path213:{type:"path",points:[{x:.38,y:.4},{x:.12,y:.4}],color:"primary",fill:!1},path214:{type:"path",points:[{x:.12,y:.54},{x:.12,y:.18}],color:"primary",fill:!1},path215:{type:"path",points:[{x:.12,y:-.54},{x:.12,y:0}],color:"primary",fill:!1},path216:{type:"path",points:[{x:.38,y:-.4},{x:.38,y:.4}],color:"primary",fill:!1},path217:{type:"path",points:[{x:-.14,y:.26},{x:-.14,y:-.27}],color:"primary",fill:!1},path218:{type:"path",points:[{x:-.22,y:-.27},{x:-.22,y:.26}],color:"primary",fill:!1},path219:{type:"path",points:[{x:-.54,y:-.27},{x:-.22,y:-.27}],color:"primary",fill:!1},path220:{type:"path",points:[{x:-.14,y:-.19},{x:.12,y:-.19}],color:"primary",fill:!1},path221:{type:"path",points:[{x:-.14,y:.18},{x:.12,y:.18}],color:"primary",fill:!1},path222:{type:"path",points:[{x:-.07,y:0},{x:.12,y:0}],color:"primary",fill:!1}},texts:{right1:{type:"text",text:"{VAL}",x:.57,y:.02},right2:{type:"text",text:"{REF}",x:.57,y:.21}},refblocks:{top1:{x:.12,y:.54},bottom1:{x:.12,y:-.54},left1:{x:-.54,y:-.27}},bounds:{centerX:0,centerY:0}};function cte(t,e){return{width:Math.max(...e.map(n=>Math.abs(n.x-t.x)))*2,height:Math.max(...e.map(n=>Math.abs(n.y-t.y)))*2}}var{paths:yar,texts:Oyn,bounds:Gyn,refblocks:BK}=Car,Yyn={x:Gyn.centerX+.2,y:Gyn.centerY},Uyn=Gl({primitives:[...Object.values(yar),{...Oyn.right1,anchor:"middle_left"},{...Oyn.right2,anchor:"middle_left"}],ports:[{...BK.top1,labels:["1"]},{...BK.bottom1,labels:["2"]},{...BK.left1,labels:["3"]}],size:cte(Yyn,[BK.top1,BK.bottom1,BK.left1]),center:Yyn}),Oet=si(Uyn),Kyn=Oet.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Get=Oet.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Kyn.anchor="middle_top",Get.anchor="middle_top",Kyn.x=Get.x,Get.y+=.15;var xar=Oet,Ear={paths:{"path12-1-8-6-9":{type:"path",points:[{x:.01,y:.07},{x:.01,y:-.01}],color:"primary",fill:!1},"path12-1-5-6":{type:"path",points:[{x:-.47,y:-.09},{x:-.17,y:-.09}],color:"primary",fill:!1},"path12-1-8-0":{type:"path",points:[{x:-.16,y:-.01},{x:.17,y:-.01}],color:"primary",fill:!1},"path12-1-0":{type:"path",points:[{x:.2,y:-.09},{x:.47,y:-.09}],color:"primary",fill:!1},path2:{type:"path",points:[{x:-.1,y:.06},{x:-.1,y:.06},{x:-.1,y:.07},{x:-.1,y:.07},{x:-.1,y:.07},{x:-.1,y:.08},{x:-.1,y:.08},{x:-.1,y:.08},{x:-.1,y:.09},{x:-.09,y:.09},{x:-.09,y:.09},{x:-.09,y:.1},{x:-.09,y:.1},{x:-.09,y:.1},{x:-.09,y:.1},{x:-.09,y:.11},{x:-.09,y:.11},{x:-.08,y:.11},{x:-.08,y:.12},{x:-.08,y:.12},{x:-.08,y:.12},{x:-.08,y:.12},{x:-.07,y:.13},{x:-.07,y:.13},{x:-.07,y:.13},{x:-.07,y:.13},{x:-.06,y:.14},{x:-.06,y:.14},{x:-.06,y:.14},{x:-.06,y:.14},{x:-.05,y:.14},{x:-.05,y:.15},{x:-.05,y:.15},{x:-.04,y:.15},{x:-.04,y:.15},{x:-.04,y:.15},{x:-.04,y:.15},{x:-.03,y:.16},{x:-.03,y:.16},{x:-.03,y:.16},{x:-.02,y:.16},{x:-.02,y:.16},{x:-.02,y:.16},{x:-.01,y:.16},{x:-.01,y:.16},{x:0,y:.16},{x:0,y:.16},{x:0,y:.16},{x:.01,y:.16},{x:.01,y:.16},{x:.01,y:.16},{x:.02,y:.16},{x:.02,y:.16},{x:.02,y:.16},{x:.03,y:.16},{x:.03,y:.16},{x:.03,y:.16},{x:.04,y:.16},{x:.04,y:.16},{x:.04,y:.16},{x:.05,y:.15},{x:.05,y:.15},{x:.05,y:.15},{x:.06,y:.15},{x:.06,y:.15},{x:.06,y:.15},{x:.06,y:.14},{x:.07,y:.14},{x:.07,y:.14},{x:.07,y:.14},{x:.08,y:.14},{x:.08,y:.13},{x:.08,y:.13},{x:.08,y:.13},{x:.09,y:.13},{x:.09,y:.12},{x:.09,y:.12},{x:.09,y:.12},{x:.09,y:.12},{x:.1,y:.11},{x:.1,y:.11},{x:.1,y:.1},{x:.1,y:.1},{x:.11,y:.09},{x:.11,y:.09},{x:.11,y:.09},{x:.11,y:.08},{x:.11,y:.08},{x:.11,y:.08},{x:.11,y:.07},{x:.11,y:.07},{x:.11,y:.07},{x:.11,y:.06},{x:.11,y:.06},{x:.1,y:.06},{x:.1,y:.06},{x:.09,y:.06},{x:.09,y:.06},{x:.08,y:.06},{x:.07,y:.06},{x:.07,y:.06},{x:.06,y:.06},{x:.05,y:.06},{x:.05,y:.06},{x:.04,y:.06},{x:.03,y:.06},{x:.03,y:.06},{x:.02,y:.06},{x:.01,y:.06},{x:.01,y:.06},{x:0,y:.06},{x:-.01,y:.06},{x:-.01,y:.06},{x:-.02,y:.06},{x:-.03,y:.06},{x:-.03,y:.06},{x:-.04,y:.06},{x:-.05,y:.06},{x:-.05,y:.06},{x:-.06,y:.06},{x:-.07,y:.06},{x:-.07,y:.06},{x:-.08,y:.06},{x:-.09,y:.06},{x:-.09,y:.06}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:.01,y:.27},bottom1:{type:"text",text:"{VAL}",x:-.16,y:-.27}},refblocks:{left1:{x:-.47,y:-.09},right1:{x:.47,y:-.09}},bounds:{width:1,height:.53,centerX:0,centerY:0},circles:{}},{paths:Bar,texts:Vyn,bounds:$Ie,refblocks:zyn,circles:bar}=Ear,Jyn=Gl({primitives:[...Object.values(Bar),...Object.values(bar),{...Vyn.top1,anchor:"middle_bottom",x:0},{...Vyn.bottom1,anchor:"middle_top",x:0}],ports:[{...zyn.left1,labels:["1"]},{...zyn.right1,labels:["2"]}],size:{width:$Ie.width,height:$Ie.height},center:{x:$Ie.centerX+.006,y:$Ie.centerY+.06}}),Yet=si(Jyn),lte=Yet.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),qIe=Yet.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");lte.anchor="middle_left",qIe.anchor="middle_right",lte.x=lte.x-.03,lte.y=lte.y,qIe.x=qIe.x,qIe.y=0;var Sar=Yet,t0=({horizontalSymbol:t,verticalSymbol:e,gateSide:n,drainSide:o})=>{let i=n==="left"||n==="right",r=o==="left"||o==="right";if(i===r)throw new Error(`Invalid MOSFET orientation: gate ${n}, drain ${o}. Gate and drain must be perpendicular.`);let s=i?t:e;return(n==="right"||r&&o==="left")&&(s=pK(s)),(n==="bottom"||!r&&o==="bottom")&&(s=hK(s)),s},Qar={paths:{path11:{type:"path",points:[{x:-.42,y:-.1},{x:.05,y:-.11}],color:"primary",fill:!1},path40:{type:"path",points:[{x:.09,y:.19},{x:.09,y:-.18}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.3,y:.55},{x:.3,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.31,y:-.55},{x:.31,y:-.01}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.09,y:.11},{x:.31,y:.11}],color:"primary",fill:!1},"path2-5":{type:"path",points:[{x:.09,y:-.1},{x:.31,y:-.1}],color:"primary",fill:!1},path15:{type:"path",points:[{x:.27,y:-.04},{x:.27,y:.03},{x:.2,y:0},{x:.27,y:-.04}],color:"primary",fill:!0},"path2-0":{type:"path",points:[{x:.09,y:0},{x:.31,y:-.01}],color:"primary",fill:!1},"path12-1-0":{type:"path",points:[{x:.05,y:.17},{x:.05,y:-.11}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.13,y:.36},bottom1:{type:"text",text:"{VAL}",x:.06,y:-.42}},refblocks:{top1:{x:.3,y:.55},bottom1:{x:.31,y:-.55},left1:{x:-.42,y:-.1}},bounds:{centerX:0,centerY:0},circles:{path1:{type:"circle",x:.16,y:0,radius:.29,color:"primary",fill:!1}}},{paths:war,texts:Wyn,bounds:jyn,refblocks:bK,circles:Par}=Qar,$yn={x:jyn.centerX,y:jyn.centerY},r8=Gl({primitives:[...Object.values(war),...Object.values(Par),{...Wyn.top1,anchor:"middle_right",x:0},{...Wyn.bottom1,anchor:"middle_right",x:0}],ports:[{...bK.top1,labels:["1","drain"]},{...bK.bottom1,labels:["2","source"]},{...bK.left1,labels:["3","gate"]}],size:cte($yn,[bK.top1,bK.bottom1,bK.left1]),center:$yn}),qyn=si(r8),Xyn=qyn.primitives.filter(t=>t.type==="text"),Uet=Xyn.find(t=>t.text==="{VAL}");Uet.x=-.35,Uet.y=0,Uet.anchor="middle_right";var Ket=Xyn.find(t=>t.text==="{REF}");Ket.y=0,Ket.x=.35,Ket.anchor="middle_left";var YS=qyn,Mar=t0({horizontalSymbol:r8,verticalSymbol:YS,gateSide:"bottom",drainSide:"left"}),Dar=t0({horizontalSymbol:r8,verticalSymbol:YS,gateSide:"bottom",drainSide:"right"}),Nar=t0({horizontalSymbol:r8,verticalSymbol:YS,gateSide:"left",drainSide:"bottom"}),Rar=t0({horizontalSymbol:r8,verticalSymbol:YS,gateSide:"left",drainSide:"top"}),Tar=t0({horizontalSymbol:r8,verticalSymbol:YS,gateSide:"right",drainSide:"bottom"}),kar=t0({horizontalSymbol:r8,verticalSymbol:YS,gateSide:"right",drainSide:"top"}),Far=t0({horizontalSymbol:r8,verticalSymbol:YS,gateSide:"top",drainSide:"left"}),Lar=t0({horizontalSymbol:r8,verticalSymbol:YS,gateSide:"top",drainSide:"right"}),Har={paths:{path11:{type:"path",points:[{x:-.42,y:-.1},{x:.05,y:-.11}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.3,y:.55},{x:.3,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.31,y:-.55},{x:.31,y:-.01}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.09,y:.11},{x:.31,y:.11}],color:"primary",fill:!1},"path2-8-3-7":{type:"path",points:[{x:.09,y:.15},{x:.09,y:.07}],color:"primary",fill:!1},"path2-5":{type:"path",points:[{x:.09,y:-.1},{x:.31,y:-.1}],color:"primary",fill:!1},"path2-8-3":{type:"path",points:[{x:.09,y:-.08},{x:.09,y:-.15}],color:"primary",fill:!1},"path2-8-3-2":{type:"path",points:[{x:.09,y:.03},{x:.09,y:-.04}],color:"primary",fill:!1},path15:{type:"path",points:[{x:.27,y:-.04},{x:.27,y:.03},{x:.2,y:0},{x:.27,y:-.04}],color:"primary",fill:!0},"path2-0":{type:"path",points:[{x:.09,y:0},{x:.31,y:-.01}],color:"primary",fill:!1},"path12-1-0":{type:"path",points:[{x:.05,y:.11},{x:.05,y:-.11}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.13,y:.36},bottom1:{type:"text",text:"{VAL}",x:.06,y:-.42}},refblocks:{top1:{x:.3,y:.55},bottom1:{x:.31,y:-.55},left1:{x:-.42,y:-.1}},bounds:{centerX:0,centerY:0},circles:{path1:{type:"circle",x:.16,y:0,radius:.29,color:"primary",fill:!1}}},{paths:Oar,texts:Zyn,bounds:e2n,refblocks:SK,circles:Gar}=Har,t2n={x:e2n.centerX,y:e2n.centerY},s8=Gl({primitives:[...Object.values(Oar),...Object.values(Gar),{...Zyn.top1,anchor:"middle_right",x:0},{...Zyn.bottom1,anchor:"middle_right",x:0}],ports:[{...SK.top1,labels:["1","drain"]},{...SK.bottom1,labels:["2","source"]},{...SK.left1,labels:["3","gate"]}],size:cte(t2n,[SK.top1,SK.bottom1,SK.left1]),center:t2n}),n2n=si(s8),o2n=n2n.primitives.filter(t=>t.type==="text"),Vet=o2n.find(t=>t.text==="{VAL}");Vet.x=-.35,Vet.y=0,Vet.anchor="middle_right";var zet=o2n.find(t=>t.text==="{REF}");zet.y=0,zet.x=.35,zet.anchor="middle_left";var US=n2n,Yar=t0({horizontalSymbol:s8,verticalSymbol:US,gateSide:"bottom",drainSide:"left"}),Uar=t0({horizontalSymbol:s8,verticalSymbol:US,gateSide:"bottom",drainSide:"right"}),Kar=t0({horizontalSymbol:s8,verticalSymbol:US,gateSide:"left",drainSide:"bottom"}),Var=t0({horizontalSymbol:s8,verticalSymbol:US,gateSide:"left",drainSide:"top"}),zar=t0({horizontalSymbol:s8,verticalSymbol:US,gateSide:"right",drainSide:"bottom"}),Jar=t0({horizontalSymbol:s8,verticalSymbol:US,gateSide:"right",drainSide:"top"}),War=t0({horizontalSymbol:s8,verticalSymbol:US,gateSide:"top",drainSide:"left"}),jar=t0({horizontalSymbol:s8,verticalSymbol:US,gateSide:"top",drainSide:"right"}),$ar={paths:{path11:{type:"path",points:[{x:-.4,y:0},{x:.06,y:-.01}],color:"primary",fill:!1},path40:{type:"path",points:[{x:.07,y:.19},{x:.07,y:-.18}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.28,y:.55},{x:.28,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.29,y:-.55},{x:.29,y:-.1}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.07,y:.11},{x:.29,y:.11}],color:"primary",fill:!1},"path2-5":{type:"path",points:[{x:.07,y:-.1},{x:.29,y:-.1}],color:"primary",fill:!1},path15:{type:"path",points:[{x:-.08,y:.06},{x:-.08,y:-.07},{x:.01,y:0},{x:-.08,y:.06}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.15,y:.36},bottom1:{type:"text",text:"{VAL}",x:.04,y:-.42}},refblocks:{top1:{x:.28,y:.55},bottom1:{x:.29,y:-.55},left1:{x:-.4,y:0}},bounds:{width:.85,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.14,y:0,radius:.29,color:"primary",fill:!1}}},{paths:qar,texts:i2n,bounds:XIe,refblocks:Jet,circles:Xar}=$ar,r2n=Gl({primitives:[...Object.values(qar),...Object.values(Xar),{...i2n.top1,anchor:"middle_right",x:0},{...i2n.bottom1,anchor:"middle_right",x:0}],ports:[{...Jet.top1,labels:["1","drain"]},{...Jet.bottom1,labels:["2","source"]},{...Jet.left1,labels:["3","gate"]}],size:{width:XIe.width,height:XIe.height},center:{x:XIe.centerX,y:XIe.centerY}}),s2n=si(r2n),a2n=s2n.primitives.filter(t=>t.type==="text"),Wet=a2n.find(t=>t.text==="{VAL}");Wet.x=-.35,Wet.y=0,Wet.anchor="middle_right";var jet=a2n.find(t=>t.text==="{REF}");jet.y=0,jet.x=.35,jet.anchor="middle_left";var Zar=s2n,eAr={paths:{diag1:{type:"path",points:[{x:-.1,y:-.1},{x:.1,y:.1}],color:"primary",fill:!1},diag2:{type:"path",points:[{x:-.1,y:.1},{x:.1,y:-.1}],color:"primary",fill:!1},stem:{type:"path",points:[{x:-.2,y:0},{x:0,y:0}],color:"primary",fill:!1}},refblocks:{left1:{x:-.2,y:0}},bounds:{centerX:0,centerY:0}},{paths:tAr,bounds:A2n,refblocks:nAr}=eAr,ZIe=Ln({primitives:[...Object.values(tAr)],ports:[{...nAr.left1,labels:["1"]}],center:{x:A2n.centerX,y:A2n.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).build(),oAr=si(ZIe,"down"),iAr=si(ZIe,"left"),rAr=si(ZIe,"up"),QK={paths:{path11:{type:"path",points:[{x:-.4,y:0},{x:.06,y:-.01}],color:"primary",fill:!1},"path40-0":{type:"path",points:[{x:.07,y:.27},{x:.07,y:-.28}],color:"primary",fill:!1},"path40-0-5":{type:"path",points:[{x:.28,y:.24},{x:.08,y:.11}],color:"primary",fill:!1},"path40-0-5-0":{type:"path",points:[{x:.29,y:-.24},{x:.09,y:-.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.29,y:.25},{x:.29,y:.55}],color:"primary",fill:!1},"path12-1-5-3":{type:"path",points:[{x:.29,y:-.55},{x:.29,y:-.25}],color:"primary",fill:!1},path15:{type:"path",points:[{x:.19,y:-.1},{x:.12,y:-.2},{x:.22,y:-.2},{x:.19,y:-.1}],color:"primary",fill:!0}},refblocks:{top1:{x:.29,y:.55},bottom1:{x:.29,y:-.55},left1:{x:-.4,y:0}},bounds:{width:.85,height:1.16,centerX:0,centerY:0},circles:{"path1-0":{type:"circle",x:.14,y:0,radius:.29,color:"primary",fill:!1}}},{paths:sAr,bounds:eCe,refblocks:$et,circles:aAr}=QK,AAr=Ln({primitives:[...Object.values(sAr),...Object.values(aAr),{type:"text",text:"{REF}",x:-.3,y:.5094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.5094553499999995}],ports:[{...$et.top1,labels:["1","collector"]},{...$et.bottom1,labels:["3","emitter"]},{...$et.left1,labels:["2","base"]}],size:{width:eCe.width,height:eCe.height},center:{x:eCe.centerX,y:eCe.centerY}}).rotateRightFacingSymbol("right").changeTextAnchor("{REF}","middle_right").changeTextAnchor("{VAL}","middle_right").build(),{paths:cAr,bounds:tCe,refblocks:qet,circles:lAr}=QK,uAr=Ln({primitives:[...Object.values(cAr),...Object.values(lAr),{type:"text",text:"{REF}",x:.55,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.4094553499999995}],ports:[{...qet.top1,labels:["1","collector"]},{...qet.bottom1,labels:["3","emitter"]},{...qet.left1,labels:["2","base"]}],size:{width:tCe.width,height:tCe.height},center:{x:tCe.centerX,y:tCe.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),{paths:gAr,bounds:nCe,refblocks:Xet,circles:dAr}=QK,hAr=Ln({primitives:[...Object.values(gAr),...Object.values(dAr),{type:"text",text:"{REF}",x:-.5,y:.3094553499999995},{type:"text",text:"{VAL}",x:.55,y:.3094553499999995}],ports:[{...Xet.top1,labels:["1","collector"]},{...Xet.bottom1,labels:["3","emitter"]},{...Xet.left1,labels:["2","base"]}],size:{width:nCe.width,height:nCe.height},center:{x:nCe.centerX,y:nCe.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),{paths:pAr,bounds:oCe,refblocks:Zet,circles:mAr}=QK,_Ar=Ln({primitives:[...Object.values(pAr),...Object.values(mAr),{type:"text",text:"{REF}",x:.55,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.4094553499999995}],ports:[{...Zet.top1,labels:["1","collector"]},{...Zet.bottom1,labels:["3","emitter"]},{...Zet.left1,labels:["2","base"]}],size:{width:oCe.width,height:oCe.height},center:{x:oCe.centerX,y:oCe.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),{paths:fAr,bounds:iCe,refblocks:ett,circles:IAr}=QK,CAr=Ln({primitives:[...Object.values(fAr),...Object.values(IAr),{type:"text",text:"{REF}",x:-.3,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-.3,y:.4094553499999995}],ports:[{...ett.top1,labels:["1","collector"]},{...ett.bottom1,labels:["3","emitter"]},{...ett.left1,labels:["2","base"]}],size:{width:iCe.width,height:iCe.height},center:{x:iCe.centerX,y:iCe.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),{paths:yAr,bounds:rCe,refblocks:ttt,circles:xAr}=QK,EAr=Ln({primitives:[...Object.values(yAr),...Object.values(xAr),{type:"text",text:"{REF}",x:-.3,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-.3,y:.4094553499999995}],ports:[{...ttt.top1,labels:["1","collector"]},{...ttt.bottom1,labels:["3","emitter"]},{...ttt.left1,labels:["2","base"]}],size:{width:rCe.width,height:rCe.height},center:{x:rCe.centerX,y:rCe.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),BAr={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.32,y:-.21}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.32,y:.31},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.32,y:-.21},{x:-.32,y:.31}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.32,y:.18},{x:-.57,y:.18}],color:"primary",fill:!1},path45:{type:"path",points:[{x:-.32,y:-.09},{x:-.57,y:-.09}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.43,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"rect1577-3":{type:"path",points:[{x:-.19,y:-.09},{x:-.27,y:-.09}],color:"primary",fill:!0},"rect1577-4":{type:"path",points:[{x:-.19,y:.18},{x:-.27,y:.18}],color:"primary",fill:!0},"rect1577-4-7":{type:"path",points:[{x:-.23,y:.14},{x:-.23,y:.22}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.42},bottom1:{type:"text",text:"{VAL}",x:0,y:-.3}},refblocks:{left1:{x:-.57,y:.18},left2:{x:-.57,y:-.09},right1:{x:.43,y:.04}},bounds:{minX:-.57,maxX:.43,minY:-.38,maxY:.27,width:1.09,height:.3,centerX:-.07,centerY:.05},circles:{}},sCe=Ln(BAr).labelPort("left1",["1","inp1"]).labelPort("left2",["2","inp2"]).labelPort("right1",["3","out"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),bAr=si(sCe,"down"),SAr=hK(si(sCe,"left")),QAr=si(sCe,"up"),vAr={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.32,y:-.21}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.32,y:.31},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.32,y:-.21},{x:-.32,y:.31}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.32,y:.18},{x:-.57,y:.18}],color:"primary",fill:!1},path45:{type:"path",points:[{x:-.32,y:-.09},{x:-.57,y:-.09}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.43,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"path44-1":{type:"path",points:[{x:-.1,y:.44},{x:-.1,y:.18}],color:"primary",fill:!1},"path44-2":{type:"path",points:[{x:-.09,y:-.34},{x:-.09,y:-.09}],color:"primary",fill:!1},"rect1577-3":{type:"path",points:[{x:-.19,y:.18},{x:-.27,y:.18}],color:"primary",fill:!0},"rect1577-4":{type:"path",points:[{x:-.19,y:-.09},{x:-.27,y:-.09}],color:"primary",fill:!0},"rect1577-4-7":{type:"path",points:[{x:-.23,y:.14},{x:-.23,y:.22}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:.25,y:.32},bottom1:{type:"text",text:"{VAL}",x:.25,y:-.24}},refblocks:{left1:{x:-.57,y:.18},left2:{x:-.57,y:-.09},right1:{x:.43,y:.04},top2:{x:-.1,y:.44},bottom1:{x:-.09,y:-.34}},bounds:{minX:-.57,maxX:.43,minY:-.38,maxY:.27,width:1.09,height:.3,centerX:-.07,centerY:.05},circles:{}},aCe=Ln(vAr).labelPort("left1",["1","inp1"]).labelPort("left2",["2","inp2"]).labelPort("right1",["4","out"]).labelPort("top2",["5","V+"]).labelPort("bottom1",["3","V-"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),wAr=si(aCe,"down"),PAr=hK(si(aCe,"left")),MAr=si(aCe,"up"),DAr={paths:{path11:{type:"path",points:[{x:-.42,y:-.1},{x:.05,y:-.11}],color:"primary",fill:!1},path40:{type:"path",points:[{x:.09,y:.19},{x:.09,y:-.18}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.3,y:.55},{x:.3,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.31,y:-.55},{x:.31,y:-.01}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.09,y:.11},{x:.31,y:.11}],color:"primary",fill:!1},"path2-5":{type:"path",points:[{x:.09,y:-.1},{x:.31,y:-.1}],color:"primary",fill:!1},path15:{type:"path",points:[{x:.2,y:.03},{x:.2,y:-.04},{x:.27,y:-.01},{x:.2,y:.03}],color:"primary",fill:!0},"path2-0":{type:"path",points:[{x:.09,y:0},{x:.31,y:-.01}],color:"primary",fill:!1},"path12-1-0":{type:"path",points:[{x:.05,y:.17},{x:.05,y:-.11}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.13,y:.36},bottom1:{type:"text",text:"{VAL}",x:.06,y:-.42}},refblocks:{top1:{x:.3,y:.55},bottom1:{x:.31,y:-.55},left1:{x:-.42,y:-.1}},bounds:{centerX:0,centerY:0},circles:{path1:{type:"circle",x:.16,y:0,radius:.29,color:"primary",fill:!1}}},{paths:NAr,texts:c2n,bounds:l2n,refblocks:vK,circles:RAr}=DAr,u2n={x:l2n.centerX,y:l2n.centerY},a8=Gl({primitives:[...Object.values(NAr),...Object.values(RAr),{...c2n.top1,anchor:"middle_right",x:0},{...c2n.bottom1,anchor:"middle_right",x:0}],ports:[{...vK.top1,labels:["1","drain"]},{...vK.bottom1,labels:["2","source"]},{...vK.left1,labels:["3","gate"]}],size:cte(u2n,[vK.top1,vK.bottom1,vK.left1]),center:u2n}),g2n=si(a8),d2n=g2n.primitives.filter(t=>t.type==="text"),ntt=d2n.find(t=>t.text==="{VAL}");ntt.x=-.35,ntt.y=0,ntt.anchor="middle_right";var ott=d2n.find(t=>t.text==="{REF}");ott.y=0,ott.x=.35,ott.anchor="middle_left";var KS=g2n,TAr=t0({horizontalSymbol:a8,verticalSymbol:KS,gateSide:"bottom",drainSide:"left"}),kAr=t0({horizontalSymbol:a8,verticalSymbol:KS,gateSide:"bottom",drainSide:"right"}),FAr=t0({horizontalSymbol:a8,verticalSymbol:KS,gateSide:"left",drainSide:"bottom"}),LAr=t0({horizontalSymbol:a8,verticalSymbol:KS,gateSide:"left",drainSide:"top"}),HAr=t0({horizontalSymbol:a8,verticalSymbol:KS,gateSide:"right",drainSide:"bottom"}),OAr=t0({horizontalSymbol:a8,verticalSymbol:KS,gateSide:"right",drainSide:"top"}),GAr=t0({horizontalSymbol:a8,verticalSymbol:KS,gateSide:"top",drainSide:"left"}),YAr=t0({horizontalSymbol:a8,verticalSymbol:KS,gateSide:"top",drainSide:"right"}),UAr={paths:{path11:{type:"path",points:[{x:-.42,y:-.1},{x:.05,y:-.11}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.3,y:.55},{x:.3,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.31,y:-.55},{x:.31,y:-.01}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.09,y:.11},{x:.31,y:.11}],color:"primary",fill:!1},"path2-8-3-7":{type:"path",points:[{x:.09,y:.15},{x:.09,y:.07}],color:"primary",fill:!1},"path2-5":{type:"path",points:[{x:.09,y:-.1},{x:.31,y:-.1}],color:"primary",fill:!1},"path2-8-3":{type:"path",points:[{x:.09,y:-.08},{x:.09,y:-.15}],color:"primary",fill:!1},"path2-8-3-2":{type:"path",points:[{x:.09,y:.03},{x:.09,y:-.04}],color:"primary",fill:!1},path15:{type:"path",points:[{x:.2,y:.03},{x:.2,y:-.04},{x:.27,y:-.01},{x:.2,y:.03}],color:"primary",fill:!0},"path2-0":{type:"path",points:[{x:.09,y:0},{x:.31,y:-.01}],color:"primary",fill:!1},"path12-1-0":{type:"path",points:[{x:.05,y:.11},{x:.05,y:-.11}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.13,y:.36},bottom1:{type:"text",text:"{VAL}",x:.06,y:-.42}},refblocks:{top1:{x:.3,y:.55},bottom1:{x:.31,y:-.55},left1:{x:-.42,y:-.1}},bounds:{centerX:0,centerY:0},circles:{path1:{type:"circle",x:.16,y:0,radius:.29,color:"primary",fill:!1}}},{paths:KAr,texts:h2n,bounds:p2n,refblocks:wK,circles:VAr}=UAr,m2n={x:p2n.centerX,y:p2n.centerY},A8=Gl({primitives:[...Object.values(KAr),...Object.values(VAr),{...h2n.top1,anchor:"middle_right",x:0},{...h2n.bottom1,anchor:"middle_right",x:0}],ports:[{...wK.top1,labels:["1","drain"]},{...wK.bottom1,labels:["2","source"]},{...wK.left1,labels:["3","gate"]}],size:cte(m2n,[wK.top1,wK.bottom1,wK.left1]),center:m2n}),_2n=si(A8),f2n=_2n.primitives.filter(t=>t.type==="text"),itt=f2n.find(t=>t.text==="{VAL}");itt.x=-.35,itt.y=0,itt.anchor="middle_right";var rtt=f2n.find(t=>t.text==="{REF}");rtt.y=0,rtt.x=.35,rtt.anchor="middle_left";var VS=_2n,zAr=t0({horizontalSymbol:A8,verticalSymbol:VS,gateSide:"bottom",drainSide:"left"}),JAr=t0({horizontalSymbol:A8,verticalSymbol:VS,gateSide:"bottom",drainSide:"right"}),WAr=t0({horizontalSymbol:A8,verticalSymbol:VS,gateSide:"left",drainSide:"bottom"}),jAr=t0({horizontalSymbol:A8,verticalSymbol:VS,gateSide:"left",drainSide:"top"}),$Ar=t0({horizontalSymbol:A8,verticalSymbol:VS,gateSide:"right",drainSide:"bottom"}),qAr=t0({horizontalSymbol:A8,verticalSymbol:VS,gateSide:"right",drainSide:"top"}),XAr=t0({horizontalSymbol:A8,verticalSymbol:VS,gateSide:"top",drainSide:"left"}),ZAr=t0({horizontalSymbol:A8,verticalSymbol:VS,gateSide:"top",drainSide:"right"}),ecr={paths:{path11:{type:"path",points:[{x:-.54,y:-.01},{x:-.15,y:-.02}],color:"primary",fill:!1},path40:{type:"path",points:[{x:.13,y:0},{x:-.13,y:-.13}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.13,y:.13},{x:.13,y:0}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.13,y:-.13},{x:-.13,y:.13}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.13,y:.13},{x:.13,y:-.13}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.14,y:0},{x:.54,y:-.01}],color:"primary",fill:!1},"path25-0":{type:"path",points:[{x:.2,y:.38},{x:.16,y:.28},{x:.26,y:.3}],color:"primary",fill:!0},"path78-6":{type:"path",points:[{x:.33,y:.43},{x:.32,y:.42},{x:.21,y:.31},{x:.21,y:.31}],color:"primary",fill:!1},"path25-0-9":{type:"path",points:[{x:.35,y:.35},{x:.31,y:.26},{x:.41,y:.27}],color:"primary",fill:!0},"path78-6-5":{type:"path",points:[{x:.48,y:.4},{x:.47,y:.39},{x:.35,y:.29},{x:.35,y:.29}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.1,y:.35},bottom1:{type:"text",text:"{VAL}",x:0,y:-.43}},refblocks:{left1:{x:-.54,y:-.01},right1:{x:.54,y:-.01}},bounds:{minX:-.57,maxX:.57,minY:-.43,maxY:.43,width:1.14,height:.85,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:-.01,radius:.29,color:"primary",fill:!1}}},I2n=Ln(ecr).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),C2n=si(I2n),tcr=C2n.primitives.filter(t=>t.type==="text"),y2n=tcr.find(t=>t.text==="{REF}");y2n.y=0,y2n.anchor="middle_left";var ncr=C2n,ocr={paths:{path11:{type:"path",points:[{x:-.4,y:0},{x:.06,y:-.01}],color:"primary",fill:!1},path40:{type:"path",points:[{x:.07,y:.19},{x:.07,y:-.18}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.28,y:.55},{x:.28,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.29,y:-.55},{x:.29,y:-.1}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.07,y:.11},{x:.29,y:.11}],color:"primary",fill:!1},"path2-5":{type:"path",points:[{x:.07,y:-.1},{x:.29,y:-.1}],color:"primary",fill:!1},path15:{type:"path",points:[{x:.01,y:-.07},{x:.01,y:.06},{x:-.08,y:0},{x:.01,y:-.07}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.15,y:.36},bottom1:{type:"text",text:"{VAL}",x:.04,y:-.42}},refblocks:{top1:{x:.28,y:.55},bottom1:{x:.29,y:-.55},left1:{x:-.4,y:0}},bounds:{width:.85,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.14,y:0,radius:.29,color:"primary",fill:!1}}},{paths:icr,texts:x2n,bounds:ACe,refblocks:stt,circles:rcr}=ocr,E2n=Gl({primitives:[...Object.values(icr),...Object.values(rcr),{...x2n.top1,anchor:"middle_right",x:0},{...x2n.bottom1,anchor:"middle_right"}],ports:[{...stt.top1,labels:["1","drain"]},{...stt.bottom1,labels:["2","source"]},{...stt.left1,labels:["3","gate"]}],size:{width:ACe.width,height:ACe.height},center:{x:ACe.centerX,y:ACe.centerY}}),B2n=si(E2n),b2n=B2n.primitives.filter(t=>t.type==="text"),att=b2n.find(t=>t.text==="{VAL}");att.x=-.35,att.y=0,att.anchor="middle_right";var Att=b2n.find(t=>t.text==="{REF}");Att.y=0,Att.x=.35,Att.anchor="middle_left";var scr=B2n,uk={paths:{path11:{type:"path",points:[{x:-.4,y:0},{x:.06,y:-.01}],color:"primary",fill:!1},"path40-0":{type:"path",points:[{x:.07,y:.27},{x:.07,y:-.28}],color:"primary",fill:!1},"path40-0-5":{type:"path",points:[{x:.28,y:.24},{x:.08,y:.11}],color:"primary",fill:!1},"path40-0-5-0":{type:"path",points:[{x:.29,y:-.24},{x:.09,y:-.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.29,y:.25},{x:.29,y:.55}],color:"primary",fill:!1},"path12-1-5-3":{type:"path",points:[{x:.29,y:-.55},{x:.29,y:-.25}],color:"primary",fill:!1},path15:{type:"path",points:[{x:.15,y:-.23},{x:.22,y:-.12},{x:.12,y:-.12},{x:.15,y:-.23}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.08,y:.37},bottom1:{type:"text",text:"{VAL}",x:-.07,y:-.41}},refblocks:{top1:{x:.29,y:.55},bottom1:{x:.29,y:-.55},left1:{x:-.4,y:0}},bounds:{minX:-.43,maxX:.43,minY:-.58,maxY:.58,width:.85,height:1.16,centerX:0,centerY:0},circles:{"path1-0":{type:"circle",x:.14,y:0,radius:.29,color:"primary",fill:!1}}},{paths:acr,texts:u_r,bounds:cCe,refblocks:ctt,circles:Acr}=uk,ccr=Ln({primitives:[...Object.values(acr),...Object.values(Acr),{type:"text",text:"{REF}",x:-.1,y:.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:-.3094553499999995}],ports:[{...ctt.top1,labels:["1","collector"]},{...ctt.bottom1,labels:["3","emitter"]},{...ctt.left1,labels:["2","base"]}],size:{width:cCe.width,height:cCe.height},center:{x:cCe.centerX,y:cCe.centerY}}).rotateRightFacingSymbol("right").changeTextAnchor("{REF}","middle_right").changeTextAnchor("{VAL}","middle_right").build(),{paths:g_r,texts:d_r,bounds:h_r,refblocks:p_r,circles:m_r}=uk,lcr=Ln(uk).rotateRightFacingSymbol("up").changeTextAnchor("{VAL}","middle_left").labelPort("left1",["2","base"]).labelPort("top1",["1","collector"]).labelPort("bottom1",["3","emitter"]).changeTextAnchor("{REF}","middle_right").build(),{paths:ucr,texts:__r,bounds:lCe,refblocks:ltt,circles:gcr}=uk,dcr=Ln({primitives:[...Object.values(ucr),...Object.values(gcr),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...ltt.top1,labels:["1","collector"]},{...ltt.bottom1,labels:["3","emitter"]},{...ltt.left1,labels:["2","base"]}],size:{width:lCe.width,height:lCe.height},center:{x:lCe.centerX,y:lCe.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_bottom").build(),{paths:hcr,texts:f_r,bounds:uCe,refblocks:utt,circles:pcr}=uk,mcr=Ln({primitives:[...Object.values(hcr),...Object.values(pcr),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...utt.top1,labels:["1","collector"]},{...utt.bottom1,labels:["3","emitter"]},{...utt.left1,labels:["2","base"]}],size:{width:uCe.width,height:uCe.height},center:{x:uCe.centerX,y:uCe.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_top").changeTextAnchor("{VAL}","middle_top").build(),{paths:_cr,texts:I_r,bounds:gCe,refblocks:gtt,circles:fcr}=uk,Icr=Ln({primitives:[...Object.values(_cr),...Object.values(fcr),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...gtt.top1,labels:["1","collector"]},{...gtt.bottom1,labels:["3","emitter"]},{...gtt.left1,labels:["2","base"]}],size:{width:gCe.width,height:gCe.height},center:{x:gCe.centerX,y:gCe.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),{paths:Ccr,texts:C_r,bounds:dCe,refblocks:dtt,circles:ycr}=uk,xcr=Ln({primitives:[...Object.values(Ccr),...Object.values(ycr),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...dtt.top1,labels:["1","collector"]},{...dtt.bottom1,labels:["3","emitter"]},{...dtt.left1,labels:["2","base"]}],size:{width:dCe.width,height:dCe.height},center:{x:dCe.centerX,y:dCe.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),Ecr={paths:{path40:{type:"path",points:[{x:-.19,y:.33},{x:-.26,y:.14}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.38,y:.26},{x:-.19,y:.33}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.26,y:.14},{x:-.38,y:.26}],color:"primary",fill:!1},path43:{type:"path",points:[{x:-.26,y:.39},{x:-.13,y:.26}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.32,y:.2},{x:-.52,y:0}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:0,y:.52},{x:-.19,y:.33}],color:"primary",fill:!1},"path40-4":{type:"path",points:[{x:-.19,y:-.32},{x:-.38,y:-.26}],color:"primary",fill:!1},"path41-1":{type:"path",points:[{x:-.26,y:-.13},{x:-.19,y:-.32}],color:"primary",fill:!1},"path42-7":{type:"path",points:[{x:-.38,y:-.26},{x:-.26,y:-.13}],color:"primary",fill:!1},"path43-1":{type:"path",points:[{x:-.13,y:-.26},{x:-.26,y:-.39}],color:"primary",fill:!1},"path44-8":{type:"path",points:[{x:-.32,y:-.19},{x:-.51,y:-.01}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:-.01,y:-.5},{x:-.19,y:-.32}],color:"primary",fill:!1},"path40-4-0":{type:"path",points:[{x:.32,y:.19},{x:.13,y:.26}],color:"primary",fill:!1},"path41-1-2":{type:"path",points:[{x:.26,y:.38},{x:.32,y:.19}],color:"primary",fill:!1},"path42-7-1":{type:"path",points:[{x:.13,y:.26},{x:.26,y:.38}],color:"primary",fill:!1},"path43-1-8":{type:"path",points:[{x:.39,y:.26},{x:.26,y:.13}],color:"primary",fill:!1},"path44-8-7":{type:"path",points:[{x:.2,y:.32},{x:.01,y:.51}],color:"primary",fill:!1},"path44-0-7-1":{type:"path",points:[{x:.52,y:0},{x:.32,y:.19}],color:"primary",fill:!1},"path40-4-8":{type:"path",points:[{x:.32,y:-.19},{x:.26,y:-.38}],color:"primary",fill:!1},"path41-1-4":{type:"path",points:[{x:.13,y:-.26},{x:.32,y:-.19}],color:"primary",fill:!1},"path42-7-0":{type:"path",points:[{x:.26,y:-.38},{x:.13,y:-.26}],color:"primary",fill:!1},"path43-1-0":{type:"path",points:[{x:.26,y:-.13},{x:.39,y:-.26}],color:"primary",fill:!1},"path44-8-9":{type:"path",points:[{x:.19,y:-.32},{x:0,y:-.52}],color:"primary",fill:!1},"path44-0-7-3":{type:"path",points:[{x:.5,y:-.01},{x:.32,y:-.19}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.29,y:.46},bottom1:{type:"text",text:"{VAL}",x:-.29,y:-.5}},refblocks:{left1:{x:-.52,y:0},right1:{x:.52,y:0}},bounds:{width:1.09,height:1.09,centerX:0,centerY:0}},{paths:Bcr,texts:S2n,bounds:hCe,refblocks:Q2n}=Ecr,v2n=Gl({primitives:[...Object.values(Bcr),{...S2n.bottom1,y:.35,anchor:"middle_top"},{...S2n.top1,anchor:"middle_left"}],ports:[{...Q2n.left1,labels:["1"]},{...Q2n.right1,labels:["2"]}],size:{width:hCe.width+.05,height:hCe.height},center:{x:hCe.centerX,y:hCe.centerY}}),bcr=si(v2n),Scr=bcr,Qcr={paths:{path18:{type:"path",points:[{x:-.53,y:0},{x:-.27,y:0}],color:"primary",fill:!1},path19:{type:"path",points:[{x:.26,y:0},{x:.53,y:0}],color:"primary",fill:!1},path20:{type:"path",points:[{x:0,y:.13},{x:.26,y:.13},{x:.26,y:-.13},{x:-.27,y:-.13},{x:-.27,y:.13},{x:0,y:.13}],color:"primary",fill:!1},path24:{type:"path",points:[{x:.29,y:-.29},{x:.26,y:-.16},{x:.16,y:-.26},{x:.29,y:-.29}],color:"primary",fill:!0},path26:{type:"path",points:[{x:-.3,y:.29},{x:.2,y:-.2}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:.06,y:.2},bottom1:{type:"text",text:"{VAL}",x:-.1,y:-.28}},refblocks:{left1:{x:-.53,y:0},right1:{x:.53,y:0}},bounds:{width:1.13,height:.58,centerX:0,centerY:0}},{paths:vcr,texts:w2n,bounds:pCe,refblocks:P2n}=Qcr,mCe=Gl({primitives:[...Object.values(vcr),{...w2n.bottom1,x:0,y:-.35,anchor:"middle_top"},{...w2n.top1,x:0,y:.35,anchor:"middle_bottom"}],ports:[{...P2n.left1,labels:["1"]},{...P2n.right1,labels:["2"]}],size:{width:pCe.width+.05,height:pCe.height},center:{x:pCe.centerX,y:pCe.centerY}}),htt=si(mCe,"down"),ptt=htt.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),mtt=htt.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ptt.anchor="middle_left",mtt.anchor="middle_left",ptt.y+=.31,ptt.x=.34,mtt.y-=.31,mtt.x=.34;var wcr=htt,_tt=si(mCe,"left"),ftt=_tt.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Itt=_tt.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ftt.anchor="middle_bottom",Itt.anchor="middle_top",ftt.y+=.73,ftt.x=0,Itt.y-=.7,Itt.x=0;var Pcr=_tt,Ctt=si(mCe,"up"),ytt=Ctt.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),xtt=Ctt.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ytt.anchor="middle_left",xtt.anchor="middle_left",ytt.y+=.21,ytt.x=.34,xtt.y-=.21,xtt.x=.34;var Mcr=Ctt,_Ce={paths:{path1:{type:"path",points:[{x:-.42,y:0},{x:-.3,y:0}],color:"primary",fill:!1},"path1-2-1":{type:"path",points:[{x:-.3,y:0},{x:-.25,y:.1},{x:-.15,y:-.1},{x:-.05,y:.1},{x:.05,y:-.1},{x:.15,y:.1},{x:.25,y:-.1},{x:.3,y:0}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.3,y:0},{x:.42,y:0}],color:"primary",fill:!1},path3:{type:"path",points:[{x:0,y:-.17},{x:0,y:-.4}],color:"primary",fill:!1},path15:{type:"path",points:[{x:0,y:-.12},{x:.05,y:-.2},{x:-.05,y:-.2},{x:0,y:-.12}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:.3,y:.25},bottom1:{type:"text",text:"{VAL}",x:.3,y:-.25}},refblocks:{left:{x:-.42,y:0},right:{x:.42,y:0},bottom:{x:0,y:-.4}},bounds:{minX:-.42,maxX:.42,minY:-.2,maxY:.2,width:.84,height:.4,centerX:0,centerY:0},circles:{}},{paths:Dcr,texts:y_r,bounds:fCe,refblocks:Ett,circles:Ncr}=_Ce,Rcr=Ln({primitives:[...Object.values(Dcr),...Object.values(Ncr),{type:"text",text:"{REF}",x:-.15,y:.2394553499999995},{type:"text",text:"{VAL}",x:.15,y:.2394553499999995}],ports:[{...Ett.left,labels:["1"]},{...Ett.right,labels:["3"]},{...Ett.bottom,labels:["2"]}],size:{width:fCe.width,height:fCe.height},center:{x:fCe.centerX,y:fCe.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),{paths:Tcr,texts:x_r,bounds:ICe,refblocks:Btt,circles:kcr}=_Ce,Fcr=Ln({primitives:[...Object.values(Tcr),...Object.values(kcr),{type:"text",text:"{REF}",x:-.3,y:-.3894553499999995},{type:"text",text:"{VAL}",x:-.3,y:.3194553499999995}],ports:[{...Btt.left,labels:["1"]},{...Btt.right,labels:["3"]},{...Btt.bottom,labels:["2"]}],size:{width:ICe.width,height:ICe.height},center:{x:ICe.centerX,y:ICe.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),Lcr=Ln(_Ce).labelPort("left",["1"]).labelPort("right",["3"]).labelPort("bottom",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),{paths:Hcr,texts:E_r,bounds:CCe,refblocks:btt,circles:Ocr}=_Ce,Gcr=Ln({primitives:[...Object.values(Hcr),...Object.values(Ocr),{type:"text",text:"{REF}",x:.3,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.2894553499999995}],ports:[{...btt.left,labels:["1"]},{...btt.right,labels:["3"]},{...btt.bottom,labels:["2"]}],size:{width:CCe.width,height:CCe.height},center:{x:CCe.centerX,y:CCe.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),Ycr={paths:{path11:{type:"path",points:[{x:-.54,y:.03},{x:-.3,y:.03}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:.03},{x:.54,y:.03}],color:"primary",fill:!1}},refblocks:{left1:{x:-.54,y:.03},right1:{x:.54,y:.03}},bounds:{width:1.14,height:.79,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.04,radius:.29,color:"primary",fill:!1}}},{paths:Ucr,bounds:yCe,refblocks:M2n,circles:Kcr}=Ycr,D2n=Gl({primitives:[...Object.values(Ucr),...Object.values(Kcr),{type:"text",text:"{REF}",x:0,y:.43330070000000065,anchor:"middle_bottom"},{type:"text",text:"{VAL}",x:0,y:-.43330070000000065,anchor:"middle_top"},{type:"text",text:"COS φ",x:0,y:.014279000000000375,anchor:"center"}],ports:[{...M2n.left1,labels:["1"]},{...M2n.right1,labels:["2"]}],size:{width:yCe.width,height:yCe.height},center:{x:yCe.centerX,y:yCe.centerY}}),N2n=si(D2n),Stt=N2n.primitives.filter(t=>t.type==="text"),Qtt=Stt.find(t=>t.text==="{REF}"),vtt=Stt.find(t=>t.text==="{VAL}"),wtt=Stt.find(t=>t.text==="COS φ");Qtt.x=.35,Qtt.y=.4279000000000375,Qtt.anchor="middle_left",vtt.anchor="middle_left",vtt.x=.35,vtt.y=-.4279000000000375,wtt.x=0,wtt.y=.014279000000000375,wtt.anchor="center";var Vcr=N2n,zcr={paths:{"path12-1-8-6-9-9":{type:"path",points:[{x:.01,y:.03},{x:.01,y:-.09}],color:"primary",fill:!1},"path12-1-5-6-4":{type:"path",points:[{x:-.47,y:-.05},{x:-.17,y:-.05}],color:"primary",fill:!1},"path12-1-8-0-0":{type:"path",points:[{x:-.16,y:-.09},{x:.18,y:-.09}],color:"primary",fill:!1},"path12-1-0-1":{type:"path",points:[{x:.2,y:-.05},{x:.47,y:-.05}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:.01,y:.22},bottom1:{type:"text",text:"{VAL}",x:-.16,y:-.22}},refblocks:{left1:{x:-.47,y:-.05},right1:{x:.47,y:-.05}},bounds:{centerX:0,centerY:0},circles:{"circle-2":{type:"circle",x:-.14,y:-.05,radius:.02,color:"primary",fill:!1},circle:{type:"circle",x:.17,y:-.05,radius:.02,color:"primary",fill:!1}}},{paths:Jcr,texts:R2n,bounds:T2n,refblocks:k2n,circles:Wcr}=zcr,F2n=Gl({primitives:[...Object.values(Jcr),...Object.values(Wcr),{...R2n.top1,anchor:"middle_left"},{...R2n.bottom1,anchor:"middle_left"}],ports:[{...k2n.left1,labels:["1"]},{...k2n.right1,labels:["2"]}],center:{x:T2n.centerX,y:T2n.centerY}}),jcr=si(F2n,"up"),L2n={paths:{"path12-1-8-6-9-9":{type:"path",points:[{x:-.05,y:.09},{x:-.05,y:.04}],color:"primary",fill:!1},"path12-1-8-7-9-9":{type:"path",points:[{x:-.05,y:.09},{x:.07,y:.09}],color:"primary",fill:!1},"path12-1-8-6-9-10":{type:"path",points:[{x:.07,y:.09},{x:.07,y:.04}],color:"primary",fill:!1},"path12-1-5-6-4":{type:"path",points:[{x:-.47,y:-.05},{x:-.17,y:-.05}],color:"primary",fill:!1},"path12-1-8-0-0":{type:"path",points:[{x:-.16,y:.04},{x:.18,y:.04}],color:"primary",fill:!1},"path12-1-0-1":{type:"path",points:[{x:.2,y:-.05},{x:.47,y:-.05}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:.01,y:.29},bottom1:{type:"text",text:"{VAL}",x:-.16,y:-.22}},refblocks:{left1:{x:-.47,y:-.05},right1:{x:.47,y:-.05}},bounds:{centerX:0,centerY:0},circles:{"circle-2":{type:"circle",x:-.14,y:-.05,radius:.02,color:"primary",fill:!1},circle:{type:"circle",x:.17,y:-.05,radius:.02,color:"primary",fill:!1}}},{paths:$cr,texts:H2n,bounds:O2n,refblocks:G2n,circles:qcr}=L2n,ute=Gl({primitives:[...Object.values($cr),...Object.values(qcr),{...H2n.top1,x:0,y:.3594553499999995,anchor:"middle_bottom"},{...H2n.bottom1,x:0,y:-.3594553499999995,anchor:"middle_top"}],ports:[{...G2n.left1,labels:["1"]},{...G2n.right1,labels:["2"]}],center:{x:O2n.centerX,y:O2n.centerY}}),Ptt=si(ute,"down"),Mtt=Ptt.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Dtt=Ptt.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Mtt.anchor="middle_bottom",Dtt.anchor="middle_top",Mtt.y=.4,Mtt.x=.35,Dtt.y=-.4,Dtt.x=.35;var Xcr=Ptt,{paths:Zcr,texts:Y2n,bounds:U2n,refblocks:K2n,circles:elr}=L2n,tlr=Gl({primitives:[...Object.values(Zcr),...Object.values(elr),{...Y2n.top1,x:0,y:.3594553499999995,anchor:"middle_bottom"},{...Y2n.bottom1,x:0,y:-.3594553499999995,anchor:"middle_top"}],ports:[{...K2n.left1,labels:["1"]},{...K2n.right1,labels:["2"]}],center:{x:U2n.centerX,y:U2n.centerY}}),Ntt=si(ute,"left"),Rtt=Ntt.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ttt=Ntt.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Rtt.anchor="middle_bottom",Ttt.anchor="middle_top",Rtt.y=.4,Rtt.x=0,Ttt.y=-.4,Ttt.x=0;var nlr=Ntt,ktt=si(ute,"up"),Ftt=ktt.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ltt=ktt.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ftt.anchor="middle_left",Ltt.anchor="middle_left",Ftt.y+=.4,Ftt.x=.34,Ltt.y-=.41,Ltt.x=.34;var olr=ktt,Htt=si(ute,"up"),Ott=Htt.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Gtt=Htt.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ott.anchor="middle_left",Gtt.anchor="middle_left",Ott.y+=.4,Ott.x=.34,Gtt.y-=.41,Gtt.x=.34;var ilr=Htt,xCe={paths:{path12_rotated:{type:"path",points:[{x:-.09,y:.12},{x:-.09,y:-.12}],color:"primary",fill:!1},path2_rotated:{type:"path",points:[{x:-.09,y:0},{x:.09,y:0}],color:"primary",fill:!1}},refblocks:{left1:{x:.09,y:0}},bounds:{centerX:0,centerY:0},circles:{}},{paths:rlr,bounds:V2n,refblocks:slr,circles:alr}=xCe,Alr=Ln({primitives:[...Object.values(rlr),...Object.values(alr),{type:"text",text:"{REF}",x:-.14,y:-0}],ports:[{...slr.left1,labels:["1"]}],center:{x:V2n.centerX,y:V2n.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build(),{paths:clr,bounds:z2n,refblocks:llr,circles:ulr}=xCe,glr=Ln({primitives:[...Object.values(clr),...Object.values(ulr),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...llr.left1,labels:["1"]}],center:{x:z2n.centerX,y:z2n.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build(),{paths:dlr,bounds:J2n,refblocks:hlr,circles:plr}=xCe,mlr=Ln({primitives:[...Object.values(dlr),...Object.values(plr),{type:"text",text:"{REF}",x:-.14,y:-0}],ports:[{...hlr.left1,labels:["1"]}],center:{x:J2n.centerX,y:J2n.centerY}}).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build(),{paths:_lr,bounds:W2n,refblocks:flr}=xCe,Ilr=Ln({primitives:[...Object.values(_lr),{type:"text",text:"{REF}",x:-.14,y:0}],ports:[{...flr.left1,labels:["1"]}],center:{x:W2n.centerX,y:W2n.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build(),Clr={paths:{path40:{type:"path",points:[{x:-.19,y:-.33},{x:-.26,y:-.14}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.38,y:-.26},{x:-.19,y:-.33}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.26,y:-.14},{x:-.38,y:-.26}],color:"primary",fill:!1},path43:{type:"path",points:[{x:-.26,y:-.39},{x:-.13,y:-.26}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.32,y:-.2},{x:-.52,y:0}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:0,y:-.52},{x:-.19,y:-.33}],color:"primary",fill:!1},"path40-4":{type:"path",points:[{x:-.19,y:.32},{x:-.38,y:.26}],color:"primary",fill:!1},"path41-1":{type:"path",points:[{x:-.26,y:.13},{x:-.19,y:.32}],color:"primary",fill:!1},"path42-7":{type:"path",points:[{x:-.38,y:.26},{x:-.26,y:.13}],color:"primary",fill:!1},"path43-1":{type:"path",points:[{x:-.13,y:.26},{x:-.26,y:.39}],color:"primary",fill:!1},"path44-8":{type:"path",points:[{x:-.32,y:.19},{x:-.51,y:.01}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:-.01,y:.5},{x:-.19,y:.32}],color:"primary",fill:!1},"path40-4-0":{type:"path",points:[{x:.32,y:-.19},{x:.13,y:-.26}],color:"primary",fill:!1},"path41-1-2":{type:"path",points:[{x:.26,y:-.38},{x:.32,y:-.19}],color:"primary",fill:!1},"path42-7-1":{type:"path",points:[{x:.13,y:-.26},{x:.26,y:-.38}],color:"primary",fill:!1},"path43-1-8":{type:"path",points:[{x:.39,y:-.26},{x:.26,y:-.13}],color:"primary",fill:!1},"path44-8-7":{type:"path",points:[{x:.2,y:-.32},{x:.01,y:-.51}],color:"primary",fill:!1},"path44-0-7-1":{type:"path",points:[{x:.52,y:0},{x:.32,y:-.19}],color:"primary",fill:!1},"path40-4-8":{type:"path",points:[{x:.32,y:.19},{x:.26,y:.38}],color:"primary",fill:!1},"path41-1-4":{type:"path",points:[{x:.13,y:.26},{x:.32,y:.19}],color:"primary",fill:!1},"path42-7-0":{type:"path",points:[{x:.26,y:.38},{x:.13,y:.26}],color:"primary",fill:!1},"path43-1-0":{type:"path",points:[{x:.26,y:.13},{x:.39,y:.26}],color:"primary",fill:!1},"path44-8-9":{type:"path",points:[{x:.19,y:.32},{x:0,y:.52}],color:"primary",fill:!1},"path44-0-7-3":{type:"path",points:[{x:.5,y:.01},{x:.32,y:.19}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.29,y:-.46},bottom1:{type:"text",text:"{VAL}",x:-.29,y:.5}},refblocks:{top1:{x:0,y:-.52},bottom1:{x:0,y:.52},left1:{x:-.52,y:0},right1:{x:.52,y:0}},bounds:{width:1.09,height:1.1,centerX:0,centerY:0},circles:{}},{paths:ylr,texts:j2n,bounds:ECe,refblocks:BCe,circles:xlr}=Clr,$2n=Gl({primitives:[...Object.values(ylr),...Object.values(xlr),{...j2n.top1,anchor:"middle_right"},{...j2n.bottom1,anchor:"middle_right"}],ports:[{...BCe.top1,labels:["1"]},{...BCe.bottom1,labels:["2"]},{...BCe.left1,labels:["3"]},{...BCe.right1,labels:["4"]}],size:{width:ECe.width,height:ECe.height},center:{x:ECe.centerX,y:ECe.centerY}}),Ytt=si($2n),Elr=Ytt.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Blr=Ytt.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Elr.anchor="middle_left",Blr.anchor="middle_right";var blr=Ytt,bCe={paths:{path27:{type:"path",points:[{x:.47,y:.04},{x:.21,y:.04}],color:"primary",fill:!1},"path27-0":{type:"path",points:[{x:-.21,y:.04},{x:-.47,y:.04}],color:"primary",fill:!1},"path27-8-2-4":{type:"path",points:[{x:.21,y:.04},{x:.19,y:-.05}],color:"primary",fill:!1},"path27-8-2-4-29":{type:"path",points:[{x:-.19,y:.14},{x:-.21,y:.04}],color:"primary",fill:!1},"path27-8-2-4-5":{type:"path",points:[{x:.19,y:-.05},{x:.13,y:.14}],color:"primary",fill:!1},"path27-8-2-4-5-1":{type:"path",points:[{x:.08,y:-.05},{x:.13,y:.14}],color:"primary",fill:!1},"path27-8-2-4-5-1-9":{type:"path",points:[{x:.08,y:-.05},{x:.03,y:.14}],color:"primary",fill:!1},"path27-8-2-4-5-1-9-2":{type:"path",points:[{x:-.03,y:-.05},{x:.03,y:.14}],color:"primary",fill:!1},"path27-8-2-4-5-1-9-2-1":{type:"path",points:[{x:-.03,y:-.05},{x:-.08,y:.14}],color:"primary",fill:!1},"path27-8-2-4-5-1-9-2-1-2":{type:"path",points:[{x:-.13,y:-.05},{x:-.08,y:.14}],color:"primary",fill:!1},"path27-8-2-4-5-1-9-2-1-2-2":{type:"path",points:[{x:-.13,y:-.05},{x:-.19,y:.14}],color:"primary",fill:!1}},refblocks:{left1:{x:-.47,y:.04},right1:{x:.47,y:.04}},bounds:{width:.99,height:.84,centerX:0,centerY:0},circles:{}},{paths:Slr,bounds:SCe,refblocks:q2n,circles:Qlr}=bCe,vlr=Ln({primitives:[...Object.values(Slr),...Object.values(Qlr),{type:"text",text:"{REF}",x:-.2,y:.2194553499999995},{type:"text",text:"{VAL}",x:.2,y:.2194553499999995}],ports:[{...q2n.left1,labels:["1"]},{...q2n.right1,labels:["2"]}],size:{width:SCe.width,height:SCe.height},center:{x:SCe.centerX,y:SCe.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),{paths:wlr,bounds:QCe,refblocks:X2n,circles:Plr}=bCe,Mlr=Ln({primitives:[...Object.values(wlr),...Object.values(Plr),{type:"text",text:"{REF}",x:0,y:-.1704553499999995},{type:"text",text:"{VAL}",x:0,y:.2294553499999995}],ports:[{...X2n.left1,labels:["1"]},{...X2n.right1,labels:["2"]}],size:{width:QCe.width,height:QCe.height},center:{x:QCe.centerX,y:QCe.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),{paths:Dlr,bounds:vCe,refblocks:Z2n,circles:Nlr}=bCe,Rlr=Ln({primitives:[...Object.values(Dlr),...Object.values(Nlr),{type:"text",text:"{REF}",x:0,y:.2294553499999995},{type:"text",text:"{VAL}",x:0,y:-.1704553499999995}],ports:[{...Z2n.left1,labels:["1"]},{...Z2n.right1,labels:["2"]}],size:{width:vCe.width,height:vCe.height},center:{x:vCe.centerX,y:vCe.centerY}}).rotateRightFacingSymbol("right").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),{paths:Tlr,bounds:wCe,refblocks:exn,circles:klr}=bCe,Flr=Ln({primitives:[...Object.values(Tlr),...Object.values(klr),{type:"text",text:"{REF}",x:.2,y:-.1404553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.1494553499999995}],ports:[{...exn.left1,labels:["1"]},{...exn.right1,labels:["2"]}],size:{width:wCe.width,height:wCe.height},center:{x:wCe.centerX,y:wCe.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),txn={paths:{path27:{type:"path",points:[{x:.76,y:-.28},{x:.31,y:-.28}],color:"primary",fill:!1},path28:{type:"path",points:[{x:-.3,y:-.02},{x:-.77,y:-.02}],color:"primary",fill:!1},path30:{type:"path",points:[{x:-.3,y:.35},{x:-.3,y:-.28}],color:"primary",fill:!1},"path27-3":{type:"path",points:[{x:.77,y:.35},{x:.32,y:.35}],color:"primary",fill:!1},"path29-5":{type:"path",points:[{x:-.07,y:-.28},{x:-.3,y:-.28}],color:"primary",fill:!1},"path29-5-7":{type:"path",points:[{x:.33,y:-.28},{x:.11,y:-.28}],color:"primary",fill:!1},"path29-5-7-6":{type:"path",points:[{x:-.06,y:-.17},{x:-.06,y:-.39}],color:"primary",fill:!1},"path29-5-7-6-6":{type:"path",points:[{x:.09,y:-.17},{x:.09,y:-.39}],color:"primary",fill:!1},"path29-5-9":{type:"path",points:[{x:-.07,y:.35},{x:-.3,y:.35}],color:"primary",fill:!1},"path29-5-7-2":{type:"path",points:[{x:.33,y:.35},{x:.11,y:.35}],color:"primary",fill:!1},"path29-5-7-6-0":{type:"path",points:[{x:-.06,y:.46},{x:-.06,y:.24}],color:"primary",fill:!1},"path29-5-7-6-6-2":{type:"path",points:[{x:.09,y:.46},{x:.09,y:.24}],color:"primary",fill:!1},"path29-5-92":{type:"path",points:[{x:.33,y:.13},{x:.33,y:.35}],color:"primary",fill:!1},"path29-5-7-28":{type:"path",points:[{x:.33,y:-.28},{x:.33,y:-.05}],color:"primary",fill:!1},"path29-5-7-6-9":{type:"path",points:[{x:.44,y:.11},{x:.22,y:.11}],color:"primary",fill:!1},"path29-5-7-6-6-7":{type:"path",points:[{x:.44,y:-.04},{x:.22,y:-.04}],color:"primary",fill:!1},"path29-5-7-6-9-2":{type:"path",points:[{x:.44,y:.07},{x:.22,y:.07}],color:"primary",fill:!1},"path29-5-7-6-9-2-4":{type:"path",points:[{x:.44,y:0},{x:.44,y:.07}],color:"primary",fill:!1},"path29-5-7-6-9-2-4-6":{type:"path",points:[{x:.22,y:0},{x:.22,y:.07}],color:"primary",fill:!1},"path29-5-7-6-9-2-9":{type:"path",points:[{x:.44,y:0},{x:.22,y:0}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:.02,y:.53},bottom1:{type:"text",text:"{VAL}",x:.01,y:-.54}},refblocks:{left1:{x:-.77,y:-.02},right1:{x:.76,y:-.28},right2:{x:.77,y:.35}},bounds:{width:1.59,height:1.07,centerX:0,centerY:0},circles:{}},{paths:Llr,texts:nxn,bounds:PCe,refblocks:Utt,circles:Hlr}=txn,MCe=Gl({primitives:[...Object.values(Llr),...Object.values(Hlr),{...nxn.top1,anchor:"middle_bottom"},{...nxn.bottom1,anchor:"middle_top"}],ports:[{...Utt.left1,labels:["1"]},{...Utt.right1,labels:["2"]},{...Utt.right2,labels:["3"]}],size:{width:PCe.width,height:PCe.height},center:{x:PCe.centerX,y:PCe.centerY}}),Ktt=si(MCe,"down"),Vtt=Ktt.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ztt=Ktt.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Vtt.anchor="middle_bottom",ztt.anchor="middle_top",Vtt.y+=.3,Vtt.x+=.101,ztt.y-=.49999,ztt.x+=1.19999;var Olr=Ktt,{paths:Glr,bounds:DCe,refblocks:Jtt,circles:Ylr}=txn,oxn=Gl({primitives:[...Object.values(Glr),...Object.values(Ylr),{type:"text",text:"{REF}",x:.01596175000000022,y:-.5308501500000009,anchor:"middle_top"},{type:"text",text:"{VAL}",x:.013116750000000454,y:.5408501499999989,anchor:"middle_bottom"}],ports:[{...Jtt.left1,labels:["1"]},{...Jtt.right1,labels:["2"]},{...Jtt.right2,labels:["3"]}],size:{width:DCe.width,height:DCe.height},center:{x:DCe.centerX,y:DCe.centerY}}),Wtt=si(MCe,"left"),jtt=Wtt.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),$tt=Wtt.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");jtt.anchor="middle_bottom",$tt.anchor="middle_top",jtt.y+=.99,jtt.x-=0,$tt.y-=1.10999,$tt.x=0;var Ulr=Wtt,qtt=si(MCe,"up"),Xtt=qtt.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ztt=qtt.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Xtt.anchor="middle_bottom",Ztt.anchor="middle_top",Xtt.y+=.499,Xtt.x=.62,Ztt.y-=.29999,Ztt.x+=.1;var Klr=qtt,Vlr=si(oxn),zlr={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.12,y:-.09}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.12,y:.18},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.12,y:-.09},{x:-.12,y:.18}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.14,y:.18},{x:.14,y:-.09}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.12,y:.04},{x:-.52,y:.04}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.52,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"path43-7":{type:"path",points:[{x:.21,y:.18},{x:.14,y:.18}],color:"primary",fill:!1},"path43-7-9":{type:"path",points:[{x:.21,y:.13},{x:.21,y:.18}],color:"primary",fill:!1},"path43-7-2":{type:"path",points:[{x:.08,y:-.09},{x:.14,y:-.09}],color:"primary",fill:!1},"path43-7-9-3":{type:"path",points:[{x:.08,y:-.04},{x:.08,y:-.09}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.27},bottom1:{type:"text",text:"{VAL}",x:0,y:-.27}},refblocks:{left1:{x:-.52,y:.04},right1:{x:.52,y:.04}},bounds:{minX:-.55,maxX:.55,minY:-.27,maxY:.27,width:1.09,height:.55,centerX:0,centerY:0},circles:{}},NCe=Ln(zlr).labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{VAL}","middle_top").changeTextAnchor("{REF}","middle_bottom").build(),ent=si(NCe,"down"),tnt=ent.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),nnt=ent.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");tnt.anchor="middle_left",nnt.anchor="middle_left",tnt.y+=.3,tnt.x=.3,nnt.y-=.3,nnt.x=.3;var Jlr=ent,ont=si(NCe,"left"),int=ont.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),rnt=ont.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");int.anchor="middle_bottom",rnt.anchor="middle_top",int.y+=.5,int.x=0,rnt.y-=.55,rnt.x=0;var Wlr=ont,snt=si(NCe,"up"),ant=snt.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ant=snt.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ant.anchor="middle_left",Ant.anchor="middle_left",ant.y+=.3,ant.x=.3,Ant.y-=.3,Ant.x=.3;var jlr=snt,ixn={paths:{path11:{type:"path",points:[{x:-.52,y:.04},{x:-.18,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.19,y:.05},{x:.52,y:.05}],color:"primary",fill:!1},"path12-6":{type:"path",points:[{x:.18,y:-.15},{x:.18,y:.25}],color:"primary",fill:!1},"path12-2":{type:"path",points:[{x:.19,y:0},{x:.35,y:-.14}],color:"primary",fill:!1},"path12-2-9":{type:"path",points:[{x:.35,y:-.14},{x:.34,y:-.35}],color:"primary",fill:!1},"path11-0-9":{type:"path",points:[{x:-.17,y:.27},{x:-.17,y:-.15},{x:.18,y:.05},{x:-.17,y:.27}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.22,y:.38},bottom1:{type:"text",text:"{VAL}",x:.11,y:-.38}},refblocks:{bottom1:{x:.34,y:-.35},left1:{x:-.52,y:.04},right1:{x:.52,y:.05}},bounds:{minX:-.55,maxX:.55,minY:-.38,maxY:.38,width:1.09,height:.77,centerX:0,centerY:0},circles:{}},{paths:B_r,texts:b_r,bounds:S_r,refblocks:Q_r,circles:v_r}=ixn,rxn=Ln(ixn).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("bottom1",["3"]).changeTextAnchor("{REF}","middle_bottom").build(),sxn=si(rxn),$lr=sxn.primitives.filter(t=>t.type==="text"),axn=$lr.find(t=>t.text==="{REF}");axn.y=0,axn.anchor="middle_left";var qlr=sxn,Axn={paths:{path44:{type:"path",points:[{x:-.195,y:-.025},{x:-.45,y:-.025}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:-.025},{x:.195,y:-.025}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:.07,y:-.025},{x:-.07,y:-.025}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.07,y:.1},{x:.07,y:-.15}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.07,y:.1},{x:-.07,y:-.15}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.07,y:.1},{x:-.082252,y:.099398},{x:-.094386,y:.097598},{x:-.106286,y:.094618},{x:-.117835,y:.090485},{x:-.128925,y:.08524},{x:-.139446,y:.078934},{x:-.149299,y:.071626},{x:-.158388,y:.063388},{x:-.166626,y:.054299},{x:-.173934,y:.044446},{x:-.18024,y:.033925},{x:-.185485,y:.022835},{x:-.189618,y:.011286},{x:-.192598,y:-614e-6},{x:-.194398,y:-.012748},{x:-.195,y:-.025},{x:-.194398,y:-.037252},{x:-.192598,y:-.049386},{x:-.189618,y:-.061286},{x:-.185485,y:-.072835},{x:-.18024,y:-.083925},{x:-.173934,y:-.094446},{x:-.166626,y:-.104299},{x:-.158388,y:-.113388},{x:-.149299,y:-.121626},{x:-.139446,y:-.128934},{x:-.128925,y:-.13524},{x:-.117835,y:-.140485},{x:-.106286,y:-.144618},{x:-.094386,y:-.147598},{x:-.082252,y:-.149398},{x:-.07,y:-.15}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.07,y:.1},{x:.082252,y:.099398},{x:.094386,y:.097598},{x:.106286,y:.094618},{x:.117835,y:.090485},{x:.128925,y:.08524},{x:.139446,y:.078934},{x:.149299,y:.071626},{x:.158388,y:.063388},{x:.166626,y:.054299},{x:.173934,y:.044446},{x:.18024,y:.033925},{x:.185485,y:.022835},{x:.189618,y:.011286},{x:.192598,y:-614e-6},{x:.194398,y:-.012748},{x:.195,y:-.025},{x:.194398,y:-.037252},{x:.192598,y:-.049386},{x:.189618,y:-.061286},{x:.185485,y:-.072835},{x:.18024,y:-.083925},{x:.173934,y:-.094446},{x:.166626,y:-.104299},{x:.158388,y:-.113388},{x:.149299,y:-.121626},{x:.139446,y:-.128934},{x:.128925,y:-.13524},{x:.117835,y:-.140485},{x:.106286,y:-.144618},{x:.094386,y:-.147598},{x:.082252,y:-.149398},{x:.07,y:-.15}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.020635199999998965,y:.15414649999999952}},refblocks:{left1:{x:-.4458008,y:-.025023700000000426},right1:{x:.4458008,y:-.02514810000000045}},bounds:{minX:-.45,maxX:.45,minY:-.15,maxY:.1,width:.9,height:.25,centerX:0,centerY:-.025},circles:{}},Xlr=Ln(Axn).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build(),cnt=Ln(Axn).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),cxn=si(cnt,"left"),lnt=cxn.primitives.find(t=>t.type==="text"&&t.text==="{REF}");lnt.anchor="middle_bottom",lnt.y+=.4,lnt.x=0;var Zlr=cxn,lxn=si(cnt,"up"),unt=lxn.primitives.find(t=>t.type==="text"&&t.text==="{REF}");unt.anchor="middle_left",unt.y+=0,unt.x=.2;var e0r=lxn,uxn={paths:{path44:{type:"path",points:[{x:-.195,y:-.025},{x:-.45,y:-.025}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:-.025},{x:.195,y:-.025}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.07,y:.1},{x:.07,y:-.15}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.07,y:.1},{x:-.07,y:-.15}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.07,y:.1},{x:-.082252,y:.099398},{x:-.094386,y:.097598},{x:-.106286,y:.094618},{x:-.117835,y:.090485},{x:-.128925,y:.08524},{x:-.139446,y:.078934},{x:-.149299,y:.071626},{x:-.158388,y:.063388},{x:-.166626,y:.054299},{x:-.173934,y:.044446},{x:-.18024,y:.033925},{x:-.185485,y:.022835},{x:-.189618,y:.011286},{x:-.192598,y:-614e-6},{x:-.194398,y:-.012748},{x:-.195,y:-.025},{x:-.194398,y:-.037252},{x:-.192598,y:-.049386},{x:-.189618,y:-.061286},{x:-.185485,y:-.072835},{x:-.18024,y:-.083925},{x:-.173934,y:-.094446},{x:-.166626,y:-.104299},{x:-.158388,y:-.113388},{x:-.149299,y:-.121626},{x:-.139446,y:-.128934},{x:-.128925,y:-.13524},{x:-.117835,y:-.140485},{x:-.106286,y:-.144618},{x:-.094386,y:-.147598},{x:-.082252,y:-.149398},{x:-.07,y:-.15}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.07,y:.1},{x:.082252,y:.099398},{x:.094386,y:.097598},{x:.106286,y:.094618},{x:.117835,y:.090485},{x:.128925,y:.08524},{x:.139446,y:.078934},{x:.149299,y:.071626},{x:.158388,y:.063388},{x:.166626,y:.054299},{x:.173934,y:.044446},{x:.18024,y:.033925},{x:.185485,y:.022835},{x:.189618,y:.011286},{x:.192598,y:-614e-6},{x:.194398,y:-.012748},{x:.195,y:-.025},{x:.194398,y:-.037252},{x:.192598,y:-.049386},{x:.189618,y:-.061286},{x:.185485,y:-.072835},{x:.18024,y:-.083925},{x:.173934,y:-.094446},{x:.166626,y:-.104299},{x:.158388,y:-.113388},{x:.149299,y:-.121626},{x:.139446,y:-.128934},{x:.128925,y:-.13524},{x:.117835,y:-.140485},{x:.106286,y:-.144618},{x:.094386,y:-.147598},{x:.082252,y:-.149398},{x:.07,y:-.15}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.020635199999998965,y:.15414649999999952}},refblocks:{left1:{x:-.44,y:-.02},right1:{x:.4458008,y:-.02514810000000045}},bounds:{minX:-.45,maxX:.45,minY:-.15,maxY:.1,width:.9,height:.25,centerX:0,centerY:-.025},circles:{}},t0r=Ln(uxn).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build(),gnt=Ln(uxn).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),gxn=si(gnt,"left"),dnt=gxn.primitives.find(t=>t.type==="text"&&t.text==="{REF}");dnt.anchor="middle_bottom",dnt.y+=.4,dnt.x=0;var n0r=gxn,dxn=si(gnt,"up"),hnt=dxn.primitives.find(t=>t.type==="text"&&t.text==="{REF}");hnt.anchor="middle_left",hnt.y+=.05,hnt.x=.2;var o0r=dxn,hxn={paths:{path44:{type:"path",points:[{x:-.25,y:.1},{x:-.45,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:.1},{x:.25,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.025},{x:0,y:-.275}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.125,y:.225},{x:.125,y:-.025}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.045,y:.225},{x:.045,y:-.025}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.045,y:.225},{x:-.045,y:-.025}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.045,y:.225},{x:-.045,y:.225}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.045,y:-.025},{x:-.045,y:-.025}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.125,y:.225},{x:-.125,y:-.025}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.125,y:.225},{x:-.137252,y:.224398},{x:-.149386,y:.222598},{x:-.161286,y:.219618},{x:-.172835,y:.215485},{x:-.183925,y:.21024},{x:-.194446,y:.203934},{x:-.204299,y:.196626},{x:-.213388,y:.188388},{x:-.221626,y:.179299},{x:-.228934,y:.169446},{x:-.23524,y:.158925},{x:-.240485,y:.147835},{x:-.244618,y:.136286},{x:-.247598,y:.124386},{x:-.249398,y:.112252},{x:-.25,y:.1},{x:-.249398,y:.087748},{x:-.247598,y:.075614},{x:-.244618,y:.063714},{x:-.240485,y:.052165},{x:-.23524,y:.041075},{x:-.228934,y:.030554},{x:-.221626,y:.020701},{x:-.213388,y:.011612},{x:-.204299,y:.003374},{x:-.194446,y:-.003934},{x:-.183925,y:-.01024},{x:-.172835,y:-.015485},{x:-.161286,y:-.019618},{x:-.149386,y:-.022598},{x:-.137252,y:-.024398},{x:-.125,y:-.025}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.125,y:.225},{x:.137252,y:.224398},{x:.149386,y:.222598},{x:.161286,y:.219618},{x:.172835,y:.215485},{x:.183925,y:.21024},{x:.194446,y:.203934},{x:.204299,y:.196626},{x:.213388,y:.188388},{x:.221626,y:.179299},{x:.228934,y:.169446},{x:.23524,y:.158925},{x:.240485,y:.147835},{x:.244618,y:.136286},{x:.247598,y:.124386},{x:.249398,y:.112252},{x:.25,y:.1},{x:.249398,y:.087748},{x:.247598,y:.075614},{x:.244618,y:.063714},{x:.240485,y:.052165},{x:.23524,y:.041075},{x:.228934,y:.030554},{x:.221626,y:.020701},{x:.213388,y:.011612},{x:.204299,y:.003374},{x:.194446,y:-.003934},{x:.183925,y:-.01024},{x:.172835,y:-.015485},{x:.161286,y:-.019618},{x:.149386,y:-.022598},{x:.137252,y:-.024398},{x:.125,y:-.025}],color:"primary",fill:!1},path1:{type:"path",points:[{x:-.045,y:.1},{x:-.125,y:.1}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.020635199999998965,y:.28075747049999955}},refblocks:{left1:{x:-.45,y:.1},right1:{x:.45,y:.1},bottom1:{x:0,y:-.275}},bounds:{minX:-.45,maxX:.45,minY:-.28,maxY:.28,width:.9,height:.56,centerX:0,centerY:0},circles:{}},i0r=Ln(hxn).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build(),pnt=Ln(hxn).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build(),pxn=si(pnt,"left"),mnt=pxn.primitives.find(t=>t.type==="text"&&t.text==="{REF}");mnt.anchor="middle_left",mnt.y+=.5,mnt.x=.2;var r0r=pxn,mxn=si(pnt,"up"),_nt=mxn.primitives.find(t=>t.type==="text"&&t.text==="{REF}");_nt.anchor="middle_left",_nt.y+=.3,_nt.x=.2;var s0r=mxn,_xn={paths:{path44:{type:"path",points:[{x:-.25,y:.1},{x:-.45,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:.1},{x:.25,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.025},{x:0,y:-.275}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.125,y:.225},{x:.125,y:-.025}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.045,y:.225},{x:.045,y:-.025}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.045,y:.225},{x:-.045,y:-.025}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.045,y:.225},{x:-.045,y:.225}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.045,y:-.025},{x:-.045,y:-.025}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.125,y:.225},{x:-.125,y:-.025}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.125,y:.225},{x:-.137252,y:.224398},{x:-.149386,y:.222598},{x:-.161286,y:.219618},{x:-.172835,y:.215485},{x:-.183925,y:.21024},{x:-.194446,y:.203934},{x:-.204299,y:.196626},{x:-.213388,y:.188388},{x:-.221626,y:.179299},{x:-.228934,y:.169446},{x:-.23524,y:.158925},{x:-.240485,y:.147835},{x:-.244618,y:.136286},{x:-.247598,y:.124386},{x:-.249398,y:.112252},{x:-.25,y:.1},{x:-.249398,y:.087748},{x:-.247598,y:.075614},{x:-.244618,y:.063714},{x:-.240485,y:.052165},{x:-.23524,y:.041075},{x:-.228934,y:.030554},{x:-.221626,y:.020701},{x:-.213388,y:.011612},{x:-.204299,y:.003374},{x:-.194446,y:-.003934},{x:-.183925,y:-.01024},{x:-.172835,y:-.015485},{x:-.161286,y:-.019618},{x:-.149386,y:-.022598},{x:-.137252,y:-.024398},{x:-.125,y:-.025}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.125,y:.225},{x:.137252,y:.224398},{x:.149386,y:.222598},{x:.161286,y:.219618},{x:.172835,y:.215485},{x:.183925,y:.21024},{x:.194446,y:.203934},{x:.204299,y:.196626},{x:.213388,y:.188388},{x:.221626,y:.179299},{x:.228934,y:.169446},{x:.23524,y:.158925},{x:.240485,y:.147835},{x:.244618,y:.136286},{x:.247598,y:.124386},{x:.249398,y:.112252},{x:.25,y:.1},{x:.249398,y:.087748},{x:.247598,y:.075614},{x:.244618,y:.063714},{x:.240485,y:.052165},{x:.23524,y:.041075},{x:.228934,y:.030554},{x:.221626,y:.020701},{x:.213388,y:.011612},{x:.204299,y:.003374},{x:.194446,y:-.003934},{x:.183925,y:-.01024},{x:.172835,y:-.015485},{x:.161286,y:-.019618},{x:.149386,y:-.022598},{x:.137252,y:-.024398},{x:.125,y:-.025}],color:"primary",fill:!1},path1:{type:"path",points:[{x:-.045,y:.1},{x:-.125,y:.1}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:.125,y:.1},{x:.045,y:.1}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.28}},refblocks:{left1:{x:-.45,y:.1},right1:{x:.45,y:.1},bottom1:{x:0,y:-.275}},bounds:{minX:-.45,maxX:.45,minY:-.28,maxY:.28,width:.9,height:.56,centerX:0,centerY:0},circles:{}},a0r=Ln(_xn).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build(),fnt=Ln(_xn).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build(),fxn=si(fnt,"left"),Int=fxn.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Int.anchor="middle_left",Int.y+=.5,Int.x=.2;var A0r=fxn,Ixn=si(fnt,"up"),Cnt=Ixn.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Cnt.anchor="middle_left",Cnt.y+=.4,Cnt.x=.2;var c0r=Ixn,Cxn={paths:{path44:{type:"path",points:[{x:-.25,y:.1},{x:-.45,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:.1},{x:.25,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.025},{x:0,y:-.275}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.125,y:.225},{x:.125,y:-.025}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.045,y:.225},{x:.045,y:-.025}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.045,y:.225},{x:-.045,y:-.025}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.045,y:.225},{x:-.045,y:.225}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.045,y:-.025},{x:-.045,y:-.025}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.125,y:.225},{x:-.125,y:-.025}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.125,y:.225},{x:-.137252,y:.224398},{x:-.149386,y:.222598},{x:-.161286,y:.219618},{x:-.172835,y:.215485},{x:-.183925,y:.21024},{x:-.194446,y:.203934},{x:-.204299,y:.196626},{x:-.213388,y:.188388},{x:-.221626,y:.179299},{x:-.228934,y:.169446},{x:-.23524,y:.158925},{x:-.240485,y:.147835},{x:-.244618,y:.136286},{x:-.247598,y:.124386},{x:-.249398,y:.112252},{x:-.25,y:.1},{x:-.249398,y:.087748},{x:-.247598,y:.075614},{x:-.244618,y:.063714},{x:-.240485,y:.052165},{x:-.23524,y:.041075},{x:-.228934,y:.030554},{x:-.221626,y:.020701},{x:-.213388,y:.011612},{x:-.204299,y:.003374},{x:-.194446,y:-.003934},{x:-.183925,y:-.01024},{x:-.172835,y:-.015485},{x:-.161286,y:-.019618},{x:-.149386,y:-.022598},{x:-.137252,y:-.024398},{x:-.125,y:-.025}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.125,y:.225},{x:.137252,y:.224398},{x:.149386,y:.222598},{x:.161286,y:.219618},{x:.172835,y:.215485},{x:.183925,y:.21024},{x:.194446,y:.203934},{x:.204299,y:.196626},{x:.213388,y:.188388},{x:.221626,y:.179299},{x:.228934,y:.169446},{x:.23524,y:.158925},{x:.240485,y:.147835},{x:.244618,y:.136286},{x:.247598,y:.124386},{x:.249398,y:.112252},{x:.25,y:.1},{x:.249398,y:.087748},{x:.247598,y:.075614},{x:.244618,y:.063714},{x:.240485,y:.052165},{x:.23524,y:.041075},{x:.228934,y:.030554},{x:.221626,y:.020701},{x:.213388,y:.011612},{x:.204299,y:.003374},{x:.194446,y:-.003934},{x:.183925,y:-.01024},{x:.172835,y:-.015485},{x:.161286,y:-.019618},{x:.149386,y:-.022598},{x:.137252,y:-.024398},{x:.125,y:-.025}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:.125,y:.1},{x:.045,y:.1}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.28}},refblocks:{left1:{x:-.45,y:.1},right1:{x:.45,y:.1},bottom1:{x:0,y:-.275}},bounds:{minX:-.45,maxX:.45,minY:-.28,maxY:.28,width:.9,height:.56,centerX:0,centerY:0},circles:{}},l0r=Ln(Cxn).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build(),ynt=Ln(Cxn).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build(),yxn=si(ynt,"left"),xnt=yxn.primitives.find(t=>t.type==="text"&&t.text==="{REF}");xnt.anchor="middle_left",xnt.y+=.6,xnt.x=.3;var u0r=yxn,xxn=si(ynt,"up"),Ent=xxn.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Ent.anchor="middle_left",Ent.y+=.4,Ent.x=.2;var g0r=xxn,Exn={paths:{path44:{type:"path",points:[{x:-.25,y:.1},{x:-.45,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:.1},{x:.25,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.025},{x:0,y:-.275}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.125,y:.225},{x:.125,y:-.025}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.045,y:.225},{x:.045,y:-.025}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.045,y:.225},{x:-.045,y:-.025}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.045,y:.225},{x:-.045,y:.225}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.045,y:-.025},{x:-.045,y:-.025}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.125,y:.225},{x:-.125,y:-.025}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.125,y:.225},{x:-.137252,y:.224398},{x:-.149386,y:.222598},{x:-.161286,y:.219618},{x:-.172835,y:.215485},{x:-.183925,y:.21024},{x:-.194446,y:.203934},{x:-.204299,y:.196626},{x:-.213388,y:.188388},{x:-.221626,y:.179299},{x:-.228934,y:.169446},{x:-.23524,y:.158925},{x:-.240485,y:.147835},{x:-.244618,y:.136286},{x:-.247598,y:.124386},{x:-.249398,y:.112252},{x:-.25,y:.1},{x:-.249398,y:.087748},{x:-.247598,y:.075614},{x:-.244618,y:.063714},{x:-.240485,y:.052165},{x:-.23524,y:.041075},{x:-.228934,y:.030554},{x:-.221626,y:.020701},{x:-.213388,y:.011612},{x:-.204299,y:.003374},{x:-.194446,y:-.003934},{x:-.183925,y:-.01024},{x:-.172835,y:-.015485},{x:-.161286,y:-.019618},{x:-.149386,y:-.022598},{x:-.137252,y:-.024398},{x:-.125,y:-.025}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.125,y:.225},{x:.137252,y:.224398},{x:.149386,y:.222598},{x:.161286,y:.219618},{x:.172835,y:.215485},{x:.183925,y:.21024},{x:.194446,y:.203934},{x:.204299,y:.196626},{x:.213388,y:.188388},{x:.221626,y:.179299},{x:.228934,y:.169446},{x:.23524,y:.158925},{x:.240485,y:.147835},{x:.244618,y:.136286},{x:.247598,y:.124386},{x:.249398,y:.112252},{x:.25,y:.1},{x:.249398,y:.087748},{x:.247598,y:.075614},{x:.244618,y:.063714},{x:.240485,y:.052165},{x:.23524,y:.041075},{x:.228934,y:.030554},{x:.221626,y:.020701},{x:.213388,y:.011612},{x:.204299,y:.003374},{x:.194446,y:-.003934},{x:.183925,y:-.01024},{x:.172835,y:-.015485},{x:.161286,y:-.019618},{x:.149386,y:-.022598},{x:.137252,y:-.024398},{x:.125,y:-.025}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.020635199999998965,y:.28075747049999955}},refblocks:{left1:{x:-.45,y:.1},right1:{x:.45,y:.1},bottom1:{x:0,y:-.275}},bounds:{minX:-.45,maxX:.45,minY:-.28,maxY:.28,width:.9,height:.56,centerX:0,centerY:0},circles:{}},d0r=Ln(Exn).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build(),Bnt=Ln(Exn).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build(),Bxn=si(Bnt,"left"),bnt=Bxn.primitives.find(t=>t.type==="text"&&t.text==="{REF}");bnt.anchor="middle_left",bnt.y+=.5,bnt.x=.3;var h0r=Bxn,bxn=si(Bnt,"up"),Snt=bxn.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Snt.anchor="middle_left",Snt.y+=.3,Snt.x=.2;var p0r=bxn,m0r={paths:{path1:{type:"path",points:[{x:-.37,y:.03},{x:-.13,y:.03}],color:"primary",fill:!1},"path-1-3":{type:"path",points:[{x:-.07,y:.03},{x:.11,y:-.03}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.1,y:-.06},{x:.37,y:-.06}],color:"primary",fill:!1},path3:{type:"path",points:[{x:.12,y:.17},{x:.37,y:.17}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.37},bottom1:{type:"text",text:"{VAL}",x:0,y:-.37}},refblocks:{left1:{x:-.37,y:.03},right1:{x:.37,y:-.06},right2:{x:.37,y:.17}},bounds:{minX:-.4,maxX:.4,minY:-.4,maxY:.4,width:.79,height:.79,centerX:0,centerY:0},circles:{"circle-3":{type:"circle",x:.08,y:-.07,radius:.02,color:"primary",fill:!1},"circle-1":{type:"circle",x:-.1,y:.03,radius:.02,color:"primary",fill:!1},"circle-2":{type:"circle",x:.08,y:.17,radius:.02,color:"primary",fill:!1}}},RCe=Ln(m0r).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right2",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build(),Qnt=si(RCe,"down"),vnt=Qnt.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),wnt=Qnt.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");vnt.anchor="middle_bottom",wnt.anchor="middle_top",vnt.x=.44,vnt.y+=.28,wnt.y-=.28,wnt.x=.44;var _0r=Qnt,Pnt=si(RCe,"left"),Mnt=Pnt.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Dnt=Pnt.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Mnt.anchor="middle_bottom",Dnt.anchor="middle_top",Mnt.x=0,Mnt.y+=.625,Dnt.y-=.695,Dnt.x=0;var f0r=Pnt,Nnt=si(RCe,"up"),Rnt=Nnt.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Tnt=Nnt.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Rnt.anchor="middle_bottom",Tnt.anchor="middle_top",Rnt.x=.4,Rnt.y+=.28,Tnt.y-=.28,Tnt.x=.4;var I0r=Nnt,C0r={paths:{path1:{type:"path",points:[{x:-.37,y:.03},{x:-.13,y:.03}],color:"primary",fill:!1},"path-1-3":{type:"path",points:[{x:-.07,y:.03},{x:.11,y:.14}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.1,y:-.06},{x:.37,y:-.06}],color:"primary",fill:!1},path3:{type:"path",points:[{x:.12,y:.17},{x:.37,y:.17}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.4},bottom1:{type:"text",text:"{VAL}",x:0,y:-.4}},refblocks:{left1:{x:-.37,y:.03},right1:{x:.37,y:-.06},right3:{x:.37,y:.17}},bounds:{minX:-.4,maxX:.4,minY:-.4,maxY:.4,width:.79,height:.79,centerX:0,centerY:0},circles:{"circle-3":{type:"circle",x:.08,y:-.07,radius:.02,color:"primary",fill:!1},"circle-1":{type:"circle",x:-.1,y:.03,radius:.02,color:"primary",fill:!1},"circle-2":{type:"circle",x:.08,y:.17,radius:.02,color:"primary",fill:!1}}},TCe=Ln(C0r).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right3",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build(),knt=si(TCe,"down"),Fnt=knt.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Lnt=knt.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Fnt.anchor="middle_bottom",Lnt.anchor="middle_top",Fnt.x=.44,Fnt.y+=.28,Lnt.y-=.28,Lnt.x=.44;var y0r=knt,Hnt=si(TCe,"left"),Ont=Hnt.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Gnt=Hnt.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ont.anchor="middle_bottom",Gnt.anchor="middle_top",Ont.x=0,Ont.y+=.625,Gnt.y-=.695,Gnt.x=0;var x0r=Hnt,Ynt=si(TCe,"up"),Unt=Ynt.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Knt=Ynt.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Unt.anchor="middle_bottom",Knt.anchor="middle_top",Unt.x=.4,Unt.y+=.28,Knt.y-=.28,Knt.x=.4;var E0r=Ynt,PK={paths:{"lead-positive":{type:"path",points:[{x:-.4,y:.19999999999999996},{x:-.20000000000000007,y:.19999999999999996}],color:"primary",fill:!1},"lead-negative":{type:"path",points:[{x:-.4,y:-.20000000000000018},{x:-.20000000000000007,y:-.20000000000000018}],color:"primary",fill:!1},"voice-coil":{type:"path",points:[{x:-.20000000000000007,y:.19999999999999996},{x:0,y:.19999999999999996},{x:0,y:-.20000000000000018},{x:-.20000000000000007,y:-.20000000000000018},{x:-.20000000000000007,y:.19999999999999996}],color:"primary",fill:!1},cone:{type:"path",points:[{x:0,y:.19999999999999996},{x:.3999999999999999,y:.3999999999999999},{x:.3999999999999999,y:-.40000000000000013},{x:0,y:-.20000000000000018},{x:0,y:.19999999999999996}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.6},bottom1:{type:"text",text:"{VAL}",x:0,y:-.6000000000000001}},refblocks:{left1:{x:-.4,y:-.20000000000000018},left2:{x:-.4,y:.19999999999999996}},bounds:{minX:-.4,maxX:.3999999999999999,minY:-.6000000000000001,maxY:.6,width:.7999999999999999,height:1.2000000000000002,centerX:-5551115123125783e-32,centerY:-5551115123125783e-32},circles:{}},Sxn=Ln(PK).rotateRightFacingSymbol("down").labelPort("left1",["2","neg"]).labelPort("left2",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),kCe=GS(Sxn.primitives),B0r={...Sxn,center:{x:(kCe.minX+kCe.maxX)/2,y:(kCe.minY+kCe.maxY)/2}},Qxn=Ln(PK).rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("left2",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),FCe=GS(Qxn.primitives),b0r={...Qxn,center:{x:(FCe.minX+FCe.maxX)/2,y:(FCe.minY+FCe.maxY)/2}},vxn=Ln(PK).rotateRightFacingSymbol("left").labelPort("left1",["2","neg"]).labelPort("left2",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),LCe=GS(vxn.primitives),S0r={...vxn,center:{x:(LCe.minX+LCe.maxX)/2,y:(LCe.minY+LCe.maxY)/2}},wxn=Ln(PK).rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("left2",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),HCe=GS(wxn.primitives),Q0r={...wxn,center:{x:(HCe.minX+HCe.maxX)/2,y:(HCe.minY+HCe.maxY)/2}},Pxn=Ln(PK).rotateRightFacingSymbol("up").labelPort("left1",["2","neg"]).labelPort("left2",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),OCe=GS(Pxn.primitives),v0r={...Pxn,center:{x:(OCe.minX+OCe.maxX)/2,y:(OCe.minY+OCe.maxY)/2}},Mxn=Ln(PK).rotateRightFacingSymbol("up").labelPort("left1",["2","neg"]).labelPort("left2",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),GCe=GS(Mxn.primitives),w0r={...Mxn,center:{x:(GCe.minX+GCe.maxX)/2,y:(GCe.minY+GCe.maxY)/2}},YCe={paths:{path11:{type:"path",points:[{x:-.38,y:0},{x:-.12,y:-.01}],color:"primary",fill:!1},"path11-0":{type:"path",points:[{x:-.07,y:0},{x:.11,y:.05}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.12,y:-.01},{x:.38,y:0}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.31},bottom1:{type:"text",text:"{VAL}",x:0,y:-.28}},refblocks:{left1:{x:-.12,y:-.01},left2:{x:-.38,y:0},right1:{x:.12,y:-.01},right2:{x:.38,y:0}},bounds:{minX:-.4,maxX:.4,minY:-.25,maxY:.25,width:.81,height:.5,centerX:0,centerY:0},circles:{"circle-2":{type:"circle",x:.1,y:0,radius:.02,color:"primary",fill:!1},"circle-1":{type:"circle",x:-.1,y:0,radius:.02,color:"primary",fill:!1}}};delete YCe.refblocks.left1,delete YCe.refblocks.right1,YCe.bounds.width+=.2;var UCe=Ln(YCe).changeTextAnchor("{VAL}","middle_top").labelPort("left2",["1"]).labelPort("right2",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),Vnt=si(UCe,"down"),znt=Vnt.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Jnt=Vnt.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");znt.anchor="middle_bottom",Jnt.anchor="middle_top",znt.x=.3,znt.y+=.265,Jnt.y-=.265,Jnt.x=.3;var P0r=Vnt,Wnt=si(UCe,"left"),jnt=Wnt.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),$nt=Wnt.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");jnt.anchor="middle_bottom",$nt.anchor="middle_top",jnt.x=0,jnt.y+=.57,$nt.y-=.57,$nt.x=0;var M0r=Wnt,qnt=si(UCe,"up"),Xnt=qnt.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Znt=qnt.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Xnt.anchor="middle_bottom",Znt.anchor="middle_top",Xnt.x=.3,Xnt.y+=.265,Znt.y-=.265,Znt.x=.3;var D0r=qnt,KCe={paths:{path11:{type:"path",points:[{x:-.38,y:0},{x:-.12,y:-.01}],color:"primary",fill:!1},"path11-0":{type:"path",points:[{x:-.07,y:.01},{x:.1,y:.14}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.12,y:-.01},{x:.38,y:0}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.25},bottom1:{type:"text",text:"{VAL}",x:0,y:-.25}},refblocks:{left1:{x:-.12,y:-.01},left2:{x:-.38,y:0},right1:{x:.12,y:-.01},right2:{x:.38,y:0}},bounds:{minX:-.4,maxX:.4,minY:-.25,maxY:.25,width:.81,height:.5,centerX:0,centerY:0},circles:{"circle-2":{type:"circle",x:.1,y:0,radius:.02,color:"primary",fill:!1},"circle-1":{type:"circle",x:-.1,y:0,radius:.02,color:"primary",fill:!1}}};delete KCe.refblocks.left1,delete KCe.refblocks.right1,KCe.bounds.width+=.2;var VCe=Ln(KCe).changeTextAnchor("{VAL}","middle_top").labelPort("left2",["1"]).labelPort("right2",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),eot=si(VCe,"down"),tot=eot.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),not=eot.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");tot.anchor="middle_bottom",not.anchor="middle_top",tot.x=.3,tot.y+=.265,not.y-=.265,not.x=.3;var N0r=eot,oot=si(VCe,"left"),iot=oot.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),rot=oot.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");iot.anchor="middle_bottom",rot.anchor="middle_top",iot.x=0,iot.y+=.57,rot.y-=.57,rot.x=0;var R0r=oot,sot=si(VCe,"up"),aot=sot.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Aot=sot.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");aot.anchor="middle_bottom",Aot.anchor="middle_top",aot.x=.3,aot.y+=.265,Aot.y-=.265,Aot.x=.3;var T0r=sot,zCe={paths:{path44:{type:"path",points:[{x:-.16845120000000047,y:.02621170000000017},{x:-.4458008,y:.02709619999999968}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.4458008,y:.026971799999999657},{x:.1677968999999997,y:.027926399999999685}],color:"primary",fill:!1},"path8704-1":{type:"path",points:[{x:-.0040837000000002455,y:-.13467459999999964},{x:-.0040837000000002455,y:-.13467459999999964},{x:-.017668143940740948,y:-.1311205263185182},{x:-.03043520885925943,y:-.12727072121481456},{x:-.04240966440000013,y:-.1231399985999998},{x:-.05361628020740751,y:-.11874317238518502},{x:-.064079825925926,y:-.11409505648148131},{x:-.07382507120000005,y:-.10921046479999987},{x:-.0828767856740741,y:-.10410421125185171},{x:-.0912597389925926,y:-.09879110974814802},{x:-.09899870079999995,y:-.0932859741999998},{x:-.10611844074074069,y:-.08760361851851838},{x:-.11264372845925916,y:-.0817588566148146},{x:-.11859933359999993,y:-.07576650239999982},{x:-.12401002580740728,y:-.06964136978518495},{x:-.12890057472592584,y:-.06339827268148127},{x:-.13329574999999985,y:-.05705202499999972},{x:-.13722032127407394,y:-.05061744065185156},{x:-.14069905819259243,y:-.04410933354814783},{x:-.14375673039999987,y:-.03754251759999966},{x:-.14641810754074058,y:-.030931806718518143},{x:-.1487079592592591,y:-.0242920148148144},{x:-.15065105519999983,y:-.017637955799999563},{x:-.15227216500740723,y:-.01098444358518472},{x:-.15359605832592574,y:-.004346292081480994},{x:-.1546475047999998,y:.00226168480000051},{x:-.15545127407407386,y:.008824673148148676},{x:-.1560321357925924,y:.015327859051852397},{x:-.1564148595999998,y:.02175642860000056},{x:-.1566242151407405,y:.028095567881482052},{x:-.15668497205925902,y:.03433046298518576},{x:-.15662189999999976,y:.04044630000000058},{x:-.15662189999999976,y:.0404463000000006},{x:-.15662189999999976,y:.0404463000000006},{x:-.15622857394444417,y:.04717166472222282},{x:-.1553217675555553,y:.05388046444444503},{x:-.15392183849999977,y:.060558907500000585},{x:-.1520491444444442,y:.0671932022222228},{x:-.1497240430555553,y:.07376955694444502},{x:-.14696689199999974,y:.08027418000000058},{x:-.14379804894444415,y:.0866932797222228},{x:-.1402378715555553,y:.09301306444444506},{x:-.13630671749999965,y:.09921974250000057},{x:-.13202494444444415,y:.10529952222222282},{x:-.12741291005555522,y:.11123861194444501},{x:-.1224909719999997,y:.1170232200000006},{x:-.11727948794444407,y:.12263955472222278},{x:-.11179881555555524,y:.12807382444444504},{x:-.10606931249999965,y:.13331223750000057},{x:-.1001113364444441,y:.13834100222222284},{x:-.09394524505555521,y:.14314632694444504},{x:-.08759139599999967,y:.14771442000000062},{x:-.08107014694444413,y:.15203148972222283},{x:-.07440185555555523,y:.15608374444444503},{x:-.0676068794999997,y:.15985739250000058},{x:-.06070557644444415,y:.16333864222222283},{x:-.05371830405555529,y:.16651370194444504},{x:-.04666541999999976,y:.1693687800000006},{x:-.03956728194444424,y:.1718900847222228},{x:-.03244424755555539,y:.17406382444444501},{x:-.025316674499999876,y:.17587620750000055},{x:-.01820492044444437,y:.17731344222222278},{x:-.01112934305555553,y:.178361736944445},{x:-.004110300000000034,y:.17900730000000054},{x:-.004110300000000011,y:.17900730000000054}],color:"primary",fill:!1},"path8704-1-9":{type:"path",points:[{x:.004158700000000071,y:-.1355885000000001},{x:.004158700000000071,y:-.1355885000000001},{x:.017743143940740766,y:-.1320344263185187},{x:.03051020885925925,y:-.12818462121481505},{x:.042484664399999955,y:-.12405389860000024},{x:.053691280207407335,y:-.11965707238518546},{x:.0641548259259258,y:-.11500895648148178},{x:.07390007119999986,y:-.1101243648000003},{x:.0829517856740739,y:-.10501811125185218},{x:.0913347389925924,y:-.09970500974814848},{x:.09907370079999973,y:-.09419987420000027},{x:.10619344074074046,y:-.08851751851851883},{x:.11271872845925893,y:-.08267275661481507},{x:.11867433359999968,y:-.07668040240000029},{x:.12408502580740703,y:-.0705552697851854},{x:.12897557472592555,y:-.06431217268148172},{x:.13337074999999957,y:-.05796592500000018},{x:.13729532127407365,y:-.05153134065185202},{x:.14077405819259214,y:-.045023233548148286},{x:.14383173039999952,y:-.038456417600000126},{x:.14649310754074024,y:-.03184570671851861},{x:.14878295925925875,y:-.02520591481481487},{x:.1507260551999995,y:-.01855185580000003},{x:.15234716500740686,y:-.011898343585185192},{x:.15367105832592537,y:-.005260192081481464},{x:.15472250479999944,y:.001347784800000043},{x:.1555262740740735,y:.007910773148148207},{x:.156107135792592,y:.01441395905185193},{x:.1564898595999994,y:.020842528600000094},{x:.15669921514074014,y:.02718166788148159},{x:.15675997205925862,y:.03341656298518529},{x:.15669689999999936,y:.03953240000000011},{x:.15669689999999936,y:.039532400000000134},{x:.15669689999999936,y:.039532400000000134},{x:.1563035739444438,y:.04625776472222235},{x:.15539676755555493,y:.05296656444444457},{x:.15399683849999934,y:.05964500750000013},{x:.1521241444444438,y:.06627930222222234},{x:.14979904305555491,y:.07285565694444456},{x:.14704189199999937,y:.07936028000000013},{x:.1438730489444438,y:.08577937972222234},{x:.1403128715555549,y:.09209916444444458},{x:.13638171749999925,y:.0983058425000001},{x:.13209994444444376,y:.10438562222222235},{x:.12748791005555482,y:.11032471194444453},{x:.12256597199999929,y:.11610932000000013},{x:.1173544879444437,y:.1217256547222223},{x:.11187381555555485,y:.12715992444444457},{x:.10614431249999925,y:.1323983375000001},{x:.10018633644444369,y:.13742710222222235},{x:.09402024505555481,y:.14223242694444457},{x:.08766639599999927,y:.14680052000000016},{x:.08114514694444372,y:.15111758972222236},{x:.07447685555555483,y:.15516984444444457},{x:.06768187949999929,y:.15894349250000012},{x:.06078057644444377,y:.16242474222222236},{x:.053793304055554894,y:.16559980194444457},{x:.046740419999999366,y:.16845488000000014},{x:.039642281944443844,y:.17097618472222234},{x:.03251924755555499,y:.17314992444444455},{x:.02539167449999948,y:.17496230750000008},{x:.018279920444443973,y:.17639954222222232},{x:.011204343055555134,y:.17744783694444452},{x:.004185299999999637,y:.17809340000000007},{x:.004185299999999614,y:.17809340000000007}],color:"primary",fill:!1},path4:{type:"path",points:[{x:-.08039130000000005,y:.0179576999999993},{x:-.08039130000000005,y:.09650599999999931}],color:"primary",fill:!0},"path4-5":{type:"path",points:[{x:.01494479999999987,y:-.055216500000000224},{x:.01494479999999987,y:.09691909999999937}],color:"primary",fill:!0},"path4-5-8":{type:"path",points:[{x:.06871169999999927,y:-.056870000000000864},{x:.06871169999999927,y:.018784499999999538}],color:"primary",fill:!0},"path4-1":{type:"path",points:[{x:-.08179359999999969,y:.09650570000000003},{x:.015771699999999722,y:.09650570000000003}],color:"primary",fill:!0},"path4-1-6":{type:"path",points:[{x:.0117995999999998,y:-.05594970000000088},{x:.06843709999999925,y:-.05594970000000088}],color:"primary",fill:!0},"rect1577-4":{type:"path",points:[{x:-.17162450000000073,y:.11125030000000025},{x:-.2688274000000015,y:.11125030000000025},{x:-.2688274000000015,y:.11469129999999961},{x:-.17162450000000073,y:.11469129999999961}],color:"primary",fill:!0},"rect1577-4-7":{type:"path",points:[{x:-.2184661999999995,y:.16159429999999997},{x:-.2184661999999995,y:.06439139999999943},{x:-.22190719999999908,y:.06439139999999943},{x:-.22190719999999908,y:.16159429999999997}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.0024445000000006267,y:.23933980000000044},bottom1:{type:"text",text:"{VAL}",x:.00341719999999901,y:-.23933980000000066}},refblocks:{left1:{x:-.4458008,y:.02709619999999968},right1:{x:.4458008,y:.026971799999999657}},bounds:{minX:-.473959241,maxX:.473959241,minY:-.23933980000000066,maxY:.23933980000000044,width:.947918482,height:.4786796000000011,centerX:0,centerY:-11102230246251565e-32},circles:{}},k0r=Ln(zCe).rotateRightFacingSymbol("down").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_left",{x:.02,y:.2}).changeTextAnchor("{VAL}","middle_left",{x:.5,y:-.2}).build(),F0r=Ln(zCe).rotateRightFacingSymbol("left").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.45}).changeTextAnchor("{VAL}","middle_top",{x:0,y:-.55}).build(),L0r=Ln(zCe).rotateRightFacingSymbol("right").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),H0r=Ln(zCe).rotateRightFacingSymbol("up").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{VAL}","middle_left",{x:.02,y:-.2}).changeTextAnchor("{REF}","middle_left",{x:.5,y:.2}).build(),Dxn={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.12,y:-.09}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.12,y:.18},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.12,y:-.09},{x:-.12,y:.18}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.14,y:.18},{x:.14,y:-.09}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.12,y:.04},{x:-.52,y:.04}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.52,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"path43-5":{type:"path",points:[{x:.19,y:-.09},{x:.15,y:-.09}],color:"primary",fill:!1},"path43-5-2":{type:"path",points:[{x:.19,y:-.14},{x:.19,y:-.09}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.27},bottom1:{type:"text",text:"{VAL}",x:0,y:-.27}},refblocks:{left1:{x:-.52,y:.04},right1:{x:.52,y:.04}},bounds:{minX:-.55,maxX:.55,minY:-.27,maxY:.27,width:1.09,height:.55,centerX:0,centerY:0},circles:{}},{paths:w_r,texts:P_r,bounds:M_r,refblocks:D_r,circles:N_r}=Dxn,Nxn=Ln(Dxn).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),O0r=si(Nxn),G0r={paths:{path11:{type:"path",points:[{x:-.54,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.54,y:0}],color:"primary",fill:!1}},texts:{left1:{type:"text",text:"RPM",x:0,y:-.02}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}},{paths:Y0r,texts:U0r,bounds:JCe,refblocks:Rxn,circles:K0r}=G0r,cot=Gl({primitives:[...Object.values(Y0r),...Object.values(K0r),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...U0r.left1,y:.01,anchor:"center",fontSize:.2}],ports:[{...Rxn.left1,labels:["1"]},{...Rxn.right1,labels:["2"]}],size:{width:JCe.width,height:JCe.height},center:{x:JCe.centerX,y:JCe.centerY}}),{5:V0r,...z0r}=cot.primitives;function J0r(t){return typeof t=="object"}var Txn=si({...cot,primitives:Object.values(z0r).filter(J0r)}),W0r={...Txn,primitives:[...Txn.primitives,V0r]},WCe=Gl({primitives:[{type:"path",points:[{x:-.2,y:0},{x:0,y:0}],color:"primary",fill:!1},{type:"path",points:Array.from({length:32},(t,e)=>{let n=Math.PI/2-e*Math.PI/31,o=.1;return{x:.1-o*Math.cos(n),y:o*Math.sin(n)}}),color:"primary",fill:!1},{type:"text",text:"{REF}",x:.125,y:0,anchor:"middle_left"}],ports:[{x:-.2,y:0,labels:["1"]}],center:{x:0,y:0}}),kxn=si(WCe,"down"),Fxn=kxn.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Fxn&&(Fxn.anchor="middle_top");var j0r=kxn,$0r=si(WCe,"left"),Lxn=si(WCe,"up"),Hxn=Lxn.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Hxn&&(Hxn.anchor="middle_bottom");var q0r=Lxn,X0r={paths:{path40:{type:"path",points:[{x:.44,y:.04},{x:.19,y:-.09}],color:"primary",fill:!1},path41:{type:"path",points:[{x:.19,y:.18},{x:.44,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:.19,y:-.09},{x:.19,y:.18}],color:"primary",fill:!1},path44:{type:"path",points:[{x:.19,y:.04},{x:-.11,y:.04}],color:"primary",fill:!1},path45:{type:"path",points:[{x:-.43,y:.22},{x:-.11,y:.04}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.27},bottom1:{type:"text",text:"{VAL}",x:0,y:-.27}},refblocks:{right1:{x:-.43,y:.22}},bounds:{minX:-.55,maxX:.55,minY:-.27,maxY:.27,width:1.09,height:.55,centerX:0,centerY:0},circles:{}},lot=Ln(X0r).labelPort("right1",["1"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),uot=si(lot,"up"),got=uot.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),dot=uot.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");got.anchor="middle_bottom",dot.anchor="middle_top",got.x=.4,got.y+=.2,dot.y-=.3,dot.x=.4;var Oxn=uot,hot=hK(Oxn),pot=hot.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),mot=hot.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");pot.anchor="middle_bottom",mot.anchor="middle_top",pot.x=.35,pot.y+=.4,mot.y-=.4,mot.x=.35;var Z0r=hot,_ot=si(lot,"left"),fot=_ot.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Iot=_ot.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");fot.anchor="middle_bottom",Iot.anchor="middle_top",fot.x=0,fot.y+=.5,Iot.y-=.6,Iot.x=0;var eur=_ot,Gxn={paths:{path11:{type:"path",points:[{x:-.54,y:.04},{x:-.11,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.1,y:.04},{x:.54,y:.04}],color:"primary",fill:!1},"path11-0":{type:"path",points:[{x:-.09,y:-.15},{x:-.09,y:.26}],color:"primary",fill:!1},"path11-0-3":{type:"path",points:[{x:.09,y:-.15},{x:.09,y:.26}],color:"primary",fill:!1},"path11-0-9":{type:"path",points:[{x:-.08,y:.06},{x:-.08,y:-.15},{x:.09,y:-.05},{x:-.08,y:.06}],color:"primary",fill:!0},"path11-0-9-0":{type:"path",points:[{x:.08,y:.26},{x:.08,y:.05},{x:-.09,y:.15},{x:.07,y:.26}],color:"primary",fill:!0},"path12-2":{type:"path",points:[{x:.09,y:-.06},{x:.27,y:-.17}],color:"primary",fill:!1},"path12-2-9":{type:"path",points:[{x:.27,y:-.18},{x:.27,y:-.31}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:.01,y:.42},bottom1:{type:"text",text:"{VAL}",x:-.03,y:-.42}},refblocks:{bottom1:{x:.27,y:-.31},left1:{x:-.54,y:.04},right1:{x:.54,y:.04}},bounds:{minX:-.57,maxX:.57,minY:-.42,maxY:.42,width:1.14,height:.83,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.05,radius:.29,color:"primary",fill:!1}}},{paths:R_r,texts:T_r,bounds:k_r,refblocks:F_r,circles:L_r}=Gxn,Yxn=Ln(Gxn).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("bottom1",["3"]).changeTextAnchor("{REF}","middle_bottom").build(),Uxn=si(Yxn),Kxn=Uxn.primitives.filter(t=>t.type==="text"),tur=Kxn.find(t=>t.text==="{REF}"),nur=Kxn.find(t=>t.text==="{VAL}");tur.y=0,nur.y=0;var our=Uxn,iur={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.12,y:-.09}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.12,y:.18},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.12,y:-.09},{x:-.12,y:.18}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.14,y:.18},{x:.14,y:-.09}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.12,y:.04},{x:-.52,y:.04}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.52,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"path43-8":{type:"path",points:[{x:.14,y:.18},{x:.08,y:.18}],color:"primary",fill:!1},"path43-8-8":{type:"path",points:[{x:.14,y:-.09},{x:.08,y:-.09}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.27},bottom1:{type:"text",text:"{VAL}",x:0,y:-.27}},refblocks:{left1:{x:-.52,y:.04},right1:{x:.52,y:.04}},bounds:{width:1.09,height:.55,centerX:0,centerY:0},circles:{}},{paths:rur,texts:Vxn,bounds:jCe,refblocks:zxn,circles:sur}=iur,Jxn=Gl({primitives:[...Object.values(rur),...Object.values(sur),{...Vxn.top1,anchor:"middle_bottom"},{...Vxn.bottom1,anchor:"middle_top"}],ports:[{...zxn.left1,labels:["1"]},{...zxn.right1,labels:["2"]}],size:{width:jCe.width,height:jCe.height},center:{x:jCe.centerX,y:jCe.centerY}}),Cot=si(Jxn),aur=Cot.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Aur=Cot.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");aur.anchor="middle_left",Aur.anchor="middle_right";var cur=Cot,lur={paths:{path11:{type:"path",points:[{x:-.34,y:.22},{x:-.02,y:.01}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.23,y:.13},{x:.23,y:.4}],color:"primary",fill:!1},"path12-2":{type:"path",points:[{x:.23,y:-.08},{x:.23,y:-.35}],color:"primary",fill:!1},"path11-0":{type:"path",points:[{x:-.01,y:-.18},{x:-.01,y:.23}],color:"primary",fill:!1},"path11-0-3":{type:"path",points:[{x:.23,y:.12},{x:-.01,y:.12}],color:"primary",fill:!1},"path11-0-9":{type:"path",points:[{x:-.11,y:.13},{x:-.17,y:.04},{x:-.06,y:.03},{x:-.11,y:.13}],color:"primary",fill:!0},"path11-0-3-8":{type:"path",points:[{x:.23,y:-.08},{x:-.01,y:-.08}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.2,y:.39},bottom1:{type:"text",text:"{VAL}",x:-.03,y:-.42}},refblocks:{top1:{x:.23,y:.4},bottom1:{x:.23,y:-.35},left1:{x:-.34,y:.22}},bounds:{width:.74,height:.85,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.08,y:.01,radius:.29,color:"primary",fill:!1}}},{paths:uur,texts:Wxn,bounds:$Ce,refblocks:yot,circles:gur}=lur,jxn=Gl({primitives:[...Object.values(uur),...Object.values(gur),{...Wxn.top1,anchor:"middle_left"},{...Wxn.bottom1,anchor:"middle_right"}],ports:[{...yot.top1,labels:["1"]},{...yot.bottom1,labels:["2"]},{...yot.left1,labels:["3"]}],size:{width:$Ce.width,height:$Ce.height},center:{x:$Ce.centerX,y:$Ce.centerY}}),$xn=si(jxn),qxn=$xn.primitives.filter(t=>t.type==="text"),dur=qxn.find(t=>t.text==="{REF}");dur.y=.1;var Xxn=qxn.find(t=>t.text==="{VAL}");Xxn.y=.1,Xxn.x=-.4;var hur=$xn,pur={paths:{capsule_outer:{type:"path",points:[{x:-.44,y:.34},{x:-.45,y:.39},{x:-.46,y:.42},{x:-.49,y:.44},{x:-.52,y:.46},{x:-.56,y:.46},{x:-.6,y:.46},{x:-.63,y:.44},{x:-.65,y:.42},{x:-.67,y:.39},{x:-.68,y:.34},{x:-.68,y:-.34},{x:-.67,y:-.39},{x:-.65,y:-.42},{x:-.63,y:-.44},{x:-.6,y:-.45},{x:-.56,y:-.46},{x:-.52,y:-.45},{x:-.49,y:-.44},{x:-.46,y:-.42},{x:-.45,y:-.39},{x:-.44,y:-.34},{x:-.44,y:.34}],color:"primary",fill:!1},capsule_inner:{type:"path",points:[{x:-.51,y:.28},{x:-.52,y:.32},{x:-.53,y:.34},{x:-.56,y:.35},{x:-.57,y:.35},{x:-.58,y:.34},{x:-.6,y:.32},{x:-.61,y:.28},{x:-.61,y:-.28},{x:-.6,y:-.32},{x:-.58,y:-.34},{x:-.57,y:-.35},{x:-.56,y:-.35},{x:-.53,y:-.34},{x:-.52,y:-.32},{x:-.51,y:-.28},{x:-.51,y:.28}],color:"primary",fill:!0},usb_vertical:{type:"path",points:[{x:.1,y:-.4},{x:.1,y:.4}],color:"primary",fill:!1},usb_left_branch:{type:"path",points:[{x:.1,y:-.1},{x:-.03,y:.05},{x:-.03,y:.15}],color:"primary",fill:!1},usb_right_branch:{type:"path",points:[{x:.1,y:0},{x:.25,y:.15},{x:.25,y:.25}],color:"primary",fill:!1},usb_arrow:{type:"path",points:[{x:.05,y:.4},{x:.1,y:.5},{x:.15,y:.4},{x:.05,y:.4}],color:"primary",fill:!0},usb_square:{type:"path",points:[{x:.2,y:.25},{x:.3,y:.25},{x:.3,y:.35},{x:.2,y:.35},{x:.2,y:.25}],color:"primary",fill:!0}},circles:{usb_base:{type:"circle",x:.1,y:-.4,radius:.07,color:"primary",fill:!0},usb_tip_circle:{type:"circle",x:-.03,y:.15,radius:.04,color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.25,y:.7}},refblocks:{},bounds:{minX:-.75,maxX:.35,minY:-.6,maxY:.75,width:1.1,height:1.35,centerX:-.2,centerY:.08}},mur=Ln(pur).changeTextAnchor("{REF}","middle_bottom").build(),_ur={paths:{path11:{type:"path",points:[{x:-.54,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.54,y:0}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.18,y:-.36},bottom1:{type:"text",text:"{VAL}",x:-.01,y:.43},left1:{type:"text",text:"Var",x:-.19,y:.07}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}},{paths:fur,texts:xot,bounds:qCe,refblocks:Zxn,circles:Iur}=_ur,e3n=Gl({primitives:[...Object.values(fur),...Object.values(Iur),{...xot.top1,x:0,y:-.3594553499999995,anchor:"middle_top"},{...xot.bottom1,x:0,y:.35,anchor:"middle_bottom"},{...xot.left1,x:-.02,y:.01,fontSize:.2,anchor:"center"}],ports:[{...Zxn.left1,labels:["1"]},{...Zxn.right1,labels:["2"]}],size:{width:qCe.width,height:qCe.height},center:{x:qCe.centerX,y:qCe.centerY}}),Cur=si(e3n),yur={paths:{path40:{type:"path",points:[{x:.08,y:.04},{x:-.18,y:-.09}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.18,y:.18},{x:.08,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.18,y:-.09},{x:-.18,y:.18}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.09,y:.17},{x:.1,y:-.09}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.2,y:.04},{x:-.52,y:.04}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.52,y:.04},{x:.21,y:.04}],color:"primary",fill:!1},"path43-6":{type:"path",points:[{x:.19,y:.17},{x:.19,y:-.09}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.27},bottom1:{type:"text",text:"{VAL}",x:0,y:-.27}},refblocks:{left1:{x:-.52,y:.04},right1:{x:.52,y:.04}},bounds:{width:1.09,height:.55,centerX:0,centerY:0},circles:{}},{paths:xur,texts:t3n,bounds:XCe,refblocks:n3n,circles:Eur}=yur,o3n=Gl({primitives:[...Object.values(xur),...Object.values(Eur),{...t3n.top1,anchor:"middle_bottom"},{...t3n.bottom1,anchor:"middle_top"}],ports:[{...n3n.left1,labels:["1"]},{...n3n.right1,labels:["2"]}],size:{width:XCe.width,height:XCe.height},center:{x:XCe.centerX,y:XCe.centerY}}),Eot=si(o3n),Bur=Eot.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),bur=Eot.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Bur.anchor="middle_left",bur.anchor="middle_right";var Sur=Eot,Qur={paths:{path5:{type:"path",points:[{x:-.54,y:0},{x:-.26,y:0}],color:"primary",fill:!1},path6:{type:"path",points:[{x:.27,y:0},{x:.54,y:.01}],color:"primary",fill:!1},path7:{type:"path",points:[{x:.27,y:-.23},{x:-.26,y:.24}],color:"primary",fill:!1},path8:{type:"path",points:[{x:.38,y:-.23},{x:.27,y:-.23}],color:"primary",fill:!1},path9:{type:"path",points:[{x:0,y:.14},{x:.27,y:.14},{x:.27,y:-.13},{x:-.26,y:-.13},{x:-.26,y:.14},{x:0,y:.14}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.06,y:.25},bottom1:{type:"text",text:"{VAL}",x:.01,y:-.25}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:.01}},bounds:{width:1.13,height:.5,centerX:0,centerY:0}},{paths:vur,texts:i3n,bounds:ZCe,refblocks:r3n}=Qur,s3n=Gl({primitives:[...Object.values(vur),{...i3n.top1,anchor:"middle_left"},{...i3n.bottom1,anchor:"middle_right"}],ports:[{...r3n.left1,labels:["1","-"]},{...r3n.right1,labels:["2","+"]}],size:{width:ZCe.width,height:ZCe.height},center:{x:ZCe.centerX,y:ZCe.centerY}}),wur=si(s3n),Pur={paths:{path11:{type:"path",points:[{x:-.54,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.54,y:0}],color:"primary",fill:!1}},texts:{left1:{type:"text",text:"Var",x:0,y:-.02}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}},{paths:Mur,texts:Dur,bounds:eye,refblocks:a3n,circles:Nur}=Pur,Bot=Gl({primitives:[...Object.values(Mur),...Object.values(Nur),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...Dur.left1,anchor:"center",y:.02,fontSize:.2}],ports:[{...a3n.left1,labels:["1"]},{...a3n.right1,labels:["2"]}],size:{width:eye.width,height:eye.height},center:{x:eye.centerX,y:eye.centerY}}),{5:Rur,...Tur}=Bot.primitives;function kur(t){return typeof t=="object"}var A3n=si({...Bot,primitives:Object.values(Tur).filter(kur)}),Fur={...A3n,primitives:[...A3n.primitives,Rur]},tye={paths:{"path28-2":{type:"path",points:[{x:.19,y:0},{x:0,y:.09}],color:"primary",fill:!1},"path28-2-6":{type:"path",points:[{x:.19,y:0},{x:0,y:-.09}],color:"primary",fill:!1},"path29-3":{type:"path",points:[{x:.19,y:0},{x:-.23,y:0}],color:"primary",fill:!1}},texts:{right1:{type:"text",text:"{REF}",x:.25,y:0}},refblocks:{left1:{x:-.23,y:0}},bounds:{minX:-.25,maxX:.25,minY:-.09,maxY:.09,width:.5,height:.19,centerX:0,centerY:0},circles:{}};function nye(t,e){let{width:n,height:o}=t.size,i=1,r=1;e.width!==void 0&&e.height!==void 0?(i=e.width/n,r=e.height/o):e.width!==void 0?i=r=e.width/n:e.height!==void 0&&(i=r=e.height/o);let s=t.primitives.map(a=>{switch(a.type){case"path":return{...a,points:a.points.map(A=>({x:A.x*i,y:A.y*r}))};case"text":return{...a,x:a.x*i,y:a.y*r,fontSize:a.fontSize?a.fontSize*i:void 0};case"circle":return{...a,x:a.x*i,y:a.y*r,radius:a.radius*i};case"box":return{...a,x:a.x*i,y:a.y*r,width:a.width*i,height:a.height*r};default:return a}});return{...t,primitives:s,center:{x:t.center.x*i,y:t.center.y*r},ports:t.ports.map(a=>({...a,x:a.x*i,y:a.y*r})),size:{width:n*i,height:o*r}}}var Lur=Ln(tye).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build(),Hur=nye(Lur,{width:.24,height:.23}),Our=Ln(tye).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build(),Gur=nye(Our,{width:.23,height:.24}),Yur=Ln(tye).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build(),Uur=nye(Yur,{width:.23,height:.24}),Kur=Ln(tye).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build(),Vur=nye(Kur,{width:.24,height:.23}),bot={paths:{path11:{type:"path",points:[{x:-.54,y:.03},{x:-.3,y:.03}],color:"primary",fill:!1},"path11-5-5":{type:"path",points:[{x:.1,y:.13},{x:0,y:-.06},{x:-.11,y:.13}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:.03},{x:.54,y:.03}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.4},bottom1:{type:"text",text:"{VAL}",x:-.01,y:-.4}},refblocks:{left1:{x:-.54,y:.03},right1:{x:.54,y:.03}},bounds:{minX:-.57,maxX:.57,minY:-.4,maxY:.4,width:1.14,height:.8,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.04,radius:.29,color:"primary",fill:!1}}},{paths:H_r,texts:O_r,bounds:G_r,circles:Y_r,refblocks:U_r}=bot,zur=Ln(bot).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),{paths:Jur,texts:K_r,bounds:c3n,circles:Wur,refblocks:l3n}=bot,jur=Ln({primitives:[...Object.values(Jur),...Object.values(Wur),{type:"text",text:"{REF}",x:-.2,y:.35},{type:"text",text:"{VAL}",x:.2,y:.35}],ports:[{...l3n.left1,labels:["left1"]},{...l3n.right1,labels:["right1"]}],center:{x:c3n.centerX,y:c3n.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),$ur=jur,qur={paths:{path11:{type:"path",points:[{x:-.54,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.54,y:0}],color:"primary",fill:!1}},texts:{left1:{type:"text",text:"Wh",x:0,y:-.02}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}},{paths:Xur,texts:Zur,bounds:oye,refblocks:u3n,circles:egr}=qur,Sot=Gl({primitives:[...Object.values(Xur),...Object.values(egr),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...Zur.left1,anchor:"center",y:.01,fontSize:.2}],ports:[{...u3n.left1,labels:["1"]},{...u3n.right1,labels:["2"]}],size:{width:oye.width,height:oye.height},center:{x:oye.centerX,y:oye.centerY}}),{5:tgr,...ngr}=Sot.primitives;function ogr(t){return typeof t=="object"}var g3n=si({...Sot,primitives:Object.values(ngr).filter(ogr)}),igr={...g3n,primitives:[...g3n.primitives,tgr]},rgr={paths:{path11:{type:"path",points:[{x:-.54,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.54,y:0}],color:"primary",fill:!1}},texts:{left1:{type:"text",text:"W",x:0,y:-.02}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}},{paths:sgr,texts:agr,bounds:iye,refblocks:d3n,circles:Agr}=rgr,Qot=Gl({primitives:[...Object.values(sgr),...Object.values(Agr),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...agr.left1,anchor:"center",y:.01,fontSize:.3}],ports:[{...d3n.left1,labels:["1"]},{...d3n.right1,labels:["2"]}],size:{width:iye.width,height:iye.height},center:{x:iye.centerX,y:iye.centerY}}),{5:cgr,...lgr}=Qot.primitives;function ugr(t){return typeof t=="object"}var h3n=si({...Qot,primitives:Object.values(lgr).filter(ugr)}),ggr={...h3n,primitives:[...h3n.primitives,cgr]},p3n={paths:{path40:{type:"path",points:[{x:.14458890000000002,y:.04403629999999992},{x:-.1199943999999995,y:-.08825540000000043}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.1199943999999995,y:.17632800000000026},{x:.14458890000000002,y:.04403629999999992}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.1199943999999995,y:-.0882553999999991},{x:-.1199943999999995,y:.17632800000000026}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.14458890000000002,y:.17632800000000026},{x:.14458890000000002,y:-.0882553999999991}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.12219909999999956,y:.04403629999999992},{x:-.5168693999999996,y:.04403629999999992}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.5233797000000002,y:.043951100000000354},{x:.1496715999999998,y:.043951100000000354}],color:"primary",fill:!1},"path43-8":{type:"path",points:[{x:.14458890000000002,y:.17632800000000026},{x:.21069330000000042,y:.17632800000000026}],color:"primary",fill:!1},"path43-8-8":{type:"path",points:[{x:.14458890000000002,y:-.0882553999999991},{x:.07848449999999962,y:-.0882553999999991}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.0050250999999996715,y:.27384530000000007},bottom1:{type:"text",text:"{VAL}",x:-.00011179999999977319,y:-.27384529999999985}},refblocks:{left1:{x:-.5191471000000001,y:.044920700000000924},right1:{x:.5191470999999999,y:.04389609999999999}},bounds:{minX:-.5473055410000001,maxX:.5473055409999998,minY:-.27384529999999985,maxY:.27384530000000007,width:1.094611082,height:.5476905999999999,centerX:-11102230246251565e-32,centerY:11102230246251565e-32},circles:{}},dgr=Ln(p3n).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),{paths:hgr,bounds:rye,refblocks:m3n,circles:pgr}=p3n,mgr=Ln({primitives:[...Object.values(hgr),...Object.values(pgr),{type:"text",text:"{REF}",x:.15,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2294553499999995}],ports:[{...m3n.left1,labels:["1"]},{...m3n.right1,labels:["2"]}],size:{width:rye.width,height:rye.height},center:{x:rye.centerX,y:rye.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),_3n={ac_voltmeter_down:anr,ac_voltmeter_horz:lnr,ac_voltmeter_left:dnr,ac_voltmeter_right:mnr,ac_voltmeter_up:Inr,ac_voltmeter_vert:xnr,avalanche_diode_down:bnr,avalanche_diode_horz:Snr,avalanche_diode_left:wnr,avalanche_diode_right:Pnr,avalanche_diode_up:Nnr,avalanche_diode_vert:knr,backward_diode_down:Hnr,backward_diode_left:dCn,backward_diode_right:Knr,backward_diode_up:Vnr,battery_down:jnr,battery_horz:ICn,battery_left:tor,battery_right:ror,battery_up:cor,battery_vert:lor,boxresistor_down:hor,boxresistor_left:Ior,boxresistor_right:Eor,boxresistor_small_down:Sor,boxresistor_small_left:wor,boxresistor_small_right:Dor,boxresistor_small_up:Tor,boxresistor_up:Hor,bridged_ground_down:Yor,bridged_ground_left:Vor,bridged_ground_right:YCn,bridged_ground_up:Wor,capacitor_down:Xor,capacitor_left:eir,capacitor_polarized_down:tir,capacitor_polarized_left:nir,capacitor_polarized_right:oir,capacitor_polarized_up:iir,capacitor_right:sir,capacitor_up:lir,constant_current_diode_down:dir,constant_current_diode_horz:hir,constant_current_diode_left:_ir,constant_current_diode_right:fir,constant_current_diode_up:yir,constant_current_diode_vert:Bir,crystal_4pin_down:Qir,crystal_4pin_left:vir,crystal_4pin_right:wir,crystal_4pin_up:Dir,crystal_down:Tir,crystal_left:kir,crystal_right:Fir,crystal_up:Oir,current_source_down:Yir,current_source_left:Kir,current_source_right:zir,current_source_up:Wir,darlington_pair_transistor_down:jir,darlington_pair_transistor_horz:$ir,darlington_pair_transistor_left:qir,darlington_pair_transistor_right:Xir,darlington_pair_transistor_up:Zir,darlington_pair_transistor_vert:err,dc_ammeter_down:tyn,dc_ammeter_horz:Ate,dc_ammeter_left:orr,dc_ammeter_right:irr,dc_ammeter_up:rrr,dc_ammeter_vert:tyn,dc_voltmeter_down:Arr,dc_voltmeter_horz:urr,dc_voltmeter_left:hrr,dc_voltmeter_right:_rr,dc_voltmeter_up:Crr,dc_voltmeter_vert:Err,diac_down:Brr,diac_horz:brr,diac_left:Srr,diac_right:Qrr,diac_up:vrr,diac_vert:wrr,digital_ground_down:Drr,digital_ground_left:Trr,digital_ground_right:Lrr,digital_ground_up:Grr,diode_down:Urr,diode_left:Krr,diode_right:MIe,diode_up:Vrr,dpdt_normally_closed_switch_down:Jrr,dpdt_normally_closed_switch_left:Wrr,dpdt_normally_closed_switch_right:DIe,dpdt_normally_closed_switch_up:jrr,dpdt_switch_down:qrr,dpdt_switch_left:Xrr,dpdt_switch_right:NIe,dpdt_switch_up:Zrr,dpst_normally_closed_switch_down:tsr,dpst_normally_closed_switch_left:nsr,dpst_normally_closed_switch_right:RIe,dpst_normally_closed_switch_up:osr,dpst_switch_down:rsr,dpst_switch_left:ssr,dpst_switch_right:TIe,dpst_switch_up:asr,ferrite_bead_down:lsr,ferrite_bead_left:usr,ferrite_bead_right:pyn,ferrite_bead_up:hyn,filled_diode_down:hsr,filled_diode_horz:_sr,filled_diode_left:Csr,filled_diode_right:Esr,filled_diode_up:Ssr,filled_diode_vert:wsr,frequency_meter_horz:get,frequency_meter_vert:Fsr,fuse_horz:byn,fuse_vert:Gsr,ground_down:Ysr,ground_horz:Usr,ground_left:Ksr,ground_right:Vsr,ground_up:zsr,ground_vert:Jsr,gunn_diode_horz:Wsr,gunn_diode_vert:jsr,icled_down:qsr,icled_left:Xsr,icled_right:VIe,icled_up:Zsr,igbt_transistor_horz:Syn,igbt_transistor_vert:tar,illuminated_push_button_normally_open_horz:vyn,illuminated_push_button_normally_open_vert:oar,inductor_down:iar,inductor_left:rar,inductor_right:sar,inductor_up:aar,laser_diode_down:Aar,laser_diode_left:car,laser_diode_right:JIe,laser_diode_up:lar,led_down:har,led_left:par,led_right:Met,led_up:Ryn,light_dependent_resistor_horz:Fyn,light_dependent_resistor_vert:Iar,mosfet_depletion_normally_on_horz:Uyn,mosfet_depletion_normally_on_vert:xar,mushroom_head_normally_open_momentary_horz:Jyn,mushroom_head_normally_open_momentary_vert:Sar,n_channel_d_mosfet_transistor_gate_bottom_drain_left:Mar,n_channel_d_mosfet_transistor_gate_bottom_drain_right:Dar,n_channel_d_mosfet_transistor_gate_left_drain_bottom:Nar,n_channel_d_mosfet_transistor_gate_left_drain_top:Rar,n_channel_d_mosfet_transistor_gate_right_drain_bottom:Tar,n_channel_d_mosfet_transistor_gate_right_drain_top:kar,n_channel_d_mosfet_transistor_gate_top_drain_left:Far,n_channel_d_mosfet_transistor_gate_top_drain_right:Lar,n_channel_d_mosfet_transistor_horz:r8,n_channel_d_mosfet_transistor_vert:YS,n_channel_e_mosfet_transistor_gate_bottom_drain_left:Yar,n_channel_e_mosfet_transistor_gate_bottom_drain_right:Uar,n_channel_e_mosfet_transistor_gate_left_drain_bottom:Kar,n_channel_e_mosfet_transistor_gate_left_drain_top:Var,n_channel_e_mosfet_transistor_gate_right_drain_bottom:zar,n_channel_e_mosfet_transistor_gate_right_drain_top:Jar,n_channel_e_mosfet_transistor_gate_top_drain_left:War,n_channel_e_mosfet_transistor_gate_top_drain_right:jar,n_channel_e_mosfet_transistor_horz:s8,n_channel_e_mosfet_transistor_vert:US,njfet_transistor_horz:r2n,njfet_transistor_vert:Zar,not_connected_down:oAr,not_connected_left:iAr,not_connected_right:ZIe,not_connected_up:rAr,npn_bipolar_transistor_down:AAr,npn_bipolar_transistor_horz:uAr,npn_bipolar_transistor_left:hAr,npn_bipolar_transistor_right:_Ar,npn_bipolar_transistor_up:CAr,npn_bipolar_transistor_vert:EAr,opamp_no_power_down:bAr,opamp_no_power_left:SAr,opamp_no_power_right:sCe,opamp_no_power_up:QAr,opamp_with_power_down:wAr,opamp_with_power_left:PAr,opamp_with_power_right:aCe,opamp_with_power_up:MAr,p_channel_d_mosfet_transistor_gate_bottom_drain_left:TAr,p_channel_d_mosfet_transistor_gate_bottom_drain_right:kAr,p_channel_d_mosfet_transistor_gate_left_drain_bottom:FAr,p_channel_d_mosfet_transistor_gate_left_drain_top:LAr,p_channel_d_mosfet_transistor_gate_right_drain_bottom:HAr,p_channel_d_mosfet_transistor_gate_right_drain_top:OAr,p_channel_d_mosfet_transistor_gate_top_drain_left:GAr,p_channel_d_mosfet_transistor_gate_top_drain_right:YAr,p_channel_d_mosfet_transistor_horz:a8,p_channel_d_mosfet_transistor_vert:KS,p_channel_e_mosfet_transistor_gate_bottom_drain_left:zAr,p_channel_e_mosfet_transistor_gate_bottom_drain_right:JAr,p_channel_e_mosfet_transistor_gate_left_drain_bottom:WAr,p_channel_e_mosfet_transistor_gate_left_drain_top:jAr,p_channel_e_mosfet_transistor_gate_right_drain_bottom:$Ar,p_channel_e_mosfet_transistor_gate_right_drain_top:qAr,p_channel_e_mosfet_transistor_gate_top_drain_left:XAr,p_channel_e_mosfet_transistor_gate_top_drain_right:ZAr,p_channel_e_mosfet_transistor_horz:A8,p_channel_e_mosfet_transistor_vert:VS,photodiode_horz:I2n,photodiode_vert:ncr,pjfet_transistor_horz:E2n,pjfet_transistor_vert:scr,pnp_bipolar_transistor_down:ccr,pnp_bipolar_transistor_horz:lcr,pnp_bipolar_transistor_left:dcr,pnp_bipolar_transistor_right:mcr,pnp_bipolar_transistor_up:Icr,pnp_bipolar_transistor_vert:xcr,potentiometer_horz:v2n,potentiometer_vert:Scr,potentiometer2_down:wcr,potentiometer2_left:Pcr,potentiometer2_right:mCe,potentiometer2_up:Mcr,potentiometer3_down:Rcr,potentiometer3_left:Fcr,potentiometer3_right:Lcr,potentiometer3_up:Gcr,power_factor_meter_horz:D2n,power_factor_meter_vert:Vcr,push_button_normally_closed_momentary_horz:F2n,push_button_normally_closed_momentary_vert:jcr,push_button_normally_open_momentary_down:Xcr,push_button_normally_open_momentary_horz:tlr,push_button_normally_open_momentary_left:nlr,push_button_normally_open_momentary_right:ute,push_button_normally_open_momentary_up:olr,push_button_normally_open_momentary_vert:ilr,rail_down:Alr,rail_left:glr,rail_right:mlr,rail_up:Ilr,rectifier_diode_horz:$2n,rectifier_diode_vert:blr,resistor_down:vlr,resistor_left:Mlr,resistor_right:Rlr,resistor_up:Flr,resonator_down:Olr,resonator_horz:oxn,resonator_left:Ulr,resonator_right:MCe,resonator_up:Klr,resonator_vert:Vlr,schottky_diode_down:Jlr,schottky_diode_left:Wlr,schottky_diode_right:NCe,schottky_diode_up:jlr,silicon_controlled_rectifier_horz:rxn,silicon_controlled_rectifier_vert:qlr,solderjumper2_bridged12_down:Xlr,solderjumper2_bridged12_left:Zlr,solderjumper2_bridged12_right:cnt,solderjumper2_bridged12_up:e0r,solderjumper2_down:t0r,solderjumper2_left:n0r,solderjumper2_right:gnt,solderjumper2_up:o0r,solderjumper3_bridged12_down:i0r,solderjumper3_bridged12_left:r0r,solderjumper3_bridged12_right:pnt,solderjumper3_bridged12_up:s0r,solderjumper3_bridged123_down:a0r,solderjumper3_bridged123_left:A0r,solderjumper3_bridged123_right:fnt,solderjumper3_bridged123_up:c0r,solderjumper3_bridged23_down:l0r,solderjumper3_bridged23_left:u0r,solderjumper3_bridged23_right:ynt,solderjumper3_bridged23_up:g0r,solderjumper3_down:d0r,solderjumper3_left:h0r,solderjumper3_right:Bnt,solderjumper3_up:p0r,spdt_normally_closed_switch_down:_0r,spdt_normally_closed_switch_left:f0r,spdt_normally_closed_switch_right:RCe,spdt_normally_closed_switch_up:I0r,spdt_switch_down:y0r,spdt_switch_left:x0r,spdt_switch_right:TCe,spdt_switch_up:E0r,speaker_down:B0r,speaker_horz:b0r,speaker_left:S0r,speaker_right:Q0r,speaker_up:v0r,speaker_vert:w0r,spst_normally_closed_switch_down:P0r,spst_normally_closed_switch_left:M0r,spst_normally_closed_switch_right:UCe,spst_normally_closed_switch_up:D0r,spst_switch_down:N0r,spst_switch_left:R0r,spst_switch_right:VCe,spst_switch_up:T0r,square_wave_down:k0r,square_wave_left:F0r,square_wave_right:L0r,square_wave_up:H0r,step_recovery_diode_horz:Nxn,step_recovery_diode_vert:O0r,tachometer_horz:cot,tachometer_vert:W0r,testpoint_down:j0r,testpoint_left:$0r,testpoint_right:WCe,testpoint_up:q0r,tilted_ground_down:Z0r,tilted_ground_left:eur,tilted_ground_right:lot,tilted_ground_up:Oxn,triac_horz:Yxn,triac_vert:our,tunnel_diode_horz:Jxn,tunnel_diode_vert:cur,unijunction_transistor_horz:jxn,unijunction_transistor_vert:hur,usbc:mur,var_meter_horz:e3n,var_meter_vert:Cur,varactor_diode_horz:o3n,varactor_diode_vert:Sur,varistor_horz:s3n,varistor_vert:wur,varmeter_horz:Bot,varmeter_vert:Fur,vcc_down:Hur,vcc_left:Gur,vcc_right:Uur,vcc_up:Vur,volt_meter_horz:zur,volt_meter_vert:$ur,watt_hour_meter_horz:Sot,watt_hour_meter_vert:igr,wattmeter_horz:Qot,wattmeter_vert:ggr,zener_diode_horz:dgr,zener_diode_vert:mgr};Object.fromEntries(Object.keys(_3n).map(t=>[t,t]));const _gr={bottom_left:0,middle_bottom:1,bottom_right:2,middle_left:3,center:4,middle_right:5,top_left:6,middle_top:7,top_right:8};function fgr({altiumComponentRecordIndex:t,circuitComponentCenter:e,circuitToAltiumSchematicPoint:n,circuitToAltiumSchematicPrecisePoint:o,symbolName:i}){const r=ygr(i);if(!r)return;const s=Ad(pA(e.x,e.y),pA(-r.center.x,-r.center.y)),a=n(e),A=o(e),c={altiumComponentRecordIndex:t,circuitToAltiumSchematicPoint:n,circuitToAltiumSchematicPrecisePoint:p=>{const m=o(p);return{x:m.x+a.x-A.x,y:m.y+a.y-A.y}},symbolToCircuitMatrix:s},l=[],{pinGeometryByLabel:u,pinGeometryByTerminal:g}=Cgr({schematicSymbol:r,symbolMapping:c});let h,d;for(const p of r.primitives){if(p.type!=="text"){l.push(Ltr({graphicPrimitive:p,symbolMapping:c}));continue}const m=f3n({symbolMapping:c,textPrimitive:p});p.text==="{REF}"?d=m:p.text==="{VAL}"?h=m:l.push(xgr({symbolMapping:c,textPrimitive:p}))}return{commentPlacement:h,designatorPlacement:d,graphicRecordFields:l,pinGeometryByLabel:u,pinGeometryByTerminal:g}}function Igr(t){return`${t.x}:${t.y}`}function Cgr({schematicSymbol:t,symbolMapping:e}){const n=new Map,o=new Map;for(const i of t.ports){const s=t.primitives.flatMap(l=>{if(l.type!=="path"||l.points.length<2)return[];const u=l.points[0],g=l.points.at(-1);if(u?.x===i.x&&u.y===i.y)return l.points[1]?[l.points[1]]:[];if(g?.x===i.x&&g.y===i.y){const h=l.points.at(-2);return h?[h]:[]}return[]}).toSorted((l,u)=>{const g=Math.hypot(l.x-i.x,l.y-i.y),h=Math.hypot(u.x-i.x,u.y-i.y);return g-h})[0];if(!s)continue;const a=lk({symbolMapping:e,symbolPoint:s}),A=lk({symbolMapping:e,symbolPoint:i}),c={length:Math.max(1,Math.round(Math.hypot(A.x-a.x,A.y-a.y))),location:a};o.set(Igr(A),c);for(const l of i.labels)n.has(l)||n.set(l,c)}return{pinGeometryByLabel:n,pinGeometryByTerminal:o}}function ygr(t){return Object.entries(_3n).find(([e])=>e===t)?.[1]}function xgr({symbolMapping:t,textPrimitive:e}){const n=f3n({symbolMapping:t,textPrimitive:e});return["RECORD=4",...ete(t.altiumComponentRecordIndex),`LOCATION.X=${n.position.x}`,`LOCATION.Y=${n.position.y}`,"FONTID=2",`TEXT=${uu(e.text)}`,"ORIENTATION=0",`JUSTIFICATION=${n.justification}`]}function f3n({symbolMapping:t,textPrimitive:e}){return{justification:_gr[e.anchor],position:lk({symbolMapping:t,symbolPoint:{x:e.x,y:e.y}})}}function sye({componentTexts:t,excludedText:e,renderedText:n}){if(n)return t.find(o=>o!==e&&o.type==="schematic_text"&&uu(o.text)===n)}const Egr=.05;function Bgr({excludedTexts:t,renderedText:e,schematicTexts:n,targetPosition:o}){const i=n.filter(r=>!t.has(r)&&r.type==="schematic_text"&&uu(r.text)===e).map(r=>{const s=AA(r.position);return{distanceSquared:s?(s.x-o.x)**2+(s.y-o.y)**2:Number.POSITIVE_INFINITY,schematicText:r}}).sort((r,s)=>r.distanceSquared-s.distanceSquared)[0];return i&&i.distanceSquared<=Egr**2?i.schematicText:void 0}const m1=20,bgr=300,Sgr=400,I3n=100;function Qgr(t,e){const n=Bn(e,t);return{x:Math.round(n.x),y:Math.round(n.y)}}function vgr({element:t,points:e}){if(t.type==="schematic_line"){e.push({x:fr(t.x1),y:fr(t.y1)},{x:fr(t.x2),y:fr(t.y2)});return}if(t.type==="schematic_path"&&Array.isArray(t.points)){for(const o of t.points){const i=AA(o);i&&e.push(i)}return}const n=AA(t.center);if(n){if(t.type==="schematic_rect"){const o=fr(t.width),i=fr(t.height);e.push({x:n.x-o/2,y:n.y-i/2},{x:n.x+o/2,y:n.y+i/2});return}if(t.type==="schematic_circle"||t.type==="schematic_arc"){const o=fr(t.radius),i=t.type==="schematic_arc"?fr(t.altium_secondary_radius):0,r=i>0?i:o;e.push({x:n.x-o,y:n.y-r},{x:n.x+o,y:n.y+r});return}}}function wgr(t,e){const n=[];for(const I of t){const C=AA(I.center);C&&n.push(C),F1e(I)&&(ti(I.schematic_symbol_id)||ti(I.schematic_component_id))&&vgr({element:I,points:n});const y=AA(I.anchor_position);y&&n.push(y);const x=T1e(I),E=x?AA(I.position):void 0;if(E&&n.push(E),x&&I.type==="schematic_rect"){const B=fr(I.width),S=fr(I.height);C&&B>0&&S>0&&n.push({x:C.x-B/2,y:C.y-S/2},{x:C.x+B/2,y:C.y+S/2})}if(x&&I.type==="schematic_path"&&Array.isArray(I.points))for(const B of I.points){const S=AA(B);S&&n.push(S)}if(I.type==="schematic_trace"&&Array.isArray(I.edges))for(const B of I.edges){if(!HE(B))continue;const S=AA(B.from),Q=AA(B.to);S&&n.push(S),Q&&n.push(Q)}if(I.type==="schematic_trace"&&Array.isArray(I.junctions))for(const B of I.junctions){const S=AA(B);S&&n.push(S)}}const o=n.length>0?Math.min(...n.map(I=>I.x)):0,i=n.length>0?Math.min(...n.map(I=>I.y)):0,r=n.length>0?Math.max(...n.map(I=>I.x)):0,s=n.length>0?Math.max(...n.map(I=>I.y)):0,a=Math.round(o*m1)/m1,A=Math.round(i*m1)/m1,c=Math.round(r*m1)/m1,l=Math.round(s*m1)/m1,u=(c-a)*m1,g=(l-A)*m1,h=e?e.width*m1:Math.max(Sgr,u+I3n*2),d=e?e.height*m1:Math.max(bgr,g+I3n*2),p=(h-u)/2,m=(d-g)/2,_=e?.circuitOrigin?Ad(pA(e.circuitOrigin.x*m1,e.circuitOrigin.y*m1),dC(m1,m1)):Ad(pA(p,m),dC(m1,m1),pA(-a,-A)),f=Bn(_,{x:0,y:0});return{circuitToAltiumSchematicLength:I=>{const C=Bn(_,{x:I,y:0});return Math.abs(C.x-f.x)},circuitToAltiumSchematicPoint:I=>Qgr(I,_),circuitToAltiumSchematicPrecisePoint:I=>Bn(_,I),width:h,height:d}}const Pgr=32,Mgr=8,Dgr=16,C3n=16,Ngr=1,Rgr=.1,Tgr=3,kgr=1,y3n=3615007,Fgr=12779519,Lgr={left:2,right:0,up:1,down:3},x3n={x:-1,y:0},Hgr={left:x3n,right:{x:1,y:0},up:{x:0,y:1},down:{x:0,y:-1}};function vot({element:t,id:e,map:n}){e&&n.set(e,[...n.get(e)??[],t])}function Ogr(t){const e={byComponentId:new Map,bySymbolId:new Map};for(const n of t.filter(F1e))vot({element:n,id:ti(n.schematic_component_id),map:e.byComponentId}),vot({element:n,id:ti(n.schematic_symbol_id),map:e.bySymbolId});return e}function Ggr({maps:t,schematicComponent:e}){const n=ti(e.schematic_component_id),o=ti(e.schematic_symbol_id),i=t.byComponentId.get(n)??[],r=i.filter(A=>{const c=ti(A.schematic_symbol_id);return!o||!c||c===o}),a=[...new Set(o?[o]:i.map(A=>ti(A.schematic_symbol_id)).filter(Boolean))].flatMap(A=>t.bySymbolId.get(A)??[]);return[...new Set([...r,...a])]}function Ygr({circuitComponentCenter:t,circuitComponentHeight:e,circuitComponentWidth:n,circuitToAltiumSchematicPoint:o}){const i=o({x:t.x-n/2,y:t.y-e/2}),r=o({x:t.x+n/2,y:t.y+e/2});return{bottom:Math.min(i.y,r.y),left:Math.min(i.x,r.x),right:Math.max(i.x,r.x),top:Math.max(i.y,r.y)}}function Ugr({circuitPinTerminal:t,circuitToAltiumSchematicPoint:e,distanceFromComponentEdge:n,facingDirection:o}){const i=Hgr[o]??x3n,r={x:t.x-i.x*n,y:t.y-i.y*n},s=e(r),a=e(t);return{length:Math.max(1,Math.round(Math.hypot(a.x-s.x,a.y-s.y))),location:s}}function Kgr({element:t,includeAllSchematicElements:e,schematicSheetId:n}){const o=ti(t.schematic_sheet_id);return n?o===n||e&&!o:!o||e}function Vgr({element:t,schematicComponents:e}){if(t.type!=="schematic_rect"||t.is_filled!==!0||!T1e(t))return!1;const n=AA(t.center),o=fr(t.width)/2,i=fr(t.height)/2;return!n||o<=0||i<=0?!1:e.some(r=>{const s=AA(r.center),a=HE(r.size)?r.size:void 0,A=fr(a?.width)/2,c=fr(a?.height)/2;return s!==void 0&&A>0&&c>0&&Math.abs(s.x-n.x)+A<=o&&Math.abs(s.y-n.y)+c<=i})}function d_(t,e){const n=e.nextRecordIndex;return e.lines.push(`|${t.join("|")}`),e.nextRecordIndex++,n}function zgr({fontIdBySourceFontId:t,recordFields:e}){return e.map(n=>{const o=/^FONTID=(\d+)$/iu.exec(n),i=Number(o?.[1]),r=t.get(i);return r===void 0?n:`FONTID=${r}`})}function Jgr({childSheets:t=[],circuitJson:e,includeAllSchematicElements:n,schematicSheetId:o,sheetSettings:i,template:r}){const s=new Map(Dd(e,"source_port").map(ne=>[ti(ne.source_port_id),ne])),a=e.filter(ne=>ne.type?.startsWith("schematic_")===!0&&ne.type!=="schematic_sheet"&&!(ne.type==="schematic_port"&&!ti(ne.schematic_component_id)&&ne.is_connected===!1&&s.get(ti(ne.source_port_id))?.do_not_connect!==!0)&&Kgr({element:ne,includeAllSchematicElements:n,schematicSheetId:o})),{circuitToAltiumSchematicLength:A,circuitToAltiumSchematicPoint:c,circuitToAltiumSchematicPrecisePoint:l,width:u,height:g}=wgr(a,i),h=Dtr({childSheets:t,circuitJson:e}),d=a.some(ne=>ne.type!=="schematic_graphic"&&ne.type!=="schematic_group"&&ne.type!=="schematic_symbol"),p=new Set(h.flatMap(ne=>ne.placementComponent?[ne.placementComponent]:[])),m=h.filter(ne=>!ne.placementComponent),_=Math.max(Math.ceil(Math.sqrt(m.length)),1),f=Math.ceil(m.length/_),I=Math.max(...m.map(ne=>ne.width),0),C=Math.max(...m.map(ne=>ne.height),0),y=d?u+40:60,x=_*I+Math.max(_-1,0)*40,E=f*C+Math.max(f-1,0)*40,B=Math.max(u,m.length>0?y+x+60:0),S=Math.max(g,m.length>0?E+120:0),Q=a.filter(ne=>ne.type==="schematic_text"&&T1e(ne)),w=new Set,M=[];for(const[ne,le]of a.filter(ge=>ge.type==="schematic_net_label").entries()){const ge=uu(le.text);if(!ge)continue;const _e=AA(le.anchor_position)??AA(le.center)??{x:0,y:0},ue=Bgr({excludedTexts:w,renderedText:ge,schematicTexts:Q,targetPosition:_e});ue&&w.add(ue),M.push({circuitLabelPosition:_e,labelText:ge,netLabelIndex:ne,schematicNetLabel:le,textPresentation:ue})}const k=Atr({netLabelTextPresentations:M.flatMap(({schematicNetLabel:ne,textPresentation:le})=>le&&!VIn(ti(ne.symbol_name))?[le]:[]),schematicElements:a,templateFontFields:r?.fontFields}),R={...k,fontIdBySizeCircuitUnits:k.nativeTextFontIdBySizeCircuitUnits},F={lines:["|HEADER=Protel for Windows - Schematic Capture Ascii File Version 5.0"],nextRecordIndex:0};d_(["RECORD=31",...k.sheetRecordFields,`AREACOLOR=${kIn}`,`CUSTOMX=${B}`,`CUSTOMY=${S}`,"USECUSTOMSHEET=T","SNAPGRIDON=T","SNAPGRIDSIZE=10",...r?.sheetRecordFields??[]],F);for(const ne of r?.recordFields??[])d_(zgr({fontIdBySourceFontId:k.templateFontIdBySourceFontId,recordFields:ne}),F);const O=a.filter(ne=>ne.type==="schematic_component"),U=new Set(a.filter(ne=>Vgr({element:ne,schematicComponents:O})));for(const ne of U){const le=WIn({annotation:ne,circuitToAltiumSchematicPoint:c,fontTable:k});le&&d_(le,F)}let Y=0;for(const ne of h){let le=ne,ge;if(ne.placementComponent){const ue=AA(ne.placementComponent.center)??{x:0,y:0},fe=HE(ne.placementComponent.size)?ne.placementComponent.size:{},pe=A(Tu(fe.width,ne.width/20)),ye=A(Tu(fe.height,ne.height/20)),Me=c(ue);ge={x:Me.x-pe/2,y:Me.y+ye/2},le={...ne,height:ye,width:pe}}else{const ue=Y%_,fe=Math.floor(Y/_);ge={x:y+ue*(I+40),y:S-60-fe*(C+40)},Y++}const _e=d_(Ttr({location:ge,plan:le}),F);for(const ue of Rtr({altiumSymbolRecordIndex:_e,location:ge,plan:le}))d_(ue,F);for(const ue of Ntr({location:ge,plan:le}))d_(ue,F)}const W=new Map(Dd(e,"source_component").filter(ne=>typeof ne.source_component_id=="string").map(ne=>[ti(ne.source_component_id),ne])),te=new Map(Dd(e,"schematic_symbol").map(ne=>[ti(ne.schematic_symbol_id),ne])),j=new Map,J=new Map,oe=Ogr(a);for(const ne of a.filter(le=>le.type==="schematic_port")){const le=ti(ne.schematic_component_id);le&&j.set(le,[...j.get(le)??[],ne])}for(const ne of a.filter(le=>le.type==="schematic_text"&&!F1e(le)))vot({element:ne,id:ti(ne.schematic_component_id),map:J});for(const[ne,le]of a.filter(ge=>ge.type==="schematic_component"&&!p.has(ge)).entries()){const ge=AA(le.center)??{x:0,y:0},_e=c(ge),ue=W.get(ti(le.source_component_id)),fe=uu(ue?.name)||`U${ne+1}`,pe=uu(le.symbol_display_value),ye=ti(le.schematic_component_id),Me=J.get(ye)??[],ve=sye({componentTexts:Me,excludedText:void 0,renderedText:fe}),he=sye({componentTexts:Me,excludedText:ve,renderedText:pe}),Qe=Me.filter(kt=>kt!==ve&&kt!==he),Pe=Me.length>0,we=te.get(ti(le.schematic_symbol_id)),Te=uu(we?.name)||uu(le.symbol_name)||fe,Re=d_(["RECORD=1",`LOCATION.X=${_e.x}`,`LOCATION.Y=${_e.y}`,"ORIENTATION=0",`LIBREFERENCE=${Te}`,"SHOWHIDDENPINS=F","CURRENTPARTID=1","ISMIRRORED=F",`UNIQUEID=${uu(le.schematic_component_id)}`],F),Ee=HE(le.size)?le.size:{},ke=Tu(Ee.width,2),Ce=Tu(Ee.height,1.5),Le=Ygr({circuitComponentCenter:ge,circuitComponentHeight:Ce,circuitComponentWidth:ke,circuitToAltiumSchematicPoint:c}),Ye=Ggr({maps:oe,schematicComponent:le}).flatMap(kt=>{const it=Xtr({altiumComponentRecordIndex:Re,circuitToAltiumSchematicLength:A,circuitToAltiumSchematicPoint:c,fontTable:k,graphic:kt});return it?[it]:[]}),tt=Ye.length>0,At=!ve&&(Pe||tt),at=tt?void 0:fgr({altiumComponentRecordIndex:Re,circuitComponentCenter:ge,circuitToAltiumSchematicPoint:c,circuitToAltiumSchematicPrecisePoint:l,symbolName:ti(le.symbol_name)});if(tt)for(const kt of Ye)d_(kt,F);else if(at)for(const kt of at.graphicRecordFields)d_(kt,F);else d_(["RECORD=14",`OWNERINDEX=${Re}`,"OWNERPARTID=1",`LOCATION.X=${Le.left}`,`LOCATION.Y=${Le.bottom}`,`CORNER.X=${Le.right}`,`CORNER.Y=${Le.top}`,"LINEWIDTH=1","COLOR=136",`AREACOLOR=${Fgr}`,"ISSOLID=T"],F);const nt=at?.designatorPlacement,gt=at?.commentPlacement,bt=cZe({circuitToAltiumSchematicPoint:c,fallbackAltiumColor:y3n,fallbackAltiumPosition:nt?.position??{x:Le.left,y:Le.top+12},fallbackFontId:1,fallbackJustification:nt?.justification??0,fontTable:R,schematicText:ve}),Ct=cZe({circuitToAltiumSchematicPoint:c,fallbackAltiumColor:y3n,fallbackAltiumPosition:gt?.position??{x:Le.left,y:Le.bottom-12},fallbackFontId:2,fallbackJustification:gt?.justification??0,fontTable:R,schematicText:he});d_(["RECORD=34",`OWNERINDEX=${Re}`,"OWNERPARTID=-1",`LOCATION.X=${bt.position.x}`,`LOCATION.Y=${bt.position.y}`,`FONTID=${bt.fontId}`,"NAME=Designator",`TEXT=${fe}`,`COLOR=${bt.color}`,"SHOWNAME=F",`ISHIDDEN=${At?"T":"F"}`,`ORIENTATION=${bt.orientation}`,`JUSTIFICATION=${bt.justification}`],F),d_(["RECORD=41",`OWNERINDEX=${Re}`,"OWNERPARTID=-1",`LOCATION.X=${Ct.position.x}`,`LOCATION.Y=${Ct.position.y}`,`FONTID=${Ct.fontId}`,"NAME=Comment",`TEXT=${pe}`,`COLOR=${Ct.color}`,"SHOWNAME=F",`ISHIDDEN=${pe?"F":"T"}`,`ORIENTATION=${Ct.orientation}`,`JUSTIFICATION=${Ct.justification}`],F);const Dt=j.get(ye)??[];for(const[kt,it]of Dt.entries()){const Yt=s.get(ti(it.source_port_id)),pn=AA(it.center)??{x:0,y:0},be=ti(it.facing_direction),et=Ugr({circuitPinTerminal:pn,circuitToAltiumSchematicPoint:c,distanceFromComponentEdge:Math.max(fr(it.distance_from_component_edge),0),facingDirection:be}),It=Lgr[be]??2,Bt=!at&&!tt,mt=uu(it.display_pin_label)||uu(Yt?.name)||`Pin ${kt+1}`,st=uu(Yt?.pin_number)||`${kt+1}`,xt=[ti(it.display_pin_label),ti(Yt?.name),...Array.isArray(Yt?.port_hints)?Yt.port_hints.flatMap(Ao=>typeof Ao=="string"?[Ao]:[]):[],st],Xe=c(pn),Ze=at?.pinGeometryByTerminal.get(`${Xe.x}:${Xe.y}`)??xt.map(Ao=>at?.pinGeometryByLabel.get(Ao)).find(Ao=>Ao!==void 0),dt=Ze?.location??(at?c(pn):et.location),Ut=Ze?.length??(at?10:et.length),Wt=typeof it.display_pin_label=="string"?sye({componentTexts:Qe,excludedText:void 0,renderedText:mt}):void 0,Xt=typeof it.pin_number=="number"?sye({componentTexts:Qe,excludedText:Wt,renderedText:st}):void 0,Jt=tt&&typeof it.display_pin_label=="string",yn=!tt&&(Pe?typeof it.display_pin_label=="string":Bt),An=Wt===void 0&&(Jt||yn),kn=Xt===void 0&&!tt&&(Pe?typeof it.pin_number=="number":Bt),$n=(An?Mgr:0)|(kn?Dgr:0),ht=Pgr|$n|It,rn=qee({cssColor:ti((Wt??Xt)?.color),fallbackAltiumColor:b4}),Lt=R.fontIdBySizeCircuitUnits.get(Tu(it.display_pin_label_font_size,HIn)),Ho=R.fontIdBySizeCircuitUnits.get(OIn);d_(["RECORD=2",`OWNERINDEX=${Re}`,"OWNERPARTID=1",`DESIGNATOR=${st}`,`NAME=${mt}`,`PINCONGLOMERATE=${ht}`,`LOCATION.X=${dt.x}`,`LOCATION.Y=${dt.y}`,`PINLENGTH=${Ut}`,...it.has_input_arrow===!0?[`SYMBOL_INNEREDGE=${Tgr}`]:[],...it.is_drawn_with_inversion_circle===!0?[`SYMBOL_OUTEREDGE=${kgr}`]:[],`COLOR=${rn}`,`PINNAME_POSITIONCONGLOMERATE=${C3n|Ngr}`,...OS("NAME_CUSTOMPOSITION_MARGIN",-A(Rgr)),`NAME_CUSTOMFONTID=${Lt}`,`NAME_CUSTOMCOLOR=${rn}`,`PINDESIGNATOR_POSITIONCONGLOMERATE=${C3n}`,`DESIGNATOR_CUSTOMFONTID=${Ho}`,`DESIGNATOR_CUSTOMCOLOR=${rn}`],F)}for(const kt of Qe){const it=XIn({altiumComponentRecordIndex:Re,circuitToAltiumSchematicPoint:c,fontTable:R,schematicText:kt});it&&d_(it,F)}}for(const ne of a.filter(le=>le.type==="schematic_port"&&!ti(le.schematic_component_id))){const le=s.get(ti(ne.source_port_id));if(le?.do_not_connect===!0&&ne.is_internal_circuit_port!==!0)continue;const _e=uu(ne.display_pin_label)||uu(le?.name),ue=AA(ne.center);!_e||!ue||d_(atr({altiumPortPosition:c(ue),facingDirection:ti(ne.facing_direction),hasInputArrow:ne.has_input_arrow===!0,hasOutputArrow:ne.has_output_arrow===!0,portName:_e}),F)}for(const ne of a.filter(le=>le.type==="schematic_trace"))if(Array.isArray(ne.edges))for(const le of ne.edges){if(!HE(le))continue;const ge=AA(le.from),_e=AA(le.to);if(!ge||!_e)continue;const ue=c(ge),fe=c(_e);d_(["RECORD=27","LINEWIDTH=1","LOCATIONCOUNT=2",`X1=${ue.x}`,`Y1=${ue.y}`,`X2=${fe.x}`,`Y2=${fe.y}`,"COLOR=34816"],F)}const ie=new Set;for(const ne of a.filter(le=>le.type==="schematic_trace"))if(Array.isArray(ne.junctions))for(const le of ne.junctions){const ge=AA(le);if(!ge)continue;const _e=c(ge),ue=`${_e.x}:${_e.y}`;ie.has(ue)||(ie.add(ue),d_(["RECORD=29",`LOCATION.X=${_e.x}`,`LOCATION.Y=${_e.y}`,"COLOR=34816"],F))}for(const{circuitLabelPosition:ne,labelText:le,netLabelIndex:ge,schematicNetLabel:_e,textPresentation:ue}of M){const fe=Ctr({anchorSide:ti(_e.anchor_side),altiumLabelCenter:c(AA(_e.center)??ne),altiumLabelPosition:c(ne),decorationIndex:ge,fontTable:ti(ue?.source_trace_id)?R:k,labelText:le,symbolName:ti(_e.symbol_name),textPresentation:ue});for(const pe of fe)d_(pe,F)}for(const ne of a.filter(le=>le.type==="schematic_port")){if(s.get(ti(ne.source_port_id))?.do_not_connect!==!0)continue;const ge=AA(ne.center);ge&&d_(zIn({altiumNoConnectPosition:c(ge)}),F)}for(const ne of a){if(w.has(ne)||U.has(ne))continue;const le=WIn({annotation:ne,circuitToAltiumSchematicPoint:c,fontTable:ti(ne.source_trace_id)?R:k});le&&d_(le,F)}return`${F.lines.join(`\r
`)}\r
`}const Wgr="39",jgr="30",$gr=new Set(["AREACOLOR","CUSTOMX","CUSTOMY","FONTIDCOUNT","RECORD","SNAPGRIDON","SNAPGRIDSIZE","USECUSTOMSHEET"]),E3n=/^(?:BOLD|FONTNAME|ITALIC|ROTATION|SIZE|STRIKEOUT|UNDERLINE)(\d+)$/u;function qgr({ancestor:t,document:e,record:n}){const o=new Set;let i=e.getParent(n);for(;i&&!o.has(i);){if(i===t)return!0;o.add(i),i=e.getParent(i)}return!1}function Xgr(t){if(!t)return[];const e=new Map;for(const n of t.fields){const o=E3n.exec(n.key.toUpperCase()),i=Number(o?.[1]);!Number.isSafeInteger(i)||i<1||e.set(i,[...e.get(i)??[],`${n.key}=${n.value}`])}return[...e.entries()].sort(([n],[o])=>n-o).map(([n,o])=>({fields:o,sourceFontId:n}))}function Zgr(t){return t?t.fields.flatMap(e=>{const n=e.key.toUpperCase();return $gr.has(n)||E3n.test(n)?[]:[`${e.key}=${e.value}`]}):[]}function edr(t){return new Set(t.flatMap(e=>{const n=e.getDecoded("TEXT")??"";return n.startsWith("=")&&n.length>1?[n.slice(1)]:[]}))}function tdr({content:t}){const e=jXi(t).document;if(!(e instanceof d1e))throw new TypeError(`Expected an Altium SchDot or SchDoc template, got ${e.type}`);const n=e.records,o=n.find(u=>u.recordKind===Wgr);if(!o)throw new TypeError("Altium schematic template has no RECORD=39 template");const i=n.filter(u=>u===o||qgr({ancestor:o,document:e,record:u})),r=edr(i),s=n.filter(u=>i.includes(u)||u.recordKind===jgr&&e.getParent(u)===void 0?!0:u.recordKind==="41"&&e.getParent(u)===void 0&&r.has(u.getDecoded("NAME")??"")),a=new Set(s),A=new Map(s.map((u,g)=>[u,g+1])),c=s.map(u=>{const g=e.getParent(u),h=g?A.get(g):void 0;return u.fields.map(d=>{if(d.key.toUpperCase()!=="OWNERINDEX")return`${d.key}=${d.value}`;if(h===void 0)throw new TypeError("Altium schematic template record has an owner outside its template");return`${d.key}=${h}`})}),l=n.find(u=>u.recordKind==="31");return{embeddedImages:e.embeddedImages.flatMap(u=>a.has(u.record)?[{compressedBytes:u.getCompressedBytes(),name:u.name}]:[]),fontFields:Xgr(l),recordFields:c,sheetRecordFields:Zgr(l)}}function ndr(t,e){return t.find(n=>n.schematicSheetId===e)}function odr({fallbackFilename:t,sourceFilename:e}){let i=e.replaceAll("\\","/").split("/").at(-1)?.replace(/\.SchDoc$/iu,"")?.replace(/[<>:"/\\|?*]/gu,"-").replace(/[. ]+$/gu,"").trim();for(let r=0;r<=31;r++)i=i?.replaceAll(String.fromCharCode(r),"-");return i?`${i}.SchDoc`:t}class idr extends w1e{_step(){const n=Dd(this.input,"schematic_sheet").sort((s,a)=>fr(s.sheet_index)-fr(a.sheet_index)).map((s,a)=>{const A=`${this.context.safeProjectName}-${String(a+1).padStart(2,"0")}.SchDoc`;return{filename:odr({fallbackFilename:A,sourceFilename:ti(s.source_filename)}),name:ti(s.display_name)||ti(s.name)||`Sheet ${a+1}`,schematicSheetId:ti(s.schematic_sheet_id),subcircuitId:ti(s.subcircuit_id)||void 0}}),o=new Set,i=n.filter(s=>{const a=s.filename.toLocaleLowerCase("en-US");return o.has(a)?!1:(o.add(a),!0)}),r=n.length===0?[{childSheets:[],filename:`${this.context.safeProjectName}.SchDoc`,includeAllSchematicElements:!0,schematicSheetId:void 0}]:[{childSheets:n,filename:`${this.context.safeProjectName}.SchDoc`,includeAllSchematicElements:!1,schematicSheetId:void 0},...i.map(s=>({childSheets:[],filename:s.filename,includeAllSchematicElements:!1,schematicSheetId:s.schematicSheetId}))];this.context.schematics=r.map(s=>{const a=ndr(this.context.schematicSheets,s.schematicSheetId),A=a?.templateContent?tdr({content:a.templateContent}):void 0,c=Jgr({childSheets:s.childSheets,circuitJson:this.input,schematicSheetId:s.schematicSheetId,includeAllSchematicElements:s.includeAllSchematicElements,sheetSettings:a,template:A});return{asciiContent:c,content:UZi(c,{embeddedImages:A?.embeddedImages}),filename:s.filename}}),this.finished=!0}getOutput(){if(!this.context.schematics)throw new Error("Schematic document stage has not finished");return this.context.schematics}}class rdr extends w1e{_step(){const{pcb:e,project:n,schematics:o}=this.context;if(!e||!n||!o)throw new Error("Every document stage must finish before validation");E1e(e.asciiContent,{mode:"strict"}),U1n(e.content);for(const i of o)jXe(i.content);y1n(n.content),this.context.validated=!0,this.finished=!0}getOutput(){if(!this.context.validated)throw new Error("Altium document validation has not finished");return!0}}function sdr(t){return t.map(e=>{const n={};for(const[o,i]of Object.entries(e))n[o]=i;return n})}class B3n{constructor(e,n={}){this.currentStageIndex=0,this.finished=!1;const o=n.projectName??"board",i=sdr(e);this.context={circuitJson:i,projectName:o,safeProjectName:JZi(o),schematicSheets:n.schematicSheets??[],validated:!1},this.pipeline=[new etr(i,this.context),new idr(i,this.context),new ttr(i,this.context),new rdr(i,this.context)]}get currentStage(){return this.pipeline[this.currentStageIndex]}step(){const e=this.currentStage;if(!e){this.finished=!0;return}e.step(),e.finished&&(this.currentStageIndex++,this.finished=this.currentStageIndex>=this.pipeline.length)}runUntilFinished(){for(;!this.finished;)this.step()}getOutput(){const{pcb:e,project:n,schematics:o,validated:i}=this.context;if(!this.finished||!i||!e||!n||!o)throw new Error("Converter must finish before its output is read");return{pcb:e,project:n,schematics:o}}async getOutputZip(){const{pcb:e,project:n,schematics:o}=this.getOutput(),i=new xfe;i.file(n.filename,n.content),i.file(e.filename,e.content);for(const r of o)i.file(r.filename,r.content);return i.file("README.txt",[`${this.context.projectName} — Altium Designer project`,"","Generated in Altium's native binary document format from the board's routed Circuit JSON.",`Open ${n.filename} in Altium Designer.`].join(`\r
`)),i.generateAsync({type:"uint8array"})}}async function adr(t,e){const n=new B3n(t,{projectName:e});return n.runUntilFinished(),n.getOutputZip()}const Adr=Object.freeze(Object.defineProperty({__proto__:null,CircuitJsonToAltiumConverter:B3n,convertCircuitJsonToAltiumZip:adr},Symbol.toStringTag,{value:"Module"}))}));