schematic-symbols 0.0.192 → 0.0.193

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
@@ -3,7 +3,7 @@ function b(t,o){return Array.isArray(o)?[t.a*o[0]+t.c*o[1]+t.e,t.b*o[0]+t.d*o[1]
3
3
  `+c+` |
4
4
  `+y.line+" | "+p+`
5
5
  `+c+" | "+yo("",a.column-1," ")+yo("",f,"^")}else o+=`
6
- at `+n}return o};Lt.buildMessage=function(t,o){var i={literal:function(p){return'"'+a(p.text)+'"'},class:function(p){var x=p.parts.map(function(f){return Array.isArray(f)?y(f[0])+"-"+y(f[1]):y(f)});return"["+(p.inverted?"^":"")+x.join("")+"]"},any:function(){return"any character"},end:function(){return"end of input"},other:function(p){return p.description}};function l(p){return p.charCodeAt(0).toString(16).toUpperCase()}function a(p){return p.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(x){return"\\x0"+l(x)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(x){return"\\x"+l(x)})}function y(p){return p.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(x){return"\\x0"+l(x)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(x){return"\\x"+l(x)})}function n(p){return i[p.type](p)}function m(p){var x=p.map(n),f,d;if(x.sort(),x.length>0){for(f=1,d=1;f<x.length;f++)x[f-1]!==x[f]&&(x[d]=x[f],d++);x.length=d}switch(x.length){case 1:return x[0];case 2:return x[0]+" or "+x[1];default:return x.slice(0,-1).join(", ")+", or "+x[x.length-1]}}function c(p){return p?'"'+a(p)+'"':"end of input"}return"Expected "+m(t)+" but "+c(o)+" found."};function ct(t){if(t.length===0)return{minX:0,maxX:0,minY:0,maxY:0};let o=1/0,i=-1/0,l=1/0,a=-1/0,y=n=>{o=Math.min(o,n.x),i=Math.max(i,n.x),l=Math.min(l,n.y),a=Math.max(a,n.y)};return t.forEach(n=>{switch(n.type){case"path":n.points.forEach(y);break;case"text":y({x:n.x,y:n.y});break;case"circle":{let{x:m,y:c,radius:p}=n;y({x:m-p,y:c-p}),y({x:m+p,y:c+p});break}case"box":{let{x:m,y:c,width:p,height:x}=n,f=p/2,d=x/2;y({x:m-f,y:c-d}),y({x:m+f,y:c+d});break}}}),{minX:o,maxX:i,minY:l,maxY:a}}var Wf=(t,o="right")=>{switch(o){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},X=(t,o)=>{let{primitives:i,center:l,ports:a,size:y}=t,n=Y({a:1,b:0,c:0,d:-1,e:0,f:2*l.y}),m=i.map(p=>{switch(p={...p},p.type){case"path":return{...p,points:p.points.map(h=>b(n,h))};case"text":let x=b(n,{x:p.x,y:p.y}),f={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{...p,x:x.x,y:x.y,anchor:f[p.anchor]};case"circle":case"box":let d=b(n,{x:p.x,y:p.y});return{...p,x:d.x,y:d.y}}}),c=a.map(p=>({...p,...b(n,p)}));return{primitives:m,center:l,ports:c,size:y,...o}},E=(t,o)=>{let{primitives:i,center:l,ports:a,size:y}=t,n=Y({a:-1,b:0,c:0,d:1,e:0,f:2*l.x}),m=i.map(p=>{switch(p={...p},p.type){case"path":return{...p,points:p.points.map(h=>b(n,h))};case"text":let x=b(n,{x:p.x,y:p.y}),f={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{...p,x:x.x,y:x.y,anchor:f[p.anchor]};case"circle":case"box":let d=b(n,{x:p.x,y:p.y});return{...p,x:d.x,y:d.y}}}),c=a.map(p=>({...p,...b(n,p)}));return{primitives:m,center:l,ports:c,size:y,...o}},ut=(t,o)=>{let{newOrientation:i,overrides:l}=o,a={up:Math.PI/2,right:0,down:-Math.PI/2,left:-Math.PI},y=ao(i?a[i]:Math.PI/2,t.center.x,t.center.y),{primitives:n,center:m,size:c,ports:p}=t,x=n.map(h=>{switch(h={...h},h.type){case"path":return{...h,points:h.points.map(Bf=>b(y,Bf))};case"text":let Cl=b(y,{x:h.x,y:h.y});return h.anchor=Wf(h.anchor,i??"right"),{...h,x:Cl.x,y:Cl.y};case"circle":let Nl=b(y,{x:h.x,y:h.y});return{...h,x:Nl.x,y:Nl.y};case"box":let Il=b(y,{x:h.x,y:h.y});return{...h,x:Il.x,y:Il.y,width:h.height,height:h.width}}}),f=p.map(h=>({...h,...b(y,h)})),d=ct(x);return{primitives:x,center:m,ports:f,size:{width:d.maxX-d.minX,height:d.maxY-d.minY},...l}},r=(t,o="down",i={})=>ut(t,{newOrientation:o,overrides:i});var xo=class{symbol;constructor(o){this.symbol=JSON.parse(JSON.stringify(o)),this.symbol.size=this.computeSize()}changeTextAnchor(o,i,l){return this.symbol={...this.symbol,primitives:this.symbol.primitives.map(a=>a.type==="text"&&a.text===o?{...a,anchor:i,...l?{x:a.x+l.x,y:a.y+l.y}:{}}:a)},this}labelPort(o,i){return this.symbol={...this.symbol,ports:this.symbol.ports.map(l=>l.labels.includes(o)?{...l,labels:i}:l)},this}rotateRightFacingSymbol(o){return this.symbol=ut(this.symbol,{newOrientation:o}),this}computeSize(){let o=ct(this.symbol.primitives);return{width:o.maxX-o.minX,height:o.maxY-o.minY}}build(){return{...this.symbol,size:this.computeSize()}}},e=t=>{let o=t.primitives??[...Object.values(t.paths??{}),...Object.values(t.texts??{}),...Object.values(t.circles??{}),...Object.values(t.rects??{})],i=t.ports??Object.entries(t.refblocks).flatMap(([a,y])=>[{...y,labels:[a]}]),l=t.center??{x:t.bounds.centerX,y:t.bounds.centerY};return i.length===2&&(l={x:(i[0].x+i[1].x)/2,y:(i[0].y+i[1].y)/2}),new xo({...t,primitives:o,ports:i,center:l})};var v={paths:{path11:{type:"path",points:[{x:-.53,y:.04},{x:-.3,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:.04},{x:.53,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:Zf,texts:qg,bounds:Vt,refblocks:Dl,circles:Qf}=v,ql=e({primitives:[...Object.values(Zf),...Object.values(Qf),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...Dl.left1,labels:["1"]},{...Dl.right1,labels:["2"]}],size:{width:Vt.width,height:Vt.height},center:{x:Vt.centerX,y:Vt.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Kf,texts:Hg,bounds:jt,refblocks:Ul,circles:th}=v,Gl=e({primitives:[...Object.values(Kf),...Object.values(th),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...Ul.left1,labels:["1"]},{...Ul.right1,labels:["2"]}],size:{width:jt.width,height:jt.height},center:{x:jt.centerX,y:jt.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:eh,texts:tu,bounds:kt,refblocks:Wl,circles:rh}=v,Hl=e({primitives:[...Object.values(eh),...Object.values(rh),{type:"text",text:"{REF}",x:-0,y:-.3094553499999995},{type:"text",text:"{VAL}",x:0,y:.4094553499999995}],ports:[{...Wl.left1,labels:["1"]},{...Wl.right1,labels:["2"]}],size:{width:kt.width,height:kt.height},center:{x:kt.centerX,y:kt.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:oh,texts:iu,bounds:zt,refblocks:Zl,circles:ih}=v,Ql=e({primitives:[...Object.values(oh),...Object.values(ih),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...Zl.left1,labels:["1"]},{...Zl.right1,labels:["2"]}],size:{width:zt.width,height:zt.height},center:{x:zt.centerX,y:zt.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:lh,texts:yu,bounds:Ot,refblocks:Kl,circles:ph}=v,tp=e({primitives:[...Object.values(lh),...Object.values(ph),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Kl.left1,labels:["1"]},{...Kl.right1,labels:["2"]}],size:{width:Ot.width,height:Ot.height},center:{x:Ot.centerX,y:Ot.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:ah,texts:nu,bounds:Jt,refblocks:ep,circles:yh}=v,rp=e({primitives:[...Object.values(ah),...Object.values(yh),{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:Jt.width,height:Jt.height},center:{x:Jt.centerX,y:Jt.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var w={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:sh,texts:bu,bounds:$t,refblocks:op,circles:mh}=w,ip=e({primitives:[...Object.values(sh),...Object.values(mh),{type:"text",text:"{REF}",x:-.15,y:.3294553499999995},{type:"text",text:"{VAL}",x:.15,y:.3294553499999995}],ports:[{...op.left1,labels:["1"]},{...op.right1,labels:["2"]}],size:{width:$t.width,height:$t.height},center:{x:$t.centerX,y:$t.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var lp=e(w).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:nh,texts:Pu,bounds:Mt,refblocks:pp,circles:fh}=w,ap=e({primitives:[...Object.values(nh),...Object.values(fh),{type:"text",text:"{REF}",x:-0,y:-.2294553499999995},{type:"text",text:"{VAL}",x:0,y:.3294553499999995}],ports:[{...pp.left1,labels:["1"]},{...pp.right1,labels:["2"]}],size:{width:Mt.width,height:Mt.height},center:{x:Mt.centerX,y:Mt.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var yp=e(w).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:hh,texts:Xu,bounds:Ct,refblocks:xp,circles:ch}=w,sp=e({primitives:[...Object.values(hh),...Object.values(ch),{type:"text",text:"{REF}",x:.15,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2294553499999995}],ports:[{...xp.left1,labels:["1"]},{...xp.right1,labels:["2"]}],size:{width:Ct.width,height:Ct.height},center:{x:Ct.centerX,y:Ct.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:dh,texts:ku,bounds:Nt,refblocks:mp,circles:bh}=w,np=e({primitives:[...Object.values(dh),...Object.values(bh),{type:"text",text:"{REF}",x:.15,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2294553499999995}],ports:[{...mp.left1,labels:["1"]},{...mp.right1,labels:["2"]}],size:{width:Nt.width,height:Nt.height},center:{x:Nt.centerX,y:Nt.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var L={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:gh,texts:Mu,bounds:It,refblocks:fp,circles:uh}=L,hp=e({primitives:[...Object.values(gh),...Object.values(uh),{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:It.width,height:It.height},center:{x:It.centerX,y:It.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var{paths:vh,texts:Bu,bounds:Bt,refblocks:cp,circles:wh}=L,Dt=e({primitives:[...Object.values(vh),...Object.values(wh),{type:"text",text:"{REF}",x:-1118e-7,y:-.18},{type:"text",text:"{VAL}",x:1118e-7,y:.2738453}],ports:[{...cp.left1,labels:["1"]},{...cp.right1,labels:["2"]}],size:{width:Bt.width,height:Bt.height},center:{x:Bt.centerX,y:Bt.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["2"]).labelPort("right1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Ah,texts:Gu,bounds:qt,refblocks:dp,circles:Ph}=L,bp=e({primitives:[...Object.values(Ah),...Object.values(Ph),{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:qt.width,height:qt.height},center:{x:qt.centerX,y:qt.centerY}}).changeTextAnchor("{VAL}","middle_top").labelPort("right1",["2"]).labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Ku,texts:t9,bounds:e9,refblocks:r9,circles:o9}=L,so=r(Dt,"down"),mo=so.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),no=so.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");mo.anchor="middle_left";no.anchor="middle_left";mo.x=.25;mo.y+=.21;no.y-=.21;no.x=.25;var _p=so;function s(t){let o=t.size;if(!o){let i=ct(t.primitives);o={width:i.maxX-i.minX,height:i.maxY-i.minY}}return{...t,size:o}}var gp={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:-.44,y:.03}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.44,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:-.45,y:.03},right1:{x:.45,y:.03}},bounds:{minX:-.47,maxX:.47,minY:-.38,maxY:.27,width:.95,height:.29,centerX:0,centerY:.06},circles:{}};var{paths:Fh,texts:up,bounds:Ut,refblocks:vp,circles:Rh}=gp,Gt=s({primitives:[...Object.values(Fh),...Object.values(Rh),{...up.top1,anchor:"middle_bottom"},{...up.bottom1,anchor:"middle_top"}],ports:[{...vp.left1,labels:["1"]},{...vp.right1,labels:["2"]}],size:{width:Ut.width,height:Ut.height},center:{x:Ut.centerX,y:Ut.centerY}});var wp=ut(Gt,{newOrientation:"up"});var V={paths:{path1:{type:"path",points:[{x:-.51,y:.05},{x:-.25,y:.05}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.28,y:.05},{x:.55,y:.05}],color:"primary",fill:!1},path3:{type:"path",points:[{x:.02,y:.18},{x:.28,y:.18},{x:.28,y:-.09},{x:-.25,y:-.09},{x:-.25,y:.18},{x:.02,y:.18}],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:-.53,y:.05},right1:{x:.57,y:.05}},bounds:{minX:-.56,maxX:.56,minY:-.25,maxY:.25,width:1.12,height:.5,centerX:0,centerY:0},circles:{}};var{paths:Eh,texts:b9,bounds:Ap,refblocks:Pp,circles:Yh}=V,Sp=e({primitives:[...Object.values(Eh),...Object.values(Yh),{type:"text",text:"{REF}",x:-.16,y:.2294553499999995},{type:"text",text:"{VAL}",x:.16,y:.2294553499999995}],ports:[{...Pp.left1,labels:["1"]},{...Pp.right1,labels:["2"]}],center:{x:Ap.centerX,y:Ap.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var{paths:Xh,texts:v9,bounds:Fp,refblocks:Rp,circles:Lh}=V,Tp=e({primitives:[...Object.values(Xh),...Object.values(Lh),{type:"text",text:"{REF}",x:0,y:-.1994553499999995},{type:"text",text:"{VAL}",x:0,y:.2694553499999995}],ports:[{...Rp.left1,labels:["1"]},{...Rp.right1,labels:["2"]}],center:{x:Fp.centerX,y:Fp.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Vh,texts:S9,bounds:Ep,refblocks:Yp,circles:jh}=V,Xp=e({primitives:[...Object.values(Vh),...Object.values(jh),{type:"text",text:"{REF}",x:0,y:.2294553499999995},{type:"text",text:"{VAL}",x:0,y:-.1594553499999995}],ports:[{...Yp.left1,labels:["1"]},{...Yp.right1,labels:["2"]}],center:{x:Ep.centerX,y:Ep.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var j={paths:{path2:{type:"path",points:[{x:.15,y:-.01},{x:.56,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:-.56,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:zh,texts:Y9,bounds:Wt,refblocks:Lp,circles:Oh}=j,Vp=e({primitives:[...Object.values(zh),...Object.values(Oh),{type:"text",text:"{REF}",x:-.2,y:.1404553499999995},{type:"text",text:"{VAL}",x:.2,y:.1494553499999995}],ports:[{...Lp.left1,labels:["1"]},{...Lp.right1,labels:["2"]}],size:{width:Wt.width,height:Wt.height},center:{x:Wt.centerX,y:Wt.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Jh,texts:j9,bounds:Ht,refblocks:jp,circles:$h}=j,kp=e({primitives:[...Object.values(Jh),...Object.values($h),{type:"text",text:"{REF}",x:0,y:-.2294553499999995},{type:"text",text:"{VAL}",x:0,y:.1704553499999995}],ports:[{...jp.left1,labels:["1"]},{...jp.right1,labels:["2"]}],size:{width:Ht.width,height:Ht.height},center:{x:Ht.centerX,y:Ht.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:Mh,texts:J9,bounds:Zt,refblocks:zp,circles:Ch}=j,Op=e({primitives:[...Object.values(Mh),...Object.values(Ch),{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:Zt.width,height:Zt.height},center:{x:Zt.centerX,y:Zt.centerY}}).rotateRightFacingSymbol("right").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:Nh,texts:N9,bounds:Qt,refblocks:Jp,circles:Ih}=j,$p=e({primitives:[...Object.values(Nh),...Object.values(Ih),{type:"text",text:"{REF}",x:.2,y:-.1404553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.1494553499999995}],ports:[{...Jp.left1,labels:["1"]},{...Jp.right1,labels:["2"]}],size:{width:Qt.width,height:Qt.height},center:{x:Qt.centerX,y:Qt.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Bh,texts:q9,bounds:Mp,refblocks:Cp,circles:Dh}=V,Np=e({primitives:[...Object.values(Bh),...Object.values(Dh),{type:"text",text:"{REF}",x:.16,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.16,y:-.2294553499999995}],ports:[{...Cp.left1,labels:["1"]},{...Cp.right1,labels:["2"]}],center:{x:Mp.centerX,y:Mp.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var dt={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:Uh,texts:Z9,bounds:Ip,refblocks:Bp,circles:Gh}=dt,Dp=e({primitives:[...Object.values(Uh),...Object.values(Gh),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...Bp.left1,labels:["1"]},{...Bp.right1,labels:["2"]}],center:{x:Ip.centerX,y:Ip.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var{paths:Wh,texts:e5,bounds:qp,refblocks:Up,circles:Hh}=dt,Kt=e({primitives:[...Object.values(Wh),...Object.values(Hh),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...Up.left1,labels:["1"]},{...Up.right1,labels:["2"]}],center:{x:qp.centerX,y:qp.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Gp=E(Kt);var{paths:Zh,texts:y5,bounds:Wp,refblocks:Hp,circles:Qh}=dt,Zp=e({primitives:[...Object.values(Zh),...Object.values(Qh),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...Hp.left1,labels:["1"]},{...Hp.right1,labels:["2"]}],center:{x:Wp.centerX,y:Wp.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right").build();var k={paths:{path27:{type:"path",points:[{x:.52,y:.02},{x:.07,y:.02}],color:"primary",fill:!1},path28:{type:"path",points:[{x:-.09,y:.02},{x:-.54,y:.02}],color:"primary",fill:!1},path29:{type:"path",points:[{x:.07,y:.28},{x:.07,y:-.25}],color:"primary",fill:!1},path30:{type:"path",points:[{x:-.09,y:.28},{x:-.09,y:-.25}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.42},bottom1:{type:"text",text:"{VAL}",x:0,y:-.42}},refblocks:{left1:{x:-.55,y:.02},right1:{x:.55,y:.02}},bounds:{minX:-.58,maxX:.58,minY:-.42,maxY:.42,width:1.16,height:.84,centerX:0,centerY:0},circles:{}};var{paths:tc,texts:f5,bounds:te,refblocks:Qp,circles:ec}=k,Kp=e({primitives:[...Object.values(tc),...Object.values(ec),{type:"text",text:"{REF}",x:-.2,y:.2094553499999995},{type:"text",text:"{VAL}",x:.2,y:.2094553499999995}],ports:[{...Qp.left1,labels:["1"]},{...Qp.right1,labels:["2"]}],size:{width:te.width,height:te.height},center:{x:te.centerX,y:te.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("down").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var ta=e(k).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var z={paths:{"path27-5":{type:"path",points:[{x:.45,y:.02},{x:0,y:.02}],color:"primary",fill:!1},"path28-5":{type:"path",points:[{x:-.09,y:.02},{x:-.54,y:.02}],color:"primary",fill:!1},"path30-7":{type:"path",points:[{x:0,y:.28},{x:0,y:-.25}],color:"primary",fill:!1},path8704:{type:"path",points:[{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.23},{x:-.14,y:-.23},{x:-.14,y:-.23},{x:-.14,y:-.23},{x:-.13,y:-.23},{x:-.13,y:-.23},{x:-.13,y:-.23},{x:-.13,y:-.23},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.21},{x:-.13,y:-.21},{x:-.13,y:-.21},{x:-.12,y:-.21},{x:-.12,y:-.21},{x:-.12,y:-.21},{x:-.12,y:-.21},{x:-.12,y:-.21},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.19},{x:-.12,y:-.19},{x:-.12,y:-.19},{x:-.12,y:-.19},{x:-.11,y:-.19},{x:-.11,y:-.19},{x:-.11,y:-.19},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.09,y:-.14},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.11},{x:-.09,y:-.11},{x:-.09,y:-.11},{x:-.09,y:-.11},{x:-.09,y:-.11},{x:-.09,y:-.11},{x:-.09,y:-.1},{x:-.09,y:-.1},{x:-.09,y:-.1},{x:-.09,y:-.1},{x:-.09,y:-.1},{x:-.09,y:-.1},{x:-.08,y:-.09},{x:-.08,y:-.09},{x:-.08,y:-.09},{x:-.08,y:-.09},{x:-.08,y:-.09},{x:-.08,y:-.09},{x:-.08,y:-.08},{x:-.08,y:-.08},{x:-.08,y:-.08},{x:-.08,y:-.08},{x:-.08,y:-.08},{x:-.08,y:-.08},{x:-.08,y:-.07},{x:-.08,y:-.07},{x:-.08,y:-.07},{x:-.08,y:-.07},{x:-.08,y:-.07},{x:-.08,y:-.07},{x:-.08,y:-.06},{x:-.08,y:-.06},{x:-.08,y:-.06},{x:-.08,y:-.06},{x:-.08,y:-.06},{x:-.08,y:-.05},{x:-.08,y:-.05},{x:-.08,y:-.05},{x:-.08,y:-.05},{x:-.08,y:-.05},{x:-.08,y:-.05},{x:-.08,y:-.04},{x:-.08,y:-.04},{x:-.08,y:-.04},{x:-.08,y:-.04},{x:-.08,y:-.04},{x:-.08,y:-.04},{x:-.08,y:-.03},{x:-.08,y:-.03},{x:-.08,y:-.03},{x:-.08,y:-.03},{x:-.08,y:-.03},{x:-.08,y:-.03},{x:-.08,y:-.02},{x:-.08,y:-.02},{x:-.08,y:-.02},{x:-.08,y:-.02},{x:-.08,y:-.02},{x:-.08,y:-.02},{x:-.08,y:-.01},{x:-.08,y:-.01},{x:-.08,y:-.01},{x:-.08,y:-.01},{x:-.08,y:-.01},{x:-.08,y:0},{x:-.08,y:0},{x:-.08,y:0},{x:-.08,y:0},{x:-.08,y:0},{x:-.08,y:0},{x:-.08,y:.01},{x:-.07,y:.01},{x:-.07,y:.01},{x:-.07,y:.01},{x:-.07,y:.01},{x:-.07,y:.01},{x:-.08,y:.02},{x:-.08,y:.02},{x:-.08,y:.02},{x:-.08,y:.02},{x:-.08,y:.02},{x:-.08,y:.02},{x:-.08,y:.03},{x:-.08,y:.03},{x:-.08,y:.03},{x:-.08,y:.03},{x:-.08,y:.03},{x:-.08,y:.03},{x:-.08,y:.04},{x:-.08,y:.04},{x:-.08,y:.04},{x:-.08,y:.04},{x:-.08,y:.04},{x:-.08,y:.05},{x:-.08,y:.05},{x:-.08,y:.05},{x:-.08,y:.05},{x:-.08,y:.05},{x:-.08,y:.05},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.08},{x:-.08,y:.08},{x:-.08,y:.08},{x:-.08,y:.08},{x:-.08,y:.08},{x:-.08,y:.08},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.12},{x:-.08,y:.12},{x:-.08,y:.12},{x:-.08,y:.12},{x:-.09,y:.12},{x:-.09,y:.12},{x:-.09,y:.12},{x:-.09,y:.13},{x:-.09,y:.13},{x:-.09,y:.13},{x:-.09,y:.13},{x:-.09,y:.13},{x:-.09,y:.13},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.17},{x:-.09,y:.17},{x:-.1,y:.17},{x:-.1,y:.17},{x:-.1,y:.17},{x:-.1,y:.17},{x:-.1,y:.17},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.2},{x:-.1,y:.2},{x:-.1,y:.2},{x:-.1,y:.2},{x:-.1,y:.2},{x:-.1,y:.2},{x:-.11,y:.2},{x:-.11,y:.2},{x:-.11,y:.2},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.23},{x:-.11,y:.23},{x:-.11,y:.23},{x:-.11,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.25},{x:-.12,y:.25},{x:-.12,y:.25},{x:-.12,y:.25},{x:-.12,y:.25},{x:-.12,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.27},{x:-.13,y:.27},{x:-.13,y:.27},{x:-.13,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28}],color:"primary",fill:!1},"rect1577-4":{type:"path",points:[{x:.26,y:.25},{x:.12,y:.25},{x:.12,y:.25},{x:.26,y:.25}],color:"primary",fill:!0},"rect1577-4-7":{type:"path",points:[{x:.2,y:.32},{x:.2,y:.18},{x:.19,y:.18},{x:.19,y:.32}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.42},bottom1:{type:"text",text:"{VAL}",x:0,y:-.42}},refblocks:{left1:{x:-.54,y:.02},right1:{x:.45,y:.02}},bounds:{minX:-.58,maxX:.58,minY:-.42,maxY:.42,width:1.16,height:.84,centerX:0,centerY:0},circles:{}};var{paths:oc,texts:v5,bounds:ee,refblocks:ea,circles:ic}=z,ra=e({primitives:[...Object.values(oc),...Object.values(ic),{type:"text",text:"{REF}",x:.1,y:-.2094553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.2094553499999995}],ports:[{...ea.left1,labels:["2","neg"]},{...ea.right1,labels:["1","pos"]}],size:{width:ee.width,height:ee.height},center:{x:ee.centerX,y:ee.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("up").changeTextAnchor("{REF}","bottom_left").build();var oa=e(z).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:lc,texts:T5,bounds:re,refblocks:ia,circles:pc}=z,la=e({primitives:[...Object.values(lc),...Object.values(pc),{type:"text",text:"{REF}",x:0,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-0,y:.4094553499999995}],ports:[{...ia.left1,labels:["2","neg"]},{...ia.right1,labels:["1","pos"]}],size:{width:re.width,height:re.height},center:{x:re.centerX,y:re.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_bottom").build();var{paths:ac,texts:L5,bounds:oe,refblocks:pa,circles:yc}=z,aa=e({primitives:[...Object.values(ac),...Object.values(yc),{type:"text",text:"{REF}",x:-.2,y:.2094553499999995},{type:"text",text:"{VAL}",x:.3,y:.2094553499999995}],ports:[{...pa.left1,labels:["2","neg"]},{...pa.right1,labels:["1","pos"]}],size:{width:oe.width,height:oe.height},center:{x:oe.centerX,y:oe.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("down").changeTextAnchor("{REF}","bottom_left").build();var ya=e(k).rotateRightFacingSymbol("right").changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:xc,texts:$5,bounds:ie,refblocks:xa,circles:sc}=k,sa=e({primitives:[...Object.values(xc),...Object.values(sc),{type:"text",text:"{REF}",x:.2,y:-.2094553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.2094553499999995}],ports:[{...xa.left1,labels:["1"]},{...xa.right1,labels:["2"]}],size:{width:ie.width,height:ie.height},center:{x:ie.centerX,y:ie.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("up").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var A={paths:{path11:{type:"path",points:[{x:-.53,y:.03},{x:-.3,y:.03}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:.03},{x:.53,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:nc,texts:B5,bounds:le,refblocks:ma,circles:fc}=A,na=e({primitives:[...Object.values(nc),...Object.values(fc),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...ma.left1,labels:["1"]},{...ma.right1,labels:["2"]}],size:{width:le.width,height:le.height},center:{x:le.centerX,y:le.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var fa=e(A).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:hc,texts:Z5,bounds:pe,refblocks:ha,circles:cc}=A,ca=e({primitives:[...Object.values(hc),...Object.values(cc),{type:"text",text:"{REF}",x:-0,y:-.2894553499999995},{type:"text",text:"{VAL}",x:0,y:.3894553499999995}],ports:[{...ha.left1,labels:["1"]},{...ha.right1,labels:["2"]}],size:{width:pe.width,height:pe.height},center:{x:pe.centerX,y:pe.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var da=e(A).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:dc,texts:i3,bounds:ae,refblocks:ba,circles:bc}=A,_a=e({primitives:[...Object.values(dc),...Object.values(bc),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...ba.left1,labels:["1"]},{...ba.right1,labels:["2"]}],size:{width:ae.width,height:ae.height},center:{x:ae.centerX,y:ae.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:_c,texts:y3,bounds:ye,refblocks:ga,circles:gc}=A,ua=e({primitives:[...Object.values(_c),...Object.values(gc),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...ga.left1,labels:["1"]},{...ga.right1,labels:["2"]}],size:{width:ye.width,height:ye.height},center:{x:ye.centerX,y:ye.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var O={paths:{path27:{type:"path",points:[{x:.52,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:.69},{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:-.72},{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:vc,texts:f3,bounds:xe,refblocks:se,circles:wc}=O,va=e({primitives:[...Object.values(vc),...Object.values(wc),{type:"text",text:"{REF}",x:-.4,y:.4094554499999995},{type:"text",text:"{VAL}",x:.4,y:.4094553499999995}],ports:[{...se.left1,labels:["1"]},{...se.right1,labels:["3"]},{...se.bottom1,labels:["2"]},{...se.top1,labels:["4"]}],size:{width:xe.width,height:xe.height},center:{x:xe.centerX,y:xe.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var wa=e(O).labelPort("top1",["2","gnd1"]).labelPort("bottom1",["4","gnd2"]).labelPort("left1",["3"]).labelPort("right1",["1"]).changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var Aa=e(O).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:Ac,texts:A3,bounds:me,refblocks:ne,circles:Pc}=O,Pa=e({primitives:[...Object.values(Ac),...Object.values(Pc),{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:me.width,height:me.height},center:{x:me.centerX,y:me.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var J={paths:{path27:{type:"path",points:[{x:.52,y:-.01},{x:.13,y:-.01}],color:"primary",fill:!1},path28:{type:"path",points:[{x:-.14,y:-.01},{x:-.54,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:Fc,texts:T3,bounds:fe,refblocks:Sa,circles:Rc}=J,Fa=e({primitives:[...Object.values(Fc),...Object.values(Rc),{type:"text",text:"{REF}",x:-.3,y:.3094553499999995},{type:"text",text:"{VAL}",x:.3,y:.3094553499999995}],ports:[{...Sa.left1,labels:["1"]},{...Sa.right1,labels:["2"]}],size:{width:fe.width,height:fe.height},center:{x:fe.centerX,y:fe.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("down").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var Ra=e(J).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var Ta=e(J).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Tc,texts:J3,bounds:he,refblocks:Ea,circles:Ec}=J,Ya=e({primitives:[...Object.values(Tc),...Object.values(Ec),{type:"text",text:"{REF}",x:.3,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.3094553499999995}],ports:[{...Ea.left1,labels:["1"]},{...Ea.right1,labels:["2"]}],size:{width:he.width,height:he.height},center:{x:he.centerX,y:he.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("up").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var P={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.15}],color:"primary",fill:!1},"path12-1-5-3":{type:"path",points:[{x:2.23,y:-1.96},{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 Xa=e(P).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 La=e(P).rotateRightFacingSymbol("right").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_right").changeTextAnchor("{REF}","middle_right").build();var Va=e(P).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 ja=e(P).rotateRightFacingSymbol("right").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_right").changeTextAnchor("{REF}","middle_right").build();var ka=e(P).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 za=e(P).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 Oa={paths:{path11:{type:"path",points:[{x:-.53,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.53,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:Lc,texts:Vc,bounds:ce,refblocks:Ja,circles:jc}=Oa,vt=s({primitives:[...Object.values(Lc),...Object.values(jc),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...Vc.left1,x:0,y:.01,anchor:"center",fontSize:.3}],ports:[{...Ja.left1,labels:["1"]},{...Ja.right1,labels:["2"]}],size:{width:ce.width,height:ce.height},center:{x:ce.centerX,y:ce.centerY}});function kc(t){return typeof t=="object"&&t!==null&&t.type==="path"&&Array.isArray(t.points)&&typeof t.color=="string"}function zc(t){return typeof t=="object"&&t!==null&&t.type==="text"&&typeof t.text=="string"&&typeof t.x=="number"&&typeof t.y=="number"&&typeof t.anchor=="string"}var{6:fo,2:ho,...Oc}=vt.primitives;kc(ho)&&ho.points.map(t=>{t.y+=.05});zc(fo)&&(fo.y+=.025);function Jc(t){return typeof t=="object"}var $a=r({...vt,primitives:Object.values(Oc).filter(Jc)}),Ma={...$a,primitives:[...$a.primitives,fo,ho]};var S={paths:{path11:{type:"path",points:[{x:-.53,y:.04},{x:-.3,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:.04},{x:.53,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:Mc,texts:c4,bounds:de,refblocks:Ca,circles:Cc}=S,Na=e({primitives:[...Object.values(Mc),...Object.values(Cc),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...Ca.left1,labels:["1"]},{...Ca.right1,labels:["2"]}],size:{width:de.width,height:de.height},center:{x:de.centerX,y:de.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Nc,texts:g4,bounds:be,refblocks:Ia,circles:Ic}=S,Ba=e({primitives:[...Object.values(Nc),...Object.values(Ic),{type:"text",text:"{REF}",x:-0,y:.3894553499999995},{type:"text",text:"{VAL}",x:0,y:-.3294553499999995}],ports:[{...Ia.left1,labels:["1"]},{...Ia.right1,labels:["2"]}],size:{width:be.width,height:be.height},center:{x:be.centerX,y:be.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Bc,texts:A4,bounds:_e,refblocks:Da,circles:Dc}=S,qa=e({primitives:[...Object.values(Bc),...Object.values(Dc),{type:"text",text:"{REF}",x:-0,y:-.3294553499999995},{type:"text",text:"{VAL}",x:0,y:.4294553499999995}],ports:[{...Da.left1,labels:["1"]},{...Da.right1,labels:["2"]}],size:{width:_e.width,height:_e.height},center:{x:_e.centerX,y:_e.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:qc,texts:R4,bounds:ge,refblocks:Ua,circles:Uc}=S,Ga=e({primitives:[...Object.values(qc),...Object.values(Uc),{type:"text",text:"{REF}",x:-0,y:.3894553499999995},{type:"text",text:"{VAL}",x:0,y:-.3294553499999995}],ports:[{...Ua.left1,labels:["1"]},{...Ua.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:Gc,texts:X4,bounds:ue,refblocks:Wa,circles:Wc}=S,Ha=e({primitives:[...Object.values(Gc),...Object.values(Wc),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Wa.left1,labels:["1"]},{...Wa.right1,labels:["2"]}],size:{width:ue.width,height:ue.height},center:{x:ue.centerX,y:ue.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Hc,texts:k4,bounds:ve,refblocks:Za,circles:Zc}=S,Qa=e({primitives:[...Object.values(Hc),...Object.values(Zc),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Za.left1,labels:["1"]},{...Za.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 F={paths:{path11:{type:"path",points:[{x:-.52,y:.04},{x:-.11,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.1,y:.04},{x:.52,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 Ka=e(F).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 ty=e(F).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.1}).changeTextAnchor("{VAL}","middle_top").build();var ey=e(F).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 ry=e(F).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.1}).changeTextAnchor("{VAL}","middle_top").build();var oy=e(F).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 iy=e(F).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 ly={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 $=e(ly).labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var py=r($,"down");var ay=r($,"left");var yy=r($,"up");var xy={paths:{path1:{type:"path",points:[{x:-.35,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:.35,y:.13}],color:"primary",fill:!1},path3:{type:"path",points:[{x:.12,y:.36},{x:.36,y:.36}],color:"primary",fill:!1},path4:{type:"path",points:[{x:-.35,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:.35,y:-.27}],color:"primary",fill:!1},path6:{type:"path",points:[{x:.12,y:-.04},{x:.36,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 M=e(xy).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 co=r(M,"down"),bo=co.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),_o=co.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");bo.anchor="middle_bottom";_o.anchor="middle_top";bo.x=0;bo.y+=.537;_o.y-=.5375;_o.x=0;var sy=co;var go=r(M,"left"),uo=go.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),vo=go.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");uo.anchor="middle_bottom";vo.anchor="middle_top";uo.x=0;uo.y+=1;vo.y-=1;vo.x=0;var my=go;var wo=r(M,"up"),Ao=wo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Po=wo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ao.anchor="middle_bottom";Po.anchor="middle_top";Ao.x=0;Ao.y+=.537;Po.y-=.5375;Po.x=0;var ny=wo;var fy={paths:{path1:{type:"path",points:[{x:-.35,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:.35,y:.13}],color:"primary",fill:!1},path3:{type:"path",points:[{x:.12,y:.36},{x:.36,y:.36}],color:"primary",fill:!1},path4:{type:"path",points:[{x:-.35,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:.35,y:-.27}],color:"primary",fill:!1},path6:{type:"path",points:[{x:.12,y:-.04},{x:.36,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 C=e(fy).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 So=r(C,"down"),Fo=So.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ro=So.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Fo.anchor="middle_bottom";Ro.anchor="middle_top";Fo.x=0;Fo.y+=.565;Ro.y-=.555;Ro.x=0;var hy=So;var To=r(C,"left"),Eo=To.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Yo=To.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Eo.anchor="middle_bottom";Yo.anchor="middle_top";Eo.x=0;Eo.y+=1.09;Yo.y-=1.09;Yo.x=0;var cy=To;var Xo=r(C,"up"),Lo=Xo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Vo=Xo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Lo.anchor="middle_bottom";Vo.anchor="middle_top";Lo.x=0;Lo.y+=.565;Vo.y-=.555;Vo.x=0;var dy=Xo;var by={paths:{path11:{type:"path",points:[{x:-.36,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:.37,y:.06}],color:"primary",fill:!1},"path11-5":{type:"path",points:[{x:-.36,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:.37,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 N=e(by).labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("right3",["4"]).labelPort("left3",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var jo=r(N,"down"),ko=jo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),zo=jo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ko.anchor="middle_bottom";zo.anchor="middle_top";ko.x=.4;ko.y+=.265;zo.y-=.265;zo.x=.4;var _y=jo;var Oo=r(N,"left"),Jo=Oo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),$o=Oo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Jo.anchor="middle_bottom";$o.anchor="middle_top";Jo.x=0;Jo.y+=.67;$o.y-=.67;$o.x=0;var gy=Oo;var Mo=r(N,"up"),Co=Mo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),No=Mo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Co.anchor="middle_bottom";No.anchor="middle_top";Co.x=.46;Co.y+=.265;No.y-=.265;No.x=.46;var uy=Mo;var vy={paths:{path11:{type:"path",points:[{x:-.36,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:.37,y:.06}],color:"primary",fill:!1},"path11-5":{type:"path",points:[{x:-.36,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:.37,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 I=e(vy).labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("right3",["4"]).labelPort("left3",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Io=r(I,"down"),Bo=Io.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Do=Io.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Bo.anchor="middle_bottom";Do.anchor="middle_top";Bo.x=.4;Bo.y+=.295;Do.y-=.295;Do.x=.42;var wy=Io;var qo=r(I,"left"),Uo=qo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Go=qo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Uo.anchor="middle_bottom";Go.anchor="middle_top";Uo.x=0;Uo.y+=.795;Go.y-=.795;Go.x=0;var Ay=qo;var Wo=r(I,"up"),Ho=Wo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Zo=Wo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ho.anchor="middle_bottom";Zo.anchor="middle_top";Ho.x=.46;Ho.y+=.315;Zo.y-=.315;Zo.x=.46;var Py=Wo;var we={paths:{path5:{type:"path",points:[{x:-.42,y:0},{x:-.16,y:0}],color:"primary",fill:!1},path6:{type:"path",points:[{x:.17,y:0},{x:.43,y:0}],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:l1,texts:d8,bounds:Ae,refblocks:Sy,circles:p1}=we,Pe=e({primitives:[...Object.values(l1),...Object.values(p1),{type:"text",text:"{REF}",x:.18,y:-.3204553499999995},{type:"text",text:"{VAL}",x:-.25,y:-.3294553499999995}],ports:[{...Sy.left1,labels:["1"]},{...Sy.right1,labels:["2"]}],size:{width:Ae.width,height:Ae.height},center:{x:Ae.centerX,y:Ae.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Qo=X(Pe),Ko=Qo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),t0=Qo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ko.anchor="middle_left";t0.anchor="middle_left";Ko.y+=.4;Ko.x=.32;t0.y-=.45;t0.x=.32;var Fy=Qo;var Se=e(we).labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Ry=E(Se);var R={paths:{path11:{type:"path",points:[{x:-.54,y:.04},{x:-.22,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.14,y:.05},{x:.46,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:y1,texts:X8,bounds:Fe,refblocks:Ty,circles:x1}=R,Ey=e({primitives:[...Object.values(y1),...Object.values(x1),{type:"text",text:"{REF}",x:-.15,y:.3294553499999995},{type:"text",text:"{VAL}",x:.15,y:.3294553499999995}],ports:[{...Ty.left1,labels:["1"]},{...Ty.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:s1,texts:k8,bounds:Re,refblocks:Yy,circles:m1}=R,Xy=e({primitives:[...Object.values(s1),...Object.values(m1),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...Yy.left1,labels:["1"]},{...Yy.right1,labels:["2"]}],size:{width:Re.width,height:Re.height},center:{x:Re.centerX,y:Re.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:n1,texts:$8,bounds:Te,refblocks:Ly,circles:f1}=R,Vy=e({primitives:[...Object.values(n1),...Object.values(f1),{type:"text",text:"{REF}",x:-0,y:-.3094553499999995},{type:"text",text:"{VAL}",x:0,y:.4094553499999995}],ports:[{...Ly.left1,labels:["1"]},{...Ly.right1,labels:["2"]}],size:{width:Te.width,height:Te.height},center:{x:Te.centerX,y:Te.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:h1,texts:I8,bounds:Ee,refblocks:jy,circles:c1}=R,ky=e({primitives:[...Object.values(h1),...Object.values(c1),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...jy.left1,labels:["1"]},{...jy.right1,labels:["2"]}],size:{width:Ee.width,height:Ee.height},center:{x:Ee.centerX,y:Ee.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:d1,texts:U8,bounds:Ye,refblocks:zy,circles:b1}=R,Oy=e({primitives:[...Object.values(d1),...Object.values(b1),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...zy.left1,labels:["1"]},{...zy.right1,labels:["2"]}],size:{width:Ye.width,height:Ye.height},center:{x:Ye.centerX,y:Ye.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:_1,texts:Z8,bounds:Xe,refblocks:Jy,circles:g1}=R,$y=e({primitives:[...Object.values(_1),...Object.values(g1),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Jy.left1,labels:["1"]},{...Jy.right1,labels:["2"]}],size:{width:Xe.width,height:Xe.height},center:{x:Xe.centerX,y:Xe.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var My={paths:{path11:{type:"path",points:[{x:-.53,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.53,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:v1,texts:w1,bounds:Le,refblocks:Cy,circles:A1}=My,wt=s({primitives:[...Object.values(v1),...Object.values(A1),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...w1.left1,x:0,y:.01,anchor:"center",fontSize:.2}],ports:[{...Cy.left1,labels:["1"]},{...Cy.right1,labels:["2"]}],size:{width:Le.width,height:Le.height},center:{x:Le.centerX,y:Le.centerY}});var{5:P1,...S1}=wt.primitives;function F1(t){return typeof t=="object"}var Ny=r({...wt,primitives:Object.values(S1).filter(F1)}),Iy={...Ny,primitives:[...Ny.primitives,P1]};var By={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:T1,texts:E1,bounds:Ve,refblocks:Dy}=By,je=s({primitives:[...Object.values(T1),{...E1.top1,anchor:"middle_bottom"},{type:"text",text:"{VAL}",x:0,y:-.2,anchor:"middle_top"}],ports:[{...Dy.left1,labels:["1"]},{...Dy.right1,labels:["2"]}],size:{width:Ve.width,height:Ve.height},center:{x:Ve.centerX,y:Ve.centerY}});var qy=r(je);var T={paths:{path1:{type:"path",points:[{x:-.29,y:0},{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 Uy=e(T).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var Gy=e(T).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var Wy=e(T).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var Hy=e(T).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var Zy=e(T).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var Qy=e(T).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var B={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:L1,texts:k7,bounds:Ky,refblocks:V1}=B,tx=e({primitives:[...Object.values(L1),{type:"text",text:"{REF}",x:-.14,y:0}],ports:[{...V1.left1,labels:["1"]}],center:{x:Ky.centerX,y:Ky.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:j1,texts:$7,bounds:ex,refblocks:k1,circles:z1}=B,rx=e({primitives:[...Object.values(j1),...Object.values(z1),{type:"text",text:"{REF}",x:-.14,y:-0}],ports:[{...k1.left1,labels:["1"]}],center:{x:ex.centerX,y:ex.centerY}}).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var{paths:O1,texts:I7,bounds:ox,refblocks:J1,circles:$1}=B,ix=e({primitives:[...Object.values(O1),...Object.values($1),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...J1.left1,labels:["1"]}],center:{x:ox.centerX,y:ox.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var{paths:M1,texts:U7,bounds:lx,refblocks:C1,circles:N1}=B,px=e({primitives:[...Object.values(M1),...Object.values(N1),{type:"text",text:"{REF}",x:-.14,y:-0}],ports:[{...C1.left1,labels:["1"]}],center:{x:lx.centerX,y:lx.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var At={paths:{path11:{type:"path",points:[{x:-.5,y:.04},{x:-.18,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.19,y:.04},{x:.51,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:Q7,texts:K7,bounds:tw,refblocks:ew,circles:rw}=At,ax=e(At).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var yx=e(At).rotateRightFacingSymbol("down").changeTextAnchor("{VAL}","middle_right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var xx={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 D=e(xx).labelPort("left1",["1","DIN"]).labelPort("left2",["2","POWER"]).labelPort("right1",["4","GND"]).labelPort("right2",["3","DOUT"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var sx=r(D,"down");var mx=E(D);var e0=r(D,"up"),r0=e0.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),o0=e0.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");r0.anchor="middle_left";o0.anchor="middle_left";r0.y+=.21;r0.x=.44;o0.y-=.21;o0.x=.44;var nx=e0;var fx={paths:{path11:{type:"path",points:[{x:-.39,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:-.54}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.28,y:.54},{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 ke=e(fx).changeTextAnchor("{VAL}","middle_right").labelPort("left1",["3"]).labelPort("top1",["2"]).labelPort("bottom1",["1"]).changeTextAnchor("{REF}","middle_right").build();var i0=r(ke),l0=i0.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),hx=i0.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");l0.anchor="middle_left";hx.anchor="middle_right";l0.x=.45;l0.y+=.065;hx.y+=.065;var cx=i0;var dx={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:-.49,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:.49,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 ze=e(dx).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var bx=r(ze),_x=bx.primitives.filter(t=>t.type==="text"),p0=_x.find(t=>t.text==="{VAL}");p0.x=-.35;p0.y=0;p0.anchor="middle_right";var a0=_x.find(t=>t.text==="{REF}");a0.y=0;a0.x=.35;a0.anchor="middle_left";var gx=bx;var ux={paths:{path8698:{type:"path",points:[{x:-.2,y:-.02},{x:-.2,y:-.02},{x:-.21,y:-.01},{x:-.21,y:-.01},{x:-.21,y:0},{x:-.21,y:0},{x:-.21,y:0},{x:-.22,y:.01},{x:-.22,y:.01},{x:-.22,y:.02},{x:-.22,y:.02},{x:-.23,y:.03},{x:-.23,y:.03},{x:-.23,y:.03},{x:-.23,y:.04},{x:-.24,y:.04},{x:-.24,y:.04},{x:-.24,y:.05},{x:-.24,y:.05},{x:-.25,y:.05},{x:-.25,y:.06},{x:-.25,y:.06},{x:-.25,y:.06},{x:-.26,y:.06},{x:-.26,y:.06},{x:-.26,y:.07},{x:-.26,y:.07},{x:-.27,y:.07},{x:-.27,y:.07},{x:-.27,y:.07},{x:-.27,y:.07},{x:-.28,y:.07},{x:-.28,y:.07},{x:-.28,y:.07},{x:-.28,y:.07},{x:-.29,y:.07},{x:-.29,y:.08},{x:-.29,y:.08},{x:-.29,y:.08},{x:-.3,y:.08},{x:-.3,y:.08},{x:-.3,y:.08},{x:-.3,y:.08},{x:-.31,y:.08},{x:-.31,y:.08},{x:-.31,y:.07},{x:-.31,y:.07},{x:-.32,y:.07},{x:-.32,y:.07},{x:-.32,y:.07},{x:-.32,y:.07},{x:-.33,y:.07},{x:-.33,y:.07},{x:-.33,y:.07},{x:-.33,y:.07},{x:-.34,y:.07},{x:-.34,y:.06},{x:-.34,y:.06},{x:-.34,y:.06},{x:-.35,y:.06},{x:-.35,y:.06},{x:-.35,y:.05},{x:-.35,y:.05},{x:-.36,y:.05},{x:-.36,y:.04},{x:-.36,y:.04},{x:-.36,y:.04},{x:-.37,y:.03},{x:-.37,y:.03},{x:-.37,y:.03},{x:-.37,y:.02},{x:-.38,y:.02},{x:-.38,y:.01},{x:-.38,y:.01},{x:-.38,y:0},{x:-.39,y:0},{x:-.39,y:0},{x:-.39,y:-.01},{x:-.39,y:-.01},{x:-.4,y:-.02},{x:-.4,y:-.02}],color:"primary",fill:!1},path8700:{type:"path",points:[{x:0,y:-.02},{x:0,y:-.02},{x:-.01,y:-.01},{x:-.01,y:-.01},{x:-.01,y:0},{x:-.01,y:0},{x:-.02,y:0},{x:-.02,y:.01},{x:-.02,y:.01},{x:-.02,y:.02},{x:-.03,y:.02},{x:-.03,y:.03},{x:-.03,y:.03},{x:-.03,y:.03},{x:-.04,y:.04},{x:-.04,y:.04},{x:-.04,y:.04},{x:-.04,y:.05},{x:-.05,y:.05},{x:-.05,y:.05},{x:-.05,y:.06},{x:-.05,y:.06},{x:-.06,y:.06},{x:-.06,y:.06},{x:-.06,y:.06},{x:-.06,y:.07},{x:-.07,y:.07},{x:-.07,y:.07},{x:-.07,y:.07},{x:-.07,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.09,y:.07},{x:-.09,y:.07},{x:-.09,y:.08},{x:-.09,y:.08},{x:-.1,y:.08},{x:-.1,y:.08},{x:-.1,y:.08},{x:-.1,y:.08},{x:-.11,y:.08},{x:-.11,y:.08},{x:-.11,y:.08},{x:-.11,y:.07},{x:-.12,y:.07},{x:-.12,y:.07},{x:-.12,y:.07},{x:-.12,y:.07},{x:-.13,y:.07},{x:-.13,y:.07},{x:-.13,y:.07},{x:-.13,y:.07},{x:-.14,y:.07},{x:-.14,y:.07},{x:-.14,y:.06},{x:-.14,y:.06},{x:-.15,y:.06},{x:-.15,y:.06},{x:-.15,y:.06},{x:-.15,y:.05},{x:-.16,y:.05},{x:-.16,y:.05},{x:-.16,y:.04},{x:-.16,y:.04},{x:-.17,y:.04},{x:-.17,y:.03},{x:-.17,y:.03},{x:-.17,y:.03},{x:-.18,y:.02},{x:-.18,y:.02},{x:-.18,y:.01},{x:-.18,y:.01},{x:-.19,y:0},{x:-.19,y:0},{x:-.19,y:0},{x:-.19,y:-.01},{x:-.2,y:-.01},{x:-.2,y:-.02},{x:-.2,y:-.02}],color:"primary",fill:!1},path8702:{type:"path",points:[{x:.2,y:-.02},{x:.2,y:-.02},{x:.19,y:-.01},{x:.19,y:-.01},{x:.19,y:0},{x:.19,y:0},{x:.18,y:0},{x:.18,y:.01},{x:.18,y:.01},{x:.18,y:.02},{x:.17,y:.02},{x:.17,y:.03},{x:.17,y:.03},{x:.17,y:.03},{x:.16,y:.04},{x:.16,y:.04},{x:.16,y:.04},{x:.16,y:.05},{x:.15,y:.05},{x:.15,y:.05},{x:.15,y:.06},{x:.15,y:.06},{x:.14,y:.06},{x:.14,y:.06},{x:.14,y:.06},{x:.14,y:.07},{x:.13,y:.07},{x:.13,y:.07},{x:.13,y:.07},{x:.13,y:.07},{x:.12,y:.07},{x:.12,y:.07},{x:.12,y:.07},{x:.12,y:.07},{x:.11,y:.07},{x:.11,y:.07},{x:.11,y:.08},{x:.11,y:.08},{x:.1,y:.08},{x:.1,y:.08},{x:.1,y:.08},{x:.1,y:.08},{x:.09,y:.08},{x:.09,y:.08},{x:.09,y:.08},{x:.09,y:.07},{x:.08,y:.07},{x:.08,y:.07},{x:.08,y:.07},{x:.08,y:.07},{x:.07,y:.07},{x:.07,y:.07},{x:.07,y:.07},{x:.07,y:.07},{x:.06,y:.07},{x:.06,y:.07},{x:.06,y:.06},{x:.06,y:.06},{x:.05,y:.06},{x:.05,y:.06},{x:.05,y:.06},{x:.05,y:.05},{x:.04,y:.05},{x:.04,y:.05},{x:.04,y:.04},{x:.04,y:.04},{x:.03,y:.04},{x:.03,y:.03},{x:.03,y:.03},{x:.03,y:.03},{x:.02,y:.02},{x:.02,y:.02},{x:.02,y:.01},{x:.02,y:.01},{x:.01,y:0},{x:.01,y:0},{x:.01,y:0},{x:.01,y:-.01},{x:0,y:-.01},{x:0,y:-.02},{x:0,y:-.02}],color:"primary",fill:!1},path8704:{type:"path",points:[{x:.4,y:-.02},{x:.39,y:-.02},{x:.39,y:-.01},{x:.39,y:-.01},{x:.39,y:0},{x:.39,y:0},{x:.38,y:0},{x:.38,y:.01},{x:.38,y:.01},{x:.38,y:.02},{x:.37,y:.02},{x:.37,y:.03},{x:.37,y:.03},{x:.37,y:.03},{x:.36,y:.04},{x:.36,y:.04},{x:.36,y:.04},{x:.36,y:.05},{x:.35,y:.05},{x:.35,y:.05},{x:.35,y:.06},{x:.35,y:.06},{x:.34,y:.06},{x:.34,y:.06},{x:.34,y:.06},{x:.34,y:.07},{x:.33,y:.07},{x:.33,y:.07},{x:.33,y:.07},{x:.33,y:.07},{x:.32,y:.07},{x:.32,y:.07},{x:.32,y:.07},{x:.32,y:.07},{x:.31,y:.07},{x:.31,y:.07},{x:.31,y:.08},{x:.31,y:.08},{x:.3,y:.08},{x:.3,y:.08},{x:.3,y:.08},{x:.3,y:.08},{x:.29,y:.08},{x:.29,y:.08},{x:.29,y:.08},{x:.29,y:.07},{x:.28,y:.07},{x:.28,y:.07},{x:.28,y:.07},{x:.28,y:.07},{x:.27,y:.07},{x:.27,y:.07},{x:.27,y:.07},{x:.27,y:.07},{x:.26,y:.07},{x:.26,y:.07},{x:.26,y:.06},{x:.26,y:.06},{x:.25,y:.06},{x:.25,y:.06},{x:.25,y:.06},{x:.25,y:.05},{x:.24,y:.05},{x:.24,y:.05},{x:.24,y:.04},{x:.24,y:.04},{x:.23,y:.04},{x:.23,y:.03},{x:.23,y:.03},{x:.23,y:.03},{x:.22,y:.02},{x:.22,y:.02},{x:.22,y:.01},{x:.22,y:.01},{x:.21,y:0},{x:.21,y:0},{x:.21,y:0},{x:.21,y:-.01},{x:.2,y:-.01},{x:.2,y:-.02},{x:.2,y:-.02}],color:"primary",fill:!1},path8706:{type:"path",points:[{x:-.4,y:-.02},{x:-.53,y:-.02}],color:"primary",fill:!1},"path8706-5":{type:"path",points:[{x:.53,y:-.03},{x:.4,y:-.03}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.23},bottom1:{type:"text",text:"{VAL}",x:0,y:-.23}},refblocks:{left1:{x:-.55,y:-.02},right1:{x:.55,y:-.03}},bounds:{minX:-.58,maxX:.58,minY:-.23,maxY:.23,width:1.16,height:.46,centerX:0,centerY:0},circles:{}};var{paths:G1,texts:vx,bounds:Oe,refblocks:wx,circles:W1}=ux,bt=s({primitives:[...Object.values(G1),...Object.values(W1),{...vx.top1,anchor:"middle_bottom"},{...vx.bottom1,anchor:"middle_top"}],ports:[{...wx.left1,labels:["1"]},{...wx.right1,labels:["2"]}],size:{width:Oe.width,height:Oe.height},center:{x:Oe.centerX,y:Oe.centerY}});var Je=r(bt,"up");var Ax=X(Je);var Px=E(bt);var y0={paths:{path11:{type:"path",points:[{x:-.53,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:.53,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}}};y0.bounds.width+=.2;var q=e(y0).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var x0=r(q,"down"),s0=x0.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),m0=x0.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");s0.anchor="middle_left";m0.anchor="middle_left";s0.y+=.9;s0.x=.3;m0.y-=.1;m0.x=.3;var Sx=x0;var n0=r(q,"left"),f0=n0.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),h0=n0.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");f0.anchor="middle_left";h0.anchor="middle_left";f0.y+=.71;f0.x=.44;h0.y-=.71;h0.x=.44;var Fx=n0;var c0=r(q,"up"),d0=c0.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),b0=c0.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");d0.anchor="middle_left";b0.anchor="middle_left";d0.y+=.1;d0.x=.3;b0.y-=.71;b0.x=.3;var Rx=c0;var Tx={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:.53,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:-.53,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:Q1,texts:Ex,bounds:$e,refblocks:Yx,circles:K1}=Tx,_t=s({primitives:[...Object.values(Q1),...Object.values(K1),{...Ex.bottom1,anchor:"middle_top"},{...Ex.right1,anchor:"middle_bottom"}],ports:[{...Yx.left1,labels:["1"]},{...Yx.right1,labels:["2"]}],size:{width:$e.width,height:$e.height},center:{x:$e.centerX,y:$e.centerY}});var _0=r(_t,"up"),g0=_0.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),u0=_0.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");g0.anchor="middle_left";u0.anchor="middle_left";g0.y+=.21;g0.x=.21;u0.y-=.21;u0.x=.21;var Me=_0;var v0=X(Me),w0=v0.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),A0=v0.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");w0.anchor="middle_left";A0.anchor="middle_left";w0.y+=.4;w0.x=.2;A0.y-=.41;A0.x=.2;var Xx=v0;var Lx=E(_t);var Vx={paths:{path11:{type:"path",points:[{x:-.51,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:.51,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:ed,texts:jx,bounds:Ce,refblocks:kx,circles:rd}=Vx,Ne=s({primitives:[...Object.values(ed),...Object.values(rd),{...jx.top1,anchor:"middle_left",x:0},{...jx.bottom1,anchor:"middle_left",x:0}],ports:[{...kx.left1,labels:["1"]},{...kx.right1,labels:["2"]}],size:{width:Ce.width,height:Ce.height},center:{x:Ce.centerX,y:Ce.centerY}});var zx=r(Ne),Ox=zx.primitives.filter(t=>t.type==="text"),P0=Ox.find(t=>t.text==="{VAL}");P0.x=-.35;P0.y=0;P0.anchor="middle_right";var S0=Ox.find(t=>t.text==="{REF}");S0.y=0;S0.x=.35;S0.anchor="middle_left";var Jx=zx;var $x={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:.53},{x:.12,y:.18}],color:"primary",fill:!1},path215:{type:"path",points:[{x:.12,y:-.53},{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:{}};var{paths:id,texts:Mx,bounds:Ie,refblocks:F0}=$x,Be=s({primitives:[...Object.values(id),{...Mx.right1,anchor:"middle_left"},{...Mx.right2,anchor:"middle_left"}],ports:[{...F0.top1,labels:["1"]},{...F0.bottom1,labels:["2"]},{...F0.left1,labels:["3"]}],size:{width:Ie.width+.4,height:Ie.height},center:{x:Ie.centerX+.2,y:Ie.centerY}});var R0=r(Be),Cx=R0.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),T0=R0.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Cx.anchor="middle_top";T0.anchor="middle_top";Cx.x=T0.x;T0.y+=.15;var Nx=R0;var Ix={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:-.49,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:.49,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:pd,texts:Bx,bounds:De,refblocks:Dx,circles:ad}=Ix,qe=s({primitives:[...Object.values(pd),...Object.values(ad),{...Bx.top1,anchor:"middle_bottom",x:0},{...Bx.bottom1,anchor:"middle_top",x:0}],ports:[{...Dx.left1,labels:["1"]},{...Dx.right1,labels:["2"]}],size:{width:De.width,height:De.height},center:{x:De.centerX+.006,y:De.centerY+.06}});var E0=r(qe),Pt=E0.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ue=E0.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Pt.anchor="middle_left";Ue.anchor="middle_right";Pt.x=Pt.x-.03;Pt.y=Pt.y;Ue.x=Ue.x;Ue.y=0;var qx=E0;var Ux={paths:{path11:{type:"path",points:[{x:-.39,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:.53},{x:.3,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.31,y:-.53},{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:xd,texts:Gx,bounds:Ge,refblocks:Y0,circles:sd}=Ux,We=s({primitives:[...Object.values(xd),...Object.values(sd),{...Gx.top1,anchor:"middle_right",x:0},{...Gx.bottom1,anchor:"middle_right",x:0}],ports:[{...Y0.top1,labels:["1","drain"]},{...Y0.bottom1,labels:["2","source"]},{...Y0.left1,labels:["3","gate"]}],size:{width:Ge.width,height:Ge.height},center:{x:Ge.centerX,y:Ge.centerY}});var Wx=r(We),Hx=Wx.primitives.filter(t=>t.type==="text"),X0=Hx.find(t=>t.text==="{VAL}");X0.x=-.35;X0.y=0;X0.anchor="middle_right";var L0=Hx.find(t=>t.text==="{REF}");L0.y=0;L0.x=.35;L0.anchor="middle_left";var Zx=Wx;var Qx={paths:{path11:{type:"path",points:[{x:-.39,y:-.1},{x:.05,y:-.11}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.3,y:.53},{x:.3,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.31,y:-.53},{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:nd,texts:Kx,bounds:He,refblocks:V0,circles:fd}=Qx,Ze=s({primitives:[...Object.values(nd),...Object.values(fd),{...Kx.top1,anchor:"middle_right",x:0},{...Kx.bottom1,anchor:"middle_right",x:0}],ports:[{...V0.top1,labels:["1","drain"]},{...V0.bottom1,labels:["2","source"]},{...V0.left1,labels:["3","gate"]}],size:{width:He.width,height:He.height},center:{x:He.centerX,y:He.centerY}});var ts=r(Ze),es=ts.primitives.filter(t=>t.type==="text"),j0=es.find(t=>t.text==="{VAL}");j0.x=-.35;j0.y=0;j0.anchor="middle_right";var k0=es.find(t=>t.text==="{REF}");k0.y=0;k0.x=.35;k0.anchor="middle_left";var rs=ts;var os={paths:{path11:{type:"path",points:[{x:-.39,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:.53},{x:.28,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.29,y:-.53},{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:cd,texts:is,bounds:Qe,refblocks:z0,circles:dd}=os,Ke=s({primitives:[...Object.values(cd),...Object.values(dd),{...is.top1,anchor:"middle_right",x:0},{...is.bottom1,anchor:"middle_right",x:0}],ports:[{...z0.top1,labels:["1","drain"]},{...z0.bottom1,labels:["2","source"]},{...z0.left1,labels:["3","gate"]}],size:{width:Qe.width,height:Qe.height},center:{x:Qe.centerX,y:Qe.centerY}});var ls=r(Ke),ps=ls.primitives.filter(t=>t.type==="text"),O0=ps.find(t=>t.text==="{VAL}");O0.x=-.35;O0.y=0;O0.anchor="middle_right";var J0=ps.find(t=>t.text==="{REF}");J0.y=0;J0.x=.35;J0.anchor="middle_left";var as=ls;var ys={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:_d,bounds:xs,refblocks:gd}=ys,U=e({primitives:[...Object.values(_d)],ports:[{...gd.left1,labels:["1"]}],center:{x:xs.centerX,y:xs.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).build();var ss=r(U,"down");var ms=r(U,"left");var ns=r(U,"up");var g={paths:{path11:{type:"path",points:[{x:-.39,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:.54}],color:"primary",fill:!1},"path12-1-5-3":{type:"path",points:[{x:.29,y:-.54},{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:vd,texts:SP,bounds:tr,refblocks:$0,circles:wd}=g,fs=e({primitives:[...Object.values(vd),...Object.values(wd),{type:"text",text:"{REF}",x:-.1,y:.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:-.3094553499999995}],ports:[{...$0.top1,labels:["1","collector"]},{...$0.bottom1,labels:["2","emitter"]},{...$0.left1,labels:["3","base"]}],size:{width:tr.width,height:tr.height},center:{x:tr.centerX,y:tr.centerY}}).rotateRightFacingSymbol("right").changeTextAnchor("{REF}","middle_right").changeTextAnchor("{VAL}","middle_right").build();var{paths:EP,texts:YP,bounds:XP,refblocks:LP,circles:VP}=g,hs=e(g).rotateRightFacingSymbol("up").changeTextAnchor("{VAL}","middle_left").labelPort("left1",["3","base"]).labelPort("top1",["1","collector"]).labelPort("bottom1",["2","emitter"]).changeTextAnchor("{REF}","middle_right").build();var{paths:Ad,texts:OP,bounds:er,refblocks:M0,circles:Pd}=g,cs=e({primitives:[...Object.values(Ad),...Object.values(Pd),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...M0.top1,labels:["1","collector"]},{...M0.bottom1,labels:["2","emitter"]},{...M0.left1,labels:["3","base"]}],size:{width:er.width,height:er.height},center:{x:er.centerX,y:er.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_bottom").build();var{paths:Sd,texts:CP,bounds:rr,refblocks:C0,circles:Fd}=g,ds=e({primitives:[...Object.values(Sd),...Object.values(Fd),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...C0.top1,labels:["1","collector"]},{...C0.bottom1,labels:["2","emitter"]},{...C0.left1,labels:["3","base"]}],size:{width:rr.width,height:rr.height},center:{x:rr.centerX,y:rr.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_top").changeTextAnchor("{VAL}","middle_top").build();var{paths:Rd,texts:DP,bounds:or,refblocks:N0,circles:Td}=g,bs=e({primitives:[...Object.values(Rd),...Object.values(Td),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...N0.top1,labels:["1","collector"]},{...N0.bottom1,labels:["2","emitter"]},{...N0.left1,labels:["3","base"]}],size:{width:or.width,height:or.height},center:{x:or.centerX,y:or.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Ed,texts:WP,bounds:ir,refblocks:I0,circles:Yd}=g,_s=e({primitives:[...Object.values(Ed),...Object.values(Yd),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...I0.top1,labels:["1","collector"]},{...I0.bottom1,labels:["2","emitter"]},{...I0.left1,labels:["3","base"]}],size:{width:ir.width,height:ir.height},center:{x:ir.centerX,y:ir.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var gs={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:-.58,y:.18}],color:"primary",fill:!1},path45:{type:"path",points:[{x:-.32,y:-.09},{x:-.58,y:-.09}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.42,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"rect1577-3":{type:"path",points:[{x:-.2,y:.18},{x:-.27,y:.18}],color:"primary",fill:!0},"rect1577-4":{type:"path",points:[{x:-.2,y:-.09},{x:-.27,y:-.09}],color:"primary",fill:!0},"rect1577-4-7":{type:"path",points:[{x:-.23,y:-.05},{x:-.23,y:-.12}],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:-.55,maxX:.55,minY:-.38,maxY:.27,width:1.09,height:.3,centerX:0,centerY:.05},circles:{}};var G=e(gs).labelPort("left1",["1","inp1"]).labelPort("left2",["2","inp2"]).labelPort("right1",["3","out"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var us=r(G,"down");var vs=r(G,"left");var ws=r(G,"up");var As={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:-.58,y:.18}],color:"primary",fill:!1},path45:{type:"path",points:[{x:-.32,y:-.09},{x:-.58,y:-.09}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.42,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:-.2,y:.18},{x:-.27,y:.18}],color:"primary",fill:!0},"rect1577-4":{type:"path",points:[{x:-.2,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:-.55,maxX:.55,minY:-.38,maxY:.27,width:1.09,height:.3,centerX:0,centerY:.05},circles:{}};var W=e(As).labelPort("left1",["1","inp1"]).labelPort("left2",["2","inp2"]).labelPort("right1",["3","out"]).labelPort("top2",["4","V+"]).labelPort("bottom1",["5","V-"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Ps=r(W,"down");var Ss=r(W,"left");var Fs=r(W,"up");var Rs={paths:{path11:{type:"path",points:[{x:-.39,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:.53},{x:.3,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.31,y:-.53},{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:jd,texts:Ts,bounds:lr,refblocks:B0,circles:kd}=Rs,pr=s({primitives:[...Object.values(jd),...Object.values(kd),{...Ts.top1,anchor:"middle_right",x:0},{...Ts.bottom1,anchor:"middle_right",x:0}],ports:[{...B0.top1,labels:["1","drain"]},{...B0.bottom1,labels:["2","source"]},{...B0.left1,labels:["3","gate"]}],size:{width:lr.width,height:lr.height},center:{x:lr.centerX,y:lr.centerY}});var Es=r(pr),Ys=Es.primitives.filter(t=>t.type==="text"),D0=Ys.find(t=>t.text==="{VAL}");D0.x=-.35;D0.y=0;D0.anchor="middle_right";var q0=Ys.find(t=>t.text==="{REF}");q0.y=0;q0.x=.35;q0.anchor="middle_left";var Xs=Es;var Ls={paths:{path11:{type:"path",points:[{x:-.39,y:-.1},{x:.05,y:-.11}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.3,y:.53},{x:.3,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.31,y:-.53},{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:Od,texts:Vs,bounds:ar,refblocks:U0,circles:Jd}=Ls,yr=s({primitives:[...Object.values(Od),...Object.values(Jd),{...Vs.top1,anchor:"middle_right",x:0},{...Vs.bottom1,anchor:"middle_right",x:0}],ports:[{...U0.top1,labels:["1","drain"]},{...U0.bottom1,labels:["2","source"]},{...U0.left1,labels:["3","gate"]}],size:{width:ar.width,height:ar.height},center:{x:ar.centerX,y:ar.centerY}});var js=r(yr),ks=js.primitives.filter(t=>t.type==="text"),G0=ks.find(t=>t.text==="{VAL}");G0.x=-.35;G0.y=0;G0.anchor="middle_right";var W0=ks.find(t=>t.text==="{REF}");W0.y=0;W0.x=.35;W0.anchor="middle_left";var zs=js;var Os={paths:{path11:{type:"path",points:[{x:-.53,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:.53,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 xr=e(Os).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Js=r(xr),Md=Js.primitives.filter(t=>t.type==="text"),$s=Md.find(t=>t.text==="{REF}");$s.y=0;$s.anchor="middle_left";var Ms=Js;var Cs={paths:{path11:{type:"path",points:[{x:-.39,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:.53},{x:.28,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.29,y:-.53},{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:Nd,texts:Ns,bounds:sr,refblocks:H0,circles:Id}=Cs,mr=s({primitives:[...Object.values(Nd),...Object.values(Id),{...Ns.top1,anchor:"middle_right",x:0},{...Ns.bottom1,anchor:"middle_right"}],ports:[{...H0.top1,labels:["1","drain"]},{...H0.bottom1,labels:["2","source"]},{...H0.left1,labels:["3","gate"]}],size:{width:sr.width,height:sr.height},center:{x:sr.centerX,y:sr.centerY}});var Is=r(mr),Bs=Is.primitives.filter(t=>t.type==="text"),Z0=Bs.find(t=>t.text==="{VAL}");Z0.x=-.35;Z0.y=0;Z0.anchor="middle_right";var Q0=Bs.find(t=>t.text==="{REF}");Q0.y=0;Q0.x=.35;Q0.anchor="middle_left";var Ds=Is;var u={paths:{path11:{type:"path",points:[{x:-.39,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:.54}],color:"primary",fill:!1},"path12-1-5-3":{type:"path",points:[{x:.29,y:-.54},{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:Dd,texts:tS,bounds:nr,refblocks:K0,circles:qd}=u,qs=e({primitives:[...Object.values(Dd),...Object.values(qd),{type:"text",text:"{REF}",x:-.1,y:.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:-.3094553499999995}],ports:[{...K0.top1,labels:["1","collector"]},{...K0.bottom1,labels:["2","emitter"]},{...K0.left1,labels:["3","base"]}],size:{width:nr.width,height:nr.height},center:{x:nr.centerX,y:nr.centerY}}).rotateRightFacingSymbol("right").changeTextAnchor("{REF}","middle_right").changeTextAnchor("{VAL}","middle_right").build();var{paths:iS,texts:lS,bounds:pS,refblocks:aS,circles:yS}=u,Us=e(u).rotateRightFacingSymbol("up").changeTextAnchor("{VAL}","middle_left").labelPort("left1",["3","base"]).labelPort("top1",["1","collector"]).labelPort("bottom1",["2","emitter"]).changeTextAnchor("{REF}","middle_right").build();var{paths:Ud,texts:nS,bounds:fr,refblocks:ti,circles:Gd}=u,Gs=e({primitives:[...Object.values(Ud),...Object.values(Gd),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...ti.top1,labels:["1","collector"]},{...ti.bottom1,labels:["2","emitter"]},{...ti.left1,labels:["3","base"]}],size:{width:fr.width,height:fr.height},center:{x:fr.centerX,y:fr.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_bottom").build();var{paths:Wd,texts:dS,bounds:hr,refblocks:ei,circles:Hd}=u,Ws=e({primitives:[...Object.values(Wd),...Object.values(Hd),{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:["2","emitter"]},{...ei.left1,labels:["3","base"]}],size:{width:hr.width,height:hr.height},center:{x:hr.centerX,y:hr.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_top").changeTextAnchor("{VAL}","middle_top").build();var{paths:Zd,texts:uS,bounds:cr,refblocks:ri,circles:Qd}=u,Hs=e({primitives:[...Object.values(Zd),...Object.values(Qd),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...ri.top1,labels:["1","collector"]},{...ri.bottom1,labels:["2","emitter"]},{...ri.left1,labels:["3","base"]}],size:{width:cr.width,height:cr.height},center:{x:cr.centerX,y:cr.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Kd,texts:PS,bounds:dr,refblocks:oi,circles:t2}=u,Zs=e({primitives:[...Object.values(Kd),...Object.values(t2),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...oi.top1,labels:["1","collector"]},{...oi.bottom1,labels:["2","emitter"]},{...oi.left1,labels:["3","base"]}],size:{width:dr.width,height:dr.height},center:{x:dr.centerX,y:dr.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Qs={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:-.51,y:.01}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:-.01,y:.51},{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:.5,y:.01},{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:.01,y:-.51}],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:r2,texts:Ks,bounds:br,refblocks:tm}=Qs,_r=s({primitives:[...Object.values(r2),{...Ks.bottom1,y:.35,anchor:"middle_top"},{...Ks.top1,anchor:"middle_left"}],ports:[{...tm.left1,labels:["1"]},{...tm.right1,labels:["2"]}],size:{width:br.width+.05,height:br.height},center:{x:br.centerX,y:br.centerY}});var o2=r(_r),em=o2;var rm={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},path23:{type:"path",points:[{x:.28,y:-.28},{x:.18,y:-.25},{x:.25,y:-.18}],color:"primary",fill:!0},path24:{type:"path",points:[{x:.29,y:-.29},{x:.25,y:-.17},{x:.16,y:-.26}],color:"primary",fill:!0},path26:{type:"path",points:[{x:-.3,y:.29},{x:.23,y:-.23}],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:l2,texts:om,bounds:gr,refblocks:im}=rm,H=s({primitives:[...Object.values(l2),{...om.bottom1,x:0,y:-.35,anchor:"middle_top"},{...om.top1,x:0,y:.35,anchor:"middle_bottom"}],ports:[{...im.left1,labels:["1"]},{...im.right1,labels:["2"]}],size:{width:gr.width+.05,height:gr.height},center:{x:gr.centerX,y:gr.centerY}});var ii=r(H,"down"),li=ii.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),pi=ii.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");li.anchor="middle_left";pi.anchor="middle_left";li.y+=.31;li.x=.34;pi.y-=.31;pi.x=.34;var lm=ii;var ai=r(H,"left"),yi=ai.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),xi=ai.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");yi.anchor="middle_bottom";xi.anchor="middle_top";yi.y+=.73;yi.x=0;xi.y-=.7;xi.x=0;var pm=ai;var si=r(H,"up"),mi=si.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ni=si.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");mi.anchor="middle_left";ni.anchor="middle_left";mi.y+=.21;mi.x=.34;ni.y-=.21;ni.x=.34;var am=si;var Z={paths:{path1:{type:"path",points:[{x:-.4,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:.4,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:a2,texts:WS,bounds:ur,refblocks:fi,circles:y2}=Z,ym=e({primitives:[...Object.values(a2),...Object.values(y2),{type:"text",text:"{REF}",x:-.15,y:.2394553499999995},{type:"text",text:"{VAL}",x:.15,y:.2394553499999995}],ports:[{...fi.left,labels:["1"]},{...fi.right,labels:["2"]},{...fi.bottom,labels:["3"]}],size:{width:ur.width,height:ur.height},center:{x:ur.centerX,y:ur.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:x2,texts:KS,bounds:vr,refblocks:hi,circles:s2}=Z,xm=e({primitives:[...Object.values(x2),...Object.values(s2),{type:"text",text:"{REF}",x:-.3,y:-.3894553499999995},{type:"text",text:"{VAL}",x:-.3,y:.3194553499999995}],ports:[{...hi.left,labels:["1"]},{...hi.right,labels:["2"]},{...hi.bottom,labels:["3"]}],size:{width:vr.width,height:vr.height},center:{x:vr.centerX,y:vr.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var sm=e(Z).labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:m2,texts:pF,bounds:wr,refblocks:ci,circles:n2}=Z,mm=e({primitives:[...Object.values(m2),...Object.values(n2),{type:"text",text:"{REF}",x:.3,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.2894553499999995}],ports:[{...ci.left,labels:["1"]},{...ci.right,labels:["2"]},{...ci.bottom,labels:["3"]}],size:{width:wr.width,height:wr.height},center:{x:wr.centerX,y:wr.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var nm={paths:{path11:{type:"path",points:[{x:-.53,y:.03},{x:-.3,y:.03}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:.03},{x:.53,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:h2,texts:mF,bounds:Ar,refblocks:fm,circles:c2}=nm,Pr=s({primitives:[...Object.values(h2),...Object.values(c2),{type:"text",text:"{REF}",x:-.15,y:-.42330070000000064,anchor:"middle_top"},{type:"text",text:"{VAL}",x:-.15,y:.42330070000000064,anchor:"middle_bottom"},{type:"text",text:"COS \u03C6",x:0,y:.014279000000000375,anchor:"center"}],ports:[{...fm.left1,labels:["1"]},{...fm.right1,labels:["2"]}],size:{width:Ar.width,height:Ar.height},center:{x:Ar.centerX,y:Ar.centerY}});var hm=r(Pr),di=hm.primitives.filter(t=>t.type==="text"),bi=di.find(t=>t.text==="{REF}"),_i=di.find(t=>t.text==="{VAL}"),gi=di.find(t=>t.text==="COS \u03C6");bi.x=.35;bi.y=0;bi.anchor="middle_left";_i.anchor="middle_right";_i.x=-.35;_i.y=0;gi.x=0;gi.y=0;gi.anchor="center";var cm=hm;var dm={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:-.49,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:.49,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:b2,texts:bm,bounds:Sr,refblocks:_m,circles:_2}=dm,Fr=s({primitives:[...Object.values(b2),...Object.values(_2),{...bm.top1,anchor:"middle_left"},{...bm.bottom1,anchor:"middle_left"}],ports:[{..._m.left1,labels:["1"]},{..._m.right1,labels:["2"]}],size:{width:Sr.width,height:Sr.height},center:{x:Sr.centerX,y:Sr.centerY}});var gm=r(Fr,"up");var um={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:-.49,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:.49,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:u2,texts:vm,bounds:Rr,refblocks:wm,circles:v2}=um,Tr=s({primitives:[...Object.values(u2),...Object.values(v2),{...vm.top1,anchor:"middle_left"},{...vm.bottom1,anchor:"middle_left"}],ports:[{...wm.left1,labels:["1"]},{...wm.right1,labels:["2"]}],size:{width:Rr.width,height:Rr.height},center:{x:Rr.centerX,y:Rr.centerY}});var Am=r(Tr,"up");var Pm={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:-.51,y:-.01}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:-.01,y:-.51},{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:.5,y:-.01},{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:.01,y:.51}],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:A2,texts:Sm,bounds:Er,refblocks:Yr,circles:P2}=Pm,Xr=s({primitives:[...Object.values(A2),...Object.values(P2),{...Sm.top1,anchor:"middle_right"},{...Sm.bottom1,anchor:"middle_right"}],ports:[{...Yr.top1,labels:["1"]},{...Yr.bottom1,labels:["2"]},{...Yr.left1,labels:["3"]},{...Yr.right1,labels:["4"]}],size:{width:Er.width,height:Er.height},center:{x:Er.centerX,y:Er.centerY}});var ui=r(Xr),S2=ui.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),F2=ui.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");S2.anchor="middle_left";F2.anchor="middle_right";var Fm=ui;var Q={paths:{path27:{type:"path",points:[{x:.46,y:.04},{x:.21,y:.04}],color:"primary",fill:!1},"path27-0":{type:"path",points:[{x:-.21,y:.04},{x:-.46,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:T2,texts:MF,bounds:Lr,refblocks:Rm,circles:E2}=Q,Tm=e({primitives:[...Object.values(T2),...Object.values(E2),{type:"text",text:"{REF}",x:-.2,y:.2194553499999995},{type:"text",text:"{VAL}",x:.2,y:.2194553499999995}],ports:[{...Rm.left1,labels:["1"]},{...Rm.right1,labels:["2"]}],size:{width:Lr.width,height:Lr.height},center:{x:Lr.centerX,y:Lr.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Y2,texts:BF,bounds:Vr,refblocks:Em,circles:X2}=Q,Ym=e({primitives:[...Object.values(Y2),...Object.values(X2),{type:"text",text:"{REF}",x:0,y:-.1704553499999995},{type:"text",text:"{VAL}",x:0,y:.2294553499999995}],ports:[{...Em.left1,labels:["1"]},{...Em.right1,labels:["2"]}],size:{width:Vr.width,height:Vr.height},center:{x:Vr.centerX,y:Vr.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:L2,texts:GF,bounds:jr,refblocks:Xm,circles:V2}=Q,Lm=e({primitives:[...Object.values(L2),...Object.values(V2),{type:"text",text:"{REF}",x:0,y:.2294553499999995},{type:"text",text:"{VAL}",x:0,y:-.1704553499999995}],ports:[{...Xm.left1,labels:["1"]},{...Xm.right1,labels:["2"]}],size:{width:jr.width,height:jr.height},center:{x:jr.centerX,y:jr.centerY}}).rotateRightFacingSymbol("right").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:j2,texts:QF,bounds:kr,refblocks:Vm,circles:k2}=Q,jm=e({primitives:[...Object.values(j2),...Object.values(k2),{type:"text",text:"{REF}",x:.2,y:-.1404553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.1494553499999995}],ports:[{...Vm.left1,labels:["1"]},{...Vm.right1,labels:["2"]}],size:{width:kr.width,height:kr.height},center:{x:kr.centerX,y:kr.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var zr={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:-.75,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:O2,texts:km,bounds:Or,refblocks:vi,circles:J2}=zr,K=s({primitives:[...Object.values(O2),...Object.values(J2),{...km.top1,anchor:"middle_bottom"},{...km.bottom1,anchor:"middle_top"}],ports:[{...vi.left1,labels:["1"]},{...vi.right1,labels:["2"]},{...vi.right2,labels:["3"]}],size:{width:Or.width,height:Or.height},center:{x:Or.centerX,y:Or.centerY}});var wi=r(K,"down"),Ai=wi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Pi=wi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ai.anchor="middle_bottom";Pi.anchor="middle_top";Ai.y+=.3;Ai.x+=.101;Pi.y-=.49999;Pi.x+=1.19999;var zm=wi;var{paths:$2,texts:xR,bounds:Jr,refblocks:Si,circles:M2}=zr,$r=s({primitives:[...Object.values($2),...Object.values(M2),{type:"text",text:"{REF}",x:.01596175000000022,y:-.5308501500000009,anchor:"middle_top"},{type:"text",text:"{VAL}",x:.013116750000000454,y:.5408501499999989,anchor:"middle_bottom"}],ports:[{...Si.left1,labels:["1"]},{...Si.right1,labels:["2"]},{...Si.right2,labels:["3"]}],size:{width:Jr.width,height:Jr.height},center:{x:Jr.centerX,y:Jr.centerY}});var Fi=r(K,"left"),Ri=Fi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ti=Fi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ri.anchor="middle_bottom";Ti.anchor="middle_top";Ri.y+=.99;Ri.x-=0;Ti.y-=1.10999;Ti.x=0;var Om=Fi;var Ei=r(K,"up"),Yi=Ei.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Xi=Ei.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Yi.anchor="middle_bottom";Xi.anchor="middle_top";Yi.y+=.499;Yi.x=.62;Xi.y-=.29999;Xi.x+=.1;var Jm=Ei;var $m=r($r);var Mm={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 tt=e(Mm).labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{VAL}","middle_top").changeTextAnchor("{REF}","middle_bottom").build();var Li=r(tt,"down"),Vi=Li.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ji=Li.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Vi.anchor="middle_left";ji.anchor="middle_left";Vi.y+=.3;Vi.x=.3;ji.y-=.3;ji.x=.3;var Cm=Li;var ki=r(tt,"left"),zi=ki.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Oi=ki.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");zi.anchor="middle_bottom";Oi.anchor="middle_top";zi.y+=.5;zi.x=0;Oi.y-=.55;Oi.x=0;var Nm=ki;var Ji=r(tt,"up"),$i=Ji.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Mi=Ji.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");$i.anchor="middle_left";Mi.anchor="middle_left";$i.y+=.3;$i.x=.3;Mi.y-=.3;Mi.x=.3;var Im=Ji;var Ci={paths:{path11:{type:"path",points:[{x:-.5,y:.04},{x:-.18,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.19,y:.05},{x:.51,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:-.33}],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:zR,texts:OR,bounds:JR,refblocks:$R,circles:MR}=Ci,Mr=e(Ci).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("bottom1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Bm=r(Mr),I2=Bm.primitives.filter(t=>t.type==="text"),Dm=I2.find(t=>t.text==="{REF}");Dm.y=0;Dm.anchor="middle_left";var qm=Bm;var et={paths:{path44:{type:"path",points:[{x:-.18,y:-.03},{x:-.44,y:-.03}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.44,y:-.02},{x:.18,y:-.02}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:.07,y:-.02},{x:-.07,y:-.02}],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:-.15},{x:-.07,y:-.15},{x:-.09,y:-.15},{x:-.1,y:-.14},{x:-.11,y:-.13},{x:-.13,y:-.12},{x:-.14,y:-.11},{x:-.14,y:-.1},{x:-.15,y:-.09},{x:-.16,y:-.08},{x:-.16,y:-.07},{x:-.16,y:-.06},{x:-.17,y:-.05},{x:-.17,y:-.04},{x:-.17,y:-.03},{x:-.17,y:-.02},{x:-.17,y:-.01},{x:-.16,y:0},{x:-.16,y:.01},{x:-.16,y:.02},{x:-.15,y:.03},{x:-.15,y:.04},{x:-.14,y:.05},{x:-.14,y:.05},{x:-.13,y:.06},{x:-.12,y:.07},{x:-.11,y:.08},{x:-.11,y:.08},{x:-.1,y:.09},{x:-.09,y:.09},{x:-.08,y:.1},{x:-.07,y:.1},{x:-.07,y:.1}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.07,y:-.15},{x:.07,y:-.15},{x:.09,y:-.15},{x:.1,y:-.14},{x:.12,y:-.13},{x:.13,y:-.12},{x:.14,y:-.11},{x:.14,y:-.1},{x:.15,y:-.09},{x:.16,y:-.08},{x:.16,y:-.07},{x:.17,y:-.06},{x:.17,y:-.05},{x:.17,y:-.04},{x:.17,y:-.03},{x:.17,y:-.02},{x:.17,y:-.01},{x:.16,y:0},{x:.16,y:.01},{x:.16,y:.02},{x:.15,y:.03},{x:.15,y:.04},{x:.14,y:.05},{x:.14,y:.05},{x:.13,y:.06},{x:.12,y:.07},{x:.11,y:.08},{x:.11,y:.08},{x:.1,y:.09},{x:.09,y:.09},{x:.08,y:.1},{x:.07,y:.1},{x:.07,y:.1}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.15}},refblocks:{left1:{x:-.45,y:-.03},right1:{x:.45,y:-.03}},bounds:{minX:-.47,maxX:.47,minY:-.15,maxY:.15,width:.95,height:.31,centerX:0,centerY:0},circles:{}};var Um=e(et).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var Gm=e(et).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_top").build();var Wm=e(et).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Hm=e(et).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right").build();var rt={paths:{path44:{type:"path",points:[{x:-.18,y:-.03},{x:-.44,y:-.03}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.44,y:-.02},{x:.18,y:-.02}],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:-.15},{x:-.07,y:-.15},{x:-.09,y:-.15},{x:-.1,y:-.14},{x:-.11,y:-.13},{x:-.13,y:-.12},{x:-.14,y:-.11},{x:-.14,y:-.1},{x:-.15,y:-.09},{x:-.16,y:-.08},{x:-.16,y:-.07},{x:-.16,y:-.06},{x:-.17,y:-.05},{x:-.17,y:-.04},{x:-.17,y:-.03},{x:-.17,y:-.02},{x:-.17,y:-.01},{x:-.16,y:0},{x:-.16,y:.01},{x:-.16,y:.02},{x:-.15,y:.03},{x:-.15,y:.04},{x:-.14,y:.05},{x:-.14,y:.05},{x:-.13,y:.06},{x:-.12,y:.07},{x:-.11,y:.08},{x:-.11,y:.08},{x:-.1,y:.09},{x:-.09,y:.09},{x:-.08,y:.1},{x:-.07,y:.1},{x:-.07,y:.1}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.07,y:-.15},{x:.07,y:-.15},{x:.09,y:-.15},{x:.1,y:-.14},{x:.12,y:-.13},{x:.13,y:-.12},{x:.14,y:-.11},{x:.14,y:-.1},{x:.15,y:-.09},{x:.16,y:-.08},{x:.16,y:-.07},{x:.17,y:-.06},{x:.17,y:-.05},{x:.17,y:-.04},{x:.17,y:-.03},{x:.17,y:-.02},{x:.17,y:-.01},{x:.16,y:0},{x:.16,y:.01},{x:.16,y:.02},{x:.15,y:.03},{x:.15,y:.04},{x:.14,y:.05},{x:.14,y:.05},{x:.13,y:.06},{x:.12,y:.07},{x:.11,y:.08},{x:.11,y:.08},{x:.1,y:.09},{x:.09,y:.09},{x:.08,y:.1},{x:.07,y:.1},{x:.07,y:.1}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.15}},refblocks:{left1:{x:-.45,y:-.03},right1:{x:.45,y:-.03}},bounds:{minX:-.47,maxX:.47,minY:-.15,maxY:.15,width:.95,height:.31,centerX:0,centerY:0},circles:{}};var Zm=e(rt).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var Qm=e(rt).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_top").build();var Km=e(rt).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var tn=e(rt).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right").build();var ot={paths:{path44:{type:"path",points:[{x:-.22,y:.1},{x:-.44,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.44,y:.1},{x:.22,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.03},{x:0,y:-.25}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.12,y:.23},{x:.12,y:-.02}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.04,y:.22},{x:.04,y:-.02}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.05,y:.22},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.04,y:.22},{x:-.05,y:.22}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.04,y:-.02},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.12,y:.23},{x:-.12,y:-.02}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.13,y:-.03},{x:-.13,y:-.03},{x:-.14,y:-.02},{x:-.16,y:-.01},{x:-.17,y:0},{x:-.18,y:.01},{x:-.19,y:.02},{x:-.2,y:.03},{x:-.2,y:.04},{x:-.21,y:.05},{x:-.21,y:.06},{x:-.22,y:.07},{x:-.22,y:.08},{x:-.22,y:.09},{x:-.22,y:.1},{x:-.22,y:.11},{x:-.22,y:.12},{x:-.22,y:.13},{x:-.21,y:.14},{x:-.21,y:.15},{x:-.21,y:.15},{x:-.2,y:.16},{x:-.19,y:.17},{x:-.19,y:.18},{x:-.18,y:.19},{x:-.17,y:.2},{x:-.17,y:.2},{x:-.16,y:.21},{x:-.15,y:.22},{x:-.14,y:.22},{x:-.13,y:.23},{x:-.13,y:.23},{x:-.13,y:.23}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.12,y:-.03},{x:.12,y:-.03},{x:.14,y:-.02},{x:.15,y:-.01},{x:.17,y:0},{x:.18,y:.01},{x:.19,y:.02},{x:.2,y:.03},{x:.2,y:.04},{x:.21,y:.05},{x:.21,y:.06},{x:.22,y:.07},{x:.22,y:.08},{x:.22,y:.09},{x:.22,y:.1},{x:.22,y:.11},{x:.22,y:.12},{x:.22,y:.13},{x:.21,y:.14},{x:.21,y:.15},{x:.2,y:.15},{x:.2,y:.16},{x:.19,y:.17},{x:.19,y:.18},{x:.18,y:.19},{x:.17,y:.2},{x:.17,y:.2},{x:.16,y:.21},{x:.15,y:.21},{x:.14,y:.22},{x:.13,y:.23},{x:.12,y:.23},{x:.12,y:.23}],color:"primary",fill:!1},path1:{type:"path",points:[{x:-.05,y:.1},{x:-.12,y:.1}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.28}},refblocks:{bottom1:{x:0,y:-.25},left1:{x:-.45,y:.1},right1:{x:.45,y:.1}},bounds:{minX:-.47,maxX:.47,minY:-.28,maxY:.28,width:.95,height:.56,centerX:0,centerY:0},circles:{}};var en=e(ot).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var rn=e(ot).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build();var on=e(ot).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var ln=e(ot).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_right").build();var it={paths:{path44:{type:"path",points:[{x:-.22,y:.1},{x:-.44,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.44,y:.1},{x:.22,y:.1}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:.12,y:.1},{x:.04,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.03},{x:0,y:-.25}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.12,y:.23},{x:.12,y:-.02}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.04,y:.22},{x:.04,y:-.02}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.05,y:.22},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.04,y:.22},{x:-.05,y:.22}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.04,y:-.02},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.12,y:.23},{x:-.12,y:-.02}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.13,y:-.03},{x:-.13,y:-.03},{x:-.14,y:-.02},{x:-.16,y:-.01},{x:-.17,y:0},{x:-.18,y:.01},{x:-.19,y:.02},{x:-.2,y:.03},{x:-.2,y:.04},{x:-.21,y:.05},{x:-.21,y:.06},{x:-.22,y:.07},{x:-.22,y:.08},{x:-.22,y:.09},{x:-.22,y:.1},{x:-.22,y:.11},{x:-.22,y:.12},{x:-.22,y:.13},{x:-.21,y:.14},{x:-.21,y:.15},{x:-.21,y:.15},{x:-.2,y:.16},{x:-.19,y:.17},{x:-.19,y:.18},{x:-.18,y:.19},{x:-.17,y:.2},{x:-.17,y:.2},{x:-.16,y:.21},{x:-.15,y:.22},{x:-.14,y:.22},{x:-.13,y:.23},{x:-.13,y:.23},{x:-.13,y:.23}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.12,y:-.03},{x:.12,y:-.03},{x:.14,y:-.02},{x:.15,y:-.01},{x:.17,y:0},{x:.18,y:.01},{x:.19,y:.02},{x:.2,y:.03},{x:.2,y:.04},{x:.21,y:.05},{x:.21,y:.06},{x:.22,y:.07},{x:.22,y:.08},{x:.22,y:.09},{x:.22,y:.1},{x:.22,y:.11},{x:.22,y:.12},{x:.22,y:.13},{x:.21,y:.14},{x:.21,y:.15},{x:.2,y:.15},{x:.2,y:.16},{x:.19,y:.17},{x:.19,y:.18},{x:.18,y:.19},{x:.17,y:.2},{x:.17,y:.2},{x:.16,y:.21},{x:.15,y:.21},{x:.14,y:.22},{x:.13,y:.23},{x:.12,y:.23},{x:.12,y:.23}],color:"primary",fill:!1},path1:{type:"path",points:[{x:-.05,y:.1},{x:-.12,y:.1}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.28}},refblocks:{bottom1:{x:0,y:-.25},left1:{x:-.45,y:.1},right1:{x:.45,y:.1}},bounds:{minX:-.47,maxX:.47,minY:-.28,maxY:.28,width:.95,height:.56,centerX:0,centerY:0},circles:{}};var pn=e(it).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var an=e(it).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build();var yn=e(it).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var xn=e(it).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_right").build();var lt={paths:{path44:{type:"path",points:[{x:-.22,y:.1},{x:-.44,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.44,y:.1},{x:.22,y:.1}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:.12,y:.1},{x:.04,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.03},{x:0,y:-.25}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.12,y:.23},{x:.12,y:-.02}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.04,y:.22},{x:.04,y:-.02}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.05,y:.22},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.04,y:.22},{x:-.05,y:.22}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.04,y:-.02},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.12,y:.23},{x:-.12,y:-.02}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.13,y:-.03},{x:-.13,y:-.03},{x:-.14,y:-.02},{x:-.16,y:-.01},{x:-.17,y:0},{x:-.18,y:.01},{x:-.19,y:.02},{x:-.2,y:.03},{x:-.2,y:.04},{x:-.21,y:.05},{x:-.21,y:.06},{x:-.22,y:.07},{x:-.22,y:.08},{x:-.22,y:.09},{x:-.22,y:.1},{x:-.22,y:.11},{x:-.22,y:.12},{x:-.22,y:.13},{x:-.21,y:.14},{x:-.21,y:.15},{x:-.21,y:.15},{x:-.2,y:.16},{x:-.19,y:.17},{x:-.19,y:.18},{x:-.18,y:.19},{x:-.17,y:.2},{x:-.17,y:.2},{x:-.16,y:.21},{x:-.15,y:.22},{x:-.14,y:.22},{x:-.13,y:.23},{x:-.13,y:.23},{x:-.13,y:.23}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.12,y:-.03},{x:.12,y:-.03},{x:.14,y:-.02},{x:.15,y:-.01},{x:.17,y:0},{x:.18,y:.01},{x:.19,y:.02},{x:.2,y:.03},{x:.2,y:.04},{x:.21,y:.05},{x:.21,y:.06},{x:.22,y:.07},{x:.22,y:.08},{x:.22,y:.09},{x:.22,y:.1},{x:.22,y:.11},{x:.22,y:.12},{x:.22,y:.13},{x:.21,y:.14},{x:.21,y:.15},{x:.2,y:.15},{x:.2,y:.16},{x:.19,y:.17},{x:.19,y:.18},{x:.18,y:.19},{x:.17,y:.2},{x:.17,y:.2},{x:.16,y:.21},{x:.15,y:.21},{x:.14,y:.22},{x:.13,y:.23},{x:.12,y:.23},{x:.12,y:.23}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.28}},refblocks:{bottom1:{x:0,y:-.25},left1:{x:-.45,y:.1},right1:{x:.45,y:.1}},bounds:{minX:-.47,maxX:.47,minY:-.28,maxY:.28,width:.95,height:.56,centerX:0,centerY:0},circles:{}};var sn=e(lt).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var mn=e(lt).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build();var nn=e(lt).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var fn=e(lt).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_right").build();var pt={paths:{path44:{type:"path",points:[{x:-.22,y:.1},{x:-.44,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.44,y:.1},{x:.22,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.03},{x:0,y:-.25}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.12,y:.23},{x:.12,y:-.02}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.04,y:.22},{x:.04,y:-.02}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.05,y:.22},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.04,y:.22},{x:-.05,y:.22}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.04,y:-.02},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.12,y:.23},{x:-.12,y:-.02}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.13,y:-.03},{x:-.13,y:-.03},{x:-.14,y:-.02},{x:-.16,y:-.01},{x:-.17,y:0},{x:-.18,y:.01},{x:-.19,y:.02},{x:-.2,y:.03},{x:-.2,y:.04},{x:-.21,y:.05},{x:-.21,y:.06},{x:-.22,y:.07},{x:-.22,y:.08},{x:-.22,y:.09},{x:-.22,y:.1},{x:-.22,y:.11},{x:-.22,y:.12},{x:-.22,y:.13},{x:-.21,y:.14},{x:-.21,y:.15},{x:-.21,y:.15},{x:-.2,y:.16},{x:-.19,y:.17},{x:-.19,y:.18},{x:-.18,y:.19},{x:-.17,y:.2},{x:-.17,y:.2},{x:-.16,y:.21},{x:-.15,y:.22},{x:-.14,y:.22},{x:-.13,y:.23},{x:-.13,y:.23},{x:-.13,y:.23}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.12,y:-.03},{x:.12,y:-.03},{x:.14,y:-.02},{x:.15,y:-.01},{x:.17,y:0},{x:.18,y:.01},{x:.19,y:.02},{x:.2,y:.03},{x:.2,y:.04},{x:.21,y:.05},{x:.21,y:.06},{x:.22,y:.07},{x:.22,y:.08},{x:.22,y:.09},{x:.22,y:.1},{x:.22,y:.11},{x:.22,y:.12},{x:.22,y:.13},{x:.21,y:.14},{x:.21,y:.15},{x:.2,y:.15},{x:.2,y:.16},{x:.19,y:.17},{x:.19,y:.18},{x:.18,y:.19},{x:.17,y:.2},{x:.17,y:.2},{x:.16,y:.21},{x:.15,y:.21},{x:.14,y:.22},{x:.13,y:.23},{x:.12,y:.23},{x:.12,y:.23}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.28}},refblocks:{bottom1:{x:0,y:-.25},left1:{x:-.45,y:.1},right1:{x:.45,y:.1}},bounds:{minX:-.47,maxX:.47,minY:-.28,maxY:.28,width:.95,height:.56,centerX:0,centerY:0},circles:{}};var hn=e(pt).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var cn=e(pt).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build();var dn=e(pt).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var bn=e(pt).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_right").build();var _n={paths:{path1:{type:"path",points:[{x:-.35,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:.35,y:-.06}],color:"primary",fill:!1},path3:{type:"path",points:[{x:.12,y:.17},{x:.36,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 at=e(_n).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right2",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Ni=r(at,"down"),Ii=Ni.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Bi=Ni.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ii.anchor="middle_bottom";Bi.anchor="middle_top";Ii.x=.44;Ii.y+=.28;Bi.y-=.28;Bi.x=.44;var gn=Ni;var Di=r(at,"left"),qi=Di.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ui=Di.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");qi.anchor="middle_bottom";Ui.anchor="middle_top";qi.x=0;qi.y+=.625;Ui.y-=.695;Ui.x=0;var un=Di;var Gi=r(at,"up"),Wi=Gi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Hi=Gi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Wi.anchor="middle_bottom";Hi.anchor="middle_top";Wi.x=.4;Wi.y+=.28;Hi.y-=.28;Hi.x=.4;var vn=Gi;var wn={paths:{path1:{type:"path",points:[{x:-.35,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:.35,y:-.06}],color:"primary",fill:!1},path3:{type:"path",points:[{x:.12,y:.17},{x:.36,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 yt=e(wn).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right3",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Zi=r(yt,"down"),Qi=Zi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ki=Zi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Qi.anchor="middle_bottom";Ki.anchor="middle_top";Qi.x=.44;Qi.y+=.28;Ki.y-=.28;Ki.x=.44;var An=Zi;var tl=r(yt,"left"),el=tl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),rl=tl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");el.anchor="middle_bottom";rl.anchor="middle_top";el.x=0;el.y+=.625;rl.y-=.695;rl.x=0;var Pn=tl;var ol=r(yt,"up"),il=ol.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ll=ol.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");il.anchor="middle_bottom";ll.anchor="middle_top";il.x=.4;il.y+=.28;ll.y-=.28;ll.x=.4;var Sn=ol;var St={paths:{path11:{type:"path",points:[{x:-.36,y:0},{x:-.14,y:0}],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:.13,y:0},{x:.37,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 St.refblocks.left1;delete St.refblocks.right1;St.bounds.width+=.2;var xt=e(St).changeTextAnchor("{VAL}","middle_top").labelPort("left2",["1"]).labelPort("right2",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var pl=r(xt,"down"),al=pl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),yl=pl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");al.anchor="middle_bottom";yl.anchor="middle_top";al.x=.3;al.y+=.265;yl.y-=.265;yl.x=.3;var Fn=pl;var xl=r(xt,"left"),sl=xl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ml=xl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");sl.anchor="middle_bottom";ml.anchor="middle_top";sl.x=0;sl.y+=.57;ml.y-=.57;ml.x=0;var Rn=xl;var nl=r(xt,"up"),fl=nl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),hl=nl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");fl.anchor="middle_bottom";hl.anchor="middle_top";fl.x=.3;fl.y+=.265;hl.y-=.265;hl.x=.3;var Tn=nl;var Ft={paths:{path11:{type:"path",points:[{x:-.36,y:0},{x:-.14,y:0}],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:.13,y:0},{x:.37,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 Ft.refblocks.left1;delete Ft.refblocks.right1;Ft.bounds.width+=.2;var st=e(Ft).changeTextAnchor("{VAL}","middle_top").labelPort("left2",["1"]).labelPort("right2",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var cl=r(st,"down"),dl=cl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),bl=cl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");dl.anchor="middle_bottom";bl.anchor="middle_top";dl.x=.3;dl.y+=.265;bl.y-=.265;bl.x=.3;var En=cl;var _l=r(st,"left"),gl=_l.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ul=_l.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");gl.anchor="middle_bottom";ul.anchor="middle_top";gl.x=0;gl.y+=.57;ul.y-=.57;ul.x=0;var Yn=_l;var vl=r(st,"up"),wl=vl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Al=vl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");wl.anchor="middle_bottom";Al.anchor="middle_top";wl.x=.3;wl.y+=.265;Al.y-=.265;Al.x=.3;var Xn=vl;var Pl={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:dY,texts:bY,bounds:_Y,refblocks:gY,circles:uY}=Pl,Cr=e(Pl).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Ln=r(Cr);var Vn={paths:{path11:{type:"path",points:[{x:-.53,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.53,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:rb,texts:ob,bounds:Nr,refblocks:jn,circles:ib}=Vn,Rt=s({primitives:[...Object.values(rb),...Object.values(ib),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...ob.left1,y:.01,anchor:"center",fontSize:.2}],ports:[{...jn.left1,labels:["1"]},{...jn.right1,labels:["2"]}],size:{width:Nr.width,height:Nr.height},center:{x:Nr.centerX,y:Nr.centerY}});var{5:lb,...pb}=Rt.primitives;function ab(t){return typeof t=="object"}var kn=r({...Rt,primitives:Object.values(pb).filter(ab)}),zn={...kn,primitives:[...kn.primitives,lb]};var mt=s({primitives:[{type:"path",points:[{x:-.2,y:0},{x:0,y:0}],color:"primary",fill:!1},{type:"path",points:Array.from({length:8},(t,o)=>{let i=Math.PI/2-o*Math.PI/7,l=.1;return{x:.1-l*Math.cos(i),y:l*Math.sin(i)}}),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 Jn=r(mt,"down"),On=Jn.primitives.find(t=>t.type==="text"&&t.text==="{REF}");On&&(On.anchor="middle_top");var $n=Jn;var Mn=r(mt,"left");var Nn=r(mt,"up"),Cn=Nn.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Cn&&(Cn.anchor="middle_bottom");var In=Nn;var Bn={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:-.4,y:.2},{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 gt=e(Bn).labelPort("right1",["1"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Sl=r(gt,"up"),Fl=Sl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Rl=Sl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Fl.anchor="middle_bottom";Rl.anchor="middle_top";Fl.x=.4;Fl.y+=.2;Rl.y-=.3;Rl.x=.4;var Ir=Sl;var Tl=X(Ir),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_bottom";Yl.anchor="middle_top";El.x=.35;El.y+=.4;Yl.y-=.4;Yl.x=.35;var Dn=Tl;var Xl=r(gt,"left"),Ll=Xl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Vl=Xl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ll.anchor="middle_bottom";Vl.anchor="middle_top";Ll.x=0;Ll.y+=.5;Vl.y-=.6;Vl.x=0;var qn=Xl;var jl={paths:{path11:{type:"path",points:[{x:-.52,y:.04},{x:-.11,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.1,y:.04},{x:.52,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:-.3}],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:lX,texts:pX,bounds:aX,refblocks:yX,circles:xX}=jl,Br=e(jl).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("bottom1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Un=r(Br),Gn=Un.primitives.filter(t=>t.type==="text"),sb=Gn.find(t=>t.text==="{REF}"),mb=Gn.find(t=>t.text==="{VAL}");sb.y=0;mb.y=0;var Wn=Un;var Hn={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:fb,texts:Zn,bounds:Dr,refblocks:Qn,circles:hb}=Hn,qr=s({primitives:[...Object.values(fb),...Object.values(hb),{...Zn.top1,anchor:"middle_bottom"},{...Zn.bottom1,anchor:"middle_top"}],ports:[{...Qn.left1,labels:["1"]},{...Qn.right1,labels:["2"]}],size:{width:Dr.width,height:Dr.height},center:{x:Dr.centerX,y:Dr.centerY}});var kl=r(qr),cb=kl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),db=kl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");cb.anchor="middle_left";db.anchor="middle_right";var Kn=kl;var tf={paths:{path11:{type:"path",points:[{x:-.33,y:.21},{x:-.02,y:.01}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.23,y:.13},{x:.23,y:.38}],color:"primary",fill:!1},"path12-2":{type:"path",points:[{x:.23,y:-.08},{x:.23,y:-.33}],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:_b,texts:ef,bounds:Ur,refblocks:zl,circles:gb}=tf,Gr=s({primitives:[...Object.values(_b),...Object.values(gb),{...ef.top1,anchor:"middle_left"},{...ef.bottom1,anchor:"middle_right"}],ports:[{...zl.top1,labels:["1"]},{...zl.bottom1,labels:["2"]},{...zl.left1,labels:["3"]}],size:{width:Ur.width,height:Ur.height},center:{x:Ur.centerX,y:Ur.centerY}});var rf=r(Gr),of=rf.primitives.filter(t=>t.type==="text"),ub=of.find(t=>t.text==="{REF}");ub.y=.1;var lf=of.find(t=>t.text==="{VAL}");lf.y=.1;lf.x=-.4;var pf=rf;var af={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 yf=e(af).changeTextAnchor("{REF}","middle_bottom").build();var xf={paths:{path11:{type:"path",points:[{x:-.53,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.53,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:Ab,texts:Ol,bounds:Wr,refblocks:sf,circles:Pb}=xf,Hr=s({primitives:[...Object.values(Ab),...Object.values(Pb),{...Ol.top1,x:0,y:-.3594553499999995,anchor:"middle_top"},{...Ol.bottom1,x:0,y:.35,anchor:"middle_bottom"},{...Ol.left1,x:-.02,y:.01,fontSize:.2,anchor:"center"}],ports:[{...sf.left1,labels:["1"]},{...sf.right1,labels:["2"]}],size:{width:Wr.width,height:Wr.height},center:{x:Wr.centerX,y:Wr.centerY}});var mf=r(Hr);var nf={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:.53,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:Fb,texts:ff,bounds:Zr,refblocks:hf,circles:Rb}=nf,Qr=s({primitives:[...Object.values(Fb),...Object.values(Rb),{...ff.top1,anchor:"middle_bottom"},{...ff.bottom1,anchor:"middle_top"}],ports:[{...hf.left1,labels:["1"]},{...hf.right1,labels:["2"]}],size:{width:Zr.width,height:Zr.height},center:{x:Zr.centerX,y:Zr.centerY}});var Jl=r(Qr),Tb=Jl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Eb=Jl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Tb.anchor="middle_left";Eb.anchor="middle_right";var cf=Jl;var df={paths:{path5:{type:"path",points:[{x:-.52,y:0},{x:-.26,y:0}],color:"primary",fill:!1},path6:{type:"path",points:[{x:.27,y:0},{x:.53,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:.01}},bounds:{minX:-.57,maxX:.57,minY:-.25,maxY:.25,width:1.13,height:.5,centerX:0,centerY:0},circles:{}};var{paths:Xb,texts:bf,bounds:Kr,refblocks:_f}=df,to=s({primitives:[...Object.values(Xb),{...bf.top1,anchor:"middle_left"},{...bf.bottom1,anchor:"middle_right"}],ports:[{..._f.left1,labels:["1","-"]},{..._f.right1,labels:["2","+"]}],size:{width:Kr.width,height:Kr.height},center:{x:Kr.centerX,y:Kr.centerY}});var gf=r(to);var uf={paths:{path11:{type:"path",points:[{x:-.53,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.53,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:Vb,texts:jb,bounds:eo,refblocks:vf,circles:kb}=uf,Tt=s({primitives:[...Object.values(Vb),...Object.values(kb),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...jb.left1,anchor:"center",y:.02,fontSize:.2}],ports:[{...vf.left1,labels:["1"]},{...vf.right1,labels:["2"]}],size:{width:eo.width,height:eo.height},center:{x:eo.centerX,y:eo.centerY}});var{5:zb,...Ob}=Tt.primitives;function Jb(t){return typeof t=="object"}var wf=r({...Tt,primitives:Object.values(Ob).filter(Jb)}),Af={...wf,primitives:[...wf.primitives,zb]};var nt={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:-.22,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:{}};var Pf=e(nt).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var Sf=e(nt).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var Ff=e(nt).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var Rf=e(nt).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var $l={paths:{path11:{type:"path",points:[{x:-.53,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:.53,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:wL,texts:AL,bounds:PL,circles:SL,refblocks:FL}=$l,ro=e($l).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Tf=r(ro);var Ef={paths:{path11:{type:"path",points:[{x:-.53,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.53,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:Nb,texts:Ib,bounds:oo,refblocks:Yf,circles:Bb}=Ef,Et=s({primitives:[...Object.values(Nb),...Object.values(Bb),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...Ib.left1,anchor:"center",y:.01,fontSize:.2}],ports:[{...Yf.left1,labels:["1"]},{...Yf.right1,labels:["2"]}],size:{width:oo.width,height:oo.height},center:{x:oo.centerX,y:oo.centerY}});var{5:Db,...qb}=Et.primitives;function Ub(t){return typeof t=="object"}var Xf=r({...Et,primitives:Object.values(qb).filter(Ub)}),Lf={...Xf,primitives:[...Xf.primitives,Db]};var Vf={paths:{path11:{type:"path",points:[{x:-.53,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.53,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:Wb,texts:Hb,bounds:io,refblocks:jf,circles:Zb}=Vf,Yt=s({primitives:[...Object.values(Wb),...Object.values(Zb),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...Hb.left1,anchor:"center",y:.01,fontSize:.3}],ports:[{...jf.left1,labels:["1"]},{...jf.right1,labels:["2"]}],size:{width:io.width,height:io.height},center:{x:io.centerX,y:io.centerY}});var{5:Qb,...Kb}=Yt.primitives;function t_(t){return typeof t=="object"}var kf=r({...Yt,primitives:Object.values(Kb).filter(t_)}),zf={...kf,primitives:[...kf.primitives,Qb]};var Of={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}},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:r_,texts:Jf,bounds:lo,refblocks:$f,circles:o_}=Of,po=s({primitives:[...Object.values(r_),...Object.values(o_),{...Jf.top1,anchor:"middle_bottom"},{...Jf.bottom1,anchor:"middle_top"}],ports:[{...$f.left1,labels:["1"]},{...$f.right1,labels:["2"]}],size:{width:lo.width,height:lo.height},center:{x:lo.centerX,y:lo.centerY}});var Ml=r(po),i_=Ml.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),l_=Ml.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");i_.anchor="middle_left";l_.anchor="middle_right";var Mf=Ml;var Cf={ac_voltmeter_down:ql,ac_voltmeter_horz:Gl,ac_voltmeter_left:Hl,ac_voltmeter_right:Ql,ac_voltmeter_up:tp,ac_voltmeter_vert:rp,avalanche_diode_down:ip,avalanche_diode_horz:lp,avalanche_diode_left:ap,avalanche_diode_right:yp,avalanche_diode_up:sp,avalanche_diode_vert:np,backward_diode_down:hp,backward_diode_left:Dt,backward_diode_right:bp,backward_diode_up:_p,battery_horz:Gt,battery_vert:wp,boxresistor_down:Sp,boxresistor_left:Tp,boxresistor_right:Xp,boxresistor_small_down:Vp,boxresistor_small_left:kp,boxresistor_small_right:Op,boxresistor_small_up:$p,boxresistor_up:Np,bridged_ground_down:Dp,bridged_ground_left:Gp,bridged_ground_right:Kt,bridged_ground_up:Zp,capacitor_down:Kp,capacitor_left:ta,capacitor_polarized_down:ra,capacitor_polarized_left:oa,capacitor_polarized_right:la,capacitor_polarized_up:aa,capacitor_right:ya,capacitor_up:sa,constant_current_diode_down:na,constant_current_diode_horz:fa,constant_current_diode_left:ca,constant_current_diode_right:da,constant_current_diode_up:_a,constant_current_diode_vert:ua,crystal_4pin_down:va,crystal_4pin_left:wa,crystal_4pin_right:Aa,crystal_4pin_up:Pa,crystal_down:Fa,crystal_left:Ra,crystal_right:Ta,crystal_up:Ya,darlington_pair_transistor_down:Xa,darlington_pair_transistor_horz:La,darlington_pair_transistor_left:Va,darlington_pair_transistor_right:ja,darlington_pair_transistor_up:ka,darlington_pair_transistor_vert:za,dc_ammeter_horz:vt,dc_ammeter_vert:Ma,dc_voltmeter_down:Na,dc_voltmeter_horz:Ba,dc_voltmeter_left:qa,dc_voltmeter_right:Ga,dc_voltmeter_up:Ha,dc_voltmeter_vert:Qa,diac_down:Ka,diac_horz:ty,diac_left:ey,diac_right:ry,diac_up:oy,diac_vert:iy,diode_down:py,diode_left:ay,diode_right:$,diode_up:yy,dpdt_normally_closed_switch_down:sy,dpdt_normally_closed_switch_left:my,dpdt_normally_closed_switch_right:M,dpdt_normally_closed_switch_up:ny,dpdt_switch_down:hy,dpdt_switch_left:cy,dpdt_switch_right:C,dpdt_switch_up:dy,dpst_normally_closed_switch_down:_y,dpst_normally_closed_switch_left:gy,dpst_normally_closed_switch_right:N,dpst_normally_closed_switch_up:uy,dpst_switch_down:wy,dpst_switch_left:Ay,dpst_switch_right:I,dpst_switch_up:Py,ferrite_bead_down:Fy,ferrite_bead_left:Ry,ferrite_bead_right:Se,ferrite_bead_up:Pe,filled_diode_down:Ey,filled_diode_horz:Xy,filled_diode_left:Vy,filled_diode_right:ky,filled_diode_up:Oy,filled_diode_vert:$y,frequency_meter_horz:wt,frequency_meter_vert:Iy,fuse_horz:je,fuse_vert:qy,ground_down:Uy,ground_horz:Gy,ground_left:Wy,ground_right:Hy,ground_up:Zy,ground_vert:Qy,ground2_down:tx,ground2_left:rx,ground2_right:ix,ground2_up:px,gunn_diode_horz:ax,gunn_diode_vert:yx,icled_down:sx,icled_left:mx,icled_right:D,icled_up:nx,igbt_transistor_horz:ke,igbt_transistor_vert:cx,illuminated_push_button_normally_open_horz:ze,illuminated_push_button_normally_open_vert:gx,inductor_down:Ax,inductor_left:Px,inductor_right:bt,inductor_up:Je,laser_diode_down:Sx,laser_diode_left:Fx,laser_diode_right:q,laser_diode_up:Rx,led_down:Xx,led_left:Lx,led_right:_t,led_up:Me,light_dependent_resistor_horz:Ne,light_dependent_resistor_vert:Jx,mosfet_depletion_normally_on_horz:Be,mosfet_depletion_normally_on_vert:Nx,mushroom_head_normally_open_momentary_horz:qe,mushroom_head_normally_open_momentary_vert:qx,n_channel_d_mosfet_transistor_horz:We,n_channel_d_mosfet_transistor_vert:Zx,n_channel_e_mosfet_transistor_horz:Ze,n_channel_e_mosfet_transistor_vert:rs,njfet_transistor_horz:Ke,njfet_transistor_vert:as,not_connected_down:ss,not_connected_left:ms,not_connected_right:U,not_connected_up:ns,npn_bipolar_transistor_down:fs,npn_bipolar_transistor_horz:hs,npn_bipolar_transistor_left:cs,npn_bipolar_transistor_right:ds,npn_bipolar_transistor_up:bs,npn_bipolar_transistor_vert:_s,opamp_no_power_down:us,opamp_no_power_left:vs,opamp_no_power_right:G,opamp_no_power_up:ws,opamp_with_power_down:Ps,opamp_with_power_left:Ss,opamp_with_power_right:W,opamp_with_power_up:Fs,p_channel_d_mosfet_transistor_horz:pr,p_channel_d_mosfet_transistor_vert:Xs,p_channel_e_mosfet_transistor_horz:yr,p_channel_e_mosfet_transistor_vert:zs,photodiode_horz:xr,photodiode_vert:Ms,pjfet_transistor_horz:mr,pjfet_transistor_vert:Ds,pnp_bipolar_transistor_down:qs,pnp_bipolar_transistor_horz:Us,pnp_bipolar_transistor_left:Gs,pnp_bipolar_transistor_right:Ws,pnp_bipolar_transistor_up:Hs,pnp_bipolar_transistor_vert:Zs,potentiometer_horz:_r,potentiometer_vert:em,potentiometer2_down:lm,potentiometer2_left:pm,potentiometer2_right:H,potentiometer2_up:am,potentiometer3_down:ym,potentiometer3_left:xm,potentiometer3_right:sm,potentiometer3_up:mm,power_factor_meter_horz:Pr,power_factor_meter_vert:cm,push_button_normally_closed_momentary_horz:Fr,push_button_normally_closed_momentary_vert:gm,push_button_normally_open_momentary_horz:Tr,push_button_normally_open_momentary_vert:Am,rectifier_diode_horz:Xr,rectifier_diode_vert:Fm,resistor_down:Tm,resistor_left:Ym,resistor_right:Lm,resistor_up:jm,resonator_down:zm,resonator_horz:$r,resonator_left:Om,resonator_right:K,resonator_up:Jm,resonator_vert:$m,schottky_diode_down:Cm,schottky_diode_left:Nm,schottky_diode_right:tt,schottky_diode_up:Im,silicon_controlled_rectifier_horz:Mr,silicon_controlled_rectifier_vert:qm,solderjumper2_bridged12_down:Um,solderjumper2_bridged12_left:Gm,solderjumper2_bridged12_right:Wm,solderjumper2_bridged12_up:Hm,solderjumper2_down:Zm,solderjumper2_left:Qm,solderjumper2_right:Km,solderjumper2_up:tn,solderjumper3_bridged12_down:en,solderjumper3_bridged12_left:rn,solderjumper3_bridged12_right:on,solderjumper3_bridged12_up:ln,solderjumper3_bridged123_down:pn,solderjumper3_bridged123_left:an,solderjumper3_bridged123_right:yn,solderjumper3_bridged123_up:xn,solderjumper3_bridged23_down:sn,solderjumper3_bridged23_left:mn,solderjumper3_bridged23_right:nn,solderjumper3_bridged23_up:fn,solderjumper3_down:hn,solderjumper3_left:cn,solderjumper3_right:dn,solderjumper3_up:bn,spdt_normally_closed_switch_down:gn,spdt_normally_closed_switch_left:un,spdt_normally_closed_switch_right:at,spdt_normally_closed_switch_up:vn,spdt_switch_down:An,spdt_switch_left:Pn,spdt_switch_right:yt,spdt_switch_up:Sn,spst_normally_closed_switch_down:Fn,spst_normally_closed_switch_left:Rn,spst_normally_closed_switch_right:xt,spst_normally_closed_switch_up:Tn,spst_switch_down:En,spst_switch_left:Yn,spst_switch_right:st,spst_switch_up:Xn,step_recovery_diode_horz:Cr,step_recovery_diode_vert:Ln,tachometer_horz:Rt,tachometer_vert:zn,testpoint_down:$n,testpoint_left:Mn,testpoint_right:mt,testpoint_up:In,tilted_ground_down:Dn,tilted_ground_left:qn,tilted_ground_right:gt,tilted_ground_up:Ir,triac_horz:Br,triac_vert:Wn,tunnel_diode_horz:qr,tunnel_diode_vert:Kn,unijunction_transistor_horz:Gr,unijunction_transistor_vert:pf,usbc:yf,var_meter_horz:Hr,var_meter_vert:mf,varactor_diode_horz:Qr,varactor_diode_vert:cf,varistor_horz:to,varistor_vert:gf,varmeter_horz:Tt,varmeter_vert:Af,vcc_down:Pf,vcc_left:Sf,vcc_right:Ff,vcc_up:Rf,volt_meter_horz:ro,volt_meter_vert:Tf,watt_hour_meter_horz:Et,watt_hour_meter_vert:Lf,wattmeter_horz:Yt,wattmeter_vert:zf,zener_diode_horz:po,zener_diode_vert:Mf};var _=(t,o=!0)=>o?-t:t;var ft=t=>{switch(t){case"primary":return"black";case"secondary":return"gray";default:return t}};function Nf(t,{closed:o=!1,yUpPositive:i=!0}){let l=t.map((a,y)=>`${y===0?"M":"L"}${a.x},${_(a.y,i)}`).join(" ");return o?`${l} Z`:l}function p_(t,o=.05,i=!0){let{x:l,y:a}=t,y=o/2;return`<path d="M ${l} ${_(a,i)-y} L ${l+y} ${_(a,i)} L ${l} ${_(a,i)+y} L ${l-y} ${_(a,i)} Z" fill="green" />`}function a_(t,{yUpPositive:o}){let{x:i,y:l,text:a,fontSize:y=.1,anchor:n}=t,m,c=0,p=0,x=y*.75;switch(n){case"top_left":m="start",p=y;break;case"top_right":m="end",p=y;break;case"bottom_left":m="start";break;case"bottom_right":m="end";break;case"center":m="middle",p=y/2;break;case"middle_top":m="middle",p=x;break;case"middle_bottom":m="middle";break;case"middle_left":m="start",p=x/2;break;case"middle_right":m="end",p=x/2;break}return{text:`<text x="${i}" y="${_(l,o)}" dx="${c}" dy="${p}" text-anchor="${m}" style="font: ${y??.1}px monospace; fill: ${ft("primary")}">${a}</text>`,anchor:`<rect x="${i-.025/2}" y="${_(l,o)-.025/2}" width="0.025" height="0.025" fill="blue" />`}}function y_(t,{yUpPositive:o}){let{x:i,y:l,labels:a}=t,y=.05,n=.08,m=a[0]||"";return`
6
+ at `+n}return o};Lt.buildMessage=function(t,o){var i={literal:function(p){return'"'+a(p.text)+'"'},class:function(p){var x=p.parts.map(function(f){return Array.isArray(f)?y(f[0])+"-"+y(f[1]):y(f)});return"["+(p.inverted?"^":"")+x.join("")+"]"},any:function(){return"any character"},end:function(){return"end of input"},other:function(p){return p.description}};function l(p){return p.charCodeAt(0).toString(16).toUpperCase()}function a(p){return p.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(x){return"\\x0"+l(x)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(x){return"\\x"+l(x)})}function y(p){return p.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(x){return"\\x0"+l(x)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(x){return"\\x"+l(x)})}function n(p){return i[p.type](p)}function m(p){var x=p.map(n),f,d;if(x.sort(),x.length>0){for(f=1,d=1;f<x.length;f++)x[f-1]!==x[f]&&(x[d]=x[f],d++);x.length=d}switch(x.length){case 1:return x[0];case 2:return x[0]+" or "+x[1];default:return x.slice(0,-1).join(", ")+", or "+x[x.length-1]}}function c(p){return p?'"'+a(p)+'"':"end of input"}return"Expected "+m(t)+" but "+c(o)+" found."};function ct(t){if(t.length===0)return{minX:0,maxX:0,minY:0,maxY:0};let o=1/0,i=-1/0,l=1/0,a=-1/0,y=n=>{o=Math.min(o,n.x),i=Math.max(i,n.x),l=Math.min(l,n.y),a=Math.max(a,n.y)};return t.forEach(n=>{switch(n.type){case"path":n.points.forEach(y);break;case"text":y({x:n.x,y:n.y});break;case"circle":{let{x:m,y:c,radius:p}=n;y({x:m-p,y:c-p}),y({x:m+p,y:c+p});break}case"box":{let{x:m,y:c,width:p,height:x}=n,f=p/2,d=x/2;y({x:m-f,y:c-d}),y({x:m+f,y:c+d});break}}}),{minX:o,maxX:i,minY:l,maxY:a}}var Wf=(t,o="right")=>{switch(o){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},X=(t,o)=>{let{primitives:i,center:l,ports:a,size:y}=t,n=Y({a:1,b:0,c:0,d:-1,e:0,f:2*l.y}),m=i.map(p=>{switch(p={...p},p.type){case"path":return{...p,points:p.points.map(h=>b(n,h))};case"text":let x=b(n,{x:p.x,y:p.y}),f={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{...p,x:x.x,y:x.y,anchor:f[p.anchor]};case"circle":case"box":let d=b(n,{x:p.x,y:p.y});return{...p,x:d.x,y:d.y}}}),c=a.map(p=>({...p,...b(n,p)}));return{primitives:m,center:l,ports:c,size:y,...o}},E=(t,o)=>{let{primitives:i,center:l,ports:a,size:y}=t,n=Y({a:-1,b:0,c:0,d:1,e:0,f:2*l.x}),m=i.map(p=>{switch(p={...p},p.type){case"path":return{...p,points:p.points.map(h=>b(n,h))};case"text":let x=b(n,{x:p.x,y:p.y}),f={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{...p,x:x.x,y:x.y,anchor:f[p.anchor]};case"circle":case"box":let d=b(n,{x:p.x,y:p.y});return{...p,x:d.x,y:d.y}}}),c=a.map(p=>({...p,...b(n,p)}));return{primitives:m,center:l,ports:c,size:y,...o}},ut=(t,o)=>{let{newOrientation:i,overrides:l}=o,a={up:Math.PI/2,right:0,down:-Math.PI/2,left:-Math.PI},y=ao(i?a[i]:Math.PI/2,t.center.x,t.center.y),{primitives:n,center:m,size:c,ports:p}=t,x=n.map(h=>{switch(h={...h},h.type){case"path":return{...h,points:h.points.map(Bf=>b(y,Bf))};case"text":let Cl=b(y,{x:h.x,y:h.y});return h.anchor=Wf(h.anchor,i??"right"),{...h,x:Cl.x,y:Cl.y};case"circle":let Nl=b(y,{x:h.x,y:h.y});return{...h,x:Nl.x,y:Nl.y};case"box":let Il=b(y,{x:h.x,y:h.y});return{...h,x:Il.x,y:Il.y,width:h.height,height:h.width}}}),f=p.map(h=>({...h,...b(y,h)})),d=ct(x);return{primitives:x,center:m,ports:f,size:{width:d.maxX-d.minX,height:d.maxY-d.minY},...l}},r=(t,o="down",i={})=>ut(t,{newOrientation:o,overrides:i});var xo=class{symbol;constructor(o){this.symbol=JSON.parse(JSON.stringify(o)),this.symbol.size=this.computeSize()}changeTextAnchor(o,i,l){return this.symbol={...this.symbol,primitives:this.symbol.primitives.map(a=>a.type==="text"&&a.text===o?{...a,anchor:i,...l?{x:a.x+l.x,y:a.y+l.y}:{}}:a)},this}labelPort(o,i){return this.symbol={...this.symbol,ports:this.symbol.ports.map(l=>l.labels.includes(o)?{...l,labels:i}:l)},this}rotateRightFacingSymbol(o){return this.symbol=ut(this.symbol,{newOrientation:o}),this}computeSize(){let o=ct(this.symbol.primitives);return{width:o.maxX-o.minX,height:o.maxY-o.minY}}build(){return{...this.symbol,size:this.computeSize()}}},e=t=>{let o=t.primitives??[...Object.values(t.paths??{}),...Object.values(t.texts??{}),...Object.values(t.circles??{}),...Object.values(t.rects??{})],i=t.ports??Object.entries(t.refblocks).flatMap(([a,y])=>[{...y,labels:[a]}]),l=t.center??{x:t.bounds.centerX,y:t.bounds.centerY};return i.length===2&&(l={x:(i[0].x+i[1].x)/2,y:(i[0].y+i[1].y)/2}),new xo({...t,primitives:o,ports:i,center:l})};var v={paths:{path11:{type:"path",points:[{x:-.53,y:.04},{x:-.3,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:.04},{x:.53,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:Zf,texts:qg,bounds:Vt,refblocks:Dl,circles:Qf}=v,ql=e({primitives:[...Object.values(Zf),...Object.values(Qf),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...Dl.left1,labels:["1"]},{...Dl.right1,labels:["2"]}],size:{width:Vt.width,height:Vt.height},center:{x:Vt.centerX,y:Vt.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Kf,texts:Hg,bounds:jt,refblocks:Ul,circles:th}=v,Gl=e({primitives:[...Object.values(Kf),...Object.values(th),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...Ul.left1,labels:["1"]},{...Ul.right1,labels:["2"]}],size:{width:jt.width,height:jt.height},center:{x:jt.centerX,y:jt.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:eh,texts:tu,bounds:kt,refblocks:Wl,circles:rh}=v,Hl=e({primitives:[...Object.values(eh),...Object.values(rh),{type:"text",text:"{REF}",x:-0,y:-.3094553499999995},{type:"text",text:"{VAL}",x:0,y:.4094553499999995}],ports:[{...Wl.left1,labels:["1"]},{...Wl.right1,labels:["2"]}],size:{width:kt.width,height:kt.height},center:{x:kt.centerX,y:kt.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:oh,texts:iu,bounds:zt,refblocks:Zl,circles:ih}=v,Ql=e({primitives:[...Object.values(oh),...Object.values(ih),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...Zl.left1,labels:["1"]},{...Zl.right1,labels:["2"]}],size:{width:zt.width,height:zt.height},center:{x:zt.centerX,y:zt.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:lh,texts:yu,bounds:Ot,refblocks:Kl,circles:ph}=v,tp=e({primitives:[...Object.values(lh),...Object.values(ph),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Kl.left1,labels:["1"]},{...Kl.right1,labels:["2"]}],size:{width:Ot.width,height:Ot.height},center:{x:Ot.centerX,y:Ot.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:ah,texts:nu,bounds:Jt,refblocks:ep,circles:yh}=v,rp=e({primitives:[...Object.values(ah),...Object.values(yh),{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:Jt.width,height:Jt.height},center:{x:Jt.centerX,y:Jt.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var w={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:sh,texts:bu,bounds:$t,refblocks:op,circles:mh}=w,ip=e({primitives:[...Object.values(sh),...Object.values(mh),{type:"text",text:"{REF}",x:-.15,y:.3294553499999995},{type:"text",text:"{VAL}",x:.15,y:.3294553499999995}],ports:[{...op.left1,labels:["1"]},{...op.right1,labels:["2"]}],size:{width:$t.width,height:$t.height},center:{x:$t.centerX,y:$t.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var lp=e(w).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:nh,texts:Pu,bounds:Mt,refblocks:pp,circles:fh}=w,ap=e({primitives:[...Object.values(nh),...Object.values(fh),{type:"text",text:"{REF}",x:-0,y:-.2294553499999995},{type:"text",text:"{VAL}",x:0,y:.3294553499999995}],ports:[{...pp.left1,labels:["1"]},{...pp.right1,labels:["2"]}],size:{width:Mt.width,height:Mt.height},center:{x:Mt.centerX,y:Mt.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var yp=e(w).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:hh,texts:Xu,bounds:Ct,refblocks:xp,circles:ch}=w,sp=e({primitives:[...Object.values(hh),...Object.values(ch),{type:"text",text:"{REF}",x:.15,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2294553499999995}],ports:[{...xp.left1,labels:["1"]},{...xp.right1,labels:["2"]}],size:{width:Ct.width,height:Ct.height},center:{x:Ct.centerX,y:Ct.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:dh,texts:ku,bounds:Nt,refblocks:mp,circles:bh}=w,np=e({primitives:[...Object.values(dh),...Object.values(bh),{type:"text",text:"{REF}",x:.15,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2294553499999995}],ports:[{...mp.left1,labels:["1"]},{...mp.right1,labels:["2"]}],size:{width:Nt.width,height:Nt.height},center:{x:Nt.centerX,y:Nt.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var L={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:gh,texts:Mu,bounds:It,refblocks:fp,circles:uh}=L,hp=e({primitives:[...Object.values(gh),...Object.values(uh),{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:It.width,height:It.height},center:{x:It.centerX,y:It.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var{paths:vh,texts:Bu,bounds:Bt,refblocks:cp,circles:wh}=L,Dt=e({primitives:[...Object.values(vh),...Object.values(wh),{type:"text",text:"{REF}",x:-1118e-7,y:-.18},{type:"text",text:"{VAL}",x:1118e-7,y:.2738453}],ports:[{...cp.left1,labels:["1"]},{...cp.right1,labels:["2"]}],size:{width:Bt.width,height:Bt.height},center:{x:Bt.centerX,y:Bt.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["2"]).labelPort("right1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Ah,texts:Gu,bounds:qt,refblocks:dp,circles:Ph}=L,bp=e({primitives:[...Object.values(Ah),...Object.values(Ph),{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:qt.width,height:qt.height},center:{x:qt.centerX,y:qt.centerY}}).changeTextAnchor("{VAL}","middle_top").labelPort("right1",["2"]).labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Ku,texts:t9,bounds:e9,refblocks:r9,circles:o9}=L,so=r(Dt,"down"),mo=so.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),no=so.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");mo.anchor="middle_left";no.anchor="middle_left";mo.x=.25;mo.y+=.21;no.y-=.21;no.x=.25;var _p=so;function s(t){let o=t.size;if(!o){let i=ct(t.primitives);o={width:i.maxX-i.minX,height:i.maxY-i.minY}}return{...t,size:o}}var gp={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:-.44,y:.03}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.44,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:-.45,y:.03},right1:{x:.45,y:.03}},bounds:{minX:-.47,maxX:.47,minY:-.38,maxY:.27,width:.95,height:.29,centerX:0,centerY:.06},circles:{}};var{paths:Fh,texts:up,bounds:Ut,refblocks:vp,circles:Rh}=gp,Gt=s({primitives:[...Object.values(Fh),...Object.values(Rh),{...up.top1,anchor:"middle_bottom"},{...up.bottom1,anchor:"middle_top"}],ports:[{...vp.left1,labels:["1"]},{...vp.right1,labels:["2"]}],size:{width:Ut.width,height:Ut.height},center:{x:Ut.centerX,y:Ut.centerY}});var wp=ut(Gt,{newOrientation:"up"});var V={paths:{path1:{type:"path",points:[{x:-.51,y:.05},{x:-.25,y:.05}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.28,y:.05},{x:.55,y:.05}],color:"primary",fill:!1},path3:{type:"path",points:[{x:.02,y:.18},{x:.28,y:.18},{x:.28,y:-.09},{x:-.25,y:-.09},{x:-.25,y:.18},{x:.02,y:.18}],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:-.53,y:.05},right1:{x:.57,y:.05}},bounds:{minX:-.56,maxX:.56,minY:-.25,maxY:.25,width:1.12,height:.5,centerX:0,centerY:0},circles:{}};var{paths:Eh,texts:b9,bounds:Ap,refblocks:Pp,circles:Yh}=V,Sp=e({primitives:[...Object.values(Eh),...Object.values(Yh),{type:"text",text:"{REF}",x:-.16,y:.2294553499999995},{type:"text",text:"{VAL}",x:.16,y:.2294553499999995}],ports:[{...Pp.left1,labels:["1"]},{...Pp.right1,labels:["2"]}],center:{x:Ap.centerX,y:Ap.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var{paths:Xh,texts:v9,bounds:Fp,refblocks:Rp,circles:Lh}=V,Tp=e({primitives:[...Object.values(Xh),...Object.values(Lh),{type:"text",text:"{REF}",x:0,y:-.1994553499999995},{type:"text",text:"{VAL}",x:0,y:.2694553499999995}],ports:[{...Rp.left1,labels:["1"]},{...Rp.right1,labels:["2"]}],center:{x:Fp.centerX,y:Fp.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Vh,texts:S9,bounds:Ep,refblocks:Yp,circles:jh}=V,Xp=e({primitives:[...Object.values(Vh),...Object.values(jh),{type:"text",text:"{REF}",x:0,y:.2294553499999995},{type:"text",text:"{VAL}",x:0,y:-.1594553499999995}],ports:[{...Yp.left1,labels:["1"]},{...Yp.right1,labels:["2"]}],center:{x:Ep.centerX,y:Ep.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var j={paths:{path2:{type:"path",points:[{x:.15,y:-.01},{x:.56,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:-.56,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:zh,texts:Y9,bounds:Wt,refblocks:Lp,circles:Oh}=j,Vp=e({primitives:[...Object.values(zh),...Object.values(Oh),{type:"text",text:"{REF}",x:-.2,y:.1404553499999995},{type:"text",text:"{VAL}",x:.2,y:.1494553499999995}],ports:[{...Lp.left1,labels:["1"]},{...Lp.right1,labels:["2"]}],size:{width:Wt.width,height:Wt.height},center:{x:Wt.centerX,y:Wt.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Jh,texts:j9,bounds:Ht,refblocks:jp,circles:$h}=j,kp=e({primitives:[...Object.values(Jh),...Object.values($h),{type:"text",text:"{REF}",x:0,y:-.2294553499999995},{type:"text",text:"{VAL}",x:0,y:.1704553499999995}],ports:[{...jp.left1,labels:["1"]},{...jp.right1,labels:["2"]}],size:{width:Ht.width,height:Ht.height},center:{x:Ht.centerX,y:Ht.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:Mh,texts:J9,bounds:Zt,refblocks:zp,circles:Ch}=j,Op=e({primitives:[...Object.values(Mh),...Object.values(Ch),{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:Zt.width,height:Zt.height},center:{x:Zt.centerX,y:Zt.centerY}}).rotateRightFacingSymbol("right").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:Nh,texts:N9,bounds:Qt,refblocks:Jp,circles:Ih}=j,$p=e({primitives:[...Object.values(Nh),...Object.values(Ih),{type:"text",text:"{REF}",x:.2,y:-.1404553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.1494553499999995}],ports:[{...Jp.left1,labels:["1"]},{...Jp.right1,labels:["2"]}],size:{width:Qt.width,height:Qt.height},center:{x:Qt.centerX,y:Qt.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Bh,texts:q9,bounds:Mp,refblocks:Cp,circles:Dh}=V,Np=e({primitives:[...Object.values(Bh),...Object.values(Dh),{type:"text",text:"{REF}",x:.16,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.16,y:-.2294553499999995}],ports:[{...Cp.left1,labels:["1"]},{...Cp.right1,labels:["2"]}],center:{x:Mp.centerX,y:Mp.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var dt={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:Uh,texts:Z9,bounds:Ip,refblocks:Bp,circles:Gh}=dt,Dp=e({primitives:[...Object.values(Uh),...Object.values(Gh),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...Bp.left1,labels:["1"]},{...Bp.right1,labels:["2"]}],center:{x:Ip.centerX,y:Ip.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var{paths:Wh,texts:e5,bounds:qp,refblocks:Up,circles:Hh}=dt,Kt=e({primitives:[...Object.values(Wh),...Object.values(Hh),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...Up.left1,labels:["1"]},{...Up.right1,labels:["2"]}],center:{x:qp.centerX,y:qp.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Gp=E(Kt);var{paths:Zh,texts:y5,bounds:Wp,refblocks:Hp,circles:Qh}=dt,Zp=e({primitives:[...Object.values(Zh),...Object.values(Qh),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...Hp.left1,labels:["1"]},{...Hp.right1,labels:["2"]}],center:{x:Wp.centerX,y:Wp.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right").build();var k={paths:{path27:{type:"path",points:[{x:.52,y:.02},{x:.07,y:.02}],color:"primary",fill:!1},path28:{type:"path",points:[{x:-.09,y:.02},{x:-.54,y:.02}],color:"primary",fill:!1},path29:{type:"path",points:[{x:.07,y:.28},{x:.07,y:-.25}],color:"primary",fill:!1},path30:{type:"path",points:[{x:-.09,y:.28},{x:-.09,y:-.25}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.42},bottom1:{type:"text",text:"{VAL}",x:0,y:-.42}},refblocks:{left1:{x:-.55,y:.02},right1:{x:.55,y:.02}},bounds:{minX:-.58,maxX:.58,minY:-.42,maxY:.42,width:1.16,height:.84,centerX:0,centerY:0},circles:{}};var{paths:tc,texts:f5,bounds:te,refblocks:Qp,circles:ec}=k,Kp=e({primitives:[...Object.values(tc),...Object.values(ec),{type:"text",text:"{REF}",x:-.2,y:.2094553499999995},{type:"text",text:"{VAL}",x:.2,y:.2094553499999995}],ports:[{...Qp.left1,labels:["1"]},{...Qp.right1,labels:["2"]}],size:{width:te.width,height:te.height},center:{x:te.centerX,y:te.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("down").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var ta=e(k).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var z={paths:{"path27-5":{type:"path",points:[{x:.45,y:.02},{x:0,y:.02}],color:"primary",fill:!1},"path28-5":{type:"path",points:[{x:-.09,y:.02},{x:-.54,y:.02}],color:"primary",fill:!1},"path30-7":{type:"path",points:[{x:0,y:.28},{x:0,y:-.25}],color:"primary",fill:!1},path8704:{type:"path",points:[{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.23},{x:-.14,y:-.23},{x:-.14,y:-.23},{x:-.14,y:-.23},{x:-.13,y:-.23},{x:-.13,y:-.23},{x:-.13,y:-.23},{x:-.13,y:-.23},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.21},{x:-.13,y:-.21},{x:-.13,y:-.21},{x:-.12,y:-.21},{x:-.12,y:-.21},{x:-.12,y:-.21},{x:-.12,y:-.21},{x:-.12,y:-.21},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.19},{x:-.12,y:-.19},{x:-.12,y:-.19},{x:-.12,y:-.19},{x:-.11,y:-.19},{x:-.11,y:-.19},{x:-.11,y:-.19},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.09,y:-.14},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.11},{x:-.09,y:-.11},{x:-.09,y:-.11},{x:-.09,y:-.11},{x:-.09,y:-.11},{x:-.09,y:-.11},{x:-.09,y:-.1},{x:-.09,y:-.1},{x:-.09,y:-.1},{x:-.09,y:-.1},{x:-.09,y:-.1},{x:-.09,y:-.1},{x:-.08,y:-.09},{x:-.08,y:-.09},{x:-.08,y:-.09},{x:-.08,y:-.09},{x:-.08,y:-.09},{x:-.08,y:-.09},{x:-.08,y:-.08},{x:-.08,y:-.08},{x:-.08,y:-.08},{x:-.08,y:-.08},{x:-.08,y:-.08},{x:-.08,y:-.08},{x:-.08,y:-.07},{x:-.08,y:-.07},{x:-.08,y:-.07},{x:-.08,y:-.07},{x:-.08,y:-.07},{x:-.08,y:-.07},{x:-.08,y:-.06},{x:-.08,y:-.06},{x:-.08,y:-.06},{x:-.08,y:-.06},{x:-.08,y:-.06},{x:-.08,y:-.05},{x:-.08,y:-.05},{x:-.08,y:-.05},{x:-.08,y:-.05},{x:-.08,y:-.05},{x:-.08,y:-.05},{x:-.08,y:-.04},{x:-.08,y:-.04},{x:-.08,y:-.04},{x:-.08,y:-.04},{x:-.08,y:-.04},{x:-.08,y:-.04},{x:-.08,y:-.03},{x:-.08,y:-.03},{x:-.08,y:-.03},{x:-.08,y:-.03},{x:-.08,y:-.03},{x:-.08,y:-.03},{x:-.08,y:-.02},{x:-.08,y:-.02},{x:-.08,y:-.02},{x:-.08,y:-.02},{x:-.08,y:-.02},{x:-.08,y:-.02},{x:-.08,y:-.01},{x:-.08,y:-.01},{x:-.08,y:-.01},{x:-.08,y:-.01},{x:-.08,y:-.01},{x:-.08,y:0},{x:-.08,y:0},{x:-.08,y:0},{x:-.08,y:0},{x:-.08,y:0},{x:-.08,y:0},{x:-.08,y:.01},{x:-.07,y:.01},{x:-.07,y:.01},{x:-.07,y:.01},{x:-.07,y:.01},{x:-.07,y:.01},{x:-.08,y:.02},{x:-.08,y:.02},{x:-.08,y:.02},{x:-.08,y:.02},{x:-.08,y:.02},{x:-.08,y:.02},{x:-.08,y:.03},{x:-.08,y:.03},{x:-.08,y:.03},{x:-.08,y:.03},{x:-.08,y:.03},{x:-.08,y:.03},{x:-.08,y:.04},{x:-.08,y:.04},{x:-.08,y:.04},{x:-.08,y:.04},{x:-.08,y:.04},{x:-.08,y:.05},{x:-.08,y:.05},{x:-.08,y:.05},{x:-.08,y:.05},{x:-.08,y:.05},{x:-.08,y:.05},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.08},{x:-.08,y:.08},{x:-.08,y:.08},{x:-.08,y:.08},{x:-.08,y:.08},{x:-.08,y:.08},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.12},{x:-.08,y:.12},{x:-.08,y:.12},{x:-.08,y:.12},{x:-.09,y:.12},{x:-.09,y:.12},{x:-.09,y:.12},{x:-.09,y:.13},{x:-.09,y:.13},{x:-.09,y:.13},{x:-.09,y:.13},{x:-.09,y:.13},{x:-.09,y:.13},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.17},{x:-.09,y:.17},{x:-.1,y:.17},{x:-.1,y:.17},{x:-.1,y:.17},{x:-.1,y:.17},{x:-.1,y:.17},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.2},{x:-.1,y:.2},{x:-.1,y:.2},{x:-.1,y:.2},{x:-.1,y:.2},{x:-.1,y:.2},{x:-.11,y:.2},{x:-.11,y:.2},{x:-.11,y:.2},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.23},{x:-.11,y:.23},{x:-.11,y:.23},{x:-.11,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.25},{x:-.12,y:.25},{x:-.12,y:.25},{x:-.12,y:.25},{x:-.12,y:.25},{x:-.12,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.27},{x:-.13,y:.27},{x:-.13,y:.27},{x:-.13,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28}],color:"primary",fill:!1},"rect1577-4":{type:"path",points:[{x:.26,y:.25},{x:.12,y:.25},{x:.12,y:.25},{x:.26,y:.25}],color:"primary",fill:!0},"rect1577-4-7":{type:"path",points:[{x:.2,y:.32},{x:.2,y:.18},{x:.19,y:.18},{x:.19,y:.32}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.42},bottom1:{type:"text",text:"{VAL}",x:0,y:-.42}},refblocks:{left1:{x:-.54,y:.02},right1:{x:.45,y:.02}},bounds:{minX:-.58,maxX:.58,minY:-.42,maxY:.42,width:1.16,height:.84,centerX:0,centerY:0},circles:{}};var{paths:oc,texts:v5,bounds:ee,refblocks:ea,circles:ic}=z,ra=e({primitives:[...Object.values(oc),...Object.values(ic),{type:"text",text:"{REF}",x:.1,y:-.2094553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.2094553499999995}],ports:[{...ea.left1,labels:["2","neg"]},{...ea.right1,labels:["1","pos"]}],size:{width:ee.width,height:ee.height},center:{x:ee.centerX,y:ee.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("up").changeTextAnchor("{REF}","bottom_left").build();var oa=e(z).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:lc,texts:T5,bounds:re,refblocks:ia,circles:pc}=z,la=e({primitives:[...Object.values(lc),...Object.values(pc),{type:"text",text:"{REF}",x:0,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-0,y:.4094553499999995}],ports:[{...ia.left1,labels:["2","neg"]},{...ia.right1,labels:["1","pos"]}],size:{width:re.width,height:re.height},center:{x:re.centerX,y:re.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_bottom").build();var{paths:ac,texts:L5,bounds:oe,refblocks:pa,circles:yc}=z,aa=e({primitives:[...Object.values(ac),...Object.values(yc),{type:"text",text:"{REF}",x:-.2,y:.2094553499999995},{type:"text",text:"{VAL}",x:.3,y:.2094553499999995}],ports:[{...pa.left1,labels:["2","neg"]},{...pa.right1,labels:["1","pos"]}],size:{width:oe.width,height:oe.height},center:{x:oe.centerX,y:oe.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("down").changeTextAnchor("{REF}","bottom_left").build();var ya=e(k).rotateRightFacingSymbol("right").changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:xc,texts:$5,bounds:ie,refblocks:xa,circles:sc}=k,sa=e({primitives:[...Object.values(xc),...Object.values(sc),{type:"text",text:"{REF}",x:.2,y:-.2094553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.2094553499999995}],ports:[{...xa.left1,labels:["1"]},{...xa.right1,labels:["2"]}],size:{width:ie.width,height:ie.height},center:{x:ie.centerX,y:ie.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("up").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var A={paths:{path11:{type:"path",points:[{x:-.53,y:.03},{x:-.3,y:.03}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:.03},{x:.53,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:nc,texts:B5,bounds:le,refblocks:ma,circles:fc}=A,na=e({primitives:[...Object.values(nc),...Object.values(fc),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...ma.left1,labels:["1"]},{...ma.right1,labels:["2"]}],size:{width:le.width,height:le.height},center:{x:le.centerX,y:le.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var fa=e(A).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:hc,texts:Z5,bounds:pe,refblocks:ha,circles:cc}=A,ca=e({primitives:[...Object.values(hc),...Object.values(cc),{type:"text",text:"{REF}",x:-0,y:-.2894553499999995},{type:"text",text:"{VAL}",x:0,y:.3894553499999995}],ports:[{...ha.left1,labels:["1"]},{...ha.right1,labels:["2"]}],size:{width:pe.width,height:pe.height},center:{x:pe.centerX,y:pe.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var da=e(A).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:dc,texts:i3,bounds:ae,refblocks:ba,circles:bc}=A,_a=e({primitives:[...Object.values(dc),...Object.values(bc),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...ba.left1,labels:["1"]},{...ba.right1,labels:["2"]}],size:{width:ae.width,height:ae.height},center:{x:ae.centerX,y:ae.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:_c,texts:y3,bounds:ye,refblocks:ga,circles:gc}=A,ua=e({primitives:[...Object.values(_c),...Object.values(gc),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...ga.left1,labels:["1"]},{...ga.right1,labels:["2"]}],size:{width:ye.width,height:ye.height},center:{x:ye.centerX,y:ye.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var O={paths:{path27:{type:"path",points:[{x:.52,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:.69},{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:-.72},{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:vc,texts:f3,bounds:xe,refblocks:se,circles:wc}=O,va=e({primitives:[...Object.values(vc),...Object.values(wc),{type:"text",text:"{REF}",x:-.4,y:.4094554499999995},{type:"text",text:"{VAL}",x:.4,y:.4094553499999995}],ports:[{...se.left1,labels:["1"]},{...se.right1,labels:["3"]},{...se.bottom1,labels:["2"]},{...se.top1,labels:["4"]}],size:{width:xe.width,height:xe.height},center:{x:xe.centerX,y:xe.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var wa=e(O).labelPort("top1",["2","gnd1"]).labelPort("bottom1",["4","gnd2"]).labelPort("left1",["3"]).labelPort("right1",["1"]).changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var Aa=e(O).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:Ac,texts:A3,bounds:me,refblocks:ne,circles:Pc}=O,Pa=e({primitives:[...Object.values(Ac),...Object.values(Pc),{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:me.width,height:me.height},center:{x:me.centerX,y:me.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var J={paths:{path27:{type:"path",points:[{x:.52,y:-.01},{x:.13,y:-.01}],color:"primary",fill:!1},path28:{type:"path",points:[{x:-.14,y:-.01},{x:-.54,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:Fc,texts:T3,bounds:fe,refblocks:Sa,circles:Rc}=J,Fa=e({primitives:[...Object.values(Fc),...Object.values(Rc),{type:"text",text:"{REF}",x:-.3,y:.3094553499999995},{type:"text",text:"{VAL}",x:.3,y:.3094553499999995}],ports:[{...Sa.left1,labels:["1"]},{...Sa.right1,labels:["2"]}],size:{width:fe.width,height:fe.height},center:{x:fe.centerX,y:fe.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("down").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var Ra=e(J).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var Ta=e(J).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Tc,texts:J3,bounds:he,refblocks:Ea,circles:Ec}=J,Ya=e({primitives:[...Object.values(Tc),...Object.values(Ec),{type:"text",text:"{REF}",x:.3,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.3094553499999995}],ports:[{...Ea.left1,labels:["1"]},{...Ea.right1,labels:["2"]}],size:{width:he.width,height:he.height},center:{x:he.centerX,y:he.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("up").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var P={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.15}],color:"primary",fill:!1},"path12-1-5-3":{type:"path",points:[{x:2.23,y:-1.96},{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 Xa=e(P).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 La=e(P).rotateRightFacingSymbol("right").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_right").changeTextAnchor("{REF}","middle_right").build();var Va=e(P).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 ja=e(P).rotateRightFacingSymbol("right").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_right").changeTextAnchor("{REF}","middle_right").build();var ka=e(P).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 za=e(P).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 Oa={paths:{path11:{type:"path",points:[{x:-.53,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.53,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:Lc,texts:Vc,bounds:ce,refblocks:Ja,circles:jc}=Oa,vt=s({primitives:[...Object.values(Lc),...Object.values(jc),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...Vc.left1,x:0,y:.01,anchor:"center",fontSize:.3}],ports:[{...Ja.left1,labels:["1"]},{...Ja.right1,labels:["2"]}],size:{width:ce.width,height:ce.height},center:{x:ce.centerX,y:ce.centerY}});function kc(t){return typeof t=="object"&&t!==null&&t.type==="path"&&Array.isArray(t.points)&&typeof t.color=="string"}function zc(t){return typeof t=="object"&&t!==null&&t.type==="text"&&typeof t.text=="string"&&typeof t.x=="number"&&typeof t.y=="number"&&typeof t.anchor=="string"}var{6:fo,2:ho,...Oc}=vt.primitives;kc(ho)&&ho.points.map(t=>{t.y+=.05});zc(fo)&&(fo.y+=.025);function Jc(t){return typeof t=="object"}var $a=r({...vt,primitives:Object.values(Oc).filter(Jc)}),Ma={...$a,primitives:[...$a.primitives,fo,ho]};var S={paths:{path11:{type:"path",points:[{x:-.53,y:.04},{x:-.3,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:.04},{x:.53,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:Mc,texts:c4,bounds:de,refblocks:Ca,circles:Cc}=S,Na=e({primitives:[...Object.values(Mc),...Object.values(Cc),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...Ca.left1,labels:["1"]},{...Ca.right1,labels:["2"]}],size:{width:de.width,height:de.height},center:{x:de.centerX,y:de.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Nc,texts:g4,bounds:be,refblocks:Ia,circles:Ic}=S,Ba=e({primitives:[...Object.values(Nc),...Object.values(Ic),{type:"text",text:"{REF}",x:-0,y:.3894553499999995},{type:"text",text:"{VAL}",x:0,y:-.3294553499999995}],ports:[{...Ia.left1,labels:["1"]},{...Ia.right1,labels:["2"]}],size:{width:be.width,height:be.height},center:{x:be.centerX,y:be.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Bc,texts:A4,bounds:_e,refblocks:Da,circles:Dc}=S,qa=e({primitives:[...Object.values(Bc),...Object.values(Dc),{type:"text",text:"{REF}",x:-0,y:-.3294553499999995},{type:"text",text:"{VAL}",x:0,y:.4294553499999995}],ports:[{...Da.left1,labels:["1"]},{...Da.right1,labels:["2"]}],size:{width:_e.width,height:_e.height},center:{x:_e.centerX,y:_e.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:qc,texts:R4,bounds:ge,refblocks:Ua,circles:Uc}=S,Ga=e({primitives:[...Object.values(qc),...Object.values(Uc),{type:"text",text:"{REF}",x:-0,y:.3894553499999995},{type:"text",text:"{VAL}",x:0,y:-.3294553499999995}],ports:[{...Ua.left1,labels:["1"]},{...Ua.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:Gc,texts:X4,bounds:ue,refblocks:Wa,circles:Wc}=S,Ha=e({primitives:[...Object.values(Gc),...Object.values(Wc),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Wa.left1,labels:["1"]},{...Wa.right1,labels:["2"]}],size:{width:ue.width,height:ue.height},center:{x:ue.centerX,y:ue.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Hc,texts:k4,bounds:ve,refblocks:Za,circles:Zc}=S,Qa=e({primitives:[...Object.values(Hc),...Object.values(Zc),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Za.left1,labels:["1"]},{...Za.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 F={paths:{path11:{type:"path",points:[{x:-.52,y:.04},{x:-.11,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.1,y:.04},{x:.52,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 Ka=e(F).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 ty=e(F).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.1}).changeTextAnchor("{VAL}","middle_top").build();var ey=e(F).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 ry=e(F).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.1}).changeTextAnchor("{VAL}","middle_top").build();var oy=e(F).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 iy=e(F).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 ly={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 $=e(ly).labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var py=r($,"down");var ay=r($,"left");var yy=r($,"up");var xy={paths:{path1:{type:"path",points:[{x:-.35,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:.35,y:.13}],color:"primary",fill:!1},path3:{type:"path",points:[{x:.12,y:.36},{x:.36,y:.36}],color:"primary",fill:!1},path4:{type:"path",points:[{x:-.35,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:.35,y:-.27}],color:"primary",fill:!1},path6:{type:"path",points:[{x:.12,y:-.04},{x:.36,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 M=e(xy).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 co=r(M,"down"),bo=co.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),_o=co.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");bo.anchor="middle_bottom";_o.anchor="middle_top";bo.x=0;bo.y+=.537;_o.y-=.5375;_o.x=0;var sy=co;var go=r(M,"left"),uo=go.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),vo=go.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");uo.anchor="middle_bottom";vo.anchor="middle_top";uo.x=0;uo.y+=1;vo.y-=1;vo.x=0;var my=go;var wo=r(M,"up"),Ao=wo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Po=wo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ao.anchor="middle_bottom";Po.anchor="middle_top";Ao.x=0;Ao.y+=.537;Po.y-=.5375;Po.x=0;var ny=wo;var fy={paths:{path1:{type:"path",points:[{x:-.35,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:.35,y:.13}],color:"primary",fill:!1},path3:{type:"path",points:[{x:.12,y:.36},{x:.36,y:.36}],color:"primary",fill:!1},path4:{type:"path",points:[{x:-.35,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:.35,y:-.27}],color:"primary",fill:!1},path6:{type:"path",points:[{x:.12,y:-.04},{x:.36,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 C=e(fy).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 So=r(C,"down"),Fo=So.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ro=So.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Fo.anchor="middle_bottom";Ro.anchor="middle_top";Fo.x=0;Fo.y+=.565;Ro.y-=.555;Ro.x=0;var hy=So;var To=r(C,"left"),Eo=To.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Yo=To.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Eo.anchor="middle_bottom";Yo.anchor="middle_top";Eo.x=0;Eo.y+=1.09;Yo.y-=1.09;Yo.x=0;var cy=To;var Xo=r(C,"up"),Lo=Xo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Vo=Xo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Lo.anchor="middle_bottom";Vo.anchor="middle_top";Lo.x=0;Lo.y+=.565;Vo.y-=.555;Vo.x=0;var dy=Xo;var by={paths:{path11:{type:"path",points:[{x:-.36,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:.37,y:.06}],color:"primary",fill:!1},"path11-5":{type:"path",points:[{x:-.36,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:.37,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 N=e(by).labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("right3",["4"]).labelPort("left3",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var jo=r(N,"down"),ko=jo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),zo=jo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ko.anchor="middle_bottom";zo.anchor="middle_top";ko.x=.4;ko.y+=.265;zo.y-=.265;zo.x=.4;var _y=jo;var Oo=r(N,"left"),Jo=Oo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),$o=Oo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Jo.anchor="middle_bottom";$o.anchor="middle_top";Jo.x=0;Jo.y+=.67;$o.y-=.67;$o.x=0;var gy=Oo;var Mo=r(N,"up"),Co=Mo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),No=Mo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Co.anchor="middle_bottom";No.anchor="middle_top";Co.x=.46;Co.y+=.265;No.y-=.265;No.x=.46;var uy=Mo;var vy={paths:{path11:{type:"path",points:[{x:-.36,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:.37,y:.06}],color:"primary",fill:!1},"path11-5":{type:"path",points:[{x:-.36,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:.37,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 I=e(vy).labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("right3",["4"]).labelPort("left3",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Io=r(I,"down"),Bo=Io.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Do=Io.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Bo.anchor="middle_bottom";Do.anchor="middle_top";Bo.x=.4;Bo.y+=.295;Do.y-=.295;Do.x=.42;var wy=Io;var qo=r(I,"left"),Uo=qo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Go=qo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Uo.anchor="middle_bottom";Go.anchor="middle_top";Uo.x=0;Uo.y+=.795;Go.y-=.795;Go.x=0;var Ay=qo;var Wo=r(I,"up"),Ho=Wo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Zo=Wo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ho.anchor="middle_bottom";Zo.anchor="middle_top";Ho.x=.46;Ho.y+=.315;Zo.y-=.315;Zo.x=.46;var Py=Wo;var we={paths:{path5:{type:"path",points:[{x:-.42,y:0},{x:-.16,y:0}],color:"primary",fill:!1},path6:{type:"path",points:[{x:.17,y:0},{x:.43,y:0}],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:l1,texts:d8,bounds:Ae,refblocks:Sy,circles:p1}=we,Pe=e({primitives:[...Object.values(l1),...Object.values(p1),{type:"text",text:"{REF}",x:.18,y:-.3204553499999995},{type:"text",text:"{VAL}",x:-.25,y:-.3294553499999995}],ports:[{...Sy.left1,labels:["1"]},{...Sy.right1,labels:["2"]}],size:{width:Ae.width,height:Ae.height},center:{x:Ae.centerX,y:Ae.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Qo=X(Pe),Ko=Qo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),t0=Qo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ko.anchor="middle_left";t0.anchor="middle_left";Ko.y+=.4;Ko.x=.32;t0.y-=.45;t0.x=.32;var Fy=Qo;var Se=e(we).labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Ry=E(Se);var R={paths:{path11:{type:"path",points:[{x:-.54,y:.04},{x:-.22,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.14,y:.05},{x:.46,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:y1,texts:X8,bounds:Fe,refblocks:Ty,circles:x1}=R,Ey=e({primitives:[...Object.values(y1),...Object.values(x1),{type:"text",text:"{REF}",x:-.15,y:.3294553499999995},{type:"text",text:"{VAL}",x:.15,y:.3294553499999995}],ports:[{...Ty.left1,labels:["1"]},{...Ty.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:s1,texts:k8,bounds:Re,refblocks:Yy,circles:m1}=R,Xy=e({primitives:[...Object.values(s1),...Object.values(m1),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...Yy.left1,labels:["1"]},{...Yy.right1,labels:["2"]}],size:{width:Re.width,height:Re.height},center:{x:Re.centerX,y:Re.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:n1,texts:$8,bounds:Te,refblocks:Ly,circles:f1}=R,Vy=e({primitives:[...Object.values(n1),...Object.values(f1),{type:"text",text:"{REF}",x:-0,y:-.3094553499999995},{type:"text",text:"{VAL}",x:0,y:.4094553499999995}],ports:[{...Ly.left1,labels:["1"]},{...Ly.right1,labels:["2"]}],size:{width:Te.width,height:Te.height},center:{x:Te.centerX,y:Te.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:h1,texts:I8,bounds:Ee,refblocks:jy,circles:c1}=R,ky=e({primitives:[...Object.values(h1),...Object.values(c1),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...jy.left1,labels:["1"]},{...jy.right1,labels:["2"]}],size:{width:Ee.width,height:Ee.height},center:{x:Ee.centerX,y:Ee.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:d1,texts:U8,bounds:Ye,refblocks:zy,circles:b1}=R,Oy=e({primitives:[...Object.values(d1),...Object.values(b1),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...zy.left1,labels:["1"]},{...zy.right1,labels:["2"]}],size:{width:Ye.width,height:Ye.height},center:{x:Ye.centerX,y:Ye.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:_1,texts:Z8,bounds:Xe,refblocks:Jy,circles:g1}=R,$y=e({primitives:[...Object.values(_1),...Object.values(g1),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Jy.left1,labels:["1"]},{...Jy.right1,labels:["2"]}],size:{width:Xe.width,height:Xe.height},center:{x:Xe.centerX,y:Xe.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var My={paths:{path11:{type:"path",points:[{x:-.53,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.53,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:v1,texts:w1,bounds:Le,refblocks:Cy,circles:A1}=My,wt=s({primitives:[...Object.values(v1),...Object.values(A1),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...w1.left1,x:0,y:.01,anchor:"center",fontSize:.2}],ports:[{...Cy.left1,labels:["1"]},{...Cy.right1,labels:["2"]}],size:{width:Le.width,height:Le.height},center:{x:Le.centerX,y:Le.centerY}});var{5:P1,...S1}=wt.primitives;function F1(t){return typeof t=="object"}var Ny=r({...wt,primitives:Object.values(S1).filter(F1)}),Iy={...Ny,primitives:[...Ny.primitives,P1]};var By={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:T1,texts:E1,bounds:Ve,refblocks:Dy}=By,je=s({primitives:[...Object.values(T1),{...E1.top1,anchor:"middle_bottom"},{type:"text",text:"{VAL}",x:0,y:-.2,anchor:"middle_top"}],ports:[{...Dy.left1,labels:["1"]},{...Dy.right1,labels:["2"]}],size:{width:Ve.width,height:Ve.height},center:{x:Ve.centerX,y:Ve.centerY}});var qy=r(je);var T={paths:{path1:{type:"path",points:[{x:-.29,y:0},{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 Uy=e(T).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var Gy=e(T).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var Wy=e(T).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var Hy=e(T).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var Zy=e(T).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var Qy=e(T).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var B={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:L1,texts:k7,bounds:Ky,refblocks:V1}=B,tx=e({primitives:[...Object.values(L1),{type:"text",text:"{REF}",x:-.14,y:0}],ports:[{...V1.left1,labels:["1"]}],center:{x:Ky.centerX,y:Ky.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:j1,texts:$7,bounds:ex,refblocks:k1,circles:z1}=B,rx=e({primitives:[...Object.values(j1),...Object.values(z1),{type:"text",text:"{REF}",x:-.14,y:-0}],ports:[{...k1.left1,labels:["1"]}],center:{x:ex.centerX,y:ex.centerY}}).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var{paths:O1,texts:I7,bounds:ox,refblocks:J1,circles:$1}=B,ix=e({primitives:[...Object.values(O1),...Object.values($1),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...J1.left1,labels:["1"]}],center:{x:ox.centerX,y:ox.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var{paths:M1,texts:U7,bounds:lx,refblocks:C1,circles:N1}=B,px=e({primitives:[...Object.values(M1),...Object.values(N1),{type:"text",text:"{REF}",x:-.14,y:-0}],ports:[{...C1.left1,labels:["1"]}],center:{x:lx.centerX,y:lx.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var At={paths:{path11:{type:"path",points:[{x:-.5,y:.04},{x:-.18,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.19,y:.04},{x:.51,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:Q7,texts:K7,bounds:tw,refblocks:ew,circles:rw}=At,ax=e(At).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var yx=e(At).rotateRightFacingSymbol("down").changeTextAnchor("{VAL}","middle_right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var xx={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 D=e(xx).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 sx=r(D,"down");var mx=E(D);var e0=r(D,"up"),r0=e0.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),o0=e0.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");r0.anchor="middle_left";o0.anchor="middle_left";r0.y+=.21;r0.x=.44;o0.y-=.21;o0.x=.44;var nx=e0;var fx={paths:{path11:{type:"path",points:[{x:-.39,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:-.54}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.28,y:.54},{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 ke=e(fx).changeTextAnchor("{VAL}","middle_right").labelPort("left1",["3"]).labelPort("top1",["2"]).labelPort("bottom1",["1"]).changeTextAnchor("{REF}","middle_right").build();var i0=r(ke),l0=i0.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),hx=i0.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");l0.anchor="middle_left";hx.anchor="middle_right";l0.x=.45;l0.y+=.065;hx.y+=.065;var cx=i0;var dx={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:-.49,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:.49,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 ze=e(dx).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var bx=r(ze),_x=bx.primitives.filter(t=>t.type==="text"),p0=_x.find(t=>t.text==="{VAL}");p0.x=-.35;p0.y=0;p0.anchor="middle_right";var a0=_x.find(t=>t.text==="{REF}");a0.y=0;a0.x=.35;a0.anchor="middle_left";var gx=bx;var ux={paths:{path8698:{type:"path",points:[{x:-.2,y:-.02},{x:-.2,y:-.02},{x:-.21,y:-.01},{x:-.21,y:-.01},{x:-.21,y:0},{x:-.21,y:0},{x:-.21,y:0},{x:-.22,y:.01},{x:-.22,y:.01},{x:-.22,y:.02},{x:-.22,y:.02},{x:-.23,y:.03},{x:-.23,y:.03},{x:-.23,y:.03},{x:-.23,y:.04},{x:-.24,y:.04},{x:-.24,y:.04},{x:-.24,y:.05},{x:-.24,y:.05},{x:-.25,y:.05},{x:-.25,y:.06},{x:-.25,y:.06},{x:-.25,y:.06},{x:-.26,y:.06},{x:-.26,y:.06},{x:-.26,y:.07},{x:-.26,y:.07},{x:-.27,y:.07},{x:-.27,y:.07},{x:-.27,y:.07},{x:-.27,y:.07},{x:-.28,y:.07},{x:-.28,y:.07},{x:-.28,y:.07},{x:-.28,y:.07},{x:-.29,y:.07},{x:-.29,y:.08},{x:-.29,y:.08},{x:-.29,y:.08},{x:-.3,y:.08},{x:-.3,y:.08},{x:-.3,y:.08},{x:-.3,y:.08},{x:-.31,y:.08},{x:-.31,y:.08},{x:-.31,y:.07},{x:-.31,y:.07},{x:-.32,y:.07},{x:-.32,y:.07},{x:-.32,y:.07},{x:-.32,y:.07},{x:-.33,y:.07},{x:-.33,y:.07},{x:-.33,y:.07},{x:-.33,y:.07},{x:-.34,y:.07},{x:-.34,y:.06},{x:-.34,y:.06},{x:-.34,y:.06},{x:-.35,y:.06},{x:-.35,y:.06},{x:-.35,y:.05},{x:-.35,y:.05},{x:-.36,y:.05},{x:-.36,y:.04},{x:-.36,y:.04},{x:-.36,y:.04},{x:-.37,y:.03},{x:-.37,y:.03},{x:-.37,y:.03},{x:-.37,y:.02},{x:-.38,y:.02},{x:-.38,y:.01},{x:-.38,y:.01},{x:-.38,y:0},{x:-.39,y:0},{x:-.39,y:0},{x:-.39,y:-.01},{x:-.39,y:-.01},{x:-.4,y:-.02},{x:-.4,y:-.02}],color:"primary",fill:!1},path8700:{type:"path",points:[{x:0,y:-.02},{x:0,y:-.02},{x:-.01,y:-.01},{x:-.01,y:-.01},{x:-.01,y:0},{x:-.01,y:0},{x:-.02,y:0},{x:-.02,y:.01},{x:-.02,y:.01},{x:-.02,y:.02},{x:-.03,y:.02},{x:-.03,y:.03},{x:-.03,y:.03},{x:-.03,y:.03},{x:-.04,y:.04},{x:-.04,y:.04},{x:-.04,y:.04},{x:-.04,y:.05},{x:-.05,y:.05},{x:-.05,y:.05},{x:-.05,y:.06},{x:-.05,y:.06},{x:-.06,y:.06},{x:-.06,y:.06},{x:-.06,y:.06},{x:-.06,y:.07},{x:-.07,y:.07},{x:-.07,y:.07},{x:-.07,y:.07},{x:-.07,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.09,y:.07},{x:-.09,y:.07},{x:-.09,y:.08},{x:-.09,y:.08},{x:-.1,y:.08},{x:-.1,y:.08},{x:-.1,y:.08},{x:-.1,y:.08},{x:-.11,y:.08},{x:-.11,y:.08},{x:-.11,y:.08},{x:-.11,y:.07},{x:-.12,y:.07},{x:-.12,y:.07},{x:-.12,y:.07},{x:-.12,y:.07},{x:-.13,y:.07},{x:-.13,y:.07},{x:-.13,y:.07},{x:-.13,y:.07},{x:-.14,y:.07},{x:-.14,y:.07},{x:-.14,y:.06},{x:-.14,y:.06},{x:-.15,y:.06},{x:-.15,y:.06},{x:-.15,y:.06},{x:-.15,y:.05},{x:-.16,y:.05},{x:-.16,y:.05},{x:-.16,y:.04},{x:-.16,y:.04},{x:-.17,y:.04},{x:-.17,y:.03},{x:-.17,y:.03},{x:-.17,y:.03},{x:-.18,y:.02},{x:-.18,y:.02},{x:-.18,y:.01},{x:-.18,y:.01},{x:-.19,y:0},{x:-.19,y:0},{x:-.19,y:0},{x:-.19,y:-.01},{x:-.2,y:-.01},{x:-.2,y:-.02},{x:-.2,y:-.02}],color:"primary",fill:!1},path8702:{type:"path",points:[{x:.2,y:-.02},{x:.2,y:-.02},{x:.19,y:-.01},{x:.19,y:-.01},{x:.19,y:0},{x:.19,y:0},{x:.18,y:0},{x:.18,y:.01},{x:.18,y:.01},{x:.18,y:.02},{x:.17,y:.02},{x:.17,y:.03},{x:.17,y:.03},{x:.17,y:.03},{x:.16,y:.04},{x:.16,y:.04},{x:.16,y:.04},{x:.16,y:.05},{x:.15,y:.05},{x:.15,y:.05},{x:.15,y:.06},{x:.15,y:.06},{x:.14,y:.06},{x:.14,y:.06},{x:.14,y:.06},{x:.14,y:.07},{x:.13,y:.07},{x:.13,y:.07},{x:.13,y:.07},{x:.13,y:.07},{x:.12,y:.07},{x:.12,y:.07},{x:.12,y:.07},{x:.12,y:.07},{x:.11,y:.07},{x:.11,y:.07},{x:.11,y:.08},{x:.11,y:.08},{x:.1,y:.08},{x:.1,y:.08},{x:.1,y:.08},{x:.1,y:.08},{x:.09,y:.08},{x:.09,y:.08},{x:.09,y:.08},{x:.09,y:.07},{x:.08,y:.07},{x:.08,y:.07},{x:.08,y:.07},{x:.08,y:.07},{x:.07,y:.07},{x:.07,y:.07},{x:.07,y:.07},{x:.07,y:.07},{x:.06,y:.07},{x:.06,y:.07},{x:.06,y:.06},{x:.06,y:.06},{x:.05,y:.06},{x:.05,y:.06},{x:.05,y:.06},{x:.05,y:.05},{x:.04,y:.05},{x:.04,y:.05},{x:.04,y:.04},{x:.04,y:.04},{x:.03,y:.04},{x:.03,y:.03},{x:.03,y:.03},{x:.03,y:.03},{x:.02,y:.02},{x:.02,y:.02},{x:.02,y:.01},{x:.02,y:.01},{x:.01,y:0},{x:.01,y:0},{x:.01,y:0},{x:.01,y:-.01},{x:0,y:-.01},{x:0,y:-.02},{x:0,y:-.02}],color:"primary",fill:!1},path8704:{type:"path",points:[{x:.4,y:-.02},{x:.39,y:-.02},{x:.39,y:-.01},{x:.39,y:-.01},{x:.39,y:0},{x:.39,y:0},{x:.38,y:0},{x:.38,y:.01},{x:.38,y:.01},{x:.38,y:.02},{x:.37,y:.02},{x:.37,y:.03},{x:.37,y:.03},{x:.37,y:.03},{x:.36,y:.04},{x:.36,y:.04},{x:.36,y:.04},{x:.36,y:.05},{x:.35,y:.05},{x:.35,y:.05},{x:.35,y:.06},{x:.35,y:.06},{x:.34,y:.06},{x:.34,y:.06},{x:.34,y:.06},{x:.34,y:.07},{x:.33,y:.07},{x:.33,y:.07},{x:.33,y:.07},{x:.33,y:.07},{x:.32,y:.07},{x:.32,y:.07},{x:.32,y:.07},{x:.32,y:.07},{x:.31,y:.07},{x:.31,y:.07},{x:.31,y:.08},{x:.31,y:.08},{x:.3,y:.08},{x:.3,y:.08},{x:.3,y:.08},{x:.3,y:.08},{x:.29,y:.08},{x:.29,y:.08},{x:.29,y:.08},{x:.29,y:.07},{x:.28,y:.07},{x:.28,y:.07},{x:.28,y:.07},{x:.28,y:.07},{x:.27,y:.07},{x:.27,y:.07},{x:.27,y:.07},{x:.27,y:.07},{x:.26,y:.07},{x:.26,y:.07},{x:.26,y:.06},{x:.26,y:.06},{x:.25,y:.06},{x:.25,y:.06},{x:.25,y:.06},{x:.25,y:.05},{x:.24,y:.05},{x:.24,y:.05},{x:.24,y:.04},{x:.24,y:.04},{x:.23,y:.04},{x:.23,y:.03},{x:.23,y:.03},{x:.23,y:.03},{x:.22,y:.02},{x:.22,y:.02},{x:.22,y:.01},{x:.22,y:.01},{x:.21,y:0},{x:.21,y:0},{x:.21,y:0},{x:.21,y:-.01},{x:.2,y:-.01},{x:.2,y:-.02},{x:.2,y:-.02}],color:"primary",fill:!1},path8706:{type:"path",points:[{x:-.4,y:-.02},{x:-.53,y:-.02}],color:"primary",fill:!1},"path8706-5":{type:"path",points:[{x:.53,y:-.03},{x:.4,y:-.03}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.23},bottom1:{type:"text",text:"{VAL}",x:0,y:-.23}},refblocks:{left1:{x:-.55,y:-.02},right1:{x:.55,y:-.03}},bounds:{minX:-.58,maxX:.58,minY:-.23,maxY:.23,width:1.16,height:.46,centerX:0,centerY:0},circles:{}};var{paths:G1,texts:vx,bounds:Oe,refblocks:wx,circles:W1}=ux,bt=s({primitives:[...Object.values(G1),...Object.values(W1),{...vx.top1,anchor:"middle_bottom"},{...vx.bottom1,anchor:"middle_top"}],ports:[{...wx.left1,labels:["1"]},{...wx.right1,labels:["2"]}],size:{width:Oe.width,height:Oe.height},center:{x:Oe.centerX,y:Oe.centerY}});var Je=r(bt,"up");var Ax=X(Je);var Px=E(bt);var y0={paths:{path11:{type:"path",points:[{x:-.53,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:.53,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}}};y0.bounds.width+=.2;var q=e(y0).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var x0=r(q,"down"),s0=x0.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),m0=x0.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");s0.anchor="middle_left";m0.anchor="middle_left";s0.y+=.9;s0.x=.3;m0.y-=.1;m0.x=.3;var Sx=x0;var n0=r(q,"left"),f0=n0.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),h0=n0.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");f0.anchor="middle_left";h0.anchor="middle_left";f0.y+=.71;f0.x=.44;h0.y-=.71;h0.x=.44;var Fx=n0;var c0=r(q,"up"),d0=c0.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),b0=c0.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");d0.anchor="middle_left";b0.anchor="middle_left";d0.y+=.1;d0.x=.3;b0.y-=.71;b0.x=.3;var Rx=c0;var Tx={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:.53,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:-.53,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:Q1,texts:Ex,bounds:$e,refblocks:Yx,circles:K1}=Tx,_t=s({primitives:[...Object.values(Q1),...Object.values(K1),{...Ex.bottom1,anchor:"middle_top"},{...Ex.right1,anchor:"middle_bottom"}],ports:[{...Yx.left1,labels:["1"]},{...Yx.right1,labels:["2"]}],size:{width:$e.width,height:$e.height},center:{x:$e.centerX,y:$e.centerY}});var _0=r(_t,"up"),g0=_0.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),u0=_0.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");g0.anchor="middle_left";u0.anchor="middle_left";g0.y+=.21;g0.x=.21;u0.y-=.21;u0.x=.21;var Me=_0;var v0=X(Me),w0=v0.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),A0=v0.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");w0.anchor="middle_left";A0.anchor="middle_left";w0.y+=.4;w0.x=.2;A0.y-=.41;A0.x=.2;var Xx=v0;var Lx=E(_t);var Vx={paths:{path11:{type:"path",points:[{x:-.51,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:.51,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:ed,texts:jx,bounds:Ce,refblocks:kx,circles:rd}=Vx,Ne=s({primitives:[...Object.values(ed),...Object.values(rd),{...jx.top1,anchor:"middle_left",x:0},{...jx.bottom1,anchor:"middle_left",x:0}],ports:[{...kx.left1,labels:["1"]},{...kx.right1,labels:["2"]}],size:{width:Ce.width,height:Ce.height},center:{x:Ce.centerX,y:Ce.centerY}});var zx=r(Ne),Ox=zx.primitives.filter(t=>t.type==="text"),P0=Ox.find(t=>t.text==="{VAL}");P0.x=-.35;P0.y=0;P0.anchor="middle_right";var S0=Ox.find(t=>t.text==="{REF}");S0.y=0;S0.x=.35;S0.anchor="middle_left";var Jx=zx;var $x={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:.53},{x:.12,y:.18}],color:"primary",fill:!1},path215:{type:"path",points:[{x:.12,y:-.53},{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:{}};var{paths:id,texts:Mx,bounds:Ie,refblocks:F0}=$x,Be=s({primitives:[...Object.values(id),{...Mx.right1,anchor:"middle_left"},{...Mx.right2,anchor:"middle_left"}],ports:[{...F0.top1,labels:["1"]},{...F0.bottom1,labels:["2"]},{...F0.left1,labels:["3"]}],size:{width:Ie.width+.4,height:Ie.height},center:{x:Ie.centerX+.2,y:Ie.centerY}});var R0=r(Be),Cx=R0.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),T0=R0.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Cx.anchor="middle_top";T0.anchor="middle_top";Cx.x=T0.x;T0.y+=.15;var Nx=R0;var Ix={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:-.49,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:.49,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:pd,texts:Bx,bounds:De,refblocks:Dx,circles:ad}=Ix,qe=s({primitives:[...Object.values(pd),...Object.values(ad),{...Bx.top1,anchor:"middle_bottom",x:0},{...Bx.bottom1,anchor:"middle_top",x:0}],ports:[{...Dx.left1,labels:["1"]},{...Dx.right1,labels:["2"]}],size:{width:De.width,height:De.height},center:{x:De.centerX+.006,y:De.centerY+.06}});var E0=r(qe),Pt=E0.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ue=E0.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Pt.anchor="middle_left";Ue.anchor="middle_right";Pt.x=Pt.x-.03;Pt.y=Pt.y;Ue.x=Ue.x;Ue.y=0;var qx=E0;var Ux={paths:{path11:{type:"path",points:[{x:-.39,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:.53},{x:.3,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.31,y:-.53},{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:xd,texts:Gx,bounds:Ge,refblocks:Y0,circles:sd}=Ux,We=s({primitives:[...Object.values(xd),...Object.values(sd),{...Gx.top1,anchor:"middle_right",x:0},{...Gx.bottom1,anchor:"middle_right",x:0}],ports:[{...Y0.top1,labels:["1","drain"]},{...Y0.bottom1,labels:["2","source"]},{...Y0.left1,labels:["3","gate"]}],size:{width:Ge.width,height:Ge.height},center:{x:Ge.centerX,y:Ge.centerY}});var Wx=r(We),Hx=Wx.primitives.filter(t=>t.type==="text"),X0=Hx.find(t=>t.text==="{VAL}");X0.x=-.35;X0.y=0;X0.anchor="middle_right";var L0=Hx.find(t=>t.text==="{REF}");L0.y=0;L0.x=.35;L0.anchor="middle_left";var Zx=Wx;var Qx={paths:{path11:{type:"path",points:[{x:-.39,y:-.1},{x:.05,y:-.11}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.3,y:.53},{x:.3,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.31,y:-.53},{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:nd,texts:Kx,bounds:He,refblocks:V0,circles:fd}=Qx,Ze=s({primitives:[...Object.values(nd),...Object.values(fd),{...Kx.top1,anchor:"middle_right",x:0},{...Kx.bottom1,anchor:"middle_right",x:0}],ports:[{...V0.top1,labels:["1","drain"]},{...V0.bottom1,labels:["2","source"]},{...V0.left1,labels:["3","gate"]}],size:{width:He.width,height:He.height},center:{x:He.centerX,y:He.centerY}});var ts=r(Ze),es=ts.primitives.filter(t=>t.type==="text"),j0=es.find(t=>t.text==="{VAL}");j0.x=-.35;j0.y=0;j0.anchor="middle_right";var k0=es.find(t=>t.text==="{REF}");k0.y=0;k0.x=.35;k0.anchor="middle_left";var rs=ts;var os={paths:{path11:{type:"path",points:[{x:-.39,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:.53},{x:.28,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.29,y:-.53},{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:cd,texts:is,bounds:Qe,refblocks:z0,circles:dd}=os,Ke=s({primitives:[...Object.values(cd),...Object.values(dd),{...is.top1,anchor:"middle_right",x:0},{...is.bottom1,anchor:"middle_right",x:0}],ports:[{...z0.top1,labels:["1","drain"]},{...z0.bottom1,labels:["2","source"]},{...z0.left1,labels:["3","gate"]}],size:{width:Qe.width,height:Qe.height},center:{x:Qe.centerX,y:Qe.centerY}});var ls=r(Ke),ps=ls.primitives.filter(t=>t.type==="text"),O0=ps.find(t=>t.text==="{VAL}");O0.x=-.35;O0.y=0;O0.anchor="middle_right";var J0=ps.find(t=>t.text==="{REF}");J0.y=0;J0.x=.35;J0.anchor="middle_left";var as=ls;var ys={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:_d,bounds:xs,refblocks:gd}=ys,U=e({primitives:[...Object.values(_d)],ports:[{...gd.left1,labels:["1"]}],center:{x:xs.centerX,y:xs.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).build();var ss=r(U,"down");var ms=r(U,"left");var ns=r(U,"up");var g={paths:{path11:{type:"path",points:[{x:-.39,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:.54}],color:"primary",fill:!1},"path12-1-5-3":{type:"path",points:[{x:.29,y:-.54},{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:vd,texts:SP,bounds:tr,refblocks:$0,circles:wd}=g,fs=e({primitives:[...Object.values(vd),...Object.values(wd),{type:"text",text:"{REF}",x:-.1,y:.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:-.3094553499999995}],ports:[{...$0.top1,labels:["1","collector"]},{...$0.bottom1,labels:["2","emitter"]},{...$0.left1,labels:["3","base"]}],size:{width:tr.width,height:tr.height},center:{x:tr.centerX,y:tr.centerY}}).rotateRightFacingSymbol("right").changeTextAnchor("{REF}","middle_right").changeTextAnchor("{VAL}","middle_right").build();var{paths:EP,texts:YP,bounds:XP,refblocks:LP,circles:VP}=g,hs=e(g).rotateRightFacingSymbol("up").changeTextAnchor("{VAL}","middle_left").labelPort("left1",["3","base"]).labelPort("top1",["1","collector"]).labelPort("bottom1",["2","emitter"]).changeTextAnchor("{REF}","middle_right").build();var{paths:Ad,texts:OP,bounds:er,refblocks:M0,circles:Pd}=g,cs=e({primitives:[...Object.values(Ad),...Object.values(Pd),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...M0.top1,labels:["1","collector"]},{...M0.bottom1,labels:["2","emitter"]},{...M0.left1,labels:["3","base"]}],size:{width:er.width,height:er.height},center:{x:er.centerX,y:er.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_bottom").build();var{paths:Sd,texts:CP,bounds:rr,refblocks:C0,circles:Fd}=g,ds=e({primitives:[...Object.values(Sd),...Object.values(Fd),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...C0.top1,labels:["1","collector"]},{...C0.bottom1,labels:["2","emitter"]},{...C0.left1,labels:["3","base"]}],size:{width:rr.width,height:rr.height},center:{x:rr.centerX,y:rr.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_top").changeTextAnchor("{VAL}","middle_top").build();var{paths:Rd,texts:DP,bounds:or,refblocks:N0,circles:Td}=g,bs=e({primitives:[...Object.values(Rd),...Object.values(Td),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...N0.top1,labels:["1","collector"]},{...N0.bottom1,labels:["2","emitter"]},{...N0.left1,labels:["3","base"]}],size:{width:or.width,height:or.height},center:{x:or.centerX,y:or.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Ed,texts:WP,bounds:ir,refblocks:I0,circles:Yd}=g,_s=e({primitives:[...Object.values(Ed),...Object.values(Yd),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...I0.top1,labels:["1","collector"]},{...I0.bottom1,labels:["2","emitter"]},{...I0.left1,labels:["3","base"]}],size:{width:ir.width,height:ir.height},center:{x:ir.centerX,y:ir.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var gs={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:-.58,y:.18}],color:"primary",fill:!1},path45:{type:"path",points:[{x:-.32,y:-.09},{x:-.58,y:-.09}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.42,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"rect1577-3":{type:"path",points:[{x:-.2,y:.18},{x:-.27,y:.18}],color:"primary",fill:!0},"rect1577-4":{type:"path",points:[{x:-.2,y:-.09},{x:-.27,y:-.09}],color:"primary",fill:!0},"rect1577-4-7":{type:"path",points:[{x:-.23,y:-.05},{x:-.23,y:-.12}],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:-.55,maxX:.55,minY:-.38,maxY:.27,width:1.09,height:.3,centerX:0,centerY:.05},circles:{}};var G=e(gs).labelPort("left1",["1","inp1"]).labelPort("left2",["2","inp2"]).labelPort("right1",["3","out"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var us=r(G,"down");var vs=r(G,"left");var ws=r(G,"up");var As={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:-.58,y:.18}],color:"primary",fill:!1},path45:{type:"path",points:[{x:-.32,y:-.09},{x:-.58,y:-.09}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.42,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:-.2,y:.18},{x:-.27,y:.18}],color:"primary",fill:!0},"rect1577-4":{type:"path",points:[{x:-.2,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:-.55,maxX:.55,minY:-.38,maxY:.27,width:1.09,height:.3,centerX:0,centerY:.05},circles:{}};var W=e(As).labelPort("left1",["1","inp1"]).labelPort("left2",["2","inp2"]).labelPort("right1",["3","out"]).labelPort("top2",["4","V+"]).labelPort("bottom1",["5","V-"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Ps=r(W,"down");var Ss=r(W,"left");var Fs=r(W,"up");var Rs={paths:{path11:{type:"path",points:[{x:-.39,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:.53},{x:.3,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.31,y:-.53},{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:jd,texts:Ts,bounds:lr,refblocks:B0,circles:kd}=Rs,pr=s({primitives:[...Object.values(jd),...Object.values(kd),{...Ts.top1,anchor:"middle_right",x:0},{...Ts.bottom1,anchor:"middle_right",x:0}],ports:[{...B0.top1,labels:["1","drain"]},{...B0.bottom1,labels:["2","source"]},{...B0.left1,labels:["3","gate"]}],size:{width:lr.width,height:lr.height},center:{x:lr.centerX,y:lr.centerY}});var Es=r(pr),Ys=Es.primitives.filter(t=>t.type==="text"),D0=Ys.find(t=>t.text==="{VAL}");D0.x=-.35;D0.y=0;D0.anchor="middle_right";var q0=Ys.find(t=>t.text==="{REF}");q0.y=0;q0.x=.35;q0.anchor="middle_left";var Xs=Es;var Ls={paths:{path11:{type:"path",points:[{x:-.39,y:-.1},{x:.05,y:-.11}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.3,y:.53},{x:.3,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.31,y:-.53},{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:Od,texts:Vs,bounds:ar,refblocks:U0,circles:Jd}=Ls,yr=s({primitives:[...Object.values(Od),...Object.values(Jd),{...Vs.top1,anchor:"middle_right",x:0},{...Vs.bottom1,anchor:"middle_right",x:0}],ports:[{...U0.top1,labels:["1","drain"]},{...U0.bottom1,labels:["2","source"]},{...U0.left1,labels:["3","gate"]}],size:{width:ar.width,height:ar.height},center:{x:ar.centerX,y:ar.centerY}});var js=r(yr),ks=js.primitives.filter(t=>t.type==="text"),G0=ks.find(t=>t.text==="{VAL}");G0.x=-.35;G0.y=0;G0.anchor="middle_right";var W0=ks.find(t=>t.text==="{REF}");W0.y=0;W0.x=.35;W0.anchor="middle_left";var zs=js;var Os={paths:{path11:{type:"path",points:[{x:-.53,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:.53,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 xr=e(Os).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Js=r(xr),Md=Js.primitives.filter(t=>t.type==="text"),$s=Md.find(t=>t.text==="{REF}");$s.y=0;$s.anchor="middle_left";var Ms=Js;var Cs={paths:{path11:{type:"path",points:[{x:-.39,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:.53},{x:.28,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.29,y:-.53},{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:Nd,texts:Ns,bounds:sr,refblocks:H0,circles:Id}=Cs,mr=s({primitives:[...Object.values(Nd),...Object.values(Id),{...Ns.top1,anchor:"middle_right",x:0},{...Ns.bottom1,anchor:"middle_right"}],ports:[{...H0.top1,labels:["1","drain"]},{...H0.bottom1,labels:["2","source"]},{...H0.left1,labels:["3","gate"]}],size:{width:sr.width,height:sr.height},center:{x:sr.centerX,y:sr.centerY}});var Is=r(mr),Bs=Is.primitives.filter(t=>t.type==="text"),Z0=Bs.find(t=>t.text==="{VAL}");Z0.x=-.35;Z0.y=0;Z0.anchor="middle_right";var Q0=Bs.find(t=>t.text==="{REF}");Q0.y=0;Q0.x=.35;Q0.anchor="middle_left";var Ds=Is;var u={paths:{path11:{type:"path",points:[{x:-.39,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:.54}],color:"primary",fill:!1},"path12-1-5-3":{type:"path",points:[{x:.29,y:-.54},{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:Dd,texts:tS,bounds:nr,refblocks:K0,circles:qd}=u,qs=e({primitives:[...Object.values(Dd),...Object.values(qd),{type:"text",text:"{REF}",x:-.1,y:.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:-.3094553499999995}],ports:[{...K0.top1,labels:["1","collector"]},{...K0.bottom1,labels:["2","emitter"]},{...K0.left1,labels:["3","base"]}],size:{width:nr.width,height:nr.height},center:{x:nr.centerX,y:nr.centerY}}).rotateRightFacingSymbol("right").changeTextAnchor("{REF}","middle_right").changeTextAnchor("{VAL}","middle_right").build();var{paths:iS,texts:lS,bounds:pS,refblocks:aS,circles:yS}=u,Us=e(u).rotateRightFacingSymbol("up").changeTextAnchor("{VAL}","middle_left").labelPort("left1",["3","base"]).labelPort("top1",["1","collector"]).labelPort("bottom1",["2","emitter"]).changeTextAnchor("{REF}","middle_right").build();var{paths:Ud,texts:nS,bounds:fr,refblocks:ti,circles:Gd}=u,Gs=e({primitives:[...Object.values(Ud),...Object.values(Gd),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...ti.top1,labels:["1","collector"]},{...ti.bottom1,labels:["2","emitter"]},{...ti.left1,labels:["3","base"]}],size:{width:fr.width,height:fr.height},center:{x:fr.centerX,y:fr.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_bottom").build();var{paths:Wd,texts:dS,bounds:hr,refblocks:ei,circles:Hd}=u,Ws=e({primitives:[...Object.values(Wd),...Object.values(Hd),{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:["2","emitter"]},{...ei.left1,labels:["3","base"]}],size:{width:hr.width,height:hr.height},center:{x:hr.centerX,y:hr.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_top").changeTextAnchor("{VAL}","middle_top").build();var{paths:Zd,texts:uS,bounds:cr,refblocks:ri,circles:Qd}=u,Hs=e({primitives:[...Object.values(Zd),...Object.values(Qd),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...ri.top1,labels:["1","collector"]},{...ri.bottom1,labels:["2","emitter"]},{...ri.left1,labels:["3","base"]}],size:{width:cr.width,height:cr.height},center:{x:cr.centerX,y:cr.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Kd,texts:PS,bounds:dr,refblocks:oi,circles:t2}=u,Zs=e({primitives:[...Object.values(Kd),...Object.values(t2),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...oi.top1,labels:["1","collector"]},{...oi.bottom1,labels:["2","emitter"]},{...oi.left1,labels:["3","base"]}],size:{width:dr.width,height:dr.height},center:{x:dr.centerX,y:dr.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Qs={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:-.51,y:.01}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:-.01,y:.51},{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:.5,y:.01},{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:.01,y:-.51}],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:r2,texts:Ks,bounds:br,refblocks:tm}=Qs,_r=s({primitives:[...Object.values(r2),{...Ks.bottom1,y:.35,anchor:"middle_top"},{...Ks.top1,anchor:"middle_left"}],ports:[{...tm.left1,labels:["1"]},{...tm.right1,labels:["2"]}],size:{width:br.width+.05,height:br.height},center:{x:br.centerX,y:br.centerY}});var o2=r(_r),em=o2;var rm={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},path23:{type:"path",points:[{x:.28,y:-.28},{x:.18,y:-.25},{x:.25,y:-.18}],color:"primary",fill:!0},path24:{type:"path",points:[{x:.29,y:-.29},{x:.25,y:-.17},{x:.16,y:-.26}],color:"primary",fill:!0},path26:{type:"path",points:[{x:-.3,y:.29},{x:.23,y:-.23}],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:l2,texts:om,bounds:gr,refblocks:im}=rm,H=s({primitives:[...Object.values(l2),{...om.bottom1,x:0,y:-.35,anchor:"middle_top"},{...om.top1,x:0,y:.35,anchor:"middle_bottom"}],ports:[{...im.left1,labels:["1"]},{...im.right1,labels:["2"]}],size:{width:gr.width+.05,height:gr.height},center:{x:gr.centerX,y:gr.centerY}});var ii=r(H,"down"),li=ii.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),pi=ii.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");li.anchor="middle_left";pi.anchor="middle_left";li.y+=.31;li.x=.34;pi.y-=.31;pi.x=.34;var lm=ii;var ai=r(H,"left"),yi=ai.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),xi=ai.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");yi.anchor="middle_bottom";xi.anchor="middle_top";yi.y+=.73;yi.x=0;xi.y-=.7;xi.x=0;var pm=ai;var si=r(H,"up"),mi=si.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ni=si.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");mi.anchor="middle_left";ni.anchor="middle_left";mi.y+=.21;mi.x=.34;ni.y-=.21;ni.x=.34;var am=si;var Z={paths:{path1:{type:"path",points:[{x:-.4,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:.4,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:a2,texts:WS,bounds:ur,refblocks:fi,circles:y2}=Z,ym=e({primitives:[...Object.values(a2),...Object.values(y2),{type:"text",text:"{REF}",x:-.15,y:.2394553499999995},{type:"text",text:"{VAL}",x:.15,y:.2394553499999995}],ports:[{...fi.left,labels:["1"]},{...fi.right,labels:["2"]},{...fi.bottom,labels:["3"]}],size:{width:ur.width,height:ur.height},center:{x:ur.centerX,y:ur.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:x2,texts:KS,bounds:vr,refblocks:hi,circles:s2}=Z,xm=e({primitives:[...Object.values(x2),...Object.values(s2),{type:"text",text:"{REF}",x:-.3,y:-.3894553499999995},{type:"text",text:"{VAL}",x:-.3,y:.3194553499999995}],ports:[{...hi.left,labels:["1"]},{...hi.right,labels:["2"]},{...hi.bottom,labels:["3"]}],size:{width:vr.width,height:vr.height},center:{x:vr.centerX,y:vr.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var sm=e(Z).labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:m2,texts:pF,bounds:wr,refblocks:ci,circles:n2}=Z,mm=e({primitives:[...Object.values(m2),...Object.values(n2),{type:"text",text:"{REF}",x:.3,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.2894553499999995}],ports:[{...ci.left,labels:["1"]},{...ci.right,labels:["2"]},{...ci.bottom,labels:["3"]}],size:{width:wr.width,height:wr.height},center:{x:wr.centerX,y:wr.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var nm={paths:{path11:{type:"path",points:[{x:-.53,y:.03},{x:-.3,y:.03}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:.03},{x:.53,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:h2,texts:mF,bounds:Ar,refblocks:fm,circles:c2}=nm,Pr=s({primitives:[...Object.values(h2),...Object.values(c2),{type:"text",text:"{REF}",x:-.15,y:-.42330070000000064,anchor:"middle_top"},{type:"text",text:"{VAL}",x:-.15,y:.42330070000000064,anchor:"middle_bottom"},{type:"text",text:"COS \u03C6",x:0,y:.014279000000000375,anchor:"center"}],ports:[{...fm.left1,labels:["1"]},{...fm.right1,labels:["2"]}],size:{width:Ar.width,height:Ar.height},center:{x:Ar.centerX,y:Ar.centerY}});var hm=r(Pr),di=hm.primitives.filter(t=>t.type==="text"),bi=di.find(t=>t.text==="{REF}"),_i=di.find(t=>t.text==="{VAL}"),gi=di.find(t=>t.text==="COS \u03C6");bi.x=.35;bi.y=0;bi.anchor="middle_left";_i.anchor="middle_right";_i.x=-.35;_i.y=0;gi.x=0;gi.y=0;gi.anchor="center";var cm=hm;var dm={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:-.49,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:.49,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:b2,texts:bm,bounds:Sr,refblocks:_m,circles:_2}=dm,Fr=s({primitives:[...Object.values(b2),...Object.values(_2),{...bm.top1,anchor:"middle_left"},{...bm.bottom1,anchor:"middle_left"}],ports:[{..._m.left1,labels:["1"]},{..._m.right1,labels:["2"]}],size:{width:Sr.width,height:Sr.height},center:{x:Sr.centerX,y:Sr.centerY}});var gm=r(Fr,"up");var um={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:-.49,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:.49,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:u2,texts:vm,bounds:Rr,refblocks:wm,circles:v2}=um,Tr=s({primitives:[...Object.values(u2),...Object.values(v2),{...vm.top1,anchor:"middle_left"},{...vm.bottom1,anchor:"middle_left"}],ports:[{...wm.left1,labels:["1"]},{...wm.right1,labels:["2"]}],size:{width:Rr.width,height:Rr.height},center:{x:Rr.centerX,y:Rr.centerY}});var Am=r(Tr,"up");var Pm={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:-.51,y:-.01}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:-.01,y:-.51},{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:.5,y:-.01},{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:.01,y:.51}],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:A2,texts:Sm,bounds:Er,refblocks:Yr,circles:P2}=Pm,Xr=s({primitives:[...Object.values(A2),...Object.values(P2),{...Sm.top1,anchor:"middle_right"},{...Sm.bottom1,anchor:"middle_right"}],ports:[{...Yr.top1,labels:["1"]},{...Yr.bottom1,labels:["2"]},{...Yr.left1,labels:["3"]},{...Yr.right1,labels:["4"]}],size:{width:Er.width,height:Er.height},center:{x:Er.centerX,y:Er.centerY}});var ui=r(Xr),S2=ui.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),F2=ui.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");S2.anchor="middle_left";F2.anchor="middle_right";var Fm=ui;var Q={paths:{path27:{type:"path",points:[{x:.46,y:.04},{x:.21,y:.04}],color:"primary",fill:!1},"path27-0":{type:"path",points:[{x:-.21,y:.04},{x:-.46,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:T2,texts:MF,bounds:Lr,refblocks:Rm,circles:E2}=Q,Tm=e({primitives:[...Object.values(T2),...Object.values(E2),{type:"text",text:"{REF}",x:-.2,y:.2194553499999995},{type:"text",text:"{VAL}",x:.2,y:.2194553499999995}],ports:[{...Rm.left1,labels:["1"]},{...Rm.right1,labels:["2"]}],size:{width:Lr.width,height:Lr.height},center:{x:Lr.centerX,y:Lr.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Y2,texts:BF,bounds:Vr,refblocks:Em,circles:X2}=Q,Ym=e({primitives:[...Object.values(Y2),...Object.values(X2),{type:"text",text:"{REF}",x:0,y:-.1704553499999995},{type:"text",text:"{VAL}",x:0,y:.2294553499999995}],ports:[{...Em.left1,labels:["1"]},{...Em.right1,labels:["2"]}],size:{width:Vr.width,height:Vr.height},center:{x:Vr.centerX,y:Vr.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:L2,texts:GF,bounds:jr,refblocks:Xm,circles:V2}=Q,Lm=e({primitives:[...Object.values(L2),...Object.values(V2),{type:"text",text:"{REF}",x:0,y:.2294553499999995},{type:"text",text:"{VAL}",x:0,y:-.1704553499999995}],ports:[{...Xm.left1,labels:["1"]},{...Xm.right1,labels:["2"]}],size:{width:jr.width,height:jr.height},center:{x:jr.centerX,y:jr.centerY}}).rotateRightFacingSymbol("right").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:j2,texts:QF,bounds:kr,refblocks:Vm,circles:k2}=Q,jm=e({primitives:[...Object.values(j2),...Object.values(k2),{type:"text",text:"{REF}",x:.2,y:-.1404553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.1494553499999995}],ports:[{...Vm.left1,labels:["1"]},{...Vm.right1,labels:["2"]}],size:{width:kr.width,height:kr.height},center:{x:kr.centerX,y:kr.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var zr={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:-.75,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:O2,texts:km,bounds:Or,refblocks:vi,circles:J2}=zr,K=s({primitives:[...Object.values(O2),...Object.values(J2),{...km.top1,anchor:"middle_bottom"},{...km.bottom1,anchor:"middle_top"}],ports:[{...vi.left1,labels:["1"]},{...vi.right1,labels:["2"]},{...vi.right2,labels:["3"]}],size:{width:Or.width,height:Or.height},center:{x:Or.centerX,y:Or.centerY}});var wi=r(K,"down"),Ai=wi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Pi=wi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ai.anchor="middle_bottom";Pi.anchor="middle_top";Ai.y+=.3;Ai.x+=.101;Pi.y-=.49999;Pi.x+=1.19999;var zm=wi;var{paths:$2,texts:xR,bounds:Jr,refblocks:Si,circles:M2}=zr,$r=s({primitives:[...Object.values($2),...Object.values(M2),{type:"text",text:"{REF}",x:.01596175000000022,y:-.5308501500000009,anchor:"middle_top"},{type:"text",text:"{VAL}",x:.013116750000000454,y:.5408501499999989,anchor:"middle_bottom"}],ports:[{...Si.left1,labels:["1"]},{...Si.right1,labels:["2"]},{...Si.right2,labels:["3"]}],size:{width:Jr.width,height:Jr.height},center:{x:Jr.centerX,y:Jr.centerY}});var Fi=r(K,"left"),Ri=Fi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ti=Fi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ri.anchor="middle_bottom";Ti.anchor="middle_top";Ri.y+=.99;Ri.x-=0;Ti.y-=1.10999;Ti.x=0;var Om=Fi;var Ei=r(K,"up"),Yi=Ei.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Xi=Ei.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Yi.anchor="middle_bottom";Xi.anchor="middle_top";Yi.y+=.499;Yi.x=.62;Xi.y-=.29999;Xi.x+=.1;var Jm=Ei;var $m=r($r);var Mm={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 tt=e(Mm).labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{VAL}","middle_top").changeTextAnchor("{REF}","middle_bottom").build();var Li=r(tt,"down"),Vi=Li.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ji=Li.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Vi.anchor="middle_left";ji.anchor="middle_left";Vi.y+=.3;Vi.x=.3;ji.y-=.3;ji.x=.3;var Cm=Li;var ki=r(tt,"left"),zi=ki.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Oi=ki.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");zi.anchor="middle_bottom";Oi.anchor="middle_top";zi.y+=.5;zi.x=0;Oi.y-=.55;Oi.x=0;var Nm=ki;var Ji=r(tt,"up"),$i=Ji.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Mi=Ji.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");$i.anchor="middle_left";Mi.anchor="middle_left";$i.y+=.3;$i.x=.3;Mi.y-=.3;Mi.x=.3;var Im=Ji;var Ci={paths:{path11:{type:"path",points:[{x:-.5,y:.04},{x:-.18,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.19,y:.05},{x:.51,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:-.33}],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:zR,texts:OR,bounds:JR,refblocks:$R,circles:MR}=Ci,Mr=e(Ci).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("bottom1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Bm=r(Mr),I2=Bm.primitives.filter(t=>t.type==="text"),Dm=I2.find(t=>t.text==="{REF}");Dm.y=0;Dm.anchor="middle_left";var qm=Bm;var et={paths:{path44:{type:"path",points:[{x:-.18,y:-.03},{x:-.44,y:-.03}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.44,y:-.02},{x:.18,y:-.02}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:.07,y:-.02},{x:-.07,y:-.02}],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:-.15},{x:-.07,y:-.15},{x:-.09,y:-.15},{x:-.1,y:-.14},{x:-.11,y:-.13},{x:-.13,y:-.12},{x:-.14,y:-.11},{x:-.14,y:-.1},{x:-.15,y:-.09},{x:-.16,y:-.08},{x:-.16,y:-.07},{x:-.16,y:-.06},{x:-.17,y:-.05},{x:-.17,y:-.04},{x:-.17,y:-.03},{x:-.17,y:-.02},{x:-.17,y:-.01},{x:-.16,y:0},{x:-.16,y:.01},{x:-.16,y:.02},{x:-.15,y:.03},{x:-.15,y:.04},{x:-.14,y:.05},{x:-.14,y:.05},{x:-.13,y:.06},{x:-.12,y:.07},{x:-.11,y:.08},{x:-.11,y:.08},{x:-.1,y:.09},{x:-.09,y:.09},{x:-.08,y:.1},{x:-.07,y:.1},{x:-.07,y:.1}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.07,y:-.15},{x:.07,y:-.15},{x:.09,y:-.15},{x:.1,y:-.14},{x:.12,y:-.13},{x:.13,y:-.12},{x:.14,y:-.11},{x:.14,y:-.1},{x:.15,y:-.09},{x:.16,y:-.08},{x:.16,y:-.07},{x:.17,y:-.06},{x:.17,y:-.05},{x:.17,y:-.04},{x:.17,y:-.03},{x:.17,y:-.02},{x:.17,y:-.01},{x:.16,y:0},{x:.16,y:.01},{x:.16,y:.02},{x:.15,y:.03},{x:.15,y:.04},{x:.14,y:.05},{x:.14,y:.05},{x:.13,y:.06},{x:.12,y:.07},{x:.11,y:.08},{x:.11,y:.08},{x:.1,y:.09},{x:.09,y:.09},{x:.08,y:.1},{x:.07,y:.1},{x:.07,y:.1}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.15}},refblocks:{left1:{x:-.45,y:-.03},right1:{x:.45,y:-.03}},bounds:{minX:-.47,maxX:.47,minY:-.15,maxY:.15,width:.95,height:.31,centerX:0,centerY:0},circles:{}};var Um=e(et).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var Gm=e(et).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_top").build();var Wm=e(et).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Hm=e(et).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right").build();var rt={paths:{path44:{type:"path",points:[{x:-.18,y:-.03},{x:-.44,y:-.03}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.44,y:-.02},{x:.18,y:-.02}],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:-.15},{x:-.07,y:-.15},{x:-.09,y:-.15},{x:-.1,y:-.14},{x:-.11,y:-.13},{x:-.13,y:-.12},{x:-.14,y:-.11},{x:-.14,y:-.1},{x:-.15,y:-.09},{x:-.16,y:-.08},{x:-.16,y:-.07},{x:-.16,y:-.06},{x:-.17,y:-.05},{x:-.17,y:-.04},{x:-.17,y:-.03},{x:-.17,y:-.02},{x:-.17,y:-.01},{x:-.16,y:0},{x:-.16,y:.01},{x:-.16,y:.02},{x:-.15,y:.03},{x:-.15,y:.04},{x:-.14,y:.05},{x:-.14,y:.05},{x:-.13,y:.06},{x:-.12,y:.07},{x:-.11,y:.08},{x:-.11,y:.08},{x:-.1,y:.09},{x:-.09,y:.09},{x:-.08,y:.1},{x:-.07,y:.1},{x:-.07,y:.1}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.07,y:-.15},{x:.07,y:-.15},{x:.09,y:-.15},{x:.1,y:-.14},{x:.12,y:-.13},{x:.13,y:-.12},{x:.14,y:-.11},{x:.14,y:-.1},{x:.15,y:-.09},{x:.16,y:-.08},{x:.16,y:-.07},{x:.17,y:-.06},{x:.17,y:-.05},{x:.17,y:-.04},{x:.17,y:-.03},{x:.17,y:-.02},{x:.17,y:-.01},{x:.16,y:0},{x:.16,y:.01},{x:.16,y:.02},{x:.15,y:.03},{x:.15,y:.04},{x:.14,y:.05},{x:.14,y:.05},{x:.13,y:.06},{x:.12,y:.07},{x:.11,y:.08},{x:.11,y:.08},{x:.1,y:.09},{x:.09,y:.09},{x:.08,y:.1},{x:.07,y:.1},{x:.07,y:.1}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.15}},refblocks:{left1:{x:-.45,y:-.03},right1:{x:.45,y:-.03}},bounds:{minX:-.47,maxX:.47,minY:-.15,maxY:.15,width:.95,height:.31,centerX:0,centerY:0},circles:{}};var Zm=e(rt).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var Qm=e(rt).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_top").build();var Km=e(rt).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var tn=e(rt).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right").build();var ot={paths:{path44:{type:"path",points:[{x:-.22,y:.1},{x:-.44,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.44,y:.1},{x:.22,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.03},{x:0,y:-.25}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.12,y:.23},{x:.12,y:-.02}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.04,y:.22},{x:.04,y:-.02}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.05,y:.22},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.04,y:.22},{x:-.05,y:.22}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.04,y:-.02},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.12,y:.23},{x:-.12,y:-.02}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.13,y:-.03},{x:-.13,y:-.03},{x:-.14,y:-.02},{x:-.16,y:-.01},{x:-.17,y:0},{x:-.18,y:.01},{x:-.19,y:.02},{x:-.2,y:.03},{x:-.2,y:.04},{x:-.21,y:.05},{x:-.21,y:.06},{x:-.22,y:.07},{x:-.22,y:.08},{x:-.22,y:.09},{x:-.22,y:.1},{x:-.22,y:.11},{x:-.22,y:.12},{x:-.22,y:.13},{x:-.21,y:.14},{x:-.21,y:.15},{x:-.21,y:.15},{x:-.2,y:.16},{x:-.19,y:.17},{x:-.19,y:.18},{x:-.18,y:.19},{x:-.17,y:.2},{x:-.17,y:.2},{x:-.16,y:.21},{x:-.15,y:.22},{x:-.14,y:.22},{x:-.13,y:.23},{x:-.13,y:.23},{x:-.13,y:.23}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.12,y:-.03},{x:.12,y:-.03},{x:.14,y:-.02},{x:.15,y:-.01},{x:.17,y:0},{x:.18,y:.01},{x:.19,y:.02},{x:.2,y:.03},{x:.2,y:.04},{x:.21,y:.05},{x:.21,y:.06},{x:.22,y:.07},{x:.22,y:.08},{x:.22,y:.09},{x:.22,y:.1},{x:.22,y:.11},{x:.22,y:.12},{x:.22,y:.13},{x:.21,y:.14},{x:.21,y:.15},{x:.2,y:.15},{x:.2,y:.16},{x:.19,y:.17},{x:.19,y:.18},{x:.18,y:.19},{x:.17,y:.2},{x:.17,y:.2},{x:.16,y:.21},{x:.15,y:.21},{x:.14,y:.22},{x:.13,y:.23},{x:.12,y:.23},{x:.12,y:.23}],color:"primary",fill:!1},path1:{type:"path",points:[{x:-.05,y:.1},{x:-.12,y:.1}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.28}},refblocks:{bottom1:{x:0,y:-.25},left1:{x:-.45,y:.1},right1:{x:.45,y:.1}},bounds:{minX:-.47,maxX:.47,minY:-.28,maxY:.28,width:.95,height:.56,centerX:0,centerY:0},circles:{}};var en=e(ot).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var rn=e(ot).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build();var on=e(ot).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var ln=e(ot).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_right").build();var it={paths:{path44:{type:"path",points:[{x:-.22,y:.1},{x:-.44,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.44,y:.1},{x:.22,y:.1}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:.12,y:.1},{x:.04,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.03},{x:0,y:-.25}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.12,y:.23},{x:.12,y:-.02}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.04,y:.22},{x:.04,y:-.02}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.05,y:.22},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.04,y:.22},{x:-.05,y:.22}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.04,y:-.02},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.12,y:.23},{x:-.12,y:-.02}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.13,y:-.03},{x:-.13,y:-.03},{x:-.14,y:-.02},{x:-.16,y:-.01},{x:-.17,y:0},{x:-.18,y:.01},{x:-.19,y:.02},{x:-.2,y:.03},{x:-.2,y:.04},{x:-.21,y:.05},{x:-.21,y:.06},{x:-.22,y:.07},{x:-.22,y:.08},{x:-.22,y:.09},{x:-.22,y:.1},{x:-.22,y:.11},{x:-.22,y:.12},{x:-.22,y:.13},{x:-.21,y:.14},{x:-.21,y:.15},{x:-.21,y:.15},{x:-.2,y:.16},{x:-.19,y:.17},{x:-.19,y:.18},{x:-.18,y:.19},{x:-.17,y:.2},{x:-.17,y:.2},{x:-.16,y:.21},{x:-.15,y:.22},{x:-.14,y:.22},{x:-.13,y:.23},{x:-.13,y:.23},{x:-.13,y:.23}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.12,y:-.03},{x:.12,y:-.03},{x:.14,y:-.02},{x:.15,y:-.01},{x:.17,y:0},{x:.18,y:.01},{x:.19,y:.02},{x:.2,y:.03},{x:.2,y:.04},{x:.21,y:.05},{x:.21,y:.06},{x:.22,y:.07},{x:.22,y:.08},{x:.22,y:.09},{x:.22,y:.1},{x:.22,y:.11},{x:.22,y:.12},{x:.22,y:.13},{x:.21,y:.14},{x:.21,y:.15},{x:.2,y:.15},{x:.2,y:.16},{x:.19,y:.17},{x:.19,y:.18},{x:.18,y:.19},{x:.17,y:.2},{x:.17,y:.2},{x:.16,y:.21},{x:.15,y:.21},{x:.14,y:.22},{x:.13,y:.23},{x:.12,y:.23},{x:.12,y:.23}],color:"primary",fill:!1},path1:{type:"path",points:[{x:-.05,y:.1},{x:-.12,y:.1}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.28}},refblocks:{bottom1:{x:0,y:-.25},left1:{x:-.45,y:.1},right1:{x:.45,y:.1}},bounds:{minX:-.47,maxX:.47,minY:-.28,maxY:.28,width:.95,height:.56,centerX:0,centerY:0},circles:{}};var pn=e(it).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var an=e(it).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build();var yn=e(it).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var xn=e(it).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_right").build();var lt={paths:{path44:{type:"path",points:[{x:-.22,y:.1},{x:-.44,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.44,y:.1},{x:.22,y:.1}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:.12,y:.1},{x:.04,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.03},{x:0,y:-.25}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.12,y:.23},{x:.12,y:-.02}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.04,y:.22},{x:.04,y:-.02}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.05,y:.22},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.04,y:.22},{x:-.05,y:.22}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.04,y:-.02},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.12,y:.23},{x:-.12,y:-.02}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.13,y:-.03},{x:-.13,y:-.03},{x:-.14,y:-.02},{x:-.16,y:-.01},{x:-.17,y:0},{x:-.18,y:.01},{x:-.19,y:.02},{x:-.2,y:.03},{x:-.2,y:.04},{x:-.21,y:.05},{x:-.21,y:.06},{x:-.22,y:.07},{x:-.22,y:.08},{x:-.22,y:.09},{x:-.22,y:.1},{x:-.22,y:.11},{x:-.22,y:.12},{x:-.22,y:.13},{x:-.21,y:.14},{x:-.21,y:.15},{x:-.21,y:.15},{x:-.2,y:.16},{x:-.19,y:.17},{x:-.19,y:.18},{x:-.18,y:.19},{x:-.17,y:.2},{x:-.17,y:.2},{x:-.16,y:.21},{x:-.15,y:.22},{x:-.14,y:.22},{x:-.13,y:.23},{x:-.13,y:.23},{x:-.13,y:.23}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.12,y:-.03},{x:.12,y:-.03},{x:.14,y:-.02},{x:.15,y:-.01},{x:.17,y:0},{x:.18,y:.01},{x:.19,y:.02},{x:.2,y:.03},{x:.2,y:.04},{x:.21,y:.05},{x:.21,y:.06},{x:.22,y:.07},{x:.22,y:.08},{x:.22,y:.09},{x:.22,y:.1},{x:.22,y:.11},{x:.22,y:.12},{x:.22,y:.13},{x:.21,y:.14},{x:.21,y:.15},{x:.2,y:.15},{x:.2,y:.16},{x:.19,y:.17},{x:.19,y:.18},{x:.18,y:.19},{x:.17,y:.2},{x:.17,y:.2},{x:.16,y:.21},{x:.15,y:.21},{x:.14,y:.22},{x:.13,y:.23},{x:.12,y:.23},{x:.12,y:.23}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.28}},refblocks:{bottom1:{x:0,y:-.25},left1:{x:-.45,y:.1},right1:{x:.45,y:.1}},bounds:{minX:-.47,maxX:.47,minY:-.28,maxY:.28,width:.95,height:.56,centerX:0,centerY:0},circles:{}};var sn=e(lt).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var mn=e(lt).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build();var nn=e(lt).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var fn=e(lt).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_right").build();var pt={paths:{path44:{type:"path",points:[{x:-.22,y:.1},{x:-.44,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.44,y:.1},{x:.22,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.03},{x:0,y:-.25}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.12,y:.23},{x:.12,y:-.02}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.04,y:.22},{x:.04,y:-.02}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.05,y:.22},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.04,y:.22},{x:-.05,y:.22}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.04,y:-.02},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.12,y:.23},{x:-.12,y:-.02}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.13,y:-.03},{x:-.13,y:-.03},{x:-.14,y:-.02},{x:-.16,y:-.01},{x:-.17,y:0},{x:-.18,y:.01},{x:-.19,y:.02},{x:-.2,y:.03},{x:-.2,y:.04},{x:-.21,y:.05},{x:-.21,y:.06},{x:-.22,y:.07},{x:-.22,y:.08},{x:-.22,y:.09},{x:-.22,y:.1},{x:-.22,y:.11},{x:-.22,y:.12},{x:-.22,y:.13},{x:-.21,y:.14},{x:-.21,y:.15},{x:-.21,y:.15},{x:-.2,y:.16},{x:-.19,y:.17},{x:-.19,y:.18},{x:-.18,y:.19},{x:-.17,y:.2},{x:-.17,y:.2},{x:-.16,y:.21},{x:-.15,y:.22},{x:-.14,y:.22},{x:-.13,y:.23},{x:-.13,y:.23},{x:-.13,y:.23}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.12,y:-.03},{x:.12,y:-.03},{x:.14,y:-.02},{x:.15,y:-.01},{x:.17,y:0},{x:.18,y:.01},{x:.19,y:.02},{x:.2,y:.03},{x:.2,y:.04},{x:.21,y:.05},{x:.21,y:.06},{x:.22,y:.07},{x:.22,y:.08},{x:.22,y:.09},{x:.22,y:.1},{x:.22,y:.11},{x:.22,y:.12},{x:.22,y:.13},{x:.21,y:.14},{x:.21,y:.15},{x:.2,y:.15},{x:.2,y:.16},{x:.19,y:.17},{x:.19,y:.18},{x:.18,y:.19},{x:.17,y:.2},{x:.17,y:.2},{x:.16,y:.21},{x:.15,y:.21},{x:.14,y:.22},{x:.13,y:.23},{x:.12,y:.23},{x:.12,y:.23}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.28}},refblocks:{bottom1:{x:0,y:-.25},left1:{x:-.45,y:.1},right1:{x:.45,y:.1}},bounds:{minX:-.47,maxX:.47,minY:-.28,maxY:.28,width:.95,height:.56,centerX:0,centerY:0},circles:{}};var hn=e(pt).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var cn=e(pt).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build();var dn=e(pt).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var bn=e(pt).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_right").build();var _n={paths:{path1:{type:"path",points:[{x:-.35,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:.35,y:-.06}],color:"primary",fill:!1},path3:{type:"path",points:[{x:.12,y:.17},{x:.36,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 at=e(_n).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right2",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Ni=r(at,"down"),Ii=Ni.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Bi=Ni.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ii.anchor="middle_bottom";Bi.anchor="middle_top";Ii.x=.44;Ii.y+=.28;Bi.y-=.28;Bi.x=.44;var gn=Ni;var Di=r(at,"left"),qi=Di.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ui=Di.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");qi.anchor="middle_bottom";Ui.anchor="middle_top";qi.x=0;qi.y+=.625;Ui.y-=.695;Ui.x=0;var un=Di;var Gi=r(at,"up"),Wi=Gi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Hi=Gi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Wi.anchor="middle_bottom";Hi.anchor="middle_top";Wi.x=.4;Wi.y+=.28;Hi.y-=.28;Hi.x=.4;var vn=Gi;var wn={paths:{path1:{type:"path",points:[{x:-.35,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:.35,y:-.06}],color:"primary",fill:!1},path3:{type:"path",points:[{x:.12,y:.17},{x:.36,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 yt=e(wn).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right3",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Zi=r(yt,"down"),Qi=Zi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ki=Zi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Qi.anchor="middle_bottom";Ki.anchor="middle_top";Qi.x=.44;Qi.y+=.28;Ki.y-=.28;Ki.x=.44;var An=Zi;var tl=r(yt,"left"),el=tl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),rl=tl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");el.anchor="middle_bottom";rl.anchor="middle_top";el.x=0;el.y+=.625;rl.y-=.695;rl.x=0;var Pn=tl;var ol=r(yt,"up"),il=ol.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ll=ol.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");il.anchor="middle_bottom";ll.anchor="middle_top";il.x=.4;il.y+=.28;ll.y-=.28;ll.x=.4;var Sn=ol;var St={paths:{path11:{type:"path",points:[{x:-.36,y:0},{x:-.14,y:0}],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:.13,y:0},{x:.37,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 St.refblocks.left1;delete St.refblocks.right1;St.bounds.width+=.2;var xt=e(St).changeTextAnchor("{VAL}","middle_top").labelPort("left2",["1"]).labelPort("right2",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var pl=r(xt,"down"),al=pl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),yl=pl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");al.anchor="middle_bottom";yl.anchor="middle_top";al.x=.3;al.y+=.265;yl.y-=.265;yl.x=.3;var Fn=pl;var xl=r(xt,"left"),sl=xl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ml=xl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");sl.anchor="middle_bottom";ml.anchor="middle_top";sl.x=0;sl.y+=.57;ml.y-=.57;ml.x=0;var Rn=xl;var nl=r(xt,"up"),fl=nl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),hl=nl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");fl.anchor="middle_bottom";hl.anchor="middle_top";fl.x=.3;fl.y+=.265;hl.y-=.265;hl.x=.3;var Tn=nl;var Ft={paths:{path11:{type:"path",points:[{x:-.36,y:0},{x:-.14,y:0}],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:.13,y:0},{x:.37,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 Ft.refblocks.left1;delete Ft.refblocks.right1;Ft.bounds.width+=.2;var st=e(Ft).changeTextAnchor("{VAL}","middle_top").labelPort("left2",["1"]).labelPort("right2",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var cl=r(st,"down"),dl=cl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),bl=cl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");dl.anchor="middle_bottom";bl.anchor="middle_top";dl.x=.3;dl.y+=.265;bl.y-=.265;bl.x=.3;var En=cl;var _l=r(st,"left"),gl=_l.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ul=_l.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");gl.anchor="middle_bottom";ul.anchor="middle_top";gl.x=0;gl.y+=.57;ul.y-=.57;ul.x=0;var Yn=_l;var vl=r(st,"up"),wl=vl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Al=vl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");wl.anchor="middle_bottom";Al.anchor="middle_top";wl.x=.3;wl.y+=.265;Al.y-=.265;Al.x=.3;var Xn=vl;var Pl={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:dY,texts:bY,bounds:_Y,refblocks:gY,circles:uY}=Pl,Cr=e(Pl).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Ln=r(Cr);var Vn={paths:{path11:{type:"path",points:[{x:-.53,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.53,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:rb,texts:ob,bounds:Nr,refblocks:jn,circles:ib}=Vn,Rt=s({primitives:[...Object.values(rb),...Object.values(ib),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...ob.left1,y:.01,anchor:"center",fontSize:.2}],ports:[{...jn.left1,labels:["1"]},{...jn.right1,labels:["2"]}],size:{width:Nr.width,height:Nr.height},center:{x:Nr.centerX,y:Nr.centerY}});var{5:lb,...pb}=Rt.primitives;function ab(t){return typeof t=="object"}var kn=r({...Rt,primitives:Object.values(pb).filter(ab)}),zn={...kn,primitives:[...kn.primitives,lb]};var mt=s({primitives:[{type:"path",points:[{x:-.2,y:0},{x:0,y:0}],color:"primary",fill:!1},{type:"path",points:Array.from({length:8},(t,o)=>{let i=Math.PI/2-o*Math.PI/7,l=.1;return{x:.1-l*Math.cos(i),y:l*Math.sin(i)}}),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 Jn=r(mt,"down"),On=Jn.primitives.find(t=>t.type==="text"&&t.text==="{REF}");On&&(On.anchor="middle_top");var $n=Jn;var Mn=r(mt,"left");var Nn=r(mt,"up"),Cn=Nn.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Cn&&(Cn.anchor="middle_bottom");var In=Nn;var Bn={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:-.4,y:.2},{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 gt=e(Bn).labelPort("right1",["1"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Sl=r(gt,"up"),Fl=Sl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Rl=Sl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Fl.anchor="middle_bottom";Rl.anchor="middle_top";Fl.x=.4;Fl.y+=.2;Rl.y-=.3;Rl.x=.4;var Ir=Sl;var Tl=X(Ir),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_bottom";Yl.anchor="middle_top";El.x=.35;El.y+=.4;Yl.y-=.4;Yl.x=.35;var Dn=Tl;var Xl=r(gt,"left"),Ll=Xl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Vl=Xl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ll.anchor="middle_bottom";Vl.anchor="middle_top";Ll.x=0;Ll.y+=.5;Vl.y-=.6;Vl.x=0;var qn=Xl;var jl={paths:{path11:{type:"path",points:[{x:-.52,y:.04},{x:-.11,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.1,y:.04},{x:.52,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:-.3}],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:lX,texts:pX,bounds:aX,refblocks:yX,circles:xX}=jl,Br=e(jl).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("bottom1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Un=r(Br),Gn=Un.primitives.filter(t=>t.type==="text"),sb=Gn.find(t=>t.text==="{REF}"),mb=Gn.find(t=>t.text==="{VAL}");sb.y=0;mb.y=0;var Wn=Un;var Hn={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:fb,texts:Zn,bounds:Dr,refblocks:Qn,circles:hb}=Hn,qr=s({primitives:[...Object.values(fb),...Object.values(hb),{...Zn.top1,anchor:"middle_bottom"},{...Zn.bottom1,anchor:"middle_top"}],ports:[{...Qn.left1,labels:["1"]},{...Qn.right1,labels:["2"]}],size:{width:Dr.width,height:Dr.height},center:{x:Dr.centerX,y:Dr.centerY}});var kl=r(qr),cb=kl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),db=kl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");cb.anchor="middle_left";db.anchor="middle_right";var Kn=kl;var tf={paths:{path11:{type:"path",points:[{x:-.33,y:.21},{x:-.02,y:.01}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.23,y:.13},{x:.23,y:.38}],color:"primary",fill:!1},"path12-2":{type:"path",points:[{x:.23,y:-.08},{x:.23,y:-.33}],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:_b,texts:ef,bounds:Ur,refblocks:zl,circles:gb}=tf,Gr=s({primitives:[...Object.values(_b),...Object.values(gb),{...ef.top1,anchor:"middle_left"},{...ef.bottom1,anchor:"middle_right"}],ports:[{...zl.top1,labels:["1"]},{...zl.bottom1,labels:["2"]},{...zl.left1,labels:["3"]}],size:{width:Ur.width,height:Ur.height},center:{x:Ur.centerX,y:Ur.centerY}});var rf=r(Gr),of=rf.primitives.filter(t=>t.type==="text"),ub=of.find(t=>t.text==="{REF}");ub.y=.1;var lf=of.find(t=>t.text==="{VAL}");lf.y=.1;lf.x=-.4;var pf=rf;var af={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 yf=e(af).changeTextAnchor("{REF}","middle_bottom").build();var xf={paths:{path11:{type:"path",points:[{x:-.53,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.53,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:Ab,texts:Ol,bounds:Wr,refblocks:sf,circles:Pb}=xf,Hr=s({primitives:[...Object.values(Ab),...Object.values(Pb),{...Ol.top1,x:0,y:-.3594553499999995,anchor:"middle_top"},{...Ol.bottom1,x:0,y:.35,anchor:"middle_bottom"},{...Ol.left1,x:-.02,y:.01,fontSize:.2,anchor:"center"}],ports:[{...sf.left1,labels:["1"]},{...sf.right1,labels:["2"]}],size:{width:Wr.width,height:Wr.height},center:{x:Wr.centerX,y:Wr.centerY}});var mf=r(Hr);var nf={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:.53,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:Fb,texts:ff,bounds:Zr,refblocks:hf,circles:Rb}=nf,Qr=s({primitives:[...Object.values(Fb),...Object.values(Rb),{...ff.top1,anchor:"middle_bottom"},{...ff.bottom1,anchor:"middle_top"}],ports:[{...hf.left1,labels:["1"]},{...hf.right1,labels:["2"]}],size:{width:Zr.width,height:Zr.height},center:{x:Zr.centerX,y:Zr.centerY}});var Jl=r(Qr),Tb=Jl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Eb=Jl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Tb.anchor="middle_left";Eb.anchor="middle_right";var cf=Jl;var df={paths:{path5:{type:"path",points:[{x:-.52,y:0},{x:-.26,y:0}],color:"primary",fill:!1},path6:{type:"path",points:[{x:.27,y:0},{x:.53,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:.01}},bounds:{minX:-.57,maxX:.57,minY:-.25,maxY:.25,width:1.13,height:.5,centerX:0,centerY:0},circles:{}};var{paths:Xb,texts:bf,bounds:Kr,refblocks:_f}=df,to=s({primitives:[...Object.values(Xb),{...bf.top1,anchor:"middle_left"},{...bf.bottom1,anchor:"middle_right"}],ports:[{..._f.left1,labels:["1","-"]},{..._f.right1,labels:["2","+"]}],size:{width:Kr.width,height:Kr.height},center:{x:Kr.centerX,y:Kr.centerY}});var gf=r(to);var uf={paths:{path11:{type:"path",points:[{x:-.53,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.53,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:Vb,texts:jb,bounds:eo,refblocks:vf,circles:kb}=uf,Tt=s({primitives:[...Object.values(Vb),...Object.values(kb),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...jb.left1,anchor:"center",y:.02,fontSize:.2}],ports:[{...vf.left1,labels:["1"]},{...vf.right1,labels:["2"]}],size:{width:eo.width,height:eo.height},center:{x:eo.centerX,y:eo.centerY}});var{5:zb,...Ob}=Tt.primitives;function Jb(t){return typeof t=="object"}var wf=r({...Tt,primitives:Object.values(Ob).filter(Jb)}),Af={...wf,primitives:[...wf.primitives,zb]};var nt={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:-.22,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:{}};var Pf=e(nt).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var Sf=e(nt).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var Ff=e(nt).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var Rf=e(nt).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var $l={paths:{path11:{type:"path",points:[{x:-.53,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:.53,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:wL,texts:AL,bounds:PL,circles:SL,refblocks:FL}=$l,ro=e($l).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Tf=r(ro);var Ef={paths:{path11:{type:"path",points:[{x:-.53,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.53,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:Nb,texts:Ib,bounds:oo,refblocks:Yf,circles:Bb}=Ef,Et=s({primitives:[...Object.values(Nb),...Object.values(Bb),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...Ib.left1,anchor:"center",y:.01,fontSize:.2}],ports:[{...Yf.left1,labels:["1"]},{...Yf.right1,labels:["2"]}],size:{width:oo.width,height:oo.height},center:{x:oo.centerX,y:oo.centerY}});var{5:Db,...qb}=Et.primitives;function Ub(t){return typeof t=="object"}var Xf=r({...Et,primitives:Object.values(qb).filter(Ub)}),Lf={...Xf,primitives:[...Xf.primitives,Db]};var Vf={paths:{path11:{type:"path",points:[{x:-.53,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.53,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:Wb,texts:Hb,bounds:io,refblocks:jf,circles:Zb}=Vf,Yt=s({primitives:[...Object.values(Wb),...Object.values(Zb),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...Hb.left1,anchor:"center",y:.01,fontSize:.3}],ports:[{...jf.left1,labels:["1"]},{...jf.right1,labels:["2"]}],size:{width:io.width,height:io.height},center:{x:io.centerX,y:io.centerY}});var{5:Qb,...Kb}=Yt.primitives;function t_(t){return typeof t=="object"}var kf=r({...Yt,primitives:Object.values(Kb).filter(t_)}),zf={...kf,primitives:[...kf.primitives,Qb]};var Of={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}},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:r_,texts:Jf,bounds:lo,refblocks:$f,circles:o_}=Of,po=s({primitives:[...Object.values(r_),...Object.values(o_),{...Jf.top1,anchor:"middle_bottom"},{...Jf.bottom1,anchor:"middle_top"}],ports:[{...$f.left1,labels:["1"]},{...$f.right1,labels:["2"]}],size:{width:lo.width,height:lo.height},center:{x:lo.centerX,y:lo.centerY}});var Ml=r(po),i_=Ml.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),l_=Ml.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");i_.anchor="middle_left";l_.anchor="middle_right";var Mf=Ml;var Cf={ac_voltmeter_down:ql,ac_voltmeter_horz:Gl,ac_voltmeter_left:Hl,ac_voltmeter_right:Ql,ac_voltmeter_up:tp,ac_voltmeter_vert:rp,avalanche_diode_down:ip,avalanche_diode_horz:lp,avalanche_diode_left:ap,avalanche_diode_right:yp,avalanche_diode_up:sp,avalanche_diode_vert:np,backward_diode_down:hp,backward_diode_left:Dt,backward_diode_right:bp,backward_diode_up:_p,battery_horz:Gt,battery_vert:wp,boxresistor_down:Sp,boxresistor_left:Tp,boxresistor_right:Xp,boxresistor_small_down:Vp,boxresistor_small_left:kp,boxresistor_small_right:Op,boxresistor_small_up:$p,boxresistor_up:Np,bridged_ground_down:Dp,bridged_ground_left:Gp,bridged_ground_right:Kt,bridged_ground_up:Zp,capacitor_down:Kp,capacitor_left:ta,capacitor_polarized_down:ra,capacitor_polarized_left:oa,capacitor_polarized_right:la,capacitor_polarized_up:aa,capacitor_right:ya,capacitor_up:sa,constant_current_diode_down:na,constant_current_diode_horz:fa,constant_current_diode_left:ca,constant_current_diode_right:da,constant_current_diode_up:_a,constant_current_diode_vert:ua,crystal_4pin_down:va,crystal_4pin_left:wa,crystal_4pin_right:Aa,crystal_4pin_up:Pa,crystal_down:Fa,crystal_left:Ra,crystal_right:Ta,crystal_up:Ya,darlington_pair_transistor_down:Xa,darlington_pair_transistor_horz:La,darlington_pair_transistor_left:Va,darlington_pair_transistor_right:ja,darlington_pair_transistor_up:ka,darlington_pair_transistor_vert:za,dc_ammeter_horz:vt,dc_ammeter_vert:Ma,dc_voltmeter_down:Na,dc_voltmeter_horz:Ba,dc_voltmeter_left:qa,dc_voltmeter_right:Ga,dc_voltmeter_up:Ha,dc_voltmeter_vert:Qa,diac_down:Ka,diac_horz:ty,diac_left:ey,diac_right:ry,diac_up:oy,diac_vert:iy,diode_down:py,diode_left:ay,diode_right:$,diode_up:yy,dpdt_normally_closed_switch_down:sy,dpdt_normally_closed_switch_left:my,dpdt_normally_closed_switch_right:M,dpdt_normally_closed_switch_up:ny,dpdt_switch_down:hy,dpdt_switch_left:cy,dpdt_switch_right:C,dpdt_switch_up:dy,dpst_normally_closed_switch_down:_y,dpst_normally_closed_switch_left:gy,dpst_normally_closed_switch_right:N,dpst_normally_closed_switch_up:uy,dpst_switch_down:wy,dpst_switch_left:Ay,dpst_switch_right:I,dpst_switch_up:Py,ferrite_bead_down:Fy,ferrite_bead_left:Ry,ferrite_bead_right:Se,ferrite_bead_up:Pe,filled_diode_down:Ey,filled_diode_horz:Xy,filled_diode_left:Vy,filled_diode_right:ky,filled_diode_up:Oy,filled_diode_vert:$y,frequency_meter_horz:wt,frequency_meter_vert:Iy,fuse_horz:je,fuse_vert:qy,ground_down:Uy,ground_horz:Gy,ground_left:Wy,ground_right:Hy,ground_up:Zy,ground_vert:Qy,ground2_down:tx,ground2_left:rx,ground2_right:ix,ground2_up:px,gunn_diode_horz:ax,gunn_diode_vert:yx,icled_down:sx,icled_left:mx,icled_right:D,icled_up:nx,igbt_transistor_horz:ke,igbt_transistor_vert:cx,illuminated_push_button_normally_open_horz:ze,illuminated_push_button_normally_open_vert:gx,inductor_down:Ax,inductor_left:Px,inductor_right:bt,inductor_up:Je,laser_diode_down:Sx,laser_diode_left:Fx,laser_diode_right:q,laser_diode_up:Rx,led_down:Xx,led_left:Lx,led_right:_t,led_up:Me,light_dependent_resistor_horz:Ne,light_dependent_resistor_vert:Jx,mosfet_depletion_normally_on_horz:Be,mosfet_depletion_normally_on_vert:Nx,mushroom_head_normally_open_momentary_horz:qe,mushroom_head_normally_open_momentary_vert:qx,n_channel_d_mosfet_transistor_horz:We,n_channel_d_mosfet_transistor_vert:Zx,n_channel_e_mosfet_transistor_horz:Ze,n_channel_e_mosfet_transistor_vert:rs,njfet_transistor_horz:Ke,njfet_transistor_vert:as,not_connected_down:ss,not_connected_left:ms,not_connected_right:U,not_connected_up:ns,npn_bipolar_transistor_down:fs,npn_bipolar_transistor_horz:hs,npn_bipolar_transistor_left:cs,npn_bipolar_transistor_right:ds,npn_bipolar_transistor_up:bs,npn_bipolar_transistor_vert:_s,opamp_no_power_down:us,opamp_no_power_left:vs,opamp_no_power_right:G,opamp_no_power_up:ws,opamp_with_power_down:Ps,opamp_with_power_left:Ss,opamp_with_power_right:W,opamp_with_power_up:Fs,p_channel_d_mosfet_transistor_horz:pr,p_channel_d_mosfet_transistor_vert:Xs,p_channel_e_mosfet_transistor_horz:yr,p_channel_e_mosfet_transistor_vert:zs,photodiode_horz:xr,photodiode_vert:Ms,pjfet_transistor_horz:mr,pjfet_transistor_vert:Ds,pnp_bipolar_transistor_down:qs,pnp_bipolar_transistor_horz:Us,pnp_bipolar_transistor_left:Gs,pnp_bipolar_transistor_right:Ws,pnp_bipolar_transistor_up:Hs,pnp_bipolar_transistor_vert:Zs,potentiometer_horz:_r,potentiometer_vert:em,potentiometer2_down:lm,potentiometer2_left:pm,potentiometer2_right:H,potentiometer2_up:am,potentiometer3_down:ym,potentiometer3_left:xm,potentiometer3_right:sm,potentiometer3_up:mm,power_factor_meter_horz:Pr,power_factor_meter_vert:cm,push_button_normally_closed_momentary_horz:Fr,push_button_normally_closed_momentary_vert:gm,push_button_normally_open_momentary_horz:Tr,push_button_normally_open_momentary_vert:Am,rectifier_diode_horz:Xr,rectifier_diode_vert:Fm,resistor_down:Tm,resistor_left:Ym,resistor_right:Lm,resistor_up:jm,resonator_down:zm,resonator_horz:$r,resonator_left:Om,resonator_right:K,resonator_up:Jm,resonator_vert:$m,schottky_diode_down:Cm,schottky_diode_left:Nm,schottky_diode_right:tt,schottky_diode_up:Im,silicon_controlled_rectifier_horz:Mr,silicon_controlled_rectifier_vert:qm,solderjumper2_bridged12_down:Um,solderjumper2_bridged12_left:Gm,solderjumper2_bridged12_right:Wm,solderjumper2_bridged12_up:Hm,solderjumper2_down:Zm,solderjumper2_left:Qm,solderjumper2_right:Km,solderjumper2_up:tn,solderjumper3_bridged12_down:en,solderjumper3_bridged12_left:rn,solderjumper3_bridged12_right:on,solderjumper3_bridged12_up:ln,solderjumper3_bridged123_down:pn,solderjumper3_bridged123_left:an,solderjumper3_bridged123_right:yn,solderjumper3_bridged123_up:xn,solderjumper3_bridged23_down:sn,solderjumper3_bridged23_left:mn,solderjumper3_bridged23_right:nn,solderjumper3_bridged23_up:fn,solderjumper3_down:hn,solderjumper3_left:cn,solderjumper3_right:dn,solderjumper3_up:bn,spdt_normally_closed_switch_down:gn,spdt_normally_closed_switch_left:un,spdt_normally_closed_switch_right:at,spdt_normally_closed_switch_up:vn,spdt_switch_down:An,spdt_switch_left:Pn,spdt_switch_right:yt,spdt_switch_up:Sn,spst_normally_closed_switch_down:Fn,spst_normally_closed_switch_left:Rn,spst_normally_closed_switch_right:xt,spst_normally_closed_switch_up:Tn,spst_switch_down:En,spst_switch_left:Yn,spst_switch_right:st,spst_switch_up:Xn,step_recovery_diode_horz:Cr,step_recovery_diode_vert:Ln,tachometer_horz:Rt,tachometer_vert:zn,testpoint_down:$n,testpoint_left:Mn,testpoint_right:mt,testpoint_up:In,tilted_ground_down:Dn,tilted_ground_left:qn,tilted_ground_right:gt,tilted_ground_up:Ir,triac_horz:Br,triac_vert:Wn,tunnel_diode_horz:qr,tunnel_diode_vert:Kn,unijunction_transistor_horz:Gr,unijunction_transistor_vert:pf,usbc:yf,var_meter_horz:Hr,var_meter_vert:mf,varactor_diode_horz:Qr,varactor_diode_vert:cf,varistor_horz:to,varistor_vert:gf,varmeter_horz:Tt,varmeter_vert:Af,vcc_down:Pf,vcc_left:Sf,vcc_right:Ff,vcc_up:Rf,volt_meter_horz:ro,volt_meter_vert:Tf,watt_hour_meter_horz:Et,watt_hour_meter_vert:Lf,wattmeter_horz:Yt,wattmeter_vert:zf,zener_diode_horz:po,zener_diode_vert:Mf};var _=(t,o=!0)=>o?-t:t;var ft=t=>{switch(t){case"primary":return"black";case"secondary":return"gray";default:return t}};function Nf(t,{closed:o=!1,yUpPositive:i=!0}){let l=t.map((a,y)=>`${y===0?"M":"L"}${a.x},${_(a.y,i)}`).join(" ");return o?`${l} Z`:l}function p_(t,o=.05,i=!0){let{x:l,y:a}=t,y=o/2;return`<path d="M ${l} ${_(a,i)-y} L ${l+y} ${_(a,i)} L ${l} ${_(a,i)+y} L ${l-y} ${_(a,i)} Z" fill="green" />`}function a_(t,{yUpPositive:o}){let{x:i,y:l,text:a,fontSize:y=.1,anchor:n}=t,m,c=0,p=0,x=y*.75;switch(n){case"top_left":m="start",p=y;break;case"top_right":m="end",p=y;break;case"bottom_left":m="start";break;case"bottom_right":m="end";break;case"center":m="middle",p=y/2;break;case"middle_top":m="middle",p=x;break;case"middle_bottom":m="middle";break;case"middle_left":m="start",p=x/2;break;case"middle_right":m="end",p=x/2;break}return{text:`<text x="${i}" y="${_(l,o)}" dx="${c}" dy="${p}" text-anchor="${m}" style="font: ${y??.1}px monospace; fill: ${ft("primary")}">${a}</text>`,anchor:`<rect x="${i-.025/2}" y="${_(l,o)-.025/2}" width="0.025" height="0.025" fill="blue" />`}}function y_(t,{yUpPositive:o}){let{x:i,y:l,labels:a}=t,y=.05,n=.08,m=a[0]||"";return`
7
7
  <rect x="${i-y/2}" y="${_(l,o)-y/2}" width="${y}" height="${y}" fill="red" />
8
8
  <text x="${i-n/2}" y="${_(l,o)+y+n/2}" text-anchor="middle" style="font: ${n}px monospace; fill: #833;">${m}</text>
9
9
  `}function If(t,o={}){let{debug:i=!1}=o,{primitives:l,size:a,ports:y}=t,n=l.map(x=>{switch(x.type){case"path":return`<path d="${Nf(x.points,{closed:x.closed,yUpPositive:!0})}" fill="${x.fill?ft(x.color):"none"}" stroke="${ft(x.color)}" stroke-width="0.02" stroke-linecap="round" stroke-linejoin="round" />`;case"text":let f=a_(x,{yUpPositive:!0});return f.text+(i?f.anchor:"");case"circle":return`<circle cx="${x.x}" cy="${_(x.y,!0)}" r="${x.radius}" fill="${x.fill?ft(x.color):"none"}" ${x.fill?"":`stroke="${ft(x.color)}" stroke-width="0.02"`} />`;case"box":return`<rect x="${x.x}" y="${_(x.y)}" width="${x.width}" height="${x.height}" fill="${ft("primary")}" />`;default:return""}}),m=y.map(x=>y_(x,{yUpPositive:!0})).join(`