schematic-symbols 0.0.246 → 0.0.247

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,17 +1,17 @@
1
- function E(t,i){return Array.isArray(i)?[t.a*i[0]+t.c*i[1]+t.e,t.b*i[0]+t.d*i[1]+t.f]:{x:t.a*i.x+t.c*i.y+t.e,y:t.b*i.x+t.d*i.y+t.f}}function ne(t){return typeof t>"u"}function jt(t,i=0){return{a:1,c:0,e:t,b:0,d:1,f:i}}function H(...t){t=Array.isArray(t[0])?t[0]:t;let i=(r,p)=>({a:r.a*p.a+r.c*p.b,c:r.a*p.c+r.c*p.d,e:r.a*p.e+r.c*p.f+r.e,b:r.b*p.a+r.d*p.b,d:r.b*p.c+r.d*p.d,f:r.b*p.e+r.d*p.f+r.f});switch(t.length){case 0:throw new Error("no matrices provided");case 1:return t[0];case 2:return i(t[0],t[1]);default:{let[r,p,...y]=t,a=i(r,p);return H(a,...y)}}}var{cos:Gc,sin:Hc,PI:cb}=Math;function Jo(t,i,r){let p=Gc(t),y=Hc(t),a={a:p,c:-y,e:0,b:y,d:p,f:0};return ne(i)||ne(r)?a:H([jt(i,r),a,jt(-i,-r)])}var{tan:vb}=Math;function Uc(t,i){function r(){this.constructor=t}r.prototype=i.prototype,t.prototype=new r}function xe(t,i,r,p){var y=Error.call(this,t);return Object.setPrototypeOf&&Object.setPrototypeOf(y,xe.prototype),y.expected=i,y.found=r,y.location=p,y.name="SyntaxError",y}Uc(xe,Error);function $o(t,i,r){return r=r||" ",t.length>i?t:(i-=t.length,r+=r.repeat(i),t+r.slice(0,i))}xe.prototype.format=function(t){var i="Error: "+this.message;if(this.location){var r=null,p;for(p=0;p<t.length;p++)if(t[p].source===this.location.source){r=t[p].text.split(/\r\n|\n|\r/g);break}var y=this.location.start,a=this.location.source&&typeof this.location.source.offset=="function"?this.location.source.offset(y):y,f=this.location.source+":"+a.line+":"+a.column;if(r){var x=this.location.end,d=$o("",a.line.toString().length," "),l=r[y.line-1],s=y.line===x.line?x.column:l.length+1,h=s-y.column||1;i+=`
1
+ function E(t,i){return Array.isArray(i)?[t.a*i[0]+t.c*i[1]+t.e,t.b*i[0]+t.d*i[1]+t.f]:{x:t.a*i.x+t.c*i.y+t.e,y:t.b*i.x+t.d*i.y+t.f}}function ne(t){return typeof t>"u"}function jt(t,i=0){return{a:1,c:0,e:t,b:0,d:1,f:i}}function H(...t){t=Array.isArray(t[0])?t[0]:t;let i=(r,p)=>({a:r.a*p.a+r.c*p.b,c:r.a*p.c+r.c*p.d,e:r.a*p.e+r.c*p.f+r.e,b:r.b*p.a+r.d*p.b,d:r.b*p.c+r.d*p.d,f:r.b*p.e+r.d*p.f+r.f});switch(t.length){case 0:throw new Error("no matrices provided");case 1:return t[0];case 2:return i(t[0],t[1]);default:{let[r,p,...y]=t,a=i(r,p);return H(a,...y)}}}var{cos:Kc,sin:Qc,PI:bb}=Math;function Jo(t,i,r){let p=Kc(t),y=Qc(t),a={a:p,c:-y,e:0,b:y,d:p,f:0};return ne(i)||ne(r)?a:H([jt(i,r),a,jt(-i,-r)])}var{tan:Pb}=Math;function th(t,i){function r(){this.constructor=t}r.prototype=i.prototype,t.prototype=new r}function xe(t,i,r,p){var y=Error.call(this,t);return Object.setPrototypeOf&&Object.setPrototypeOf(y,xe.prototype),y.expected=i,y.found=r,y.location=p,y.name="SyntaxError",y}th(xe,Error);function $o(t,i,r){return r=r||" ",t.length>i?t:(i-=t.length,r+=r.repeat(i),t+r.slice(0,i))}xe.prototype.format=function(t){var i="Error: "+this.message;if(this.location){var r=null,p;for(p=0;p<t.length;p++)if(t[p].source===this.location.source){r=t[p].text.split(/\r\n|\n|\r/g);break}var y=this.location.start,a=this.location.source&&typeof this.location.source.offset=="function"?this.location.source.offset(y):y,f=this.location.source+":"+a.line+":"+a.column;if(r){var x=this.location.end,d=$o("",a.line.toString().length," "),l=r[y.line-1],s=y.line===x.line?x.column:l.length+1,h=s-y.column||1;i+=`
2
2
  --> `+f+`
3
3
  `+d+` |
4
4
  `+a.line+" | "+l+`
5
5
  `+d+" | "+$o("",y.column-1," ")+$o("",h,"^")}else i+=`
6
- at `+f}return i};xe.buildMessage=function(t,i){var r={literal:function(l){return'"'+y(l.text)+'"'},class:function(l){var s=l.parts.map(function(h){return Array.isArray(h)?a(h[0])+"-"+a(h[1]):a(h)});return"["+(l.inverted?"^":"")+s.join("")+"]"},any:function(){return"any character"},end:function(){return"end of input"},other:function(l){return l.description}};function p(l){return l.charCodeAt(0).toString(16).toUpperCase()}function y(l){return l.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(s){return"\\x0"+p(s)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(s){return"\\x"+p(s)})}function a(l){return l.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(s){return"\\x0"+p(s)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(s){return"\\x"+p(s)})}function f(l){return r[l.type](l)}function x(l){var s=l.map(f),h,b;if(s.sort(),s.length>0){for(h=1,b=1;h<s.length;h++)s[h-1]!==s[h]&&(s[b]=s[h],b++);s.length=b}switch(s.length){case 1:return s[0];case 2:return s[0]+" or "+s[1];default:return s.slice(0,-1).join(", ")+", or "+s[s.length-1]}}function d(l){return l?'"'+y(l)+'"':"end of input"}return"Expected "+x(t)+" but "+d(i)+" found."};function S(t){if(t.length===0)return{minX:0,maxX:0,minY:0,maxY:0};let i=1/0,r=-1/0,p=1/0,y=-1/0,a=f=>{i=Math.min(i,f.x),r=Math.max(r,f.x),p=Math.min(p,f.y),y=Math.max(y,f.y)};return t.forEach(f=>{switch(f.type){case"path":f.points.forEach(a);break;case"text":a({x:f.x,y:f.y});break;case"circle":{let{x,y:d,radius:l}=f;a({x:x-l,y:d-l}),a({x:x+l,y:d+l});break}case"box":{let{x,y:d,width:l,height:s}=f,h=l/2,b=s/2;a({x:x-h,y:d-b}),a({x:x+h,y:d+b});break}}}),{minX:i,maxX:r,minY:p,maxY:y}}var Kc=(t,i="right")=>{switch(i){case"down":switch(t){case"middle_top":return"middle_right";case"middle_bottom":return"middle_left";case"middle_left":return"middle_bottom";case"middle_right":return"middle_top"}break;case"up":switch(t){case"middle_top":return"middle_left";case"middle_bottom":return"middle_right";case"middle_left":return"middle_top";case"middle_right":return"middle_bottom"}break;case"left":switch(t){case"middle_top":return"middle_bottom";case"middle_bottom":return"middle_top";case"middle_left":return"middle_right";case"middle_right":return"middle_left"}break;case"right":return t}return t},V=(t,i)=>{let{primitives:r,center:p,ports:y,size:a}=t,f=H({a:1,b:0,c:0,d:-1,e:0,f:2*p.y}),x=r.map(l=>{switch(l={...l},l.type){case"path":return{...l,points:l.points.map(_=>E(f,_))};case"text":let s=E(f,{x:l.x,y:l.y}),h={top_left:"bottom_left",top_right:"bottom_right",bottom_left:"top_left",bottom_right:"top_right",center:"center",middle_top:"middle_bottom",middle_bottom:"middle_top",middle_left:"middle_left",middle_right:"middle_right"};return{...l,x:s.x,y:s.y,anchor:h[l.anchor]};case"circle":case"box":let b=E(f,{x:l.x,y:l.y});return{...l,x:b.x,y:b.y}}}),d=y.map(l=>({...l,...E(f,l)}));return{primitives:x,center:p,ports:d,size:a,...i}},X=(t,i)=>{let{primitives:r,center:p,ports:y,size:a}=t,f=H({a:-1,b:0,c:0,d:1,e:0,f:2*p.x}),x=r.map(l=>{switch(l={...l},l.type){case"path":return{...l,points:l.points.map(_=>E(f,_))};case"text":let s=E(f,{x:l.x,y:l.y}),h={top_left:"top_right",top_right:"top_left",bottom_left:"bottom_right",bottom_right:"bottom_left",center:"center",middle_top:"middle_top",middle_bottom:"middle_bottom",middle_left:"middle_right",middle_right:"middle_left"};return{...l,x:s.x,y:s.y,anchor:h[l.anchor]};case"circle":case"box":let b=E(f,{x:l.x,y:l.y});return{...l,x:b.x,y:b.y}}}),d=y.map(l=>({...l,...E(f,l)}));return{primitives:x,center:p,ports:d,size:a,...i}},q=(t,i)=>{let{newOrientation:r,overrides:p}=i,y={up:Math.PI/2,right:0,down:-Math.PI/2,left:-Math.PI},a=Jo(r?y[r]:Math.PI/2,t.center.x,t.center.y),{primitives:f,center:x,size:d,ports:l}=t,s=f.map(_=>{switch(_={..._},_.type){case"path":return{..._,points:_.points.map(qc=>E(a,qc))};case"text":let Ca=E(a,{x:_.x,y:_.y});return _.anchor=Kc(_.anchor,r??"right"),{..._,x:Ca.x,y:Ca.y};case"circle":let Wa=E(a,{x:_.x,y:_.y});return{..._,x:Wa.x,y:Wa.y};case"box":let Na=E(a,{x:_.x,y:_.y});return{..._,x:Na.x,y:Na.y,width:_.height,height:_.width}}}),h=l.map(_=>({..._,...E(a,_)})),b=S(s);return{primitives:s,center:x,ports:h,size:{width:b.maxX-b.minX,height:b.maxY-b.minY},...p}},o=(t,i="down",r={})=>q(t,{newOrientation:i,overrides:r});var Mo=class{symbol;constructor(i){this.symbol=JSON.parse(JSON.stringify(i)),this.symbol.size=this.computeSize()}changeTextAnchor(i,r,p){return this.symbol={...this.symbol,primitives:this.symbol.primitives.map(y=>y.type==="text"&&y.text===i?{...y,anchor:r,...p?{x:y.x+p.x,y:y.y+p.y}:{}}:y)},this}labelPort(i,r){return this.symbol={...this.symbol,ports:this.symbol.ports.map(p=>p.labels.includes(i)?{...p,labels:r}:p)},this}rotateRightFacingSymbol(i){return this.symbol=q(this.symbol,{newOrientation:i}),this}computeSize(){let i=S(this.symbol.primitives);return{width:i.maxX-i.minX,height:i.maxY-i.minY}}build(){return{...this.symbol,size:this.computeSize()}}},e=t=>{let i=t.primitives??[...Object.values(t.paths??{}),...Object.values(t.texts??{}),...Object.values(t.circles??{}),...Object.values(t.rects??{})],r=t.ports??Object.entries(t.refblocks).flatMap(([y,a])=>[{...a,labels:[y]}]),p=t.center??{x:t.bounds.centerX,y:t.bounds.centerY};return r.length===2&&(p={x:(r[0].x+r[1].x)/2,y:(r[0].y+r[1].y)/2}),new Mo({...t,primitives:i,ports:r,center:p})};var L={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},path17:{type:"path",points:[{x:0,y:-.13},{x:.07,y:-.11}],color:"primary",fill:!1},path18:{type:"path",points:[{x:.07,y:-.11},{x:.14,y:-.13}],color:"primary",fill:!1},path19:{type:"path",points:[{x:-.15,y:-.13},{x:-.07,y:-.11}],color:"primary",fill:!1},path20:{type:"path",points:[{x:-.07,y:-.11},{x:0,y:-.13}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.17,y:.4},bottom1:{type:"text",text:"{VAL}",x:-.01,y:-.4}},refblocks:{left1:{x:-.54,y:.03},right1:{x:.54,y:.04}},bounds:{minX:-.57,maxX:.57,minY:-.4,maxY:.4,width:1.14,height:.79,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.04,radius:.29,color:"primary",fill:!1}}};var{paths:th,texts:zg,bounds:fe,refblocks:Ia,circles:eh}=L,Da=e({primitives:[...Object.values(th),...Object.values(eh),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...Ia.left1,labels:["1"]},{...Ia.right1,labels:["2"]}],size:{width:fe.width,height:fe.height},center:{x:fe.centerX,y:fe.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:oh,texts:Jg,bounds:ce,refblocks:qa,circles:rh}=L,Ga=e({primitives:[...Object.values(oh),...Object.values(rh),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...qa.left1,labels:["1"]},{...qa.right1,labels:["2"]}],size:{width:ce.width,height:ce.height},center:{x:ce.centerX,y:ce.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:ih,texts:Wg,bounds:he,refblocks:Ha,circles:lh}=L,Ua=e({primitives:[...Object.values(ih),...Object.values(lh),{type:"text",text:"{REF}",x:-0,y:-.3094553499999995},{type:"text",text:"{VAL}",x:0,y:.4094553499999995}],ports:[{...Ha.left1,labels:["1"]},{...Ha.right1,labels:["2"]}],size:{width:he.width,height:he.height},center:{x:he.centerX,y:he.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:ah,texts:Dg,bounds:de,refblocks:Za,circles:ph}=L,Ka=e({primitives:[...Object.values(ah),...Object.values(ph),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...Za.left1,labels:["1"]},{...Za.right1,labels:["2"]}],size:{width:de.width,height:de.height},center:{x:de.centerX,y:de.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:yh,texts:Ug,bounds:_e,refblocks:Qa,circles:sh}=L,tp=e({primitives:[...Object.values(yh),...Object.values(sh),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Qa.left1,labels:["1"]},{...Qa.right1,labels:["2"]}],size:{width:_e.width,height:_e.height},center:{x:_e.centerX,y:_e.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:mh,texts:t8,bounds:be,refblocks:ep,circles:nh}=L,op=e({primitives:[...Object.values(mh),...Object.values(nh),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...ep.left1,labels:["1"]},{...ep.right1,labels:["2"]}],size:{width:be.width,height:be.height},center:{x:be.centerX,y:be.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var z={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:.2}],color:"primary",fill:!1},"path43-8-3":{type:"path",points:[{x:.21,y:-.11},{x:.15,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:{}};var{paths:fh,texts:l8,bounds:ge,refblocks:rp,circles:ch}=z,ip=e({primitives:[...Object.values(fh),...Object.values(ch),{type:"text",text:"{REF}",x:-.15,y:.3294553499999995},{type:"text",text:"{VAL}",x:.15,y:.3294553499999995}],ports:[{...rp.left1,labels:["1"]},{...rp.right1,labels:["2"]}],size:{width:ge.width,height:ge.height},center:{x:ge.centerX,y:ge.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var lp=e(z).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:hh,texts:x8,bounds:ue,refblocks:ap,circles:dh}=z,pp=e({primitives:[...Object.values(hh),...Object.values(dh),{type:"text",text:"{REF}",x:-0,y:-.2294553499999995},{type:"text",text:"{VAL}",x:0,y:.3294553499999995}],ports:[{...ap.left1,labels:["1"]},{...ap.right1,labels:["2"]}],size:{width:ue.width,height:ue.height},center:{x:ue.centerX,y:ue.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var yp=e(z).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:_h,texts:g8,bounds:ve,refblocks:sp,circles:bh}=z,mp=e({primitives:[...Object.values(_h),...Object.values(bh),{type:"text",text:"{REF}",x:.15,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2294553499999995}],ports:[{...sp.left1,labels:["1"]},{...sp.right1,labels:["2"]}],size:{width:ve.width,height:ve.height},center:{x:ve.centerX,y:ve.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:gh,texts:S8,bounds:we,refblocks:np,circles:uh}=z,xp=e({primitives:[...Object.values(gh),...Object.values(uh),{type:"text",text:"{REF}",x:.15,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2294553499999995}],ports:[{...np.left1,labels:["1"]},{...np.right1,labels:["2"]}],size:{width:we.width,height:we.height},center:{x:we.centerX,y:we.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var U={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:.14,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:.18,y:.18},{x:.11,y:.18}],color:"primary",fill:!1},"path43-8-8":{type:"path",points:[{x:.18,y:-.09},{x:.11,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:{}};var{paths:wh,texts:T8,bounds:Se,refblocks:fp,circles:Sh}=U,cp=e({primitives:[...Object.values(wh),...Object.values(Sh),{type:"text",text:"{REF}",x:-.16,y:.2294553499999995},{type:"text",text:"{VAL}",x:.16,y:.2294553499999995}],ports:[{...fp.left1,labels:["1"]},{...fp.right1,labels:["2"]}],size:{width:Se.width,height:Se.height},center:{x:Se.centerX,y:Se.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var{paths:Ah,texts:X8,bounds:Ae,refblocks:hp,circles:Ph}=U,Pe=e({primitives:[...Object.values(Ah),...Object.values(Ph),{type:"text",text:"{REF}",x:-1118e-7,y:-.18},{type:"text",text:"{VAL}",x:1118e-7,y:.2738453}],ports:[{...hp.left1,labels:["1"]},{...hp.right1,labels:["2"]}],size:{width:Ae.width,height:Ae.height},center:{x:Ae.centerX,y:Ae.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["2"]).labelPort("right1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Fh,texts:j8,bounds:Fe,refblocks:dp,circles:Rh}=U,_p=e({primitives:[...Object.values(Fh),...Object.values(Rh),{type:"text",text:"{REF}",x:-.0050250999999996715,y:.27384529999999985,anchor:"middle_left"},{type:"text",text:"{VAL}",x:-.00011179999999999524,y:-.27384530000000007,anchor:"middle_left"}],ports:[{...dp.left1,labels:["1"]},{...dp.right1,labels:["2"]}],size:{width:Fe.width,height:Fe.height},center:{x:Fe.centerX,y:Fe.centerY}}).changeTextAnchor("{VAL}","middle_top").labelPort("right1",["2"]).labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:C8,texts:W8,bounds:N8,refblocks:B8,circles:I8}=U,Co=o(Pe,"down"),Wo=Co.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),No=Co.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Wo.anchor="middle_left";No.anchor="middle_left";Wo.x=.25;Wo.y+=.21;No.y-=.21;No.x=.25;var bp=Co;var N={paths:{path43:{type:"path",points:[{x:-.06,y:.19},{x:-.06,y:-.12}],color:"primary",fill:!1},"path43-6":{type:"path",points:[{x:.02,y:.13},{x:.02,y:-.06}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.06,y:.03},{x:-.5,y:.03}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.5,y:.03},{x:.03,y:.03}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.03,y:.27},bottom1:{type:"text",text:"{VAL}",x:-.03,y:-.28}},refblocks:{left1:{x:-.5,y:.03},right1:{x:.5,y:.03}},bounds:{minX:-.5,maxX:.5,minY:-.38,maxY:.27,width:1,height:.29,centerX:0,centerY:.06},circles:{}};var{paths:Eh,bounds:gp,refblocks:up,circles:Yh}=N,Vh=e({primitives:[...Object.values(Eh),...Object.values(Yh),{type:"text",text:"{REF}",x:-.2,y:.31},{type:"text",text:"{VAL}",x:.2,y:.31}],ports:[{...up.left1,labels:["1"]},{...up.right1,labels:["2"]}],center:{x:gp.centerX,y:gp.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_left").build(),vp={...Vh,size:{width:1,height:.9}};function m(t){let i=t.size;if(!i){let r=S(t.primitives);i={width:r.maxX-r.minX,height:r.maxY-r.minY}}return{...t,size:i}}var{paths:Xh,texts:wp,bounds:Re,refblocks:Sp,circles:Lh}=N,Te=m({primitives:[...Object.values(Xh),...Object.values(Lh),{...wp.top1,anchor:"middle_bottom"},{...wp.bottom1,anchor:"middle_top"}],ports:[{...Sp.left1,labels:["1"]},{...Sp.right1,labels:["2"]}],size:{width:Re.width,height:Re.height},center:{x:Re.centerX,y:Re.centerY}});var{paths:zh,bounds:Ap,refblocks:Pp,circles:kh}=N,jh=e({primitives:[...Object.values(zh),...Object.values(kh),{type:"text",text:"{REF}",x:0,y:-.22},{type:"text",text:"{VAL}",x:0,y:.28}],ports:[{...Pp.left1,labels:["1"]},{...Pp.right1,labels:["2"]}],center:{x:Ap.centerX,y:Ap.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_bottom").build(),Fp={...jh,size:{width:1,height:.65}};var{paths:Oh,bounds:Rp,refblocks:Tp,circles:Jh}=N,$h=e({primitives:[...Object.values(Oh),...Object.values(Jh),{type:"text",text:"{REF}",x:0,y:.28},{type:"text",text:"{VAL}",x:0,y:-.22}],ports:[{...Tp.left1,labels:["1"]},{...Tp.right1,labels:["2"]}],center:{x:Rp.centerX,y:Rp.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").changeTextAnchor("{REF}","middle_bottom").build(),Ep={...$h,size:{width:1,height:.65}};var{paths:Mh,bounds:Yp,refblocks:Vp,circles:Ch}=N,Wh=e({primitives:[...Object.values(Mh),...Object.values(Ch),{type:"text",text:"{REF}",x:.2,y:-.25},{type:"text",text:"{VAL}",x:-.2,y:-.25}],ports:[{...Vp.left1,labels:["1"]},{...Vp.right1,labels:["2"]}],center:{x:Yp.centerX,y:Yp.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_left").build(),Xp={...Wh,size:{width:1,height:.9}};var Lp=q(Te,{newOrientation:"up"});var Z={paths:{path1:{type:"path",points:[{x:-.3,y:0},{x:-.19998,y:0}],color:"primary",fill:!1,strokeWidth:.012},path2:{type:"path",points:[{x:.19998,y:0},{x:.3,y:0}],color:"primary",fill:!1,strokeWidth:.012},path3:{type:"path",points:[{x:-.19998,y:.07998},{x:.19998,y:.07998},{x:.19998,y:-.07998},{x:-.19998,y:-.07998},{x:-.19998,y:.07998}],color:"primary",fill:!1,strokeWidth:.012}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.3,anchor:"middle_bottom"},bottom1:{type:"text",text:"{VAL}",x:0,y:-.45,anchor:"middle_bottom"}},refblocks:{left1:{x:-.3,y:0},right1:{x:.3,y:0}},bounds:{minX:-.3,maxX:.3,minY:-.45,maxY:.3,width:.6,height:.75,centerX:0,centerY:0},circles:{}};var{paths:Bh,texts:_7,bounds:zp,refblocks:kp,circles:Ih}=Z,Dh=e({primitives:[...Object.values(Bh),...Object.values(Ih),{type:"text",text:"{REF}",x:-.16,y:.16},{type:"text",text:"{VAL}",x:.16,y:.16}],ports:[{...kp.left1,labels:["1"]},{...kp.right1,labels:["2"]}],center:{x:zp.centerX,y:zp.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build(),jp={...Dh,size:{width:.9,height:.6}};var{paths:qh,texts:v7,bounds:Op,refblocks:Jp,circles:Gh}=Z,Hh=e({primitives:[...Object.values(qh),...Object.values(Gh),{type:"text",text:"{REF}",x:0,y:-.16},{type:"text",text:"{VAL}",x:0,y:.16}],ports:[{...Jp.left1,labels:["1"]},{...Jp.right1,labels:["2"]}],center:{x:Op.centerX,y:Op.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),$p={...Hh,size:{width:.6,height:.65}};var{paths:Uh,texts:P7,bounds:Mp,refblocks:Cp,circles:Zh}=Z,Kh=e({primitives:[...Object.values(Uh),...Object.values(Zh),{type:"text",text:"{REF}",x:0,y:.16},{type:"text",text:"{VAL}",x:0,y:-.16}],ports:[{...Cp.left1,labels:["1"]},{...Cp.right1,labels:["2"]}],center:{x:Mp.centerX,y:Mp.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),Wp={...Kh,size:{width:.6,height:.65}};var K={paths:{"left-lead":{type:"path",points:[{x:-.25,y:0},{x:-.175,y:0}],color:"primary",fill:!1,strokeWidth:.012},body:{type:"path",points:[{x:-.175,y:.075},{x:.175,y:.075},{x:.175,y:-.075},{x:-.175,y:-.075},{x:-.175,y:.075}],color:"primary",fill:!1,strokeWidth:.012},"right-lead":{type:"path",points:[{x:.175,y:0},{x:.25,y:0}],color:"primary",fill:!1,strokeWidth:.012}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.25,anchor:"middle_bottom"},bottom1:{type:"text",text:"{VAL}",x:0,y:-.25,anchor:"middle_top"}},refblocks:{left1:{x:-.25,y:0},right1:{x:.25,y:0}},bounds:{minX:-.25,maxX:.25,minY:-.25,maxY:.25,width:.5,height:.5,centerX:0,centerY:0},circles:{}};var t2={boxresistor:{horizontalOffset:.16,horizontalHeight:.65,verticalX:.16,verticalRefY:.16,verticalValY:-.16,verticalWidth:.9},capacitor:{horizontalOffset:.24,horizontalHeight:.65,verticalX:.2,verticalRefY:.095,verticalValY:-.095,verticalWidth:.9},resistor:{horizontalOffset:.22,horizontalHeight:.65,verticalX:.2,verticalRefY:.14,verticalValY:-.14,verticalWidth:.9}},c=(t,{kind:i,orientation:r,pin1Labels:p=["1"],pin2Labels:y=["2"]})=>{let a=t2[i],f=e({...t,texts:{}}).rotateRightFacingSymbol(r).labelPort("left1",p).labelPort("right1",y).build(),x=r==="right"||r==="left",d=x?[{type:"text",text:"{REF}",x:0,y:a.horizontalOffset,anchor:"middle_bottom"},{type:"text",text:"{VAL}",x:0,y:-a.horizontalOffset,anchor:"middle_top"}]:[{type:"text",text:"{REF}",x:a.verticalX,y:a.verticalRefY,anchor:"middle_left"},{type:"text",text:"{VAL}",x:a.verticalX,y:a.verticalValY,anchor:"middle_left"}],[l,s]=f.ports,h=Math.hypot(s.x-l.x,s.y-l.y);return{...f,primitives:[...f.primitives,...d],size:x?{width:h,height:a.horizontalHeight}:{width:a.verticalWidth,height:h}}};var Np=c(K,{kind:"boxresistor",orientation:"down"});var Bp=c(K,{kind:"boxresistor",orientation:"left"});var Ip=c(K,{kind:"boxresistor",orientation:"right"});var Dp=c(K,{kind:"boxresistor",orientation:"up"});var Q={paths:{path2:{type:"path",points:[{x:.15,y:-.01},{x:.55,y:-.01}],color:"primary",fill:!0},"path2-5":{type:"path",points:[{x:-.15,y:.06},{x:.14,y:.06}],color:"primary",fill:!0},"path2-5-1":{type:"path",points:[{x:.14,y:.06},{x:.14,y:-.08}],color:"primary",fill:!0},"path2-5-1-6":{type:"path",points:[{x:-.16,y:.06},{x:-.16,y:-.08}],color:"primary",fill:!0},"path2-5-4":{type:"path",points:[{x:-.15,y:-.08},{x:.14,y:-.08}],color:"primary",fill:!0},"path2-9":{type:"path",points:[{x:-.55,y:-.01},{x:-.17,y:-.01}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.17},bottom1:{type:"text",text:"{VAL}",x:0,y:-.17}},refblocks:{left1:{x:-.55,y:-.01},right1:{x:.55,y:-.01}},bounds:{minX:-.58,maxX:.58,minY:-.17,maxY:.17,width:1.16,height:.35,centerX:0,centerY:0},circles:{}};var{paths:o2,texts:I7,bounds:Ee,refblocks:qp,circles:r2}=Q,Gp=e({primitives:[...Object.values(o2),...Object.values(r2),{type:"text",text:"{REF}",x:-.2,y:.1404553499999995},{type:"text",text:"{VAL}",x:.2,y:.1494553499999995}],ports:[{...qp.left1,labels:["1"]},{...qp.right1,labels:["2"]}],size:{width:Ee.width,height:Ee.height},center:{x:Ee.centerX,y:Ee.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:i2,texts:H7,bounds:Ye,refblocks:Hp,circles:l2}=Q,Up=e({primitives:[...Object.values(i2),...Object.values(l2),{type:"text",text:"{REF}",x:0,y:-.2294553499999995},{type:"text",text:"{VAL}",x:0,y:.1704553499999995}],ports:[{...Hp.left1,labels:["1"]},{...Hp.right1,labels:["2"]}],size:{width:Ye.width,height:Ye.height},center:{x:Ye.centerX,y:Ye.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:a2,texts:Q7,bounds:Ve,refblocks:Zp,circles:p2}=Q,Kp=e({primitives:[...Object.values(a2),...Object.values(p2),{type:"text",text:"{REF}",x:0,y:.2294553499999995},{type:"text",text:"{VAL}",x:0,y:-.1704553499999995}],ports:[{...Zp.left1,labels:["1"]},{...Zp.right1,labels:["2"]}],size:{width:Ve.width,height:Ve.height},center:{x:Ve.centerX,y:Ve.centerY}}).rotateRightFacingSymbol("right").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:y2,texts:ru,bounds:Xe,refblocks:Qp,circles:s2}=Q,ty=e({primitives:[...Object.values(y2),...Object.values(s2),{type:"text",text:"{REF}",x:.2,y:-.1404553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.1494553499999995}],ports:[{...Qp.left1,labels:["1"]},{...Qp.right1,labels:["2"]}],size:{width:Xe.width,height:Xe.height},center:{x:Xe.centerX,y:Xe.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:m2,texts:pu,bounds:ey,refblocks:oy,circles:n2}=Z,x2=e({primitives:[...Object.values(m2),...Object.values(n2),{type:"text",text:"{REF}",x:.16,y:-.16},{type:"text",text:"{VAL}",x:-.16,y:-.16}],ports:[{...oy.left1,labels:["1"]},{...oy.right1,labels:["2"]}],center:{x:ey.centerX,y:ey.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build(),ry={...x2,size:{width:.9,height:.6}};var tt={paths:{"left-lead":{type:"path",points:[{x:-.175,y:0},{x:-.14,y:0}],color:"primary",fill:!1,strokeWidth:.012},body:{type:"path",points:[{x:-.14,y:.065},{x:.14,y:.065},{x:.14,y:-.065},{x:-.14,y:-.065},{x:-.14,y:.065}],color:"primary",fill:!1,strokeWidth:.012},"right-lead":{type:"path",points:[{x:.14,y:0},{x:.175,y:0}],color:"primary",fill:!1,strokeWidth:.012}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.25,anchor:"middle_bottom"},bottom1:{type:"text",text:"{VAL}",x:0,y:-.25,anchor:"middle_top"}},refblocks:{left1:{x:-.175,y:0},right1:{x:.175,y:0}},bounds:{minX:-.175,maxX:.175,minY:-.25,maxY:.25,width:.35,height:.5,centerX:0,centerY:0},circles:{}};var iy=c(tt,{kind:"boxresistor",orientation:"down"});var ly=c(tt,{kind:"boxresistor",orientation:"left"});var ay=c(tt,{kind:"boxresistor",orientation:"right"});var py=c(tt,{kind:"boxresistor",orientation:"up"});var Ot={paths:{"horizontal-bar":{type:"path",points:[{x:-.4,y:0},{x:.4,y:0}],color:"primary",fill:!1},"middle-dash-1":{type:"path",points:[{x:0,y:.2},{x:0,y:.07}],color:"primary",fill:!1},"middle-dash-2":{type:"path",points:[{x:0,y:.01},{x:0,y:-.12}],color:"primary",fill:!1},"middle-dash-3":{type:"path",points:[{x:0,y:-.18},{x:0,y:-.31}],color:"primary",fill:!1},"left-vertical":{type:"path",points:[{x:-.25,y:0},{x:-.25,y:-.2}],color:"primary",fill:!1},"right-vertical":{type:"path",points:[{x:.25,y:0},{x:.25,y:-.2}],color:"primary",fill:!1},"left-ground":{type:"path",points:[{x:-.3,y:-.2},{x:-.25,y:-.3},{x:-.2,y:-.2},{x:-.3,y:-.2}],color:"primary",fill:!1},"right-ground":{type:"path",points:[{x:.2,y:-.2},{x:.25,y:-.3},{x:.3,y:-.2},{x:.2,y:-.2}],color:"primary",fill:!1}},refblocks:{left1:{x:-.4,y:0},right1:{x:.4,y:0}},texts:{ref:{type:"text",text:"{REF}",x:0,y:.35}},bounds:{minX:-.4,maxX:.4,minY:-.4,maxY:.35,width:.8,height:.75,centerX:0,centerY:-.02},circles:{}};var{paths:h2,texts:Pu,bounds:yy,refblocks:sy,circles:d2}=Ot,my=e({primitives:[...Object.values(h2),...Object.values(d2),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...sy.left1,labels:["1"]},{...sy.right1,labels:["2"]}],center:{x:yy.centerX,y:yy.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var{paths:_2,texts:Eu,bounds:ny,refblocks:xy,circles:b2}=Ot,Le=e({primitives:[...Object.values(_2),...Object.values(b2),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...xy.left1,labels:["1"]},{...xy.right1,labels:["2"]}],center:{x:ny.centerX,y:ny.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var fy=X(Le);var{paths:g2,texts:ju,bounds:cy,refblocks:hy,circles:u2}=Ot,dy=e({primitives:[...Object.values(g2),...Object.values(u2),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...hy.left1,labels:["1"]},{...hy.right1,labels:["2"]}],center:{x:cy.centerX,y:cy.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right").build();var et={paths:{path27:{type:"path",points:[{x:.3,y:0},{x:.06,y:0}],color:"primary",fill:!1,strokeWidth:.012},path28:{type:"path",points:[{x:-.06,y:0},{x:-.3,y:0}],color:"primary",fill:!1,strokeWidth:.012},path29:{type:"path",points:[{x:.06,y:.16002},{x:.06,y:-.16002}],color:"primary",fill:!1,strokeWidth:.012},path30:{type:"path",points:[{x:-.06,y:.16002},{x:-.06,y:-.16002}],color:"primary",fill:!1,strokeWidth:.012}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.24,anchor:"middle_bottom"},bottom1:{type:"text",text:"{VAL}",x:0,y:-.24,anchor:"middle_top"}},refblocks:{left1:{x:-.3,y:0},right1:{x:.3,y:0}},bounds:{minX:-.3,maxX:.3,minY:-.24,maxY:.24,width:.6,height:.48,centerX:0,centerY:0},circles:{}};var{paths:w2,texts:Cu,bounds:ze,refblocks:_y,circles:S2}=et,A2=e({primitives:[...Object.values(w2),...Object.values(S2),{type:"text",text:"{REF}",x:-.2,y:.115},{type:"text",text:"{VAL}",x:.2,y:.115}],ports:[{..._y.left1,labels:["1"]},{..._y.right1,labels:["2"]}],size:{width:ze.width,height:ze.height},center:{x:ze.centerX,y:ze.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("down").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build(),by={...A2,size:{width:.9,height:.6}};var P2=e(et).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").build(),gy={...P2,size:{width:.6,height:.65}};var ot={paths:{path27:{type:"path",points:[{x:.3,y:0},{x:657e-6,y:0}],color:"primary",fill:!1,strokeWidth:.012},path28:{type:"path",points:[{x:-.038683,y:0},{x:-.3,y:0}],color:"primary",fill:!1,strokeWidth:.012},path30:{type:"path",points:[{x:-.074255,y:.16002},{x:-.074255,y:.16002},{x:-.069544,y:.149352},{x:-.065126,y:.138684},{x:-.061005,y:.128016},{x:-.057182,y:.117348},{x:-.053663,y:.10668},{x:-.05045,y:.096012},{x:-.047547,y:.085344},{x:-.044957,y:.074676},{x:-.042684,y:.064008},{x:-.040732,y:.05334},{x:-.039103,y:.042672},{x:-.037801,y:.032004},{x:-.03683,y:.021336},{x:-.036193,y:.010668},{x:-.035893,y:0},{x:-.036193,y:-.010668},{x:-.03683,y:-.021336},{x:-.037801,y:-.032004},{x:-.039103,y:-.042672},{x:-.040732,y:-.05334},{x:-.042684,y:-.064008},{x:-.044957,y:-.074676},{x:-.047547,y:-.085344},{x:-.05045,y:-.096012},{x:-.053663,y:-.10668},{x:-.057182,y:-.117348},{x:-.061005,y:-.128016},{x:-.065126,y:-.138684},{x:-.069544,y:-.149352},{x:-.074255,y:-.16002},{x:-.074255,y:-.16002}],color:"primary",fill:!1,strokeWidth:.012},"path30-7":{type:"path",points:[{x:-385e-6,y:.16002},{x:-385e-6,y:-.16002}],color:"primary",fill:!1,strokeWidth:.012},"path30-9-2":{type:"path",points:[{x:.156026,y:.2},{x:.085846,y:.2}],color:"primary",fill:!1,strokeWidth:.012},"path30-9-2-9":{type:"path",points:[{x:.120936,y:.16491},{x:.120936,y:.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"}}};var uy=e(ot).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();var vy=e(ot).rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var wy=e(ot).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();var Sy=e(ot).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();var R2=e(et).rotateRightFacingSymbol("right").changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").build(),Ay={...R2,size:{width:.6,height:.65}};var rt={paths:{"left-lead":{type:"path",points:[{x:-.25,y:0},{x:-.06,y:0}],color:"primary",fill:!1,strokeWidth:.012},"left-plate":{type:"path",points:[{x:-.06,y:.16},{x:-.06,y:-.16}],color:"primary",fill:!1,strokeWidth:.012},"right-plate":{type:"path",points:[{x:.06,y:.16},{x:.06,y:-.16}],color:"primary",fill:!1,strokeWidth:.012},"right-lead":{type:"path",points:[{x:.06,y:0},{x:.25,y:0}],color:"primary",fill:!1,strokeWidth:.012}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.25,anchor:"middle_bottom"},bottom1:{type:"text",text:"{VAL}",x:0,y:-.25,anchor:"middle_top"}},refblocks:{left1:{x:-.25,y:0},right1:{x:.25,y:0}},bounds:{minX:-.25,maxX:.25,minY:-.25,maxY:.25,width:.5,height:.5,centerX:0,centerY:0},circles:{}};var Py=c(rt,{kind:"capacitor",orientation:"down",pin1Labels:["1","pos"],pin2Labels:["2","neg"]});var Fy=c(rt,{kind:"capacitor",orientation:"left",pin1Labels:["1","pos"],pin2Labels:["2","neg"]});var Ry=c(rt,{kind:"capacitor",orientation:"right",pin1Labels:["1","pos"],pin2Labels:["2","neg"]});var Ty=c(rt,{kind:"capacitor",orientation:"up",pin1Labels:["1","pos"],pin2Labels:["2","neg"]});var{paths:E2,texts:S6,bounds:ke,refblocks:Ey,circles:Y2}=et,V2=e({primitives:[...Object.values(E2),...Object.values(Y2),{type:"text",text:"{REF}",x:.2,y:-.095},{type:"text",text:"{VAL}",x:-.2,y:-.095}],ports:[{...Ey.left1,labels:["1"]},{...Ey.right1,labels:["2"]}],size:{width:ke.width,height:ke.height},center:{x:ke.centerX,y:ke.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("up").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build(),Yy={...V2,size:{width:.9,height:.6}};var it={paths:{"left-lead":{type:"path",points:[{x:-.175,y:0},{x:-.05,y:0}],color:"primary",fill:!1,strokeWidth:.012},"left-plate":{type:"path",points:[{x:-.05,y:.14},{x:-.05,y:-.14}],color:"primary",fill:!1,strokeWidth:.012},"right-plate":{type:"path",points:[{x:.05,y:.14},{x:.05,y:-.14}],color:"primary",fill:!1,strokeWidth:.012},"right-lead":{type:"path",points:[{x:.05,y:0},{x:.175,y:0}],color:"primary",fill:!1,strokeWidth:.012}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.25,anchor:"middle_bottom"},bottom1:{type:"text",text:"{VAL}",x:0,y:-.25,anchor:"middle_top"}},refblocks:{left1:{x:-.175,y:0},right1:{x:.175,y:0}},bounds:{minX:-.175,maxX:.175,minY:-.25,maxY:.25,width:.35,height:.5,centerX:0,centerY:0},circles:{}};var Vy=c(it,{kind:"capacitor",orientation:"down",pin1Labels:["1","pos"],pin2Labels:["2","neg"]});var Xy=c(it,{kind:"capacitor",orientation:"left",pin1Labels:["1","pos"],pin2Labels:["2","neg"]});var Ly=c(it,{kind:"capacitor",orientation:"right",pin1Labels:["1","pos"],pin2Labels:["2","neg"]});var zy=c(it,{kind:"capacitor",orientation:"up",pin1Labels:["1","pos"],pin2Labels:["2","neg"]});var k={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}}};var{paths:z2,texts:C6,bounds:je,refblocks:ky,circles:k2}=k,jy=e({primitives:[...Object.values(z2),...Object.values(k2),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...ky.left1,labels:["1"]},{...ky.right1,labels:["2"]}],size:{width:je.width,height:je.height},center:{x:je.centerX,y:je.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Oy=e(k).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:j2,texts:G6,bounds:Oe,refblocks:Jy,circles:O2}=k,$y=e({primitives:[...Object.values(j2),...Object.values(O2),{type:"text",text:"{REF}",x:-0,y:-.2894553499999995},{type:"text",text:"{VAL}",x:0,y:.3894553499999995}],ports:[{...Jy.left1,labels:["1"]},{...Jy.right1,labels:["2"]}],size:{width:Oe.width,height:Oe.height},center:{x:Oe.centerX,y:Oe.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var My=e(k).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:J2,texts:ev,bounds:Je,refblocks:Cy,circles:$2}=k,Wy=e({primitives:[...Object.values(J2),...Object.values($2),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Cy.left1,labels:["1"]},{...Cy.right1,labels:["2"]}],size:{width:Je.width,height:Je.height},center:{x:Je.centerX,y:Je.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:M2,texts:lv,bounds:$e,refblocks:Ny,circles:C2}=k,By=e({primitives:[...Object.values(M2),...Object.values(C2),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Ny.left1,labels:["1"]},{...Ny.right1,labels:["2"]}],size:{width:$e.width,height:$e.height},center:{x:$e.centerX,y:$e.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var lt={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:{}};var{paths:N2,texts:mv,bounds:Me,refblocks:Ce,circles:B2}=lt,Iy=e({primitives:[...Object.values(N2),...Object.values(B2),{type:"text",text:"{REF}",x:-.4,y:.4094554499999995},{type:"text",text:"{VAL}",x:.4,y:.4094553499999995}],ports:[{...Ce.left1,labels:["1"]},{...Ce.right1,labels:["3"]},{...Ce.bottom1,labels:["2"]},{...Ce.top1,labels:["4"]}],size:{width:Me.width,height:Me.height},center:{x:Me.centerX,y:Me.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var Dy=e(lt).labelPort("top1",["2","gnd1"]).labelPort("bottom1",["4","gnd2"]).labelPort("left1",["3"]).labelPort("right1",["1"]).changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var qy=e(lt).labelPort("top1",["4","gnd1"]).labelPort("bottom1",["2","gnd2"]).labelPort("left1",["1"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var{paths:I2,texts:uv,bounds:We,refblocks:Ne,circles:D2}=lt,Gy=e({primitives:[...Object.values(I2),...Object.values(D2),{type:"text",text:"{VAL}",x:-.4,y:-.4094554499999995},{type:"text",text:"{REF}",x:.4,y:-.4094553499999995}],ports:[{...Ne.left1,labels:["1"]},{...Ne.right1,labels:["3"]},{...Ne.bottom1,labels:["2"]},{...Ne.top1,labels:["4"]}],size:{width:We.width,height:We.height},center:{x:We.centerX,y:We.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var at={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:{}};var{paths:G2,texts:Pv,bounds:Be,refblocks:Hy,circles:H2}=at,Uy=e({primitives:[...Object.values(G2),...Object.values(H2),{type:"text",text:"{REF}",x:-.3,y:.3094553499999995},{type:"text",text:"{VAL}",x:.3,y:.3094553499999995}],ports:[{...Hy.left1,labels:["1"]},{...Hy.right1,labels:["2"]}],size:{width:Be.width,height:Be.height},center:{x:Be.centerX,y:Be.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("down").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var Zy=e(at).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var Ky=e(at).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:U2,texts:kv,bounds:Ie,refblocks:Qy,circles:Z2}=at,ts=e({primitives:[...Object.values(U2),...Object.values(Z2),{type:"text",text:"{REF}",x:.3,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.3094553499999995}],ports:[{...Qy.left1,labels:["1"]},{...Qy.right1,labels:["2"]}],size:{width:Ie.width,height:Ie.height},center:{x:Ie.centerX,y:Ie.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("up").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var Ut=.6,Bo=.3,K2=[{type:"path",points:[{x:-Ut,y:0},{x:-Bo,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:Bo,y:0},{x:Ut,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:Bo,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}],es=e({primitives:[...K2,{type:"text",text:"{REF}",x:-.2,y:.35},{type:"text",text:"{VAL}",x:.2,y:.35}],ports:[{x:-Ut,y:0,labels:["1"]},{x:Ut,y:0,labels:["2"]}],center:{x:0,y:0},size:{width:Ut*2,height:.9}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Zt=.6,Io=.3,Q2=[{type:"path",points:[{x:-Zt,y:0},{x:-Io,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:Io,y:0},{x:Zt,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:Io,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}],os=e({primitives:[...Q2,{type:"text",text:"{REF}",x:0,y:-.4},{type:"text",text:"{VAL}",x:0,y:.4}],ports:[{x:-Zt,y:0,labels:["1"]},{x:Zt,y:0,labels:["2"]}],center:{x:0,y:0},size:{width:Zt*2,height:.9}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Kt=.6,Do=.3,td=[{type:"path",points:[{x:-Kt,y:0},{x:-Do,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:Do,y:0},{x:Kt,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:Do,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}],rs=e({primitives:[...td,{type:"text",text:"{REF}",x:0,y:.4},{type:"text",text:"{VAL}",x:0,y:-.4}],ports:[{x:-Kt,y:0,labels:["1"]},{x:Kt,y:0,labels:["2"]}],center:{x:0,y:0},size:{width:Kt*2,height:.9}}).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Qt=.6,qo=.3,ed=[{type:"path",points:[{x:-Qt,y:0},{x:-qo,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:qo,y:0},{x:Qt,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:qo,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}],is=e({primitives:[...ed,{type:"text",text:"{REF}",x:.2,y:-.35},{type:"text",text:"{VAL}",x:-.2,y:-.35}],ports:[{x:-Qt,y:0,labels:["1"]},{x:Qt,y:0,labels:["2"]}],center:{x:0,y:0},size:{width:Qt*2,height:.9}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var j={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}}};var ls=e(j).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();var as=e(j).rotateRightFacingSymbol("right").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_right").changeTextAnchor("{REF}","middle_right").build();var ps=e(j).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();var ys=e(j).rotateRightFacingSymbol("right").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_right").changeTextAnchor("{REF}","middle_right").build();var ss=e(j).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();var ms=e(j).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();var ns={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},path2:{type:"path",points:[{x:-.12,y:.09},{x:.12,y:.09}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.18,y:-.45},bottom1:{type:"text",text:"{VAL}",x:-.01,y:.35},left1:{type:"text",text:"A",x:0,y:-.1}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{minX:-.53,maxX:.53,minY:-.09,maxY:.09,width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:xs,bounds:De,refblocks:fs,circles:id}=ns,B=m({primitives:[xs.path11,xs.path12,{type:"path",points:[{x:-.12,y:.14},{x:.12,y:.14}],color:"primary",fill:!1},...Object.values(id),{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:[{...fs.left1,labels:["1"]},{...fs.right1,labels:["2"]}],size:{width:De.width,height:De.height},center:{x:De.centerX,y:De.centerY}});var Go=structuredClone(B);Go.primitives=Go.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 te=q(Go,{newOrientation:"down"});var cs=X(B);var hs=B;var Ho=structuredClone(B);Ho.primitives=Ho.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 ds=q(Ho,{newOrientation:"up"});var O={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}},texts:{top1:{type:"text",text:"{REF}",x:-.17,y:.4},bottom1:{type:"text",text:"{VAL}",x:-.01,y:-.4}},refblocks:{left1:{x:-.54,y:.03},right1:{x:.54,y:.04}},bounds:{minX:-.57,maxX:.57,minY:-.4,maxY:.4,width:1.14,height:.79,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.04,radius:.29,color:"primary",fill:!1}}};var{paths:ad,texts:Yw,bounds:qe,refblocks:_s,circles:pd}=O,bs=e({primitives:[...Object.values(ad),...Object.values(pd),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{..._s.left1,labels:["1"]},{..._s.right1,labels:["2"]}],size:{width:qe.width,height:qe.height},center:{x:qe.centerX,y:qe.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:yd,texts:zw,bounds:Ge,refblocks:gs,circles:sd}=O,us=e({primitives:[...Object.values(yd),...Object.values(sd),{type:"text",text:"{REF}",x:-0,y:.3894553499999995},{type:"text",text:"{VAL}",x:0,y:-.3294553499999995}],ports:[{...gs.left1,labels:["1"]},{...gs.right1,labels:["2"]}],size:{width:Ge.width,height:Ge.height},center:{x:Ge.centerX,y:Ge.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:md,texts:Jw,bounds:He,refblocks:vs,circles:nd}=O,ws=e({primitives:[...Object.values(md),...Object.values(nd),{type:"text",text:"{REF}",x:-0,y:-.3294553499999995},{type:"text",text:"{VAL}",x:0,y:.4294553499999995}],ports:[{...vs.left1,labels:["1"]},{...vs.right1,labels:["2"]}],size:{width:He.width,height:He.height},center:{x:He.centerX,y:He.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:xd,texts:Ww,bounds:Ue,refblocks:Ss,circles:fd}=O,As=e({primitives:[...Object.values(xd),...Object.values(fd),{type:"text",text:"{REF}",x:-0,y:.3894553499999995},{type:"text",text:"{VAL}",x:0,y:-.3294553499999995}],ports:[{...Ss.left1,labels:["1"]},{...Ss.right1,labels:["2"]}],size:{width:Ue.width,height:Ue.height},center:{x:Ue.centerX,y:Ue.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:cd,texts:Dw,bounds:Ze,refblocks:Ps,circles:hd}=O,Fs=e({primitives:[...Object.values(cd),...Object.values(hd),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Ps.left1,labels:["1"]},{...Ps.right1,labels:["2"]}],size:{width:Ze.width,height:Ze.height},center:{x:Ze.centerX,y:Ze.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:dd,texts:Uw,bounds:Ke,refblocks:Rs,circles:_d}=O,Ts=e({primitives:[...Object.values(dd),...Object.values(_d),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Rs.left1,labels:["1"]},{...Rs.right1,labels:["2"]}],size:{width:Ke.width,height:Ke.height},center:{x:Ke.centerX,y:Ke.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var J={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}}};var Es=e(J).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();var Ys=e(J).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.1}).changeTextAnchor("{VAL}","middle_top").build();var Vs=e(J).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();var Xs=e(J).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.1}).changeTextAnchor("{VAL}","middle_top").build();var Ls=e(J).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();var zs=e(J).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();var pt={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}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.03}},refblocks:{left1:{x:-.11,y:0}},bounds:{minX:-.57,maxX:.57,minY:-.37,maxY:.37,width:1.14,height:.74,centerX:0,centerY:0},circles:{}};var{paths:ud,bounds:ks,refblocks:vd}=pt,js=e({primitives:[...Object.values(ud),{type:"text",text:"{REF}",x:-.13,y:-0}],ports:[{...vd.left1,labels:["1"]}],center:{x:ks.centerX,y:ks.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var{paths:wd,bounds:Os,refblocks:Sd}=pt,Js=e({primitives:[...Object.values(wd),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...Sd.left1,labels:["1"]}],center:{x:Os.centerX,y:Os.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var{paths:Ad,bounds:$s,refblocks:Pd}=pt,Ms=e({primitives:[...Object.values(Ad),{type:"text",text:"{REF}",x:-.13,y:-0}],ports:[{...Pd.left1,labels:["1"]}],center:{x:$s.centerX,y:$s.centerY}}).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var{paths:Fd,bounds:Cs,refblocks:Rd}=pt,Ws=e({primitives:[...Object.values(Fd),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...Rd.left1,labels:["1"]}],center:{x:Cs.centerX,y:Cs.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var Ns={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:{}};var yt=e(Ns).labelPort("left1",["1","pos","anode"]).labelPort("right1",["2","neg","cathode"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Bs=o(yt,"down");var Is=o(yt,"left");var Ds=o(yt,"up");var qs={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}}};var st=e(qs).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();var Uo=o(st,"down"),Zo=Uo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ko=Uo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Zo.anchor="middle_bottom";Ko.anchor="middle_top";Zo.x=0;Zo.y+=.537;Ko.y-=.5375;Ko.x=0;var Gs=Uo;var Qo=o(st,"left"),tr=Qo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),er=Qo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");tr.anchor="middle_bottom";er.anchor="middle_top";tr.x=0;tr.y+=1;er.y-=1;er.x=0;var Hs=Qo;var or=o(st,"up"),rr=or.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ir=or.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");rr.anchor="middle_bottom";ir.anchor="middle_top";rr.x=0;rr.y+=.537;ir.y-=.5375;ir.x=0;var Us=or;var Zs={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}}};var mt=e(Zs).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();var lr=o(mt,"down"),ar=lr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),pr=lr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ar.anchor="middle_bottom";pr.anchor="middle_top";ar.x=0;ar.y+=.565;pr.y-=.555;pr.x=0;var Ks=lr;var yr=o(mt,"left"),sr=yr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),mr=yr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");sr.anchor="middle_bottom";mr.anchor="middle_top";sr.x=0;sr.y+=1.09;mr.y-=1.09;mr.x=0;var Qs=yr;var nr=o(mt,"up"),xr=nr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),fr=nr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");xr.anchor="middle_bottom";fr.anchor="middle_top";xr.x=0;xr.y+=.565;fr.y-=.555;fr.x=0;var tm=nr;var em={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}}};var nt=e(em).labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("right3",["4"]).labelPort("left3",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var cr=o(nt,"down"),hr=cr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),dr=cr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");hr.anchor="middle_bottom";dr.anchor="middle_top";hr.x=.4;hr.y+=.265;dr.y-=.265;dr.x=.4;var om=cr;var _r=o(nt,"left"),br=_r.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),gr=_r.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");br.anchor="middle_bottom";gr.anchor="middle_top";br.x=0;br.y+=.67;gr.y-=.67;gr.x=0;var rm=_r;var ur=o(nt,"up"),vr=ur.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),wr=ur.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");vr.anchor="middle_bottom";wr.anchor="middle_top";vr.x=.46;vr.y+=.265;wr.y-=.265;wr.x=.46;var im=ur;var lm={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}}};var xt=e(lm).labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("right3",["4"]).labelPort("left3",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Sr=o(xt,"down"),Ar=Sr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Pr=Sr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ar.anchor="middle_bottom";Pr.anchor="middle_top";Ar.x=.4;Ar.y+=.295;Pr.y-=.295;Pr.x=.42;var am=Sr;var Fr=o(xt,"left"),Rr=Fr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Tr=Fr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Rr.anchor="middle_bottom";Tr.anchor="middle_top";Rr.x=0;Rr.y+=.795;Tr.y-=.795;Tr.x=0;var pm=Fr;var Er=o(xt,"up"),Yr=Er.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Vr=Er.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Yr.anchor="middle_bottom";Vr.anchor="middle_top";Yr.x=.46;Yr.y+=.315;Vr.y-=.315;Vr.x=.46;var ym=Er;var Qe={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:{}};var{paths:zd,texts:BA,bounds:t0,refblocks:sm,circles:kd}=Qe,e0=e({primitives:[...Object.values(zd),...Object.values(kd),{type:"text",text:"{REF}",x:.18,y:-.3204553499999995},{type:"text",text:"{VAL}",x:-.25,y:-.3294553499999995}],ports:[{...sm.left1,labels:["1"]},{...sm.right1,labels:["2"]}],size:{width:t0.width,height:t0.height},center:{x:t0.centerX,y:t0.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Xr=V(e0),Lr=Xr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),zr=Xr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Lr.anchor="middle_left";zr.anchor="middle_left";Lr.y+=.4;Lr.x=.32;zr.y-=.45;zr.x=.32;var mm=Xr;var o0=e(Qe).labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var nm=X(o0);var $={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}},texts:{top1:{type:"text",text:"{REF}",x:-.09,y:.38},bottom1:{type:"text",text:"{VAL}",x:-.07,y:-.38},right1:{type:"text",text:"",x:.59,y:-.33}},refblocks:{left1:{x:-.56,y:.04},right1:{x:.48,y:.05}},bounds:{minX:-.59,maxX:.59,minY:-.38,maxY:.38,width:1.18,height:.76,centerX:0,centerY:0},circles:{}};var{paths:Od,texts:lP,bounds:r0,refblocks:xm,circles:Jd}=$,fm=e({primitives:[...Object.values(Od),...Object.values(Jd),{type:"text",text:"{REF}",x:-.15,y:.3294553499999995},{type:"text",text:"{VAL}",x:.15,y:.3294553499999995}],ports:[{...xm.left1,labels:["1"]},{...xm.right1,labels:["2"]}],size:{width:r0.width,height:r0.height},center:{x:r0.centerX,y:r0.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:$d,texts:sP,bounds:i0,refblocks:cm,circles:Md}=$,hm=e({primitives:[...Object.values($d),...Object.values(Md),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...cm.left1,labels:["1"]},{...cm.right1,labels:["2"]}],size:{width:i0.width,height:i0.height},center:{x:i0.centerX,y:i0.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Cd,texts:fP,bounds:l0,refblocks:dm,circles:Wd}=$,_m=e({primitives:[...Object.values(Cd),...Object.values(Wd),{type:"text",text:"{REF}",x:-0,y:-.3094553499999995},{type:"text",text:"{VAL}",x:0,y:.4094553499999995}],ports:[{...dm.left1,labels:["1"]},{...dm.right1,labels:["2"]}],size:{width:l0.width,height:l0.height},center:{x:l0.centerX,y:l0.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Nd,texts:_P,bounds:a0,refblocks:bm,circles:Bd}=$,gm=e({primitives:[...Object.values(Nd),...Object.values(Bd),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...bm.left1,labels:["1"]},{...bm.right1,labels:["2"]}],size:{width:a0.width,height:a0.height},center:{x:a0.centerX,y:a0.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Id,texts:vP,bounds:p0,refblocks:um,circles:Dd}=$,vm=e({primitives:[...Object.values(Id),...Object.values(Dd),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...um.left1,labels:["1"]},{...um.right1,labels:["2"]}],size:{width:p0.width,height:p0.height},center:{x:p0.centerX,y:p0.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:qd,texts:PP,bounds:y0,refblocks:wm,circles:Gd}=$,Sm=e({primitives:[...Object.values(qd),...Object.values(Gd),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...wm.left1,labels:["1"]},{...wm.right1,labels:["2"]}],size:{width:y0.width,height:y0.height},center:{x:y0.centerX,y:y0.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Am={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:"Hz",x:0,y:-.04}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{minX:-.53,maxX:.53,minY:0,maxY:0,width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}};var{paths:Ud,texts:Zd,bounds:s0,refblocks:Pm,circles:Kd}=Am,ee=m({primitives:[...Object.values(Ud),...Object.values(Kd),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...Zd.left1,x:0,y:.01,anchor:"center",fontSize:.2}],ports:[{...Pm.left1,labels:["1"]},{...Pm.right1,labels:["2"]}],size:{width:s0.width,height:s0.height},center:{x:s0.centerX,y:s0.centerY}});var{5:Qd,...t5}=ee.primitives;function e5(t){return typeof t=="object"}var Fm=o({...ee,primitives:Object.values(t5).filter(e5)}),Rm={...Fm,primitives:[...Fm.primitives,Qd]};var Tm={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},bottom1:{type:"text",text:"{VAL}",x:-.17,y:-.24}},refblocks:{left1:{x:-.53,y:.04},right1:{x:.53,y:.04}},bounds:{minX:-.56,maxX:.56,minY:-.24,maxY:.24,width:1.13,height:.47,centerX:0,centerY:0},circles:{}};var{paths:r5,texts:i5,bounds:m0,refblocks:Em}=Tm,n0=m({primitives:[...Object.values(r5),{...i5.top1,anchor:"middle_bottom"},{type:"text",text:"{VAL}",x:0,y:-.2,anchor:"middle_top"}],ports:[{...Em.left1,labels:["1"]},{...Em.right1,labels:["2"]}],size:{width:m0.width,height:m0.height},center:{x:m0.centerX,y:m0.centerY}});var Ym=o(n0);var M={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:{}};var Vm=e(M).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var Xm=e(M).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var Lm=e(M).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var zm=e(M).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var km=e(M).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var jm=e(M).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var oe={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:{}};var{paths:sF,texts:mF,bounds:nF,refblocks:xF,circles:fF}=oe,Om=e(oe).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Jm=e(oe).rotateRightFacingSymbol("down").changeTextAnchor("{VAL}","middle_right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var $m={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:{}};var ft=e($m).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();var Mm=o(ft,"down");var Cm=X(ft);var kr=o(ft,"up"),jr=kr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Or=kr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");jr.anchor="middle_left";Or.anchor="middle_left";jr.y+=.21;jr.x=.44;Or.y-=.21;Or.x=.44;var Wm=kr;var Nm={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}}};var x0=e(Nm).changeTextAnchor("{VAL}","middle_right").labelPort("left1",["3"]).labelPort("top1",["2"]).labelPort("bottom1",["1"]).changeTextAnchor("{REF}","middle_right").build();var Jr=o(x0),$r=Jr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Bm=Jr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");$r.anchor="middle_left";Bm.anchor="middle_right";$r.x=.45;$r.y+=.065;Bm.y+=.065;var Im=Jr;var Dm={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}}};var f0=e(Dm).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var qm=o(f0),Gm=qm.primitives.filter(t=>t.type==="text"),Mr=Gm.find(t=>t.text==="{VAL}");Mr.x=-.35;Mr.y=0;Mr.anchor="middle_right";var Cr=Gm.find(t=>t.text==="{REF}");Cr.y=0;Cr.x=.35;Cr.anchor="middle_left";var Hm=qm;var ct={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:{}};var Um=e(ct).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();var Zm=e(ct).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();var Km=e(ct).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Qm=e(ct).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right").changeTextAnchor("{VAL}","middle_left").build();var Wr={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}}};Wr.bounds.width+=.2;var ht=e(Wr).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","anode","pos"]).labelPort("right1",["2","cathode","neg"]).changeTextAnchor("{REF}","middle_bottom").build();var Nr=o(ht,"down"),Br=Nr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ir=Nr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Br.anchor="middle_left";Ir.anchor="middle_left";Br.y+=.9;Br.x=.3;Ir.y-=.1;Ir.x=.3;var tn=Nr;var Dr=o(ht,"left"),qr=Dr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Gr=Dr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");qr.anchor="middle_left";Gr.anchor="middle_left";qr.y+=.71;qr.x=.44;Gr.y-=.71;Gr.x=.44;var en=Dr;var Hr=o(ht,"up"),Ur=Hr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Zr=Hr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ur.anchor="middle_left";Zr.anchor="middle_left";Ur.y+=.1;Ur.x=.3;Zr.y-=.71;Zr.x=.3;var on=Hr;var rn={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:{minX:-.56,maxX:.56,minY:-.32,maxY:.32,width:1.13,height:.65,centerX:0,centerY:0},circles:{}};var{paths:f5,texts:ln,bounds:c0,refblocks:an,circles:c5}=rn,Jt=m({primitives:[...Object.values(f5),...Object.values(c5),{...ln.bottom1,anchor:"middle_top"},{...ln.right1,anchor:"middle_bottom"}],ports:[{...an.left1,labels:["1","anode","pos"]},{...an.right1,labels:["2","cathode","neg"]}],size:{width:c0.width,height:c0.height},center:{x:c0.centerX,y:c0.centerY}});var Kr=o(Jt,"up"),Qr=Kr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ti=Kr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Qr.anchor="middle_left";ti.anchor="middle_left";Qr.y+=.21;Qr.x=.21;ti.y-=.21;ti.x=.21;var h0=Kr;var ei=V(h0),oi=ei.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ri=ei.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");oi.anchor="middle_left";ri.anchor="middle_left";oi.y+=.4;oi.x=.2;ri.y-=.41;ri.x=.2;var pn=ei;var yn=X(Jt);var sn={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:{minX:-.55,maxX:.55,minY:-.51,maxY:.46,width:1.1,height:.62,centerX:0,centerY:-.02},circles:{path1:{type:"circle",x:0,y:-.02,radius:.28,color:"primary",fill:!1}}};var{paths:d5,texts:mn,bounds:d0,refblocks:nn,circles:_5}=sn,_0=m({primitives:[...Object.values(d5),...Object.values(_5),{...mn.top1,anchor:"middle_left",x:0},{...mn.bottom1,anchor:"middle_left",x:0}],ports:[{...nn.left1,labels:["1"]},{...nn.right1,labels:["2"]}],size:{width:d0.width,height:d0.height},center:{x:d0.centerX,y:d0.centerY}});var xn=o(_0),fn=xn.primitives.filter(t=>t.type==="text"),ii=fn.find(t=>t.text==="{VAL}");ii.x=-.35;ii.y=0;ii.anchor="middle_right";var li=fn.find(t=>t.text==="{REF}");li.y=0;li.x=.35;li.anchor="middle_left";var cn=xn;var hn={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:{minX:-.57,maxX:.57,minY:-.57,maxY:.57,width:1.14,height:1.14,centerX:0,centerY:0},circles:{}};function I(t,i){return{width:Math.max(...i.map(r=>Math.abs(r.x-t.x)))*2,height:Math.max(...i.map(r=>Math.abs(r.y-t.y)))*2}}var{paths:g5,texts:dn,bounds:_n,refblocks:$t}=hn,bn={x:_n.centerX+.2,y:_n.centerY},b0=m({primitives:[...Object.values(g5),{...dn.right1,anchor:"middle_left"},{...dn.right2,anchor:"middle_left"}],ports:[{...$t.top1,labels:["1"]},{...$t.bottom1,labels:["2"]},{...$t.left1,labels:["3"]}],size:I(bn,[$t.top1,$t.bottom1,$t.left1]),center:bn});var ai=o(b0),gn=ai.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),pi=ai.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");gn.anchor="middle_top";pi.anchor="middle_top";gn.x=pi.x;pi.y+=.15;var un=ai;var vn={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:{minX:-.5,maxX:.5,minY:-.27,maxY:.27,width:1,height:.53,centerX:0,centerY:0},circles:{}};var{paths:v5,texts:wn,bounds:g0,refblocks:Sn,circles:w5}=vn,u0=m({primitives:[...Object.values(v5),...Object.values(w5),{...wn.top1,anchor:"middle_bottom",x:0},{...wn.bottom1,anchor:"middle_top",x:0}],ports:[{...Sn.left1,labels:["1"]},{...Sn.right1,labels:["2"]}],size:{width:g0.width,height:g0.height},center:{x:g0.centerX+.006,y:g0.centerY+.06}});var yi=o(u0),re=yi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),v0=yi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");re.anchor="middle_left";v0.anchor="middle_right";re.x=re.x-.03;re.y=re.y;v0.x=v0.x;v0.y=0;var An=yi;var n=({horizontalSymbol:t,verticalSymbol:i,gateSide:r,drainSide:p})=>{let y=r==="left"||r==="right",a=p==="left"||p==="right";if(y===a)throw new Error(`Invalid MOSFET orientation: gate ${r}, drain ${p}. Gate and drain must be perpendicular.`);let f=y?t:i;return(r==="right"||a&&p==="left")&&(f=X(f)),(r==="bottom"||!a&&p==="bottom")&&(f=V(f)),f};var Pn={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:{minX:-.45,maxX:.45,minY:-.58,maxY:.58,width:.89,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.16,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:A5,texts:Fn,bounds:Rn,refblocks:zt,circles:P5}=Pn,Tn={x:Rn.centerX,y:Rn.centerY},F5={x:Tn.x,y:zt.left1.y},g=m({primitives:[...Object.values(A5),...Object.values(P5),{...Fn.top1,anchor:"middle_right",x:0},{...Fn.bottom1,anchor:"middle_right",x:0}],ports:[{...zt.top1,labels:["1","drain"]},{...zt.bottom1,labels:["2","source"]},{...zt.left1,labels:["3","gate"]}],size:I(Tn,[zt.top1,zt.bottom1,zt.left1]),center:F5});var En=o(g),Yn=En.primitives.filter(t=>t.type==="text"),si=Yn.find(t=>t.text==="{VAL}");si.x=-.35;si.y=0;si.anchor="middle_right";var mi=Yn.find(t=>t.text==="{REF}");mi.y=0;mi.x=.35;mi.anchor="middle_left";var A=En;var Vn=n({horizontalSymbol:g,verticalSymbol:A,gateSide:"bottom",drainSide:"left"});var Xn=n({horizontalSymbol:g,verticalSymbol:A,gateSide:"bottom",drainSide:"right"});var Ln=n({horizontalSymbol:g,verticalSymbol:A,gateSide:"left",drainSide:"bottom"});var zn=n({horizontalSymbol:g,verticalSymbol:A,gateSide:"left",drainSide:"top"});var kn=n({horizontalSymbol:g,verticalSymbol:A,gateSide:"right",drainSide:"bottom"});var jn=n({horizontalSymbol:g,verticalSymbol:A,gateSide:"right",drainSide:"top"});var On=n({horizontalSymbol:g,verticalSymbol:A,gateSide:"top",drainSide:"left"});var Jn=n({horizontalSymbol:g,verticalSymbol:A,gateSide:"top",drainSide:"right"});var $n={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:{minX:-.45,maxX:.45,minY:-.58,maxY:.58,width:.89,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.16,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:T5,texts:Mn,bounds:Cn,refblocks:Mt,circles:E5}=$n,Wn={x:Cn.centerX,y:Cn.centerY},u=m({primitives:[...Object.values(T5),...Object.values(E5),{...Mn.top1,anchor:"middle_right",x:0},{...Mn.bottom1,anchor:"middle_right",x:0}],ports:[{...Mt.top1,labels:["1","drain"]},{...Mt.bottom1,labels:["2","source"]},{...Mt.left1,labels:["3","gate"]}],size:I(Wn,[Mt.top1,Mt.bottom1,Mt.left1]),center:Wn});var Nn=o(u),Bn=Nn.primitives.filter(t=>t.type==="text"),ni=Bn.find(t=>t.text==="{VAL}");ni.x=-.35;ni.y=0;ni.anchor="middle_right";var xi=Bn.find(t=>t.text==="{REF}");xi.y=0;xi.x=.35;xi.anchor="middle_left";var P=Nn;var In=n({horizontalSymbol:u,verticalSymbol:P,gateSide:"bottom",drainSide:"left"});var Dn=n({horizontalSymbol:u,verticalSymbol:P,gateSide:"bottom",drainSide:"right"});var qn=n({horizontalSymbol:u,verticalSymbol:P,gateSide:"left",drainSide:"bottom"});var Gn=n({horizontalSymbol:u,verticalSymbol:P,gateSide:"left",drainSide:"top"});var Hn=n({horizontalSymbol:u,verticalSymbol:P,gateSide:"right",drainSide:"bottom"});var Un=n({horizontalSymbol:u,verticalSymbol:P,gateSide:"right",drainSide:"top"});var Zn=n({horizontalSymbol:u,verticalSymbol:P,gateSide:"top",drainSide:"left"});var Kn=n({horizontalSymbol:u,verticalSymbol:P,gateSide:"top",drainSide:"right"});var Qn={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:{minX:-.43,maxX:.43,minY:-.58,maxY:.58,width:.85,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.14,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:V5,texts:tx,bounds:w0,refblocks:fi,circles:X5}=Qn,S0=m({primitives:[...Object.values(V5),...Object.values(X5),{...tx.top1,anchor:"middle_right",x:0},{...tx.bottom1,anchor:"middle_right",x:0}],ports:[{...fi.top1,labels:["1","drain"]},{...fi.bottom1,labels:["2","source"]},{...fi.left1,labels:["3","gate"]}],size:{width:w0.width,height:w0.height},center:{x:w0.centerX,y:w0.centerY}});var ex=o(S0),ox=ex.primitives.filter(t=>t.type==="text"),ci=ox.find(t=>t.text==="{VAL}");ci.x=-.35;ci.y=0;ci.anchor="middle_right";var hi=ox.find(t=>t.text==="{REF}");hi.y=0;hi.x=.35;hi.anchor="middle_left";var rx=ex;var ix={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}},texts:{},refblocks:{left1:{x:-.2,y:0}},bounds:{minX:-.19,maxX:.2,minY:-.12,maxY:.12,width:.39,height:.24,centerX:0,centerY:0},circles:{}};var{paths:z5,bounds:lx,refblocks:k5}=ix,dt=e({primitives:[...Object.values(z5)],ports:[{...k5.left1,labels:["1"]}],center:{x:lx.centerX,y:lx.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).build();var ax=o(dt,"down");var px=o(dt,"left");var yx=o(dt,"up");var C={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}},texts:{top1:{type:"text",text:"{REF}",x:-.08,y:.36},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}}};var{paths:O5,texts:KE,bounds:A0,refblocks:di,circles:J5}=C,sx=e({primitives:[...Object.values(O5),...Object.values(J5),{type:"text",text:"{REF}",x:-.3,y:.5094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.5094553499999995}],ports:[{...di.top1,labels:["1","collector"]},{...di.bottom1,labels:["3","emitter"]},{...di.left1,labels:["2","base"]}],size:{width:A0.width,height:A0.height},center:{x:A0.centerX,y:A0.centerY}}).rotateRightFacingSymbol("right").changeTextAnchor("{REF}","middle_right").changeTextAnchor("{VAL}","middle_right").build();var{paths:$5,texts:oY,bounds:P0,refblocks:_i,circles:M5}=C,mx=e({primitives:[...Object.values($5),...Object.values(M5),{type:"text",text:"{REF}",x:.55,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.4094553499999995}],ports:[{..._i.top1,labels:["1","collector"]},{..._i.bottom1,labels:["3","emitter"]},{..._i.left1,labels:["2","base"]}],size:{width:P0.width,height:P0.height},center:{x:P0.centerX,y:P0.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:C5,texts:aY,bounds:F0,refblocks:bi,circles:W5}=C,nx=e({primitives:[...Object.values(C5),...Object.values(W5),{type:"text",text:"{REF}",x:-.5,y:.3094553499999995},{type:"text",text:"{VAL}",x:.55,y:.3094553499999995}],ports:[{...bi.top1,labels:["1","collector"]},{...bi.bottom1,labels:["3","emitter"]},{...bi.left1,labels:["2","base"]}],size:{width:F0.width,height:F0.height},center:{x:F0.centerX,y:F0.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:N5,texts:mY,bounds:R0,refblocks:gi,circles:B5}=C,xx=e({primitives:[...Object.values(N5),...Object.values(B5),{type:"text",text:"{REF}",x:.55,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.4094553499999995}],ports:[{...gi.top1,labels:["1","collector"]},{...gi.bottom1,labels:["3","emitter"]},{...gi.left1,labels:["2","base"]}],size:{width:R0.width,height:R0.height},center:{x:R0.centerX,y:R0.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:I5,texts:cY,bounds:T0,refblocks:ui,circles:D5}=C,fx=e({primitives:[...Object.values(I5),...Object.values(D5),{type:"text",text:"{REF}",x:-.3,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-.3,y:.4094553499999995}],ports:[{...ui.top1,labels:["1","collector"]},{...ui.bottom1,labels:["3","emitter"]},{...ui.left1,labels:["2","base"]}],size:{width:T0.width,height:T0.height},center:{x:T0.centerX,y:T0.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:q5,texts:bY,bounds:E0,refblocks:vi,circles:G5}=C,cx=e({primitives:[...Object.values(q5),...Object.values(G5),{type:"text",text:"{REF}",x:-.3,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-.3,y:.4094553499999995}],ports:[{...vi.top1,labels:["1","collector"]},{...vi.bottom1,labels:["3","emitter"]},{...vi.left1,labels:["2","base"]}],size:{width:E0.width,height:E0.height},center:{x:E0.centerX,y:E0.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var hx={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:{}};var _t=e(hx).labelPort("left1",["1","inp1"]).labelPort("left2",["2","inp2"]).labelPort("right1",["3","out"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var dx=o(_t,"down");var _x=V(o(_t,"left"));var bx=o(_t,"up");var gx={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:{}};var bt=e(gx).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();var ux=o(bt,"down");var vx=V(o(bt,"left"));var wx=o(bt,"up");var Sx={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:{minX:-.45,maxX:.45,minY:-.58,maxY:.58,width:.89,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.16,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:K5,texts:Ax,bounds:Px,refblocks:Ct,circles:Q5}=Sx,Fx={x:Px.centerX,y:Px.centerY},v=m({primitives:[...Object.values(K5),...Object.values(Q5),{...Ax.top1,anchor:"middle_right",x:0},{...Ax.bottom1,anchor:"middle_right",x:0}],ports:[{...Ct.top1,labels:["1","drain"]},{...Ct.bottom1,labels:["2","source"]},{...Ct.left1,labels:["3","gate"]}],size:I(Fx,[Ct.top1,Ct.bottom1,Ct.left1]),center:Fx});var Rx=o(v),Tx=Rx.primitives.filter(t=>t.type==="text"),wi=Tx.find(t=>t.text==="{VAL}");wi.x=-.35;wi.y=0;wi.anchor="middle_right";var Si=Tx.find(t=>t.text==="{REF}");Si.y=0;Si.x=.35;Si.anchor="middle_left";var F=Rx;var Ex=n({horizontalSymbol:v,verticalSymbol:F,gateSide:"bottom",drainSide:"left"});var Yx=n({horizontalSymbol:v,verticalSymbol:F,gateSide:"bottom",drainSide:"right"});var Vx=n({horizontalSymbol:v,verticalSymbol:F,gateSide:"left",drainSide:"bottom"});var Xx=n({horizontalSymbol:v,verticalSymbol:F,gateSide:"left",drainSide:"top"});var Lx=n({horizontalSymbol:v,verticalSymbol:F,gateSide:"right",drainSide:"bottom"});var zx=n({horizontalSymbol:v,verticalSymbol:F,gateSide:"right",drainSide:"top"});var kx=n({horizontalSymbol:v,verticalSymbol:F,gateSide:"top",drainSide:"left"});var jx=n({horizontalSymbol:v,verticalSymbol:F,gateSide:"top",drainSide:"right"});var Ox={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:{minX:-.45,maxX:.45,minY:-.58,maxY:.58,width:.89,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.16,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:e4,texts:Jx,bounds:$x,refblocks:Wt,circles:o4}=Ox,Mx={x:$x.centerX,y:$x.centerY},w=m({primitives:[...Object.values(e4),...Object.values(o4),{...Jx.top1,anchor:"middle_right",x:0},{...Jx.bottom1,anchor:"middle_right",x:0}],ports:[{...Wt.top1,labels:["1","drain"]},{...Wt.bottom1,labels:["2","source"]},{...Wt.left1,labels:["3","gate"]}],size:I(Mx,[Wt.top1,Wt.bottom1,Wt.left1]),center:Mx});var Cx=o(w),Wx=Cx.primitives.filter(t=>t.type==="text"),Ai=Wx.find(t=>t.text==="{VAL}");Ai.x=-.35;Ai.y=0;Ai.anchor="middle_right";var Pi=Wx.find(t=>t.text==="{REF}");Pi.y=0;Pi.x=.35;Pi.anchor="middle_left";var R=Cx;var Nx=n({horizontalSymbol:w,verticalSymbol:R,gateSide:"bottom",drainSide:"left"});var Bx=n({horizontalSymbol:w,verticalSymbol:R,gateSide:"bottom",drainSide:"right"});var Ix=n({horizontalSymbol:w,verticalSymbol:R,gateSide:"left",drainSide:"bottom"});var Dx=n({horizontalSymbol:w,verticalSymbol:R,gateSide:"left",drainSide:"top"});var qx=n({horizontalSymbol:w,verticalSymbol:R,gateSide:"right",drainSide:"bottom"});var Gx=n({horizontalSymbol:w,verticalSymbol:R,gateSide:"right",drainSide:"top"});var Hx=n({horizontalSymbol:w,verticalSymbol:R,gateSide:"top",drainSide:"left"});var Ux=n({horizontalSymbol:w,verticalSymbol:R,gateSide:"top",drainSide:"right"});var Zx={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}}};var Y0=e(Zx).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Kx=o(Y0),i4=Kx.primitives.filter(t=>t.type==="text"),Qx=i4.find(t=>t.text==="{REF}");Qx.y=0;Qx.anchor="middle_left";var t1=Kx;var e1={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:{minX:-.43,maxX:.43,minY:-.58,maxY:.58,width:.85,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.14,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:a4,texts:o1,bounds:V0,refblocks:Fi,circles:p4}=e1,X0=m({primitives:[...Object.values(a4),...Object.values(p4),{...o1.top1,anchor:"middle_right",x:0},{...o1.bottom1,anchor:"middle_right"}],ports:[{...Fi.top1,labels:["1","drain"]},{...Fi.bottom1,labels:["2","source"]},{...Fi.left1,labels:["3","gate"]}],size:{width:V0.width,height:V0.height},center:{x:V0.centerX,y:V0.centerY}});var r1=o(X0),i1=r1.primitives.filter(t=>t.type==="text"),Ri=i1.find(t=>t.text==="{VAL}");Ri.x=-.35;Ri.y=0;Ri.anchor="middle_right";var Ti=i1.find(t=>t.text==="{REF}");Ti.y=0;Ti.x=.35;Ti.anchor="middle_left";var l1=r1;var Y={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}}};var{paths:s4,texts:kX,bounds:L0,refblocks:Ei,circles:m4}=Y,a1=e({primitives:[...Object.values(s4),...Object.values(m4),{type:"text",text:"{REF}",x:-.1,y:.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:-.3094553499999995}],ports:[{...Ei.top1,labels:["1","collector"]},{...Ei.bottom1,labels:["3","emitter"]},{...Ei.left1,labels:["2","base"]}],size:{width:L0.width,height:L0.height},center:{x:L0.centerX,y:L0.centerY}}).rotateRightFacingSymbol("right").changeTextAnchor("{REF}","middle_right").changeTextAnchor("{VAL}","middle_right").build();var{paths:$X,texts:MX,bounds:CX,refblocks:WX,circles:NX}=Y,p1=e(Y).rotateRightFacingSymbol("up").changeTextAnchor("{VAL}","middle_left").labelPort("left1",["2","base"]).labelPort("top1",["1","collector"]).labelPort("bottom1",["3","emitter"]).changeTextAnchor("{REF}","middle_right").build();var{paths:n4,texts:qX,bounds:z0,refblocks:Yi,circles:x4}=Y,y1=e({primitives:[...Object.values(n4),...Object.values(x4),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...Yi.top1,labels:["1","collector"]},{...Yi.bottom1,labels:["3","emitter"]},{...Yi.left1,labels:["2","base"]}],size:{width:z0.width,height:z0.height},center:{x:z0.centerX,y:z0.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_bottom").build();var{paths:f4,texts:ZX,bounds:k0,refblocks:Vi,circles:c4}=Y,s1=e({primitives:[...Object.values(f4),...Object.values(c4),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...Vi.top1,labels:["1","collector"]},{...Vi.bottom1,labels:["3","emitter"]},{...Vi.left1,labels:["2","base"]}],size:{width:k0.width,height:k0.height},center:{x:k0.centerX,y:k0.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_top").changeTextAnchor("{VAL}","middle_top").build();var{paths:h4,texts:eL,bounds:j0,refblocks:Xi,circles:d4}=Y,m1=e({primitives:[...Object.values(h4),...Object.values(d4),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...Xi.top1,labels:["1","collector"]},{...Xi.bottom1,labels:["3","emitter"]},{...Xi.left1,labels:["2","base"]}],size:{width:j0.width,height:j0.height},center:{x:j0.centerX,y:j0.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:_4,texts:lL,bounds:O0,refblocks:Li,circles:b4}=Y,n1=e({primitives:[...Object.values(_4),...Object.values(b4),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...Li.top1,labels:["1","collector"]},{...Li.bottom1,labels:["3","emitter"]},{...Li.left1,labels:["2","base"]}],size:{width:O0.width,height:O0.height},center:{x:O0.centerX,y:O0.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var x1={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:{minX:-.55,maxX:.55,minY:-.55,maxY:.55,width:1.09,height:1.09,centerX:0,centerY:0},circles:{}};var{paths:u4,texts:f1,bounds:J0,refblocks:c1}=x1,$0=m({primitives:[...Object.values(u4),{...f1.bottom1,y:.35,anchor:"middle_top"},{...f1.top1,anchor:"middle_left"}],ports:[{...c1.left1,labels:["1"]},{...c1.right1,labels:["2"]}],size:{width:J0.width+.05,height:J0.height},center:{x:J0.centerX,y:J0.centerY}});var v4=o($0),h1=v4;var d1={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:{minX:-.56,maxX:.56,minY:-.29,maxY:.29,width:1.13,height:.58,centerX:0,centerY:0},circles:{}};var{paths:S4,texts:_1,bounds:M0,refblocks:b1}=d1,gt=m({primitives:[...Object.values(S4),{..._1.bottom1,x:0,y:-.35,anchor:"middle_top"},{..._1.top1,x:0,y:.35,anchor:"middle_bottom"}],ports:[{...b1.left1,labels:["1"]},{...b1.right1,labels:["2"]}],size:{width:M0.width+.05,height:M0.height},center:{x:M0.centerX,y:M0.centerY}});var zi=o(gt,"down"),ki=zi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ji=zi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ki.anchor="middle_left";ji.anchor="middle_left";ki.y+=.31;ki.x=.34;ji.y-=.31;ji.x=.34;var g1=zi;var Oi=o(gt,"left"),Ji=Oi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),$i=Oi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ji.anchor="middle_bottom";$i.anchor="middle_top";Ji.y+=.73;Ji.x=0;$i.y-=.7;$i.x=0;var u1=Oi;var Mi=o(gt,"up"),Ci=Mi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Wi=Mi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ci.anchor="middle_left";Wi.anchor="middle_left";Ci.y+=.21;Ci.x=.34;Wi.y-=.21;Wi.x=.34;var v1=Mi;var ut={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:{}};var{paths:P4,texts:YL,bounds:C0,refblocks:Ni,circles:F4}=ut,w1=e({primitives:[...Object.values(P4),...Object.values(F4),{type:"text",text:"{REF}",x:-.15,y:.2394553499999995},{type:"text",text:"{VAL}",x:.15,y:.2394553499999995}],ports:[{...Ni.left,labels:["1"]},{...Ni.right,labels:["3"]},{...Ni.bottom,labels:["2"]}],size:{width:C0.width,height:C0.height},center:{x:C0.centerX,y:C0.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:R4,texts:zL,bounds:W0,refblocks:Bi,circles:T4}=ut,S1=e({primitives:[...Object.values(R4),...Object.values(T4),{type:"text",text:"{REF}",x:-.3,y:-.3894553499999995},{type:"text",text:"{VAL}",x:-.3,y:.3194553499999995}],ports:[{...Bi.left,labels:["1"]},{...Bi.right,labels:["3"]},{...Bi.bottom,labels:["2"]}],size:{width:W0.width,height:W0.height},center:{x:W0.centerX,y:W0.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var A1=e(ut).labelPort("left",["1"]).labelPort("right",["3"]).labelPort("bottom",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:E4,texts:CL,bounds:N0,refblocks:Ii,circles:Y4}=ut,P1=e({primitives:[...Object.values(E4),...Object.values(Y4),{type:"text",text:"{REF}",x:.3,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.2894553499999995}],ports:[{...Ii.left,labels:["1"]},{...Ii.right,labels:["3"]},{...Ii.bottom,labels:["2"]}],size:{width:N0.width,height:N0.height},center:{x:N0.centerX,y:N0.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var F1={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}},texts:{top1:{type:"text",text:"{REF}",x:-.16,y:.4},bottom1:{type:"text",text:"{VAL}",x:0,y:-.4},left1:{type:"text",text:"COS \u03C6",x:-.15,y:.01}},refblocks:{left1:{x:-.54,y:.03},right1:{x:.54,y:.03}},bounds:{minX:-.57,maxX:.57,minY:-.4,maxY:.4,width:1.14,height:.79,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.04,radius:.29,color:"primary",fill:!1}}};var{paths:X4,texts:DL,bounds:B0,refblocks:R1,circles:L4}=F1,I0=m({primitives:[...Object.values(X4),...Object.values(L4),{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 \u03C6",x:0,y:.014279000000000375,anchor:"center"}],ports:[{...R1.left1,labels:["1"]},{...R1.right1,labels:["2"]}],size:{width:B0.width,height:B0.height},center:{x:B0.centerX,y:B0.centerY}});var T1=o(I0),Gi=T1.primitives.filter(t=>t.type==="text"),Di=Gi.find(t=>t.text==="{REF}"),Hi=Gi.find(t=>t.text==="{VAL}"),qi=Gi.find(t=>t.text==="COS \u03C6");Di.x=.35;Di.y=.4279000000000375,Di.anchor="middle_left";Hi.anchor="middle_left";Hi.x=.35;Hi.y=-.4279000000000375,qi.x=0;qi.y=.014279000000000375,qi.anchor="center";var E1=T1;var Y1={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:{minX:-.5,maxX:.5,minY:-.22,maxY:.22,width:1,height:.45,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}}};var{paths:k4,texts:V1,bounds:X1,refblocks:L1,circles:j4}=Y1,D0=m({primitives:[...Object.values(k4),...Object.values(j4),{...V1.top1,anchor:"middle_left"},{...V1.bottom1,anchor:"middle_left"}],ports:[{...L1.left1,labels:["1"]},{...L1.right1,labels:["2"]}],center:{x:X1.centerX,y:X1.centerY}});var z1=o(D0,"up");var q0={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:{minX:-.5,maxX:.5,minY:-.22,maxY:.22,width:1,height:.45,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}}};var{paths:J4,texts:k1,bounds:$4,refblocks:Ui,circles:M4}=q0,D=m({primitives:[...Object.values(J4),...Object.values(M4),{...k1.top1,x:0,y:.3594553499999995,anchor:"middle_bottom"},{...k1.bottom1,x:0,y:-.3594553499999995,anchor:"middle_top"}],ports:[{...Ui.left1,labels:["1"]},{...Ui.right1,labels:["2"]}],center:{x:$4.centerX,y:Ui.left1.y}});var Zi=o(D,"down"),Ki=Zi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Qi=Zi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ki.anchor="middle_bottom";Qi.anchor="middle_top";Ki.y=.4;Ki.x=.35;Qi.y=-.4;Qi.x=.35;var j1=Zi;var{paths:C4,texts:O1,bounds:W4,refblocks:tl,circles:N4}=q0,J1=m({primitives:[...Object.values(C4),...Object.values(N4),{...O1.top1,x:0,y:.3594553499999995,anchor:"middle_bottom"},{...O1.bottom1,x:0,y:-.3594553499999995,anchor:"middle_top"}],ports:[{...tl.left1,labels:["1"]},{...tl.right1,labels:["2"]}],center:{x:W4.centerX,y:tl.left1.y}});var el=o(D,"left"),ol=el.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),rl=el.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ol.anchor="middle_bottom";rl.anchor="middle_top";ol.y=.4;ol.x=0;rl.y=-.4;rl.x=0;var $1=el;var il=o(D,"up"),ll=il.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),al=il.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ll.anchor="middle_left";al.anchor="middle_left";ll.y+=.4;ll.x=.34;al.y-=.41;al.x=.34;var M1=il;var pl=o(D,"up"),yl=pl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),sl=pl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");yl.anchor="middle_left";sl.anchor="middle_left";yl.y+=.4;yl.x=.34;sl.y-=.41;sl.x=.34;var C1=pl;var vt={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}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.03}},refblocks:{left1:{x:.09,y:0}},bounds:{minX:-.57,maxX:.57,minY:-.37,maxY:.37,width:1.14,height:.74,centerX:0,centerY:0},circles:{}};var{paths:I4,texts:Fz,bounds:W1,refblocks:D4,circles:q4}=vt,N1=e({primitives:[...Object.values(I4),...Object.values(q4),{type:"text",text:"{REF}",x:-.14,y:-0}],ports:[{...D4.left1,labels:["1"]}],center:{x:W1.centerX,y:W1.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var{paths:G4,texts:Yz,bounds:B1,refblocks:H4,circles:U4}=vt,I1=e({primitives:[...Object.values(G4),...Object.values(U4),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...H4.left1,labels:["1"]}],center:{x:B1.centerX,y:B1.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var{paths:Z4,texts:zz,bounds:D1,refblocks:K4,circles:Q4}=vt,q1=e({primitives:[...Object.values(Z4),...Object.values(Q4),{type:"text",text:"{REF}",x:-.14,y:-0}],ports:[{...K4.left1,labels:["1"]}],center:{x:D1.centerX,y:D1.centerY}}).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var{paths:t_,texts:Jz,bounds:G1,refblocks:e_}=vt,H1=e({primitives:[...Object.values(t_),{type:"text",text:"{REF}",x:-.14,y:0}],ports:[{...e_.left1,labels:["1"]}],center:{x:G1.centerX,y:G1.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var U1={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:{minX:-.55,maxX:.55,minY:-.56,maxY:.55,width:1.09,height:1.1,centerX:0,centerY:0},circles:{}};var{paths:r_,texts:Z1,bounds:G0,refblocks:H0,circles:i_}=U1,U0=m({primitives:[...Object.values(r_),...Object.values(i_),{...Z1.top1,anchor:"middle_right"},{...Z1.bottom1,anchor:"middle_right"}],ports:[{...H0.top1,labels:["1"]},{...H0.bottom1,labels:["2"]},{...H0.left1,labels:["3"]},{...H0.right1,labels:["4"]}],size:{width:G0.width,height:G0.height},center:{x:G0.centerX,y:G0.centerY}});var ml=o(U0),l_=ml.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),a_=ml.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");l_.anchor="middle_left";a_.anchor="middle_right";var K1=ml;var wt={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}},texts:{top1:{type:"text",text:"{REF}",x:-.05,y:.42},bottom1:{type:"text",text:"{VAL}",x:-.04,y:-.42}},refblocks:{left1:{x:-.47,y:.04},right1:{x:.47,y:.04}},bounds:{minX:-.49,maxX:.49,minY:-.42,maxY:.42,width:.99,height:.84,centerX:0,centerY:0},circles:{}};var{paths:y_,texts:Uz,bounds:Z0,refblocks:Q1,circles:s_}=wt,tf=e({primitives:[...Object.values(y_),...Object.values(s_),{type:"text",text:"{REF}",x:-.2,y:.2194553499999995},{type:"text",text:"{VAL}",x:.2,y:.2194553499999995}],ports:[{...Q1.left1,labels:["1"]},{...Q1.right1,labels:["2"]}],size:{width:Z0.width,height:Z0.height},center:{x:Z0.centerX,y:Z0.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:m_,texts:tk,bounds:K0,refblocks:ef,circles:n_}=wt,of=e({primitives:[...Object.values(m_),...Object.values(n_),{type:"text",text:"{REF}",x:0,y:-.1704553499999995},{type:"text",text:"{VAL}",x:0,y:.2294553499999995}],ports:[{...ef.left1,labels:["1"]},{...ef.right1,labels:["2"]}],size:{width:K0.width,height:K0.height},center:{x:K0.centerX,y:K0.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:x_,texts:ik,bounds:Q0,refblocks:rf,circles:f_}=wt,lf=e({primitives:[...Object.values(x_),...Object.values(f_),{type:"text",text:"{REF}",x:0,y:.2294553499999995},{type:"text",text:"{VAL}",x:0,y:-.1704553499999995}],ports:[{...rf.left1,labels:["1"]},{...rf.right1,labels:["2"]}],size:{width:Q0.width,height:Q0.height},center:{x:Q0.centerX,y:Q0.centerY}}).rotateRightFacingSymbol("right").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var St={paths:{"left-lead":{type:"path",points:[{x:-.25,y:0},{x:-.16,y:0}],color:"primary",fill:!1,strokeWidth:.02},zigzag:{type:"path",points:[{x:-.16,y:0},{x:-.12,y:.095},{x:-.07,y:-.095},{x:-.02,y:.095},{x:.02,y:-.095},{x:.07,y:.095},{x:.12,y:-.095},{x:.16,y:0}],color:"primary",fill:!1,strokeWidth:.02},"right-lead":{type:"path",points:[{x:.16,y:0},{x:.25,y:0}],color:"primary",fill:!1,strokeWidth:.02}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.25,anchor:"middle_bottom"},bottom1:{type:"text",text:"{VAL}",x:0,y:-.25,anchor:"middle_top"}},refblocks:{left1:{x:-.25,y:0},right1:{x:.25,y:0}},bounds:{minX:-.25,maxX:.25,minY:-.25,maxY:.25,width:.5,height:.5,centerX:0,centerY:0},circles:{}};var af=c(St,{kind:"resistor",orientation:"down"});var pf=c(St,{kind:"resistor",orientation:"left"});var yf=c(St,{kind:"resistor",orientation:"right"});var sf=c(St,{kind:"resistor",orientation:"up"});var{paths:h_,texts:vk,bounds:to,refblocks:mf,circles:d_}=wt,nf=e({primitives:[...Object.values(h_),...Object.values(d_),{type:"text",text:"{REF}",x:.2,y:-.1404553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.1494553499999995}],ports:[{...mf.left1,labels:["1"]},{...mf.right1,labels:["2"]}],size:{width:to.width,height:to.height},center:{x:to.centerX,y:to.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var At={paths:{"left-lead":{type:"path",points:[{x:-.175,y:0},{x:-.115,y:0}],color:"primary",fill:!1,strokeWidth:.02},zigzag:{type:"path",points:[{x:-.115,y:0},{x:-.07,y:.095},{x:-.025,y:-.095},{x:.025,y:.095},{x:.07,y:-.095},{x:.115,y:0}],color:"primary",fill:!1,strokeWidth:.02},"right-lead":{type:"path",points:[{x:.115,y:0},{x:.175,y:0}],color:"primary",fill:!1,strokeWidth:.02}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.25,anchor:"middle_bottom"},bottom1:{type:"text",text:"{VAL}",x:0,y:-.25,anchor:"middle_top"}},refblocks:{left1:{x:-.175,y:0},right1:{x:.175,y:0}},bounds:{minX:-.175,maxX:.175,minY:-.25,maxY:.25,width:.35,height:.5,centerX:0,centerY:0},circles:{}};var xf=c(At,{kind:"resistor",orientation:"down"});var ff=c(At,{kind:"resistor",orientation:"left"});var cf=c(At,{kind:"resistor",orientation:"right"});var hf=c(At,{kind:"resistor",orientation:"up"});var eo={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:{minX:-.79,maxX:.79,minY:-.54,maxY:.54,width:1.59,height:1.07,centerX:0,centerY:0},circles:{}};var{paths:g_,texts:df,bounds:oo,refblocks:nl,circles:u_}=eo,Pt=m({primitives:[...Object.values(g_),...Object.values(u_),{...df.top1,anchor:"middle_bottom"},{...df.bottom1,anchor:"middle_top"}],ports:[{...nl.left1,labels:["1"]},{...nl.right1,labels:["2"]},{...nl.right2,labels:["3"]}],size:{width:oo.width,height:oo.height},center:{x:oo.centerX,y:oo.centerY}});var xl=o(Pt,"down"),fl=xl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),cl=xl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");fl.anchor="middle_bottom";cl.anchor="middle_top";fl.y+=.3;fl.x+=.101;cl.y-=.49999;cl.x+=1.19999;var _f=xl;var{paths:v_,texts:Ik,bounds:ro,refblocks:hl,circles:w_}=eo,io=m({primitives:[...Object.values(v_),...Object.values(w_),{type:"text",text:"{REF}",x:.01596175000000022,y:-.5308501500000009,anchor:"middle_top"},{type:"text",text:"{VAL}",x:.013116750000000454,y:.5408501499999989,anchor:"middle_bottom"}],ports:[{...hl.left1,labels:["1"]},{...hl.right1,labels:["2"]},{...hl.right2,labels:["3"]}],size:{width:ro.width,height:ro.height},center:{x:ro.centerX,y:ro.centerY}});var dl=o(Pt,"left"),_l=dl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),bl=dl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");_l.anchor="middle_bottom";bl.anchor="middle_top";_l.y+=.99;_l.x-=0;bl.y-=1.10999;bl.x=0;var bf=dl;var gl=o(Pt,"up"),ul=gl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),vl=gl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ul.anchor="middle_bottom";vl.anchor="middle_top";ul.y+=.499;ul.x=.62;vl.y-=.29999;vl.x+=.1;var gf=gl;var uf=o(io);var vf={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:{}};var Ft=e(vf).labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{VAL}","middle_top").changeTextAnchor("{REF}","middle_bottom").build();var wl=o(Ft,"down"),Sl=wl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Al=wl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Sl.anchor="middle_left";Al.anchor="middle_left";Sl.y+=.3;Sl.x=.3;Al.y-=.3;Al.x=.3;var wf=wl;var Pl=o(Ft,"left"),Fl=Pl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Rl=Pl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Fl.anchor="middle_bottom";Rl.anchor="middle_top";Fl.y+=.5;Fl.x=0;Rl.y-=.55;Rl.x=0;var Sf=Pl;var Tl=o(Ft,"up"),El=Tl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Yl=Tl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");El.anchor="middle_left";Yl.anchor="middle_left";El.y+=.3;El.x=.3;Yl.y-=.3;Yl.x=.3;var Af=Tl;var Vl={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:{}};var{paths:bj,texts:gj,bounds:uj,refblocks:vj,circles:wj}=Vl,lo=e(Vl).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("bottom1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Pf=o(lo),P_=Pf.primitives.filter(t=>t.type==="text"),Ff=P_.find(t=>t.text==="{REF}");Ff.y=0;Ff.anchor="middle_left";var Rf=Pf;var ao={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:{}};var Tf=e(ao).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var Nt=e(ao).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Ef=o(Nt,"left"),Xl=Ef.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Xl.anchor="middle_bottom";Xl.y+=.4;Xl.x=0;var Yf=Ef;var Vf=o(Nt,"up"),Ll=Vf.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Ll.anchor="middle_left";Ll.y+=0;Ll.x=.2;var Xf=Vf;var po={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:{}};var Lf=e(po).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var Bt=e(po).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var zf=o(Bt,"left"),zl=zf.primitives.find(t=>t.type==="text"&&t.text==="{REF}");zl.anchor="middle_bottom";zl.y+=.4;zl.x=0;var kf=zf;var jf=o(Bt,"up"),kl=jf.primitives.find(t=>t.type==="text"&&t.text==="{REF}");kl.anchor="middle_left";kl.y+=.05;kl.x=.2;var Of=jf;var yo={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:{}};var Jf=e(yo).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var It=e(yo).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var $f=o(It,"left"),jl=$f.primitives.find(t=>t.type==="text"&&t.text==="{REF}");jl.anchor="middle_left";jl.y+=.5;jl.x=.2;var Mf=$f;var Cf=o(It,"up"),Ol=Cf.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Ol.anchor="middle_left";Ol.y+=.3;Ol.x=.2;var Wf=Cf;var so={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:{}};var Nf=e(so).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var Dt=e(so).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Bf=o(Dt,"left"),Jl=Bf.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Jl.anchor="middle_left";Jl.y+=.5;Jl.x=.2;var If=Bf;var Df=o(Dt,"up"),$l=Df.primitives.find(t=>t.type==="text"&&t.text==="{REF}");$l.anchor="middle_left";$l.y+=.4;$l.x=.2;var qf=Df;var mo={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:{}};var Gf=e(mo).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var qt=e(mo).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Hf=o(qt,"left"),Ml=Hf.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Ml.anchor="middle_left";Ml.y+=.6;Ml.x=.3;var Uf=Hf;var Zf=o(qt,"up"),Cl=Zf.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Cl.anchor="middle_left";Cl.y+=.4;Cl.x=.2;var Kf=Zf;var no={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:{}};var Qf=e(no).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var Gt=e(no).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var t9=o(Gt,"left"),Wl=t9.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Wl.anchor="middle_left";Wl.y+=.5;Wl.x=.3;var e9=t9;var o9=o(Gt,"up"),Nl=o9.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Nl.anchor="middle_left";Nl.y+=.3;Nl.x=.2;var r9=o9;var i9={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}}};var Rt=e(i9).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right2",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Bl=o(Rt,"down"),Il=Bl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Dl=Bl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Il.anchor="middle_bottom";Dl.anchor="middle_top";Il.x=.44;Il.y+=.28;Dl.y-=.28;Dl.x=.44;var l9=Bl;var ql=o(Rt,"left"),Gl=ql.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Hl=ql.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Gl.anchor="middle_bottom";Hl.anchor="middle_top";Gl.x=0;Gl.y+=.625;Hl.y-=.695;Hl.x=0;var a9=ql;var Ul=o(Rt,"up"),Zl=Ul.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Kl=Ul.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Zl.anchor="middle_bottom";Kl.anchor="middle_top";Zl.x=.4;Zl.y+=.28;Kl.y-=.28;Kl.x=.4;var p9=Ul;var y9={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}}};var Tt=e(y9).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right3",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Ql=o(Tt,"down"),ta=Ql.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ea=Ql.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ta.anchor="middle_bottom";ea.anchor="middle_top";ta.x=.44;ta.y+=.28;ea.y-=.28;ea.x=.44;var s9=Ql;var oa=o(Tt,"left"),ra=oa.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ia=oa.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ra.anchor="middle_bottom";ia.anchor="middle_top";ra.x=0;ra.y+=.625;ia.y-=.695;ia.x=0;var m9=oa;var la=o(Tt,"up"),aa=la.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),pa=la.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");aa.anchor="middle_bottom";pa.anchor="middle_top";aa.x=.4;aa.y+=.28;pa.y-=.28;pa.x=.4;var n9=la;var W={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:{}};var x9=e(W).rotateRightFacingSymbol("down").labelPort("left1",["2","neg"]).labelPort("left2",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),xo=S(x9.primitives),f9={...x9,center:{x:(xo.minX+xo.maxX)/2,y:(xo.minY+xo.maxY)/2}};var c9=e(W).rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("left2",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),fo=S(c9.primitives),h9={...c9,center:{x:(fo.minX+fo.maxX)/2,y:(fo.minY+fo.maxY)/2}};var d9=e(W).rotateRightFacingSymbol("left").labelPort("left1",["2","neg"]).labelPort("left2",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),co=S(d9.primitives),_9={...d9,center:{x:(co.minX+co.maxX)/2,y:(co.minY+co.maxY)/2}};var b9=e(W).rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("left2",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),ho=S(b9.primitives),g9={...b9,center:{x:(ho.minX+ho.maxX)/2,y:(ho.minY+ho.maxY)/2}};var u9=e(W).rotateRightFacingSymbol("up").labelPort("left1",["2","neg"]).labelPort("left2",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),_o=S(u9.primitives),v9={...u9,center:{x:(_o.minX+_o.maxX)/2,y:(_o.minY+_o.maxY)/2}};var w9=e(W).rotateRightFacingSymbol("up").labelPort("left1",["2","neg"]).labelPort("left2",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),bo=S(w9.primitives),S9={...w9,center:{x:(bo.minX+bo.maxX)/2,y:(bo.minY+bo.maxY)/2}};var ie={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 ie.refblocks.left1;delete ie.refblocks.right1;ie.bounds.width+=.2;var Et=e(ie).changeTextAnchor("{VAL}","middle_top").labelPort("left2",["1"]).labelPort("right2",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var ya=o(Et,"down"),sa=ya.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ma=ya.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");sa.anchor="middle_bottom";ma.anchor="middle_top";sa.x=.3;sa.y+=.265;ma.y-=.265;ma.x=.3;var A9=ya;var na=o(Et,"left"),xa=na.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),fa=na.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");xa.anchor="middle_bottom";fa.anchor="middle_top";xa.x=0;xa.y+=.57;fa.y-=.57;fa.x=0;var P9=na;var ca=o(Et,"up"),ha=ca.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),da=ca.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ha.anchor="middle_bottom";da.anchor="middle_top";ha.x=.3;ha.y+=.265;da.y-=.265;da.x=.3;var F9=ca;var le={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 le.refblocks.left1;delete le.refblocks.right1;le.bounds.width+=.2;var Yt=e(le).changeTextAnchor("{VAL}","middle_top").labelPort("left2",["1"]).labelPort("right2",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var _a=o(Yt,"down"),ba=_a.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ga=_a.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ba.anchor="middle_bottom";ga.anchor="middle_top";ba.x=.3;ba.y+=.265;ga.y-=.265;ga.x=.3;var R9=_a;var ua=o(Yt,"left"),va=ua.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),wa=ua.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");va.anchor="middle_bottom";wa.anchor="middle_top";va.x=0;va.y+=.57;wa.y-=.57;wa.x=0;var T9=ua;var Sa=o(Yt,"up"),Aa=Sa.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Pa=Sa.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Aa.anchor="middle_bottom";Pa.anchor="middle_top";Aa.x=.3;Aa.y+=.265;Pa.y-=.265;Pa.x=.3;var E9=Sa;var Vt={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:{}};var Y9=e(Vt).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();var V9=e(Vt).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();var X9=e(Vt).rotateRightFacingSymbol("right").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var L9=e(Vt).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();var Fa={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:{}};var{paths:j$,texts:O$,bounds:J$,refblocks:$$,circles:M$}=Fa,go=e(Fa).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var z9=o(go);var k9={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:"RPM",x:0,y:-.02}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{minX:-.53,maxX:.53,minY:0,maxY:0,width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}};var{paths:M_,texts:C_,bounds:uo,refblocks:j9,circles:W_}=k9,ae=m({primitives:[...Object.values(M_),...Object.values(W_),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...C_.left1,y:.01,anchor:"center",fontSize:.2}],ports:[{...j9.left1,labels:["1"]},{...j9.right1,labels:["2"]}],size:{width:uo.width,height:uo.height},center:{x:uo.centerX,y:uo.centerY}});var{5:N_,...B_}=ae.primitives;function I_(t){return typeof t=="object"}var O9=o({...ae,primitives:Object.values(B_).filter(I_)}),J9={...O9,primitives:[...O9.primitives,N_]};var Xt=m({primitives:[{type:"path",points:[{x:-.2,y:0},{x:0,y:0}],color:"primary",fill:!1},{type:"path",points:Array.from({length:32},(t,i)=>{let r=Math.PI/2-i*Math.PI/31,p=.1;return{x:.1-p*Math.cos(r),y:p*Math.sin(r)}}),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}});var M9=o(Xt,"down"),$9=M9.primitives.find(t=>t.type==="text"&&t.text==="{REF}");$9&&($9.anchor="middle_top");var C9=M9;var W9=o(Xt,"left");var B9=o(Xt,"up"),N9=B9.primitives.find(t=>t.type==="text"&&t.text==="{REF}");N9&&(N9.anchor="middle_bottom");var I9=B9;var D9={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:{}};var Ht=e(D9).labelPort("right1",["1"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Ra=o(Ht,"up"),Ta=Ra.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ea=Ra.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ta.anchor="middle_bottom";Ea.anchor="middle_top";Ta.x=.4;Ta.y+=.2;Ea.y-=.3;Ea.x=.4;var vo=Ra;var Ya=V(vo),Va=Ya.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Xa=Ya.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Va.anchor="middle_bottom";Xa.anchor="middle_top";Va.x=.35;Va.y+=.4;Xa.y-=.4;Xa.x=.35;var q9=Ya;var La=o(Ht,"left"),za=La.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ka=La.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");za.anchor="middle_bottom";ka.anchor="middle_top";za.x=0;za.y+=.5;ka.y-=.6;ka.x=0;var G9=La;var ja={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}}};var{paths:PM,texts:FM,bounds:RM,refblocks:TM,circles:EM}=ja,wo=e(ja).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("bottom1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var H9=o(wo),U9=H9.primitives.filter(t=>t.type==="text"),G_=U9.find(t=>t.text==="{REF}"),H_=U9.find(t=>t.text==="{VAL}");G_.y=0;H_.y=0;var Z9=H9;var K9={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:{minX:-.55,maxX:.55,minY:-.27,maxY:.27,width:1.09,height:.55,centerX:0,centerY:0},circles:{}};var{paths:Z_,texts:Q9,bounds:So,refblocks:tc,circles:K_}=K9,Ao=m({primitives:[...Object.values(Z_),...Object.values(K_),{...Q9.top1,anchor:"middle_bottom"},{...Q9.bottom1,anchor:"middle_top"}],ports:[{...tc.left1,labels:["1"]},{...tc.right1,labels:["2"]}],size:{width:So.width,height:So.height},center:{x:So.centerX,y:So.centerY}});var Oa=o(Ao),Q_=Oa.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),t3=Oa.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Q_.anchor="middle_left";t3.anchor="middle_right";var ec=Oa;var oc={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:{minX:-.37,maxX:.37,minY:-.42,maxY:.42,width:.74,height:.85,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.08,y:.01,radius:.29,color:"primary",fill:!1}}};var{paths:o3,texts:rc,bounds:Po,refblocks:Ja,circles:r3}=oc,Fo=m({primitives:[...Object.values(o3),...Object.values(r3),{...rc.top1,anchor:"middle_left"},{...rc.bottom1,anchor:"middle_right"}],ports:[{...Ja.top1,labels:["1"]},{...Ja.bottom1,labels:["2"]},{...Ja.left1,labels:["3"]}],size:{width:Po.width,height:Po.height},center:{x:Po.centerX,y:Po.centerY}});var ic=o(Fo),lc=ic.primitives.filter(t=>t.type==="text"),i3=lc.find(t=>t.text==="{REF}");i3.y=.1;var ac=lc.find(t=>t.text==="{VAL}");ac.y=.1;ac.x=-.4;var pc=ic;var yc={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}};var sc=e(yc).changeTextAnchor("{REF}","middle_bottom").build();var mc={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:{minX:-.53,maxX:.53,minY:0,maxY:0,width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}};var{paths:p3,texts:$a,bounds:Ro,refblocks:nc,circles:y3}=mc,To=m({primitives:[...Object.values(p3),...Object.values(y3),{...$a.top1,x:0,y:-.3594553499999995,anchor:"middle_top"},{...$a.bottom1,x:0,y:.35,anchor:"middle_bottom"},{...$a.left1,x:-.02,y:.01,fontSize:.2,anchor:"center"}],ports:[{...nc.left1,labels:["1"]},{...nc.right1,labels:["2"]}],size:{width:Ro.width,height:Ro.height},center:{x:Ro.centerX,y:Ro.centerY}});var xc=o(To);var fc={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:{minX:-.55,maxX:.55,minY:-.27,maxY:.27,width:1.09,height:.55,centerX:0,centerY:0},circles:{}};var{paths:m3,texts:cc,bounds:Eo,refblocks:hc,circles:n3}=fc,Yo=m({primitives:[...Object.values(m3),...Object.values(n3),{...cc.top1,anchor:"middle_bottom"},{...cc.bottom1,anchor:"middle_top"}],ports:[{...hc.left1,labels:["1"]},{...hc.right1,labels:["2"]}],size:{width:Eo.width,height:Eo.height},center:{x:Eo.centerX,y:Eo.centerY}});var Ma=o(Yo),x3=Ma.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),f3=Ma.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");x3.anchor="middle_left";f3.anchor="middle_right";var dc=Ma;var _c={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:{minX:-.57,maxX:.57,minY:-.25,maxY:.25,width:1.13,height:.5,centerX:0,centerY:0},circles:{}};var{paths:h3,texts:bc,bounds:Vo,refblocks:gc}=_c,Xo=m({primitives:[...Object.values(h3),{...bc.top1,anchor:"middle_left"},{...bc.bottom1,anchor:"middle_right"}],ports:[{...gc.left1,labels:["1","-"]},{...gc.right1,labels:["2","+"]}],size:{width:Vo.width,height:Vo.height},center:{x:Vo.centerX,y:Vo.centerY}});var uc=o(Xo);var vc={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:0,y:-.02}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{minX:-.53,maxX:.53,minY:0,maxY:0,width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}};var{paths:_3,texts:b3,bounds:Lo,refblocks:wc,circles:g3}=vc,pe=m({primitives:[...Object.values(_3),...Object.values(g3),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...b3.left1,anchor:"center",y:.02,fontSize:.2}],ports:[{...wc.left1,labels:["1"]},{...wc.right1,labels:["2"]}],size:{width:Lo.width,height:Lo.height},center:{x:Lo.centerX,y:Lo.centerY}});var{5:u3,...v3}=pe.primitives;function w3(t){return typeof t=="object"}var Sc=o({...pe,primitives:Object.values(v3).filter(w3)}),Ac={...Sc,primitives:[...Sc.primitives,u3]};var Lt={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 G(t,i){let{width:r,height:p}=t.size,y=1,a=1;i.width!==void 0&&i.height!==void 0?(y=i.width/r,a=i.height/p):i.width!==void 0?y=a=i.width/r:i.height!==void 0&&(y=a=i.height/p);let f=t.primitives.map(x=>{switch(x.type){case"path":return{...x,points:x.points.map(d=>({x:d.x*y,y:d.y*a}))};case"text":return{...x,x:x.x*y,y:x.y*a,fontSize:x.fontSize?x.fontSize*y:void 0};case"circle":return{...x,x:x.x*y,y:x.y*a,radius:x.radius*y};case"box":return{...x,x:x.x*y,y:x.y*a,width:x.width*y,height:x.height*a};default:return x}});return{...t,primitives:f,center:{x:t.center.x*y,y:t.center.y*a},ports:t.ports.map(x=>({...x,x:x.x*y,y:x.y*a})),size:{width:r*y,height:p*a}}}var A3=e(Lt).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build(),Pc=G(A3,{width:.24,height:.23});var P3=e(Lt).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build(),Fc=G(P3,{width:.23,height:.24});var F3=e(Lt).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build(),Rc=G(F3,{width:.23,height:.24});var R3=e(Lt).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build(),Tc=G(R3,{width:.24,height:.23});var ye={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}}};var{paths:qC,texts:GC,bounds:HC,circles:UC,refblocks:ZC}=ye,Ec=e(ye).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:E3,texts:eW,bounds:Yc,circles:Y3,refblocks:Vc}=ye,V3=e({primitives:[...Object.values(E3),...Object.values(Y3),{type:"text",text:"{REF}",x:-.2,y:.35},{type:"text",text:"{VAL}",x:.2,y:.35}],ports:[{...Vc.left1,labels:["left1"]},{...Vc.right1,labels:["right1"]}],center:{x:Yc.centerX,y:Yc.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),Xc=V3;var Lc={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:"Wh",x:0,y:-.02}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{minX:-.53,maxX:.53,minY:0,maxY:0,width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}};var{paths:L3,texts:z3,bounds:zo,refblocks:zc,circles:k3}=Lc,se=m({primitives:[...Object.values(L3),...Object.values(k3),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...z3.left1,anchor:"center",y:.01,fontSize:.2}],ports:[{...zc.left1,labels:["1"]},{...zc.right1,labels:["2"]}],size:{width:zo.width,height:zo.height},center:{x:zo.centerX,y:zo.centerY}});var{5:j3,...O3}=se.primitives;function J3(t){return typeof t=="object"}var kc=o({...se,primitives:Object.values(O3).filter(J3)}),jc={...kc,primitives:[...kc.primitives,j3]};var Oc={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:"W",x:0,y:-.02}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{minX:-.53,maxX:.53,minY:0,maxY:0,width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}};var{paths:M3,texts:C3,bounds:ko,refblocks:Jc,circles:W3}=Oc,me=m({primitives:[...Object.values(M3),...Object.values(W3),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...C3.left1,anchor:"center",y:.01,fontSize:.3}],ports:[{...Jc.left1,labels:["1"]},{...Jc.right1,labels:["2"]}],size:{width:ko.width,height:ko.height},center:{x:ko.centerX,y:ko.centerY}});var{5:N3,...B3}=me.primitives;function I3(t){return typeof t=="object"}var $c=o({...me,primitives:Object.values(B3).filter(I3)}),Mc={...$c,primitives:[...$c.primitives,N3]};var jo={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:{}};var Cc=e(jo).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:q3,bounds:Oo,refblocks:Wc,circles:G3}=jo,Nc=e({primitives:[...Object.values(q3),...Object.values(G3),{type:"text",text:"{REF}",x:.15,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2294553499999995}],ports:[{...Wc.left1,labels:["1"]},{...Wc.right1,labels:["2"]}],size:{width:Oo.width,height:Oo.height},center:{x:Oo.centerX,y:Oo.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Bc={ac_voltmeter_down:Da,ac_voltmeter_horz:Ga,ac_voltmeter_left:Ua,ac_voltmeter_right:Ka,ac_voltmeter_up:tp,ac_voltmeter_vert:op,avalanche_diode_down:ip,avalanche_diode_horz:lp,avalanche_diode_left:pp,avalanche_diode_right:yp,avalanche_diode_up:mp,avalanche_diode_vert:xp,backward_diode_down:cp,backward_diode_left:Pe,backward_diode_right:_p,backward_diode_up:bp,battery_down:vp,battery_horz:Te,battery_left:Fp,battery_right:Ep,battery_up:Xp,battery_vert:Lp,boxresistor_down:jp,boxresistor_left:$p,boxresistor_right:Wp,boxresistor_sm_down:Np,boxresistor_sm_left:Bp,boxresistor_sm_right:Ip,boxresistor_sm_up:Dp,boxresistor_small_down:Gp,boxresistor_small_left:Up,boxresistor_small_right:Kp,boxresistor_small_up:ty,boxresistor_up:ry,boxresistor_xs_down:iy,boxresistor_xs_left:ly,boxresistor_xs_right:ay,boxresistor_xs_up:py,bridged_ground_down:my,bridged_ground_left:fy,bridged_ground_right:Le,bridged_ground_up:dy,capacitor_down:by,capacitor_left:gy,capacitor_polarized_down:uy,capacitor_polarized_left:vy,capacitor_polarized_right:wy,capacitor_polarized_up:Sy,capacitor_right:Ay,capacitor_sm_down:Py,capacitor_sm_left:Fy,capacitor_sm_right:Ry,capacitor_sm_up:Ty,capacitor_up:Yy,capacitor_xs_down:Vy,capacitor_xs_left:Xy,capacitor_xs_right:Ly,capacitor_xs_up:zy,constant_current_diode_down:jy,constant_current_diode_horz:Oy,constant_current_diode_left:$y,constant_current_diode_right:My,constant_current_diode_up:Wy,constant_current_diode_vert:By,crystal_4pin_down:Iy,crystal_4pin_left:Dy,crystal_4pin_right:qy,crystal_4pin_up:Gy,crystal_down:Uy,crystal_left:Zy,crystal_right:Ky,crystal_up:ts,current_source_down:es,current_source_left:os,current_source_right:rs,current_source_up:is,darlington_pair_transistor_down:ls,darlington_pair_transistor_horz:as,darlington_pair_transistor_left:ps,darlington_pair_transistor_right:ys,darlington_pair_transistor_up:ss,darlington_pair_transistor_vert:ms,dc_ammeter_down:te,dc_ammeter_horz:B,dc_ammeter_left:cs,dc_ammeter_right:hs,dc_ammeter_up:ds,dc_ammeter_vert:te,dc_voltmeter_down:bs,dc_voltmeter_horz:us,dc_voltmeter_left:ws,dc_voltmeter_right:As,dc_voltmeter_up:Fs,dc_voltmeter_vert:Ts,diac_down:Es,diac_horz:Ys,diac_left:Vs,diac_right:Xs,diac_up:Ls,diac_vert:zs,digital_ground_down:js,digital_ground_left:Js,digital_ground_right:Ms,digital_ground_up:Ws,diode_down:Bs,diode_left:Is,diode_right:yt,diode_up:Ds,dpdt_normally_closed_switch_down:Gs,dpdt_normally_closed_switch_left:Hs,dpdt_normally_closed_switch_right:st,dpdt_normally_closed_switch_up:Us,dpdt_switch_down:Ks,dpdt_switch_left:Qs,dpdt_switch_right:mt,dpdt_switch_up:tm,dpst_normally_closed_switch_down:om,dpst_normally_closed_switch_left:rm,dpst_normally_closed_switch_right:nt,dpst_normally_closed_switch_up:im,dpst_switch_down:am,dpst_switch_left:pm,dpst_switch_right:xt,dpst_switch_up:ym,ferrite_bead_down:mm,ferrite_bead_left:nm,ferrite_bead_right:o0,ferrite_bead_up:e0,filled_diode_down:fm,filled_diode_horz:hm,filled_diode_left:_m,filled_diode_right:gm,filled_diode_up:vm,filled_diode_vert:Sm,frequency_meter_horz:ee,frequency_meter_vert:Rm,fuse_horz:n0,fuse_vert:Ym,ground_down:Vm,ground_horz:Xm,ground_left:Lm,ground_right:zm,ground_up:km,ground_vert:jm,gunn_diode_horz:Om,gunn_diode_vert:Jm,icled_down:Mm,icled_left:Cm,icled_right:ft,icled_up:Wm,igbt_transistor_horz:x0,igbt_transistor_vert:Im,illuminated_push_button_normally_open_horz:f0,illuminated_push_button_normally_open_vert:Hm,inductor_down:Um,inductor_left:Zm,inductor_right:Km,inductor_up:Qm,laser_diode_down:tn,laser_diode_left:en,laser_diode_right:ht,laser_diode_up:on,led_down:pn,led_left:yn,led_right:Jt,led_up:h0,light_dependent_resistor_horz:_0,light_dependent_resistor_vert:cn,mosfet_depletion_normally_on_horz:b0,mosfet_depletion_normally_on_vert:un,mushroom_head_normally_open_momentary_horz:u0,mushroom_head_normally_open_momentary_vert:An,n_channel_d_mosfet_transistor_gate_bottom_drain_left:Vn,n_channel_d_mosfet_transistor_gate_bottom_drain_right:Xn,n_channel_d_mosfet_transistor_gate_left_drain_bottom:Ln,n_channel_d_mosfet_transistor_gate_left_drain_top:zn,n_channel_d_mosfet_transistor_gate_right_drain_bottom:kn,n_channel_d_mosfet_transistor_gate_right_drain_top:jn,n_channel_d_mosfet_transistor_gate_top_drain_left:On,n_channel_d_mosfet_transistor_gate_top_drain_right:Jn,n_channel_d_mosfet_transistor_horz:g,n_channel_d_mosfet_transistor_vert:A,n_channel_e_mosfet_transistor_gate_bottom_drain_left:In,n_channel_e_mosfet_transistor_gate_bottom_drain_right:Dn,n_channel_e_mosfet_transistor_gate_left_drain_bottom:qn,n_channel_e_mosfet_transistor_gate_left_drain_top:Gn,n_channel_e_mosfet_transistor_gate_right_drain_bottom:Hn,n_channel_e_mosfet_transistor_gate_right_drain_top:Un,n_channel_e_mosfet_transistor_gate_top_drain_left:Zn,n_channel_e_mosfet_transistor_gate_top_drain_right:Kn,n_channel_e_mosfet_transistor_horz:u,n_channel_e_mosfet_transistor_vert:P,njfet_transistor_horz:S0,njfet_transistor_vert:rx,not_connected_down:ax,not_connected_left:px,not_connected_right:dt,not_connected_up:yx,npn_bipolar_transistor_down:sx,npn_bipolar_transistor_horz:mx,npn_bipolar_transistor_left:nx,npn_bipolar_transistor_right:xx,npn_bipolar_transistor_up:fx,npn_bipolar_transistor_vert:cx,opamp_no_power_down:dx,opamp_no_power_left:_x,opamp_no_power_right:_t,opamp_no_power_up:bx,opamp_with_power_down:ux,opamp_with_power_left:vx,opamp_with_power_right:bt,opamp_with_power_up:wx,p_channel_d_mosfet_transistor_gate_bottom_drain_left:Ex,p_channel_d_mosfet_transistor_gate_bottom_drain_right:Yx,p_channel_d_mosfet_transistor_gate_left_drain_bottom:Vx,p_channel_d_mosfet_transistor_gate_left_drain_top:Xx,p_channel_d_mosfet_transistor_gate_right_drain_bottom:Lx,p_channel_d_mosfet_transistor_gate_right_drain_top:zx,p_channel_d_mosfet_transistor_gate_top_drain_left:kx,p_channel_d_mosfet_transistor_gate_top_drain_right:jx,p_channel_d_mosfet_transistor_horz:v,p_channel_d_mosfet_transistor_vert:F,p_channel_e_mosfet_transistor_gate_bottom_drain_left:Nx,p_channel_e_mosfet_transistor_gate_bottom_drain_right:Bx,p_channel_e_mosfet_transistor_gate_left_drain_bottom:Ix,p_channel_e_mosfet_transistor_gate_left_drain_top:Dx,p_channel_e_mosfet_transistor_gate_right_drain_bottom:qx,p_channel_e_mosfet_transistor_gate_right_drain_top:Gx,p_channel_e_mosfet_transistor_gate_top_drain_left:Hx,p_channel_e_mosfet_transistor_gate_top_drain_right:Ux,p_channel_e_mosfet_transistor_horz:w,p_channel_e_mosfet_transistor_vert:R,photodiode_horz:Y0,photodiode_vert:t1,pjfet_transistor_horz:X0,pjfet_transistor_vert:l1,pnp_bipolar_transistor_down:a1,pnp_bipolar_transistor_horz:p1,pnp_bipolar_transistor_left:y1,pnp_bipolar_transistor_right:s1,pnp_bipolar_transistor_up:m1,pnp_bipolar_transistor_vert:n1,potentiometer_horz:$0,potentiometer_vert:h1,potentiometer2_down:g1,potentiometer2_left:u1,potentiometer2_right:gt,potentiometer2_up:v1,potentiometer3_down:w1,potentiometer3_left:S1,potentiometer3_right:A1,potentiometer3_up:P1,power_factor_meter_horz:I0,power_factor_meter_vert:E1,push_button_normally_closed_momentary_horz:D0,push_button_normally_closed_momentary_vert:z1,push_button_normally_open_momentary_down:j1,push_button_normally_open_momentary_horz:J1,push_button_normally_open_momentary_left:$1,push_button_normally_open_momentary_right:D,push_button_normally_open_momentary_up:M1,push_button_normally_open_momentary_vert:C1,rail_down:N1,rail_left:I1,rail_right:q1,rail_up:H1,rectifier_diode_horz:U0,rectifier_diode_vert:K1,resistor_down:tf,resistor_left:of,resistor_right:lf,resistor_sm_down:af,resistor_sm_left:pf,resistor_sm_right:yf,resistor_sm_up:sf,resistor_up:nf,resistor_xs_down:xf,resistor_xs_left:ff,resistor_xs_right:cf,resistor_xs_up:hf,resonator_down:_f,resonator_horz:io,resonator_left:bf,resonator_right:Pt,resonator_up:gf,resonator_vert:uf,schottky_diode_down:wf,schottky_diode_left:Sf,schottky_diode_right:Ft,schottky_diode_up:Af,silicon_controlled_rectifier_horz:lo,silicon_controlled_rectifier_vert:Rf,solderjumper2_bridged12_down:Tf,solderjumper2_bridged12_left:Yf,solderjumper2_bridged12_right:Nt,solderjumper2_bridged12_up:Xf,solderjumper2_down:Lf,solderjumper2_left:kf,solderjumper2_right:Bt,solderjumper2_up:Of,solderjumper3_bridged12_down:Jf,solderjumper3_bridged12_left:Mf,solderjumper3_bridged12_right:It,solderjumper3_bridged12_up:Wf,solderjumper3_bridged123_down:Nf,solderjumper3_bridged123_left:If,solderjumper3_bridged123_right:Dt,solderjumper3_bridged123_up:qf,solderjumper3_bridged23_down:Gf,solderjumper3_bridged23_left:Uf,solderjumper3_bridged23_right:qt,solderjumper3_bridged23_up:Kf,solderjumper3_down:Qf,solderjumper3_left:e9,solderjumper3_right:Gt,solderjumper3_up:r9,spdt_normally_closed_switch_down:l9,spdt_normally_closed_switch_left:a9,spdt_normally_closed_switch_right:Rt,spdt_normally_closed_switch_up:p9,spdt_switch_down:s9,spdt_switch_left:m9,spdt_switch_right:Tt,spdt_switch_up:n9,speaker_down:f9,speaker_horz:h9,speaker_left:_9,speaker_right:g9,speaker_up:v9,speaker_vert:S9,spst_normally_closed_switch_down:A9,spst_normally_closed_switch_left:P9,spst_normally_closed_switch_right:Et,spst_normally_closed_switch_up:F9,spst_switch_down:R9,spst_switch_left:T9,spst_switch_right:Yt,spst_switch_up:E9,square_wave_down:Y9,square_wave_left:V9,square_wave_right:X9,square_wave_up:L9,step_recovery_diode_horz:go,step_recovery_diode_vert:z9,tachometer_horz:ae,tachometer_vert:J9,testpoint_down:C9,testpoint_left:W9,testpoint_right:Xt,testpoint_up:I9,tilted_ground_down:q9,tilted_ground_left:G9,tilted_ground_right:Ht,tilted_ground_up:vo,triac_horz:wo,triac_vert:Z9,tunnel_diode_horz:Ao,tunnel_diode_vert:ec,unijunction_transistor_horz:Fo,unijunction_transistor_vert:pc,usbc:sc,var_meter_horz:To,var_meter_vert:xc,varactor_diode_horz:Yo,varactor_diode_vert:dc,varistor_horz:Xo,varistor_vert:uc,varmeter_horz:pe,varmeter_vert:Ac,vcc_down:Pc,vcc_left:Fc,vcc_right:Rc,vcc_up:Tc,volt_meter_horz:Ec,volt_meter_vert:Xc,watt_hour_meter_horz:se,watt_hour_meter_vert:jc,wattmeter_horz:me,wattmeter_vert:Mc,zener_diode_horz:Cc,zener_diode_vert:Nc};var T=(t,i=!0)=>i?-t:t;var kt=t=>{switch(t){case"primary":return"black";case"secondary":return"gray";default:return t}};function Ic(t,{closed:i=!1,yUpPositive:r=!0}){let p=t.map((y,a)=>`${a===0?"M":"L"}${y.x},${T(y.y,r)}`).join(" ");return i?`${p} Z`:p}function H3(t,i=.05,r=!0){let{x:p,y}=t,a=i/2;return`<path d="M ${p} ${T(y,r)-a} L ${p+a} ${T(y,r)} L ${p} ${T(y,r)+a} L ${p-a} ${T(y,r)} Z" fill="green" />`}function U3(t,{yUpPositive:i}){let{x:r,y:p,text:y,fontSize:a=.1,anchor:f}=t,x,d=0,l=0,s=a*.75;switch(f){case"top_left":x="start",l=a;break;case"top_right":x="end",l=a;break;case"bottom_left":x="start";break;case"bottom_right":x="end";break;case"center":x="middle",l=a/2;break;case"middle_top":x="middle",l=s;break;case"middle_bottom":x="middle";break;case"middle_left":x="start",l=s/2;break;case"middle_right":x="end",l=s/2;break}return{text:`<text x="${r}" y="${T(p,i)}" dx="${d}" dy="${l}" text-anchor="${x}" style="font: ${a??.1}px monospace; fill: ${kt("primary")}">${y}</text>`,anchor:`<rect x="${r-.025/2}" y="${T(p,i)-.025/2}" width="0.025" height="0.025" fill="blue" />`}}function Z3(t,{yUpPositive:i}){let{x:r,y:p,labels:y}=t,a=.05,f=.08,x=y[0]||"";return`
6
+ at `+f}return i};xe.buildMessage=function(t,i){var r={literal:function(l){return'"'+y(l.text)+'"'},class:function(l){var s=l.parts.map(function(h){return Array.isArray(h)?a(h[0])+"-"+a(h[1]):a(h)});return"["+(l.inverted?"^":"")+s.join("")+"]"},any:function(){return"any character"},end:function(){return"end of input"},other:function(l){return l.description}};function p(l){return l.charCodeAt(0).toString(16).toUpperCase()}function y(l){return l.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(s){return"\\x0"+p(s)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(s){return"\\x"+p(s)})}function a(l){return l.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(s){return"\\x0"+p(s)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(s){return"\\x"+p(s)})}function f(l){return r[l.type](l)}function x(l){var s=l.map(f),h,b;if(s.sort(),s.length>0){for(h=1,b=1;h<s.length;h++)s[h-1]!==s[h]&&(s[b]=s[h],b++);s.length=b}switch(s.length){case 1:return s[0];case 2:return s[0]+" or "+s[1];default:return s.slice(0,-1).join(", ")+", or "+s[s.length-1]}}function d(l){return l?'"'+y(l)+'"':"end of input"}return"Expected "+x(t)+" but "+d(i)+" found."};function S(t){if(t.length===0)return{minX:0,maxX:0,minY:0,maxY:0};let i=1/0,r=-1/0,p=1/0,y=-1/0,a=f=>{i=Math.min(i,f.x),r=Math.max(r,f.x),p=Math.min(p,f.y),y=Math.max(y,f.y)};return t.forEach(f=>{switch(f.type){case"path":f.points.forEach(a);break;case"text":a({x:f.x,y:f.y});break;case"circle":{let{x,y:d,radius:l}=f;a({x:x-l,y:d-l}),a({x:x+l,y:d+l});break}case"box":{let{x,y:d,width:l,height:s}=f,h=l/2,b=s/2;a({x:x-h,y:d-b}),a({x:x+h,y:d+b});break}}}),{minX:i,maxX:r,minY:p,maxY:y}}var oh=(t,i="right")=>{switch(i){case"down":switch(t){case"middle_top":return"middle_right";case"middle_bottom":return"middle_left";case"middle_left":return"middle_bottom";case"middle_right":return"middle_top"}break;case"up":switch(t){case"middle_top":return"middle_left";case"middle_bottom":return"middle_right";case"middle_left":return"middle_top";case"middle_right":return"middle_bottom"}break;case"left":switch(t){case"middle_top":return"middle_bottom";case"middle_bottom":return"middle_top";case"middle_left":return"middle_right";case"middle_right":return"middle_left"}break;case"right":return t}return t},V=(t,i)=>{let{primitives:r,center:p,ports:y,size:a}=t,f=H({a:1,b:0,c:0,d:-1,e:0,f:2*p.y}),x=r.map(l=>{switch(l={...l},l.type){case"path":return{...l,points:l.points.map(_=>E(f,_))};case"text":let s=E(f,{x:l.x,y:l.y}),h={top_left:"bottom_left",top_right:"bottom_right",bottom_left:"top_left",bottom_right:"top_right",center:"center",middle_top:"middle_bottom",middle_bottom:"middle_top",middle_left:"middle_left",middle_right:"middle_right"};return{...l,x:s.x,y:s.y,anchor:h[l.anchor]};case"circle":case"box":let b=E(f,{x:l.x,y:l.y});return{...l,x:b.x,y:b.y}}}),d=y.map(l=>({...l,...E(f,l)}));return{primitives:x,center:p,ports:d,size:a,...i}},X=(t,i)=>{let{primitives:r,center:p,ports:y,size:a}=t,f=H({a:-1,b:0,c:0,d:1,e:0,f:2*p.x}),x=r.map(l=>{switch(l={...l},l.type){case"path":return{...l,points:l.points.map(_=>E(f,_))};case"text":let s=E(f,{x:l.x,y:l.y}),h={top_left:"top_right",top_right:"top_left",bottom_left:"bottom_right",bottom_right:"bottom_left",center:"center",middle_top:"middle_top",middle_bottom:"middle_bottom",middle_left:"middle_right",middle_right:"middle_left"};return{...l,x:s.x,y:s.y,anchor:h[l.anchor]};case"circle":case"box":let b=E(f,{x:l.x,y:l.y});return{...l,x:b.x,y:b.y}}}),d=y.map(l=>({...l,...E(f,l)}));return{primitives:x,center:p,ports:d,size:a,...i}},q=(t,i)=>{let{newOrientation:r,overrides:p}=i,y={up:Math.PI/2,right:0,down:-Math.PI/2,left:-Math.PI},a=Jo(r?y[r]:Math.PI/2,t.center.x,t.center.y),{primitives:f,center:x,size:d,ports:l}=t,s=f.map(_=>{switch(_={..._},_.type){case"path":return{..._,points:_.points.map(Zc=>E(a,Zc))};case"text":let Na=E(a,{x:_.x,y:_.y});return _.anchor=oh(_.anchor,r??"right"),{..._,x:Na.x,y:Na.y};case"circle":let Ba=E(a,{x:_.x,y:_.y});return{..._,x:Ba.x,y:Ba.y};case"box":let Ia=E(a,{x:_.x,y:_.y});return{..._,x:Ia.x,y:Ia.y,width:_.height,height:_.width}}}),h=l.map(_=>({..._,...E(a,_)})),b=S(s);return{primitives:s,center:x,ports:h,size:{width:b.maxX-b.minX,height:b.maxY-b.minY},...p}},o=(t,i="down",r={})=>q(t,{newOrientation:i,overrides:r});var Mo=class{symbol;constructor(i){this.symbol=JSON.parse(JSON.stringify(i)),this.symbol.size=this.computeSize()}changeTextAnchor(i,r,p){return this.symbol={...this.symbol,primitives:this.symbol.primitives.map(y=>y.type==="text"&&y.text===i?{...y,anchor:r,...p?{x:y.x+p.x,y:y.y+p.y}:{}}:y)},this}labelPort(i,r){return this.symbol={...this.symbol,ports:this.symbol.ports.map(p=>p.labels.includes(i)?{...p,labels:r}:p)},this}rotateRightFacingSymbol(i){return this.symbol=q(this.symbol,{newOrientation:i}),this}computeSize(){let i=S(this.symbol.primitives);return{width:i.maxX-i.minX,height:i.maxY-i.minY}}build(){return{...this.symbol,size:this.computeSize()}}},e=t=>{let i=t.primitives??[...Object.values(t.paths??{}),...Object.values(t.texts??{}),...Object.values(t.circles??{}),...Object.values(t.rects??{})],r=t.ports??Object.entries(t.refblocks).flatMap(([y,a])=>[{...a,labels:[y]}]),p=t.center??{x:t.bounds.centerX,y:t.bounds.centerY};return r.length===2&&(p={x:(r[0].x+r[1].x)/2,y:(r[0].y+r[1].y)/2}),new Mo({...t,primitives:i,ports:r,center:p})};var L={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},path17:{type:"path",points:[{x:0,y:-.13},{x:.07,y:-.11}],color:"primary",fill:!1},path18:{type:"path",points:[{x:.07,y:-.11},{x:.14,y:-.13}],color:"primary",fill:!1},path19:{type:"path",points:[{x:-.15,y:-.13},{x:-.07,y:-.11}],color:"primary",fill:!1},path20:{type:"path",points:[{x:-.07,y:-.11},{x:0,y:-.13}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.17,y:.4},bottom1:{type:"text",text:"{VAL}",x:-.01,y:-.4}},refblocks:{left1:{x:-.54,y:.03},right1:{x:.54,y:.04}},bounds:{minX:-.57,maxX:.57,minY:-.4,maxY:.4,width:1.14,height:.79,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.04,radius:.29,color:"primary",fill:!1}}};var{paths:ih,texts:Jg,bounds:fe,refblocks:qa,circles:lh}=L,Ga=e({primitives:[...Object.values(ih),...Object.values(lh),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...qa.left1,labels:["1"]},{...qa.right1,labels:["2"]}],size:{width:fe.width,height:fe.height},center:{x:fe.centerX,y:fe.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:ah,texts:Wg,bounds:ce,refblocks:Ha,circles:ph}=L,Ua=e({primitives:[...Object.values(ah),...Object.values(ph),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...Ha.left1,labels:["1"]},{...Ha.right1,labels:["2"]}],size:{width:ce.width,height:ce.height},center:{x:ce.centerX,y:ce.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:yh,texts:Dg,bounds:he,refblocks:Za,circles:sh}=L,Ka=e({primitives:[...Object.values(yh),...Object.values(sh),{type:"text",text:"{REF}",x:-0,y:-.3094553499999995},{type:"text",text:"{VAL}",x:0,y:.4094553499999995}],ports:[{...Za.left1,labels:["1"]},{...Za.right1,labels:["2"]}],size:{width:he.width,height:he.height},center:{x:he.centerX,y:he.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:mh,texts:Ug,bounds:de,refblocks:Qa,circles:nh}=L,tp=e({primitives:[...Object.values(mh),...Object.values(nh),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...Qa.left1,labels:["1"]},{...Qa.right1,labels:["2"]}],size:{width:de.width,height:de.height},center:{x:de.centerX,y:de.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:xh,texts:t8,bounds:_e,refblocks:ep,circles:fh}=L,op=e({primitives:[...Object.values(xh),...Object.values(fh),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...ep.left1,labels:["1"]},{...ep.right1,labels:["2"]}],size:{width:_e.width,height:_e.height},center:{x:_e.centerX,y:_e.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:ch,texts:i8,bounds:be,refblocks:rp,circles:hh}=L,ip=e({primitives:[...Object.values(ch),...Object.values(hh),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...rp.left1,labels:["1"]},{...rp.right1,labels:["2"]}],size:{width:be.width,height:be.height},center:{x:be.centerX,y:be.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var z={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:.2}],color:"primary",fill:!1},"path43-8-3":{type:"path",points:[{x:.21,y:-.11},{x:.15,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:{}};var{paths:_h,texts:s8,bounds:ge,refblocks:lp,circles:bh}=z,ap=e({primitives:[...Object.values(_h),...Object.values(bh),{type:"text",text:"{REF}",x:-.15,y:.3294553499999995},{type:"text",text:"{VAL}",x:.15,y:.3294553499999995}],ports:[{...lp.left1,labels:["1"]},{...lp.right1,labels:["2"]}],size:{width:ge.width,height:ge.height},center:{x:ge.centerX,y:ge.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var pp=e(z).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:gh,texts:d8,bounds:ue,refblocks:yp,circles:uh}=z,sp=e({primitives:[...Object.values(gh),...Object.values(uh),{type:"text",text:"{REF}",x:-0,y:-.2294553499999995},{type:"text",text:"{VAL}",x:0,y:.3294553499999995}],ports:[{...yp.left1,labels:["1"]},{...yp.right1,labels:["2"]}],size:{width:ue.width,height:ue.height},center:{x:ue.centerX,y:ue.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var mp=e(z).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:vh,texts:S8,bounds:ve,refblocks:np,circles:wh}=z,xp=e({primitives:[...Object.values(vh),...Object.values(wh),{type:"text",text:"{REF}",x:.15,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2294553499999995}],ports:[{...np.left1,labels:["1"]},{...np.right1,labels:["2"]}],size:{width:ve.width,height:ve.height},center:{x:ve.centerX,y:ve.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Sh,texts:R8,bounds:we,refblocks:fp,circles:Ah}=z,cp=e({primitives:[...Object.values(Sh),...Object.values(Ah),{type:"text",text:"{REF}",x:.15,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2294553499999995}],ports:[{...fp.left1,labels:["1"]},{...fp.right1,labels:["2"]}],size:{width:we.width,height:we.height},center:{x:we.centerX,y:we.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var U={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:.14,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:.18,y:.18},{x:.11,y:.18}],color:"primary",fill:!1},"path43-8-8":{type:"path",points:[{x:.18,y:-.09},{x:.11,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:{}};var{paths:Fh,texts:X8,bounds:Se,refblocks:hp,circles:Rh}=U,dp=e({primitives:[...Object.values(Fh),...Object.values(Rh),{type:"text",text:"{REF}",x:-.16,y:.2294553499999995},{type:"text",text:"{VAL}",x:.16,y:.2294553499999995}],ports:[{...hp.left1,labels:["1"]},{...hp.right1,labels:["2"]}],size:{width:Se.width,height:Se.height},center:{x:Se.centerX,y:Se.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var{paths:Th,texts:j8,bounds:Ae,refblocks:_p,circles:Eh}=U,Pe=e({primitives:[...Object.values(Th),...Object.values(Eh),{type:"text",text:"{REF}",x:-1118e-7,y:-.18},{type:"text",text:"{VAL}",x:1118e-7,y:.2738453}],ports:[{..._p.left1,labels:["1"]},{..._p.right1,labels:["2"]}],size:{width:Ae.width,height:Ae.height},center:{x:Ae.centerX,y:Ae.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["2"]).labelPort("right1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Yh,texts:M8,bounds:Fe,refblocks:bp,circles:Vh}=U,gp=e({primitives:[...Object.values(Yh),...Object.values(Vh),{type:"text",text:"{REF}",x:-.0050250999999996715,y:.27384529999999985,anchor:"middle_left"},{type:"text",text:"{VAL}",x:-.00011179999999999524,y:-.27384530000000007,anchor:"middle_left"}],ports:[{...bp.left1,labels:["1"]},{...bp.right1,labels:["2"]}],size:{width:Fe.width,height:Fe.height},center:{x:Fe.centerX,y:Fe.centerY}}).changeTextAnchor("{VAL}","middle_top").labelPort("right1",["2"]).labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:I8,texts:D8,bounds:q8,refblocks:G8,circles:H8}=U,Co=o(Pe,"down"),Wo=Co.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),No=Co.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Wo.anchor="middle_left";No.anchor="middle_left";Wo.x=.25;Wo.y+=.21;No.y-=.21;No.x=.25;var up=Co;var N={paths:{path43:{type:"path",points:[{x:-.06,y:.19},{x:-.06,y:-.12}],color:"primary",fill:!1},"path43-6":{type:"path",points:[{x:.02,y:.13},{x:.02,y:-.06}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.06,y:.03},{x:-.5,y:.03}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.5,y:.03},{x:.03,y:.03}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.03,y:.27},bottom1:{type:"text",text:"{VAL}",x:-.03,y:-.28}},refblocks:{left1:{x:-.5,y:.03},right1:{x:.5,y:.03}},bounds:{minX:-.5,maxX:.5,minY:-.38,maxY:.27,width:1,height:.29,centerX:0,centerY:.06},circles:{}};var{paths:Lh,bounds:vp,refblocks:wp,circles:zh}=N,kh=e({primitives:[...Object.values(Lh),...Object.values(zh),{type:"text",text:"{REF}",x:-.2,y:.31},{type:"text",text:"{VAL}",x:.2,y:.31}],ports:[{...wp.left1,labels:["1"]},{...wp.right1,labels:["2"]}],center:{x:vp.centerX,y:vp.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_left").build(),Sp={...kh,size:{width:1,height:.9}};function m(t){let i=t.size;if(!i){let r=S(t.primitives);i={width:r.maxX-r.minX,height:r.maxY-r.minY}}return{...t,size:i}}var{paths:jh,texts:Ap,bounds:Re,refblocks:Pp,circles:Oh}=N,Te=m({primitives:[...Object.values(jh),...Object.values(Oh),{...Ap.top1,anchor:"middle_bottom"},{...Ap.bottom1,anchor:"middle_top"}],ports:[{...Pp.left1,labels:["1"]},{...Pp.right1,labels:["2"]}],size:{width:Re.width,height:Re.height},center:{x:Re.centerX,y:Re.centerY}});var{paths:Jh,bounds:Fp,refblocks:Rp,circles:$h}=N,Mh=e({primitives:[...Object.values(Jh),...Object.values($h),{type:"text",text:"{REF}",x:0,y:-.22},{type:"text",text:"{VAL}",x:0,y:.28}],ports:[{...Rp.left1,labels:["1"]},{...Rp.right1,labels:["2"]}],center:{x:Fp.centerX,y:Fp.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_bottom").build(),Tp={...Mh,size:{width:1,height:.65}};var{paths:Ch,bounds:Ep,refblocks:Yp,circles:Wh}=N,Nh=e({primitives:[...Object.values(Ch),...Object.values(Wh),{type:"text",text:"{REF}",x:0,y:.28},{type:"text",text:"{VAL}",x:0,y:-.22}],ports:[{...Yp.left1,labels:["1"]},{...Yp.right1,labels:["2"]}],center:{x:Ep.centerX,y:Ep.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").changeTextAnchor("{REF}","middle_bottom").build(),Vp={...Nh,size:{width:1,height:.65}};var{paths:Bh,bounds:Xp,refblocks:Lp,circles:Ih}=N,Dh=e({primitives:[...Object.values(Bh),...Object.values(Ih),{type:"text",text:"{REF}",x:.2,y:-.25},{type:"text",text:"{VAL}",x:-.2,y:-.25}],ports:[{...Lp.left1,labels:["1"]},{...Lp.right1,labels:["2"]}],center:{x:Xp.centerX,y:Xp.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_left").build(),zp={...Dh,size:{width:1,height:.9}};var kp=q(Te,{newOrientation:"up"});var Z={paths:{path1:{type:"path",points:[{x:-.3,y:0},{x:-.19998,y:0}],color:"primary",fill:!1,strokeWidth:.012},path2:{type:"path",points:[{x:.19998,y:0},{x:.3,y:0}],color:"primary",fill:!1,strokeWidth:.012},path3:{type:"path",points:[{x:-.19998,y:.07998},{x:.19998,y:.07998},{x:.19998,y:-.07998},{x:-.19998,y:-.07998},{x:-.19998,y:.07998}],color:"primary",fill:!1,strokeWidth:.012}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.3,anchor:"middle_bottom"},bottom1:{type:"text",text:"{VAL}",x:0,y:-.45,anchor:"middle_bottom"}},refblocks:{left1:{x:-.3,y:0},right1:{x:.3,y:0}},bounds:{minX:-.3,maxX:.3,minY:-.45,maxY:.3,width:.6,height:.75,centerX:0,centerY:0},circles:{}};var{paths:Gh,texts:v7,bounds:jp,refblocks:Op,circles:Hh}=Z,Uh=e({primitives:[...Object.values(Gh),...Object.values(Hh),{type:"text",text:"{REF}",x:-.16,y:.16},{type:"text",text:"{VAL}",x:.16,y:.16}],ports:[{...Op.left1,labels:["1"]},{...Op.right1,labels:["2"]}],center:{x:jp.centerX,y:jp.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build(),Jp={...Uh,size:{width:.9,height:.6}};var{paths:Zh,texts:P7,bounds:$p,refblocks:Mp,circles:Kh}=Z,Qh=e({primitives:[...Object.values(Zh),...Object.values(Kh),{type:"text",text:"{REF}",x:0,y:-.16},{type:"text",text:"{VAL}",x:0,y:.16}],ports:[{...Mp.left1,labels:["1"]},{...Mp.right1,labels:["2"]}],center:{x:$p.centerX,y:$p.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),Cp={...Qh,size:{width:.6,height:.65}};var{paths:t2,texts:E7,bounds:Wp,refblocks:Np,circles:e2}=Z,o2=e({primitives:[...Object.values(t2),...Object.values(e2),{type:"text",text:"{REF}",x:0,y:.16},{type:"text",text:"{VAL}",x:0,y:-.16}],ports:[{...Np.left1,labels:["1"]},{...Np.right1,labels:["2"]}],center:{x:Wp.centerX,y:Wp.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),Bp={...o2,size:{width:.6,height:.65}};var K={paths:{"left-lead":{type:"path",points:[{x:-.25,y:0},{x:-.175,y:0}],color:"primary",fill:!1,strokeWidth:.012},body:{type:"path",points:[{x:-.175,y:.075},{x:.175,y:.075},{x:.175,y:-.075},{x:-.175,y:-.075},{x:-.175,y:.075}],color:"primary",fill:!1,strokeWidth:.012},"right-lead":{type:"path",points:[{x:.175,y:0},{x:.25,y:0}],color:"primary",fill:!1,strokeWidth:.012}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.25,anchor:"middle_bottom"},bottom1:{type:"text",text:"{VAL}",x:0,y:-.25,anchor:"middle_top"}},refblocks:{left1:{x:-.25,y:0},right1:{x:.25,y:0}},bounds:{minX:-.25,maxX:.25,minY:-.25,maxY:.25,width:.5,height:.5,centerX:0,centerY:0},circles:{}};var i2={boxresistor:{horizontalOffset:.16,horizontalHeight:.65,verticalX:.16,verticalRefY:.16,verticalValY:-.16,verticalWidth:.9},capacitor:{horizontalOffset:.24,horizontalHeight:.65,verticalX:.2,verticalRefY:.095,verticalValY:-.095,verticalWidth:.9},resistor:{horizontalOffset:.22,horizontalHeight:.65,verticalX:.2,verticalRefY:.14,verticalValY:-.14,verticalWidth:.9}},c=(t,{kind:i,orientation:r,pin1Labels:p=["1"],pin2Labels:y=["2"]})=>{let a=i2[i],f=e({...t,texts:{}}).rotateRightFacingSymbol(r).labelPort("left1",p).labelPort("right1",y).build(),x=r==="right"||r==="left",d=x?[{type:"text",text:"{REF}",x:0,y:a.horizontalOffset,anchor:"middle_bottom"},{type:"text",text:"{VAL}",x:0,y:-a.horizontalOffset,anchor:"middle_top"}]:[{type:"text",text:"{REF}",x:a.verticalX,y:a.verticalRefY,anchor:"middle_left"},{type:"text",text:"{VAL}",x:a.verticalX,y:a.verticalValY,anchor:"middle_left"}],[l,s]=f.ports,h=Math.hypot(s.x-l.x,s.y-l.y);return{...f,primitives:[...f.primitives,...d],size:x?{width:h,height:a.horizontalHeight}:{width:a.verticalWidth,height:h}}};var Ip=c(K,{kind:"boxresistor",orientation:"down"});var Dp=c(K,{kind:"boxresistor",orientation:"left"});var qp=c(K,{kind:"boxresistor",orientation:"right"});var Gp=c(K,{kind:"boxresistor",orientation:"up"});var Q={paths:{path2:{type:"path",points:[{x:.15,y:-.01},{x:.55,y:-.01}],color:"primary",fill:!0},"path2-5":{type:"path",points:[{x:-.15,y:.06},{x:.14,y:.06}],color:"primary",fill:!0},"path2-5-1":{type:"path",points:[{x:.14,y:.06},{x:.14,y:-.08}],color:"primary",fill:!0},"path2-5-1-6":{type:"path",points:[{x:-.16,y:.06},{x:-.16,y:-.08}],color:"primary",fill:!0},"path2-5-4":{type:"path",points:[{x:-.15,y:-.08},{x:.14,y:-.08}],color:"primary",fill:!0},"path2-9":{type:"path",points:[{x:-.55,y:-.01},{x:-.17,y:-.01}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.17},bottom1:{type:"text",text:"{VAL}",x:0,y:-.17}},refblocks:{left1:{x:-.55,y:-.01},right1:{x:.55,y:-.01}},bounds:{minX:-.58,maxX:.58,minY:-.17,maxY:.17,width:1.16,height:.35,centerX:0,centerY:0},circles:{}};var{paths:a2,texts:H7,bounds:Ee,refblocks:Hp,circles:p2}=Q,Up=e({primitives:[...Object.values(a2),...Object.values(p2),{type:"text",text:"{REF}",x:-.2,y:.1404553499999995},{type:"text",text:"{VAL}",x:.2,y:.1494553499999995}],ports:[{...Hp.left1,labels:["1"]},{...Hp.right1,labels:["2"]}],size:{width:Ee.width,height:Ee.height},center:{x:Ee.centerX,y:Ee.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:y2,texts:Q7,bounds:Ye,refblocks:Zp,circles:s2}=Q,Kp=e({primitives:[...Object.values(y2),...Object.values(s2),{type:"text",text:"{REF}",x:0,y:-.2294553499999995},{type:"text",text:"{VAL}",x:0,y:.1704553499999995}],ports:[{...Zp.left1,labels:["1"]},{...Zp.right1,labels:["2"]}],size:{width:Ye.width,height:Ye.height},center:{x:Ye.centerX,y:Ye.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:m2,texts:ru,bounds:Ve,refblocks:Qp,circles:n2}=Q,ty=e({primitives:[...Object.values(m2),...Object.values(n2),{type:"text",text:"{REF}",x:0,y:.2294553499999995},{type:"text",text:"{VAL}",x:0,y:-.1704553499999995}],ports:[{...Qp.left1,labels:["1"]},{...Qp.right1,labels:["2"]}],size:{width:Ve.width,height:Ve.height},center:{x:Ve.centerX,y:Ve.centerY}}).rotateRightFacingSymbol("right").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:x2,texts:pu,bounds:Xe,refblocks:ey,circles:f2}=Q,oy=e({primitives:[...Object.values(x2),...Object.values(f2),{type:"text",text:"{REF}",x:.2,y:-.1404553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.1494553499999995}],ports:[{...ey.left1,labels:["1"]},{...ey.right1,labels:["2"]}],size:{width:Xe.width,height:Xe.height},center:{x:Xe.centerX,y:Xe.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:c2,texts:nu,bounds:ry,refblocks:iy,circles:h2}=Z,d2=e({primitives:[...Object.values(c2),...Object.values(h2),{type:"text",text:"{REF}",x:.16,y:-.16},{type:"text",text:"{VAL}",x:-.16,y:-.16}],ports:[{...iy.left1,labels:["1"]},{...iy.right1,labels:["2"]}],center:{x:ry.centerX,y:ry.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build(),ly={...d2,size:{width:.9,height:.6}};var tt={paths:{"left-lead":{type:"path",points:[{x:-.175,y:0},{x:-.14,y:0}],color:"primary",fill:!1,strokeWidth:.012},body:{type:"path",points:[{x:-.14,y:.065},{x:.14,y:.065},{x:.14,y:-.065},{x:-.14,y:-.065},{x:-.14,y:.065}],color:"primary",fill:!1,strokeWidth:.012},"right-lead":{type:"path",points:[{x:.14,y:0},{x:.175,y:0}],color:"primary",fill:!1,strokeWidth:.012}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.25,anchor:"middle_bottom"},bottom1:{type:"text",text:"{VAL}",x:0,y:-.25,anchor:"middle_top"}},refblocks:{left1:{x:-.175,y:0},right1:{x:.175,y:0}},bounds:{minX:-.175,maxX:.175,minY:-.25,maxY:.25,width:.35,height:.5,centerX:0,centerY:0},circles:{}};var ay=c(tt,{kind:"boxresistor",orientation:"down"});var py=c(tt,{kind:"boxresistor",orientation:"left"});var yy=c(tt,{kind:"boxresistor",orientation:"right"});var sy=c(tt,{kind:"boxresistor",orientation:"up"});var Ot={paths:{"horizontal-bar":{type:"path",points:[{x:-.4,y:0},{x:.4,y:0}],color:"primary",fill:!1},"middle-dash-1":{type:"path",points:[{x:0,y:.2},{x:0,y:.07}],color:"primary",fill:!1},"middle-dash-2":{type:"path",points:[{x:0,y:.01},{x:0,y:-.12}],color:"primary",fill:!1},"middle-dash-3":{type:"path",points:[{x:0,y:-.18},{x:0,y:-.31}],color:"primary",fill:!1},"left-vertical":{type:"path",points:[{x:-.25,y:0},{x:-.25,y:-.2}],color:"primary",fill:!1},"right-vertical":{type:"path",points:[{x:.25,y:0},{x:.25,y:-.2}],color:"primary",fill:!1},"left-ground":{type:"path",points:[{x:-.3,y:-.2},{x:-.25,y:-.3},{x:-.2,y:-.2},{x:-.3,y:-.2}],color:"primary",fill:!1},"right-ground":{type:"path",points:[{x:.2,y:-.2},{x:.25,y:-.3},{x:.3,y:-.2},{x:.2,y:-.2}],color:"primary",fill:!1}},refblocks:{left1:{x:-.4,y:0},right1:{x:.4,y:0}},texts:{ref:{type:"text",text:"{REF}",x:0,y:.35}},bounds:{minX:-.4,maxX:.4,minY:-.4,maxY:.35,width:.8,height:.75,centerX:0,centerY:-.02},circles:{}};var{paths:g2,texts:Eu,bounds:my,refblocks:ny,circles:u2}=Ot,xy=e({primitives:[...Object.values(g2),...Object.values(u2),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...ny.left1,labels:["1"]},{...ny.right1,labels:["2"]}],center:{x:my.centerX,y:my.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var{paths:v2,texts:Lu,bounds:fy,refblocks:cy,circles:w2}=Ot,Le=e({primitives:[...Object.values(v2),...Object.values(w2),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...cy.left1,labels:["1"]},{...cy.right1,labels:["2"]}],center:{x:fy.centerX,y:fy.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var hy=X(Le);var{paths:S2,texts:Mu,bounds:dy,refblocks:_y,circles:A2}=Ot,by=e({primitives:[...Object.values(S2),...Object.values(A2),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{..._y.left1,labels:["1"]},{..._y.right1,labels:["2"]}],center:{x:dy.centerX,y:dy.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right").build();var et={paths:{path27:{type:"path",points:[{x:.3,y:0},{x:.06,y:0}],color:"primary",fill:!1,strokeWidth:.012},path28:{type:"path",points:[{x:-.06,y:0},{x:-.3,y:0}],color:"primary",fill:!1,strokeWidth:.012},path29:{type:"path",points:[{x:.06,y:.16002},{x:.06,y:-.16002}],color:"primary",fill:!1,strokeWidth:.012},path30:{type:"path",points:[{x:-.06,y:.16002},{x:-.06,y:-.16002}],color:"primary",fill:!1,strokeWidth:.012}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.24,anchor:"middle_bottom"},bottom1:{type:"text",text:"{VAL}",x:0,y:-.24,anchor:"middle_top"}},refblocks:{left1:{x:-.3,y:0},right1:{x:.3,y:0}},bounds:{minX:-.3,maxX:.3,minY:-.24,maxY:.24,width:.6,height:.48,centerX:0,centerY:0},circles:{}};var{paths:F2,texts:Iu,bounds:ze,refblocks:gy,circles:R2}=et,T2=e({primitives:[...Object.values(F2),...Object.values(R2),{type:"text",text:"{REF}",x:-.2,y:.115},{type:"text",text:"{VAL}",x:.2,y:.115}],ports:[{...gy.left1,labels:["1"]},{...gy.right1,labels:["2"]}],size:{width:ze.width,height:ze.height},center:{x:ze.centerX,y:ze.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("down").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build(),uy={...T2,size:{width:.9,height:.6}};var E2=e(et).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").build(),vy={...E2,size:{width:.6,height:.65}};var ot={paths:{path27:{type:"path",points:[{x:.3,y:0},{x:657e-6,y:0}],color:"primary",fill:!1,strokeWidth:.012},path28:{type:"path",points:[{x:-.038683,y:0},{x:-.3,y:0}],color:"primary",fill:!1,strokeWidth:.012},path30:{type:"path",points:[{x:-.074255,y:.16002},{x:-.074255,y:.16002},{x:-.069544,y:.149352},{x:-.065126,y:.138684},{x:-.061005,y:.128016},{x:-.057182,y:.117348},{x:-.053663,y:.10668},{x:-.05045,y:.096012},{x:-.047547,y:.085344},{x:-.044957,y:.074676},{x:-.042684,y:.064008},{x:-.040732,y:.05334},{x:-.039103,y:.042672},{x:-.037801,y:.032004},{x:-.03683,y:.021336},{x:-.036193,y:.010668},{x:-.035893,y:0},{x:-.036193,y:-.010668},{x:-.03683,y:-.021336},{x:-.037801,y:-.032004},{x:-.039103,y:-.042672},{x:-.040732,y:-.05334},{x:-.042684,y:-.064008},{x:-.044957,y:-.074676},{x:-.047547,y:-.085344},{x:-.05045,y:-.096012},{x:-.053663,y:-.10668},{x:-.057182,y:-.117348},{x:-.061005,y:-.128016},{x:-.065126,y:-.138684},{x:-.069544,y:-.149352},{x:-.074255,y:-.16002},{x:-.074255,y:-.16002}],color:"primary",fill:!1,strokeWidth:.012},"path30-7":{type:"path",points:[{x:-385e-6,y:.16002},{x:-385e-6,y:-.16002}],color:"primary",fill:!1,strokeWidth:.012},"path30-9-2":{type:"path",points:[{x:.156026,y:.2},{x:.085846,y:.2}],color:"primary",fill:!1,strokeWidth:.012},"path30-9-2-9":{type:"path",points:[{x:.120936,y:.16491},{x:.120936,y:.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"}}};var wy=e(ot).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();var Sy=e(ot).rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Ay=e(ot).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();var Py=e(ot).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();var V2=e(et).rotateRightFacingSymbol("right").changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").build(),Fy={...V2,size:{width:.6,height:.65}};var rt={paths:{"left-lead":{type:"path",points:[{x:-.25,y:0},{x:-.06,y:0}],color:"primary",fill:!1,strokeWidth:.012},"left-plate":{type:"path",points:[{x:-.06,y:.16},{x:-.06,y:-.16}],color:"primary",fill:!1,strokeWidth:.012},"right-plate":{type:"path",points:[{x:.06,y:.16},{x:.06,y:-.16}],color:"primary",fill:!1,strokeWidth:.012},"right-lead":{type:"path",points:[{x:.06,y:0},{x:.25,y:0}],color:"primary",fill:!1,strokeWidth:.012}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.25,anchor:"middle_bottom"},bottom1:{type:"text",text:"{VAL}",x:0,y:-.25,anchor:"middle_top"}},refblocks:{left1:{x:-.25,y:0},right1:{x:.25,y:0}},bounds:{minX:-.25,maxX:.25,minY:-.25,maxY:.25,width:.5,height:.5,centerX:0,centerY:0},circles:{}};var Ry=c(rt,{kind:"capacitor",orientation:"down",pin1Labels:["1","pos"],pin2Labels:["2","neg"]});var Ty=c(rt,{kind:"capacitor",orientation:"left",pin1Labels:["1","pos"],pin2Labels:["2","neg"]});var Ey=c(rt,{kind:"capacitor",orientation:"right",pin1Labels:["1","pos"],pin2Labels:["2","neg"]});var Yy=c(rt,{kind:"capacitor",orientation:"up",pin1Labels:["1","pos"],pin2Labels:["2","neg"]});var{paths:L2,texts:R6,bounds:ke,refblocks:Vy,circles:z2}=et,k2=e({primitives:[...Object.values(L2),...Object.values(z2),{type:"text",text:"{REF}",x:.2,y:-.095},{type:"text",text:"{VAL}",x:-.2,y:-.095}],ports:[{...Vy.left1,labels:["1"]},{...Vy.right1,labels:["2"]}],size:{width:ke.width,height:ke.height},center:{x:ke.centerX,y:ke.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("up").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build(),Xy={...k2,size:{width:.9,height:.6}};var it={paths:{"left-lead":{type:"path",points:[{x:-.175,y:0},{x:-.05,y:0}],color:"primary",fill:!1,strokeWidth:.012},"left-plate":{type:"path",points:[{x:-.05,y:.14},{x:-.05,y:-.14}],color:"primary",fill:!1,strokeWidth:.012},"right-plate":{type:"path",points:[{x:.05,y:.14},{x:.05,y:-.14}],color:"primary",fill:!1,strokeWidth:.012},"right-lead":{type:"path",points:[{x:.05,y:0},{x:.175,y:0}],color:"primary",fill:!1,strokeWidth:.012}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.25,anchor:"middle_bottom"},bottom1:{type:"text",text:"{VAL}",x:0,y:-.25,anchor:"middle_top"}},refblocks:{left1:{x:-.175,y:0},right1:{x:.175,y:0}},bounds:{minX:-.175,maxX:.175,minY:-.25,maxY:.25,width:.35,height:.5,centerX:0,centerY:0},circles:{}};var Ly=c(it,{kind:"capacitor",orientation:"down",pin1Labels:["1","pos"],pin2Labels:["2","neg"]});var zy=c(it,{kind:"capacitor",orientation:"left",pin1Labels:["1","pos"],pin2Labels:["2","neg"]});var ky=c(it,{kind:"capacitor",orientation:"right",pin1Labels:["1","pos"],pin2Labels:["2","neg"]});var jy=c(it,{kind:"capacitor",orientation:"up",pin1Labels:["1","pos"],pin2Labels:["2","neg"]});var k={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}}};var{paths:J2,texts:I6,bounds:je,refblocks:Oy,circles:$2}=k,Jy=e({primitives:[...Object.values(J2),...Object.values($2),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...Oy.left1,labels:["1"]},{...Oy.right1,labels:["2"]}],size:{width:je.width,height:je.height},center:{x:je.centerX,y:je.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var $y=e(k).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:M2,texts:K6,bounds:Oe,refblocks:My,circles:C2}=k,Cy=e({primitives:[...Object.values(M2),...Object.values(C2),{type:"text",text:"{REF}",x:-0,y:-.2894553499999995},{type:"text",text:"{VAL}",x:0,y:.3894553499999995}],ports:[{...My.left1,labels:["1"]},{...My.right1,labels:["2"]}],size:{width:Oe.width,height:Oe.height},center:{x:Oe.centerX,y:Oe.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Wy=e(k).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:W2,texts:lv,bounds:Je,refblocks:Ny,circles:N2}=k,By=e({primitives:[...Object.values(W2),...Object.values(N2),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Ny.left1,labels:["1"]},{...Ny.right1,labels:["2"]}],size:{width:Je.width,height:Je.height},center:{x:Je.centerX,y:Je.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:B2,texts:sv,bounds:$e,refblocks:Iy,circles:I2}=k,Dy=e({primitives:[...Object.values(B2),...Object.values(I2),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Iy.left1,labels:["1"]},{...Iy.right1,labels:["2"]}],size:{width:$e.width,height:$e.height},center:{x:$e.centerX,y:$e.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var lt={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:{}};var{paths:q2,texts:cv,bounds:Me,refblocks:Ce,circles:G2}=lt,qy=e({primitives:[...Object.values(q2),...Object.values(G2),{type:"text",text:"{REF}",x:-.4,y:.4094554499999995},{type:"text",text:"{VAL}",x:.4,y:.4094553499999995}],ports:[{...Ce.left1,labels:["1"]},{...Ce.right1,labels:["3"]},{...Ce.bottom1,labels:["2"]},{...Ce.top1,labels:["4"]}],size:{width:Me.width,height:Me.height},center:{x:Me.centerX,y:Me.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var Gy=e(lt).labelPort("top1",["2","gnd1"]).labelPort("bottom1",["4","gnd2"]).labelPort("left1",["3"]).labelPort("right1",["1"]).changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var Hy=e(lt).labelPort("top1",["4","gnd1"]).labelPort("bottom1",["2","gnd2"]).labelPort("left1",["1"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var{paths:H2,texts:Av,bounds:We,refblocks:Ne,circles:U2}=lt,Uy=e({primitives:[...Object.values(H2),...Object.values(U2),{type:"text",text:"{VAL}",x:-.4,y:-.4094554499999995},{type:"text",text:"{REF}",x:.4,y:-.4094553499999995}],ports:[{...Ne.left1,labels:["1"]},{...Ne.right1,labels:["3"]},{...Ne.bottom1,labels:["2"]},{...Ne.top1,labels:["4"]}],size:{width:We.width,height:We.height},center:{x:We.centerX,y:We.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var at={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:{}};var{paths:K2,texts:Ev,bounds:Be,refblocks:Zy,circles:Q2}=at,Ky=e({primitives:[...Object.values(K2),...Object.values(Q2),{type:"text",text:"{REF}",x:-.3,y:.3094553499999995},{type:"text",text:"{VAL}",x:.3,y:.3094553499999995}],ports:[{...Zy.left1,labels:["1"]},{...Zy.right1,labels:["2"]}],size:{width:Be.width,height:Be.height},center:{x:Be.centerX,y:Be.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("down").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var Qy=e(at).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var ts=e(at).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:td,texts:$v,bounds:Ie,refblocks:es,circles:ed}=at,os=e({primitives:[...Object.values(td),...Object.values(ed),{type:"text",text:"{REF}",x:.3,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.3094553499999995}],ports:[{...es.left1,labels:["1"]},{...es.right1,labels:["2"]}],size:{width:Ie.width,height:Ie.height},center:{x:Ie.centerX,y:Ie.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("up").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var Ut=.6,Bo=.3,od=[{type:"path",points:[{x:-Ut,y:0},{x:-Bo,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:Bo,y:0},{x:Ut,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:Bo,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}],rs=e({primitives:[...od,{type:"text",text:"{REF}",x:-.2,y:.35},{type:"text",text:"{VAL}",x:.2,y:.35}],ports:[{x:-Ut,y:0,labels:["1"]},{x:Ut,y:0,labels:["2"]}],center:{x:0,y:0},size:{width:Ut*2,height:.9}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Zt=.6,Io=.3,rd=[{type:"path",points:[{x:-Zt,y:0},{x:-Io,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:Io,y:0},{x:Zt,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:Io,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}],is=e({primitives:[...rd,{type:"text",text:"{REF}",x:0,y:-.4},{type:"text",text:"{VAL}",x:0,y:.4}],ports:[{x:-Zt,y:0,labels:["1"]},{x:Zt,y:0,labels:["2"]}],center:{x:0,y:0},size:{width:Zt*2,height:.9}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Kt=.6,Do=.3,id=[{type:"path",points:[{x:-Kt,y:0},{x:-Do,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:Do,y:0},{x:Kt,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:Do,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}],ls=e({primitives:[...id,{type:"text",text:"{REF}",x:0,y:.4},{type:"text",text:"{VAL}",x:0,y:-.4}],ports:[{x:-Kt,y:0,labels:["1"]},{x:Kt,y:0,labels:["2"]}],center:{x:0,y:0},size:{width:Kt*2,height:.9}}).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Qt=.6,qo=.3,ld=[{type:"path",points:[{x:-Qt,y:0},{x:-qo,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:qo,y:0},{x:Qt,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:qo,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}],as=e({primitives:[...ld,{type:"text",text:"{REF}",x:.2,y:-.35},{type:"text",text:"{VAL}",x:-.2,y:-.35}],ports:[{x:-Qt,y:0,labels:["1"]},{x:Qt,y:0,labels:["2"]}],center:{x:0,y:0},size:{width:Qt*2,height:.9}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var j={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}}};var ps=e(j).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();var ys=e(j).rotateRightFacingSymbol("right").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_right").changeTextAnchor("{REF}","middle_right").build();var ss=e(j).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();var ms=e(j).rotateRightFacingSymbol("right").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_right").changeTextAnchor("{REF}","middle_right").build();var ns=e(j).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();var xs=e(j).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();var fs={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},path2:{type:"path",points:[{x:-.12,y:.09},{x:.12,y:.09}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.18,y:-.45},bottom1:{type:"text",text:"{VAL}",x:-.01,y:.35},left1:{type:"text",text:"A",x:0,y:-.1}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{minX:-.53,maxX:.53,minY:-.09,maxY:.09,width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:cs,bounds:De,refblocks:hs,circles:yd}=fs,B=m({primitives:[cs.path11,cs.path12,{type:"path",points:[{x:-.12,y:.14},{x:.12,y:.14}],color:"primary",fill:!1},...Object.values(yd),{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:[{...hs.left1,labels:["1"]},{...hs.right1,labels:["2"]}],size:{width:De.width,height:De.height},center:{x:De.centerX,y:De.centerY}});var Go=structuredClone(B);Go.primitives=Go.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 te=q(Go,{newOrientation:"down"});var ds=X(B);var _s=B;var Ho=structuredClone(B);Ho.primitives=Ho.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 bs=q(Ho,{newOrientation:"up"});var O={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}},texts:{top1:{type:"text",text:"{REF}",x:-.17,y:.4},bottom1:{type:"text",text:"{VAL}",x:-.01,y:-.4}},refblocks:{left1:{x:-.54,y:.03},right1:{x:.54,y:.04}},bounds:{minX:-.57,maxX:.57,minY:-.4,maxY:.4,width:1.14,height:.79,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.04,radius:.29,color:"primary",fill:!1}}};var{paths:md,texts:zw,bounds:qe,refblocks:gs,circles:nd}=O,us=e({primitives:[...Object.values(md),...Object.values(nd),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...gs.left1,labels:["1"]},{...gs.right1,labels:["2"]}],size:{width:qe.width,height:qe.height},center:{x:qe.centerX,y:qe.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:xd,texts:Jw,bounds:Ge,refblocks:vs,circles:fd}=O,ws=e({primitives:[...Object.values(xd),...Object.values(fd),{type:"text",text:"{REF}",x:-0,y:.3894553499999995},{type:"text",text:"{VAL}",x:0,y:-.3294553499999995}],ports:[{...vs.left1,labels:["1"]},{...vs.right1,labels:["2"]}],size:{width:Ge.width,height:Ge.height},center:{x:Ge.centerX,y:Ge.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:cd,texts:Ww,bounds:He,refblocks:Ss,circles:hd}=O,As=e({primitives:[...Object.values(cd),...Object.values(hd),{type:"text",text:"{REF}",x:-0,y:-.3294553499999995},{type:"text",text:"{VAL}",x:0,y:.4294553499999995}],ports:[{...Ss.left1,labels:["1"]},{...Ss.right1,labels:["2"]}],size:{width:He.width,height:He.height},center:{x:He.centerX,y:He.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:dd,texts:Dw,bounds:Ue,refblocks:Ps,circles:_d}=O,Fs=e({primitives:[...Object.values(dd),...Object.values(_d),{type:"text",text:"{REF}",x:-0,y:.3894553499999995},{type:"text",text:"{VAL}",x:0,y:-.3294553499999995}],ports:[{...Ps.left1,labels:["1"]},{...Ps.right1,labels:["2"]}],size:{width:Ue.width,height:Ue.height},center:{x:Ue.centerX,y:Ue.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:bd,texts:Uw,bounds:Ze,refblocks:Rs,circles:gd}=O,Ts=e({primitives:[...Object.values(bd),...Object.values(gd),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Rs.left1,labels:["1"]},{...Rs.right1,labels:["2"]}],size:{width:Ze.width,height:Ze.height},center:{x:Ze.centerX,y:Ze.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:ud,texts:tS,bounds:Ke,refblocks:Es,circles:vd}=O,Ys=e({primitives:[...Object.values(ud),...Object.values(vd),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Es.left1,labels:["1"]},{...Es.right1,labels:["2"]}],size:{width:Ke.width,height:Ke.height},center:{x:Ke.centerX,y:Ke.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var J={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}}};var Vs=e(J).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();var Xs=e(J).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.1}).changeTextAnchor("{VAL}","middle_top").build();var Ls=e(J).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();var zs=e(J).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.1}).changeTextAnchor("{VAL}","middle_top").build();var ks=e(J).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();var js=e(J).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();var pt={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}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.03}},refblocks:{left1:{x:-.11,y:0}},bounds:{minX:-.57,maxX:.57,minY:-.37,maxY:.37,width:1.14,height:.74,centerX:0,centerY:0},circles:{}};var{paths:Ad,bounds:Os,refblocks:Pd}=pt,Js=e({primitives:[...Object.values(Ad),{type:"text",text:"{REF}",x:-.13,y:-0}],ports:[{...Pd.left1,labels:["1"]}],center:{x:Os.centerX,y:Os.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var{paths:Fd,bounds:$s,refblocks:Rd}=pt,Ms=e({primitives:[...Object.values(Fd),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...Rd.left1,labels:["1"]}],center:{x:$s.centerX,y:$s.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var{paths:Td,bounds:Cs,refblocks:Ed}=pt,Ws=e({primitives:[...Object.values(Td),{type:"text",text:"{REF}",x:-.13,y:-0}],ports:[{...Ed.left1,labels:["1"]}],center:{x:Cs.centerX,y:Cs.centerY}}).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var{paths:Yd,bounds:Ns,refblocks:Vd}=pt,Bs=e({primitives:[...Object.values(Yd),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...Vd.left1,labels:["1"]}],center:{x:Ns.centerX,y:Ns.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var Is={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:{}};var yt=e(Is).labelPort("left1",["1","pos","anode"]).labelPort("right1",["2","neg","cathode"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Ds=o(yt,"down");var qs=o(yt,"left");var Gs=o(yt,"up");var Hs={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}}};var st=e(Hs).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();var Uo=o(st,"down"),Zo=Uo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ko=Uo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Zo.anchor="middle_bottom";Ko.anchor="middle_top";Zo.x=0;Zo.y+=.537;Ko.y-=.5375;Ko.x=0;var Us=Uo;var Qo=o(st,"left"),tr=Qo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),er=Qo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");tr.anchor="middle_bottom";er.anchor="middle_top";tr.x=0;tr.y+=1;er.y-=1;er.x=0;var Zs=Qo;var or=o(st,"up"),rr=or.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ir=or.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");rr.anchor="middle_bottom";ir.anchor="middle_top";rr.x=0;rr.y+=.537;ir.y-=.5375;ir.x=0;var Ks=or;var Qs={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}}};var mt=e(Qs).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();var lr=o(mt,"down"),ar=lr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),pr=lr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ar.anchor="middle_bottom";pr.anchor="middle_top";ar.x=0;ar.y+=.565;pr.y-=.555;pr.x=0;var tm=lr;var yr=o(mt,"left"),sr=yr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),mr=yr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");sr.anchor="middle_bottom";mr.anchor="middle_top";sr.x=0;sr.y+=1.09;mr.y-=1.09;mr.x=0;var em=yr;var nr=o(mt,"up"),xr=nr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),fr=nr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");xr.anchor="middle_bottom";fr.anchor="middle_top";xr.x=0;xr.y+=.565;fr.y-=.555;fr.x=0;var om=nr;var rm={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}}};var nt=e(rm).labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("right3",["4"]).labelPort("left3",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var cr=o(nt,"down"),hr=cr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),dr=cr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");hr.anchor="middle_bottom";dr.anchor="middle_top";hr.x=.4;hr.y+=.265;dr.y-=.265;dr.x=.4;var im=cr;var _r=o(nt,"left"),br=_r.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),gr=_r.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");br.anchor="middle_bottom";gr.anchor="middle_top";br.x=0;br.y+=.67;gr.y-=.67;gr.x=0;var lm=_r;var ur=o(nt,"up"),vr=ur.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),wr=ur.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");vr.anchor="middle_bottom";wr.anchor="middle_top";vr.x=.46;vr.y+=.265;wr.y-=.265;wr.x=.46;var am=ur;var pm={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}}};var xt=e(pm).labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("right3",["4"]).labelPort("left3",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Sr=o(xt,"down"),Ar=Sr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Pr=Sr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ar.anchor="middle_bottom";Pr.anchor="middle_top";Ar.x=.4;Ar.y+=.295;Pr.y-=.295;Pr.x=.42;var ym=Sr;var Fr=o(xt,"left"),Rr=Fr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Tr=Fr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Rr.anchor="middle_bottom";Tr.anchor="middle_top";Rr.x=0;Rr.y+=.795;Tr.y-=.795;Tr.x=0;var sm=Fr;var Er=o(xt,"up"),Yr=Er.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Vr=Er.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Yr.anchor="middle_bottom";Vr.anchor="middle_top";Yr.x=.46;Yr.y+=.315;Vr.y-=.315;Vr.x=.46;var mm=Er;var Qe={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:{}};var{paths:Jd,texts:GA,bounds:t0,refblocks:nm,circles:$d}=Qe,e0=e({primitives:[...Object.values(Jd),...Object.values($d),{type:"text",text:"{REF}",x:.18,y:-.3204553499999995},{type:"text",text:"{VAL}",x:-.25,y:-.3294553499999995}],ports:[{...nm.left1,labels:["1"]},{...nm.right1,labels:["2"]}],size:{width:t0.width,height:t0.height},center:{x:t0.centerX,y:t0.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Xr=V(e0),Lr=Xr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),zr=Xr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Lr.anchor="middle_left";zr.anchor="middle_left";Lr.y+=.4;Lr.x=.32;zr.y-=.45;zr.x=.32;var xm=Xr;var o0=e(Qe).labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var fm=X(o0);var $={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}},texts:{top1:{type:"text",text:"{REF}",x:-.09,y:.38},bottom1:{type:"text",text:"{VAL}",x:-.07,y:-.38},right1:{type:"text",text:"",x:.59,y:-.33}},refblocks:{left1:{x:-.56,y:.04},right1:{x:.48,y:.05}},bounds:{minX:-.59,maxX:.59,minY:-.38,maxY:.38,width:1.18,height:.76,centerX:0,centerY:0},circles:{}};var{paths:Cd,texts:sP,bounds:r0,refblocks:cm,circles:Wd}=$,hm=e({primitives:[...Object.values(Cd),...Object.values(Wd),{type:"text",text:"{REF}",x:-.15,y:.3294553499999995},{type:"text",text:"{VAL}",x:.15,y:.3294553499999995}],ports:[{...cm.left1,labels:["1"]},{...cm.right1,labels:["2"]}],size:{width:r0.width,height:r0.height},center:{x:r0.centerX,y:r0.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Nd,texts:fP,bounds:i0,refblocks:dm,circles:Bd}=$,_m=e({primitives:[...Object.values(Nd),...Object.values(Bd),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...dm.left1,labels:["1"]},{...dm.right1,labels:["2"]}],size:{width:i0.width,height:i0.height},center:{x:i0.centerX,y:i0.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Id,texts:_P,bounds:l0,refblocks:bm,circles:Dd}=$,gm=e({primitives:[...Object.values(Id),...Object.values(Dd),{type:"text",text:"{REF}",x:-0,y:-.3094553499999995},{type:"text",text:"{VAL}",x:0,y:.4094553499999995}],ports:[{...bm.left1,labels:["1"]},{...bm.right1,labels:["2"]}],size:{width:l0.width,height:l0.height},center:{x:l0.centerX,y:l0.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:qd,texts:vP,bounds:a0,refblocks:um,circles:Gd}=$,vm=e({primitives:[...Object.values(qd),...Object.values(Gd),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...um.left1,labels:["1"]},{...um.right1,labels:["2"]}],size:{width:a0.width,height:a0.height},center:{x:a0.centerX,y:a0.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Hd,texts:PP,bounds:p0,refblocks:wm,circles:Ud}=$,Sm=e({primitives:[...Object.values(Hd),...Object.values(Ud),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...wm.left1,labels:["1"]},{...wm.right1,labels:["2"]}],size:{width:p0.width,height:p0.height},center:{x:p0.centerX,y:p0.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Zd,texts:EP,bounds:y0,refblocks:Am,circles:Kd}=$,Pm=e({primitives:[...Object.values(Zd),...Object.values(Kd),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Am.left1,labels:["1"]},{...Am.right1,labels:["2"]}],size:{width:y0.width,height:y0.height},center:{x:y0.centerX,y:y0.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Fm={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:"Hz",x:0,y:-.04}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{minX:-.53,maxX:.53,minY:0,maxY:0,width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}};var{paths:t5,texts:e5,bounds:s0,refblocks:Rm,circles:o5}=Fm,ee=m({primitives:[...Object.values(t5),...Object.values(o5),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...e5.left1,x:0,y:.01,anchor:"center",fontSize:.2}],ports:[{...Rm.left1,labels:["1"]},{...Rm.right1,labels:["2"]}],size:{width:s0.width,height:s0.height},center:{x:s0.centerX,y:s0.centerY}});var{5:r5,...i5}=ee.primitives;function l5(t){return typeof t=="object"}var Tm=o({...ee,primitives:Object.values(i5).filter(l5)}),Em={...Tm,primitives:[...Tm.primitives,r5]};var Ym={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},bottom1:{type:"text",text:"{VAL}",x:-.17,y:-.24}},refblocks:{left1:{x:-.53,y:.04},right1:{x:.53,y:.04}},bounds:{minX:-.56,maxX:.56,minY:-.24,maxY:.24,width:1.13,height:.47,centerX:0,centerY:0},circles:{}};var{paths:p5,texts:y5,bounds:m0,refblocks:Vm}=Ym,n0=m({primitives:[...Object.values(p5),{...y5.top1,anchor:"middle_bottom"},{type:"text",text:"{VAL}",x:0,y:-.2,anchor:"middle_top"}],ports:[{...Vm.left1,labels:["1"]},{...Vm.right1,labels:["2"]}],size:{width:m0.width,height:m0.height},center:{x:m0.centerX,y:m0.centerY}});var Xm=o(n0);var M={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:{}};var Lm=e(M).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var zm=e(M).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var km=e(M).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var jm=e(M).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var Om=e(M).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var Jm=e(M).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var oe={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:{}};var{paths:fF,texts:cF,bounds:hF,refblocks:dF,circles:_F}=oe,$m=e(oe).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Mm=e(oe).rotateRightFacingSymbol("down").changeTextAnchor("{VAL}","middle_right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var Cm={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:{}};var ft=e(Cm).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();var Wm=o(ft,"down");var Nm=X(ft);var kr=o(ft,"up"),jr=kr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Or=kr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");jr.anchor="middle_left";Or.anchor="middle_left";jr.y+=.21;jr.x=.44;Or.y-=.21;Or.x=.44;var Bm=kr;var Im={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}}};var x0=e(Im).changeTextAnchor("{VAL}","middle_right").labelPort("left1",["3"]).labelPort("top1",["2"]).labelPort("bottom1",["1"]).changeTextAnchor("{REF}","middle_right").build();var Jr=o(x0),$r=Jr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Dm=Jr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");$r.anchor="middle_left";Dm.anchor="middle_right";$r.x=.45;$r.y+=.065;Dm.y+=.065;var qm=Jr;var Gm={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}}};var f0=e(Gm).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Hm=o(f0),Um=Hm.primitives.filter(t=>t.type==="text"),Mr=Um.find(t=>t.text==="{VAL}");Mr.x=-.35;Mr.y=0;Mr.anchor="middle_right";var Cr=Um.find(t=>t.text==="{REF}");Cr.y=0;Cr.x=.35;Cr.anchor="middle_left";var Zm=Hm;var ct={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:{}};var Km=e(ct).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();var Qm=e(ct).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();var tn=e(ct).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var en=e(ct).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right").changeTextAnchor("{VAL}","middle_left").build();var Wr={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}}};Wr.bounds.width+=.2;var ht=e(Wr).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","anode","pos"]).labelPort("right1",["2","cathode","neg"]).changeTextAnchor("{REF}","middle_bottom").build();var Nr=o(ht,"down"),Br=Nr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ir=Nr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Br.anchor="middle_left";Ir.anchor="middle_left";Br.y+=.9;Br.x=.3;Ir.y-=.1;Ir.x=.3;var on=Nr;var Dr=o(ht,"left"),qr=Dr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Gr=Dr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");qr.anchor="middle_left";Gr.anchor="middle_left";qr.y+=.71;qr.x=.44;Gr.y-=.71;Gr.x=.44;var rn=Dr;var Hr=o(ht,"up"),Ur=Hr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Zr=Hr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ur.anchor="middle_left";Zr.anchor="middle_left";Ur.y+=.1;Ur.x=.3;Zr.y-=.71;Zr.x=.3;var ln=Hr;var an={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:{minX:-.56,maxX:.56,minY:-.32,maxY:.32,width:1.13,height:.65,centerX:0,centerY:0},circles:{}};var{paths:_5,texts:pn,bounds:c0,refblocks:yn,circles:b5}=an,Jt=m({primitives:[...Object.values(_5),...Object.values(b5),{...pn.bottom1,anchor:"middle_top"},{...pn.right1,anchor:"middle_bottom"}],ports:[{...yn.left1,labels:["1","anode","pos"]},{...yn.right1,labels:["2","cathode","neg"]}],size:{width:c0.width,height:c0.height},center:{x:c0.centerX,y:c0.centerY}});var Kr=o(Jt,"up"),Qr=Kr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ti=Kr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Qr.anchor="middle_left";ti.anchor="middle_left";Qr.y+=.21;Qr.x=.21;ti.y-=.21;ti.x=.21;var h0=Kr;var ei=V(h0),oi=ei.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ri=ei.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");oi.anchor="middle_left";ri.anchor="middle_left";oi.y+=.4;oi.x=.2;ri.y-=.41;ri.x=.2;var sn=ei;var mn=X(Jt);var nn={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:{minX:-.55,maxX:.55,minY:-.51,maxY:.46,width:1.1,height:.62,centerX:0,centerY:-.02},circles:{path1:{type:"circle",x:0,y:-.02,radius:.28,color:"primary",fill:!1}}};var{paths:u5,texts:xn,bounds:d0,refblocks:fn,circles:v5}=nn,_0=m({primitives:[...Object.values(u5),...Object.values(v5),{...xn.top1,anchor:"middle_left",x:0},{...xn.bottom1,anchor:"middle_left",x:0}],ports:[{...fn.left1,labels:["1"]},{...fn.right1,labels:["2"]}],size:{width:d0.width,height:d0.height},center:{x:d0.centerX,y:d0.centerY}});var cn=o(_0),hn=cn.primitives.filter(t=>t.type==="text"),ii=hn.find(t=>t.text==="{VAL}");ii.x=-.35;ii.y=0;ii.anchor="middle_right";var li=hn.find(t=>t.text==="{REF}");li.y=0;li.x=.35;li.anchor="middle_left";var dn=cn;var _n={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:{minX:-.57,maxX:.57,minY:-.57,maxY:.57,width:1.14,height:1.14,centerX:0,centerY:0},circles:{}};function I(t,i){return{width:Math.max(...i.map(r=>Math.abs(r.x-t.x)))*2,height:Math.max(...i.map(r=>Math.abs(r.y-t.y)))*2}}var{paths:S5,texts:bn,bounds:gn,refblocks:$t}=_n,un={x:gn.centerX+.2,y:gn.centerY},b0=m({primitives:[...Object.values(S5),{...bn.right1,anchor:"middle_left"},{...bn.right2,anchor:"middle_left"}],ports:[{...$t.top1,labels:["1"]},{...$t.bottom1,labels:["2"]},{...$t.left1,labels:["3"]}],size:I(un,[$t.top1,$t.bottom1,$t.left1]),center:un});var ai=o(b0),vn=ai.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),pi=ai.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");vn.anchor="middle_top";pi.anchor="middle_top";vn.x=pi.x;pi.y+=.15;var wn=ai;var Sn={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:{minX:-.5,maxX:.5,minY:-.27,maxY:.27,width:1,height:.53,centerX:0,centerY:0},circles:{}};var{paths:P5,texts:An,bounds:g0,refblocks:Pn,circles:F5}=Sn,u0=m({primitives:[...Object.values(P5),...Object.values(F5),{...An.top1,anchor:"middle_bottom",x:0},{...An.bottom1,anchor:"middle_top",x:0}],ports:[{...Pn.left1,labels:["1"]},{...Pn.right1,labels:["2"]}],size:{width:g0.width,height:g0.height},center:{x:g0.centerX+.006,y:g0.centerY+.06}});var yi=o(u0),re=yi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),v0=yi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");re.anchor="middle_left";v0.anchor="middle_right";re.x=re.x-.03;re.y=re.y;v0.x=v0.x;v0.y=0;var Fn=yi;var n=({horizontalSymbol:t,verticalSymbol:i,gateSide:r,drainSide:p})=>{let y=r==="left"||r==="right",a=p==="left"||p==="right";if(y===a)throw new Error(`Invalid MOSFET orientation: gate ${r}, drain ${p}. Gate and drain must be perpendicular.`);let f=y?t:i;return(r==="right"||a&&p==="left")&&(f=X(f)),(r==="bottom"||!a&&p==="bottom")&&(f=V(f)),f};var Rn={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:{minX:-.45,maxX:.45,minY:-.58,maxY:.58,width:.89,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.16,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:T5,texts:Tn,bounds:En,refblocks:zt,circles:E5}=Rn,Yn={x:En.centerX,y:En.centerY},Y5={x:Yn.x,y:zt.left1.y},g=m({primitives:[...Object.values(T5),...Object.values(E5),{...Tn.top1,anchor:"middle_right",x:0},{...Tn.bottom1,anchor:"middle_right",x:0}],ports:[{...zt.top1,labels:["1","drain"]},{...zt.bottom1,labels:["2","source"]},{...zt.left1,labels:["3","gate"]}],size:I(Yn,[zt.top1,zt.bottom1,zt.left1]),center:Y5});var Vn=o(g),Xn=Vn.primitives.filter(t=>t.type==="text"),si=Xn.find(t=>t.text==="{VAL}");si.x=-.35;si.y=0;si.anchor="middle_right";var mi=Xn.find(t=>t.text==="{REF}");mi.y=0;mi.x=.35;mi.anchor="middle_left";var A=Vn;var Ln=n({horizontalSymbol:g,verticalSymbol:A,gateSide:"bottom",drainSide:"left"});var zn=n({horizontalSymbol:g,verticalSymbol:A,gateSide:"bottom",drainSide:"right"});var kn=n({horizontalSymbol:g,verticalSymbol:A,gateSide:"left",drainSide:"bottom"});var jn=n({horizontalSymbol:g,verticalSymbol:A,gateSide:"left",drainSide:"top"});var On=n({horizontalSymbol:g,verticalSymbol:A,gateSide:"right",drainSide:"bottom"});var Jn=n({horizontalSymbol:g,verticalSymbol:A,gateSide:"right",drainSide:"top"});var $n=n({horizontalSymbol:g,verticalSymbol:A,gateSide:"top",drainSide:"left"});var Mn=n({horizontalSymbol:g,verticalSymbol:A,gateSide:"top",drainSide:"right"});var Cn={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:{minX:-.45,maxX:.45,minY:-.58,maxY:.58,width:.89,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.16,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:X5,texts:Wn,bounds:Nn,refblocks:Mt,circles:L5}=Cn,Bn={x:Nn.centerX,y:Nn.centerY},u=m({primitives:[...Object.values(X5),...Object.values(L5),{...Wn.top1,anchor:"middle_right",x:0},{...Wn.bottom1,anchor:"middle_right",x:0}],ports:[{...Mt.top1,labels:["1","drain"]},{...Mt.bottom1,labels:["2","source"]},{...Mt.left1,labels:["3","gate"]}],size:I(Bn,[Mt.top1,Mt.bottom1,Mt.left1]),center:Bn});var In=o(u),Dn=In.primitives.filter(t=>t.type==="text"),ni=Dn.find(t=>t.text==="{VAL}");ni.x=-.35;ni.y=0;ni.anchor="middle_right";var xi=Dn.find(t=>t.text==="{REF}");xi.y=0;xi.x=.35;xi.anchor="middle_left";var P=In;var qn=n({horizontalSymbol:u,verticalSymbol:P,gateSide:"bottom",drainSide:"left"});var Gn=n({horizontalSymbol:u,verticalSymbol:P,gateSide:"bottom",drainSide:"right"});var Hn=n({horizontalSymbol:u,verticalSymbol:P,gateSide:"left",drainSide:"bottom"});var Un=n({horizontalSymbol:u,verticalSymbol:P,gateSide:"left",drainSide:"top"});var Zn=n({horizontalSymbol:u,verticalSymbol:P,gateSide:"right",drainSide:"bottom"});var Kn=n({horizontalSymbol:u,verticalSymbol:P,gateSide:"right",drainSide:"top"});var Qn=n({horizontalSymbol:u,verticalSymbol:P,gateSide:"top",drainSide:"left"});var tx=n({horizontalSymbol:u,verticalSymbol:P,gateSide:"top",drainSide:"right"});var ex={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:{minX:-.43,maxX:.43,minY:-.58,maxY:.58,width:.85,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.14,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:k5,texts:ox,bounds:w0,refblocks:fi,circles:j5}=ex,S0=m({primitives:[...Object.values(k5),...Object.values(j5),{...ox.top1,anchor:"middle_right",x:0},{...ox.bottom1,anchor:"middle_right",x:0}],ports:[{...fi.top1,labels:["1","drain"]},{...fi.bottom1,labels:["2","source"]},{...fi.left1,labels:["3","gate"]}],size:{width:w0.width,height:w0.height},center:{x:w0.centerX,y:w0.centerY}});var rx=o(S0),ix=rx.primitives.filter(t=>t.type==="text"),ci=ix.find(t=>t.text==="{VAL}");ci.x=-.35;ci.y=0;ci.anchor="middle_right";var hi=ix.find(t=>t.text==="{REF}");hi.y=0;hi.x=.35;hi.anchor="middle_left";var lx=rx;var ax={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}},texts:{},refblocks:{left1:{x:-.2,y:0}},bounds:{minX:-.19,maxX:.2,minY:-.12,maxY:.12,width:.39,height:.24,centerX:0,centerY:0},circles:{}};var{paths:J5,bounds:px,refblocks:$5}=ax,dt=e({primitives:[...Object.values(J5)],ports:[{...$5.left1,labels:["1"]}],center:{x:px.centerX,y:px.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).build();var yx=o(dt,"down");var sx=o(dt,"left");var mx=o(dt,"up");var C={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}},texts:{top1:{type:"text",text:"{REF}",x:-.08,y:.36},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}}};var{paths:C5,texts:oY,bounds:A0,refblocks:di,circles:W5}=C,nx=e({primitives:[...Object.values(C5),...Object.values(W5),{type:"text",text:"{REF}",x:-.3,y:.5094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.5094553499999995}],ports:[{...di.top1,labels:["1","collector"]},{...di.bottom1,labels:["3","emitter"]},{...di.left1,labels:["2","base"]}],size:{width:A0.width,height:A0.height},center:{x:A0.centerX,y:A0.centerY}}).rotateRightFacingSymbol("right").changeTextAnchor("{REF}","middle_right").changeTextAnchor("{VAL}","middle_right").build();var{paths:N5,texts:aY,bounds:P0,refblocks:_i,circles:B5}=C,xx=e({primitives:[...Object.values(N5),...Object.values(B5),{type:"text",text:"{REF}",x:.55,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.4094553499999995}],ports:[{..._i.top1,labels:["1","collector"]},{..._i.bottom1,labels:["3","emitter"]},{..._i.left1,labels:["2","base"]}],size:{width:P0.width,height:P0.height},center:{x:P0.centerX,y:P0.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:I5,texts:mY,bounds:F0,refblocks:bi,circles:D5}=C,fx=e({primitives:[...Object.values(I5),...Object.values(D5),{type:"text",text:"{REF}",x:-.5,y:.3094553499999995},{type:"text",text:"{VAL}",x:.55,y:.3094553499999995}],ports:[{...bi.top1,labels:["1","collector"]},{...bi.bottom1,labels:["3","emitter"]},{...bi.left1,labels:["2","base"]}],size:{width:F0.width,height:F0.height},center:{x:F0.centerX,y:F0.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:q5,texts:cY,bounds:R0,refblocks:gi,circles:G5}=C,cx=e({primitives:[...Object.values(q5),...Object.values(G5),{type:"text",text:"{REF}",x:.55,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.4094553499999995}],ports:[{...gi.top1,labels:["1","collector"]},{...gi.bottom1,labels:["3","emitter"]},{...gi.left1,labels:["2","base"]}],size:{width:R0.width,height:R0.height},center:{x:R0.centerX,y:R0.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:H5,texts:bY,bounds:T0,refblocks:ui,circles:U5}=C,hx=e({primitives:[...Object.values(H5),...Object.values(U5),{type:"text",text:"{REF}",x:-.3,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-.3,y:.4094553499999995}],ports:[{...ui.top1,labels:["1","collector"]},{...ui.bottom1,labels:["3","emitter"]},{...ui.left1,labels:["2","base"]}],size:{width:T0.width,height:T0.height},center:{x:T0.centerX,y:T0.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Z5,texts:wY,bounds:E0,refblocks:vi,circles:K5}=C,dx=e({primitives:[...Object.values(Z5),...Object.values(K5),{type:"text",text:"{REF}",x:-.3,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-.3,y:.4094553499999995}],ports:[{...vi.top1,labels:["1","collector"]},{...vi.bottom1,labels:["3","emitter"]},{...vi.left1,labels:["2","base"]}],size:{width:E0.width,height:E0.height},center:{x:E0.centerX,y:E0.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var _x={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:{}};var _t=e(_x).labelPort("left1",["1","inp1"]).labelPort("left2",["2","inp2"]).labelPort("right1",["3","out"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var bx=o(_t,"down");var gx=V(o(_t,"left"));var ux=o(_t,"up");var vx={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:{}};var bt=e(vx).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();var wx=o(bt,"down");var Sx=V(o(bt,"left"));var Ax=o(bt,"up");var Px={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:{minX:-.45,maxX:.45,minY:-.58,maxY:.58,width:.89,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.16,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:o4,texts:Fx,bounds:Rx,refblocks:Ct,circles:r4}=Px,Tx={x:Rx.centerX,y:Rx.centerY},v=m({primitives:[...Object.values(o4),...Object.values(r4),{...Fx.top1,anchor:"middle_right",x:0},{...Fx.bottom1,anchor:"middle_right",x:0}],ports:[{...Ct.top1,labels:["1","drain"]},{...Ct.bottom1,labels:["2","source"]},{...Ct.left1,labels:["3","gate"]}],size:I(Tx,[Ct.top1,Ct.bottom1,Ct.left1]),center:Tx});var Ex=o(v),Yx=Ex.primitives.filter(t=>t.type==="text"),wi=Yx.find(t=>t.text==="{VAL}");wi.x=-.35;wi.y=0;wi.anchor="middle_right";var Si=Yx.find(t=>t.text==="{REF}");Si.y=0;Si.x=.35;Si.anchor="middle_left";var F=Ex;var Vx=n({horizontalSymbol:v,verticalSymbol:F,gateSide:"bottom",drainSide:"left"});var Xx=n({horizontalSymbol:v,verticalSymbol:F,gateSide:"bottom",drainSide:"right"});var Lx=n({horizontalSymbol:v,verticalSymbol:F,gateSide:"left",drainSide:"bottom"});var zx=n({horizontalSymbol:v,verticalSymbol:F,gateSide:"left",drainSide:"top"});var kx=n({horizontalSymbol:v,verticalSymbol:F,gateSide:"right",drainSide:"bottom"});var jx=n({horizontalSymbol:v,verticalSymbol:F,gateSide:"right",drainSide:"top"});var Ox=n({horizontalSymbol:v,verticalSymbol:F,gateSide:"top",drainSide:"left"});var Jx=n({horizontalSymbol:v,verticalSymbol:F,gateSide:"top",drainSide:"right"});var $x={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:{minX:-.45,maxX:.45,minY:-.58,maxY:.58,width:.89,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.16,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:l4,texts:Mx,bounds:Cx,refblocks:Wt,circles:a4}=$x,Wx={x:Cx.centerX,y:Cx.centerY},w=m({primitives:[...Object.values(l4),...Object.values(a4),{...Mx.top1,anchor:"middle_right",x:0},{...Mx.bottom1,anchor:"middle_right",x:0}],ports:[{...Wt.top1,labels:["1","drain"]},{...Wt.bottom1,labels:["2","source"]},{...Wt.left1,labels:["3","gate"]}],size:I(Wx,[Wt.top1,Wt.bottom1,Wt.left1]),center:Wx});var Nx=o(w),Bx=Nx.primitives.filter(t=>t.type==="text"),Ai=Bx.find(t=>t.text==="{VAL}");Ai.x=-.35;Ai.y=0;Ai.anchor="middle_right";var Pi=Bx.find(t=>t.text==="{REF}");Pi.y=0;Pi.x=.35;Pi.anchor="middle_left";var R=Nx;var Ix=n({horizontalSymbol:w,verticalSymbol:R,gateSide:"bottom",drainSide:"left"});var Dx=n({horizontalSymbol:w,verticalSymbol:R,gateSide:"bottom",drainSide:"right"});var qx=n({horizontalSymbol:w,verticalSymbol:R,gateSide:"left",drainSide:"bottom"});var Gx=n({horizontalSymbol:w,verticalSymbol:R,gateSide:"left",drainSide:"top"});var Hx=n({horizontalSymbol:w,verticalSymbol:R,gateSide:"right",drainSide:"bottom"});var Ux=n({horizontalSymbol:w,verticalSymbol:R,gateSide:"right",drainSide:"top"});var Zx=n({horizontalSymbol:w,verticalSymbol:R,gateSide:"top",drainSide:"left"});var Kx=n({horizontalSymbol:w,verticalSymbol:R,gateSide:"top",drainSide:"right"});var Qx={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}}};var Y0=e(Qx).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var t1=o(Y0),y4=t1.primitives.filter(t=>t.type==="text"),e1=y4.find(t=>t.text==="{REF}");e1.y=0;e1.anchor="middle_left";var o1=t1;var r1={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:{minX:-.43,maxX:.43,minY:-.58,maxY:.58,width:.85,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.14,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:m4,texts:i1,bounds:V0,refblocks:Fi,circles:n4}=r1,X0=m({primitives:[...Object.values(m4),...Object.values(n4),{...i1.top1,anchor:"middle_right",x:0},{...i1.bottom1,anchor:"middle_right"}],ports:[{...Fi.top1,labels:["1","drain"]},{...Fi.bottom1,labels:["2","source"]},{...Fi.left1,labels:["3","gate"]}],size:{width:V0.width,height:V0.height},center:{x:V0.centerX,y:V0.centerY}});var l1=o(X0),a1=l1.primitives.filter(t=>t.type==="text"),Ri=a1.find(t=>t.text==="{VAL}");Ri.x=-.35;Ri.y=0;Ri.anchor="middle_right";var Ti=a1.find(t=>t.text==="{REF}");Ti.y=0;Ti.x=.35;Ti.anchor="middle_left";var p1=l1;var Y={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}}};var{paths:f4,texts:$X,bounds:L0,refblocks:Ei,circles:c4}=Y,y1=e({primitives:[...Object.values(f4),...Object.values(c4),{type:"text",text:"{REF}",x:-.1,y:.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:-.3094553499999995}],ports:[{...Ei.top1,labels:["1","collector"]},{...Ei.bottom1,labels:["3","emitter"]},{...Ei.left1,labels:["2","base"]}],size:{width:L0.width,height:L0.height},center:{x:L0.centerX,y:L0.centerY}}).rotateRightFacingSymbol("right").changeTextAnchor("{REF}","middle_right").changeTextAnchor("{VAL}","middle_right").build();var{paths:NX,texts:BX,bounds:IX,refblocks:DX,circles:qX}=Y,s1=e(Y).rotateRightFacingSymbol("up").changeTextAnchor("{VAL}","middle_left").labelPort("left1",["2","base"]).labelPort("top1",["1","collector"]).labelPort("bottom1",["3","emitter"]).changeTextAnchor("{REF}","middle_right").build();var{paths:h4,texts:ZX,bounds:z0,refblocks:Yi,circles:d4}=Y,m1=e({primitives:[...Object.values(h4),...Object.values(d4),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...Yi.top1,labels:["1","collector"]},{...Yi.bottom1,labels:["3","emitter"]},{...Yi.left1,labels:["2","base"]}],size:{width:z0.width,height:z0.height},center:{x:z0.centerX,y:z0.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_bottom").build();var{paths:_4,texts:eL,bounds:k0,refblocks:Vi,circles:b4}=Y,n1=e({primitives:[...Object.values(_4),...Object.values(b4),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...Vi.top1,labels:["1","collector"]},{...Vi.bottom1,labels:["3","emitter"]},{...Vi.left1,labels:["2","base"]}],size:{width:k0.width,height:k0.height},center:{x:k0.centerX,y:k0.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_top").changeTextAnchor("{VAL}","middle_top").build();var{paths:g4,texts:lL,bounds:j0,refblocks:Xi,circles:u4}=Y,x1=e({primitives:[...Object.values(g4),...Object.values(u4),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...Xi.top1,labels:["1","collector"]},{...Xi.bottom1,labels:["3","emitter"]},{...Xi.left1,labels:["2","base"]}],size:{width:j0.width,height:j0.height},center:{x:j0.centerX,y:j0.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:v4,texts:sL,bounds:O0,refblocks:Li,circles:w4}=Y,f1=e({primitives:[...Object.values(v4),...Object.values(w4),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...Li.top1,labels:["1","collector"]},{...Li.bottom1,labels:["3","emitter"]},{...Li.left1,labels:["2","base"]}],size:{width:O0.width,height:O0.height},center:{x:O0.centerX,y:O0.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var c1={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:{minX:-.55,maxX:.55,minY:-.55,maxY:.55,width:1.09,height:1.09,centerX:0,centerY:0},circles:{}};var{paths:A4,texts:h1,bounds:J0,refblocks:d1}=c1,$0=m({primitives:[...Object.values(A4),{...h1.bottom1,y:.35,anchor:"middle_top"},{...h1.top1,anchor:"middle_left"}],ports:[{...d1.left1,labels:["1"]},{...d1.right1,labels:["2"]}],size:{width:J0.width+.05,height:J0.height},center:{x:J0.centerX,y:J0.centerY}});var P4=o($0),_1=P4;var b1={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:{minX:-.56,maxX:.56,minY:-.29,maxY:.29,width:1.13,height:.58,centerX:0,centerY:0},circles:{}};var{paths:R4,texts:g1,bounds:M0,refblocks:u1}=b1,gt=m({primitives:[...Object.values(R4),{...g1.bottom1,x:0,y:-.35,anchor:"middle_top"},{...g1.top1,x:0,y:.35,anchor:"middle_bottom"}],ports:[{...u1.left1,labels:["1"]},{...u1.right1,labels:["2"]}],size:{width:M0.width+.05,height:M0.height},center:{x:M0.centerX,y:M0.centerY}});var zi=o(gt,"down"),ki=zi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ji=zi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ki.anchor="middle_left";ji.anchor="middle_left";ki.y+=.31;ki.x=.34;ji.y-=.31;ji.x=.34;var v1=zi;var Oi=o(gt,"left"),Ji=Oi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),$i=Oi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ji.anchor="middle_bottom";$i.anchor="middle_top";Ji.y+=.73;Ji.x=0;$i.y-=.7;$i.x=0;var w1=Oi;var Mi=o(gt,"up"),Ci=Mi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Wi=Mi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ci.anchor="middle_left";Wi.anchor="middle_left";Ci.y+=.21;Ci.x=.34;Wi.y-=.21;Wi.x=.34;var S1=Mi;var ut={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:{}};var{paths:E4,texts:zL,bounds:C0,refblocks:Ni,circles:Y4}=ut,A1=e({primitives:[...Object.values(E4),...Object.values(Y4),{type:"text",text:"{REF}",x:-.15,y:.2394553499999995},{type:"text",text:"{VAL}",x:.15,y:.2394553499999995}],ports:[{...Ni.left,labels:["1"]},{...Ni.right,labels:["3"]},{...Ni.bottom,labels:["2"]}],size:{width:C0.width,height:C0.height},center:{x:C0.centerX,y:C0.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:V4,texts:JL,bounds:W0,refblocks:Bi,circles:X4}=ut,P1=e({primitives:[...Object.values(V4),...Object.values(X4),{type:"text",text:"{REF}",x:-.3,y:-.3894553499999995},{type:"text",text:"{VAL}",x:-.3,y:.3194553499999995}],ports:[{...Bi.left,labels:["1"]},{...Bi.right,labels:["3"]},{...Bi.bottom,labels:["2"]}],size:{width:W0.width,height:W0.height},center:{x:W0.centerX,y:W0.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var F1=e(ut).labelPort("left",["1"]).labelPort("right",["3"]).labelPort("bottom",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:L4,texts:IL,bounds:N0,refblocks:Ii,circles:z4}=ut,R1=e({primitives:[...Object.values(L4),...Object.values(z4),{type:"text",text:"{REF}",x:.3,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.2894553499999995}],ports:[{...Ii.left,labels:["1"]},{...Ii.right,labels:["3"]},{...Ii.bottom,labels:["2"]}],size:{width:N0.width,height:N0.height},center:{x:N0.centerX,y:N0.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var T1={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}},texts:{top1:{type:"text",text:"{REF}",x:-.16,y:.4},bottom1:{type:"text",text:"{VAL}",x:0,y:-.4},left1:{type:"text",text:"COS \u03C6",x:-.15,y:.01}},refblocks:{left1:{x:-.54,y:.03},right1:{x:.54,y:.03}},bounds:{minX:-.57,maxX:.57,minY:-.4,maxY:.4,width:1.14,height:.79,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.04,radius:.29,color:"primary",fill:!1}}};var{paths:j4,texts:UL,bounds:B0,refblocks:E1,circles:O4}=T1,I0=m({primitives:[...Object.values(j4),...Object.values(O4),{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 \u03C6",x:0,y:.014279000000000375,anchor:"center"}],ports:[{...E1.left1,labels:["1"]},{...E1.right1,labels:["2"]}],size:{width:B0.width,height:B0.height},center:{x:B0.centerX,y:B0.centerY}});var Y1=o(I0),Gi=Y1.primitives.filter(t=>t.type==="text"),Di=Gi.find(t=>t.text==="{REF}"),Hi=Gi.find(t=>t.text==="{VAL}"),qi=Gi.find(t=>t.text==="COS \u03C6");Di.x=.35;Di.y=.4279000000000375,Di.anchor="middle_left";Hi.anchor="middle_left";Hi.x=.35;Hi.y=-.4279000000000375,qi.x=0;qi.y=.014279000000000375,qi.anchor="center";var V1=Y1;var X1={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:{minX:-.5,maxX:.5,minY:-.22,maxY:.22,width:1,height:.45,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}}};var{paths:$4,texts:L1,bounds:z1,refblocks:k1,circles:M4}=X1,D0=m({primitives:[...Object.values($4),...Object.values(M4),{...L1.top1,anchor:"middle_left"},{...L1.bottom1,anchor:"middle_left"}],ports:[{...k1.left1,labels:["1"]},{...k1.right1,labels:["2"]}],center:{x:z1.centerX,y:z1.centerY}});var j1=o(D0,"up");var q0={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:{minX:-.5,maxX:.5,minY:-.22,maxY:.22,width:1,height:.45,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}}};var{paths:W4,texts:O1,bounds:N4,refblocks:Ui,circles:B4}=q0,D=m({primitives:[...Object.values(W4),...Object.values(B4),{...O1.top1,x:0,y:.3594553499999995,anchor:"middle_bottom"},{...O1.bottom1,x:0,y:-.3594553499999995,anchor:"middle_top"}],ports:[{...Ui.left1,labels:["1"]},{...Ui.right1,labels:["2"]}],center:{x:N4.centerX,y:Ui.left1.y}});var Zi=o(D,"down"),Ki=Zi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Qi=Zi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ki.anchor="middle_bottom";Qi.anchor="middle_top";Ki.y=.4;Ki.x=.35;Qi.y=-.4;Qi.x=.35;var J1=Zi;var{paths:I4,texts:$1,bounds:D4,refblocks:tl,circles:q4}=q0,M1=m({primitives:[...Object.values(I4),...Object.values(q4),{...$1.top1,x:0,y:.3594553499999995,anchor:"middle_bottom"},{...$1.bottom1,x:0,y:-.3594553499999995,anchor:"middle_top"}],ports:[{...tl.left1,labels:["1"]},{...tl.right1,labels:["2"]}],center:{x:D4.centerX,y:tl.left1.y}});var el=o(D,"left"),ol=el.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),rl=el.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ol.anchor="middle_bottom";rl.anchor="middle_top";ol.y=.4;ol.x=0;rl.y=-.4;rl.x=0;var C1=el;var il=o(D,"up"),ll=il.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),al=il.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ll.anchor="middle_left";al.anchor="middle_left";ll.y+=.4;ll.x=.34;al.y-=.41;al.x=.34;var W1=il;var pl=o(D,"up"),yl=pl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),sl=pl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");yl.anchor="middle_left";sl.anchor="middle_left";yl.y+=.4;yl.x=.34;sl.y-=.41;sl.x=.34;var N1=pl;var vt={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}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.03}},refblocks:{left1:{x:.09,y:0}},bounds:{minX:-.57,maxX:.57,minY:-.37,maxY:.37,width:1.14,height:.74,centerX:0,centerY:0},circles:{}};var{paths:H4,texts:Yz,bounds:B1,refblocks:U4,circles:Z4}=vt,I1=e({primitives:[...Object.values(H4),...Object.values(Z4),{type:"text",text:"{REF}",x:-.14,y:-0}],ports:[{...U4.left1,labels:["1"]}],center:{x:B1.centerX,y:B1.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var{paths:K4,texts:zz,bounds:D1,refblocks:Q4,circles:t_}=vt,q1=e({primitives:[...Object.values(K4),...Object.values(t_),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...Q4.left1,labels:["1"]}],center:{x:D1.centerX,y:D1.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var{paths:e_,texts:Jz,bounds:G1,refblocks:o_,circles:r_}=vt,H1=e({primitives:[...Object.values(e_),...Object.values(r_),{type:"text",text:"{REF}",x:-.14,y:-0}],ports:[{...o_.left1,labels:["1"]}],center:{x:G1.centerX,y:G1.centerY}}).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var{paths:i_,texts:Wz,bounds:U1,refblocks:l_}=vt,Z1=e({primitives:[...Object.values(i_),{type:"text",text:"{REF}",x:-.14,y:0}],ports:[{...l_.left1,labels:["1"]}],center:{x:U1.centerX,y:U1.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var K1={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:{minX:-.55,maxX:.55,minY:-.56,maxY:.55,width:1.09,height:1.1,centerX:0,centerY:0},circles:{}};var{paths:p_,texts:Q1,bounds:G0,refblocks:H0,circles:y_}=K1,U0=m({primitives:[...Object.values(p_),...Object.values(y_),{...Q1.top1,anchor:"middle_right"},{...Q1.bottom1,anchor:"middle_right"}],ports:[{...H0.top1,labels:["1"]},{...H0.bottom1,labels:["2"]},{...H0.left1,labels:["3"]},{...H0.right1,labels:["4"]}],size:{width:G0.width,height:G0.height},center:{x:G0.centerX,y:G0.centerY}});var ml=o(U0),s_=ml.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),m_=ml.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");s_.anchor="middle_left";m_.anchor="middle_right";var tf=ml;var wt={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}},texts:{top1:{type:"text",text:"{REF}",x:-.05,y:.42},bottom1:{type:"text",text:"{VAL}",x:-.04,y:-.42}},refblocks:{left1:{x:-.47,y:.04},right1:{x:.47,y:.04}},bounds:{minX:-.49,maxX:.49,minY:-.42,maxY:.42,width:.99,height:.84,centerX:0,centerY:0},circles:{}};var{paths:x_,texts:tk,bounds:Z0,refblocks:ef,circles:f_}=wt,of=e({primitives:[...Object.values(x_),...Object.values(f_),{type:"text",text:"{REF}",x:-.2,y:.2194553499999995},{type:"text",text:"{VAL}",x:.2,y:.2194553499999995}],ports:[{...ef.left1,labels:["1"]},{...ef.right1,labels:["2"]}],size:{width:Z0.width,height:Z0.height},center:{x:Z0.centerX,y:Z0.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:c_,texts:ik,bounds:K0,refblocks:rf,circles:h_}=wt,lf=e({primitives:[...Object.values(c_),...Object.values(h_),{type:"text",text:"{REF}",x:0,y:-.1704553499999995},{type:"text",text:"{VAL}",x:0,y:.2294553499999995}],ports:[{...rf.left1,labels:["1"]},{...rf.right1,labels:["2"]}],size:{width:K0.width,height:K0.height},center:{x:K0.centerX,y:K0.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:d_,texts:yk,bounds:Q0,refblocks:af,circles:__}=wt,pf=e({primitives:[...Object.values(d_),...Object.values(__),{type:"text",text:"{REF}",x:0,y:.2294553499999995},{type:"text",text:"{VAL}",x:0,y:-.1704553499999995}],ports:[{...af.left1,labels:["1"]},{...af.right1,labels:["2"]}],size:{width:Q0.width,height:Q0.height},center:{x:Q0.centerX,y:Q0.centerY}}).rotateRightFacingSymbol("right").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var St={paths:{"left-lead":{type:"path",points:[{x:-.25,y:0},{x:-.16,y:0}],color:"primary",fill:!1,strokeWidth:.02},zigzag:{type:"path",points:[{x:-.16,y:0},{x:-.12,y:.095},{x:-.07,y:-.095},{x:-.02,y:.095},{x:.02,y:-.095},{x:.07,y:.095},{x:.12,y:-.095},{x:.16,y:0}],color:"primary",fill:!1,strokeWidth:.02},"right-lead":{type:"path",points:[{x:.16,y:0},{x:.25,y:0}],color:"primary",fill:!1,strokeWidth:.02}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.25,anchor:"middle_bottom"},bottom1:{type:"text",text:"{VAL}",x:0,y:-.25,anchor:"middle_top"}},refblocks:{left1:{x:-.25,y:0},right1:{x:.25,y:0}},bounds:{minX:-.25,maxX:.25,minY:-.25,maxY:.25,width:.5,height:.5,centerX:0,centerY:0},circles:{}};var yf=c(St,{kind:"resistor",orientation:"down"});var sf=c(St,{kind:"resistor",orientation:"left"});var mf=c(St,{kind:"resistor",orientation:"right"});var nf=c(St,{kind:"resistor",orientation:"up"});var{paths:g_,texts:Pk,bounds:to,refblocks:xf,circles:u_}=wt,ff=e({primitives:[...Object.values(g_),...Object.values(u_),{type:"text",text:"{REF}",x:.2,y:-.1404553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.1494553499999995}],ports:[{...xf.left1,labels:["1"]},{...xf.right1,labels:["2"]}],size:{width:to.width,height:to.height},center:{x:to.centerX,y:to.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var At={paths:{"left-lead":{type:"path",points:[{x:-.175,y:0},{x:-.115,y:0}],color:"primary",fill:!1,strokeWidth:.02},zigzag:{type:"path",points:[{x:-.115,y:0},{x:-.07,y:.095},{x:-.025,y:-.095},{x:.025,y:.095},{x:.07,y:-.095},{x:.115,y:0}],color:"primary",fill:!1,strokeWidth:.02},"right-lead":{type:"path",points:[{x:.115,y:0},{x:.175,y:0}],color:"primary",fill:!1,strokeWidth:.02}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.25,anchor:"middle_bottom"},bottom1:{type:"text",text:"{VAL}",x:0,y:-.25,anchor:"middle_top"}},refblocks:{left1:{x:-.175,y:0},right1:{x:.175,y:0}},bounds:{minX:-.175,maxX:.175,minY:-.25,maxY:.25,width:.35,height:.5,centerX:0,centerY:0},circles:{}};var cf=c(At,{kind:"resistor",orientation:"down"});var hf=c(At,{kind:"resistor",orientation:"left"});var df=c(At,{kind:"resistor",orientation:"right"});var _f=c(At,{kind:"resistor",orientation:"up"});var eo={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:{minX:-.79,maxX:.79,minY:-.54,maxY:.54,width:1.59,height:1.07,centerX:0,centerY:0},circles:{}};var{paths:S_,texts:bf,bounds:oo,refblocks:nl,circles:A_}=eo,Pt=m({primitives:[...Object.values(S_),...Object.values(A_),{...bf.top1,anchor:"middle_bottom"},{...bf.bottom1,anchor:"middle_top"}],ports:[{...nl.left1,labels:["1"]},{...nl.right1,labels:["2"]},{...nl.right2,labels:["3"]}],size:{width:oo.width,height:oo.height},center:{x:oo.centerX,y:oo.centerY}});var xl=o(Pt,"down"),fl=xl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),cl=xl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");fl.anchor="middle_bottom";cl.anchor="middle_top";fl.y+=.3;fl.x+=.101;cl.y-=.49999;cl.x+=1.19999;var gf=xl;var{paths:P_,texts:Hk,bounds:ro,refblocks:hl,circles:F_}=eo,io=m({primitives:[...Object.values(P_),...Object.values(F_),{type:"text",text:"{REF}",x:.01596175000000022,y:-.5308501500000009,anchor:"middle_top"},{type:"text",text:"{VAL}",x:.013116750000000454,y:.5408501499999989,anchor:"middle_bottom"}],ports:[{...hl.left1,labels:["1"]},{...hl.right1,labels:["2"]},{...hl.right2,labels:["3"]}],size:{width:ro.width,height:ro.height},center:{x:ro.centerX,y:ro.centerY}});var dl=o(Pt,"left"),_l=dl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),bl=dl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");_l.anchor="middle_bottom";bl.anchor="middle_top";_l.y+=.99;_l.x-=0;bl.y-=1.10999;bl.x=0;var uf=dl;var gl=o(Pt,"up"),ul=gl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),vl=gl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ul.anchor="middle_bottom";vl.anchor="middle_top";ul.y+=.499;ul.x=.62;vl.y-=.29999;vl.x+=.1;var vf=gl;var wf=o(io);var Sf={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:{}};var Ft=e(Sf).labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{VAL}","middle_top").changeTextAnchor("{REF}","middle_bottom").build();var wl=o(Ft,"down"),Sl=wl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Al=wl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Sl.anchor="middle_left";Al.anchor="middle_left";Sl.y+=.3;Sl.x=.3;Al.y-=.3;Al.x=.3;var Af=wl;var Pl=o(Ft,"left"),Fl=Pl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Rl=Pl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Fl.anchor="middle_bottom";Rl.anchor="middle_top";Fl.y+=.5;Fl.x=0;Rl.y-=.55;Rl.x=0;var Pf=Pl;var Tl=o(Ft,"up"),El=Tl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Yl=Tl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");El.anchor="middle_left";Yl.anchor="middle_left";El.y+=.3;El.x=.3;Yl.y-=.3;Yl.x=.3;var Ff=Tl;var Vl={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:{}};var{paths:wj,texts:Sj,bounds:Aj,refblocks:Pj,circles:Fj}=Vl,lo=e(Vl).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("bottom1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Rf=o(lo),E_=Rf.primitives.filter(t=>t.type==="text"),Tf=E_.find(t=>t.text==="{REF}");Tf.y=0;Tf.anchor="middle_left";var Ef=Rf;var ao={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:{}};var Yf=e(ao).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var Nt=e(ao).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Vf=o(Nt,"left"),Xl=Vf.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Xl.anchor="middle_bottom";Xl.y+=.4;Xl.x=0;var Xf=Vf;var Lf=o(Nt,"up"),Ll=Lf.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Ll.anchor="middle_left";Ll.y+=0;Ll.x=.2;var zf=Lf;var po={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:{}};var kf=e(po).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var Bt=e(po).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var jf=o(Bt,"left"),zl=jf.primitives.find(t=>t.type==="text"&&t.text==="{REF}");zl.anchor="middle_bottom";zl.y+=.4;zl.x=0;var Of=jf;var Jf=o(Bt,"up"),kl=Jf.primitives.find(t=>t.type==="text"&&t.text==="{REF}");kl.anchor="middle_left";kl.y+=.05;kl.x=.2;var $f=Jf;var yo={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:{}};var Mf=e(yo).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var It=e(yo).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Cf=o(It,"left"),jl=Cf.primitives.find(t=>t.type==="text"&&t.text==="{REF}");jl.anchor="middle_left";jl.y+=.5;jl.x=.2;var Wf=Cf;var Nf=o(It,"up"),Ol=Nf.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Ol.anchor="middle_left";Ol.y+=.3;Ol.x=.2;var Bf=Nf;var so={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:{}};var If=e(so).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var Dt=e(so).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Df=o(Dt,"left"),Jl=Df.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Jl.anchor="middle_left";Jl.y+=.5;Jl.x=.2;var qf=Df;var Gf=o(Dt,"up"),$l=Gf.primitives.find(t=>t.type==="text"&&t.text==="{REF}");$l.anchor="middle_left";$l.y+=.4;$l.x=.2;var Hf=Gf;var mo={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:{}};var Uf=e(mo).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var qt=e(mo).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Zf=o(qt,"left"),Ml=Zf.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Ml.anchor="middle_left";Ml.y+=.6;Ml.x=.3;var Kf=Zf;var Qf=o(qt,"up"),Cl=Qf.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Cl.anchor="middle_left";Cl.y+=.4;Cl.x=.2;var t9=Qf;var no={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:{}};var e9=e(no).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var Gt=e(no).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var o9=o(Gt,"left"),Wl=o9.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Wl.anchor="middle_left";Wl.y+=.5;Wl.x=.3;var r9=o9;var i9=o(Gt,"up"),Nl=i9.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Nl.anchor="middle_left";Nl.y+=.3;Nl.x=.2;var l9=i9;var a9={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}}};var Rt=e(a9).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right2",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Bl=o(Rt,"down"),Il=Bl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Dl=Bl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Il.anchor="middle_bottom";Dl.anchor="middle_top";Il.x=.44;Il.y+=.28;Dl.y-=.28;Dl.x=.44;var p9=Bl;var ql=o(Rt,"left"),Gl=ql.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Hl=ql.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Gl.anchor="middle_bottom";Hl.anchor="middle_top";Gl.x=0;Gl.y+=.625;Hl.y-=.695;Hl.x=0;var y9=ql;var Ul=o(Rt,"up"),Zl=Ul.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Kl=Ul.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Zl.anchor="middle_bottom";Kl.anchor="middle_top";Zl.x=.4;Zl.y+=.28;Kl.y-=.28;Kl.x=.4;var s9=Ul;var m9={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}}};var Tt=e(m9).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right3",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Ql=o(Tt,"down"),ta=Ql.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ea=Ql.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ta.anchor="middle_bottom";ea.anchor="middle_top";ta.x=.44;ta.y+=.28;ea.y-=.28;ea.x=.44;var n9=Ql;var oa=o(Tt,"left"),ra=oa.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ia=oa.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ra.anchor="middle_bottom";ia.anchor="middle_top";ra.x=0;ra.y+=.625;ia.y-=.695;ia.x=0;var x9=oa;var la=o(Tt,"up"),aa=la.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),pa=la.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");aa.anchor="middle_bottom";pa.anchor="middle_top";aa.x=.4;aa.y+=.28;pa.y-=.28;pa.x=.4;var f9=la;var W={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:{}};var c9=e(W).rotateRightFacingSymbol("down").labelPort("left1",["2","neg"]).labelPort("left2",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),xo=S(c9.primitives),h9={...c9,center:{x:(xo.minX+xo.maxX)/2,y:(xo.minY+xo.maxY)/2}};var d9=e(W).rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("left2",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),fo=S(d9.primitives),_9={...d9,center:{x:(fo.minX+fo.maxX)/2,y:(fo.minY+fo.maxY)/2}};var b9=e(W).rotateRightFacingSymbol("left").labelPort("left1",["2","neg"]).labelPort("left2",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),co=S(b9.primitives),g9={...b9,center:{x:(co.minX+co.maxX)/2,y:(co.minY+co.maxY)/2}};var u9=e(W).rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("left2",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),ho=S(u9.primitives),v9={...u9,center:{x:(ho.minX+ho.maxX)/2,y:(ho.minY+ho.maxY)/2}};var w9=e(W).rotateRightFacingSymbol("up").labelPort("left1",["2","neg"]).labelPort("left2",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),_o=S(w9.primitives),S9={...w9,center:{x:(_o.minX+_o.maxX)/2,y:(_o.minY+_o.maxY)/2}};var A9=e(W).rotateRightFacingSymbol("up").labelPort("left1",["2","neg"]).labelPort("left2",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),bo=S(A9.primitives),P9={...A9,center:{x:(bo.minX+bo.maxX)/2,y:(bo.minY+bo.maxY)/2}};var ie={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 ie.refblocks.left1;delete ie.refblocks.right1;ie.bounds.width+=.2;var Et=e(ie).changeTextAnchor("{VAL}","middle_top").labelPort("left2",["1"]).labelPort("right2",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var ya=o(Et,"down"),sa=ya.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ma=ya.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");sa.anchor="middle_bottom";ma.anchor="middle_top";sa.x=.3;sa.y+=.265;ma.y-=.265;ma.x=.3;var F9=ya;var na=o(Et,"left"),xa=na.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),fa=na.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");xa.anchor="middle_bottom";fa.anchor="middle_top";xa.x=0;xa.y+=.57;fa.y-=.57;fa.x=0;var R9=na;var ca=o(Et,"up"),ha=ca.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),da=ca.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ha.anchor="middle_bottom";da.anchor="middle_top";ha.x=.3;ha.y+=.265;da.y-=.265;da.x=.3;var T9=ca;var le={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 le.refblocks.left1;delete le.refblocks.right1;le.bounds.width+=.2;var Yt=e(le).changeTextAnchor("{VAL}","middle_top").labelPort("left2",["1"]).labelPort("right2",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var _a=o(Yt,"down"),ba=_a.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ga=_a.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ba.anchor="middle_bottom";ga.anchor="middle_top";ba.x=.3;ba.y+=.265;ga.y-=.265;ga.x=.3;var E9=_a;var ua=o(Yt,"left"),va=ua.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),wa=ua.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");va.anchor="middle_bottom";wa.anchor="middle_top";va.x=0;va.y+=.57;wa.y-=.57;wa.x=0;var Y9=ua;var Sa=o(Yt,"up"),Aa=Sa.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Pa=Sa.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Aa.anchor="middle_bottom";Pa.anchor="middle_top";Aa.x=.3;Aa.y+=.265;Pa.y-=.265;Pa.x=.3;var V9=Sa;var Vt={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:{}};var X9=e(Vt).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();var L9=e(Vt).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();var z9=e(Vt).rotateRightFacingSymbol("right").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var k9=e(Vt).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();var Fa={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:{}};var{paths:M$,texts:C$,bounds:W$,refblocks:N$,circles:B$}=Fa,go=e(Fa).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var j9=o(go);var O9={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:"RPM",x:0,y:-.02}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{minX:-.53,maxX:.53,minY:0,maxY:0,width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}};var{paths:B_,texts:I_,bounds:uo,refblocks:J9,circles:D_}=O9,ae=m({primitives:[...Object.values(B_),...Object.values(D_),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...I_.left1,y:.01,anchor:"center",fontSize:.2}],ports:[{...J9.left1,labels:["1"]},{...J9.right1,labels:["2"]}],size:{width:uo.width,height:uo.height},center:{x:uo.centerX,y:uo.centerY}});var{5:q_,...G_}=ae.primitives;function H_(t){return typeof t=="object"}var $9=o({...ae,primitives:Object.values(G_).filter(H_)}),M9={...$9,primitives:[...$9.primitives,q_]};var Xt=m({primitives:[{type:"path",points:[{x:-.2,y:0},{x:0,y:0}],color:"primary",fill:!1},{type:"path",points:Array.from({length:32},(t,i)=>{let r=Math.PI/2-i*Math.PI/31,p=.1;return{x:.1-p*Math.cos(r),y:p*Math.sin(r)}}),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}});var W9=o(Xt,"down"),C9=W9.primitives.find(t=>t.type==="text"&&t.text==="{REF}");C9&&(C9.anchor="middle_top");var N9=W9;var B9=o(Xt,"left");var D9=o(Xt,"up"),I9=D9.primitives.find(t=>t.type==="text"&&t.text==="{REF}");I9&&(I9.anchor="middle_bottom");var q9=D9;var G9={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:{}};var Ht=e(G9).labelPort("right1",["1"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Ra=o(Ht,"up"),Ta=Ra.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ea=Ra.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ta.anchor="middle_bottom";Ea.anchor="middle_top";Ta.x=.4;Ta.y+=.2;Ea.y-=.3;Ea.x=.4;var vo=Ra;var Ya=V(vo),Va=Ya.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Xa=Ya.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Va.anchor="middle_bottom";Xa.anchor="middle_top";Va.x=.35;Va.y+=.4;Xa.y-=.4;Xa.x=.35;var H9=Ya;var La=o(Ht,"left"),za=La.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ka=La.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");za.anchor="middle_bottom";ka.anchor="middle_top";za.x=0;za.y+=.5;ka.y-=.6;ka.x=0;var U9=La;var ja={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}}};var{paths:EM,texts:YM,bounds:VM,refblocks:XM,circles:LM}=ja,wo=e(ja).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("bottom1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Z9=o(wo),K9=Z9.primitives.filter(t=>t.type==="text"),K_=K9.find(t=>t.text==="{REF}"),Q_=K9.find(t=>t.text==="{VAL}");K_.y=0;Q_.y=0;var Q9=Z9;var tc={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:{minX:-.55,maxX:.55,minY:-.27,maxY:.27,width:1.09,height:.55,centerX:0,centerY:0},circles:{}};var{paths:e3,texts:ec,bounds:So,refblocks:oc,circles:o3}=tc,Ao=m({primitives:[...Object.values(e3),...Object.values(o3),{...ec.top1,anchor:"middle_bottom"},{...ec.bottom1,anchor:"middle_top"}],ports:[{...oc.left1,labels:["1"]},{...oc.right1,labels:["2"]}],size:{width:So.width,height:So.height},center:{x:So.centerX,y:So.centerY}});var Oa=o(Ao),r3=Oa.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),i3=Oa.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");r3.anchor="middle_left";i3.anchor="middle_right";var rc=Oa;var ic={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:{minX:-.37,maxX:.37,minY:-.42,maxY:.42,width:.74,height:.85,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.08,y:.01,radius:.29,color:"primary",fill:!1}}};var{paths:a3,texts:lc,bounds:Po,refblocks:Ja,circles:p3}=ic,Fo=m({primitives:[...Object.values(a3),...Object.values(p3),{...lc.top1,anchor:"middle_left"},{...lc.bottom1,anchor:"middle_right"}],ports:[{...Ja.top1,labels:["1"]},{...Ja.bottom1,labels:["2"]},{...Ja.left1,labels:["3"]}],size:{width:Po.width,height:Po.height},center:{x:Po.centerX,y:Po.centerY}});var ac=o(Fo),pc=ac.primitives.filter(t=>t.type==="text"),y3=pc.find(t=>t.text==="{REF}");y3.y=.1;var yc=pc.find(t=>t.text==="{VAL}");yc.y=.1;yc.x=-.4;var sc=ac;var mc={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}};var nc=e(mc).changeTextAnchor("{REF}","middle_bottom").build();var xc={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:{minX:-.53,maxX:.53,minY:0,maxY:0,width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}};var{paths:n3,texts:$a,bounds:Ro,refblocks:fc,circles:x3}=xc,To=m({primitives:[...Object.values(n3),...Object.values(x3),{...$a.top1,x:0,y:-.3594553499999995,anchor:"middle_top"},{...$a.bottom1,x:0,y:.35,anchor:"middle_bottom"},{...$a.left1,x:-.02,y:.01,fontSize:.2,anchor:"center"}],ports:[{...fc.left1,labels:["1"]},{...fc.right1,labels:["2"]}],size:{width:Ro.width,height:Ro.height},center:{x:Ro.centerX,y:Ro.centerY}});var cc=o(To);var hc={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:{minX:-.55,maxX:.55,minY:-.27,maxY:.27,width:1.09,height:.55,centerX:0,centerY:0},circles:{}};var{paths:c3,texts:dc,bounds:Eo,refblocks:_c,circles:h3}=hc,Yo=m({primitives:[...Object.values(c3),...Object.values(h3),{...dc.top1,anchor:"middle_bottom"},{...dc.bottom1,anchor:"middle_top"}],ports:[{..._c.left1,labels:["1"]},{..._c.right1,labels:["2"]}],size:{width:Eo.width,height:Eo.height},center:{x:Eo.centerX,y:Eo.centerY}});var Ma=o(Yo),d3=Ma.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),_3=Ma.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");d3.anchor="middle_left";_3.anchor="middle_right";var bc=Ma;var gc={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:0}],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:0}},bounds:{minX:-.57,maxX:.57,minY:-.25,maxY:.25,width:1.13,height:.5,centerX:0,centerY:0},circles:{}};var{paths:g3,texts:uc,bounds:Vo,refblocks:vc}=gc,Xo=m({primitives:[...Object.values(g3),{...uc.top1,x:0,anchor:"middle_bottom"},{...uc.bottom1,x:0,anchor:"middle_top"}],ports:[{...vc.left1,labels:["1","-"]},{...vc.right1,labels:["2","+"]}],size:{width:Vo.width,height:Vo.height},center:{x:Vo.centerX,y:Vo.centerY}});var wc=o(Xo),Sc=wc.primitives.filter(t=>t.type==="text"),Ca=Sc.find(t=>t.text==="{REF}"),Wa=Sc.find(t=>t.text==="{VAL}");Ca.x=.3;Ca.y=.15;Ca.anchor="middle_left";Wa.x=.3;Wa.y=-.15;Wa.anchor="middle_left";var Ac=wc;var Pc={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:0,y:-.02}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{minX:-.53,maxX:.53,minY:0,maxY:0,width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}};var{paths:v3,texts:w3,bounds:Lo,refblocks:Fc,circles:S3}=Pc,pe=m({primitives:[...Object.values(v3),...Object.values(S3),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...w3.left1,anchor:"center",y:.02,fontSize:.2}],ports:[{...Fc.left1,labels:["1"]},{...Fc.right1,labels:["2"]}],size:{width:Lo.width,height:Lo.height},center:{x:Lo.centerX,y:Lo.centerY}});var{5:A3,...P3}=pe.primitives;function F3(t){return typeof t=="object"}var Rc=o({...pe,primitives:Object.values(P3).filter(F3)}),Tc={...Rc,primitives:[...Rc.primitives,A3]};var Lt={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 G(t,i){let{width:r,height:p}=t.size,y=1,a=1;i.width!==void 0&&i.height!==void 0?(y=i.width/r,a=i.height/p):i.width!==void 0?y=a=i.width/r:i.height!==void 0&&(y=a=i.height/p);let f=t.primitives.map(x=>{switch(x.type){case"path":return{...x,points:x.points.map(d=>({x:d.x*y,y:d.y*a}))};case"text":return{...x,x:x.x*y,y:x.y*a,fontSize:x.fontSize?x.fontSize*y:void 0};case"circle":return{...x,x:x.x*y,y:x.y*a,radius:x.radius*y};case"box":return{...x,x:x.x*y,y:x.y*a,width:x.width*y,height:x.height*a};default:return x}});return{...t,primitives:f,center:{x:t.center.x*y,y:t.center.y*a},ports:t.ports.map(x=>({...x,x:x.x*y,y:x.y*a})),size:{width:r*y,height:p*a}}}var T3=e(Lt).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build(),Ec=G(T3,{width:.24,height:.23});var E3=e(Lt).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build(),Yc=G(E3,{width:.23,height:.24});var Y3=e(Lt).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build(),Vc=G(Y3,{width:.23,height:.24});var V3=e(Lt).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build(),Xc=G(V3,{width:.24,height:.23});var ye={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}}};var{paths:ZC,texts:KC,bounds:QC,circles:tW,refblocks:eW}=ye,Lc=e(ye).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:L3,texts:lW,bounds:zc,circles:z3,refblocks:kc}=ye,k3=e({primitives:[...Object.values(L3),...Object.values(z3),{type:"text",text:"{REF}",x:-.2,y:.35},{type:"text",text:"{VAL}",x:.2,y:.35}],ports:[{...kc.left1,labels:["left1"]},{...kc.right1,labels:["right1"]}],center:{x:zc.centerX,y:zc.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),jc=k3;var Oc={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:"Wh",x:0,y:-.02}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{minX:-.53,maxX:.53,minY:0,maxY:0,width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}};var{paths:O3,texts:J3,bounds:zo,refblocks:Jc,circles:$3}=Oc,se=m({primitives:[...Object.values(O3),...Object.values($3),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...J3.left1,anchor:"center",y:.01,fontSize:.2}],ports:[{...Jc.left1,labels:["1"]},{...Jc.right1,labels:["2"]}],size:{width:zo.width,height:zo.height},center:{x:zo.centerX,y:zo.centerY}});var{5:M3,...C3}=se.primitives;function W3(t){return typeof t=="object"}var $c=o({...se,primitives:Object.values(C3).filter(W3)}),Mc={...$c,primitives:[...$c.primitives,M3]};var Cc={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:"W",x:0,y:-.02}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{minX:-.53,maxX:.53,minY:0,maxY:0,width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}};var{paths:B3,texts:I3,bounds:ko,refblocks:Wc,circles:D3}=Cc,me=m({primitives:[...Object.values(B3),...Object.values(D3),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...I3.left1,anchor:"center",y:.01,fontSize:.3}],ports:[{...Wc.left1,labels:["1"]},{...Wc.right1,labels:["2"]}],size:{width:ko.width,height:ko.height},center:{x:ko.centerX,y:ko.centerY}});var{5:q3,...G3}=me.primitives;function H3(t){return typeof t=="object"}var Nc=o({...me,primitives:Object.values(G3).filter(H3)}),Bc={...Nc,primitives:[...Nc.primitives,q3]};var jo={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:{}};var Ic=e(jo).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Z3,bounds:Oo,refblocks:Dc,circles:K3}=jo,qc=e({primitives:[...Object.values(Z3),...Object.values(K3),{type:"text",text:"{REF}",x:.15,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2294553499999995}],ports:[{...Dc.left1,labels:["1"]},{...Dc.right1,labels:["2"]}],size:{width:Oo.width,height:Oo.height},center:{x:Oo.centerX,y:Oo.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Gc={ac_voltmeter_down:Ga,ac_voltmeter_horz:Ua,ac_voltmeter_left:Ka,ac_voltmeter_right:tp,ac_voltmeter_up:op,ac_voltmeter_vert:ip,avalanche_diode_down:ap,avalanche_diode_horz:pp,avalanche_diode_left:sp,avalanche_diode_right:mp,avalanche_diode_up:xp,avalanche_diode_vert:cp,backward_diode_down:dp,backward_diode_left:Pe,backward_diode_right:gp,backward_diode_up:up,battery_down:Sp,battery_horz:Te,battery_left:Tp,battery_right:Vp,battery_up:zp,battery_vert:kp,boxresistor_down:Jp,boxresistor_left:Cp,boxresistor_right:Bp,boxresistor_sm_down:Ip,boxresistor_sm_left:Dp,boxresistor_sm_right:qp,boxresistor_sm_up:Gp,boxresistor_small_down:Up,boxresistor_small_left:Kp,boxresistor_small_right:ty,boxresistor_small_up:oy,boxresistor_up:ly,boxresistor_xs_down:ay,boxresistor_xs_left:py,boxresistor_xs_right:yy,boxresistor_xs_up:sy,bridged_ground_down:xy,bridged_ground_left:hy,bridged_ground_right:Le,bridged_ground_up:by,capacitor_down:uy,capacitor_left:vy,capacitor_polarized_down:wy,capacitor_polarized_left:Sy,capacitor_polarized_right:Ay,capacitor_polarized_up:Py,capacitor_right:Fy,capacitor_sm_down:Ry,capacitor_sm_left:Ty,capacitor_sm_right:Ey,capacitor_sm_up:Yy,capacitor_up:Xy,capacitor_xs_down:Ly,capacitor_xs_left:zy,capacitor_xs_right:ky,capacitor_xs_up:jy,constant_current_diode_down:Jy,constant_current_diode_horz:$y,constant_current_diode_left:Cy,constant_current_diode_right:Wy,constant_current_diode_up:By,constant_current_diode_vert:Dy,crystal_4pin_down:qy,crystal_4pin_left:Gy,crystal_4pin_right:Hy,crystal_4pin_up:Uy,crystal_down:Ky,crystal_left:Qy,crystal_right:ts,crystal_up:os,current_source_down:rs,current_source_left:is,current_source_right:ls,current_source_up:as,darlington_pair_transistor_down:ps,darlington_pair_transistor_horz:ys,darlington_pair_transistor_left:ss,darlington_pair_transistor_right:ms,darlington_pair_transistor_up:ns,darlington_pair_transistor_vert:xs,dc_ammeter_down:te,dc_ammeter_horz:B,dc_ammeter_left:ds,dc_ammeter_right:_s,dc_ammeter_up:bs,dc_ammeter_vert:te,dc_voltmeter_down:us,dc_voltmeter_horz:ws,dc_voltmeter_left:As,dc_voltmeter_right:Fs,dc_voltmeter_up:Ts,dc_voltmeter_vert:Ys,diac_down:Vs,diac_horz:Xs,diac_left:Ls,diac_right:zs,diac_up:ks,diac_vert:js,digital_ground_down:Js,digital_ground_left:Ms,digital_ground_right:Ws,digital_ground_up:Bs,diode_down:Ds,diode_left:qs,diode_right:yt,diode_up:Gs,dpdt_normally_closed_switch_down:Us,dpdt_normally_closed_switch_left:Zs,dpdt_normally_closed_switch_right:st,dpdt_normally_closed_switch_up:Ks,dpdt_switch_down:tm,dpdt_switch_left:em,dpdt_switch_right:mt,dpdt_switch_up:om,dpst_normally_closed_switch_down:im,dpst_normally_closed_switch_left:lm,dpst_normally_closed_switch_right:nt,dpst_normally_closed_switch_up:am,dpst_switch_down:ym,dpst_switch_left:sm,dpst_switch_right:xt,dpst_switch_up:mm,ferrite_bead_down:xm,ferrite_bead_left:fm,ferrite_bead_right:o0,ferrite_bead_up:e0,filled_diode_down:hm,filled_diode_horz:_m,filled_diode_left:gm,filled_diode_right:vm,filled_diode_up:Sm,filled_diode_vert:Pm,frequency_meter_horz:ee,frequency_meter_vert:Em,fuse_horz:n0,fuse_vert:Xm,ground_down:Lm,ground_horz:zm,ground_left:km,ground_right:jm,ground_up:Om,ground_vert:Jm,gunn_diode_horz:$m,gunn_diode_vert:Mm,icled_down:Wm,icled_left:Nm,icled_right:ft,icled_up:Bm,igbt_transistor_horz:x0,igbt_transistor_vert:qm,illuminated_push_button_normally_open_horz:f0,illuminated_push_button_normally_open_vert:Zm,inductor_down:Km,inductor_left:Qm,inductor_right:tn,inductor_up:en,laser_diode_down:on,laser_diode_left:rn,laser_diode_right:ht,laser_diode_up:ln,led_down:sn,led_left:mn,led_right:Jt,led_up:h0,light_dependent_resistor_horz:_0,light_dependent_resistor_vert:dn,mosfet_depletion_normally_on_horz:b0,mosfet_depletion_normally_on_vert:wn,mushroom_head_normally_open_momentary_horz:u0,mushroom_head_normally_open_momentary_vert:Fn,n_channel_d_mosfet_transistor_gate_bottom_drain_left:Ln,n_channel_d_mosfet_transistor_gate_bottom_drain_right:zn,n_channel_d_mosfet_transistor_gate_left_drain_bottom:kn,n_channel_d_mosfet_transistor_gate_left_drain_top:jn,n_channel_d_mosfet_transistor_gate_right_drain_bottom:On,n_channel_d_mosfet_transistor_gate_right_drain_top:Jn,n_channel_d_mosfet_transistor_gate_top_drain_left:$n,n_channel_d_mosfet_transistor_gate_top_drain_right:Mn,n_channel_d_mosfet_transistor_horz:g,n_channel_d_mosfet_transistor_vert:A,n_channel_e_mosfet_transistor_gate_bottom_drain_left:qn,n_channel_e_mosfet_transistor_gate_bottom_drain_right:Gn,n_channel_e_mosfet_transistor_gate_left_drain_bottom:Hn,n_channel_e_mosfet_transistor_gate_left_drain_top:Un,n_channel_e_mosfet_transistor_gate_right_drain_bottom:Zn,n_channel_e_mosfet_transistor_gate_right_drain_top:Kn,n_channel_e_mosfet_transistor_gate_top_drain_left:Qn,n_channel_e_mosfet_transistor_gate_top_drain_right:tx,n_channel_e_mosfet_transistor_horz:u,n_channel_e_mosfet_transistor_vert:P,njfet_transistor_horz:S0,njfet_transistor_vert:lx,not_connected_down:yx,not_connected_left:sx,not_connected_right:dt,not_connected_up:mx,npn_bipolar_transistor_down:nx,npn_bipolar_transistor_horz:xx,npn_bipolar_transistor_left:fx,npn_bipolar_transistor_right:cx,npn_bipolar_transistor_up:hx,npn_bipolar_transistor_vert:dx,opamp_no_power_down:bx,opamp_no_power_left:gx,opamp_no_power_right:_t,opamp_no_power_up:ux,opamp_with_power_down:wx,opamp_with_power_left:Sx,opamp_with_power_right:bt,opamp_with_power_up:Ax,p_channel_d_mosfet_transistor_gate_bottom_drain_left:Vx,p_channel_d_mosfet_transistor_gate_bottom_drain_right:Xx,p_channel_d_mosfet_transistor_gate_left_drain_bottom:Lx,p_channel_d_mosfet_transistor_gate_left_drain_top:zx,p_channel_d_mosfet_transistor_gate_right_drain_bottom:kx,p_channel_d_mosfet_transistor_gate_right_drain_top:jx,p_channel_d_mosfet_transistor_gate_top_drain_left:Ox,p_channel_d_mosfet_transistor_gate_top_drain_right:Jx,p_channel_d_mosfet_transistor_horz:v,p_channel_d_mosfet_transistor_vert:F,p_channel_e_mosfet_transistor_gate_bottom_drain_left:Ix,p_channel_e_mosfet_transistor_gate_bottom_drain_right:Dx,p_channel_e_mosfet_transistor_gate_left_drain_bottom:qx,p_channel_e_mosfet_transistor_gate_left_drain_top:Gx,p_channel_e_mosfet_transistor_gate_right_drain_bottom:Hx,p_channel_e_mosfet_transistor_gate_right_drain_top:Ux,p_channel_e_mosfet_transistor_gate_top_drain_left:Zx,p_channel_e_mosfet_transistor_gate_top_drain_right:Kx,p_channel_e_mosfet_transistor_horz:w,p_channel_e_mosfet_transistor_vert:R,photodiode_horz:Y0,photodiode_vert:o1,pjfet_transistor_horz:X0,pjfet_transistor_vert:p1,pnp_bipolar_transistor_down:y1,pnp_bipolar_transistor_horz:s1,pnp_bipolar_transistor_left:m1,pnp_bipolar_transistor_right:n1,pnp_bipolar_transistor_up:x1,pnp_bipolar_transistor_vert:f1,potentiometer_horz:$0,potentiometer_vert:_1,potentiometer2_down:v1,potentiometer2_left:w1,potentiometer2_right:gt,potentiometer2_up:S1,potentiometer3_down:A1,potentiometer3_left:P1,potentiometer3_right:F1,potentiometer3_up:R1,power_factor_meter_horz:I0,power_factor_meter_vert:V1,push_button_normally_closed_momentary_horz:D0,push_button_normally_closed_momentary_vert:j1,push_button_normally_open_momentary_down:J1,push_button_normally_open_momentary_horz:M1,push_button_normally_open_momentary_left:C1,push_button_normally_open_momentary_right:D,push_button_normally_open_momentary_up:W1,push_button_normally_open_momentary_vert:N1,rail_down:I1,rail_left:q1,rail_right:H1,rail_up:Z1,rectifier_diode_horz:U0,rectifier_diode_vert:tf,resistor_down:of,resistor_left:lf,resistor_right:pf,resistor_sm_down:yf,resistor_sm_left:sf,resistor_sm_right:mf,resistor_sm_up:nf,resistor_up:ff,resistor_xs_down:cf,resistor_xs_left:hf,resistor_xs_right:df,resistor_xs_up:_f,resonator_down:gf,resonator_horz:io,resonator_left:uf,resonator_right:Pt,resonator_up:vf,resonator_vert:wf,schottky_diode_down:Af,schottky_diode_left:Pf,schottky_diode_right:Ft,schottky_diode_up:Ff,silicon_controlled_rectifier_horz:lo,silicon_controlled_rectifier_vert:Ef,solderjumper2_bridged12_down:Yf,solderjumper2_bridged12_left:Xf,solderjumper2_bridged12_right:Nt,solderjumper2_bridged12_up:zf,solderjumper2_down:kf,solderjumper2_left:Of,solderjumper2_right:Bt,solderjumper2_up:$f,solderjumper3_bridged12_down:Mf,solderjumper3_bridged12_left:Wf,solderjumper3_bridged12_right:It,solderjumper3_bridged12_up:Bf,solderjumper3_bridged123_down:If,solderjumper3_bridged123_left:qf,solderjumper3_bridged123_right:Dt,solderjumper3_bridged123_up:Hf,solderjumper3_bridged23_down:Uf,solderjumper3_bridged23_left:Kf,solderjumper3_bridged23_right:qt,solderjumper3_bridged23_up:t9,solderjumper3_down:e9,solderjumper3_left:r9,solderjumper3_right:Gt,solderjumper3_up:l9,spdt_normally_closed_switch_down:p9,spdt_normally_closed_switch_left:y9,spdt_normally_closed_switch_right:Rt,spdt_normally_closed_switch_up:s9,spdt_switch_down:n9,spdt_switch_left:x9,spdt_switch_right:Tt,spdt_switch_up:f9,speaker_down:h9,speaker_horz:_9,speaker_left:g9,speaker_right:v9,speaker_up:S9,speaker_vert:P9,spst_normally_closed_switch_down:F9,spst_normally_closed_switch_left:R9,spst_normally_closed_switch_right:Et,spst_normally_closed_switch_up:T9,spst_switch_down:E9,spst_switch_left:Y9,spst_switch_right:Yt,spst_switch_up:V9,square_wave_down:X9,square_wave_left:L9,square_wave_right:z9,square_wave_up:k9,step_recovery_diode_horz:go,step_recovery_diode_vert:j9,tachometer_horz:ae,tachometer_vert:M9,testpoint_down:N9,testpoint_left:B9,testpoint_right:Xt,testpoint_up:q9,tilted_ground_down:H9,tilted_ground_left:U9,tilted_ground_right:Ht,tilted_ground_up:vo,triac_horz:wo,triac_vert:Q9,tunnel_diode_horz:Ao,tunnel_diode_vert:rc,unijunction_transistor_horz:Fo,unijunction_transistor_vert:sc,usbc:nc,var_meter_horz:To,var_meter_vert:cc,varactor_diode_horz:Yo,varactor_diode_vert:bc,varistor_horz:Xo,varistor_vert:Ac,varmeter_horz:pe,varmeter_vert:Tc,vcc_down:Ec,vcc_left:Yc,vcc_right:Vc,vcc_up:Xc,volt_meter_horz:Lc,volt_meter_vert:jc,watt_hour_meter_horz:se,watt_hour_meter_vert:Mc,wattmeter_horz:me,wattmeter_vert:Bc,zener_diode_horz:Ic,zener_diode_vert:qc};var T=(t,i=!0)=>i?-t:t;var kt=t=>{switch(t){case"primary":return"black";case"secondary":return"gray";default:return t}};function Hc(t,{closed:i=!1,yUpPositive:r=!0}){let p=t.map((y,a)=>`${a===0?"M":"L"}${y.x},${T(y.y,r)}`).join(" ");return i?`${p} Z`:p}function Q3(t,i=.05,r=!0){let{x:p,y}=t,a=i/2;return`<path d="M ${p} ${T(y,r)-a} L ${p+a} ${T(y,r)} L ${p} ${T(y,r)+a} L ${p-a} ${T(y,r)} Z" fill="green" />`}function tb(t,{yUpPositive:i}){let{x:r,y:p,text:y,fontSize:a=.1,anchor:f}=t,x,d=0,l=0,s=a*.75;switch(f){case"top_left":x="start",l=a;break;case"top_right":x="end",l=a;break;case"bottom_left":x="start";break;case"bottom_right":x="end";break;case"center":x="middle",l=a/2;break;case"middle_top":x="middle",l=s;break;case"middle_bottom":x="middle";break;case"middle_left":x="start",l=s/2;break;case"middle_right":x="end",l=s/2;break}return{text:`<text x="${r}" y="${T(p,i)}" dx="${d}" dy="${l}" text-anchor="${x}" style="font: ${a??.1}px monospace; fill: ${kt("primary")}">${y}</text>`,anchor:`<rect x="${r-.025/2}" y="${T(p,i)-.025/2}" width="0.025" height="0.025" fill="blue" />`}}function eb(t,{yUpPositive:i}){let{x:r,y:p,labels:y}=t,a=.05,f=.08,x=y[0]||"";return`
7
7
  ${`
8
8
  <line x1="${r-a/2}" y1="${T(p,i)-a/2}" x2="${r+a/2}" y2="${T(p,i)+a/2}" stroke="red" stroke-width="0.004" />
9
9
  <line x1="${r-a/2}" y1="${T(p,i)+a/2}" x2="${r+a/2}" y2="${T(p,i)-a/2}" stroke="red" stroke-width="0.004" />
10
10
  `}
11
11
  <text x="${r-f/2}" y="${T(p,i)+a+f/2}"
12
12
  text-anchor="middle" style="font: ${f}px monospace; fill: #833;">${x}</text>
13
- `}function Dc(t,i={}){let{debug:r=!1}=i,{primitives:p,size:y,ports:a}=t,f=p.map(s=>{switch(s.type){case"path":return`<path d="${Ic(s.points,{closed:s.closed,yUpPositive:!0})}" fill="${s.fill?kt(s.color):"none"}" stroke="${kt(s.color)}" stroke-width="${s.strokeWidth??.02}" stroke-linecap="round" stroke-linejoin="round" />`;case"text":let h=U3(s,{yUpPositive:!0});return h.text+(r?h.anchor:"");case"circle":return`<circle cx="${s.x}" cy="${T(s.y,!0)}" r="${s.radius}" fill="${s.fill?kt(s.color):"none"}" ${s.fill?"":`stroke="${kt(s.color)}" stroke-width="0.02"`} />`;case"box":return`<rect x="${s.x}" y="${T(s.y)}" width="${s.width}" height="${s.height}" fill="${kt("primary")}" />`;default:return""}}),x=a.map(s=>Z3(s,{yUpPositive:!0})).join(`
14
- `),d=H3(t.center),l=[];if(r){let s={x:t.center.x-y.width/2,y:t.center.y-y.height/2};l.push(`<text x="${s.x}" y="${s.y}" style="font: 0.05px monospace; fill: #833;">${y.width.toFixed(2)} x ${y.height.toFixed(2)}</text>`),a.forEach((h,b)=>{if(h.labels.length>1){let _=h.labels.slice(1).join(", ");l.push(`<text x="${s.x}" y="${s.y-(b+1)*.05}" dy="-0.15" style="font: 0.05px monospace; fill: #833;">${h.labels[0]} [${_}]</text>`)}}),l.push(...l)}return[f.join(`
13
+ `}function Uc(t,i={}){let{debug:r=!1}=i,{primitives:p,size:y,ports:a}=t,f=p.map(s=>{switch(s.type){case"path":return`<path d="${Hc(s.points,{closed:s.closed,yUpPositive:!0})}" fill="${s.fill?kt(s.color):"none"}" stroke="${kt(s.color)}" stroke-width="${s.strokeWidth??.02}" stroke-linecap="round" stroke-linejoin="round" />`;case"text":let h=tb(s,{yUpPositive:!0});return h.text+(r?h.anchor:"");case"circle":return`<circle cx="${s.x}" cy="${T(s.y,!0)}" r="${s.radius}" fill="${s.fill?kt(s.color):"none"}" ${s.fill?"":`stroke="${kt(s.color)}" stroke-width="0.02"`} />`;case"box":return`<rect x="${s.x}" y="${T(s.y)}" width="${s.width}" height="${s.height}" fill="${kt("primary")}" />`;default:return""}}),x=a.map(s=>eb(s,{yUpPositive:!0})).join(`
14
+ `),d=Q3(t.center),l=[];if(r){let s={x:t.center.x-y.width/2,y:t.center.y-y.height/2};l.push(`<text x="${s.x}" y="${s.y}" style="font: 0.05px monospace; fill: #833;">${y.width.toFixed(2)} x ${y.height.toFixed(2)}</text>`),a.forEach((h,b)=>{if(h.labels.length>1){let _=h.labels.slice(1).join(", ");l.push(`<text x="${s.x}" y="${s.y-(b+1)*.05}" dy="-0.15" style="font: 0.05px monospace; fill: #833;">${h.labels[0]} [${_}]</text>`)}}),l.push(...l)}return[f.join(`
15
15
  `),x,d,...l].join(`
16
- `)}function K3(t,i={}){let{size:r}=t,p=Dc(t,i),{width:y,height:a}=i,f=1.2,x=r.width*f,d=r.height*f,l={x:t.center.x-x/2,y:T(t.center.y,!0)-d/2,width:x,height:d};return y&&!a?a=y*(l.height/l.width):!y&&a?y=a*(l.width/l.height):!y&&!a&&(y=l.width,a=l.height),`<svg width="${y}" height="${a}" viewBox="${l.x} ${l.y} ${l.width} ${l.height}" xmlns="http://www.w3.org/2000/svg">${p}</svg>`}var mU=Object.fromEntries(Object.keys(Bc).map(t=>[t,t]));export{mU as BASE_SYMBOLS,Dc as getInnerSvg,K3 as getSvg,G as resizeSymbol,Bc as symbols};
16
+ `)}function ob(t,i={}){let{size:r}=t,p=Uc(t,i),{width:y,height:a}=i,f=1.2,x=r.width*f,d=r.height*f,l={x:t.center.x-x/2,y:T(t.center.y,!0)-d/2,width:x,height:d};return y&&!a?a=y*(l.height/l.width):!y&&a?y=a*(l.width/l.height):!y&&!a&&(y=l.width,a=l.height),`<svg width="${y}" height="${a}" viewBox="${l.x} ${l.y} ${l.width} ${l.height}" xmlns="http://www.w3.org/2000/svg">${p}</svg>`}var cU=Object.fromEntries(Object.keys(Gc).map(t=>[t,t]));export{cU as BASE_SYMBOLS,Uc as getInnerSvg,ob as getSvg,G as resizeSymbol,Gc as symbols};
17
17
  //# sourceMappingURL=index.js.map