@bradycorporation/brady-web-sdk
Version:
The Brady Web SDK allows users to communicate with Brady Printers using a web browser.
2 lines • 589 kB
JavaScript
/*! For license information please see bundle.js.LICENSE.txt */
var e,t,n,r={},a={};function i(e){var t=a[e];if(void 0!==t)return t.exports;var n=a[e]={exports:{}};return r[e](n,n.exports,i),n.exports}i.m=r,i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce((t,n)=>(i.f[n](e,t),t),[])),i.u=e=>e+".bundle.js",i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},e={792:0},t=t=>{var n,r,{__webpack_esm_ids__:a,__webpack_esm_modules__:s,__webpack_esm_runtime__:o}=t,l=0;for(n in s)i.o(s,n)&&(i.m[n]=s[n]);for(o&&o(i);l<a.length;l++)r=a[l],i.o(e,r)&&e[r]&&e[r][0](),e[a[l]]=0},i.f.j=(n,r)=>{var a=i.o(e,n)?e[n]:void 0;if(0!==a)if(a)r.push(a[1]);else{var s=import("./"+i.u(n)).then(t,t=>{throw 0!==e[n]&&(e[n]=void 0),t});s=Promise.race([s,new Promise(t=>a=e[n]=[t])]),r.push(a[1]=s)}},function(e){e.Landscape="Landscape",e.Portrait="Portrait"}(n||(n={}));class s{constructor(e,t,n,r,a,i,s,o){this.partNames=e,this.mediaIsDieCut=t,this.mediaIsSelfLam=r,this.mediaIsPermaSleeve=n,this.width=a/100,this.height=i/100,this.leftOffset=s/100,this.verticalOffset=o/100}}class o{constructor(e,t){this.zoneDimensions=[],this.yNumber=e,this.partInfo=t,this.partNames=this.partInfo.hasOwnProperty("RelatedParts")?this.findPartName():t.Name,this.mediaIsDieCut="true"!==this.partInfo.IsContinuous.toString().toLowerCase(),this.orientation="Landscape"===this.partInfo.OutputOrientation?n.Landscape:n.Portrait,this.findZoneDimensions(),this.width="string"==typeof this.partInfo.Width?parseFloat(this.partInfo.Width):this.partInfo.Width,this.height="string"==typeof this.partInfo.Height?parseFloat(this.partInfo.Height):this.partInfo.Height;const r=Object.values(this.zoneDimensions).filter(e=>"Printable"===e.Type),a=r.length>0?r[0]:null;this.zoneDimensions.hasOwnProperty("offsetX")?this.leftOffset=parseFloat(a.OffsetX):this.leftOffset=0,this.partInfo.hasOwnProperty("MarginLeft")?this.marginLeft=this.partInfo.MarginLeft:this.marginLeft=0,this.zoneDimensions.hasOwnProperty("offsetY")?this.verticalOffset=parseFloat(a.OffsetY):this.verticalOffset=0,this.partInfo.hasOwnProperty("MarginTop")?this.marginTop=this.partInfo.MarginTop:this.marginTop=0,this.partInfo.hasOwnProperty("rotation")?this.rotation=Number(this.partInfo.rotation):this.rotation=0}findZoneDimensions(){if(this.partInfo.Zones){const e=this.partInfo.Zones;for(const t in e)if("Printable"===e[t].Type){const n={ID:"",Name:"",Type:e[t].Type,Shape:"",LabelSide:"",Width:e[t].Width,Height:e[t].Height,OffsetX:e[t].OffsetX,OffsetY:e[t].OffsetY,CornerRadius:"",UserEditable:""};null!=n&&this.zoneDimensions.push(n);break}}}findPartName(){if("RelatedParts"in this.partInfo)for(const e in this.partInfo.RelatedParts)if(this.partInfo.RelatedParts[e].YNumber===this.yNumber)return this.partInfo.RelatedParts[e].PartName}}class l{constructor(){this.potentialParts=[],this.invalidMediaPart=null,this.partInfoList=[],this.partInfoList.push(new s([new u("4918675","M21-11-427")],!0,!1,!0,37,50,9,0)),this.partInfoList.push(new s([new u("4918682","M21-11-499"),new u("4918687","M21-7-423")],!0,!1,!1,50,75,7,0)),this.partInfoList.push(new s([new u("4900592","M21-125-C-342"),new u("4900578","M21-125-C-342-YL")],!1,!0,!1,21,0,0,0)),this.partInfoList.push(new s([new u("4900577","M21-1250-427")],!1,!1,!0,50,0,0,0)),this.partInfoList.push(new s([new u("5027106","M21-131-461"),new u("4918683","M21-131-499"),new u("4918688","M21-17-423")],!0,!1,!1,50,100,7,0)),this.partInfoList.push(new s([new u("4918676","M21-18-427")],!0,!1,!0,37,100,9,0)),this.partInfoList.push(new s([new u("4918685","M21-136-499"),new u("4918690","M21-30-423")],!0,!1,!1,75,150,0,0)),this.partInfoList.push(new s([new u("4918691","M21-137-423"),new u("4918686","M21-137-499")],!0,!1,!1,75,200,0,0)),this.partInfoList.push(new s([new u("4900579","M21-1500-427")],!1,!1,!0,50,0,23,0)),this.partInfoList.push(new s([new u("4918689","M21-18-423"),new u("4918684","M21-18-499")],!0,!1,!1,75,100,0,0)),this.partInfoList.push(new s([new u("4900580","M21-187-C-342"),new u("4900581","M21-187-C-342-YL")],!1,!0,!1,31,0,0,0)),this.partInfoList.push(new s([new u("4857738","M21-250-414"),new u("4900602","M21-250-423"),new u("4900603","M21-250-430"),new u("4900604","M21-250-430-WT-CL"),new u("4900605","M21-250-595-WT"),new u("4900606","M21-250-595-YL")],!1,!1,!1,25,0,0,0)),this.partInfoList.push(new s([new u("4900607","M21-250-C-342"),new u("4900608","M21-250-C-342-YL")],!1,!0,!1,41,0,0,0)),this.partInfoList.push(new s([new u("4900609","M21-375-423"),new u("4900610","M21-375-430"),new u("4900611","M21-375-430-WT-CL"),new u("4900612","M21-375-461"),new u("4900613","M21-375-488"),new u("4900614","M21-375-499"),new u("4900616","M21-375-595-BK"),new u("4900617","M21-375-595-BL"),new u("4900618","M21-375-595-BR"),new u("4900619","M21-375-595-GN"),new u("4900620","M21-375-595-GY"),new u("4900621","M21-375-595-OR"),new u("4900622","M21-375-595-PL"),new u("4900623","M21-375-595-RD"),new u("4900624","M21-375-595-WT"),new u("4900625","M21-375-595-YL"),new u("4900626","M21-375-7425")],!1,!1,!1,37,0,8,0)),this.partInfoList.push(new s([new u("4900615","M21-375-499-TB")],!1,!1,!1,37,0,8,0)),this.partInfoList.push(new s([new u("4900627","M21-375-C-342"),new u("4900628","M21-375-C-342-YL")],!1,!0,!1,60,0,0,0)),this.partInfoList.push(new s([new u("4939593","M21-500-403"),new u("4857739","M21-500-414"),new u("4900629","M21-500-423"),new u("4900630","M21-500-430"),new u("4900631","M21-500-430-WT-CL"),new u("4900632","M21-500-461"),new u("4900633","M21-500-488"),new u("4900634","M21-500-499"),new u("4939571","M21-500-581"),new u("4900636","M21-500-595-BK"),new u("4900637","M21-500-595-BL"),new u("4900638","M21-500-595-BR"),new u("4900639","M21-500-595-GN"),new u("4900640","M21-500-595-GY"),new u("4900641","M21-500-595-OR"),new u("4900642","M21-500-595-PL"),new u("4900643","M21-500-595-RD"),new u("4900644","M21-500-595-WT"),new u("4900645","M21-500-595-YL"),new u("4900646","M21-500-7425")],!1,!1,!1,50,0,9,0)),this.partInfoList.push(new s([new u("4900635","M21-500-499-TB")],!1,!1,!1,50,0,9,0)),this.partInfoList.push(new s([new u("4900654","M21-750-499"),new u("4900647","M21-750-403"),new u("4857740","M21-750-414"),new u("4900648","M21-750-423"),new u("4900650","M21-750-430"),new u("4900651","M21-750-430-WT-CL"),new u("4900652","M21-750-461"),new u("4900653","M21-750-488"),new u("4939592","M21-750-581"),new u("4900655","M21-750-595-BK"),new u("4900656","M21-750-595-BL"),new u("4900657","M21-750-595-BR"),new u("4900658","M21-750-595-GN"),new u("4900659","M21-750-595-GY"),new u("4900660","M21-750-595-OR"),new u("4900661","M21-750-595-PL"),new u("4900662","M21-750-595-RD"),new u("4900663","M21-750-595-WT"),new u("4900664","M21-750-595-YL"),new u("4900665","M21-750-7425")],!1,!1,!1,75,0,0,0)),this.partInfoList.push(new s([new u("4900649","M21-750-427")],!1,!1,!0,37,0,37,0)),this.partInfoList.push(new s([new u("4918678","M21-89-427")],!0,!1,!1,50,50,7,0)),this.partInfoList.push(new s([new u("4918680","M21R0-206-427")],!0,!1,!1,50,70,7,70)),this.partInfoList.push(new s([new u("4918681","M21RO-207-427")],!0,!1,!1,50,110,7,110)),this.partInfoList.push(new s([new u("4900654","M21-750-499")],!1,!1,!1,75,0,9,0)),this.potentialParts.push(this.partInfoList)}}class u{constructor(e,t){this.yNumber=e,this.partName=t}}class d{constructor(){this.propertyGetResponses=[]}static buildJsonPiclPacketFromString(e){const t=(new TextEncoder).encode(e),n=t.length,r=new Uint8Array([255&n,n>>>8&255,n>>>16&255,n>>>24&255]),a=new Uint8Array([150,194,247,74,29,33,66,50,134,120,32,239,233,123,194,211]),i=new Uint8Array(a.length+r.length+n);return i.set(a,0),i.set(r,a.length),i.set(t,a.length+r.length),i}static unpackJsonPiclPacket(e){const t='{"PropertyGetResponses":['+new TextDecoder("utf-8").decode(e).split(":[")[1],n=JSON.parse(t),r=new d,a=[];for(var i=0;i<n.PropertyGetResponses.length;i++){var s,o,l,u=n.PropertyGetResponses[i];for(var p in u)"ID"==p?s=u[p]:"Value"==p?o=u[p]:"Status"==p&&(l=u[p]);a.push(new f(s,o,l))}return r.propertyGetResponses=a,r}}class f{constructor(e,t,n){this.id=e,this.value=t,this.status=n}}class p{constructor(){this.apolloChipIdMappingList=this.getApolloChipIdMappingList()}getApolloChipIdMappingList(){var e=[];try{const s=JSON.parse('{"ApolloMapping":[{"UniqueId":4,"YNumber":4900576,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":75,"YNumber":4918675,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":80,"YNumber":4918682,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":10,"YNumber":4900592,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":6,"YNumber":4900578,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":5,"YNumber":4900577,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":93,"YNumber":5027106,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":81,"YNumber":4918683,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":76,"YNumber":4918676,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":83,"YNumber":4918685,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":89,"YNumber":4918691,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":84,"YNumber":4918686,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":7,"YNumber":4900579,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":86,"YNumber":4918688,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":87,"YNumber":4918689,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":82,"YNumber":4918684,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":8,"YNumber":4900580,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":9,"YNumber":4900581,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":1,"YNumber":4857738,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":11,"YNumber":4900602,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":12,"YNumber":4900603,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":13,"YNumber":4900604,"RibbonColorTypeId":"00000000-0000-0000-0000-000000000000"},{"UniqueId":14,"YNumber":4900605,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":15,"YNumber":4900606,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":16,"YNumber":4900607,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":17,"YNumber":4900608,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":88,"YNumber":4918690,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":18,"YNumber":4900609,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":19,"YNumber":4900610,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":20,"YNumber":4900611,"RibbonColorTypeId":"00000000-0000-0000-0000-000000000000"},{"UniqueId":21,"YNumber":4900612,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":22,"YNumber":4900613,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":23,"YNumber":4900614,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":24,"YNumber":4900615,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":25,"YNumber":4900616,"RibbonColorTypeId":"00000000-0000-0000-0000-000000000000"},{"UniqueId":26,"YNumber":4900617,"RibbonColorTypeId":"00000000-0000-0000-0000-000000000000"},{"UniqueId":27,"YNumber":4900618,"RibbonColorTypeId":"00000000-0000-0000-0000-000000000000"},{"UniqueId":28,"YNumber":4900619,"RibbonColorTypeId":"00000000-0000-0000-0000-000000000000"},{"UniqueId":29,"YNumber":4900620,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":30,"YNumber":4900621,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":31,"YNumber":4900622,"RibbonColorTypeId":"00000000-0000-0000-0000-000000000000"},{"UniqueId":32,"YNumber":4900623,"RibbonColorTypeId":"00000000-0000-0000-0000-000000000000"},{"UniqueId":33,"YNumber":4900624,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":34,"YNumber":4900625,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":35,"YNumber":4900626,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":36,"YNumber":4900627,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":37,"YNumber":4900628,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":92,"YNumber":4939593,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":2,"YNumber":4857739,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":38,"YNumber":4900629,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":39,"YNumber":4900630,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":40,"YNumber":4900631,"RibbonColorTypeId":"00000000-0000-0000-0000-000000000000"},{"UniqueId":41,"YNumber":4900632,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":42,"YNumber":4900633,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":43,"YNumber":4900634,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":44,"YNumber":4900635,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":90,"YNumber":4939571,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":45,"YNumber":4900636,"RibbonColorTypeId":"00000000-0000-0000-0000-000000000000"},{"UniqueId":46,"YNumber":4900637,"RibbonColorTypeId":"00000000-0000-0000-0000-000000000000"},{"UniqueId":47,"YNumber":4900638,"RibbonColorTypeId":"00000000-0000-0000-0000-000000000000"},{"UniqueId":48,"YNumber":4900639,"RibbonColorTypeId":"00000000-0000-0000-0000-000000000000"},{"UniqueId":49,"YNumber":4900640,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":50,"YNumber":4900641,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":51,"YNumber":4900642,"RibbonColorTypeId":"00000000-0000-0000-0000-000000000000"},{"UniqueId":52,"YNumber":4900643,"RibbonColorTypeId":"00000000-0000-0000-0000-000000000000"},{"UniqueId":53,"YNumber":4900644,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":54,"YNumber":4900645,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":55,"YNumber":4900646,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":85,"YNumber":4918687,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":56,"YNumber":4900647,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":3,"YNumber":4857740,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":57,"YNumber":4900648,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":58,"YNumber":4900649,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":59,"YNumber":4900650,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":60,"YNumber":4900651,"RibbonColorTypeId":"00000000-0000-0000-0000-000000000000"},{"UniqueId":61,"YNumber":4900652,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":62,"YNumber":4900653,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":91,"YNumber":4939592,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":64,"YNumber":4900655,"RibbonColorTypeId":"00000000-0000-0000-0000-000000000000"},{"UniqueId":65,"YNumber":4900656,"RibbonColorTypeId":"00000000-0000-0000-0000-000000000000"},{"UniqueId":66,"YNumber":4900657,"RibbonColorTypeId":"00000000-0000-0000-0000-000000000000"},{"UniqueId":67,"YNumber":4900658,"RibbonColorTypeId":"00000000-0000-0000-0000-000000000000"},{"UniqueId":68,"YNumber":4900659,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":69,"YNumber":4900660,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":70,"YNumber":4900661,"RibbonColorTypeId":"00000000-0000-0000-0000-000000000000"},{"UniqueId":71,"YNumber":4900662,"RibbonColorTypeId":"00000000-0000-0000-0000-000000000000"},{"UniqueId":72,"YNumber":4900663,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":73,"YNumber":4900664,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":77,"YNumber":4918678,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":78,"YNumber":4918680,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":79,"YNumber":4918681,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":74,"YNumber":4926952,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":94,"YNumber":4900665,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":63,"YNumber":4900654,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"},{"UniqueId":95,"YNumber":4900654,"RibbonColorTypeId":"167b90d0-cd37-4b32-a8f3-73a41ff9e09e"}]}');for(var t=0;t<s.ApolloMapping.length;t++){const o=s.ApolloMapping[t];var n,r,a;for(var i in o)"UniqueId"==i?n=o[i]:"YNumber"==i?r=o[i]:"RibbonColorTypeId"==i&&(a=o[i]);const l=new b(n,r,a);e.push(l)}}catch(e){console.log(e)}return e}}class b{constructor(e,t,n){this.uniqueId=e,this.yNumber=t,this.ribbonColorTypeId=n}}var h=function(e,t,n,r){return new(n||(n=Promise))(function(a,i){function s(e){try{l(r.next(e))}catch(e){i(e)}}function o(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,o)}l((r=r.apply(e,t||[])).next())})};class P{constructor(e){this.buffer=new Uint8Array(0),this.position=0,this.reader=e.getReader()}ensureBuffer(e){return h(this,void 0,void 0,function*(){for(;this.buffer.length-this.position<e;){const{done:e,value:t}=yield this.reader.read();if(e)return!1;const n=this.buffer.subarray(this.position),r=new Uint8Array(n.length+t.length);r.set(n,0),r.set(t,n.length),this.buffer=r,this.position=0}return!0})}readUnsignedByte(){return h(this,void 0,void 0,function*(){if(!(yield this.ensureBuffer(1)))throw new Error("Stream ended unexpectedly while trying to read a byte.");return this.buffer[this.position++]})}readBytes(e){return h(this,void 0,void 0,function*(){if(!(yield this.ensureBuffer(e)))throw new Error(`Stream ended unexpectedly. Tried to read ${e} bytes, but not enough were available.`);const t=this.buffer.subarray(this.position,this.position+e);return this.position+=e,t})}}var c=function(e,t,n,r){return new(n||(n=Promise))(function(a,i){function s(e){try{l(r.next(e))}catch(e){i(e)}}function o(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,o)}l((r=r.apply(e,t||[])).next())})};class m{static readString(e){return c(this,void 0,void 0,function*(){let t,n=0,r=0;do{t=yield e.readUnsignedByte(),n|=(127&t)<<r,r+=7}while(128&t);if(0===n)return"";const a=yield e.readBytes(n);return new TextDecoder("utf-8").decode(a)})}static readInt(e){return c(this,void 0,void 0,function*(){const t=yield e.readBytes(4);return new DataView(t.buffer,t.byteOffset,t.byteLength).getInt32(0,!0)})}static readShort(e){return c(this,void 0,void 0,function*(){const t=yield e.readBytes(2);return new DataView(t.buffer,t.byteOffset,t.byteLength).getInt16(0,!0)})}static readGuid(e){return c(this,void 0,void 0,function*(){const t=yield e.readBytes(16),n=new Uint8Array(16);n[0]=t[3],n[1]=t[2],n[2]=t[1],n[3]=t[0],n[4]=t[5],n[5]=t[4],n[6]=t[7],n[7]=t[6],n.set(t.subarray(8,16),8);const r=e=>Array.from(e).map(e=>e.toString(16).padStart(2,"0")).join("");return(r(n.subarray(0,4))+"-"+r(n.subarray(4,6))+"-"+r(n.subarray(6,8))+"-"+r(n.subarray(8,10))+"-"+r(n.subarray(10,16))).toLowerCase()})}}var C,I=function(e,t,n,r){return new(n||(n=Promise))(function(a,i){function s(e){try{l(r.next(e))}catch(e){i(e)}}function o(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,o)}l((r=r.apply(e,t||[])).next())})};class y{constructor(){this.tapeColors=new Map,this.ribbonColors=new Map,this.printerTypeTapeColors=new Map,this.printerTypeRibbonColors=new Map,this.partsDB=this.getDefaultPartsDatabaseString(),this.printerTypes=[],this.families=[],this.parts=[]}override(e){return I(this,void 0,void 0,function*(){try{const n=e.stream(),[r,a]=n.tee();var t=new P(r);yield m.readString(t),"PD-1"==(yield m.readString(t))?yield this.deserializeBinPartsDatabase(t):(this.partsDB=yield function(e){return I(this,arguments,void 0,function*(e,t="utf-8"){const n=e.getReader(),r=new TextDecoder(t);let a="";for(;;){const{done:e,value:t}=yield n.read();if(e)break;a+=r.decode(t,{stream:!0})}return a+=r.decode(),a})}(a),this.deserializeXmlPartsDatabase())}catch(e){console.log(e)}})}deserializeBinPartsDatabase(e){return I(this,void 0,void 0,function*(){let t=yield m.readInt(e);for(let n=0;n<t;n++){const t=yield this.readOptimizedPartsDbColors(e);this.tapeColors.set(t[0],t[1])}let n=yield m.readInt(e);for(let t=0;t<n;t++){const t=yield this.readOptimizedPartsDbColors(e);this.ribbonColors.set(t[0],t[1])}let r=yield m.readInt(e);for(let t=0;t<r;t++){if("LFI-1"!==(yield m.readString(e)))return;const t={UnknownFamilyId:"",ContinuousPartFamilyId:"",DieCutPartFamilyId:"",TerminalBlockPartFamilyId:"",TwoSidedSleevePartFamilyId:"",OneSidedSleevePartFamilyId:"",Id:yield m.readGuid(e),Name:yield m.readString(e)};this.families.push(t)}let a=yield m.readInt(e);for(let t=0;t<a;t++){const t=new Map,n=new Map;if("PTI-1"!==(yield m.readString(e)))return;const r={Id:yield m.readGuid(e),Name:yield m.readString(e),CanPrintMonochrome:!1,CanPrintSpotColor:!1,CanPrintFullColor:!1,CanDitherToMono:!1,CanTransparentBlt:!1,HasCutter:!1,IsPosterPrinter:!1,PsiFromVglDriver:!1,AppControlsDriver:!1,IsTht:!1,TapeColors:new Map,RibbonColors:new Map},a=yield m.readInt(e);for(let t=0;t<a;t++){const t=yield this.readOptimizedPartsDbColors(e);n.set(t[0],t[1])}r.RibbonColors=n;const i=yield m.readInt(e);for(let n=0;n<i;n++){const n=yield this.readOptimizedPartsDbColors(e);t.set(n[0],n[1])}r.TapeColors=t,this.printerTypes.push(r)}const i=yield m.readInt(e);for(let t=0;t<i;t++){const t=yield this.readOptimizedPartsDbRecords(e,this.tapeColors,this.printerTypes,this.families);this.parts.push(t)}})}readOptimizedPartsDbColors(e){return I(this,void 0,void 0,function*(){yield m.readString(e);const t=yield m.readGuid(e),n=255<<24|(yield e.readUnsignedByte())<<16|(yield e.readUnsignedByte())<<8|(yield e.readUnsignedByte()),r=yield m.readShort(e);if(r>0)for(let t=0;t<r;t++)yield m.readString(e),yield m.readString(e);return[t,n]})}readOptimizedPartsDbRecords(e,t,n,r){return I(this,void 0,void 0,function*(){if("LPI-1"!==(yield m.readString(e)))return;const t=yield m.readGuid(e),a=yield m.readString(e);let i="";if(!((yield e.readUnsignedByte())>0)){const t=yield m.readString(e),n=Number(t);i=isNaN(n)?t:n}const s=yield m.readShort(e);let o=null;if(s>0){o={};for(let t=0;t<s;t++){const n=yield m.readString(e),r=yield m.readString(e),a=(yield m.readShort(e),yield m.readShort(e));if(0!=a)for(let t=0;t<a;t++)yield m.readGuid(e),yield m.readShort(e);o[t.toString()]={PartName:n,YNumber:r}}}const l=yield m.readShort(e),u=[];for(let t=0;t<l;t++){const t=yield m.readShort(e);t>=0&&t<n.length&&u.push(n[t])}const d=yield m.readShort(e),f=d>=0&&d<r.length?r[d]:null,p=(yield e.readUnsignedByte())>0?yield m.readString(e):"",b=yield m.readInt(e),h=yield m.readInt(e),P=yield m.readInt(e),c=yield m.readInt(e),C=yield m.readInt(e),I=yield m.readInt(e),y=yield m.readInt(e),S=yield m.readInt(e),g=yield m.readInt(e),T=yield m.readInt(e),D=yield m.readInt(e),N=yield m.readInt(e),R=yield m.readInt(e);let M="";M=0===(yield e.readUnsignedByte())?"Portrait":"Landscape";const B=(yield e.readUnsignedByte())>0,O=(yield e.readUnsignedByte())>0,A=(yield e.readUnsignedByte())>0,L=(yield e.readUnsignedByte())>0;let E="";switch(yield e.readUnsignedByte()){case 0:E="None";break;case 1:E="Continuous";break;case 2:E="Notch";break;case 3:E="Gap";break;default:E="Unknown"}const F=(yield e.readUnsignedByte())>0,v=(yield e.readUnsignedByte())>0;let w="";switch(yield e.readUnsignedByte()){case 0:w="Monochrome";break;case 1:w="SpotColor";break;case 2:w="FullColor";break;case 3:w="NotSet";break;default:w="Unknown"}const W=yield m.readShort(e);if(W>0)for(let t=0;t<W;t++)if("LZI-01"==(yield m.readString(e))){const t=yield m.readGuid(e);let n="";switch(yield e.readUnsignedByte()){case 0:n="Printable";break;case 1:n="Nonprintable";break;default:n="Unknown"}let r="";switch(yield e.readUnsignedByte()){case 0:r="Rectangle";break;case 1:r="Circle";break;case 2:r="RoundedRectangle";break;default:r="Unknown"}const a=(yield m.readInt(e)).toString(),i=yield m.readInt(e),s=yield m.readInt(e),o=yield m.readInt(e),l=yield m.readInt(e),u=yield m.readInt(e),d=(yield e.readUnsignedByte())>0?"true":"false",f={ID:t,Name:yield m.readString(e),Type:n,Shape:r,LabelSide:a,Width:i.toString(),Height:s.toString(),OffsetX:o.toString(),OffsetY:l.toString(),CornerRadius:u.toString(),UserEditable:d};null.push(f)}const H=yield m.readShort(e),U=[];for(let t=0;t<H;t++){const t=yield m.readString(e),n=yield m.readInt(e),r=yield m.readInt(e),a=yield m.readInt(e),i=yield m.readInt(e),s=yield m.readInt(e),o=yield m.readInt(e);let l="";switch(yield e.readUnsignedByte()){case 0:l="None";break;case 1:l="Continuous";break;case 2:l="Notch";break;case 3:l="Gap";break;default:l="Unknown"}U.push({Driver:t,Width:n,Height:r,MarginLeft:a,MarginTop:i,GapVertical:s,GapHorizontal:o,SensorType:l})}const G=yield m.readShort(e),Y=[];for(let t=0;t<G;t++)Y.push(yield m.readString(e));return{Id:t,Name:a,PrinterTypes:u,FamilyInfo:f,ColumnsPerSheet:S||1,RowsPerSheet:g||1,DefaultYNumber:i,Description:p,GapHorizontal:D,GapVertical:T,Width:b,Height:h,IsContinuous:F,OutputOrientation:M,IsCustom:O,IsDoubleSided:L,IsFactoryDefined:B,IsPreprinted:A,IsSlitSleeve:v,MarginLeft:P,MarginTop:c,Rotation:N,MaxZoneRotation:R,RelatedParts:o,WebWidth:C,UnprintableLeft:I,UnprintableTop:y,LinerWidth:0,SensorType:E,ColorMode:w,Zones:null,PrinterAdjustments:U,Tags:Y,RibbonColor:null}})}deserializeXmlPartsDatabase(){try{const e=(new DOMParser).parseFromString(this.partsDB,"text/xml").getElementsByTagName("Parts")[0];this.parts=Array.from(e.children).map(e=>{const t={Id:"",Name:"",PrinterTypes:[],FamilyInfo:null,ColumnsPerSheet:1,RowsPerSheet:1,DefaultYNumber:"",Description:"",GapHorizontal:0,GapVertical:0,Width:1e4,Height:1e4,IsContinuous:!1,OutputOrientation:"",IsCustom:!1,IsDoubleSided:!1,IsFactoryDefined:!0,IsPreprinted:!1,IsSlitSleeve:!1,MarginLeft:0,MarginTop:0,Rotation:0,MaxZoneRotation:0,RelatedParts:null,WebWidth:0,UnprintableLeft:0,UnprintableTop:0,LinerWidth:0,SensorType:"",ColorMode:"",Zones:null,PrinterAdjustments:[],Tags:[],RibbonColor:0},n=[];return Array.from(e.children).forEach(e=>{if("RelatedParts"===e.nodeName){let n=0;const r={};Array.from(e.children).forEach(e=>{const t={PartName:e.getAttribute("PartName")||"",YNumber:e.getAttribute("YNumber")||""};r[n.toString()]=t,n++}),t[e.nodeName]=r}else if("Zone"===e.nodeName){let r="";Array.from(e.children).forEach(e=>{"Name"===e.nodeName&&(r=e.textContent||"")});const a={ID:e.getAttribute("ID")||"",Name:r,Type:e.getAttribute("Type")||"",Shape:e.getAttribute("Shape")||"",LabelSide:e.getAttribute("LabelSide")||"",Width:e.getAttribute("Width")||"",Height:e.getAttribute("Height")||"",OffsetX:e.getAttribute("OffsetX")||"",OffsetY:e.getAttribute("OffsetY")||"",CornerRadius:e.getAttribute("CornerRadius")||"",UserEditable:e.getAttribute("UserEditable")||""};n.push(a),t.Zones=n}else t[e.nodeName]=e.textContent}),t})}catch(e){console.error("Error parsing parts database:",e)}}getDefaultPartsDatabaseString(){return'<?xml version="1.0" encoding="UTF-8"?>\n <PartsDatabase FileSchemaVersion="1.0">\n <PrinterTypes>\n <PrinterType ID="{66df6eb1-934c-4424-b374-1cb5c02063a5}">\n <Name>M211</Name>\n <Monochrome>false</Monochrome>\n <SpotColor>false</SpotColor>\n <FullColor>false</FullColor>\n <DitherToMono>false</DitherToMono>\n <TransparentBlt>false</TransparentBlt>\n <Cutter>false</Cutter>\n <PosterPrinter>false</PosterPrinter>\n <PsiFromVglDriver>false</PsiFromVglDriver>\n <AppControlsDriver>false</AppControlsDriver>\n <THT>false</THT>\n <PrinterRibbonColors />\n <PrinterTapeColors />\n </PrinterType>\n <PrinterType ID="{f2056529-51b4-458a-b18f-9950d28e7ae8}">\n <Name>M511</Name>\n <Monochrome>true</Monochrome>\n <SpotColor>false</SpotColor>\n <FullColor>false</FullColor>\n <DitherToMono>false</DitherToMono>\n <TransparentBlt>false</TransparentBlt>\n <Cutter>false</Cutter>\n <PosterPrinter>false</PosterPrinter>\n <PsiFromVglDriver>false</PsiFromVglDriver>\n <AppControlsDriver>false</AppControlsDriver>\n <THT>false</THT>\n <PrinterRibbonColors />\n <PrinterTapeColors />\n </PrinterType>\n </PrinterTypes>\n <Families>\n <PartFamily ID="{c2f8588e-506d-4a23-ab17-1770051005f9}">\n <Name>Terminal Block</Name>\n </PartFamily>\n <PartFamily ID="{fe03d5b5-d964-4848-8820-36dd783d5370}">\n <Name>Two Sided Sleeve</Name>\n </PartFamily>\n <PartFamily ID="{6419929a-eae0-4e53-b4e8-4728a304045c}">\n <Name>One Sided Sleeve</Name>\n </PartFamily>\n <PartFamily ID="{40d9fa4d-337e-4fe5-8b09-d60bb38c3311}">\n <Name>Continuous</Name>\n </PartFamily>\n <PartFamily ID="{18b0dd57-76c8-468f-baef-edc3256aaf2e}">\n <Name>Die-Cut</Name>\n </PartFamily>\n <PartFamily ID="{dab39f30-9685-4f2d-a2b8-4e7bf76a9a9b}">\n <Name>Rigid</Name>\n </PartFamily>\n </Families>\n <Parts>\n <Part ID="{91116311-0611-488e-b0b9-e3a743583d54}">\n <Name>M21-500</Name>\n <DefaultYNumber>\n </DefaultYNumber>\n <RelatedParts>\n <RelatedPart PartName="M21-500-403" YNumber="4939593" />\n <RelatedPart PartName="M21-500-414" YNumber="4857739" />\n <RelatedPart PartName="M21-500-423" YNumber="4900629" />\n <RelatedPart PartName="M21-500-430" YNumber="4900630" />\n <RelatedPart PartName="M21-500-430-WT-CL" YNumber="4900631" Color="{e48bbc14-0cc4-4b0f-a201-b255a2656449}" />\n <RelatedPart PartName="M21-500-461" YNumber="4900632" />\n <RelatedPart PartName="M21-500-488" YNumber="4900633" />\n <RelatedPart PartName="M21-500-499" YNumber="4900634" />\n <RelatedPart PartName="M21-500-581-WT" YNumber="4939571" />\n <RelatedPart PartName="M21-500-595-BK" YNumber="4900636" Color="{167b90d0-cd37-4b32-a8f3-73a41ff9e09e}" />\n <RelatedPart PartName="M21-500-595-BL" YNumber="4900637" Color="{2d72aced-f608-404e-97de-cff5121af135}" />\n <RelatedPart PartName="M21-500-595-BR" YNumber="4900638" Color="{648e129c-71a1-46b5-b8f4-a96e42cd8db1}" />\n <RelatedPart PartName="M21-500-595-GN" YNumber="4900639" Color="{efd92612-00dc-4c04-a8bc-aae43db50aab}" />\n <RelatedPart PartName="M21-500-595-GY" YNumber="4900640" Color="{fae5f7ce-935b-4b2d-9293-652e1d5e8aed}" />\n <RelatedPart PartName="M21-500-595-OR" YNumber="4900641" Color="{460dfda1-ff09-412a-8fdc-85f3ae4bfd0f}" />\n <RelatedPart PartName="M21-500-595-PL" YNumber="4900642" Color="{30dc552b-8784-4aa8-b089-8f9a7f57808e}" />\n <RelatedPart PartName="M21-500-595-RD" YNumber="4900643" Color="{420418dc-d97d-4696-a643-ea5db7990ebd}" />\n <RelatedPart PartName="M21-500-595-WT" YNumber="4900644" />\n <RelatedPart PartName="M21-500-595-YL" YNumber="4900645" Color="{8791ea2b-733a-43f6-b837-7992a7e10dfb}" />\n <RelatedPart PartName="M21-500-7425" YNumber="4900646" />\n </RelatedParts>\n <PrinterType>{66df6eb1-934c-4424-b374-1cb5c02063a5}</PrinterType>\n <FamilyInfo>{40d9fa4d-337e-4fe5-8b09-d60bb38c3311}</FamilyInfo>\n <Description />\n <Width>5000</Width>\n <Height>0</Height>\n <MarginLeft>0</MarginLeft>\n <MarginTop>0</MarginTop>\n <WebWidth>5000</WebWidth>\n <UnPrintableLeft>0</UnPrintableLeft>\n <UnPrintableTop>0</UnPrintableTop>\n <ColumnsPerSheet>1</ColumnsPerSheet>\n <RowsPerSheet>1</RowsPerSheet>\n <GapVertical>0</GapVertical>\n <GapHorizontal>0</GapHorizontal>\n <Rotation>0</Rotation>\n <OutputOrientation>Landscape</OutputOrientation>\n <IsFactoryDefined>true</IsFactoryDefined>\n <IsCustom>false</IsCustom>\n <IsPrePrinted>false</IsPrePrinted>\n <IsDoubleSided>false</IsDoubleSided>\n <SensorType>Continuous</SensorType>\n <IsContinuous>true</IsContinuous>\n <IsSlitSleeve>false</IsSlitSleeve>\n </Part>\n <Part ID="{cce88c6b-e2cd-49ae-8e7d-02a7dc0114b8}">\n <Name>M21-500-499-TB</Name>\n <DefaultYNumber>\n </DefaultYNumber>\n <RelatedParts>\n <RelatedPart PartName="M21-500-499-TB" YNumber="4900635" />\n </RelatedParts>\n <PrinterType>{66df6eb1-934c-4424-b374-1cb5c02063a5}</PrinterType>\n <FamilyInfo>{40d9fa4d-337e-4fe5-8b09-d60bb38c3311}</FamilyInfo>\n <Description />\n <Width>5000</Width>\n <Height>0</Height>\n <MarginLeft>0</MarginLeft>\n <MarginTop>0</MarginTop>\n <WebWidth>5000</WebWidth>\n <UnPrintableLeft>0</UnPrintableLeft>\n <UnPrintableTop>0</UnPrintableTop>\n <ColumnsPerSheet>1</ColumnsPerSheet>\n <RowsPerSheet>1</RowsPerSheet>\n <GapVertical>0</GapVertical>\n <GapHorizontal>0</GapHorizontal>\n <Rotation>0</Rotation>\n <OutputOrientation>Landscape</OutputOrientation>\n <IsFactoryDefined>true</IsFactoryDefined>\n <IsCustom>false</IsCustom>\n <IsPrePrinted>false</IsPrePrinted>\n <IsDoubleSided>false</IsDoubleSided>\n <SensorType>Continuous</SensorType>\n <IsContinuous>true</IsContinuous>\n <IsSlitSleeve>false</IsSlitSleeve>\n </Part>\n <Part ID="{0ec6c62f-4be0-4945-89f7-b113ea2475a0}">\n <Name>M21-375</Name>\n <DefaultYNumber>\n </DefaultYNumber>\n <RelatedParts>\n <RelatedPart PartName="M21-375-423" YNumber="4900609" />\n <RelatedPart PartName="M21-375-430" YNumber="4900610" />\n <RelatedPart PartName="M21-375-430-WT-CL" YNumber="4900611" Color="{e48bbc14-0cc4-4b0f-a201-b255a2656449}" />\n <RelatedPart PartName="M21-375-488" YNumber="4900613" />\n <RelatedPart PartName="M21-375-499" YNumber="4900614" />\n <RelatedPart PartName="M21-375-595-BK" YNumber="4900616" Color="{167b90d0-cd37-4b32-a8f3-73a41ff9e09e}" />\n <RelatedPart PartName="M21-375-595-BL" YNumber="4900617" Color="{2d72aced-f608-404e-97de-cff5121af135}" />\n <RelatedPart PartName="M21-375-595-BR" YNumber="4900618" Color="{648e129c-71a1-46b5-b8f4-a96e42cd8db1}" />\n <RelatedPart PartName="M21-375-595-GN" YNumber="4900619" Color="{efd92612-00dc-4c04-a8bc-aae43db50aab}" />\n <RelatedPart PartName="M21-375-595-GY" YNumber="4900620" Color="{fae5f7ce-935b-4b2d-9293-652e1d5e8aed}" />\n <RelatedPart PartName="M21-375-595-OR" YNumber="4900621" Color="{460dfda1-ff09-412a-8fdc-85f3ae4bfd0f}" />\n <RelatedPart PartName="M21-375-595-PL" YNumber="4900622" Color="{30dc552b-8784-4aa8-b089-8f9a7f57808e}" />\n <RelatedPart PartName="M21-375-595-RD" YNumber="4900623" Color="{420418dc-d97d-4696-a643-ea5db7990ebd}" />\n <RelatedPart PartName="M21-375-595-WT" YNumber="4900624" />\n <RelatedPart PartName="M21-375-595-YL" YNumber="4900625" Color="{8791ea2b-733a-43f6-b837-7992a7e10dfb}" />\n <RelatedPart PartName="M21-375-7425" YNumber="4900626" />\n </RelatedParts>\n <PrinterType>{66df6eb1-934c-4424-b374-1cb5c02063a5}</PrinterType>\n <FamilyInfo>{40d9fa4d-337e-4fe5-8b09-d60bb38c3311}</FamilyInfo>\n <Description />\n <Width>3750</Width>\n <Height>5000</Height>\n <MarginLeft>0</MarginLeft>\n <MarginTop>0</MarginTop>\n <WebWidth>3700</WebWidth>\n <UnPrintableLeft>0</UnPrintableLeft>\n <UnPrintableTop>0</UnPrintableTop>\n <ColumnsPerSheet>1</ColumnsPerSheet>\n <RowsPerSheet>1</RowsPerSheet>\n <GapVertical>0</GapVertical>\n <GapHorizontal>0</GapHorizontal>\n <Rotation>0</Rotation>\n <OutputOrientation>Landscape</OutputOrientation>\n <IsFactoryDefined>true</IsFactoryDefined>\n <IsCustom>false</IsCustom>\n <IsPrePrinted>false</IsPrePrinted>\n <IsDoubleSided>false</IsDoubleSided>\n <SensorType>Continuous</SensorType>\n <IsContinuous>true</IsContinuous>\n <IsSlitSleeve>false</IsSlitSleeve>\n </Part>\n <Part ID="{4d44a792-a2f0-4869-af39-fdf38475a2c2}">\n <Name>M21-375-499-TB</Name>\n <DefaultYNumber>\n </DefaultYNumber>\n <RelatedParts>\n <RelatedPart PartName="M21-375-499-TB" YNumber="4900615" />\n </RelatedParts>\n <PrinterType>{66df6eb1-934c-4424-b374-1cb5c02063a5}</PrinterType>\n <FamilyInfo>{c2f8588e-506d-4a23-ab17-1770051005f9}</FamilyInfo>\n <Description />\n <Width>3750</Width>\n <Height>5000</Height>\n <MarginLeft>0</MarginLeft>\n <MarginTop>0</MarginTop>\n <WebWidth>3750</WebWidth>\n <UnPrintableLeft>0</UnPrintableLeft>\n <UnPrintableTop>0</UnPrintableTop>\n <ColumnsPerSheet>1</ColumnsPerSheet>\n <RowsPerSheet>1</RowsPerSheet>\n <GapVertical>0</GapVertical>\n <GapHorizontal>0</GapHorizontal>\n <Rotation>0</Rotation>\n <OutputOrientation>Landscape</OutputOrientation>\n <IsFactoryDefined>true</IsFactoryDefined>\n <IsCustom>false</IsCustom>\n <IsPrePrinted>false</IsPrePrinted>\n <IsDoubleSided>false</IsDoubleSided>\n <SensorType>Continuous</SensorType>\n <IsContinuous>true</IsContinuous>\n <IsSlitSleeve>false</IsSlitSleeve>\n </Part>\n <Part ID="{066ff78f-9b79-4b10-b58d-0f98aded2573}">\n <Name>M21-750</Name>\n <DefaultYNumber>\n </DefaultYNumber>\n <RelatedParts>\n <RelatedPart PartName="M21-750-403" YNumber="4900647" />\n <RelatedPart PartName="M21-750-414" YNumber="4857740" />\n <RelatedPart PartName="M21-750-423" YNumber="4900648" />\n <RelatedPart PartName="M21-750-430" YNumber="4900650" />\n <RelatedPart PartName="M21-750-430-WT-CL" YNumber="4900651" Color="{e48bbc14-0cc4-4b0f-a201-b255a2656449}" />\n <RelatedPart PartName="M21-750-461" YNumber="4900652" />\n <RelatedPart PartName="M21-750-488" YNumber="4900653" />\n <RelatedPart PartName="M21-750-581-WT" YNumber="4939592" />\n <RelatedPart PartName="M21-750-595-BK" YNumber="4900655" Color="{167b90d0-cd37-4b32-a8f3-73a41ff9e09e}" />\n <RelatedPart PartName="M21-750-595-BL" YNumber="4900656" Color="{2d72aced-f608-404e-97de-cff5121af135}" />\n <RelatedPart PartName="M21-750-595-BR" YNumber="4900657" Color="{648e129c-71a1-46b5-b8f4-a96e42cd8db1}" />\n <RelatedPart PartName="M21-750-595-GN" YNumber="4900658" Color="{efd92612-00dc-4c04-a8bc-aae43db50aab}" />\n <RelatedPart PartName="M21-750-595-GY" YNumber="4900659" Color="{fae5f7ce-935b-4b2d-9293-652e1d5e8aed}" />\n <RelatedPart PartName="M21-750-595-OR" YNumber="4900660" Color="{460dfda1-ff09-412a-8fdc-85f3ae4bfd0f}" />\n <RelatedPart PartName="M21-750-595-PL" YNumber="4900661" Color="{30dc552b-8784-4aa8-b089-8f9a7f57808e}" />\n <RelatedPart PartName="M21-750-595-RD" YNumber="4900662" Color="{420418dc-d97d-4696-a643-ea5db7990ebd}" />\n <RelatedPart PartName="M21-750-595-WT" YNumber="4900663" />\n <RelatedPart PartName="M21-750-595-YL" YNumber="4900664" Color="{8791ea2b-733a-43f6-b837-7992a7e10dfb}" />\n <RelatedPart PartName="-M21-750-7425" YNumber="4926952" />\n <RelatedPart PartName="M21-750-7425" YNumber="4900665" />\n <RelatedPart PartName="M21-750-499" YNumber="4900654" />\n <RelatedPart PartName="-M21-750-499" YNumber="4926435" />\n <RelatedPart PartName="M21-750-599" YNumber="5175396" Color="{806ebb07-5c10-4c32-908e-349373838131}" />\n <RelatedPart PartName="M21-750-584" YNumber="5175390" />\n </RelatedParts>\n <PrinterType>{66df6eb1-934c-4424-b374-1cb5c02063a5}</PrinterType>\n <FamilyInfo>{40d9fa4d-337e-4fe5-8b09-d60bb38c3311}</FamilyInfo>\n <Description />\n <Width>7500</Width>\n <Height>0</Height>\n <MarginLeft>0</MarginLeft>\n <MarginTop>0</MarginTop>\n <WebWidth>7500</WebWidth>\n <UnPrintableLeft>0</UnPrintableLeft>\n <UnPrintableTop>0</UnPrintableTop>\n <ColumnsPerSheet>1</ColumnsPerSheet>\n <RowsPerSheet>1</RowsPerSheet>\n <GapVertical>0</GapVertical>\n <GapHorizontal>0</GapHorizontal>\n <Rotation>0</Rotation>\n <OutputOrientation>Landscape</OutputOrientation>\n <IsFactoryDefined>true</IsFactoryDefined>\n <IsCustom>false</IsCustom>\n <IsPrePrinted>false</IsPrePrinted>\n <IsDoubleSided>false</IsDoubleSided>\n <SensorType>Continuous</SensorType>\n <IsContinuous>true</IsContinuous>\n <IsSlitSleeve>false</IsSlitSleeve>\n </Part>\n <Part ID="{6ba977f5-e6f2-4f52-b89b-1164b6e7449d}">\n <Name>M21-750-427</Name>\n <DefaultYNumber>\n </DefaultYNumber>\n <RelatedParts>\n <RelatedPart PartName="M21-750-427" YNumber="4900649" />\n </RelatedParts>\n <PrinterType>{66df6eb1-934c-4424-b374-1cb5c02063a5}</PrinterType>\n <FamilyInfo>{40d9fa4d-337e-4fe5-8b09-d60bb38c3311}</FamilyInfo>\n <Description />\n <Width>7500</Width>\n <Height>5000</Height>\n <MarginLeft>0</MarginLeft>\n <MarginTop>0</MarginTop>\n <WebWidth>7500</WebWidth>\n <UnPrintableLeft>0</UnPrintableLeft>\n <UnPrintableTop>0</UnPrintableTop>\n <ColumnsPerSheet>1</ColumnsPerSheet>\n <RowsPerSheet>1</RowsPerSheet>\n <GapVertical>0</GapVertical>\n <GapHorizontal>0</GapHorizontal>\n <Rotation>0</Rotation>\n <OutputOrientation>Landscape</OutputOrientation>\n <IsFactoryDefined>true</IsFactoryDefined>\n <IsCustom>false</IsCustom>\n <IsPrePrinted>false</IsPrePrinted>\n <IsDoubleSided>false</IsDoubleSided>\n <SensorType>Continuous</SensorType>\n <IsContinuous>true</IsContinuous>\n <IsSlitSleeve>false</IsSlitSleeve>\n <Zone ID="{333059bc-84e4-4369-ac16-6abeaeff3dc6}" Type="Printable" Shape="Rectangle" LabelSide="0" Width="2550" Height="5000" OffsetX="1200" OffsetY="0" CornerRadius="0" UserEditable="false">\n <Name>Zone1</Name>\n </Zone>\n </Part>\n <Part ID="{7b04093d-9760-49c6-85be-8671f319f8a7}">\n <Name>M21-1250-427</Name>\n <DefaultYNumber>\n </DefaultYNumber>\n <RelatedParts>\n <RelatedPart PartName="M21-1250-427" YNumber="4900577" />\n </RelatedParts>\n <PrinterType>{66df6eb1-934c-4424-b374-1cb5c02063a5}</PrinterType>\n <FamilyInfo>{40d9fa4d-337e-4fe5-8b09-d60bb38c3311}</FamilyInfo>\n <Description />\n <Width>12500</Width>\n <Height>5000</Height>\n <MarginLeft>0</MarginLeft>\n <MarginTop>0</MarginTop>\n <WebWidth>12500</WebWidth>\n <UnPrintableLeft>0</UnPrintableLeft>\n <UnPrintableTop>0</UnPrintableTop>\n <ColumnsPerSheet>1</ColumnsPerSheet>\n <RowsPerSheet>1</RowsPerSheet>\n <GapVertical>0</GapVertical>\n <GapHorizontal>0</GapHorizontal>\n <Rotation>0</Rotation>\n <OutputOrientation>Landscape</OutputOrientation>\n <IsFactoryDefined>true</IsFactoryDefined>\n <IsCustom>false</IsCustom>\n <IsPrePrinted>false</IsPrePrinted>\n <IsDoubleSided>false</IsDoubleSided>\n <SensorType>Continuous</SensorType>\n <IsContinuous>true</IsContinuous>\n <IsSlitSleeve>false</IsSlitSleeve>\n <Zone ID="{1f650fc7-a8e2-44d1-8913-f81f8585387c}" Type="Printable" Shape="Rectangle" LabelSide="0" Width="4300" Height="5000" OffsetX="8100" OffsetY="0" CornerRadius="0" UserEditable="false">\n <Name>Zone1</Name>\n </Zone>\n </Part>\n <Part ID="{ae47c43b-3cd3-46a3-b9f7-81bf1752c61f}">\n <Name>M21-1000-427</Name>\n <DefaultYNumber>\n </DefaultYNumber>\n <RelatedParts>\n <RelatedPart PartName="M21-1000-427" YNumber="4900576" />\n </RelatedParts>\n <PrinterType>{66df6eb1-934c-4424-b374-1cb5c02063a5}</PrinterType>\n <FamilyInfo>{40d9fa4d-337e-4fe5-8b09-d60bb38c3311}</FamilyInfo>\n <Description />\n <Width>10000</Width>\n <Height>5000</Height>\n <MarginLeft>0</MarginLeft>\n <MarginTop>0</MarginTop>\n <WebWidth>10000</WebWidth>\n <UnPrintableLeft>0</UnPrintableLeft>\n <UnPrintableTop>0</UnPrintableTop>\n <ColumnsPerSheet>1</ColumnsPerSheet>\n <RowsPerSheet>1</RowsPerSheet>\n <GapVertical>0</GapVertical>\n <GapHorizontal>0</GapHorizontal>\n <Rotation>0</Rotation>\n <OutputOrientation>Landscape</OutputOrientation>\n <IsFactoryDefined>true</IsFactoryDefined>\n <IsCustom>false</IsCustom>\n <IsPrePrinted>false</IsPrePrinted>\n <IsDoubleSided>false</IsDoubleSided>\n <SensorType>Continuous</SensorType>\n <IsContinuous>true</IsContinuous>\n <IsSlitSleeve>false</IsSlitSleeve>\n <Zone ID="{d69c9f6c-6d92-4425-9bf2-f639190bef3e}" Type="Printable" Shape="Rectangle" LabelSide="0" Width="3350" Height="5000" OffsetX="5850" OffsetY="0" CornerRadius="0" UserEditable="false">\n <Name>Zone1</Name>\n </Zone>\n </Part>\n <Part ID="{410d091c-af2f-408e-aa57-4a2124150ed1}">\n <Name>M21-1500-427</Name>\n <DefaultYNumber>\n </DefaultYNumber>\n <RelatedParts>\n <RelatedPart PartName="M21-1500-427" YNumber="4900579" />\n </RelatedParts>\n <PrinterType>{66df6eb1-934c-4424-b374-1cb5c02063a5}</PrinterType>\n <FamilyInfo>{40d9fa4d-337e-4fe5-8b09-d60bb38c3311}</FamilyInfo>\n <Description />\n <Width>15000</Width>\n <Height>5000</Height>\n <MarginLeft>0</MarginLeft>\n <MarginTop>0</MarginTop>\n <WebWidth>1500</WebWidth>\n <UnPrintableLeft>0</UnPrintableLeft>\n <UnPrintableTop>0</UnPrintableTop>\n <ColumnsPerSheet>1</ColumnsPerSheet>\n <RowsPerSheet>1</RowsPerSheet>\n <GapVertical>0</GapVertical>\n <GapHorizontal>0</GapHorizontal>\n <Rotation>0</Rotation>\n <OutputOrientation>Landscape</OutputOrientation>\n <IsFactoryDefined>t